@taiga-ui/addon-mobile 2.61.0 → 3.0.0-rc.2

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 (509) 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 +534 -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 +402 -293
  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 +450 -337
  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 +875 -698
  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 -266
  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 -266
  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 +9 -254
  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 +419 -308
  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 +118 -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 +121 -338
  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 +434 -319
  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 +403 -287
  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 -283
  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 +7 -3
  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/mobile-calendar.providers.d.ts +1 -2
  48. package/components/mobile-calendar/package.json +2 -5
  49. package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.d.ts +1 -0
  50. package/components/mobile-calendar-dialog/mobile-calendar-dialog.component.d.ts +3 -0
  51. package/components/mobile-calendar-dialog/mobile-calendar-dialog.module.d.ts +6 -2
  52. package/components/mobile-calendar-dialog/package.json +2 -5
  53. package/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.d.ts +1 -0
  54. package/components/mobile-dialog/mobile-dialog.component.d.ts +3 -0
  55. package/components/mobile-dialog/mobile-dialog.module.d.ts +9 -0
  56. package/components/mobile-dialog/mobile-dialog.service.d.ts +4 -1
  57. package/components/mobile-dialog/package.json +2 -5
  58. package/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.d.ts +1 -0
  59. package/components/package.json +2 -5
  60. package/components/pull-to-refresh/loader-android/loader-android.component.d.ts +3 -0
  61. package/components/pull-to-refresh/loader-ios/loader-ios.component.d.ts +3 -0
  62. package/components/pull-to-refresh/package.json +2 -5
  63. package/components/pull-to-refresh/pull-to-refresh.component.d.ts +3 -0
  64. package/components/pull-to-refresh/pull-to-refresh.module.d.ts +10 -0
  65. package/components/pull-to-refresh/pull-to-refresh.providers.d.ts +1 -2
  66. package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.d.ts +1 -0
  67. package/components/sheet/components/sheet/sheet.component.d.ts +5 -2
  68. package/components/sheet/components/sheet/sheet.providers.d.ts +1 -8
  69. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +5 -2
  70. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +3 -0
  71. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +3 -0
  72. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +3 -0
  73. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +3 -0
  74. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +5 -2
  75. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +3 -0
  76. package/components/sheet/package.json +2 -5
  77. package/components/sheet/sheet-options.d.ts +1 -1
  78. package/components/sheet/sheet-tokens.d.ts +5 -0
  79. package/components/sheet/sheet.d.ts +4 -0
  80. package/components/sheet/sheet.directive.d.ts +3 -0
  81. package/components/sheet/sheet.module.d.ts +17 -0
  82. package/components/sheet/sheet.service.d.ts +3 -0
  83. package/components/sheet/taiga-ui-addon-mobile-components-sheet.d.ts +1 -0
  84. package/components/taiga-ui-addon-mobile-components.d.ts +1 -0
  85. package/components/theme-android/package.json +2 -5
  86. package/components/theme-android/taiga-ui-addon-mobile-components-theme-android.d.ts +1 -0
  87. package/components/theme-android/theme-android.component.d.ts +3 -0
  88. package/components/theme-android/theme-android.module.d.ts +5 -0
  89. package/components/theme-ios/package.json +2 -5
  90. package/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.d.ts +1 -0
  91. package/components/theme-ios/theme-ios.component.d.ts +3 -0
  92. package/components/theme-ios/theme-ios.module.d.ts +5 -0
  93. package/const/package.json +2 -5
  94. package/const/taiga-ui-addon-mobile-const.d.ts +1 -0
  95. package/directives/elastic-sticky/elastic-sticky.directive.d.ts +3 -0
  96. package/directives/elastic-sticky/elastic-sticky.module.d.ts +5 -0
  97. package/directives/elastic-sticky/elastic-sticky.service.d.ts +3 -0
  98. package/directives/elastic-sticky/package.json +2 -5
  99. package/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.d.ts +1 -0
  100. package/directives/mobile-tabs/mobile-tabs.component.d.ts +3 -0
  101. package/directives/mobile-tabs/mobile-tabs.directive.d.ts +3 -0
  102. package/directives/mobile-tabs/mobile-tabs.module.d.ts +6 -0
  103. package/directives/mobile-tabs/package.json +2 -5
  104. package/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.d.ts +1 -0
  105. package/directives/package.json +2 -5
  106. package/directives/ripple/package.json +2 -5
  107. package/directives/ripple/ripple-styles.component.d.ts +3 -0
  108. package/directives/ripple/ripple.directive.d.ts +3 -0
  109. package/directives/ripple/ripple.module.d.ts +6 -0
  110. package/directives/ripple/ripple.providers.d.ts +1 -3
  111. package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.d.ts +1 -1
  112. package/directives/sidebar/package.json +2 -5
  113. package/directives/sidebar/sidebar.component.d.ts +3 -0
  114. package/directives/sidebar/sidebar.directive.d.ts +7 -4
  115. package/directives/sidebar/sidebar.module.d.ts +8 -0
  116. package/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.d.ts +1 -0
  117. package/directives/taiga-ui-addon-mobile-directives.d.ts +1 -0
  118. package/directives/touchable/package.json +2 -5
  119. package/directives/touchable/taiga-ui-addon-mobile-directives-touchable.d.ts +1 -0
  120. package/directives/touchable/touchable.directive.d.ts +6 -3
  121. package/directives/touchable/touchable.module.d.ts +5 -0
  122. package/esm2015/components/index.js +1 -1
  123. package/esm2015/components/mobile-calendar/index.js +1 -1
  124. package/esm2015/components/mobile-calendar/mobile-calendar.component.js +78 -59
  125. package/esm2015/components/mobile-calendar/mobile-calendar.const.js +1 -1
  126. package/esm2015/components/mobile-calendar/mobile-calendar.module.js +34 -13
  127. package/esm2015/components/mobile-calendar/mobile-calendar.providers.js +7 -9
  128. package/esm2015/components/mobile-calendar/mobile-calendar.strategy.js +1 -1
  129. package/esm2015/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.js +1 -1
  130. package/esm2015/components/mobile-calendar-dialog/index.js +1 -1
  131. package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +19 -17
  132. package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js +27 -21
  133. package/esm2015/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +1 -1
  134. package/esm2015/components/mobile-dialog/index.js +2 -1
  135. package/esm2015/components/mobile-dialog/mobile-dialog-options.js +2 -1
  136. package/esm2015/components/mobile-dialog/mobile-dialog.component.js +28 -23
  137. package/esm2015/components/mobile-dialog/mobile-dialog.module.js +17 -21
  138. package/esm2015/components/mobile-dialog/mobile-dialog.service.js +11 -12
  139. package/esm2015/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.js +1 -1
  140. package/esm2015/components/pull-to-refresh/index.js +1 -1
  141. package/esm2015/components/pull-to-refresh/loader-android/loader-android.component.js +21 -19
  142. package/esm2015/components/pull-to-refresh/loader-ios/loader-ios.component.js +19 -16
  143. package/esm2015/components/pull-to-refresh/pull-to-refresh.component.js +31 -24
  144. package/esm2015/components/pull-to-refresh/pull-to-refresh.module.js +21 -16
  145. package/esm2015/components/pull-to-refresh/pull-to-refresh.providers.js +15 -14
  146. package/esm2015/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.js +1 -1
  147. package/esm2015/components/sheet/components/sheet/sheet.component.js +66 -57
  148. package/esm2015/components/sheet/components/sheet/sheet.providers.js +17 -21
  149. package/esm2015/components/sheet/components/sheet-bar/sheet-bar.component.js +31 -28
  150. package/esm2015/components/sheet/components/sheet-heading/sheet-heading.component.js +29 -23
  151. package/esm2015/components/sheet/components/sheets-host/sheets-host.component.js +33 -24
  152. package/esm2015/components/sheet/directives/sheet-close/sheet-close.directive.js +38 -32
  153. package/esm2015/components/sheet/directives/sheet-stop/sheet-stop.directive.js +30 -25
  154. package/esm2015/components/sheet/directives/sheet-top/sheet-top.directive.js +38 -34
  155. package/esm2015/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +40 -39
  156. package/esm2015/components/sheet/index.js +2 -1
  157. package/esm2015/components/sheet/ios.hacks.js +7 -7
  158. package/esm2015/components/sheet/sheet-options.js +3 -4
  159. package/esm2015/components/sheet/sheet-tokens.js +5 -0
  160. package/esm2015/components/sheet/sheet.directive.js +30 -23
  161. package/esm2015/components/sheet/sheet.js +2 -1
  162. package/esm2015/components/sheet/sheet.module.js +55 -29
  163. package/esm2015/components/sheet/sheet.service.js +14 -16
  164. package/esm2015/components/sheet/taiga-ui-addon-mobile-components-sheet.js +1 -1
  165. package/esm2015/components/taiga-ui-addon-mobile-components.js +1 -1
  166. package/esm2015/components/theme-android/index.js +1 -1
  167. package/esm2015/components/theme-android/taiga-ui-addon-mobile-components-theme-android.js +1 -1
  168. package/esm2015/components/theme-android/theme-android.component.js +16 -15
  169. package/esm2015/components/theme-android/theme-android.module.js +14 -11
  170. package/esm2015/components/theme-ios/index.js +1 -1
  171. package/esm2015/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.js +1 -1
  172. package/esm2015/components/theme-ios/theme-ios.component.js +16 -15
  173. package/esm2015/components/theme-ios/theme-ios.module.js +14 -11
  174. package/esm2015/const/index.js +1 -1
  175. package/esm2015/const/mobile-alert-options.js +1 -1
  176. package/esm2015/const/taiga-ui-addon-mobile-const.js +1 -1
  177. package/esm2015/directives/elastic-sticky/elastic-sticky.directive.js +20 -19
  178. package/esm2015/directives/elastic-sticky/elastic-sticky.module.js +14 -11
  179. package/esm2015/directives/elastic-sticky/elastic-sticky.service.js +32 -29
  180. package/esm2015/directives/elastic-sticky/index.js +1 -1
  181. package/esm2015/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.js +1 -1
  182. package/esm2015/directives/index.js +1 -1
  183. package/esm2015/directives/mobile-tabs/index.js +1 -1
  184. package/esm2015/directives/mobile-tabs/mobile-tabs.component.js +14 -12
  185. package/esm2015/directives/mobile-tabs/mobile-tabs.directive.js +36 -28
  186. package/esm2015/directives/mobile-tabs/mobile-tabs.module.js +15 -12
  187. package/esm2015/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.js +1 -1
  188. package/esm2015/directives/ripple/index.js +1 -1
  189. package/esm2015/directives/ripple/ripple-styles.component.js +14 -12
  190. package/esm2015/directives/ripple/ripple.directive.js +40 -33
  191. package/esm2015/directives/ripple/ripple.module.js +15 -12
  192. package/esm2015/directives/ripple/ripple.providers.js +29 -33
  193. package/esm2015/directives/ripple/taiga-ui-addon-mobile-directives-ripple.js +1 -2
  194. package/esm2015/directives/sidebar/index.js +1 -1
  195. package/esm2015/directives/sidebar/sidebar.component.js +31 -27
  196. package/esm2015/directives/sidebar/sidebar.directive.js +39 -38
  197. package/esm2015/directives/sidebar/sidebar.module.js +16 -13
  198. package/esm2015/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.js +1 -1
  199. package/esm2015/directives/taiga-ui-addon-mobile-directives.js +1 -1
  200. package/esm2015/directives/touchable/index.js +1 -1
  201. package/esm2015/directives/touchable/taiga-ui-addon-mobile-directives-touchable.js +1 -1
  202. package/esm2015/directives/touchable/touchable.directive.js +39 -29
  203. package/esm2015/directives/touchable/touchable.module.js +14 -11
  204. package/esm2015/index.js +3 -2
  205. package/esm2015/interfaces/index.js +2 -1
  206. package/esm2015/interfaces/mobile-alert-data.js +2 -1
  207. package/esm2015/interfaces/taiga-ui-addon-mobile-interfaces.js +2 -1
  208. package/esm2015/internal/index.js +1 -1
  209. package/esm2015/internal/primitive-calendar-mobile/index.js +1 -1
  210. package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +28 -24
  211. package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.js +24 -13
  212. package/esm2015/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +1 -1
  213. package/esm2015/internal/taiga-ui-addon-mobile-internal.js +1 -1
  214. package/esm2015/taiga-ui-addon-mobile.js +1 -1
  215. package/esm2015/tokens/index.js +1 -1
  216. package/esm2015/tokens/loaded.js +1 -1
  217. package/esm2015/tokens/taiga-ui-addon-mobile-tokens.js +1 -1
  218. package/esm2015/types/index.js +2 -1
  219. package/esm2015/types/taiga-ui-addon-mobile-types.js +2 -1
  220. package/esm2015/types/touch-mode.js +2 -1
  221. package/esm2015/utils/find-touch-index.js +2 -7
  222. package/esm2015/utils/index.js +1 -1
  223. package/esm2015/utils/taiga-ui-addon-mobile-utils.js +1 -1
  224. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +45 -35
  225. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +1 -1
  226. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js +117 -77
  227. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
  228. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js +54 -50
  229. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js.map +1 -1
  230. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js +97 -80
  231. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
  232. package/fesm2015/taiga-ui-addon-mobile-components-sheet.js +437 -370
  233. package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
  234. package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js +27 -21
  235. package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js.map +1 -1
  236. package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js +27 -21
  237. package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js.map +1 -1
  238. package/fesm2015/taiga-ui-addon-mobile-components.js.map +1 -1
  239. package/fesm2015/taiga-ui-addon-mobile-const.js.map +1 -1
  240. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js +61 -52
  241. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +1 -1
  242. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js +61 -45
  243. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +1 -1
  244. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js +93 -82
  245. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
  246. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js +79 -70
  247. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js.map +1 -1
  248. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js +51 -36
  249. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js.map +1 -1
  250. package/fesm2015/taiga-ui-addon-mobile-directives.js.map +1 -1
  251. package/fesm2015/taiga-ui-addon-mobile-interfaces.js.map +1 -1
  252. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +50 -33
  253. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +1 -1
  254. package/fesm2015/taiga-ui-addon-mobile-internal.js.map +1 -1
  255. package/fesm2015/taiga-ui-addon-mobile-tokens.js.map +1 -1
  256. package/fesm2015/taiga-ui-addon-mobile-types.js.map +1 -1
  257. package/fesm2015/taiga-ui-addon-mobile-utils.js +2 -7
  258. package/fesm2015/taiga-ui-addon-mobile-utils.js.map +1 -1
  259. package/fesm2015/taiga-ui-addon-mobile.js +2 -1
  260. package/fesm2015/taiga-ui-addon-mobile.js.map +1 -1
  261. package/index.d.ts +0 -1
  262. package/interfaces/package.json +2 -5
  263. package/interfaces/taiga-ui-addon-mobile-interfaces.d.ts +1 -0
  264. package/internal/package.json +2 -5
  265. package/internal/primitive-calendar-mobile/package.json +2 -5
  266. package/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.d.ts +3 -1
  267. package/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.d.ts +8 -0
  268. package/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.d.ts +1 -0
  269. package/internal/taiga-ui-addon-mobile-internal.d.ts +1 -0
  270. package/package.json +12 -15
  271. package/taiga-ui-addon-mobile.d.ts +1 -0
  272. package/tokens/package.json +2 -5
  273. package/tokens/taiga-ui-addon-mobile-tokens.d.ts +1 -0
  274. package/types/package.json +2 -5
  275. package/types/taiga-ui-addon-mobile-types.d.ts +1 -0
  276. package/types/touch-mode.d.ts +1 -1
  277. package/utils/find-touch-index.d.ts +1 -5
  278. package/utils/package.json +2 -5
  279. package/utils/taiga-ui-addon-mobile-utils.d.ts +1 -0
  280. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.min.js +0 -2
  281. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.min.js.map +0 -1
  282. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.min.js +0 -2
  283. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.min.js.map +0 -1
  284. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.min.js +0 -2
  285. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.min.js.map +0 -1
  286. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.min.js +0 -2
  287. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.min.js.map +0 -1
  288. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.min.js +0 -2
  289. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.min.js.map +0 -1
  290. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.min.js +0 -2
  291. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.min.js.map +0 -1
  292. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.min.js +0 -2
  293. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.min.js.map +0 -1
  294. package/bundles/taiga-ui-addon-mobile-components.umd.min.js +0 -2
  295. package/bundles/taiga-ui-addon-mobile-components.umd.min.js.map +0 -1
  296. package/bundles/taiga-ui-addon-mobile-const.umd.min.js +0 -2
  297. package/bundles/taiga-ui-addon-mobile-const.umd.min.js.map +0 -1
  298. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.min.js +0 -2
  299. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.min.js.map +0 -1
  300. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.min.js +0 -2
  301. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.min.js.map +0 -1
  302. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.min.js +0 -2
  303. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.min.js.map +0 -1
  304. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.min.js +0 -2
  305. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.min.js.map +0 -1
  306. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.min.js +0 -2
  307. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.min.js.map +0 -1
  308. package/bundles/taiga-ui-addon-mobile-directives.umd.min.js +0 -2
  309. package/bundles/taiga-ui-addon-mobile-directives.umd.min.js.map +0 -1
  310. package/bundles/taiga-ui-addon-mobile-enums.umd.js +0 -20
  311. package/bundles/taiga-ui-addon-mobile-enums.umd.js.map +0 -1
  312. package/bundles/taiga-ui-addon-mobile-enums.umd.min.js +0 -2
  313. package/bundles/taiga-ui-addon-mobile-enums.umd.min.js.map +0 -1
  314. package/bundles/taiga-ui-addon-mobile-interfaces.umd.min.js +0 -2
  315. package/bundles/taiga-ui-addon-mobile-interfaces.umd.min.js.map +0 -1
  316. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.min.js +0 -2
  317. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.min.js.map +0 -1
  318. package/bundles/taiga-ui-addon-mobile-internal.umd.min.js +0 -2
  319. package/bundles/taiga-ui-addon-mobile-internal.umd.min.js.map +0 -1
  320. package/bundles/taiga-ui-addon-mobile-tokens.umd.min.js +0 -2
  321. package/bundles/taiga-ui-addon-mobile-tokens.umd.min.js.map +0 -1
  322. package/bundles/taiga-ui-addon-mobile-types.umd.min.js +0 -2
  323. package/bundles/taiga-ui-addon-mobile-types.umd.min.js.map +0 -1
  324. package/bundles/taiga-ui-addon-mobile-utils.umd.min.js +0 -2
  325. package/bundles/taiga-ui-addon-mobile-utils.umd.min.js.map +0 -1
  326. package/bundles/taiga-ui-addon-mobile.umd.min.js +0 -2
  327. package/bundles/taiga-ui-addon-mobile.umd.min.js.map +0 -1
  328. package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.metadata.json +0 -1
  329. package/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.metadata.json +0 -1
  330. package/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.metadata.json +0 -1
  331. package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.metadata.json +0 -1
  332. package/components/sheet/taiga-ui-addon-mobile-components-sheet.metadata.json +0 -1
  333. package/components/taiga-ui-addon-mobile-components.metadata.json +0 -1
  334. package/components/theme-android/taiga-ui-addon-mobile-components-theme-android.metadata.json +0 -1
  335. package/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.metadata.json +0 -1
  336. package/const/taiga-ui-addon-mobile-const.metadata.json +0 -1
  337. package/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.metadata.json +0 -1
  338. package/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.metadata.json +0 -1
  339. package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.metadata.json +0 -1
  340. package/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.metadata.json +0 -1
  341. package/directives/taiga-ui-addon-mobile-directives.metadata.json +0 -1
  342. package/directives/touchable/taiga-ui-addon-mobile-directives-touchable.metadata.json +0 -1
  343. package/enums/index.d.ts +0 -1
  344. package/enums/package.json +0 -13
  345. package/enums/taiga-ui-addon-mobile-enums.d.ts +0 -4
  346. package/enums/taiga-ui-addon-mobile-enums.metadata.json +0 -1
  347. package/enums/touch-mode.d.ts +0 -8
  348. package/esm2015/enums/index.js +0 -2
  349. package/esm2015/enums/taiga-ui-addon-mobile-enums.js +0 -5
  350. package/esm2015/enums/touch-mode.js +0 -10
  351. package/esm5/components/index.js +0 -8
  352. package/esm5/components/mobile-calendar/index.js +0 -6
  353. package/esm5/components/mobile-calendar/mobile-calendar.component.js +0 -295
  354. package/esm5/components/mobile-calendar/mobile-calendar.const.js +0 -25
  355. package/esm5/components/mobile-calendar/mobile-calendar.module.js +0 -34
  356. package/esm5/components/mobile-calendar/mobile-calendar.providers.js +0 -31
  357. package/esm5/components/mobile-calendar/mobile-calendar.strategy.js +0 -134
  358. package/esm5/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.js +0 -5
  359. package/esm5/components/mobile-calendar-dialog/index.js +0 -3
  360. package/esm5/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +0 -57
  361. package/esm5/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js +0 -28
  362. package/esm5/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +0 -5
  363. package/esm5/components/mobile-dialog/index.js +0 -4
  364. package/esm5/components/mobile-dialog/mobile-dialog-options.js +0 -1
  365. package/esm5/components/mobile-dialog/mobile-dialog.component.js +0 -34
  366. package/esm5/components/mobile-dialog/mobile-dialog.module.js +0 -31
  367. package/esm5/components/mobile-dialog/mobile-dialog.service.js +0 -34
  368. package/esm5/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.js +0 -5
  369. package/esm5/components/pull-to-refresh/index.js +0 -6
  370. package/esm5/components/pull-to-refresh/loader-android/loader-android.component.js +0 -43
  371. package/esm5/components/pull-to-refresh/loader-ios/loader-ios.component.js +0 -41
  372. package/esm5/components/pull-to-refresh/pull-to-refresh.component.js +0 -56
  373. package/esm5/components/pull-to-refresh/pull-to-refresh.module.js +0 -26
  374. package/esm5/components/pull-to-refresh/pull-to-refresh.providers.js +0 -32
  375. package/esm5/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.js +0 -5
  376. package/esm5/components/sheet/components/sheet/sheet.component.js +0 -150
  377. package/esm5/components/sheet/components/sheet/sheet.providers.js +0 -42
  378. package/esm5/components/sheet/components/sheet-bar/sheet-bar.component.js +0 -43
  379. package/esm5/components/sheet/components/sheet-heading/sheet-heading.component.js +0 -40
  380. package/esm5/components/sheet/components/sheets-host/sheets-host.component.js +0 -40
  381. package/esm5/components/sheet/directives/sheet-close/sheet-close.directive.js +0 -56
  382. package/esm5/components/sheet/directives/sheet-stop/sheet-stop.directive.js +0 -46
  383. package/esm5/components/sheet/directives/sheet-top/sheet-top.directive.js +0 -56
  384. package/esm5/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +0 -93
  385. package/esm5/components/sheet/index.js +0 -15
  386. package/esm5/components/sheet/ios.hacks.js +0 -42
  387. package/esm5/components/sheet/sheet-options.js +0 -16
  388. package/esm5/components/sheet/sheet.directive.js +0 -58
  389. package/esm5/components/sheet/sheet.js +0 -1
  390. package/esm5/components/sheet/sheet.module.js +0 -52
  391. package/esm5/components/sheet/sheet.service.js +0 -42
  392. package/esm5/components/sheet/taiga-ui-addon-mobile-components-sheet.js +0 -5
  393. package/esm5/components/taiga-ui-addon-mobile-components.js +0 -5
  394. package/esm5/components/theme-android/index.js +0 -3
  395. package/esm5/components/theme-android/taiga-ui-addon-mobile-components-theme-android.js +0 -5
  396. package/esm5/components/theme-android/theme-android.component.js +0 -22
  397. package/esm5/components/theme-android/theme-android.module.js +0 -16
  398. package/esm5/components/theme-ios/index.js +0 -3
  399. package/esm5/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.js +0 -5
  400. package/esm5/components/theme-ios/theme-ios.component.js +0 -22
  401. package/esm5/components/theme-ios/theme-ios.module.js +0 -16
  402. package/esm5/const/index.js +0 -2
  403. package/esm5/const/mobile-alert-options.js +0 -8
  404. package/esm5/const/taiga-ui-addon-mobile-const.js +0 -5
  405. package/esm5/directives/elastic-sticky/elastic-sticky.directive.js +0 -26
  406. package/esm5/directives/elastic-sticky/elastic-sticky.module.js +0 -16
  407. package/esm5/directives/elastic-sticky/elastic-sticky.service.js +0 -58
  408. package/esm5/directives/elastic-sticky/index.js +0 -4
  409. package/esm5/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.js +0 -5
  410. package/esm5/directives/index.js +0 -6
  411. package/esm5/directives/mobile-tabs/index.js +0 -4
  412. package/esm5/directives/mobile-tabs/mobile-tabs.component.js +0 -16
  413. package/esm5/directives/mobile-tabs/mobile-tabs.directive.js +0 -51
  414. package/esm5/directives/mobile-tabs/mobile-tabs.module.js +0 -18
  415. package/esm5/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.js +0 -5
  416. package/esm5/directives/ripple/index.js +0 -4
  417. package/esm5/directives/ripple/ripple-styles.component.js +0 -16
  418. package/esm5/directives/ripple/ripple.directive.js +0 -63
  419. package/esm5/directives/ripple/ripple.module.js +0 -18
  420. package/esm5/directives/ripple/ripple.providers.js +0 -54
  421. package/esm5/directives/ripple/taiga-ui-addon-mobile-directives-ripple.js +0 -6
  422. package/esm5/directives/sidebar/index.js +0 -4
  423. package/esm5/directives/sidebar/sidebar.component.js +0 -75
  424. package/esm5/directives/sidebar/sidebar.directive.js +0 -78
  425. package/esm5/directives/sidebar/sidebar.module.js +0 -21
  426. package/esm5/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.js +0 -5
  427. package/esm5/directives/taiga-ui-addon-mobile-directives.js +0 -5
  428. package/esm5/directives/touchable/index.js +0 -3
  429. package/esm5/directives/touchable/taiga-ui-addon-mobile-directives-touchable.js +0 -5
  430. package/esm5/directives/touchable/touchable.directive.js +0 -90
  431. package/esm5/directives/touchable/touchable.module.js +0 -16
  432. package/esm5/enums/index.js +0 -2
  433. package/esm5/enums/taiga-ui-addon-mobile-enums.js +0 -5
  434. package/esm5/enums/touch-mode.js +0 -10
  435. package/esm5/index.js +0 -7
  436. package/esm5/interfaces/index.js +0 -1
  437. package/esm5/interfaces/mobile-alert-data.js +0 -1
  438. package/esm5/interfaces/taiga-ui-addon-mobile-interfaces.js +0 -4
  439. package/esm5/internal/index.js +0 -2
  440. package/esm5/internal/primitive-calendar-mobile/index.js +0 -3
  441. package/esm5/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +0 -37
  442. package/esm5/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.js +0 -28
  443. package/esm5/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +0 -5
  444. package/esm5/internal/taiga-ui-addon-mobile-internal.js +0 -5
  445. package/esm5/taiga-ui-addon-mobile.js +0 -5
  446. package/esm5/tokens/index.js +0 -2
  447. package/esm5/tokens/loaded.js +0 -6
  448. package/esm5/tokens/taiga-ui-addon-mobile-tokens.js +0 -5
  449. package/esm5/types/index.js +0 -1
  450. package/esm5/types/taiga-ui-addon-mobile-types.js +0 -4
  451. package/esm5/types/touch-mode.js +0 -1
  452. package/esm5/utils/find-touch-index.js +0 -15
  453. package/esm5/utils/index.js +0 -2
  454. package/esm5/utils/taiga-ui-addon-mobile-utils.js +0 -5
  455. package/fesm2015/taiga-ui-addon-mobile-enums.js +0 -16
  456. package/fesm2015/taiga-ui-addon-mobile-enums.js.map +0 -1
  457. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +0 -87
  458. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +0 -1
  459. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js +0 -502
  460. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js.map +0 -1
  461. package/fesm5/taiga-ui-addon-mobile-components-mobile-dialog.js +0 -91
  462. package/fesm5/taiga-ui-addon-mobile-components-mobile-dialog.js.map +0 -1
  463. package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js +0 -185
  464. package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +0 -1
  465. package/fesm5/taiga-ui-addon-mobile-components-sheet.js +0 -680
  466. package/fesm5/taiga-ui-addon-mobile-components-sheet.js.map +0 -1
  467. package/fesm5/taiga-ui-addon-mobile-components-theme-android.js +0 -40
  468. package/fesm5/taiga-ui-addon-mobile-components-theme-android.js.map +0 -1
  469. package/fesm5/taiga-ui-addon-mobile-components-theme-ios.js +0 -40
  470. package/fesm5/taiga-ui-addon-mobile-components-theme-ios.js.map +0 -1
  471. package/fesm5/taiga-ui-addon-mobile-components.js +0 -12
  472. package/fesm5/taiga-ui-addon-mobile-components.js.map +0 -1
  473. package/fesm5/taiga-ui-addon-mobile-const.js +0 -15
  474. package/fesm5/taiga-ui-addon-mobile-const.js.map +0 -1
  475. package/fesm5/taiga-ui-addon-mobile-directives-elastic-sticky.js +0 -97
  476. package/fesm5/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +0 -1
  477. package/fesm5/taiga-ui-addon-mobile-directives-mobile-tabs.js +0 -82
  478. package/fesm5/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +0 -1
  479. package/fesm5/taiga-ui-addon-mobile-directives-ripple.js +0 -143
  480. package/fesm5/taiga-ui-addon-mobile-directives-ripple.js.map +0 -1
  481. package/fesm5/taiga-ui-addon-mobile-directives-sidebar.js +0 -168
  482. package/fesm5/taiga-ui-addon-mobile-directives-sidebar.js.map +0 -1
  483. package/fesm5/taiga-ui-addon-mobile-directives-touchable.js +0 -108
  484. package/fesm5/taiga-ui-addon-mobile-directives-touchable.js.map +0 -1
  485. package/fesm5/taiga-ui-addon-mobile-directives.js +0 -10
  486. package/fesm5/taiga-ui-addon-mobile-directives.js.map +0 -1
  487. package/fesm5/taiga-ui-addon-mobile-enums.js +0 -16
  488. package/fesm5/taiga-ui-addon-mobile-enums.js.map +0 -1
  489. package/fesm5/taiga-ui-addon-mobile-interfaces.js +0 -4
  490. package/fesm5/taiga-ui-addon-mobile-interfaces.js.map +0 -1
  491. package/fesm5/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +0 -65
  492. package/fesm5/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +0 -1
  493. package/fesm5/taiga-ui-addon-mobile-internal.js +0 -6
  494. package/fesm5/taiga-ui-addon-mobile-internal.js.map +0 -1
  495. package/fesm5/taiga-ui-addon-mobile-tokens.js +0 -13
  496. package/fesm5/taiga-ui-addon-mobile-tokens.js.map +0 -1
  497. package/fesm5/taiga-ui-addon-mobile-types.js +0 -4
  498. package/fesm5/taiga-ui-addon-mobile-types.js.map +0 -1
  499. package/fesm5/taiga-ui-addon-mobile-utils.js +0 -21
  500. package/fesm5/taiga-ui-addon-mobile-utils.js.map +0 -1
  501. package/fesm5/taiga-ui-addon-mobile.js +0 -11
  502. package/fesm5/taiga-ui-addon-mobile.js.map +0 -1
  503. package/interfaces/taiga-ui-addon-mobile-interfaces.metadata.json +0 -1
  504. package/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.metadata.json +0 -1
  505. package/internal/taiga-ui-addon-mobile-internal.metadata.json +0 -1
  506. package/taiga-ui-addon-mobile.metadata.json +0 -1
  507. package/tokens/taiga-ui-addon-mobile-tokens.metadata.json +0 -1
  508. package/types/taiga-ui-addon-mobile-types.metadata.json +0 -1
  509. package/utils/taiga-ui-addon-mobile-utils.metadata.json +0 -1
@@ -1,266 +1,366 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/core'), require('@taiga-ui/cdk'), require('@tinkoff/ng-polymorpheus')) :
3
3
  typeof define === 'function' && define.amd ? define('@taiga-ui/addon-mobile/directives/sidebar', ['exports', '@angular/core', '@taiga-ui/core', '@taiga-ui/cdk', '@tinkoff/ng-polymorpheus'], factory) :
4
- (global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui']['addon-mobile'] = global['taiga-ui']['addon-mobile'] || {}, global['taiga-ui']['addon-mobile'].directives = global['taiga-ui']['addon-mobile'].directives || {}, global['taiga-ui']['addon-mobile'].directives.sidebar = {}), global.ng.core, global.core$1, global.cdk, global.ngPolymorpheus));
5
- }(this, (function (exports, core, core$1, cdk, ngPolymorpheus) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-mobile"] = global["taiga-ui"]["addon-mobile"] || {}, global["taiga-ui"]["addon-mobile"].directives = global["taiga-ui"]["addon-mobile"].directives || {}, global["taiga-ui"]["addon-mobile"].directives.sidebar = {}), global.ng.core, global.core, global.i1, global.i2));
5
+ })(this, (function (exports, i0, core, i1, i2) { 'use strict';
6
6
 
7
- /******************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */
21
- /* global Reflect, Promise */
22
-
23
- var extendStatics = function(d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
-
30
- function __extends(d, b) {
31
- if (typeof b !== "function" && b !== null)
32
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
33
- extendStatics(d, b);
34
- function __() { this.constructor = d; }
35
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
36
- }
37
-
38
- var __assign = function() {
39
- __assign = Object.assign || function __assign(t) {
40
- for (var s, i = 1, n = arguments.length; i < n; i++) {
41
- s = arguments[i];
42
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
43
- }
44
- return t;
45
- };
46
- return __assign.apply(this, arguments);
47
- };
48
-
49
- function __rest(s, e) {
50
- var t = {};
51
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
52
- t[p] = s[p];
53
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
54
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
55
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
56
- t[p[i]] = s[p[i]];
57
- }
58
- return t;
59
- }
60
-
61
- function __decorate(decorators, target, key, desc) {
62
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
63
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
64
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
65
- return c > 3 && r && Object.defineProperty(target, key, r), r;
66
- }
67
-
68
- function __param(paramIndex, decorator) {
69
- return function (target, key) { decorator(target, key, paramIndex); }
70
- }
71
-
72
- function __metadata(metadataKey, metadataValue) {
73
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
74
- }
75
-
76
- function __awaiter(thisArg, _arguments, P, generator) {
77
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
78
- return new (P || (P = Promise))(function (resolve, reject) {
79
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
80
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
81
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
82
- step((generator = generator.apply(thisArg, _arguments || [])).next());
83
- });
84
- }
85
-
86
- function __generator(thisArg, body) {
87
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
89
- function verb(n) { return function (v) { return step([n, v]); }; }
90
- function step(op) {
91
- if (f) throw new TypeError("Generator is already executing.");
92
- while (_) try {
93
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
94
- if (y = 0, t) op = [op[0] & 2, t.value];
95
- switch (op[0]) {
96
- case 0: case 1: t = op; break;
97
- case 4: _.label++; return { value: op[1], done: false };
98
- case 5: _.label++; y = op[1]; op = [0]; continue;
99
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
100
- default:
101
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
102
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
103
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
104
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
105
- if (t[2]) _.ops.pop();
106
- _.trys.pop(); continue;
107
- }
108
- op = body.call(thisArg, _);
109
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
110
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
111
- }
112
- }
113
-
114
- var __createBinding = Object.create ? (function(o, m, k, k2) {
115
- if (k2 === undefined) k2 = k;
116
- var desc = Object.getOwnPropertyDescriptor(m, k);
117
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
118
- desc = { enumerable: true, get: function() { return m[k]; } };
119
- }
120
- Object.defineProperty(o, k2, desc);
121
- }) : (function(o, m, k, k2) {
122
- if (k2 === undefined) k2 = k;
123
- o[k2] = m[k];
124
- });
125
-
126
- function __exportStar(m, o) {
127
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
128
- }
129
-
130
- function __values(o) {
131
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
132
- if (m) return m.call(o);
133
- if (o && typeof o.length === "number") return {
134
- next: function () {
135
- if (o && i >= o.length) o = void 0;
136
- return { value: o && o[i++], done: !o };
137
- }
138
- };
139
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
140
- }
141
-
142
- function __read(o, n) {
143
- var m = typeof Symbol === "function" && o[Symbol.iterator];
144
- if (!m) return o;
145
- var i = m.call(o), r, ar = [], e;
146
- try {
147
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
148
- }
149
- catch (error) { e = { error: error }; }
150
- finally {
151
- try {
152
- if (r && !r.done && (m = i["return"])) m.call(i);
153
- }
154
- finally { if (e) throw e.error; }
155
- }
156
- return ar;
157
- }
158
-
159
- /** @deprecated */
160
- function __spread() {
161
- for (var ar = [], i = 0; i < arguments.length; i++)
162
- ar = ar.concat(__read(arguments[i]));
163
- return ar;
164
- }
165
-
166
- /** @deprecated */
167
- function __spreadArrays() {
168
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
169
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
170
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
171
- r[k] = a[j];
172
- return r;
173
- }
174
-
175
- function __spreadArray(to, from, pack) {
176
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
177
- if (ar || !(i in from)) {
178
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
179
- ar[i] = from[i];
180
- }
181
- }
182
- return to.concat(ar || Array.prototype.slice.call(from));
183
- }
184
-
185
- function __await(v) {
186
- return this instanceof __await ? (this.v = v, this) : new __await(v);
187
- }
188
-
189
- function __asyncGenerator(thisArg, _arguments, generator) {
190
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
191
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
192
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
193
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
194
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
195
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
196
- function fulfill(value) { resume("next", value); }
197
- function reject(value) { resume("throw", value); }
198
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
199
- }
200
-
201
- function __asyncDelegator(o) {
202
- var i, p;
203
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
204
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
205
- }
206
-
207
- function __asyncValues(o) {
208
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
209
- var m = o[Symbol.asyncIterator], i;
210
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
211
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
212
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
213
- }
214
-
215
- function __makeTemplateObject(cooked, raw) {
216
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
217
- return cooked;
218
- };
219
-
220
- var __setModuleDefault = Object.create ? (function(o, v) {
221
- Object.defineProperty(o, "default", { enumerable: true, value: v });
222
- }) : function(o, v) {
223
- o["default"] = v;
224
- };
225
-
226
- function __importStar(mod) {
227
- if (mod && mod.__esModule) return mod;
228
- var result = {};
229
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
230
- __setModuleDefault(result, mod);
231
- return result;
232
- }
233
-
234
- function __importDefault(mod) {
235
- return (mod && mod.__esModule) ? mod : { default: mod };
236
- }
237
-
238
- function __classPrivateFieldGet(receiver, state, kind, f) {
239
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
240
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
241
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
242
- }
243
-
244
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
245
- if (kind === "m") throw new TypeError("Private method is not writable");
246
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
247
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
248
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
249
- }
250
-
251
- function __classPrivateFieldIn(state, receiver) {
252
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
253
- return typeof state === "function" ? receiver === state : state.has(receiver);
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
28
+
29
+ /******************************************************************************
30
+ Copyright (c) Microsoft Corporation.
31
+
32
+ Permission to use, copy, modify, and/or distribute this software for any
33
+ purpose with or without fee is hereby granted.
34
+
35
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
36
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
37
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
38
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
39
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
40
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
41
+ PERFORMANCE OF THIS SOFTWARE.
42
+ ***************************************************************************** */
43
+ /* global Reflect, Promise */
44
+ var extendStatics = function (d, b) {
45
+ extendStatics = Object.setPrototypeOf ||
46
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
47
+ function (d, b) { for (var p in b)
48
+ if (Object.prototype.hasOwnProperty.call(b, p))
49
+ d[p] = b[p]; };
50
+ return extendStatics(d, b);
51
+ };
52
+ function __extends(d, b) {
53
+ if (typeof b !== "function" && b !== null)
54
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
55
+ extendStatics(d, b);
56
+ function __() { this.constructor = d; }
57
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
58
+ }
59
+ var __assign = function () {
60
+ __assign = Object.assign || function __assign(t) {
61
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
62
+ s = arguments[i];
63
+ for (var p in s)
64
+ if (Object.prototype.hasOwnProperty.call(s, p))
65
+ t[p] = s[p];
66
+ }
67
+ return t;
68
+ };
69
+ return __assign.apply(this, arguments);
70
+ };
71
+ function __rest(s, e) {
72
+ var t = {};
73
+ for (var p in s)
74
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
75
+ t[p] = s[p];
76
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
77
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
78
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
79
+ t[p[i]] = s[p[i]];
80
+ }
81
+ return t;
82
+ }
83
+ function __decorate(decorators, target, key, desc) {
84
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
85
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
86
+ r = Reflect.decorate(decorators, target, key, desc);
87
+ else
88
+ for (var i = decorators.length - 1; i >= 0; i--)
89
+ if (d = decorators[i])
90
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
91
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
92
+ }
93
+ function __param(paramIndex, decorator) {
94
+ return function (target, key) { decorator(target, key, paramIndex); };
95
+ }
96
+ function __metadata(metadataKey, metadataValue) {
97
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
98
+ return Reflect.metadata(metadataKey, metadataValue);
99
+ }
100
+ function __awaiter(thisArg, _arguments, P, generator) {
101
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
102
+ return new (P || (P = Promise))(function (resolve, reject) {
103
+ function fulfilled(value) { try {
104
+ step(generator.next(value));
105
+ }
106
+ catch (e) {
107
+ reject(e);
108
+ } }
109
+ function rejected(value) { try {
110
+ step(generator["throw"](value));
111
+ }
112
+ catch (e) {
113
+ reject(e);
114
+ } }
115
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
116
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
117
+ });
118
+ }
119
+ function __generator(thisArg, body) {
120
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
121
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
122
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
123
+ function verb(n) { return function (v) { return step([n, v]); }; }
124
+ function step(op) {
125
+ if (f)
126
+ throw new TypeError("Generator is already executing.");
127
+ while (_)
128
+ try {
129
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
130
+ return t;
131
+ if (y = 0, t)
132
+ op = [op[0] & 2, t.value];
133
+ switch (op[0]) {
134
+ case 0:
135
+ case 1:
136
+ t = op;
137
+ break;
138
+ case 4:
139
+ _.label++;
140
+ return { value: op[1], done: false };
141
+ case 5:
142
+ _.label++;
143
+ y = op[1];
144
+ op = [0];
145
+ continue;
146
+ case 7:
147
+ op = _.ops.pop();
148
+ _.trys.pop();
149
+ continue;
150
+ default:
151
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
152
+ _ = 0;
153
+ continue;
154
+ }
155
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
156
+ _.label = op[1];
157
+ break;
158
+ }
159
+ if (op[0] === 6 && _.label < t[1]) {
160
+ _.label = t[1];
161
+ t = op;
162
+ break;
163
+ }
164
+ if (t && _.label < t[2]) {
165
+ _.label = t[2];
166
+ _.ops.push(op);
167
+ break;
168
+ }
169
+ if (t[2])
170
+ _.ops.pop();
171
+ _.trys.pop();
172
+ continue;
173
+ }
174
+ op = body.call(thisArg, _);
175
+ }
176
+ catch (e) {
177
+ op = [6, e];
178
+ y = 0;
179
+ }
180
+ finally {
181
+ f = t = 0;
182
+ }
183
+ if (op[0] & 5)
184
+ throw op[1];
185
+ return { value: op[0] ? op[1] : void 0, done: true };
186
+ }
187
+ }
188
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
189
+ if (k2 === undefined)
190
+ k2 = k;
191
+ var desc = Object.getOwnPropertyDescriptor(m, k);
192
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
193
+ desc = { enumerable: true, get: function () { return m[k]; } };
194
+ }
195
+ Object.defineProperty(o, k2, desc);
196
+ }) : (function (o, m, k, k2) {
197
+ if (k2 === undefined)
198
+ k2 = k;
199
+ o[k2] = m[k];
200
+ });
201
+ function __exportStar(m, o) {
202
+ for (var p in m)
203
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
204
+ __createBinding(o, m, p);
205
+ }
206
+ function __values(o) {
207
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
208
+ if (m)
209
+ return m.call(o);
210
+ if (o && typeof o.length === "number")
211
+ return {
212
+ next: function () {
213
+ if (o && i >= o.length)
214
+ o = void 0;
215
+ return { value: o && o[i++], done: !o };
216
+ }
217
+ };
218
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
219
+ }
220
+ function __read(o, n) {
221
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
222
+ if (!m)
223
+ return o;
224
+ var i = m.call(o), r, ar = [], e;
225
+ try {
226
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
227
+ ar.push(r.value);
228
+ }
229
+ catch (error) {
230
+ e = { error: error };
231
+ }
232
+ finally {
233
+ try {
234
+ if (r && !r.done && (m = i["return"]))
235
+ m.call(i);
236
+ }
237
+ finally {
238
+ if (e)
239
+ throw e.error;
240
+ }
241
+ }
242
+ return ar;
243
+ }
244
+ /** @deprecated */
245
+ function __spread() {
246
+ for (var ar = [], i = 0; i < arguments.length; i++)
247
+ ar = ar.concat(__read(arguments[i]));
248
+ return ar;
249
+ }
250
+ /** @deprecated */
251
+ function __spreadArrays() {
252
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
253
+ s += arguments[i].length;
254
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
255
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
256
+ r[k] = a[j];
257
+ return r;
258
+ }
259
+ function __spreadArray(to, from, pack) {
260
+ if (pack || arguments.length === 2)
261
+ for (var i = 0, l = from.length, ar; i < l; i++) {
262
+ if (ar || !(i in from)) {
263
+ if (!ar)
264
+ ar = Array.prototype.slice.call(from, 0, i);
265
+ ar[i] = from[i];
266
+ }
267
+ }
268
+ return to.concat(ar || Array.prototype.slice.call(from));
269
+ }
270
+ function __await(v) {
271
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
272
+ }
273
+ function __asyncGenerator(thisArg, _arguments, generator) {
274
+ if (!Symbol.asyncIterator)
275
+ throw new TypeError("Symbol.asyncIterator is not defined.");
276
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
277
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
278
+ function verb(n) { if (g[n])
279
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
280
+ function resume(n, v) { try {
281
+ step(g[n](v));
282
+ }
283
+ catch (e) {
284
+ settle(q[0][3], e);
285
+ } }
286
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
287
+ function fulfill(value) { resume("next", value); }
288
+ function reject(value) { resume("throw", value); }
289
+ function settle(f, v) { if (f(v), q.shift(), q.length)
290
+ resume(q[0][0], q[0][1]); }
291
+ }
292
+ function __asyncDelegator(o) {
293
+ var i, p;
294
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
295
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
296
+ }
297
+ function __asyncValues(o) {
298
+ if (!Symbol.asyncIterator)
299
+ throw new TypeError("Symbol.asyncIterator is not defined.");
300
+ var m = o[Symbol.asyncIterator], i;
301
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
302
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
303
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
304
+ }
305
+ function __makeTemplateObject(cooked, raw) {
306
+ if (Object.defineProperty) {
307
+ Object.defineProperty(cooked, "raw", { value: raw });
308
+ }
309
+ else {
310
+ cooked.raw = raw;
311
+ }
312
+ return cooked;
313
+ }
314
+ ;
315
+ var __setModuleDefault = Object.create ? (function (o, v) {
316
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
317
+ }) : function (o, v) {
318
+ o["default"] = v;
319
+ };
320
+ function __importStar(mod) {
321
+ if (mod && mod.__esModule)
322
+ return mod;
323
+ var result = {};
324
+ if (mod != null)
325
+ for (var k in mod)
326
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
327
+ __createBinding(result, mod, k);
328
+ __setModuleDefault(result, mod);
329
+ return result;
330
+ }
331
+ function __importDefault(mod) {
332
+ return (mod && mod.__esModule) ? mod : { default: mod };
333
+ }
334
+ function __classPrivateFieldGet(receiver, state, kind, f) {
335
+ if (kind === "a" && !f)
336
+ throw new TypeError("Private accessor was defined without a getter");
337
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
338
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
339
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
340
+ }
341
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
342
+ if (kind === "m")
343
+ throw new TypeError("Private method is not writable");
344
+ if (kind === "a" && !f)
345
+ throw new TypeError("Private accessor was defined without a setter");
346
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
347
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
348
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
349
+ }
350
+ function __classPrivateFieldIn(state, receiver) {
351
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
352
+ throw new TypeError("Cannot use 'in' operator on non-object");
353
+ return typeof state === "function" ? receiver === state : state.has(receiver);
254
354
  }
255
355
 
256
356
  var TuiSidebarDirective = /** @class */ (function (_super) {
257
357
  __extends(TuiSidebarDirective, _super);
258
- function TuiSidebarDirective(content, injector, componentFactoryResolver, portalService, changeDetectorRef) {
358
+ function TuiSidebarDirective(content, injector, portalService, changeDetectorRef) {
259
359
  var _this = _super.call(this, content, changeDetectorRef) || this;
260
360
  _this.content = content;
261
361
  _this.injector = injector;
262
- _this.componentFactoryResolver = componentFactoryResolver;
263
362
  _this.portalService = portalService;
363
+ _this.component = new i2.PolymorpheusComponent(TuiSidebarComponent, _this.injector);
264
364
  _this.sidebarRef = null;
265
365
  _this.direction = "left";
266
366
  _this.autoWidth = false;
@@ -275,7 +375,7 @@
275
375
  this.hide();
276
376
  }
277
377
  },
278
- enumerable: true,
378
+ enumerable: false,
279
379
  configurable: true
280
380
  });
281
381
  TuiSidebarDirective.prototype.ngOnDestroy = function () {
@@ -285,8 +385,7 @@
285
385
  if (this.sidebarRef !== null) {
286
386
  return;
287
387
  }
288
- var componentFactory = this.componentFactoryResolver.resolveComponentFactory(TuiSidebarComponent);
289
- this.sidebarRef = this.portalService.add(componentFactory, this.injector);
388
+ this.sidebarRef = this.portalService.add(this.component);
290
389
  this.sidebarRef.changeDetectorRef.detectChanges();
291
390
  };
292
391
  TuiSidebarDirective.prototype.hide = function () {
@@ -296,118 +395,134 @@
296
395
  this.portalService.remove(this.sidebarRef);
297
396
  this.sidebarRef = null;
298
397
  };
299
- TuiSidebarDirective.ctorParameters = function () { return [
300
- { type: core.TemplateRef, decorators: [{ type: core.Inject, args: [core.TemplateRef,] }] },
301
- { type: core.Injector, decorators: [{ type: core.Inject, args: [core.Injector,] }] },
302
- { type: core.ComponentFactoryResolver, decorators: [{ type: core.Inject, args: [core.ComponentFactoryResolver,] }] },
303
- { type: cdk.TuiPortalService, decorators: [{ type: core.Inject, args: [cdk.TuiPortalService,] }] },
304
- { type: core.ChangeDetectorRef, decorators: [{ type: core.Inject, args: [core.ChangeDetectorRef,] }] }
305
- ]; };
306
- __decorate([
307
- core.Input("tuiSidebarDirection")
308
- ], TuiSidebarDirective.prototype, "direction", void 0);
309
- __decorate([
310
- core.Input("tuiSidebarAutoWidth")
311
- ], TuiSidebarDirective.prototype, "autoWidth", void 0);
312
- __decorate([
313
- core.Input()
314
- ], TuiSidebarDirective.prototype, "tuiSidebar", null);
315
- TuiSidebarDirective = __decorate([
316
- core.Directive({
317
- selector: "[tuiSidebar]",
318
- }),
319
- __param(0, core.Inject(core.TemplateRef)),
320
- __param(1, core.Inject(core.Injector)),
321
- __param(2, core.Inject(core.ComponentFactoryResolver)),
322
- __param(3, core.Inject(cdk.TuiPortalService)),
323
- __param(4, core.Inject(core.ChangeDetectorRef))
324
- ], TuiSidebarDirective);
325
398
  return TuiSidebarDirective;
326
- }(ngPolymorpheus.PolymorpheusTemplate));
399
+ }(i2.PolymorpheusTemplate));
400
+ TuiSidebarDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSidebarDirective, deps: [{ token: i0.TemplateRef }, { token: i0.Injector }, { token: i1.TuiDropdownPortalService }, { token: i0.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
401
+ TuiSidebarDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiSidebarDirective, selector: "[tuiSidebar]", inputs: { direction: ["tuiSidebarDirection", "direction"], autoWidth: ["tuiSidebarAutoWidth", "autoWidth"], tuiSidebar: "tuiSidebar" }, usesInheritance: true, ngImport: i0__namespace });
402
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSidebarDirective, decorators: [{
403
+ type: i0.Directive,
404
+ args: [{
405
+ selector: "[tuiSidebar]",
406
+ }]
407
+ }], ctorParameters: function () {
408
+ return [{ type: i0__namespace.TemplateRef, decorators: [{
409
+ type: i0.Inject,
410
+ args: [i0.TemplateRef]
411
+ }] }, { type: i0__namespace.Injector, decorators: [{
412
+ type: i0.Inject,
413
+ args: [i0.Injector]
414
+ }] }, { type: i1__namespace.TuiDropdownPortalService, decorators: [{
415
+ type: i0.Inject,
416
+ args: [i1.TuiDropdownPortalService]
417
+ }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
418
+ type: i0.Inject,
419
+ args: [i0.ChangeDetectorRef]
420
+ }] }];
421
+ }, propDecorators: { direction: [{
422
+ type: i0.Input,
423
+ args: ["tuiSidebarDirection"]
424
+ }], autoWidth: [{
425
+ type: i0.Input,
426
+ args: ["tuiSidebarAutoWidth"]
427
+ }], tuiSidebar: [{
428
+ type: i0.Input
429
+ }] } });
327
430
 
328
- // @dynamic
329
431
  var TuiSidebarComponent = /** @class */ (function () {
330
432
  function TuiSidebarComponent(options, directive) {
331
433
  this.options = options;
332
434
  this.directive = directive;
333
- this.left = __assign({ value: "left" }, this.options);
334
- this.right = __assign({ value: "right" }, this.options);
435
+ this.left = Object.assign({ value: "left" }, this.options);
436
+ this.right = Object.assign({ value: "right" }, this.options);
335
437
  }
336
438
  Object.defineProperty(TuiSidebarComponent.prototype, "animation", {
337
439
  get: function () {
338
440
  return this.direction === "left" ? this.left : this.right;
339
441
  },
340
- enumerable: true,
442
+ enumerable: false,
341
443
  configurable: true
342
444
  });
343
445
  Object.defineProperty(TuiSidebarComponent.prototype, "directionHostClass", {
344
446
  get: function () {
345
447
  return "t-" + this.directive.direction;
346
448
  },
347
- enumerable: true,
449
+ enumerable: false,
348
450
  configurable: true
349
451
  });
350
452
  Object.defineProperty(TuiSidebarComponent.prototype, "direction", {
351
453
  get: function () {
352
454
  return this.directive.direction;
353
455
  },
354
- enumerable: true,
456
+ enumerable: false,
355
457
  configurable: true
356
458
  });
357
459
  Object.defineProperty(TuiSidebarComponent.prototype, "content", {
358
460
  get: function () {
359
461
  return this.directive.content;
360
462
  },
361
- enumerable: true,
463
+ enumerable: false,
362
464
  configurable: true
363
465
  });
364
466
  Object.defineProperty(TuiSidebarComponent.prototype, "autoWidth", {
365
467
  get: function () {
366
468
  return this.directive.autoWidth;
367
469
  },
368
- enumerable: true,
470
+ enumerable: false,
369
471
  configurable: true
370
472
  });
371
473
  TuiSidebarComponent.prototype.ngDoCheck = function () {
372
474
  this.directive.check();
373
475
  };
374
- TuiSidebarComponent.ctorParameters = function () { return [
375
- { type: undefined, decorators: [{ type: core.Inject, args: [core$1.TUI_ANIMATION_OPTIONS,] }] },
376
- { type: TuiSidebarDirective, decorators: [{ type: core.Inject, args: [TuiSidebarDirective,] }] }
377
- ]; };
378
- __decorate([
379
- core.HostBinding("@tuiSlideIn")
380
- ], TuiSidebarComponent.prototype, "animation", null);
381
- __decorate([
382
- core.HostBinding("class")
383
- ], TuiSidebarComponent.prototype, "directionHostClass", null);
384
- TuiSidebarComponent = __decorate([
385
- core.Component({
386
- selector: "aside[tuiSidebar]",
387
- template: "<div\n polymorpheus-outlet\n tuiActiveZone\n class=\"t-wrapper\"\n [content]=\"content\"\n [class.t-wrapper_auto-width]=\"autoWidth\"\n></div>\n",
388
- changeDetection: core.ChangeDetectionStrategy.OnPush,
389
- animations: [core$1.tuiSlideIn],
390
- 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.t-right{justify-content:flex-end}:host.t-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}"]
391
- }),
392
- __param(0, core.Inject(core$1.TUI_ANIMATION_OPTIONS)),
393
- __param(1, core.Inject(TuiSidebarDirective))
394
- ], TuiSidebarComponent);
395
476
  return TuiSidebarComponent;
396
477
  }());
478
+ TuiSidebarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSidebarComponent, deps: [{ token: core.TUI_ANIMATION_OPTIONS }, { token: TuiSidebarDirective }], target: i0__namespace.ɵɵFactoryTarget.Component });
479
+ TuiSidebarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiSidebarComponent, selector: "aside[tuiSidebar]", host: { properties: { "@tuiSlideIn": "this.animation", "class": "this.directionHostClass" } }, ngImport: i0__namespace, template: "<div\n tuiActiveZone\n class=\"t-wrapper\"\n [class.t-wrapper_auto-width]=\"autoWidth\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n</div>\n", styles: [":host{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}:host:before,:host:after{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:before,:host.ng-animating:after{opacity:0;transition:opacity var(--tui-duration)}:host.t-right{justify-content:flex-end}:host.t-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}\n"], directives: [{ type: i1__namespace.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i2__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [core.tuiSlideIn], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
480
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSidebarComponent, decorators: [{
481
+ type: i0.Component,
482
+ args: [{
483
+ selector: "aside[tuiSidebar]",
484
+ templateUrl: "./sidebar.template.html",
485
+ styleUrls: ["./sidebar.style.less"],
486
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
487
+ animations: [core.tuiSlideIn],
488
+ }]
489
+ }], ctorParameters: function () {
490
+ return [{ type: undefined, decorators: [{
491
+ type: i0.Inject,
492
+ args: [core.TUI_ANIMATION_OPTIONS]
493
+ }] }, { type: TuiSidebarDirective, decorators: [{
494
+ type: i0.Inject,
495
+ args: [TuiSidebarDirective]
496
+ }] }];
497
+ }, propDecorators: { animation: [{
498
+ type: i0.HostBinding,
499
+ args: ["@tuiSlideIn"]
500
+ }], directionHostClass: [{
501
+ type: i0.HostBinding,
502
+ args: ["class"]
503
+ }] } });
397
504
 
398
505
  var TuiSidebarModule = /** @class */ (function () {
399
506
  function TuiSidebarModule() {
400
507
  }
401
- TuiSidebarModule = __decorate([
402
- core.NgModule({
403
- imports: [cdk.TuiActiveZoneModule, ngPolymorpheus.PolymorpheusModule],
404
- declarations: [TuiSidebarDirective, TuiSidebarComponent],
405
- entryComponents: [TuiSidebarComponent],
406
- exports: [TuiSidebarDirective],
407
- })
408
- ], TuiSidebarModule);
409
508
  return TuiSidebarModule;
410
509
  }());
510
+ TuiSidebarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSidebarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
511
+ TuiSidebarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSidebarModule, declarations: [TuiSidebarDirective, TuiSidebarComponent], imports: [i1.TuiActiveZoneModule, i2.PolymorpheusModule], exports: [TuiSidebarDirective] });
512
+ TuiSidebarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSidebarModule, imports: [[i1.TuiActiveZoneModule, i2.PolymorpheusModule]] });
513
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSidebarModule, decorators: [{
514
+ type: i0.NgModule,
515
+ args: [{
516
+ imports: [i1.TuiActiveZoneModule, i2.PolymorpheusModule],
517
+ declarations: [TuiSidebarDirective, TuiSidebarComponent],
518
+ entryComponents: [TuiSidebarComponent],
519
+ exports: [TuiSidebarDirective],
520
+ }]
521
+ }] });
522
+
523
+ /**
524
+ * Generated bundle index. Do not edit.
525
+ */
411
526
 
412
527
  exports.TuiSidebarComponent = TuiSidebarComponent;
413
528
  exports.TuiSidebarDirective = TuiSidebarDirective;
@@ -415,5 +530,5 @@
415
530
 
416
531
  Object.defineProperty(exports, '__esModule', { value: true });
417
532
 
418
- })));
533
+ }));
419
534
  //# sourceMappingURL=taiga-ui-addon-mobile-directives-sidebar.umd.js.map