@taiga-ui/addon-mobile 2.22.0 → 2.26.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 (181) hide show
  1. package/README.md +9 -4
  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-dialog.umd.min.js.map +1 -1
  4. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js +2 -2
  5. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map +1 -1
  6. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.min.js +2 -2
  7. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.min.js.map +1 -1
  8. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js +1 -1
  9. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js.map +1 -1
  10. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.min.js +1 -1
  11. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js +76 -76
  13. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js.map +1 -1
  14. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.min.js +1 -1
  15. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.min.js.map +1 -1
  16. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +7 -7
  17. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +1 -1
  18. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.min.js +1 -1
  19. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.min.js.map +1 -1
  20. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js.map +1 -1
  21. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js.map +1 -1
  23. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.min.js.map +1 -1
  24. package/bundles/taiga-ui-addon-mobile-components.umd.js +10 -10
  25. package/bundles/taiga-ui-addon-mobile-components.umd.min.js +1 -1
  26. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js.map +1 -1
  27. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.min.js.map +1 -1
  28. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js.map +1 -1
  29. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js +2 -2
  31. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js.map +1 -1
  32. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.min.js +1 -1
  33. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js.map +1 -1
  35. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.min.js.map +1 -1
  36. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js +2 -2
  37. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js.map +1 -1
  38. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.min.js +1 -1
  39. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.min.js.map +1 -1
  40. package/components/index.d.ts +1 -1
  41. package/components/mobile-calendar/index.d.ts +1 -1
  42. package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.metadata.json +1 -1
  43. package/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.metadata.json +1 -1
  44. package/components/mobile-dialog/mobile-dialog.service.d.ts +1 -1
  45. package/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.metadata.json +1 -1
  46. package/components/pull-to-refresh/index.d.ts +2 -2
  47. package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.metadata.json +1 -1
  48. package/components/sheet/index.d.ts +3 -3
  49. package/components/sheet/sheet.directive.d.ts +1 -1
  50. package/components/sheet/taiga-ui-addon-mobile-components-sheet.metadata.json +1 -1
  51. package/components/taiga-ui-addon-mobile-components.metadata.json +1 -1
  52. package/components/theme-android/taiga-ui-addon-mobile-components-theme-android.metadata.json +1 -1
  53. package/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.metadata.json +1 -1
  54. package/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.metadata.json +1 -1
  55. package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.metadata.json +1 -1
  56. package/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.metadata.json +1 -1
  57. package/directives/touchable/taiga-ui-addon-mobile-directives-touchable.metadata.json +1 -1
  58. package/esm2015/components/index.js +2 -2
  59. package/esm2015/components/mobile-calendar/index.js +2 -2
  60. package/esm2015/components/mobile-calendar/mobile-calendar.component.js +3 -3
  61. package/esm2015/components/mobile-calendar/mobile-calendar.module.js +2 -3
  62. package/esm2015/components/mobile-calendar/mobile-calendar.providers.js +1 -1
  63. package/esm2015/components/mobile-calendar/mobile-calendar.strategy.js +1 -1
  64. package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js +1 -1
  65. package/esm2015/components/mobile-dialog/mobile-dialog.component.js +2 -2
  66. package/esm2015/components/mobile-dialog/mobile-dialog.module.js +1 -1
  67. package/esm2015/components/mobile-dialog/mobile-dialog.service.js +1 -1
  68. package/esm2015/components/pull-to-refresh/index.js +3 -3
  69. package/esm2015/components/pull-to-refresh/loader-android/loader-android.component.js +1 -1
  70. package/esm2015/components/pull-to-refresh/pull-to-refresh.component.js +1 -1
  71. package/esm2015/components/pull-to-refresh/pull-to-refresh.module.js +1 -1
  72. package/esm2015/components/sheet/components/sheet/sheet.component.js +3 -3
  73. package/esm2015/components/sheet/components/sheet/sheet.providers.js +1 -1
  74. package/esm2015/components/sheet/components/sheet-bar/sheet-bar.component.js +3 -3
  75. package/esm2015/components/sheet/components/sheet-heading/sheet-heading.component.js +1 -1
  76. package/esm2015/components/sheet/components/sheets-host/sheets-host.component.js +3 -3
  77. package/esm2015/components/sheet/directives/sheet-close/sheet-close.directive.js +2 -2
  78. package/esm2015/components/sheet/directives/sheet-stop/sheet-stop.directive.js +1 -1
  79. package/esm2015/components/sheet/directives/sheet-top/sheet-top.directive.js +1 -1
  80. package/esm2015/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +1 -1
  81. package/esm2015/components/sheet/index.js +4 -4
  82. package/esm2015/components/sheet/sheet-options.js +1 -1
  83. package/esm2015/components/sheet/sheet.directive.js +1 -1
  84. package/esm2015/components/sheet/sheet.js +1 -1
  85. package/esm2015/components/sheet/sheet.module.js +2 -2
  86. package/esm2015/components/sheet/sheet.service.js +1 -1
  87. package/esm2015/components/theme-android/theme-android.module.js +1 -1
  88. package/esm2015/components/theme-ios/theme-ios.module.js +1 -1
  89. package/esm2015/directives/elastic-sticky/elastic-sticky.directive.js +1 -1
  90. package/esm2015/directives/elastic-sticky/elastic-sticky.module.js +1 -1
  91. package/esm2015/directives/ripple/ripple.directive.js +1 -1
  92. package/esm2015/directives/ripple/ripple.module.js +1 -1
  93. package/esm2015/directives/sidebar/sidebar.component.js +3 -3
  94. package/esm2015/directives/sidebar/sidebar.directive.js +1 -1
  95. package/esm2015/directives/sidebar/sidebar.module.js +1 -1
  96. package/esm2015/directives/touchable/touchable.module.js +1 -1
  97. package/esm2015/index.js +1 -1
  98. package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +3 -3
  99. package/esm5/components/index.js +2 -2
  100. package/esm5/components/mobile-calendar/index.js +2 -2
  101. package/esm5/components/mobile-calendar/mobile-calendar.component.js +3 -3
  102. package/esm5/components/mobile-calendar/mobile-calendar.module.js +2 -3
  103. package/esm5/components/mobile-calendar/mobile-calendar.providers.js +1 -1
  104. package/esm5/components/mobile-calendar/mobile-calendar.strategy.js +1 -1
  105. package/esm5/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js +1 -1
  106. package/esm5/components/mobile-dialog/mobile-dialog.component.js +2 -2
  107. package/esm5/components/mobile-dialog/mobile-dialog.module.js +1 -1
  108. package/esm5/components/mobile-dialog/mobile-dialog.service.js +1 -1
  109. package/esm5/components/pull-to-refresh/index.js +3 -3
  110. package/esm5/components/pull-to-refresh/loader-android/loader-android.component.js +1 -1
  111. package/esm5/components/pull-to-refresh/pull-to-refresh.component.js +1 -1
  112. package/esm5/components/pull-to-refresh/pull-to-refresh.module.js +1 -1
  113. package/esm5/components/sheet/components/sheet/sheet.component.js +3 -3
  114. package/esm5/components/sheet/components/sheet/sheet.providers.js +1 -1
  115. package/esm5/components/sheet/components/sheet-bar/sheet-bar.component.js +3 -3
  116. package/esm5/components/sheet/components/sheet-heading/sheet-heading.component.js +1 -1
  117. package/esm5/components/sheet/components/sheets-host/sheets-host.component.js +3 -3
  118. package/esm5/components/sheet/directives/sheet-close/sheet-close.directive.js +2 -2
  119. package/esm5/components/sheet/directives/sheet-stop/sheet-stop.directive.js +1 -1
  120. package/esm5/components/sheet/directives/sheet-top/sheet-top.directive.js +1 -1
  121. package/esm5/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +1 -1
  122. package/esm5/components/sheet/index.js +4 -4
  123. package/esm5/components/sheet/sheet-options.js +1 -1
  124. package/esm5/components/sheet/sheet.directive.js +1 -1
  125. package/esm5/components/sheet/sheet.js +1 -1
  126. package/esm5/components/sheet/sheet.module.js +2 -2
  127. package/esm5/components/sheet/sheet.service.js +1 -1
  128. package/esm5/components/theme-android/theme-android.module.js +1 -1
  129. package/esm5/components/theme-ios/theme-ios.module.js +1 -1
  130. package/esm5/directives/elastic-sticky/elastic-sticky.directive.js +1 -1
  131. package/esm5/directives/elastic-sticky/elastic-sticky.module.js +1 -1
  132. package/esm5/directives/ripple/ripple.directive.js +1 -1
  133. package/esm5/directives/ripple/ripple.module.js +1 -1
  134. package/esm5/directives/sidebar/sidebar.component.js +3 -3
  135. package/esm5/directives/sidebar/sidebar.directive.js +1 -1
  136. package/esm5/directives/sidebar/sidebar.module.js +1 -1
  137. package/esm5/directives/touchable/touchable.module.js +1 -1
  138. package/esm5/index.js +1 -1
  139. package/esm5/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +3 -3
  140. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +1 -1
  141. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js +2 -2
  142. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
  143. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js +1 -1
  144. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js.map +1 -1
  145. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js +65 -65
  146. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
  147. package/fesm2015/taiga-ui-addon-mobile-components-sheet.js +7 -7
  148. package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
  149. package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js.map +1 -1
  150. package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js.map +1 -1
  151. package/fesm2015/taiga-ui-addon-mobile-components.js +1 -1
  152. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +1 -1
  153. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
  154. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js +2 -2
  155. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js.map +1 -1
  156. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js.map +1 -1
  157. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +2 -2
  158. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +1 -1
  159. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +1 -1
  160. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js +2 -2
  161. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
  162. package/fesm5/taiga-ui-addon-mobile-components-mobile-dialog.js +1 -1
  163. package/fesm5/taiga-ui-addon-mobile-components-mobile-dialog.js.map +1 -1
  164. package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js +78 -78
  165. package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
  166. package/fesm5/taiga-ui-addon-mobile-components-sheet.js +7 -7
  167. package/fesm5/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
  168. package/fesm5/taiga-ui-addon-mobile-components-theme-android.js.map +1 -1
  169. package/fesm5/taiga-ui-addon-mobile-components-theme-ios.js.map +1 -1
  170. package/fesm5/taiga-ui-addon-mobile-components.js +1 -1
  171. package/fesm5/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +1 -1
  172. package/fesm5/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
  173. package/fesm5/taiga-ui-addon-mobile-directives-sidebar.js +2 -2
  174. package/fesm5/taiga-ui-addon-mobile-directives-sidebar.js.map +1 -1
  175. package/fesm5/taiga-ui-addon-mobile-directives-touchable.js.map +1 -1
  176. package/fesm5/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +2 -2
  177. package/fesm5/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +1 -1
  178. package/index.d.ts +1 -1
  179. package/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.metadata.json +1 -1
  180. package/package.json +6 -5
  181. package/taiga-ui-addon-mobile.metadata.json +1 -1
@@ -1 +1 @@
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 [class.t-cell_disabled]=\"itemIsDisabled(sheet[rowIndex][colIndex])\"\n [attr.data-tui-element-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{font:var(--tui-font-text-m);display:block}.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-tui-element-range]:after{background-color:var(--tui-primary-text)}.t-cell[data-tui-element-range]>.t-item{color:var(--tui-primary-text)}.t-cell[data-tui-element-range]>.t-item:after,.t-cell[data-tui-element-range]>.t-item:before{background-color:var(--tui-primary)}.t-cell[data-tui-element-range][data-tui-element-state=hovered]>.t-item:after,.t-cell[data-tui-element-range][data-tui-element-state=hovered]>.t-item:before{background-color:var(--tui-primary-hover)}.t-cell[data-tui-element-range][data-tui-element-state=pressed]>.t-item:after,.t-cell[data-tui-element-range][data-tui-element-state=pressed]>.t-item:before{background-color:var(--tui-primary-active)}.t-cell[data-tui-element-range=end]>.t-item:before{left:.25rem}.t-cell[data-tui-element-range=end]>.t-item:after{left:-2rem;right:100%;transform:translateX(1.4375rem) scaleY(.6) scaleX(.4) rotate(45deg)}.t-cell[data-tui-element-range=start]>.t-item:before{right:.25rem}.t-cell[data-tui-element-range=start]>.t-item:after{left:100%;right:-2rem;transform:translateX(-1.4375rem) scaleY(.6) scaleX(.4) rotate(45deg)}.t-cell[data-tui-element-state=disabled]{pointer-events:none}.t-cell[data-tui-element-state=disabled]>.t-item{opacity:.36}.t-cell[data-tui-element-state=hovered]:hover:not([data-tui-element-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-tui-element-state=pressed]:hover:not([data-tui-element-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:#458bf6}.t-cell_disabled{color:rgba(51,51,51,.3)}.t-cell_interval:before{background-color:#dae8fd}.t-cell_interval:last-child:first-child:before{right:-100vw}.t-cell[data-tui-element-range=end],.t-cell[data-tui-element-range=single],.t-cell[data-tui-element-range=start]{border-radius:100%;background-color:#458bf6;color:#fff;font-weight:500}.t-cell[data-tui-element-range=end]:after,.t-cell[data-tui-element-range=single]:after,.t-cell[data-tui-element-range=start]:after{background-color:#fff}:host._ios .t-cell[data-tui-element-range=end],:host._ios .t-cell[data-tui-element-range=single],:host._ios .t-cell[data-tui-element-range=start]{font-weight:600}.t-cell[data-tui-element-range=start]:before{left:50%;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-tui-element-range=end]:not(:first-child):before{left:50%;background:#fff;border-radius:0}.t-cell[data-tui-element-range=end]:first-child:before{right:50%;background-color:#dae8fd}: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
+ {"__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 [class.t-cell_disabled]=\"itemIsDisabled(sheet[rowIndex][colIndex])\"\n [attr.data-tui-element-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-tui-element-range]:after{background-color:var(--tui-primary-text)}.t-cell[data-tui-element-range]>.t-item{color:var(--tui-primary-text)}.t-cell[data-tui-element-range]>.t-item:after,.t-cell[data-tui-element-range]>.t-item:before{background-color:var(--tui-primary)}.t-cell[data-tui-element-range][data-tui-element-state=hovered]>.t-item:after,.t-cell[data-tui-element-range][data-tui-element-state=hovered]>.t-item:before{background-color:var(--tui-primary-hover)}.t-cell[data-tui-element-range][data-tui-element-state=pressed]>.t-item:after,.t-cell[data-tui-element-range][data-tui-element-state=pressed]>.t-item:before{background-color:var(--tui-primary-active)}.t-cell[data-tui-element-range=end]>.t-item:before{left:.25rem}.t-cell[data-tui-element-range=end]>.t-item:after{left:-2rem;right:100%;transform:translateX(1.4375rem) scaleY(.6) scaleX(.4) rotate(45deg)}.t-cell[data-tui-element-range=start]>.t-item:before{right:.25rem}.t-cell[data-tui-element-range=start]>.t-item:after{left:100%;right:-2rem;transform:translateX(-1.4375rem) scaleY(.6) scaleX(.4) rotate(45deg)}.t-cell[data-tui-element-state=disabled]{pointer-events:none}.t-cell[data-tui-element-state=disabled]>.t-item{opacity:.36}.t-cell[data-tui-element-state=hovered]:hover:not([data-tui-element-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-tui-element-state=pressed]:hover:not([data-tui-element-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_disabled{opacity:var(--tui-disabled-opacity)}.t-cell_interval:before{background-color:var(--tui-base-02)}.t-cell_interval:last-child:first-child:before{right:-100vw}.t-cell[data-tui-element-range=end],.t-cell[data-tui-element-range=single],.t-cell[data-tui-element-range=start]{border-radius:100%;background-color:var(--tui-link);color:var(--tui-accent-text);font-weight:500}.t-cell[data-tui-element-range=end]:after,.t-cell[data-tui-element-range=single]:after,.t-cell[data-tui-element-range=start]:after{background-color:var(--tui-base-01)}:host._ios .t-cell[data-tui-element-range=end],:host._ios .t-cell[data-tui-element-range=single],:host._ios .t-cell[data-tui-element-range=start]{font-weight:600}.t-cell[data-tui-element-range=start]:before{left:50%;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-tui-element-range=end]:not(:first-child):before{left:50%;background:var(--tui-base-01);border-radius:0}.t-cell[data-tui-element-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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/addon-mobile",
3
- "version": "2.22.0",
3
+ "version": "2.26.0",
4
4
  "description": "Extension package for Taiga UI that adds support for mobile specific behaviors such as custom data pickers, dropdowns, etc.",
5
5
  "keywords": [
6
6
  "angular",
@@ -14,10 +14,11 @@
14
14
  "@angular/cdk": ">=9.0.0",
15
15
  "@angular/common": ">=9.0.0",
16
16
  "@angular/core": ">=9.0.0",
17
- "@tinkoff/ng-polymorpheus": "3.1.11",
18
- "@taiga-ui/cdk": "2.22.0",
19
- "@taiga-ui/core": "2.22.0",
20
- "@taiga-ui/kit": "2.22.0",
17
+ "@ng-web-apis/common": "1.12.1",
18
+ "@tinkoff/ng-polymorpheus": "3.1.12",
19
+ "@taiga-ui/cdk": "2.26.0",
20
+ "@taiga-ui/core": "2.26.0",
21
+ "@taiga-ui/kit": "2.26.0",
21
22
  "rxjs": ">=6.0.0"
22
23
  },
23
24
  "main": "bundles/taiga-ui-addon-mobile.umd.js",
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"exports":[{"from":"@taiga-ui/addon-mobile/components"},{"from":"@taiga-ui/addon-mobile/const"},{"from":"@taiga-ui/addon-mobile/interfaces"},{"from":"@taiga-ui/addon-mobile/directives"},{"from":"@taiga-ui/addon-mobile/enums"},{"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
+ {"__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"}