silentium 0.0.2 → 0.0.3

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 (93) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/beforeRelease.sh +11 -0
  3. package/dist/silentium.cjs +39 -63
  4. package/dist/silentium.cjs.map +1 -1
  5. package/dist/silentium.d.ts +34 -53
  6. package/dist/silentium.js +40 -63
  7. package/dist/silentium.js.map +1 -1
  8. package/dist/silentium.min.js +1 -1
  9. package/dist/silentium.min.mjs +1 -1
  10. package/dist/silentium.min.mjs.map +1 -1
  11. package/dist/silentium.mjs +40 -63
  12. package/dist/silentium.mjs.map +1 -1
  13. package/docs/assets/css/base.css +15 -0
  14. package/docs/assets/css/custom.css +72 -0
  15. package/docs/assets/img/logo.svg +1522 -0
  16. package/docs/assets/js/components/linkDynamic.mjs +14 -0
  17. package/docs/assets/js/components/linkReloadable.mjs +17 -0
  18. package/docs/assets/js/components.mjs +2 -0
  19. package/docs/assets/js/index.mjs +74 -0
  20. package/docs/assets/js/lib/StyleFetched.mjs +19 -0
  21. package/docs/build.sh +7 -3
  22. package/docs/buildRoutes.sh +15 -0
  23. package/docs/favicon.ico +0 -0
  24. package/docs/index-dev.html +4 -80
  25. package/docs/index.html +6 -82
  26. package/docs/pages/compatibility/elegant-objects.html +4 -4
  27. package/docs/pages/examples/errors.html +2 -2
  28. package/docs/pages/examples.html +12 -14
  29. package/docs/pages/guest/guest-applied.html +9 -5
  30. package/docs/pages/guest/guest-cast.html +20 -26
  31. package/docs/pages/guest/guest-disposable.html +32 -42
  32. package/docs/pages/guest/guest-executor-applied.html +21 -17
  33. package/docs/pages/guest/guest-object.html +22 -26
  34. package/docs/pages/guest/guest-pool.html +17 -18
  35. package/docs/pages/guest/guest-sync.html +7 -2
  36. package/docs/pages/guest/index.html +18 -29
  37. package/docs/pages/guest.html +112 -18
  38. package/docs/pages/index.html +24 -52
  39. package/docs/pages/integrations/vue.html +5 -8
  40. package/docs/pages/patron/index.html +14 -20
  41. package/docs/pages/patron/patron-applied.html +2 -2
  42. package/docs/pages/patron/patron-executor-applied.html +2 -2
  43. package/docs/pages/patron/patron-once.html +12 -18
  44. package/docs/pages/patron/patron-pool.html +12 -18
  45. package/docs/pages/patron.html +137 -16
  46. package/docs/pages/philosofy.html +30 -49
  47. package/docs/pages/source/index.html +11 -14
  48. package/docs/pages/source/source-all.html +9 -12
  49. package/docs/pages/source/source-applied.html +2 -2
  50. package/docs/pages/source/source-dynamic.html +3 -3
  51. package/docs/pages/source/source-executor-applied.html +2 -2
  52. package/docs/pages/source/source-map.html +5 -5
  53. package/docs/pages/source/source-once.html +2 -2
  54. package/docs/pages/source/source-race.html +10 -10
  55. package/docs/pages/source/source-sequence.html +2 -2
  56. package/docs/pages/source/source-with-pool.html +8 -11
  57. package/docs/pages/source/source.html +11 -14
  58. package/docs/pages/source.html +162 -31
  59. package/docs/pages/terminology/source.html +5 -9
  60. package/docs/pages/terminology.html +12 -18
  61. package/docs/pages/utils.html +33 -21
  62. package/docs/routes.json +1 -0
  63. package/docs/template.html +4 -80
  64. package/eslint.config.mjs +3 -0
  65. package/package.json +2 -2
  66. package/src/Guest/Guest.ts +3 -3
  67. package/src/Guest/GuestApplied.ts +1 -1
  68. package/src/Guest/GuestCast.ts +1 -1
  69. package/src/Guest/GuestDisposable.ts +1 -1
  70. package/src/Guest/GuestExecutorApplied.ts +1 -1
  71. package/src/Guest/GuestObject.ts +1 -1
  72. package/src/Guest/GuestPool.ts +1 -1
  73. package/src/Guest/GuestSync.ts +1 -1
  74. package/src/Patron/Patron.ts +2 -2
  75. package/src/Patron/PatronApplied.ts +1 -1
  76. package/src/Patron/PatronExecutorApplied.ts +1 -1
  77. package/src/Patron/PatronOnce.ts +1 -1
  78. package/src/Patron/PatronPool.ts +4 -4
  79. package/src/Private/Private.ts +1 -1
  80. package/src/Source/Source.ts +4 -4
  81. package/src/Source/SourceAll.ts +1 -1
  82. package/src/Source/SourceApplied.ts +1 -1
  83. package/src/Source/SourceDynamic.ts +1 -1
  84. package/src/Source/SourceExecutorApplied.ts +1 -1
  85. package/src/Source/SourceMap.ts +1 -1
  86. package/src/Source/SourceOnce.ts +1 -1
  87. package/src/Source/SourceRace.ts +1 -1
  88. package/src/Source/SourceSequence.ts +1 -1
  89. package/src/Source/SourceWithPool.ts +1 -1
  90. package/src/index.ts +0 -1
  91. package/docs/pages/source/source-active.html +0 -120
  92. package/src/Source/SourceActive.test.ts +0 -13
  93. package/src/Source/SourceActive.ts +0 -41
@@ -6,15 +6,15 @@ interface GuestObjectType<T = any> {
6
6
  }
7
7
  type GuestType<T = any> = GuestExecutorType<T> | GuestObjectType<T>;
8
8
  /**
9
- * @url https://kosukhin.github.io/patron.site/#/utils/give
9
+ * @url https://silentium-lab.github.io/silentium/#/utils/give
10
10
  */
11
11
  declare function give<T>(data: T, guest: GuestType<T>): void;
12
12
  /**
13
- * @url https://kosukhin.github.io/patron.site/#/utils/is-guest
13
+ * @url https://silentium-lab.github.io/silentium/#/utils/is-guest
14
14
  */
15
15
  declare function isGuest(mbGuest: any): mbGuest is GuestType;
16
16
  /**
17
- * @url https://kosukhin.github.io/patron.site/#/guest
17
+ * @url https://silentium-lab.github.io/silentium/#/guest
18
18
  */
19
19
  declare class Guest<T> implements GuestObjectType<T> {
20
20
  private receiver;
@@ -27,7 +27,7 @@ interface GuestDisposableType<T = any> extends GuestObjectType<T> {
27
27
  }
28
28
  type MaybeDisposableType<T = any> = Partial<GuestDisposableType<T>>;
29
29
  /**
30
- * @url https://kosukhin.github.io/patron.site/#/guest/guest-disposable
30
+ * @url https://silentium-lab.github.io/silentium/#/guest/guest-disposable
31
31
  */
32
32
  declare class GuestDisposable<T> implements GuestDisposableType<T> {
33
33
  private guest;
@@ -38,7 +38,7 @@ declare class GuestDisposable<T> implements GuestDisposableType<T> {
38
38
  }
39
39
 
40
40
  /**
41
- * @url https://kosukhin.github.io/patron.site/#/guest/guest-cast
41
+ * @url https://silentium-lab.github.io/silentium/#/guest/guest-cast
42
42
  */
43
43
  declare class GuestCast<T> implements GuestDisposableType<T> {
44
44
  private sourceGuest;
@@ -50,15 +50,15 @@ declare class GuestCast<T> implements GuestDisposableType<T> {
50
50
  }
51
51
 
52
52
  /**
53
- * @url https://kosukhin.github.io/patron.site/#/utils/patron-pools
53
+ * @url https://silentium-lab.github.io/silentium/#/utils/patron-pools
54
54
  */
55
55
  declare const patronPools: (patron: GuestObjectType) => PoolType<any>[];
56
56
  /**
57
- * @url https://kosukhin.github.io/patron.site/#/utils/remove-patron-from-pools
57
+ * @url https://silentium-lab.github.io/silentium/#/utils/remove-patron-from-pools
58
58
  */
59
59
  declare const removePatronFromPools: (patron: GuestObjectType) => void;
60
60
  /**
61
- * @url https://kosukhin.github.io/patron.site/#/utils/is-patron-in-pools
61
+ * @url https://silentium-lab.github.io/silentium/#/utils/is-patron-in-pools
62
62
  */
63
63
  declare const isPatronInPools: (patron: GuestObjectType) => boolean;
64
64
  interface PoolType<T = any> extends GuestObjectType<T> {
@@ -68,7 +68,7 @@ interface PoolType<T = any> extends GuestObjectType<T> {
68
68
  size(): number;
69
69
  }
70
70
  /**
71
- * @url https://kosukhin.github.io/patron.site/#/patron/patron-pool
71
+ * @url https://silentium-lab.github.io/silentium/#/patron/patron-pool
72
72
  */
73
73
  declare class PatronPool<T> implements PoolType<T> {
74
74
  private initiator;
@@ -84,7 +84,7 @@ declare class PatronPool<T> implements PoolType<T> {
84
84
  }
85
85
 
86
86
  /**
87
- * @url https://kosukhin.github.io/patron.site/#/guest/guest-pool
87
+ * @url https://silentium-lab.github.io/silentium/#/guest/guest-pool
88
88
  */
89
89
  declare class GuestPool<T> implements GuestObjectType<T>, PoolType<T> {
90
90
  private guests;
@@ -102,7 +102,7 @@ interface GuestValueType<T = any> extends GuestObjectType<T> {
102
102
  value(): T;
103
103
  }
104
104
  /**
105
- * @url https://kosukhin.github.io/patron.site/#/guest/guest-sync
105
+ * @url https://silentium-lab.github.io/silentium/#/guest/guest-sync
106
106
  */
107
107
  declare class GuestSync<T> implements GuestValueType<T> {
108
108
  private theValue;
@@ -112,7 +112,7 @@ declare class GuestSync<T> implements GuestValueType<T> {
112
112
  }
113
113
 
114
114
  /**
115
- * @url https://kosukhin.github.io/patron.site/#/guest/guest-object
115
+ * @url https://silentium-lab.github.io/silentium/#/guest/guest-object
116
116
  */
117
117
  declare class GuestObject<T> implements GuestDisposableType<T> {
118
118
  private baseGuest;
@@ -123,7 +123,7 @@ declare class GuestObject<T> implements GuestDisposableType<T> {
123
123
  }
124
124
 
125
125
  /**
126
- * @url https://kosukhin.github.io/patron.site/#/guest/guest-applied
126
+ * @url https://silentium-lab.github.io/silentium/#/guest/guest-applied
127
127
  */
128
128
  declare class GuestApplied<T, R> implements GuestObjectType<T> {
129
129
  private baseGuest;
@@ -133,7 +133,7 @@ declare class GuestApplied<T, R> implements GuestObjectType<T> {
133
133
  }
134
134
 
135
135
  /**
136
- * @url https://kosukhin.github.io/patron.site/#/guest/guest-executor-applied
136
+ * @url https://silentium-lab.github.io/silentium/#/guest/guest-executor-applied
137
137
  */
138
138
  declare class GuestExecutorApplied<T> implements GuestObjectType<T> {
139
139
  give: GuestExecutorType<T, this>;
@@ -141,7 +141,7 @@ declare class GuestExecutorApplied<T> implements GuestObjectType<T> {
141
141
  }
142
142
 
143
143
  /**
144
- * @url https://kosukhin.github.io/patron.site/#/patron
144
+ * @url https://silentium-lab.github.io/silentium/#/patron
145
145
  */
146
146
  declare class Patron<T> implements GuestDisposableType<T> {
147
147
  private willBePatron;
@@ -151,12 +151,12 @@ declare class Patron<T> implements GuestDisposableType<T> {
151
151
  disposed(value: T | null): boolean;
152
152
  }
153
153
  /**
154
- * @url https://kosukhin.github.io/patron.site/#/utils/is-patron
154
+ * @url https://silentium-lab.github.io/silentium/#/utils/is-patron
155
155
  */
156
156
  declare const isPatron: (guest: GuestType) => guest is Patron<unknown>;
157
157
 
158
158
  /**
159
- * @url https://kosukhin.github.io/patron.site/#/patron/patron-once
159
+ * @url https://silentium-lab.github.io/silentium/#/patron/patron-once
160
160
  */
161
161
  declare class PatronOnce<T> implements GuestDisposableType<T> {
162
162
  private baseGuest;
@@ -168,7 +168,7 @@ declare class PatronOnce<T> implements GuestDisposableType<T> {
168
168
  }
169
169
 
170
170
  /**
171
- * @url https://kosukhin.github.io/patron.site/#/patron/patron-applied
171
+ * @url https://silentium-lab.github.io/silentium/#/patron/patron-applied
172
172
  */
173
173
  declare class PatronApplied<T, R> implements GuestObjectType<T> {
174
174
  private guestApplied;
@@ -178,7 +178,7 @@ declare class PatronApplied<T, R> implements GuestObjectType<T> {
178
178
  }
179
179
 
180
180
  /**
181
- * @url https://kosukhin.github.io/patron.site/#/patron/patron-executor-applied
181
+ * @url https://silentium-lab.github.io/silentium/#/patron/patron-executor-applied
182
182
  */
183
183
  declare class PatronExecutorApplied<T> implements GuestObjectType<T> {
184
184
  private guestApplied;
@@ -193,15 +193,15 @@ interface SourceObjectType<T> {
193
193
  }
194
194
  type SourceType<T = any> = SourceExecutorType<T> | SourceObjectType<T>;
195
195
  /**
196
- * @url https://kosukhin.github.io/patron.site/#/utils/value
196
+ * @url https://silentium-lab.github.io/silentium/#/utils/value
197
197
  */
198
198
  declare function value<T>(source: SourceType<T>, guest: GuestType<T>): unknown;
199
199
  /**
200
- * @url https://kosukhin.github.io/patron.site/#/utils/is-source
200
+ * @url https://silentium-lab.github.io/silentium/#/utils/is-source
201
201
  */
202
202
  declare function isSource(mbSource: any): mbSource is SourceType;
203
203
  /**
204
- * @url https://kosukhin.github.io/patron.site/#/guest/source
204
+ * @url https://silentium-lab.github.io/silentium/#/guest/source
205
205
  */
206
206
  declare class Source<T = any> implements SourceObjectType<T> {
207
207
  private source;
@@ -209,7 +209,7 @@ declare class Source<T = any> implements SourceObjectType<T> {
209
209
  value(guest: GuestType<T>): GuestType<T>;
210
210
  }
211
211
  /**
212
- * @url https://kosukhin.github.io/patron.site/#/utils/source-of
212
+ * @url https://silentium-lab.github.io/silentium/#/utils/source-of
213
213
  */
214
214
  declare const sourceOf: <T>(value: T) => Source<T>;
215
215
 
@@ -218,7 +218,7 @@ interface SourceAllType<T = any> extends SourceObjectType<T> {
218
218
  guestKey<R>(key: string): GuestObjectType<R>;
219
219
  }
220
220
  /**
221
- * @url https://kosukhin.github.io/patron.site/#/guest/source-all
221
+ * @url https://silentium-lab.github.io/silentium/#/guest/source-all
222
222
  */
223
223
  declare class SourceAll<T> implements SourceAllType<T> {
224
224
  private theAll;
@@ -233,7 +233,7 @@ declare class SourceAll<T> implements SourceAllType<T> {
233
233
  }
234
234
 
235
235
  /**
236
- * @url https://kosukhin.github.io/patron.site/#/utils/private
236
+ * @url https://silentium-lab.github.io/silentium/#/utils/private
237
237
  */
238
238
  interface PrivateType<T> {
239
239
  get<R extends unknown[], CT = null>(...args: R): CT extends null ? T : CT;
@@ -245,7 +245,7 @@ declare class Private<T> implements PrivateType<T> {
245
245
  }
246
246
 
247
247
  /**
248
- * @url https://kosukhin.github.io/patron.site/#/guest/source-sequence
248
+ * @url https://silentium-lab.github.io/silentium/#/guest/source-sequence
249
249
  */
250
250
  declare class SourceSequence<T, TG> implements SourceObjectType<TG[]> {
251
251
  private baseSource;
@@ -255,7 +255,7 @@ declare class SourceSequence<T, TG> implements SourceObjectType<TG[]> {
255
255
  }
256
256
 
257
257
  /**
258
- * @url https://kosukhin.github.io/patron.site/#/guest/source-map
258
+ * @url https://silentium-lab.github.io/silentium/#/guest/source-map
259
259
  */
260
260
  declare class SourceMap<T, TG> implements SourceObjectType<TG[]> {
261
261
  private baseSource;
@@ -265,7 +265,7 @@ declare class SourceMap<T, TG> implements SourceObjectType<TG[]> {
265
265
  }
266
266
 
267
267
  /**
268
- * @url https://kosukhin.github.io/patron.site/#/guest/source-race
268
+ * @url https://silentium-lab.github.io/silentium/#/guest/source-race
269
269
  */
270
270
  declare class SourceRace<T> implements SourceObjectType<T> {
271
271
  private sources;
@@ -277,7 +277,7 @@ interface PoolAwareType<T = any> {
277
277
  pool(): PatronPool<T>;
278
278
  }
279
279
  /**
280
- * @url https://kosukhin.github.io/patron.site/#/source-with-pool
280
+ * @url https://silentium-lab.github.io/silentium/#/source-with-pool
281
281
  */
282
282
  type SourceWithPoolType<T = any> = SourceObjectType<T> & GuestObjectType<T> & PoolAwareType<T>;
283
283
  declare class SourceWithPool<T> implements SourceWithPoolType<T> {
@@ -293,26 +293,7 @@ declare class SourceWithPool<T> implements SourceWithPoolType<T> {
293
293
  }
294
294
 
295
295
  /**
296
- * @url https://kosukhin.github.io/patron.site/#/utils/action-type
297
- */
298
- interface ActionType<P = any> {
299
- do(config: P): this;
300
- }
301
- interface SourceAcitveType<R = unknown, T = unknown> extends SourceObjectType<T>, ActionType<R> {
302
- }
303
- /**
304
- * @url https://kosukhin.github.io/patron.site/#/guest/source-active
305
- */
306
- declare class SourceActive<R, T> implements SourceAcitveType<R, T> {
307
- private configExecutor;
308
- private source;
309
- constructor(configExecutor: (config: R, source: SourceWithPoolType<T>) => void);
310
- do(config: R): this;
311
- value(guest: GuestType<T>): this;
312
- }
313
-
314
- /**
315
- * @url https://kosukhin.github.io/patron.site/#/source-dynamic
296
+ * @url https://silentium-lab.github.io/silentium/#/source-dynamic
316
297
  */
317
298
  declare class SourceDynamic<T = unknown> implements SourceWithPoolType<T> {
318
299
  private baseGuest;
@@ -324,7 +305,7 @@ declare class SourceDynamic<T = unknown> implements SourceWithPoolType<T> {
324
305
  }
325
306
 
326
307
  /**
327
- * @url https://kosukhin.github.io/patron.site/#/source/source-applied
308
+ * @url https://silentium-lab.github.io/silentium/#/source/source-applied
328
309
  */
329
310
  declare class SourceApplied<T, R> implements SourceObjectType<R> {
330
311
  private baseSource;
@@ -334,7 +315,7 @@ declare class SourceApplied<T, R> implements SourceObjectType<R> {
334
315
  }
335
316
 
336
317
  /**
337
- * @url https://kosukhin.github.io/patron.site/#/source/source-executor-applied
318
+ * @url https://silentium-lab.github.io/silentium/#/source/source-executor-applied
338
319
  */
339
320
  declare class SourceExecutorApplied<T> implements SourceObjectType<T> {
340
321
  value: SourceExecutorType<T>;
@@ -342,7 +323,7 @@ declare class SourceExecutorApplied<T> implements SourceObjectType<T> {
342
323
  }
343
324
 
344
325
  /**
345
- * @url https://kosukhin.github.io/patron.site/#/source/source-once
326
+ * @url https://silentium-lab.github.io/silentium/#/source/source-once
346
327
  */
347
328
  declare class SourceOnce<T> implements SourceWithPoolType<T> {
348
329
  private source;
@@ -362,4 +343,4 @@ declare class PrivateClass<T> implements PrivateType<T> {
362
343
  get<R extends unknown[], CT = null>(...args: R): CT extends null ? T : CT;
363
344
  }
364
345
 
365
- export { type ActionType, Guest, GuestApplied, GuestCast, GuestDisposable, type GuestDisposableType, GuestExecutorApplied, type GuestExecutorType, GuestObject, type GuestObjectType, GuestPool, GuestSync, type GuestType, type GuestValueType, type MaybeDisposableType, Patron, PatronApplied, PatronExecutorApplied, PatronOnce, PatronPool, type PoolAwareType, type PoolType, Private, PrivateClass, type PrivateType, Source, type SourceAcitveType, SourceActive, SourceAll, type SourceAllType, SourceApplied, SourceDynamic, SourceExecutorApplied, type SourceExecutorType, SourceMap, type SourceObjectType, SourceOnce, SourceRace, SourceSequence, type SourceType, SourceWithPool, type SourceWithPoolType, give, isGuest, isPatron, isPatronInPools, isSource, patronPools, removePatronFromPools, sourceOf, value };
346
+ export { Guest, GuestApplied, GuestCast, GuestDisposable, type GuestDisposableType, GuestExecutorApplied, type GuestExecutorType, GuestObject, type GuestObjectType, GuestPool, GuestSync, type GuestType, type GuestValueType, type MaybeDisposableType, Patron, PatronApplied, PatronExecutorApplied, PatronOnce, PatronPool, type PoolAwareType, type PoolType, Private, PrivateClass, type PrivateType, Source, SourceAll, type SourceAllType, SourceApplied, SourceDynamic, SourceExecutorApplied, type SourceExecutorType, SourceMap, type SourceObjectType, SourceOnce, SourceRace, SourceSequence, type SourceType, SourceWithPool, type SourceWithPoolType, give, isGuest, isPatron, isPatronInPools, isSource, patronPools, removePatronFromPools, sourceOf, value };
package/dist/silentium.js CHANGED
@@ -60,9 +60,9 @@ class GuestCast {
60
60
  }
61
61
  }
62
62
 
63
- var __defProp$a = Object.defineProperty;
64
- var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
65
- var __publicField$a = (obj, key, value) => __defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
63
+ var __defProp$9 = Object.defineProperty;
64
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
65
+ var __publicField$9 = (obj, key, value) => __defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
66
66
  const poolSets = /* @__PURE__ */ new Map();
67
67
  const patronPools = (patron) => {
68
68
  const pools = [];
@@ -96,8 +96,8 @@ const isPatronInPools = (patron) => {
96
96
  class PatronPool {
97
97
  constructor(initiator) {
98
98
  this.initiator = initiator;
99
- __publicField$a(this, "patrons");
100
- __publicField$a(this, "give");
99
+ __publicField$9(this, "patrons");
100
+ __publicField$9(this, "give");
101
101
  this.patrons = /* @__PURE__ */ new Set();
102
102
  poolSets.set(this, this.patrons);
103
103
  const doReceive = (value) => {
@@ -146,13 +146,13 @@ class PatronPool {
146
146
  }
147
147
  }
148
148
 
149
- var __defProp$9 = Object.defineProperty;
150
- var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
151
- var __publicField$9 = (obj, key, value) => __defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
149
+ var __defProp$8 = Object.defineProperty;
150
+ var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
151
+ var __publicField$8 = (obj, key, value) => __defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
152
152
  class GuestPool {
153
153
  constructor(initiator) {
154
- __publicField$9(this, "guests", /* @__PURE__ */ new Set());
155
- __publicField$9(this, "patronPool");
154
+ __publicField$8(this, "guests", /* @__PURE__ */ new Set());
155
+ __publicField$8(this, "patronPool");
156
156
  this.patronPool = new PatronPool(initiator);
157
157
  }
158
158
  give(value) {
@@ -262,12 +262,12 @@ class GuestApplied {
262
262
  }
263
263
  }
264
264
 
265
- var __defProp$8 = Object.defineProperty;
266
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
267
- var __publicField$8 = (obj, key, value) => __defNormalProp$8(obj, key + "" , value);
265
+ var __defProp$7 = Object.defineProperty;
266
+ var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
267
+ var __publicField$7 = (obj, key, value) => __defNormalProp$7(obj, key + "" , value);
268
268
  class GuestExecutorApplied {
269
269
  constructor(baseGuest, applier) {
270
- __publicField$8(this, "give");
270
+ __publicField$7(this, "give");
271
271
  this.give = applier((v) => give(v, baseGuest));
272
272
  }
273
273
  }
@@ -293,13 +293,13 @@ class Patron {
293
293
  }
294
294
  const isPatron = (guest) => typeof guest === "object" && guest !== null && guest?.introduction?.() === "patron";
295
295
 
296
- var __defProp$7 = Object.defineProperty;
297
- var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
298
- var __publicField$7 = (obj, key, value) => __defNormalProp$7(obj, key + "" , value);
296
+ var __defProp$6 = Object.defineProperty;
297
+ var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
298
+ var __publicField$6 = (obj, key, value) => __defNormalProp$6(obj, key + "" , value);
299
299
  class PatronOnce {
300
300
  constructor(baseGuest) {
301
301
  this.baseGuest = baseGuest;
302
- __publicField$7(this, "received", false);
302
+ __publicField$6(this, "received", false);
303
303
  if (baseGuest === void 0) {
304
304
  throw new Error("PatronOnce didnt receive baseGuest argument");
305
305
  }
@@ -323,12 +323,12 @@ class PatronOnce {
323
323
  }
324
324
  }
325
325
 
326
- var __defProp$6 = Object.defineProperty;
327
- var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
328
- var __publicField$6 = (obj, key, value) => __defNormalProp$6(obj, key + "" , value);
326
+ var __defProp$5 = Object.defineProperty;
327
+ var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
328
+ var __publicField$5 = (obj, key, value) => __defNormalProp$5(obj, key + "" , value);
329
329
  class PatronApplied {
330
330
  constructor(baseGuest, applier) {
331
- __publicField$6(this, "guestApplied");
331
+ __publicField$5(this, "guestApplied");
332
332
  this.guestApplied = new GuestApplied(baseGuest, applier);
333
333
  }
334
334
  give(value) {
@@ -340,12 +340,12 @@ class PatronApplied {
340
340
  }
341
341
  }
342
342
 
343
- var __defProp$5 = Object.defineProperty;
344
- var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
345
- var __publicField$5 = (obj, key, value) => __defNormalProp$5(obj, key + "" , value);
343
+ var __defProp$4 = Object.defineProperty;
344
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
345
+ var __publicField$4 = (obj, key, value) => __defNormalProp$4(obj, key + "" , value);
346
346
  class PatronExecutorApplied {
347
347
  constructor(baseGuest, applier) {
348
- __publicField$5(this, "guestApplied");
348
+ __publicField$4(this, "guestApplied");
349
349
  this.guestApplied = new GuestExecutorApplied(baseGuest, applier);
350
350
  }
351
351
  give(value) {
@@ -357,15 +357,15 @@ class PatronExecutorApplied {
357
357
  }
358
358
  }
359
359
 
360
- var __defProp$4 = Object.defineProperty;
361
- var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
362
- var __publicField$4 = (obj, key, value) => __defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
360
+ var __defProp$3 = Object.defineProperty;
361
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
362
+ var __publicField$3 = (obj, key, value) => __defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
363
363
  class SourceWithPool {
364
364
  constructor(sourceDocument) {
365
365
  this.sourceDocument = sourceDocument;
366
- __publicField$4(this, "thePool", new PatronPool(this));
367
- __publicField$4(this, "theEmptyPool", new PatronPool(this));
368
- __publicField$4(this, "isEmpty");
366
+ __publicField$3(this, "thePool", new PatronPool(this));
367
+ __publicField$3(this, "theEmptyPool", new PatronPool(this));
368
+ __publicField$3(this, "isEmpty");
369
369
  this.isEmpty = sourceDocument === void 0;
370
370
  }
371
371
  pool() {
@@ -397,15 +397,15 @@ class SourceWithPool {
397
397
  }
398
398
  }
399
399
 
400
- var __defProp$3 = Object.defineProperty;
401
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
402
- var __publicField$3 = (obj, key, value) => __defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
400
+ var __defProp$2 = Object.defineProperty;
401
+ var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
402
+ var __publicField$2 = (obj, key, value) => __defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
403
403
  class SourceAll {
404
404
  constructor(initialKnownKeys = []) {
405
- __publicField$3(this, "theAll");
406
- __publicField$3(this, "keysKnown");
407
- __publicField$3(this, "keysFilled", /* @__PURE__ */ new Set());
408
- __publicField$3(this, "filledAllPool", new GuestPool(this));
405
+ __publicField$2(this, "theAll");
406
+ __publicField$2(this, "keysKnown");
407
+ __publicField$2(this, "keysFilled", /* @__PURE__ */ new Set());
408
+ __publicField$2(this, "filledAllPool", new GuestPool(this));
409
409
  this.theAll = new SourceWithPool({});
410
410
  this.keysKnown = new Set(initialKnownKeys);
411
411
  }
@@ -605,29 +605,6 @@ class SourceRace {
605
605
  }
606
606
  }
607
607
 
608
- var __defProp$2 = Object.defineProperty;
609
- var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
610
- var __publicField$2 = (obj, key, value) => __defNormalProp$2(obj, key + "" , value);
611
- class SourceActive {
612
- constructor(configExecutor) {
613
- this.configExecutor = configExecutor;
614
- __publicField$2(this, "source", new SourceWithPool());
615
- if (configExecutor === void 0) {
616
- throw new Error(
617
- "SourceActive constructor didnt receive executor function"
618
- );
619
- }
620
- }
621
- do(config) {
622
- this.configExecutor(config, this.source);
623
- return this;
624
- }
625
- value(guest) {
626
- this.source.value(guest);
627
- return this;
628
- }
629
- }
630
-
631
608
  class SourceDynamic {
632
609
  constructor(baseGuest, baseSource) {
633
610
  this.baseGuest = baseGuest;
@@ -731,5 +708,5 @@ class Private {
731
708
  }
732
709
  }
733
710
 
734
- export { Guest, GuestApplied, GuestCast, GuestDisposable, GuestExecutorApplied, GuestObject, GuestPool, GuestSync, Patron, PatronApplied, PatronExecutorApplied, PatronOnce, PatronPool, Private, PrivateClass, Source, SourceActive, SourceAll, SourceApplied, SourceDynamic, SourceExecutorApplied, SourceMap, SourceOnce, SourceRace, SourceSequence, SourceWithPool, give, isGuest, isPatron, isPatronInPools, isSource, patronPools, removePatronFromPools, sourceOf, value };
711
+ export { Guest, GuestApplied, GuestCast, GuestDisposable, GuestExecutorApplied, GuestObject, GuestPool, GuestSync, Patron, PatronApplied, PatronExecutorApplied, PatronOnce, PatronPool, Private, PrivateClass, Source, SourceAll, SourceApplied, SourceDynamic, SourceExecutorApplied, SourceMap, SourceOnce, SourceRace, SourceSequence, SourceWithPool, give, isGuest, isPatron, isPatronInPools, isSource, patronPools, removePatronFromPools, sourceOf, value };
735
712
  //# sourceMappingURL=silentium.js.map