@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.
Files changed (59) hide show
  1. package/Frameworks/DOM.jsframework/Info.json +2 -2
  2. package/Frameworks/DOM.jsframework/io.breakside.JSKit.DOM-bundle.js +2 -2
  3. package/Frameworks/FontKit.jsframework/Info.json +2 -2
  4. package/Frameworks/FontKit.jsframework/io.breakside.JSKit.FontKit-bundle.js +2 -2
  5. package/Frameworks/Foundation.jsframework/Info.json +2 -2
  6. package/Frameworks/Foundation.jsframework/JS/JSUserDefaults.js +28 -7
  7. package/Frameworks/Foundation.jsframework/io.breakside.JSKit.Foundation-bundle.js +2 -2
  8. package/Frameworks/SecurityKit.jsframework/Info.json +2 -2
  9. package/Frameworks/SecurityKit.jsframework/io.breakside.JSKit.SecurityKit-bundle.js +2 -2
  10. package/Info.json +2 -2
  11. package/Node/Docs/DocComponent.js +11 -0
  12. package/Node/io.breakside.jskit-bundle.js +2 -2
  13. package/Root/Frameworks/APIKit/Info.yaml +1 -1
  14. package/Root/Frameworks/APIKitTesting/Info.yaml +1 -1
  15. package/Root/Frameworks/AuthKit/Info.yaml +1 -1
  16. package/Root/Frameworks/CSSOM/Info.yaml +1 -1
  17. package/Root/Frameworks/ChartKit/Info.yaml +1 -1
  18. package/Root/Frameworks/ConferenceKit/Info.yaml +1 -1
  19. package/Root/Frameworks/DBKit/DBMongoStore.js +1 -0
  20. package/Root/Frameworks/DBKit/DBRedisStore.js +136 -117
  21. package/Root/Frameworks/DBKit/Info.yaml +1 -1
  22. package/Root/Frameworks/DOM/Info.yaml +1 -1
  23. package/Root/Frameworks/Dispatch/Info.yaml +1 -1
  24. package/Root/Frameworks/FontKit/Info.yaml +1 -1
  25. package/Root/Frameworks/Foundation/Info.yaml +1 -1
  26. package/Root/Frameworks/Foundation/JSUserDefaults.js +28 -7
  27. package/Root/Frameworks/ImageKit/IKMatrix.js +1 -1
  28. package/Root/Frameworks/ImageKit/Info.yaml +1 -1
  29. package/Root/Frameworks/MediaKit/Info.yaml +1 -1
  30. package/Root/Frameworks/MediaKitUI/Info.yaml +1 -1
  31. package/Root/Frameworks/NotificationKit/Info.yaml +1 -1
  32. package/Root/Frameworks/PDFKit/Info.yaml +1 -1
  33. package/Root/Frameworks/QRKit/Info.yaml +1 -1
  34. package/Root/Frameworks/SearchKit/Info.yaml +1 -1
  35. package/Root/Frameworks/SecurityKit/Info.yaml +1 -1
  36. package/Root/Frameworks/ServerKit/Info.yaml +1 -1
  37. package/Root/Frameworks/ServerKit/SKAMQPJobQueue.js +1 -1
  38. package/Root/Frameworks/ServerKit/SKApplication+Node.js +5 -3
  39. package/Root/Frameworks/ServerKit/SKJobQueue.js +1 -1
  40. package/Root/Frameworks/ServerKit/SKRedisJobQueue.js +7 -3
  41. package/Root/Frameworks/ServerKitTesting/Info.yaml +1 -1
  42. package/Root/Frameworks/TestKit/Info.yaml +1 -1
  43. package/Root/Frameworks/TestKit/TKMock.js +1 -1
  44. package/Root/Frameworks/UIKit/Info.yaml +1 -1
  45. package/Root/Frameworks/UIKit/UIBrowserViewController.js +2 -6
  46. package/Root/Frameworks/UIKit/UIHTMLApplication.js +21 -5
  47. package/Root/Frameworks/UIKit/UINavigationBar.js +7 -1
  48. package/Root/Frameworks/UIKit/UINavigationController.js +228 -112
  49. package/Root/Frameworks/UIKit/UINavigationItem.js +4 -0
  50. package/Root/Frameworks/UIKit/UIPopupButton.js +8 -0
  51. package/Root/Frameworks/UIKit/UISplitViewController.js +185 -77
  52. package/Root/Frameworks/UIKit/UITabViewController.js +4 -10
  53. package/Root/Frameworks/UIKit/UIViewController.js +133 -50
  54. package/Root/Frameworks/UIKit/UIWindow.js +4 -15
  55. package/Root/Frameworks/UIKitTesting/Info.yaml +1 -1
  56. package/Root/Frameworks/UIKitTesting/UIMockApplication.js +6 -0
  57. package/Root/Templates/http/${PROJECT_NAME}/Dockerfile +1 -1
  58. package/Root/Templates/node/${PROJECT_NAME}/Dockerfile +4 -2
  59. 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.viewWillDisappear(false);
219
+ previousViewController.scheduleDisappearance();
225
220
  }
226
221
  if (contentViewController !== null){
227
- contentViewController.viewWillAppear(false);
222
+ contentViewController.scheduleAppearance();
228
223
  }
229
224
  }
230
- this.contentView = contentView;
231
- if (this._isVisible){
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
  },
@@ -1,6 +1,6 @@
1
1
  JSBundleType: framework
2
2
  JSBundleIdentifier: io.breakside.JSKit.UIKitTesting
3
- JSBundleVersion: 2022.3.1
3
+ JSBundleVersion: 2022.7.0
4
4
  JSDevelopmentLanguage: en
5
5
  JSCopyright: Copyright © 2020 Breakside Inc.
6
6
  JSLicenseNotice: |
@@ -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){
@@ -2,7 +2,7 @@ FROM node:lts-alpine
2
2
 
3
3
  COPY ${PROJECT_NAME_FILE_SAFE} /${PROJECT_NAME_FILE_SAFE}
4
4
 
5
- RUN npm install /${PROJECT_NAME_FILE_SAFE}
5
+ RUN cd /${PROJECT_NAME_FILE_SAFE} && npm install
6
6
 
7
7
  EXPOSE 80
8
8
 
@@ -1,5 +1,7 @@
1
1
  FROM node:lts-alpine
2
2
 
3
- COPY ${PROJECT_NAME_FILE_SAFE} /jskitapp
3
+ COPY ${PROJECT_NAME_FILE_SAFE} /${PROJECT_NAME_FILE_SAFE}
4
4
 
5
- CMD /jskitapp/Node/${PROJECT_NAME_FILE_SAFE}
5
+ RUN cd /${PROJECT_NAME_FILE_SAFE} && npm install
6
+
7
+ ENTRYPOINT ["/${PROJECT_NAME_FILE_SAFE}/Node/${PROJECT_NAME_FILE_SAFE}"]
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "node": ">=10.10.0"
10
10
  },
11
11
  "name": "@breakside/jskit",
12
- "version": "2022.3.1",
12
+ "version": "2022.7.0",
13
13
  "license": "SEE LICENSE IN LICENSE.txt",
14
14
  "files": [
15
15
  "*"