@abp/ng.setting-management 4.4.2 → 5.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/abp-ng.setting-management.d.ts +1 -4
  2. package/bundles/abp-ng.setting-management-config.umd.js +463 -76
  3. package/bundles/abp-ng.setting-management-config.umd.js.map +1 -1
  4. package/bundles/abp-ng.setting-management.umd.js +70 -415
  5. package/bundles/abp-ng.setting-management.umd.js.map +1 -1
  6. package/config/abp-ng.setting-management-config.d.ts +1 -3
  7. package/config/components/email-setting-group/email-setting-group.component.d.ts +3 -0
  8. package/config/package.json +0 -1
  9. package/config/providers/features.token.d.ts +13 -0
  10. package/config/providers/index.d.ts +1 -0
  11. package/config/providers/route.provider.d.ts +15 -8
  12. package/config/providers/setting-tab.provider.d.ts +2 -2
  13. package/config/providers/visible.provider.d.ts +8 -0
  14. package/config/proxy/email-settings.service.d.ts +3 -0
  15. package/config/public-api.d.ts +3 -2
  16. package/config/services/index.d.ts +1 -0
  17. package/config/services/settings-tabs.service.d.ts +6 -0
  18. package/config/setting-management-config.module.d.ts +7 -0
  19. package/esm2015/abp-ng.setting-management.js +1 -4
  20. package/esm2015/abp-ng.setting-management.js.map +1 -0
  21. package/esm2015/config/abp-ng.setting-management-config.js +1 -4
  22. package/esm2015/config/abp-ng.setting-management-config.js.map +1 -0
  23. package/esm2015/config/components/email-setting-group/email-setting-group.component.js +18 -13
  24. package/esm2015/config/components/email-setting-group/email-setting-group.component.js.map +1 -0
  25. package/esm2015/config/enums/index.js +1 -1
  26. package/esm2015/config/enums/index.js.map +1 -0
  27. package/esm2015/config/enums/route-names.js +1 -1
  28. package/esm2015/config/enums/route-names.js.map +1 -0
  29. package/esm2015/config/enums/setting-tab-names.js +1 -1
  30. package/esm2015/config/enums/setting-tab-names.js.map +1 -0
  31. package/esm2015/config/providers/features.token.js +30 -0
  32. package/esm2015/config/providers/features.token.js.map +1 -0
  33. package/esm2015/config/providers/index.js +2 -1
  34. package/esm2015/config/providers/index.js.map +1 -0
  35. package/esm2015/config/providers/route.provider.js +19 -19
  36. package/esm2015/config/providers/route.provider.js.map +1 -0
  37. package/esm2015/config/providers/setting-tab.provider.js +2 -2
  38. package/esm2015/config/providers/setting-tab.provider.js.map +1 -0
  39. package/esm2015/config/providers/visible.provider.js +26 -0
  40. package/esm2015/config/providers/visible.provider.js.map +1 -0
  41. package/esm2015/config/proxy/email-settings.service.js +9 -10
  42. package/esm2015/config/proxy/email-settings.service.js.map +1 -0
  43. package/esm2015/config/proxy/index.js +1 -1
  44. package/esm2015/config/proxy/index.js.map +1 -0
  45. package/esm2015/config/proxy/models.js +1 -1
  46. package/esm2015/config/proxy/models.js.map +1 -0
  47. package/esm2015/config/public-api.js +4 -3
  48. package/esm2015/config/public-api.js.map +1 -0
  49. package/esm2015/config/services/index.js +2 -0
  50. package/esm2015/config/services/index.js.map +1 -0
  51. package/esm2015/config/services/settings-tabs.service.js +12 -0
  52. package/esm2015/config/services/settings-tabs.service.js.map +1 -0
  53. package/esm2015/config/setting-management-config.module.js +23 -11
  54. package/esm2015/config/setting-management-config.module.js.map +1 -0
  55. package/esm2015/lib/components/setting-management.component.js +17 -24
  56. package/esm2015/lib/components/setting-management.component.js.map +1 -0
  57. package/esm2015/lib/enums/components.js +1 -1
  58. package/esm2015/lib/enums/components.js.map +1 -0
  59. package/esm2015/lib/enums/index.js +1 -1
  60. package/esm2015/lib/enums/index.js.map +1 -0
  61. package/esm2015/lib/enums/route-names.js +1 -1
  62. package/esm2015/lib/enums/route-names.js.map +1 -0
  63. package/esm2015/lib/setting-management-routing.module.js +20 -16
  64. package/esm2015/lib/setting-management-routing.module.js.map +1 -0
  65. package/esm2015/lib/setting-management.module.js +14 -17
  66. package/esm2015/lib/setting-management.module.js.map +1 -0
  67. package/esm2015/public-api.js +1 -1
  68. package/esm2015/public-api.js.map +1 -0
  69. package/fesm2015/abp-ng.setting-management-config.js +133 -66
  70. package/fesm2015/abp-ng.setting-management-config.js.map +1 -1
  71. package/fesm2015/abp-ng.setting-management.js +48 -85
  72. package/fesm2015/abp-ng.setting-management.js.map +1 -1
  73. package/lib/components/setting-management.component.d.ts +7 -6
  74. package/lib/setting-management-routing.module.d.ts +5 -0
  75. package/lib/setting-management.module.d.ts +9 -0
  76. package/package.json +7 -5
  77. package/abp-ng.setting-management.metadata.json +0 -1
  78. package/bundles/abp-ng.setting-management-config.umd.min.js +0 -2
  79. package/bundles/abp-ng.setting-management-config.umd.min.js.map +0 -1
  80. package/bundles/abp-ng.setting-management.umd.min.js +0 -2
  81. package/bundles/abp-ng.setting-management.umd.min.js.map +0 -1
  82. package/config/abp-ng.setting-management-config.metadata.json +0 -1
  83. package/esm2015/lib/actions/setting-management.actions.js +0 -7
  84. package/esm2015/lib/models/setting-management.js +0 -2
  85. package/esm2015/lib/states/setting-management.state.js +0 -31
  86. package/lib/actions/setting-management.actions.d.ts +0 -6
  87. package/lib/models/setting-management.d.ts +0 -6
  88. package/lib/states/setting-management.state.d.ts +0 -7
@@ -1,386 +1,43 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('@ngxs/store'), require('@abp/ng.components/page'), require('rxjs'), require('@angular/router')) :
3
- typeof define === 'function' && define.amd ? define('@abp/ng.setting-management', ['exports', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', '@ngxs/store', '@abp/ng.components/page', 'rxjs', '@angular/router'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng['setting-management'] = {}), global.ng_core, global.ng_theme_shared, global.ng.core, global.store, global.page, global.rxjs, global.ng.router));
5
- }(this, (function (exports, ng_core, ng_theme_shared, core, store, page, rxjs, router) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.components/page'), require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('rxjs'), require('@abp/ng.setting-management/config'), require('@angular/common'), require('@angular/router')) :
3
+ typeof define === 'function' && define.amd ? define('@abp/ng.setting-management', ['exports', '@abp/ng.components/page', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', 'rxjs', '@abp/ng.setting-management/config', '@angular/common', '@angular/router'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng['setting-management'] = {}), global.i2, global.i3, global.ng_theme_shared, global.ng.core, global.rxjs, global.abp.ng['setting-management'].config, global.ng.common, global.ng.router));
5
+ }(this, (function (exports, i2, i3, ng_theme_shared, i0, rxjs, i1, i4, i1$1) { 'use strict';
6
6
 
7
- var SetSelectedSettingTab = /** @class */ (function () {
8
- function SetSelectedSettingTab(payload) {
9
- this.payload = payload;
10
- }
11
- return SetSelectedSettingTab;
12
- }());
13
- SetSelectedSettingTab.type = '[SettingManagement] Set Selected Tab';
14
-
15
- /*! *****************************************************************************
16
- Copyright (c) Microsoft Corporation.
17
-
18
- Permission to use, copy, modify, and/or distribute this software for any
19
- purpose with or without fee is hereby granted.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
22
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
23
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
24
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
25
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
26
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
27
- PERFORMANCE OF THIS SOFTWARE.
28
- ***************************************************************************** */
29
- /* global Reflect, Promise */
30
- var extendStatics = function (d, b) {
31
- extendStatics = Object.setPrototypeOf ||
32
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
- function (d, b) { for (var p in b)
34
- if (Object.prototype.hasOwnProperty.call(b, p))
35
- d[p] = b[p]; };
36
- return extendStatics(d, b);
37
- };
38
- function __extends(d, b) {
39
- if (typeof b !== "function" && b !== null)
40
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
41
- extendStatics(d, b);
42
- function __() { this.constructor = d; }
43
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
44
- }
45
- var __assign = function () {
46
- __assign = Object.assign || function __assign(t) {
47
- for (var s, i = 1, n = arguments.length; i < n; i++) {
48
- s = arguments[i];
49
- for (var p in s)
50
- if (Object.prototype.hasOwnProperty.call(s, p))
51
- t[p] = s[p];
52
- }
53
- return t;
54
- };
55
- return __assign.apply(this, arguments);
56
- };
57
- function __rest(s, e) {
58
- var t = {};
59
- for (var p in s)
60
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
61
- t[p] = s[p];
62
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
63
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
64
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
65
- t[p[i]] = s[p[i]];
66
- }
67
- return t;
68
- }
69
- function __decorate(decorators, target, key, desc) {
70
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
71
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
72
- r = Reflect.decorate(decorators, target, key, desc);
73
- else
74
- for (var i = decorators.length - 1; i >= 0; i--)
75
- if (d = decorators[i])
76
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
77
- return c > 3 && r && Object.defineProperty(target, key, r), r;
78
- }
79
- function __param(paramIndex, decorator) {
80
- return function (target, key) { decorator(target, key, paramIndex); };
81
- }
82
- function __metadata(metadataKey, metadataValue) {
83
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
84
- return Reflect.metadata(metadataKey, metadataValue);
85
- }
86
- function __awaiter(thisArg, _arguments, P, generator) {
87
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
88
- return new (P || (P = Promise))(function (resolve, reject) {
89
- function fulfilled(value) { try {
90
- step(generator.next(value));
91
- }
92
- catch (e) {
93
- reject(e);
94
- } }
95
- function rejected(value) { try {
96
- step(generator["throw"](value));
97
- }
98
- catch (e) {
99
- reject(e);
100
- } }
101
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
102
- step((generator = generator.apply(thisArg, _arguments || [])).next());
103
- });
104
- }
105
- function __generator(thisArg, body) {
106
- var _ = { label: 0, sent: function () { if (t[0] & 1)
107
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
108
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
109
- function verb(n) { return function (v) { return step([n, v]); }; }
110
- function step(op) {
111
- if (f)
112
- throw new TypeError("Generator is already executing.");
113
- while (_)
114
- try {
115
- 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)
116
- return t;
117
- if (y = 0, t)
118
- op = [op[0] & 2, t.value];
119
- switch (op[0]) {
120
- case 0:
121
- case 1:
122
- t = op;
123
- break;
124
- case 4:
125
- _.label++;
126
- return { value: op[1], done: false };
127
- case 5:
128
- _.label++;
129
- y = op[1];
130
- op = [0];
131
- continue;
132
- case 7:
133
- op = _.ops.pop();
134
- _.trys.pop();
135
- continue;
136
- default:
137
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
138
- _ = 0;
139
- continue;
140
- }
141
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
142
- _.label = op[1];
143
- break;
144
- }
145
- if (op[0] === 6 && _.label < t[1]) {
146
- _.label = t[1];
147
- t = op;
148
- break;
149
- }
150
- if (t && _.label < t[2]) {
151
- _.label = t[2];
152
- _.ops.push(op);
153
- break;
154
- }
155
- if (t[2])
156
- _.ops.pop();
157
- _.trys.pop();
158
- continue;
159
- }
160
- op = body.call(thisArg, _);
161
- }
162
- catch (e) {
163
- op = [6, e];
164
- y = 0;
165
- }
166
- finally {
167
- f = t = 0;
168
- }
169
- if (op[0] & 5)
170
- throw op[1];
171
- return { value: op[0] ? op[1] : void 0, done: true };
172
- }
173
- }
174
- var __createBinding = Object.create ? (function (o, m, k, k2) {
175
- if (k2 === undefined)
176
- k2 = k;
177
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
178
- }) : (function (o, m, k, k2) {
179
- if (k2 === undefined)
180
- k2 = k;
181
- o[k2] = m[k];
182
- });
183
- function __exportStar(m, o) {
184
- for (var p in m)
185
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
186
- __createBinding(o, m, p);
187
- }
188
- function __values(o) {
189
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
190
- if (m)
191
- return m.call(o);
192
- if (o && typeof o.length === "number")
193
- return {
194
- next: function () {
195
- if (o && i >= o.length)
196
- o = void 0;
197
- return { value: o && o[i++], done: !o };
198
- }
199
- };
200
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
201
- }
202
- function __read(o, n) {
203
- var m = typeof Symbol === "function" && o[Symbol.iterator];
204
- if (!m)
205
- return o;
206
- var i = m.call(o), r, ar = [], e;
207
- try {
208
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
209
- ar.push(r.value);
210
- }
211
- catch (error) {
212
- e = { error: error };
213
- }
214
- finally {
215
- try {
216
- if (r && !r.done && (m = i["return"]))
217
- m.call(i);
218
- }
219
- finally {
220
- if (e)
221
- throw e.error;
222
- }
223
- }
224
- return ar;
225
- }
226
- /** @deprecated */
227
- function __spread() {
228
- for (var ar = [], i = 0; i < arguments.length; i++)
229
- ar = ar.concat(__read(arguments[i]));
230
- return ar;
231
- }
232
- /** @deprecated */
233
- function __spreadArrays() {
234
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
235
- s += arguments[i].length;
236
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
237
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
238
- r[k] = a[j];
239
- return r;
240
- }
241
- function __spreadArray(to, from, pack) {
242
- if (pack || arguments.length === 2)
243
- for (var i = 0, l = from.length, ar; i < l; i++) {
244
- if (ar || !(i in from)) {
245
- if (!ar)
246
- ar = Array.prototype.slice.call(from, 0, i);
247
- ar[i] = from[i];
248
- }
249
- }
250
- return to.concat(ar || from);
251
- }
252
- function __await(v) {
253
- return this instanceof __await ? (this.v = v, this) : new __await(v);
254
- }
255
- function __asyncGenerator(thisArg, _arguments, generator) {
256
- if (!Symbol.asyncIterator)
257
- throw new TypeError("Symbol.asyncIterator is not defined.");
258
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
259
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
260
- function verb(n) { if (g[n])
261
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
262
- function resume(n, v) { try {
263
- step(g[n](v));
264
- }
265
- catch (e) {
266
- settle(q[0][3], e);
267
- } }
268
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
269
- function fulfill(value) { resume("next", value); }
270
- function reject(value) { resume("throw", value); }
271
- function settle(f, v) { if (f(v), q.shift(), q.length)
272
- resume(q[0][0], q[0][1]); }
273
- }
274
- function __asyncDelegator(o) {
275
- var i, p;
276
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
277
- 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; }
278
- }
279
- function __asyncValues(o) {
280
- if (!Symbol.asyncIterator)
281
- throw new TypeError("Symbol.asyncIterator is not defined.");
282
- var m = o[Symbol.asyncIterator], i;
283
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
284
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
285
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
286
- }
287
- function __makeTemplateObject(cooked, raw) {
288
- if (Object.defineProperty) {
289
- Object.defineProperty(cooked, "raw", { value: raw });
290
- }
291
- else {
292
- cooked.raw = raw;
293
- }
294
- return cooked;
295
- }
296
- ;
297
- var __setModuleDefault = Object.create ? (function (o, v) {
298
- Object.defineProperty(o, "default", { enumerable: true, value: v });
299
- }) : function (o, v) {
300
- o["default"] = v;
301
- };
302
- function __importStar(mod) {
303
- if (mod && mod.__esModule)
304
- return mod;
305
- var result = {};
306
- if (mod != null)
307
- for (var k in mod)
308
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
309
- __createBinding(result, mod, k);
310
- __setModuleDefault(result, mod);
311
- return result;
312
- }
313
- function __importDefault(mod) {
314
- return (mod && mod.__esModule) ? mod : { default: mod };
315
- }
316
- function __classPrivateFieldGet(receiver, state, kind, f) {
317
- if (kind === "a" && !f)
318
- throw new TypeError("Private accessor was defined without a getter");
319
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
320
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
321
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
322
- }
323
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
324
- if (kind === "m")
325
- throw new TypeError("Private method is not writable");
326
- if (kind === "a" && !f)
327
- throw new TypeError("Private accessor was defined without a setter");
328
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
329
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
330
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () {
17
+ return e[k];
18
+ }
19
+ });
20
+ }
21
+ });
22
+ }
23
+ n['default'] = e;
24
+ return Object.freeze(n);
331
25
  }
332
26
 
333
- exports.ɵc = /** @class */ (function () {
334
- function SettingManagementState() {
335
- }
336
- SettingManagementState.getSelectedTab = function (_a) {
337
- var selectedTab = _a.selectedTab;
338
- return selectedTab;
339
- };
340
- SettingManagementState.prototype.settingManagementAction = function (_a, _b) {
341
- var patchState = _a.patchState;
342
- var payload = _b.payload;
343
- patchState({
344
- selectedTab: payload,
345
- });
346
- };
347
- return SettingManagementState;
348
- }());
349
- exports.ɵc.decorators = [
350
- { type: core.Injectable }
351
- ];
352
- __decorate([
353
- store.Action(SetSelectedSettingTab)
354
- ], exports.ɵc.prototype, "settingManagementAction", null);
355
- __decorate([
356
- store.Selector()
357
- ], exports.ɵc, "getSelectedTab", null);
358
- exports.ɵc = __decorate([
359
- store.State({
360
- name: 'SettingManagementState',
361
- defaults: {},
362
- })
363
- ], exports.ɵc);
27
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
28
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
29
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
30
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
31
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
32
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
364
33
 
365
34
  var SettingManagementComponent = /** @class */ (function () {
366
- function SettingManagementComponent(store, settingTabsService) {
367
- this.store = store;
35
+ function SettingManagementComponent(settingTabsService) {
368
36
  this.settingTabsService = settingTabsService;
369
37
  this.subscription = new rxjs.Subscription();
370
38
  this.settings = [];
371
39
  this.trackByFn = function (_, item) { return item.name; };
372
40
  }
373
- Object.defineProperty(SettingManagementComponent.prototype, "selected", {
374
- get: function () {
375
- var value = this.store.selectSnapshot(exports.ɵc.getSelectedTab);
376
- return (value === null || value === void 0 ? void 0 : value.component) ? value : this.settings[0] || {};
377
- },
378
- set: function (value) {
379
- this.store.dispatch(new SetSelectedSettingTab(value));
380
- },
381
- enumerable: false,
382
- configurable: true
383
- });
384
41
  SettingManagementComponent.prototype.ngOnDestroy = function () {
385
42
  this.subscription.unsubscribe();
386
43
  };
@@ -394,34 +51,32 @@
394
51
  };
395
52
  return SettingManagementComponent;
396
53
  }());
397
- SettingManagementComponent.decorators = [
398
- { type: core.Component, args: [{
399
- selector: 'abp-setting-management',
400
- template: "<abp-page [title]=\"'AbpSettingManagement::Settings' | abpLocalization\">\n <div id=\"SettingManagementWrapper\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col-12 col-md-3 mb-2 mb-md-0\">\n <ul class=\"nav flex-column nav-pills\" id=\"nav-tab\" role=\"tablist\">\n <ng-container *abpFor=\"let setting of settings; trackBy: trackByFn\">\n <li\n (click)=\"selected = setting\"\n class=\"nav-item pointer\"\n *abpPermission=\"setting.requiredPolicy\"\n >\n <a\n class=\"nav-link\"\n [id]=\"setting.name + '-tab'\"\n role=\"tab\"\n [class.active]=\"setting.name === selected.name\"\n >{{ setting.name | abpLocalization }}</a\n >\n </li>\n </ng-container>\n </ul>\n </div>\n <div class=\"col-12 col-md-9\">\n <div *ngIf=\"settings.length\" class=\"tab-content\">\n <div class=\"tab-pane fade show active\" [id]=\"selected.name + '-tab'\" role=\"tabpanel\">\n <ng-container *ngComponentOutlet=\"selected.component\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</abp-page>\n"
401
- },] }
402
- ];
403
- SettingManagementComponent.ctorParameters = function () { return [
404
- { type: store.Store },
405
- { type: ng_core.SettingTabsService }
406
- ]; };
54
+ SettingManagementComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementComponent, deps: [{ token: i1__namespace.SettingTabsService }], target: i0__namespace.ɵɵFactoryTarget.Component });
55
+ SettingManagementComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SettingManagementComponent, selector: "abp-setting-management", ngImport: i0__namespace, template: "<abp-page [title]=\"'AbpSettingManagement::Settings' | abpLocalization\">\n <div id=\"SettingManagementWrapper\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col-12 col-md-3 mb-2 mb-md-0\">\n <ul class=\"nav flex-column nav-pills\" id=\"nav-tab\" role=\"tablist\">\n <ng-container *abpFor=\"let setting of settings; trackBy: trackByFn\">\n <li\n (click)=\"selected = setting\"\n class=\"nav-item pointer\"\n *abpPermission=\"setting.requiredPolicy\"\n >\n <a\n class=\"nav-link\"\n [id]=\"setting.name + '-tab'\"\n role=\"tab\"\n [class.active]=\"setting.name === selected.name\"\n >{{ setting.name | abpLocalization }}</a\n >\n </li>\n </ng-container>\n </ul>\n </div>\n <div class=\"col-12 col-md-9\">\n <div *ngIf=\"settings.length\" class=\"tab-content\">\n <div class=\"tab-pane fade show active\" [id]=\"selected.name + '-tab'\" role=\"tabpanel\">\n <ng-container *ngComponentOutlet=\"selected.component\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</abp-page>\n", components: [{ type: i2__namespace.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }], directives: [{ type: i3__namespace.ForDirective, selector: "[abpFor]", inputs: ["abpForOf", "abpForOrderBy", "abpForOrderDir", "abpForFilterBy", "abpForFilterVal", "abpForTrackBy", "abpForCompareBy", "abpForEmptyRef"] }, { type: i3__namespace.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }], pipes: { "abpLocalization": i3__namespace.LocalizationPipe } });
56
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementComponent, decorators: [{
57
+ type: i0.Component,
58
+ args: [{
59
+ selector: 'abp-setting-management',
60
+ templateUrl: './setting-management.component.html',
61
+ }]
62
+ }], ctorParameters: function () { return [{ type: i1__namespace.SettingTabsService }]; } });
407
63
 
408
- var ɵ0 = {
409
- requiredPolicy: 'AbpAccount.SettingManagement',
410
- replaceableComponent: {
411
- key: "SettingManagement.SettingManagementComponent" /* SettingManagement */,
412
- defaultComponent: SettingManagementComponent,
413
- },
414
- };
415
64
  var routes = [
416
65
  {
417
66
  path: '',
418
- component: ng_core.DynamicLayoutComponent,
419
- canActivate: [ng_core.AuthGuard],
67
+ component: i3.DynamicLayoutComponent,
68
+ canActivate: [i3.AuthGuard],
420
69
  children: [
421
70
  {
422
71
  path: '',
423
- component: ng_core.ReplaceableRouteContainerComponent,
424
- data: ɵ0,
72
+ component: i3.ReplaceableRouteContainerComponent,
73
+ data: {
74
+ requiredPolicy: 'AbpAccount.SettingManagement',
75
+ replaceableComponent: {
76
+ key: "SettingManagement.SettingManagementComponent" /* SettingManagement */,
77
+ defaultComponent: SettingManagementComponent,
78
+ },
79
+ },
425
80
  },
426
81
  ],
427
82
  },
@@ -431,12 +86,16 @@
431
86
  }
432
87
  return SettingManagementRoutingModule;
433
88
  }());
434
- SettingManagementRoutingModule.decorators = [
435
- { type: core.NgModule, args: [{
436
- imports: [router.RouterModule.forChild(routes)],
437
- exports: [router.RouterModule],
438
- },] }
439
- ];
89
+ SettingManagementRoutingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementRoutingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
90
+ SettingManagementRoutingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementRoutingModule, imports: [i1__namespace$1.RouterModule], exports: [i1$1.RouterModule] });
91
+ SettingManagementRoutingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementRoutingModule, imports: [[i1$1.RouterModule.forChild(routes)], i1$1.RouterModule] });
92
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementRoutingModule, decorators: [{
93
+ type: i0.NgModule,
94
+ args: [{
95
+ imports: [i1$1.RouterModule.forChild(routes)],
96
+ exports: [i1$1.RouterModule],
97
+ }]
98
+ }] });
440
99
 
441
100
  var SettingManagementModule = /** @class */ (function () {
442
101
  function SettingManagementModule() {
@@ -448,23 +107,21 @@
448
107
  };
449
108
  };
450
109
  SettingManagementModule.forLazy = function () {
451
- return new ng_core.LazyModuleFactory(SettingManagementModule.forChild());
110
+ return new i3.LazyModuleFactory(SettingManagementModule.forChild());
452
111
  };
453
112
  return SettingManagementModule;
454
113
  }());
455
- SettingManagementModule.decorators = [
456
- { type: core.NgModule, args: [{
457
- declarations: [SettingManagementComponent],
458
- exports: [SettingManagementComponent],
459
- imports: [
460
- SettingManagementRoutingModule,
461
- ng_core.CoreModule,
462
- ng_theme_shared.ThemeSharedModule,
463
- page.PageModule,
464
- store.NgxsModule.forFeature([exports.ɵc]),
465
- ],
466
- },] }
467
- ];
114
+ SettingManagementModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
115
+ SettingManagementModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementModule, declarations: [SettingManagementComponent], imports: [SettingManagementRoutingModule, i3.CoreModule, ng_theme_shared.ThemeSharedModule, i2.PageModule], exports: [SettingManagementComponent] });
116
+ SettingManagementModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementModule, imports: [[SettingManagementRoutingModule, i3.CoreModule, ng_theme_shared.ThemeSharedModule, i2.PageModule]] });
117
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SettingManagementModule, decorators: [{
118
+ type: i0.NgModule,
119
+ args: [{
120
+ declarations: [SettingManagementComponent],
121
+ exports: [SettingManagementComponent],
122
+ imports: [SettingManagementRoutingModule, i3.CoreModule, ng_theme_shared.ThemeSharedModule, i2.PageModule],
123
+ }]
124
+ }] });
468
125
 
469
126
  /**
470
127
  * Generated bundle index. Do not edit.
@@ -472,8 +129,6 @@
472
129
 
473
130
  exports.SettingManagementComponent = SettingManagementComponent;
474
131
  exports.SettingManagementModule = SettingManagementModule;
475
- exports.ɵa = SettingManagementRoutingModule;
476
- exports.ɵd = SetSelectedSettingTab;
477
132
 
478
133
  Object.defineProperty(exports, '__esModule', { value: true });
479
134