@seelen-ui/lib 2.6.10 → 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 +8 -7
  37. package/esm/gen/types/mod.d.ts.map +1 -1
  38. package/esm/gen/types/mod.js +8 -7
  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 +8 -7
  87. package/script/gen/types/mod.d.ts.map +1 -1
  88. package/script/gen/types/mod.js +8 -7
  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
@@ -133,33 +133,8 @@ class IconPackManager {
133
133
  }
134
134
  };
135
135
  }
136
- /**
137
- * Returns the icon path for an app or file. If no icon is available, returns `null`.
138
- *
139
- * The search for icons follows this priority order:
140
- * 1. UMID (App User Model Id)
141
- * 2. Full path
142
- * 3. Filename (this is only used to match executable files like .exe)
143
- * 4. Extension
144
- *
145
- * @param {Object} args - Arguments for retrieving the icon path.
146
- * @param {string} [args.path] - The full path to the app or file.
147
- * @param {string} [args.umid] - The UMID of the app.
148
- * @returns {string | null} - The path to the icon, or `null` if no icon is found.
149
- *
150
- * @example
151
- * // Example 1: Get icon by full path
152
- * const iconPath = instance.getIconPath({
153
- * path: "C:\\Program Files\\Steam\\steam.exe"
154
- * });
155
- *
156
- * // Example 2: Get icon by UMID
157
- * const iconPath = instance.getIconPath({
158
- * umid: "Seelen.SeelenUI_p6yyn03m1894e!App"
159
- * });
160
- */
161
- getIconPath(args) {
162
- const { path, umid, __seen = new Set() } = args;
136
+ getIconEntry(args) {
137
+ const { path, umid, __seen = new Set(), } = args;
163
138
  // If neither path nor UMID is provided, return null
164
139
  if (!path && !umid) {
165
140
  return null;
@@ -169,7 +144,7 @@ class IconPackManager {
169
144
  // to avoid treating directory names without dots as extensions.
170
145
  const lastDot = lowerPath?.lastIndexOf(".");
171
146
  const lastSlash = lowerPath?.lastIndexOf("\\") ?? -1;
172
- const extension = (lastDot !== undefined && lastDot > lastSlash) ? lowerPath.slice(lastDot + 1) : undefined;
147
+ const extension = lastDot !== undefined && lastDot > lastSlash ? lowerPath.slice(lastDot + 1) : undefined;
173
148
  // Add the starting path to __seen so that direct A→B→A cycles are caught in 2 hops.
174
149
  if (lowerPath) {
175
150
  __seen.add(lowerPath);
@@ -205,10 +180,10 @@ class IconPackManager {
205
180
  return null;
206
181
  }
207
182
  __seen.add(entry.redirect);
208
- return this.getIconPath({ path: entry.redirect, __seen });
183
+ return this.getIconEntry({ path: entry.redirect, __seen });
209
184
  }
210
185
  if (entry.icon) {
211
- return entry.icon;
186
+ return entry;
212
187
  }
213
188
  }
214
189
  }
@@ -217,16 +192,20 @@ class IconPackManager {
217
192
  return null;
218
193
  }
219
194
  for (const pack of this.activeIconPacks) {
220
- const icon = pack.entries.find((e) => {
195
+ const entry = pack.entries.find((e) => {
221
196
  return e.type === "shared" && e.extension === extension;
222
197
  });
223
- if (icon) {
224
- return icon.icon;
198
+ if (entry) {
199
+ return entry;
225
200
  }
226
201
  }
227
202
  // If no icon is found in any icon pack, return null
228
203
  return null;
229
204
  }
205
+ getIconPath(args) {
206
+ const entry = this.getIconEntry(args);
207
+ return entry?.icon || null;
208
+ }
230
209
  getIcon({ path, umid }) {
231
210
  const iconPath = this.getIconPath({ path, umid });
232
211
  return iconPath ? resolveAsSrc(iconPath) : null;
@@ -252,18 +231,26 @@ class IconPackManager {
252
231
  return iconPath ? resolveAsSrc(iconPath) : null;
253
232
  }
254
233
  /**
255
- * Will return the specific icon path from the highest priority icon pack.
234
+ * Will return the specific icon entry from the highest priority icon pack.
256
235
  * If no icon pack haves the searched icon, will return null.
257
236
  */
258
- getCustomIconPath(name) {
237
+ getCustomIconEntry(name) {
259
238
  for (const pack of this.activeIconPacks) {
260
239
  const entry = pack.entries.find((e) => e.type === "custom" && e.key === name);
261
240
  if (entry) {
262
- return entry.icon;
241
+ return entry;
263
242
  }
264
243
  }
265
244
  return null;
266
245
  }
246
+ /**
247
+ * Will return the specific icon path from the highest priority icon pack.
248
+ * If no icon pack haves the searched icon, will return null.
249
+ */
250
+ getCustomIconPath(name) {
251
+ const entry = this.getCustomIconEntry(name);
252
+ return entry?.icon || null;
253
+ }
267
254
  /**
268
255
  * Will return the specific icon SRC from the highest priority icon pack.
269
256
  * If no icon pack haves the searched icon, will return null.
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../src/src/state/widget/mod.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,KAAK,EACV,KAAK,IAAI,EACT,KAAK,wBAAwB,EAC7B,KAAK,MAAM,IAAI,OAAO,EAEtB,KAAK,QAAQ,EAIb,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AAOnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEhG,OAAO,EA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AAM,CAAC,EAAE,SAAS,GAAG,IAAI,GACxB,OAAO,CAAC,IAAI,CAAC;IAyBH,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAMtC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAKlC,uCAAuC;IAC1B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAQ5B,IAAI,IAAI,IAAI;CAMpB;AAWD,eAAO,MAAM,sBAAsB,EAAE,QAAyC,CAAC;AAC/E,eAAO,MAAM,mBAAmB,EAAE,QAAuC,CAAC;AAC1E,eAAO,MAAM,iBAAiB,EAAE,QAAoC,CAAC;AACrE,eAAO,MAAM,qBAAqB,EAAE,QAA8C,CAAC;AACnF,eAAO,MAAM,2BAA2B,EAAE,QAA+C,CAAC;AAC1F,eAAO,MAAM,kBAAkB,EAAE,QAAkD,CAAC"}
@@ -342,7 +342,7 @@ const debouncedClose = (0, async_js_1.debounce)(() => {
342
342
  Widget.self.window.close();
343
343
  }, 30_000);
344
344
  exports.SeelenSettingsWidgetId = "@seelen/settings";
345
- exports.SeelenPopupWidgetId = "@seelen/popup";
345
+ exports.SeelenPopupWidgetId = "@seelen/dialog";
346
346
  exports.SeelenWegWidgetId = "@seelen/weg";
347
347
  exports.SeelenToolbarWidgetId = "@seelen/fancy-toolbar";
348
348
  exports.SeelenWindowManagerWidgetId = "@seelen/window-manager";
@@ -1,5 +0,0 @@
1
- export type ImeStatus = {
2
- conversionMode: number;
3
- sentenceMode: number;
4
- };
5
- //# sourceMappingURL=ImeStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImeStatus.d.ts","sourceRoot":"","sources":["../../../src/gen/types/ImeStatus.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG;IAAE,cAAc,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAC;CAAE,CAAC"}
@@ -1,4 +0,0 @@
1
- export type SeelenCommandClosePopupArgs = {
2
- instanceId: string;
3
- };
4
- //# sourceMappingURL=SeelenCommandClosePopupArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeelenCommandClosePopupArgs.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SeelenCommandClosePopupArgs.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,2BAA2B,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;CAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,5 +0,0 @@
1
- import type { SluPopupConfig } from "./SluPopupConfig.js";
2
- export type SeelenCommandCreatePopupArgs = {
3
- config: SluPopupConfig;
4
- };
5
- //# sourceMappingURL=SeelenCommandCreatePopupArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeelenCommandCreatePopupArgs.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SeelenCommandCreatePopupArgs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,4BAA4B,GAAG;IAAE,MAAM,EAAE,cAAc,CAAC;CAAE,CAAC"}
@@ -1,4 +0,0 @@
1
- export type SeelenCommandGetPopupConfigArgs = {
2
- instanceId: string;
3
- };
4
- //# sourceMappingURL=SeelenCommandGetPopupConfigArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeelenCommandGetPopupConfigArgs.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SeelenCommandGetPopupConfigArgs.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,+BAA+B,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;CAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
- export {};
@@ -1,6 +0,0 @@
1
- import type { SluPopupConfig } from "./SluPopupConfig.js";
2
- export type SeelenCommandUpdatePopupArgs = {
3
- instanceId: string;
4
- config: SluPopupConfig;
5
- };
6
- //# sourceMappingURL=SeelenCommandUpdatePopupArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeelenCommandUpdatePopupArgs.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SeelenCommandUpdatePopupArgs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,4BAA4B,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,cAAc,CAAC;CAAE,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { SluPopupContent } from "./SluPopupContent.js";
2
- export type SluPopupConfig = {
3
- width: number;
4
- height: number;
5
- title: Array<SluPopupContent>;
6
- content: Array<SluPopupContent>;
7
- footer: Array<SluPopupContent>;
8
- };
9
- //# sourceMappingURL=SluPopupConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SluPopupConfig.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SluPopupConfig.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAAC,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SluPopupContent.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SluPopupContent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAC9G;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;IACvL;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,CAAC"}
@@ -1,5 +0,0 @@
1
- export type ImeStatus = {
2
- conversionMode: number;
3
- sentenceMode: number;
4
- };
5
- //# sourceMappingURL=ImeStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImeStatus.d.ts","sourceRoot":"","sources":["../../../src/gen/types/ImeStatus.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG;IAAE,cAAc,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAC;CAAE,CAAC"}
@@ -1,4 +0,0 @@
1
- export type SeelenCommandClosePopupArgs = {
2
- instanceId: string;
3
- };
4
- //# sourceMappingURL=SeelenCommandClosePopupArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeelenCommandClosePopupArgs.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SeelenCommandClosePopupArgs.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,2BAA2B,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;CAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import type { SluPopupConfig } from "./SluPopupConfig.js";
2
- export type SeelenCommandCreatePopupArgs = {
3
- config: SluPopupConfig;
4
- };
5
- //# sourceMappingURL=SeelenCommandCreatePopupArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeelenCommandCreatePopupArgs.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SeelenCommandCreatePopupArgs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,4BAA4B,GAAG;IAAE,MAAM,EAAE,cAAc,CAAC;CAAE,CAAC"}
@@ -1,4 +0,0 @@
1
- export type SeelenCommandGetPopupConfigArgs = {
2
- instanceId: string;
3
- };
4
- //# sourceMappingURL=SeelenCommandGetPopupConfigArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeelenCommandGetPopupConfigArgs.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SeelenCommandGetPopupConfigArgs.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,+BAA+B,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;CAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- import type { SluPopupConfig } from "./SluPopupConfig.js";
2
- export type SeelenCommandUpdatePopupArgs = {
3
- instanceId: string;
4
- config: SluPopupConfig;
5
- };
6
- //# sourceMappingURL=SeelenCommandUpdatePopupArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeelenCommandUpdatePopupArgs.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SeelenCommandUpdatePopupArgs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,4BAA4B,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,cAAc,CAAC;CAAE,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { SluPopupContent } from "./SluPopupContent.js";
2
- export type SluPopupConfig = {
3
- width: number;
4
- height: number;
5
- title: Array<SluPopupContent>;
6
- content: Array<SluPopupContent>;
7
- footer: Array<SluPopupContent>;
8
- };
9
- //# sourceMappingURL=SluPopupConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SluPopupConfig.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SluPopupConfig.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAAC,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SluPopupContent.d.ts","sourceRoot":"","sources":["../../../src/gen/types/SluPopupContent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAC9G;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;IACvL;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAAE,CAAC"}
File without changes
File without changes