@breadstone/mosaik-elements 0.0.224 → 0.0.227
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/CHANGELOG.md +115 -0
- package/Events/Details/Interfaces/ICancelEventDetail.d.ts +3 -3
- package/Events/Details/Interfaces/ICancelEventDetail.d.ts.map +1 -1
- package/Events/Details/Interfaces/IChangedEventDetail.d.ts +4 -4
- package/Events/Details/Interfaces/IChangedEventDetail.d.ts.map +1 -1
- package/Events/Details/Interfaces/IErrorEventDetail.d.ts +3 -3
- package/Events/Details/Interfaces/IErrorEventDetail.d.ts.map +1 -1
- package/Events/Details/Interfaces/IEventDetail.d.ts +3 -13
- package/Events/Details/Interfaces/IEventDetail.d.ts.map +1 -1
- package/Events/Details/Interfaces/IEventDetail.js +1 -17
- package/Events/Details/Interfaces/IEventDetail.js.map +1 -1
- package/Events/Details/Interfaces/IValueEventDetail.d.ts +2 -2
- package/Events/Details/Interfaces/IValueEventDetail.d.ts.map +1 -1
- package/Events/Emitters/HTMLElementEventEmitter.d.ts +4 -1
- package/Events/Emitters/HTMLElementEventEmitter.d.ts.map +1 -1
- package/Events/Emitters/HTMLElementEventEmitter.js +9 -1
- package/Events/Emitters/HTMLElementEventEmitter.js.map +1 -1
- package/Events/Emitters/Interfaces/IEventEmitter.d.ts +2 -0
- package/Events/Emitters/Interfaces/IEventEmitter.d.ts.map +1 -1
- package/Events/Emitters/PureEventEmitter.d.ts +2 -1
- package/Events/Emitters/PureEventEmitter.d.ts.map +1 -1
- package/Events/Emitters/PureEventEmitter.js +6 -0
- package/Events/Emitters/PureEventEmitter.js.map +1 -1
- package/Events/Utils.d.ts.map +1 -1
- package/Events/Utils.js +0 -13
- package/Events/Utils.js.map +1 -1
- package/Index.d.ts +10 -10
- package/Index.d.ts.map +1 -1
- package/Index.js +2 -2
- package/Index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,118 @@
|
|
|
1
|
+
## 0.0.226 (2026-01-28)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **message:** refactor message component and update theme tokens for improved styling ([b5e23ce50a](https://github.com/RueDeRennes/mosaik/commit/b5e23ce50a))
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
- **package:** add missing newline at end of file ([876a6f3b9f](https://github.com/RueDeRennes/mosaik/commit/876a6f3b9f))
|
|
10
|
+
|
|
11
|
+
## 0.0.225 (2026-01-27)
|
|
12
|
+
|
|
13
|
+
### 🚀 Features
|
|
14
|
+
|
|
15
|
+
- **message:** refactor message component and update theme tokens for improved styling ([b5e23ce50a](https://github.com/RueDeRennes/mosaik/commit/b5e23ce50a))
|
|
16
|
+
|
|
17
|
+
### 🩹 Fixes
|
|
18
|
+
|
|
19
|
+
- **package:** add missing newline at end of file ([876a6f3b9f](https://github.com/RueDeRennes/mosaik/commit/876a6f3b9f))
|
|
20
|
+
|
|
21
|
+
## 0.0.224 (2026-01-26)
|
|
22
|
+
|
|
23
|
+
This was a version bump only for mosaik-elements to align it with other projects, there were no code changes.
|
|
24
|
+
|
|
25
|
+
## 0.0.223 (2026-01-25)
|
|
26
|
+
|
|
27
|
+
### 🚀 Features
|
|
28
|
+
|
|
29
|
+
- **components:** implement inheritance controllers for Selectors and Tree components ([1907f30979](https://github.com/RueDeRennes/mosaik/commit/1907f30979))
|
|
30
|
+
|
|
31
|
+
### 🩹 Fixes
|
|
32
|
+
|
|
33
|
+
- **docs:** standardize punctuation and formatting across multiple documentation files ([bed55885fe](https://github.com/RueDeRennes/mosaik/commit/bed55885fe))
|
|
34
|
+
|
|
35
|
+
## 0.0.222 (2026-01-21)
|
|
36
|
+
|
|
37
|
+
### 🚀 Features
|
|
38
|
+
|
|
39
|
+
- **Cdk/Utils:** add deepMerge function for merging nested objects ([958d8b1db2](https://github.com/RueDeRennes/mosaik/commit/958d8b1db2))
|
|
40
|
+
- **theming): update Theme2Component to include 'name' and 'global' props refactor(theming): reorganize ITheme utility functions for better clarity feat(theming): add THEME_MODES and THEME_MODES_WITH_SYSTEM constants fix(theming:** export ThemeMode and THEME_MODES from index ([5b0d68ef4a](https://github.com/RueDeRennes/mosaik/commit/5b0d68ef4a))
|
|
41
|
+
|
|
42
|
+
### 🩹 Fixes
|
|
43
|
+
|
|
44
|
+
- **theme:** update paths for Tailwind presets and add Snyk organization setting ([a2defd1849](https://github.com/RueDeRennes/mosaik/commit/a2defd1849))
|
|
45
|
+
- **package.json:** add missing newline at end of file ([8b6d8f8c2b](https://github.com/RueDeRennes/mosaik/commit/8b6d8f8c2b))
|
|
46
|
+
|
|
47
|
+
## 0.0.221 (2026-01-16)
|
|
48
|
+
|
|
49
|
+
### 🩹 Fixes
|
|
50
|
+
|
|
51
|
+
- **package.json:** update release version to 0.0.221 ([03ebc3de62](https://github.com/RueDeRennes/mosaik/commit/03ebc3de62))
|
|
52
|
+
- **package.json:** update release version to 0.0.220 ([320c50e503](https://github.com/RueDeRennes/mosaik/commit/320c50e503))
|
|
53
|
+
|
|
54
|
+
## 0.0.220 (2026-01-15)
|
|
55
|
+
|
|
56
|
+
### 🩹 Fixes
|
|
57
|
+
|
|
58
|
+
- **Sandbox.json): update theme import paths for consistency in SCSS usage fix(package.json:** increment release version to 0.0.219 ([57dce3aace](https://github.com/RueDeRennes/mosaik/commit/57dce3aace))
|
|
59
|
+
|
|
60
|
+
## 0.0.218 (2026-01-15)
|
|
61
|
+
|
|
62
|
+
This was a version bump only for mosaik-elements to align it with other projects, there were no code changes.
|
|
63
|
+
|
|
64
|
+
## 0.0.217 (2026-01-09)
|
|
65
|
+
|
|
66
|
+
### 🚀 Features
|
|
67
|
+
|
|
68
|
+
- **llms:** add new components and llms plugin for documentation generation ([3c4d1ad7a1](https://github.com/RueDeRennes/mosaik/commit/3c4d1ad7a1))
|
|
69
|
+
|
|
70
|
+
### 🩹 Fixes
|
|
71
|
+
|
|
72
|
+
- **package:** streamline build scripts to include alias replacement and package copying ([65637ebced](https://github.com/RueDeRennes/mosaik/commit/65637ebced))
|
|
73
|
+
|
|
74
|
+
## 0.0.216 (2026-01-04)
|
|
75
|
+
|
|
76
|
+
This was a version bump only for mosaik-elements to align it with other projects, there were no code changes.
|
|
77
|
+
|
|
78
|
+
## 0.0.215 (2026-01-04)
|
|
79
|
+
|
|
80
|
+
This was a version bump only for mosaik-elements to align it with other projects, there were no code changes.
|
|
81
|
+
|
|
82
|
+
## 0.0.214 (2026-01-02)
|
|
83
|
+
|
|
84
|
+
This was a version bump only for mosaik-elements to align it with other projects, there were no code changes.
|
|
85
|
+
|
|
86
|
+
## 0.0.212 (2026-01-02)
|
|
87
|
+
|
|
88
|
+
### 🚀 Features
|
|
89
|
+
|
|
90
|
+
- **resize-thumb:** add isResizing property and update related components ([e36a8dfacc](https://github.com/RueDeRennes/mosaik/commit/e36a8dfacc))
|
|
91
|
+
- **instructions:** enhance coding standards with access modifiers and service-layer guidelines ([7bad04f186](https://github.com/RueDeRennes/mosaik/commit/7bad04f186))
|
|
92
|
+
- **drawer:** implement drawer stacking behavior and update styles for themes ([036f98144e](https://github.com/RueDeRennes/mosaik/commit/036f98144e))
|
|
93
|
+
|
|
94
|
+
## 0.0.211 (2025-12-31)
|
|
95
|
+
|
|
96
|
+
This was a version bump only for mosaik-elements to align it with other projects, there were no code changes.
|
|
97
|
+
|
|
98
|
+
## 0.0.210 (2025-12-31)
|
|
99
|
+
|
|
100
|
+
This was a version bump only for mosaik-elements to align it with other projects, there were no code changes.
|
|
101
|
+
|
|
102
|
+
## 0.0.209 (2025-12-30)
|
|
103
|
+
|
|
104
|
+
### 🚀 Features
|
|
105
|
+
|
|
106
|
+
- **overlays): replace BottomSheet with Sheet component in React, Svelte, and Vue refactor(overlays): create Sheet context and hooks for managing sheet functionality delete(overlays): remove BottomSheet implementation from Svelte and Vue style(themes:** add new tokens and styles for Sheet component in various themes ([9b31d53a48](https://github.com/RueDeRennes/mosaik/commit/9b31d53a48))
|
|
107
|
+
- **fonts:** enhance GoogleFontService and AppThemeFontView with disposable font loading ([13a188da69](https://github.com/RueDeRennes/mosaik/commit/13a188da69))
|
|
108
|
+
- **region:** add Region and RegionView components with themes and properties ([16118756b2](https://github.com/RueDeRennes/mosaik/commit/16118756b2))
|
|
109
|
+
- **selectors): enhance property groups for List, Menu, Tab, and Tree components feat(selectors): add nested structure to Menu and Wizard templates fix(selectors:** improve styling and layout for DataTable themes docs: add article on Controller Pattern in Angular for better component logic management ([aac9fe4d9e](https://github.com/RueDeRennes/mosaik/commit/aac9fe4d9e))
|
|
110
|
+
- **components): refactor TitleBar, Toolbar, Tooltip, and UpDownSpinner samples to use templates style(timeline): enhance horizontal timeline item styles for better layout and alignment fix(main): update exports for IndicatorSample and TreeMap components chore(cspell:** add xaxis and yaxis to spell check words ([442d952d1a](https://github.com/RueDeRennes/mosaik/commit/442d952d1a))
|
|
111
|
+
|
|
112
|
+
### 🩹 Fixes
|
|
113
|
+
|
|
114
|
+
- **UpDownSpinnerSample): ensure value updates correctly on spin events fix(FeedbackDetailView): use mutable feedback object for comment and vote updates fix(FeedbackDetailViewTemplate): prevent deleteComment call if feedback ID is undefined refactor(SupportView): override render method for better clarity fix(AppViewTemplate): handle icon assignment safely with fallback fix(NewsletterViewTemplate): ensure newsletter submission works correctly fix(EventsViewTemplate): improve handling of calendar location and link checks fix(ProfileViewTemplate): ensure bio input hint updates correctly fix(ColorPaletteBuilderView): ensure palette generation uses correct types fix(GridGeneratorView): instantiate view model correctly and expose it refactor(GridGeneratorViewTemplate): simplify template function signature fix(IconGalleryViewTemplate): ensure mode selection works correctly with types chore(tsconfig): change module resolution to Bundler for better compatibility chore(vite.config): add vite-plugin-checker for TypeScript checks chore(vite.config.production): include vite-plugin-checker for production builds feat(Controller): add IControllerHostRef and IReactiveController interfaces feat(Controller): implement useController for managing reactive controllers chore(ControllerHost): remove deprecated ControllerHost implementation feat(GlobalDomRef:** create global DOM reference for better testability ([9da5337bfb](https://github.com/RueDeRennes/mosaik/commit/9da5337bfb))
|
|
115
|
+
|
|
1
116
|
## 0.0.208 (2025-12-13)
|
|
2
117
|
|
|
3
118
|
### 🚀 Features
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { IEventDetail } from './IEventDetail';
|
|
2
2
|
/**
|
|
3
|
-
* Represents event details with a cancellation
|
|
3
|
+
* Represents event details with a cancellation flag.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export interface ICancelEventDetail
|
|
7
|
+
export interface ICancelEventDetail extends IEventDetail {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Gets or sets the `cancel` property which decides whether the event should be canceled or not.
|
|
10
10
|
*/
|
|
11
11
|
cancel: boolean;
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICancelEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/ICancelEventDetail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD;;;;GAIG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ICancelEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/ICancelEventDetail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD;;;;GAIG;AACH,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IAIpD;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CAInB"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { IEventDetail } from './IEventDetail';
|
|
2
2
|
/**
|
|
3
|
-
* Represents event details with
|
|
3
|
+
* Represents event details with old and new value.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export interface IChangedEventDetail<
|
|
7
|
+
export interface IChangedEventDetail<TValue = unknown> extends IEventDetail {
|
|
8
8
|
/**
|
|
9
9
|
* Gets the `oldValue` property.
|
|
10
10
|
*/
|
|
11
|
-
readonly oldValue:
|
|
11
|
+
readonly oldValue: TValue;
|
|
12
12
|
/**
|
|
13
13
|
* Gets the `newValue` property.
|
|
14
14
|
*/
|
|
15
|
-
readonly newValue:
|
|
15
|
+
readonly newValue: TValue;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=IChangedEventDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IChangedEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IChangedEventDetail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"IChangedEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IChangedEventDetail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB,CAAC,MAAM,GAAG,OAAO,CAAE,SAAQ,YAAY;IAIvE;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAI7B"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { IEventDetail } from './IEventDetail';
|
|
2
2
|
/**
|
|
3
|
-
* Represents event details with
|
|
3
|
+
* Represents event details with an error.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export interface IErrorEventDetail<
|
|
7
|
+
export interface IErrorEventDetail<TError = Error> extends IEventDetail {
|
|
8
8
|
/**
|
|
9
9
|
* Gets the `error` property.
|
|
10
10
|
*/
|
|
11
|
-
readonly error:
|
|
11
|
+
readonly error: TError;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=IErrorEventDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IErrorEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IErrorEventDetail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"IErrorEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IErrorEventDetail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB,CAAC,MAAM,GAAG,KAAK,CAAE,SAAQ,YAAY;IAInE;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAI1B"}
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Base interface for all event details.
|
|
3
|
+
* This is a marker interface that can be extended with additional properties.
|
|
3
4
|
*
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
6
|
-
export interface IEventDetail
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export declare namespace IEventDetail {
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*
|
|
15
|
-
* Creates a IEventsDetail object.
|
|
16
|
-
*/
|
|
17
|
-
function create<TDetail extends IEventDetail<TSender>, TSender extends HTMLElement = HTMLElement>(sender: TSender, detail: TDetail): TDetail;
|
|
7
|
+
export interface IEventDetail {
|
|
18
8
|
}
|
|
19
9
|
//# sourceMappingURL=IEventDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IEventDetail.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"IEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IEventDetail.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,YAAY;CAC5B"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export var IEventDetail;
|
|
5
|
-
(function (IEventDetail) {
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*
|
|
9
|
-
* Creates a IEventsDetail object.
|
|
10
|
-
*/
|
|
11
|
-
function create(sender, detail) {
|
|
12
|
-
return {
|
|
13
|
-
...detail
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
IEventDetail.create = create;
|
|
17
|
-
})(IEventDetail || (IEventDetail = {}));
|
|
1
|
+
export {};
|
|
18
2
|
//# sourceMappingURL=IEventDetail.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEventDetail.js","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IEventDetail.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IEventDetail.js","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IEventDetail.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { IEventDetail } from './IEventDetail';
|
|
2
2
|
/**
|
|
3
|
-
* Represents event details with value.
|
|
3
|
+
* Represents event details with a single value.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export interface IValueEventDetail<
|
|
7
|
+
export interface IValueEventDetail<TValue = unknown> extends IEventDetail {
|
|
8
8
|
/**
|
|
9
9
|
* Gets the `value` property.
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IValueEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IValueEventDetail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"IValueEventDetail.d.ts","sourceRoot":"","sources":["../../../../src/Events/Details/Interfaces/IValueEventDetail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB,CAAC,MAAM,GAAG,OAAO,CAAE,SAAQ,YAAY;IAIrE;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAI1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IDisposableLike } from '../../Types/Disposable';
|
|
2
2
|
import type { IEventDispatcher } from '../Interfaces/IEventDispatcher';
|
|
3
3
|
import type { IEventOptions } from '../Interfaces/IEventOptions';
|
|
4
|
-
import type { IEventEmitter } from './Interfaces/IEventEmitter';
|
|
4
|
+
import type { IEventEmitter, IReadonlyEventEmitter } from './Interfaces/IEventEmitter';
|
|
5
5
|
/**
|
|
6
6
|
* The `EventEmitter` class.
|
|
7
7
|
*
|
|
@@ -20,10 +20,13 @@ export declare class HTMLElementEventEmitter<TDetail = unknown> implements IEven
|
|
|
20
20
|
*/
|
|
21
21
|
constructor(dispatcher?: IEventDispatcher, eventName?: string, options?: IEventOptions);
|
|
22
22
|
/**
|
|
23
|
+
* Emits an event with the given detail.
|
|
24
|
+
*
|
|
23
25
|
* @public
|
|
24
26
|
*/
|
|
25
27
|
emit(detail?: TDetail): void;
|
|
26
28
|
subscribe(_handler: (data?: TDetail) => void): IDisposableLike;
|
|
27
29
|
unsubscribe(_handler: (data?: TDetail) => void): void;
|
|
30
|
+
toReadonly(): IReadonlyEventEmitter<TDetail>;
|
|
28
31
|
}
|
|
29
32
|
//# sourceMappingURL=HTMLElementEventEmitter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HTMLElementEventEmitter.d.ts","sourceRoot":"","sources":["../../../src/Events/Emitters/HTMLElementEventEmitter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"HTMLElementEventEmitter.d.ts","sourceRoot":"","sources":["../../../src/Events/Emitters/HTMLElementEventEmitter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAIvF;;;;GAIG;AACH,qBAAa,uBAAuB,CAAC,OAAO,GAAG,OAAO,CAAE,YAAW,aAAa,CAAC,OAAO,CAAC;IAIrF,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAA+B;IAC5D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAqB;IACjD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAA4B;IAMtD;;;;;;OAMG;gBACgB,UAAU,CAAC,EAAE,gBAAgB,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;IAU7F;;;;OAIG;IACI,IAAI,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;IAqB5B,SAAS,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,eAAe;IAI9D,WAAW,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;IAIrD,UAAU,IAAI,qBAAqB,CAAC,OAAO,CAAC;CAStD"}
|
|
@@ -27,6 +27,8 @@ export class HTMLElementEventEmitter {
|
|
|
27
27
|
// #endregion
|
|
28
28
|
// #region Methods
|
|
29
29
|
/**
|
|
30
|
+
* Emits an event with the given detail.
|
|
31
|
+
*
|
|
30
32
|
* @public
|
|
31
33
|
*/
|
|
32
34
|
emit(detail) {
|
|
@@ -42,7 +44,7 @@ export class HTMLElementEventEmitter {
|
|
|
42
44
|
bubbles: this._options?.bubbles ?? true,
|
|
43
45
|
cancelable: this._options?.cancelable ?? false,
|
|
44
46
|
composed: this._options?.composed ?? true,
|
|
45
|
-
detail
|
|
47
|
+
detail
|
|
46
48
|
}));
|
|
47
49
|
}
|
|
48
50
|
subscribe(_handler) {
|
|
@@ -51,5 +53,11 @@ export class HTMLElementEventEmitter {
|
|
|
51
53
|
unsubscribe(_handler) {
|
|
52
54
|
throw new Error('Method not implemented.');
|
|
53
55
|
}
|
|
56
|
+
toReadonly() {
|
|
57
|
+
return {
|
|
58
|
+
subscribe: this.subscribe.bind(this),
|
|
59
|
+
unsubscribe: this.unsubscribe.bind(this)
|
|
60
|
+
};
|
|
61
|
+
}
|
|
54
62
|
}
|
|
55
63
|
//# sourceMappingURL=HTMLElementEventEmitter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HTMLElementEventEmitter.js","sourceRoot":"","sources":["../../../src/Events/Emitters/HTMLElementEventEmitter.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAOlB,aAAa;
|
|
1
|
+
{"version":3,"file":"HTMLElementEventEmitter.js","sourceRoot":"","sources":["../../../src/Events/Emitters/HTMLElementEventEmitter.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAOlB,aAAa;AAEb;;;;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SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YACpC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;SAC3C,CAAC;IACN,CAAC;CAIJ"}
|
|
@@ -7,4 +7,6 @@ export interface IEventEmitter<TDetail = void> {
|
|
|
7
7
|
subscribe(handler: (detail?: TDetail) => void): IDisposableLike;
|
|
8
8
|
unsubscribe(handler: (detail?: TDetail) => void): void;
|
|
9
9
|
}
|
|
10
|
+
export interface IReadonlyEventEmitter<TDetail = void> extends Omit<IEventEmitter<TDetail>, 'emit'> {
|
|
11
|
+
}
|
|
10
12
|
//# sourceMappingURL=IEventEmitter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/Events/Emitters/Interfaces/IEventEmitter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAIjE;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,OAAO,GAAG,IAAI;IAIzC,IAAI,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE7B,SAAS,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,eAAe,CAAC;IAEhE,WAAW,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;CAI1D"}
|
|
1
|
+
{"version":3,"file":"IEventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/Events/Emitters/Interfaces/IEventEmitter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAIjE;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,OAAO,GAAG,IAAI;IAIzC,IAAI,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE7B,SAAS,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,eAAe,CAAC;IAEhE,WAAW,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;CAI1D;AAED,MAAM,WAAW,qBAAqB,CAAC,OAAO,GAAG,IAAI,CAAE,SAAQ,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IDisposableLike } from '../../Types/Disposable';
|
|
2
|
-
import type { IEventEmitter } from './Interfaces/IEventEmitter';
|
|
2
|
+
import type { IEventEmitter, IReadonlyEventEmitter } from './Interfaces/IEventEmitter';
|
|
3
3
|
/**
|
|
4
4
|
* The `PureEventEmitter` class is a simple implementation of the `IEventEmitter` interface.
|
|
5
5
|
* It is used to emit events and subscribe to them when the target of the emit decorator is not an HTMLElement.
|
|
@@ -11,5 +11,6 @@ export declare class PureEventEmitter<T> implements IEventEmitter<T> {
|
|
|
11
11
|
emit(value?: T): void;
|
|
12
12
|
subscribe(observer: (value?: T) => void): IDisposableLike;
|
|
13
13
|
unsubscribe(observer: (value?: T) => void): void;
|
|
14
|
+
toReadonly(): IReadonlyEventEmitter<T>;
|
|
14
15
|
}
|
|
15
16
|
//# sourceMappingURL=PureEventEmitter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PureEventEmitter.d.ts","sourceRoot":"","sources":["../../../src/Events/Emitters/PureEventEmitter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"PureEventEmitter.d.ts","sourceRoot":"","sources":["../../../src/Events/Emitters/PureEventEmitter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAIvF;;;;;GAKG;AACH,qBAAa,gBAAgB,CAAC,CAAC,CAAE,YAAW,aAAa,CAAC,CAAC,CAAC;IAExD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAkC;IAItD,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI;IAMrB,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,GAAG,eAAe;IASzD,WAAW,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,GAAG,IAAI;IAOhD,UAAU,IAAI,qBAAqB,CAAC,CAAC,CAAC;CAShD"}
|
|
@@ -28,5 +28,11 @@ export class PureEventEmitter {
|
|
|
28
28
|
this._observers.splice(index, 1);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
toReadonly() {
|
|
32
|
+
return {
|
|
33
|
+
subscribe: this.subscribe.bind(this),
|
|
34
|
+
unsubscribe: this.unsubscribe.bind(this)
|
|
35
|
+
};
|
|
36
|
+
}
|
|
31
37
|
}
|
|
32
38
|
//# sourceMappingURL=PureEventEmitter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PureEventEmitter.js","sourceRoot":"","sources":["../../../src/Events/Emitters/PureEventEmitter.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGzD,aAAa;AAEb;;;;;GAKG;AACH,MAAM,OAAO,gBAAgB;IAER,UAAU,GAA+B,EAAE,CAAC;IAE7D,kBAAkB;IAEX,IAAI,CAAC,KAAS;QACjB,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACrC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpB,CAAC;IAC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CAAC,QAAQ,CAAC,CAAC;QAChD,IAAI,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC;YACb,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QACrC,CAAC;IACL,CAAC;IAEM,UAAU;QACb,OAAO;YACH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;YACpC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;SAC3C,CAAC;IACN,CAAC;CAIJ"}
|
package/Events/Utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../src/Events/Utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../src/Events/Utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAI1F;;GAEG;AACH,wBAAgB,EAAE,CAAC,MAAM,SAAS,MAAM,uBAAuB,EAAE,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,uBAAuB,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAAG,0BAA0B,CAM5O;AAED;;GAEG;AACH,wBAAgB,GAAG,CAAC,MAAM,SAAS,KAAK,GAAG,KAAK,EAAE,OAAO,EAAE,WAAW,GAAG,UAAU,EAAE,YAAY,EAAE,0BAA0B,GAAG,IAAI,CAGnI;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAG,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,OAAO,CAStG;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,SAAS,MAAM,uBAAuB,EAAE,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAW3J;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,IAAI,CAGpF;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,IAAI,CAGjF"}
|
package/Events/Utils.js
CHANGED
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
// #region Imports
|
|
2
2
|
import { EventListenerSubscription } from './EventListenerSubscription';
|
|
3
3
|
// #endregion
|
|
4
|
-
// /**
|
|
5
|
-
// * @public
|
|
6
|
-
// */
|
|
7
|
-
// Export type AddListenerCallback = () => void;
|
|
8
|
-
// /**
|
|
9
|
-
// * @public
|
|
10
|
-
// */
|
|
11
|
-
// Export function addListener(element: HTMLElement, event: string, handler: any, capture: boolean): AddListenerCallback {
|
|
12
|
-
// Element.addEventListener(event, handler, capture);
|
|
13
|
-
// Return () => {
|
|
14
|
-
// Element.removeEventListener(event, handler, capture);
|
|
15
|
-
// };
|
|
16
|
-
// }
|
|
17
4
|
/**
|
|
18
5
|
* @public
|
|
19
6
|
*/
|
package/Events/Utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Utils.js","sourceRoot":"","sources":["../../src/Events/Utils.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAGxE,aAAa;AAEb
|
|
1
|
+
{"version":3,"file":"Utils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AAO,CAAC,KAAK,CAAC,CAAC;YACnB,CAAC;QACL,CAAC,CAAC;QAEF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAW,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACP,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,OAAO,CAAkB,KAAQ,EAAE,OAA2B;IAC1E,KAAK,CAAC,cAAc,EAAE,CAAC;IACvB,OAAO,CAAC,KAAK,CAAC,CAAC;AACnB,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,IAAI,CAAkB,KAAQ,EAAE,OAA2B;IACvE,KAAK,CAAC,eAAe,EAAE,CAAC;IACxB,OAAO,CAAC,KAAK,CAAC,CAAC;AACnB,CAAC"}
|
package/Index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export type { ICancelEventDetail } from './Events/Details/Interfaces/ICancelEventDetail';
|
|
2
|
+
export type { IChangedEventDetail } from './Events/Details/Interfaces/IChangedEventDetail';
|
|
3
|
+
export type { IErrorEventDetail } from './Events/Details/Interfaces/IErrorEventDetail';
|
|
4
|
+
export type { IEventDetail } from './Events/Details/Interfaces/IEventDetail';
|
|
5
|
+
export type { IValueEventDetail } from './Events/Details/Interfaces/IValueEventDetail';
|
|
3
6
|
export { HTMLElementEventEmitter } from './Events/Emitters/HTMLElementEventEmitter';
|
|
4
|
-
export { PureEventEmitter } from './Events/Emitters/PureEventEmitter';
|
|
5
7
|
export type { IEventEmitter } from './Events/Emitters/Interfaces/IEventEmitter';
|
|
8
|
+
export { PureEventEmitter } from './Events/Emitters/PureEventEmitter';
|
|
9
|
+
export { EventListenerSubscription } from './Events/EventListenerSubscription';
|
|
6
10
|
export type { IEventDispatcher } from './Events/Interfaces/IEventDispatcher';
|
|
7
|
-
export type { IEventOptions } from './Events/Interfaces/IEventOptions';
|
|
8
|
-
export type { IEventListenerSubscription } from './Events/Interfaces/IEventListenerSubscription';
|
|
9
11
|
export { isEventListenerSubscription } from './Events/Interfaces/IEventListenerSubscription';
|
|
12
|
+
export type { IEventListenerSubscription } from './Events/Interfaces/IEventListenerSubscription';
|
|
13
|
+
export type { IEventOptions } from './Events/Interfaces/IEventOptions';
|
|
14
|
+
export { emit, off, on, prevent, stop, waitForEvent } from './Events/Utils';
|
|
10
15
|
export { IDisposableLike } from './Types/Disposable';
|
|
11
|
-
export type { IEventDetail } from './Events/Details/Interfaces/IEventDetail';
|
|
12
|
-
export type { ICancelEventDetail } from './Events/Details/Interfaces/ICancelEventDetail';
|
|
13
|
-
export type { IChangedEventDetail } from './Events/Details/Interfaces/IChangedEventDetail';
|
|
14
|
-
export type { IErrorEventDetail } from './Events/Details/Interfaces/IErrorEventDetail';
|
|
15
|
-
export type { IValueEventDetail } from './Events/Details/Interfaces/IValueEventDetail';
|
|
16
16
|
export { filterBy, filterByMemberPath } from './Utils/filterBy';
|
|
17
17
|
export { orderBy, orderByMemberPath } from './Utils/orderBy';
|
|
18
18
|
//# sourceMappingURL=Index.d.ts.map
|
package/Index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../src/Index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../src/Index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACzF,YAAY,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,YAAY,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AACvF,YAAY,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAC7E,YAAY,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,YAAY,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,YAAY,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,YAAY,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AACjG,YAAY,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
package/Index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { emit, off, on, waitForEvent, prevent, stop } from './Events/Utils';
|
|
2
|
-
export { EventListenerSubscription } from './Events/EventListenerSubscription';
|
|
3
1
|
export { HTMLElementEventEmitter } from './Events/Emitters/HTMLElementEventEmitter';
|
|
4
2
|
export { PureEventEmitter } from './Events/Emitters/PureEventEmitter';
|
|
3
|
+
export { EventListenerSubscription } from './Events/EventListenerSubscription';
|
|
5
4
|
export { isEventListenerSubscription } from './Events/Interfaces/IEventListenerSubscription';
|
|
5
|
+
export { emit, off, on, prevent, stop, waitForEvent } from './Events/Utils';
|
|
6
6
|
export { IDisposableLike } from './Types/Disposable';
|
|
7
7
|
// utils
|
|
8
8
|
export { filterBy, filterByMemberPath } from './Utils/filterBy';
|
package/Index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Index.js","sourceRoot":"","sources":["../src/Index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Index.js","sourceRoot":"","sources":["../src/Index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAE/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAG7F,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAQ;AACR,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
package/package.json
CHANGED