@pairdraw/vue 0.16.2 → 0.18.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/dist/canvas/CanvasRoot.vue.js +3 -1
- package/dist/canvas/CanvasRoot.vue.js.map +1 -1
- package/dist/canvas/surface/kit-loader.js +22 -14
- package/dist/canvas/surface/kit-loader.js.map +1 -1
- package/dist/canvas/surface/lifecycle.js +36 -3
- package/dist/canvas/surface/lifecycle.js.map +1 -1
- package/dist/canvas/surface/types.d.ts +11 -0
- package/dist/canvas/surface/types.d.ts.map +1 -1
- package/dist/canvas/surface/use.js +2 -1
- package/dist/canvas/surface/use.js.map +1 -1
- package/dist/canvas/useCanvasInput.d.ts +20 -0
- package/dist/controls/appearance/use.d.ts +1 -1
- package/dist/controls/binding-provider/create.js +18 -0
- package/dist/controls/binding-provider/create.js.map +1 -0
- package/dist/controls/number-variable-binding/index.d.ts +2 -1
- package/dist/controls/number-variable-binding/index.js +2 -1
- package/dist/controls/number-variable-binding/scale.d.ts +19 -0
- package/dist/controls/number-variable-binding/scale.d.ts.map +1 -0
- package/dist/controls/number-variable-binding/scale.js +25 -0
- package/dist/controls/number-variable-binding/scale.js.map +1 -0
- package/dist/controls/selection-layout/use.d.ts.map +1 -1
- package/dist/controls/selection-layout/use.js +1 -1
- package/dist/controls/selection-layout/use.js.map +1 -1
- package/dist/i18n/locales/de/ai.json.js +13 -1
- package/dist/i18n/locales/de/automation.json.js +2 -0
- package/dist/i18n/locales/de/diagnostics.json.js +1 -0
- package/dist/i18n/locales/es/ai.json.js +13 -1
- package/dist/i18n/locales/es/automation.json.js +2 -0
- package/dist/i18n/locales/es/diagnostics.json.js +1 -0
- package/dist/i18n/locales/fr/ai.json.js +13 -1
- package/dist/i18n/locales/fr/automation.json.js +2 -0
- package/dist/i18n/locales/fr/diagnostics.json.js +1 -0
- package/dist/i18n/locales/it/ai.json.js +13 -1
- package/dist/i18n/locales/it/automation.json.js +2 -0
- package/dist/i18n/locales/it/diagnostics.json.js +1 -0
- package/dist/i18n/locales/ja/ai.json.js +13 -1
- package/dist/i18n/locales/ja/automation.json.js +2 -0
- package/dist/i18n/locales/ja/diagnostics.json.js +1 -0
- package/dist/i18n/locales/pl/ai.json.js +13 -1
- package/dist/i18n/locales/pl/automation.json.js +2 -0
- package/dist/i18n/locales/pl/diagnostics.json.js +1 -0
- package/dist/i18n/locales/ru/ai.json.js +13 -1
- package/dist/i18n/locales/ru/automation.json.js +2 -0
- package/dist/i18n/locales/ru/diagnostics.json.js +1 -0
- package/dist/i18n/locales/zh-cn/ai.json.js +13 -1
- package/dist/i18n/locales/zh-cn/automation.json.js +2 -0
- package/dist/i18n/locales/zh-cn/diagnostics.json.js +1 -0
- package/dist/i18n/messages/ai.d.ts +28 -0
- package/dist/i18n/messages/ai.d.ts.map +1 -1
- package/dist/i18n/messages/ai.js +12 -0
- package/dist/i18n/messages/ai.js.map +1 -1
- package/dist/i18n/messages/automation.d.ts +2 -0
- package/dist/i18n/messages/automation.d.ts.map +1 -1
- package/dist/i18n/messages/automation.js +2 -0
- package/dist/i18n/messages/automation.js.map +1 -1
- package/dist/i18n/messages/diagnostics.d.ts +1 -0
- package/dist/i18n/messages/diagnostics.d.ts.map +1 -1
- package/dist/i18n/messages/diagnostics.js +1 -0
- package/dist/i18n/messages/diagnostics.js.map +1 -1
- package/dist/i18n/messages.d.ts +31 -0
- package/dist/i18n/useI18n.d.ts +124 -0
- package/dist/i18n/useI18n.d.ts.map +1 -1
- package/dist/primitives/BindableValue/BindableValueRoot.vue.d.ts.map +1 -1
- package/dist/primitives/BindableValue/BindableValueRoot.vue.js +3 -3
- package/dist/primitives/BindableValue/BindableValueRoot.vue.js.map +1 -1
- package/package.json +4 -4
package/dist/i18n/useI18n.d.ts
CHANGED
|
@@ -181,11 +181,22 @@ declare const useAIMessages: () => Ref<{
|
|
|
181
181
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
182
182
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
183
183
|
readonly chatInterrupted: "This response was interrupted.";
|
|
184
|
+
readonly chatAgentQuiet: import("@nanostores/i18n").TranslationFunction<[{
|
|
185
|
+
agent: string | number;
|
|
186
|
+
} & {
|
|
187
|
+
since: string | number;
|
|
188
|
+
} & object], string>;
|
|
189
|
+
readonly chatAgentWorkingIn: import("@nanostores/i18n").TranslationFunction<[{
|
|
190
|
+
agent: string | number;
|
|
191
|
+
} & {
|
|
192
|
+
document: string | number;
|
|
193
|
+
} & object], string>;
|
|
184
194
|
readonly chatAgentWorkingOn: import("@nanostores/i18n").TranslationFunction<[{
|
|
185
195
|
agent: string | number;
|
|
186
196
|
} & {
|
|
187
197
|
page: string | number;
|
|
188
198
|
} & object], string>;
|
|
199
|
+
readonly chatGoToDocument: "Go to document";
|
|
189
200
|
readonly chatGoToPage: "Go to page";
|
|
190
201
|
readonly chatAgentDetecting: "Looking for coding agents on this computer…";
|
|
191
202
|
readonly chatAgentUsing: import("@nanostores/i18n").TranslationFunction<[{
|
|
@@ -209,6 +220,20 @@ declare const useAIMessages: () => Ref<{
|
|
|
209
220
|
package: string | number;
|
|
210
221
|
} & object], string>;
|
|
211
222
|
readonly chatAgentInstall: "Install and connect";
|
|
223
|
+
readonly chatAcpNotRunning: "MCP server is not running. Make sure the editor is open.";
|
|
224
|
+
readonly chatAcpTimeout: "MCP server did not respond in time.";
|
|
225
|
+
readonly chatAcpNotInstalled: "ACP agent CLI is not installed.";
|
|
226
|
+
readonly chatAcpInstallAndRestart: import("@nanostores/i18n").TranslationFunction<[{
|
|
227
|
+
command: string | number;
|
|
228
|
+
} & object], string>;
|
|
229
|
+
readonly chatAcpInstallWith: import("@nanostores/i18n").TranslationFunction<[{
|
|
230
|
+
command: string | number;
|
|
231
|
+
} & {
|
|
232
|
+
installCommand: string | number;
|
|
233
|
+
} & object], string>;
|
|
234
|
+
readonly chatAcpSignInRequired: import("@nanostores/i18n").TranslationFunction<[{
|
|
235
|
+
agent: string | number;
|
|
236
|
+
} & object], string>;
|
|
212
237
|
readonly chatAgentPromptWaiting: import("@nanostores/i18n").TranslationFunction<[{
|
|
213
238
|
agent: string | number;
|
|
214
239
|
} & object], string>;
|
|
@@ -499,6 +524,9 @@ declare const useAIMessages: () => Ref<{
|
|
|
499
524
|
readonly chatNetworkFailed: "Pairdraw could not reach the provider. Check your connection and endpoint.";
|
|
500
525
|
readonly chatRateLimited: "The provider rate limit was reached. Wait a moment and try again.";
|
|
501
526
|
readonly chatRequestFailed: "The model request failed. Check the provider settings and try again.";
|
|
527
|
+
readonly chatProviderStalled: "The provider stopped responding. Check your connection and try again.";
|
|
528
|
+
readonly chatEmptyReply: "The model returned no reply. Try again.";
|
|
529
|
+
readonly chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.";
|
|
502
530
|
readonly openProviderSettingsAction: "Open settings";
|
|
503
531
|
readonly cloudWorkspace: "Workspace";
|
|
504
532
|
readonly cloudWorkspaceHint: "The workspace whose plan pays for these requests.";
|
|
@@ -881,11 +909,22 @@ declare const useAIMessages: () => Ref<{
|
|
|
881
909
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
882
910
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
883
911
|
readonly chatInterrupted: "This response was interrupted.";
|
|
912
|
+
readonly chatAgentQuiet: import("@nanostores/i18n").TranslationFunction<[{
|
|
913
|
+
agent: string | number;
|
|
914
|
+
} & {
|
|
915
|
+
since: string | number;
|
|
916
|
+
} & object], string>;
|
|
917
|
+
readonly chatAgentWorkingIn: import("@nanostores/i18n").TranslationFunction<[{
|
|
918
|
+
agent: string | number;
|
|
919
|
+
} & {
|
|
920
|
+
document: string | number;
|
|
921
|
+
} & object], string>;
|
|
884
922
|
readonly chatAgentWorkingOn: import("@nanostores/i18n").TranslationFunction<[{
|
|
885
923
|
agent: string | number;
|
|
886
924
|
} & {
|
|
887
925
|
page: string | number;
|
|
888
926
|
} & object], string>;
|
|
927
|
+
readonly chatGoToDocument: "Go to document";
|
|
889
928
|
readonly chatGoToPage: "Go to page";
|
|
890
929
|
readonly chatAgentDetecting: "Looking for coding agents on this computer…";
|
|
891
930
|
readonly chatAgentUsing: import("@nanostores/i18n").TranslationFunction<[{
|
|
@@ -909,6 +948,20 @@ declare const useAIMessages: () => Ref<{
|
|
|
909
948
|
package: string | number;
|
|
910
949
|
} & object], string>;
|
|
911
950
|
readonly chatAgentInstall: "Install and connect";
|
|
951
|
+
readonly chatAcpNotRunning: "MCP server is not running. Make sure the editor is open.";
|
|
952
|
+
readonly chatAcpTimeout: "MCP server did not respond in time.";
|
|
953
|
+
readonly chatAcpNotInstalled: "ACP agent CLI is not installed.";
|
|
954
|
+
readonly chatAcpInstallAndRestart: import("@nanostores/i18n").TranslationFunction<[{
|
|
955
|
+
command: string | number;
|
|
956
|
+
} & object], string>;
|
|
957
|
+
readonly chatAcpInstallWith: import("@nanostores/i18n").TranslationFunction<[{
|
|
958
|
+
command: string | number;
|
|
959
|
+
} & {
|
|
960
|
+
installCommand: string | number;
|
|
961
|
+
} & object], string>;
|
|
962
|
+
readonly chatAcpSignInRequired: import("@nanostores/i18n").TranslationFunction<[{
|
|
963
|
+
agent: string | number;
|
|
964
|
+
} & object], string>;
|
|
912
965
|
readonly chatAgentPromptWaiting: import("@nanostores/i18n").TranslationFunction<[{
|
|
913
966
|
agent: string | number;
|
|
914
967
|
} & object], string>;
|
|
@@ -1199,6 +1252,9 @@ declare const useAIMessages: () => Ref<{
|
|
|
1199
1252
|
readonly chatNetworkFailed: "Pairdraw could not reach the provider. Check your connection and endpoint.";
|
|
1200
1253
|
readonly chatRateLimited: "The provider rate limit was reached. Wait a moment and try again.";
|
|
1201
1254
|
readonly chatRequestFailed: "The model request failed. Check the provider settings and try again.";
|
|
1255
|
+
readonly chatProviderStalled: "The provider stopped responding. Check your connection and try again.";
|
|
1256
|
+
readonly chatEmptyReply: "The model returned no reply. Try again.";
|
|
1257
|
+
readonly chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.";
|
|
1202
1258
|
readonly openProviderSettingsAction: "Open settings";
|
|
1203
1259
|
readonly cloudWorkspace: "Workspace";
|
|
1204
1260
|
readonly cloudWorkspaceHint: "The workspace whose plan pays for these requests.";
|
|
@@ -1539,6 +1595,8 @@ declare const useAutomationMessages: () => Ref<{
|
|
|
1539
1595
|
readonly mcpFailurePermissionHint: "The system denied the command. Reinstall Pairdraw with its shell permissions, or start the server manually.";
|
|
1540
1596
|
readonly mcpFailureExited: "MCP server stopped during startup";
|
|
1541
1597
|
readonly mcpFailureExitedHint: "The process exited before it became ready.";
|
|
1598
|
+
readonly mcpFailureRestartExhausted: "MCP server kept stopping";
|
|
1599
|
+
readonly mcpFailureRestartExhaustedHint: "It was started again several times and did not stay running. Restart it from Settings, or restart the app.";
|
|
1542
1600
|
readonly mcpFailureTimeout: "MCP server did not respond in time";
|
|
1543
1601
|
readonly mcpFailureTimeoutHint: "It did not become ready within the startup timeout.";
|
|
1544
1602
|
readonly mcpFailureRejected: "MCP server rejected the local connection";
|
|
@@ -1709,6 +1767,8 @@ declare const useAutomationMessages: () => Ref<{
|
|
|
1709
1767
|
readonly mcpFailurePermissionHint: "The system denied the command. Reinstall Pairdraw with its shell permissions, or start the server manually.";
|
|
1710
1768
|
readonly mcpFailureExited: "MCP server stopped during startup";
|
|
1711
1769
|
readonly mcpFailureExitedHint: "The process exited before it became ready.";
|
|
1770
|
+
readonly mcpFailureRestartExhausted: "MCP server kept stopping";
|
|
1771
|
+
readonly mcpFailureRestartExhaustedHint: "It was started again several times and did not stay running. Restart it from Settings, or restart the app.";
|
|
1712
1772
|
readonly mcpFailureTimeout: "MCP server did not respond in time";
|
|
1713
1773
|
readonly mcpFailureTimeoutHint: "It did not become ready within the startup timeout.";
|
|
1714
1774
|
readonly mcpFailureRejected: "MCP server rejected the local connection";
|
|
@@ -3089,6 +3149,7 @@ declare const useDiagnosticsMessages: () => Ref<{
|
|
|
3089
3149
|
readonly documentFailed: "Document operation failed";
|
|
3090
3150
|
readonly acpFailed: "ACP transport failed";
|
|
3091
3151
|
readonly mcpFailed: "MCP connection failed";
|
|
3152
|
+
readonly mcpServerExited: "MCP server exited";
|
|
3092
3153
|
readonly modelStep: import("@nanostores/i18n").TranslationFunction<[{
|
|
3093
3154
|
model: string | number;
|
|
3094
3155
|
} & object], string>;
|
|
@@ -3196,6 +3257,7 @@ declare const useDiagnosticsMessages: () => Ref<{
|
|
|
3196
3257
|
readonly documentFailed: "Document operation failed";
|
|
3197
3258
|
readonly acpFailed: "ACP transport failed";
|
|
3198
3259
|
readonly mcpFailed: "MCP connection failed";
|
|
3260
|
+
readonly mcpServerExited: "MCP server exited";
|
|
3199
3261
|
readonly modelStep: import("@nanostores/i18n").TranslationFunction<[{
|
|
3200
3262
|
model: string | number;
|
|
3201
3263
|
} & object], string>;
|
|
@@ -9361,11 +9423,22 @@ declare function useI18n(): {
|
|
|
9361
9423
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
9362
9424
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
9363
9425
|
readonly chatInterrupted: "This response was interrupted.";
|
|
9426
|
+
readonly chatAgentQuiet: import("@nanostores/i18n").TranslationFunction<[{
|
|
9427
|
+
agent: string | number;
|
|
9428
|
+
} & {
|
|
9429
|
+
since: string | number;
|
|
9430
|
+
} & object], string>;
|
|
9431
|
+
readonly chatAgentWorkingIn: import("@nanostores/i18n").TranslationFunction<[{
|
|
9432
|
+
agent: string | number;
|
|
9433
|
+
} & {
|
|
9434
|
+
document: string | number;
|
|
9435
|
+
} & object], string>;
|
|
9364
9436
|
readonly chatAgentWorkingOn: import("@nanostores/i18n").TranslationFunction<[{
|
|
9365
9437
|
agent: string | number;
|
|
9366
9438
|
} & {
|
|
9367
9439
|
page: string | number;
|
|
9368
9440
|
} & object], string>;
|
|
9441
|
+
readonly chatGoToDocument: "Go to document";
|
|
9369
9442
|
readonly chatGoToPage: "Go to page";
|
|
9370
9443
|
readonly chatAgentDetecting: "Looking for coding agents on this computer…";
|
|
9371
9444
|
readonly chatAgentUsing: import("@nanostores/i18n").TranslationFunction<[{
|
|
@@ -9389,6 +9462,20 @@ declare function useI18n(): {
|
|
|
9389
9462
|
package: string | number;
|
|
9390
9463
|
} & object], string>;
|
|
9391
9464
|
readonly chatAgentInstall: "Install and connect";
|
|
9465
|
+
readonly chatAcpNotRunning: "MCP server is not running. Make sure the editor is open.";
|
|
9466
|
+
readonly chatAcpTimeout: "MCP server did not respond in time.";
|
|
9467
|
+
readonly chatAcpNotInstalled: "ACP agent CLI is not installed.";
|
|
9468
|
+
readonly chatAcpInstallAndRestart: import("@nanostores/i18n").TranslationFunction<[{
|
|
9469
|
+
command: string | number;
|
|
9470
|
+
} & object], string>;
|
|
9471
|
+
readonly chatAcpInstallWith: import("@nanostores/i18n").TranslationFunction<[{
|
|
9472
|
+
command: string | number;
|
|
9473
|
+
} & {
|
|
9474
|
+
installCommand: string | number;
|
|
9475
|
+
} & object], string>;
|
|
9476
|
+
readonly chatAcpSignInRequired: import("@nanostores/i18n").TranslationFunction<[{
|
|
9477
|
+
agent: string | number;
|
|
9478
|
+
} & object], string>;
|
|
9392
9479
|
readonly chatAgentPromptWaiting: import("@nanostores/i18n").TranslationFunction<[{
|
|
9393
9480
|
agent: string | number;
|
|
9394
9481
|
} & object], string>;
|
|
@@ -9679,6 +9766,9 @@ declare function useI18n(): {
|
|
|
9679
9766
|
readonly chatNetworkFailed: "Pairdraw could not reach the provider. Check your connection and endpoint.";
|
|
9680
9767
|
readonly chatRateLimited: "The provider rate limit was reached. Wait a moment and try again.";
|
|
9681
9768
|
readonly chatRequestFailed: "The model request failed. Check the provider settings and try again.";
|
|
9769
|
+
readonly chatProviderStalled: "The provider stopped responding. Check your connection and try again.";
|
|
9770
|
+
readonly chatEmptyReply: "The model returned no reply. Try again.";
|
|
9771
|
+
readonly chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.";
|
|
9682
9772
|
readonly openProviderSettingsAction: "Open settings";
|
|
9683
9773
|
readonly cloudWorkspace: "Workspace";
|
|
9684
9774
|
readonly cloudWorkspaceHint: "The workspace whose plan pays for these requests.";
|
|
@@ -10061,11 +10151,22 @@ declare function useI18n(): {
|
|
|
10061
10151
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
10062
10152
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
10063
10153
|
readonly chatInterrupted: "This response was interrupted.";
|
|
10154
|
+
readonly chatAgentQuiet: import("@nanostores/i18n").TranslationFunction<[{
|
|
10155
|
+
agent: string | number;
|
|
10156
|
+
} & {
|
|
10157
|
+
since: string | number;
|
|
10158
|
+
} & object], string>;
|
|
10159
|
+
readonly chatAgentWorkingIn: import("@nanostores/i18n").TranslationFunction<[{
|
|
10160
|
+
agent: string | number;
|
|
10161
|
+
} & {
|
|
10162
|
+
document: string | number;
|
|
10163
|
+
} & object], string>;
|
|
10064
10164
|
readonly chatAgentWorkingOn: import("@nanostores/i18n").TranslationFunction<[{
|
|
10065
10165
|
agent: string | number;
|
|
10066
10166
|
} & {
|
|
10067
10167
|
page: string | number;
|
|
10068
10168
|
} & object], string>;
|
|
10169
|
+
readonly chatGoToDocument: "Go to document";
|
|
10069
10170
|
readonly chatGoToPage: "Go to page";
|
|
10070
10171
|
readonly chatAgentDetecting: "Looking for coding agents on this computer…";
|
|
10071
10172
|
readonly chatAgentUsing: import("@nanostores/i18n").TranslationFunction<[{
|
|
@@ -10089,6 +10190,20 @@ declare function useI18n(): {
|
|
|
10089
10190
|
package: string | number;
|
|
10090
10191
|
} & object], string>;
|
|
10091
10192
|
readonly chatAgentInstall: "Install and connect";
|
|
10193
|
+
readonly chatAcpNotRunning: "MCP server is not running. Make sure the editor is open.";
|
|
10194
|
+
readonly chatAcpTimeout: "MCP server did not respond in time.";
|
|
10195
|
+
readonly chatAcpNotInstalled: "ACP agent CLI is not installed.";
|
|
10196
|
+
readonly chatAcpInstallAndRestart: import("@nanostores/i18n").TranslationFunction<[{
|
|
10197
|
+
command: string | number;
|
|
10198
|
+
} & object], string>;
|
|
10199
|
+
readonly chatAcpInstallWith: import("@nanostores/i18n").TranslationFunction<[{
|
|
10200
|
+
command: string | number;
|
|
10201
|
+
} & {
|
|
10202
|
+
installCommand: string | number;
|
|
10203
|
+
} & object], string>;
|
|
10204
|
+
readonly chatAcpSignInRequired: import("@nanostores/i18n").TranslationFunction<[{
|
|
10205
|
+
agent: string | number;
|
|
10206
|
+
} & object], string>;
|
|
10092
10207
|
readonly chatAgentPromptWaiting: import("@nanostores/i18n").TranslationFunction<[{
|
|
10093
10208
|
agent: string | number;
|
|
10094
10209
|
} & object], string>;
|
|
@@ -10379,6 +10494,9 @@ declare function useI18n(): {
|
|
|
10379
10494
|
readonly chatNetworkFailed: "Pairdraw could not reach the provider. Check your connection and endpoint.";
|
|
10380
10495
|
readonly chatRateLimited: "The provider rate limit was reached. Wait a moment and try again.";
|
|
10381
10496
|
readonly chatRequestFailed: "The model request failed. Check the provider settings and try again.";
|
|
10497
|
+
readonly chatProviderStalled: "The provider stopped responding. Check your connection and try again.";
|
|
10498
|
+
readonly chatEmptyReply: "The model returned no reply. Try again.";
|
|
10499
|
+
readonly chatAgentStartTimeout: "The coding agent did not start in time. Check that it runs on this computer and try again.";
|
|
10382
10500
|
readonly openProviderSettingsAction: "Open settings";
|
|
10383
10501
|
readonly cloudWorkspace: "Workspace";
|
|
10384
10502
|
readonly cloudWorkspaceHint: "The workspace whose plan pays for these requests.";
|
|
@@ -10719,6 +10837,8 @@ declare function useI18n(): {
|
|
|
10719
10837
|
readonly mcpFailurePermissionHint: "The system denied the command. Reinstall Pairdraw with its shell permissions, or start the server manually.";
|
|
10720
10838
|
readonly mcpFailureExited: "MCP server stopped during startup";
|
|
10721
10839
|
readonly mcpFailureExitedHint: "The process exited before it became ready.";
|
|
10840
|
+
readonly mcpFailureRestartExhausted: "MCP server kept stopping";
|
|
10841
|
+
readonly mcpFailureRestartExhaustedHint: "It was started again several times and did not stay running. Restart it from Settings, or restart the app.";
|
|
10722
10842
|
readonly mcpFailureTimeout: "MCP server did not respond in time";
|
|
10723
10843
|
readonly mcpFailureTimeoutHint: "It did not become ready within the startup timeout.";
|
|
10724
10844
|
readonly mcpFailureRejected: "MCP server rejected the local connection";
|
|
@@ -10889,6 +11009,8 @@ declare function useI18n(): {
|
|
|
10889
11009
|
readonly mcpFailurePermissionHint: "The system denied the command. Reinstall Pairdraw with its shell permissions, or start the server manually.";
|
|
10890
11010
|
readonly mcpFailureExited: "MCP server stopped during startup";
|
|
10891
11011
|
readonly mcpFailureExitedHint: "The process exited before it became ready.";
|
|
11012
|
+
readonly mcpFailureRestartExhausted: "MCP server kept stopping";
|
|
11013
|
+
readonly mcpFailureRestartExhaustedHint: "It was started again several times and did not stay running. Restart it from Settings, or restart the app.";
|
|
10892
11014
|
readonly mcpFailureTimeout: "MCP server did not respond in time";
|
|
10893
11015
|
readonly mcpFailureTimeoutHint: "It did not become ready within the startup timeout.";
|
|
10894
11016
|
readonly mcpFailureRejected: "MCP server rejected the local connection";
|
|
@@ -11675,6 +11797,7 @@ declare function useI18n(): {
|
|
|
11675
11797
|
readonly documentFailed: "Document operation failed";
|
|
11676
11798
|
readonly acpFailed: "ACP transport failed";
|
|
11677
11799
|
readonly mcpFailed: "MCP connection failed";
|
|
11800
|
+
readonly mcpServerExited: "MCP server exited";
|
|
11678
11801
|
readonly modelStep: import("@nanostores/i18n").TranslationFunction<[{
|
|
11679
11802
|
model: string | number;
|
|
11680
11803
|
} & object], string>;
|
|
@@ -11782,6 +11905,7 @@ declare function useI18n(): {
|
|
|
11782
11905
|
readonly documentFailed: "Document operation failed";
|
|
11783
11906
|
readonly acpFailed: "ACP transport failed";
|
|
11784
11907
|
readonly mcpFailed: "MCP connection failed";
|
|
11908
|
+
readonly mcpServerExited: "MCP server exited";
|
|
11785
11909
|
readonly modelStep: import("@nanostores/i18n").TranslationFunction<[{
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BgB,QAAA,IAAI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BindableValueRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/BindableValue/BindableValueRoot.vue"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"BindableValueRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/BindableValue/BindableValueRoot.vue"],"mappings":";;cAySM,eAAiB,GACtB,aAAa,YAAY,eAAe,wBACxC,YAAY,oBAAoB,KAAK,YAAY,eAAe,6CAChE,gBAAgB,YAAY,eAAe,yBAC3C,cAAA;EA8QO,qBAAc,cAAc,oBAAmB,uBAAA,cAA8B;IAAqB,4BAA4B;MAAM;EACnI,SAAC;EACF;;EAED;qBAGmB;EAAU,QAAQ,YAAY,eAAe;;cAClD,iBAAO;KACvB,oBAAoB,MAAM,mBAAmB,WAAW,IAAI,EAAE,WAAW,WAAW,KAAK,IAAI,EAAE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useRetainedActivity } from "../../lifecycle/retention/context.js";
|
|
2
2
|
import { useBindingProvider } from "../../controls/binding-provider/context.js";
|
|
3
|
+
import { createBindingForTargets } from "../../controls/binding-provider/create.js";
|
|
3
4
|
import { prepareBindingEdits } from "../../controls/binding-provider/prepare-edits.js";
|
|
4
5
|
import { provideBindableValue } from "./context.js";
|
|
5
6
|
import { computed, defineComponent, guardReactiveProps, normalizeProps, onBeforeUnmount, onDeactivated, ref, renderSlot } from "vue";
|
|
@@ -76,9 +77,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
76
77
|
});
|
|
77
78
|
}
|
|
78
79
|
function create(name) {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
runImmediate("Create and bind variable", () => provider.create?.(target, value.value, name));
|
|
80
|
+
if (!targets.value[0] || !provider.create) return;
|
|
81
|
+
runImmediate("Create and bind variable", () => createBindingForTargets(provider, targets.value, value.value, name));
|
|
82
82
|
open.value = false;
|
|
83
83
|
}
|
|
84
84
|
function openPicker() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BindableValueRoot.vue.js","names":[],"sources":["../../../src/primitives/BindableValue/BindableValueRoot.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"V\">\nimport { watchImmediate } from '@vueuse/core'\nimport { computed, onBeforeUnmount, onDeactivated, ref } from 'vue'\n\nimport { useBindingProvider } from '#vue/controls/binding-provider/context'\nimport { prepareBindingEdits } from '#vue/controls/binding-provider/prepare-edits'\nimport type {\n BindingValueEdit,\n BindingMutationSource,\n BindingProvider,\n BindingTarget\n} from '#vue/controls/binding-provider/types'\nimport { useRetainedActivity } from '#vue/lifecycle/retention/context'\nimport { provideBindableValue } from '#vue/primitives/BindableValue/context'\nimport type {\n BindableValueActions,\n BindableValueContext,\n BindableValueRootProps,\n BindableValueRootSlots,\n BindableValueSlotProps,\n BindableValueStateAttrs\n} from '#vue/primitives/BindableValue/types'\n\nconst {\n provider: providerProp,\n targets: targetsProp,\n value: valueProp,\n policy: policyProp = 'detach-on-edit',\n batchLabel = 'Edit bound value'\n} = defineProps<BindableValueRootProps<V>>()\n\ndefineSlots<BindableValueRootSlots<V>>()\n\nconst retainedActivity = useRetainedActivity()\nconst injectedProvider = useBindingProvider<V>()\nconst resolvedProvider = providerProp ?? injectedProvider\nif (!resolvedProvider) {\n throw new Error(\n '[pairdraw] BindableValueRoot requires a provider prop or provideBindingProvider()'\n )\n}\nconst provider: BindingProvider<V> = resolvedProvider\nconst beginProviderBatch = provider.beginBatch\nconst commitProviderBatch = provider.commitBatch\nconst rollbackProviderBatch = provider.rollbackBatch\nconst supportsInteractionBatch =\n beginProviderBatch !== undefined &&\n commitProviderBatch !== undefined &&\n rollbackProviderBatch !== undefined\n\nconst targets = computed(() => targetsProp)\nconst value = computed(() => valueProp)\nconst policy = computed(() => policyProp)\nconst open = ref(false)\nconst searchTerm = ref('')\nconst state = computed(() => {\n void provider.revision?.value\n return provider.getState(targets.value)\n})\nconst variable = computed(() => {\n const target = targets.value[0]\n return state.value !== 'mixed' && target ? provider.getBound(target) : undefined\n})\nconst resolvedValue = computed(() => {\n void provider.revision?.value\n if (state.value === 'unresolved') return undefined\n const current = variable.value\n return current ? provider.resolve(current.id, targets.value[0]) : undefined\n})\nconst variables = computed(() => {\n void provider.revision?.value\n return provider.filterVariables(searchTerm.value)\n})\nconst stateAttrs = computed<BindableValueStateAttrs>(() => ({\n 'data-unresolved': state.value === 'unresolved' ? '' : undefined,\n 'data-unbound': state.value === 'unbound' ? '' : undefined,\n 'data-bound': state.value === 'bound' ? '' : undefined,\n 'data-mixed': state.value === 'mixed' ? '' : undefined,\n 'data-picker-open': open.value ? '' : undefined,\n 'data-policy': policy.value\n}))\n\nlet interactionActive = false\nlet detachedForInteraction = false\nlet bindingSnapshot = new Map<BindingTarget, string>()\nlet valueEdits: BindingValueEdit<V>[] = []\nlet interactionPolicy = policy.value\n\nfunction runImmediate(label: string, action: () => void) {\n if (provider.runBatch) provider.runBatch(label, action)\n else action()\n}\n\nfunction bind(variableId: string) {\n runImmediate('Bind variable', () => {\n for (const target of targets.value) provider.bind(target, variableId)\n })\n open.value = false\n}\n\nfunction unbind() {\n runImmediate('Unbind variable', () => {\n for (const target of targets.value) provider.unbind(target)\n })\n}\n\nfunction create(name: string) {\n const target = targets.value[0]\n if (!target || !provider.create) return\n runImmediate('Create and bind variable', () => provider.create?.(target, value.value, name))\n open.value = false\n}\n\nfunction openPicker() {\n open.value = true\n}\n\nfunction closePicker() {\n open.value = false\n}\n\nfunction togglePicker() {\n open.value = !open.value\n}\n\nfunction setSearchTerm(term: string) {\n searchTerm.value = term\n}\n\nfunction snapshotBindings() {\n bindingSnapshot = new Map()\n for (const target of targets.value) {\n const id = provider.getBindingId(target)\n if (id) bindingSnapshot.set({ ...target }, id)\n }\n}\n\nfunction beginMutation(source: BindingMutationSource): boolean {\n if (retainedActivity?.value === false) return false\n if (interactionActive) return true\n if (state.value === 'unresolved') return false\n const startedUnbound = state.value === 'unbound'\n const startedMixed = state.value === 'mixed'\n const startedBound = !startedUnbound && !startedMixed\n if (startedBound) {\n if (policy.value === 'readonly-when-bound') return false\n if (policy.value === 'edit-variable' && !provider.prepareEdit) return false\n }\n\n interactionPolicy = policy.value\n valueEdits = []\n if (interactionPolicy === 'edit-variable' && !startedUnbound) {\n const edits = prepareBindingEdits(provider, targets.value)\n if (!edits) return false\n valueEdits = edits\n }\n interactionActive = true\n void source\n if (!startedUnbound) snapshotBindings()\n if (supportsInteractionBatch) beginProviderBatch(batchLabel)\n\n if (\n interactionPolicy !== 'edit-variable' &&\n (startedMixed || (!startedUnbound && interactionPolicy === 'detach-on-edit'))\n ) {\n detachedForInteraction = true\n for (const target of targets.value) provider.unbind(target)\n }\n return true\n}\n\nfunction applyValue(nextValue: V): boolean {\n if (interactionPolicy !== 'edit-variable' || !interactionActive || !valueEdits.length)\n return false\n for (const edit of valueEdits) edit.set(nextValue)\n return true\n}\n\nfunction resetInteraction() {\n interactionActive = false\n detachedForInteraction = false\n bindingSnapshot.clear()\n valueEdits = []\n}\n\nfunction commitMutation() {\n if (!interactionActive) return\n if (supportsInteractionBatch) commitProviderBatch()\n resetInteraction()\n}\n\nfunction restoreWithoutRollback() {\n if (detachedForInteraction) {\n for (const [target, variableId] of bindingSnapshot) provider.bind(target, variableId)\n } else if (interactionPolicy === 'edit-variable') {\n for (const edit of valueEdits) edit.restore()\n }\n}\n\nfunction cancelMutation() {\n if (!interactionActive) return\n if (supportsInteractionBatch) rollbackProviderBatch()\n else restoreWithoutRollback()\n resetInteraction()\n}\n\nconst actions: BindableValueActions<V> = {\n bind,\n unbind,\n create,\n openPicker,\n closePicker,\n togglePicker,\n setSearchTerm,\n beginMutation,\n applyValue,\n commitMutation,\n cancelMutation\n}\n\nconst slotProps = computed<BindableValueSlotProps<V>>(() => ({\n state: state.value,\n bindingId: targets.value[0] ? provider.getBindingId(targets.value[0]) : undefined,\n variable: variable.value,\n resolvedValue: resolvedValue.value,\n policy: policy.value,\n open: open.value,\n searchTerm: searchTerm.value,\n variables: variables.value,\n stateAttrs: stateAttrs.value,\n actions\n}))\n\nconst context: BindableValueContext<V> = {\n provider,\n targets,\n value,\n state,\n variable,\n resolvedValue,\n policy,\n open,\n searchTerm,\n variables,\n stateAttrs,\n slotProps,\n actions\n}\n\nprovideBindableValue(context)\nfunction deactivate() {\n cancelMutation()\n closePicker()\n}\n\nwatchImmediate(\n () => retainedActivity?.value ?? true,\n (active) => {\n if (!active) deactivate()\n },\n { flush: 'sync' }\n)\nonBeforeUnmount(cancelMutation)\nonDeactivated(deactivate)\n</script>\n\n<template>\n <slot v-bind=\"slotProps\" />\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;EAiCA,MAAM,mBAAmB,oBAAoB;EAC7C,MAAM,mBAAmB,mBAAsB;EAC/C,MAAM,mBAAmB,QAAA,YAAgB;EACzC,IAAI,CAAC,kBACH,MAAM,IAAI,MACR,mFACF;EAEF,MAAM,WAA+B;EACrC,MAAM,qBAAqB,SAAS;EACpC,MAAM,sBAAsB,SAAS;EACrC,MAAM,wBAAwB,SAAS;EACvC,MAAM,2BACJ,uBAAuB,KAAA,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C7B,QAAQ,OAAO;GACf,MAAM,KAAK;GACX,YAAY,WAAW;GACvB,WAAW,UAAU;GACrB,YAAY,WAAW;GACvB;EACF,EAAE;EAkBF,qBAAqB;GAfnB;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EAGmB,CAAO;EAC5B,SAAS,aAAa;GACpB,eAAe;GACf,YAAY;EACd;EAEA,qBACQ,kBAAkB,SAAS,OAChC,WAAW;GACV,IAAI,CAAC,QAAQ,WAAW;EAC1B,GACA,EAAE,OAAO,OAAO,CAClB;EACA,gBAAgB,cAAc;EAC9B,cAAc,UAAU;;GAItB,OAAA,WAA2B,KAAA,QAAA,WAAA,eAAA,mBAAb,UAAA,KAAS,CAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"BindableValueRoot.vue.js","names":[],"sources":["../../../src/primitives/BindableValue/BindableValueRoot.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"V\">\nimport { watchImmediate } from '@vueuse/core'\nimport { computed, onBeforeUnmount, onDeactivated, ref } from 'vue'\n\nimport { useBindingProvider } from '#vue/controls/binding-provider/context'\nimport { createBindingForTargets } from '#vue/controls/binding-provider/create'\nimport { prepareBindingEdits } from '#vue/controls/binding-provider/prepare-edits'\nimport type {\n BindingValueEdit,\n BindingMutationSource,\n BindingProvider,\n BindingTarget\n} from '#vue/controls/binding-provider/types'\nimport { useRetainedActivity } from '#vue/lifecycle/retention/context'\nimport { provideBindableValue } from '#vue/primitives/BindableValue/context'\nimport type {\n BindableValueActions,\n BindableValueContext,\n BindableValueRootProps,\n BindableValueRootSlots,\n BindableValueSlotProps,\n BindableValueStateAttrs\n} from '#vue/primitives/BindableValue/types'\n\nconst {\n provider: providerProp,\n targets: targetsProp,\n value: valueProp,\n policy: policyProp = 'detach-on-edit',\n batchLabel = 'Edit bound value'\n} = defineProps<BindableValueRootProps<V>>()\n\ndefineSlots<BindableValueRootSlots<V>>()\n\nconst retainedActivity = useRetainedActivity()\nconst injectedProvider = useBindingProvider<V>()\nconst resolvedProvider = providerProp ?? injectedProvider\nif (!resolvedProvider) {\n throw new Error(\n '[pairdraw] BindableValueRoot requires a provider prop or provideBindingProvider()'\n )\n}\nconst provider: BindingProvider<V> = resolvedProvider\nconst beginProviderBatch = provider.beginBatch\nconst commitProviderBatch = provider.commitBatch\nconst rollbackProviderBatch = provider.rollbackBatch\nconst supportsInteractionBatch =\n beginProviderBatch !== undefined &&\n commitProviderBatch !== undefined &&\n rollbackProviderBatch !== undefined\n\nconst targets = computed(() => targetsProp)\nconst value = computed(() => valueProp)\nconst policy = computed(() => policyProp)\nconst open = ref(false)\nconst searchTerm = ref('')\nconst state = computed(() => {\n void provider.revision?.value\n return provider.getState(targets.value)\n})\nconst variable = computed(() => {\n const target = targets.value[0]\n return state.value !== 'mixed' && target ? provider.getBound(target) : undefined\n})\nconst resolvedValue = computed(() => {\n void provider.revision?.value\n if (state.value === 'unresolved') return undefined\n const current = variable.value\n return current ? provider.resolve(current.id, targets.value[0]) : undefined\n})\nconst variables = computed(() => {\n void provider.revision?.value\n return provider.filterVariables(searchTerm.value)\n})\nconst stateAttrs = computed<BindableValueStateAttrs>(() => ({\n 'data-unresolved': state.value === 'unresolved' ? '' : undefined,\n 'data-unbound': state.value === 'unbound' ? '' : undefined,\n 'data-bound': state.value === 'bound' ? '' : undefined,\n 'data-mixed': state.value === 'mixed' ? '' : undefined,\n 'data-picker-open': open.value ? '' : undefined,\n 'data-policy': policy.value\n}))\n\nlet interactionActive = false\nlet detachedForInteraction = false\nlet bindingSnapshot = new Map<BindingTarget, string>()\nlet valueEdits: BindingValueEdit<V>[] = []\nlet interactionPolicy = policy.value\n\nfunction runImmediate(label: string, action: () => void) {\n if (provider.runBatch) provider.runBatch(label, action)\n else action()\n}\n\nfunction bind(variableId: string) {\n runImmediate('Bind variable', () => {\n for (const target of targets.value) provider.bind(target, variableId)\n })\n open.value = false\n}\n\nfunction unbind() {\n runImmediate('Unbind variable', () => {\n for (const target of targets.value) provider.unbind(target)\n })\n}\n\nfunction create(name: string) {\n if (!targets.value[0] || !provider.create) return\n runImmediate('Create and bind variable', () =>\n createBindingForTargets(provider, targets.value, value.value, name)\n )\n open.value = false\n}\n\nfunction openPicker() {\n open.value = true\n}\n\nfunction closePicker() {\n open.value = false\n}\n\nfunction togglePicker() {\n open.value = !open.value\n}\n\nfunction setSearchTerm(term: string) {\n searchTerm.value = term\n}\n\nfunction snapshotBindings() {\n bindingSnapshot = new Map()\n for (const target of targets.value) {\n const id = provider.getBindingId(target)\n if (id) bindingSnapshot.set({ ...target }, id)\n }\n}\n\nfunction beginMutation(source: BindingMutationSource): boolean {\n if (retainedActivity?.value === false) return false\n if (interactionActive) return true\n if (state.value === 'unresolved') return false\n const startedUnbound = state.value === 'unbound'\n const startedMixed = state.value === 'mixed'\n const startedBound = !startedUnbound && !startedMixed\n if (startedBound) {\n if (policy.value === 'readonly-when-bound') return false\n if (policy.value === 'edit-variable' && !provider.prepareEdit) return false\n }\n\n interactionPolicy = policy.value\n valueEdits = []\n if (interactionPolicy === 'edit-variable' && !startedUnbound) {\n const edits = prepareBindingEdits(provider, targets.value)\n if (!edits) return false\n valueEdits = edits\n }\n interactionActive = true\n void source\n if (!startedUnbound) snapshotBindings()\n if (supportsInteractionBatch) beginProviderBatch(batchLabel)\n\n if (\n interactionPolicy !== 'edit-variable' &&\n (startedMixed || (!startedUnbound && interactionPolicy === 'detach-on-edit'))\n ) {\n detachedForInteraction = true\n for (const target of targets.value) provider.unbind(target)\n }\n return true\n}\n\nfunction applyValue(nextValue: V): boolean {\n if (interactionPolicy !== 'edit-variable' || !interactionActive || !valueEdits.length)\n return false\n for (const edit of valueEdits) edit.set(nextValue)\n return true\n}\n\nfunction resetInteraction() {\n interactionActive = false\n detachedForInteraction = false\n bindingSnapshot.clear()\n valueEdits = []\n}\n\nfunction commitMutation() {\n if (!interactionActive) return\n if (supportsInteractionBatch) commitProviderBatch()\n resetInteraction()\n}\n\nfunction restoreWithoutRollback() {\n if (detachedForInteraction) {\n for (const [target, variableId] of bindingSnapshot) provider.bind(target, variableId)\n } else if (interactionPolicy === 'edit-variable') {\n for (const edit of valueEdits) edit.restore()\n }\n}\n\nfunction cancelMutation() {\n if (!interactionActive) return\n if (supportsInteractionBatch) rollbackProviderBatch()\n else restoreWithoutRollback()\n resetInteraction()\n}\n\nconst actions: BindableValueActions<V> = {\n bind,\n unbind,\n create,\n openPicker,\n closePicker,\n togglePicker,\n setSearchTerm,\n beginMutation,\n applyValue,\n commitMutation,\n cancelMutation\n}\n\nconst slotProps = computed<BindableValueSlotProps<V>>(() => ({\n state: state.value,\n bindingId: targets.value[0] ? provider.getBindingId(targets.value[0]) : undefined,\n variable: variable.value,\n resolvedValue: resolvedValue.value,\n policy: policy.value,\n open: open.value,\n searchTerm: searchTerm.value,\n variables: variables.value,\n stateAttrs: stateAttrs.value,\n actions\n}))\n\nconst context: BindableValueContext<V> = {\n provider,\n targets,\n value,\n state,\n variable,\n resolvedValue,\n policy,\n open,\n searchTerm,\n variables,\n stateAttrs,\n slotProps,\n actions\n}\n\nprovideBindableValue(context)\nfunction deactivate() {\n cancelMutation()\n closePicker()\n}\n\nwatchImmediate(\n () => retainedActivity?.value ?? true,\n (active) => {\n if (!active) deactivate()\n },\n { flush: 'sync' }\n)\nonBeforeUnmount(cancelMutation)\nonDeactivated(deactivate)\n</script>\n\n<template>\n <slot v-bind=\"slotProps\" />\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;EAkCA,MAAM,mBAAmB,oBAAoB;EAC7C,MAAM,mBAAmB,mBAAsB;EAC/C,MAAM,mBAAmB,QAAA,YAAgB;EACzC,IAAI,CAAC,kBACH,MAAM,IAAI,MACR,mFACF;EAEF,MAAM,WAA+B;EACrC,MAAM,qBAAqB,SAAS;EACpC,MAAM,sBAAsB,SAAS;EACrC,MAAM,wBAAwB,SAAS;EACvC,MAAM,2BACJ,uBAAuB,KAAA,KACvB,wBAAwB,KAAA,KACxB,0BAA0B,KAAA;EAE5B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W,UAAU;GACrB,YAAY,WAAW;GACvB;EACF,EAAE;EAkBF,qBAAqB;GAfnB;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EAGmB,CAAO;EAC5B,SAAS,aAAa;GACpB,eAAe;GACf,YAAY;EACd;EAEA,qBACQ,kBAAkB,SAAS,OAChC,WAAW;GACV,IAAI,CAAC,QAAQ,WAAW;EAC1B,GACA,EAAE,OAAO,OAAO,CAClB;EACA,gBAAgB,cAAc;EAC9B,cAAc,UAAU;;GAItB,OAAA,WAA2B,KAAA,QAAA,WAAA,eAAA,mBAAb,UAAA,KAAS,CAAA,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairdraw/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.2.0",
|
|
14
14
|
"@nanostores/i18n": "^1.3.3",
|
|
15
15
|
"@nanostores/vue": "^1.1.0",
|
|
16
|
-
"@pairdraw/dom-css": "^0.
|
|
17
|
-
"@pairdraw/scene-graph": "^0.
|
|
16
|
+
"@pairdraw/dom-css": "^0.18.0",
|
|
17
|
+
"@pairdraw/scene-graph": "^0.18.0",
|
|
18
18
|
"@vueuse/core": "^14.4.0",
|
|
19
19
|
"es-toolkit": "^1.52.0",
|
|
20
20
|
"fuse.js": "^7.5.0",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"valibot": "^1.5.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@pairdraw/core": "^0.
|
|
27
|
+
"@pairdraw/core": "^0.18.0",
|
|
28
28
|
"canvaskit-wasm": ">=0.41.1",
|
|
29
29
|
"vue": "^3.5.41"
|
|
30
30
|
},
|