@apform-ui/core 1.6.1 → 1.7.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.
Files changed (124) hide show
  1. package/README.md +16 -0
  2. package/dist/apform-ui.css +1 -1
  3. package/dist/apform-ui.js +5147 -4500
  4. package/dist/apform-ui.umd.cjs +64 -64
  5. package/dist/components/AppDialog/AppDialog.vue.d.ts +4 -5
  6. package/dist/components/AppDialog/doc.d.ts +3 -0
  7. package/dist/components/AppIcon/AppIcon.vue.d.ts +1 -2
  8. package/dist/components/AppIcon/doc.d.ts +3 -0
  9. package/dist/components/AppPagination/AppPagination.vue.d.ts +1 -2
  10. package/dist/components/AppPagination/doc.d.ts +3 -0
  11. package/dist/components/AppUserPanel/AppUserPanel.vue.d.ts +21 -0
  12. package/dist/components/AppUserPanel/index.d.ts +5 -0
  13. package/dist/components/AppUserPanel/types.d.ts +10 -0
  14. package/dist/components/BreadcrumbNav/BreadcrumbNav.vue.d.ts +1 -2
  15. package/dist/components/BreadcrumbNav/doc.d.ts +3 -0
  16. package/dist/components/CardGridSkeleton/CardGridSkeleton.vue.d.ts +1 -2
  17. package/dist/components/CardGridSkeleton/doc.d.ts +3 -0
  18. package/dist/components/CardTable/CardTable.vue.d.ts +2 -3
  19. package/dist/components/CardTable/doc.d.ts +3 -0
  20. package/dist/components/Chat/ApprovalCard/ApprovalCard.vue.d.ts +1 -2
  21. package/dist/components/Chat/ApprovalCard/doc.d.ts +3 -0
  22. package/dist/components/Chat/AssistantPicker/AssistantPicker.vue.d.ts +1 -2
  23. package/dist/components/Chat/AssistantPicker/doc.d.ts +3 -0
  24. package/dist/components/Chat/Composer/Composer.vue.d.ts +2 -3
  25. package/dist/components/Chat/Composer/doc.d.ts +3 -0
  26. package/dist/components/Chat/ConversationHeader/ConversationHeader.vue.d.ts +1 -2
  27. package/dist/components/Chat/ConversationHeader/doc.d.ts +3 -0
  28. package/dist/components/Chat/MessageBubble/MessageBubble.vue.d.ts +6 -5
  29. package/dist/components/Chat/MessageBubble/doc.d.ts +3 -0
  30. package/dist/components/Chat/MessageList/MessageList.vue.d.ts +1 -2
  31. package/dist/components/Chat/MessageList/doc.d.ts +3 -0
  32. package/dist/components/Chat/ModelPicker/ModelPicker.vue.d.ts +1 -2
  33. package/dist/components/Chat/ModelPicker/doc.d.ts +3 -0
  34. package/dist/components/Chat/ProcessingDrawer/ProcessingDrawer.vue.d.ts +4 -5
  35. package/dist/components/Chat/ProcessingDrawer/doc.d.ts +3 -0
  36. package/dist/components/Chat/RunStatusBar/RunStatusBar.vue.d.ts +1 -2
  37. package/dist/components/Chat/RunStatusBar/doc.d.ts +3 -0
  38. package/dist/components/Chat/SessionSidebar/SessionSidebar.vue.d.ts +1 -2
  39. package/dist/components/Chat/SessionSidebar/doc.d.ts +3 -0
  40. package/dist/components/Chat/message/AttachmentPreviewModal.doc.d.ts +3 -0
  41. package/dist/components/Chat/message/AttachmentPreviewModal.vue.d.ts +1 -2
  42. package/dist/components/Chat/message/DocumentSummaryList.doc.d.ts +3 -0
  43. package/dist/components/Chat/message/DocumentSummaryList.vue.d.ts +2 -2
  44. package/dist/components/Chat/message/MessageAttachmentList.doc.d.ts +3 -0
  45. package/dist/components/Chat/message/MessageAttachmentList.vue.d.ts +1 -2
  46. package/dist/components/Chat/message/MessageParts.doc.d.ts +3 -0
  47. package/dist/components/Chat/message/MessageParts.vue.d.ts +1 -2
  48. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +1 -2
  49. package/dist/components/ConfirmDialog/doc.d.ts +3 -0
  50. package/dist/components/ContentPanel/ContentPanel.vue.d.ts +2 -3
  51. package/dist/components/ContentPanel/doc.d.ts +3 -0
  52. package/dist/components/DocumentPreview/DocumentPreviewDrawer.doc.d.ts +3 -0
  53. package/dist/components/DocumentPreview/DocumentPreviewDrawer.vue.d.ts +6 -7
  54. package/dist/components/DocumentPreview/DocumentPreviewPanel.doc.d.ts +3 -0
  55. package/dist/components/DocumentPreview/DocumentPreviewPanel.vue.d.ts +4 -5
  56. package/dist/components/EmptyState/EmptyState.vue.d.ts +4 -5
  57. package/dist/components/EmptyState/doc.d.ts +3 -0
  58. package/dist/components/ErrorBoundary/ErrorBoundary.vue.d.ts +2 -3
  59. package/dist/components/ErrorBoundary/doc.d.ts +3 -0
  60. package/dist/components/ExcelPreviewCard/ExcelPreviewCard.vue.d.ts +8 -8
  61. package/dist/components/ExcelPreviewCard/doc.d.ts +3 -0
  62. package/dist/components/FieldRow/FieldRow.vue.d.ts +4 -5
  63. package/dist/components/FieldRow/doc.d.ts +3 -0
  64. package/dist/components/FilterBar/FilterBar.vue.d.ts +2 -3
  65. package/dist/components/FilterBar/doc.d.ts +3 -0
  66. package/dist/components/FilterTabs/FilterTabs.vue.d.ts +1 -2
  67. package/dist/components/FilterTabs/doc.d.ts +3 -0
  68. package/dist/components/FormDialog/FormDialog.vue.d.ts +4 -5
  69. package/dist/components/FormDialog/doc.d.ts +3 -0
  70. package/dist/components/HintText/HintText.vue.d.ts +7 -6
  71. package/dist/components/HintText/doc.d.ts +3 -0
  72. package/dist/components/JsonCard/JsonCard.vue.d.ts +1 -2
  73. package/dist/components/JsonCard/doc.d.ts +3 -0
  74. package/dist/components/JsonDetailDialog/JsonDetailDialog.vue.d.ts +1 -2
  75. package/dist/components/JsonDetailDialog/doc.d.ts +3 -0
  76. package/dist/components/LoadingDots/LoadingDots.vue.d.ts +1 -2
  77. package/dist/components/LoadingDots/doc.d.ts +3 -0
  78. package/dist/components/PageHeader/PageHeader.vue.d.ts +2 -3
  79. package/dist/components/PageHeader/doc.d.ts +3 -0
  80. package/dist/components/PageShell/PageShell.vue.d.ts +2 -3
  81. package/dist/components/PageShell/doc.d.ts +3 -0
  82. package/dist/components/PdfPreviewCard/PdfPreviewCard.vue.d.ts +8 -11
  83. package/dist/components/PdfPreviewCard/doc.d.ts +3 -0
  84. package/dist/components/SchemaLitePreview/SchemaLitePreview.vue.d.ts +1 -2
  85. package/dist/components/SchemaLitePreview/doc.d.ts +3 -0
  86. package/dist/components/SearchForm/SearchForm.vue.d.ts +1 -2
  87. package/dist/components/SearchForm/doc.d.ts +3 -0
  88. package/dist/components/SectionToggle/SectionToggle.vue.d.ts +4 -5
  89. package/dist/components/SectionToggle/doc.d.ts +3 -0
  90. package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -2
  91. package/dist/components/Skeleton/doc.d.ts +3 -0
  92. package/dist/components/SliderCaptcha/SliderCaptcha.vue.d.ts +23 -0
  93. package/dist/components/SliderCaptcha/index.d.ts +5 -0
  94. package/dist/components/SliderCaptcha/types.d.ts +14 -0
  95. package/dist/components/StatusTag/StatusTag.vue.d.ts +1 -2
  96. package/dist/components/StatusTag/doc.d.ts +3 -0
  97. package/dist/components/TableRowActions/TableRowActions.vue.d.ts +1 -2
  98. package/dist/components/TableRowActions/doc.d.ts +3 -0
  99. package/dist/components/Toast/Toast.vue.d.ts +1 -2
  100. package/dist/components/Toast/doc.d.ts +3 -0
  101. package/dist/components/TruncatedTooltipText/TruncatedTooltipText.vue.d.ts +4 -5
  102. package/dist/components/TruncatedTooltipText/doc.d.ts +3 -0
  103. package/dist/components/UserAvatar/UserAvatar.vue.d.ts +2 -3
  104. package/dist/components/UserAvatar/doc.d.ts +3 -0
  105. package/dist/composables/index.d.ts +2 -0
  106. package/dist/composables/useClipboard.d.ts +20 -0
  107. package/dist/docs/index.d.ts +55 -0
  108. package/dist/docs/types.d.ts +47 -0
  109. package/dist/index.d.ts +7 -1
  110. package/dist/types/chat.d.ts +2 -0
  111. package/dist/utils/optionalPeers.d.ts +38 -0
  112. package/package.json +15 -3
  113. package/src/docs/index.ts +153 -0
  114. package/src/docs/types.ts +51 -0
  115. package/styles/element-override.css +179 -5
  116. package/dist/stories/AppDialog.stories.d.ts +0 -9
  117. package/dist/stories/AppIcon.stories.d.ts +0 -9
  118. package/dist/stories/ApprovalCard.stories.d.ts +0 -8
  119. package/dist/stories/Composer.stories.d.ts +0 -9
  120. package/dist/stories/MessageBubble.stories.d.ts +0 -10
  121. package/dist/stories/RunStatusBar.stories.d.ts +0 -8
  122. package/dist/stories/StatusTag.stories.d.ts +0 -8
  123. package/dist/stories/useConfirm.stories.d.ts +0 -5
  124. package/dist/stories/useMessage.stories.d.ts +0 -5
@@ -12,19 +12,18 @@ type __VLS_Props = {
12
12
  /** 操作按钮文案(无 default slot 时显示) */
13
13
  actionText?: string;
14
14
  };
15
- declare var __VLS_6: {};
15
+ declare var __VLS_4: {};
16
16
  type __VLS_Slots = {} & {
17
- default?: (props: typeof __VLS_6) => any;
17
+ default?: (props: typeof __VLS_4) => any;
18
18
  };
19
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
20
  action: () => any;
21
21
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
22
  onAction?: (() => any) | undefined;
23
23
  }>, {
24
24
  compact: boolean;
25
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
- declare const _default: typeof __VLS_export;
26
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
27
  export default _default;
29
28
  type __VLS_WithSlots<T, S> = T & {
30
29
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** EmptyState 文档 */
3
+ export declare const EmptyStateDoc: ComponentDoc;
@@ -1,6 +1,4 @@
1
- declare const _default: typeof __VLS_export;
2
- export default _default;
3
- declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
2
  /** 自定义上下文信息,用于错误日志 */
5
3
  context: {
6
4
  type: StringConstructor;
@@ -37,3 +35,4 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
37
35
  }) => void) | undefined;
38
36
  context: string;
39
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** ErrorBoundary 文档 */
3
+ export declare const ErrorBoundaryDoc: ComponentDoc;
@@ -1,10 +1,5 @@
1
- /**
2
- * ExcelPreviewCard — Excel 表格预览(props 驱动,无 xlsx 解析)
3
- *
4
- * 父组件负责 fetch + 解析,本组件只渲染 sheet tabs 与表格。
5
- */
6
1
  type __VLS_Props = {
7
- /** 工作表名称列表 */
2
+ /** 工作表名称列表(props 模式) */
8
3
  sheetNames?: string[];
9
4
  /** 当前 sheet */
10
5
  modelValue?: string;
@@ -18,8 +13,12 @@ type __VLS_Props = {
18
13
  maxPreviewRows?: number;
19
14
  loading?: boolean;
20
15
  error?: string | null;
16
+ /** 远程 Excel URL(触发 xlsx 解析) */
17
+ src?: string;
18
+ /** 已加载的 ArrayBuffer */
19
+ arrayBuffer?: ArrayBuffer | null;
21
20
  };
22
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
22
  "update:modelValue": (value: string) => any;
24
23
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
24
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
@@ -28,10 +27,11 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
28
27
  modelValue: string;
29
28
  loading: boolean;
30
29
  rows: string[][];
30
+ src: string;
31
31
  sheetNames: string[];
32
32
  headers: string[];
33
33
  totalRows: number;
34
34
  maxPreviewRows: number;
35
+ arrayBuffer: ArrayBuffer | null;
35
36
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
- declare const _default: typeof __VLS_export;
37
37
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** ExcelPreviewCard 文档 */
3
+ export declare const ExcelPreviewCardDoc: ComponentDoc;
@@ -8,13 +8,12 @@ type __VLS_Props = {
8
8
  /** 必填标记 */
9
9
  required?: boolean;
10
10
  };
11
- declare var __VLS_7: {};
11
+ declare var __VLS_5: {};
12
12
  type __VLS_Slots = {} & {
13
- default?: (props: typeof __VLS_7) => any;
13
+ default?: (props: typeof __VLS_5) => any;
14
14
  };
15
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
- declare const _default: typeof __VLS_export;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
17
  export default _default;
19
18
  type __VLS_WithSlots<T, S> = T & {
20
19
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** FieldRow 文档 */
3
+ export declare const FieldRowDoc: ComponentDoc;
@@ -13,15 +13,14 @@ type __VLS_Slots = {} & {
13
13
  } & {
14
14
  actions?: (props: typeof __VLS_3) => any;
15
15
  };
16
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
17
  search: () => any;
18
18
  reset: () => any;
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
20
  onSearch?: (() => any) | undefined;
21
21
  onReset?: (() => any) | undefined;
22
22
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
23
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
24
  export default _default;
26
25
  type __VLS_WithSlots<T, S> = T & {
27
26
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** FilterBar 文档 */
3
+ export declare const FilterBarDoc: ComponentDoc;
@@ -12,10 +12,9 @@ type __VLS_Props = {
12
12
  }[];
13
13
  modelValue: string;
14
14
  };
15
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
16
  "update:modelValue": (value: string) => any;
17
17
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
19
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
- declare const _default: typeof __VLS_export;
21
20
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** FilterTabs 文档 */
3
+ export declare const FilterTabsDoc: ComponentDoc;
@@ -11,13 +11,13 @@ type __VLS_Props = {
11
11
  cancelText?: string;
12
12
  confirmText?: string;
13
13
  };
14
- declare var __VLS_20: {
14
+ declare var __VLS_17: {
15
15
  form: Record<string, unknown>;
16
16
  };
17
17
  type __VLS_Slots = {} & {
18
- default?: (props: typeof __VLS_20) => any;
18
+ default?: (props: typeof __VLS_17) => any;
19
19
  };
20
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
21
  "update:modelValue": (value: boolean) => any;
22
22
  cancel: () => any;
23
23
  submit: (data: Record<string, unknown>) => any;
@@ -34,8 +34,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
34
34
  labelWidth: string;
35
35
  rules: FormRules;
36
36
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
- declare const _default: typeof __VLS_export;
37
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
39
38
  export default _default;
40
39
  type __VLS_WithSlots<T, S> = T & {
41
40
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** FormDialog 文档 */
3
+ export declare const FormDialogDoc: ComponentDoc;
@@ -1,16 +1,17 @@
1
1
  type __VLS_Props = {
2
- /** popover 宽度 */
2
+ /** 纯文本提示(有则走 tooltip,兼容 FieldTip) */
3
+ content?: string;
4
+ /** popover 宽度(slot 模式) */
3
5
  width?: number | string;
4
6
  };
5
- declare var __VLS_14: {};
7
+ declare var __VLS_19: {};
6
8
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_14) => any;
9
+ default?: (props: typeof __VLS_19) => any;
8
10
  };
9
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
12
  width: number | string;
11
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
- declare const _default: typeof __VLS_export;
14
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
15
  export default _default;
15
16
  type __VLS_WithSlots<T, S> = T & {
16
17
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** HintText 文档 */
3
+ export declare const HintTextDoc: ComponentDoc;
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  content?: string;
8
8
  type?: 'json' | 'schema' | 'flow';
9
9
  };
10
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
11
  click: () => any;
12
12
  openDetail: () => any;
13
13
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -16,5 +16,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
16
16
  }>, {
17
17
  type: "json" | "schema" | "flow";
18
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
- declare const _default: typeof __VLS_export;
20
19
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** JsonCard 文档 */
3
+ export declare const JsonCardDoc: ComponentDoc;
@@ -4,10 +4,9 @@ type __VLS_Props = {
4
4
  data?: unknown;
5
5
  content?: string;
6
6
  };
7
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
8
  "update:modelValue": (args_0: boolean) => any;
9
9
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
10
  "onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
- declare const _default: typeof __VLS_export;
13
12
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** JsonDetailDialog 文档 */
3
+ export declare const JsonDetailDialogDoc: ComponentDoc;
@@ -5,6 +5,5 @@ type __VLS_Props = {
5
5
  /** 圆点尺寸(px) */
6
6
  size?: number;
7
7
  };
8
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
- declare const _default: typeof __VLS_export;
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
9
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** LoadingDots 文档 */
3
+ export declare const LoadingDotsDoc: ComponentDoc;
@@ -17,9 +17,8 @@ type __VLS_Slots = {} & {
17
17
  } & {
18
18
  extra?: (props: typeof __VLS_5) => any;
19
19
  };
20
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
- declare const _default: typeof __VLS_export;
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
22
  export default _default;
24
23
  type __VLS_WithSlots<T, S> = T & {
25
24
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** PageHeader 文档 */
3
+ export declare const PageHeaderDoc: ComponentDoc;
@@ -12,11 +12,10 @@ declare var __VLS_1: {};
12
12
  type __VLS_Slots = {} & {
13
13
  default?: (props: typeof __VLS_1) => any;
14
14
  };
15
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
16
  fill: boolean;
17
17
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
- declare const _default: typeof __VLS_export;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
19
  export default _default;
21
20
  type __VLS_WithSlots<T, S> = T & {
22
21
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** PageShell 文档 */
3
+ export declare const PageShellDoc: ComponentDoc;
@@ -1,19 +1,16 @@
1
- /**
2
- * PdfPreviewCard — PDF 预览卡片(iframe 展示,无 pdfjs 依赖)
3
- *
4
- * 复杂解析场景请使用默认 slot 注入自定义渲染器。
5
- */
6
1
  type __VLS_Props = {
7
2
  /** PDF 可访问 URL */
8
3
  url: string;
9
- /** iframe title */
4
+ /** iframe / canvas title */
10
5
  title?: string;
11
- /** 加载中 */
6
+ /** 外部加载态(iframe 模式) */
12
7
  loading?: boolean;
13
- /** 错误信息 */
8
+ /** 外部错误(iframe 模式) */
14
9
  error?: string | null;
15
10
  /** 预览区最小高度 */
16
11
  minHeight?: string;
12
+ /** 强制禁用 pdfjs,仅用 iframe */
13
+ forceIframe?: boolean;
17
14
  };
18
15
  declare var __VLS_1: {
19
16
  url: string;
@@ -21,14 +18,14 @@ declare var __VLS_1: {
21
18
  type __VLS_Slots = {} & {
22
19
  default?: (props: typeof __VLS_1) => any;
23
20
  };
24
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
22
  error: string | null;
26
23
  title: string;
27
24
  loading: boolean;
28
25
  minHeight: string;
26
+ forceIframe: boolean;
29
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
- declare const _default: typeof __VLS_export;
28
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
32
29
  export default _default;
33
30
  type __VLS_WithSlots<T, S> = T & {
34
31
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** PdfPreviewCard 文档 */
3
+ export declare const PdfPreviewCardDoc: ComponentDoc;
@@ -18,7 +18,7 @@ type __VLS_Props = {
18
18
  /** 标签宽度 */
19
19
  labelWidth?: string;
20
20
  };
21
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
22
  "update:modelValue": (args_0: Record<string, unknown>) => any;
23
23
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
24
  "onUpdate:modelValue"?: ((args_0: Record<string, unknown>) => any) | undefined;
@@ -26,5 +26,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
26
26
  modelValue: Record<string, unknown>;
27
27
  labelWidth: string;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
- declare const _default: typeof __VLS_export;
30
29
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** SchemaLitePreview 文档 */
3
+ export declare const SchemaLitePreviewDoc: ComponentDoc;
@@ -18,7 +18,7 @@ type __VLS_Props = {
18
18
  };
19
19
  declare function snapshot(): Record<string, unknown>;
20
20
  declare function handleReset(): void;
21
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
21
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
22
22
  getValues: typeof snapshot;
23
23
  reset: typeof handleReset;
24
24
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -35,5 +35,4 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
35
35
  defaultCollapsed: boolean;
36
36
  defaultVisibleCount: number;
37
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
- declare const _default: typeof __VLS_export;
39
38
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** SearchForm 文档 */
3
+ export declare const SearchFormDoc: ComponentDoc;
@@ -3,15 +3,14 @@ type __VLS_Props = {
3
3
  count?: number;
4
4
  defaultOpen?: boolean;
5
5
  };
6
- declare var __VLS_6: {};
6
+ declare var __VLS_5: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_6) => any;
8
+ default?: (props: typeof __VLS_5) => any;
9
9
  };
10
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
11
  defaultOpen: boolean;
12
12
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
- declare const _default: typeof __VLS_export;
13
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
15
14
  export default _default;
16
15
  type __VLS_WithSlots<T, S> = T & {
17
16
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** SectionToggle 文档 */
3
+ export declare const SectionToggleDoc: ComponentDoc;
@@ -19,11 +19,10 @@ type __VLS_Props = {
19
19
  /** 是否开启动画(默认 true) */
20
20
  animated?: boolean;
21
21
  };
22
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
23
  count: number;
24
24
  variant: "card" | "list" | "table";
25
25
  rows: number;
26
26
  animated: boolean;
27
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
- declare const _default: typeof __VLS_export;
29
28
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** Skeleton 文档 */
3
+ export declare const SkeletonDoc: ComponentDoc;
@@ -0,0 +1,23 @@
1
+ import { CaptchaPayload, SliderCaptchaValue } from './types';
2
+ export type { CaptchaPayload, SliderCaptchaValue };
3
+ type __VLS_Props = {
4
+ modelValue?: SliderCaptchaValue;
5
+ /** 拉取验证码(宿主注入) */
6
+ fetchCaptcha: () => Promise<CaptchaPayload>;
7
+ };
8
+ /** 拉取新验证码 */
9
+ declare function refresh(): Promise<void>;
10
+ /** 失败后抖动并刷新 */
11
+ declare function failAndRefresh(): Promise<void>;
12
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
13
+ refresh: typeof refresh;
14
+ failAndRefresh: typeof failAndRefresh;
15
+ getValue: () => SliderCaptchaValue;
16
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ "update:modelValue": (value: SliderCaptchaValue) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: SliderCaptchaValue) => any) | undefined;
20
+ }>, {
21
+ modelValue: SliderCaptchaValue;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ export default _default;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * SliderCaptcha 导出
3
+ */
4
+ export { default as SliderCaptcha } from './SliderCaptcha.vue';
5
+ export type { CaptchaPayload, SliderCaptchaValue } from './types';
@@ -0,0 +1,14 @@
1
+ /**
2
+ * SliderCaptcha 相关类型
3
+ */
4
+ export interface SliderCaptchaValue {
5
+ captchaId: string;
6
+ captchaX: number;
7
+ verified: boolean;
8
+ }
9
+ export interface CaptchaPayload {
10
+ captchaId: string;
11
+ backgroundImage: string;
12
+ sliderImage: string;
13
+ sliderY: number;
14
+ }
@@ -13,9 +13,8 @@ type __VLS_Props = {
13
13
  /** 尺寸 */
14
14
  size?: 'large' | 'default' | 'small';
15
15
  };
16
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
17
  size: "large" | "default" | "small";
18
18
  round: boolean;
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
- declare const _default: typeof __VLS_export;
21
20
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** StatusTag 文档 */
3
+ export declare const StatusTagDoc: ComponentDoc;
@@ -15,9 +15,8 @@ type __VLS_Props = {
15
15
  /** 折叠时直接展示的按钮数 */
16
16
  visibleCount?: number;
17
17
  };
18
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
19
  collapseAt: number;
20
20
  visibleCount: number;
21
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
- declare const _default: typeof __VLS_export;
23
22
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** TableRowActions 文档 */
3
+ export declare const TableRowActionsDoc: ComponentDoc;
@@ -5,8 +5,7 @@ export interface ToastItem {
5
5
  removing?: boolean;
6
6
  }
7
7
  declare function showToast(message: string, type?: ToastItem['type'], duration?: number): void;
8
- declare const __VLS_export: import('vue').DefineComponent<{}, {
8
+ declare const _default: import('vue').DefineComponent<{}, {
9
9
  show: typeof showToast;
10
10
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
- declare const _default: typeof __VLS_export;
12
11
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** Toast 文档 */
3
+ export declare const ToastDoc: ComponentDoc;
@@ -4,16 +4,15 @@ type __VLS_Props = {
4
4
  placement?: 'top' | 'bottom' | 'left' | 'right';
5
5
  maxWidth?: number;
6
6
  };
7
- declare var __VLS_8: {};
7
+ declare var __VLS_6: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_8) => any;
9
+ default?: (props: typeof __VLS_6) => any;
10
10
  };
11
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
12
  placement: "top" | "bottom" | "left" | "right";
13
13
  maxWidth: number;
14
14
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
- declare const _default: typeof __VLS_export;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
16
  export default _default;
18
17
  type __VLS_WithSlots<T, S> = T & {
19
18
  new (): {
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** TruncatedTooltipText 文档 */
3
+ export declare const TruncatedTooltipTextDoc: ComponentDoc;
@@ -1,6 +1,4 @@
1
- declare const _default: typeof __VLS_export;
2
- export default _default;
3
- declare const __VLS_export: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<{
4
2
  /** 用户名(取首字母作为 fallback) */
5
3
  name?: string;
6
4
  /** 头像图片 URL */
@@ -24,3 +22,4 @@ declare const __VLS_export: import('vue').DefineComponent<{
24
22
  src: string;
25
23
  shape: "circle" | "square";
26
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../docs/types';
2
+ /** UserAvatar 文档 */
3
+ export declare const UserAvatarDoc: ComponentDoc;
@@ -12,3 +12,5 @@ export { useDataLoading } from './useDataLoading';
12
12
  export type { UseDataLoadingOptions, UseDataLoadingReturn } from './useDataLoading';
13
13
  export { useChatScroll } from './useChatScroll';
14
14
  export type { UseChatScrollOptions, UseChatScrollReturn } from './useChatScroll';
15
+ export { useClipboard } from './useClipboard';
16
+ export type { UseClipboardOptions } from './useClipboard';