@pairdraw/vue 0.19.1 → 0.19.2
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/islands/state.js +5 -0
- package/dist/canvas/islands/state.js.map +1 -1
- package/dist/canvas/useCanvasInput.d.ts +10 -10
- package/dist/controls/node-props/use.d.ts +3 -3
- package/dist/controls/position/use.d.ts +1 -1
- package/dist/i18n/locales/de/ai.json.js +2 -1
- package/dist/i18n/locales/de/credentials.json.js +2 -0
- package/dist/i18n/locales/de/panels.json.js +1 -0
- package/dist/i18n/locales/es/ai.json.js +2 -1
- package/dist/i18n/locales/es/credentials.json.js +2 -0
- package/dist/i18n/locales/es/panels.json.js +1 -0
- package/dist/i18n/locales/fr/ai.json.js +2 -1
- package/dist/i18n/locales/fr/credentials.json.js +2 -0
- package/dist/i18n/locales/fr/panels.json.js +1 -0
- package/dist/i18n/locales/it/ai.json.js +2 -1
- package/dist/i18n/locales/it/credentials.json.js +2 -0
- package/dist/i18n/locales/it/panels.json.js +1 -0
- package/dist/i18n/locales/ja/ai.json.js +2 -1
- package/dist/i18n/locales/ja/credentials.json.js +2 -0
- package/dist/i18n/locales/ja/panels.json.js +1 -0
- package/dist/i18n/locales/pl/ai.json.js +2 -1
- package/dist/i18n/locales/pl/credentials.json.js +2 -0
- package/dist/i18n/locales/pl/panels.json.js +1 -0
- package/dist/i18n/locales/ru/ai.json.js +2 -1
- package/dist/i18n/locales/ru/credentials.json.js +2 -0
- package/dist/i18n/locales/ru/panels.json.js +1 -0
- package/dist/i18n/locales/zh-cn/ai.json.js +2 -1
- package/dist/i18n/locales/zh-cn/credentials.json.js +2 -0
- package/dist/i18n/locales/zh-cn/panels.json.js +1 -0
- package/dist/i18n/messages/ai.d.ts +4 -1
- package/dist/i18n/messages/ai.d.ts.map +1 -1
- package/dist/i18n/messages/ai.js +2 -1
- package/dist/i18n/messages/ai.js.map +1 -1
- package/dist/i18n/messages/credentials.d.ts +2 -0
- package/dist/i18n/messages/credentials.d.ts.map +1 -1
- package/dist/i18n/messages/credentials.js +2 -0
- package/dist/i18n/messages/credentials.js.map +1 -1
- package/dist/i18n/messages/panels.d.ts +6 -0
- package/dist/i18n/messages/panels.d.ts.map +1 -1
- package/dist/i18n/messages/panels.js +2 -0
- package/dist/i18n/messages/panels.js.map +1 -1
- package/dist/i18n/messages.d.ts +11 -1
- package/dist/i18n/useI18n.d.ts +44 -4
- package/dist/i18n/useI18n.d.ts.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js +6 -11
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js.map +1 -1
- package/dist/primitives/NumberField/NumberFieldRoot.vue.d.ts +2 -2
- package/package.json +4 -4
package/dist/i18n/useI18n.d.ts
CHANGED
|
@@ -178,6 +178,7 @@ declare const useAIMessages: () => Ref<{
|
|
|
178
178
|
} & object], string>;
|
|
179
179
|
readonly chatReadOnly: "This conversation belongs to another document. Open its document to continue.";
|
|
180
180
|
readonly chatAgentReadOnly: "This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.";
|
|
181
|
+
readonly chatAgentExited: "Agent process exited unexpectedly.";
|
|
181
182
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
182
183
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
183
184
|
readonly chatInterrupted: "This response was interrupted.";
|
|
@@ -265,7 +266,9 @@ declare const useAIMessages: () => Ref<{
|
|
|
265
266
|
name: string | number;
|
|
266
267
|
} & object], string>;
|
|
267
268
|
readonly dropImagesToAttach: "Drop images to attach";
|
|
268
|
-
readonly queueMessage: "
|
|
269
|
+
readonly queueMessage: import("@nanostores/i18n").TranslationFunction<[{
|
|
270
|
+
shortcut: string | number;
|
|
271
|
+
} & object], string>;
|
|
269
272
|
readonly queuedSteer: "Sends after the current step";
|
|
270
273
|
readonly queuedFollowUp: "Sends when the agent is done";
|
|
271
274
|
readonly removeQueuedMessage: "Remove waiting message";
|
|
@@ -913,6 +916,7 @@ declare const useAIMessages: () => Ref<{
|
|
|
913
916
|
} & object], string>;
|
|
914
917
|
readonly chatReadOnly: "This conversation belongs to another document. Open its document to continue.";
|
|
915
918
|
readonly chatAgentReadOnly: "This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.";
|
|
919
|
+
readonly chatAgentExited: "Agent process exited unexpectedly.";
|
|
916
920
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
917
921
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
918
922
|
readonly chatInterrupted: "This response was interrupted.";
|
|
@@ -1000,7 +1004,9 @@ declare const useAIMessages: () => Ref<{
|
|
|
1000
1004
|
name: string | number;
|
|
1001
1005
|
} & object], string>;
|
|
1002
1006
|
readonly dropImagesToAttach: "Drop images to attach";
|
|
1003
|
-
readonly queueMessage: "
|
|
1007
|
+
readonly queueMessage: import("@nanostores/i18n").TranslationFunction<[{
|
|
1008
|
+
shortcut: string | number;
|
|
1009
|
+
} & object], string>;
|
|
1004
1010
|
readonly queuedSteer: "Sends after the current step";
|
|
1005
1011
|
readonly queuedFollowUp: "Sends when the agent is done";
|
|
1006
1012
|
readonly removeQueuedMessage: "Remove waiting message";
|
|
@@ -2886,6 +2892,8 @@ declare const useCredentialMessages: () => Ref<{
|
|
|
2886
2892
|
readonly rememberDevice: "Remember API keys on this device";
|
|
2887
2893
|
readonly sessionOnly: "Keys are kept only until you close this session.";
|
|
2888
2894
|
readonly retryFailed: "Could not reset credential access. Try again.";
|
|
2895
|
+
readonly storeLocked: "The system credential store is locked. Unlock it, then choose Retry access in General settings.";
|
|
2896
|
+
readonly storeUnavailable: "Pairdraw cannot reach the system credential store. On Linux, start a keyring such as GNOME Keyring; for the Snap, run “snap connect pairdraw:password-manager-service”. Then choose Retry access in General settings.";
|
|
2889
2897
|
readonly savedReplace: "Key saved — enter new to replace";
|
|
2890
2898
|
readonly apiKey: "API key";
|
|
2891
2899
|
readonly accessKey: "Access key";
|
|
@@ -2899,6 +2907,8 @@ declare const useCredentialMessages: () => Ref<{
|
|
|
2899
2907
|
readonly rememberDevice: "Remember API keys on this device";
|
|
2900
2908
|
readonly sessionOnly: "Keys are kept only until you close this session.";
|
|
2901
2909
|
readonly retryFailed: "Could not reset credential access. Try again.";
|
|
2910
|
+
readonly storeLocked: "The system credential store is locked. Unlock it, then choose Retry access in General settings.";
|
|
2911
|
+
readonly storeUnavailable: "Pairdraw cannot reach the system credential store. On Linux, start a keyring such as GNOME Keyring; for the Snap, run “snap connect pairdraw:password-manager-service”. Then choose Retry access in General settings.";
|
|
2902
2912
|
readonly savedReplace: "Key saved — enter new to replace";
|
|
2903
2913
|
readonly apiKey: "API key";
|
|
2904
2914
|
readonly accessKey: "Access key";
|
|
@@ -4684,6 +4694,11 @@ declare const usePanelMessages: () => Ref<{
|
|
|
4684
4694
|
readonly behaviourDisabled: "Disabled";
|
|
4685
4695
|
readonly behaviourOnValue: "On";
|
|
4686
4696
|
readonly behaviourOffValue: "Off";
|
|
4697
|
+
readonly behaviourValueField: import("@nanostores/i18n").TranslationFunction<[{
|
|
4698
|
+
value: string | number;
|
|
4699
|
+
} & {
|
|
4700
|
+
side: string | number;
|
|
4701
|
+
} & object], string>;
|
|
4687
4702
|
readonly behaviourTrack: "Track";
|
|
4688
4703
|
readonly behaviourThumb: "Thumb";
|
|
4689
4704
|
readonly behaviourRange: "Range";
|
|
@@ -5504,6 +5519,11 @@ declare const usePanelMessages: () => Ref<{
|
|
|
5504
5519
|
readonly behaviourDisabled: "Disabled";
|
|
5505
5520
|
readonly behaviourOnValue: "On";
|
|
5506
5521
|
readonly behaviourOffValue: "Off";
|
|
5522
|
+
readonly behaviourValueField: import("@nanostores/i18n").TranslationFunction<[{
|
|
5523
|
+
value: string | number;
|
|
5524
|
+
} & {
|
|
5525
|
+
side: string | number;
|
|
5526
|
+
} & object], string>;
|
|
5507
5527
|
readonly behaviourTrack: "Track";
|
|
5508
5528
|
readonly behaviourThumb: "Thumb";
|
|
5509
5529
|
readonly behaviourRange: "Range";
|
|
@@ -9442,6 +9462,7 @@ declare function useI18n(): {
|
|
|
9442
9462
|
} & object], string>;
|
|
9443
9463
|
readonly chatReadOnly: "This conversation belongs to another document. Open its document to continue.";
|
|
9444
9464
|
readonly chatAgentReadOnly: "This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.";
|
|
9465
|
+
readonly chatAgentExited: "Agent process exited unexpectedly.";
|
|
9445
9466
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
9446
9467
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
9447
9468
|
readonly chatInterrupted: "This response was interrupted.";
|
|
@@ -9529,7 +9550,9 @@ declare function useI18n(): {
|
|
|
9529
9550
|
name: string | number;
|
|
9530
9551
|
} & object], string>;
|
|
9531
9552
|
readonly dropImagesToAttach: "Drop images to attach";
|
|
9532
|
-
readonly queueMessage: "
|
|
9553
|
+
readonly queueMessage: import("@nanostores/i18n").TranslationFunction<[{
|
|
9554
|
+
shortcut: string | number;
|
|
9555
|
+
} & object], string>;
|
|
9533
9556
|
readonly queuedSteer: "Sends after the current step";
|
|
9534
9557
|
readonly queuedFollowUp: "Sends when the agent is done";
|
|
9535
9558
|
readonly removeQueuedMessage: "Remove waiting message";
|
|
@@ -10177,6 +10200,7 @@ declare function useI18n(): {
|
|
|
10177
10200
|
} & object], string>;
|
|
10178
10201
|
readonly chatReadOnly: "This conversation belongs to another document. Open its document to continue.";
|
|
10179
10202
|
readonly chatAgentReadOnly: "This agent transcript is saved, but its session cannot be resumed here yet. Start a new chat to continue working.";
|
|
10203
|
+
readonly chatAgentExited: "Agent process exited unexpectedly.";
|
|
10180
10204
|
readonly chatStorageFailed: "Chat history could not be saved. Keep this window open and try again.";
|
|
10181
10205
|
readonly chatHistoryFailed: "Could not update chat history. Try again.";
|
|
10182
10206
|
readonly chatInterrupted: "This response was interrupted.";
|
|
@@ -10264,7 +10288,9 @@ declare function useI18n(): {
|
|
|
10264
10288
|
name: string | number;
|
|
10265
10289
|
} & object], string>;
|
|
10266
10290
|
readonly dropImagesToAttach: "Drop images to attach";
|
|
10267
|
-
readonly queueMessage: "
|
|
10291
|
+
readonly queueMessage: import("@nanostores/i18n").TranslationFunction<[{
|
|
10292
|
+
shortcut: string | number;
|
|
10293
|
+
} & object], string>;
|
|
10268
10294
|
readonly queuedSteer: "Sends after the current step";
|
|
10269
10295
|
readonly queuedFollowUp: "Sends when the agent is done";
|
|
10270
10296
|
readonly removeQueuedMessage: "Remove waiting message";
|
|
@@ -11797,6 +11823,8 @@ declare function useI18n(): {
|
|
|
11797
11823
|
readonly rememberDevice: "Remember API keys on this device";
|
|
11798
11824
|
readonly sessionOnly: "Keys are kept only until you close this session.";
|
|
11799
11825
|
readonly retryFailed: "Could not reset credential access. Try again.";
|
|
11826
|
+
readonly storeLocked: "The system credential store is locked. Unlock it, then choose Retry access in General settings.";
|
|
11827
|
+
readonly storeUnavailable: "Pairdraw cannot reach the system credential store. On Linux, start a keyring such as GNOME Keyring; for the Snap, run “snap connect pairdraw:password-manager-service”. Then choose Retry access in General settings.";
|
|
11800
11828
|
readonly savedReplace: "Key saved — enter new to replace";
|
|
11801
11829
|
readonly apiKey: "API key";
|
|
11802
11830
|
readonly accessKey: "Access key";
|
|
@@ -11810,6 +11838,8 @@ declare function useI18n(): {
|
|
|
11810
11838
|
readonly rememberDevice: "Remember API keys on this device";
|
|
11811
11839
|
readonly sessionOnly: "Keys are kept only until you close this session.";
|
|
11812
11840
|
readonly retryFailed: "Could not reset credential access. Try again.";
|
|
11841
|
+
readonly storeLocked: "The system credential store is locked. Unlock it, then choose Retry access in General settings.";
|
|
11842
|
+
readonly storeUnavailable: "Pairdraw cannot reach the system credential store. On Linux, start a keyring such as GNOME Keyring; for the Snap, run “snap connect pairdraw:password-manager-service”. Then choose Retry access in General settings.";
|
|
11813
11843
|
readonly savedReplace: "Key saved — enter new to replace";
|
|
11814
11844
|
readonly apiKey: "API key";
|
|
11815
11845
|
readonly accessKey: "Access key";
|
|
@@ -13224,6 +13254,11 @@ declare function useI18n(): {
|
|
|
13224
13254
|
readonly behaviourDisabled: "Disabled";
|
|
13225
13255
|
readonly behaviourOnValue: "On";
|
|
13226
13256
|
readonly behaviourOffValue: "Off";
|
|
13257
|
+
readonly behaviourValueField: import("@nanostores/i18n").TranslationFunction<[{
|
|
13258
|
+
value: string | number;
|
|
13259
|
+
} & {
|
|
13260
|
+
side: string | number;
|
|
13261
|
+
} & object], string>;
|
|
13227
13262
|
readonly behaviourTrack: "Track";
|
|
13228
13263
|
readonly behaviourThumb: "Thumb";
|
|
13229
13264
|
readonly behaviourRange: "Range";
|
|
@@ -14044,6 +14079,11 @@ declare function useI18n(): {
|
|
|
14044
14079
|
readonly behaviourDisabled: "Disabled";
|
|
14045
14080
|
readonly behaviourOnValue: "On";
|
|
14046
14081
|
readonly behaviourOffValue: "Off";
|
|
14082
|
+
readonly behaviourValueField: import("@nanostores/i18n").TranslationFunction<[{
|
|
14083
|
+
value: string | number;
|
|
14084
|
+
} & {
|
|
14085
|
+
side: string | number;
|
|
14086
|
+
} & object], string>;
|
|
14047
14087
|
readonly behaviourTrack: "Track";
|
|
14048
14088
|
readonly behaviourThumb: "Thumb";
|
|
14049
14089
|
readonly behaviourRange: "Range";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","names":[],"sources":["../../src/i18n/useI18n.ts"],"mappings":";;;;iBA8CgB,iBAAiB,sBAAsB,OAAO,UAAU,gBACzC,IAAI,WAAW;cAGjC,wBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAChB,qBAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BgB,QAAA,IAAI"}
|
|
@@ -19,9 +19,9 @@ declare var __VLS_8: {
|
|
|
19
19
|
shapeWithTextType?: import("@pairdraw/scene-graph/shape-with-text").ShapeWithTextType | undefined;
|
|
20
20
|
outline?: {
|
|
21
21
|
type: import("@pairdraw/scene-graph").NodeType;
|
|
22
|
-
rotation: number;
|
|
23
22
|
width: number;
|
|
24
23
|
height: number;
|
|
24
|
+
rotation: number;
|
|
25
25
|
cornerRadius: number;
|
|
26
26
|
topLeftRadius: number;
|
|
27
27
|
topRightRadius: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerTreeRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/LayerTree/LayerTreeRoot.vue"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"LayerTreeRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/LayerTree/LayerTreeRoot.vue"],"mappings":";;KAwTK;EACH;;EAEA;;iBA4JO,OAAO,YAAY,qBAAqB;iBAyBxC,aAAa;iBAeb,eAAe,MAAM;YA8H1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvHkB,aAAA;;;;KAwHjB;EACD,WAAW,cAAc;;cAKvB,0BAAU,gBAAA,2CAAA,qCAAA;;;;;;;;;;;;0CAGd;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -129,18 +129,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
129
129
|
onScopeDispose(() => {
|
|
130
130
|
for (const stop of unsubscribe) stop();
|
|
131
131
|
});
|
|
132
|
+
/**
|
|
133
|
+
* Leaves canvas clicks as a click on the picked layer would, as in Figma: the panel enters what a
|
|
134
|
+
* double-click on it enters, and never a container that is open by itself.
|
|
135
|
+
*/
|
|
132
136
|
function syncCanvasScope(nodeId) {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
let parentId = node.parentId;
|
|
136
|
-
while (parentId && parentId !== editor.state.currentPageId) {
|
|
137
|
-
if (editor.graph.isContainer(parentId)) {
|
|
138
|
-
editor.enterContainer(parentId);
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
parentId = editor.graph.getNode(parentId)?.parentId ?? null;
|
|
142
|
-
}
|
|
143
|
-
editor.state.enteredContainerId = null;
|
|
137
|
+
if (!editor.graph.getNode(nodeId)) return;
|
|
138
|
+
editor.enterContainerOf(nodeId);
|
|
144
139
|
}
|
|
145
140
|
function select(id, selection) {
|
|
146
141
|
const mode = typeof selection === "boolean" ? {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerTreeRoot.vue.js","names":[],"sources":["../../../src/primitives/LayerTree/LayerTreeRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { TreeRoot } from 'reka-ui'\nimport { computed, nextTick, onScopeDispose, reactive, ref } from 'vue'\n\nimport type { SceneNode } from '@pairdraw/scene-graph'\n\nimport { useEditor } from '#vue/editor/context'\nimport { LAYER_OUTLINE_FIELDS, provideLayerTree } from '#vue/primitives/LayerTree/context'\nimport type {\n LayerNode,\n LayerSelectionMode,\n LayerTreeVirtualizer\n} from '#vue/primitives/LayerTree/context'\nimport {\n buildLayerTreeModel,\n layerSelectionForTarget,\n patchLayerNode,\n visibleLayerRows\n} from '#vue/primitives/LayerTree/model'\nimport { useLayerDrag } from '#vue/primitives/LayerTree/useLayerDrag'\n\nconst { indentPerLevel = 16, multiple = false } = defineProps<{\n indentPerLevel?: number\n /** Whether the tree selects more than one layer at a time; Reka announces it to assistive tech. */\n multiple?: boolean\n}>()\n\nconst emit = defineEmits<{\n select: [id: string, additive: boolean]\n toggleExpand: [id: string]\n toggleVisibility: [id: string]\n toggleLock: [id: string]\n rename: [id: string, name: string]\n}>()\n\nconst editor = useEditor()\nconst items = ref<LayerNode[]>([])\nconst expanded = ref<string[]>([])\nconst treeVersion = ref(0)\nconst selectedIds = computed(() => editor.state.selectedIds)\nconst focused = ref(false)\nconst visibleRows = computed(() => visibleLayerRows(items.value, new Set(expanded.value)))\nlet nodesById = new Map<string, LayerNode>()\nlet virtualizer: LayerTreeVirtualizer | null = null\nlet selectionAnchorId: string | null = null\nlet applyingSelection = false\n\nfunction expandNode(id: string) {\n if (!expanded.value.includes(id)) expanded.value = [...expanded.value, id]\n}\n\nconst { draggingId, instruction, instructionTargetId, setupItem } = useLayerDrag(\n editor,\n indentPerLevel,\n expandNode\n)\n\nlet rebuildPending = false\nlet rebuildToken = 0\n\nfunction rebuildTree() {\n rebuildPending = false\n rebuildToken++\n const model = buildLayerTreeModel(editor.graph, editor.state.currentPageId)\n items.value = model.items\n nodesById = model.byId\n expanded.value = expanded.value.filter((id) => nodesById.has(id))\n treeVersion.value++\n}\n\nfunction scheduleTreeRebuild() {\n if (rebuildPending) return\n rebuildPending = true\n const token = ++rebuildToken\n queueMicrotask(() => {\n if (!rebuildPending || token !== rebuildToken) return\n rebuildTree()\n })\n}\n\nrebuildTree()\n\nconst PATCHABLE_NODE_KEYS = new Set<keyof SceneNode>([\n 'name',\n 'type',\n 'layoutMode',\n 'visible',\n 'locked',\n 'variableModes',\n 'isMask',\n 'fills',\n 'strokes',\n ...LAYER_OUTLINE_FIELDS\n])\n\nfunction patchTreeNode(id: string, changes: Partial<SceneNode>) {\n // A layout mode turns a layer's rows between front-most first and flow order.\n const reordersRows = 'layoutMode' in changes && !!nodesById.get(id)?.children?.length\n // Coalesced with creates and deletes, so an edit that moves many layers rebuilds once.\n if ('childIds' in changes || 'parentId' in changes || reordersRows) {\n scheduleTreeRebuild()\n return\n }\n // The rebuild reads every row again.\n if (rebuildPending) return\n if (!(Object.keys(changes) as (keyof SceneNode)[]).some((key) => PATCHABLE_NODE_KEYS.has(key))) {\n return\n }\n const target = nodesById.get(id)\n const source = editor.graph.getNode(id)\n // The index holds the plain rows; writing through their reactive proxy updates every view of\n // them, including values a row derives and caches, such as its variable mode tags.\n if (target && source) patchLayerNode(reactive(target), source)\n}\n\nconst rowRefs = new Map<string, HTMLElement>()\n\nfunction setRowRef(id: string, el: HTMLElement | null) {\n if (el) rowRefs.set(id, el)\n else rowRefs.delete(id)\n}\n\nfunction expandSelectionAncestors(ids: readonly string[]) {\n const next = new Set(expanded.value)\n for (const id of ids) {\n let node = editor.graph.getNode(id)\n while (node?.parentId && node.parentId !== editor.state.currentPageId) {\n next.add(node.parentId)\n node = editor.graph.getNode(node.parentId)\n }\n }\n if (next.size !== expanded.value.length) expanded.value = [...next]\n}\n\nfunction scrollToNode(id: string) {\n void nextTick(() => {\n const index = visibleRows.value.findIndex((row) => row.node.id === id)\n if (index !== -1 && virtualizer) {\n virtualizer.scrollToIndex(index, { align: 'auto' })\n return\n }\n rowRefs.get(id)?.scrollIntoView({ block: 'nearest' })\n })\n}\n\nfunction onSelectionChanged(ids: string[]) {\n expandSelectionAncestors(ids)\n if (applyingSelection) return\n const visibleIds = new Set(visibleRows.value.map((row) => row.node.id))\n selectionAnchorId = ids.find((id) => visibleIds.has(id)) ?? null\n if (selectionAnchorId) scrollToNode(selectionAnchorId)\n}\n\nconst unsubscribe = [\n editor.onEditorEvent('graph:replaced', rebuildTree),\n editor.onEditorEvent('page:changed', rebuildTree),\n editor.onEditorEvent('node:created', scheduleTreeRebuild),\n editor.onEditorEvent('node:deleted', scheduleTreeRebuild),\n editor.onEditorEvent('node:reparented', scheduleTreeRebuild),\n editor.onEditorEvent('node:reordered', scheduleTreeRebuild),\n editor.onEditorEvent('node:updated', patchTreeNode),\n editor.onEditorEvent('selection:changed', onSelectionChanged)\n]\n\nonScopeDispose(() => {\n for (const stop of unsubscribe) stop()\n})\n\nfunction syncCanvasScope(nodeId: string) {\n const node = editor.graph.getNode(nodeId)\n if (!node) return\n let parentId = node.parentId\n while (parentId && parentId !== editor.state.currentPageId) {\n if (editor.graph.isContainer(parentId)) {\n editor.enterContainer(parentId)\n return\n }\n const parent = editor.graph.getNode(parentId)\n parentId = parent?.parentId ?? null\n }\n editor.state.enteredContainerId = null\n}\n\nfunction select(id: string, selection: boolean | LayerSelectionMode) {\n const mode = typeof selection === 'boolean' ? { additive: selection, range: false } : selection\n emit('select', id, mode.additive)\n const visibleIds = visibleRows.value.map((row) => row.node.id)\n const next = layerSelectionForTarget(\n visibleIds,\n editor.state.selectedIds,\n selectionAnchorId,\n id,\n mode\n )\n if (!mode.range) selectionAnchorId = id\n applyingSelection = true\n try {\n // Adding a layer goes through the editor, which drops its selected ancestors and descendants.\n if (mode.additive && !mode.range) editor.select([id], true)\n else editor.select([...next])\n } finally {\n applyingSelection = false\n }\n if (!mode.additive && !mode.range) syncCanvasScope(id)\n scrollToNode(id)\n}\n\nfunction toggleExpand(id: string) {\n emit('toggleExpand', id)\n const index = expanded.value.indexOf(id)\n if (index !== -1) expanded.value = expanded.value.filter((expandedId) => expandedId !== id)\n else expandNode(id)\n}\n\nfunction getKey(node: LayerNode) {\n return node.id\n}\n\nfunction getChildren(node: LayerNode) {\n return node.children\n}\n\nfunction setVirtualizer(next: LayerTreeVirtualizer) {\n virtualizer = next\n}\n\nconst actions = {\n select,\n toggleExpand,\n setFocused: (value: boolean) => {\n focused.value = value\n },\n setVirtualizer\n}\n\nprovideLayerTree({\n editor,\n items,\n expanded,\n visibleRows,\n treeVersion,\n selectedIds,\n focused,\n indentPerLevel,\n draggingId,\n instruction,\n instructionTargetId,\n setupDrag: setupItem,\n select,\n toggleExpand,\n setFocused: actions.setFocused,\n setVirtualizer,\n toggleVisibility: (id: string) => {\n emit('toggleVisibility', id)\n editor.toggleNodeVisibility(id)\n },\n toggleLock: (id: string) => {\n emit('toggleLock', id)\n editor.toggleNodeLock(id)\n },\n rename: (id: string, name: string) => {\n emit('rename', id, name)\n editor.renameNode(id, name)\n },\n setRowRef\n})\n</script>\n\n<template>\n <TreeRoot\n v-slot=\"{ flattenItems }\"\n v-model:expanded=\"expanded\"\n as=\"div\"\n class=\"flex min-h-0 flex-1 flex-col overflow-hidden\"\n :items=\"items\"\n :get-key=\"getKey\"\n :get-children=\"getChildren\"\n :multiple=\"multiple\"\n >\n <slot\n :items=\"items\"\n :flatten-items=\"flattenItems\"\n :visible-rows=\"visibleRows\"\n :expanded=\"expanded\"\n :tree-version=\"treeVersion\"\n :selected-ids=\"selectedIds\"\n :focused=\"focused\"\n :dragging-id=\"draggingId\"\n :instruction=\"instruction\"\n :instruction-target-id=\"instructionTargetId\"\n :actions=\"actions\"\n />\n </TreeRoot>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;EA2BA,MAAM,OAAO;EAQb,MAAM,SAAS,UAAU;EACzB,MAAM,QAAQ,IAAiB,CAAC,CAAC;EACjC,MAAM,WAAW,IAAc,CAAC,CAAC;EACjC,MAAM,cAAc,IAAI,CAAC;EACzB,MAAM,cAAc,eAAe,OAAO,MAAM,WAAW;EAC3D,MAAM,UAAU,IAAI,KAAK;EACzB,MAAM,cAAc,eAAe,iBAAiB,MAAM,OAAO,IAAI,IAAI,SAAS,KAAK,CAAC,CAAC;EACzF,IAAI,4BAAY,IAAI,IAAuB;EAC3C,IAAI,cAA2C;EAC/C,IAAI,oBAAmC;EACvC,IAAI,oBAAoB;EAExB,SAAS,WAAW,IAA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Y,MAAiB;GACpC,OAAO,KAAK;EACd;EAEA,SAAS,eAAe,MAA4B;GAClD,cAAc;EAChB;EAEA,MAAM,UAAU;GACd;GACA;GACA,aAAa,UAAmB;IAC9B,QAAQ,QAAQ;GAClB;GACA;EACF;EAEA,iBAAiB;GACf;GACA;GACA;GACA;GACA;GACA;GACA;GACA,gBAAa,QAAA;GACb;GACA;GACA;GACA,WAAW;GACX;GACA;GACA,YAAY,QAAQ;GACpB;GACA,mBAAmB,OAAe;IAChC,KAAK,oBAAoB,EAAE;IAC3B,OAAO,qBAAqB,EAAE;GAChC;GACA,aAAa,OAAe;IAC1B,KAAK,cAAc,EAAE;IACrB,OAAO,eAAe,EAAE;GAC1B;GACA,SAAS,IAAY,SAAiB;IACpC,KAAK,UAAU,IAAI,IAAI;IACvB,OAAO,WAAW,IAAI,IAAI;GAC5B;GACA;EACF,CAAC;;GAIC,OAAA,UAAA,GAAA,YAuBW,MAAA,QAAA,GAAA;IArBD,UAAU,SAAA;IAAA,qBAAA,OAAA,OAAA,OAAA,MAAA,WAAA,SAAQ,QAAA;IAC1B,IAAG;IACH,OAAM;IACL,OAAO,MAAA;IACP,WAAS;IACT,gBAAc;IACd,UAAU,QAAA;;IAcT,SAAA,SAAA,EArBQ,mBAAY,CAStB,WAYE,KAAA,QAAA,WAAA;KAXC,OAAO,MAAA;KACQ;KACf,aAAc,YAAA;KACd,UAAU,SAAA;KACV,aAAc,YAAA;KACd,aAAc,YAAA;KACd,SAAS,QAAA;KACT,YAAa,MAAA,UAAA;KACb,aAAa,MAAA,WAAA;KACb,qBAAuB,MAAA,mBAAA;KACd"}
|
|
1
|
+
{"version":3,"file":"LayerTreeRoot.vue.js","names":[],"sources":["../../../src/primitives/LayerTree/LayerTreeRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { TreeRoot } from 'reka-ui'\nimport { computed, nextTick, onScopeDispose, reactive, ref } from 'vue'\n\nimport type { SceneNode } from '@pairdraw/scene-graph'\n\nimport { useEditor } from '#vue/editor/context'\nimport { LAYER_OUTLINE_FIELDS, provideLayerTree } from '#vue/primitives/LayerTree/context'\nimport type {\n LayerNode,\n LayerSelectionMode,\n LayerTreeVirtualizer\n} from '#vue/primitives/LayerTree/context'\nimport {\n buildLayerTreeModel,\n layerSelectionForTarget,\n patchLayerNode,\n visibleLayerRows\n} from '#vue/primitives/LayerTree/model'\nimport { useLayerDrag } from '#vue/primitives/LayerTree/useLayerDrag'\n\nconst { indentPerLevel = 16, multiple = false } = defineProps<{\n indentPerLevel?: number\n /** Whether the tree selects more than one layer at a time; Reka announces it to assistive tech. */\n multiple?: boolean\n}>()\n\nconst emit = defineEmits<{\n select: [id: string, additive: boolean]\n toggleExpand: [id: string]\n toggleVisibility: [id: string]\n toggleLock: [id: string]\n rename: [id: string, name: string]\n}>()\n\nconst editor = useEditor()\nconst items = ref<LayerNode[]>([])\nconst expanded = ref<string[]>([])\nconst treeVersion = ref(0)\nconst selectedIds = computed(() => editor.state.selectedIds)\nconst focused = ref(false)\nconst visibleRows = computed(() => visibleLayerRows(items.value, new Set(expanded.value)))\nlet nodesById = new Map<string, LayerNode>()\nlet virtualizer: LayerTreeVirtualizer | null = null\nlet selectionAnchorId: string | null = null\nlet applyingSelection = false\n\nfunction expandNode(id: string) {\n if (!expanded.value.includes(id)) expanded.value = [...expanded.value, id]\n}\n\nconst { draggingId, instruction, instructionTargetId, setupItem } = useLayerDrag(\n editor,\n indentPerLevel,\n expandNode\n)\n\nlet rebuildPending = false\nlet rebuildToken = 0\n\nfunction rebuildTree() {\n rebuildPending = false\n rebuildToken++\n const model = buildLayerTreeModel(editor.graph, editor.state.currentPageId)\n items.value = model.items\n nodesById = model.byId\n expanded.value = expanded.value.filter((id) => nodesById.has(id))\n treeVersion.value++\n}\n\nfunction scheduleTreeRebuild() {\n if (rebuildPending) return\n rebuildPending = true\n const token = ++rebuildToken\n queueMicrotask(() => {\n if (!rebuildPending || token !== rebuildToken) return\n rebuildTree()\n })\n}\n\nrebuildTree()\n\nconst PATCHABLE_NODE_KEYS = new Set<keyof SceneNode>([\n 'name',\n 'type',\n 'layoutMode',\n 'visible',\n 'locked',\n 'variableModes',\n 'isMask',\n 'fills',\n 'strokes',\n ...LAYER_OUTLINE_FIELDS\n])\n\nfunction patchTreeNode(id: string, changes: Partial<SceneNode>) {\n // A layout mode turns a layer's rows between front-most first and flow order.\n const reordersRows = 'layoutMode' in changes && !!nodesById.get(id)?.children?.length\n // Coalesced with creates and deletes, so an edit that moves many layers rebuilds once.\n if ('childIds' in changes || 'parentId' in changes || reordersRows) {\n scheduleTreeRebuild()\n return\n }\n // The rebuild reads every row again.\n if (rebuildPending) return\n if (!(Object.keys(changes) as (keyof SceneNode)[]).some((key) => PATCHABLE_NODE_KEYS.has(key))) {\n return\n }\n const target = nodesById.get(id)\n const source = editor.graph.getNode(id)\n // The index holds the plain rows; writing through their reactive proxy updates every view of\n // them, including values a row derives and caches, such as its variable mode tags.\n if (target && source) patchLayerNode(reactive(target), source)\n}\n\nconst rowRefs = new Map<string, HTMLElement>()\n\nfunction setRowRef(id: string, el: HTMLElement | null) {\n if (el) rowRefs.set(id, el)\n else rowRefs.delete(id)\n}\n\nfunction expandSelectionAncestors(ids: readonly string[]) {\n const next = new Set(expanded.value)\n for (const id of ids) {\n let node = editor.graph.getNode(id)\n while (node?.parentId && node.parentId !== editor.state.currentPageId) {\n next.add(node.parentId)\n node = editor.graph.getNode(node.parentId)\n }\n }\n if (next.size !== expanded.value.length) expanded.value = [...next]\n}\n\nfunction scrollToNode(id: string) {\n void nextTick(() => {\n const index = visibleRows.value.findIndex((row) => row.node.id === id)\n if (index !== -1 && virtualizer) {\n virtualizer.scrollToIndex(index, { align: 'auto' })\n return\n }\n rowRefs.get(id)?.scrollIntoView({ block: 'nearest' })\n })\n}\n\nfunction onSelectionChanged(ids: string[]) {\n expandSelectionAncestors(ids)\n if (applyingSelection) return\n const visibleIds = new Set(visibleRows.value.map((row) => row.node.id))\n selectionAnchorId = ids.find((id) => visibleIds.has(id)) ?? null\n if (selectionAnchorId) scrollToNode(selectionAnchorId)\n}\n\nconst unsubscribe = [\n editor.onEditorEvent('graph:replaced', rebuildTree),\n editor.onEditorEvent('page:changed', rebuildTree),\n editor.onEditorEvent('node:created', scheduleTreeRebuild),\n editor.onEditorEvent('node:deleted', scheduleTreeRebuild),\n editor.onEditorEvent('node:reparented', scheduleTreeRebuild),\n editor.onEditorEvent('node:reordered', scheduleTreeRebuild),\n editor.onEditorEvent('node:updated', patchTreeNode),\n editor.onEditorEvent('selection:changed', onSelectionChanged)\n]\n\nonScopeDispose(() => {\n for (const stop of unsubscribe) stop()\n})\n\n/**\n * Leaves canvas clicks as a click on the picked layer would, as in Figma: the panel enters what a\n * double-click on it enters, and never a container that is open by itself.\n */\nfunction syncCanvasScope(nodeId: string) {\n if (!editor.graph.getNode(nodeId)) return\n editor.enterContainerOf(nodeId)\n}\n\nfunction select(id: string, selection: boolean | LayerSelectionMode) {\n const mode = typeof selection === 'boolean' ? { additive: selection, range: false } : selection\n emit('select', id, mode.additive)\n const visibleIds = visibleRows.value.map((row) => row.node.id)\n const next = layerSelectionForTarget(\n visibleIds,\n editor.state.selectedIds,\n selectionAnchorId,\n id,\n mode\n )\n if (!mode.range) selectionAnchorId = id\n applyingSelection = true\n try {\n // Adding a layer goes through the editor, which drops its selected ancestors and descendants.\n if (mode.additive && !mode.range) editor.select([id], true)\n else editor.select([...next])\n } finally {\n applyingSelection = false\n }\n // A layer picked here leaves canvas clicks as a click on it there would, as in Figma.\n if (!mode.additive && !mode.range) syncCanvasScope(id)\n scrollToNode(id)\n}\n\nfunction toggleExpand(id: string) {\n emit('toggleExpand', id)\n const index = expanded.value.indexOf(id)\n if (index !== -1) expanded.value = expanded.value.filter((expandedId) => expandedId !== id)\n else expandNode(id)\n}\n\nfunction getKey(node: LayerNode) {\n return node.id\n}\n\nfunction getChildren(node: LayerNode) {\n return node.children\n}\n\nfunction setVirtualizer(next: LayerTreeVirtualizer) {\n virtualizer = next\n}\n\nconst actions = {\n select,\n toggleExpand,\n setFocused: (value: boolean) => {\n focused.value = value\n },\n setVirtualizer\n}\n\nprovideLayerTree({\n editor,\n items,\n expanded,\n visibleRows,\n treeVersion,\n selectedIds,\n focused,\n indentPerLevel,\n draggingId,\n instruction,\n instructionTargetId,\n setupDrag: setupItem,\n select,\n toggleExpand,\n setFocused: actions.setFocused,\n setVirtualizer,\n toggleVisibility: (id: string) => {\n emit('toggleVisibility', id)\n editor.toggleNodeVisibility(id)\n },\n toggleLock: (id: string) => {\n emit('toggleLock', id)\n editor.toggleNodeLock(id)\n },\n rename: (id: string, name: string) => {\n emit('rename', id, name)\n editor.renameNode(id, name)\n },\n setRowRef\n})\n</script>\n\n<template>\n <TreeRoot\n v-slot=\"{ flattenItems }\"\n v-model:expanded=\"expanded\"\n as=\"div\"\n class=\"flex min-h-0 flex-1 flex-col overflow-hidden\"\n :items=\"items\"\n :get-key=\"getKey\"\n :get-children=\"getChildren\"\n :multiple=\"multiple\"\n >\n <slot\n :items=\"items\"\n :flatten-items=\"flattenItems\"\n :visible-rows=\"visibleRows\"\n :expanded=\"expanded\"\n :tree-version=\"treeVersion\"\n :selected-ids=\"selectedIds\"\n :focused=\"focused\"\n :dragging-id=\"draggingId\"\n :instruction=\"instruction\"\n :instruction-target-id=\"instructionTargetId\"\n :actions=\"actions\"\n />\n </TreeRoot>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;EA2BA,MAAM,OAAO;EAQb,MAAM,SAAS,UAAU;EACzB,MAAM,QAAQ,IAAiB,CAAC,CAAC;EACjC,MAAM,WAAW,IAAc,CAAC,CAAC;EACjC,MAAM,cAAc,IAAI,CAAC;EACzB,MAAM,cAAc,eAAe,OAAO,MAAM,WAAW;EAC3D,MAAM,UAAU,IAAI,KAAK;EACzB,MAAM,cAAc,eAAe,iBAAiB,MAAM,OAAO,IAAI,IAAI,SAAS,KAAK,CAAC,CAAC;EACzF,IAAI,4BAAY,IAAI,IAAuB;EAC3C,I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;GAClB;GACA;EACF;EAEA,iBAAiB;GACf;GACA;GACA;GACA;GACA;GACA;GACA;GACA,gBAAa,QAAA;GACb;GACA;GACA;GACA,WAAW;GACX;GACA;GACA,YAAY,QAAQ;GACpB;GACA,mBAAmB,OAAe;IAChC,KAAK,oBAAoB,EAAE;IAC3B,OAAO,qBAAqB,EAAE;GAChC;GACA,aAAa,OAAe;IAC1B,KAAK,cAAc,EAAE;IACrB,OAAO,eAAe,EAAE;GAC1B;GACA,SAAS,IAAY,SAAiB;IACpC,KAAK,UAAU,IAAI,IAAI;IACvB,OAAO,WAAW,IAAI,IAAI;GAC5B;GACA;EACF,CAAC;;GAIC,OAAA,UAAA,GAAA,YAuBW,MAAA,QAAA,GAAA;IArBD,UAAU,SAAA;IAAA,qBAAA,OAAA,OAAA,OAAA,MAAA,WAAA,SAAQ,QAAA;IAC1B,IAAG;IACH,OAAM;IACL,OAAO,MAAA;IACP,WAAS;IACT,gBAAc;IACd,UAAU,QAAA;;IAcT,SAAA,SAAA,EArBQ,mBAAY,CAStB,WAYE,KAAA,QAAA,WAAA;KAXC,OAAO,MAAA;KACQ;KACf,aAAc,YAAA;KACd,UAAU,SAAA;KACV,aAAc,YAAA;KACd,aAAc,YAAA;KACd,SAAS,QAAA;KACT,YAAa,MAAA,UAAA;KACb,aAAa,MAAA,WAAA;KACb,qBAAuB,MAAA,mBAAA;KACd"}
|
|
@@ -5,15 +5,15 @@ type __VLS_Slots = NumberFieldRootSlots;
|
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<NumberFieldRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
6
|
invalid: (expression: string, reason: NumberExpressionError) => any;
|
|
7
7
|
cancel: () => any;
|
|
8
|
-
commit: (value: number, previous: number, unit?: string | undefined) => any;
|
|
9
8
|
"update:modelValue": (value: number, unit?: string | undefined) => any;
|
|
9
|
+
commit: (value: number, previous: number, unit?: string | undefined) => any;
|
|
10
10
|
"editing-change": (editing: boolean) => any;
|
|
11
11
|
"detach-request": (source: NumberFieldMutationSource) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<NumberFieldRootProps> & Readonly<{
|
|
13
13
|
onInvalid?: ((expression: string, reason: NumberExpressionError) => any) | undefined;
|
|
14
14
|
onCancel?: (() => any) | undefined;
|
|
15
|
-
onCommit?: ((value: number, previous: number, unit?: string | undefined) => any) | undefined;
|
|
16
15
|
"onUpdate:modelValue"?: ((value: number, unit?: string | undefined) => any) | undefined;
|
|
16
|
+
onCommit?: ((value: number, previous: number, unit?: string | undefined) => any) | undefined;
|
|
17
17
|
"onEditing-change"?: ((editing: boolean) => any) | undefined;
|
|
18
18
|
"onDetach-request"?: ((source: NumberFieldMutationSource) => any) | undefined;
|
|
19
19
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairdraw/vue",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
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.19.
|
|
17
|
-
"@pairdraw/scene-graph": "^0.19.
|
|
16
|
+
"@pairdraw/dom-css": "^0.19.2",
|
|
17
|
+
"@pairdraw/scene-graph": "^0.19.2",
|
|
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.19.
|
|
27
|
+
"@pairdraw/core": "^0.19.2",
|
|
28
28
|
"canvaskit-wasm": ">=0.41.1",
|
|
29
29
|
"vue": "^3.5.41"
|
|
30
30
|
},
|