@infrab4a/connect-angular 3.4.3-beta.0 → 3.5.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/infrab4a-connect-angular.umd.js +48 -99
- package/bundles/infrab4a-connect-angular.umd.js.map +1 -1
- package/esm2015/angular-firestore.module.js +3 -31
- package/esm2015/angular-hasura-graphql.module.js +46 -2
- package/fesm2015/infrab4a-connect-angular.js +45 -29
- package/fesm2015/infrab4a-connect-angular.js.map +1 -1
- package/package.json +3 -3
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
32
32
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
/*! *****************************************************************************
|
|
35
35
|
Copyright (c) Microsoft Corporation.
|
|
36
36
|
|
|
37
37
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -98,64 +98,6 @@
|
|
|
98
98
|
function __param(paramIndex, decorator) {
|
|
99
99
|
return function (target, key) { decorator(target, key, paramIndex); };
|
|
100
100
|
}
|
|
101
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
102
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function")
|
|
103
|
-
throw new TypeError("Function expected"); return f; }
|
|
104
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
105
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
106
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
107
|
-
var _, done = false;
|
|
108
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
109
|
-
var context = {};
|
|
110
|
-
for (var p in contextIn)
|
|
111
|
-
context[p] = p === "access" ? {} : contextIn[p];
|
|
112
|
-
for (var p in contextIn.access)
|
|
113
|
-
context.access[p] = contextIn.access[p];
|
|
114
|
-
context.addInitializer = function (f) { if (done)
|
|
115
|
-
throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
116
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
117
|
-
if (kind === "accessor") {
|
|
118
|
-
if (result === void 0)
|
|
119
|
-
continue;
|
|
120
|
-
if (result === null || typeof result !== "object")
|
|
121
|
-
throw new TypeError("Object expected");
|
|
122
|
-
if (_ = accept(result.get))
|
|
123
|
-
descriptor.get = _;
|
|
124
|
-
if (_ = accept(result.set))
|
|
125
|
-
descriptor.set = _;
|
|
126
|
-
if (_ = accept(result.init))
|
|
127
|
-
initializers.push(_);
|
|
128
|
-
}
|
|
129
|
-
else if (_ = accept(result)) {
|
|
130
|
-
if (kind === "field")
|
|
131
|
-
initializers.push(_);
|
|
132
|
-
else
|
|
133
|
-
descriptor[key] = _;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
if (target)
|
|
137
|
-
Object.defineProperty(target, contextIn.name, descriptor);
|
|
138
|
-
done = true;
|
|
139
|
-
}
|
|
140
|
-
;
|
|
141
|
-
function __runInitializers(thisArg, initializers, value) {
|
|
142
|
-
var useValue = arguments.length > 2;
|
|
143
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
144
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
145
|
-
}
|
|
146
|
-
return useValue ? value : void 0;
|
|
147
|
-
}
|
|
148
|
-
;
|
|
149
|
-
function __propKey(x) {
|
|
150
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
|
151
|
-
}
|
|
152
|
-
;
|
|
153
|
-
function __setFunctionName(f, name, prefix) {
|
|
154
|
-
if (typeof name === "symbol")
|
|
155
|
-
name = name.description ? "[".concat(name.description, "]") : "";
|
|
156
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
157
|
-
}
|
|
158
|
-
;
|
|
159
101
|
function __metadata(metadataKey, metadataValue) {
|
|
160
102
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
161
103
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
@@ -187,7 +129,7 @@
|
|
|
187
129
|
function step(op) {
|
|
188
130
|
if (f)
|
|
189
131
|
throw new TypeError("Generator is already executing.");
|
|
190
|
-
while (
|
|
132
|
+
while (_)
|
|
191
133
|
try {
|
|
192
134
|
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)
|
|
193
135
|
return t;
|
|
@@ -251,11 +193,7 @@
|
|
|
251
193
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
252
194
|
if (k2 === undefined)
|
|
253
195
|
k2 = k;
|
|
254
|
-
|
|
255
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
256
|
-
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
257
|
-
}
|
|
258
|
-
Object.defineProperty(o, k2, desc);
|
|
196
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
259
197
|
}) : (function (o, m, k, k2) {
|
|
260
198
|
if (k2 === undefined)
|
|
261
199
|
k2 = k;
|
|
@@ -355,7 +293,7 @@
|
|
|
355
293
|
function __asyncDelegator(o) {
|
|
356
294
|
var i, p;
|
|
357
295
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
358
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
|
296
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
359
297
|
}
|
|
360
298
|
function __asyncValues(o) {
|
|
361
299
|
if (!Symbol.asyncIterator)
|
|
@@ -409,11 +347,6 @@
|
|
|
409
347
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
410
348
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
411
349
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
412
|
-
}
|
|
413
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
414
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
415
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
416
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
417
350
|
}
|
|
418
351
|
|
|
419
352
|
var AuthService = /** @class */ (function () {
|
|
@@ -1591,20 +1524,6 @@
|
|
|
1591
1524
|
},
|
|
1592
1525
|
deps: [i1$2.AngularFirestore],
|
|
1593
1526
|
},
|
|
1594
|
-
{
|
|
1595
|
-
provide: 'CampaignHashtagRepository',
|
|
1596
|
-
useFactory: function (firestore) {
|
|
1597
|
-
return new i1$1.CampaignHashtagFirestoreRepository(firestore.firestore);
|
|
1598
|
-
},
|
|
1599
|
-
deps: [i1$2.AngularFirestore],
|
|
1600
|
-
},
|
|
1601
|
-
{
|
|
1602
|
-
provide: 'CampaignDashboardRepository',
|
|
1603
|
-
useFactory: function (firestore) {
|
|
1604
|
-
return new i1$1.CampaignDashboardFirestoreRepository(firestore.firestore);
|
|
1605
|
-
},
|
|
1606
|
-
deps: [i1$2.AngularFirestore],
|
|
1607
|
-
},
|
|
1608
1527
|
{
|
|
1609
1528
|
provide: 'EditionRepository',
|
|
1610
1529
|
useFactory: function (firestore, subscriptionRepository) {
|
|
@@ -1771,20 +1690,6 @@
|
|
|
1771
1690
|
},
|
|
1772
1691
|
deps: [i1$2.AngularFirestore],
|
|
1773
1692
|
},
|
|
1774
|
-
{
|
|
1775
|
-
provide: 'CampaignHashtagRepository',
|
|
1776
|
-
useFactory: function (firestore) {
|
|
1777
|
-
return new i1$1.CampaignHashtagFirestoreRepository(firestore.firestore);
|
|
1778
|
-
},
|
|
1779
|
-
deps: [i1$2.AngularFirestore],
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
provide: 'CampaignDashboardRepository',
|
|
1783
|
-
useFactory: function (firestore) {
|
|
1784
|
-
return new i1$1.CampaignDashboardFirestoreRepository(firestore.firestore);
|
|
1785
|
-
},
|
|
1786
|
-
deps: [i1$2.AngularFirestore],
|
|
1787
|
-
},
|
|
1788
1693
|
{
|
|
1789
1694
|
provide: 'EditionRepository',
|
|
1790
1695
|
useFactory: function (firestore, subscriptionRepository) {
|
|
@@ -1954,6 +1859,28 @@
|
|
|
1954
1859
|
},
|
|
1955
1860
|
deps: [HASURA_OPTIONS],
|
|
1956
1861
|
},
|
|
1862
|
+
{
|
|
1863
|
+
provide: 'FilterOptionRepository',
|
|
1864
|
+
useExisting: i1$1.FilterOptionHasuraGraphQL,
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
provide: i1$1.FilterOptionHasuraGraphQL,
|
|
1868
|
+
useFactory: function (options) {
|
|
1869
|
+
return new i1$1.FilterOptionHasuraGraphQLRepository(options.endpoint, options.credentials);
|
|
1870
|
+
},
|
|
1871
|
+
deps: [HASURA_OPTIONS],
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
provide: 'FilterRepository',
|
|
1875
|
+
useExisting: i1$1.FilterHasuraGraphQLRepository,
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
provide: i1$1.FilterHasuraGraphQLRepository,
|
|
1879
|
+
useFactory: function (options, filterOptionRepository) {
|
|
1880
|
+
return new i1$1.FilterHasuraGraphQLRepository(options.endpoint, options.credentials, filterOptionRepository);
|
|
1881
|
+
},
|
|
1882
|
+
deps: [HASURA_OPTIONS],
|
|
1883
|
+
},
|
|
1957
1884
|
] });
|
|
1958
1885
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.12", ngImport: i0__namespace, type: AngularHasuraGraphQLModule, decorators: [{
|
|
1959
1886
|
type: i0.NgModule,
|
|
@@ -1992,6 +1919,28 @@
|
|
|
1992
1919
|
},
|
|
1993
1920
|
deps: [HASURA_OPTIONS],
|
|
1994
1921
|
},
|
|
1922
|
+
{
|
|
1923
|
+
provide: 'FilterOptionRepository',
|
|
1924
|
+
useExisting: i1$1.FilterOptionHasuraGraphQL,
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
provide: i1$1.FilterOptionHasuraGraphQL,
|
|
1928
|
+
useFactory: function (options) {
|
|
1929
|
+
return new i1$1.FilterOptionHasuraGraphQLRepository(options.endpoint, options.credentials);
|
|
1930
|
+
},
|
|
1931
|
+
deps: [HASURA_OPTIONS],
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
provide: 'FilterRepository',
|
|
1935
|
+
useExisting: i1$1.FilterHasuraGraphQLRepository,
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
provide: i1$1.FilterHasuraGraphQLRepository,
|
|
1939
|
+
useFactory: function (options, filterOptionRepository) {
|
|
1940
|
+
return new i1$1.FilterHasuraGraphQLRepository(options.endpoint, options.credentials, filterOptionRepository);
|
|
1941
|
+
},
|
|
1942
|
+
deps: [HASURA_OPTIONS],
|
|
1943
|
+
},
|
|
1995
1944
|
],
|
|
1996
1945
|
}]
|
|
1997
1946
|
}] });
|