@taiga-ui/addon-mobile 3.60.0 → 3.61.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-app-bar.umd.js +2 -2
- package/bundles/taiga-ui-addon-mobile-components-app-bar.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js +8 -154
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js +10 -156
- package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js +9 -155
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet-dialog.umd.js +576 -722
- package/bundles/taiga-ui-addon-mobile-components-sheet-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +1123 -1269
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js +374 -520
- package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js +374 -520
- package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-const.umd.js +1 -1
- package/bundles/taiga-ui-addon-mobile-const.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js +419 -565
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js +9 -9
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js +506 -652
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js +412 -558
- package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js.map +1 -1
- package/esm2015/components/app-bar/app-bar.providers.js +3 -3
- package/esm2015/components/mobile-calendar/mobile-calendar.providers.js +2 -2
- package/esm2015/components/mobile-calendar/mobile-calendar.strategy.js +2 -2
- package/esm2015/components/mobile-dialog/mobile-dialog.options.js +3 -3
- package/esm2015/components/mobile-dialog/mobile-dialog.service.js +3 -3
- package/esm2015/components/pull-to-refresh/pull-to-refresh.service.js +3 -3
- package/esm2015/components/sheet/components/sheet/sheet.providers.js +3 -3
- package/esm2015/components/sheet/ios.hacks.js +9 -9
- package/esm2015/components/sheet/sheet-options.js +2 -2
- package/esm2015/components/sheet/sheet-tokens.js +4 -4
- package/esm2015/components/sheet/sheet.service.js +3 -3
- package/esm2015/components/sheet-dialog/sheet-dialog.options.js +2 -2
- package/esm2015/components/sheet-dialog/sheet-dialog.service.js +3 -3
- package/esm2015/const/mobile-alert-options.js +2 -2
- package/esm2015/directives/ripple/ripple.providers.js +10 -10
- package/fesm2015/taiga-ui-addon-mobile-components-app-bar.js +2 -2
- package/fesm2015/taiga-ui-addon-mobile-components-app-bar.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js +2 -2
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js +4 -4
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js +2 -2
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.js +3 -3
- package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js +16 -16
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-const.js +1 -1
- package/fesm2015/taiga-ui-addon-mobile-const.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js +9 -9
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-mobile-components-app-bar.umd.js","sources":["../../../projects/addon-mobile/components/app-bar/app-bar.providers.ts","../../../projects/addon-mobile/components/app-bar/app-bar.component.ts","../../../projects/addon-mobile/components/app-bar/app-bar.template.html","../../../projects/addon-mobile/components/app-bar/app-bar.directive.ts","../../../projects/addon-mobile/components/app-bar/app-bar-back.component.ts","../../../projects/addon-mobile/components/app-bar/app-bar-back.template.html","../../../projects/addon-mobile/components/app-bar/app-bar.module.ts","../../../projects/addon-mobile/components/app-bar/taiga-ui-addon-mobile-components-app-bar.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {TuiDestroyService, TuiResizeService} from '@taiga-ui/cdk';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core';\n\nexport const TUI_APP_BAR_PROVIDERS: Provider[] = [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: {\n characterData: true,\n childList: true,\n subtree: true,\n },\n },\n tuiButtonOptionsProvider({\n size:
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-mobile-components-app-bar.umd.js","sources":["../../../projects/addon-mobile/components/app-bar/app-bar.providers.ts","../../../projects/addon-mobile/components/app-bar/app-bar.component.ts","../../../projects/addon-mobile/components/app-bar/app-bar.template.html","../../../projects/addon-mobile/components/app-bar/app-bar.directive.ts","../../../projects/addon-mobile/components/app-bar/app-bar-back.component.ts","../../../projects/addon-mobile/components/app-bar/app-bar-back.template.html","../../../projects/addon-mobile/components/app-bar/app-bar.module.ts","../../../projects/addon-mobile/components/app-bar/taiga-ui-addon-mobile-components-app-bar.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {TuiDestroyService, TuiResizeService} from '@taiga-ui/cdk';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core';\n\nexport const TUI_APP_BAR_PROVIDERS: Provider[] = [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: {\n characterData: true,\n childList: true,\n subtree: true,\n },\n },\n tuiButtonOptionsProvider({\n size: 'm',\n appearance: '',\n }),\n];\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n QueryList,\n ViewChildren,\n} from '@angular/core';\nimport {MutationObserverService} from '@ng-web-apis/mutation-observer';\nimport {EMPTY_QUERY, TuiResizeService} from '@taiga-ui/cdk';\nimport {merge, Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {TUI_APP_BAR_PROVIDERS} from './app-bar.providers';\n\n@Component({\n selector: 'tui-app-bar',\n templateUrl: './app-bar.template.html',\n styleUrls: ['./app-bar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_APP_BAR_PROVIDERS,\n})\nexport class TuiAppBarComponent {\n @ViewChildren('side')\n private readonly side: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n readonly width$ = merge(this.resize$, this.mutation$).pipe(\n map(\n () =>\n 2 *\n Math.max(\n this.side.first?.nativeElement.clientWidth,\n this.side.last?.nativeElement.clientWidth,\n ),\n ),\n );\n\n constructor(\n @Inject(TuiResizeService) private readonly resize$: Observable<unknown>,\n @Inject(MutationObserverService) private readonly mutation$: Observable<unknown>,\n ) {}\n}\n","<div\n #side\n class=\"t-left\"\n>\n <ng-content select=\"[tuiSlot='left']\"></ng-content>\n</div>\n<div\n class=\"t-content\"\n [style.--sides.px]=\"width$ | async\"\n>\n <ng-content></ng-content>\n</div>\n<div\n #side\n class=\"t-right\"\n>\n <ng-content select=\"[tuiSlot='right']\"></ng-content>\n</div>\n","import {Directive, Input} from '@angular/core';\n\n@Directive({\n selector: '[tuiSlot]',\n})\nexport class TuiAppBarDirective {\n @Input()\n tuiSlot: string | 'left' | 'right' = 'left';\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'button[tuiAppBarBack], a[tuiAppBarBack]',\n templateUrl: './app-bar-back.template.html',\n styleUrls: ['./app-bar-back.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAppBarBackComponent {}\n","<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<ng-content></ng-content>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiAppBarComponent} from './app-bar.component';\nimport {TuiAppBarDirective} from './app-bar.directive';\nimport {TuiAppBarBackComponent} from './app-bar-back.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule],\n declarations: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],\n exports: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],\n})\nexport class TuiAppBarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["TuiDestroyService","TuiResizeService","MutationObserverService","MUTATION_OBSERVER_INIT","tuiButtonOptionsProvider","EMPTY_QUERY","merge","map","i0","i1","Component","ChangeDetectionStrategy","Inject","ViewChildren","Directive","Input","CommonModule","TuiSvgModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQa,QAAA,qBAAqB,GAAe;QAC7CA,qBAAiB;QACjBC,oBAAgB;QAChBC,wCAAuB;IACvB,IAAA;IACI,QAAA,OAAO,EAAEC,uCAAsB;IAC/B,QAAA,QAAQ,EAAE;IACN,YAAA,aAAa,EAAE,IAAI;IACnB,YAAA,SAAS,EAAE,IAAI;IACf,YAAA,OAAO,EAAE,IAAI;IAChB,SAAA;IACJ,KAAA;IACD,IAAAC,6BAAwB,CAAC;IACrB,QAAA,IAAI,EAAE,GAAG;IACT,QAAA,UAAU,EAAE,EAAE;SACjB,CAAC;;;ACDN,QAAA,kBAAA,kBAAA,YAAA;QAeI,SAC+C,kBAAA,CAAA,OAA4B,EACrB,SAA8B,EAAA;YAFpF,IAGI,KAAA,GAAA,IAAA,CAAA;IAF2C,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;IACrB,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;IAfnE,QAAA,IAAI,CAAA,IAAA,GAAuCC,eAAW,CAAC;IAE/D,QAAA,IAAA,CAAA,MAAM,GAAGC,QAAK,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CACtDC,aAAG,CACC,YAAA;;IACI,YAAA,OAAA,CAAC;IACD,gBAAA,IAAI,CAAC,GAAG,CACJ,CAAA,EAAA,GAAA,KAAI,CAAC,IAAI,CAAC,KAAK,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,aAAa,CAAC,WAAW,EAC1C,CAAA,EAAA,GAAA,KAAI,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;uIAAa,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAH,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;IAAf,eAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,eAAe,EAHT,YAAA,EAAA,CAAA,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAA,EAAA,OAAA,EAAA,CADnEQ,eAAY,EAAEC,iBAAY,CAE1B,EAAA,OAAA,EAAA,CAAA,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA;IAE/D,eAAA,CAAA,IAAA,GAAAT,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,eAAe,EAJf,OAAA,EAAA,CAAA,CAACQ,eAAY,EAAEC,iBAAY,CAAC,CAAA,EAAA,CAAA,CAAA;sHAI5B,eAAe,EAAA,UAAA,EAAA,CAAA;sBAL3BC,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACN,oBAAA,OAAO,EAAE,CAACF,eAAY,EAAEC,iBAAY,CAAC;IACrC,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC;IAC9E,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC;qBAC5E,CAAA;;;ICZD;;IAEG;;;;;;;;;;;;;;"}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
startingYear: STARTING_YEAR,
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
/*! *****************************************************************************
|
|
70
70
|
Copyright (c) Microsoft Corporation.
|
|
71
71
|
|
|
72
72
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
81
81
|
PERFORMANCE OF THIS SOFTWARE.
|
|
82
82
|
***************************************************************************** */
|
|
83
|
-
/* global Reflect, Promise
|
|
83
|
+
/* global Reflect, Promise */
|
|
84
84
|
var extendStatics = function (d, b) {
|
|
85
85
|
extendStatics = Object.setPrototypeOf ||
|
|
86
86
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -133,64 +133,6 @@
|
|
|
133
133
|
function __param(paramIndex, decorator) {
|
|
134
134
|
return function (target, key) { decorator(target, key, paramIndex); };
|
|
135
135
|
}
|
|
136
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
137
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function")
|
|
138
|
-
throw new TypeError("Function expected"); return f; }
|
|
139
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
140
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
141
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
142
|
-
var _, done = false;
|
|
143
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
144
|
-
var context = {};
|
|
145
|
-
for (var p in contextIn)
|
|
146
|
-
context[p] = p === "access" ? {} : contextIn[p];
|
|
147
|
-
for (var p in contextIn.access)
|
|
148
|
-
context.access[p] = contextIn.access[p];
|
|
149
|
-
context.addInitializer = function (f) { if (done)
|
|
150
|
-
throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
151
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
152
|
-
if (kind === "accessor") {
|
|
153
|
-
if (result === void 0)
|
|
154
|
-
continue;
|
|
155
|
-
if (result === null || typeof result !== "object")
|
|
156
|
-
throw new TypeError("Object expected");
|
|
157
|
-
if (_ = accept(result.get))
|
|
158
|
-
descriptor.get = _;
|
|
159
|
-
if (_ = accept(result.set))
|
|
160
|
-
descriptor.set = _;
|
|
161
|
-
if (_ = accept(result.init))
|
|
162
|
-
initializers.unshift(_);
|
|
163
|
-
}
|
|
164
|
-
else if (_ = accept(result)) {
|
|
165
|
-
if (kind === "field")
|
|
166
|
-
initializers.unshift(_);
|
|
167
|
-
else
|
|
168
|
-
descriptor[key] = _;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
if (target)
|
|
172
|
-
Object.defineProperty(target, contextIn.name, descriptor);
|
|
173
|
-
done = true;
|
|
174
|
-
}
|
|
175
|
-
;
|
|
176
|
-
function __runInitializers(thisArg, initializers, value) {
|
|
177
|
-
var useValue = arguments.length > 2;
|
|
178
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
179
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
180
|
-
}
|
|
181
|
-
return useValue ? value : void 0;
|
|
182
|
-
}
|
|
183
|
-
;
|
|
184
|
-
function __propKey(x) {
|
|
185
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
|
186
|
-
}
|
|
187
|
-
;
|
|
188
|
-
function __setFunctionName(f, name, prefix) {
|
|
189
|
-
if (typeof name === "symbol")
|
|
190
|
-
name = name.description ? "[".concat(name.description, "]") : "";
|
|
191
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
192
|
-
}
|
|
193
|
-
;
|
|
194
136
|
function __metadata(metadataKey, metadataValue) {
|
|
195
137
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
196
138
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
@@ -222,7 +164,7 @@
|
|
|
222
164
|
function step(op) {
|
|
223
165
|
if (f)
|
|
224
166
|
throw new TypeError("Generator is already executing.");
|
|
225
|
-
while (
|
|
167
|
+
while (_)
|
|
226
168
|
try {
|
|
227
169
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
228
170
|
return t;
|
|
@@ -286,11 +228,7 @@
|
|
|
286
228
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
287
229
|
if (k2 === undefined)
|
|
288
230
|
k2 = k;
|
|
289
|
-
|
|
290
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
291
|
-
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
292
|
-
}
|
|
293
|
-
Object.defineProperty(o, k2, desc);
|
|
231
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
294
232
|
}) : (function (o, m, k, k2) {
|
|
295
233
|
if (k2 === undefined)
|
|
296
234
|
k2 = k;
|
|
@@ -363,7 +301,7 @@
|
|
|
363
301
|
ar[i] = from[i];
|
|
364
302
|
}
|
|
365
303
|
}
|
|
366
|
-
return to.concat(ar ||
|
|
304
|
+
return to.concat(ar || from);
|
|
367
305
|
}
|
|
368
306
|
function __await(v) {
|
|
369
307
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -390,7 +328,7 @@
|
|
|
390
328
|
function __asyncDelegator(o) {
|
|
391
329
|
var i, p;
|
|
392
330
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
393
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
|
331
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
394
332
|
}
|
|
395
333
|
function __asyncValues(o) {
|
|
396
334
|
if (!Symbol.asyncIterator)
|
|
@@ -445,90 +383,6 @@
|
|
|
445
383
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
446
384
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
447
385
|
}
|
|
448
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
449
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
450
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
451
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
452
|
-
}
|
|
453
|
-
function __addDisposableResource(env, value, async) {
|
|
454
|
-
if (value !== null && value !== void 0) {
|
|
455
|
-
if (typeof value !== "object" && typeof value !== "function")
|
|
456
|
-
throw new TypeError("Object expected.");
|
|
457
|
-
var dispose;
|
|
458
|
-
if (async) {
|
|
459
|
-
if (!Symbol.asyncDispose)
|
|
460
|
-
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
461
|
-
dispose = value[Symbol.asyncDispose];
|
|
462
|
-
}
|
|
463
|
-
if (dispose === void 0) {
|
|
464
|
-
if (!Symbol.dispose)
|
|
465
|
-
throw new TypeError("Symbol.dispose is not defined.");
|
|
466
|
-
dispose = value[Symbol.dispose];
|
|
467
|
-
}
|
|
468
|
-
if (typeof dispose !== "function")
|
|
469
|
-
throw new TypeError("Object not disposable.");
|
|
470
|
-
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
471
|
-
}
|
|
472
|
-
else if (async) {
|
|
473
|
-
env.stack.push({ async: true });
|
|
474
|
-
}
|
|
475
|
-
return value;
|
|
476
|
-
}
|
|
477
|
-
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
478
|
-
var e = new Error(message);
|
|
479
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
480
|
-
};
|
|
481
|
-
function __disposeResources(env) {
|
|
482
|
-
function fail(e) {
|
|
483
|
-
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
484
|
-
env.hasError = true;
|
|
485
|
-
}
|
|
486
|
-
function next() {
|
|
487
|
-
while (env.stack.length) {
|
|
488
|
-
var rec = env.stack.pop();
|
|
489
|
-
try {
|
|
490
|
-
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
491
|
-
if (rec.async)
|
|
492
|
-
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
493
|
-
}
|
|
494
|
-
catch (e) {
|
|
495
|
-
fail(e);
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
if (env.hasError)
|
|
499
|
-
throw env.error;
|
|
500
|
-
}
|
|
501
|
-
return next();
|
|
502
|
-
}
|
|
503
|
-
var tslib_es6 = {
|
|
504
|
-
__extends: __extends,
|
|
505
|
-
__assign: __assign,
|
|
506
|
-
__rest: __rest,
|
|
507
|
-
__decorate: __decorate,
|
|
508
|
-
__param: __param,
|
|
509
|
-
__metadata: __metadata,
|
|
510
|
-
__awaiter: __awaiter,
|
|
511
|
-
__generator: __generator,
|
|
512
|
-
__createBinding: __createBinding,
|
|
513
|
-
__exportStar: __exportStar,
|
|
514
|
-
__values: __values,
|
|
515
|
-
__read: __read,
|
|
516
|
-
__spread: __spread,
|
|
517
|
-
__spreadArrays: __spreadArrays,
|
|
518
|
-
__spreadArray: __spreadArray,
|
|
519
|
-
__await: __await,
|
|
520
|
-
__asyncGenerator: __asyncGenerator,
|
|
521
|
-
__asyncDelegator: __asyncDelegator,
|
|
522
|
-
__asyncValues: __asyncValues,
|
|
523
|
-
__makeTemplateObject: __makeTemplateObject,
|
|
524
|
-
__importStar: __importStar,
|
|
525
|
-
__importDefault: __importDefault,
|
|
526
|
-
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
527
|
-
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
528
|
-
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
529
|
-
__addDisposableResource: __addDisposableResource,
|
|
530
|
-
__disposeResources: __disposeResources,
|
|
531
|
-
};
|
|
532
386
|
|
|
533
387
|
var ANDROID_CYCLE_HEIGHT = reduceCycle(ANDROID_CYCLE);
|
|
534
388
|
var IOS_CYCLE_HEIGHT = reduceCycle(IOS_CYCLE);
|
|
@@ -589,7 +443,7 @@
|
|
|
589
443
|
return;
|
|
590
444
|
}
|
|
591
445
|
var scrollTop = this.getOffsetForIndex(index);
|
|
592
|
-
if (behavior !==
|
|
446
|
+
if (behavior !== 'smooth') {
|
|
593
447
|
this.viewport.scrollToOffset(scrollTop, behavior);
|
|
594
448
|
return;
|
|
595
449
|
}
|
|
@@ -661,7 +515,7 @@
|
|
|
661
515
|
/**
|
|
662
516
|
* Stream for updating value
|
|
663
517
|
*/
|
|
664
|
-
var TUI_VALUE_STREAM = new i0.InjectionToken(
|
|
518
|
+
var TUI_VALUE_STREAM = new i0.InjectionToken('[TUI_VALUE_STREAM]');
|
|
665
519
|
var TUI_MOBILE_CALENDAR_PROVIDERS = [
|
|
666
520
|
i7.TuiDestroyService,
|
|
667
521
|
i7.TuiScrollService,
|