@taiga-ui/addon-mobile 3.59.0 → 3.60.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 +152 -6
- 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 +152 -6
- 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 +152 -6
- 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 +722 -576
- package/bundles/taiga-ui-addon-mobile-components-sheet-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +1269 -1123
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js +520 -374
- 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 +520 -374
- package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js +565 -419
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js +652 -506
- 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 +558 -412
- package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js.map +1 -1
- package/package.json +4 -4
|
@@ -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, SuppressedError, Symbol */
|
|
84
84
|
var extendStatics = function (d, b) {
|
|
85
85
|
extendStatics = Object.setPrototypeOf ||
|
|
86
86
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -133,6 +133,64 @@
|
|
|
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
|
+
;
|
|
136
194
|
function __metadata(metadataKey, metadataValue) {
|
|
137
195
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
138
196
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
@@ -164,7 +222,7 @@
|
|
|
164
222
|
function step(op) {
|
|
165
223
|
if (f)
|
|
166
224
|
throw new TypeError("Generator is already executing.");
|
|
167
|
-
while (_)
|
|
225
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
168
226
|
try {
|
|
169
227
|
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)
|
|
170
228
|
return t;
|
|
@@ -228,7 +286,11 @@
|
|
|
228
286
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
229
287
|
if (k2 === undefined)
|
|
230
288
|
k2 = k;
|
|
231
|
-
Object.
|
|
289
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
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);
|
|
232
294
|
}) : (function (o, m, k, k2) {
|
|
233
295
|
if (k2 === undefined)
|
|
234
296
|
k2 = k;
|
|
@@ -301,7 +363,7 @@
|
|
|
301
363
|
ar[i] = from[i];
|
|
302
364
|
}
|
|
303
365
|
}
|
|
304
|
-
return to.concat(ar || from);
|
|
366
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
305
367
|
}
|
|
306
368
|
function __await(v) {
|
|
307
369
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -328,7 +390,7 @@
|
|
|
328
390
|
function __asyncDelegator(o) {
|
|
329
391
|
var i, p;
|
|
330
392
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
331
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
|
393
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
332
394
|
}
|
|
333
395
|
function __asyncValues(o) {
|
|
334
396
|
if (!Symbol.asyncIterator)
|
|
@@ -383,6 +445,90 @@
|
|
|
383
445
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
384
446
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
385
447
|
}
|
|
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
|
+
};
|
|
386
532
|
|
|
387
533
|
var ANDROID_CYCLE_HEIGHT = reduceCycle(ANDROID_CYCLE);
|
|
388
534
|
var IOS_CYCLE_HEIGHT = reduceCycle(IOS_CYCLE);
|