@formio/angular 5.2.6 → 5.2.7-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/formio-angular-grid.umd.js +140 -3
- package/bundles/formio-angular-grid.umd.js.map +1 -1
- package/bundles/formio-angular-manager.umd.js +140 -3
- package/bundles/formio-angular-manager.umd.js.map +1 -1
- package/bundles/formio-angular.umd.js +142 -5
- package/bundles/formio-angular.umd.js.map +1 -1
- package/esm2015/components/formbuilder/formbuilder.component.js +1 -1
- package/esm2015/components/formio/formio.component.js +1 -1
- package/fesm2015/formio-angular.js +2 -2
- package/formio-angular.metadata.json +1 -1
- package/package.json +2 -2
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
301
301
|
PERFORMANCE OF THIS SOFTWARE.
|
|
302
302
|
***************************************************************************** */
|
|
303
|
-
/* global Reflect, Promise */
|
|
303
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
304
304
|
var extendStatics = function (d, b) {
|
|
305
305
|
extendStatics = Object.setPrototypeOf ||
|
|
306
306
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -353,6 +353,64 @@
|
|
|
353
353
|
function __param(paramIndex, decorator) {
|
|
354
354
|
return function (target, key) { decorator(target, key, paramIndex); };
|
|
355
355
|
}
|
|
356
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
357
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function")
|
|
358
|
+
throw new TypeError("Function expected"); return f; }
|
|
359
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
360
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
361
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
362
|
+
var _, done = false;
|
|
363
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
364
|
+
var context = {};
|
|
365
|
+
for (var p in contextIn)
|
|
366
|
+
context[p] = p === "access" ? {} : contextIn[p];
|
|
367
|
+
for (var p in contextIn.access)
|
|
368
|
+
context.access[p] = contextIn.access[p];
|
|
369
|
+
context.addInitializer = function (f) { if (done)
|
|
370
|
+
throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
371
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
372
|
+
if (kind === "accessor") {
|
|
373
|
+
if (result === void 0)
|
|
374
|
+
continue;
|
|
375
|
+
if (result === null || typeof result !== "object")
|
|
376
|
+
throw new TypeError("Object expected");
|
|
377
|
+
if (_ = accept(result.get))
|
|
378
|
+
descriptor.get = _;
|
|
379
|
+
if (_ = accept(result.set))
|
|
380
|
+
descriptor.set = _;
|
|
381
|
+
if (_ = accept(result.init))
|
|
382
|
+
initializers.unshift(_);
|
|
383
|
+
}
|
|
384
|
+
else if (_ = accept(result)) {
|
|
385
|
+
if (kind === "field")
|
|
386
|
+
initializers.unshift(_);
|
|
387
|
+
else
|
|
388
|
+
descriptor[key] = _;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
if (target)
|
|
392
|
+
Object.defineProperty(target, contextIn.name, descriptor);
|
|
393
|
+
done = true;
|
|
394
|
+
}
|
|
395
|
+
;
|
|
396
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
397
|
+
var useValue = arguments.length > 2;
|
|
398
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
399
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
400
|
+
}
|
|
401
|
+
return useValue ? value : void 0;
|
|
402
|
+
}
|
|
403
|
+
;
|
|
404
|
+
function __propKey(x) {
|
|
405
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
406
|
+
}
|
|
407
|
+
;
|
|
408
|
+
function __setFunctionName(f, name, prefix) {
|
|
409
|
+
if (typeof name === "symbol")
|
|
410
|
+
name = name.description ? "[".concat(name.description, "]") : "";
|
|
411
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
412
|
+
}
|
|
413
|
+
;
|
|
356
414
|
function __metadata(metadataKey, metadataValue) {
|
|
357
415
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
358
416
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
@@ -384,7 +442,7 @@
|
|
|
384
442
|
function step(op) {
|
|
385
443
|
if (f)
|
|
386
444
|
throw new TypeError("Generator is already executing.");
|
|
387
|
-
while (_)
|
|
445
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
388
446
|
try {
|
|
389
447
|
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)
|
|
390
448
|
return t;
|
|
@@ -552,7 +610,7 @@
|
|
|
552
610
|
function __asyncDelegator(o) {
|
|
553
611
|
var i, p;
|
|
554
612
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
555
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
|
613
|
+
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; }
|
|
556
614
|
}
|
|
557
615
|
function __asyncValues(o) {
|
|
558
616
|
if (!Symbol.asyncIterator)
|
|
@@ -612,6 +670,85 @@
|
|
|
612
670
|
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
613
671
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
614
672
|
}
|
|
673
|
+
function __addDisposableResource(env, value, async) {
|
|
674
|
+
if (value !== null && value !== void 0) {
|
|
675
|
+
if (typeof value !== "object" && typeof value !== "function")
|
|
676
|
+
throw new TypeError("Object expected.");
|
|
677
|
+
var dispose;
|
|
678
|
+
if (async) {
|
|
679
|
+
if (!Symbol.asyncDispose)
|
|
680
|
+
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
681
|
+
dispose = value[Symbol.asyncDispose];
|
|
682
|
+
}
|
|
683
|
+
if (dispose === void 0) {
|
|
684
|
+
if (!Symbol.dispose)
|
|
685
|
+
throw new TypeError("Symbol.dispose is not defined.");
|
|
686
|
+
dispose = value[Symbol.dispose];
|
|
687
|
+
}
|
|
688
|
+
if (typeof dispose !== "function")
|
|
689
|
+
throw new TypeError("Object not disposable.");
|
|
690
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
691
|
+
}
|
|
692
|
+
else if (async) {
|
|
693
|
+
env.stack.push({ async: true });
|
|
694
|
+
}
|
|
695
|
+
return value;
|
|
696
|
+
}
|
|
697
|
+
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
698
|
+
var e = new Error(message);
|
|
699
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
700
|
+
};
|
|
701
|
+
function __disposeResources(env) {
|
|
702
|
+
function fail(e) {
|
|
703
|
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
704
|
+
env.hasError = true;
|
|
705
|
+
}
|
|
706
|
+
function next() {
|
|
707
|
+
while (env.stack.length) {
|
|
708
|
+
var rec = env.stack.pop();
|
|
709
|
+
try {
|
|
710
|
+
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
711
|
+
if (rec.async)
|
|
712
|
+
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
713
|
+
}
|
|
714
|
+
catch (e) {
|
|
715
|
+
fail(e);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
if (env.hasError)
|
|
719
|
+
throw env.error;
|
|
720
|
+
}
|
|
721
|
+
return next();
|
|
722
|
+
}
|
|
723
|
+
var tslib_es6 = {
|
|
724
|
+
__extends: __extends,
|
|
725
|
+
__assign: __assign,
|
|
726
|
+
__rest: __rest,
|
|
727
|
+
__decorate: __decorate,
|
|
728
|
+
__param: __param,
|
|
729
|
+
__metadata: __metadata,
|
|
730
|
+
__awaiter: __awaiter,
|
|
731
|
+
__generator: __generator,
|
|
732
|
+
__createBinding: __createBinding,
|
|
733
|
+
__exportStar: __exportStar,
|
|
734
|
+
__values: __values,
|
|
735
|
+
__read: __read,
|
|
736
|
+
__spread: __spread,
|
|
737
|
+
__spreadArrays: __spreadArrays,
|
|
738
|
+
__spreadArray: __spreadArray,
|
|
739
|
+
__await: __await,
|
|
740
|
+
__asyncGenerator: __asyncGenerator,
|
|
741
|
+
__asyncDelegator: __asyncDelegator,
|
|
742
|
+
__asyncValues: __asyncValues,
|
|
743
|
+
__makeTemplateObject: __makeTemplateObject,
|
|
744
|
+
__importStar: __importStar,
|
|
745
|
+
__importDefault: __importDefault,
|
|
746
|
+
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
747
|
+
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
748
|
+
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
749
|
+
__addDisposableResource: __addDisposableResource,
|
|
750
|
+
__disposeResources: __disposeResources,
|
|
751
|
+
};
|
|
615
752
|
|
|
616
753
|
var FormManagerEditComponent = /** @class */ (function () {
|
|
617
754
|
function FormManagerEditComponent(service, router, route, config, ref, alerts) {
|