@deep-eye/core 1.2.98 → 1.3.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/CHANGELOG.md +64 -2
- package/dist/chat-token.css +226 -0
- package/dist/components/chat/ChatApp.vue.d.ts +142 -0
- package/dist/components/chat/ChatApp.vue.d.ts.map +1 -0
- package/dist/components/chat/ChatBot.vue.d.ts +7 -0
- package/dist/components/chat/ChatBot.vue.d.ts.map +1 -1
- package/dist/components/chat/chatContext.d.ts +3 -4
- package/dist/components/chat/chatContext.d.ts.map +1 -1
- package/dist/components/chat/chatSessionSidebarAssets.d.ts +21 -0
- package/dist/components/chat/chatSessionSidebarAssets.d.ts.map +1 -0
- package/dist/components/chat/chatSessionSidebarTypes.d.ts +59 -0
- package/dist/components/chat/chatSessionSidebarTypes.d.ts.map +1 -0
- package/dist/components/chat/cloudConfig.d.ts +84 -0
- package/dist/components/chat/cloudConfig.d.ts.map +1 -0
- package/dist/components/chat/components/ArtifactList.vue.d.ts +14 -0
- package/dist/components/chat/components/ArtifactList.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatHistorySearchDialog.vue.d.ts +33 -0
- package/dist/components/chat/components/ChatHistorySearchDialog.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatProvider.vue.d.ts +10 -24
- package/dist/components/chat/components/ChatProvider.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSender.vue.d.ts +3 -3
- package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts +30 -0
- package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatSessionLoadingDots.vue.d.ts +11 -0
- package/dist/components/chat/components/ChatSessionLoadingDots.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatSessionOverflowTooltip.vue.d.ts +22 -0
- package/dist/components/chat/components/ChatSessionOverflowTooltip.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts +76 -0
- package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatSessionSkeleton.vue.d.ts +6 -0
- package/dist/components/chat/components/ChatSessionSkeleton.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts +15 -0
- package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatSkillPanel.vue.d.ts +4 -3
- package/dist/components/chat/components/ChatSkillPanel.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatTipMenu.vue.d.ts +15 -2
- package/dist/components/chat/components/ChatTipMenu.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ConversationList.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts +3 -2
- package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts.map +1 -1
- package/dist/components/chat/components/index.d.ts +3 -0
- package/dist/components/chat/components/index.d.ts.map +1 -1
- package/dist/components/chat/composables/chatApiRequest.d.ts +39 -0
- package/dist/components/chat/composables/chatApiRequest.d.ts.map +1 -0
- package/dist/components/chat/composables/chatHistoryApi.d.ts +41 -0
- package/dist/components/chat/composables/chatHistoryApi.d.ts.map +1 -0
- package/dist/components/chat/composables/chatSessionId.d.ts +8 -0
- package/dist/components/chat/composables/chatSessionId.d.ts.map +1 -0
- package/dist/components/chat/composables/fetchModelList.d.ts +4 -4
- package/dist/components/chat/composables/fetchModelList.d.ts.map +1 -1
- package/dist/components/chat/composables/useChatNewSessionEpoch.d.ts +3 -0
- package/dist/components/chat/composables/useChatNewSessionEpoch.d.ts.map +1 -0
- package/dist/components/chat/composables/useChatSessionHistory.d.ts +56 -0
- package/dist/components/chat/composables/useChatSessionHistory.d.ts.map +1 -0
- package/dist/components/chat/composables/useChatSessionSwitch.d.ts +22 -0
- package/dist/components/chat/composables/useChatSessionSwitch.d.ts.map +1 -0
- package/dist/components/chat/composables/useChatSkillTipMenu.d.ts.map +1 -1
- package/dist/components/chat/composables/useChatTipMenu.d.ts +14 -9
- package/dist/components/chat/composables/useChatTipMenu.d.ts.map +1 -1
- package/dist/components/chat/composables/useHistoryGroupExpand.d.ts +14 -0
- package/dist/components/chat/composables/useHistoryGroupExpand.d.ts.map +1 -0
- package/dist/components/chat/harness/Tooltip.vue.d.ts +1 -1
- package/dist/components/chat/harness/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/chat/htmlPreview.d.ts +9 -0
- package/dist/components/chat/htmlPreview.d.ts.map +1 -1
- package/dist/components/chat/icons/ChatArtifactFilesIcon.vue.d.ts +9 -0
- package/dist/components/chat/icons/ChatArtifactFilesIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/icons/ChatTipMenuExpertIcon.vue.d.ts +9 -0
- package/dist/components/chat/icons/ChatTipMenuExpertIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/icons/ChatTipMenuKnowledgeIcon.vue.d.ts +7 -0
- package/dist/components/chat/icons/ChatTipMenuKnowledgeIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/icons/ChatTipMenuLucideIcon.vue.d.ts +11 -0
- package/dist/components/chat/icons/ChatTipMenuLucideIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/icons/ChatTipMenuSkillIcon.vue.d.ts +7 -0
- package/dist/components/chat/icons/ChatTipMenuSkillIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/icons/index.d.ts +5 -0
- package/dist/components/chat/icons/index.d.ts.map +1 -1
- package/dist/components/chat/icons/tipMenuItemIcons.d.ts +27 -0
- package/dist/components/chat/icons/tipMenuItemIcons.d.ts.map +1 -0
- package/dist/components/chat/index.d.ts +16 -4
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts +4 -1
- package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/ArtifactStack.vue.d.ts +13 -0
- package/dist/components/chat/mdoc/ArtifactStack.vue.d.ts.map +1 -0
- package/dist/components/chat/mdoc/ContentNodes.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/artifactOpenStrategy.d.ts +1 -1
- package/dist/components/chat/mdoc/artifactOpenStrategy.d.ts.map +1 -1
- package/dist/components/chat/mdoc/artifactStack.d.ts +17 -0
- package/dist/components/chat/mdoc/artifactStack.d.ts.map +1 -0
- package/dist/components/chat/mdoc/index.d.ts +2 -0
- package/dist/components/chat/mdoc/index.d.ts.map +1 -1
- package/dist/components/chat/mdoc/sessionArtifacts.d.ts +20 -0
- package/dist/components/chat/mdoc/sessionArtifacts.d.ts.map +1 -0
- package/dist/components/chat/sidebarMotion.d.ts +5 -0
- package/dist/components/chat/sidebarMotion.d.ts.map +1 -1
- package/dist/components/chat/types.d.ts +91 -7
- package/dist/components/chat/types.d.ts.map +1 -1
- package/dist/components/skill/api/index.d.ts +1 -1
- package/dist/components/skill/api/index.d.ts.map +1 -1
- package/dist/components/skill/api/skillCloudUrl.d.ts +3 -8
- package/dist/components/skill/api/skillCloudUrl.d.ts.map +1 -1
- package/dist/components/skill/avatarThumb.d.ts +14 -0
- package/dist/components/skill/avatarThumb.d.ts.map +1 -0
- package/dist/components/skill/components/ChatSkillCard.vue.d.ts +2 -1
- package/dist/components/skill/components/ChatSkillCard.vue.d.ts.map +1 -1
- package/dist/components/skill/components/ChatSkillCardSkeleton.vue.d.ts.map +1 -1
- package/dist/components/skill/components/ChatSkillDetailDialog.vue.d.ts +2 -1
- package/dist/components/skill/components/ChatSkillDetailDialog.vue.d.ts.map +1 -1
- package/dist/components/skill/formatSkillUsageCount.d.ts +3 -0
- package/dist/components/skill/formatSkillUsageCount.d.ts.map +1 -0
- package/dist/components/skill/index.d.ts +1 -0
- package/dist/components/skill/index.d.ts.map +1 -1
- package/dist/components/skill/quickActionAvatarIcon.d.ts +25 -0
- package/dist/components/skill/quickActionAvatarIcon.d.ts.map +1 -0
- package/dist/components/skill/skillCardModel.d.ts.map +1 -1
- package/dist/components/skill/types.d.ts +23 -2
- package/dist/components/skill/types.d.ts.map +1 -1
- package/dist/components/ui/components/UiDialog.vue.d.ts +14 -1
- package/dist/components/ui/components/UiDialog.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiImage.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiMenu.vue.d.ts +7 -0
- package/dist/components/ui/components/UiMenu.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiMenuColumn.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiSearchInput.vue.d.ts +5 -1
- package/dist/components/ui/components/UiSearchInput.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiSkeleton.vue.d.ts.map +1 -1
- package/dist/components/ui/composables/floatingPosition.d.ts +19 -0
- package/dist/components/ui/composables/floatingPosition.d.ts.map +1 -0
- package/dist/components/ui/composables/index.d.ts +3 -1
- package/dist/components/ui/composables/index.d.ts.map +1 -1
- package/dist/components/ui/composables/useUiMenuFloating.d.ts +21 -0
- package/dist/components/ui/composables/useUiMenuFloating.d.ts.map +1 -0
- package/dist/{index-Bg2p9Wu2.cjs → index-B6ipa11F.cjs} +1 -1
- package/dist/{index-GcxV83sw.cjs → index-CQAo2jP4.cjs} +228 -214
- package/dist/{index-FypAHsSL.js → index-CU9fl-AE.js} +1 -1
- package/dist/{index-C3Z-_8rC.js → index-D5HjpyfA.js} +32692 -29924
- package/dist/{index-DJkA0fK4.cjs → index-DIqXNj0-.cjs} +1 -1
- package/dist/{index-CjHmm6rY.js → index-Fh8kY_oA.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +311 -273
- package/dist/style.css +2 -2
- package/package.json +3 -2
|
@@ -114,6 +114,8 @@ export interface ChatSkillCardModel {
|
|
|
114
114
|
tags?: string[];
|
|
115
115
|
/** 详情弹窗「专家帮你做」快捷提示 */
|
|
116
116
|
shortcuts?: string[];
|
|
117
|
+
/** 使用量,展示在卡片底部左侧(如「使用量:1.2万次」),对齐 basic-agent-web */
|
|
118
|
+
usageCount?: number;
|
|
117
119
|
}
|
|
118
120
|
export interface ChatKnowledgeListParams {
|
|
119
121
|
type?: number;
|
|
@@ -128,8 +130,7 @@ export interface ChatKnowledgeItem {
|
|
|
128
130
|
export interface ChatSkillFetchConfig {
|
|
129
131
|
/**
|
|
130
132
|
* 可选:覆盖云网关前缀。
|
|
131
|
-
*
|
|
132
|
-
* 均未设置时:本地 localhost → `/cloud-prod`,线上 → `/cloud`。
|
|
133
|
+
* 默认本地 localhost → `/cloud-prod`,线上 → `/cloud`(运行时解析,npm 发布后仍有效)。
|
|
133
134
|
*/
|
|
134
135
|
cloudPrefix?: string;
|
|
135
136
|
/** 鉴权,对齐 basicagentweb axios 拦截器 */
|
|
@@ -157,6 +158,24 @@ export interface ChatSkillFetchConfig {
|
|
|
157
158
|
sceneParams?: ChatSkillPublishedSearchParams;
|
|
158
159
|
/** 知识库简表 findSimpleKnowledgeBaseList */
|
|
159
160
|
knowledgeParams?: ChatKnowledgeListParams;
|
|
161
|
+
/**
|
|
162
|
+
* 技能/专家头像缩略图(七牛 imageView2,仅 yxuer.com 等可处理域名生效)。
|
|
163
|
+
* 未传时用库内默认:menu 56、card 48、detail 112(约为展示尺寸 ×2)。
|
|
164
|
+
*/
|
|
165
|
+
avatarThumb?: ChatSkillAvatarThumbConfig;
|
|
166
|
+
}
|
|
167
|
+
/** 头像缩略裁剪尺寸,传给 {@link appendImageViewParams}。 */
|
|
168
|
+
export interface ChatSkillAvatarThumbSize {
|
|
169
|
+
width?: number;
|
|
170
|
+
height?: number;
|
|
171
|
+
}
|
|
172
|
+
export interface ChatSkillAvatarThumbConfig {
|
|
173
|
+
/** TipMenu 子项头像 */
|
|
174
|
+
menu?: ChatSkillAvatarThumbSize;
|
|
175
|
+
/** 技能卡片头像 */
|
|
176
|
+
card?: ChatSkillAvatarThumbSize;
|
|
177
|
+
/** 技能详情弹窗头像 */
|
|
178
|
+
detail?: ChatSkillAvatarThumbSize;
|
|
160
179
|
}
|
|
161
180
|
/** TipMenu 子菜单模式:lazy 与 virtualScroll 互斥,默认均为 false */
|
|
162
181
|
export interface ChatTipMenuSubmenuOptions {
|
|
@@ -174,6 +193,8 @@ export interface ChatTipMenuItems {
|
|
|
174
193
|
screenshot?: boolean;
|
|
175
194
|
}
|
|
176
195
|
export declare function isTipMenuItemVisible(value: ChatTipMenuItemConfig | undefined, defaultVisible?: boolean): boolean;
|
|
196
|
+
/** TipMenu 中是否存在会触发远程请求的子项(专家 / 技能 / 知识库) */
|
|
197
|
+
export declare function hasTipMenuApiItems(items: ChatTipMenuItems): boolean;
|
|
177
198
|
export declare function resolveTipMenuSubmenuOptions(value: ChatTipMenuItemConfig | undefined): {
|
|
178
199
|
lazy: boolean;
|
|
179
200
|
virtualScroll: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/skill/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,eAAO,MAAM,cAAc,EAAG,KAAc,CAAA;AAE5C,cAAc;AACd,eAAO,MAAM,uBAAuB,EAAG,MAAe,CAAA;AACtD,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAG,aAAsB,CAAA;AAC9D,iBAAiB;AACjB,eAAO,MAAM,2BAA2B,EAAG,WAAoB,CAAA;AAE/D,yCAAyC;AACzC,eAAO,MAAM,yBAAyB,QAAQ,CAAA;AAC9C,0BAA0B;AAC1B,eAAO,MAAM,8BAA8B,KAAK,CAAA;AAEhD,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG,UAAU,GAAG,OAAO,CAAA;AAEnE,MAAM,MAAM,iBAAiB,GAAG,OAAO,cAAc,GAAG,MAAM,CAAA;AAE9D,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,C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MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,kBAAkB,EAAE,CAAA;CACzC;AAED,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,CAAC,CAAA;CACX"}
|
|
@@ -6,8 +6,15 @@ type __VLS_Props = {
|
|
|
6
6
|
showClose?: boolean;
|
|
7
7
|
lockScroll?: boolean;
|
|
8
8
|
zIndex?: number;
|
|
9
|
-
/** 弹窗圆角,默认 16px */
|
|
10
9
|
radius?: string;
|
|
10
|
+
/** 对齐 EP align-center */
|
|
11
|
+
alignCenter?: boolean;
|
|
12
|
+
dialogClass?: string;
|
|
13
|
+
headerClass?: string;
|
|
14
|
+
bodyClass?: string;
|
|
15
|
+
footerClass?: string;
|
|
16
|
+
/** 对齐 EP modal-class */
|
|
17
|
+
overlayClass?: string;
|
|
11
18
|
};
|
|
12
19
|
type __VLS_ModelProps = {
|
|
13
20
|
modelValue?: boolean;
|
|
@@ -34,6 +41,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
34
41
|
showClose: boolean;
|
|
35
42
|
lockScroll: boolean;
|
|
36
43
|
radius: string;
|
|
44
|
+
alignCenter: boolean;
|
|
45
|
+
dialogClass: string;
|
|
46
|
+
headerClass: string;
|
|
47
|
+
bodyClass: string;
|
|
48
|
+
footerClass: string;
|
|
49
|
+
overlayClass: string;
|
|
37
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
52
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiDialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UiDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiDialog.vue"],"names":[],"mappings":"AAqQA,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,yBAAyB;IACzB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wBAAwB;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAC;AAmDJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAqBF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA4IxD,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;WA9OJ,MAAM;WADN,MAAM;YAML,MAAM;uBAJK,OAAO;wBACN,OAAO;eAChB,OAAO;gBACN,OAAO;YAEX,MAAM;iBAED,OAAO;iBACP,MAAM;iBACN,MAAM;eACR,MAAM;iBACJ,MAAM;kBAEL,MAAM;6EAoOvB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiImage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiImage.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UiImage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiImage.vue"],"names":[],"mappings":"AAiNA,OAAO,EAIL,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAA;AAIvB,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,UAAU,CAAA;IAChB,wCAAwC;IACxC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,6CAA6C;IAC7C,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC1B,gCAAgC;IAChC,eAAe,CAAC,EAAE,MAAM,GAAG,WAAW,CAAA;CACvC,CAAC;AA6KJ,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO7C,QAAA,MAAM,UAAU;SA9LN,UAAU;UAET,OAAO;SAHR,MAAM;6EAkMd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import { type UiMenuPlacement } from '../composables';
|
|
1
2
|
import type { UiMenuItem, UiMenuSubItem } from '../types';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
anchor: HTMLElement | null;
|
|
4
5
|
disabled?: boolean;
|
|
5
6
|
items?: readonly UiMenuItem[];
|
|
7
|
+
/** 主菜单相对 anchor 的展开方向,默认 top-start(anchor 左上方) */
|
|
8
|
+
placement?: UiMenuPlacement;
|
|
9
|
+
/** 子菜单相对当前行的展开方向,默认 right-start */
|
|
10
|
+
submenuPlacement?: UiMenuPlacement;
|
|
6
11
|
};
|
|
7
12
|
type __VLS_ModelProps = {
|
|
8
13
|
'open'?: boolean;
|
|
@@ -59,6 +64,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
59
64
|
}>, {
|
|
60
65
|
disabled: boolean;
|
|
61
66
|
items: readonly UiMenuItem[];
|
|
67
|
+
placement: UiMenuPlacement;
|
|
68
|
+
submenuPlacement: UiMenuPlacement;
|
|
62
69
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
63
70
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
64
71
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UiMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiMenu.vue"],"names":[],"mappings":"AA4OA,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAMzD,KAAK,WAAW,GAAG;IACf,MAAM,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,UAAU,EAAE,CAAA;IAC7B,kDAAkD;IAClD,SAAS,CAAC,EAAE,eAAe,CAAA;IAC3B,mCAAmC;IACnC,gBAAgB,CAAC,EAAE,eAAe,CAAA;CACnC,CAAC;AAoHJ,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAWF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAwMxD,QAAA,IAAI,QAAQ;;CAAW,EAAE,QAAQ;;CAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAMzD,QAAA,MAAM,UAAU;;cApUY,UAAU;iBAAW,MAAM;;;cAD3B,UAAU;iBAAW,aAAa;;;cADnC,UAAU;;;cAIJ,UAAU;;;cADP,UAAU;;;;;cADlB,UAAU;iBAAW,MAAM;;;cAD3B,UAAU;iBAAW,aAAa;;;cADnC,UAAU;;;cAIJ,UAAU;;;cADP,UAAU;;;;cArB/B,OAAO;WACV,SAAS,UAAU,EAAE;eAEjB,eAAe;sBAER,eAAe;6EAuVpC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiMenuColumn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiMenuColumn.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UiMenuColumn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiMenuColumn.vue"],"names":[],"mappings":"AAqIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAI1C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,UAAU,EAAE,CAAA;CAC7B,CAAC;AAwIF,QAAA,IAAI,OAAO;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAKnD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
placeholder?: string;
|
|
3
|
+
autofocus?: boolean;
|
|
3
4
|
};
|
|
4
5
|
type __VLS_ModelProps = {
|
|
5
6
|
modelValue?: string;
|
|
6
7
|
};
|
|
7
8
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
10
|
+
focus: () => void | undefined;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
12
|
"update:modelValue": (value: string) => any;
|
|
10
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
14
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
15
|
}>, {
|
|
13
16
|
placeholder: string;
|
|
17
|
+
autofocus: boolean;
|
|
14
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
19
|
declare const _default: typeof __VLS_export;
|
|
16
20
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiSearchInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UiSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiSearchInput.vue"],"names":[],"mappings":"AAwHA,KAAK,WAAW,GAAG;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AA2BJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AASF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA0FxD,QAAA,MAAM,YAAY;;;;;;;iBAlIA,MAAM;eACR,OAAO;6EAsIrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiSkeleton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UiSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/components/UiSkeleton.vue"],"names":[],"mappings":"AAgDA,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;AAwDJ,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,CAAE;AAC5C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;cAlED,OAAO;SACZ,MAAM;6EAoEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** 定位计算(算法参考 @floating-ui/core middleware:offset → flip → shift) */
|
|
2
|
+
export type UiMenuSide = 'top' | 'right' | 'bottom' | 'left';
|
|
3
|
+
export type UiMenuAlignment = 'start' | 'end';
|
|
4
|
+
export type UiMenuPlacement = UiMenuSide | `${UiMenuSide}-${UiMenuAlignment}`;
|
|
5
|
+
interface ComputePositionOptions {
|
|
6
|
+
placement: UiMenuPlacement;
|
|
7
|
+
gap?: number;
|
|
8
|
+
padding?: number;
|
|
9
|
+
}
|
|
10
|
+
/** 参考 @floating-ui/dom getOverflowAncestors */
|
|
11
|
+
export declare function getOverflowAncestors(element: Element): HTMLElement[];
|
|
12
|
+
/** 参考 @floating-ui/core hide middleware:reference 与任一 clipping 边界无交集即视为 hidden */
|
|
13
|
+
export declare function isReferenceHidden(reference: Element, padding?: number): boolean;
|
|
14
|
+
export declare function computeFloatingPosition(reference: Element, floating: Element, options: ComputePositionOptions): {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=floatingPosition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floatingPosition.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/composables/floatingPosition.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;AAC5D,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,KAAK,CAAA;AAC7C,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,GAAG,UAAU,IAAI,eAAe,EAAE,CAAA;AAS7E,UAAU,sBAAsB;IAC9B,SAAS,EAAE,eAAe,CAAA;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AA4CD,+CAA+C;AAC/C,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,EAAE,CAQpE;AAgBD,kFAAkF;AAClF,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,SAAI,GAAG,OAAO,CAU1E;AAoJD,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,sBAAsB,GAC9B;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAsB1B"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export { useUiMenuPanel, useUiMenuPanelInject, useExpandingItem } from './useUiMenuPanel';
|
|
1
|
+
export { useUiMenuPanel, useUiMenuPanelInject, useUiMenuPanelProvide, useExpandingItem, } from './useUiMenuPanel';
|
|
2
2
|
export type { UiMenuPanelContext } from './useUiMenuPanel';
|
|
3
|
+
export { useUiMenuFloating } from './useUiMenuFloating';
|
|
4
|
+
export type { UiMenuPlacement } from './floatingPosition';
|
|
3
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,kBAAkB,CAAA;AACzB,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';
|
|
2
|
+
import { type UiMenuPlacement } from './floatingPosition';
|
|
3
|
+
export type { UiMenuPlacement } from './floatingPosition';
|
|
4
|
+
export declare function useUiMenuFloating(options: {
|
|
5
|
+
open: Ref<boolean>;
|
|
6
|
+
anchor: MaybeRefOrGetter<HTMLElement | null>;
|
|
7
|
+
menuRef: Ref<HTMLElement | null>;
|
|
8
|
+
submenuRef: Ref<HTMLElement | null>;
|
|
9
|
+
hoveredRowRef: Ref<HTMLElement | null>;
|
|
10
|
+
hasSubmenu: Ref<boolean>;
|
|
11
|
+
placement?: MaybeRefOrGetter<UiMenuPlacement>;
|
|
12
|
+
submenuPlacement?: MaybeRefOrGetter<UiMenuPlacement>;
|
|
13
|
+
}): {
|
|
14
|
+
menuStyle: ComputedRef<Record<string, string | number>>;
|
|
15
|
+
submenuStyle: ComputedRef<Record<string, string | number>>;
|
|
16
|
+
menuReferenceHidden: Ref<boolean, boolean>;
|
|
17
|
+
submenuReferenceHidden: Ref<boolean, boolean>;
|
|
18
|
+
updateMenuPosition: () => void;
|
|
19
|
+
updateSubmenuPosition: () => void;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=useUiMenuFloating.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUiMenuFloating.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/composables/useUiMenuFloating.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,GAAG,EAGT,MAAM,KAAK,CAAA;AAEZ,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAA;AAE3B,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AA0IzD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE;IACzC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAClB,MAAM,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IAC5C,OAAO,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IAChC,UAAU,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IACnC,aAAa,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IACtC,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxB,SAAS,CAAC,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAA;IAC7C,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAA;CACrD;;;;;8BAvHe,IAAI;iCAAJ,IAAI;EAsJnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Ye=require("./index-
|
|
1
|
+
"use strict";const Ye=require("./index-CQAo2jP4.cjs"),Pn=require("./index-Bh4xn5LB.cjs"),An=require("vue");function En(Ie,Qe){for(var Pe=0;Pe<Qe.length;Pe++){const we=Qe[Pe];if(typeof we!="string"&&!Array.isArray(we)){for(const Te in we)if(Te!=="default"&&!(Te in Ie)){const Me=Object.getOwnPropertyDescriptor(we,Te);Me&&Object.defineProperty(Ie,Te,Me.get?Me:{enumerable:!0,get:()=>we[Te]})}}}return Object.freeze(Object.defineProperty(Ie,Symbol.toStringTag,{value:"Module"}))}var Mt={exports:{}};(function(Ie,Qe){(function(Pe,we){Ie.exports=we(Pn.requireLib(),An)})(Ye.commonjsGlobal,function(Pe,we){var Te=Object.defineProperty,Me=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,lt=(i,t,e)=>t in i?Te(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,ye=(i,t)=>{for(var e in t||(t={}))Ft.call(t,e)&<(i,e,t[e]);if(ot)for(var e of ot(t))Lt.call(t,e)&<(i,e,t[e]);return i},$e=(i,t)=>Me(i,Ot(t)),ve=(i,t,e)=>new Promise((r,n)=>{var a=u=>{try{o(e.next(u))}catch(m){n(m)}},l=u=>{try{o(e.throw(u))}catch(m){n(m)}},o=u=>u.done?r(u.value):Promise.resolve(u.value).then(a,l);o((e=e.apply(i,t)).next())});typeof window.setImmediate>"u"&&(window.setImmediate=function(i,...t){setTimeout(()=>i(t))});var He=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Ye.commonjsGlobal<"u"?Ye.commonjsGlobal:typeof self<"u"?self:{};function jt(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function We(i){throw new Error('Could not dynamically require "'+i+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ct={exports:{}};/*!
|
|
2
2
|
|
|
3
3
|
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
4
4
|
<http://stuartk.com/jszip>
|