@aurigma/ng-design-atoms-api-client 2.33.1 → 2.34.1
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/aurigma-ng-design-atoms-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js +343 -189
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js.map +1 -1
- package/esm2015/aurigma-ng-design-atoms-api-client.js +1 -1
- package/esm2015/lib/design-atoms-api-client.js +129 -1
- package/esm2015/lib/design-atoms-api.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +128 -0
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +20 -0
- package/package.json +1 -1
|
@@ -798,6 +798,82 @@
|
|
|
798
798
|
}
|
|
799
799
|
return rxjs.of(null);
|
|
800
800
|
};
|
|
801
|
+
/**
|
|
802
|
+
* @return Success
|
|
803
|
+
*/
|
|
804
|
+
DesignAtomsCompatibilityApiClient.prototype.getFallbackFonts = function (tenantId) {
|
|
805
|
+
var _this = this;
|
|
806
|
+
var url_ = this.baseUrl + "/api/atoms/v1/tenants/{tenantId}/api/ccviewer/GetFallbackFonts";
|
|
807
|
+
if (tenantId === undefined || tenantId === null)
|
|
808
|
+
throw new Error("The parameter 'tenantId' must be defined.");
|
|
809
|
+
url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
|
|
810
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
811
|
+
var options_ = {
|
|
812
|
+
observe: "response",
|
|
813
|
+
responseType: "blob",
|
|
814
|
+
headers: new i1.HttpHeaders({
|
|
815
|
+
"Accept": "application/json"
|
|
816
|
+
})
|
|
817
|
+
};
|
|
818
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
819
|
+
return _this.http.request("get", url_, transformedOptions_);
|
|
820
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
821
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetFallbackFonts(r); });
|
|
822
|
+
})).pipe(operators.catchError(function (response_) {
|
|
823
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
824
|
+
try {
|
|
825
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetFallbackFonts(r); });
|
|
826
|
+
}
|
|
827
|
+
catch (e) {
|
|
828
|
+
return rxjs.throwError(e);
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
else
|
|
832
|
+
return rxjs.throwError(response_);
|
|
833
|
+
}));
|
|
834
|
+
};
|
|
835
|
+
DesignAtomsCompatibilityApiClient.prototype.processGetFallbackFonts = function (response) {
|
|
836
|
+
var e_6, _a;
|
|
837
|
+
var _this = this;
|
|
838
|
+
var status = response.status;
|
|
839
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
840
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
841
|
+
var _headers = {};
|
|
842
|
+
if (response.headers) {
|
|
843
|
+
try {
|
|
844
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
845
|
+
var key = _c.value;
|
|
846
|
+
_headers[key] = response.headers.get(key);
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
850
|
+
finally {
|
|
851
|
+
try {
|
|
852
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
853
|
+
}
|
|
854
|
+
finally { if (e_6) throw e_6.error; }
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
if (status === 200 || status === 206) {
|
|
858
|
+
var contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
859
|
+
var fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
860
|
+
var fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
861
|
+
return rxjs.of({ fileName: fileName, data: responseBlob, status: status, headers: _headers });
|
|
862
|
+
}
|
|
863
|
+
else if (status === 500) {
|
|
864
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
865
|
+
var result500 = null;
|
|
866
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
867
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
868
|
+
}));
|
|
869
|
+
}
|
|
870
|
+
else if (status !== 200 && status !== 204) {
|
|
871
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
872
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
873
|
+
}));
|
|
874
|
+
}
|
|
875
|
+
return rxjs.of(null);
|
|
876
|
+
};
|
|
801
877
|
/**
|
|
802
878
|
* @param body (optional)
|
|
803
879
|
* @return Success
|
|
@@ -837,7 +913,7 @@
|
|
|
837
913
|
}));
|
|
838
914
|
};
|
|
839
915
|
DesignAtomsCompatibilityApiClient.prototype.processGetImageSize = function (response) {
|
|
840
|
-
var
|
|
916
|
+
var e_7, _a;
|
|
841
917
|
var _this = this;
|
|
842
918
|
var status = response.status;
|
|
843
919
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -850,12 +926,12 @@
|
|
|
850
926
|
_headers[key] = response.headers.get(key);
|
|
851
927
|
}
|
|
852
928
|
}
|
|
853
|
-
catch (
|
|
929
|
+
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
854
930
|
finally {
|
|
855
931
|
try {
|
|
856
932
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
857
933
|
}
|
|
858
|
-
finally { if (
|
|
934
|
+
finally { if (e_7) throw e_7.error; }
|
|
859
935
|
}
|
|
860
936
|
}
|
|
861
937
|
if (status === 200) {
|
|
@@ -918,7 +994,7 @@
|
|
|
918
994
|
}));
|
|
919
995
|
};
|
|
920
996
|
DesignAtomsCompatibilityApiClient.prototype.processGetShapeBounds = function (response) {
|
|
921
|
-
var
|
|
997
|
+
var e_8, _a;
|
|
922
998
|
var _this = this;
|
|
923
999
|
var status = response.status;
|
|
924
1000
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -931,12 +1007,12 @@
|
|
|
931
1007
|
_headers[key] = response.headers.get(key);
|
|
932
1008
|
}
|
|
933
1009
|
}
|
|
934
|
-
catch (
|
|
1010
|
+
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
|
935
1011
|
finally {
|
|
936
1012
|
try {
|
|
937
1013
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
938
1014
|
}
|
|
939
|
-
finally { if (
|
|
1015
|
+
finally { if (e_8) throw e_8.error; }
|
|
940
1016
|
}
|
|
941
1017
|
}
|
|
942
1018
|
if (status === 200) {
|
|
@@ -999,7 +1075,7 @@
|
|
|
999
1075
|
}));
|
|
1000
1076
|
};
|
|
1001
1077
|
DesignAtomsCompatibilityApiClient.prototype.processGetWatermarkItems = function (response) {
|
|
1002
|
-
var
|
|
1078
|
+
var e_9, _a;
|
|
1003
1079
|
var _this = this;
|
|
1004
1080
|
var status = response.status;
|
|
1005
1081
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1012,12 +1088,12 @@
|
|
|
1012
1088
|
_headers[key] = response.headers.get(key);
|
|
1013
1089
|
}
|
|
1014
1090
|
}
|
|
1015
|
-
catch (
|
|
1091
|
+
catch (e_9_1) { e_9 = { error: e_9_1 }; }
|
|
1016
1092
|
finally {
|
|
1017
1093
|
try {
|
|
1018
1094
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1019
1095
|
}
|
|
1020
|
-
finally { if (
|
|
1096
|
+
finally { if (e_9) throw e_9.error; }
|
|
1021
1097
|
}
|
|
1022
1098
|
}
|
|
1023
1099
|
if (status === 200) {
|
|
@@ -1124,7 +1200,7 @@
|
|
|
1124
1200
|
}));
|
|
1125
1201
|
};
|
|
1126
1202
|
DesignAtomsCompatibilityApiClient.prototype.processImg = function (response) {
|
|
1127
|
-
var
|
|
1203
|
+
var e_10, _a;
|
|
1128
1204
|
var _this = this;
|
|
1129
1205
|
var status = response.status;
|
|
1130
1206
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1137,12 +1213,12 @@
|
|
|
1137
1213
|
_headers[key] = response.headers.get(key);
|
|
1138
1214
|
}
|
|
1139
1215
|
}
|
|
1140
|
-
catch (
|
|
1216
|
+
catch (e_10_1) { e_10 = { error: e_10_1 }; }
|
|
1141
1217
|
finally {
|
|
1142
1218
|
try {
|
|
1143
1219
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1144
1220
|
}
|
|
1145
|
-
finally { if (
|
|
1221
|
+
finally { if (e_10) throw e_10.error; }
|
|
1146
1222
|
}
|
|
1147
1223
|
}
|
|
1148
1224
|
if (status === 200 || status === 206) {
|
|
@@ -1212,7 +1288,7 @@
|
|
|
1212
1288
|
}));
|
|
1213
1289
|
};
|
|
1214
1290
|
DesignAtomsCompatibilityApiClient.prototype.processGetLicense = function (response) {
|
|
1215
|
-
var
|
|
1291
|
+
var e_11, _a;
|
|
1216
1292
|
var _this = this;
|
|
1217
1293
|
var status = response.status;
|
|
1218
1294
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1225,12 +1301,12 @@
|
|
|
1225
1301
|
_headers[key] = response.headers.get(key);
|
|
1226
1302
|
}
|
|
1227
1303
|
}
|
|
1228
|
-
catch (
|
|
1304
|
+
catch (e_11_1) { e_11 = { error: e_11_1 }; }
|
|
1229
1305
|
finally {
|
|
1230
1306
|
try {
|
|
1231
1307
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1232
1308
|
}
|
|
1233
|
-
finally { if (
|
|
1309
|
+
finally { if (e_11) throw e_11.error; }
|
|
1234
1310
|
}
|
|
1235
1311
|
}
|
|
1236
1312
|
if (status === 200) {
|
|
@@ -1292,7 +1368,7 @@
|
|
|
1292
1368
|
}));
|
|
1293
1369
|
};
|
|
1294
1370
|
DesignAtomsCompatibilityApiClient.prototype.processPth = function (response) {
|
|
1295
|
-
var
|
|
1371
|
+
var e_12, _a;
|
|
1296
1372
|
var _this = this;
|
|
1297
1373
|
var status = response.status;
|
|
1298
1374
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1305,12 +1381,12 @@
|
|
|
1305
1381
|
_headers[key] = response.headers.get(key);
|
|
1306
1382
|
}
|
|
1307
1383
|
}
|
|
1308
|
-
catch (
|
|
1384
|
+
catch (e_12_1) { e_12 = { error: e_12_1 }; }
|
|
1309
1385
|
finally {
|
|
1310
1386
|
try {
|
|
1311
1387
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1312
1388
|
}
|
|
1313
|
-
finally { if (
|
|
1389
|
+
finally { if (e_12) throw e_12.error; }
|
|
1314
1390
|
}
|
|
1315
1391
|
}
|
|
1316
1392
|
if (status === 200 || status === 206) {
|
|
@@ -1383,7 +1459,7 @@
|
|
|
1383
1459
|
}));
|
|
1384
1460
|
};
|
|
1385
1461
|
DesignAtomsCompatibilityApiClient.prototype.processResource = function (response) {
|
|
1386
|
-
var
|
|
1462
|
+
var e_13, _a;
|
|
1387
1463
|
var _this = this;
|
|
1388
1464
|
var status = response.status;
|
|
1389
1465
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1396,12 +1472,12 @@
|
|
|
1396
1472
|
_headers[key] = response.headers.get(key);
|
|
1397
1473
|
}
|
|
1398
1474
|
}
|
|
1399
|
-
catch (
|
|
1475
|
+
catch (e_13_1) { e_13 = { error: e_13_1 }; }
|
|
1400
1476
|
finally {
|
|
1401
1477
|
try {
|
|
1402
1478
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1403
1479
|
}
|
|
1404
|
-
finally { if (
|
|
1480
|
+
finally { if (e_13) throw e_13.error; }
|
|
1405
1481
|
}
|
|
1406
1482
|
}
|
|
1407
1483
|
if (status === 200 || status === 206) {
|
|
@@ -1469,7 +1545,7 @@
|
|
|
1469
1545
|
}));
|
|
1470
1546
|
};
|
|
1471
1547
|
DesignAtomsCompatibilityApiClient.prototype.processSvg = function (response) {
|
|
1472
|
-
var
|
|
1548
|
+
var e_14, _a;
|
|
1473
1549
|
var _this = this;
|
|
1474
1550
|
var status = response.status;
|
|
1475
1551
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1482,12 +1558,12 @@
|
|
|
1482
1558
|
_headers[key] = response.headers.get(key);
|
|
1483
1559
|
}
|
|
1484
1560
|
}
|
|
1485
|
-
catch (
|
|
1561
|
+
catch (e_14_1) { e_14 = { error: e_14_1 }; }
|
|
1486
1562
|
finally {
|
|
1487
1563
|
try {
|
|
1488
1564
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1489
1565
|
}
|
|
1490
|
-
finally { if (
|
|
1566
|
+
finally { if (e_14) throw e_14.error; }
|
|
1491
1567
|
}
|
|
1492
1568
|
}
|
|
1493
1569
|
if (status === 200 || status === 206) {
|
|
@@ -1560,7 +1636,7 @@
|
|
|
1560
1636
|
}));
|
|
1561
1637
|
};
|
|
1562
1638
|
DesignAtomsCompatibilityApiClient.prototype.processTxt = function (response) {
|
|
1563
|
-
var
|
|
1639
|
+
var e_15, _a;
|
|
1564
1640
|
var _this = this;
|
|
1565
1641
|
var status = response.status;
|
|
1566
1642
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1573,12 +1649,12 @@
|
|
|
1573
1649
|
_headers[key] = response.headers.get(key);
|
|
1574
1650
|
}
|
|
1575
1651
|
}
|
|
1576
|
-
catch (
|
|
1652
|
+
catch (e_15_1) { e_15 = { error: e_15_1 }; }
|
|
1577
1653
|
finally {
|
|
1578
1654
|
try {
|
|
1579
1655
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1580
1656
|
}
|
|
1581
|
-
finally { if (
|
|
1657
|
+
finally { if (e_15) throw e_15.error; }
|
|
1582
1658
|
}
|
|
1583
1659
|
}
|
|
1584
1660
|
if (status === 200 || status === 206) {
|
|
@@ -1652,7 +1728,7 @@
|
|
|
1652
1728
|
}));
|
|
1653
1729
|
};
|
|
1654
1730
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
|
|
1655
|
-
var
|
|
1731
|
+
var e_16, _a;
|
|
1656
1732
|
var _this = this;
|
|
1657
1733
|
var status = response.status;
|
|
1658
1734
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1665,12 +1741,12 @@
|
|
|
1665
1741
|
_headers[key] = response.headers.get(key);
|
|
1666
1742
|
}
|
|
1667
1743
|
}
|
|
1668
|
-
catch (
|
|
1744
|
+
catch (e_16_1) { e_16 = { error: e_16_1 }; }
|
|
1669
1745
|
finally {
|
|
1670
1746
|
try {
|
|
1671
1747
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1672
1748
|
}
|
|
1673
|
-
finally { if (
|
|
1749
|
+
finally { if (e_16) throw e_16.error; }
|
|
1674
1750
|
}
|
|
1675
1751
|
}
|
|
1676
1752
|
if (status === 200) {
|
|
@@ -1733,7 +1809,7 @@
|
|
|
1733
1809
|
}));
|
|
1734
1810
|
};
|
|
1735
1811
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
|
|
1736
|
-
var
|
|
1812
|
+
var e_17, _a;
|
|
1737
1813
|
var _this = this;
|
|
1738
1814
|
var status = response.status;
|
|
1739
1815
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1746,12 +1822,12 @@
|
|
|
1746
1822
|
_headers[key] = response.headers.get(key);
|
|
1747
1823
|
}
|
|
1748
1824
|
}
|
|
1749
|
-
catch (
|
|
1825
|
+
catch (e_17_1) { e_17 = { error: e_17_1 }; }
|
|
1750
1826
|
finally {
|
|
1751
1827
|
try {
|
|
1752
1828
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1753
1829
|
}
|
|
1754
|
-
finally { if (
|
|
1830
|
+
finally { if (e_17) throw e_17.error; }
|
|
1755
1831
|
}
|
|
1756
1832
|
}
|
|
1757
1833
|
if (status === 200) {
|
|
@@ -1814,7 +1890,7 @@
|
|
|
1814
1890
|
}));
|
|
1815
1891
|
};
|
|
1816
1892
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
|
|
1817
|
-
var
|
|
1893
|
+
var e_18, _a;
|
|
1818
1894
|
var _this = this;
|
|
1819
1895
|
var status = response.status;
|
|
1820
1896
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1827,12 +1903,12 @@
|
|
|
1827
1903
|
_headers[key] = response.headers.get(key);
|
|
1828
1904
|
}
|
|
1829
1905
|
}
|
|
1830
|
-
catch (
|
|
1906
|
+
catch (e_18_1) { e_18 = { error: e_18_1 }; }
|
|
1831
1907
|
finally {
|
|
1832
1908
|
try {
|
|
1833
1909
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1834
1910
|
}
|
|
1835
|
-
finally { if (
|
|
1911
|
+
finally { if (e_18) throw e_18.error; }
|
|
1836
1912
|
}
|
|
1837
1913
|
}
|
|
1838
1914
|
if (status === 200) {
|
|
@@ -1895,7 +1971,7 @@
|
|
|
1895
1971
|
}));
|
|
1896
1972
|
};
|
|
1897
1973
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
|
|
1898
|
-
var
|
|
1974
|
+
var e_19, _a;
|
|
1899
1975
|
var _this = this;
|
|
1900
1976
|
var status = response.status;
|
|
1901
1977
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1908,12 +1984,12 @@
|
|
|
1908
1984
|
_headers[key] = response.headers.get(key);
|
|
1909
1985
|
}
|
|
1910
1986
|
}
|
|
1911
|
-
catch (
|
|
1987
|
+
catch (e_19_1) { e_19 = { error: e_19_1 }; }
|
|
1912
1988
|
finally {
|
|
1913
1989
|
try {
|
|
1914
1990
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1915
1991
|
}
|
|
1916
|
-
finally { if (
|
|
1992
|
+
finally { if (e_19) throw e_19.error; }
|
|
1917
1993
|
}
|
|
1918
1994
|
}
|
|
1919
1995
|
if (status === 200) {
|
|
@@ -1976,7 +2052,7 @@
|
|
|
1976
2052
|
}));
|
|
1977
2053
|
};
|
|
1978
2054
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateByColorData = function (response) {
|
|
1979
|
-
var
|
|
2055
|
+
var e_20, _a;
|
|
1980
2056
|
var _this = this;
|
|
1981
2057
|
var status = response.status;
|
|
1982
2058
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1989,12 +2065,12 @@
|
|
|
1989
2065
|
_headers[key] = response.headers.get(key);
|
|
1990
2066
|
}
|
|
1991
2067
|
}
|
|
1992
|
-
catch (
|
|
2068
|
+
catch (e_20_1) { e_20 = { error: e_20_1 }; }
|
|
1993
2069
|
finally {
|
|
1994
2070
|
try {
|
|
1995
2071
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1996
2072
|
}
|
|
1997
|
-
finally { if (
|
|
2073
|
+
finally { if (e_20) throw e_20.error; }
|
|
1998
2074
|
}
|
|
1999
2075
|
}
|
|
2000
2076
|
if (status === 200) {
|
|
@@ -2057,7 +2133,7 @@
|
|
|
2057
2133
|
}));
|
|
2058
2134
|
};
|
|
2059
2135
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
|
|
2060
|
-
var
|
|
2136
|
+
var e_21, _a;
|
|
2061
2137
|
var _this = this;
|
|
2062
2138
|
var status = response.status;
|
|
2063
2139
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2070,12 +2146,12 @@
|
|
|
2070
2146
|
_headers[key] = response.headers.get(key);
|
|
2071
2147
|
}
|
|
2072
2148
|
}
|
|
2073
|
-
catch (
|
|
2149
|
+
catch (e_21_1) { e_21 = { error: e_21_1 }; }
|
|
2074
2150
|
finally {
|
|
2075
2151
|
try {
|
|
2076
2152
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2077
2153
|
}
|
|
2078
|
-
finally { if (
|
|
2154
|
+
finally { if (e_21) throw e_21.error; }
|
|
2079
2155
|
}
|
|
2080
2156
|
}
|
|
2081
2157
|
if (status === 200) {
|
|
@@ -2138,7 +2214,7 @@
|
|
|
2138
2214
|
}));
|
|
2139
2215
|
};
|
|
2140
2216
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
|
|
2141
|
-
var
|
|
2217
|
+
var e_22, _a;
|
|
2142
2218
|
var _this = this;
|
|
2143
2219
|
var status = response.status;
|
|
2144
2220
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2151,12 +2227,12 @@
|
|
|
2151
2227
|
_headers[key] = response.headers.get(key);
|
|
2152
2228
|
}
|
|
2153
2229
|
}
|
|
2154
|
-
catch (
|
|
2230
|
+
catch (e_22_1) { e_22 = { error: e_22_1 }; }
|
|
2155
2231
|
finally {
|
|
2156
2232
|
try {
|
|
2157
2233
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2158
2234
|
}
|
|
2159
|
-
finally { if (
|
|
2235
|
+
finally { if (e_22) throw e_22.error; }
|
|
2160
2236
|
}
|
|
2161
2237
|
}
|
|
2162
2238
|
if (status === 200) {
|
|
@@ -2219,7 +2295,7 @@
|
|
|
2219
2295
|
}));
|
|
2220
2296
|
};
|
|
2221
2297
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateImageItemHandler = function (response) {
|
|
2222
|
-
var
|
|
2298
|
+
var e_23, _a;
|
|
2223
2299
|
var _this = this;
|
|
2224
2300
|
var status = response.status;
|
|
2225
2301
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2232,12 +2308,12 @@
|
|
|
2232
2308
|
_headers[key] = response.headers.get(key);
|
|
2233
2309
|
}
|
|
2234
2310
|
}
|
|
2235
|
-
catch (
|
|
2311
|
+
catch (e_23_1) { e_23 = { error: e_23_1 }; }
|
|
2236
2312
|
finally {
|
|
2237
2313
|
try {
|
|
2238
2314
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2239
2315
|
}
|
|
2240
|
-
finally { if (
|
|
2316
|
+
finally { if (e_23) throw e_23.error; }
|
|
2241
2317
|
}
|
|
2242
2318
|
}
|
|
2243
2319
|
if (status === 200) {
|
|
@@ -2300,7 +2376,7 @@
|
|
|
2300
2376
|
}));
|
|
2301
2377
|
};
|
|
2302
2378
|
DesignAtomsCompatibilityApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
|
|
2303
|
-
var
|
|
2379
|
+
var e_24, _a;
|
|
2304
2380
|
var _this = this;
|
|
2305
2381
|
var status = response.status;
|
|
2306
2382
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2313,12 +2389,12 @@
|
|
|
2313
2389
|
_headers[key] = response.headers.get(key);
|
|
2314
2390
|
}
|
|
2315
2391
|
}
|
|
2316
|
-
catch (
|
|
2392
|
+
catch (e_24_1) { e_24 = { error: e_24_1 }; }
|
|
2317
2393
|
finally {
|
|
2318
2394
|
try {
|
|
2319
2395
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2320
2396
|
}
|
|
2321
|
-
finally { if (
|
|
2397
|
+
finally { if (e_24) throw e_24.error; }
|
|
2322
2398
|
}
|
|
2323
2399
|
}
|
|
2324
2400
|
if (status === 200) {
|
|
@@ -2381,7 +2457,7 @@
|
|
|
2381
2457
|
}));
|
|
2382
2458
|
};
|
|
2383
2459
|
DesignAtomsCompatibilityApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
|
|
2384
|
-
var
|
|
2460
|
+
var e_25, _a;
|
|
2385
2461
|
var _this = this;
|
|
2386
2462
|
var status = response.status;
|
|
2387
2463
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2394,12 +2470,12 @@
|
|
|
2394
2470
|
_headers[key] = response.headers.get(key);
|
|
2395
2471
|
}
|
|
2396
2472
|
}
|
|
2397
|
-
catch (
|
|
2473
|
+
catch (e_25_1) { e_25 = { error: e_25_1 }; }
|
|
2398
2474
|
finally {
|
|
2399
2475
|
try {
|
|
2400
2476
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2401
2477
|
}
|
|
2402
|
-
finally { if (
|
|
2478
|
+
finally { if (e_25) throw e_25.error; }
|
|
2403
2479
|
}
|
|
2404
2480
|
}
|
|
2405
2481
|
if (status === 200) {
|
|
@@ -2462,7 +2538,7 @@
|
|
|
2462
2538
|
}));
|
|
2463
2539
|
};
|
|
2464
2540
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateShapeItemHandler = function (response) {
|
|
2465
|
-
var
|
|
2541
|
+
var e_26, _a;
|
|
2466
2542
|
var _this = this;
|
|
2467
2543
|
var status = response.status;
|
|
2468
2544
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2475,12 +2551,12 @@
|
|
|
2475
2551
|
_headers[key] = response.headers.get(key);
|
|
2476
2552
|
}
|
|
2477
2553
|
}
|
|
2478
|
-
catch (
|
|
2554
|
+
catch (e_26_1) { e_26 = { error: e_26_1 }; }
|
|
2479
2555
|
finally {
|
|
2480
2556
|
try {
|
|
2481
2557
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2482
2558
|
}
|
|
2483
|
-
finally { if (
|
|
2559
|
+
finally { if (e_26) throw e_26.error; }
|
|
2484
2560
|
}
|
|
2485
2561
|
}
|
|
2486
2562
|
if (status === 200) {
|
|
@@ -2572,7 +2648,7 @@
|
|
|
2572
2648
|
}));
|
|
2573
2649
|
};
|
|
2574
2650
|
DesignAtomsImagesApiClient.prototype.processRenderImagePreview = function (response) {
|
|
2575
|
-
var
|
|
2651
|
+
var e_27, _a;
|
|
2576
2652
|
var _this = this;
|
|
2577
2653
|
var status = response.status;
|
|
2578
2654
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2585,12 +2661,12 @@
|
|
|
2585
2661
|
_headers[key] = response.headers.get(key);
|
|
2586
2662
|
}
|
|
2587
2663
|
}
|
|
2588
|
-
catch (
|
|
2664
|
+
catch (e_27_1) { e_27 = { error: e_27_1 }; }
|
|
2589
2665
|
finally {
|
|
2590
2666
|
try {
|
|
2591
2667
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2592
2668
|
}
|
|
2593
|
-
finally { if (
|
|
2669
|
+
finally { if (e_27) throw e_27.error; }
|
|
2594
2670
|
}
|
|
2595
2671
|
}
|
|
2596
2672
|
if (status === 200 || status === 206) {
|
|
@@ -2687,7 +2763,7 @@
|
|
|
2687
2763
|
}));
|
|
2688
2764
|
};
|
|
2689
2765
|
DesignAtomsServiceApiClient.prototype.processConvertColors = function (response) {
|
|
2690
|
-
var
|
|
2766
|
+
var e_28, _a;
|
|
2691
2767
|
var _this = this;
|
|
2692
2768
|
var status = response.status;
|
|
2693
2769
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2700,12 +2776,12 @@
|
|
|
2700
2776
|
_headers[key] = response.headers.get(key);
|
|
2701
2777
|
}
|
|
2702
2778
|
}
|
|
2703
|
-
catch (
|
|
2779
|
+
catch (e_28_1) { e_28 = { error: e_28_1 }; }
|
|
2704
2780
|
finally {
|
|
2705
2781
|
try {
|
|
2706
2782
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2707
2783
|
}
|
|
2708
|
-
finally { if (
|
|
2784
|
+
finally { if (e_28) throw e_28.error; }
|
|
2709
2785
|
}
|
|
2710
2786
|
}
|
|
2711
2787
|
if (status === 200) {
|
|
@@ -2794,7 +2870,7 @@
|
|
|
2794
2870
|
}));
|
|
2795
2871
|
};
|
|
2796
2872
|
DesignAtomsServiceApiClient.prototype.processCreateDesign = function (response) {
|
|
2797
|
-
var
|
|
2873
|
+
var e_29, _a;
|
|
2798
2874
|
var _this = this;
|
|
2799
2875
|
var status = response.status;
|
|
2800
2876
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2807,12 +2883,12 @@
|
|
|
2807
2883
|
_headers[key] = response.headers.get(key);
|
|
2808
2884
|
}
|
|
2809
2885
|
}
|
|
2810
|
-
catch (
|
|
2886
|
+
catch (e_29_1) { e_29 = { error: e_29_1 }; }
|
|
2811
2887
|
finally {
|
|
2812
2888
|
try {
|
|
2813
2889
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2814
2890
|
}
|
|
2815
|
-
finally { if (
|
|
2891
|
+
finally { if (e_29) throw e_29.error; }
|
|
2816
2892
|
}
|
|
2817
2893
|
}
|
|
2818
2894
|
if (status === 201) {
|
|
@@ -2894,7 +2970,7 @@
|
|
|
2894
2970
|
}));
|
|
2895
2971
|
};
|
|
2896
2972
|
DesignAtomsServiceApiClient.prototype.processExtractBackground = function (response) {
|
|
2897
|
-
var
|
|
2973
|
+
var e_30, _a;
|
|
2898
2974
|
var _this = this;
|
|
2899
2975
|
var status = response.status;
|
|
2900
2976
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2907,12 +2983,12 @@
|
|
|
2907
2983
|
_headers[key] = response.headers.get(key);
|
|
2908
2984
|
}
|
|
2909
2985
|
}
|
|
2910
|
-
catch (
|
|
2986
|
+
catch (e_30_1) { e_30 = { error: e_30_1 }; }
|
|
2911
2987
|
finally {
|
|
2912
2988
|
try {
|
|
2913
2989
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2914
2990
|
}
|
|
2915
|
-
finally { if (
|
|
2991
|
+
finally { if (e_30) throw e_30.error; }
|
|
2916
2992
|
}
|
|
2917
2993
|
}
|
|
2918
2994
|
if (status === 200 || status === 206) {
|
|
@@ -3007,7 +3083,7 @@
|
|
|
3007
3083
|
}));
|
|
3008
3084
|
};
|
|
3009
3085
|
DesignAtomsServiceApiClient.prototype.processLoadProduct = function (response) {
|
|
3010
|
-
var
|
|
3086
|
+
var e_31, _a;
|
|
3011
3087
|
var _this = this;
|
|
3012
3088
|
var status = response.status;
|
|
3013
3089
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3020,12 +3096,12 @@
|
|
|
3020
3096
|
_headers[key] = response.headers.get(key);
|
|
3021
3097
|
}
|
|
3022
3098
|
}
|
|
3023
|
-
catch (
|
|
3099
|
+
catch (e_31_1) { e_31 = { error: e_31_1 }; }
|
|
3024
3100
|
finally {
|
|
3025
3101
|
try {
|
|
3026
3102
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3027
3103
|
}
|
|
3028
|
-
finally { if (
|
|
3104
|
+
finally { if (e_31) throw e_31.error; }
|
|
3029
3105
|
}
|
|
3030
3106
|
}
|
|
3031
3107
|
if (status === 200) {
|
|
@@ -3117,7 +3193,7 @@
|
|
|
3117
3193
|
}));
|
|
3118
3194
|
};
|
|
3119
3195
|
DesignAtomsServiceApiClient.prototype.processSaveProduct = function (response) {
|
|
3120
|
-
var
|
|
3196
|
+
var e_32, _a;
|
|
3121
3197
|
var _this = this;
|
|
3122
3198
|
var status = response.status;
|
|
3123
3199
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3130,12 +3206,12 @@
|
|
|
3130
3206
|
_headers[key] = response.headers.get(key);
|
|
3131
3207
|
}
|
|
3132
3208
|
}
|
|
3133
|
-
catch (
|
|
3209
|
+
catch (e_32_1) { e_32 = { error: e_32_1 }; }
|
|
3134
3210
|
finally {
|
|
3135
3211
|
try {
|
|
3136
3212
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3137
3213
|
}
|
|
3138
|
-
finally { if (
|
|
3214
|
+
finally { if (e_32) throw e_32.error; }
|
|
3139
3215
|
}
|
|
3140
3216
|
}
|
|
3141
3217
|
if (status === 200) {
|
|
@@ -3244,7 +3320,7 @@
|
|
|
3244
3320
|
}));
|
|
3245
3321
|
};
|
|
3246
3322
|
DesignAtomsServiceApiClient.prototype.processPatchProduct = function (response) {
|
|
3247
|
-
var
|
|
3323
|
+
var e_33, _a;
|
|
3248
3324
|
var _this = this;
|
|
3249
3325
|
var status = response.status;
|
|
3250
3326
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3257,12 +3333,12 @@
|
|
|
3257
3333
|
_headers[key] = response.headers.get(key);
|
|
3258
3334
|
}
|
|
3259
3335
|
}
|
|
3260
|
-
catch (
|
|
3336
|
+
catch (e_33_1) { e_33 = { error: e_33_1 }; }
|
|
3261
3337
|
finally {
|
|
3262
3338
|
try {
|
|
3263
3339
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3264
3340
|
}
|
|
3265
|
-
finally { if (
|
|
3341
|
+
finally { if (e_33) throw e_33.error; }
|
|
3266
3342
|
}
|
|
3267
3343
|
}
|
|
3268
3344
|
if (status === 200) {
|
|
@@ -3349,7 +3425,7 @@
|
|
|
3349
3425
|
}));
|
|
3350
3426
|
};
|
|
3351
3427
|
DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
|
|
3352
|
-
var
|
|
3428
|
+
var e_34, _a;
|
|
3353
3429
|
var _this = this;
|
|
3354
3430
|
var status = response.status;
|
|
3355
3431
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3362,12 +3438,12 @@
|
|
|
3362
3438
|
_headers[key] = response.headers.get(key);
|
|
3363
3439
|
}
|
|
3364
3440
|
}
|
|
3365
|
-
catch (
|
|
3441
|
+
catch (e_34_1) { e_34 = { error: e_34_1 }; }
|
|
3366
3442
|
finally {
|
|
3367
3443
|
try {
|
|
3368
3444
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3369
3445
|
}
|
|
3370
|
-
finally { if (
|
|
3446
|
+
finally { if (e_34) throw e_34.error; }
|
|
3371
3447
|
}
|
|
3372
3448
|
}
|
|
3373
3449
|
if (status === 200 || status === 206) {
|
|
@@ -3462,7 +3538,7 @@
|
|
|
3462
3538
|
}));
|
|
3463
3539
|
};
|
|
3464
3540
|
DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
|
|
3465
|
-
var
|
|
3541
|
+
var e_35, _a;
|
|
3466
3542
|
var _this = this;
|
|
3467
3543
|
var status = response.status;
|
|
3468
3544
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3475,12 +3551,12 @@
|
|
|
3475
3551
|
_headers[key] = response.headers.get(key);
|
|
3476
3552
|
}
|
|
3477
3553
|
}
|
|
3478
|
-
catch (
|
|
3554
|
+
catch (e_35_1) { e_35 = { error: e_35_1 }; }
|
|
3479
3555
|
finally {
|
|
3480
3556
|
try {
|
|
3481
3557
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3482
3558
|
}
|
|
3483
|
-
finally { if (
|
|
3559
|
+
finally { if (e_35) throw e_35.error; }
|
|
3484
3560
|
}
|
|
3485
3561
|
}
|
|
3486
3562
|
if (status === 200) {
|
|
@@ -3572,7 +3648,7 @@
|
|
|
3572
3648
|
}));
|
|
3573
3649
|
};
|
|
3574
3650
|
DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
|
|
3575
|
-
var
|
|
3651
|
+
var e_36, _a;
|
|
3576
3652
|
var _this = this;
|
|
3577
3653
|
var status = response.status;
|
|
3578
3654
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3585,12 +3661,12 @@
|
|
|
3585
3661
|
_headers[key] = response.headers.get(key);
|
|
3586
3662
|
}
|
|
3587
3663
|
}
|
|
3588
|
-
catch (
|
|
3664
|
+
catch (e_36_1) { e_36 = { error: e_36_1 }; }
|
|
3589
3665
|
finally {
|
|
3590
3666
|
try {
|
|
3591
3667
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3592
3668
|
}
|
|
3593
|
-
finally { if (
|
|
3669
|
+
finally { if (e_36) throw e_36.error; }
|
|
3594
3670
|
}
|
|
3595
3671
|
}
|
|
3596
3672
|
if (status === 200) {
|
|
@@ -3684,7 +3760,7 @@
|
|
|
3684
3760
|
}));
|
|
3685
3761
|
};
|
|
3686
3762
|
DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
|
|
3687
|
-
var
|
|
3763
|
+
var e_37, _a;
|
|
3688
3764
|
var _this = this;
|
|
3689
3765
|
var status = response.status;
|
|
3690
3766
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3697,12 +3773,12 @@
|
|
|
3697
3773
|
_headers[key] = response.headers.get(key);
|
|
3698
3774
|
}
|
|
3699
3775
|
}
|
|
3700
|
-
catch (
|
|
3776
|
+
catch (e_37_1) { e_37 = { error: e_37_1 }; }
|
|
3701
3777
|
finally {
|
|
3702
3778
|
try {
|
|
3703
3779
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3704
3780
|
}
|
|
3705
|
-
finally { if (
|
|
3781
|
+
finally { if (e_37) throw e_37.error; }
|
|
3706
3782
|
}
|
|
3707
3783
|
}
|
|
3708
3784
|
if (status === 200) {
|
|
@@ -3801,7 +3877,7 @@
|
|
|
3801
3877
|
}));
|
|
3802
3878
|
};
|
|
3803
3879
|
DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
|
|
3804
|
-
var
|
|
3880
|
+
var e_38, _a;
|
|
3805
3881
|
var _this = this;
|
|
3806
3882
|
var status = response.status;
|
|
3807
3883
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3814,12 +3890,12 @@
|
|
|
3814
3890
|
_headers[key] = response.headers.get(key);
|
|
3815
3891
|
}
|
|
3816
3892
|
}
|
|
3817
|
-
catch (
|
|
3893
|
+
catch (e_38_1) { e_38 = { error: e_38_1 }; }
|
|
3818
3894
|
finally {
|
|
3819
3895
|
try {
|
|
3820
3896
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3821
3897
|
}
|
|
3822
|
-
finally { if (
|
|
3898
|
+
finally { if (e_38) throw e_38.error; }
|
|
3823
3899
|
}
|
|
3824
3900
|
}
|
|
3825
3901
|
if (status === 200) {
|
|
@@ -3904,7 +3980,7 @@
|
|
|
3904
3980
|
}));
|
|
3905
3981
|
};
|
|
3906
3982
|
DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
|
|
3907
|
-
var
|
|
3983
|
+
var e_39, _a;
|
|
3908
3984
|
var _this = this;
|
|
3909
3985
|
var status = response.status;
|
|
3910
3986
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3917,12 +3993,12 @@
|
|
|
3917
3993
|
_headers[key] = response.headers.get(key);
|
|
3918
3994
|
}
|
|
3919
3995
|
}
|
|
3920
|
-
catch (
|
|
3996
|
+
catch (e_39_1) { e_39 = { error: e_39_1 }; }
|
|
3921
3997
|
finally {
|
|
3922
3998
|
try {
|
|
3923
3999
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3924
4000
|
}
|
|
3925
|
-
finally { if (
|
|
4001
|
+
finally { if (e_39) throw e_39.error; }
|
|
3926
4002
|
}
|
|
3927
4003
|
}
|
|
3928
4004
|
if (status === 200) {
|
|
@@ -4003,7 +4079,7 @@
|
|
|
4003
4079
|
}));
|
|
4004
4080
|
};
|
|
4005
4081
|
DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
|
|
4006
|
-
var
|
|
4082
|
+
var e_40, _a;
|
|
4007
4083
|
var _this = this;
|
|
4008
4084
|
var status = response.status;
|
|
4009
4085
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4016,12 +4092,12 @@
|
|
|
4016
4092
|
_headers[key] = response.headers.get(key);
|
|
4017
4093
|
}
|
|
4018
4094
|
}
|
|
4019
|
-
catch (
|
|
4095
|
+
catch (e_40_1) { e_40 = { error: e_40_1 }; }
|
|
4020
4096
|
finally {
|
|
4021
4097
|
try {
|
|
4022
4098
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4023
4099
|
}
|
|
4024
|
-
finally { if (
|
|
4100
|
+
finally { if (e_40) throw e_40.error; }
|
|
4025
4101
|
}
|
|
4026
4102
|
}
|
|
4027
4103
|
if (status === 200) {
|
|
@@ -4110,7 +4186,7 @@
|
|
|
4110
4186
|
}));
|
|
4111
4187
|
};
|
|
4112
4188
|
DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
|
|
4113
|
-
var
|
|
4189
|
+
var e_41, _a;
|
|
4114
4190
|
var _this = this;
|
|
4115
4191
|
var status = response.status;
|
|
4116
4192
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4123,12 +4199,12 @@
|
|
|
4123
4199
|
_headers[key] = response.headers.get(key);
|
|
4124
4200
|
}
|
|
4125
4201
|
}
|
|
4126
|
-
catch (
|
|
4202
|
+
catch (e_41_1) { e_41 = { error: e_41_1 }; }
|
|
4127
4203
|
finally {
|
|
4128
4204
|
try {
|
|
4129
4205
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4130
4206
|
}
|
|
4131
|
-
finally { if (
|
|
4207
|
+
finally { if (e_41) throw e_41.error; }
|
|
4132
4208
|
}
|
|
4133
4209
|
}
|
|
4134
4210
|
if (status === 200) {
|
|
@@ -4214,7 +4290,7 @@
|
|
|
4214
4290
|
}));
|
|
4215
4291
|
};
|
|
4216
4292
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
|
|
4217
|
-
var
|
|
4293
|
+
var e_42, _a;
|
|
4218
4294
|
var _this = this;
|
|
4219
4295
|
var status = response.status;
|
|
4220
4296
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4227,12 +4303,12 @@
|
|
|
4227
4303
|
_headers[key] = response.headers.get(key);
|
|
4228
4304
|
}
|
|
4229
4305
|
}
|
|
4230
|
-
catch (
|
|
4306
|
+
catch (e_42_1) { e_42 = { error: e_42_1 }; }
|
|
4231
4307
|
finally {
|
|
4232
4308
|
try {
|
|
4233
4309
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4234
4310
|
}
|
|
4235
|
-
finally { if (
|
|
4311
|
+
finally { if (e_42) throw e_42.error; }
|
|
4236
4312
|
}
|
|
4237
4313
|
}
|
|
4238
4314
|
if (status === 201) {
|
|
@@ -4309,7 +4385,7 @@
|
|
|
4309
4385
|
}));
|
|
4310
4386
|
};
|
|
4311
4387
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
|
|
4312
|
-
var
|
|
4388
|
+
var e_43, _a;
|
|
4313
4389
|
var _this = this;
|
|
4314
4390
|
var status = response.status;
|
|
4315
4391
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4322,12 +4398,12 @@
|
|
|
4322
4398
|
_headers[key] = response.headers.get(key);
|
|
4323
4399
|
}
|
|
4324
4400
|
}
|
|
4325
|
-
catch (
|
|
4401
|
+
catch (e_43_1) { e_43 = { error: e_43_1 }; }
|
|
4326
4402
|
finally {
|
|
4327
4403
|
try {
|
|
4328
4404
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4329
4405
|
}
|
|
4330
|
-
finally { if (
|
|
4406
|
+
finally { if (e_43) throw e_43.error; }
|
|
4331
4407
|
}
|
|
4332
4408
|
}
|
|
4333
4409
|
if (status === 201) {
|
|
@@ -4405,7 +4481,7 @@
|
|
|
4405
4481
|
}));
|
|
4406
4482
|
};
|
|
4407
4483
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
|
|
4408
|
-
var
|
|
4484
|
+
var e_44, _a;
|
|
4409
4485
|
var _this = this;
|
|
4410
4486
|
var status = response.status;
|
|
4411
4487
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4418,12 +4494,12 @@
|
|
|
4418
4494
|
_headers[key] = response.headers.get(key);
|
|
4419
4495
|
}
|
|
4420
4496
|
}
|
|
4421
|
-
catch (
|
|
4497
|
+
catch (e_44_1) { e_44 = { error: e_44_1 }; }
|
|
4422
4498
|
finally {
|
|
4423
4499
|
try {
|
|
4424
4500
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4425
4501
|
}
|
|
4426
|
-
finally { if (
|
|
4502
|
+
finally { if (e_44) throw e_44.error; }
|
|
4427
4503
|
}
|
|
4428
4504
|
}
|
|
4429
4505
|
if (status === 200 || status === 206) {
|
|
@@ -4502,7 +4578,7 @@
|
|
|
4502
4578
|
}));
|
|
4503
4579
|
};
|
|
4504
4580
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
|
|
4505
|
-
var
|
|
4581
|
+
var e_45, _a;
|
|
4506
4582
|
var _this = this;
|
|
4507
4583
|
var status = response.status;
|
|
4508
4584
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4515,12 +4591,12 @@
|
|
|
4515
4591
|
_headers[key] = response.headers.get(key);
|
|
4516
4592
|
}
|
|
4517
4593
|
}
|
|
4518
|
-
catch (
|
|
4594
|
+
catch (e_45_1) { e_45 = { error: e_45_1 }; }
|
|
4519
4595
|
finally {
|
|
4520
4596
|
try {
|
|
4521
4597
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4522
4598
|
}
|
|
4523
|
-
finally { if (
|
|
4599
|
+
finally { if (e_45) throw e_45.error; }
|
|
4524
4600
|
}
|
|
4525
4601
|
}
|
|
4526
4602
|
if (status === 200 || status === 206) {
|
|
@@ -4598,7 +4674,7 @@
|
|
|
4598
4674
|
}));
|
|
4599
4675
|
};
|
|
4600
4676
|
DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
|
|
4601
|
-
var
|
|
4677
|
+
var e_46, _a;
|
|
4602
4678
|
var _this = this;
|
|
4603
4679
|
var status = response.status;
|
|
4604
4680
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4611,12 +4687,12 @@
|
|
|
4611
4687
|
_headers[key] = response.headers.get(key);
|
|
4612
4688
|
}
|
|
4613
4689
|
}
|
|
4614
|
-
catch (
|
|
4690
|
+
catch (e_46_1) { e_46 = { error: e_46_1 }; }
|
|
4615
4691
|
finally {
|
|
4616
4692
|
try {
|
|
4617
4693
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4618
4694
|
}
|
|
4619
|
-
finally { if (
|
|
4695
|
+
finally { if (e_46) throw e_46.error; }
|
|
4620
4696
|
}
|
|
4621
4697
|
}
|
|
4622
4698
|
if (status === 200 || status === 206) {
|
|
@@ -4712,7 +4788,7 @@
|
|
|
4712
4788
|
}));
|
|
4713
4789
|
};
|
|
4714
4790
|
DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
|
|
4715
|
-
var
|
|
4791
|
+
var e_47, _a;
|
|
4716
4792
|
var _this = this;
|
|
4717
4793
|
var status = response.status;
|
|
4718
4794
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4725,12 +4801,12 @@
|
|
|
4725
4801
|
_headers[key] = response.headers.get(key);
|
|
4726
4802
|
}
|
|
4727
4803
|
}
|
|
4728
|
-
catch (
|
|
4804
|
+
catch (e_47_1) { e_47 = { error: e_47_1 }; }
|
|
4729
4805
|
finally {
|
|
4730
4806
|
try {
|
|
4731
4807
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4732
4808
|
}
|
|
4733
|
-
finally { if (
|
|
4809
|
+
finally { if (e_47) throw e_47.error; }
|
|
4734
4810
|
}
|
|
4735
4811
|
}
|
|
4736
4812
|
if (status === 200) {
|
|
@@ -4794,7 +4870,7 @@
|
|
|
4794
4870
|
}));
|
|
4795
4871
|
};
|
|
4796
4872
|
DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
|
|
4797
|
-
var
|
|
4873
|
+
var e_48, _a;
|
|
4798
4874
|
var _this = this;
|
|
4799
4875
|
var status = response.status;
|
|
4800
4876
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4807,12 +4883,12 @@
|
|
|
4807
4883
|
_headers[key] = response.headers.get(key);
|
|
4808
4884
|
}
|
|
4809
4885
|
}
|
|
4810
|
-
catch (
|
|
4886
|
+
catch (e_48_1) { e_48 = { error: e_48_1 }; }
|
|
4811
4887
|
finally {
|
|
4812
4888
|
try {
|
|
4813
4889
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4814
4890
|
}
|
|
4815
|
-
finally { if (
|
|
4891
|
+
finally { if (e_48) throw e_48.error; }
|
|
4816
4892
|
}
|
|
4817
4893
|
}
|
|
4818
4894
|
if (status === 200 || status === 206) {
|
|
@@ -4882,7 +4958,7 @@
|
|
|
4882
4958
|
}));
|
|
4883
4959
|
};
|
|
4884
4960
|
DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
|
|
4885
|
-
var
|
|
4961
|
+
var e_49, _a;
|
|
4886
4962
|
var _this = this;
|
|
4887
4963
|
var status = response.status;
|
|
4888
4964
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4895,12 +4971,12 @@
|
|
|
4895
4971
|
_headers[key] = response.headers.get(key);
|
|
4896
4972
|
}
|
|
4897
4973
|
}
|
|
4898
|
-
catch (
|
|
4974
|
+
catch (e_49_1) { e_49 = { error: e_49_1 }; }
|
|
4899
4975
|
finally {
|
|
4900
4976
|
try {
|
|
4901
4977
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4902
4978
|
}
|
|
4903
|
-
finally { if (
|
|
4979
|
+
finally { if (e_49) throw e_49.error; }
|
|
4904
4980
|
}
|
|
4905
4981
|
}
|
|
4906
4982
|
if (status === 200 || status === 206) {
|
|
@@ -4930,6 +5006,84 @@
|
|
|
4930
5006
|
}
|
|
4931
5007
|
return rxjs.of(null);
|
|
4932
5008
|
};
|
|
5009
|
+
/**
|
|
5010
|
+
* @param tenantId (optional) Tenant identifier
|
|
5011
|
+
* @return Success
|
|
5012
|
+
*/
|
|
5013
|
+
DesignAtomsViewerApiClient.prototype.getFallbackFonts = function (tenantId) {
|
|
5014
|
+
var _this = this;
|
|
5015
|
+
var url_ = this.baseUrl + "/api/atoms/v1/ccviewer/GetFallbackFonts?";
|
|
5016
|
+
if (tenantId === null)
|
|
5017
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
5018
|
+
else if (tenantId !== undefined)
|
|
5019
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
5020
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
5021
|
+
var options_ = {
|
|
5022
|
+
observe: "response",
|
|
5023
|
+
responseType: "blob",
|
|
5024
|
+
headers: new i1.HttpHeaders({
|
|
5025
|
+
"Accept": "application/json"
|
|
5026
|
+
})
|
|
5027
|
+
};
|
|
5028
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
5029
|
+
return _this.http.request("get", url_, transformedOptions_);
|
|
5030
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
5031
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetFallbackFonts(r); });
|
|
5032
|
+
})).pipe(operators.catchError(function (response_) {
|
|
5033
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
5034
|
+
try {
|
|
5035
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetFallbackFonts(r); });
|
|
5036
|
+
}
|
|
5037
|
+
catch (e) {
|
|
5038
|
+
return rxjs.throwError(e);
|
|
5039
|
+
}
|
|
5040
|
+
}
|
|
5041
|
+
else
|
|
5042
|
+
return rxjs.throwError(response_);
|
|
5043
|
+
}));
|
|
5044
|
+
};
|
|
5045
|
+
DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
|
|
5046
|
+
var e_50, _a;
|
|
5047
|
+
var _this = this;
|
|
5048
|
+
var status = response.status;
|
|
5049
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
5050
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
5051
|
+
var _headers = {};
|
|
5052
|
+
if (response.headers) {
|
|
5053
|
+
try {
|
|
5054
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
5055
|
+
var key = _c.value;
|
|
5056
|
+
_headers[key] = response.headers.get(key);
|
|
5057
|
+
}
|
|
5058
|
+
}
|
|
5059
|
+
catch (e_50_1) { e_50 = { error: e_50_1 }; }
|
|
5060
|
+
finally {
|
|
5061
|
+
try {
|
|
5062
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5063
|
+
}
|
|
5064
|
+
finally { if (e_50) throw e_50.error; }
|
|
5065
|
+
}
|
|
5066
|
+
}
|
|
5067
|
+
if (status === 200 || status === 206) {
|
|
5068
|
+
var contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
5069
|
+
var fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
5070
|
+
var fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
5071
|
+
return rxjs.of({ fileName: fileName, data: responseBlob, status: status, headers: _headers });
|
|
5072
|
+
}
|
|
5073
|
+
else if (status === 500) {
|
|
5074
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
5075
|
+
var result500 = null;
|
|
5076
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
5077
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
5078
|
+
}));
|
|
5079
|
+
}
|
|
5080
|
+
else if (status !== 200 && status !== 204) {
|
|
5081
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
5082
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
5083
|
+
}));
|
|
5084
|
+
}
|
|
5085
|
+
return rxjs.of(null);
|
|
5086
|
+
};
|
|
4933
5087
|
/**
|
|
4934
5088
|
* @param tenantId (optional) Tenant identifier
|
|
4935
5089
|
* @param body (optional)
|
|
@@ -4971,7 +5125,7 @@
|
|
|
4971
5125
|
}));
|
|
4972
5126
|
};
|
|
4973
5127
|
DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
|
|
4974
|
-
var
|
|
5128
|
+
var e_51, _a;
|
|
4975
5129
|
var _this = this;
|
|
4976
5130
|
var status = response.status;
|
|
4977
5131
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4984,12 +5138,12 @@
|
|
|
4984
5138
|
_headers[key] = response.headers.get(key);
|
|
4985
5139
|
}
|
|
4986
5140
|
}
|
|
4987
|
-
catch (
|
|
5141
|
+
catch (e_51_1) { e_51 = { error: e_51_1 }; }
|
|
4988
5142
|
finally {
|
|
4989
5143
|
try {
|
|
4990
5144
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4991
5145
|
}
|
|
4992
|
-
finally { if (
|
|
5146
|
+
finally { if (e_51) throw e_51.error; }
|
|
4993
5147
|
}
|
|
4994
5148
|
}
|
|
4995
5149
|
if (status === 200) {
|
|
@@ -5054,7 +5208,7 @@
|
|
|
5054
5208
|
}));
|
|
5055
5209
|
};
|
|
5056
5210
|
DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
|
|
5057
|
-
var
|
|
5211
|
+
var e_52, _a;
|
|
5058
5212
|
var _this = this;
|
|
5059
5213
|
var status = response.status;
|
|
5060
5214
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5067,12 +5221,12 @@
|
|
|
5067
5221
|
_headers[key] = response.headers.get(key);
|
|
5068
5222
|
}
|
|
5069
5223
|
}
|
|
5070
|
-
catch (
|
|
5224
|
+
catch (e_52_1) { e_52 = { error: e_52_1 }; }
|
|
5071
5225
|
finally {
|
|
5072
5226
|
try {
|
|
5073
5227
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5074
5228
|
}
|
|
5075
|
-
finally { if (
|
|
5229
|
+
finally { if (e_52) throw e_52.error; }
|
|
5076
5230
|
}
|
|
5077
5231
|
}
|
|
5078
5232
|
if (status === 200) {
|
|
@@ -5137,7 +5291,7 @@
|
|
|
5137
5291
|
}));
|
|
5138
5292
|
};
|
|
5139
5293
|
DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
|
|
5140
|
-
var
|
|
5294
|
+
var e_53, _a;
|
|
5141
5295
|
var _this = this;
|
|
5142
5296
|
var status = response.status;
|
|
5143
5297
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5150,12 +5304,12 @@
|
|
|
5150
5304
|
_headers[key] = response.headers.get(key);
|
|
5151
5305
|
}
|
|
5152
5306
|
}
|
|
5153
|
-
catch (
|
|
5307
|
+
catch (e_53_1) { e_53 = { error: e_53_1 }; }
|
|
5154
5308
|
finally {
|
|
5155
5309
|
try {
|
|
5156
5310
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5157
5311
|
}
|
|
5158
|
-
finally { if (
|
|
5312
|
+
finally { if (e_53) throw e_53.error; }
|
|
5159
5313
|
}
|
|
5160
5314
|
}
|
|
5161
5315
|
if (status === 200) {
|
|
@@ -5264,7 +5418,7 @@
|
|
|
5264
5418
|
}));
|
|
5265
5419
|
};
|
|
5266
5420
|
DesignAtomsViewerApiClient.prototype.processImg = function (response) {
|
|
5267
|
-
var
|
|
5421
|
+
var e_54, _a;
|
|
5268
5422
|
var _this = this;
|
|
5269
5423
|
var status = response.status;
|
|
5270
5424
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5277,12 +5431,12 @@
|
|
|
5277
5431
|
_headers[key] = response.headers.get(key);
|
|
5278
5432
|
}
|
|
5279
5433
|
}
|
|
5280
|
-
catch (
|
|
5434
|
+
catch (e_54_1) { e_54 = { error: e_54_1 }; }
|
|
5281
5435
|
finally {
|
|
5282
5436
|
try {
|
|
5283
5437
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5284
5438
|
}
|
|
5285
|
-
finally { if (
|
|
5439
|
+
finally { if (e_54) throw e_54.error; }
|
|
5286
5440
|
}
|
|
5287
5441
|
}
|
|
5288
5442
|
if (status === 200 || status === 206) {
|
|
@@ -5354,7 +5508,7 @@
|
|
|
5354
5508
|
}));
|
|
5355
5509
|
};
|
|
5356
5510
|
DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
|
|
5357
|
-
var
|
|
5511
|
+
var e_55, _a;
|
|
5358
5512
|
var _this = this;
|
|
5359
5513
|
var status = response.status;
|
|
5360
5514
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5367,12 +5521,12 @@
|
|
|
5367
5521
|
_headers[key] = response.headers.get(key);
|
|
5368
5522
|
}
|
|
5369
5523
|
}
|
|
5370
|
-
catch (
|
|
5524
|
+
catch (e_55_1) { e_55 = { error: e_55_1 }; }
|
|
5371
5525
|
finally {
|
|
5372
5526
|
try {
|
|
5373
5527
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5374
5528
|
}
|
|
5375
|
-
finally { if (
|
|
5529
|
+
finally { if (e_55) throw e_55.error; }
|
|
5376
5530
|
}
|
|
5377
5531
|
}
|
|
5378
5532
|
if (status === 200) {
|
|
@@ -5436,7 +5590,7 @@
|
|
|
5436
5590
|
}));
|
|
5437
5591
|
};
|
|
5438
5592
|
DesignAtomsViewerApiClient.prototype.processPth = function (response) {
|
|
5439
|
-
var
|
|
5593
|
+
var e_56, _a;
|
|
5440
5594
|
var _this = this;
|
|
5441
5595
|
var status = response.status;
|
|
5442
5596
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5449,12 +5603,12 @@
|
|
|
5449
5603
|
_headers[key] = response.headers.get(key);
|
|
5450
5604
|
}
|
|
5451
5605
|
}
|
|
5452
|
-
catch (
|
|
5606
|
+
catch (e_56_1) { e_56 = { error: e_56_1 }; }
|
|
5453
5607
|
finally {
|
|
5454
5608
|
try {
|
|
5455
5609
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5456
5610
|
}
|
|
5457
|
-
finally { if (
|
|
5611
|
+
finally { if (e_56) throw e_56.error; }
|
|
5458
5612
|
}
|
|
5459
5613
|
}
|
|
5460
5614
|
if (status === 200 || status === 206) {
|
|
@@ -5529,7 +5683,7 @@
|
|
|
5529
5683
|
}));
|
|
5530
5684
|
};
|
|
5531
5685
|
DesignAtomsViewerApiClient.prototype.processResource = function (response) {
|
|
5532
|
-
var
|
|
5686
|
+
var e_57, _a;
|
|
5533
5687
|
var _this = this;
|
|
5534
5688
|
var status = response.status;
|
|
5535
5689
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5542,12 +5696,12 @@
|
|
|
5542
5696
|
_headers[key] = response.headers.get(key);
|
|
5543
5697
|
}
|
|
5544
5698
|
}
|
|
5545
|
-
catch (
|
|
5699
|
+
catch (e_57_1) { e_57 = { error: e_57_1 }; }
|
|
5546
5700
|
finally {
|
|
5547
5701
|
try {
|
|
5548
5702
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5549
5703
|
}
|
|
5550
|
-
finally { if (
|
|
5704
|
+
finally { if (e_57) throw e_57.error; }
|
|
5551
5705
|
}
|
|
5552
5706
|
}
|
|
5553
5707
|
if (status === 200 || status === 206) {
|
|
@@ -5617,7 +5771,7 @@
|
|
|
5617
5771
|
}));
|
|
5618
5772
|
};
|
|
5619
5773
|
DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
|
|
5620
|
-
var
|
|
5774
|
+
var e_58, _a;
|
|
5621
5775
|
var _this = this;
|
|
5622
5776
|
var status = response.status;
|
|
5623
5777
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5630,12 +5784,12 @@
|
|
|
5630
5784
|
_headers[key] = response.headers.get(key);
|
|
5631
5785
|
}
|
|
5632
5786
|
}
|
|
5633
|
-
catch (
|
|
5787
|
+
catch (e_58_1) { e_58 = { error: e_58_1 }; }
|
|
5634
5788
|
finally {
|
|
5635
5789
|
try {
|
|
5636
5790
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5637
5791
|
}
|
|
5638
|
-
finally { if (
|
|
5792
|
+
finally { if (e_58) throw e_58.error; }
|
|
5639
5793
|
}
|
|
5640
5794
|
}
|
|
5641
5795
|
if (status === 200 || status === 206) {
|
|
@@ -5710,7 +5864,7 @@
|
|
|
5710
5864
|
}));
|
|
5711
5865
|
};
|
|
5712
5866
|
DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
|
|
5713
|
-
var
|
|
5867
|
+
var e_59, _a;
|
|
5714
5868
|
var _this = this;
|
|
5715
5869
|
var status = response.status;
|
|
5716
5870
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5723,12 +5877,12 @@
|
|
|
5723
5877
|
_headers[key] = response.headers.get(key);
|
|
5724
5878
|
}
|
|
5725
5879
|
}
|
|
5726
|
-
catch (
|
|
5880
|
+
catch (e_59_1) { e_59 = { error: e_59_1 }; }
|
|
5727
5881
|
finally {
|
|
5728
5882
|
try {
|
|
5729
5883
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5730
5884
|
}
|
|
5731
|
-
finally { if (
|
|
5885
|
+
finally { if (e_59) throw e_59.error; }
|
|
5732
5886
|
}
|
|
5733
5887
|
}
|
|
5734
5888
|
if (status === 200 || status === 206) {
|
|
@@ -5804,7 +5958,7 @@
|
|
|
5804
5958
|
}));
|
|
5805
5959
|
};
|
|
5806
5960
|
DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
|
|
5807
|
-
var
|
|
5961
|
+
var e_60, _a;
|
|
5808
5962
|
var _this = this;
|
|
5809
5963
|
var status = response.status;
|
|
5810
5964
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5817,12 +5971,12 @@
|
|
|
5817
5971
|
_headers[key] = response.headers.get(key);
|
|
5818
5972
|
}
|
|
5819
5973
|
}
|
|
5820
|
-
catch (
|
|
5974
|
+
catch (e_60_1) { e_60 = { error: e_60_1 }; }
|
|
5821
5975
|
finally {
|
|
5822
5976
|
try {
|
|
5823
5977
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5824
5978
|
}
|
|
5825
|
-
finally { if (
|
|
5979
|
+
finally { if (e_60) throw e_60.error; }
|
|
5826
5980
|
}
|
|
5827
5981
|
}
|
|
5828
5982
|
if (status === 200) {
|
|
@@ -5887,7 +6041,7 @@
|
|
|
5887
6041
|
}));
|
|
5888
6042
|
};
|
|
5889
6043
|
DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
|
|
5890
|
-
var
|
|
6044
|
+
var e_61, _a;
|
|
5891
6045
|
var _this = this;
|
|
5892
6046
|
var status = response.status;
|
|
5893
6047
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5900,12 +6054,12 @@
|
|
|
5900
6054
|
_headers[key] = response.headers.get(key);
|
|
5901
6055
|
}
|
|
5902
6056
|
}
|
|
5903
|
-
catch (
|
|
6057
|
+
catch (e_61_1) { e_61 = { error: e_61_1 }; }
|
|
5904
6058
|
finally {
|
|
5905
6059
|
try {
|
|
5906
6060
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5907
6061
|
}
|
|
5908
|
-
finally { if (
|
|
6062
|
+
finally { if (e_61) throw e_61.error; }
|
|
5909
6063
|
}
|
|
5910
6064
|
}
|
|
5911
6065
|
if (status === 200) {
|
|
@@ -5970,7 +6124,7 @@
|
|
|
5970
6124
|
}));
|
|
5971
6125
|
};
|
|
5972
6126
|
DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
|
|
5973
|
-
var
|
|
6127
|
+
var e_62, _a;
|
|
5974
6128
|
var _this = this;
|
|
5975
6129
|
var status = response.status;
|
|
5976
6130
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5983,12 +6137,12 @@
|
|
|
5983
6137
|
_headers[key] = response.headers.get(key);
|
|
5984
6138
|
}
|
|
5985
6139
|
}
|
|
5986
|
-
catch (
|
|
6140
|
+
catch (e_62_1) { e_62 = { error: e_62_1 }; }
|
|
5987
6141
|
finally {
|
|
5988
6142
|
try {
|
|
5989
6143
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5990
6144
|
}
|
|
5991
|
-
finally { if (
|
|
6145
|
+
finally { if (e_62) throw e_62.error; }
|
|
5992
6146
|
}
|
|
5993
6147
|
}
|
|
5994
6148
|
if (status === 200) {
|
|
@@ -6053,7 +6207,7 @@
|
|
|
6053
6207
|
}));
|
|
6054
6208
|
};
|
|
6055
6209
|
DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
|
|
6056
|
-
var
|
|
6210
|
+
var e_63, _a;
|
|
6057
6211
|
var _this = this;
|
|
6058
6212
|
var status = response.status;
|
|
6059
6213
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6066,12 +6220,12 @@
|
|
|
6066
6220
|
_headers[key] = response.headers.get(key);
|
|
6067
6221
|
}
|
|
6068
6222
|
}
|
|
6069
|
-
catch (
|
|
6223
|
+
catch (e_63_1) { e_63 = { error: e_63_1 }; }
|
|
6070
6224
|
finally {
|
|
6071
6225
|
try {
|
|
6072
6226
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6073
6227
|
}
|
|
6074
|
-
finally { if (
|
|
6228
|
+
finally { if (e_63) throw e_63.error; }
|
|
6075
6229
|
}
|
|
6076
6230
|
}
|
|
6077
6231
|
if (status === 200) {
|
|
@@ -6136,7 +6290,7 @@
|
|
|
6136
6290
|
}));
|
|
6137
6291
|
};
|
|
6138
6292
|
DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
|
|
6139
|
-
var
|
|
6293
|
+
var e_64, _a;
|
|
6140
6294
|
var _this = this;
|
|
6141
6295
|
var status = response.status;
|
|
6142
6296
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6149,12 +6303,12 @@
|
|
|
6149
6303
|
_headers[key] = response.headers.get(key);
|
|
6150
6304
|
}
|
|
6151
6305
|
}
|
|
6152
|
-
catch (
|
|
6306
|
+
catch (e_64_1) { e_64 = { error: e_64_1 }; }
|
|
6153
6307
|
finally {
|
|
6154
6308
|
try {
|
|
6155
6309
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6156
6310
|
}
|
|
6157
|
-
finally { if (
|
|
6311
|
+
finally { if (e_64) throw e_64.error; }
|
|
6158
6312
|
}
|
|
6159
6313
|
}
|
|
6160
6314
|
if (status === 200) {
|
|
@@ -6219,7 +6373,7 @@
|
|
|
6219
6373
|
}));
|
|
6220
6374
|
};
|
|
6221
6375
|
DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
|
|
6222
|
-
var
|
|
6376
|
+
var e_65, _a;
|
|
6223
6377
|
var _this = this;
|
|
6224
6378
|
var status = response.status;
|
|
6225
6379
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6232,12 +6386,12 @@
|
|
|
6232
6386
|
_headers[key] = response.headers.get(key);
|
|
6233
6387
|
}
|
|
6234
6388
|
}
|
|
6235
|
-
catch (
|
|
6389
|
+
catch (e_65_1) { e_65 = { error: e_65_1 }; }
|
|
6236
6390
|
finally {
|
|
6237
6391
|
try {
|
|
6238
6392
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6239
6393
|
}
|
|
6240
|
-
finally { if (
|
|
6394
|
+
finally { if (e_65) throw e_65.error; }
|
|
6241
6395
|
}
|
|
6242
6396
|
}
|
|
6243
6397
|
if (status === 200) {
|
|
@@ -6302,7 +6456,7 @@
|
|
|
6302
6456
|
}));
|
|
6303
6457
|
};
|
|
6304
6458
|
DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
|
|
6305
|
-
var
|
|
6459
|
+
var e_66, _a;
|
|
6306
6460
|
var _this = this;
|
|
6307
6461
|
var status = response.status;
|
|
6308
6462
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6315,12 +6469,12 @@
|
|
|
6315
6469
|
_headers[key] = response.headers.get(key);
|
|
6316
6470
|
}
|
|
6317
6471
|
}
|
|
6318
|
-
catch (
|
|
6472
|
+
catch (e_66_1) { e_66 = { error: e_66_1 }; }
|
|
6319
6473
|
finally {
|
|
6320
6474
|
try {
|
|
6321
6475
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6322
6476
|
}
|
|
6323
|
-
finally { if (
|
|
6477
|
+
finally { if (e_66) throw e_66.error; }
|
|
6324
6478
|
}
|
|
6325
6479
|
}
|
|
6326
6480
|
if (status === 200) {
|
|
@@ -6385,7 +6539,7 @@
|
|
|
6385
6539
|
}));
|
|
6386
6540
|
};
|
|
6387
6541
|
DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
|
|
6388
|
-
var
|
|
6542
|
+
var e_67, _a;
|
|
6389
6543
|
var _this = this;
|
|
6390
6544
|
var status = response.status;
|
|
6391
6545
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6398,12 +6552,12 @@
|
|
|
6398
6552
|
_headers[key] = response.headers.get(key);
|
|
6399
6553
|
}
|
|
6400
6554
|
}
|
|
6401
|
-
catch (
|
|
6555
|
+
catch (e_67_1) { e_67 = { error: e_67_1 }; }
|
|
6402
6556
|
finally {
|
|
6403
6557
|
try {
|
|
6404
6558
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6405
6559
|
}
|
|
6406
|
-
finally { if (
|
|
6560
|
+
finally { if (e_67) throw e_67.error; }
|
|
6407
6561
|
}
|
|
6408
6562
|
}
|
|
6409
6563
|
if (status === 200) {
|
|
@@ -6468,7 +6622,7 @@
|
|
|
6468
6622
|
}));
|
|
6469
6623
|
};
|
|
6470
6624
|
DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
|
|
6471
|
-
var
|
|
6625
|
+
var e_68, _a;
|
|
6472
6626
|
var _this = this;
|
|
6473
6627
|
var status = response.status;
|
|
6474
6628
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6481,12 +6635,12 @@
|
|
|
6481
6635
|
_headers[key] = response.headers.get(key);
|
|
6482
6636
|
}
|
|
6483
6637
|
}
|
|
6484
|
-
catch (
|
|
6638
|
+
catch (e_68_1) { e_68 = { error: e_68_1 }; }
|
|
6485
6639
|
finally {
|
|
6486
6640
|
try {
|
|
6487
6641
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6488
6642
|
}
|
|
6489
|
-
finally { if (
|
|
6643
|
+
finally { if (e_68) throw e_68.error; }
|
|
6490
6644
|
}
|
|
6491
6645
|
}
|
|
6492
6646
|
if (status === 200) {
|
|
@@ -6551,7 +6705,7 @@
|
|
|
6551
6705
|
}));
|
|
6552
6706
|
};
|
|
6553
6707
|
DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
|
|
6554
|
-
var
|
|
6708
|
+
var e_69, _a;
|
|
6555
6709
|
var _this = this;
|
|
6556
6710
|
var status = response.status;
|
|
6557
6711
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6564,12 +6718,12 @@
|
|
|
6564
6718
|
_headers[key] = response.headers.get(key);
|
|
6565
6719
|
}
|
|
6566
6720
|
}
|
|
6567
|
-
catch (
|
|
6721
|
+
catch (e_69_1) { e_69 = { error: e_69_1 }; }
|
|
6568
6722
|
finally {
|
|
6569
6723
|
try {
|
|
6570
6724
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6571
6725
|
}
|
|
6572
|
-
finally { if (
|
|
6726
|
+
finally { if (e_69) throw e_69.error; }
|
|
6573
6727
|
}
|
|
6574
6728
|
}
|
|
6575
6729
|
if (status === 200) {
|
|
@@ -6634,7 +6788,7 @@
|
|
|
6634
6788
|
}));
|
|
6635
6789
|
};
|
|
6636
6790
|
DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
|
|
6637
|
-
var
|
|
6791
|
+
var e_70, _a;
|
|
6638
6792
|
var _this = this;
|
|
6639
6793
|
var status = response.status;
|
|
6640
6794
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6647,12 +6801,12 @@
|
|
|
6647
6801
|
_headers[key] = response.headers.get(key);
|
|
6648
6802
|
}
|
|
6649
6803
|
}
|
|
6650
|
-
catch (
|
|
6804
|
+
catch (e_70_1) { e_70 = { error: e_70_1 }; }
|
|
6651
6805
|
finally {
|
|
6652
6806
|
try {
|
|
6653
6807
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6654
6808
|
}
|
|
6655
|
-
finally { if (
|
|
6809
|
+
finally { if (e_70) throw e_70.error; }
|
|
6656
6810
|
}
|
|
6657
6811
|
}
|
|
6658
6812
|
if (status === 200) {
|