@eo-sdk/client 8.16.36 → 8.16.38
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/app/eo-framework/actions/actions/clipboard/clipboard-action.d.ts +1 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +173 -18
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +1 -15
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
- package/bundles/eo-sdk-client.umd.js +26959 -26804
- package/bundles/eo-sdk-client.umd.js.map +1 -1
- package/bundles/eo-sdk-client.umd.min.js +1 -1
- package/bundles/eo-sdk-client.umd.min.js.map +1 -1
- package/eo-sdk-client.metadata.json +1 -1
- package/esm2015/app/eo-client/about-state/about-state.component.js +4 -4
- package/esm2015/app/eo-client/dashboard/dashboard.component.js +1 -1
- package/esm2015/app/eo-client/favorite-state/favorite-state.component.js +1 -1
- package/esm2015/app/eo-client/inbox-state/inbox-state/inbox-state.component.js +1 -1
- package/esm2015/app/eo-client/login/login.component.js +1 -1
- package/esm2015/app/eo-client/notifications-state/notifications-state.component.js +1 -1
- package/esm2015/app/eo-client/object-state/object-state/object-state.component.js +1 -1
- package/esm2015/app/eo-client/prepare-state/prepare-state/prepare-state.component.js +1 -1
- package/esm2015/app/eo-client/process-state/process-state.component.js +1 -1
- package/esm2015/app/eo-client/result-state/result-state.component.js +1 -1
- package/esm2015/app/eo-client/settings/settings.component.js +1 -1
- package/esm2015/app/eo-client/stored-queries-state/stored-queries-state.component.js +1 -1
- package/esm2015/app/eo-client/version-state/version-state.component.js +1 -1
- package/esm2015/app/eo-framework/actions/action-menu/action-menu.component.js +1 -1
- package/esm2015/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.js +1 -1
- package/esm2015/app/eo-framework/actions/actions/add-subscription-action/add-subscription/add-subscription.component.js +1 -1
- package/esm2015/app/eo-framework/actions/actions/clipboard/clipboard-action.js +2 -3
- package/esm2015/app/eo-framework/actions/actions/delete-action/delete/delete.component.js +1 -1
- package/esm2015/app/eo-framework/actions/actions/open-document-action/open-document-action.component.js +1 -1
- package/esm2015/app/eo-framework/actions/actions/share-object-action/share-object/share-object.component.js +1 -1
- package/esm2015/app/eo-framework/actions/actions/workflow-action/workflow/workflow.component.js +1 -1
- package/esm2015/app/eo-framework/app-shell/app-bar/app-add/app-add-dialog/app-add-dialog.component.js +1 -1
- package/esm2015/app/eo-framework/app-shell/app-bar/app-bar.component.js +1 -1
- package/esm2015/app/eo-framework/app-shell/app-bar/app-layout/app-layout.component.js +1 -1
- package/esm2015/app/eo-framework/app-shell/app-bar/app-process/app-process.component.js +1 -1
- package/esm2015/app/eo-framework/app-shell/app-bar/app-search/app-search.component.js +1 -1
- package/esm2015/app/eo-framework/app-shell/app-bar/context-search/context-search.component.js +1 -1
- package/esm2015/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.js +1 -1
- package/esm2015/app/eo-framework/cta/component/cta.component.js +1 -1
- package/esm2015/app/eo-framework/error/error404/error404.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/checkbox/checkbox.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/codesystem/codesystem.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/datetime/datepicker/datepicker.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/datetime/datetime.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/datetime-range/datetime-range.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/dynamic-list/dynamic-list.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/form-input/form-input.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/id-reference/id-reference.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/id-reference/reference-finder/reference-finder.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/id-reference/reference-finder-entry/reference-finder-entry.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/number-range/number-range.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/organization/organization.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/password/password.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/reference/reference.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/string/string.component.js +1 -1
- package/esm2015/app/eo-framework/frame/frame.component.js +1 -1
- package/esm2015/app/eo-framework/grid/column-configurator/column-configurator.component.js +1 -1
- package/esm2015/app/eo-framework/grid/extensions/custom-sort/custom-sort.component.js +1 -1
- package/esm2015/app/eo-framework/grid/extensions/empty/empty.component.js +1 -1
- package/esm2015/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.js +1 -1
- package/esm2015/app/eo-framework/grid/extensions/filter/text/text-filter.component.js +1 -1
- package/esm2015/app/eo-framework/grid/extensions/pagination/pagination.component.js +1 -1
- package/esm2015/app/eo-framework/grid/extensions/reset-filter/reset-filter.component.js +1 -1
- package/esm2015/app/eo-framework/grid/extensions/total-count/total-count.component.js +1 -1
- package/esm2015/app/eo-framework/grid/filters/codesystem-filter.component.js +1 -1
- package/esm2015/app/eo-framework/grid/filters/datetime-filter.component.js +1 -1
- package/esm2015/app/eo-framework/grid/filters/dynamic-list-filter.component.js +1 -1
- package/esm2015/app/eo-framework/grid/filters/list-filter.component.js +1 -1
- package/esm2015/app/eo-framework/grid/filters/organization-filter.component.js +1 -1
- package/esm2015/app/eo-framework/grid/grid.component.js +1 -1
- package/esm2015/app/eo-framework/inbox-details/duetimeInfo/duetimeInfo.component.js +1 -1
- package/esm2015/app/eo-framework/inbox-details/inbox-details.component.js +1 -1
- package/esm2015/app/eo-framework/list-container/list-container.component.js +1 -1
- package/esm2015/app/eo-framework/media/media.component.js +1 -1
- package/esm2015/app/eo-framework/object-details/favorite-icon/favorite-icon.component.js +1 -1
- package/esm2015/app/eo-framework/object-details/object-details.component.js +1 -1
- package/esm2015/app/eo-framework/object-details/object-history/history-filter/history-filter.component.js +1 -1
- package/esm2015/app/eo-framework/object-details/object-history/object-history.component.js +1 -1
- package/esm2015/app/eo-framework/object-details/object-links/object-links.component.js +1 -1
- package/esm2015/app/eo-framework/object-form/object-form/form-element/form-element.component.js +1 -1
- package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +1 -1
- package/esm2015/app/eo-framework/object-form/object-form/object-form-group/object-form-group.component.js +1 -1
- package/esm2015/app/eo-framework/object-form/object-form/object-form.component.js +1 -1
- package/esm2015/app/eo-framework/object-form/object-form-edit/object-form-edit.component.js +1 -1
- package/esm2015/app/eo-framework/object-state-details/object-state-details.component.js +1 -1
- package/esm2015/app/eo-framework/prepare-details/prepare-content-exists-info/prepare-content-exists-info.component.js +1 -1
- package/esm2015/app/eo-framework/prepare-details/prepare-details.component.js +1 -1
- package/esm2015/app/eo-framework/process/details/process-details.component.js +1 -1
- package/esm2015/app/eo-framework/process/history/process-history.component.js +1 -1
- package/esm2015/app/eo-framework/process/process-file/process-file.component.js +1 -1
- package/esm2015/app/eo-framework/process-form/process-form.component.js +1 -1
- package/esm2015/app/eo-framework/quick-search/quick-search/quick-search.component.js +3 -2
- package/esm2015/app/eo-framework/result-list/result-list.component.js +1 -1
- package/esm2015/app/eo-framework/settings/change-password/change-password-form/change-password-form.component.js +1 -1
- package/esm2015/app/eo-framework/settings/permissions/permissions.component.js +1 -1
- package/esm2015/app/eo-framework/shortcuts/global-shortcuts/global-shortcuts-section/global-shortcuts-section.component.js +1 -1
- package/esm2015/app/eo-framework/shortcuts/global-shortcuts/global-shortcuts.component.js +1 -1
- package/esm2015/app/eo-framework/split/split/split.component.js +1 -1
- package/esm2015/app/eo-framework/stored-query/stored-query/stored-query.component.js +1 -1
- package/esm2015/app/eo-framework/stored-query/stored-query-details/dynamic-property-switch/dynamic-property-switch.component.js +1 -1
- package/esm2015/app/eo-framework/stored-query/stored-query-details/stored-query-details.component.js +1 -1
- package/esm2015/app/eo-framework/tab-container/tab-container.component.js +1 -1
- package/esm2015/app/eo-framework/tab-container/tab-panel/tab-panel.component.js +1 -1
- package/esm2015/app/eo-framework/tab-container/tab-view/tab-view.component.js +1 -1
- package/esm2015/app/eo-framework/tab-container/tab-view-nav/tab-view-nav.component.js +1 -1
- package/esm2015/app/eo-framework/tree/tree-node/tree-node.component.js +1 -1
- package/esm2015/app/eo-framework/ui/clipboard/clipboard.component.js +1 -1
- package/esm2015/app/eo-framework/ui/eo-dialog/eo-dialog.component.js +1 -1
- package/esm2015/app/eo-framework/ui/eo-icon/eo-icon.component.js +1 -1
- package/esm2015/app/eo-framework/ui/error-message/error-message.component.js +1 -1
- package/esm2015/app/eo-framework/ui/indexdata-summary/indexdata-summary-entry/indexdata-summary-entry.component.js +1 -1
- package/esm2015/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.js +1 -1
- package/esm2015/app/eo-framework/ui/loading-spinner/loading-spinner.component.js +1 -1
- package/esm2015/app/eo-framework/ui/overlay/overlay.component.js +1 -1
- package/esm2015/app/eo-framework/ui/query-scope-select/query-scope-select.component.js +1 -1
- package/esm2015/app/eo-framework/ui/user-avatar/user-avatar.component.js +1 -1
- package/esm2015/app/eo-framework/undock-split/undock-split.component.js +1 -1
- package/esm2015/app/eo-framework/upload-overlay/upload-overlay.component.js +1 -1
- package/esm2015/app/eo-framework-core/api/grid.service.js +13 -13
- package/fesm2015/eo-sdk-client.js +123 -123
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/misc/scripts/copy-client-assets.js +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/package.json +1 -1
- package/styles.css +918 -694
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
1
|
import { DmsObjectTarget } from '../../action-target';
|
|
3
2
|
import { ListAction } from '../../interfaces/action.interface';
|
|
4
3
|
import { SelectionRange } from '../../selection-range.enum';
|
|
@@ -15,5 +14,5 @@ export declare class ClipboardActionComponent extends DmsObjectTarget implements
|
|
|
15
14
|
range: SelectionRange;
|
|
16
15
|
subActionComponents: any[];
|
|
17
16
|
constructor(translate: TranslateService);
|
|
18
|
-
isExecutable(element: DmsObject): Observable<boolean>;
|
|
17
|
+
isExecutable(element: DmsObject): import("rxjs").Observable<boolean>;
|
|
19
18
|
}
|
|
@@ -1533,7 +1533,7 @@
|
|
|
1533
1533
|
return EoUser;
|
|
1534
1534
|
}());
|
|
1535
1535
|
|
|
1536
|
-
|
|
1536
|
+
/******************************************************************************
|
|
1537
1537
|
Copyright (c) Microsoft Corporation.
|
|
1538
1538
|
|
|
1539
1539
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -1547,7 +1547,7 @@
|
|
|
1547
1547
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1548
1548
|
PERFORMANCE OF THIS SOFTWARE.
|
|
1549
1549
|
***************************************************************************** */
|
|
1550
|
-
/* global Reflect, Promise */
|
|
1550
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
1551
1551
|
var extendStatics = function (d, b) {
|
|
1552
1552
|
extendStatics = Object.setPrototypeOf ||
|
|
1553
1553
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1600,6 +1600,64 @@
|
|
|
1600
1600
|
function __param(paramIndex, decorator) {
|
|
1601
1601
|
return function (target, key) { decorator(target, key, paramIndex); };
|
|
1602
1602
|
}
|
|
1603
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
1604
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function")
|
|
1605
|
+
throw new TypeError("Function expected"); return f; }
|
|
1606
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
1607
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
1608
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
1609
|
+
var _, done = false;
|
|
1610
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
1611
|
+
var context = {};
|
|
1612
|
+
for (var p in contextIn)
|
|
1613
|
+
context[p] = p === "access" ? {} : contextIn[p];
|
|
1614
|
+
for (var p in contextIn.access)
|
|
1615
|
+
context.access[p] = contextIn.access[p];
|
|
1616
|
+
context.addInitializer = function (f) { if (done)
|
|
1617
|
+
throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
1618
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
1619
|
+
if (kind === "accessor") {
|
|
1620
|
+
if (result === void 0)
|
|
1621
|
+
continue;
|
|
1622
|
+
if (result === null || typeof result !== "object")
|
|
1623
|
+
throw new TypeError("Object expected");
|
|
1624
|
+
if (_ = accept(result.get))
|
|
1625
|
+
descriptor.get = _;
|
|
1626
|
+
if (_ = accept(result.set))
|
|
1627
|
+
descriptor.set = _;
|
|
1628
|
+
if (_ = accept(result.init))
|
|
1629
|
+
initializers.unshift(_);
|
|
1630
|
+
}
|
|
1631
|
+
else if (_ = accept(result)) {
|
|
1632
|
+
if (kind === "field")
|
|
1633
|
+
initializers.unshift(_);
|
|
1634
|
+
else
|
|
1635
|
+
descriptor[key] = _;
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
if (target)
|
|
1639
|
+
Object.defineProperty(target, contextIn.name, descriptor);
|
|
1640
|
+
done = true;
|
|
1641
|
+
}
|
|
1642
|
+
;
|
|
1643
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
1644
|
+
var useValue = arguments.length > 2;
|
|
1645
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
1646
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
1647
|
+
}
|
|
1648
|
+
return useValue ? value : void 0;
|
|
1649
|
+
}
|
|
1650
|
+
;
|
|
1651
|
+
function __propKey(x) {
|
|
1652
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
1653
|
+
}
|
|
1654
|
+
;
|
|
1655
|
+
function __setFunctionName(f, name, prefix) {
|
|
1656
|
+
if (typeof name === "symbol")
|
|
1657
|
+
name = name.description ? "[".concat(name.description, "]") : "";
|
|
1658
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
1659
|
+
}
|
|
1660
|
+
;
|
|
1603
1661
|
function __metadata(metadataKey, metadataValue) {
|
|
1604
1662
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1605
1663
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
@@ -1631,7 +1689,7 @@
|
|
|
1631
1689
|
function step(op) {
|
|
1632
1690
|
if (f)
|
|
1633
1691
|
throw new TypeError("Generator is already executing.");
|
|
1634
|
-
while (_)
|
|
1692
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
1635
1693
|
try {
|
|
1636
1694
|
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)
|
|
1637
1695
|
return t;
|
|
@@ -1695,7 +1753,11 @@
|
|
|
1695
1753
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
1696
1754
|
if (k2 === undefined)
|
|
1697
1755
|
k2 = k;
|
|
1698
|
-
Object.
|
|
1756
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1757
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1758
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
1759
|
+
}
|
|
1760
|
+
Object.defineProperty(o, k2, desc);
|
|
1699
1761
|
}) : (function (o, m, k, k2) {
|
|
1700
1762
|
if (k2 === undefined)
|
|
1701
1763
|
k2 = k;
|
|
@@ -1759,10 +1821,16 @@
|
|
|
1759
1821
|
r[k] = a[j];
|
|
1760
1822
|
return r;
|
|
1761
1823
|
}
|
|
1762
|
-
function __spreadArray(to, from) {
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1824
|
+
function __spreadArray(to, from, pack) {
|
|
1825
|
+
if (pack || arguments.length === 2)
|
|
1826
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1827
|
+
if (ar || !(i in from)) {
|
|
1828
|
+
if (!ar)
|
|
1829
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
1830
|
+
ar[i] = from[i];
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1766
1834
|
}
|
|
1767
1835
|
function __await(v) {
|
|
1768
1836
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -1789,7 +1857,7 @@
|
|
|
1789
1857
|
function __asyncDelegator(o) {
|
|
1790
1858
|
var i, p;
|
|
1791
1859
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
1792
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
|
1860
|
+
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; }
|
|
1793
1861
|
}
|
|
1794
1862
|
function __asyncValues(o) {
|
|
1795
1863
|
if (!Symbol.asyncIterator)
|
|
@@ -1828,19 +1896,106 @@
|
|
|
1828
1896
|
function __importDefault(mod) {
|
|
1829
1897
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
1830
1898
|
}
|
|
1831
|
-
function __classPrivateFieldGet(receiver,
|
|
1832
|
-
if (!
|
|
1833
|
-
throw new TypeError("
|
|
1834
|
-
|
|
1835
|
-
|
|
1899
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
1900
|
+
if (kind === "a" && !f)
|
|
1901
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
1902
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1903
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1904
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1905
|
+
}
|
|
1906
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
1907
|
+
if (kind === "m")
|
|
1908
|
+
throw new TypeError("Private method is not writable");
|
|
1909
|
+
if (kind === "a" && !f)
|
|
1910
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
1911
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1912
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1913
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
1836
1914
|
}
|
|
1837
|
-
function
|
|
1838
|
-
if (
|
|
1839
|
-
throw new TypeError("
|
|
1915
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
1916
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
1917
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
1918
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
1919
|
+
}
|
|
1920
|
+
function __addDisposableResource(env, value, async) {
|
|
1921
|
+
if (value !== null && value !== void 0) {
|
|
1922
|
+
if (typeof value !== "object" && typeof value !== "function")
|
|
1923
|
+
throw new TypeError("Object expected.");
|
|
1924
|
+
var dispose;
|
|
1925
|
+
if (async) {
|
|
1926
|
+
if (!Symbol.asyncDispose)
|
|
1927
|
+
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
1928
|
+
dispose = value[Symbol.asyncDispose];
|
|
1929
|
+
}
|
|
1930
|
+
if (dispose === void 0) {
|
|
1931
|
+
if (!Symbol.dispose)
|
|
1932
|
+
throw new TypeError("Symbol.dispose is not defined.");
|
|
1933
|
+
dispose = value[Symbol.dispose];
|
|
1934
|
+
}
|
|
1935
|
+
if (typeof dispose !== "function")
|
|
1936
|
+
throw new TypeError("Object not disposable.");
|
|
1937
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
1938
|
+
}
|
|
1939
|
+
else if (async) {
|
|
1940
|
+
env.stack.push({ async: true });
|
|
1840
1941
|
}
|
|
1841
|
-
privateMap.set(receiver, value);
|
|
1842
1942
|
return value;
|
|
1843
1943
|
}
|
|
1944
|
+
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
1945
|
+
var e = new Error(message);
|
|
1946
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1947
|
+
};
|
|
1948
|
+
function __disposeResources(env) {
|
|
1949
|
+
function fail(e) {
|
|
1950
|
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
1951
|
+
env.hasError = true;
|
|
1952
|
+
}
|
|
1953
|
+
function next() {
|
|
1954
|
+
while (env.stack.length) {
|
|
1955
|
+
var rec = env.stack.pop();
|
|
1956
|
+
try {
|
|
1957
|
+
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
1958
|
+
if (rec.async)
|
|
1959
|
+
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
1960
|
+
}
|
|
1961
|
+
catch (e) {
|
|
1962
|
+
fail(e);
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
if (env.hasError)
|
|
1966
|
+
throw env.error;
|
|
1967
|
+
}
|
|
1968
|
+
return next();
|
|
1969
|
+
}
|
|
1970
|
+
var tslib_es6 = {
|
|
1971
|
+
__extends: __extends,
|
|
1972
|
+
__assign: __assign,
|
|
1973
|
+
__rest: __rest,
|
|
1974
|
+
__decorate: __decorate,
|
|
1975
|
+
__param: __param,
|
|
1976
|
+
__metadata: __metadata,
|
|
1977
|
+
__awaiter: __awaiter,
|
|
1978
|
+
__generator: __generator,
|
|
1979
|
+
__createBinding: __createBinding,
|
|
1980
|
+
__exportStar: __exportStar,
|
|
1981
|
+
__values: __values,
|
|
1982
|
+
__read: __read,
|
|
1983
|
+
__spread: __spread,
|
|
1984
|
+
__spreadArrays: __spreadArrays,
|
|
1985
|
+
__spreadArray: __spreadArray,
|
|
1986
|
+
__await: __await,
|
|
1987
|
+
__asyncGenerator: __asyncGenerator,
|
|
1988
|
+
__asyncDelegator: __asyncDelegator,
|
|
1989
|
+
__asyncValues: __asyncValues,
|
|
1990
|
+
__makeTemplateObject: __makeTemplateObject,
|
|
1991
|
+
__importStar: __importStar,
|
|
1992
|
+
__importDefault: __importDefault,
|
|
1993
|
+
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
1994
|
+
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
1995
|
+
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
1996
|
+
__addDisposableResource: __addDisposableResource,
|
|
1997
|
+
__disposeResources: __disposeResources,
|
|
1998
|
+
};
|
|
1844
1999
|
|
|
1845
2000
|
/**
|
|
1846
2001
|
* Set up the default logger.
|