@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,161 +0,0 @@
1
- import { __extends, __decorate, __param, __assign } from 'tslib';
2
- import { TemplateRef, Inject, Injector, ComponentFactoryResolver, ChangeDetectorRef, Input, Directive, HostBinding, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { TUI_ANIMATION_OPTIONS, tuiSlideIn } from '@taiga-ui/core';
4
- import { TuiPortalService, TuiActiveZoneModule } from '@taiga-ui/cdk';
5
- import { PolymorpheusTemplate, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
6
-
7
- var TuiSidebarDirective = /** @class */ (function (_super) {
8
- __extends(TuiSidebarDirective, _super);
9
- function TuiSidebarDirective(content, injector, componentFactoryResolver, portalService, changeDetectorRef) {
10
- var _this = _super.call(this, content, changeDetectorRef) || this;
11
- _this.content = content;
12
- _this.injector = injector;
13
- _this.componentFactoryResolver = componentFactoryResolver;
14
- _this.portalService = portalService;
15
- _this.sidebarRef = null;
16
- _this.direction = 'left';
17
- _this.autoWidth = false;
18
- return _this;
19
- }
20
- Object.defineProperty(TuiSidebarDirective.prototype, "tuiSidebar", {
21
- set: function (open) {
22
- if (open) {
23
- this.show();
24
- }
25
- else {
26
- this.hide();
27
- }
28
- },
29
- enumerable: true,
30
- configurable: true
31
- });
32
- TuiSidebarDirective.prototype.ngOnDestroy = function () {
33
- this.hide();
34
- };
35
- TuiSidebarDirective.prototype.show = function () {
36
- if (this.sidebarRef !== null) {
37
- return;
38
- }
39
- var componentFactory = this.componentFactoryResolver.resolveComponentFactory(TuiSidebarComponent);
40
- this.sidebarRef = this.portalService.add(componentFactory, this.injector);
41
- this.sidebarRef.changeDetectorRef.detectChanges();
42
- };
43
- TuiSidebarDirective.prototype.hide = function () {
44
- if (this.sidebarRef === null) {
45
- return;
46
- }
47
- this.portalService.remove(this.sidebarRef);
48
- this.sidebarRef = null;
49
- };
50
- TuiSidebarDirective.ctorParameters = function () { return [
51
- { type: TemplateRef, decorators: [{ type: Inject, args: [TemplateRef,] }] },
52
- { type: Injector, decorators: [{ type: Inject, args: [Injector,] }] },
53
- { type: ComponentFactoryResolver, decorators: [{ type: Inject, args: [ComponentFactoryResolver,] }] },
54
- { type: TuiPortalService, decorators: [{ type: Inject, args: [TuiPortalService,] }] },
55
- { type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] }
56
- ]; };
57
- __decorate([
58
- Input('tuiSidebarDirection')
59
- ], TuiSidebarDirective.prototype, "direction", void 0);
60
- __decorate([
61
- Input('tuiSidebarAutoWidth')
62
- ], TuiSidebarDirective.prototype, "autoWidth", void 0);
63
- __decorate([
64
- Input()
65
- ], TuiSidebarDirective.prototype, "tuiSidebar", null);
66
- TuiSidebarDirective = __decorate([
67
- Directive({
68
- selector: '[tuiSidebar]',
69
- }),
70
- __param(0, Inject(TemplateRef)),
71
- __param(1, Inject(Injector)),
72
- __param(2, Inject(ComponentFactoryResolver)),
73
- __param(3, Inject(TuiPortalService)),
74
- __param(4, Inject(ChangeDetectorRef))
75
- ], TuiSidebarDirective);
76
- return TuiSidebarDirective;
77
- }(PolymorpheusTemplate));
78
-
79
- // @dynamic
80
- var TuiSidebarComponent = /** @class */ (function () {
81
- function TuiSidebarComponent(options, directive) {
82
- this.options = options;
83
- this.directive = directive;
84
- this.left = __assign({ value: 'left' }, this.options);
85
- this.right = __assign({ value: 'right' }, this.options);
86
- }
87
- Object.defineProperty(TuiSidebarComponent.prototype, "animation", {
88
- get: function () {
89
- return this.direction === 'left' ? this.left : this.right;
90
- },
91
- enumerable: true,
92
- configurable: true
93
- });
94
- Object.defineProperty(TuiSidebarComponent.prototype, "direction", {
95
- get: function () {
96
- return this.directive.direction;
97
- },
98
- enumerable: true,
99
- configurable: true
100
- });
101
- Object.defineProperty(TuiSidebarComponent.prototype, "content", {
102
- get: function () {
103
- return this.directive.content;
104
- },
105
- enumerable: true,
106
- configurable: true
107
- });
108
- Object.defineProperty(TuiSidebarComponent.prototype, "autoWidth", {
109
- get: function () {
110
- return this.directive.autoWidth;
111
- },
112
- enumerable: true,
113
- configurable: true
114
- });
115
- TuiSidebarComponent.prototype.ngDoCheck = function () {
116
- this.directive.check();
117
- };
118
- TuiSidebarComponent.ctorParameters = function () { return [
119
- { type: undefined, decorators: [{ type: Inject, args: [TUI_ANIMATION_OPTIONS,] }] },
120
- { type: TuiSidebarDirective, decorators: [{ type: Inject, args: [TuiSidebarDirective,] }] }
121
- ]; };
122
- __decorate([
123
- HostBinding('@tuiSlideIn')
124
- ], TuiSidebarComponent.prototype, "animation", null);
125
- __decorate([
126
- HostBinding('class')
127
- ], TuiSidebarComponent.prototype, "direction", null);
128
- TuiSidebarComponent = __decorate([
129
- Component({
130
- selector: 'aside[tuiSidebar]',
131
- template: "<div\n polymorpheus-outlet\n tuiActiveZone\n class=\"t-wrapper\"\n [content]=\"content\"\n [class.t-wrapper_auto-width]=\"autoWidth\"\n></div>\n",
132
- changeDetection: ChangeDetectionStrategy.OnPush,
133
- animations: [tuiSlideIn],
134
- styles: [":host{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}:host:after,:host:before{position:absolute;top:0;left:0;width:100%;content:'';height:100%;background:rgba(0,0,0,.38);-webkit-animation:tuiFadeIn var(--tui-duration);animation:tuiFadeIn var(--tui-duration)}:host:before{left:-100%;width:200%}:host:after{left:100%}:host.ng-animating:after,:host.ng-animating:before{opacity:0;transition:opacity var(--tui-duration)}:host.right{justify-content:flex-end}:host.left{justify-content:flex-start}.t-wrapper{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width{width:auto}"]
135
- }),
136
- __param(0, Inject(TUI_ANIMATION_OPTIONS)),
137
- __param(1, Inject(TuiSidebarDirective))
138
- ], TuiSidebarComponent);
139
- return TuiSidebarComponent;
140
- }());
141
-
142
- var TuiSidebarModule = /** @class */ (function () {
143
- function TuiSidebarModule() {
144
- }
145
- TuiSidebarModule = __decorate([
146
- NgModule({
147
- imports: [TuiActiveZoneModule, PolymorpheusModule],
148
- declarations: [TuiSidebarDirective, TuiSidebarComponent],
149
- entryComponents: [TuiSidebarComponent],
150
- exports: [TuiSidebarDirective],
151
- })
152
- ], TuiSidebarModule);
153
- return TuiSidebarModule;
154
- }());
155
-
156
- /**
157
- * Generated bundle index. Do not edit.
158
- */
159
-
160
- export { TuiSidebarComponent, TuiSidebarDirective, TuiSidebarModule };
161
- //# sourceMappingURL=taiga-ui-addon-mobile-directives-sidebar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-directives-sidebar.js","sources":["ng://@taiga-ui/addon-mobile/directives/sidebar/sidebar.directive.ts","ng://@taiga-ui/addon-mobile/directives/sidebar/sidebar.component.ts","ng://@taiga-ui/addon-mobile/directives/sidebar/sidebar.module.ts","ng://@taiga-ui/addon-mobile/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.ts"],"sourcesContent":["import {\n ChangeDetectorRef,\n ComponentFactoryResolver,\n ComponentRef,\n Directive,\n Inject,\n Injector,\n Input,\n OnDestroy,\n TemplateRef,\n} from '@angular/core';\nimport {TuiPortalService} from '@taiga-ui/cdk';\nimport {TuiHorizontalDirection} from '@taiga-ui/core';\nimport {PolymorpheusTemplate} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiSidebarComponent} from './sidebar.component';\n\n@Directive({\n selector: '[tuiSidebar]',\n})\nexport class TuiSidebarDirective<T = Record<string, unknown>>\n extends PolymorpheusTemplate<T>\n implements OnDestroy\n{\n private sidebarRef: ComponentRef<TuiSidebarComponent> | null = null;\n\n @Input('tuiSidebarDirection')\n direction: TuiHorizontalDirection = 'left';\n\n @Input('tuiSidebarAutoWidth')\n autoWidth = false;\n\n @Input()\n set tuiSidebar(open: boolean) {\n if (open) {\n this.show();\n } else {\n this.hide();\n }\n }\n\n constructor(\n @Inject(TemplateRef) readonly content: TemplateRef<T>,\n @Inject(Injector) private readonly injector: Injector,\n @Inject(ComponentFactoryResolver)\n private readonly componentFactoryResolver: ComponentFactoryResolver,\n @Inject(TuiPortalService)\n private readonly portalService: TuiPortalService,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n ) {\n super(content, changeDetectorRef);\n }\n\n ngOnDestroy(): void {\n this.hide();\n }\n\n private show(): void {\n if (this.sidebarRef !== null) {\n return;\n }\n\n const componentFactory =\n this.componentFactoryResolver.resolveComponentFactory(TuiSidebarComponent);\n\n this.sidebarRef = this.portalService.add(componentFactory, this.injector);\n this.sidebarRef.changeDetectorRef.detectChanges();\n }\n\n private hide(): void {\n if (this.sidebarRef === null) {\n return;\n }\n\n this.portalService.remove(this.sidebarRef);\n this.sidebarRef = null;\n }\n}\n","import {AnimationOptions} from '@angular/animations';\nimport {\n ChangeDetectionStrategy,\n Component,\n DoCheck,\n HostBinding,\n Inject,\n} from '@angular/core';\nimport {\n TUI_ANIMATION_OPTIONS,\n TuiAnimationOptions,\n TuiHorizontalDirection,\n tuiSlideIn,\n} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiSidebarDirective} from './sidebar.directive';\n\n// @dynamic\n@Component({\n selector: 'aside[tuiSidebar]',\n templateUrl: './sidebar.template.html',\n styleUrls: ['./sidebar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideIn],\n})\nexport class TuiSidebarComponent implements DoCheck {\n private readonly left = {\n value: 'left',\n ...this.options,\n } as const;\n\n private readonly right = {\n value: 'right',\n ...this.options,\n } as const;\n\n constructor(\n @Inject(TUI_ANIMATION_OPTIONS) private readonly options: AnimationOptions,\n @Inject(TuiSidebarDirective) private readonly directive: TuiSidebarDirective,\n ) {}\n\n @HostBinding('@tuiSlideIn')\n get animation(): TuiAnimationOptions {\n return this.direction === 'left' ? this.left : this.right;\n }\n\n @HostBinding('class')\n get direction(): TuiHorizontalDirection {\n return this.directive.direction;\n }\n\n get content(): PolymorpheusContent {\n return this.directive.content;\n }\n\n get autoWidth(): boolean {\n return this.directive.autoWidth;\n }\n\n ngDoCheck(): void {\n this.directive.check();\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiSidebarComponent} from './sidebar.component';\nimport {TuiSidebarDirective} from './sidebar.directive';\n\n@NgModule({\n imports: [TuiActiveZoneModule, PolymorpheusModule],\n declarations: [TuiSidebarDirective, TuiSidebarComponent],\n entryComponents: [TuiSidebarComponent],\n exports: [TuiSidebarDirective],\n})\nexport class TuiSidebarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
@@ -1,108 +0,0 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { ElementRef, Optional, Inject, Renderer2, Input, Directive, NgModule } from '@angular/core';
3
- import { findTouchIndex } from '@taiga-ui/addon-mobile/utils';
4
- import { typedFromEvent, TUI_IS_IOS, TuiDestroyService, tuiDefaultProp } from '@taiga-ui/cdk';
5
- import { TUI_ELEMENT_REF } from '@taiga-ui/core';
6
- import { race } from 'rxjs';
7
- import { tap, map, switchMap, filter, take, takeUntil } from 'rxjs/operators';
8
-
9
- var STYLE = {
10
- transform: 'scale(0.95)',
11
- opacity: '0.6',
12
- background: 'rgba(146, 153, 162, 0.12)',
13
- };
14
- var TuiTouchableDirective = /** @class */ (function () {
15
- function TuiTouchableDirective(elementRef, isIos, _a, renderer, destroy$) {
16
- var _this = this;
17
- var nativeElement = _a.nativeElement;
18
- this.tuiTouchable = '';
19
- if (!isIos) {
20
- return;
21
- }
22
- var element = elementRef ? elementRef.nativeElement : nativeElement;
23
- typedFromEvent(element, 'touchstart', { passive: true })
24
- .pipe(tap(function () {
25
- _this.onTouchStart(renderer, element);
26
- }), map(function (_a) {
27
- var touches = _a.touches;
28
- return touches[touches.length - 1].identifier;
29
- }), switchMap(function (identifier) {
30
- return race(typedFromEvent(element, 'touchmove', { passive: true }).pipe(filter(function (_a) {
31
- var touches = _a.touches;
32
- return _this.hasTouchLeft(element, touches, identifier);
33
- })), typedFromEvent(element, 'touchend')).pipe(take(1));
34
- }), takeUntil(destroy$))
35
- .subscribe(function () {
36
- renderer.removeStyle(element, 'transform');
37
- renderer.removeStyle(element, 'opacity');
38
- renderer.removeStyle(element, 'background');
39
- });
40
- }
41
- Object.defineProperty(TuiTouchableDirective.prototype, "style", {
42
- get: function () {
43
- return this.tuiTouchable || 'transform';
44
- },
45
- enumerable: true,
46
- configurable: true
47
- });
48
- TuiTouchableDirective.prototype.hasTouchLeft = function (element, touches, identifier) {
49
- var ownerDocument = element.ownerDocument;
50
- var id = findTouchIndex(touches, identifier);
51
- if (!ownerDocument || id === -1) {
52
- return true;
53
- }
54
- var _a = touches[id], clientX = _a.clientX, clientY = _a.clientY;
55
- return !element.contains(ownerDocument.elementFromPoint(clientX, clientY));
56
- };
57
- TuiTouchableDirective.prototype.onTouchStart = function (renderer, element) {
58
- if (this.style !== 'transform') {
59
- renderer.removeStyle(element, 'transition');
60
- }
61
- else {
62
- renderer.setStyle(element, 'transition', 'transform 0.2s');
63
- }
64
- renderer.setStyle(element, this.style, STYLE[this.style]);
65
- };
66
- TuiTouchableDirective.ctorParameters = function () { return [
67
- { type: ElementRef, decorators: [{ type: Optional }, { type: Inject, args: [TUI_ELEMENT_REF,] }] },
68
- { type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_IOS,] }] },
69
- { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
70
- { type: Renderer2, decorators: [{ type: Inject, args: [Renderer2,] }] },
71
- { type: TuiDestroyService, decorators: [{ type: Inject, args: [TuiDestroyService,] }] }
72
- ]; };
73
- __decorate([
74
- Input(),
75
- tuiDefaultProp()
76
- ], TuiTouchableDirective.prototype, "tuiTouchable", void 0);
77
- TuiTouchableDirective = __decorate([
78
- Directive({
79
- selector: '[tuiTouchable]',
80
- providers: [TuiDestroyService],
81
- }),
82
- __param(0, Optional()), __param(0, Inject(TUI_ELEMENT_REF)),
83
- __param(1, Inject(TUI_IS_IOS)),
84
- __param(2, Inject(ElementRef)),
85
- __param(3, Inject(Renderer2)),
86
- __param(4, Inject(TuiDestroyService))
87
- ], TuiTouchableDirective);
88
- return TuiTouchableDirective;
89
- }());
90
-
91
- var TuiTouchableModule = /** @class */ (function () {
92
- function TuiTouchableModule() {
93
- }
94
- TuiTouchableModule = __decorate([
95
- NgModule({
96
- declarations: [TuiTouchableDirective],
97
- exports: [TuiTouchableDirective],
98
- })
99
- ], TuiTouchableModule);
100
- return TuiTouchableModule;
101
- }());
102
-
103
- /**
104
- * Generated bundle index. Do not edit.
105
- */
106
-
107
- export { TuiTouchableDirective, TuiTouchableModule };
108
- //# sourceMappingURL=taiga-ui-addon-mobile-directives-touchable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-directives-touchable.js","sources":["ng://@taiga-ui/addon-mobile/directives/touchable/touchable.directive.ts","ng://@taiga-ui/addon-mobile/directives/touchable/touchable.module.ts","ng://@taiga-ui/addon-mobile/directives/touchable/taiga-ui-addon-mobile-directives-touchable.ts"],"sourcesContent":["import {Directive, ElementRef, Inject, Input, Optional, Renderer2} from '@angular/core';\nimport {TuiTouchModeT} from '@taiga-ui/addon-mobile/types';\nimport {findTouchIndex} from '@taiga-ui/addon-mobile/utils';\nimport {\n TUI_IS_IOS,\n tuiDefaultProp,\n TuiDestroyService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TUI_ELEMENT_REF} from '@taiga-ui/core';\nimport {race} from 'rxjs';\nimport {filter, map, switchMap, take, takeUntil, tap} from 'rxjs/operators';\n\nconst STYLE = {\n transform: 'scale(0.95)',\n opacity: '0.6',\n background: 'rgba(146, 153, 162, 0.12)',\n} as const;\n\n@Directive({\n selector: '[tuiTouchable]',\n providers: [TuiDestroyService],\n})\nexport class TuiTouchableDirective {\n @Input()\n @tuiDefaultProp()\n tuiTouchable: TuiTouchModeT | '' = '';\n\n constructor(\n @Optional() @Inject(TUI_ELEMENT_REF) elementRef: ElementRef<HTMLElement> | null,\n @Inject(TUI_IS_IOS) isIos: boolean,\n @Inject(ElementRef) {nativeElement}: ElementRef<HTMLElement>,\n @Inject(Renderer2) renderer: Renderer2,\n @Inject(TuiDestroyService) destroy$: TuiDestroyService,\n ) {\n if (!isIos) {\n return;\n }\n\n const element = elementRef ? elementRef.nativeElement : nativeElement;\n\n typedFromEvent(element, 'touchstart', {passive: true})\n .pipe(\n tap(() => {\n this.onTouchStart(renderer, element);\n }),\n map(({touches}) => touches[touches.length - 1].identifier),\n switchMap(identifier =>\n race(\n typedFromEvent(element, 'touchmove', {passive: true}).pipe(\n filter(({touches}) =>\n this.hasTouchLeft(element, touches, identifier),\n ),\n ),\n typedFromEvent(element, 'touchend'),\n ).pipe(take(1)),\n ),\n takeUntil(destroy$),\n )\n .subscribe(() => {\n renderer.removeStyle(element, 'transform');\n renderer.removeStyle(element, 'opacity');\n renderer.removeStyle(element, 'background');\n });\n }\n\n get style(): TuiTouchModeT {\n return this.tuiTouchable || 'transform';\n }\n\n private hasTouchLeft(\n element: HTMLElement,\n touches: TouchList,\n identifier: number,\n ): boolean {\n const {ownerDocument} = element;\n const id = findTouchIndex(touches, identifier);\n\n if (!ownerDocument || id === -1) {\n return true;\n }\n\n const {clientX, clientY} = touches[id];\n\n return !element.contains(ownerDocument.elementFromPoint(clientX, clientY));\n }\n\n private onTouchStart(renderer: Renderer2, element: HTMLElement): void {\n if (this.style !== 'transform') {\n renderer.removeStyle(element, 'transition');\n } else {\n renderer.setStyle(element, 'transition', 'transform 0.2s');\n }\n\n renderer.setStyle(element, this.style, STYLE[this.style]);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiTouchableDirective} from './touchable.directive';\n\n@NgModule({\n declarations: [TuiTouchableDirective],\n exports: [TuiTouchableDirective],\n})\nexport class TuiTouchableModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
@@ -1,10 +0,0 @@
1
- export * from '@taiga-ui/addon-mobile/directives/elastic-sticky';
2
- export * from '@taiga-ui/addon-mobile/directives/mobile-tabs';
3
- export * from '@taiga-ui/addon-mobile/directives/ripple';
4
- export * from '@taiga-ui/addon-mobile/directives/sidebar';
5
- export * from '@taiga-ui/addon-mobile/directives/touchable';
6
-
7
- /**
8
- * Generated bundle index. Do not edit.
9
- */
10
- //# sourceMappingURL=taiga-ui-addon-mobile-directives.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-directives.js","sources":["ng://@taiga-ui/addon-mobile/directives/taiga-ui-addon-mobile-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;;"}
@@ -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,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- //# sourceMappingURL=taiga-ui-addon-mobile-interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-interfaces.js","sources":["ng://@taiga-ui/addon-mobile/interfaces/taiga-ui-addon-mobile-interfaces.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;"}
@@ -1,65 +0,0 @@
1
- import { __extends, __decorate, __param } from 'tslib';
2
- import { Inject, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { TUI_IS_IOS, TuiRepeatTimesModule, TuiLetModule } from '@taiga-ui/cdk';
4
- import { TUI_ORDERED_SHORT_WEEK_DAYS, TuiPrimitiveCalendarComponent, TuiCalendarSheetPipeModule } from '@taiga-ui/core';
5
- import { Observable } from 'rxjs';
6
- import { TuiRippleModule } from '@taiga-ui/addon-mobile/directives/ripple';
7
-
8
- /**
9
- * @internal
10
- * @dynamic
11
- */
12
- var TuiPrimitiveCalendarMobileComponent = /** @class */ (function (_super) {
13
- __extends(TuiPrimitiveCalendarMobileComponent, _super);
14
- function TuiPrimitiveCalendarMobileComponent(isIOS, weekDays$) {
15
- var _this = _super.call(this, weekDays$) || this;
16
- _this.isIOS = isIOS;
17
- return _this;
18
- }
19
- TuiPrimitiveCalendarMobileComponent.ctorParameters = function () { return [
20
- { type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_IOS,] }] },
21
- { type: Observable, decorators: [{ type: Inject, args: [TUI_ORDERED_SHORT_WEEK_DAYS,] }] }
22
- ]; };
23
- TuiPrimitiveCalendarMobileComponent = __decorate([
24
- Component({
25
- selector: 'tui-primitive-calendar-mobile',
26
- 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",
27
- changeDetection: ChangeDetectionStrategy.OnPush,
28
- host: {
29
- '[class._ios]': 'isIOS',
30
- },
31
- 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}}"]
32
- }),
33
- __param(0, Inject(TUI_IS_IOS)),
34
- __param(1, Inject(TUI_ORDERED_SHORT_WEEK_DAYS))
35
- ], TuiPrimitiveCalendarMobileComponent);
36
- return TuiPrimitiveCalendarMobileComponent;
37
- }(TuiPrimitiveCalendarComponent));
38
-
39
- /**
40
- * @internal
41
- */
42
- var TuiPrimitiveCalendarMobileModule = /** @class */ (function () {
43
- function TuiPrimitiveCalendarMobileModule() {
44
- }
45
- TuiPrimitiveCalendarMobileModule = __decorate([
46
- NgModule({
47
- imports: [
48
- TuiRepeatTimesModule,
49
- TuiCalendarSheetPipeModule,
50
- TuiRippleModule,
51
- TuiLetModule,
52
- ],
53
- declarations: [TuiPrimitiveCalendarMobileComponent],
54
- exports: [TuiPrimitiveCalendarMobileComponent],
55
- })
56
- ], TuiPrimitiveCalendarMobileModule);
57
- return TuiPrimitiveCalendarMobileModule;
58
- }());
59
-
60
- /**
61
- * Generated bundle index. Do not edit.
62
- */
63
-
64
- export { TuiPrimitiveCalendarMobileComponent, TuiPrimitiveCalendarMobileModule };
65
- //# sourceMappingURL=taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js","sources":["ng://@taiga-ui/addon-mobile/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.ts","ng://@taiga-ui/addon-mobile/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.ts","ng://@taiga-ui/addon-mobile/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject} from '@angular/core';\nimport {TUI_IS_IOS} from '@taiga-ui/cdk';\nimport {TUI_ORDERED_SHORT_WEEK_DAYS, TuiPrimitiveCalendarComponent} from '@taiga-ui/core';\nimport {Observable} from 'rxjs';\n\n/**\n * @internal\n * @dynamic\n */\n@Component({\n selector: 'tui-primitive-calendar-mobile',\n templateUrl: './primitive-calendar-mobile.template.html',\n styleUrls: ['./primitive-calendar-mobile.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class._ios]': 'isIOS',\n },\n})\nexport class TuiPrimitiveCalendarMobileComponent extends TuiPrimitiveCalendarComponent {\n constructor(\n @Inject(TUI_IS_IOS) readonly isIOS: boolean,\n @Inject(TUI_ORDERED_SHORT_WEEK_DAYS)\n weekDays$: Observable<[string, string, string, string, string, string, string]>,\n ) {\n super(weekDays$);\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiRippleModule} from '@taiga-ui/addon-mobile/directives/ripple';\nimport {TuiLetModule, TuiRepeatTimesModule} from '@taiga-ui/cdk';\nimport {TuiCalendarSheetPipeModule} from '@taiga-ui/core';\n\nimport {TuiPrimitiveCalendarMobileComponent} from './primitive-calendar-mobile.component';\n\n/**\n * @internal\n */\n@NgModule({\n imports: [\n TuiRepeatTimesModule,\n TuiCalendarSheetPipeModule,\n TuiRippleModule,\n TuiLetModule,\n ],\n declarations: [TuiPrimitiveCalendarMobileComponent],\n exports: [TuiPrimitiveCalendarMobileComponent],\n})\nexport class TuiPrimitiveCalendarMobileModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAKA;;;;;IAayD,uDAA6B;IAClF,6CACiC,KAAc,EAE3C,SAA+E;QAHnF,YAKI,kBAAM,SAAS,CAAC,SACnB;QALgC,WAAK,GAAL,KAAK,CAAS;;KAK9C;;8CALI,MAAM,SAAC,UAAU;gBAEP,UAAU,uBADpB,MAAM,SAAC,2BAA2B;;IAH9B,mCAAmC;QAT/C,SAAS,CAAC;YACP,QAAQ,EAAE,+BAA+B;YACzC,y5BAAwD;YAExD,eAAe,EAAE,uBAAuB,CAAC,MAAM;YAC/C,IAAI,EAAE;gBACF,cAAc,EAAE,OAAO;aAC1B;;SACJ,CAAC;QAGO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,2BAA2B,CAAC,CAAA;OAH/B,mCAAmC,CAQ/C;IAAD,0CAAC;CAAA,CARwD,6BAA6B;;ACXtF;;;;IAaA;KAAgD;IAAnC,gCAAgC;QAV5C,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,oBAAoB;gBACpB,0BAA0B;gBAC1B,eAAe;gBACf,YAAY;aACf;YACD,YAAY,EAAE,CAAC,mCAAmC,CAAC;YACnD,OAAO,EAAE,CAAC,mCAAmC,CAAC;SACjD,CAAC;OACW,gCAAgC,CAAG;IAAD,uCAAC;CAAhD;;ACpBA;;;;;;"}
@@ -1,6 +0,0 @@
1
- export * from '@taiga-ui/addon-mobile/internal/primitive-calendar-mobile';
2
-
3
- /**
4
- * Generated bundle index. Do not edit.
5
- */
6
- //# sourceMappingURL=taiga-ui-addon-mobile-internal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-internal.js","sources":["ng://@taiga-ui/addon-mobile/internal/taiga-ui-addon-mobile-internal.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;"}
@@ -1,13 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { EMPTY } from 'rxjs';
3
-
4
- var TUI_LOADED = new InjectionToken('Stream that emits when loading is over', {
5
- factory: function () { return EMPTY; },
6
- });
7
-
8
- /**
9
- * Generated bundle index. Do not edit.
10
- */
11
-
12
- export { TUI_LOADED };
13
- //# sourceMappingURL=taiga-ui-addon-mobile-tokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-tokens.js","sources":["ng://@taiga-ui/addon-mobile/tokens/loaded.ts","ng://@taiga-ui/addon-mobile/tokens/taiga-ui-addon-mobile-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {EMPTY, Observable} from 'rxjs';\n\nexport const TUI_LOADED = new InjectionToken<Observable<unknown>>(\n 'Stream that emits when loading is over',\n {\n factory: () => EMPTY,\n },\n);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAGa,UAAU,GAAG,IAAI,cAAc,CACxC,wCAAwC,EACxC;IACI,OAAO,EAAE,cAAM,OAAA,KAAK,GAAA;CACvB;;ACPL;;;;;;"}
@@ -1,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- //# sourceMappingURL=taiga-ui-addon-mobile-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-types.js","sources":["ng://@taiga-ui/addon-mobile/types/taiga-ui-addon-mobile-types.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;"}
@@ -1,21 +0,0 @@
1
- /**
2
- * @deprecated: use {@link tuiFindTouchIndex} instead
3
- */
4
- // eslint-disable-next-line @typescript-eslint/naming-convention
5
- 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
- var tuiFindTouchIndex = findTouchIndex;
15
-
16
- /**
17
- * Generated bundle index. Do not edit.
18
- */
19
-
20
- export { findTouchIndex, tuiFindTouchIndex };
21
- //# sourceMappingURL=taiga-ui-addon-mobile-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-utils.js","sources":["ng://@taiga-ui/addon-mobile/utils/find-touch-index.ts","ng://@taiga-ui/addon-mobile/utils/taiga-ui-addon-mobile-utils.ts"],"sourcesContent":["/**\n * @deprecated: use {@link tuiFindTouchIndex} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function findTouchIndex(touches: TouchList, id: number): number {\n for (let i = 0; i < touches.length; i++) {\n const {identifier} = touches[i];\n\n if (identifier === id) {\n return i;\n }\n }\n\n return -1;\n}\n\nexport const tuiFindTouchIndex = findTouchIndex;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;AAGA;SACgB,cAAc,CAAC,OAAkB,EAAE,EAAU;IACzD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC9B,IAAA,kCAAU,CAAe;QAEhC,IAAI,UAAU,KAAK,EAAE,EAAE;YACnB,OAAO,CAAC,CAAC;SACZ;KACJ;IAED,OAAO,CAAC,CAAC,CAAC;AACd,CAAC;IAEY,iBAAiB,GAAG;;AChBjC;;;;;;"}
@@ -1,11 +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
-
8
- /**
9
- * Generated bundle index. Do not edit.
10
- */
11
- //# sourceMappingURL=taiga-ui-addon-mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile.js","sources":["ng://@taiga-ui/addon-mobile/taiga-ui-addon-mobile.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;"}
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TuiMobileAlertData":{"__symbolic":"interface"}},"origins":{"TuiMobileAlertData":"./mobile-alert-data"},"importAs":"@taiga-ui/addon-mobile/interfaces"}
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TuiPrimitiveCalendarMobileComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiPrimitiveCalendarComponent","line":18,"character":57},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"tui-primitive-calendar-mobile","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":13,"character":21},"member":"OnPush"},"host":{"[class._ios]":"isIOS","$quoted$":["[class._ios]"]},"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","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}}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":20,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_IOS","line":20,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":21,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_ORDERED_SHORT_WEEK_DAYS","line":21,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":22,"character":30,"module":"./primitive-calendar-mobile.component"}]}]}]}},"TuiPrimitiveCalendarMobileModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiRepeatTimesModule","line":12,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiCalendarSheetPipeModule","line":13,"character":8},{"__symbolic":"reference","module":"@taiga-ui/addon-mobile/directives/ripple","name":"TuiRippleModule","line":14,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiLetModule","line":15,"character":8}],"declarations":[{"__symbolic":"reference","name":"TuiPrimitiveCalendarMobileComponent"}],"exports":[{"__symbolic":"reference","name":"TuiPrimitiveCalendarMobileComponent"}]}]}],"members":{}}},"origins":{"TuiPrimitiveCalendarMobileComponent":"./primitive-calendar-mobile.component","TuiPrimitiveCalendarMobileModule":"./primitive-calendar-mobile.module"},"importAs":"@taiga-ui/addon-mobile/internal/primitive-calendar-mobile"}
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"exports":[{"from":"@taiga-ui/addon-mobile/internal/primitive-calendar-mobile"}],"metadata":{},"origins":{},"importAs":"@taiga-ui/addon-mobile/internal"}
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"exports":[{"from":"@taiga-ui/addon-mobile/components"},{"from":"@taiga-ui/addon-mobile/const"},{"from":"@taiga-ui/addon-mobile/directives"},{"from":"@taiga-ui/addon-mobile/enums"},{"from":"@taiga-ui/addon-mobile/interfaces"},{"from":"@taiga-ui/addon-mobile/tokens"},{"from":"@taiga-ui/addon-mobile/types"},{"from":"@taiga-ui/addon-mobile/utils"}],"metadata":{},"origins":{},"importAs":"@taiga-ui/addon-mobile"}
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TUI_LOADED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":30},"arguments":["Stream that emits when loading is over",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./loaded"}]}},"origins":{"TUI_LOADED":"./loaded"},"importAs":"@taiga-ui/addon-mobile/tokens"}
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TuiTouchModeT":{"__symbolic":"interface"}},"origins":{"TuiTouchModeT":"./touch-mode"},"importAs":"@taiga-ui/addon-mobile/types"}
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"findTouchIndex":{"__symbolic":"function"},"tuiFindTouchIndex":{"__symbolic":"reference","name":"findTouchIndex"}},"origins":{"findTouchIndex":"./find-touch-index","tuiFindTouchIndex":"./find-touch-index"},"importAs":"@taiga-ui/addon-mobile/utils"}