webamp 0.0.0-next-0d844a70 → 0.0.0-next-12f8e36b
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 +15 -9
- package/{dist → built}/types/demo/js/DemoDesktop.d.ts +0 -0
- package/{dist → built}/types/demo/js/DesktopIcon.d.ts +0 -0
- package/{dist → built}/types/demo/js/DesktopLinkIcon.d.ts +0 -0
- package/{dist → built}/types/demo/js/IconImage.d.ts +0 -0
- package/{dist → built}/types/demo/js/MilkIcon.d.ts +0 -0
- package/{dist → built}/types/demo/js/Mp3Icon.d.ts +0 -0
- package/{dist → built}/types/demo/js/SkinIcon.d.ts +0 -0
- package/{dist → built}/types/demo/js/SoundCloud.d.ts +0 -0
- package/{dist → built}/types/demo/js/SuspenseImage.d.ts +0 -0
- package/{dist → built}/types/demo/js/Webamp.d.ts +0 -0
- package/{dist → built}/types/demo/js/WebampIcon.d.ts +0 -0
- package/{dist/types/demo/js/avaliableSkins.d.ts → built/types/demo/js/availableSkins.d.ts} +0 -0
- package/built/types/demo/js/avaliableSkins.d.ts +5 -0
- package/{dist → built}/types/demo/js/butterchurnOptions.d.ts +0 -0
- package/{dist → built}/types/demo/js/choreography.d.ts +0 -0
- package/{dist → built}/types/demo/js/config.d.ts +0 -0
- package/{dist → built}/types/demo/js/dropboxFilePicker.d.ts +0 -0
- package/{dist → built}/types/demo/js/eventLogger.d.ts +0 -0
- package/{dist → built}/types/demo/js/index.d.ts +0 -0
- package/{dist → built}/types/demo/js/logger.d.ts +0 -0
- package/{dist → built}/types/demo/js/mediaSession.d.ts +0 -0
- package/{dist → built}/types/demo/js/screenshotInitialState.d.ts +0 -0
- package/{dist → built}/types/demo/js/webampConfig.d.ts +0 -0
- package/{dist → built}/types/js/Disposable.d.ts +0 -0
- package/{dist → built}/types/js/actionCreators/equalizer.d.ts +0 -0
- package/{dist → built}/types/js/actionCreators/files.d.ts +0 -0
- package/{dist → built}/types/js/actionCreators/index.d.ts +1 -1
- package/{dist → built}/types/js/actionCreators/media.d.ts +0 -0
- package/{dist → built}/types/js/actionCreators/milkdrop.d.ts +0 -0
- package/{dist → built}/types/js/actionCreators/playlist.d.ts +0 -0
- package/{dist → built}/types/js/actionCreators/windows.d.ts +2 -1
- package/{dist → built}/types/js/actionTypes.d.ts +0 -0
- package/{dist → built}/types/js/components/App.d.ts +0 -0
- package/{dist → built}/types/js/components/Balance.d.ts +0 -0
- package/{dist → built}/types/js/components/Character.d.ts +0 -0
- package/{dist → built}/types/js/components/CharacterString.d.ts +0 -0
- package/{dist → built}/types/js/components/ClickedDiv.d.ts +0 -0
- package/{dist → built}/types/js/components/ClipPaths.d.ts +0 -0
- package/{dist → built}/types/js/components/ContextMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/ContextMenuTarget.d.ts +0 -0
- package/{dist → built}/types/js/components/ContextMenuWrapper.d.ts +0 -0
- package/{dist → built}/types/js/components/Css.d.ts +0 -0
- package/{dist → built}/types/js/components/DropTarget.d.ts +0 -0
- package/{dist → built}/types/js/components/EqualizerWindow/Band.d.ts +0 -0
- package/{dist → built}/types/js/components/EqualizerWindow/EqAuto.d.ts +0 -0
- package/{dist → built}/types/js/components/EqualizerWindow/EqGraph.d.ts +0 -0
- package/{dist → built}/types/js/components/EqualizerWindow/EqOn.d.ts +0 -0
- package/{dist → built}/types/js/components/EqualizerWindow/EqTitleButtons.d.ts +0 -0
- package/{dist → built}/types/js/components/EqualizerWindow/EqualizerShade.d.ts +0 -0
- package/{dist → built}/types/js/components/EqualizerWindow/PresetsContextMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/EqualizerWindow/index.d.ts +0 -0
- package/{dist → built}/types/js/components/EqualizerWindow/spline.d.ts +0 -0
- package/{dist → built}/types/js/components/FocusTarget.d.ts +0 -0
- package/{dist → built}/types/js/components/Fullscreen.d.ts +0 -0
- package/{dist → built}/types/js/components/GenWindow/index.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/ActionButtons.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Close.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/ClutterBar.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Eject.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/EqToggleButton.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Kbps.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Khz.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/MainBalance.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/MainContextMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/MainVolume.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Marquee.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Minimize.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/MonoStereo.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/PlaylistToggleButton.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Position.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Repeat.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Shade.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Shuffle.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/Time.d.ts +0 -0
- package/{dist → built}/types/js/components/MainWindow/index.d.ts +0 -0
- package/{dist → built}/types/js/components/MilkdropWindow/Background.d.ts +0 -0
- package/{dist → built}/types/js/components/MilkdropWindow/Desktop.d.ts +0 -0
- package/{dist → built}/types/js/components/MilkdropWindow/MilkdropContextMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/MilkdropWindow/PresetOverlay.d.ts +0 -0
- package/{dist → built}/types/js/components/MilkdropWindow/Visualizer.d.ts +0 -0
- package/{dist → built}/types/js/components/MilkdropWindow/index.d.ts +0 -0
- package/{dist → built}/types/js/components/MiniTime.d.ts +0 -0
- package/{dist → built}/types/js/components/OptionsContextMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaybackContextMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/AddMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/ListMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/MiscMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/MiscOptionsContextMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/PlaylistActionArea.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/PlaylistMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/PlaylistMenuEntry.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/PlaylistResizeTarget.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/PlaylistScrollBar.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/PlaylistShade.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/RemoveMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/RunningTimeDisplay.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/SelectionMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/SortContextMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/TrackCell.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/TrackList.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/TrackTitle.d.ts +0 -0
- package/{dist → built}/types/js/components/PlaylistWindow/index.d.ts +0 -0
- package/{dist → built}/types/js/components/ResizeTarget.d.ts +0 -0
- package/{dist → built}/types/js/components/Skin.d.ts +0 -0
- package/{dist → built}/types/js/components/SkinsContextMenu.d.ts +0 -0
- package/{dist → built}/types/js/components/VerticalSlider.d.ts +0 -0
- package/{dist → built}/types/js/components/Visualizer.d.ts +0 -0
- package/{dist → built}/types/js/components/Volume.d.ts +0 -0
- package/{dist → built}/types/js/components/WinampButton.d.ts +0 -0
- package/{dist → built}/types/js/components/WindowManager.d.ts +0 -0
- package/{dist → built}/types/js/components/useBarVisualizer.d.ts +0 -0
- package/{dist → built}/types/js/components/useOscilloscopeVisualizer.d.ts +0 -0
- package/{dist → built}/types/js/constants.d.ts +2 -5
- package/{dist → built}/types/js/emitter.d.ts +0 -0
- package/{dist → built}/types/js/fileUtils.d.ts +0 -0
- package/{dist → built}/types/js/hooks.d.ts +0 -0
- package/{dist → built}/types/js/hotkeys.d.ts +0 -0
- package/{dist → built}/types/js/loadQueue.d.ts +0 -0
- package/{dist → built}/types/js/marqueeUtils.d.ts +0 -0
- package/{dist → built}/types/js/marqueeUtils.test.d.ts +0 -0
- package/{dist → built}/types/js/media/StereoBalanceNode.d.ts +0 -0
- package/{dist → built}/types/js/media/elementSource.d.ts +0 -0
- package/{dist → built}/types/js/media/index.d.ts +0 -0
- package/{dist → built}/types/js/mediaMiddleware.d.ts +0 -0
- package/{dist → built}/types/js/playlistHtml.d.ts +0 -0
- package/{dist → built}/types/js/reducers/display.d.ts +0 -0
- package/{dist → built}/types/js/reducers/equalizer.d.ts +0 -0
- package/{dist → built}/types/js/reducers/index.d.ts +0 -0
- package/{dist → built}/types/js/reducers/media.d.ts +0 -0
- package/{dist → built}/types/js/reducers/milkdrop.d.ts +0 -0
- package/{dist → built}/types/js/reducers/network.d.ts +0 -0
- package/{dist → built}/types/js/reducers/playlist.d.ts +0 -0
- package/{dist → built}/types/js/reducers/settings.d.ts +0 -0
- package/{dist → built}/types/js/reducers/tracks.d.ts +0 -0
- package/{dist → built}/types/js/reducers/tracks.test.d.ts +0 -0
- package/{dist → built}/types/js/reducers/userInput.d.ts +0 -0
- package/{dist → built}/types/js/reducers/windows.d.ts +2 -3
- package/{dist → built}/types/js/regionParser.d.ts +0 -0
- package/{dist → built}/types/js/resizeUtils.d.ts +3 -3
- package/{dist → built}/types/js/resizeUtils.test.d.ts +0 -0
- package/{dist → built}/types/js/selectors.d.ts +4 -4
- package/{dist → built}/types/js/selectors.test.d.ts +0 -0
- package/{dist → built}/types/js/serialization.test.d.ts +0 -0
- package/{dist → built}/types/js/serializedStates/v1Types.d.ts +2 -1
- package/{dist → built}/types/js/skinParser.d.ts +0 -0
- package/{dist → built}/types/js/skinParserUtils.d.ts +0 -0
- package/{dist → built}/types/js/skinSelectors.d.ts +0 -0
- package/{dist → built}/types/js/skinSprites.d.ts +0 -0
- package/{dist → built}/types/js/snapUtils.d.ts +0 -0
- package/{dist → built}/types/js/snapUtils.test.d.ts +0 -0
- package/{dist → built}/types/js/spinParserUtils.test.d.ts +0 -0
- package/{dist → built}/types/js/store.d.ts +0 -0
- package/{dist → built}/types/js/trackUtils.d.ts +0 -0
- package/{dist → built}/types/js/types.d.ts +66 -6
- package/{dist → built}/types/js/utils.d.ts +0 -0
- package/{dist → built}/types/js/utils.test.d.ts +0 -0
- package/{dist → built}/types/js/webamp.d.ts +0 -0
- package/{dist → built}/types/js/webampLazy.d.ts +1 -2
- package/{dist/webamp-browser/webampBrowser.js → built/webamp.bundle.js} +10505 -10465
- package/built/webamp.bundle.js.map +1 -0
- package/{dist/webamp-browser-min/webampBrowser.js → built/webamp.bundle.min.js} +16 -16
- package/built/webamp.bundle.min.js.map +1 -0
- package/{dist/webamp-lazy-browser/webampLazyBrowser.js → built/webamp.lazy-bundle.js} +6006 -5966
- package/built/webamp.lazy-bundle.js.map +1 -0
- package/{dist/webamp-lazy-browser-min/webampLazyBrowser.js → built/webamp.lazy-bundle.min.js} +11 -11
- package/built/webamp.lazy-bundle.min.js.map +1 -0
- package/package.json +16 -19
- package/dist/webamp-browser/webampBrowser.js.map +0 -1
- package/dist/webamp-browser-min/webampBrowser.js.map +0 -1
- package/dist/webamp-lazy-browser/webampLazyBrowser.js.map +0 -1
- package/dist/webamp-lazy-browser-min/webampLazyBrowser.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
## Upcoming [UNRELEASED]
|
|
1
|
+
## Upcoming [UNRELEASED] (`webamp@next`)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
- Allow a single mouse drag across the EQ to set all values [#1180](https://github.com/captbaritone/webamp/pull/1180)
|
|
5
|
+
- Configure the initial layout of windows -- size, position, openness, shade mode -- when constructing a Webamp instance.
|
|
6
|
+
- Configure if "double size mode" should be enabled when constructing a Webamp instance.
|
|
2
7
|
|
|
3
8
|
### Internal Improvements:
|
|
4
9
|
|
|
5
10
|
- Upgrade to React 18, React Redux, 8 and Redux 4.1
|
|
6
|
-
-
|
|
11
|
+
- Bundle with Parcel instead of Webpack
|
|
12
|
+
- Build public Typescript directly from source annotations.
|
|
7
13
|
|
|
8
14
|
## 1.5.0 [CURRENT]
|
|
9
15
|
|
|
@@ -20,7 +26,7 @@
|
|
|
20
26
|
- Fix a bug where the Milkdrop window could not be moved in some cases [#1068](https://github.com/captbaritone/webamp/pull/1068)
|
|
21
27
|
- Fix a bug where the visualizer in the Playlist window was not hidden when audio was stopped. [#1072](https://github.com/captbaritone/webamp/pull/1072)
|
|
22
28
|
- Fix a bug where the marquee was one pixel too narrow [#1087](https://github.com/captbaritone/webamp/pull/1087)
|
|
23
|
-
- Fix a bug that was preventing the "Misc options"
|
|
29
|
+
- Fix a bug that was preventing the "Misc options" playlist submenu from opening. [c9fe24](https://github.com/captbaritone/webamp/commit/c9fe24daec32d23ac675f57e3c37854e5ecffbde)
|
|
24
30
|
- Rename the `.status` class to `.webamp-status` to avoid potential conflicts with host site. [#1116](https://github.com/captbaritone/webamp/pull/1116)
|
|
25
31
|
|
|
26
32
|
## 1.4.2
|
|
@@ -91,7 +97,7 @@ See a full list below:
|
|
|
91
97
|
- Our ID3 parsing library [jsmediatags](https://github.com/aadsm/jsmediatags) has been replaced by [music-metadata-browser](https://www.npmjs.com/package/music-metadata-browser). This means we now support a broader range of media types, and also that the bitrate and sample rate displayed are now functional
|
|
92
98
|
- The default skin is now included in the Skins section of the options menu by default
|
|
93
99
|
- Implemented the "Options" sub context menu. Click the "O" in the "clutter bar" or select "Options" from the main context menu to see it
|
|
94
|
-
- The
|
|
100
|
+
- The equalizer graph is nolonger antialiased. It is now pixelated like real Winamp
|
|
95
101
|
- Added a `.reopen()` method to reopen Webamp after you've closed it ([47ba520](https://github.com/captbaritone/webamp/commit/47ba520c2422d8e4842468a32ca13492845183cd))
|
|
96
102
|
- Stip diacritic marks from song description so it displays better in the marquee ([2b2598](https://github.com/captbaritone/webamp/commit/2b2598329d3891ee8a976b8169066586110a767a))
|
|
97
103
|
|
|
@@ -106,7 +112,7 @@ See a full list below:
|
|
|
106
112
|
- Scrolling in the Equalizer window nolonger changes the volume ([48a937](https://github.com/captbaritone/webamp/commit/48a937da8722ccfd3c2e9df378a847c453c36864))
|
|
107
113
|
- Clicking anywhere in a equalizer slider now makes the button depress ([20e681](20e6811e6f59e82a5765c38b0b33fbed2eb575ee)
|
|
108
114
|
- Parsing of the `viscolor.txt` file in skins is now more permissive, allowing us to support more skins ([0d29ff](0d29ffe3f4b20505005346cbc97d0cdf85664619))
|
|
109
|
-
- The hotkeys to seek forward/backwards 10 tracks now works
|
|
115
|
+
- The hotkeys to seek forward/backwards 10 tracks now works properly ([7d9ef4](https://github.com/captbaritone/webamp/commit/7d9ef4287f7294f6bdc1db89b717592cf4e48f17))
|
|
110
116
|
- Fix a bug where the preamp level was not applied until you changed it ([f03c88](https://github.com/captbaritone/webamp/commit/f03c88c6d89fd51cbc0538841bb3227accfa0431))
|
|
111
117
|
- Fix a bug where `.eqf` values were encoded incorrectly ([c634cd](https://github.com/captbaritone/webamp/commit/c634cd8b947e5d2d8b94b38023bc20097737a995))
|
|
112
118
|
- Preamp and EQ now boost/attenuate the same way original winamp 2 did ([#748](https://github.com/captbaritone/webamp/pull/748))
|
|
@@ -114,7 +120,7 @@ See a full list below:
|
|
|
114
120
|
### Internal Improvements:
|
|
115
121
|
|
|
116
122
|
- Webamp is now written in [TypeScript](https://www.typescriptlang.org/).
|
|
117
|
-
-
|
|
123
|
+
- Upgraded to React and began using a few [hooks](https://reactjs.org/docs/hooks-overview.html).
|
|
118
124
|
- We nolonger depend upon [cardinal-spline-js](https://www.npmjs.com/package/cardinal-spline-js), we use our own implementation.
|
|
119
125
|
|
|
120
126
|
## 1.2.0
|
|
@@ -131,7 +137,7 @@ See a full list below:
|
|
|
131
137
|
|
|
132
138
|
### Changes
|
|
133
139
|
|
|
134
|
-
Webamp is no-longer rendered into the DOM node you pass into `webamp.renderWhenReady()`. Instead, Webamp is
|
|
140
|
+
Webamp is no-longer rendered into the DOM node you pass into `webamp.renderWhenReady()`. Instead, Webamp is rendered as a direct child of the `<body>` tag. The passed DOM node is still used for positioning. Webamp will attempt to center itself within that DOM node when it renders.
|
|
135
141
|
|
|
136
142
|
### Features
|
|
137
143
|
|
|
@@ -155,7 +161,7 @@ Webamp is no-longer rendered into the DOM node you pass into `webamp.renderWhenR
|
|
|
155
161
|
### Breaking
|
|
156
162
|
|
|
157
163
|
- Webamp will attempt to center itself within the node it is rendered into, rather than within the entire page.
|
|
158
|
-
- Webamp now includes the default skin directly in the JS bundle, so you don't need host it separately, or pass a URL as part of the
|
|
164
|
+
- Webamp now includes the default skin directly in the JS bundle, so you don't need host it separately, or pass a URL as part of the initialization.
|
|
159
165
|
|
|
160
166
|
### Features
|
|
161
167
|
|
|
@@ -185,7 +191,7 @@ Webamp is no-longer rendered into the DOM node you pass into `webamp.renderWhenR
|
|
|
185
191
|
### Added
|
|
186
192
|
|
|
187
193
|
- Instance method to be notified when Webamp is closed `webamp.onClose(callback)`.
|
|
188
|
-
- Instance method to be notified when Webamp is
|
|
194
|
+
- Instance method to be notified when Webamp is minimized `webamp.onMinimize(callback)`.
|
|
189
195
|
- Support for skins that use `.png` sprite sheets instead of `.bmp`. This saves 15kb for the default skin on the demo page. ([b88e87](https://github.com/captbaritone/winamp2-js/commit/b88e87b6584fd9db2e2295addab7bba0c1acd226))
|
|
190
196
|
- We now attempt to detect mono audio files. Previously mono files would report as stereo and play only in the left channel.
|
|
191
197
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Thunk, Action, Slider } from "../types";
|
|
2
2
|
import { SerializedStateV1 } from "../serializedStates/v1Types";
|
|
3
|
-
export { toggleDoubleSizeMode, toggleEqualizerShadeMode, togglePlaylistShadeMode, closeWindow, setWindowSize, toggleWindow, updateWindowPositions, toggleMainWindowShadeMode, centerWindowsInContainer, centerWindowsInView, resetWindowSizes, browserWindowSizeChanged, ensureWindowsAreOnScreen, stackWindows, toggleLlamaMode, setFocusedWindow, } from "./windows";
|
|
3
|
+
export { toggleDoubleSizeMode, toggleEqualizerShadeMode, togglePlaylistShadeMode, closeWindow, setWindowSize, toggleWindow, updateWindowPositions, toggleMainWindowShadeMode, centerWindowsInContainer, centerWindowsInView, resetWindowSizes, browserWindowSizeChanged, ensureWindowsAreOnScreen, stackWindows, toggleLlamaMode, setFocusedWindow, setWindowLayout, } from "./windows";
|
|
4
4
|
export { play, pause, stop, nextN, next, previous, seekToTime, seekForward, seekBackward, setVolume, playTrack, playTrackNow, adjustVolume, scrollVolume, setBalance, toggleRepeat, toggleShuffle, toggleTimeMode, } from "./media";
|
|
5
5
|
export { setEqBand, setEqToMax, setEqToMid, setEqToMin, setPreamp, toggleEq, toggleEqAuto, } from "./equalizer";
|
|
6
6
|
export { addTracksFromReferences, loadFilesFromReferences, setSkinFromUrl, openEqfFileDialog, openMediaFileDialog, openSkinFileDialog, fetchMediaDuration, loadMedia, loadMediaFiles, loadMediaFile, fetchMediaTags, setEqFromFileReference, downloadPreset, setEqFromObject, downloadHtmlPlaylist, addDirAtIndex, addFilesAtIndex, addFilesFromUrl, addFilesFromList, saveFilesToList, droppedFiles, } from "./files";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Action, Thunk, WindowId, WindowPositions } from "../types";
|
|
1
|
+
import { Action, Thunk, WindowId, WindowPositions, WindowLayout } from "../types";
|
|
2
2
|
export declare function toggleDoubleSizeMode(): Thunk;
|
|
3
3
|
export declare function toggleLlamaMode(): Action;
|
|
4
4
|
export declare function toggleEqualizerShadeMode(): Thunk;
|
|
@@ -23,4 +23,5 @@ export declare function browserWindowSizeChanged(size: {
|
|
|
23
23
|
}): Thunk;
|
|
24
24
|
export declare function resetWindowSizes(): Action;
|
|
25
25
|
export declare function stackWindows(): Thunk;
|
|
26
|
+
export declare function setWindowLayout(layout?: WindowLayout): Thunk;
|
|
26
27
|
export declare function ensureWindowsAreOnScreen(): Thunk;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { Band, MediaTagRequestStatus, MediaStatus, LoadStyle, TimeMode } from "./types";
|
|
1
|
+
import { Band, MediaTagRequestStatus, MediaStatus, LoadStyle, TimeMode, WindowId } from "./types";
|
|
2
2
|
export declare const BANDS: Band[];
|
|
3
3
|
export declare const WINDOWS: {
|
|
4
|
-
|
|
5
|
-
PLAYLIST: string;
|
|
6
|
-
EQUALIZER: string;
|
|
7
|
-
MILKDROP: string;
|
|
4
|
+
[key: string]: WindowId;
|
|
8
5
|
};
|
|
9
6
|
export declare const LOAD_STYLE: Record<LoadStyle, LoadStyle>;
|
|
10
7
|
export declare const MEDIA_TAG_REQUEST_STATUS: Record<MediaTagRequestStatus, MediaTagRequestStatus>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Action, WindowId, Box, Point } from "../types";
|
|
2
2
|
import { WindowsSerializedStateV1 } from "../serializedStates/v1Types";
|
|
3
|
-
export declare type WindowPosition = Point;
|
|
4
3
|
export declare type WindowPositions = {
|
|
5
|
-
[windowId: string]:
|
|
4
|
+
[windowId: string]: Point;
|
|
6
5
|
};
|
|
7
6
|
export interface WebampWindow {
|
|
8
7
|
title: string;
|
|
@@ -13,7 +12,7 @@ export interface WebampWindow {
|
|
|
13
12
|
canShade: boolean;
|
|
14
13
|
canDouble: boolean;
|
|
15
14
|
hotkey?: string;
|
|
16
|
-
position:
|
|
15
|
+
position: Point;
|
|
17
16
|
}
|
|
18
17
|
export interface WindowInfo extends Box {
|
|
19
18
|
key: WindowId;
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WindowInfo
|
|
1
|
+
import { WindowInfo } from "./types";
|
|
2
2
|
interface PositionDiff {
|
|
3
3
|
[key: string]: {
|
|
4
4
|
x: number;
|
|
@@ -13,8 +13,8 @@ export interface SizeDiff {
|
|
|
13
13
|
}
|
|
14
14
|
export declare function getPositionDiff(graph: Graph, sizeDiff: SizeDiff): PositionDiff;
|
|
15
15
|
interface Edges {
|
|
16
|
-
below?:
|
|
17
|
-
right?:
|
|
16
|
+
below?: string;
|
|
17
|
+
right?: string;
|
|
18
18
|
}
|
|
19
19
|
export interface Graph {
|
|
20
20
|
[id: string]: Edges;
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppState, PlaylistTrack, WindowId, LoadedURLTrack, PlaylistStyle, TransitionType, MediaStatus, TimeMode, SkinImages, Cursors, SkinRegion, GenLetterWidths, MilkdropMessage, DummyVizData } from "./types";
|
|
1
|
+
import { AppState, PlaylistTrack, WebampWindow, WindowId, LoadedURLTrack, PlaylistStyle, TransitionType, MediaStatus, TimeMode, SkinImages, Cursors, SkinRegion, GenLetterWidths, MilkdropMessage, DummyVizData } from "./types";
|
|
2
2
|
import * as fromTracks from "./reducers/tracks";
|
|
3
3
|
import * as fromWindows from "./reducers/windows";
|
|
4
4
|
import { SerializedStateV1 } from "./serializedStates/v1Types";
|
|
@@ -112,15 +112,15 @@ export declare const getWindowPixelSize: import("reselect").OutputSelector<AppSt
|
|
|
112
112
|
height: number;
|
|
113
113
|
width: number;
|
|
114
114
|
}>;
|
|
115
|
-
export declare const getNormalizedWindowOrder: import("reselect").OutputSelector<AppState,
|
|
115
|
+
export declare const getNormalizedWindowOrder: import("reselect").OutputSelector<AppState, WindowId[], (res1: WindowId[], res2: {
|
|
116
116
|
[name: string]: fromWindows.WebampWindow;
|
|
117
|
-
}) =>
|
|
117
|
+
}) => WindowId[]>;
|
|
118
118
|
export declare const getWindowsInfo: import("reselect").OutputSelector<AppState, fromWindows.WindowInfo[], (res1: {
|
|
119
119
|
[key: string]: {
|
|
120
120
|
height: number;
|
|
121
121
|
width: number;
|
|
122
122
|
};
|
|
123
|
-
}, res2: fromWindows.WindowPositions, res3:
|
|
123
|
+
}, res2: fromWindows.WindowPositions, res3: WindowId[]) => fromWindows.WindowInfo[]>;
|
|
124
124
|
export declare const getWindowGraph: import("reselect").OutputSelector<AppState, import("./resizeUtils").Graph, (res: fromWindows.WindowInfo[]) => import("./resizeUtils").Graph>;
|
|
125
125
|
export declare function getSkinColors(state: AppState): string[];
|
|
126
126
|
export declare const getSkinPlaylistStyle: (state: AppState) => PlaylistStyle;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE: This file must not import any other types
|
|
3
3
|
*/
|
|
4
|
+
import { WindowId } from "../types";
|
|
4
5
|
export interface WindowsSerializedStateV1 {
|
|
5
6
|
positionsAreRelative: boolean;
|
|
6
7
|
genWindows: {
|
|
@@ -15,7 +16,7 @@ export interface WindowsSerializedStateV1 {
|
|
|
15
16
|
};
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
|
-
focused:
|
|
19
|
+
focused: WindowId | null;
|
|
19
20
|
}
|
|
20
21
|
export interface DisplaySerializedStateV1 {
|
|
21
22
|
visualizerStyle: number;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|