@breakside/jskit 2022.3.1 → 2022.7.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/Frameworks/DOM.jsframework/Info.json +2 -2
- package/Frameworks/DOM.jsframework/io.breakside.JSKit.DOM-bundle.js +2 -2
- package/Frameworks/FontKit.jsframework/Info.json +2 -2
- package/Frameworks/FontKit.jsframework/io.breakside.JSKit.FontKit-bundle.js +2 -2
- package/Frameworks/Foundation.jsframework/Info.json +2 -2
- package/Frameworks/Foundation.jsframework/JS/JSUserDefaults.js +28 -7
- package/Frameworks/Foundation.jsframework/io.breakside.JSKit.Foundation-bundle.js +2 -2
- package/Frameworks/SecurityKit.jsframework/Info.json +2 -2
- package/Frameworks/SecurityKit.jsframework/io.breakside.JSKit.SecurityKit-bundle.js +2 -2
- package/Info.json +2 -2
- package/Node/Docs/DocComponent.js +11 -0
- package/Node/io.breakside.jskit-bundle.js +2 -2
- package/Root/Frameworks/APIKit/Info.yaml +1 -1
- package/Root/Frameworks/APIKitTesting/Info.yaml +1 -1
- package/Root/Frameworks/AuthKit/Info.yaml +1 -1
- package/Root/Frameworks/CSSOM/Info.yaml +1 -1
- package/Root/Frameworks/ChartKit/Info.yaml +1 -1
- package/Root/Frameworks/ConferenceKit/Info.yaml +1 -1
- package/Root/Frameworks/DBKit/DBMongoStore.js +1 -0
- package/Root/Frameworks/DBKit/DBRedisStore.js +136 -117
- package/Root/Frameworks/DBKit/Info.yaml +1 -1
- package/Root/Frameworks/DOM/Info.yaml +1 -1
- package/Root/Frameworks/Dispatch/Info.yaml +1 -1
- package/Root/Frameworks/FontKit/Info.yaml +1 -1
- package/Root/Frameworks/Foundation/Info.yaml +1 -1
- package/Root/Frameworks/Foundation/JSUserDefaults.js +28 -7
- package/Root/Frameworks/ImageKit/IKMatrix.js +1 -1
- package/Root/Frameworks/ImageKit/Info.yaml +1 -1
- package/Root/Frameworks/MediaKit/Info.yaml +1 -1
- package/Root/Frameworks/MediaKitUI/Info.yaml +1 -1
- package/Root/Frameworks/NotificationKit/Info.yaml +1 -1
- package/Root/Frameworks/PDFKit/Info.yaml +1 -1
- package/Root/Frameworks/QRKit/Info.yaml +1 -1
- package/Root/Frameworks/SearchKit/Info.yaml +1 -1
- package/Root/Frameworks/SecurityKit/Info.yaml +1 -1
- package/Root/Frameworks/ServerKit/Info.yaml +1 -1
- package/Root/Frameworks/ServerKit/SKAMQPJobQueue.js +1 -1
- package/Root/Frameworks/ServerKit/SKApplication+Node.js +5 -3
- package/Root/Frameworks/ServerKit/SKJobQueue.js +1 -1
- package/Root/Frameworks/ServerKit/SKRedisJobQueue.js +7 -3
- package/Root/Frameworks/ServerKitTesting/Info.yaml +1 -1
- package/Root/Frameworks/TestKit/Info.yaml +1 -1
- package/Root/Frameworks/TestKit/TKMock.js +1 -1
- package/Root/Frameworks/UIKit/Info.yaml +1 -1
- package/Root/Frameworks/UIKit/UIBrowserViewController.js +2 -6
- package/Root/Frameworks/UIKit/UIHTMLApplication.js +21 -5
- package/Root/Frameworks/UIKit/UINavigationBar.js +7 -1
- package/Root/Frameworks/UIKit/UINavigationController.js +228 -112
- package/Root/Frameworks/UIKit/UINavigationItem.js +4 -0
- package/Root/Frameworks/UIKit/UIPopupButton.js +8 -0
- package/Root/Frameworks/UIKit/UISplitViewController.js +185 -77
- package/Root/Frameworks/UIKit/UITabViewController.js +4 -10
- package/Root/Frameworks/UIKit/UIViewController.js +133 -50
- package/Root/Frameworks/UIKit/UIWindow.js +4 -15
- package/Root/Frameworks/UIKitTesting/Info.yaml +1 -1
- package/Root/Frameworks/UIKitTesting/UIMockApplication.js +6 -0
- package/Root/Templates/http/${PROJECT_NAME}/Dockerfile +1 -1
- package/Root/Templates/node/${PROJECT_NAME}/Dockerfile +4 -2
- package/package.json +1 -1
|
@@ -214,27 +214,16 @@ JSClass('UIWindow', UIView, {
|
|
|
214
214
|
|
|
215
215
|
setContentViewController: function(contentViewController){
|
|
216
216
|
var previousViewController = this._contentViewController;
|
|
217
|
-
var contentView = null;
|
|
218
|
-
// load the view before calling viewWillAppear
|
|
219
|
-
if (contentViewController){
|
|
220
|
-
contentView = contentViewController.view;
|
|
221
|
-
}
|
|
222
217
|
if (this._isVisible){
|
|
223
218
|
if (previousViewController !== null){
|
|
224
|
-
previousViewController.
|
|
219
|
+
previousViewController.scheduleDisappearance();
|
|
225
220
|
}
|
|
226
221
|
if (contentViewController !== null){
|
|
227
|
-
contentViewController.
|
|
222
|
+
contentViewController.scheduleAppearance();
|
|
228
223
|
}
|
|
229
224
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
if (previousViewController !== null){
|
|
233
|
-
previousViewController.viewDidDisappear(false);
|
|
234
|
-
}
|
|
235
|
-
if (contentViewController !== null){
|
|
236
|
-
contentViewController.viewDidAppear(false);
|
|
237
|
-
}
|
|
225
|
+
if (contentViewController !== null){
|
|
226
|
+
this.contentView = contentViewController.view;
|
|
238
227
|
}
|
|
239
228
|
this._contentViewController = contentViewController;
|
|
240
229
|
},
|
|
@@ -59,6 +59,12 @@ JSClass("UIMockApplication", UIApplication, {
|
|
|
59
59
|
UIMockApplication.$super.deinit.call(this);
|
|
60
60
|
},
|
|
61
61
|
|
|
62
|
+
setScreenSize: function(size){
|
|
63
|
+
var oldFrame = this.windowServer.screen.frame;
|
|
64
|
+
this.windowServer.screen.frame = JSRect(JSPoint.Zero, size);
|
|
65
|
+
this.windowServer.screenDidChangeFrame(oldFrame);
|
|
66
|
+
},
|
|
67
|
+
|
|
62
68
|
displayTime: 0,
|
|
63
69
|
|
|
64
70
|
updateDisplay: function(dt){
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
FROM node:lts-alpine
|
|
2
2
|
|
|
3
|
-
COPY ${PROJECT_NAME_FILE_SAFE}
|
|
3
|
+
COPY ${PROJECT_NAME_FILE_SAFE} /${PROJECT_NAME_FILE_SAFE}
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
RUN cd /${PROJECT_NAME_FILE_SAFE} && npm install
|
|
6
|
+
|
|
7
|
+
ENTRYPOINT ["/${PROJECT_NAME_FILE_SAFE}/Node/${PROJECT_NAME_FILE_SAFE}"]
|