@pairdraw/vue 0.16.0 → 0.16.1
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/README.md +1 -1
- package/dist/canvas/CanvasRoot.vue.js +0 -1
- package/dist/canvas/CanvasRoot.vue.js.map +1 -1
- package/dist/canvas/surface/lifecycle.js +0 -5
- package/dist/canvas/surface/lifecycle.js.map +1 -1
- package/dist/canvas/surface/overlays.js +1 -7
- package/dist/canvas/surface/overlays.js.map +1 -1
- package/dist/canvas/surface/resize-observer.js +10 -11
- package/dist/canvas/surface/resize-observer.js.map +1 -1
- package/dist/canvas/surface/types.d.ts +0 -6
- package/dist/canvas/surface/types.d.ts.map +1 -1
- package/dist/canvas/surface/use.d.ts +0 -1
- package/dist/canvas/surface/use.js +1 -2
- package/dist/canvas/surface/use.js.map +1 -1
- package/dist/canvas/useCanvasInput.d.ts +2 -2
- package/dist/editor/menu-model/use.d.ts +1 -1
- package/dist/i18n/locales/de/ai.json.js +8 -17
- package/dist/i18n/locales/de/automation.json.js +0 -2
- package/dist/i18n/locales/de/cloud/editor.json.js +0 -7
- package/dist/i18n/locales/de/cloud/portal.json.js +0 -2
- package/dist/i18n/locales/de/collaboration.json.js +1 -1
- package/dist/i18n/locales/de/common.json.js +0 -1
- package/dist/i18n/locales/de/credentials.json.js +0 -5
- package/dist/i18n/locales/de/design-check.json.js +0 -11
- package/dist/i18n/locales/de/files.json.js +0 -7
- package/dist/i18n/locales/de/fonts.json.js +0 -1
- package/dist/i18n/locales/de/media.json.js +0 -6
- package/dist/i18n/locales/de/menu.json.js +0 -2
- package/dist/i18n/locales/de/panels.json.js +0 -12
- package/dist/i18n/locales/de/storage.json.js +0 -3
- package/dist/i18n/locales/de/variables/panel.json.js +0 -1
- package/dist/i18n/locales/es/ai.json.js +8 -17
- package/dist/i18n/locales/es/automation.json.js +0 -2
- package/dist/i18n/locales/es/cloud/editor.json.js +0 -7
- package/dist/i18n/locales/es/cloud/portal.json.js +0 -2
- package/dist/i18n/locales/es/collaboration.json.js +1 -1
- package/dist/i18n/locales/es/commands.json.js +1 -1
- package/dist/i18n/locales/es/common.json.js +0 -1
- package/dist/i18n/locales/es/credentials.json.js +0 -5
- package/dist/i18n/locales/es/design-check.json.js +0 -11
- package/dist/i18n/locales/es/files.json.js +0 -7
- package/dist/i18n/locales/es/fonts.json.js +0 -1
- package/dist/i18n/locales/es/media.json.js +0 -6
- package/dist/i18n/locales/es/menu.json.js +0 -2
- package/dist/i18n/locales/es/panels.json.js +0 -12
- package/dist/i18n/locales/es/storage.json.js +0 -3
- package/dist/i18n/locales/es/variables/panel.json.js +0 -1
- package/dist/i18n/locales/fr/ai.json.js +8 -17
- package/dist/i18n/locales/fr/automation.json.js +0 -2
- package/dist/i18n/locales/fr/cloud/editor.json.js +0 -7
- package/dist/i18n/locales/fr/cloud/portal.json.js +0 -2
- package/dist/i18n/locales/fr/collaboration.json.js +1 -1
- package/dist/i18n/locales/fr/common.json.js +0 -1
- package/dist/i18n/locales/fr/credentials.json.js +0 -5
- package/dist/i18n/locales/fr/design-check.json.js +0 -11
- package/dist/i18n/locales/fr/files.json.js +0 -7
- package/dist/i18n/locales/fr/fonts.json.js +0 -1
- package/dist/i18n/locales/fr/media.json.js +0 -6
- package/dist/i18n/locales/fr/menu.json.js +0 -2
- package/dist/i18n/locales/fr/panels.json.js +0 -12
- package/dist/i18n/locales/fr/storage.json.js +0 -3
- package/dist/i18n/locales/fr/variables/panel.json.js +0 -1
- package/dist/i18n/locales/it/ai.json.js +8 -17
- package/dist/i18n/locales/it/automation.json.js +0 -2
- package/dist/i18n/locales/it/cloud/editor.json.js +0 -7
- package/dist/i18n/locales/it/cloud/portal.json.js +0 -2
- package/dist/i18n/locales/it/collaboration.json.js +1 -1
- package/dist/i18n/locales/it/common.json.js +0 -1
- package/dist/i18n/locales/it/credentials.json.js +0 -5
- package/dist/i18n/locales/it/design-check.json.js +0 -11
- package/dist/i18n/locales/it/files.json.js +0 -7
- package/dist/i18n/locales/it/fonts.json.js +0 -1
- package/dist/i18n/locales/it/media.json.js +0 -6
- package/dist/i18n/locales/it/menu.json.js +0 -2
- package/dist/i18n/locales/it/panels.json.js +0 -12
- package/dist/i18n/locales/it/storage.json.js +0 -3
- package/dist/i18n/locales/it/variables/panel.json.js +0 -1
- package/dist/i18n/locales/ja/ai.json.js +8 -17
- package/dist/i18n/locales/ja/automation.json.js +0 -2
- package/dist/i18n/locales/ja/cloud/editor.json.js +0 -7
- package/dist/i18n/locales/ja/cloud/portal.json.js +0 -2
- package/dist/i18n/locales/ja/collaboration.json.js +1 -1
- package/dist/i18n/locales/ja/common.json.js +0 -1
- package/dist/i18n/locales/ja/credentials.json.js +0 -5
- package/dist/i18n/locales/ja/design-check.json.js +0 -11
- package/dist/i18n/locales/ja/files.json.js +0 -7
- package/dist/i18n/locales/ja/fonts.json.js +0 -1
- package/dist/i18n/locales/ja/media.json.js +0 -6
- package/dist/i18n/locales/ja/menu.json.js +0 -2
- package/dist/i18n/locales/ja/panels.json.js +0 -12
- package/dist/i18n/locales/ja/storage.json.js +0 -3
- package/dist/i18n/locales/ja/variables/panel.json.js +0 -1
- package/dist/i18n/locales/pl/ai.json.js +8 -17
- package/dist/i18n/locales/pl/automation.json.js +0 -2
- package/dist/i18n/locales/pl/cloud/editor.json.js +0 -7
- package/dist/i18n/locales/pl/cloud/portal.json.js +0 -2
- package/dist/i18n/locales/pl/collaboration.json.js +1 -1
- package/dist/i18n/locales/pl/common.json.js +0 -1
- package/dist/i18n/locales/pl/credentials.json.js +0 -5
- package/dist/i18n/locales/pl/design-check.json.js +0 -11
- package/dist/i18n/locales/pl/files.json.js +0 -7
- package/dist/i18n/locales/pl/fonts.json.js +0 -1
- package/dist/i18n/locales/pl/media.json.js +0 -6
- package/dist/i18n/locales/pl/menu.json.js +0 -2
- package/dist/i18n/locales/pl/panels.json.js +0 -12
- package/dist/i18n/locales/pl/storage.json.js +0 -3
- package/dist/i18n/locales/pl/variables/panel.json.js +0 -1
- package/dist/i18n/locales/ru/ai.json.js +8 -17
- package/dist/i18n/locales/ru/automation.json.js +0 -2
- package/dist/i18n/locales/ru/cloud/editor.json.js +0 -7
- package/dist/i18n/locales/ru/cloud/portal.json.js +0 -2
- package/dist/i18n/locales/ru/collaboration.json.js +1 -1
- package/dist/i18n/locales/ru/common.json.js +0 -1
- package/dist/i18n/locales/ru/credentials.json.js +0 -5
- package/dist/i18n/locales/ru/design-check.json.js +0 -11
- package/dist/i18n/locales/ru/files.json.js +0 -7
- package/dist/i18n/locales/ru/fonts.json.js +0 -1
- package/dist/i18n/locales/ru/media.json.js +0 -6
- package/dist/i18n/locales/ru/menu.json.js +0 -2
- package/dist/i18n/locales/ru/panels.json.js +0 -12
- package/dist/i18n/locales/ru/storage.json.js +0 -3
- package/dist/i18n/locales/ru/variables/panel.json.js +0 -1
- package/dist/i18n/locales/zh-cn/ai.json.js +8 -17
- package/dist/i18n/locales/zh-cn/automation.json.js +0 -2
- package/dist/i18n/locales/zh-cn/cloud/editor.json.js +0 -7
- package/dist/i18n/locales/zh-cn/cloud/portal.json.js +0 -2
- package/dist/i18n/locales/zh-cn/collaboration.json.js +1 -1
- package/dist/i18n/locales/zh-cn/common.json.js +0 -1
- package/dist/i18n/locales/zh-cn/credentials.json.js +0 -5
- package/dist/i18n/locales/zh-cn/design-check.json.js +0 -11
- package/dist/i18n/locales/zh-cn/files.json.js +0 -7
- package/dist/i18n/locales/zh-cn/fonts.json.js +0 -1
- package/dist/i18n/locales/zh-cn/media.json.js +0 -6
- package/dist/i18n/locales/zh-cn/menu.json.js +0 -2
- package/dist/i18n/locales/zh-cn/panels.json.js +0 -12
- package/dist/i18n/locales/zh-cn/storage.json.js +0 -3
- package/dist/i18n/locales/zh-cn/variables/panel.json.js +0 -1
- package/dist/i18n/messages/ai.d.ts +25 -19
- package/dist/i18n/messages/ai.d.ts.map +1 -1
- package/dist/i18n/messages/ai.js +9 -17
- package/dist/i18n/messages/ai.js.map +1 -1
- package/dist/i18n/messages/automation.d.ts +0 -2
- package/dist/i18n/messages/automation.d.ts.map +1 -1
- package/dist/i18n/messages/automation.js +0 -2
- package/dist/i18n/messages/automation.js.map +1 -1
- package/dist/i18n/messages/cloud/editor.d.ts +0 -11
- package/dist/i18n/messages/cloud/editor.d.ts.map +1 -1
- package/dist/i18n/messages/cloud/editor.js +0 -7
- package/dist/i18n/messages/cloud/editor.js.map +1 -1
- package/dist/i18n/messages/cloud/portal.d.ts +0 -4
- package/dist/i18n/messages/cloud/portal.d.ts.map +1 -1
- package/dist/i18n/messages/cloud/portal.js +0 -2
- package/dist/i18n/messages/cloud/portal.js.map +1 -1
- package/dist/i18n/messages/collaboration.d.ts +1 -1
- package/dist/i18n/messages/collaboration.js +1 -1
- package/dist/i18n/messages/collaboration.js.map +1 -1
- package/dist/i18n/messages/common.d.ts +0 -1
- package/dist/i18n/messages/common.d.ts.map +1 -1
- package/dist/i18n/messages/common.js +0 -1
- package/dist/i18n/messages/common.js.map +1 -1
- package/dist/i18n/messages/credentials.d.ts +0 -7
- package/dist/i18n/messages/credentials.d.ts.map +1 -1
- package/dist/i18n/messages/credentials.js +0 -6
- package/dist/i18n/messages/credentials.js.map +1 -1
- package/dist/i18n/messages/design-check.d.ts +0 -17
- package/dist/i18n/messages/design-check.d.ts.map +1 -1
- package/dist/i18n/messages/design-check.js +0 -11
- package/dist/i18n/messages/design-check.js.map +1 -1
- package/dist/i18n/messages/files.d.ts +0 -7
- package/dist/i18n/messages/files.d.ts.map +1 -1
- package/dist/i18n/messages/files.js +0 -7
- package/dist/i18n/messages/files.js.map +1 -1
- package/dist/i18n/messages/fonts.d.ts +0 -1
- package/dist/i18n/messages/fonts.d.ts.map +1 -1
- package/dist/i18n/messages/fonts.js +0 -1
- package/dist/i18n/messages/fonts.js.map +1 -1
- package/dist/i18n/messages/media.d.ts +0 -6
- package/dist/i18n/messages/media.d.ts.map +1 -1
- package/dist/i18n/messages/media.js +0 -6
- package/dist/i18n/messages/media.js.map +1 -1
- package/dist/i18n/messages/menu.d.ts +0 -2
- package/dist/i18n/messages/menu.d.ts.map +1 -1
- package/dist/i18n/messages/menu.js +0 -2
- package/dist/i18n/messages/menu.js.map +1 -1
- package/dist/i18n/messages/panels.d.ts +0 -16
- package/dist/i18n/messages/panels.d.ts.map +1 -1
- package/dist/i18n/messages/panels.js +0 -12
- package/dist/i18n/messages/panels.js.map +1 -1
- package/dist/i18n/messages/storage.d.ts +0 -3
- package/dist/i18n/messages/storage.d.ts.map +1 -1
- package/dist/i18n/messages/storage.js +0 -3
- package/dist/i18n/messages/storage.js.map +1 -1
- package/dist/i18n/messages/variables/panel.d.ts +0 -3
- package/dist/i18n/messages/variables/panel.d.ts.map +1 -1
- package/dist/i18n/messages/variables/panel.js +0 -1
- package/dist/i18n/messages/variables/panel.js.map +1 -1
- package/dist/i18n/messages.d.ts +25 -100
- package/dist/i18n/useI18n.d.ts +100 -336
- 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 +2 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js.map +1 -1
- package/package.json +18 -9
- package/dist/canvas/issues/index.d.ts +0 -2
- package/dist/canvas/issues/index.js +0 -2
- package/dist/canvas/issues/use.d.ts +0 -28
- package/dist/canvas/issues/use.d.ts.map +0 -1
- package/dist/canvas/issues/use.js +0 -74
- package/dist/canvas/issues/use.js.map +0 -1
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BgB,QAAA,IAAI"}
|
|
@@ -16,10 +16,10 @@ declare var __VLS_8: {
|
|
|
16
16
|
icon?: boolean | undefined;
|
|
17
17
|
shapeWithTextType?: import("@pairdraw/scene-graph/shape-with-text").ShapeWithTextType | undefined;
|
|
18
18
|
outline?: {
|
|
19
|
+
rotation: number;
|
|
19
20
|
type: import("@pairdraw/scene-graph").NodeType;
|
|
20
21
|
width: number;
|
|
21
22
|
height: number;
|
|
22
|
-
rotation: number;
|
|
23
23
|
cornerRadius: number;
|
|
24
24
|
topLeftRadius: number;
|
|
25
25
|
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":";;KA0TK;EACH;;iBAkKO,OAAO,YAAY,qBAAqB;iBAwBxC,aAAa;iBAeb,eAAe,MAAM;YA4H1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IArHkB,aAAA;;;;KAsHjB;EACD,WAAW,cAAc;;cAKvB,0BAAU,gBAAA,2CAAA,qCAAA;;;;;;;;;;;;0CAGd;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -68,9 +68,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
68
68
|
function patchTreeNode(id, changes) {
|
|
69
69
|
const reordersRows = "layoutMode" in changes && !!nodesById.get(id)?.children?.length;
|
|
70
70
|
if ("childIds" in changes || "parentId" in changes || reordersRows) {
|
|
71
|
-
|
|
71
|
+
scheduleTreeRebuild();
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
|
+
if (rebuildPending) return;
|
|
74
75
|
if (!Object.keys(changes).some((key) => PATCHABLE_NODE_KEYS.has(key))) return;
|
|
75
76
|
const target = nodesById.get(id);
|
|
76
77
|
const source = editor.graph.getNode(id);
|
|
@@ -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 } = defineProps<{\n indentPerLevel?: number\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 if ('childIds' in changes || 'parentId' in changes || reordersRows) {\n rebuildTree()\n return\n }\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 >\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":";;;;;;;;;;;;;;;;;;EAyBA,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,IAAY;GAC9B,IAAI,CAAC,SAAS,MAAM,SAAS,EAAE,GAAG,SAAS,QAAQ,CAAC,GAAG,SAAS,OAAO,EAAE;EAC3E;EAEA,MAAM,EAAE,YAAY,aAAa,qBAAqB,cAAc,aAClE,QACA,QAAA,gBACA,UACF;EAEA,IAAI,iBAAiB;EACrB,IAAI,eAAe;EAEnB,SAAS,cAAc;GACrB,iBAAiB;GACjB;GACA,MAAM,QAAQ,oBAAoB,OAAO,OAAO,OAAO,MAAM,aAAa;GAC1E,MAAM,QAAQ,MAAM;GACpB,YAAY,MAAM;GAClB,SAAS,QAAQ,SAAS,MAAM,QAAQ,OAAO,UAAU,IAAI,EAAE,CAAC;GAChE,YAAY;EACd;EAEA,SAAS,sBAAsB;GAC7B,IAAI,gBAAgB;GACpB,iBAAiB;GACjB,MAAM,QAAQ,EAAE;GAChB,qBAAqB;IACnB,IAAI,CA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W,MAAA,QAAA,GAAA;IApBD,UAAU,SAAA;IAAA,qBAAA,OAAA,OAAA,OAAA,MAAA,WAAA,SAAQ,QAAA;IAC1B,IAAG;IACH,OAAM;IACL,OAAO,MAAA;IACP,WAAS;IACT,gBAAc;;IAcb,SAAA,SAAA,EApBQ,mBAAY,CAQtB,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 } = defineProps<{\n indentPerLevel?: number\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 >\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":";;;;;;;;;;;;;;;;;;EAyBA,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,IAAY;GAC9B,IAAI,CAAC,SAAS,MAAM,SAAS,EAAE,GAAG,SAAS,QAAQ,CAAC,GAAG,SAAS,OAAO,EAAE;EAC3E;EAEA,MAAM,EAAE,YAAY,aAAa,qBAAqB,cAAc,aAClE,QACA,QAAA,gBACA,UACF;EAEA,IAAI,iBAAiB;EACrB,IAAI,eAAe;EAEnB,SAAS,cAAc;GACrB,iBAAiB;GACjB;GACA,MAAM,QAAQ,oBAAoB,OAAO,OAAO,OAAO,MAAM,aAAa;GAC1E,MAAM,QAAQ,MAAM;GACpB,YAAY,MAAM;GAClB,SAAS,QAAQ,SAAS,MAAM,QAAQ,OAAO,UAAU,IAAI,EAAE,CAAC;GAChE,YAAY;EACd;EAEA,SAAS,sBAAsB;GAC7B,IAAI,gBAAgB;GACpB,iBAAiB;GACjB,MAAM,QAAQ,EAAE;GAChB,qBAAqB;IACnB,IAAI,CAAC,kBAAkB,UAAU,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,YAsBW,MAAA,QAAA,GAAA;IApBD,UAAU,SAAA;IAAA,qBAAA,OAAA,OAAA,OAAA,MAAA,WAAA,SAAQ,QAAA;IAC1B,IAAG;IACH,OAAM;IACL,OAAO,MAAA;IACP,WAAS;IACT,gBAAc;;IAcb,SAAA,SAAA,EApBQ,mBAAY,CAQtB,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairdraw/vue",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.1",
|
|
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.16.
|
|
17
|
-
"@pairdraw/scene-graph": "^0.16.
|
|
16
|
+
"@pairdraw/dom-css": "^0.16.1",
|
|
17
|
+
"@pairdraw/scene-graph": "^0.16.1",
|
|
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.16.
|
|
27
|
+
"@pairdraw/core": "^0.16.1",
|
|
28
28
|
"canvaskit-wasm": ">=0.41.1",
|
|
29
29
|
"vue": "^3.5.41"
|
|
30
30
|
},
|
|
@@ -44,11 +44,6 @@
|
|
|
44
44
|
"import": "./dist/canvas/drop/index.js",
|
|
45
45
|
"default": "./dist/canvas/drop/index.js"
|
|
46
46
|
},
|
|
47
|
-
"./canvas/issues": {
|
|
48
|
-
"types": "./dist/canvas/issues/index.d.ts",
|
|
49
|
-
"import": "./dist/canvas/issues/index.js",
|
|
50
|
-
"default": "./dist/canvas/issues/index.js"
|
|
51
|
-
},
|
|
52
47
|
"./canvas/labels": {
|
|
53
48
|
"types": "./dist/canvas/labels/index.d.ts",
|
|
54
49
|
"import": "./dist/canvas/labels/index.js",
|
|
@@ -440,6 +435,20 @@
|
|
|
440
435
|
"default": "./dist/variables/index.js"
|
|
441
436
|
}
|
|
442
437
|
},
|
|
438
|
+
"description": "Headless Vue 3 SDK for building Pairdraw-powered editors.",
|
|
439
|
+
"keywords": [
|
|
440
|
+
"pairdraw",
|
|
441
|
+
"vue",
|
|
442
|
+
"design",
|
|
443
|
+
"editor",
|
|
444
|
+
"sdk",
|
|
445
|
+
"headless"
|
|
446
|
+
],
|
|
447
|
+
"author": "Badryansah Bangsawan",
|
|
448
|
+
"homepage": "https://github.com/BadryansahBangsawan/pairdraw/tree/main/packages/vue#readme",
|
|
449
|
+
"bugs": {
|
|
450
|
+
"url": "https://github.com/BadryansahBangsawan/pairdraw/issues"
|
|
451
|
+
},
|
|
443
452
|
"type": "module",
|
|
444
453
|
"sideEffects": false,
|
|
445
454
|
"repository": {
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Ref } from "vue";
|
|
2
|
-
import { PlacedIssueMarker } from "@pairdraw/core/canvas";
|
|
3
|
-
import { Editor } from "@pairdraw/core";
|
|
4
|
-
//#region src/canvas/issues/use.d.ts
|
|
5
|
-
interface CanvasIssueMarkerOptions {
|
|
6
|
-
/** Marker under a point in canvas-element CSS pixels; `useCanvas()` returns one. */
|
|
7
|
-
hitTest: (screenX: number, screenY: number) => PlacedIssueMarker | null;
|
|
8
|
-
/** Called when the pointer enters, moves between, or leaves markers. */
|
|
9
|
-
onHover?: (marker: PlacedIssueMarker | null) => void;
|
|
10
|
-
/** Called on a primary click on a marker; the click never reaches selection or tools. */
|
|
11
|
-
onActivate?: (marker: PlacedIssueMarker, event: MouseEvent) => void;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Makes design issue markers on an overlay canvas hoverable and clickable.
|
|
15
|
-
*
|
|
16
|
-
* Listeners run in the capture phase so a marker click is consumed before canvas input starts a
|
|
17
|
-
* selection, marquee or drag. The hovered marker is cleared when the viewport moves, because the
|
|
18
|
-
* marker layout it refers to is replaced on the next frame.
|
|
19
|
-
*/
|
|
20
|
-
declare function useCanvasIssueMarkers(canvasRef: Ref<HTMLCanvasElement | null>, editor: Editor, options: CanvasIssueMarkerOptions): {
|
|
21
|
-
hoveredMarker: import("vue").ShallowRef<PlacedIssueMarker | null, PlacedIssueMarker | null>;
|
|
22
|
-
/** The hovered marker unless a click dismissed its details. */
|
|
23
|
-
detailMarker: import("vue").ComputedRef<PlacedIssueMarker | null>;
|
|
24
|
-
cursor: import("vue").ComputedRef<"pointer" | null>;
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
export { CanvasIssueMarkerOptions, useCanvasIssueMarkers };
|
|
28
|
-
//# sourceMappingURL=use.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use.d.ts","names":[],"sources":["../../../src/canvas/issues/use.ts"],"mappings":";;;;UAMiB;;EAEf,UAAU,iBAAiB,oBAAoB;;EAE/C,WAAW,QAAQ;;EAEnB,cAAc,QAAQ,mBAAmB,OAAO;;;;;;;;;iBAUlC,sBACd,WAAW,IAAI,2BACf,QAAQ,QACR,SAAS"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { computed, onScopeDispose, shallowRef } from "vue";
|
|
2
|
-
import { useEventListener } from "@vueuse/core";
|
|
3
|
-
//#region src/canvas/issues/use.ts
|
|
4
|
-
/**
|
|
5
|
-
* Makes design issue markers on an overlay canvas hoverable and clickable.
|
|
6
|
-
*
|
|
7
|
-
* Listeners run in the capture phase so a marker click is consumed before canvas input starts a
|
|
8
|
-
* selection, marquee or drag. The hovered marker is cleared when the viewport moves, because the
|
|
9
|
-
* marker layout it refers to is replaced on the next frame.
|
|
10
|
-
*/
|
|
11
|
-
function useCanvasIssueMarkers(canvasRef, editor, options) {
|
|
12
|
-
const hoveredMarker = shallowRef(null);
|
|
13
|
-
/** Set by a click; the marker's details stay closed until the pointer moves to another one. */
|
|
14
|
-
const dismissed = shallowRef(false);
|
|
15
|
-
function localPoint(event) {
|
|
16
|
-
const canvas = canvasRef.value;
|
|
17
|
-
if (!canvas) return null;
|
|
18
|
-
const rect = canvas.getBoundingClientRect();
|
|
19
|
-
return {
|
|
20
|
-
x: event.clientX - rect.left,
|
|
21
|
-
y: event.clientY - rect.top
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
function setHovered(marker) {
|
|
25
|
-
const previous = hoveredMarker.value;
|
|
26
|
-
if (previous?.key === marker?.key && previous?.count === marker?.count) return;
|
|
27
|
-
hoveredMarker.value = marker;
|
|
28
|
-
editor.setHoveredIssueMarker(marker?.key ?? null);
|
|
29
|
-
options.onHover?.(marker);
|
|
30
|
-
}
|
|
31
|
-
function onMouseMove(event) {
|
|
32
|
-
if (event.buttons !== 0) {
|
|
33
|
-
setHovered(null);
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const point = localPoint(event);
|
|
37
|
-
const marker = point ? options.hitTest(point.x, point.y) : null;
|
|
38
|
-
if (marker?.key !== hoveredMarker.value?.key) dismissed.value = false;
|
|
39
|
-
setHovered(marker);
|
|
40
|
-
if (!marker) return;
|
|
41
|
-
editor.setHoveredNode(null);
|
|
42
|
-
event.stopImmediatePropagation();
|
|
43
|
-
}
|
|
44
|
-
function onMouseDown(event) {
|
|
45
|
-
if (event.button !== 0) return;
|
|
46
|
-
const point = localPoint(event);
|
|
47
|
-
const marker = point ? options.hitTest(point.x, point.y) : null;
|
|
48
|
-
if (!marker) return;
|
|
49
|
-
event.preventDefault();
|
|
50
|
-
event.stopImmediatePropagation();
|
|
51
|
-
dismissed.value = true;
|
|
52
|
-
options.onActivate?.(marker, event);
|
|
53
|
-
}
|
|
54
|
-
useEventListener(canvasRef, "mousemove", onMouseMove, { capture: true });
|
|
55
|
-
useEventListener(canvasRef, "mousedown", onMouseDown, { capture: true });
|
|
56
|
-
useEventListener(canvasRef, "mouseleave", () => setHovered(null));
|
|
57
|
-
const stopViewport = editor.onEditorEvent("viewport:changed", () => setHovered(null));
|
|
58
|
-
const stopPage = editor.onEditorEvent("page:changed", () => setHovered(null));
|
|
59
|
-
onScopeDispose(() => {
|
|
60
|
-
stopViewport();
|
|
61
|
-
stopPage();
|
|
62
|
-
if (hoveredMarker.value) editor.setHoveredIssueMarker(null);
|
|
63
|
-
});
|
|
64
|
-
return {
|
|
65
|
-
hoveredMarker,
|
|
66
|
-
/** The hovered marker unless a click dismissed its details. */
|
|
67
|
-
detailMarker: computed(() => dismissed.value ? null : hoveredMarker.value),
|
|
68
|
-
cursor: computed(() => hoveredMarker.value ? "pointer" : null)
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
//#endregion
|
|
72
|
-
export { useCanvasIssueMarkers };
|
|
73
|
-
|
|
74
|
-
//# sourceMappingURL=use.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use.js","names":[],"sources":["../../../src/canvas/issues/use.ts"],"sourcesContent":["import { useEventListener } from '@vueuse/core'\nimport { computed, onScopeDispose, shallowRef, type Ref } from 'vue'\n\nimport type { Editor } from '@pairdraw/core'\nimport type { PlacedIssueMarker } from '@pairdraw/core/canvas'\n\nexport interface CanvasIssueMarkerOptions {\n /** Marker under a point in canvas-element CSS pixels; `useCanvas()` returns one. */\n hitTest: (screenX: number, screenY: number) => PlacedIssueMarker | null\n /** Called when the pointer enters, moves between, or leaves markers. */\n onHover?: (marker: PlacedIssueMarker | null) => void\n /** Called on a primary click on a marker; the click never reaches selection or tools. */\n onActivate?: (marker: PlacedIssueMarker, event: MouseEvent) => void\n}\n\n/**\n * Makes design issue markers on an overlay canvas hoverable and clickable.\n *\n * Listeners run in the capture phase so a marker click is consumed before canvas input starts a\n * selection, marquee or drag. The hovered marker is cleared when the viewport moves, because the\n * marker layout it refers to is replaced on the next frame.\n */\nexport function useCanvasIssueMarkers(\n canvasRef: Ref<HTMLCanvasElement | null>,\n editor: Editor,\n options: CanvasIssueMarkerOptions\n) {\n const hoveredMarker = shallowRef<PlacedIssueMarker | null>(null)\n /** Set by a click; the marker's details stay closed until the pointer moves to another one. */\n const dismissed = shallowRef(false)\n\n function localPoint(event: MouseEvent) {\n const canvas = canvasRef.value\n if (!canvas) return null\n const rect = canvas.getBoundingClientRect()\n return { x: event.clientX - rect.left, y: event.clientY - rect.top }\n }\n\n function setHovered(marker: PlacedIssueMarker | null) {\n const previous = hoveredMarker.value\n if (previous?.key === marker?.key && previous?.count === marker?.count) return\n hoveredMarker.value = marker\n editor.setHoveredIssueMarker(marker?.key ?? null)\n options.onHover?.(marker)\n }\n\n function onMouseMove(event: MouseEvent) {\n if (event.buttons !== 0) {\n setHovered(null)\n return\n }\n const point = localPoint(event)\n const marker = point ? options.hitTest(point.x, point.y) : null\n if (marker?.key !== hoveredMarker.value?.key) dismissed.value = false\n setHovered(marker)\n if (!marker) return\n editor.setHoveredNode(null)\n event.stopImmediatePropagation()\n }\n\n function onMouseDown(event: MouseEvent) {\n if (event.button !== 0) return\n const point = localPoint(event)\n const marker = point ? options.hitTest(point.x, point.y) : null\n if (!marker) return\n event.preventDefault()\n event.stopImmediatePropagation()\n dismissed.value = true\n options.onActivate?.(marker, event)\n }\n\n useEventListener(canvasRef, 'mousemove', onMouseMove, { capture: true })\n useEventListener(canvasRef, 'mousedown', onMouseDown, { capture: true })\n useEventListener(canvasRef, 'mouseleave', () => setHovered(null))\n const stopViewport = editor.onEditorEvent('viewport:changed', () => setHovered(null))\n const stopPage = editor.onEditorEvent('page:changed', () => setHovered(null))\n onScopeDispose(() => {\n stopViewport()\n stopPage()\n if (hoveredMarker.value) editor.setHoveredIssueMarker(null)\n })\n\n return {\n hoveredMarker,\n /** The hovered marker unless a click dismissed its details. */\n detailMarker: computed(() => (dismissed.value ? null : hoveredMarker.value)),\n cursor: computed(() => (hoveredMarker.value ? 'pointer' : null))\n }\n}\n"],"mappings":";;;;;;;;;;AAsBA,SAAgB,sBACd,WACA,QACA,SACA;CACA,MAAM,gBAAgB,WAAqC,IAAI;;CAE/D,MAAM,YAAY,WAAW,KAAK;CAElC,SAAS,WAAW,OAAmB;EACrC,MAAM,SAAS,UAAU;EACzB,IAAI,CAAC,QAAQ,OAAO;EACpB,MAAM,OAAO,OAAO,sBAAsB;EAC1C,OAAO;GAAE,GAAG,MAAM,UAAU,KAAK;GAAM,GAAG,MAAM,UAAU,KAAK;EAAI;CACrE;CAEA,SAAS,WAAW,QAAkC;EACpD,MAAM,WAAW,cAAc;EAC/B,IAAI,UAAU,QAAQ,QAAQ,OAAO,UAAU,UAAU,QAAQ,OAAO;EACxE,cAAc,QAAQ;EACtB,OAAO,sBAAsB,QAAQ,OAAO,IAAI;EAChD,QAAQ,UAAU,MAAM;CAC1B;CAEA,SAAS,YAAY,OAAmB;EACtC,IAAI,MAAM,YAAY,GAAG;GACvB,WAAW,IAAI;GACf;EACF;EACA,MAAM,QAAQ,WAAW,KAAK;EAC9B,MAAM,SAAS,QAAQ,QAAQ,QAAQ,MAAM,GAAG,MAAM,CAAC,IAAI;EAC3D,IAAI,QAAQ,QAAQ,cAAc,OAAO,KAAK,UAAU,QAAQ;EAChE,WAAW,MAAM;EACjB,IAAI,CAAC,QAAQ;EACb,OAAO,eAAe,IAAI;EAC1B,MAAM,yBAAyB;CACjC;CAEA,SAAS,YAAY,OAAmB;EACtC,IAAI,MAAM,WAAW,GAAG;EACxB,MAAM,QAAQ,WAAW,KAAK;EAC9B,MAAM,SAAS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