@taiga-ui/addon-mobile 2.52.0 → 2.53.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.
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js +1 -0
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.min.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js +1 -0
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.min.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +5 -0
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.min.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js +2 -0
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.min.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-utils.umd.js +6 -0
- package/bundles/taiga-ui-addon-mobile-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-utils.umd.min.js +1 -1
- package/bundles/taiga-ui-addon-mobile-utils.umd.min.js.map +1 -1
- package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.metadata.json +1 -1
- package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.metadata.json +1 -1
- package/components/sheet/taiga-ui-addon-mobile-components-sheet.metadata.json +1 -1
- package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.metadata.json +1 -1
- package/esm2015/components/mobile-calendar/mobile-calendar.providers.js +2 -1
- package/esm2015/components/pull-to-refresh/pull-to-refresh.providers.js +2 -1
- package/esm2015/components/sheet/components/sheet/sheet.providers.js +3 -1
- package/esm2015/components/sheet/ios.hacks.js +4 -1
- package/esm2015/directives/ripple/ripple.providers.js +3 -1
- package/esm2015/utils/find-touch-index.js +6 -1
- package/esm5/components/mobile-calendar/mobile-calendar.providers.js +2 -1
- package/esm5/components/pull-to-refresh/pull-to-refresh.providers.js +2 -1
- package/esm5/components/sheet/components/sheet/sheet.providers.js +3 -1
- package/esm5/components/sheet/ios.hacks.js +4 -1
- package/esm5/directives/ripple/ripple.providers.js +3 -1
- package/esm5/utils/find-touch-index.js +6 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js +1 -0
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js +1 -0
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js +5 -0
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js +2 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-utils.js +6 -1
- package/fesm2015/taiga-ui-addon-mobile-utils.js.map +1 -1
- package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js +1 -0
- package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
- package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js +1 -0
- package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
- package/fesm5/taiga-ui-addon-mobile-components-sheet.js +5 -0
- package/fesm5/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
- package/fesm5/taiga-ui-addon-mobile-directives-ripple.js +2 -0
- package/fesm5/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
- package/fesm5/taiga-ui-addon-mobile-utils.js +6 -1
- package/fesm5/taiga-ui-addon-mobile-utils.js.map +1 -1
- package/package.json +4 -4
- package/utils/find-touch-index.d.ts +4 -0
- package/utils/taiga-ui-addon-mobile-utils.metadata.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"TuiSheetComponent":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":25,"character":1},"arguments":[{"selector":"tui-sheet","providers":{"__symbolic":"reference","name":"TUI_SHEET_PROVIDERS"},"animations":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"tuiSlideInTop","line":30,"character":17}],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":31,"character":21},"member":"OnPush"},"host":{"role":"dialog","[attr.aria-labelledby]":"id","[class._ios]":"isIos","[$.class._stuck]":"stuck$","($.class._stuck)":"stuck$","$quoted$":["[attr.aria-labelledby]","[class._ios]","[$.class._stuck]","($.class._stuck)"]},"template":"<div\n class=\"t-bumpers\"\n (click)=\"close()\"\n>\n <div\n *ngFor=\"let stop of item.stops\"\n #stops\n class=\"t-bumper\"\n [style.marginTop]=\"stop\"\n ></div>\n</div>\n<div\n #sheet\n class=\"t-wrapper\"\n [class.t-wrapper_shadow]=\"!item.image\"\n>\n <header\n *ngIf=\"item.image\"\n polymorpheus-outlet\n class=\"t-top\"\n [tuiSheetTop]=\"imageStop\"\n [content]=\"item.image\"\n [context]=\"context\"\n >\n <ng-template let-content>\n <img\n alt=\"\"\n class=\"t-image\"\n [src]=\"content\"\n />\n </ng-template>\n </header>\n <section\n #content\n tuiSheetStop\n class=\"t-sheet\"\n >\n <div class=\"t-bar\"></div>\n <tui-sheet-bar>\n <button\n class=\"t-button\"\n [title]=\"moreWord$ | async\"\n (click)=\"scrollTo(stops[1])\"\n ></button>\n </tui-sheet-bar>\n <div\n polymorpheus-outlet\n class=\"t-content\"\n [content]=\"item.content\"\n [context]=\"context\"\n >\n <ng-template let-content>\n <h2\n tuiSheetHeading\n class=\"t-heading\"\n >\n {{ content }}\n </h2>\n </ng-template>\n </div>\n </section>\n</div>\n","styles":[":host{scrollbar-width:none;-ms-overflow-style:none;position:absolute;left:0;bottom:0;right:0;transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;top:auto;border-radius:.75rem .75rem 0 0;overflow-y:auto;overflow-x:hidden;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;box-shadow:0 4rem var(--tui-base-01);padding-right:1rem;margin-left:-1rem;transform:scaleX(-1);-webkit-clip-path:inset(0 1rem 0 0 round .75rem .75rem 0 0);clip-path:inset(0 1rem 0 0 round .75rem .75rem 0 0)}:host::-webkit-scrollbar,:host::-webkit-scrollbar-thumb{background:0 0;width:0;height:0}:host._stuck{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.t-bumpers{display:flex;height:100%}:host-context(.t-wrapper_closeable) .t-bumpers{scroll-snap-stop:always;scroll-snap-align:start;scroll-margin:-1px}.t-bumper{scroll-snap-stop:always;scroll-snap-align:start;height:1rem;width:1rem}.t-wrapper{border-radius:inherit;pointer-events:auto;scroll-snap-stop:always;scroll-snap-align:start}.t-wrapper_shadow{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12)}.t-top{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12);position:-webkit-sticky;position:sticky;top:0;pointer-events:auto;border-radius:.8rem .8rem 0 0;transform:scaleX(-1);overflow:hidden}.t-top._clickthrough{pointer-events:none}:host-context(._overlay:not(._visible)) .t-top{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;transform:scaleX(-1)!important}.t-image{display:block;width:100%}.t-sheet{position:relative;border-radius:inherit;scroll-snap-stop:always;scroll-snap-align:start;transform:scaleX(-1);box-shadow:0 4rem var(--tui-base-01)}.t-top:not(._rounded)~.t-sheet .t-bar{border-radius:0}.t-bar{transition-property:border-radius;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:-webkit-sticky;position:sticky;top:0;z-index:1;height:1.5rem;margin-bottom:-1.5rem;border-radius:inherit;background:var(--tui-elevation-01);box-shadow:inset 0 1px rgba(255,255,255,.25)}.t-button{position:absolute;top:0;height:1.5rem;width:3rem;padding:0;border:0;opacity:0}.t-content{padding:1rem;margin-top:-1rem;border-radius:inherit;background:var(--tui-elevation-01)}.t-heading{padding-bottom:.5rem;background:var(--tui-elevation-01)}"]}]}],"members":{"sheet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":42,"character":5},"arguments":["sheet"]}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":45,"character":5},"arguments":["content"]}]}],"stopsRefs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChildren","line":48,"character":5},"arguments":["stops"]}]}],"item":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":59,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":60,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":60,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":61,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":61,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":62,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_IOS","line":62,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":63,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/kit","name":"TUI_MORE_WORD","line":63,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":60,"character":68,"context":{"typeName":"HTMLElement"},"module":"./components/sheet/sheet.component"}]},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":61,"character":49},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"string"}]}]}],"context":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":78,"character":5}]}],"onId":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":86,"character":5},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_ID"},["$event.detail"]]}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"scrollTo":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"getStops":[{"__symbolic":"method","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":121,"character":5}]}]}},"TUI_SHEET_SCROLL":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":9,"character":36},"arguments":["Current scrollTop of a sheet"]},"TUI_SHEET_DRAGGED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":13,"character":37},"arguments":["The sheet is being dragged"]},"TUI_SHEET_OFFSET":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":36},"arguments":["Offset from the top at which the sheet stops",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":17,"module":"./components/sheet/sheet.providers"}]},"TUI_SHEET_PROVIDERS":[{"provide":{"__symbolic":"reference","name":"TUI_SHEET_DRAGGED"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":28,"character":15}],"useFactory":{"__symbolic":"reference","name":"sheetDraggedFactory"}},{"provide":{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":33,"character":15},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":33,"character":27},{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":33,"character":35},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_IOS","line":33,"character":45}],"useFactory":{"__symbolic":"reference","name":"sheetScrollFactory"}},{"provide":{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_SCROLL_REF","line":37,"character":17},"useExisting":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":38,"character":21}}],"sheetDraggedFactory":{"__symbolic":"function","parameters":["nativeElement"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs","name":"merge","line":45,"character":11},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":46,"character":8},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"touchstart",{"passive":true}]},"member":"pipe"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"mapTo","line":46,"character":74},"arguments":[true]}]},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":47,"character":8},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"touchend"]},"member":"pipe"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"mapTo","line":47,"character":55},"arguments":[false]}]}]}},"sheetScrollFactory":{"__symbolic":"function","parameters":["nativeElement","ngZone","documentRef","isIos"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"isIos"},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"iosScrollFactory"},"arguments":[{"__symbolic":"reference","name":"nativeElement"},{"__symbolic":"reference","name":"documentRef"},{"__symbolic":"reference","name":"ngZone"}]},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs","name":"merge","line":59,"character":10},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":60,"character":14},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"scroll"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":61,"character":14},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"load",{"capture":true}]}]},"member":"pipe"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"map","line":63,"character":14},"arguments":[{"__symbolic":"error","message":"Lambda not supported","line":63,"character":18,"module":"./components/sheet/sheet.providers"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiZonefree","line":64,"character":14},"arguments":[{"__symbolic":"reference","name":"ngZone"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"share","line":65,"character":14}}]}}},"TuiSheetBarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"tui-sheet-bar","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":12,"character":21},"member":"OnPush"},"template":"<ng-container *tuiLet=\"rotate$ | async as deg\">\n <div\n style=\"transform: rotate(-{{ deg }}deg)\"\n class=\"t-bar\"\n ></div>\n <ng-content *ngIf=\"deg\"></ng-content>\n <div\n style=\"transform: rotate({{ deg }}deg)\"\n class=\"t-bar\"\n ></div>\n</ng-container>\n","styles":[":host{transition-property:border-radius;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;height:1.25rem;align-items:center;justify-content:center;opacity:.3}.t-bar{content:'';height:.25rem;width:1rem;background:var(--tui-base-09);pointer-events:none}:host-context(._ios:not(._dragged)) .t-bar{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out}.t-bar:first-child{border-radius:1rem 0 0 1rem;transform-origin:top right}.t-bar:last-child{border-radius:0 1rem 1rem 0;transform-origin:top left}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":20,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":21,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":22,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":22,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"TuiSheetComponent"},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":22,"character":49}]}]}},"TUI_SHEET_CLOSE":"tui-sheet-close","TUI_SHEET_ID":"tui-sheet-id","TuiSheetHeadingComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":14,"character":1},"arguments":[{"selector":"[tuiSheetHeading]","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":18,"character":21},"member":"OnPush"},"template":"<button\n tuiIconButton\n size=\"xs\"\n appearance=\"icon\"\n icon=\"tuiIconCloseLarge\"\n class=\"t-close\"\n [title]=\"closeWord$ | async\"\n (click)=\"onClick()\"\n></button>\n<span [id]=\"id\">\n <ng-content></ng-content>\n</span>\n","styles":[":host{position:-webkit-sticky;position:sticky;top:0;z-index:1;min-height:2rem;box-sizing:border-box;margin:-1.25rem -1rem 0;padding:1.5rem 1rem 1rem;background:var(--tui-base-01);border-radius:.75rem .75rem 0 0;font:var(--tui-font-heading-6);box-shadow:inset 0 1px rgba(255,255,255,.25)}:host:after{content:'';position:absolute;top:100%;left:0;right:0;height:1px;background:var(--tui-base-03);opacity:0}:host :host-context(._stuck):after{opacity:1}.t-close{display:none;float:right;margin-right:-.25rem}:host-context(.t-wrapper_closeable) .t-close{display:block}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":24,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiIdService","line":24,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":25,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":25,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":26,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_CLOSE_WORD","line":26,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiIdService","line":24,"character":58},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":25,"character":68,"context":{"typeName":"HTMLElement"},"module":"./components/sheet-heading/sheet-heading.component"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"string"}]}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}]}},"TuiSheetsHostComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"tui-sheets-host","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":14,"character":21},"member":"OnPush"},"animations":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"tuiSlideInTop","line":15,"character":17},{"__symbolic":"reference","module":"@taiga-ui/core","name":"tuiFadeIn","line":15,"character":32}],"template":"<ng-container *ngIf=\"service.sheets$ | async as items\">\n <div\n *ngFor=\"let item of items\"\n class=\"t-wrapper\"\n [@tuiSlideInTop]=\"options\"\n [@tuiFadeIn]=\"options\"\n [tuiSheetWrapper]=\"item.offset\"\n [class.t-wrapper_overlay]=\"item.overlay\"\n [class.t-wrapper_closeable]=\"item.closeable\"\n >\n <tui-sheet\n tuiScrollRef\n tuiOverscroll=\"all\"\n [style.height.px]=\"((height$ | async) || 0) - item.offset\"\n [item]=\"item\"\n (close)=\"close(item)\"\n ></tui-sheet>\n </div>\n <div\n class=\"t-overlay\"\n (click)=\"close(items[0])\"\n ></div>\n</ng-container>\n","styles":[":host{position:-webkit-sticky;position:sticky;bottom:0;display:block;height:0}.t-overlay{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:fixed;top:0;left:0;width:100%;z-index:-1;height:100vh;background:#000;opacity:.001;pointer-events:none}._overlay~.t-overlay,.t-wrapper_overlay~.t-overlay{opacity:.8;pointer-events:auto;touch-action:none}.t-wrapper{position:absolute;bottom:0;z-index:0;width:100%;height:100vh;overflow:hidden}.t-wrapper._overlay,.t-wrapper._visible,.t-wrapper_overlay{overflow:visible}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":19,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_ANIMATION_OPTIONS","line":19,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":20,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetService"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":21,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_WINDOW_HEIGHT","line":21,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/animations","name":"AnimationOptions","line":19,"character":57},{"__symbolic":"reference","name":"TuiSheetService"},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]}]}],"close":[{"__symbolic":"method"}]}},"TuiSheetCloseDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":14,"character":1},"arguments":[{"selector":"tui-sheet[close]"}]}],"members":{"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":18,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":37,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":37,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":38,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_DRAGGED"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":39,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":40,"character":9},"arguments":[{"__symbolic":"reference","module":"@ng-web-apis/common","name":"WINDOW","line":40,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":41,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":41,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":42,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":37,"character":49},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"error","message":"Could not resolve type","line":40,"character":52,"context":{"typeName":"Window"},"module":"./directives/sheet-close/sheet-close.directive"},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":41,"character":68,"context":{"typeName":"HTMLElement"},"module":"./directives/sheet-close/sheet-close.directive"}]},{"__symbolic":"reference","name":"TuiSheetComponent"}]}],"shouldClose":[{"__symbolic":"method"}]}},"TuiSheetStopDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":18,"character":1},"arguments":[{"selector":"[tuiSheetStop]","providers":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":20,"character":16}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":24,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":24,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":25,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":25,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":26,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_DRAGGED"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":27,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":28,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_SCROLL_REF","line":28,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":28,"character":60,"context":{"typeName":"HTMLElement"},"module":"./directives/sheet-stop/sheet-stop.directive"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":28,"character":60,"context":{"typeName":"HTMLElement"},"module":"./directives/sheet-stop/sheet-stop.directive"}]}]}]}},"TuiSheetTopDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":13,"character":1},"arguments":[{"selector":"[tuiSheetTop]","host":{"[$.style.transform]":"transform$","($.style.transform)":"transform$","[$.class._rounded]":"rounded$","($.class._rounded)":"rounded$","[$.class._clickthrough]":"clickthrough$","($.class._clickthrough)":"clickthrough$","$quoted$":["[$.style.transform]","($.style.transform)","[$.class._rounded]","($.class._rounded)","[$.class._clickthrough]","($.class._clickthrough)"]}}]}],"members":{"stop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5},"arguments":["tuiSheetTop"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":38,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":39,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":41,"character":9},"arguments":[{"__symbolic":"reference","module":"@ng-web-apis/common","name":"WINDOW","line":41,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"TuiSheetComponent"},{"__symbolic":"error","message":"Could not resolve type","line":41,"character":52,"context":{"typeName":"Window"},"module":"./directives/sheet-top/sheet-top.directive"}]}],"getY":[{"__symbolic":"method"}]}},"TuiSheetWrapperDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":17,"character":1},"arguments":[{"selector":"[tuiSheetWrapper]","host":{"[$.class._overlay]":"overlay$","($.class._overlay)":"overlay$","[$.class._visible]":"visible$","($.class._visible)":"visible$","[$.style.height.px]":"height$","($.style.height.px)":"height$","$quoted$":["[$.class._overlay]","($.class._overlay)","[$.class._visible]","($.class._visible)","[$.style.height.px]","($.style.height.px)"]}}]}],"members":{"sheet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":29,"character":5},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"}]}]}],"dragged$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":32,"character":5},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"},{"read":{"__symbolic":"reference","name":"TUI_SHEET_DRAGGED"}}]}]}],"scroll$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":35,"character":5},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"},{"read":{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}}]}]}],"tuiSheetWrapper":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":44,"character":17},"arguments":[{"__symbolic":"reference","module":"@ng-web-apis/common","name":"WINDOW","line":44,"character":24}]}]],"parameters":[{"__symbolic":"error","message":"Could not resolve type","line":44,"character":60,"context":{"typeName":"Window"},"module":"./directives/sheet-wrapper/sheet-wrapper.directive"}]}],"overlay$":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":46,"character":5}]}],"visible$":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":53,"character":5}]}],"height$":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":58,"character":5}]}],"getHeight":[{"__symbolic":"method"}],"withImage":[{"__symbolic":"method"}]}},"iosScrollFactory":{"__symbolic":"function"},"processDragged":{"__symbolic":"function"},"fakeSmoothScroll":{"__symbolic":"function"},"TuiSheet":{"__symbolic":"interface"},"TuiSheetDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"PolymorpheusTemplate","line":20,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":17,"character":1},"arguments":[{"selector":"ng-template[tuiSheet]"}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":5},"arguments":["tuiSheetOptions"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":24,"character":5}}]}],"tuiSheet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiRequiredSetter","line":28,"character":5}}]}],"tuiSheetChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":33,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":45,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":45,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":46,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":46,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":47,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetService"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":45,"character":54},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"TuiSheet"}]},{"__symbolic":"reference","name":"TuiSheetService"}]}]}},"TuiSheetModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":8},{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"PolymorpheusModule","line":19,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiLetModule","line":20,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiButtonModule","line":21,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiOverscrollModule","line":22,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiScrollbarModule","line":23,"character":8}],"declarations":[{"__symbolic":"reference","name":"TuiSheetsHostComponent"},{"__symbolic":"reference","name":"TuiSheetComponent"},{"__symbolic":"reference","name":"TuiSheetBarComponent"},{"__symbolic":"reference","name":"TuiSheetHeadingComponent"},{"__symbolic":"reference","name":"TuiSheetTopDirective"},{"__symbolic":"reference","name":"TuiSheetDirective"},{"__symbolic":"reference","name":"TuiSheetWrapperDirective"},{"__symbolic":"reference","name":"TuiSheetCloseDirective"},{"__symbolic":"reference","name":"TuiSheetStopDirective"}],"exports":[{"__symbolic":"reference","name":"TuiSheetsHostComponent"},{"__symbolic":"reference","name":"TuiSheetComponent"},{"__symbolic":"reference","name":"TuiSheetHeadingComponent"},{"__symbolic":"reference","name":"TuiSheetDirective"}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":42,"character":14}]}]}],"members":{}},"TuiSheetService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":13,"character":17},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","name":"TuiSheetOptions"}]}],"open":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"TuiSheetOptions":{"__symbolic":"interface"},"TUI_SHEET_DEFAULT_OPTIONS":{"image":"","imageSlide":true,"stops":[],"initial":0,"offset":16,"closeable":true,"overlay":false},"TUI_SHEET_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":27,"character":37},"arguments":["Default parameters for sheet component",{"__symbolic":"error","message":"Lambda not supported","line":30,"character":17,"module":"./sheet-options"}]}},"origins":{"TuiSheetComponent":"./components/sheet/sheet.component","TUI_SHEET_SCROLL":"./components/sheet/sheet.providers","TUI_SHEET_DRAGGED":"./components/sheet/sheet.providers","TUI_SHEET_OFFSET":"./components/sheet/sheet.providers","TUI_SHEET_PROVIDERS":"./components/sheet/sheet.providers","sheetDraggedFactory":"./components/sheet/sheet.providers","sheetScrollFactory":"./components/sheet/sheet.providers","TuiSheetBarComponent":"./components/sheet-bar/sheet-bar.component","TUI_SHEET_CLOSE":"./components/sheet-heading/sheet-heading.component","TUI_SHEET_ID":"./components/sheet-heading/sheet-heading.component","TuiSheetHeadingComponent":"./components/sheet-heading/sheet-heading.component","TuiSheetsHostComponent":"./components/sheets-host/sheets-host.component","TuiSheetCloseDirective":"./directives/sheet-close/sheet-close.directive","TuiSheetStopDirective":"./directives/sheet-stop/sheet-stop.directive","TuiSheetTopDirective":"./directives/sheet-top/sheet-top.directive","TuiSheetWrapperDirective":"./directives/sheet-wrapper/sheet-wrapper.directive","iosScrollFactory":"./ios.hacks","processDragged":"./ios.hacks","fakeSmoothScroll":"./ios.hacks","TuiSheet":"./sheet","TuiSheetDirective":"./sheet.directive","TuiSheetModule":"./sheet.module","TuiSheetService":"./sheet.service","TuiSheetOptions":"./sheet-options","TUI_SHEET_DEFAULT_OPTIONS":"./sheet-options","TUI_SHEET_OPTIONS":"./sheet-options"},"importAs":"@taiga-ui/addon-mobile/components/sheet"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"TuiSheetComponent":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":25,"character":1},"arguments":[{"selector":"tui-sheet","providers":{"__symbolic":"reference","name":"TUI_SHEET_PROVIDERS"},"animations":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"tuiSlideInTop","line":30,"character":17}],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":31,"character":21},"member":"OnPush"},"host":{"role":"dialog","[attr.aria-labelledby]":"id","[class._ios]":"isIos","[$.class._stuck]":"stuck$","($.class._stuck)":"stuck$","$quoted$":["[attr.aria-labelledby]","[class._ios]","[$.class._stuck]","($.class._stuck)"]},"template":"<div\n class=\"t-bumpers\"\n (click)=\"close()\"\n>\n <div\n *ngFor=\"let stop of item.stops\"\n #stops\n class=\"t-bumper\"\n [style.marginTop]=\"stop\"\n ></div>\n</div>\n<div\n #sheet\n class=\"t-wrapper\"\n [class.t-wrapper_shadow]=\"!item.image\"\n>\n <header\n *ngIf=\"item.image\"\n polymorpheus-outlet\n class=\"t-top\"\n [tuiSheetTop]=\"imageStop\"\n [content]=\"item.image\"\n [context]=\"context\"\n >\n <ng-template let-content>\n <img\n alt=\"\"\n class=\"t-image\"\n [src]=\"content\"\n />\n </ng-template>\n </header>\n <section\n #content\n tuiSheetStop\n class=\"t-sheet\"\n >\n <div class=\"t-bar\"></div>\n <tui-sheet-bar>\n <button\n class=\"t-button\"\n [title]=\"moreWord$ | async\"\n (click)=\"scrollTo(stops[1])\"\n ></button>\n </tui-sheet-bar>\n <div\n polymorpheus-outlet\n class=\"t-content\"\n [content]=\"item.content\"\n [context]=\"context\"\n >\n <ng-template let-content>\n <h2\n tuiSheetHeading\n class=\"t-heading\"\n >\n {{ content }}\n </h2>\n </ng-template>\n </div>\n </section>\n</div>\n","styles":[":host{scrollbar-width:none;-ms-overflow-style:none;position:absolute;left:0;bottom:0;right:0;transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;top:auto;border-radius:.75rem .75rem 0 0;overflow-y:auto;overflow-x:hidden;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;box-shadow:0 4rem var(--tui-base-01);padding-right:1rem;margin-left:-1rem;transform:scaleX(-1);-webkit-clip-path:inset(0 1rem 0 0 round .75rem .75rem 0 0);clip-path:inset(0 1rem 0 0 round .75rem .75rem 0 0)}:host::-webkit-scrollbar,:host::-webkit-scrollbar-thumb{background:0 0;width:0;height:0}:host._stuck{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.t-bumpers{display:flex;height:100%}:host-context(.t-wrapper_closeable) .t-bumpers{scroll-snap-stop:always;scroll-snap-align:start;scroll-margin:-1px}.t-bumper{scroll-snap-stop:always;scroll-snap-align:start;height:1rem;width:1rem}.t-wrapper{border-radius:inherit;pointer-events:auto;scroll-snap-stop:always;scroll-snap-align:start}.t-wrapper_shadow{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12)}.t-top{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12);position:-webkit-sticky;position:sticky;top:0;pointer-events:auto;border-radius:.8rem .8rem 0 0;transform:scaleX(-1);overflow:hidden}.t-top._clickthrough{pointer-events:none}:host-context(._overlay:not(._visible)) .t-top{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;transform:scaleX(-1)!important}.t-image{display:block;width:100%}.t-sheet{position:relative;border-radius:inherit;scroll-snap-stop:always;scroll-snap-align:start;transform:scaleX(-1);box-shadow:0 4rem var(--tui-base-01)}.t-top:not(._rounded)~.t-sheet .t-bar{border-radius:0}.t-bar{transition-property:border-radius;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:-webkit-sticky;position:sticky;top:0;z-index:1;height:1.5rem;margin-bottom:-1.5rem;border-radius:inherit;background:var(--tui-elevation-01);box-shadow:inset 0 1px rgba(255,255,255,.25)}.t-button{position:absolute;top:0;height:1.5rem;width:3rem;padding:0;border:0;opacity:0}.t-content{padding:1rem;margin-top:-1rem;border-radius:inherit;background:var(--tui-elevation-01)}.t-heading{padding-bottom:.5rem;background:var(--tui-elevation-01)}"]}]}],"members":{"sheet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":42,"character":5},"arguments":["sheet"]}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":45,"character":5},"arguments":["content"]}]}],"stopsRefs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChildren","line":48,"character":5},"arguments":["stops"]}]}],"item":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":59,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":60,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":60,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":61,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":61,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":62,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_IOS","line":62,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":63,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/kit","name":"TUI_MORE_WORD","line":63,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"string"}]},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":60,"character":68,"context":{"typeName":"HTMLElement"},"module":"./components/sheet/sheet.component"}]},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":61,"character":49},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"string"}]}]}],"context":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":78,"character":5}]}],"onId":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":86,"character":5},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_ID"},["$event.detail"]]}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"scrollTo":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"getStops":[{"__symbolic":"method","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":121,"character":5}]}]}},"TUI_SHEET_SCROLL":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":9,"character":36},"arguments":["Current scrollTop of a sheet"]},"TUI_SHEET_DRAGGED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":13,"character":37},"arguments":["The sheet is being dragged"]},"TUI_SHEET_OFFSET":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":36},"arguments":["Offset from the top at which the sheet stops",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":17,"module":"./components/sheet/sheet.providers"}]},"TUI_SHEET_PROVIDERS":[{"provide":{"__symbolic":"reference","name":"TUI_SHEET_DRAGGED"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":28,"character":15}],"useFactory":{"__symbolic":"reference","name":"sheetDraggedFactory"}},{"provide":{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":33,"character":15},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":33,"character":27},{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":33,"character":35},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_IOS","line":33,"character":45}],"useFactory":{"__symbolic":"reference","name":"sheetScrollFactory"}},{"provide":{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_SCROLL_REF","line":37,"character":17},"useExisting":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":38,"character":21}}],"sheetDraggedFactory":{"__symbolic":"function","parameters":["nativeElement"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs","name":"merge","line":46,"character":11},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":47,"character":8},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"touchstart",{"passive":true}]},"member":"pipe"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"mapTo","line":47,"character":74},"arguments":[true]}]},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":48,"character":8},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"touchend"]},"member":"pipe"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"mapTo","line":48,"character":55},"arguments":[false]}]}]}},"sheetScrollFactory":{"__symbolic":"function","parameters":["nativeElement","ngZone","documentRef","isIos"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"isIos"},"thenExpression":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"iosScrollFactory"},"arguments":[{"__symbolic":"reference","name":"nativeElement"},{"__symbolic":"reference","name":"documentRef"},{"__symbolic":"reference","name":"ngZone"}]},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs","name":"merge","line":61,"character":10},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":62,"character":14},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"scroll"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":63,"character":14},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"load",{"capture":true}]}]},"member":"pipe"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"map","line":65,"character":14},"arguments":[{"__symbolic":"error","message":"Lambda not supported","line":65,"character":18,"module":"./components/sheet/sheet.providers"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiZonefree","line":66,"character":14},"arguments":[{"__symbolic":"reference","name":"ngZone"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"share","line":67,"character":14}}]}}},"TuiSheetBarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"tui-sheet-bar","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":12,"character":21},"member":"OnPush"},"template":"<ng-container *tuiLet=\"rotate$ | async as deg\">\n <div\n style=\"transform: rotate(-{{ deg }}deg)\"\n class=\"t-bar\"\n ></div>\n <ng-content *ngIf=\"deg\"></ng-content>\n <div\n style=\"transform: rotate({{ deg }}deg)\"\n class=\"t-bar\"\n ></div>\n</ng-container>\n","styles":[":host{transition-property:border-radius;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;height:1.25rem;align-items:center;justify-content:center;opacity:.3}.t-bar{content:'';height:.25rem;width:1rem;background:var(--tui-base-09);pointer-events:none}:host-context(._ios:not(._dragged)) .t-bar{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out}.t-bar:first-child{border-radius:1rem 0 0 1rem;transform-origin:top right}.t-bar:last-child{border-radius:0 1rem 1rem 0;transform-origin:top left}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":20,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":21,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":22,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":22,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"TuiSheetComponent"},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":22,"character":49}]}]}},"TUI_SHEET_CLOSE":"tui-sheet-close","TUI_SHEET_ID":"tui-sheet-id","TuiSheetHeadingComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":14,"character":1},"arguments":[{"selector":"[tuiSheetHeading]","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":18,"character":21},"member":"OnPush"},"template":"<button\n tuiIconButton\n size=\"xs\"\n appearance=\"icon\"\n icon=\"tuiIconCloseLarge\"\n class=\"t-close\"\n [title]=\"closeWord$ | async\"\n (click)=\"onClick()\"\n></button>\n<span [id]=\"id\">\n <ng-content></ng-content>\n</span>\n","styles":[":host{position:-webkit-sticky;position:sticky;top:0;z-index:1;min-height:2rem;box-sizing:border-box;margin:-1.25rem -1rem 0;padding:1.5rem 1rem 1rem;background:var(--tui-base-01);border-radius:.75rem .75rem 0 0;font:var(--tui-font-heading-6);box-shadow:inset 0 1px rgba(255,255,255,.25)}:host:after{content:'';position:absolute;top:100%;left:0;right:0;height:1px;background:var(--tui-base-03);opacity:0}:host :host-context(._stuck):after{opacity:1}.t-close{display:none;float:right;margin-right:-.25rem}:host-context(.t-wrapper_closeable) .t-close{display:block}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":24,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiIdService","line":24,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":25,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":25,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":26,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_CLOSE_WORD","line":26,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiIdService","line":24,"character":58},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":25,"character":68,"context":{"typeName":"HTMLElement"},"module":"./components/sheet-heading/sheet-heading.component"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"string"}]}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}]}},"TuiSheetsHostComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"tui-sheets-host","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":14,"character":21},"member":"OnPush"},"animations":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"tuiSlideInTop","line":15,"character":17},{"__symbolic":"reference","module":"@taiga-ui/core","name":"tuiFadeIn","line":15,"character":32}],"template":"<ng-container *ngIf=\"service.sheets$ | async as items\">\n <div\n *ngFor=\"let item of items\"\n class=\"t-wrapper\"\n [@tuiSlideInTop]=\"options\"\n [@tuiFadeIn]=\"options\"\n [tuiSheetWrapper]=\"item.offset\"\n [class.t-wrapper_overlay]=\"item.overlay\"\n [class.t-wrapper_closeable]=\"item.closeable\"\n >\n <tui-sheet\n tuiScrollRef\n tuiOverscroll=\"all\"\n [style.height.px]=\"((height$ | async) || 0) - item.offset\"\n [item]=\"item\"\n (close)=\"close(item)\"\n ></tui-sheet>\n </div>\n <div\n class=\"t-overlay\"\n (click)=\"close(items[0])\"\n ></div>\n</ng-container>\n","styles":[":host{position:-webkit-sticky;position:sticky;bottom:0;display:block;height:0}.t-overlay{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:fixed;top:0;left:0;width:100%;z-index:-1;height:100vh;background:#000;opacity:.001;pointer-events:none}._overlay~.t-overlay,.t-wrapper_overlay~.t-overlay{opacity:.8;pointer-events:auto;touch-action:none}.t-wrapper{position:absolute;bottom:0;z-index:0;width:100%;height:100vh;overflow:hidden}.t-wrapper._overlay,.t-wrapper._visible,.t-wrapper_overlay{overflow:visible}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":19,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_ANIMATION_OPTIONS","line":19,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":20,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetService"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":21,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_WINDOW_HEIGHT","line":21,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/animations","name":"AnimationOptions","line":19,"character":57},{"__symbolic":"reference","name":"TuiSheetService"},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]}]}],"close":[{"__symbolic":"method"}]}},"TuiSheetCloseDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":14,"character":1},"arguments":[{"selector":"tui-sheet[close]"}]}],"members":{"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":18,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":37,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":37,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":38,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_DRAGGED"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":39,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":40,"character":9},"arguments":[{"__symbolic":"reference","module":"@ng-web-apis/common","name":"WINDOW","line":40,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":41,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":41,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":42,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":37,"character":49},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"error","message":"Could not resolve type","line":40,"character":52,"context":{"typeName":"Window"},"module":"./directives/sheet-close/sheet-close.directive"},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":41,"character":68,"context":{"typeName":"HTMLElement"},"module":"./directives/sheet-close/sheet-close.directive"}]},{"__symbolic":"reference","name":"TuiSheetComponent"}]}],"shouldClose":[{"__symbolic":"method"}]}},"TuiSheetStopDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":18,"character":1},"arguments":[{"selector":"[tuiSheetStop]","providers":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":20,"character":16}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":24,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":24,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":25,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":25,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":26,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_DRAGGED"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":27,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":28,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core","name":"TUI_SCROLL_REF","line":28,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":28,"character":60,"context":{"typeName":"HTMLElement"},"module":"./directives/sheet-stop/sheet-stop.directive"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":28,"character":60,"context":{"typeName":"HTMLElement"},"module":"./directives/sheet-stop/sheet-stop.directive"}]}]}]}},"TuiSheetTopDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":13,"character":1},"arguments":[{"selector":"[tuiSheetTop]","host":{"[$.style.transform]":"transform$","($.style.transform)":"transform$","[$.class._rounded]":"rounded$","($.class._rounded)":"rounded$","[$.class._clickthrough]":"clickthrough$","($.class._clickthrough)":"clickthrough$","$quoted$":["[$.style.transform]","($.style.transform)","[$.class._rounded]","($.class._rounded)","[$.class._clickthrough]","($.class._clickthrough)"]}}]}],"members":{"stop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5},"arguments":["tuiSheetTop"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":38,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":39,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":41,"character":9},"arguments":[{"__symbolic":"reference","module":"@ng-web-apis/common","name":"WINDOW","line":41,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","name":"number"}]},{"__symbolic":"reference","name":"TuiSheetComponent"},{"__symbolic":"error","message":"Could not resolve type","line":41,"character":52,"context":{"typeName":"Window"},"module":"./directives/sheet-top/sheet-top.directive"}]}],"getY":[{"__symbolic":"method"}]}},"TuiSheetWrapperDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":17,"character":1},"arguments":[{"selector":"[tuiSheetWrapper]","host":{"[$.class._overlay]":"overlay$","($.class._overlay)":"overlay$","[$.class._visible]":"visible$","($.class._visible)":"visible$","[$.style.height.px]":"height$","($.style.height.px)":"height$","$quoted$":["[$.class._overlay]","($.class._overlay)","[$.class._visible]","($.class._visible)","[$.style.height.px]","($.style.height.px)"]}}]}],"members":{"sheet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":29,"character":5},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"}]}]}],"dragged$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":32,"character":5},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"},{"read":{"__symbolic":"reference","name":"TUI_SHEET_DRAGGED"}}]}]}],"scroll$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":35,"character":5},"arguments":[{"__symbolic":"reference","name":"TuiSheetComponent"},{"read":{"__symbolic":"reference","name":"TUI_SHEET_SCROLL"}}]}]}],"tuiSheetWrapper":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":44,"character":17},"arguments":[{"__symbolic":"reference","module":"@ng-web-apis/common","name":"WINDOW","line":44,"character":24}]}]],"parameters":[{"__symbolic":"error","message":"Could not resolve type","line":44,"character":60,"context":{"typeName":"Window"},"module":"./directives/sheet-wrapper/sheet-wrapper.directive"}]}],"overlay$":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":46,"character":5}]}],"visible$":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":53,"character":5}]}],"height$":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":58,"character":5}]}],"getHeight":[{"__symbolic":"method"}],"withImage":[{"__symbolic":"method"}]}},"iosScrollFactory":{"__symbolic":"function"},"processDragged":{"__symbolic":"function"},"fakeSmoothScroll":{"__symbolic":"function"},"TuiSheet":{"__symbolic":"interface"},"TuiSheetDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"PolymorpheusTemplate","line":20,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":17,"character":1},"arguments":[{"selector":"ng-template[tuiSheet]"}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":5},"arguments":["tuiSheetOptions"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":24,"character":5}}]}],"tuiSheet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiRequiredSetter","line":28,"character":5}}]}],"tuiSheetChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":33,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":45,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":45,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":46,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":46,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":47,"character":9},"arguments":[{"__symbolic":"reference","name":"TuiSheetService"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":45,"character":54},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"TuiSheet"}]},{"__symbolic":"reference","name":"TuiSheetService"}]}]}},"TuiSheetModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":8},{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"PolymorpheusModule","line":19,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiLetModule","line":20,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiButtonModule","line":21,"character":8},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiOverscrollModule","line":22,"character":8},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiScrollbarModule","line":23,"character":8}],"declarations":[{"__symbolic":"reference","name":"TuiSheetsHostComponent"},{"__symbolic":"reference","name":"TuiSheetComponent"},{"__symbolic":"reference","name":"TuiSheetBarComponent"},{"__symbolic":"reference","name":"TuiSheetHeadingComponent"},{"__symbolic":"reference","name":"TuiSheetTopDirective"},{"__symbolic":"reference","name":"TuiSheetDirective"},{"__symbolic":"reference","name":"TuiSheetWrapperDirective"},{"__symbolic":"reference","name":"TuiSheetCloseDirective"},{"__symbolic":"reference","name":"TuiSheetStopDirective"}],"exports":[{"__symbolic":"reference","name":"TuiSheetsHostComponent"},{"__symbolic":"reference","name":"TuiSheetComponent"},{"__symbolic":"reference","name":"TuiSheetHeadingComponent"},{"__symbolic":"reference","name":"TuiSheetDirective"}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":42,"character":14}]}]}],"members":{}},"TuiSheetService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":13,"character":17},"arguments":[{"__symbolic":"reference","name":"TUI_SHEET_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","name":"TuiSheetOptions"}]}],"open":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"TuiSheetOptions":{"__symbolic":"interface"},"TUI_SHEET_DEFAULT_OPTIONS":{"image":"","imageSlide":true,"stops":[],"initial":0,"offset":16,"closeable":true,"overlay":false},"TUI_SHEET_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":27,"character":37},"arguments":["Default parameters for sheet component",{"__symbolic":"error","message":"Lambda not supported","line":30,"character":17,"module":"./sheet-options"}]}},"origins":{"TuiSheetComponent":"./components/sheet/sheet.component","TUI_SHEET_SCROLL":"./components/sheet/sheet.providers","TUI_SHEET_DRAGGED":"./components/sheet/sheet.providers","TUI_SHEET_OFFSET":"./components/sheet/sheet.providers","TUI_SHEET_PROVIDERS":"./components/sheet/sheet.providers","sheetDraggedFactory":"./components/sheet/sheet.providers","sheetScrollFactory":"./components/sheet/sheet.providers","TuiSheetBarComponent":"./components/sheet-bar/sheet-bar.component","TUI_SHEET_CLOSE":"./components/sheet-heading/sheet-heading.component","TUI_SHEET_ID":"./components/sheet-heading/sheet-heading.component","TuiSheetHeadingComponent":"./components/sheet-heading/sheet-heading.component","TuiSheetsHostComponent":"./components/sheets-host/sheets-host.component","TuiSheetCloseDirective":"./directives/sheet-close/sheet-close.directive","TuiSheetStopDirective":"./directives/sheet-stop/sheet-stop.directive","TuiSheetTopDirective":"./directives/sheet-top/sheet-top.directive","TuiSheetWrapperDirective":"./directives/sheet-wrapper/sheet-wrapper.directive","iosScrollFactory":"./ios.hacks","processDragged":"./ios.hacks","fakeSmoothScroll":"./ios.hacks","TuiSheet":"./sheet","TuiSheetDirective":"./sheet.directive","TuiSheetModule":"./sheet.module","TuiSheetService":"./sheet.service","TuiSheetOptions":"./sheet-options","TUI_SHEET_DEFAULT_OPTIONS":"./sheet-options","TUI_SHEET_OPTIONS":"./sheet-options"},"importAs":"@taiga-ui/addon-mobile/components/sheet"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"TuiRippleDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":27,"character":1},"arguments":[{"selector":"[tuiRipple]","providers":{"__symbolic":"reference","name":"TUI_RIPPLE_PROVIDERS"}}]}],"members":{"tuiRipple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":36,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":36,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":37,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDirectiveStylesService","line":37,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":38,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":38,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":39,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":39,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":40,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_RIPPLE_START"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":41,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_RIPPLE_END"}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":36,"character":56,"context":{"typeName":"HTMLElement"},"module":"./ripple.directive"}]},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDirectiveStylesService","line":37,"character":60},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":38,"character":37},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":39,"character":45},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":41,"character":49,"context":{"typeName":"EventTarget"},"module":"./ripple.directive"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":41,"character":49,"context":{"typeName":"EventTarget"},"module":"./ripple.directive"}]}]}]}},"TuiRippleModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiRippleDirective"},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"TuiRippleDirective"}],"entryComponents":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"RIPPLE_ON":"tuiRippleOn","RIPPLE_OFF":"tuiRippleOff","TUI_RIPPLE_START":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":13,"character":36},"arguments":["Stream of ripple elements to add"]},"TUI_RIPPLE_END":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":34},"arguments":["Stream of ripple elements to remove"]},"TUI_RIPPLE_PROVIDERS":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":20,"character":4},{"provide":{"__symbolic":"reference","name":"TUI_RIPPLE_START"},"deps":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_TOUCH_SUPPORTED","line":23,"character":15},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_IOS","line":23,"character":36},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":23,"character":48},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":23,"character":60}],"useFactory":{"__symbolic":"reference","name":"rippleStartFactory"}},{"provide":{"__symbolic":"reference","name":"TUI_RIPPLE_END"},"deps":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_TOUCH_SUPPORTED","line":28,"character":15},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_IOS","line":28,"character":36},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":28,"character":48},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":28,"character":60}],"useFactory":{"__symbolic":"reference","name":"rippleEndFactory"}}],"rippleStartFactory":{"__symbolic":"function","parameters":["touchSupported","isIOS","nativeElement","renderer"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"isIOS"},"right":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"reference","name":"touchSupported"}}},"thenExpression":{"__symbolic":"reference","module":"rxjs","name":"EMPTY","line":
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"TuiRippleDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":27,"character":1},"arguments":[{"selector":"[tuiRipple]","providers":{"__symbolic":"reference","name":"TUI_RIPPLE_PROVIDERS"}}]}],"members":{"tuiRipple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":36,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":36,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":37,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDirectiveStylesService","line":37,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":38,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":38,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":39,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":39,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":40,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_RIPPLE_START"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":41,"character":9},"arguments":[{"__symbolic":"reference","name":"TUI_RIPPLE_END"}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":36,"character":56,"context":{"typeName":"HTMLElement"},"module":"./ripple.directive"}]},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDirectiveStylesService","line":37,"character":60},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":38,"character":37},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":39,"character":45},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":41,"character":49,"context":{"typeName":"EventTarget"},"module":"./ripple.directive"}]},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":41,"character":49,"context":{"typeName":"EventTarget"},"module":"./ripple.directive"}]}]}]}},"TuiRippleModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiRippleDirective"},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"TuiRippleDirective"}],"entryComponents":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"RIPPLE_ON":"tuiRippleOn","RIPPLE_OFF":"tuiRippleOff","TUI_RIPPLE_START":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":13,"character":36},"arguments":["Stream of ripple elements to add"]},"TUI_RIPPLE_END":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":34},"arguments":["Stream of ripple elements to remove"]},"TUI_RIPPLE_PROVIDERS":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":20,"character":4},{"provide":{"__symbolic":"reference","name":"TUI_RIPPLE_START"},"deps":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_TOUCH_SUPPORTED","line":23,"character":15},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_IOS","line":23,"character":36},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":23,"character":48},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":23,"character":60}],"useFactory":{"__symbolic":"reference","name":"rippleStartFactory"}},{"provide":{"__symbolic":"reference","name":"TUI_RIPPLE_END"},"deps":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_TOUCH_SUPPORTED","line":28,"character":15},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_IOS","line":28,"character":36},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":28,"character":48},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":28,"character":60}],"useFactory":{"__symbolic":"reference","name":"rippleEndFactory"}}],"rippleStartFactory":{"__symbolic":"function","parameters":["touchSupported","isIOS","nativeElement","renderer"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"isIOS"},"right":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"reference","name":"touchSupported"}}},"thenExpression":{"__symbolic":"reference","module":"rxjs","name":"EMPTY","line":41,"character":10},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":42,"character":10},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"touchstart"]},"member":"pipe"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"map","line":43,"character":14},"arguments":[{"__symbolic":"error","message":"Lambda not supported","line":43,"character":18,"module":"./ripple.providers"}]}]}}},"rippleEndFactory":{"__symbolic":"function","parameters":["touchSupported","isIOS","nativeElement","destroy$"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"isIOS"},"right":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"reference","name":"touchSupported"}}},"thenExpression":{"__symbolic":"reference","module":"rxjs","name":"EMPTY","line":79,"character":10},"elseExpression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"typedFromEvent","line":80,"character":10},"arguments":[{"__symbolic":"reference","name":"nativeElement"},"animationend"]},"member":"pipe"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"filter","line":81,"character":14},"arguments":[{"__symbolic":"error","message":"Lambda not supported","line":81,"character":21,"module":"./ripple.providers"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"map","line":82,"character":14},"arguments":[{"__symbolic":"error","message":"Lambda not supported","line":82,"character":18,"module":"./ripple.providers"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"filter","line":83,"character":14},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"isPresent","line":83,"character":21}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"rxjs/operators","name":"takeUntil","line":84,"character":14},"arguments":[{"__symbolic":"reference","name":"destroy$"}]}]}}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"template":"","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":5,"character":19},"member":"None"},"styles":["@-webkit-keyframes tuiRippleOn{from{transform:scale(0);opacity:.12}to{transform:none;opacity:.12}}@keyframes tuiRippleOn{from{transform:scale(0);opacity:.12}to{transform:none;opacity:.12}}@-webkit-keyframes tuiRippleOff{from{transform:none;opacity:.12}to{transform:none;opacity:0}}@keyframes tuiRippleOff{from{transform:none;opacity:.12}to{transform:none;opacity:0}}[tuiRipple]{position:relative;overflow:hidden}.tui-ripple{position:absolute;z-index:100;border-radius:100%;background:currentColor;transform:scale(0);-webkit-animation-duration:450ms;animation-duration:450ms;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;pointer-events:none}"]}]}],"members":{}}},"origins":{"TuiRippleDirective":"./ripple.directive","TuiRippleModule":"./ripple.module","RIPPLE_ON":"./ripple.providers","RIPPLE_OFF":"./ripple.providers","TUI_RIPPLE_START":"./ripple.providers","TUI_RIPPLE_END":"./ripple.providers","TUI_RIPPLE_PROVIDERS":"./ripple.providers","rippleStartFactory":"./ripple.providers","rippleEndFactory":"./ripple.providers","ɵa":"./ripple-styles.component"},"importAs":"@taiga-ui/addon-mobile/directives/ripple"}
|
|
@@ -24,7 +24,8 @@ export const TUI_MOBILE_CALENDAR_PROVIDERS = [
|
|
|
24
24
|
useFactory: valueStreamFactory,
|
|
25
25
|
},
|
|
26
26
|
];
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
27
28
|
export function valueStreamFactory(value$, destroy$, changeDetectorRef) {
|
|
28
29
|
return (value$ || EMPTY).pipe(watch(changeDetectorRef), takeUntil(destroy$));
|
|
29
30
|
}
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9iaWxlLWNhbGVuZGFyLnByb3ZpZGVycy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvY29tcG9uZW50cy9tb2JpbGUtY2FsZW5kYXIvIiwic291cmNlcyI6WyJtb2JpbGUtY2FsZW5kYXIucHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQy9ELE9BQU8sRUFBQyxpQkFBaUIsRUFBRSxjQUFjLEVBQUUsUUFBUSxFQUFXLE1BQU0sZUFBZSxDQUFDO0FBQ3BGLE9BQU8sRUFDSCxVQUFVLEVBRVYsaUJBQWlCLEVBQ2pCLGdCQUFnQixFQUNoQixLQUFLLEdBQ1IsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3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LFxuICAgIH0sXG4gICAge1xuICAgICAgICBwcm92aWRlOiBUVUlfVkFMVUVfU1RSRUFNLFxuICAgICAgICBkZXBzOiBbXG4gICAgICAgICAgICBbbmV3IE9wdGlvbmFsKCksIFRVSV9DQUxFTkRBUl9EQVRBX1NUUkVBTV0sXG4gICAgICAgICAgICBUdWlEZXN0cm95U2VydmljZSxcbiAgICAgICAgICAgIENoYW5nZURldGVjdG9yUmVmLFxuICAgICAgICBdLFxuICAgICAgICB1c2VGYWN0b3J5OiB2YWx1ZVN0cmVhbUZhY3RvcnksXG4gICAgfSxcbl07XG5cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbmFtaW5nLWNvbnZlbnRpb25cbmV4cG9ydCBmdW5jdGlvbiB2YWx1ZVN0cmVhbUZhY3RvcnkoXG4gICAgdmFsdWUkOiBPYnNlcnZhYmxlPFR1aURheVJhbmdlIHwgbnVsbD4gfCBudWxsLFxuICAgIGRlc3Ryb3kkOiBPYnNlcnZhYmxlPHZvaWQ+LFxuICAgIGNoYW5nZURldGVjdG9yUmVmOiBDaGFuZ2VEZXRlY3RvclJlZixcbik6IE9ic2VydmFibGU8VHVpRGF5UmFuZ2UgfCBudWxsPiB7XG4gICAgcmV0dXJuICh2YWx1ZSQgfHwgRU1QVFkpLnBpcGUod2F0Y2goY2hhbmdlRGV0ZWN0b3JSZWYpLCB0YWtlVW50aWwoZGVzdHJveSQpKTtcbn1cbiJdfQ==
|
|
@@ -13,6 +13,7 @@ export const TUI_PULL_TO_REFRESH_PROVIDERS = [
|
|
|
13
13
|
useFactory: pullingFactory,
|
|
14
14
|
},
|
|
15
15
|
];
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
16
17
|
export function pullingFactory(isIOS, loaded$, { nativeElement }) {
|
|
17
18
|
return merge(typedFromEvent(nativeElement, 'touchstart', { passive: true }).pipe(filter(() => nativeElement.scrollTop === 0), switchMap(touchStart => typedFromEvent(nativeElement, 'touchmove').pipe(map(touchMove => touchMove.touches[0].clientY - touchStart.touches[0].clientY), takeUntil(typedFromEvent(nativeElement, 'touchend')), endWith(0)))), loaded$.pipe(mapTo(NaN))).pipe(scan((max, current) => {
|
|
18
19
|
if (isNaN(current)) {
|
|
@@ -23,4 +24,4 @@ export function pullingFactory(isIOS, loaded$, { nativeElement }) {
|
|
|
23
24
|
return androidLoading || dropped ? PULLED_DISTANCE : current + MICRO_OFFSET;
|
|
24
25
|
}, 0));
|
|
25
26
|
}
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVsbC10by1yZWZyZXNoLnByb3ZpZGVycy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvY29tcG9uZW50cy9wdWxsLXRvLXJlZnJlc2gvIiwic291cmNlcyI6WyJwdWxsLXRvLXJlZnJlc2gucHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUUsY0FBYyxFQUFXLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSwrQkFBK0IsQ0FBQztBQUN6RCxPQUFPLEVBQUMsVUFBVSxFQUFFLGNBQWMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN6RCxPQUFPLEVBQUMsS0FBSyxFQUFhLE1BQU0sTUFBTSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxPQUFPLEVBQUUsTUFBTSxFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUUsSUFBSSxFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUV2RixNQUFNLENBQUMsTUFBTSxZQUFZLEdBQUcsU0FBQSxFQUFFLEVBQUksQ0FBQ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dHlwZWRGcm9tRXZlbnQobmF0aXZlRWxlbWVudCwgJ3RvdWNobW92ZScpLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgIG1hcChcbiAgICAgICAgICAgICAgICAgICAgICAgIHRvdWNoTW92ZSA9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRvdWNoTW92ZS50b3VjaGVzWzBdLmNsaWVudFkgLSB0b3VjaFN0YXJ0LnRvdWNoZXNbMF0uY2xpZW50WSxcbiAgICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICAgICAgdGFrZVVudGlsKHR5cGVkRnJvbUV2ZW50KG5hdGl2ZUVsZW1lbnQsICd0b3VjaGVuZCcpKSxcbiAgICAgICAgICAgICAgICAgICAgZW5kV2l0aCgwKSxcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgKSxcbiAgICAgICAgKSxcbiAgICAgICAgbG9hZGVkJC5waXBlKG1hcFRvKE5hTikpLFxuICAgICkucGlwZShcbiAgICAgICAgc2NhbigobWF4LCBjdXJyZW50KSA9PiB7XG4gICAgICAgICAgICBpZiAoaXNOYU4oY3VycmVudCkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gMDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgY29uc3QgYW5kcm9pZExvYWRpbmcgPSAhaXNJT1MgJiYgbWF4ID09PSBQVUxMRURfRElTVEFOQ0U7XG4gICAgICAgICAgICBjb25zdCBkcm9wcGVkID0gY3VycmVudCA9PT0gMCAmJiBtYXggPiBQVUxMRURfRElTVEFOQ0U7XG5cbiAgICAgICAgICAgIHJldHVybiBhbmRyb2lkTG9hZGluZyB8fCBkcm9wcGVkID8gUFVMTEVEX0RJU1RBTkNFIDogY3VycmVudCArIE1JQ1JPX09GRlNFVDtcbiAgICAgICAgfSwgMCksXG4gICAgKTtcbn1cbiJdfQ==
|
|
@@ -27,12 +27,14 @@ export const TUI_SHEET_PROVIDERS = [
|
|
|
27
27
|
useExisting: ElementRef,
|
|
28
28
|
},
|
|
29
29
|
];
|
|
30
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
30
31
|
export function sheetDraggedFactory({ nativeElement, }) {
|
|
31
32
|
return merge(typedFromEvent(nativeElement, 'touchstart', { passive: true }).pipe(mapTo(true)), typedFromEvent(nativeElement, 'touchend').pipe(mapTo(false)));
|
|
32
33
|
}
|
|
34
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
33
35
|
export function sheetScrollFactory({ nativeElement }, ngZone, documentRef, isIos) {
|
|
34
36
|
return isIos
|
|
35
37
|
? iosScrollFactory(nativeElement, documentRef, ngZone)
|
|
36
38
|
: merge(typedFromEvent(nativeElement, 'scroll'), typedFromEvent(nativeElement, 'load', { capture: true })).pipe(map(() => nativeElement.scrollTop), tuiZonefree(ngZone), share());
|
|
37
39
|
}
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hlZXQucHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9jb21wb25lbnRzL3NoZWV0LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9zaGVldC9zaGVldC5wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sRUFBQyxVQUFVLEVBQUUsY0FBYyxFQUFFLE1BQU0sRUFBVyxNQUFNLGVBQWUsQ0FBQztBQUMzRSxPQUFPLEVBQUMsVUFBVSxFQUFFLFdBQVcsRUFBRSxjQUFjLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdEUsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQzlDLE9BQU8sRUFBQyxLQUFLLEVBQWEs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ZWFuLFxuKTogT2JzZXJ2YWJsZTxudW1iZXI+IHtcbiAgICByZXR1cm4gaXNJb3NcbiAgICAgICAgPyBpb3NTY3JvbGxGYWN0b3J5KG5hdGl2ZUVsZW1lbnQsIGRvY3VtZW50UmVmLCBuZ1pvbmUpXG4gICAgICAgIDogbWVyZ2UoXG4gICAgICAgICAgICAgIHR5cGVkRnJvbUV2ZW50KG5hdGl2ZUVsZW1lbnQsICdzY3JvbGwnKSxcbiAgICAgICAgICAgICAgdHlwZWRGcm9tRXZlbnQobmF0aXZlRWxlbWVudCwgJ2xvYWQnLCB7Y2FwdHVyZTogdHJ1ZX0pLFxuICAgICAgICAgICkucGlwZShcbiAgICAgICAgICAgICAgbWFwKCgpID0+IG5hdGl2ZUVsZW1lbnQuc2Nyb2xsVG9wKSxcbiAgICAgICAgICAgICAgdHVpWm9uZWZyZWUobmdab25lKSxcbiAgICAgICAgICAgICAgc2hhcmUoKSxcbiAgICAgICAgICApO1xufVxuIl19
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { tuiZonefree, typedFromEvent } from '@taiga-ui/cdk';
|
|
2
2
|
import { concat, merge, race, timer, zip } from 'rxjs';
|
|
3
3
|
import { debounceTime, delay, filter, map, mapTo, share, startWith, switchMap, switchMapTo, take, takeUntil, } from 'rxjs/operators';
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
4
5
|
export function iosScrollFactory(element, documentRef, ngZone) {
|
|
5
6
|
const load$ = typedFromEvent(element, 'load', { capture: true });
|
|
6
7
|
const touchstart$ = typedFromEvent(element, 'touchstart', { passive: true });
|
|
@@ -16,12 +17,14 @@ export function iosScrollFactory(element, documentRef, ngZone) {
|
|
|
16
17
|
})));
|
|
17
18
|
return concat(scroll$.pipe(take(1)), result$).pipe(tuiZonefree(ngZone), share());
|
|
18
19
|
}
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
19
21
|
export function processDragged(dragged$, scroll$) {
|
|
20
22
|
const touchstart$ = dragged$.pipe(filter(Boolean));
|
|
21
23
|
const touchend$ = dragged$.pipe(filter(v => !v));
|
|
22
24
|
const race$ = race(scroll$, timer(100)).pipe(debounceTime(200), take(1), mapTo(false));
|
|
23
25
|
return touchstart$.pipe(switchMapTo(touchend$.pipe(switchMapTo(race$), startWith(true))), startWith(false));
|
|
24
26
|
}
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
25
28
|
export function fakeSmoothScroll({ style }, offset) {
|
|
26
29
|
style.transition = 'none';
|
|
27
30
|
style.transform = `scaleX(-1) translate3d(0, ${offset}px, 0)`;
|
|
@@ -30,4 +33,4 @@ export function fakeSmoothScroll({ style }, offset) {
|
|
|
30
33
|
style.transform = '';
|
|
31
34
|
});
|
|
32
35
|
}
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW9zLmhhY2tzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9jb21wb25lbnRzL3NoZWV0LyIsInNvdXJjZXMiOlsiaW9zLmhhY2tzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxXQUFXLEVBQUUsY0FBYyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBQyxNQUFNLEVBQUUsS0FBSyxFQUFjLElBQUksRUFBRSxLQUFLLEVBQUUsR0FBRyxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBQ2pFLE9BQU8sRUFDSCxZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sRUFDTixHQUFHLEVBQ0gsS0FBSyxFQUNMLEtBQUssRUFDTCxTQUFTLEVBQ1QsU0FBUyxFQUNULFdBQVcsRUFDWCxJQUFJLEVBQ0osU0FBUyxHQUNaLE1BQU0sZ0JBQWdCLENBQUM7QUFFeEIsZ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XJ0JC5waXBlKFxuICAgICAgICAgICAgc3dpdGNoTWFwKCh7dG91Y2hlc30pID0+IHtcbiAgICAgICAgICAgICAgICBjb25zdCB7c2NyZWVuWX0gPSB0b3VjaGVzWzBdO1xuICAgICAgICAgICAgICAgIGNvbnN0IHtzY3JvbGxUb3B9ID0gZWxlbWVudDtcblxuICAgICAgICAgICAgICAgIHJldHVybiBjb25jYXQoXG4gICAgICAgICAgICAgICAgICAgIC8vIFNvbWV0aW1lcyB0b3VjaCBpcyB0cmlnZ2VyZWQgd2l0aG91dCBzY3JvbGwgaW4gaU9TLCBmaWx0ZXIgdGhhdFxuICAgICAgICAgICAgICAgICAgICB6aXAodG91Y2htb3ZlJCwgc2Nyb2xsJCkucGlwZShcbiAgICAgICAgICAgICAgICAgICAgICAgIG1hcCgoW3t0b3VjaGVzfV0pID0+IHNjcm9sbFRvcCArIHNjcmVlblkgLSB0b3VjaGVzWzBdLnNjcmVlblkpLFxuICAgICAgICAgICAgICAgICAgICAgICAgdGFrZVVudGlsKHRvdWNoZW5kJCksXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgIHNjcm9sbCQsXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICApLFxuICAgICk7XG5cbiAgICByZXR1cm4gY29uY2F0KHNjcm9sbCQucGlwZSh0YWtlKDEpKSwgcmVzdWx0JCkucGlwZSh0dWlab25lZnJlZShuZ1pvbmUpLCBzaGFyZSgpKTtcbn1cblxuLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uYW1pbmctY29udmVudGlvblxuZXhwb3J0IGZ1bmN0aW9uIHByb2Nlc3NEcmFnZ2VkKFxuICAgIGRyYWdnZWQkOiBPYnNlcnZhYmxlPGJvb2xlYW4+LFxuICAgIHNjcm9sbCQ6IE9ic2VydmFibGU8dW5rbm93bj4sXG4pOiBPYnNlcnZhYmxlPGJvb2xlYW4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|
22
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
22
23
|
export function rippleStartFactory(touchSupported, isIOS, { nativeElement }, renderer) {
|
|
23
24
|
return isIOS || !touchSupported
|
|
24
25
|
? EMPTY
|
|
@@ -41,9 +42,10 @@ export function rippleStartFactory(touchSupported, isIOS, { nativeElement }, ren
|
|
|
41
42
|
return ripple;
|
|
42
43
|
}));
|
|
43
44
|
}
|
|
45
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
44
46
|
export function rippleEndFactory(touchSupported, isIOS, { nativeElement }, destroy$) {
|
|
45
47
|
return isIOS || !touchSupported
|
|
46
48
|
? EMPTY
|
|
47
49
|
: typedFromEvent(nativeElement, 'animationend').pipe(filter(({ animationName }) => animationName === RIPPLE_OFF), map(({ target }) => target), filter(isPresent), takeUntil(destroy$));
|
|
48
50
|
}
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmlwcGxlLnByb3ZpZGVycy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvZGlyZWN0aXZlcy9yaXBwbGUvIiwic291cmNlcyI6WyJyaXBwbGUucHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUUsY0FBYyxFQUFZLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM5RSxPQUFPLEVBQ0gsU0FBUyxFQUNULFVBQVUsRUFDVixtQkFBbUIsRUFDbkIsaUJBQWlCLEVBQ2pCLGNBQWMsR0FDakIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLEtBQUssRUFBYSxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLEVBQUMsTUFBTSxFQUFFLEdBQUcsRUFBRSxTQUFTLEVBQUMsTUFBT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mVyOiBSZW5kZXJlcjIsXG4pOiBPYnNlcnZhYmxlPEhUTUxFbGVtZW50PiB7XG4gICAgcmV0dXJuIGlzSU9TIHx8ICF0b3VjaFN1cHBvcnRlZFxuICAgICAgICA/IEVNUFRZXG4gICAgICAgIDogdHlwZWRGcm9tRXZlbnQobmF0aXZlRWxlbWVudCwgJ3RvdWNoc3RhcnQnKS5waXBlKFxuICAgICAgICAgICAgICBtYXAoKHt0b3VjaGVzfSkgPT4ge1xuICAgICAgICAgICAgICAgICAgY29uc3Qge2NsaWVudFgsIGNsaWVudFl9ID0gdG91Y2hlc1t0b3VjaGVzLmxlbmd0aCAtIDFdO1xuICAgICAgICAgICAgICAgICAgY29uc3Qge3dpZHRoLCBoZWlnaHQsIHRvcCwgbGVmdH0gPVxuICAgICAgICAgICAgICAgICAgICAgIG5hdGl2ZUVsZW1lbnQuZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCk7XG4gICAgICAgICAgICAgICAgICBjb25zdCByYWRpdXMgPSBNYXRoLnNxcnQod2lkdGggKiB3aWR0aCArIGhlaWdodCAqIGhlaWdodCk7XG4gICAgICAgICAgICAgICAgICBjb25zdCBkaW1lbnNpb24gPSByYWRpdXMgKiAyO1xuICAgICAgICAgICAgICAgICAgY29uc3QgeCA9IGNsaWVudFggLSBsZWZ0IC0gcmFkaXVzO1xuICAgICAgICAgICAgICAgICAgY29uc3QgeSA9IGNsaWVudFkgLSB0b3AgLSByYWRpdXM7XG4gICAgICAgICAgICAgICAgICBjb25zdCByaXBwbGUgPSByZW5kZXJlci5jcmVhdGVFbGVtZW50KCdkaXYnKTtcblxuICAgICAgICAgICAgICAgICAgcmVuZGVyZXIuYWRkQ2xhc3MocmlwcGxlLCAndHVpLXJpcHBsZScpO1xuICAgICAgICAgICAgICAgICAgcmVuZGVyZXIuc2V0QXR0cmlidXRlKFxuICAgICAgICAgICAgICAgICAgICAgIHJpcHBsZSxcbiAgICAgICAgICAgICAgICAgICAgICAnc3R5bGUnLFxuICAgICAgICAgICAgICAgICAgICAgIGBcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiAke2RpbWVuc2lvbn1weDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodDogJHtkaW1lbnNpb259cHg7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiAke3h9cHg7XG4gICAgICAgICAgICAgICAgICAgICAgICB0b3A6ICR7eX1weDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGFuaW1hdGlvbi1uYW1lOiAke1JJUFBMRV9PTn07XG4gICAgICAgICAgICAgICAgICAgIGAsXG4gICAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgICByZXR1cm4gcmlwcGxlO1xuICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICApO1xufVxuXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25hbWluZy1jb252ZW50aW9uXG5leHBvcnQgZnVuY3Rpb24gcmlwcGxlRW5kRmFjdG9yeShcbiAgICB0b3VjaFN1cHBvcnRlZDogYm9vbGVhbixcbiAgICBpc0lPUzogYm9vbGVhbixcbiAgICB7bmF0aXZlRWxlbWVudH06IEVsZW1lbnRSZWY8SFRNTEVsZW1lbnQ+LFxuICAgIGRlc3Ryb3kkOiBPYnNlcnZhYmxlPHZvaWQ+LFxuKTogT2JzZXJ2YWJsZTxFdmVudFRhcmdldD4ge1xuICAgIHJldHVybiBpc0lPUyB8fCAhdG91Y2hTdXBwb3J0ZWRcbiAgICAgICAgPyBFTVBUWVxuICAgICAgICA6IHR5cGVkRnJvbUV2ZW50KG5hdGl2ZUVsZW1lbnQsICdhbmltYXRpb25lbmQnKS5waXBlKFxuICAgICAgICAgICAgICBmaWx0ZXIoKHthbmltYXRpb25OYW1lfSkgPT4gYW5pbWF0aW9uTmFtZSA9PT0gUklQUExFX09GRiksXG4gICAgICAgICAgICAgIG1hcCgoe3RhcmdldH0pID0+IHRhcmdldCksXG4gICAgICAgICAgICAgIGZpbHRlcihpc1ByZXNlbnQpLFxuICAgICAgICAgICAgICB0YWtlVW50aWwoZGVzdHJveSQpLFxuICAgICAgICAgICk7XG59XG4iXX0=
|