web-window-manager 1.0.6 → 1.0.8
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/LICENSE +21 -0
- package/README.md +31 -16
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Triston Armstrong
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
<!-- PSA SECTION _____________________________ -->
|
|
1
2
|
# PSA
|
|
2
3
|
THIS PACKAGE IS NOT READY FOR USE IN YOUR PROJECTS
|
|
3
4
|
|
|
4
5
|
<br/>
|
|
5
6
|
|
|
7
|
+
<!-- TODO SECTION _____________________________ -->
|
|
6
8
|
# TODO
|
|
7
9
|
- [x] Add appropriate readme boilerplate
|
|
8
10
|
- [ ] Add complete readme details
|
|
@@ -11,19 +13,27 @@ THIS PACKAGE IS NOT READY FOR USE IN YOUR PROJECTS
|
|
|
11
13
|
|
|
12
14
|
<br/>
|
|
13
15
|
|
|
16
|
+
<!-- MAIN SECTION INTRO _____________________________ -->
|
|
14
17
|
# Web-Window-Manager
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
A Window Manger for managing the creation and deletion of windows/tabs within a web based application.
|
|
17
20
|
|
|
18
|
-
### Badges
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
<br/>
|
|
23
|
+
|
|
24
|
+
<!-- BADGES SECTION _____________________________ -->
|
|
25
|
+
## Badges
|
|
21
26
|
|
|
22
|
-
|
|
27
|
+
[](https://npm.im/npm)
|
|
28
|
+
[](https://opensource.org/licenses/MIT)
|
|
29
|
+
[](https://github.com/Tarmstrong95/component-test-helper/actions/workflows/release-package.yml)
|
|
23
30
|
|
|
24
31
|
<div id="top"></div>
|
|
25
32
|
|
|
26
|
-
|
|
33
|
+
<br/>
|
|
34
|
+
|
|
35
|
+
<!-- EXTERNALS SECTION _____________________________ -->
|
|
36
|
+
## Externals
|
|
27
37
|
|
|
28
38
|
[![Contributors][contributors-shield]][contributors-url]
|
|
29
39
|
[![Forks][forks-shield]][forks-url]
|
|
@@ -32,10 +42,10 @@ TODO: add release detials here
|
|
|
32
42
|
[![MIT License][license-shield]][license-url]
|
|
33
43
|
[![LinkedIn][linkedin-shield]][linkedin-url]
|
|
34
44
|
|
|
35
|
-
<!-- PROJECT LOGO -->
|
|
36
45
|
<br />
|
|
37
46
|
|
|
38
|
-
<!-- TABLE OF CONTENTS -->
|
|
47
|
+
<!-- TABLE OF CONTENTS SECTION _____________________________ -->
|
|
48
|
+
## Table Of Contents
|
|
39
49
|
<details>
|
|
40
50
|
<summary>Table of Contents</summary>
|
|
41
51
|
<ol>
|
|
@@ -63,26 +73,32 @@ TODO: add release detials here
|
|
|
63
73
|
|
|
64
74
|
<br/>
|
|
65
75
|
|
|
66
|
-
<!-- ABOUT THE PROJECT -->
|
|
67
76
|
|
|
77
|
+
<!-- ABOUT SECTION _____________________________ -->
|
|
68
78
|
## About The Project
|
|
69
79
|
|
|
70
|
-
|
|
80
|
+
This package allows develepors to build applications that can open windows/tabs at an infinite depth (theoretically) and close all windows/tabs, based on some "event", that are "children" of the window/tab that triggered the event. This solves the problem some web applications have with persistance and ensuring all children are closed given various edge cases.
|
|
81
|
+
|
|
82
|
+
- EVENT - button click, hot key, or anything else (fully customizable)
|
|
83
|
+
- CHILDREN - a window/tab that was opened by a given window/tab
|
|
71
84
|
|
|
72
85
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
73
86
|
|
|
87
|
+
<!-- BUILT WITH SECTION _____________________________ -->
|
|
74
88
|
### Built With
|
|
75
89
|
|
|
76
90
|
- [TypeScript](https://www.typescriptlang.org/)
|
|
91
|
+
- [Lodash](https://lodash.com/)
|
|
77
92
|
|
|
78
93
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
79
94
|
|
|
80
|
-
<!-- GETTING STARTED -->
|
|
81
95
|
|
|
96
|
+
<!-- GETTING STARTED SECTION _____________________________ -->
|
|
82
97
|
## Getting Started
|
|
83
98
|
|
|
84
99
|
To get the package included in your project, follow these steps
|
|
85
100
|
|
|
101
|
+
<!-- INSTALLATION SECTION _____________________________ -->
|
|
86
102
|
### Installation
|
|
87
103
|
|
|
88
104
|
using [npm](https://www.npmjs.com/):
|
|
@@ -93,9 +109,9 @@ npm i web-window-manager
|
|
|
93
109
|
|
|
94
110
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
95
111
|
|
|
96
|
-
<!-- USAGE EXAMPLES -->
|
|
97
112
|
|
|
98
|
-
|
|
113
|
+
<!-- USAGE SECTION _____________________________ -->
|
|
114
|
+
### Usage
|
|
99
115
|
|
|
100
116
|
TODO: Add how to use this package
|
|
101
117
|
|
|
@@ -108,8 +124,8 @@ _Check out the [examples](https://github.com/Tarmstrong95/WindowManger/tree/main
|
|
|
108
124
|
|
|
109
125
|
See the [open issues](https://github.com/Tarmstrong95/WebWindowManager/issues) for a full list of proposed features (and known issues).
|
|
110
126
|
|
|
111
|
-
<!-- CONTRIBUTING -->
|
|
112
127
|
|
|
128
|
+
<!-- CONTRIBUTING SECTION _____________________________ -->
|
|
113
129
|
## Contributing
|
|
114
130
|
|
|
115
131
|
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
|
|
@@ -125,16 +141,15 @@ Don't forget to give the project a star! Thanks again!
|
|
|
125
141
|
|
|
126
142
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
127
143
|
|
|
128
|
-
<!-- LICENSE -->
|
|
129
|
-
|
|
144
|
+
<!-- LICENSE SECTION _____________________________ -->
|
|
130
145
|
## License
|
|
131
146
|
|
|
132
147
|
Distributed under the MIT License. See `LICENSE.txt` for more information.
|
|
133
148
|
|
|
134
149
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
135
150
|
|
|
136
|
-
<!-- CONTACT -->
|
|
137
151
|
|
|
152
|
+
<!-- CONTACT SECTION _____________________________ -->
|
|
138
153
|
## Contact
|
|
139
154
|
|
|
140
155
|
Me - [@Triston08227721](https://twitter.com/Triston08227721) - triston95strong@gmail.com
|