@daffodil/geography 0.38.9 → 0.39.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/daffodil-geography-driver-in-memory.umd.js +12 -124
- package/bundles/daffodil-geography-driver-in-memory.umd.js.map +1 -1
- package/bundles/daffodil-geography-driver-in-memory.umd.min.js +1 -1
- package/bundles/daffodil-geography-driver-in-memory.umd.min.js.map +1 -1
- package/bundles/daffodil-geography-driver-magento.umd.js +15 -170
- package/bundles/daffodil-geography-driver-magento.umd.js.map +1 -1
- package/bundles/daffodil-geography-driver-magento.umd.min.js +1 -1
- package/bundles/daffodil-geography-driver-magento.umd.min.js.map +1 -1
- package/bundles/daffodil-geography-driver-testing.umd.js +3 -59
- package/bundles/daffodil-geography-driver-testing.umd.js.map +1 -1
- package/bundles/daffodil-geography-driver-testing.umd.min.js +1 -1
- package/bundles/daffodil-geography-driver-testing.umd.min.js.map +1 -1
- package/bundles/daffodil-geography-driver.umd.js +2 -58
- package/bundles/daffodil-geography-driver.umd.js.map +1 -1
- package/bundles/daffodil-geography-driver.umd.min.js +1 -1
- package/bundles/daffodil-geography-driver.umd.min.js.map +1 -1
- package/bundles/daffodil-geography-state-testing.umd.js +3 -58
- package/bundles/daffodil-geography-state-testing.umd.js.map +1 -1
- package/bundles/daffodil-geography-state-testing.umd.min.js +1 -1
- package/bundles/daffodil-geography-state-testing.umd.min.js.map +1 -1
- package/bundles/daffodil-geography-state.umd.js +63 -489
- package/bundles/daffodil-geography-state.umd.js.map +1 -1
- package/bundles/daffodil-geography-state.umd.min.js +2 -2
- package/bundles/daffodil-geography-state.umd.min.js.map +1 -1
- package/bundles/daffodil-geography-testing.umd.js +6 -78
- package/bundles/daffodil-geography-testing.umd.js.map +1 -1
- package/bundles/daffodil-geography-testing.umd.min.js +2 -2
- package/bundles/daffodil-geography-testing.umd.min.js.map +1 -1
- package/bundles/daffodil-geography.umd.js +8 -44
- package/bundles/daffodil-geography.umd.js.map +1 -1
- package/bundles/daffodil-geography.umd.min.js.map +1 -1
- package/driver/in-memory/package.json +1 -1
- package/driver/magento/package.json +1 -1
- package/driver/package.json +1 -1
- package/driver/testing/package.json +1 -1
- package/esm2015/comparators/address.js +3 -9
- package/esm2015/comparators/personal-address.js +3 -9
- package/esm2015/comparators/public_api.js +1 -6
- package/esm2015/daffodil-geography.js +2 -7
- package/esm2015/driver/daffodil-geography-driver.js +2 -7
- package/esm2015/driver/errors/country-not-found.js +1 -15
- package/esm2015/driver/errors/invalid-api-response.js +1 -15
- package/esm2015/driver/errors/public_api.js +1 -6
- package/esm2015/driver/in-memory/backend/geography.service.js +9 -57
- package/esm2015/driver/in-memory/daffodil-geography-driver-in-memory.js +2 -7
- package/esm2015/driver/in-memory/drivers/geography-driver.module.js +1 -9
- package/esm2015/driver/in-memory/drivers/geography.service.js +4 -36
- package/esm2015/driver/in-memory/drivers/public_api.js +1 -6
- package/esm2015/driver/in-memory/index.js +2 -7
- package/esm2015/driver/in-memory/public_api.js +2 -7
- package/esm2015/driver/index.js +2 -7
- package/esm2015/driver/interfaces/geography-service.interface.js +1 -25
- package/esm2015/driver/magento/daffodil-geography-driver-magento.js +2 -7
- package/esm2015/driver/magento/errors/codes.js +5 -11
- package/esm2015/driver/magento/errors/map.js +1 -7
- package/esm2015/driver/magento/errors/transform.js +1 -10
- package/esm2015/driver/magento/geography-driver.module.js +1 -9
- package/esm2015/driver/magento/geography.service.js +5 -50
- package/esm2015/driver/magento/index.js +2 -7
- package/esm2015/driver/magento/models/responses/country.js +2 -26
- package/esm2015/driver/magento/models/responses/public_api.js +2 -6
- package/esm2015/driver/magento/models/responses/region.js +2 -20
- package/esm2015/driver/magento/public_api.js +3 -8
- package/esm2015/driver/magento/queries/fragments/country.js +1 -7
- package/esm2015/driver/magento/queries/fragments/public_api.js +1 -6
- package/esm2015/driver/magento/queries/fragments/region.js +1 -7
- package/esm2015/driver/magento/queries/get-countries.js +1 -7
- package/esm2015/driver/magento/queries/get-country.js +1 -7
- package/esm2015/driver/magento/queries/public_api.js +3 -8
- package/esm2015/driver/magento/queries/responses/get-countries.js +2 -14
- package/esm2015/driver/magento/queries/responses/get-country.js +2 -14
- package/esm2015/driver/magento/queries/responses/public_api.js +2 -6
- package/esm2015/driver/magento/transforms/responses/country.service.js +3 -26
- package/esm2015/driver/magento/transforms/responses/subdivision.service.js +2 -9
- package/esm2015/driver/magento/validators/get-countries.js +3 -13
- package/esm2015/driver/magento/validators/public_api.js +1 -6
- package/esm2015/driver/testing/daffodil-geography-driver-testing.js +2 -7
- package/esm2015/driver/testing/drivers/geography-driver.module.js +1 -9
- package/esm2015/driver/testing/drivers/geography.service.js +3 -31
- package/esm2015/driver/testing/drivers/public_api.js +1 -6
- package/esm2015/driver/testing/index.js +2 -7
- package/esm2015/driver/testing/public_api.js +2 -7
- package/esm2015/index.js +2 -7
- package/esm2015/injection-tokens/error-matcher.token.js +2 -11
- package/esm2015/injection-tokens/public_api.js +1 -6
- package/esm2015/models/address.js +2 -34
- package/esm2015/models/country.js +2 -30
- package/esm2015/models/personal-address.js +2 -28
- package/esm2015/models/public_api.js +2 -6
- package/esm2015/models/subdivision.js +2 -18
- package/esm2015/public_api.js +4 -9
- package/esm2015/state/actions/geography.actions.js +10 -74
- package/esm2015/state/actions/public_api.js +2 -7
- package/esm2015/state/daffodil-geography-state.js +2 -7
- package/esm2015/state/effects/geography.effects.js +3 -61
- package/esm2015/state/facades/geography/geography-facade.interface.js +2 -40
- package/esm2015/state/facades/geography/geography.facade.js +3 -62
- package/esm2015/state/geography-state.module.js +1 -6
- package/esm2015/state/index.js +4 -9
- package/esm2015/state/reducers/country-entities/country-entities-adapter.js +4 -18
- package/esm2015/state/reducers/country-entities/country-entities-initial-state.js +1 -7
- package/esm2015/state/reducers/country-entities/country-entities-state.interface.js +2 -6
- package/esm2015/state/reducers/country-entities/country-entities.reducer.js +7 -17
- package/esm2015/state/reducers/country-entities/public_api.js +1 -6
- package/esm2015/state/reducers/geography/geography-initial-state.js +1 -7
- package/esm2015/state/reducers/geography/geography-state.interface.js +2 -16
- package/esm2015/state/reducers/geography/geography.reducer.js +1 -12
- package/esm2015/state/reducers/geography/public_api.js +1 -6
- package/esm2015/state/reducers/geography-reducers-state.interface.js +1 -26
- package/esm2015/state/reducers/geography-reducers.js +1 -7
- package/esm2015/state/reducers/geography-store-feature-key.js +1 -7
- package/esm2015/state/reducers/public_api.js +3 -8
- package/esm2015/state/selectors/country-entities.selector.js +10 -84
- package/esm2015/state/selectors/geography-all.selector.js +4 -23
- package/esm2015/state/selectors/geography-feature.selector.js +5 -28
- package/esm2015/state/selectors/geography.selector.js +9 -55
- package/esm2015/state/selectors/public_api.js +2 -7
- package/esm2015/state/testing/daffodil-geography-state-testing.js +2 -7
- package/esm2015/state/testing/geography-testing.module.js +1 -6
- package/esm2015/state/testing/index.js +2 -7
- package/esm2015/state/testing/mock-geography-facade.js +3 -39
- package/esm2015/state/testing/public_api.js +1 -6
- package/esm2015/testing/daffodil-geography-testing.js +2 -7
- package/esm2015/testing/factories/address.factory.js +2 -21
- package/esm2015/testing/factories/country.factory.js +2 -21
- package/esm2015/testing/factories/personal-address.factory.js +2 -23
- package/esm2015/testing/factories/public_api.js +5 -10
- package/esm2015/testing/factories/subdivision.factory.js +2 -15
- package/esm2015/testing/index.js +2 -7
- package/esm2015/testing/public_api.js +2 -7
- package/fesm2015/daffodil-geography-driver-in-memory.js +13 -121
- package/fesm2015/daffodil-geography-driver-in-memory.js.map +1 -1
- package/fesm2015/daffodil-geography-driver-magento.js +15 -196
- package/fesm2015/daffodil-geography-driver-magento.js.map +1 -1
- package/fesm2015/daffodil-geography-driver-testing.js +4 -60
- package/fesm2015/daffodil-geography-driver-testing.js.map +1 -1
- package/fesm2015/daffodil-geography-driver.js +1 -67
- package/fesm2015/daffodil-geography-driver.js.map +1 -1
- package/fesm2015/daffodil-geography-state-testing.js +4 -59
- package/fesm2015/daffodil-geography-state-testing.js.map +1 -1
- package/fesm2015/daffodil-geography-state.js +49 -488
- package/fesm2015/daffodil-geography-state.js.map +1 -1
- package/fesm2015/daffodil-geography-testing.js +6 -98
- package/fesm2015/daffodil-geography-testing.js.map +1 -1
- package/fesm2015/daffodil-geography.js +8 -57
- package/fesm2015/daffodil-geography.js.map +1 -1
- package/package.json +3 -3
- package/state/package.json +1 -1
- package/state/testing/package.json +1 -1
- package/testing/package.json +1 -1
|
@@ -1,213 +1,97 @@
|
|
|
1
1
|
import { createFeatureSelector, createSelector, defaultMemoize, select, Store, StoreModule } from '@ngrx/store';
|
|
2
2
|
import { createEntityAdapter } from '@ngrx/entity';
|
|
3
|
-
import {
|
|
3
|
+
import { ɵɵdefineInjectable, ɵɵinject, Injectable, Inject, NgModule } from '@angular/core';
|
|
4
4
|
import { ofType, Actions, Effect, EffectsModule } from '@ngrx/effects';
|
|
5
5
|
import { of } from 'rxjs';
|
|
6
6
|
import { switchMap, map, catchError } from 'rxjs/operators';
|
|
7
7
|
import { DAFF_GEOGRAPHY_ERROR_MATCHER } from '@daffodil/geography';
|
|
8
8
|
import { DaffGeographyDriver } from '@daffodil/geography/driver';
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
CountryLoadFailureAction: "[DaffGeography] Country Load Failure Action",
|
|
20
|
-
CountryListAction: "[DaffGeography] Country List Action",
|
|
21
|
-
CountryListSuccessAction: "[DaffGeography] Country List Success Action",
|
|
22
|
-
CountryListFailureAction: "[DaffGeography] Country List Failure Action",
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* @template T
|
|
26
|
-
*/
|
|
10
|
+
var DaffGeographyActionTypes;
|
|
11
|
+
(function (DaffGeographyActionTypes) {
|
|
12
|
+
DaffGeographyActionTypes["CountryLoadAction"] = "[DaffGeography] Country Load Action";
|
|
13
|
+
DaffGeographyActionTypes["CountryLoadSuccessAction"] = "[DaffGeography] Country Load Success Action";
|
|
14
|
+
DaffGeographyActionTypes["CountryLoadFailureAction"] = "[DaffGeography] Country Load Failure Action";
|
|
15
|
+
DaffGeographyActionTypes["CountryListAction"] = "[DaffGeography] Country List Action";
|
|
16
|
+
DaffGeographyActionTypes["CountryListSuccessAction"] = "[DaffGeography] Country List Success Action";
|
|
17
|
+
DaffGeographyActionTypes["CountryListFailureAction"] = "[DaffGeography] Country List Failure Action";
|
|
18
|
+
})(DaffGeographyActionTypes || (DaffGeographyActionTypes = {}));
|
|
27
19
|
class DaffCountryLoad {
|
|
28
|
-
/**
|
|
29
|
-
* @param {?} payload
|
|
30
|
-
*/
|
|
31
20
|
constructor(payload) {
|
|
32
21
|
this.payload = payload;
|
|
33
22
|
this.type = DaffGeographyActionTypes.CountryLoadAction;
|
|
34
23
|
}
|
|
35
24
|
}
|
|
36
|
-
if (false) {
|
|
37
|
-
/** @type {?} */
|
|
38
|
-
DaffCountryLoad.prototype.type;
|
|
39
|
-
/** @type {?} */
|
|
40
|
-
DaffCountryLoad.prototype.payload;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* @template T
|
|
44
|
-
*/
|
|
45
25
|
class DaffCountryLoadSuccess {
|
|
46
|
-
/**
|
|
47
|
-
* @param {?} payload
|
|
48
|
-
*/
|
|
49
26
|
constructor(payload) {
|
|
50
27
|
this.payload = payload;
|
|
51
28
|
this.type = DaffGeographyActionTypes.CountryLoadSuccessAction;
|
|
52
29
|
}
|
|
53
30
|
}
|
|
54
|
-
if (false) {
|
|
55
|
-
/** @type {?} */
|
|
56
|
-
DaffCountryLoadSuccess.prototype.type;
|
|
57
|
-
/** @type {?} */
|
|
58
|
-
DaffCountryLoadSuccess.prototype.payload;
|
|
59
|
-
}
|
|
60
31
|
class DaffCountryLoadFailure {
|
|
61
|
-
/**
|
|
62
|
-
* @param {?} payload
|
|
63
|
-
*/
|
|
64
32
|
constructor(payload) {
|
|
65
33
|
this.payload = payload;
|
|
66
34
|
this.type = DaffGeographyActionTypes.CountryLoadFailureAction;
|
|
67
35
|
}
|
|
68
36
|
}
|
|
69
|
-
if (false) {
|
|
70
|
-
/** @type {?} */
|
|
71
|
-
DaffCountryLoadFailure.prototype.type;
|
|
72
|
-
/** @type {?} */
|
|
73
|
-
DaffCountryLoadFailure.prototype.payload;
|
|
74
|
-
}
|
|
75
37
|
class DaffCountryList {
|
|
76
38
|
constructor() {
|
|
77
39
|
this.type = DaffGeographyActionTypes.CountryListAction;
|
|
78
40
|
}
|
|
79
41
|
}
|
|
80
|
-
if (false) {
|
|
81
|
-
/** @type {?} */
|
|
82
|
-
DaffCountryList.prototype.type;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* @template T
|
|
86
|
-
*/
|
|
87
42
|
class DaffCountryListSuccess {
|
|
88
|
-
/**
|
|
89
|
-
* @param {?} payload
|
|
90
|
-
*/
|
|
91
43
|
constructor(payload) {
|
|
92
44
|
this.payload = payload;
|
|
93
45
|
this.type = DaffGeographyActionTypes.CountryListSuccessAction;
|
|
94
46
|
}
|
|
95
47
|
}
|
|
96
|
-
if (false) {
|
|
97
|
-
/** @type {?} */
|
|
98
|
-
DaffCountryListSuccess.prototype.type;
|
|
99
|
-
/** @type {?} */
|
|
100
|
-
DaffCountryListSuccess.prototype.payload;
|
|
101
|
-
}
|
|
102
48
|
class DaffCountryListFailure {
|
|
103
|
-
/**
|
|
104
|
-
* @param {?} payload
|
|
105
|
-
*/
|
|
106
49
|
constructor(payload) {
|
|
107
50
|
this.payload = payload;
|
|
108
51
|
this.type = DaffGeographyActionTypes.CountryListFailureAction;
|
|
109
52
|
}
|
|
110
53
|
}
|
|
111
|
-
if (false) {
|
|
112
|
-
/** @type {?} */
|
|
113
|
-
DaffCountryListFailure.prototype.type;
|
|
114
|
-
/** @type {?} */
|
|
115
|
-
DaffCountryListFailure.prototype.payload;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @fileoverview added by tsickle
|
|
120
|
-
* Generated from: actions/public_api.ts
|
|
121
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
122
|
-
*/
|
|
123
54
|
|
|
124
|
-
|
|
125
|
-
* @fileoverview added by tsickle
|
|
126
|
-
* Generated from: reducers/country-entities/country-entities-adapter.ts
|
|
127
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
128
|
-
*/
|
|
129
|
-
const ɵ0 = /**
|
|
130
|
-
* @return {?}
|
|
131
|
-
*/
|
|
132
|
-
() => {
|
|
133
|
-
/** @type {?} */
|
|
55
|
+
const ɵ0 = () => {
|
|
134
56
|
let cache;
|
|
135
|
-
return (
|
|
136
|
-
* @template T
|
|
137
|
-
* @return {?}
|
|
138
|
-
*/
|
|
139
|
-
() => cache = cache || createEntityAdapter());
|
|
57
|
+
return () => cache = cache || createEntityAdapter();
|
|
140
58
|
};
|
|
141
59
|
/**
|
|
142
60
|
* Country Adapter for changing/overwriting entity state.
|
|
143
|
-
* @type {?}
|
|
144
61
|
*/
|
|
145
|
-
const getCountryAdapter = (
|
|
62
|
+
const getCountryAdapter = (ɵ0)();
|
|
146
63
|
|
|
147
|
-
/**
|
|
148
|
-
* @fileoverview added by tsickle
|
|
149
|
-
* Generated from: reducers/country-entities/country-entities-initial-state.ts
|
|
150
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
151
|
-
*/
|
|
152
64
|
/**
|
|
153
65
|
* Initial state for country entity state.
|
|
154
|
-
* @type {?}
|
|
155
66
|
*/
|
|
156
67
|
const daffCountryEntitiesInitialState = getCountryAdapter().getInitialState();
|
|
157
68
|
|
|
158
|
-
/**
|
|
159
|
-
* @fileoverview added by tsickle
|
|
160
|
-
* Generated from: reducers/country-entities/country-entities.reducer.ts
|
|
161
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
162
|
-
*/
|
|
163
69
|
/**
|
|
164
70
|
* Reducer function that catches actions and changes/overwrites country entities state.
|
|
165
|
-
* @template T
|
|
166
|
-
* @param {?=} state
|
|
167
|
-
* @param {?=} action
|
|
168
|
-
* @return {?}
|
|
169
71
|
*/
|
|
170
72
|
function daffCountryEntitiesReducer(state = daffCountryEntitiesInitialState, action) {
|
|
171
|
-
/** @type {?} */
|
|
172
73
|
const adapter = getCountryAdapter();
|
|
173
74
|
switch (action.type) {
|
|
174
75
|
case DaffGeographyActionTypes.CountryLoadSuccessAction:
|
|
175
76
|
return adapter.upsertOne(Object.assign(Object.assign({}, action.payload), { loaded: true }), state);
|
|
176
77
|
case DaffGeographyActionTypes.CountryListSuccessAction:
|
|
177
|
-
return adapter.upsertMany(action.payload.map((
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
78
|
+
return adapter.upsertMany(action.payload.map(country => (Object.assign(Object.assign({}, country), {
|
|
79
|
+
// defer to the loaded state of the country already in state (if it exists) but init field to false if it does not
|
|
80
|
+
loaded: (state.entities[country.id] && state.entities[country.id].loaded) || false,
|
|
81
|
+
// if the country coming in has no subdivisions and the same country in state does, use the subdivisions in state
|
|
82
|
+
subdivisions: country.subdivisions.length === 0 && state.entities[country.id] && state.entities[country.id].subdivisions.length > 0
|
|
182
83
|
? state.entities[country.id].subdivisions
|
|
183
|
-
: country.subdivisions })))
|
|
84
|
+
: country.subdivisions }))), state);
|
|
184
85
|
default:
|
|
185
86
|
return state;
|
|
186
87
|
}
|
|
187
88
|
}
|
|
188
89
|
|
|
189
|
-
/**
|
|
190
|
-
* @fileoverview added by tsickle
|
|
191
|
-
* Generated from: reducers/geography/geography-initial-state.ts
|
|
192
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
193
|
-
*/
|
|
194
|
-
/** @type {?} */
|
|
195
90
|
const daffGeographyInitialState = {
|
|
196
91
|
loading: false,
|
|
197
92
|
errors: [],
|
|
198
93
|
};
|
|
199
94
|
|
|
200
|
-
/**
|
|
201
|
-
* @fileoverview added by tsickle
|
|
202
|
-
* Generated from: reducers/geography/geography.reducer.ts
|
|
203
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
204
|
-
*/
|
|
205
|
-
/**
|
|
206
|
-
* @template T
|
|
207
|
-
* @param {?=} state
|
|
208
|
-
* @param {?=} action
|
|
209
|
-
* @return {?}
|
|
210
|
-
*/
|
|
211
95
|
function daffGeographyReducer(state = daffGeographyInitialState, action) {
|
|
212
96
|
switch (action.type) {
|
|
213
97
|
case DaffGeographyActionTypes.CountryLoadAction:
|
|
@@ -227,146 +111,28 @@ function daffGeographyReducer(state = daffGeographyInitialState, action) {
|
|
|
227
111
|
}
|
|
228
112
|
}
|
|
229
113
|
|
|
230
|
-
/**
|
|
231
|
-
* @fileoverview added by tsickle
|
|
232
|
-
* Generated from: reducers/geography-reducers.ts
|
|
233
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
234
|
-
*/
|
|
235
|
-
/** @type {?} */
|
|
236
114
|
const daffGeographyReducers = {
|
|
237
115
|
geography: daffGeographyReducer,
|
|
238
116
|
countries: daffCountryEntitiesReducer,
|
|
239
117
|
};
|
|
240
118
|
|
|
241
|
-
/**
|
|
242
|
-
* @fileoverview added by tsickle
|
|
243
|
-
* Generated from: reducers/geography-store-feature-key.ts
|
|
244
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
245
|
-
*/
|
|
246
|
-
/** @type {?} */
|
|
247
119
|
const DAFF_GEOGRAPHY_STORE_FEATURE_KEY = 'daffGeography';
|
|
248
120
|
|
|
249
|
-
|
|
250
|
-
* @fileoverview added by tsickle
|
|
251
|
-
* Generated from: reducers/country-entities/public_api.ts
|
|
252
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
253
|
-
*/
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* @fileoverview added by tsickle
|
|
257
|
-
* Generated from: reducers/geography/public_api.ts
|
|
258
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
259
|
-
*/
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* @fileoverview added by tsickle
|
|
263
|
-
* Generated from: reducers/public_api.ts
|
|
264
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
265
|
-
*/
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* @fileoverview added by tsickle
|
|
269
|
-
* Generated from: selectors/geography-feature.selector.ts
|
|
270
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
271
|
-
*/
|
|
272
|
-
/**
|
|
273
|
-
* @record
|
|
274
|
-
* @template T
|
|
275
|
-
*/
|
|
276
|
-
function DaffGeographyFeatureSelector() { }
|
|
277
|
-
if (false) {
|
|
278
|
-
/** @type {?} */
|
|
279
|
-
DaffGeographyFeatureSelector.prototype.selectGeographyFeatureState;
|
|
280
|
-
}
|
|
281
|
-
const ɵ0$1 = /**
|
|
282
|
-
* @return {?}
|
|
283
|
-
*/
|
|
284
|
-
() => {
|
|
285
|
-
/** @type {?} */
|
|
121
|
+
const ɵ0$1 = () => {
|
|
286
122
|
let cache;
|
|
287
|
-
return (
|
|
288
|
-
* @template T
|
|
289
|
-
* @return {?}
|
|
290
|
-
*/
|
|
291
|
-
() => cache = cache || {
|
|
123
|
+
return () => cache = cache || {
|
|
292
124
|
selectGeographyFeatureState: createFeatureSelector(DAFF_GEOGRAPHY_STORE_FEATURE_KEY),
|
|
293
|
-
}
|
|
125
|
+
};
|
|
294
126
|
};
|
|
295
|
-
|
|
296
|
-
const getDaffGeographyFeatureStateSelector = ((ɵ0$1))();
|
|
127
|
+
const getDaffGeographyFeatureStateSelector = (ɵ0$1)();
|
|
297
128
|
|
|
298
|
-
|
|
299
|
-
* @fileoverview added by tsickle
|
|
300
|
-
* Generated from: selectors/country-entities.selector.ts
|
|
301
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
302
|
-
*/
|
|
303
|
-
/**
|
|
304
|
-
* @record
|
|
305
|
-
* @template T
|
|
306
|
-
*/
|
|
307
|
-
function DaffCountryEntitySelectors() { }
|
|
308
|
-
if (false) {
|
|
309
|
-
/** @type {?} */
|
|
310
|
-
DaffCountryEntitySelectors.prototype.selectCountryEntitiesState;
|
|
311
|
-
/** @type {?} */
|
|
312
|
-
DaffCountryEntitySelectors.prototype.selectCountryIds;
|
|
313
|
-
/** @type {?} */
|
|
314
|
-
DaffCountryEntitySelectors.prototype.selectCountryEntities;
|
|
315
|
-
/** @type {?} */
|
|
316
|
-
DaffCountryEntitySelectors.prototype.selectAllCountries;
|
|
317
|
-
/** @type {?} */
|
|
318
|
-
DaffCountryEntitySelectors.prototype.selectCountryTotal;
|
|
319
|
-
/** @type {?} */
|
|
320
|
-
DaffCountryEntitySelectors.prototype.selectCountry;
|
|
321
|
-
/** @type {?} */
|
|
322
|
-
DaffCountryEntitySelectors.prototype.selectCountrySubdivisions;
|
|
323
|
-
/** @type {?} */
|
|
324
|
-
DaffCountryEntitySelectors.prototype.selectIsCountryFullyLoaded;
|
|
325
|
-
}
|
|
326
|
-
/** @type {?} */
|
|
327
|
-
const createCountryEntitySelectors = (/**
|
|
328
|
-
* @template T
|
|
329
|
-
* @return {?}
|
|
330
|
-
*/
|
|
331
|
-
() => {
|
|
129
|
+
const createCountryEntitySelectors = () => {
|
|
332
130
|
const { selectGeographyFeatureState } = getDaffGeographyFeatureStateSelector();
|
|
333
|
-
|
|
334
|
-
const selectCountryEntitiesState = createSelector(selectGeographyFeatureState, (/**
|
|
335
|
-
* @param {?} state
|
|
336
|
-
* @return {?}
|
|
337
|
-
*/
|
|
338
|
-
state => state.countries));
|
|
131
|
+
const selectCountryEntitiesState = createSelector(selectGeographyFeatureState, state => state.countries);
|
|
339
132
|
const { selectIds, selectEntities, selectAll, selectTotal } = getCountryAdapter().getSelectors(selectCountryEntitiesState);
|
|
340
|
-
|
|
341
|
-
const
|
|
342
|
-
|
|
343
|
-
* @return {?}
|
|
344
|
-
*/
|
|
345
|
-
(countryId) => createSelector(selectEntities, (/**
|
|
346
|
-
* @param {?} countries
|
|
347
|
-
* @return {?}
|
|
348
|
-
*/
|
|
349
|
-
(countries) => countries[countryId])))).memoized;
|
|
350
|
-
/** @type {?} */
|
|
351
|
-
const selectCountrySubdivisions = defaultMemoize((/**
|
|
352
|
-
* @param {?} countryId
|
|
353
|
-
* @return {?}
|
|
354
|
-
*/
|
|
355
|
-
(countryId) => createSelector(selectCountry(countryId), (/**
|
|
356
|
-
* @param {?} country
|
|
357
|
-
* @return {?}
|
|
358
|
-
*/
|
|
359
|
-
(country) => (country === null || country === void 0 ? void 0 : country.subdivisions) || [])))).memoized;
|
|
360
|
-
/** @type {?} */
|
|
361
|
-
const selectIsCountryFullyLoaded = defaultMemoize((/**
|
|
362
|
-
* @param {?} countryId
|
|
363
|
-
* @return {?}
|
|
364
|
-
*/
|
|
365
|
-
(countryId) => createSelector(selectCountry(countryId), (/**
|
|
366
|
-
* @param {?} country
|
|
367
|
-
* @return {?}
|
|
368
|
-
*/
|
|
369
|
-
(country) => country === null || country === void 0 ? void 0 : country.loaded)))).memoized;
|
|
133
|
+
const selectCountry = defaultMemoize((countryId) => createSelector(selectEntities, (countries) => countries[countryId])).memoized;
|
|
134
|
+
const selectCountrySubdivisions = defaultMemoize((countryId) => createSelector(selectCountry(countryId), (country) => (country === null || country === void 0 ? void 0 : country.subdivisions) || [])).memoized;
|
|
135
|
+
const selectIsCountryFullyLoaded = defaultMemoize((countryId) => createSelector(selectCountry(countryId), (country) => country === null || country === void 0 ? void 0 : country.loaded)).memoized;
|
|
370
136
|
return {
|
|
371
137
|
selectCountryEntitiesState,
|
|
372
138
|
/**
|
|
@@ -399,131 +165,42 @@ const createCountryEntitySelectors = (/**
|
|
|
399
165
|
*/
|
|
400
166
|
selectIsCountryFullyLoaded,
|
|
401
167
|
};
|
|
402
|
-
}
|
|
168
|
+
};
|
|
403
169
|
const ɵ0$2 = createCountryEntitySelectors;
|
|
404
|
-
const ɵ1 =
|
|
405
|
-
* @return {?}
|
|
406
|
-
*/
|
|
407
|
-
() => {
|
|
408
|
-
/** @type {?} */
|
|
170
|
+
const ɵ1 = () => {
|
|
409
171
|
let cache;
|
|
410
|
-
return (
|
|
411
|
-
* @template T
|
|
412
|
-
* @return {?}
|
|
413
|
-
*/
|
|
414
|
-
() => cache = cache || createCountryEntitySelectors());
|
|
172
|
+
return () => cache = cache || createCountryEntitySelectors();
|
|
415
173
|
};
|
|
416
|
-
|
|
417
|
-
const getDaffCountryEntitySelectors = ((ɵ1))();
|
|
174
|
+
const getDaffCountryEntitySelectors = (ɵ1)();
|
|
418
175
|
|
|
419
|
-
|
|
420
|
-
* @fileoverview added by tsickle
|
|
421
|
-
* Generated from: selectors/geography.selector.ts
|
|
422
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
423
|
-
*/
|
|
424
|
-
/**
|
|
425
|
-
* @record
|
|
426
|
-
*/
|
|
427
|
-
function DaffGeographySelectors() { }
|
|
428
|
-
if (false) {
|
|
429
|
-
/** @type {?} */
|
|
430
|
-
DaffGeographySelectors.prototype.selectGeographyState;
|
|
431
|
-
/** @type {?} */
|
|
432
|
-
DaffGeographySelectors.prototype.selectGeographyLoading;
|
|
433
|
-
/** @type {?} */
|
|
434
|
-
DaffGeographySelectors.prototype.selectGeographyErrors;
|
|
435
|
-
}
|
|
436
|
-
/** @type {?} */
|
|
437
|
-
const createGeographySelectors = (/**
|
|
438
|
-
* @template T
|
|
439
|
-
* @return {?}
|
|
440
|
-
*/
|
|
441
|
-
() => {
|
|
176
|
+
const createGeographySelectors = () => {
|
|
442
177
|
const { selectGeographyFeatureState } = getDaffGeographyFeatureStateSelector();
|
|
443
|
-
|
|
444
|
-
const
|
|
445
|
-
|
|
446
|
-
* @return {?}
|
|
447
|
-
*/
|
|
448
|
-
state => state.geography));
|
|
449
|
-
/** @type {?} */
|
|
450
|
-
const selectGeographyLoading = createSelector(selectGeographyState, (/**
|
|
451
|
-
* @param {?} state
|
|
452
|
-
* @return {?}
|
|
453
|
-
*/
|
|
454
|
-
state => state.loading));
|
|
455
|
-
/** @type {?} */
|
|
456
|
-
const selectGeographyErrors = createSelector(selectGeographyState, (/**
|
|
457
|
-
* @param {?} state
|
|
458
|
-
* @return {?}
|
|
459
|
-
*/
|
|
460
|
-
state => state.errors));
|
|
178
|
+
const selectGeographyState = createSelector(selectGeographyFeatureState, state => state.geography);
|
|
179
|
+
const selectGeographyLoading = createSelector(selectGeographyState, state => state.loading);
|
|
180
|
+
const selectGeographyErrors = createSelector(selectGeographyState, state => state.errors);
|
|
461
181
|
return {
|
|
462
182
|
selectGeographyState,
|
|
463
183
|
selectGeographyLoading,
|
|
464
184
|
selectGeographyErrors,
|
|
465
185
|
};
|
|
466
|
-
}
|
|
186
|
+
};
|
|
467
187
|
const ɵ0$3 = createGeographySelectors;
|
|
468
|
-
const ɵ1$1 =
|
|
469
|
-
* @return {?}
|
|
470
|
-
*/
|
|
471
|
-
() => {
|
|
472
|
-
/** @type {?} */
|
|
188
|
+
const ɵ1$1 = () => {
|
|
473
189
|
let cache;
|
|
474
|
-
return (
|
|
475
|
-
* @template T
|
|
476
|
-
* @return {?}
|
|
477
|
-
*/
|
|
478
|
-
() => cache = cache || createGeographySelectors());
|
|
190
|
+
return () => cache = cache || createGeographySelectors();
|
|
479
191
|
};
|
|
480
|
-
|
|
481
|
-
const getGeographySelectors = ((ɵ1$1))();
|
|
192
|
+
const getGeographySelectors = (ɵ1$1)();
|
|
482
193
|
|
|
483
|
-
|
|
484
|
-
* @fileoverview added by tsickle
|
|
485
|
-
* Generated from: selectors/geography-all.selector.ts
|
|
486
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
487
|
-
*/
|
|
488
|
-
/**
|
|
489
|
-
* @record
|
|
490
|
-
* @template T
|
|
491
|
-
*/
|
|
492
|
-
function DaffGeographyAllSelectors() { }
|
|
493
|
-
const ɵ0$4 = /**
|
|
494
|
-
* @return {?}
|
|
495
|
-
*/
|
|
496
|
-
() => {
|
|
497
|
-
/** @type {?} */
|
|
194
|
+
const ɵ0$4 = () => {
|
|
498
195
|
let cache;
|
|
499
|
-
return (
|
|
500
|
-
* @template T
|
|
501
|
-
* @return {?}
|
|
502
|
-
*/
|
|
503
|
-
() => cache = cache || Object.assign(Object.assign(Object.assign({}, getGeographySelectors()), getDaffCountryEntitySelectors()), getDaffGeographyFeatureStateSelector()));
|
|
196
|
+
return () => cache = cache || Object.assign(Object.assign(Object.assign({}, getGeographySelectors()), getDaffCountryEntitySelectors()), getDaffGeographyFeatureStateSelector());
|
|
504
197
|
};
|
|
505
|
-
|
|
506
|
-
const getDaffGeographySelectors = ((ɵ0$4))();
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* @fileoverview added by tsickle
|
|
510
|
-
* Generated from: selectors/public_api.ts
|
|
511
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
512
|
-
*/
|
|
198
|
+
const getDaffGeographySelectors = (ɵ0$4)();
|
|
513
199
|
|
|
514
200
|
/**
|
|
515
|
-
* @
|
|
516
|
-
* Generated from: facades/geography/geography.facade.ts
|
|
517
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
518
|
-
*/
|
|
519
|
-
/**
|
|
520
|
-
* \@inheritdoc
|
|
521
|
-
* @template T
|
|
201
|
+
* @inheritdoc
|
|
522
202
|
*/
|
|
523
203
|
class DaffGeographyFacade {
|
|
524
|
-
/**
|
|
525
|
-
* @param {?} store
|
|
526
|
-
*/
|
|
527
204
|
constructor(store) {
|
|
528
205
|
this.store = store;
|
|
529
206
|
const { selectCountryIds, selectCountryEntities, selectAllCountries, selectCountryTotal, selectGeographyLoading, selectGeographyErrors, selectCountry, selectCountrySubdivisions, selectIsCountryFullyLoaded, } = getDaffGeographySelectors();
|
|
@@ -537,35 +214,20 @@ class DaffGeographyFacade {
|
|
|
537
214
|
this.countryCount$ = this.store.pipe(select(selectCountryTotal));
|
|
538
215
|
this.countryEntities$ = this.store.pipe(select(selectCountryEntities));
|
|
539
216
|
}
|
|
540
|
-
/**
|
|
541
|
-
* @param {?} id
|
|
542
|
-
* @return {?}
|
|
543
|
-
*/
|
|
544
217
|
getCountry(id) {
|
|
545
218
|
return this.store.pipe(select(this._selectCountry(id)));
|
|
546
219
|
}
|
|
547
|
-
/**
|
|
548
|
-
* @param {?} id
|
|
549
|
-
* @return {?}
|
|
550
|
-
*/
|
|
551
220
|
getCountrySubdivisions(id) {
|
|
552
221
|
return this.store.pipe(select(this._selectCountrySubdivisions(id)));
|
|
553
222
|
}
|
|
554
|
-
/**
|
|
555
|
-
* @param {?} id
|
|
556
|
-
* @return {?}
|
|
557
|
-
*/
|
|
558
223
|
isCountryFullyLoaded(id) {
|
|
559
224
|
return this.store.pipe(select(this._selectIsCountryFullyLoaded(id)));
|
|
560
225
|
}
|
|
561
|
-
/**
|
|
562
|
-
* @param {?} action
|
|
563
|
-
* @return {?}
|
|
564
|
-
*/
|
|
565
226
|
dispatch(action) {
|
|
566
227
|
this.store.dispatch(action);
|
|
567
228
|
}
|
|
568
229
|
}
|
|
230
|
+
/** @nocollapse */ DaffGeographyFacade.ɵprov = ɵɵdefineInjectable({ factory: function DaffGeographyFacade_Factory() { return new DaffGeographyFacade(ɵɵinject(Store)); }, token: DaffGeographyFacade, providedIn: "root" });
|
|
569
231
|
DaffGeographyFacade.decorators = [
|
|
570
232
|
{ type: Injectable, args: [{
|
|
571
233
|
providedIn: 'root',
|
|
@@ -575,41 +237,6 @@ DaffGeographyFacade.decorators = [
|
|
|
575
237
|
DaffGeographyFacade.ctorParameters = () => [
|
|
576
238
|
{ type: Store }
|
|
577
239
|
];
|
|
578
|
-
/** @nocollapse */ DaffGeographyFacade.ɵprov = ɵɵdefineInjectable({ factory: function DaffGeographyFacade_Factory() { return new DaffGeographyFacade(ɵɵinject(Store)); }, token: DaffGeographyFacade, providedIn: "root" });
|
|
579
|
-
if (false) {
|
|
580
|
-
/** @type {?} */
|
|
581
|
-
DaffGeographyFacade.prototype.loading$;
|
|
582
|
-
/** @type {?} */
|
|
583
|
-
DaffGeographyFacade.prototype.errors$;
|
|
584
|
-
/** @type {?} */
|
|
585
|
-
DaffGeographyFacade.prototype.countries$;
|
|
586
|
-
/** @type {?} */
|
|
587
|
-
DaffGeographyFacade.prototype.countryIds$;
|
|
588
|
-
/** @type {?} */
|
|
589
|
-
DaffGeographyFacade.prototype.countryCount$;
|
|
590
|
-
/** @type {?} */
|
|
591
|
-
DaffGeographyFacade.prototype.countryEntities$;
|
|
592
|
-
/**
|
|
593
|
-
* @type {?}
|
|
594
|
-
* @private
|
|
595
|
-
*/
|
|
596
|
-
DaffGeographyFacade.prototype._selectCountry;
|
|
597
|
-
/**
|
|
598
|
-
* @type {?}
|
|
599
|
-
* @private
|
|
600
|
-
*/
|
|
601
|
-
DaffGeographyFacade.prototype._selectCountrySubdivisions;
|
|
602
|
-
/**
|
|
603
|
-
* @type {?}
|
|
604
|
-
* @private
|
|
605
|
-
*/
|
|
606
|
-
DaffGeographyFacade.prototype._selectIsCountryFullyLoaded;
|
|
607
|
-
/**
|
|
608
|
-
* @type {?}
|
|
609
|
-
* @private
|
|
610
|
-
*/
|
|
611
|
-
DaffGeographyFacade.prototype.store;
|
|
612
|
-
}
|
|
613
240
|
|
|
614
241
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
615
242
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -620,45 +247,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
620
247
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
621
248
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
622
249
|
};
|
|
623
|
-
/**
|
|
624
|
-
* @template T
|
|
625
|
-
*/
|
|
626
250
|
class DaffGeographyEffects {
|
|
627
|
-
/**
|
|
628
|
-
* @param {?} actions$
|
|
629
|
-
* @param {?} driver
|
|
630
|
-
* @param {?} errorMatcher
|
|
631
|
-
*/
|
|
632
251
|
constructor(actions$, driver, errorMatcher) {
|
|
633
252
|
this.actions$ = actions$;
|
|
634
253
|
this.driver = driver;
|
|
635
254
|
this.errorMatcher = errorMatcher;
|
|
636
|
-
this.get$ = this.actions$.pipe(ofType(DaffGeographyActionTypes.CountryLoadAction), switchMap((
|
|
637
|
-
|
|
638
|
-
* @return {?}
|
|
639
|
-
*/
|
|
640
|
-
(action) => this.driver.get(action.payload).pipe(map((/**
|
|
641
|
-
* @param {?} resp
|
|
642
|
-
* @return {?}
|
|
643
|
-
*/
|
|
644
|
-
resp => new DaffCountryLoadSuccess(resp))), catchError((/**
|
|
645
|
-
* @param {?} error
|
|
646
|
-
* @return {?}
|
|
647
|
-
*/
|
|
648
|
-
(error) => of(new DaffCountryLoadFailure(this.errorMatcher(error)))))))));
|
|
649
|
-
this.list$ = this.actions$.pipe(ofType(DaffGeographyActionTypes.CountryListAction), switchMap((/**
|
|
650
|
-
* @param {?} action
|
|
651
|
-
* @return {?}
|
|
652
|
-
*/
|
|
653
|
-
(action) => this.driver.list().pipe(map((/**
|
|
654
|
-
* @param {?} resp
|
|
655
|
-
* @return {?}
|
|
656
|
-
*/
|
|
657
|
-
resp => new DaffCountryListSuccess(resp))), catchError((/**
|
|
658
|
-
* @param {?} error
|
|
659
|
-
* @return {?}
|
|
660
|
-
*/
|
|
661
|
-
(error) => of(new DaffCountryListFailure(this.errorMatcher(error)))))))));
|
|
255
|
+
this.get$ = this.actions$.pipe(ofType(DaffGeographyActionTypes.CountryLoadAction), switchMap((action) => this.driver.get(action.payload).pipe(map(resp => new DaffCountryLoadSuccess(resp)), catchError((error) => of(new DaffCountryLoadFailure(this.errorMatcher(error)))))));
|
|
256
|
+
this.list$ = this.actions$.pipe(ofType(DaffGeographyActionTypes.CountryListAction), switchMap((action) => this.driver.list().pipe(map(resp => new DaffCountryListSuccess(resp)), catchError((error) => of(new DaffCountryListFailure(this.errorMatcher(error)))))));
|
|
662
257
|
}
|
|
663
258
|
}
|
|
664
259
|
DaffGeographyEffects.decorators = [
|
|
@@ -678,33 +273,7 @@ __decorate([
|
|
|
678
273
|
Effect(),
|
|
679
274
|
__metadata("design:type", Object)
|
|
680
275
|
], DaffGeographyEffects.prototype, "list$", void 0);
|
|
681
|
-
if (false) {
|
|
682
|
-
/** @type {?} */
|
|
683
|
-
DaffGeographyEffects.prototype.get$;
|
|
684
|
-
/** @type {?} */
|
|
685
|
-
DaffGeographyEffects.prototype.list$;
|
|
686
|
-
/**
|
|
687
|
-
* @type {?}
|
|
688
|
-
* @private
|
|
689
|
-
*/
|
|
690
|
-
DaffGeographyEffects.prototype.actions$;
|
|
691
|
-
/**
|
|
692
|
-
* @type {?}
|
|
693
|
-
* @private
|
|
694
|
-
*/
|
|
695
|
-
DaffGeographyEffects.prototype.driver;
|
|
696
|
-
/**
|
|
697
|
-
* @type {?}
|
|
698
|
-
* @private
|
|
699
|
-
*/
|
|
700
|
-
DaffGeographyEffects.prototype.errorMatcher;
|
|
701
|
-
}
|
|
702
276
|
|
|
703
|
-
/**
|
|
704
|
-
* @fileoverview added by tsickle
|
|
705
|
-
* Generated from: geography-state.module.ts
|
|
706
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
707
|
-
*/
|
|
708
277
|
class DaffGeographyStateModule {
|
|
709
278
|
}
|
|
710
279
|
DaffGeographyStateModule.decorators = [
|
|
@@ -719,16 +288,8 @@ DaffGeographyStateModule.decorators = [
|
|
|
719
288
|
];
|
|
720
289
|
|
|
721
290
|
/**
|
|
722
|
-
*
|
|
723
|
-
* Generated from: index.ts
|
|
724
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
725
|
-
*/
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* @fileoverview added by tsickle
|
|
729
|
-
* Generated from: daffodil-geography-state.ts
|
|
730
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
291
|
+
* Generated bundle index. Do not edit.
|
|
731
292
|
*/
|
|
732
293
|
|
|
733
|
-
export { DAFF_GEOGRAPHY_STORE_FEATURE_KEY, DaffCountryList, DaffCountryListFailure, DaffCountryListSuccess, DaffCountryLoad, DaffCountryLoadFailure, DaffCountryLoadSuccess, DaffGeographyActionTypes, DaffGeographyFacade, DaffGeographyStateModule, daffCountryEntitiesInitialState, daffCountryEntitiesReducer, daffGeographyInitialState, daffGeographyReducer, daffGeographyReducers, getCountryAdapter, getDaffGeographySelectors, DaffGeographyEffects as ɵa };
|
|
294
|
+
export { DAFF_GEOGRAPHY_STORE_FEATURE_KEY, DaffCountryList, DaffCountryListFailure, DaffCountryListSuccess, DaffCountryLoad, DaffCountryLoadFailure, DaffCountryLoadSuccess, DaffGeographyActionTypes, DaffGeographyFacade, DaffGeographyStateModule, daffCountryEntitiesInitialState, daffCountryEntitiesReducer, daffGeographyInitialState, daffGeographyReducer, daffGeographyReducers, getCountryAdapter, getDaffGeographySelectors, ɵ0$4 as ɵ0, DaffGeographyEffects as ɵa };
|
|
734
295
|
//# sourceMappingURL=daffodil-geography-state.js.map
|