plugin-tls 5.3.0 → 5.4.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.
Files changed (38) hide show
  1. package/dist/{createTierModeOptionsPluginHost-DWMl3oQA.js → createTierModeOptionsPluginHost-BSmyPyZ6.js} +4 -4
  2. package/dist/{createTierModeOptionsPluginHost-C-if5dn9.cjs → createTierModeOptionsPluginHost-CmgnR5Ur.cjs} +1 -1
  3. package/dist/index-node.cjs +1 -1
  4. package/dist/index-node.js +4 -4
  5. package/dist/index-web.cjs +1 -1
  6. package/dist/index-web.js +50 -50
  7. package/dist/index.cjs +1 -1
  8. package/dist/index.js +144 -113
  9. package/dist/options/options-manager/ModeOptions.d.ts +1 -1
  10. package/dist/options/options-manager/ModeOptions.d.ts.map +1 -1
  11. package/dist/options/options-manager/TierModeOptions.d.ts +1 -1
  12. package/dist/options/options-manager/TierModeOptions.d.ts.map +1 -1
  13. package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHost.d.ts +1 -1
  14. package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHost.d.ts.map +1 -1
  15. package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventEmitter.d.ts +1 -1
  16. package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventEmitter.d.ts.map +1 -1
  17. package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventTarget.d.ts +1 -1
  18. package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventTarget.d.ts.map +1 -1
  19. package/dist/options/options-plugin-host/tier-mode-options/createTierModeOptionsPluginHost.d.ts +1 -1
  20. package/dist/options/options-plugin-host/tier-mode-options/createTierModeOptionsPluginHost.d.ts.map +1 -1
  21. package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHost.d.ts +1 -1
  22. package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHost.d.ts.map +1 -1
  23. package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHostEventEmitter.d.ts +1 -1
  24. package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHostEventEmitter.d.ts.map +1 -1
  25. package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHostEventTarget.d.ts +1 -1
  26. package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHostEventTarget.d.ts.map +1 -1
  27. package/dist/options/options-plugin-host/tier-options/createTierOptionsPluginHost.d.ts +1 -1
  28. package/dist/options/options-plugin-host/tier-options/createTierOptionsPluginHost.d.ts.map +1 -1
  29. package/dist/options/plugins/tier-mode-options/decorator.d.ts.map +1 -1
  30. package/dist/options/plugins/tier-mode-options/plugin.d.ts.map +1 -1
  31. package/dist/options/plugins/tier-mode-options/type.d.ts +5 -0
  32. package/dist/options/plugins/tier-mode-options/type.d.ts.map +1 -1
  33. package/dist/options/plugins/tier-options/decorator.d.ts +2 -1
  34. package/dist/options/plugins/tier-options/decorator.d.ts.map +1 -1
  35. package/dist/options/plugins/tier-options/plugin.d.ts.map +1 -1
  36. package/dist/options/plugins/tier-options/type.d.ts +13 -8
  37. package/dist/options/plugins/tier-options/type.d.ts.map +1 -1
  38. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { Destroyable as O } from "@gby/destroyable";
2
- import { serialCallFuns as c } from "com-tools";
3
- import { m as a, a as y, b as u, T as d, c as P, d as f, P as M } from "./createTierModeOptionsPluginHost-DWMl3oQA.js";
4
- import { M as J, e as Q, f as X, g as Y, h as Z, i as L, j as K, k as tt, l as et, n as nt, o as st, p as rt, q as it, r as ot, s as ut, t as at, u as pt, v as ct, w as gt, x as lt, y as ht, z as dt, A as ft, B as Mt, C as mt, D as Ot, E as yt, F as Pt, G as xt, H as Tt } from "./createTierModeOptionsPluginHost-DWMl3oQA.js";
1
+ import { Destroyable as M } from "@gby/destroyable";
2
+ import { serialCallFuns as d } from "com-tools";
3
+ import { m as u, a as y, b as a, T as l, c as P, d as h, P as O } from "./createTierModeOptionsPluginHost-BSmyPyZ6.js";
4
+ import { M as J, e as Q, f as X, g as Y, h as Z, i as L, j as K, k as tt, l as et, n as nt, o as st, p as it, q as rt, r as ot, s as at, t as ut, u as pt, v as dt, w as lt, x as ht, y as gt, z as ct, A as ft, B as Ot, C as mt, D as Mt, E as yt, F as Pt, G as xt, H as _t } from "./createTierModeOptionsPluginHost-BSmyPyZ6.js";
5
5
  import { waitAsyncable as g } from "type-tls";
6
6
  function C(s, e) {
7
7
  return e;
@@ -12,22 +12,22 @@ function b(s) {
12
12
  };
13
13
  }
14
14
  function D(s, e) {
15
- return a(s.prototype, e), e;
15
+ return u(s.prototype, e), e;
16
16
  }
17
17
  function v(s) {
18
18
  return function(t) {
19
- return a(s.prototype, t), t;
19
+ return u(s.prototype, t), t;
20
20
  };
21
21
  }
22
22
  function H(s, e) {
23
- return a(s.prototype, e), s;
23
+ return u(s.prototype, e), s;
24
24
  }
25
25
  function j(s) {
26
26
  return function(t) {
27
- return a(s.prototype, t), s;
27
+ return u(s.prototype, t), s;
28
28
  };
29
29
  }
30
- class I extends O {
30
+ class I extends M {
31
31
  /**
32
32
  * 父级插件管理者
33
33
  *
@@ -87,10 +87,10 @@ class I extends O {
87
87
  * @param hostInst - 插件宿主的新实例
88
88
  */
89
89
  instUse(e, t, ...n) {
90
- const { plugins: r } = this;
90
+ const { plugins: i } = this;
91
91
  if (this.hasUsed(t)) return this.getUseReturn(t);
92
- const i = this.use(t, ...n);
93
- return t.onCreate?.(e), i;
92
+ const r = this.use(t, ...n);
93
+ return t.onCreate?.(e), r;
94
94
  }
95
95
  /**
96
96
  * 插件宿主创建实例时调用
@@ -101,10 +101,10 @@ class I extends O {
101
101
  * @param hostInst - 插件宿主的新实例
102
102
  */
103
103
  onCreate(e, ...t) {
104
- const n = this.parent?.onCreate(e, ...t), r = [];
105
- for (const [i] of this.plugins)
106
- i.onCreate && r.push(i.onCreate.bind(i));
107
- return g(n, () => c(r, void 0, [e, ...t]));
104
+ const n = this.parent?.onCreate(e, ...t), i = [];
105
+ for (const [r] of this.plugins)
106
+ r.onCreate && i.push(r.onCreate.bind(r));
107
+ return g(n, () => d(i, void 0, [e, ...t]));
108
108
  }
109
109
  /**
110
110
  * 插件宿主创建实例时调用
@@ -115,10 +115,10 @@ class I extends O {
115
115
  * @param args - 初始化宿主实例时的参数
116
116
  */
117
117
  onInit(e, ...t) {
118
- const n = this.parent?.onInit(e, ...t), r = [];
119
- for (const [i] of this.plugins)
120
- i.onInit && r.push(i.onInit.bind(i));
121
- return g(n, () => c(r, void 0, [e, ...t]));
118
+ const n = this.parent?.onInit(e, ...t), i = [];
119
+ for (const [r] of this.plugins)
120
+ r.onInit && i.push(r.onInit.bind(r));
121
+ return g(n, () => d(i, void 0, [e, ...t]));
122
122
  }
123
123
  /**
124
124
  * 插件宿主被销毁时调用
@@ -129,14 +129,14 @@ class I extends O {
129
129
  */
130
130
  onDestroy(e) {
131
131
  const t = [];
132
- for (const [i] of this.plugins)
133
- i.onDestroy && t.push(i.onDestroy.bind(i));
132
+ for (const [r] of this.plugins)
133
+ r.onDestroy && t.push(r.onDestroy.bind(r));
134
134
  t.reverse();
135
- const n = c(t, void 0, [e]), { parent: r } = this;
136
- return r ? g(n, () => r.onDestroy(e)) : n;
135
+ const n = d(t, void 0, [e]), { parent: i } = this;
136
+ return i ? g(n, () => i.onDestroy(e)) : n;
137
137
  }
138
138
  }
139
- class R extends O {
139
+ class R extends M {
140
140
  /**
141
141
  * 父级插件管理者
142
142
  *
@@ -197,10 +197,10 @@ class R extends O {
197
197
  * @param hostInst - 插件宿主的新实例
198
198
  */
199
199
  onCreate(e, ...t) {
200
- const n = this.parent?.onCreate(e, ...t), r = [];
201
- for (const i of this.plugins)
202
- i.onCreate && r.push(i.onCreate);
203
- return g(n, () => c(r, e, [e, ...t]));
200
+ const n = this.parent?.onCreate(e, ...t), i = [];
201
+ for (const r of this.plugins)
202
+ r.onCreate && i.push(r.onCreate);
203
+ return g(n, () => d(i, e, [e, ...t]));
204
204
  }
205
205
  /**
206
206
  * 插件宿主创建实例时调用
@@ -211,10 +211,10 @@ class R extends O {
211
211
  * @param args - 初始化宿主实例时的参数
212
212
  */
213
213
  onInit(e, ...t) {
214
- const n = this.parent?.onInit(e, ...t), r = [];
215
- for (const i of this.plugins)
216
- i.onInit && r.push(i.onInit);
217
- return g(n, () => c(r, e, [e, ...t]));
214
+ const n = this.parent?.onInit(e, ...t), i = [];
215
+ for (const r of this.plugins)
216
+ r.onInit && i.push(r.onInit);
217
+ return g(n, () => d(i, e, [e, ...t]));
218
218
  }
219
219
  /**
220
220
  * 插件宿主被销毁时调用
@@ -225,39 +225,39 @@ class R extends O {
225
225
  */
226
226
  onDestroy(e) {
227
227
  const t = [];
228
- for (const i of this.plugins)
229
- i.onDestroy && t.push(i.onDestroy);
228
+ for (const r of this.plugins)
229
+ r.onDestroy && t.push(r.onDestroy);
230
230
  t.reverse();
231
- const n = c(t, e, [e]), { parent: r } = this;
232
- return r ? g(n, () => r.onDestroy(e)) : n;
231
+ const n = d(t, e, [e]), { parent: i } = this;
232
+ return i ? g(n, () => i.onDestroy(e)) : n;
233
233
  }
234
234
  }
235
235
  function m(s, e) {
236
236
  const t = [{ target: s, props: e }];
237
237
  let n;
238
238
  for (; n = t.shift(); ) {
239
- const { target: r, props: i } = n;
240
- for (const [p, o] of Object.entries(i)) {
239
+ const { target: i, props: r } = n;
240
+ for (const [p, o] of Object.entries(r)) {
241
241
  if (o != null && typeof o == "object" && (!o.constructor || o.constructor === Object)) {
242
- t.push({ target: r[p], props: o });
242
+ t.push({ target: i[p], props: o });
243
243
  continue;
244
244
  }
245
- r[p] = o;
245
+ i[p] = o;
246
246
  }
247
247
  }
248
248
  return s;
249
249
  }
250
250
  function x(s, e) {
251
251
  const t = {}, n = [{ target: s, props: e, targetProps: t }];
252
- let r;
253
- for (; r = n.shift(); ) {
254
- const { target: i, props: p, targetProps: o } = r;
255
- for (const [h, l] of Object.entries(p)) {
256
- if (l != null && typeof l == "object" && (!l.constructor || l.constructor === Object)) {
257
- n.push({ target: i[h], props: l, targetProps: o[h] = {} });
252
+ let i;
253
+ for (; i = n.shift(); ) {
254
+ const { target: r, props: p, targetProps: o } = i;
255
+ for (const [f, c] of Object.entries(p)) {
256
+ if (c != null && typeof c == "object" && (!c.constructor || c.constructor === Object)) {
257
+ n.push({ target: r[f], props: c, targetProps: o[f] = {} });
258
258
  continue;
259
259
  }
260
- o[h] = i[h];
260
+ o[f] = r[f];
261
261
  }
262
262
  }
263
263
  return t;
@@ -267,15 +267,15 @@ function k(s, e) {
267
267
  function n() {
268
268
  m(s, e);
269
269
  }
270
- function r() {
270
+ function i() {
271
271
  m(s, t);
272
272
  }
273
- return { set: n, unset: r };
273
+ return { set: n, unset: i };
274
274
  }
275
275
  function B(s, e) {
276
276
  const t = e ?? "defaultOptions", n = `_${t}`;
277
- return function(i) {
278
- const p = u(i, {
277
+ return function(r) {
278
+ const p = a(r, {
279
279
  /**
280
280
  * 全局级别的默认选项
281
281
  */
@@ -283,7 +283,7 @@ function B(s, e) {
283
283
  return s;
284
284
  }
285
285
  });
286
- u(p.prototype, {
286
+ a(p.prototype, {
287
287
  /**
288
288
  * 实例级的默认选项
289
289
  */
@@ -295,7 +295,7 @@ function B(s, e) {
295
295
  }
296
296
  function N(s, e, t) {
297
297
  const n = `_${e}`;
298
- return u(s.prototype, {
298
+ return a(s.prototype, {
299
299
  /**
300
300
  * 实例级的默认选项
301
301
  */
@@ -305,24 +305,32 @@ function N(s, e, t) {
305
305
  }), t;
306
306
  }
307
307
  function V(s, e, t) {
308
- const n = u(s, {
308
+ const n = a(s, {
309
+ /**
310
+ * 是否使用独立的选项
311
+ * @defaultValue false
312
+ */
313
+ isolatedOptions: !1,
309
314
  /**
310
315
  * 全局级别的默认选项
311
316
  */
312
- modeOptions: new d(e, t)
317
+ get modeOptions() {
318
+ return this.isolatedOptions && !this.hasOwnProperty("_modeOptions") && (this._modeOptions = new l(e, null, this._modeOptions)), this._modeOptions;
319
+ },
320
+ _modeOptions: new l(e, t)
313
321
  });
314
- return u(n.prototype, {
322
+ return a(n.prototype, {
315
323
  /**
316
324
  * 实例级的默认选项
317
325
  */
318
326
  get modeOptions() {
319
- return this._modeOptions || (this._modeOptions = new d(e, void 0, this.constructor.modeOptions));
327
+ return this._modeOptions || (this._modeOptions = new l(e, void 0, this.constructor.modeOptions));
320
328
  },
321
329
  get mode() {
322
330
  return this.modeOptions.mode;
323
331
  },
324
- set mode(r) {
325
- this.modeOptions.mode = r;
332
+ set mode(i) {
333
+ this.modeOptions.mode = i;
326
334
  },
327
335
  get options() {
328
336
  return this.modeOptions.fullOption;
@@ -332,27 +340,34 @@ function V(s, e, t) {
332
340
  const q = {
333
341
  onUse(s, e, t) {
334
342
  const n = e ?? P;
335
- a(s, {
336
- modeOptions: new d(
337
- n,
338
- void 0,
339
- t
340
- )
341
- }), a(s.prototype, {
343
+ u(s, {
344
+ /**
345
+ * 是否使用独立的选项
346
+ * @defaultValue false
347
+ */
348
+ isolatedOptions: !1,
349
+ /**
350
+ * 全局级别的默认选项
351
+ */
342
352
  get modeOptions() {
343
- const r = this, i = s;
344
- return r._modeOptions || (r._modeOptions = new d(
345
- i.modeOptions.mode,
353
+ return this.isolatedOptions && !this.hasOwnProperty("_modeOptions") && (this._modeOptions = new l(n, null, this._modeOptions)), this._modeOptions;
354
+ },
355
+ _modeOptions: new l(n, void 0, t)
356
+ }), u(s.prototype, {
357
+ get modeOptions() {
358
+ const i = this, r = s;
359
+ return i._modeOptions || (i._modeOptions = new l(
360
+ r.modeOptions.mode,
346
361
  void 0,
347
- i.modeOptions
362
+ r.modeOptions
348
363
  ));
349
364
  },
350
365
  get mode() {
351
366
  return this.modeOptions.mode;
352
367
  },
353
- set mode(r) {
354
- const i = this;
355
- i.modeOptions.mode = r;
368
+ set mode(i) {
369
+ const r = this;
370
+ r.modeOptions.mode = i;
356
371
  },
357
372
  get options() {
358
373
  return this.modeOptions.plainFullOption;
@@ -360,46 +375,62 @@ const q = {
360
375
  });
361
376
  },
362
377
  onCreate(s, e) {
363
- s.modeOptions.setOption(e);
378
+ e && s.modeOptions.setOption(e);
364
379
  }
365
380
  }, F = {
366
381
  onUse(s, e, t) {
367
- a(s, {
382
+ u(s, {
383
+ /**
384
+ * 是否使用独立的选项
385
+ * @defaultValue false
386
+ */
387
+ isolatedOptions: !1,
368
388
  /**
369
389
  * 全局级别的默认选项
370
390
  */
371
- defaultOptions: new f(e, t)
372
- }), a(s.prototype, {
391
+ get defaultOptions() {
392
+ return this.isolatedOptions && !this.hasOwnProperty("_defaultOptions") && (this._defaultOptions = new h(void 0, this._defaultOptions)), this._defaultOptions;
393
+ },
394
+ _defaultOptions: new h(e, t)
395
+ }), u(s.prototype, {
373
396
  /**
374
397
  * 实例级的默认选项
375
398
  */
376
399
  get defaultOptions() {
377
- return this._defaultOptions || (this._defaultOptions = new f(void 0, s.defaultOptions));
400
+ return this._defaultOptions || (this._defaultOptions = new h(void 0, s.defaultOptions));
378
401
  }
379
402
  });
380
403
  },
381
404
  onCreate(s, e) {
382
- s.defaultOptions.option = e;
405
+ e && (s.defaultOptions.option = e);
383
406
  }
384
407
  };
385
- function A(s, e) {
386
- const t = u(s, {
408
+ function A(s, e, t) {
409
+ const n = a(s, {
410
+ /**
411
+ * 是否使用独立的选项
412
+ * @defaultValue false
413
+ */
414
+ isolatedOptions: !1,
387
415
  /**
388
416
  * 全局级别的默认选项
389
417
  */
390
- defaultOptions: new f(e)
418
+ get defaultOptions() {
419
+ return this.isolatedOptions && !this.hasOwnProperty("_defaultOptions") && (this._defaultOptions = new h(void 0, this._defaultOptions)), this._defaultOptions;
420
+ },
421
+ _defaultOptions: new h(e, t)
391
422
  });
392
- return u(t.prototype, {
423
+ return a(n.prototype, {
393
424
  /**
394
425
  * 实例级的默认选项
395
426
  */
396
427
  get defaultOptions() {
397
- return this._defaultOptions || (this._defaultOptions = new f(void 0, this.constructor.defaultOptions));
428
+ return this._defaultOptions || (this._defaultOptions = new h(void 0, this.constructor.defaultOptions));
398
429
  }
399
430
  }), s;
400
431
  }
401
- function T(s) {
402
- const e = u(s, {
432
+ function _(s) {
433
+ const e = a(s, {
403
434
  /**
404
435
  * 是否使用独立的插件管理器
405
436
  * @defaultValue false
@@ -409,7 +440,7 @@ function T(s) {
409
440
  * PluginHost 的插件管理器
410
441
  */
411
442
  get pluginManager() {
412
- return (!this._pluginManager || this.isolatedPluginManager && !this.hasOwnProperty("_pluginManager")) && (this._pluginManager = new M(this, this._pluginManager)), this._pluginManager;
443
+ return (!this._pluginManager || this.isolatedPluginManager && !this.hasOwnProperty("_pluginManager")) && (this._pluginManager = new O(this, this._pluginManager)), this._pluginManager;
413
444
  },
414
445
  // _pluginManager: PluginManager<HOST,Plugin>;
415
446
  /**
@@ -433,7 +464,7 @@ function T(s) {
433
464
  return this.pluginManager.hasUsed(t);
434
465
  }
435
466
  });
436
- return u(e.prototype, {
467
+ return a(e.prototype, {
437
468
  /**
438
469
  * 插件管理器
439
470
  */
@@ -472,11 +503,11 @@ function T(s) {
472
503
  }), s;
473
504
  }
474
505
  function S(s) {
475
- const e = T(s);
506
+ const e = _(s);
476
507
  return new Proxy(e, {
477
- construct: function(t, n, r) {
478
- const i = new t(...n);
479
- return e.pluginManager.onCreate(this, ...n), i;
508
+ construct: function(t, n, i) {
509
+ const r = new t(...n);
510
+ return e.pluginManager.onCreate(this, ...n), r;
480
511
  }
481
512
  });
482
513
  }
@@ -491,9 +522,9 @@ function z(s) {
491
522
  * 插件管理器
492
523
  */
493
524
  static get pluginManager() {
494
- return this.isolatedPluginManager && !this.hasOwnProperty("_pluginManager") && (this._pluginManager = new M(this, this._pluginManager)), this._pluginManager;
525
+ return this.isolatedPluginManager && !this.hasOwnProperty("_pluginManager") && (this._pluginManager = new O(this, this._pluginManager)), this._pluginManager;
495
526
  }
496
- static _pluginManager = new M(this);
527
+ static _pluginManager = new O(this);
497
528
  /**
498
529
  * 插件管理器 {@link PluginHostExtends.pluginManager}
499
530
  */
@@ -565,16 +596,16 @@ function z(s) {
565
596
  export {
566
597
  R as ExtendManager,
567
598
  J as ModeOptions,
568
- M as PluginExtendManager,
599
+ O as PluginExtendManager,
569
600
  Q as PluginHost,
570
601
  I as PluginManager,
571
- d as TierModeOptions,
602
+ l as TierModeOptions,
572
603
  X as TierModeOptionsPluginHost,
573
- f as TierOptions,
604
+ h as TierOptions,
574
605
  Y as TierOptionsPluginHost,
575
606
  B as addDefaultOptions,
576
607
  N as addInstOptions,
577
- T as becomePluginHost,
608
+ _ as becomePluginHost,
578
609
  z as becomePluginHost_Extends,
579
610
  S as becomePluginHost_Proxy,
580
611
  V as becomeTierModeOptionsHost,
@@ -591,33 +622,33 @@ export {
591
622
  v as createTargetExtend,
592
623
  nt as createTargetIExtend,
593
624
  st as createTargetMixin,
594
- rt as createTierModeOptionsPluginHost,
595
- it as createTierOptionsPluginHost,
625
+ it as createTierModeOptionsPluginHost,
626
+ rt as createTierOptionsPluginHost,
596
627
  C as defineExtend,
597
628
  ot as defineIExtend,
598
- ut as defineMixin,
599
- at as extendMark,
629
+ at as defineMixin,
630
+ ut as extendMark,
600
631
  H as extendTarget,
601
632
  pt as getPropertyValue,
602
- ct as getPropertyValueByPath,
633
+ dt as getPropertyValueByPath,
603
634
  x as getTargetProperties,
604
- gt as iextendTarget,
605
- lt as isPlugin,
635
+ lt as iextendTarget,
636
+ ht as isPlugin,
606
637
  m as mergeProperties,
607
- a as mixin,
608
- ht as mixinByOmit,
609
- dt as mixinByPick,
638
+ u as mixin,
639
+ gt as mixinByOmit,
640
+ ct as mixinByPick,
610
641
  y as mixinIExtend,
611
- u as mixinTarget,
642
+ a as mixinTarget,
612
643
  ft as parsePropertyPath,
613
- Mt as pickHostExtendMembers,
644
+ Ot as pickHostExtendMembers,
614
645
  mt as setPropertyValue,
615
- Ot as setPropertyValueByPath,
646
+ Mt as setPropertyValueByPath,
616
647
  D as targetExtend,
617
648
  yt as targetIExtend,
618
649
  Pt as targetMixin,
619
650
  xt as tierModeOptionsDecorator,
620
651
  q as tierModeOptionsPlugin,
621
- Tt as tierOptionsDecorator,
652
+ _t as tierOptionsDecorator,
622
653
  F as tierOptionsPlugin
623
654
  };
@@ -19,7 +19,7 @@ import { TierOptions } from "./TierOptions";
19
19
  */
20
20
  export declare class ModeOptions<Mode extends string | number = string, Option extends {} = any> extends OptionsManager<Option> {
21
21
  constructor(mode: Mode);
22
- constructor(mode: Mode, options?: Option);
22
+ constructor(mode: Mode, options?: Option | null);
23
23
  /**
24
24
  * 模式的配置
25
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ModeOptions.d.ts","sourceRoot":"","sources":["../../../src/options/options-manager/ModeOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAA;AAC/C,OAAQ,EAAC,WAAW,EAAC,MAAM,eAAe,CAAA;AAG1C;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,WAAW,CAAC,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAC,MAAM,SAAS,EAAE,GAAG,GAAG,CAAE,SAAQ,cAAc,CAAC,MAAM,CAAC;gBAEtG,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM;IASxC;;OAEG;IACH,KAAK,EAAS,MAAM,CAAC,IAAI,EAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;IAE/C;;OAEG;IACH,IAAI,IAAI,IAAG,IAAI,CAEd;IACD,IAAI,IAAI,CAAC,KAAK,EAHH,IAGG,EAMb;IACD,SAAS,CAAC,KAAK,CAAC,EAAC,IAAI,CAAC;IAGtB;;OAEG;IACH,IAAI,SAAS,WAEZ;IAED,SAAS,CAAC,UAAU,EAAC,IAAI,EAAE,GAAG,IAAI,CAAQ;IAG1C;;;OAGG;IACH,YAAY,IAC0B,IAAI,EAAE;IAI5C;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAC,MAAM,GAAG,MAAM;IAM5B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AEZ;IAED,SAAS,CAAC,UAAU,EAAC,IAAI,EAAE,GAAG,IAAI,CAAQ;IAG1C;;;OAGG;IACH,YAAY,IAC0B,IAAI,EAAE;IAI5C;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAC,MAAM,GAAG,MAAM;IAM5B;;OAEG;IACH,IAAI,aAAa,IAAG,WAAW,CAAC,MAAM,CAAC,CAEtC;IAID;;OAEG;IACH,IAAI,MAAM,WAET;IAED,IAAI,eAAe,WAElB;IAED,SAAS,CAAC,gBAAgB,EAAC,MAAM,GAAC,IAAI,CAAQ;IAG9C;;OAEG;IACH,gBAAgB;IAOhB;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,EAAC,IAAI,GAAE,MAAM,GAAC,IAAI;IAIpC;;;;;;OAMG;IACH,iBAAiB,CAAC,IAAI,EAAC,IAAI,GAAE,MAAM,GAAC,IAAI;IAKxC;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,IAAI,CAAC,EAAC,OAAO,EAAC,MAAM,CAAC,EAAC,IAAI;CAiBnE"}
@@ -7,7 +7,7 @@ import type { TierOptions } from "./TierOptions";
7
7
  */
8
8
  export declare class TierModeOptions<Mode extends string | number = string, Option extends {} = any> extends ModeOptions<Mode, Option> {
9
9
  constructor(mode: Mode);
10
- constructor(mode: Mode, options?: Option, extend?: TierModeOptions<Mode, Option>);
10
+ constructor(mode: Mode, options?: Option | null, extend?: TierModeOptions<Mode, Option> | null);
11
11
  /**
12
12
  * 继承的选项
13
13
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TierModeOptions.d.ts","sourceRoot":"","sources":["../../../src/options/options-manager/TierModeOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,eAAe,CAAA;AAI9C;;;;GAIG;AACH,qBAAa,eAAe,CAAC,IAAI,SAAS,MAA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AQ,EAAE,MAAM,EAAE,GAAG,GAAG;CAW7C;AAMD;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAC,KAAK,EAC/C,KAAK,EAAE,4BAA4B,CAAC,IAAI,EAAC,KAAK,CAAC,EAC/C,OAAO,EAAC,6BAA6B,CAAC,IAAI,EAAC,KAAK,CAAC,GACjD,4BAA4B,CAAC,IAAI,EAAC,KAAK,CAAC,CAS3C"}
@@ -30,6 +30,6 @@ export declare class TierModeOptionsPluginHost<Host, HostClass extends AbstractC
30
30
  get mode(): Mode;
31
31
  set mode(value: Mode);
32
32
  get options(): Options;
33
- constructor(options: Options);
33
+ constructor(options?: Options | null);
34
34
  }
35
35
  //# sourceMappingURL=TierModeOptionsPluginHost.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TierModeOptionsPluginHost.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHost.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIjD;;;;;;;;GAQG;AACH,qBAAa,yBAAyB,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,QAAQ,CAAC,EAAE,CAAC,GAAG,GAAG,CAAE,SAAQ,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IAEjP;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,WAAW,iCAKrB;IACD,MAAM,CAAC,YAAY,+BAAoD;IAGvE;;OAEG;IACH,IAAI,WAAW,mCAEd;IACD,SAAS,CAAC,YAAY,EAAG,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAExD,IAAI,IAAI,SAEP;IACD,IAAI,IAAI,CAAC,KAAK,MAAA,EAEb;IAED,IAAI,OAAO,YAEV;gBAGW,OAAO,EAAE,OAAO;CAI7B"}
1
+ {"version":3,"file":"TierModeOptionsPluginHost.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHost.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIjD;;;;;;;;GAQG;AACH,qBAAa,yBAAyB,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,QAAQ,CAAC,EAAE,CAAC,GAAG,GAAG,CAAE,SAAQ,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IAEjP;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,WAAW,iCAKrB;IACD,MAAM,CAAC,YAAY,+BAAoD;IAGvE;;OAEG;IACH,IAAI,WAAW,mCAEd;IACD,SAAS,CAAC,YAAY,EAAG,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAExD,IAAI,IAAI,SAEP;IACD,IAAI,IAAI,CAAC,KAAK,MAAA,EAEb;IAED,IAAI,OAAO,YAEV;gBAGW,OAAO,CAAC,EAAE,OAAO,GAAC,IAAI;CAMnC"}
@@ -30,6 +30,6 @@ export declare class TierModeOptionsPluginHostEventEmitter<Host, HostClass exten
30
30
  get mode(): Mode;
31
31
  set mode(value: Mode);
32
32
  get options(): Options;
33
- constructor(options: Options);
33
+ constructor(options?: Options | null);
34
34
  }
35
35
  //# sourceMappingURL=TierModeOptionsPluginHostEventEmitter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TierModeOptionsPluginHostEventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventEmitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAErF,OAAO,KAAK,EAAE,mBAAmB,EAAC,SAAS,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGjD;;;;;;;;GAQG;AACH,qBAAa,qCAAqC,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,QAAQ,CAAC,EAAE,CAAC,GAAG,GAAG,CAAE,SAAQ,sBAAsB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IACzQ;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,WAAW,iCAKrB;IACD,MAAM,CAAC,YAAY,+BAAoD;IAEvE;;OAEG;IACH,IAAI,WAAW,mCAEd;IACD,SAAS,CAAC,YAAY,EAAG,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAExD,IAAI,IAAI,SAEP;IACD,IAAI,IAAI,CAAC,KAAK,MAAA,EAEb;IAED,IAAI,OAAO,YAEV;gBAGW,OAAO,EAAE,OAAO;CAI7B"}
1
+ {"version":3,"file":"TierModeOptionsPluginHostEventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventEmitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAErF,OAAO,KAAK,EAAE,mBAAmB,EAAC,SAAS,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGjD;;;;;;;;GAQG;AACH,qBAAa,qCAAqC,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,QAAQ,CAAC,EAAE,CAAC,GAAG,GAAG,CAAE,SAAQ,sBAAsB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IACzQ;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,WAAW,iCAKrB;IACD,MAAM,CAAC,YAAY,+BAAoD;IAEvE;;OAEG;IACH,IAAI,WAAW,mCAEd;IACD,SAAS,CAAC,YAAY,EAAG,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAExD,IAAI,IAAI,SAEP;IACD,IAAI,IAAI,CAAC,KAAK,MAAA,EAEb;IAED,IAAI,OAAO,YAEV;gBAGW,OAAO,CAAC,EAAE,OAAO,GAAC,IAAI;CAMnC"}
@@ -29,6 +29,6 @@ export declare class TierModeOptionsPluginHostEventTarget<Host, HostClass extend
29
29
  get mode(): Mode;
30
30
  set mode(value: Mode);
31
31
  get options(): Options;
32
- constructor(options: Options);
32
+ constructor(options?: Options | null);
33
33
  }
34
34
  //# sourceMappingURL=TierModeOptionsPluginHostEventTarget.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TierModeOptionsPluginHostEventTarget.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventTarget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAEnF,OAAO,KAAK,EAAE,mBAAmB,EAAC,SAAS,EAAE,MAAM,UAAU,CAAC;AAI9D;;;;;;;;GAQG;AACH,qBAAa,oCAAoC,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAC,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAE,SAAQ,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IAC7R;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,WAAW,iCAKrB;IACD,MAAM,CAAC,YAAY,+BAAoD;IAEvE;;OAEG;IACH,IAAI,WAAW,mCAEd;IACD,SAAS,CAAC,YAAY,EAAG,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAExD,IAAI,IAAI,SAEP;IACD,IAAI,IAAI,CAAC,KAAK,MAAA,EAEb;IAED,IAAI,OAAO,YAEV;gBAGW,OAAO,EAAE,OAAO;CAI7B"}
1
+ {"version":3,"file":"TierModeOptionsPluginHostEventTarget.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventTarget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAEnF,OAAO,KAAK,EAAE,mBAAmB,EAAC,SAAS,EAAE,MAAM,UAAU,CAAC;AAI9D;;;;;;;;GAQG;AACH,qBAAa,oCAAoC,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAC,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAE,SAAQ,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IAC7R;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,WAAW,iCAKrB;IACD,MAAM,CAAC,YAAY,+BAAoD;IAEvE;;OAEG;IACH,IAAI,WAAW,mCAEd;IACD,SAAS,CAAC,YAAY,EAAG,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAExD,IAAI,IAAI,SAEP;IACD,IAAI,IAAI,CAAC,KAAK,MAAA,EAEb;IAED,IAAI,OAAO,YAEV;gBAGW,OAAO,CAAC,EAAE,OAAO,GAAC,IAAI;CAMnC"}
@@ -8,7 +8,7 @@ import type { AbstractConstructor, ClassType } from "type-tls";
8
8
  * @returns
9
9
  */
10
10
  export declare function createTierModeOptionsPluginHost<P extends new (...args: any) => Object, Options extends {}, Mode extends string | number = string>(ParentClass: P): {
11
- new <Host, HostClass extends AbstractConstructor<Host> = ClassType<Host, any>>(options: Options): {
11
+ new <Host, HostClass extends AbstractConstructor<Host> = ClassType<Host, any>>(options?: Options | null): {
12
12
  /**
13
13
  * 实例级的默认选项
14
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"createTierModeOptionsPluginHost.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-mode-options/createTierModeOptionsPluginHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAGxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG/D;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,KAAK,MAAM,EAAC,OAAO,SAAS,EAAE,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,WAAW,EAAE,CAAC;SAEpH,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,kCAsCpE,OAAO;QApB5B;;WAEG;;sBAIY,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvB7C;;;OAGG;;IAGH;;OAEG;;;;;;;;;MAkCN"}
1
+ {"version":3,"file":"createTierModeOptionsPluginHost.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-mode-options/createTierModeOptionsPluginHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAGxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG/D;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,KAAK,MAAM,EAAE,OAAO,SAAS,EAAE,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,WAAW,EAAE,CAAC;SAErH,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,mCAsCnE,OAAO,GAAG,IAAI;QApBpC;;WAEG;;sBAIY,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvB7C;;;OAGG;;IAGH;;OAEG;;;;;;;;;MAoCN"}
@@ -27,6 +27,6 @@ export declare class TierOptionsPluginHost<Host, HostClass extends AbstractConst
27
27
  */
28
28
  get defaultOptions(): TierOptions<Options>;
29
29
  protected _defaultOptions: TierOptions<Options>;
30
- constructor(options: Options);
30
+ constructor(options?: Options | null);
31
31
  }
32
32
  //# sourceMappingURL=TierOptionsPluginHost.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TierOptionsPluginHost.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-options/TierOptionsPluginHost.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAC,SAAS,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOjD;;;;;;;;GAQG;AACH,qBAAa,qBAAqB,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAC,EAAE,SAAS,QAAQ,CAAC,EAAE,CAAC,GAAG,GAAG,CAAE,SAAQ,UAAU,CAAC,IAAI,EAAE,SAAS,EAAC,EAAE,CAAC;IAEpM;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,cAAc,qBAKxB;IACD,MAAM,CAAC,eAAe,mBAA0B;IAEhD;;OAEG;IACH,IAAI,cAAc,yBAEjB;IACD,SAAS,CAAC,eAAe,EAAG,WAAW,CAAC,OAAO,CAAC,CAAC;gBAErC,OAAO,EAAE,OAAO;CAI7B"}
1
+ {"version":3,"file":"TierOptionsPluginHost.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-options/TierOptionsPluginHost.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAC,SAAS,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOjD;;;;;;;;GAQG;AACH,qBAAa,qBAAqB,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAC,EAAE,SAAS,QAAQ,CAAC,EAAE,CAAC,GAAG,GAAG,CAAE,SAAQ,UAAU,CAAC,IAAI,EAAE,SAAS,EAAC,EAAE,CAAC;IAEpM;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,cAAc,qBAKxB;IACD,MAAM,CAAC,eAAe,mBAA0B;IAEhD;;OAEG;IACH,IAAI,cAAc,yBAEjB;IACD,SAAS,CAAC,eAAe,EAAG,WAAW,CAAC,OAAO,CAAC,CAAC;gBAErC,OAAO,CAAC,EAAE,OAAO,GAAC,IAAI;CAMnC"}
@@ -27,6 +27,6 @@ export declare class TierOptionsPluginHostEventEmitter<Host, HostClass extends A
27
27
  */
28
28
  get defaultOptions(): TierOptions<Options>;
29
29
  protected _defaultOptions: TierOptions<Options>;
30
- constructor(options: Options);
30
+ constructor(options?: Options | null);
31
31
  }
32
32
  //# sourceMappingURL=TierOptionsPluginHostEventEmitter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TierOptionsPluginHostEventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-options/TierOptionsPluginHostEventEmitter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAC,SAAS,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMjD;;;;;;;;GAQG;AACH,qBAAa,iCAAiC,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAC,EAAE,SAAS,QAAQ,CAAC,EAAE,CAAC,GAAG,GAAG,CAAE,SAAQ,sBAAsB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IAC7N;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,cAAc,qBAKxB;IACD,MAAM,CAAC,eAAe,mBAA0B;IAGhD;;OAEG;IACH,IAAI,cAAc,yBAEjB;IACD,SAAS,CAAC,eAAe,EAAG,WAAW,CAAC,OAAO,CAAC,CAAC;gBAErC,OAAO,EAAE,OAAO;CAI7B"}
1
+ {"version":3,"file":"TierOptionsPluginHostEventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/options/options-plugin-host/tier-options/TierOptionsPluginHostEventEmitter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAC,SAAS,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMjD;;;;;;;;GAQG;AACH,qBAAa,iCAAiC,CAAC,IAAI,EAAE,SAAS,SAAS,mBAAmB,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,EAAE,GAAG,GAAG,EAAC,EAAE,SAAS,QAAQ,CAAC,EAAE,CAAC,GAAG,GAAG,CAAE,SAAQ,sBAAsB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IAC7N;;;OAGG;IACH,MAAM,CAAC,eAAe,UAAS;IAE/B;;OAEG;IACH,MAAM,KAAK,cAAc,qBAKxB;IACD,MAAM,CAAC,eAAe,mBAA0B;IAGhD;;OAEG;IACH,IAAI,cAAc,yBAEjB;IACD,SAAS,CAAC,eAAe,EAAG,WAAW,CAAC,OAAO,CAAC,CAAC;gBAErC,OAAO,CAAC,EAAE,OAAO,GAAC,IAAI;CAMnC"}
@@ -26,6 +26,6 @@ export declare class TierOptionsPluginHostEventTarget<Host, HostClass extends Ab
26
26
  */
27
27
  get defaultOptions(): TierOptions<Options>;
28
28
  protected _defaultOptions: TierOptions<Options>;
29
- constructor(options: Options);
29
+ constructor(options?: Options | null);
30
30
  }
31
31
  //# sourceMappingURL=TierOptionsPluginHostEventTarget.d.ts.map