@slickgrid-universal/event-pub-sub 5.7.0 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/eventPubSub.service.js +30 -25
- package/dist/cjs/eventPubSub.service.js.map +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/eventPubSub.service.js +25 -20
- package/dist/esm/eventPubSub.service.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/eventPubSub.service.d.ts +14 -12
- package/dist/types/eventPubSub.service.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/basePubSubService.interface.d.ts +2 -2
- package/dist/types/types/basePubSubService.interface.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/eventPubSub.service.ts +28 -20
- package/src/index.ts +4 -2
- package/src/types/basePubSubService.interface.ts +2 -2
- package/dist/cjs/types/index.js +0 -20
- package/dist/cjs/types/index.js.map +0 -1
- package/dist/esm/types/index.js +0 -4
- package/dist/esm/types/index.js.map +0 -1
- package/dist/types/types/index.d.ts +0 -4
- package/dist/types/types/index.d.ts.map +0 -1
- package/src/types/index.ts +0 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EventPubSubService = void 0;
|
|
4
4
|
const utils_1 = require("@slickgrid-universal/utils");
|
|
5
|
-
const
|
|
5
|
+
const eventNamingStyle_enum_js_1 = require("./types/eventNamingStyle.enum.js");
|
|
6
6
|
class EventPubSubService {
|
|
7
7
|
get elementSource() {
|
|
8
8
|
return this._elementSource;
|
|
@@ -18,7 +18,7 @@ class EventPubSubService {
|
|
|
18
18
|
}
|
|
19
19
|
constructor(elementSource) {
|
|
20
20
|
this._subscribedEvents = [];
|
|
21
|
-
this.eventNamingStyle =
|
|
21
|
+
this.eventNamingStyle = eventNamingStyle_enum_js_1.EventNamingStyle.camelCase;
|
|
22
22
|
// use the provided element
|
|
23
23
|
// or create a "phantom DOM node" (a div element that is never rendered) to set up a custom event dispatching
|
|
24
24
|
this._elementSource = elementSource || document.createElement('div');
|
|
@@ -59,16 +59,16 @@ class EventPubSubService {
|
|
|
59
59
|
getEventNameByNamingConvention(inputEventName, eventNamePrefix) {
|
|
60
60
|
let outputEventName = '';
|
|
61
61
|
switch (this.eventNamingStyle) {
|
|
62
|
-
case
|
|
62
|
+
case eventNamingStyle_enum_js_1.EventNamingStyle.camelCase:
|
|
63
63
|
outputEventName = (eventNamePrefix !== '') ? `${eventNamePrefix}${(0, utils_1.titleCase)(inputEventName)}` : inputEventName;
|
|
64
64
|
break;
|
|
65
|
-
case
|
|
65
|
+
case eventNamingStyle_enum_js_1.EventNamingStyle.kebabCase:
|
|
66
66
|
outputEventName = (eventNamePrefix !== '') ? `${eventNamePrefix}-${(0, utils_1.toKebabCase)(inputEventName)}` : (0, utils_1.toKebabCase)(inputEventName);
|
|
67
67
|
break;
|
|
68
|
-
case
|
|
68
|
+
case eventNamingStyle_enum_js_1.EventNamingStyle.lowerCase:
|
|
69
69
|
outputEventName = `${eventNamePrefix}${inputEventName}`.toLowerCase();
|
|
70
70
|
break;
|
|
71
|
-
case
|
|
71
|
+
case eventNamingStyle_enum_js_1.EventNamingStyle.lowerCaseWithoutOnPrefix:
|
|
72
72
|
outputEventName = `${eventNamePrefix}${inputEventName.replace(/^on/, '')}`.toLowerCase();
|
|
73
73
|
break;
|
|
74
74
|
}
|
|
@@ -100,42 +100,47 @@ class EventPubSubService {
|
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
102
|
* Subscribes to a message channel or message type.
|
|
103
|
-
* @param event The event channel or event data type.
|
|
104
|
-
* @param callback The callback to be invoked when the specified message is published.
|
|
103
|
+
* @param {String|String[]} event The event channel or event data type.
|
|
104
|
+
* @param {Function} callback The callback to be invoked when the specified message is published.
|
|
105
105
|
* @return possibly a Subscription
|
|
106
106
|
*/
|
|
107
|
-
subscribe(
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
107
|
+
subscribe(eventNames, callback) {
|
|
108
|
+
eventNames = Array.isArray(eventNames) ? eventNames : [eventNames];
|
|
109
|
+
const subscriptions = [];
|
|
110
|
+
eventNames.forEach(eventName => {
|
|
111
|
+
const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
|
|
112
|
+
// the event listener will return the data in the "event.detail", so we need to return its content to the final callback
|
|
113
|
+
// basically we substitute the "data" with "event.detail" so that the user ends up with only the "data" result
|
|
114
|
+
this._elementSource.addEventListener(eventNameByConvention, (event) => callback.call(null, event.detail));
|
|
115
|
+
this._subscribedEvents.push({ name: eventNameByConvention, listener: callback });
|
|
116
|
+
subscriptions.push(() => this.unsubscribe(eventNameByConvention, callback));
|
|
117
|
+
});
|
|
118
|
+
// return a subscription(s) that we can later unsubscribe
|
|
114
119
|
return {
|
|
115
|
-
unsubscribe: () =>
|
|
120
|
+
unsubscribe: () => subscriptions.forEach(unsub => unsub())
|
|
116
121
|
};
|
|
117
122
|
}
|
|
118
123
|
/**
|
|
119
|
-
* Subscribes to a
|
|
124
|
+
* Subscribes to a message channel or message type.
|
|
120
125
|
* This is similar to the "subscribe" except that the callback receives an event typed as CustomEventInit and the data will be inside its "event.detail"
|
|
121
|
-
* @param
|
|
122
|
-
* @param callback The callback to be invoked when the specified message is published.
|
|
123
|
-
* @return possibly a Subscription
|
|
126
|
+
* @param {String} event - the event name/message
|
|
127
|
+
* @param {Function} callback - The callback to be invoked when the specified message is published.
|
|
128
|
+
* @return {Subscription} possibly a Subscription
|
|
124
129
|
*/
|
|
125
130
|
subscribeEvent(eventName, listener) {
|
|
126
131
|
const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
|
|
127
132
|
this._elementSource.addEventListener(eventNameByConvention, listener);
|
|
128
133
|
this._subscribedEvents.push({ name: eventNameByConvention, listener });
|
|
129
|
-
// return a subscription that we can unsubscribe
|
|
134
|
+
// return a subscription that we can later unsubscribe
|
|
130
135
|
return {
|
|
131
136
|
unsubscribe: () => this.unsubscribe(eventNameByConvention, listener)
|
|
132
137
|
};
|
|
133
138
|
}
|
|
134
139
|
/**
|
|
135
|
-
* Unsubscribes a message name
|
|
136
|
-
* @param {String} event - the event name
|
|
137
|
-
* @param {
|
|
138
|
-
* @param {Boolean} shouldRemoveFromEventList - should we also remove the event from the subscriptions array?
|
|
140
|
+
* Unsubscribes a message or event name
|
|
141
|
+
* @param {String} event - the event name/message
|
|
142
|
+
* @param {Function} listener - event listener callback
|
|
143
|
+
* @param {Boolean} [shouldRemoveFromEventList] - should we also remove the event from the subscriptions array?
|
|
139
144
|
* @return possibly a Subscription
|
|
140
145
|
*/
|
|
141
146
|
unsubscribe(eventName, listener, shouldRemoveFromEventList = true) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventPubSub.service.js","sourceRoot":"","sources":["../../src/eventPubSub.service.ts"],"names":[],"mappings":";;;AAAA,sDAAoE;
|
|
1
|
+
{"version":3,"file":"eventPubSub.service.js","sourceRoot":"","sources":["../../src/eventPubSub.service.ts"],"names":[],"mappings":";;;AAAA,sDAAoE;AAEpE,+EAAoE;AAQpE,MAAa,kBAAkB;IAO7B,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;IACD,IAAI,aAAa,CAAC,OAAgB;QAChC,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC;IAChC,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,IAAI,oBAAoB;QACtB,OAAO,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACvE,CAAC;IAED,YAAY,aAA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W,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;gBAChE,WAAW,GAAG,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAE,CAAC;YAC7C,CAAC;QACH,CAAC;IACH,CAAC;IAED,KAAK;IACL,sBAAsB;IACtB,uBAAuB;IAEb,8BAA8B,CAAI,SAAiB,EAAE,QAAiD;QAC9G,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,SAAS,IAAI,GAAG,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;QAC9G,IAAI,QAAQ,IAAI,CAAC,EAAE,CAAC;YAClB,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QAC7C,CAAC;IACH,CAAC;CACF;AAtMD,gDAsMC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./eventPubSub.service"), exports);
|
|
18
|
-
__exportStar(require("./types"), exports);
|
|
17
|
+
__exportStar(require("./eventPubSub.service.js"), exports);
|
|
18
|
+
__exportStar(require("./types/eventNamingStyle.enum.js"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAEzC,mEAAiD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { titleCase, toKebabCase } from '@slickgrid-universal/utils';
|
|
2
|
-
import { EventNamingStyle
|
|
2
|
+
import { EventNamingStyle } from './types/eventNamingStyle.enum.js';
|
|
3
3
|
export class EventPubSubService {
|
|
4
4
|
get elementSource() {
|
|
5
5
|
return this._elementSource;
|
|
@@ -97,42 +97,47 @@ export class EventPubSubService {
|
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
99
|
* Subscribes to a message channel or message type.
|
|
100
|
-
* @param event The event channel or event data type.
|
|
101
|
-
* @param callback The callback to be invoked when the specified message is published.
|
|
100
|
+
* @param {String|String[]} event The event channel or event data type.
|
|
101
|
+
* @param {Function} callback The callback to be invoked when the specified message is published.
|
|
102
102
|
* @return possibly a Subscription
|
|
103
103
|
*/
|
|
104
|
-
subscribe(
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
104
|
+
subscribe(eventNames, callback) {
|
|
105
|
+
eventNames = Array.isArray(eventNames) ? eventNames : [eventNames];
|
|
106
|
+
const subscriptions = [];
|
|
107
|
+
eventNames.forEach(eventName => {
|
|
108
|
+
const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
|
|
109
|
+
// the event listener will return the data in the "event.detail", so we need to return its content to the final callback
|
|
110
|
+
// basically we substitute the "data" with "event.detail" so that the user ends up with only the "data" result
|
|
111
|
+
this._elementSource.addEventListener(eventNameByConvention, (event) => callback.call(null, event.detail));
|
|
112
|
+
this._subscribedEvents.push({ name: eventNameByConvention, listener: callback });
|
|
113
|
+
subscriptions.push(() => this.unsubscribe(eventNameByConvention, callback));
|
|
114
|
+
});
|
|
115
|
+
// return a subscription(s) that we can later unsubscribe
|
|
111
116
|
return {
|
|
112
|
-
unsubscribe: () =>
|
|
117
|
+
unsubscribe: () => subscriptions.forEach(unsub => unsub())
|
|
113
118
|
};
|
|
114
119
|
}
|
|
115
120
|
/**
|
|
116
|
-
* Subscribes to a
|
|
121
|
+
* Subscribes to a message channel or message type.
|
|
117
122
|
* This is similar to the "subscribe" except that the callback receives an event typed as CustomEventInit and the data will be inside its "event.detail"
|
|
118
|
-
* @param
|
|
119
|
-
* @param callback The callback to be invoked when the specified message is published.
|
|
120
|
-
* @return possibly a Subscription
|
|
123
|
+
* @param {String} event - the event name/message
|
|
124
|
+
* @param {Function} callback - The callback to be invoked when the specified message is published.
|
|
125
|
+
* @return {Subscription} possibly a Subscription
|
|
121
126
|
*/
|
|
122
127
|
subscribeEvent(eventName, listener) {
|
|
123
128
|
const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
|
|
124
129
|
this._elementSource.addEventListener(eventNameByConvention, listener);
|
|
125
130
|
this._subscribedEvents.push({ name: eventNameByConvention, listener });
|
|
126
|
-
// return a subscription that we can unsubscribe
|
|
131
|
+
// return a subscription that we can later unsubscribe
|
|
127
132
|
return {
|
|
128
133
|
unsubscribe: () => this.unsubscribe(eventNameByConvention, listener)
|
|
129
134
|
};
|
|
130
135
|
}
|
|
131
136
|
/**
|
|
132
|
-
* Unsubscribes a message name
|
|
133
|
-
* @param {String} event - the event name
|
|
134
|
-
* @param {
|
|
135
|
-
* @param {Boolean} shouldRemoveFromEventList - should we also remove the event from the subscriptions array?
|
|
137
|
+
* Unsubscribes a message or event name
|
|
138
|
+
* @param {String} event - the event name/message
|
|
139
|
+
* @param {Function} listener - event listener callback
|
|
140
|
+
* @param {Boolean} [shouldRemoveFromEventList] - should we also remove the event from the subscriptions array?
|
|
136
141
|
* @return possibly a Subscription
|
|
137
142
|
*/
|
|
138
143
|
unsubscribe(eventName, listener, shouldRemoveFromEventList = true) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventPubSub.service.js","sourceRoot":"","sources":["../../src/eventPubSub.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,4BAA4B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* from './eventPubSub.service';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './eventPubSub.service.js';
|
|
2
|
+
export * from './types/eventNamingStyle.enum.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AAEzC,cAAc,kCAAkC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../utils/dist/types/models/interfaces.d.ts","../../utils/dist/types/models/types.d.ts","../../utils/dist/types/models/index.d.ts","../../utils/dist/types/domUtils.d.ts","../../utils/dist/types/nodeExtend.d.ts","../../utils/dist/types/stripTagsUtil.d.ts","../../utils/dist/types/utils.d.ts","../../utils/dist/types/index.d.ts","../src/types/eventSubscription.interface.ts","../src/types/basePubSubService.interface.ts","../src/types/eventNamingStyle.enum.ts","../src/types/index.ts","../src/eventPubSub.service.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/index.d.ts"],"fileIdsList":[[66],[107],[108,113,143],[109,114,120,121,128,140,151],[109,110,120,128],[111,152],[112,113,121,129],[113,140,148],[114,116,120,128],[107,115],[116,117],[120],[118,120],[107,120],[120,121,122,140,151],[120,121,122,135,140,143],[105,156],[105,116,120,123,128,140,151],[120,121,123,124,128,140,148,151],[123,125,140,148,151],[66,67,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158],[120,126],[127,151,156],[116,120,128,140],[129],[130],[107,131],[66,67,107,108,109,110,111,112,113,114,115,116,117,118,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157],[133],[134],[120,135,136],[135,137,152,154],[108,120,140,141,142,143],[108,140,142],[140,141],[143],[144],[66,140],[120,146,147],[146,147],[113,128,140,148],[149],[128,150],[108,123,134,151],[113,152],[140,153],[127,154],[155],[108,113,120,122,131,140,151,154,156],[140,157],[77,81,151],[77,140,151],[72],[74,77,148,151],[128,148],[159],[72,159],[74,77,128,151],[69,70,73,76,108,120,140,151],[77,84],[69,75],[77,98,99],[73,77,108,143,151,159],[108,159],[98,108,159],[71,72,159],[77],[71,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,104],[77,92],[77,84,85],[75,77,85,86],[76],[69,72,77],[77,81,85,86],[81],[75,77,80,151],[69,74,77,84],[108,140],[72,77,98,108,156,159],[59,63],[63,64],[60],[60,61,62],[54],[54,55,56,57,58],[52,53],[53]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"9e8ca8ed051c2697578c023d9c29d6df689a083561feba5c14aedee895853999","affectsGlobalScope":true,"impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},"03e026f9347b0725cdcce9ca95ffad1531c4817cef7232f8b46f91e818e2ac1c","504172f31e7616ece67ba012c54b6b33d3c4db9b2b812c9803caba1e9040e5c5","349e525352e7f6bdb92acf903298974bdbf7d8745baf637c7c7fa6c26b916dc2","fc8ab3d9c8a3c521c86467b3dbf084879fb61c7522a4c34dfe39f97d86562bf6","f5d11e5550af01aecc9f000622eebf5057a6c80a89a541144d0a31f469cd57ca","3f55f6bb22c907b4e15d440a92363632b3f6553acdeec013f34d1b505ee6c9ed","13f0deaf2215801fc7bbbb9de93a63d4c5458c2e748c92cd3f17ab0266e6b6ad","52e0ddc1830a395a7c3ccf159e0c195ba5523bcb213cefbc0312821318e9e9ea",{"version":"843c8ac23a2d77142ea46b0717183d19dfb551df57d1f0493435a12d57e12d88","signature":"c7fb83efb86b29016744244e65b37430afdd948e025d00aaf0e404dc08a65e02"},{"version":"5183f80282133b2edf7bababd8a039cd6319353e5fec1e99f33a08046e446e81","signature":"21c4f77b1758d8b8de9e3eda40651ae92564569d0bac21565126145bb0e5999b"},{"version":"c4daa7918c267d474e0d269925f655f78fc52a7e2e6c12c7f6a00edd60ca3fe4","signature":"9ab9f34f15c13915347496839012509429a40a6f2f1bac0758177ff0426f9deb"},{"version":"74aa6f8a577ebc916e3c19dddbec6b3764884b17bd0f61c644a7180e2f38e5a5","signature":"f74204ee678c12e893f81b11a0eacd37222781b12329f247b025b030b0a2bb1c"},{"version":"2215dac0ff343985de286af0e0506efc98087d8b40a41f2d7858d827c1fc9d9a","signature":"4c14e8ed5a710b7b57217f478b519d09582ecf2c6700fae8d838ff4780f9b812"},{"version":"15a4588eec847903e5314a5b5116b2a77ce2516479e042667f6beb0f900c37c6","signature":"a36015c64cd32628d71f1a81ceebdab348bb4db3629a63720bdd0adbebdb6153"},{"version":"e142fda89ed689ea53d6f2c93693898464c7d29a0ae71c6dc8cdfe5a1d76c775","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","impliedFormat":1},{"version":"93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"964f307d249df0d7e8eb16d594536c0ac6cc63c8d467edf635d05542821dec8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"db3ec8993b7596a4ef47f309c7b25ee2505b519c13050424d9c34701e5973315","impliedFormat":1},{"version":"6a1ebd564896d530364f67b3257c62555b61d60494a73dfe8893274878c6589d","affectsGlobalScope":true,"impliedFormat":1},{"version":"af49b066a76ce26673fe49d1885cc6b44153f1071ed2d952f2a90fccba1095c9","impliedFormat":1},{"version":"f22fd1dc2df53eaf5ce0ff9e0a3326fc66f880d6a652210d50563ae72625455f","impliedFormat":1},{"version":"3ddbdb519e87a7827c4f0c4007013f3628ca0ebb9e2b018cf31e5b2f61c593f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"6d498d4fd8036ea02a4edcae10375854a0eb1df0496cf0b9d692577d3c0fd603","affectsGlobalScope":true,"impliedFormat":1},{"version":"24642567d3729bcc545bacb65ee7c0db423400c7f1ef757cab25d05650064f98","impliedFormat":1},{"version":"fd09b892597ab93e7f79745ce725a3aaf6dd005e8db20f0c63a5d10984cba328","impliedFormat":1},{"version":"a3be878ff1e1964ab2dc8e0a3b67087cf838731c7f3d8f603337e7b712fdd558","impliedFormat":1},{"version":"5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","impliedFormat":1},{"version":"9be74296ee565af0c12d7071541fdd23260f53c3da7731fb6361f61150a791f6","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"f501a53b94ba382d9ba396a5c486969a3abc68309828fa67f916035f5d37fe2b","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa658b5d765f630c312ac9202d110bbaf2b82d180376457f0a9d57b42629714a","impliedFormat":1},{"version":"312ac7cbd070107766a9886fd27f9faad997ef57d93fdfb4095df2c618ac8162","impliedFormat":1},{"version":"2e9b4e7f9942af902eb85bae6066d04ef1afee51d61554a62d144df3da7dec94","impliedFormat":1},{"version":"672ad3045f329e94002256f8ed460cfd06173a50c92cde41edaadfacffd16808","impliedFormat":1},{"version":"64da4965d1e0559e134d9c1621ae400279a216f87ed00c4cce4f2c7c78021712","impliedFormat":1},{"version":"2205527b976f4f1844adc46a3f0528729fb68cac70027a5fb13c49ca23593797","impliedFormat":1},{"version":"0166fce1204d520fdfd6b5febb3cda3deee438bcbf8ce9ffeb2b1bcde7155346","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8b13eab85b532285031b06a971fa051bf0175d8fff68065a24a6da9c1c986cf","impliedFormat":1},{"version":"50c382ba1827988c59aa9cc9d046e386d55d70f762e9e352e95ee8cb7337cdb8","impliedFormat":1},{"version":"bb9627ab9d078c79bb5623de4ac8e5d08f806ec9b970962dfc83b3211373690d","impliedFormat":1},{"version":"21d7e87f271e72d02f8d167edc902f90b04525edc7918f00f01dd0bd00599f7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f6abdaf8764ef01a552a958f45e795b5e79153b87ddad3af5264b86d2681b72","affectsGlobalScope":true,"impliedFormat":1},{"version":"a215554477f7629e3dcbc8cde104bec036b78673650272f5ffdc5a2cee399a0a","impliedFormat":1},{"version":"c3497fc242aabfedcd430b5932412f94f157b5906568e737f6a18cc77b36a954","impliedFormat":1},{"version":"cdc1de3b672f9ef03ff15c443aa1b631edca35b6ae6970a7da6400647ff74d95","impliedFormat":1},{"version":"139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","impliedFormat":1},{"version":"bf01fdd3b93cf633b3f7420718457af19c57ab8cbfea49268df60bae2e84d627","impliedFormat":1},{"version":"15c5e91b5f08be34a78e3d976179bf5b7a9cc28dc0ef1ffebffeb3c7812a2dca","impliedFormat":1},{"version":"5f461d6f5d9ff474f1121cc3fd86aa3cd67476c701f55c306d323c5112201207","impliedFormat":1},{"version":"65b39cc6b610a4a4aecc321f6efb436f10c0509d686124795b4c36a5e915b89e","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"83fe38aa2243059ea859325c006da3964ead69b773429fe049ebb0426e75424d","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3edb86744e2c19f2c1503849ac7594a5e06024f2451bacae032390f2e20314a","impliedFormat":1},{"version":"e501cbca25bd54f0bcb89c00f092d3cae227e970b93fd76207287fd8110b123d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a3e61347b8f80aa5af532094498bceb0c0b257b25a6aa8ab4880fd6ed57c95a","affectsGlobalScope":true,"impliedFormat":1},{"version":"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","impliedFormat":1},{"version":"950f6810f7c80e0cffefcf1bcc6ade3485c94394720e334c3c2be3c16b6922fb","impliedFormat":1},{"version":"5475df7cfc493a08483c9d7aa61cc04791aecba9d0a2efc213f23c4006d4d3cd","impliedFormat":1},{"version":"000720870b275764c65e9f28ac97cc9e4d9e4a36942d4750ca8603e416e9c57c","impliedFormat":1},{"version":"54412c70bacb9ed547ed6caae8836f712a83ccf58d94466f3387447ec4e82dc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8701e60428b700ed0206c805d702cfb2a7b4b0b76423439451d1018fa70610e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"4c48e931a72f6971b5add7fdb1136be1d617f124594e94595f7114af749395e0","impliedFormat":1},{"version":"478eb5c32250678a906d91e0529c70243fc4d75477a08f3da408e2615396f558","impliedFormat":1},{"version":"e686a88c9ee004c8ba12ffc9d674ca3192a4c50ed0ca6bd5b2825c289e2b2bfe","impliedFormat":1},{"version":"0d27932df2fbc3728e78b98892540e24084424ce12d3bd32f62a23cf307f411f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4423fb3d6abe6eefb8d7f79eb2df9510824a216ec1c6feee46718c9b18e6d89f","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"01c47d1c006b3a15b51d89d7764fff7e4fabc4e412b3a61ee5357bd74b822879","impliedFormat":1}],"root":[[60,65]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./types","declarationMap":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"importHelpers":true,"isolatedDeclarations":true,"module":99,"noEmitOnError":true,"noImplicitReturns":true,"outDir":"./esm","preserveConstEnums":true,"rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":8},"referencedMap":[[66,1],[67,1],[107,2],[108,3],[109,4],[110,5],[111,6],[112,7],[113,8],[114,9],[115,10],[116,11],[117,11],[119,12],[118,13],[120,14],[121,15],[122,16],[106,17],[123,18],[124,19],[125,20],[159,21],[126,22],[127,23],[128,24],[129,25],[130,26],[131,27],[132,28],[133,29],[134,30],[135,31],[136,31],[137,32],[140,33],[142,34],[141,35],[143,36],[144,37],[145,38],[146,39],[147,40],[148,41],[149,42],[150,43],[151,44],[152,45],[153,46],[154,47],[155,48],[156,49],[157,50],[84,51],[94,52],[83,51],[104,53],[75,54],[74,55],[103,56],[97,57],[102,58],[77,59],[91,60],[76,61],[100,62],[72,63],[71,64],[101,65],[73,66],[78,67],[82,67],[105,68],[95,69],[86,70],[87,71],[89,72],[85,73],[88,74],[98,56],[80,75],[81,76],[90,77],[70,78],[93,69],[92,67],[99,79],[64,80],[65,81],[61,82],[63,83],[55,84],[59,85],[54,86],[58,87]],"latestChangedDtsFile":"./types/index.d.ts","version":"5.6.2"}
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../utils/dist/types/models/interfaces.d.ts","../../utils/dist/types/models/types.d.ts","../../utils/dist/types/domUtils.d.ts","../../utils/dist/types/nodeExtend.d.ts","../../utils/dist/types/stripTagsUtil.d.ts","../../utils/dist/types/utils.d.ts","../../utils/dist/types/index.d.ts","../src/types/eventSubscription.interface.ts","../src/types/basePubSubService.interface.ts","../src/types/eventNamingStyle.enum.ts","../src/eventPubSub.service.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.19.6/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.7.7/node_modules/@types/node/ts5.6/index.d.ts"],"fileIdsList":[[68,108,111],[68,110,111],[68,111,116,146],[68,111,112,117,123,124,131,143,154],[68,111,112,113,123,131],[68,111],[63,64,65,68,111],[68,111,114,155],[68,111,115,116,124,132],[68,111,116,143,151],[68,111,117,119,123,131],[68,110,111,118],[68,111,119,120],[68,111,123],[68,111,121,123],[68,110,111,123],[68,111,123,124,125,143,154],[68,111,123,124,125,138,143,146],[68,106,111,159],[68,106,111,119,123,126,131,143,154],[68,111,123,124,126,127,131,143,151,154],[68,111,126,128,143,151,154],[68,111,123,129],[68,111,130,154,159],[68,111,119,123,131,143],[68,111,132],[68,111,133],[68,110,111,134],[68,108,109,110,111,112,113,114,115,116,117,118,119,120,121,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160],[68,111,136],[68,111,137],[68,111,123,138,139],[68,111,138,140,155,157],[68,111,123,143,144,145,146],[68,111,143,145],[68,111,143,144],[68,111,146],[68,111,147],[68,108,111,143],[68,111,123,149,150],[68,111,149,150],[68,111,116,131,143,151],[68,111,152],[111],[66,67,68,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160],[68,111,131,153],[68,111,126,137,154],[68,111,116,155],[68,111,143,156],[68,111,130,157],[68,111,158],[68,111,116,123,125,134,143,154,157,159],[68,111,143,160],[68,78,82,111,154],[68,78,111,143,154],[68,73,111],[68,75,78,111,151,154],[68,111,131,151],[68,111,161],[68,73,111,161],[68,75,78,111,131,154],[68,70,71,74,77,111,123,143,154],[68,78,85,111],[68,70,76,111],[68,78,99,100,111],[68,74,78,111,146,154,161],[68,99,111,161],[68,72,73,111,161],[68,78,111],[68,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,100,101,102,103,104,105,111],[68,78,93,111],[68,78,85,86,111],[68,76,78,86,87,111],[68,77,111],[68,70,73,78,111],[68,78,82,86,87,111],[68,82,111],[68,76,78,81,111,154],[68,70,75,78,85,111],[68,111,143],[68,73,78,99,111,159,161],[57,58,59,60,68,111],[58,59,60,61,68,111],[58,68,111],[51,52,68,111],[51,52,53,54,55,56,68,111],[52,68,111]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"9e8ca8ed051c2697578c023d9c29d6df689a083561feba5c14aedee895853999","affectsGlobalScope":true,"impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},"03e026f9347b0725cdcce9ca95ffad1531c4817cef7232f8b46f91e818e2ac1c","504172f31e7616ece67ba012c54b6b33d3c4db9b2b812c9803caba1e9040e5c5","0127b9aafc00bf82cdcb6792b6f6acd5e4495e5caa691c658bea260fc139185d","f5d11e5550af01aecc9f000622eebf5057a6c80a89a541144d0a31f469cd57ca","3f55f6bb22c907b4e15d440a92363632b3f6553acdeec013f34d1b505ee6c9ed","c12bedbb16b2aabbbbb1ad0e595f22a1687052927b17b4c3e719e1c826464279","751af699ec3894dcd64e36726617167d300138d7000d1a628645c09add0a4970",{"version":"843c8ac23a2d77142ea46b0717183d19dfb551df57d1f0493435a12d57e12d88","signature":"c7fb83efb86b29016744244e65b37430afdd948e025d00aaf0e404dc08a65e02"},{"version":"eff54cef27131934a83c69b4aa984187eb2636b4ef8c6ef143a252813e7ae31b","signature":"53e84a3712dc205cd97d2a697c082aacd51a5efa235514815f73558bb8382ed9"},{"version":"c4daa7918c267d474e0d269925f655f78fc52a7e2e6c12c7f6a00edd60ca3fe4","signature":"9ab9f34f15c13915347496839012509429a40a6f2f1bac0758177ff0426f9deb"},{"version":"0dad80b465e5a046b06f0d1dcc3e349ac0556b5087175c28ca55ea3f77c77b07","signature":"518fd61680714fc20f05f2482929fb2e6afac758de65094695661a476130d2ad"},{"version":"53d46dfa983a087668207e92669ad5dd6ca8ce8d62ce9263bab29267e65ec783","signature":"7c26042cf702f41b11aec9f77047040f9f0d94f4cb2d6709ff2be144dd3710f4"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true,"impliedFormat":1},{"version":"2d1319e6b5d0efd8c5eae07eb864a00102151e8b9afddd2d45db52e9aae002c4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","impliedFormat":1},{"version":"93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"81184fe8e67d78ac4e5374650f0892d547d665d77da2b2f544b5d84729c4a15d","affectsGlobalScope":true,"impliedFormat":1},{"version":"f6114eb1e8f70ec08816bdaa6ec740a0a7a01f25743e36f655f00157be394374","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0","impliedFormat":1},{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"46e07db372dd75edc1a26e68f16d1b7ffb34b7ab3db5cdb3e391a3604ad7bb7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"24642567d3729bcc545bacb65ee7c0db423400c7f1ef757cab25d05650064f98","impliedFormat":1},{"version":"e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"875928df2f3e9a3aed4019539a15d04ff6140a06df6cd1b2feb836d22a81eaca","affectsGlobalScope":true,"impliedFormat":1},{"version":"20b97c3368b1a63d2156deea35d03b125bb07908906eb35e0438042a3bbb3e71","impliedFormat":1},{"version":"02e73584132025781e9ffa7beef9d58ee563954c592eb563dc724ebbfb7424eb","impliedFormat":1},{"version":"ad05f01340829d96e2d85506eaab585ca7a5b20d687448d35f97e2b0855399d8","impliedFormat":1},{"version":"fa56be9b96f747e93b895d8dc2aa4fb9f0816743e6e2abb9d60705e88d4743a2","impliedFormat":1},{"version":"8257c55ff6bff6169142a35fce6811b511d857b4ae4f522cdb6ce20fd2116b2c","impliedFormat":1},{"version":"6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6","impliedFormat":1},{"version":"3a9e5dddbd6ca9507d0c06a557535ba2224a94a2b0f3e146e8215f93b7e5b3a8","affectsGlobalScope":true,"impliedFormat":1},{"version":"94c4187083503a74f4544503b5a30e2bd7af0032dc739b0c9a7ce87f8bddc7b9","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"3c36ab47df4668254ccc170fc42e7d5116fd86a7e408d8dc220e559837cd2bbb","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f6abdaf8764ef01a552a958f45e795b5e79153b87ddad3af5264b86d2681b72","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","impliedFormat":1},{"version":"4de73e132bf47437c56b1e8416c60d9d517c8ba3822e7c623b54d4300834dd37","impliedFormat":1},{"version":"e432b0e3761ca9ba734bdd41e19a75fec1454ca8e9769bfdf8b31011854cf06a","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"15c5e91b5f08be34a78e3d976179bf5b7a9cc28dc0ef1ffebffeb3c7812a2dca","impliedFormat":1},{"version":"a8f06c2382a30b7cb89ad2dfc48fc3b2b490f3dafcd839dadc008e4e5d57031d","impliedFormat":1},{"version":"553870e516f8c772b89f3820576152ebc70181d7994d96917bb943e37da7f8a7","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"cca97c55398b8699fa3a96ef261b01d200ed2a44d2983586ab1a81d7d7b23cd9","affectsGlobalScope":true,"impliedFormat":1},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"f59493f68eade5200559e5016b5855f7d12e6381eb6cab9ad8a379af367b3b2d","impliedFormat":1},{"version":"125e3472965f529de239d2bc85b54579fed8e0b060d1d04de6576fb910a6ec7f","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"6512c499b32226c5a686ab98f5b33ae15bdebd6b9f3b60f80eeadd95e358f02c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a5c09990a37469b0311a92ce8feeb8682e83918723aedbd445bd7a0f510eaaa3","impliedFormat":1},{"version":"6b29aea17044029b257e5bd4e3e4f765cd72b8d3c11c753f363ab92cc3f9f947","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"d008cf1330c86b37a8128265c80795397c287cecff273bc3ce3a4883405f5112","affectsGlobalScope":true,"impliedFormat":1},{"version":"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","impliedFormat":1},{"version":"171fd8807643c46a9d17e843959abdf10480d57d60d38d061fb44a4c8d4a8cc4","impliedFormat":1}],"root":[[58,62]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./types","declarationMap":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"importHelpers":true,"isolatedDeclarations":true,"module":99,"noEmitOnError":true,"noImplicitReturns":true,"outDir":"./esm","preserveConstEnums":true,"rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":8},"referencedMap":[[108,1],[109,1],[110,2],[111,3],[112,4],[113,5],[63,6],[66,7],[64,6],[65,6],[114,8],[115,9],[116,10],[117,11],[118,12],[119,13],[120,13],[122,14],[121,15],[123,16],[124,17],[125,18],[107,19],[126,20],[127,21],[128,22],[129,23],[130,24],[131,25],[132,26],[133,27],[134,28],[135,29],[136,30],[137,31],[138,32],[139,32],[140,33],[141,6],[142,6],[143,34],[145,35],[144,36],[146,37],[147,38],[148,39],[149,40],[150,41],[151,42],[152,43],[68,44],[67,6],[161,45],[153,46],[154,47],[155,48],[156,49],[157,50],[158,51],[159,52],[160,53],[69,6],[49,6],[50,6],[9,6],[11,6],[10,6],[2,6],[12,6],[13,6],[14,6],[15,6],[16,6],[17,6],[18,6],[19,6],[3,6],[20,6],[4,6],[21,6],[25,6],[22,6],[23,6],[24,6],[26,6],[27,6],[28,6],[5,6],[29,6],[30,6],[31,6],[32,6],[6,6],[36,6],[33,6],[34,6],[35,6],[37,6],[7,6],[38,6],[43,6],[44,6],[39,6],[40,6],[41,6],[42,6],[8,6],[48,6],[45,6],[46,6],[47,6],[1,6],[85,54],[95,55],[84,54],[105,56],[76,57],[75,58],[104,59],[98,60],[103,61],[78,62],[92,63],[77,64],[101,65],[73,66],[72,59],[102,67],[74,68],[79,69],[80,6],[83,69],[70,6],[106,70],[96,71],[87,72],[88,73],[90,74],[86,75],[89,76],[99,59],[81,77],[82,78],[91,79],[71,80],[94,71],[93,69],[97,6],[100,81],[61,82],[62,83],[59,84],[60,6],[58,6],[53,85],[57,86],[51,6],[52,6],[54,6],[55,6],[56,87]],"latestChangedDtsFile":"./types/index.d.ts","version":"5.6.3"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { type BasePubSubService
|
|
1
|
+
import { type BasePubSubService } from './types/basePubSubService.interface.js';
|
|
2
|
+
import { EventNamingStyle } from './types/eventNamingStyle.enum.js';
|
|
3
|
+
import { type EventSubscription, type Subscription } from './types/eventSubscription.interface.js';
|
|
2
4
|
export interface PubSubEvent<T = any> {
|
|
3
5
|
name: string;
|
|
4
6
|
listener: (event: T | CustomEventInit<T>) => void;
|
|
@@ -46,24 +48,24 @@ export declare class EventPubSubService implements BasePubSubService {
|
|
|
46
48
|
publish<T = any>(eventName: string, data?: T, delay?: number, externalizeEventCallback?: (e: Event) => void): boolean | Promise<boolean>;
|
|
47
49
|
/**
|
|
48
50
|
* Subscribes to a message channel or message type.
|
|
49
|
-
* @param event The event channel or event data type.
|
|
50
|
-
* @param callback The callback to be invoked when the specified message is published.
|
|
51
|
+
* @param {String|String[]} event The event channel or event data type.
|
|
52
|
+
* @param {Function} callback The callback to be invoked when the specified message is published.
|
|
51
53
|
* @return possibly a Subscription
|
|
52
54
|
*/
|
|
53
|
-
subscribe<T = any>(
|
|
55
|
+
subscribe<T = any>(eventNames: string | string[], callback: (data: T) => void): Subscription;
|
|
54
56
|
/**
|
|
55
|
-
* Subscribes to a
|
|
57
|
+
* Subscribes to a message channel or message type.
|
|
56
58
|
* This is similar to the "subscribe" except that the callback receives an event typed as CustomEventInit and the data will be inside its "event.detail"
|
|
57
|
-
* @param
|
|
58
|
-
* @param callback The callback to be invoked when the specified message is published.
|
|
59
|
-
* @return possibly a Subscription
|
|
59
|
+
* @param {String} event - the event name/message
|
|
60
|
+
* @param {Function} callback - The callback to be invoked when the specified message is published.
|
|
61
|
+
* @return {Subscription} possibly a Subscription
|
|
60
62
|
*/
|
|
61
63
|
subscribeEvent<T = any>(eventName: string, listener: (event: CustomEventInit<T>) => void): Subscription;
|
|
62
64
|
/**
|
|
63
|
-
* Unsubscribes a message name
|
|
64
|
-
* @param {String} event - the event name
|
|
65
|
-
* @param {
|
|
66
|
-
* @param {Boolean} shouldRemoveFromEventList - should we also remove the event from the subscriptions array?
|
|
65
|
+
* Unsubscribes a message or event name
|
|
66
|
+
* @param {String} event - the event name/message
|
|
67
|
+
* @param {Function} listener - event listener callback
|
|
68
|
+
* @param {Boolean} [shouldRemoveFromEventList] - should we also remove the event from the subscriptions array?
|
|
67
69
|
* @return possibly a Subscription
|
|
68
70
|
*/
|
|
69
71
|
unsubscribe<T = any>(eventName: string, listener: (event: T | CustomEventInit<T>) => void, shouldRemoveFromEventList?: boolean): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventPubSub.service.d.ts","sourceRoot":"","sources":["../../src/eventPubSub.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,iBAAiB,EAAE,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"eventPubSub.service.d.ts","sourceRoot":"","sources":["../../src/eventPubSub.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,wCA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AAwB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,GAAG,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAaxI;;;;;OAKG;IACH,SAAS,CAAC,CAAC,GAAG,GAAG,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,YAAY;IAoB5F;;;;;;OAMG;IACH,cAAc,CAAC,CAAC,GAAG,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,YAAY;IAWvG;;;;;;OAMG;IACH,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,yBAAyB,UAAO,GAAG,IAAI;IAQlI,kEAAkE;IAClE,cAAc,CAAC,aAAa,CAAC,EAAE,iBAAiB,EAAE,GAAG,IAAI;IAwBzD,SAAS,CAAC,8BAA8B,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,IAAI;CAMxH"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export * from './eventPubSub.service';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './eventPubSub.service.js';
|
|
2
|
+
export type * from './types/basePubSubService.interface.js';
|
|
3
|
+
export * from './types/eventNamingStyle.enum.js';
|
|
4
|
+
export type * from './types/eventSubscription.interface.js';
|
|
3
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,mBAAmB,wCAAwC,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,mBAAmB,wCAAwC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventSubscription } from './eventSubscription.interface';
|
|
1
|
+
import type { EventSubscription } from './eventSubscription.interface.js';
|
|
2
2
|
export interface BasePubSubService {
|
|
3
3
|
/**
|
|
4
4
|
* Method to publish a message
|
|
@@ -14,7 +14,7 @@ export interface BasePubSubService {
|
|
|
14
14
|
* @param callback The callback to be invoked when the specified message is published.
|
|
15
15
|
* @return possibly a Subscription
|
|
16
16
|
*/
|
|
17
|
-
subscribe<T = any>(_eventName: string | Function, _callback: (data: T) => void): EventSubscription | any;
|
|
17
|
+
subscribe<T = any>(_eventName: string | string[] | Function, _callback: (data: T) => void): EventSubscription | any;
|
|
18
18
|
/**
|
|
19
19
|
* Subscribes to a custom event message channel or message type.
|
|
20
20
|
* This is similar to the "subscribe" except that the callback receives an event typed as CustomEventInit and the data will be inside its "event.detail"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basePubSubService.interface.d.ts","sourceRoot":"","sources":["../../../src/types/basePubSubService.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"basePubSubService.interface.d.ts","sourceRoot":"","sources":["../../../src/types/basePubSubService.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,UAAU,EAAE,MAAM,GAAG,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,wBAAwB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzJ;;;;;OAKG;IACH,SAAS,CAAC,CAAC,GAAG,GAAG,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,QAAQ,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,iBAAiB,GAAG,GAAG,CAAC;IAEpH;;;;;;OAMG;IACH,cAAc,CAAC,CAAC,CAAC,GAAG,GAAG,EAAE,UAAU,EAAE,MAAM,GAAG,QAAQ,EAAE,SAAS,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,iBAAiB,GAAG,GAAG,CAAC;IAEjI;;;;QAII;IACJ,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,GAAG,IAAI,CAAC;IAEnF,2DAA2D;IAC3D,cAAc,CAAC,cAAc,CAAC,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC;CAC5D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slickgrid-universal/event-pub-sub",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"description": "Simple Vanilla Implementation of an Event PubSub Service to do simply publish/subscribe inter-communication while optionally providing data in the event",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"not dead"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@slickgrid-universal/utils": "~5.
|
|
41
|
+
"@slickgrid-universal/utils": "~5.9.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "2f6ea0833a0fd3b59e71c5cf2e228a57afbfc53a"
|
|
44
44
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { titleCase, toKebabCase } from '@slickgrid-universal/utils';
|
|
2
|
-
import { type BasePubSubService
|
|
2
|
+
import { type BasePubSubService } from './types/basePubSubService.interface.js';
|
|
3
|
+
import { EventNamingStyle } from './types/eventNamingStyle.enum.js';
|
|
4
|
+
import { type EventSubscription, type Subscription, } from './types/eventSubscription.interface.js';
|
|
3
5
|
|
|
4
6
|
export interface PubSubEvent<T = any> {
|
|
5
7
|
name: string;
|
|
@@ -116,47 +118,53 @@ export class EventPubSubService implements BasePubSubService {
|
|
|
116
118
|
|
|
117
119
|
/**
|
|
118
120
|
* Subscribes to a message channel or message type.
|
|
119
|
-
* @param event The event channel or event data type.
|
|
120
|
-
* @param callback The callback to be invoked when the specified message is published.
|
|
121
|
+
* @param {String|String[]} event The event channel or event data type.
|
|
122
|
+
* @param {Function} callback The callback to be invoked when the specified message is published.
|
|
121
123
|
* @return possibly a Subscription
|
|
122
124
|
*/
|
|
123
|
-
subscribe<T = any>(
|
|
124
|
-
|
|
125
|
+
subscribe<T = any>(eventNames: string | string[], callback: (data: T) => void): Subscription {
|
|
126
|
+
eventNames = Array.isArray(eventNames) ? eventNames : [eventNames];
|
|
127
|
+
const subscriptions: Array<() => void> = [];
|
|
128
|
+
|
|
129
|
+
eventNames.forEach(eventName => {
|
|
130
|
+
const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
|
|
125
131
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
132
|
+
// the event listener will return the data in the "event.detail", so we need to return its content to the final callback
|
|
133
|
+
// basically we substitute the "data" with "event.detail" so that the user ends up with only the "data" result
|
|
134
|
+
this._elementSource.addEventListener(eventNameByConvention, (event: CustomEventInit<T>) => callback.call(null, event.detail as T));
|
|
135
|
+
this._subscribedEvents.push({ name: eventNameByConvention, listener: callback });
|
|
136
|
+
subscriptions.push(() => this.unsubscribe(eventNameByConvention, callback as never));
|
|
137
|
+
});
|
|
130
138
|
|
|
131
|
-
// return a subscription that we can unsubscribe
|
|
139
|
+
// return a subscription(s) that we can later unsubscribe
|
|
132
140
|
return {
|
|
133
|
-
unsubscribe: () =>
|
|
141
|
+
unsubscribe: () => subscriptions.forEach(unsub => unsub())
|
|
134
142
|
};
|
|
135
143
|
}
|
|
136
144
|
|
|
137
145
|
/**
|
|
138
|
-
* Subscribes to a
|
|
146
|
+
* Subscribes to a message channel or message type.
|
|
139
147
|
* This is similar to the "subscribe" except that the callback receives an event typed as CustomEventInit and the data will be inside its "event.detail"
|
|
140
|
-
* @param
|
|
141
|
-
* @param callback The callback to be invoked when the specified message is published.
|
|
142
|
-
* @return possibly a Subscription
|
|
148
|
+
* @param {String} event - the event name/message
|
|
149
|
+
* @param {Function} callback - The callback to be invoked when the specified message is published.
|
|
150
|
+
* @return {Subscription} possibly a Subscription
|
|
143
151
|
*/
|
|
144
152
|
subscribeEvent<T = any>(eventName: string, listener: (event: CustomEventInit<T>) => void): Subscription {
|
|
145
153
|
const eventNameByConvention = this.getEventNameByNamingConvention(eventName, '');
|
|
146
154
|
this._elementSource.addEventListener(eventNameByConvention, listener);
|
|
147
155
|
this._subscribedEvents.push({ name: eventNameByConvention, listener });
|
|
148
156
|
|
|
149
|
-
// return a subscription that we can unsubscribe
|
|
157
|
+
// return a subscription that we can later unsubscribe
|
|
150
158
|
return {
|
|
151
159
|
unsubscribe: () => this.unsubscribe(eventNameByConvention, listener as never)
|
|
152
160
|
};
|
|
153
161
|
}
|
|
154
162
|
|
|
155
163
|
/**
|
|
156
|
-
* Unsubscribes a message name
|
|
157
|
-
* @param {String} event - the event name
|
|
158
|
-
* @param {
|
|
159
|
-
* @param {Boolean} shouldRemoveFromEventList - should we also remove the event from the subscriptions array?
|
|
164
|
+
* Unsubscribes a message or event name
|
|
165
|
+
* @param {String} event - the event name/message
|
|
166
|
+
* @param {Function} listener - event listener callback
|
|
167
|
+
* @param {Boolean} [shouldRemoveFromEventList] - should we also remove the event from the subscriptions array?
|
|
160
168
|
* @return possibly a Subscription
|
|
161
169
|
*/
|
|
162
170
|
unsubscribe<T = any>(eventName: string, listener: (event: T | CustomEventInit<T>) => void, shouldRemoveFromEventList = true): void {
|
package/src/index.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export * from './eventPubSub.service';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './eventPubSub.service.js';
|
|
2
|
+
export type * from './types/basePubSubService.interface.js';
|
|
3
|
+
export * from './types/eventNamingStyle.enum.js';
|
|
4
|
+
export type * from './types/eventSubscription.interface.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventSubscription } from './eventSubscription.interface';
|
|
1
|
+
import type { EventSubscription } from './eventSubscription.interface.js';
|
|
2
2
|
|
|
3
3
|
export interface BasePubSubService {
|
|
4
4
|
/**
|
|
@@ -16,7 +16,7 @@ export interface BasePubSubService {
|
|
|
16
16
|
* @param callback The callback to be invoked when the specified message is published.
|
|
17
17
|
* @return possibly a Subscription
|
|
18
18
|
*/
|
|
19
|
-
subscribe<T = any>(_eventName: string | Function, _callback: (data: T) => void): EventSubscription | any;
|
|
19
|
+
subscribe<T = any>(_eventName: string | string[] | Function, _callback: (data: T) => void): EventSubscription | any;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Subscribes to a custom event message channel or message type.
|
package/dist/cjs/types/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./basePubSubService.interface"), exports);
|
|
18
|
-
__exportStar(require("./eventNamingStyle.enum"), exports);
|
|
19
|
-
__exportStar(require("./eventSubscription.interface"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,0DAAwC;AACxC,gEAA8C"}
|
package/dist/esm/types/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC"}
|
package/src/types/index.ts
DELETED