@liuovo/agentation-vue-ui 0.0.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/LICENSE +27 -0
- package/README.md +32 -0
- package/dist/components/icons.d.ts +63 -0
- package/dist/components/icons.d.ts.map +1 -0
- package/dist/components/icons.js +396 -0
- package/dist/components/icons.js.map +1 -0
- package/dist/composables/useAnnotationsStore.d.ts +30 -0
- package/dist/composables/useAnnotationsStore.d.ts.map +1 -0
- package/dist/composables/useAnnotationsStore.js +234 -0
- package/dist/composables/useAnnotationsStore.js.map +1 -0
- package/dist/composables/useAreaSelection.d.ts +19 -0
- package/dist/composables/useAreaSelection.d.ts.map +1 -0
- package/dist/composables/useAreaSelection.js +58 -0
- package/dist/composables/useAreaSelection.js.map +1 -0
- package/dist/composables/useExport.d.ts +17 -0
- package/dist/composables/useExport.d.ts.map +1 -0
- package/dist/composables/useExport.js +51 -0
- package/dist/composables/useExport.js.map +1 -0
- package/dist/composables/useFreezeState.d.ts +22 -0
- package/dist/composables/useFreezeState.d.ts.map +1 -0
- package/dist/composables/useFreezeState.js +28 -0
- package/dist/composables/useFreezeState.js.map +1 -0
- package/dist/composables/useI18n.d.ts +14 -0
- package/dist/composables/useI18n.d.ts.map +1 -0
- package/dist/composables/useI18n.js +18 -0
- package/dist/composables/useI18n.js.map +1 -0
- package/dist/composables/useKeyboard.d.ts +30 -0
- package/dist/composables/useKeyboard.d.ts.map +1 -0
- package/dist/composables/useKeyboard.js +122 -0
- package/dist/composables/useKeyboard.js.map +1 -0
- package/dist/composables/useOverlay.d.ts +27 -0
- package/dist/composables/useOverlay.d.ts.map +1 -0
- package/dist/composables/useOverlay.js +93 -0
- package/dist/composables/useOverlay.js.map +1 -0
- package/dist/composables/useSelection.d.ts +17 -0
- package/dist/composables/useSelection.d.ts.map +1 -0
- package/dist/composables/useSelection.js +38 -0
- package/dist/composables/useSelection.js.map +1 -0
- package/dist/composables/useSettings.d.ts +75 -0
- package/dist/composables/useSettings.d.ts.map +1 -0
- package/dist/composables/useSettings.js +115 -0
- package/dist/composables/useSettings.js.map +1 -0
- package/dist/composables/useToolbarDrag.d.ts +28 -0
- package/dist/composables/useToolbarDrag.d.ts.map +1 -0
- package/dist/composables/useToolbarDrag.js +253 -0
- package/dist/composables/useToolbarDrag.js.map +1 -0
- package/dist/i18n/en.d.ts +3 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/en.js +85 -0
- package/dist/i18n/en.js.map +1 -0
- package/dist/i18n/index.d.ts +11 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +23 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/i18n/types.d.ts +90 -0
- package/dist/i18n/types.d.ts.map +1 -0
- package/dist/i18n/types.js +2 -0
- package/dist/i18n/types.js.map +1 -0
- package/dist/i18n/zh-CN.d.ts +3 -0
- package/dist/i18n/zh-CN.d.ts.map +1 -0
- package/dist/i18n/zh-CN.js +85 -0
- package/dist/i18n/zh-CN.js.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/injection-keys.d.ts +18 -0
- package/dist/injection-keys.d.ts.map +1 -0
- package/dist/injection-keys.js +9 -0
- package/dist/injection-keys.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types.d.ts +83 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +7 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +13 -0
- package/dist/utils.js.map +1 -0
- package/package.json +47 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Injection keys
|
|
2
|
+
export { AREA_SELECTION_KEY, ANNOTATIONS_STORE_KEY, I18N_KEY, OVERLAY_KEY, RUNTIME_BRIDGE_KEY, SELECTION_KEY, SETTINGS_KEY, } from "./injection-keys.js";
|
|
3
|
+
export { DEFAULT_LOCALE, SUPPORTED_LOCALES, LOCALE_LABELS, isValidLocale, resolveMessages, } from "./i18n/index.js";
|
|
4
|
+
export { createI18nState } from "./composables/useI18n.js";
|
|
5
|
+
export { createAnnotationsStore } from "./composables/useAnnotationsStore.js";
|
|
6
|
+
export { createSelectionState } from "./composables/useSelection.js";
|
|
7
|
+
export { createAreaSelectionState } from "./composables/useAreaSelection.js";
|
|
8
|
+
export { createOverlayState } from "./composables/useOverlay.js";
|
|
9
|
+
export { createSettingsState } from "./composables/useSettings.js";
|
|
10
|
+
export { createExportActions } from "./composables/useExport.js";
|
|
11
|
+
export { useKeyboardShortcuts } from "./composables/useKeyboard.js";
|
|
12
|
+
// Components
|
|
13
|
+
export { default as OverlayRoot } from "./components/OverlayRoot.vue";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,iBAAiB;AACjB,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,YAAY,GACb,MAAM,qBAAqB,CAAA;AAI5B,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,eAAe,GAChB,MAAM,iBAAiB,CAAA;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAI1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAE7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AAEpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAA;AAE5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAElE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAEnE,aAAa;AACb,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { InjectionKey } from "vue";
|
|
2
|
+
import type { RuntimeBridge } from "./types.js";
|
|
3
|
+
import type { AnnotationsStore } from "./composables/useAnnotationsStore.js";
|
|
4
|
+
import type { AreaSelectionState } from "./composables/useAreaSelection.js";
|
|
5
|
+
import type { SelectionState } from "./composables/useSelection.js";
|
|
6
|
+
import type { OverlayState } from "./composables/useOverlay.js";
|
|
7
|
+
import type { SettingsState } from "./composables/useSettings.js";
|
|
8
|
+
import type { I18nState } from "./composables/useI18n.js";
|
|
9
|
+
import type { FreezeState } from "./composables/useFreezeState.js";
|
|
10
|
+
export declare const RUNTIME_BRIDGE_KEY: InjectionKey<RuntimeBridge>;
|
|
11
|
+
export declare const ANNOTATIONS_STORE_KEY: InjectionKey<AnnotationsStore>;
|
|
12
|
+
export declare const SELECTION_KEY: InjectionKey<SelectionState>;
|
|
13
|
+
export declare const AREA_SELECTION_KEY: InjectionKey<AreaSelectionState>;
|
|
14
|
+
export declare const OVERLAY_KEY: InjectionKey<OverlayState>;
|
|
15
|
+
export declare const SETTINGS_KEY: InjectionKey<SettingsState>;
|
|
16
|
+
export declare const I18N_KEY: InjectionKey<I18nState>;
|
|
17
|
+
export declare const FREEZE_KEY: InjectionKey<FreezeState>;
|
|
18
|
+
//# sourceMappingURL=injection-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injection-keys.d.ts","sourceRoot":"","sources":["../src/injection-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAElE,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,aAAa,CAAuC,CAAA;AAClG,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAAC,gBAAgB,CAA0C,CAAA;AAC3G,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,cAAc,CAAkC,CAAA;AACzF,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,kBAAkB,CAAuC,CAAA;AACvG,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,YAAY,CAAgC,CAAA;AACnF,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,aAAa,CAAiC,CAAA;AACtF,eAAO,MAAM,QAAQ,EAAE,YAAY,CAAC,SAAS,CAA6B,CAAA;AAC1E,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,WAAW,CAA+B,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const RUNTIME_BRIDGE_KEY = Symbol("agentation-runtime-bridge");
|
|
2
|
+
export const ANNOTATIONS_STORE_KEY = Symbol("agentation-annotations-store");
|
|
3
|
+
export const SELECTION_KEY = Symbol("agentation-selection");
|
|
4
|
+
export const AREA_SELECTION_KEY = Symbol("agentation-area-selection");
|
|
5
|
+
export const OVERLAY_KEY = Symbol("agentation-overlay");
|
|
6
|
+
export const SETTINGS_KEY = Symbol("agentation-settings");
|
|
7
|
+
export const I18N_KEY = Symbol("agentation-i18n");
|
|
8
|
+
export const FREEZE_KEY = Symbol("agentation-freeze");
|
|
9
|
+
//# sourceMappingURL=injection-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injection-keys.js","sourceRoot":"","sources":["../src/injection-keys.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,kBAAkB,GAAgC,MAAM,CAAC,2BAA2B,CAAC,CAAA;AAClG,MAAM,CAAC,MAAM,qBAAqB,GAAmC,MAAM,CAAC,8BAA8B,CAAC,CAAA;AAC3G,MAAM,CAAC,MAAM,aAAa,GAAiC,MAAM,CAAC,sBAAsB,CAAC,CAAA;AACzF,MAAM,CAAC,MAAM,kBAAkB,GAAqC,MAAM,CAAC,2BAA2B,CAAC,CAAA;AACvG,MAAM,CAAC,MAAM,WAAW,GAA+B,MAAM,CAAC,oBAAoB,CAAC,CAAA;AACnF,MAAM,CAAC,MAAM,YAAY,GAAgC,MAAM,CAAC,qBAAqB,CAAC,CAAA;AACtF,MAAM,CAAC,MAAM,QAAQ,GAA4B,MAAM,CAAC,iBAAiB,CAAC,CAAA;AAC1E,MAAM,CAAC,MAAM,UAAU,GAA8B,MAAM,CAAC,mBAAmB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@vue+shared@3.5.29/node_modules/@vue/shared/dist/shared.d.ts","../../../node_modules/.pnpm/@babel+types@7.29.0/node_modules/@babel/types/lib/index.d.ts","../../../node_modules/.pnpm/@babel+parser@7.29.0/node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/.pnpm/@vue+compiler-core@3.5.29/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","../../../node_modules/.pnpm/@vue+compiler-dom@3.5.29/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts","../../../node_modules/.pnpm/@vue+reactivity@3.5.29/node_modules/@vue/reactivity/dist/reactivity.d.ts","../../../node_modules/.pnpm/@vue+runtime-core@3.5.29/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","../../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@vue+runtime-dom@3.5.29/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","../../../node_modules/.pnpm/vue@3.5.29_typescript@5.9.3/node_modules/vue/dist/vue.d.mts","../src/env.d.ts","../../../node_modules/.pnpm/vue@3.5.29_typescript@5.9.3/node_modules/vue/jsx-runtime/index.d.ts","../../core/dist/types/annotation.d.ts","../../core/dist/types/session.d.ts","../../core/dist/types/index.d.ts","../../core/dist/dom/element-identification.d.ts","../../core/dist/dom/index.d.ts","../../core/dist/storage/storage.d.ts","../../core/dist/storage/index.d.ts","../../core/dist/transport/sync.d.ts","../../core/dist/transport/index.d.ts","../../core/dist/export/format-markdown.d.ts","../../core/dist/export/format-json.d.ts","../../core/dist/export/index.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/composables/useAnnotationsStore.ts","../src/composables/useAreaSelection.ts","../src/composables/useSelection.ts","../src/composables/useOverlay.ts","../src/i18n/types.ts","../src/i18n/en.ts","../src/i18n/zh-CN.ts","../src/i18n/index.ts","../src/composables/useSettings.ts","../src/composables/useI18n.ts","../../core/dist/dom/freeze-animations.d.ts","../src/composables/useFreezeState.ts","../src/injection-keys.ts","../src/composables/useExport.ts","../src/composables/useKeyboard.ts","../src/index.ts","../src/utils.ts","../src/components/icons.ts","../../../node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.29_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.d.ts","../../../node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.29_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.d.ts","../src/composables/useToolbarDrag.ts"],"fileIdsList":[[60],[59,60,61],[62],[59],[59,64,65,67],[64,65,66,67],[68,103],[68],[63,67],[67],[74],[73,80],[73],[80,81],[73,75,77,79,82],[76],[78],[71,72],[71],[68,70],[68,70,83,84],[68,70,84],[68,70,85,93,96],[68,70,95],[68,70,89,92],[68,70,85,87,88,93,96,98],[68,70,83,87],[68,70,83,89,92],[68,70,104],[70,89],[70,89,90,91],[70,83],[69,70,84,85,86,87,88,89,92,93,94,97,98,99],[68,70,84,85,86,87,88,93,94,96]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"f468b74459f1ad4473b36a36d49f2b255f3c6b5d536c81239c2b2971df089eaf","impliedFormat":1},{"version":"556ccd493ec36c7d7cb130d51be66e147b91cc1415be383d71da0f1e49f742a9","impliedFormat":1},{"version":"95aba78013d782537cc5e23868e736bec5d377b918990e28ed56110e3ae8b958","impliedFormat":1},{"version":"524a409ad72186b7f6cb16898c349465cfa876f641d6cb6137b3123d5cfca619","impliedFormat":1},{"version":"ebe84ad8344962b7117a3b95065f47383215020eaf1b626463863b45b4d16e62","impliedFormat":1},{"version":"de5abbc02627403ac5796572520dc2b42df54f1257e7218a9ef37509d9b56972","impliedFormat":1},{"version":"8fefccf7758a68c7053d9830ba385f45300b612807629f3559630988abeca71b","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"0e0542f4d578424ae30421da410c0efb116a350dabaf63c4635ce41f5551ba1f","impliedFormat":1},{"version":"c0191592be8eb7906f99ac4b8798d80a585b94001ea1a5f50d6ce5b0d13a5c62","impliedFormat":99},"a539d39a24962ce32e8ef7a5af8c706a9461528abc40507c38221f4fb37e9854",{"version":"318d19118bf6bf8d088441c948990f53cafc79ed581b78f3d41a0f7a3f5f145c","impliedFormat":1},"6cdde459869272a7506383009cd37f5ce6984495376f3d60b49c25c2604c8af1","686e4967732e23c4ca04ac96bae92491fa19b8e8f03ccb4e6102297f1ae5bf30","b40b758e43b7ed29667c925573ecfd983f03a31ff3bd8afa68b96de4f223f18f","a572d8cb9ab0dc684723d828c9d662f6c05e2e357e0dc3b1e2668d4d1360a020","7b9cd912ced5c3488327bf54934f2cb6039f1770de77cc8f55f089e50ad0f6bf","72e169e0f2dc2166b4119c84adafccb84bfbc501c43b17351482d219769ef6af","bca9270a2f7e49a577ed04d1eadf843442d32f596dfea44f1f58011ea639454f","16a1ee69d11a84d5a671d41e4ff6a83121f359bf8985ae96d22676c302f6e907","57e4c3ace90a8d3825b5f969b468867d7fe6a6ffe11152434242e2dfbd4b0f91","78c7811c1bdc9671fa3682afcbf23a72a362f5e88a0bf4f5def38cb39beeb5f8","e9f19003356502d60dd8a91d29284bf3ff1386ccbda34ca20681f74bbf2a306c","b672795237b4ada87154a531927fb431dc0c8329befc944c5aab0c0499a2826f","5009dffa4f8a6694cbe3fb8b9b0af79c37f16b00693ba62144ff947a02e892f1",{"version":"6d1a20bf8e6bb8fcc45df428ee0c241bb7d7f1bdddfa084edb9e687d860ae109","signature":"dd39a7844ec7b20b7be079a97353484aaf0b0a59e829d91ace1c8ddcec5ef3f2"},{"version":"37f32341066c044322de9ac2ee57ffed6701c907239436d0552e3538a4bd52b4","signature":"2da088c12c0f7b5b5573f9faa04ab0d7cd93daa3592472b3626bfba61c484f4c"},{"version":"e4e39434972c98fbde130b5f21fcb2ff0adcd504a14fb820a2695be3c6977a92","signature":"a09c0bf353b693d2a3540593cdc3cac62d4752463087e84d418d8440eafc66b5"},{"version":"16be9983a6e5ceff4660ed775d1d387a135d3b1461521ffd21a177e9900dd78a","signature":"7302ff510639bafd5043f3e1cc1c7bf3a71525f7e3e8893b7188aa27e301c628"},{"version":"a992911d9ec51dbf2934b6c74c6cbc010fb6d6d36be19284a4ab1b23ae1ce4a6","signature":"52ddf16845ba81fde100396d59e37cc4838a42de5c565e22c2a28482b87e99eb"},{"version":"241703ee53c84ff927f85c0b053d6864baf04af1ba4d1944ac12e15de4e5e911","signature":"12ea1ad9cea9e956bf2960982b21b3e0ebb012d905010de493f59fcd96a0af60"},{"version":"74c02efb8b6ab31149d1ba3f2d0d5d33cae1641dd57565b1c111ad3c9530da30","signature":"805c5d86cefadeb93dc210c2744061f51471780fba4cf21ad2e229e7ca550fda"},{"version":"9ca5dc265fddd80b2461a125a2c237349dbc5d9946e9dbf56c5c530559fd7c07","signature":"a90810be215f2118e10b829e13b73b7893824fe530a24991dc67e80e1b426462"},{"version":"0e2613d5e37c2337a279b4b4b989bf117b6fb23302969992d76042bffe70c8f3","signature":"9c6d35aae69a778161029be1f43b0a04269856cfb80cb4a7fd5e89885821c585"},{"version":"f44390c2cc14bdf5e6a7e677005a21f90ab5e7404e45c6646e88868e47e9cb75","signature":"1ff8cbcb93dc795e8382cdde53237e0b7002cf6d285da583921d9c5d5e15591a"},{"version":"709629825575661c7889117eb0b2c109f6e93358996ece6871c1159aabe0e8fe","signature":"5b893a4dc827d429c7eff2c6bc2a38a08deda11f2d84d9421c9a7521b0761f4f"},"2e7db5e52db4d32af48ad5103e73a334d9480368eebc6686880754edb04d5ee3",{"version":"8fc04a1bd169c69fd0f74c6a6d294dd9e2aade77064b88d37d860c6d81e041c7","signature":"25d861bd6e8edacc4c85d76b0a2433368126075899fd8f3b3e92bf3bfcf3fb0f"},{"version":"a84e1c30f275ab59f99132314b3afce3eed6940c768c52ed1f00fc7cece1550b","signature":"006a39010268680364199a6918ea6e387c680480278e34fc03e4375e1f873860"},{"version":"2c29df31b58aee45221b4f7bc2624e5112bae27ecc6b8f951dc111c565f9eed6","signature":"b77b88ce4e11f50f8e8786e44c6081fcac92a5725b09fa8ed5cb648ed8c60d4f"},{"version":"0e153f1ebbc29aeb17bc6a7eb551123fd41b02a03c6d94d37986a2857c8cd244","signature":"1acc3843bd8c93b7c6331efcdf36952bb85e36824b0910c715ef8b77741ee7c1"},{"version":"e90c8c3049c6e286bca19a10e003c537f487b66931e6be90edf7131d924b228f","signature":"3a2617bc1cf399e6e83ca287a3180677b7dfb917743b561b34a3e80f5d507c47"},{"version":"2a25ec4e7fe638025af708f0346bcdf926af4a85e34f0af24fbe2f01ed1e74d5","signature":"08479564717bc9ad1911a16b35c04bf2311ca5d7ae59b966cf709d750c579b4c"},{"version":"25a44f307b2284aebca866e991332afb0abaa588b4485bba6b2cbfab9550a196","signature":"e28967d06da797886c832a9c9a00b533587bcfd9c1143077851f66288921c513"},{"version":"26fe3e094a1808a81e30e90bd3460b02b7f44a931caeef70147b4748fd9b15e7","impliedFormat":99},{"version":"230543a9c847c827e171cfb075a0a243355b6a193258c87740ef790a1a0160b9","impliedFormat":99},{"version":"587c184165b63258e0d64d2e73f6ef1020efb0e683cb0880856b23295672b1d0","signature":"a19ba784acb57120ec9b8dffd757bab172e7239d8044ecff41f162a97100cb75"}],"root":[69,[84,94],[96,102],105],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"vue","module":99,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[61,1],[62,2],[63,3],[64,4],[65,5],[67,6],[104,7],[103,8],[68,9],[70,10],[75,11],[81,12],[80,13],[82,14],[83,15],[77,16],[76,13],[79,17],[78,13],[73,18],[72,19],[102,20],[85,21],[86,22],[98,23],[96,24],[94,25],[99,26],[88,27],[87,22],[93,28],[105,29],[69,8],[90,30],[92,31],[89,32],[91,30],[100,33],[97,34],[84,32],[101,20]],"latestChangedDtsFile":"./composables/useToolbarDrag.d.ts","version":"5.9.3"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { AnnotationV2, OutputDetailLevel, SourceLocation, StorageOptions } from "@liuovo/agentation-vue-core";
|
|
2
|
+
export interface UiNotification {
|
|
3
|
+
message: string;
|
|
4
|
+
kind?: "info" | "warning" | "error";
|
|
5
|
+
duration?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface RuntimeStorageBridge {
|
|
8
|
+
options: StorageOptions;
|
|
9
|
+
load(): AnnotationV2[];
|
|
10
|
+
save(annotations: AnnotationV2[]): void;
|
|
11
|
+
clear(): void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Sync bridge — optional, created when `sync` config is provided.
|
|
15
|
+
* Handles debounced annotation syncing to the MCP server.
|
|
16
|
+
*/
|
|
17
|
+
export interface RuntimeSyncBridge {
|
|
18
|
+
/** Perform initial sync (flush any unsynced annotations). */
|
|
19
|
+
init(): Promise<void>;
|
|
20
|
+
/** Enqueue an annotation for upsert to the server. */
|
|
21
|
+
enqueueUpsert(annotation: AnnotationV2): void;
|
|
22
|
+
/** Enqueue an annotation update to the server. */
|
|
23
|
+
enqueueUpdate(annotation: AnnotationV2): void;
|
|
24
|
+
/** Enqueue a delete for the given annotation. */
|
|
25
|
+
enqueueDelete(annotation: AnnotationV2): void;
|
|
26
|
+
}
|
|
27
|
+
export interface RuntimeBridge {
|
|
28
|
+
appRoot: HTMLDivElement;
|
|
29
|
+
overlayRoot: HTMLDivElement;
|
|
30
|
+
options: {
|
|
31
|
+
outputDetail: OutputDetailLevel;
|
|
32
|
+
};
|
|
33
|
+
storage: RuntimeStorageBridge;
|
|
34
|
+
/** Optional sync bridge — present when sync is configured. */
|
|
35
|
+
sync?: RuntimeSyncBridge;
|
|
36
|
+
/** Emit a UI notification to the overlay. */
|
|
37
|
+
notify?(notification: UiNotification): void;
|
|
38
|
+
/** Subscribe to UI notifications emitted through the runtime bridge. */
|
|
39
|
+
subscribeNotifications?(listener: (notification: UiNotification) => void): () => void;
|
|
40
|
+
/** Resolve a DOM element to its Vue source location. */
|
|
41
|
+
resolveSource(el: HTMLElement): SourceLocation | null;
|
|
42
|
+
}
|
|
43
|
+
/** Document-space bounding box (relative to page, not viewport). */
|
|
44
|
+
export interface BoundingBox {
|
|
45
|
+
x: number;
|
|
46
|
+
y: number;
|
|
47
|
+
width: number;
|
|
48
|
+
height: number;
|
|
49
|
+
}
|
|
50
|
+
/** Viewport-space rectangle used during drag selection. */
|
|
51
|
+
export interface AreaSelectionRect {
|
|
52
|
+
top: number;
|
|
53
|
+
left: number;
|
|
54
|
+
width: number;
|
|
55
|
+
height: number;
|
|
56
|
+
right: number;
|
|
57
|
+
bottom: number;
|
|
58
|
+
}
|
|
59
|
+
/** An element matched during drag-to-select area selection. */
|
|
60
|
+
export interface AreaSelectionMatch extends HoverSnapshot {
|
|
61
|
+
elementPath: string;
|
|
62
|
+
source?: SourceLocation | null;
|
|
63
|
+
}
|
|
64
|
+
/** Lightweight snapshot captured during pointer-over. */
|
|
65
|
+
export interface HoverSnapshot {
|
|
66
|
+
element: HTMLElement;
|
|
67
|
+
rect: DOMRectReadOnly;
|
|
68
|
+
elementName: string;
|
|
69
|
+
}
|
|
70
|
+
/** Extended snapshot captured on click-select, including resolved source. */
|
|
71
|
+
export interface SelectionSnapshot extends HoverSnapshot {
|
|
72
|
+
source: SourceLocation;
|
|
73
|
+
elementPath: string;
|
|
74
|
+
/** Text selected by the user at click time (if any). */
|
|
75
|
+
selectedText?: string;
|
|
76
|
+
/** True when created from drag/region selection. */
|
|
77
|
+
isMultiSelect?: boolean;
|
|
78
|
+
/** Document-space bounding boxes for the selected elements. */
|
|
79
|
+
elementBoundingBoxes?: BoundingBox[];
|
|
80
|
+
/** Live DOM elements included in the multi-select. */
|
|
81
|
+
multiSelectElements?: HTMLElement[];
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,cAAc,EACf,MAAM,6BAA6B,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAQD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,cAAc,CAAA;IACvB,IAAI,IAAI,YAAY,EAAE,CAAA;IACtB,IAAI,CAAC,WAAW,EAAE,YAAY,EAAE,GAAG,IAAI,CAAA;IACvC,KAAK,IAAI,IAAI,CAAA;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,6DAA6D;IAC7D,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IACrB,sDAAsD;IACtD,aAAa,CAAC,UAAU,EAAE,YAAY,GAAG,IAAI,CAAA;IAC7C,kDAAkD;IAClD,aAAa,CAAC,UAAU,EAAE,YAAY,GAAG,IAAI,CAAA;IAC7C,iDAAiD;IACjD,aAAa,CAAC,UAAU,EAAE,YAAY,GAAG,IAAI,CAAA;CAC9C;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,cAAc,CAAA;IACvB,WAAW,EAAE,cAAc,CAAA;IAC3B,OAAO,EAAE;QAAE,YAAY,EAAE,iBAAiB,CAAA;KAAE,CAAA;IAC5C,OAAO,EAAE,oBAAoB,CAAA;IAC7B,8DAA8D;IAC9D,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB,6CAA6C;IAC7C,MAAM,CAAC,CAAC,YAAY,EAAE,cAAc,GAAG,IAAI,CAAA;IAC3C,wEAAwE;IACxE,sBAAsB,CAAC,CAAC,QAAQ,EAAE,CAAC,YAAY,EAAE,cAAc,KAAK,IAAI,GAAG,MAAM,IAAI,CAAA;IACrF,wDAAwD;IACxD,aAAa,CAAC,EAAE,EAAE,WAAW,GAAG,cAAc,GAAG,IAAI,CAAA;CACtD;AAMD,oEAAoE;AACpE,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,2DAA2D;AAC3D,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,+DAA+D;AAC/D,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;CAC/B;AAED,yDAAyD;AACzD,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,WAAW,CAAA;IACpB,IAAI,EAAE,eAAe,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,6EAA6E;AAC7E,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,MAAM,EAAE,cAAc,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oDAAoD;IACpD,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,+DAA+D;IAC/D,oBAAoB,CAAC,EAAE,WAAW,EAAE,CAAA;IACpC,sDAAsD;IACtD,mBAAmB,CAAC,EAAE,WAAW,EAAE,CAAA;CACpC"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type InjectionKey } from "vue";
|
|
2
|
+
/**
|
|
3
|
+
* Type-safe inject that throws if the value is missing.
|
|
4
|
+
* Use in components that require a provided dependency.
|
|
5
|
+
*/
|
|
6
|
+
export declare function injectStrict<T>(key: InjectionKey<T>, name: string): T;
|
|
7
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,YAAY,EAAE,MAAM,KAAK,CAAA;AAE/C;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,GAAG,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,CAMrE"}
|
package/dist/utils.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { inject } from "vue";
|
|
2
|
+
/**
|
|
3
|
+
* Type-safe inject that throws if the value is missing.
|
|
4
|
+
* Use in components that require a provided dependency.
|
|
5
|
+
*/
|
|
6
|
+
export function injectStrict(key, name) {
|
|
7
|
+
const value = inject(key);
|
|
8
|
+
if (value === undefined) {
|
|
9
|
+
throw new Error(`[agentation] Missing required injection: ${name}`);
|
|
10
|
+
}
|
|
11
|
+
return value;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAqB,MAAM,KAAK,CAAA;AAE/C;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAI,GAAoB,EAAE,IAAY;IAChE,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;IACzB,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,IAAI,KAAK,CAAC,4CAA4C,IAAI,EAAE,CAAC,CAAA;IACrE,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@liuovo/agentation-vue-ui",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Vue 3 UI components: toolbar, overlay, popover, highlight & marker layers",
|
|
5
|
+
"license": "PolyForm-Shield-1.0.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/liuc-c/agentation-vue.git",
|
|
10
|
+
"directory": "packages/ui-vue"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/liuc-c/agentation-vue/tree/main/packages/ui-vue#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/liuc-c/agentation-vue/issues"
|
|
15
|
+
},
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"module": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@vueuse/core": "^14.2.1",
|
|
34
|
+
"lucide-vue-next": "^0.577.0",
|
|
35
|
+
"@liuovo/agentation-vue-core": "0.0.2"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"vue": "^3.5.0"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"vite": "^6.4.1"
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "vite build && tsc -p tsconfig.json --emitDeclarationOnly",
|
|
45
|
+
"test": "vitest run --config vitest.config.ts --passWithNoTests"
|
|
46
|
+
}
|
|
47
|
+
}
|