@seelen-ui/lib 2.6.9 → 2.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 (139) hide show
  1. package/esm/gen/types/ContextMenuItem.d.ts +1 -0
  2. package/esm/gen/types/ContextMenuItem.d.ts.map +1 -1
  3. package/esm/gen/types/Dialog.d.ts +10 -0
  4. package/esm/gen/types/Dialog.d.ts.map +1 -0
  5. package/esm/gen/types/{SluPopupContent.d.ts → DialogContent.d.ts} +11 -10
  6. package/esm/gen/types/DialogContent.d.ts.map +1 -0
  7. package/esm/gen/types/ImeState.d.ts +151 -0
  8. package/esm/gen/types/ImeState.d.ts.map +1 -0
  9. package/esm/gen/types/KeyboardLayout.d.ts +3 -2
  10. package/esm/gen/types/KeyboardLayout.d.ts.map +1 -1
  11. package/esm/gen/types/SeelenCommandArgument.d.ts +13 -13
  12. package/esm/gen/types/SeelenCommandArgument.d.ts.map +1 -1
  13. package/esm/gen/types/SeelenCommandDeleteUserCustomAppIconArgs.d.ts +5 -0
  14. package/esm/gen/types/SeelenCommandDeleteUserCustomAppIconArgs.d.ts.map +1 -0
  15. package/esm/gen/types/SeelenCommandRegisterUserCustomAppIconArgs.d.ts +6 -0
  16. package/esm/gen/types/SeelenCommandRegisterUserCustomAppIconArgs.d.ts.map +1 -0
  17. package/esm/gen/types/SeelenCommandReturn.d.ts +10 -10
  18. package/esm/gen/types/SeelenCommandReturn.d.ts.map +1 -1
  19. package/esm/gen/types/SeelenCommandSetSelfZOrderArgs.d.ts +5 -0
  20. package/esm/gen/types/SeelenCommandSetSelfZOrderArgs.d.ts.map +1 -0
  21. package/esm/gen/types/SeelenCommandSetSelfZOrderArgs.js +1 -0
  22. package/esm/gen/types/SeelenCommandTriggerDialogArgs.d.ts +5 -0
  23. package/esm/gen/types/SeelenCommandTriggerDialogArgs.d.ts.map +1 -0
  24. package/esm/gen/types/SeelenCommandTriggerDialogArgs.js +1 -0
  25. package/esm/gen/types/SeelenEventPayload.d.ts +6 -3
  26. package/esm/gen/types/SeelenEventPayload.d.ts.map +1 -1
  27. package/esm/gen/types/UserAppWindow.d.ts +6 -0
  28. package/esm/gen/types/UserAppWindow.d.ts.map +1 -1
  29. package/esm/gen/types/WallpaperCollection.d.ts +1 -0
  30. package/esm/gen/types/WallpaperCollection.d.ts.map +1 -1
  31. package/esm/gen/types/WidgetDebugInfo.d.ts +1 -0
  32. package/esm/gen/types/WidgetDebugInfo.d.ts.map +1 -1
  33. package/esm/gen/types/ZOrder.d.ts +7 -0
  34. package/esm/gen/types/ZOrder.d.ts.map +1 -0
  35. package/esm/gen/types/ZOrder.js +8 -0
  36. package/esm/gen/types/mod.d.ts +280 -279
  37. package/esm/gen/types/mod.d.ts.map +1 -1
  38. package/esm/gen/types/mod.js +280 -279
  39. package/esm/src/handlers/commands.d.ts +5 -5
  40. package/esm/src/handlers/commands.d.ts.map +1 -1
  41. package/esm/src/handlers/commands.js +5 -5
  42. package/esm/src/handlers/events.d.ts +3 -2
  43. package/esm/src/handlers/events.d.ts.map +1 -1
  44. package/esm/src/handlers/events.js +2 -1
  45. package/esm/src/state/icon_pack.d.ts +7 -26
  46. package/esm/src/state/icon_pack.d.ts.map +1 -1
  47. package/esm/src/state/icon_pack.js +23 -36
  48. package/esm/src/state/widget/mod.d.ts.map +1 -1
  49. package/esm/src/state/widget/mod.js +1 -1
  50. package/package.json +1 -1
  51. package/script/gen/types/ContextMenuItem.d.ts +1 -0
  52. package/script/gen/types/ContextMenuItem.d.ts.map +1 -1
  53. package/script/gen/types/Dialog.d.ts +10 -0
  54. package/script/gen/types/Dialog.d.ts.map +1 -0
  55. package/script/gen/types/{SluPopupContent.d.ts → DialogContent.d.ts} +11 -10
  56. package/script/gen/types/DialogContent.d.ts.map +1 -0
  57. package/script/gen/types/ImeState.d.ts +151 -0
  58. package/script/gen/types/ImeState.d.ts.map +1 -0
  59. package/script/gen/types/KeyboardLayout.d.ts +3 -2
  60. package/script/gen/types/KeyboardLayout.d.ts.map +1 -1
  61. package/script/gen/types/SeelenCommandArgument.d.ts +13 -13
  62. package/script/gen/types/SeelenCommandArgument.d.ts.map +1 -1
  63. package/script/gen/types/SeelenCommandDeleteUserCustomAppIconArgs.d.ts +5 -0
  64. package/script/gen/types/SeelenCommandDeleteUserCustomAppIconArgs.d.ts.map +1 -0
  65. package/script/gen/types/SeelenCommandRegisterUserCustomAppIconArgs.d.ts +6 -0
  66. package/script/gen/types/SeelenCommandRegisterUserCustomAppIconArgs.d.ts.map +1 -0
  67. package/script/gen/types/SeelenCommandReturn.d.ts +10 -10
  68. package/script/gen/types/SeelenCommandReturn.d.ts.map +1 -1
  69. package/script/gen/types/SeelenCommandSetSelfZOrderArgs.d.ts +5 -0
  70. package/script/gen/types/SeelenCommandSetSelfZOrderArgs.d.ts.map +1 -0
  71. package/script/gen/types/SeelenCommandSetSelfZOrderArgs.js +2 -0
  72. package/script/gen/types/SeelenCommandTriggerDialogArgs.d.ts +5 -0
  73. package/script/gen/types/SeelenCommandTriggerDialogArgs.d.ts.map +1 -0
  74. package/script/gen/types/SeelenCommandTriggerDialogArgs.js +2 -0
  75. package/script/gen/types/SeelenEventPayload.d.ts +6 -3
  76. package/script/gen/types/SeelenEventPayload.d.ts.map +1 -1
  77. package/script/gen/types/UserAppWindow.d.ts +6 -0
  78. package/script/gen/types/UserAppWindow.d.ts.map +1 -1
  79. package/script/gen/types/WallpaperCollection.d.ts +1 -0
  80. package/script/gen/types/WallpaperCollection.d.ts.map +1 -1
  81. package/script/gen/types/WidgetDebugInfo.d.ts +1 -0
  82. package/script/gen/types/WidgetDebugInfo.d.ts.map +1 -1
  83. package/script/gen/types/ZOrder.d.ts +7 -0
  84. package/script/gen/types/ZOrder.d.ts.map +1 -0
  85. package/script/gen/types/ZOrder.js +11 -0
  86. package/script/gen/types/mod.d.ts +280 -279
  87. package/script/gen/types/mod.d.ts.map +1 -1
  88. package/script/gen/types/mod.js +280 -279
  89. package/script/src/handlers/commands.d.ts +5 -5
  90. package/script/src/handlers/commands.d.ts.map +1 -1
  91. package/script/src/handlers/commands.js +5 -5
  92. package/script/src/handlers/events.d.ts +3 -2
  93. package/script/src/handlers/events.d.ts.map +1 -1
  94. package/script/src/handlers/events.js +2 -1
  95. package/script/src/state/icon_pack.d.ts +7 -26
  96. package/script/src/state/icon_pack.d.ts.map +1 -1
  97. package/script/src/state/icon_pack.js +23 -36
  98. package/script/src/state/widget/mod.d.ts.map +1 -1
  99. package/script/src/state/widget/mod.js +1 -1
  100. package/esm/gen/types/ImeStatus.d.ts +0 -5
  101. package/esm/gen/types/ImeStatus.d.ts.map +0 -1
  102. package/esm/gen/types/SeelenCommandClosePopupArgs.d.ts +0 -4
  103. package/esm/gen/types/SeelenCommandClosePopupArgs.d.ts.map +0 -1
  104. package/esm/gen/types/SeelenCommandClosePopupArgs.js +0 -2
  105. package/esm/gen/types/SeelenCommandCreatePopupArgs.d.ts +0 -5
  106. package/esm/gen/types/SeelenCommandCreatePopupArgs.d.ts.map +0 -1
  107. package/esm/gen/types/SeelenCommandGetPopupConfigArgs.d.ts +0 -4
  108. package/esm/gen/types/SeelenCommandGetPopupConfigArgs.d.ts.map +0 -1
  109. package/esm/gen/types/SeelenCommandGetPopupConfigArgs.js +0 -2
  110. package/esm/gen/types/SeelenCommandUpdatePopupArgs.d.ts +0 -6
  111. package/esm/gen/types/SeelenCommandUpdatePopupArgs.d.ts.map +0 -1
  112. package/esm/gen/types/SluPopupConfig.d.ts +0 -9
  113. package/esm/gen/types/SluPopupConfig.d.ts.map +0 -1
  114. package/esm/gen/types/SluPopupContent.d.ts.map +0 -1
  115. package/script/gen/types/ImeStatus.d.ts +0 -5
  116. package/script/gen/types/ImeStatus.d.ts.map +0 -1
  117. package/script/gen/types/SeelenCommandClosePopupArgs.d.ts +0 -4
  118. package/script/gen/types/SeelenCommandClosePopupArgs.d.ts.map +0 -1
  119. package/script/gen/types/SeelenCommandClosePopupArgs.js +0 -3
  120. package/script/gen/types/SeelenCommandCreatePopupArgs.d.ts +0 -5
  121. package/script/gen/types/SeelenCommandCreatePopupArgs.d.ts.map +0 -1
  122. package/script/gen/types/SeelenCommandGetPopupConfigArgs.d.ts +0 -4
  123. package/script/gen/types/SeelenCommandGetPopupConfigArgs.d.ts.map +0 -1
  124. package/script/gen/types/SeelenCommandGetPopupConfigArgs.js +0 -3
  125. package/script/gen/types/SeelenCommandUpdatePopupArgs.d.ts +0 -6
  126. package/script/gen/types/SeelenCommandUpdatePopupArgs.d.ts.map +0 -1
  127. package/script/gen/types/SluPopupConfig.d.ts +0 -9
  128. package/script/gen/types/SluPopupConfig.d.ts.map +0 -1
  129. package/script/gen/types/SluPopupContent.d.ts.map +0 -1
  130. /package/esm/gen/types/{SeelenCommandCreatePopupArgs.js → Dialog.js} +0 -0
  131. /package/esm/gen/types/{SeelenCommandUpdatePopupArgs.js → DialogContent.js} +0 -0
  132. /package/esm/gen/types/{ImeStatus.js → ImeState.js} +0 -0
  133. /package/esm/gen/types/{SluPopupConfig.js → SeelenCommandDeleteUserCustomAppIconArgs.js} +0 -0
  134. /package/esm/gen/types/{SluPopupContent.js → SeelenCommandRegisterUserCustomAppIconArgs.js} +0 -0
  135. /package/script/gen/types/{SeelenCommandCreatePopupArgs.js → Dialog.js} +0 -0
  136. /package/script/gen/types/{SeelenCommandUpdatePopupArgs.js → DialogContent.js} +0 -0
  137. /package/script/gen/types/{ImeStatus.js → ImeState.js} +0 -0
  138. /package/script/gen/types/{SluPopupConfig.js → SeelenCommandDeleteUserCustomAppIconArgs.js} +0 -0
  139. /package/script/gen/types/{SluPopupContent.js → SeelenCommandRegisterUserCustomAppIconArgs.js} +0 -0
@@ -30,5 +30,11 @@ export type UserAppWindow = {
30
30
  * rect of the window without shadow, in screen coordinates
31
31
  */
32
32
  rect: Rect | null;
33
+ /**
34
+ * unix timestamp (ms) of the last time this window was brought to the foreground;
35
+ * 0 means it has never been focused since tracking started.
36
+ * clients that want z-order-like sorting should sort descending by this field.
37
+ */
38
+ lastForegroundAt: number;
33
39
  };
34
40
  //# sourceMappingURL=UserAppWindow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserAppWindow.d.ts","sourceRoot":"","sources":["../../../src/gen/types/UserAppWindow.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,OAAO,CAAC;IAC5J;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,kBAAkB,CAAC;IAC5B;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;CAAE,CAAC"}
1
+ {"version":3,"file":"UserAppWindow.d.ts","sourceRoot":"","sources":["../../../src/gen/types/UserAppWindow.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,OAAO,CAAC;IAC5J;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,kBAAkB,CAAC;IAC5B;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAAE,CAAC"}
@@ -3,5 +3,6 @@ export type WallpaperCollection = {
3
3
  id: string;
4
4
  name: string;
5
5
  wallpapers: Array<WallpaperId>;
6
+ hidden: boolean;
6
7
  };
7
8
  //# sourceMappingURL=WallpaperCollection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WallpaperCollection.d.ts","sourceRoot":"","sources":["../../../src/gen/types/WallpaperCollection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;CAAE,CAAC"}
1
+ {"version":3,"file":"WallpaperCollection.d.ts","sourceRoot":"","sources":["../../../src/gen/types/WallpaperCollection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;CAAE,CAAC"}
@@ -5,5 +5,6 @@ export type WidgetDebugInfo = {
5
5
  monitorId: string | null;
6
6
  instanceId: string | null;
7
7
  status: WidgetStatus;
8
+ webviewWindowId: number | null;
8
9
  };
9
10
  //# sourceMappingURL=WidgetDebugInfo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetDebugInfo.d.ts","sourceRoot":"","sources":["../../../src/gen/types/WidgetDebugInfo.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,MAAM,EAAE,YAAY,CAAC;CAAE,CAAC"}
1
+ {"version":3,"file":"WidgetDebugInfo.d.ts","sourceRoot":"","sources":["../../../src/gen/types/WidgetDebugInfo.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,MAAM,EAAE,YAAY,CAAC;IAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare enum ZOrder {
2
+ "TopMost" = "TopMost",
3
+ "NoTopMost" = "NoTopMost",
4
+ "Top" = "Top",
5
+ "Bottom" = "Bottom"
6
+ }
7
+ //# sourceMappingURL=ZOrder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZOrder.d.ts","sourceRoot":"","sources":["../../../src/gen/types/ZOrder.ts"],"names":[],"mappings":"AAEA,oBAAY,MAAM;IAAG,SAAS,YAAY;IAAE,WAAW,cAAc;IAAE,KAAK,QAAQ;IAAE,QAAQ,WAAW;CAAE"}
@@ -0,0 +1,8 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ export var ZOrder;
3
+ (function (ZOrder) {
4
+ ZOrder["TopMost"] = "TopMost";
5
+ ZOrder["NoTopMost"] = "NoTopMost";
6
+ ZOrder["Top"] = "Top";
7
+ ZOrder["Bottom"] = "Bottom";
8
+ })(ZOrder || (ZOrder = {}));