@quiteer/naive-extra 0.0.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 (171) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +86 -0
  3. package/dist/components/breadcrumb/index.d.ts +0 -0
  4. package/dist/components/breadcrumb/index.vue.d.ts +3 -0
  5. package/dist/components/breadcrumb/props.d.ts +0 -0
  6. package/dist/components/button/action/index.d.ts +3 -0
  7. package/dist/components/button/action/index.vue.d.ts +118 -0
  8. package/dist/components/button/action/props.d.ts +63 -0
  9. package/dist/components/button/action/utils.d.ts +8 -0
  10. package/dist/components/button/base/index.d.ts +3 -0
  11. package/dist/components/button/base/index.vue.d.ts +36 -0
  12. package/dist/components/button/base/props.d.ts +27 -0
  13. package/dist/components/button/index.d.ts +4 -0
  14. package/dist/components/button/types.d.ts +2 -0
  15. package/dist/components/form/helper.d.ts +11 -0
  16. package/dist/components/form/index.d.ts +3 -0
  17. package/dist/components/form/index.vue.d.ts +642 -0
  18. package/dist/components/form/props.d.ts +34 -0
  19. package/dist/components/icon/IconPicker.vue.d.ts +13 -0
  20. package/dist/components/icon/iconify.d.ts +25 -0
  21. package/dist/components/icon/index.d.ts +3 -0
  22. package/dist/components/icon/index.vue.d.ts +12 -0
  23. package/dist/components/layout/const.d.ts +22 -0
  24. package/dist/components/layout/context.d.ts +77 -0
  25. package/dist/components/layout/index.d.ts +5 -0
  26. package/dist/components/layout/index.vue.d.ts +80 -0
  27. package/dist/components/layout/layout-parts/AppBreadcrumb.vue.d.ts +3 -0
  28. package/dist/components/layout/layout-parts/AppFooter.vue.d.ts +18 -0
  29. package/dist/components/layout/layout-parts/AppHeader.vue.d.ts +18 -0
  30. package/dist/components/layout/layout-parts/AppLeftLogoInfo.vue.d.ts +3 -0
  31. package/dist/components/layout/layout-parts/AppMain.vue.d.ts +18 -0
  32. package/dist/components/layout/layout-parts/AppSidebar.vue.d.ts +4067 -0
  33. package/dist/components/layout/layout-parts/LayoutTransition.vue.d.ts +58 -0
  34. package/dist/components/layout/mode.d.ts +0 -0
  35. package/dist/components/layout/props.d.ts +35 -0
  36. package/dist/components/layout/types.d.ts +59 -0
  37. package/dist/components/layout/utils.d.ts +97 -0
  38. package/dist/components/provider/index.d.ts +3 -0
  39. package/dist/components/provider/index.vue.d.ts +19 -0
  40. package/dist/components/provider/props.d.ts +33 -0
  41. package/dist/components/search-bar/index.d.ts +3 -0
  42. package/dist/components/search-bar/index.vue.d.ts +1288 -0
  43. package/dist/components/search-bar/props.d.ts +15 -0
  44. package/dist/components/table/TableSetting.vue.d.ts +15 -0
  45. package/dist/components/table/index.d.ts +4 -0
  46. package/dist/components/table/index.vue.d.ts +17246 -0
  47. package/dist/components/table/props.d.ts +26 -0
  48. package/dist/components/table/useColumn.d.ts +15 -0
  49. package/dist/components/upload/enum.d.ts +18 -0
  50. package/dist/components/upload/index.d.ts +4 -0
  51. package/dist/components/upload/index.vue.d.ts +17 -0
  52. package/dist/components/upload/props.d.ts +7 -0
  53. package/dist/const/defaults.d.ts +7 -0
  54. package/dist/const/index.d.ts +2 -0
  55. package/dist/const/types.d.ts +134 -0
  56. package/dist/context/color.d.ts +13 -0
  57. package/dist/context/common.d.ts +117 -0
  58. package/dist/context/index.d.ts +41 -0
  59. package/dist/context/layout.d.ts +52 -0
  60. package/dist/context/loading-bar.d.ts +14 -0
  61. package/dist/context/locale.d.ts +143 -0
  62. package/dist/context/menu.d.ts +212 -0
  63. package/dist/context/message.d.ts +14 -0
  64. package/dist/context/notification.d.ts +14 -0
  65. package/dist/context/table.d.ts +917 -0
  66. package/dist/context/theme.d.ts +20 -0
  67. package/dist/hooks/index.d.ts +6 -0
  68. package/dist/hooks/useAdmin.d.ts +0 -0
  69. package/dist/hooks/useForm.d.ts +54 -0
  70. package/dist/hooks/useLayout.d.ts +116 -0
  71. package/dist/hooks/useProviderContext.d.ts +17 -0
  72. package/dist/hooks/useTable.d.ts +66 -0
  73. package/dist/hooks/useThemeOverrides.d.ts +8 -0
  74. package/dist/hooks/useUpload.d.ts +22 -0
  75. package/dist/index.css +36 -0
  76. package/dist/index.d.ts +29 -0
  77. package/dist/index.js +6771 -0
  78. package/dist/share/compact.d.ts +16 -0
  79. package/dist/share/index.d.ts +2 -0
  80. package/dist/share/menu.d.ts +0 -0
  81. package/dist/share/route.d.ts +0 -0
  82. package/dist/share/slot.d.ts +6 -0
  83. package/dist/utils/form.d.ts +0 -0
  84. package/dist/utils/index.d.ts +0 -0
  85. package/dist/utils/transformRoutes.d.ts +67 -0
  86. package/dist/utils/tree.d.ts +6 -0
  87. package/package.json +53 -0
  88. package/src/auto-imports.d.ts +73 -0
  89. package/src/components/breadcrumb/index.ts +0 -0
  90. package/src/components/breadcrumb/index.vue +0 -0
  91. package/src/components/breadcrumb/props.ts +0 -0
  92. package/src/components/button/action/index.ts +4 -0
  93. package/src/components/button/action/index.vue +313 -0
  94. package/src/components/button/action/props.ts +78 -0
  95. package/src/components/button/action/utils.ts +122 -0
  96. package/src/components/button/base/index.ts +4 -0
  97. package/src/components/button/base/index.vue +156 -0
  98. package/src/components/button/base/props.ts +29 -0
  99. package/src/components/button/index.ts +4 -0
  100. package/src/components/button/types.ts +2 -0
  101. package/src/components/form/helper.ts +73 -0
  102. package/src/components/form/index.ts +5 -0
  103. package/src/components/form/index.vue +243 -0
  104. package/src/components/form/props.ts +75 -0
  105. package/src/components/icon/IconPicker.vue +255 -0
  106. package/src/components/icon/iconify.ts +80 -0
  107. package/src/components/icon/index.ts +7 -0
  108. package/src/components/icon/index.vue +23 -0
  109. package/src/components/layout/const.ts +102 -0
  110. package/src/components/layout/context.ts +189 -0
  111. package/src/components/layout/index.ts +8 -0
  112. package/src/components/layout/index.vue +64 -0
  113. package/src/components/layout/layout-parts/AppBreadcrumb.vue +108 -0
  114. package/src/components/layout/layout-parts/AppFooter.vue +26 -0
  115. package/src/components/layout/layout-parts/AppHeader.vue +112 -0
  116. package/src/components/layout/layout-parts/AppLeftLogoInfo.vue +30 -0
  117. package/src/components/layout/layout-parts/AppMain.vue +34 -0
  118. package/src/components/layout/layout-parts/AppSidebar.vue +174 -0
  119. package/src/components/layout/layout-parts/LayoutTransition.vue +366 -0
  120. package/src/components/layout/mode.ts +0 -0
  121. package/src/components/layout/props.ts +36 -0
  122. package/src/components/layout/types.ts +79 -0
  123. package/src/components/layout/utils.ts +201 -0
  124. package/src/components/provider/index.ts +5 -0
  125. package/src/components/provider/index.vue +69 -0
  126. package/src/components/provider/props.ts +45 -0
  127. package/src/components/search-bar/index.ts +5 -0
  128. package/src/components/search-bar/index.vue +282 -0
  129. package/src/components/search-bar/props.ts +26 -0
  130. package/src/components/table/TableSetting.vue +253 -0
  131. package/src/components/table/index.ts +14 -0
  132. package/src/components/table/index.vue +179 -0
  133. package/src/components/table/props.ts +29 -0
  134. package/src/components/table/useColumn.ts +104 -0
  135. package/src/components/upload/enum.ts +21 -0
  136. package/src/components/upload/index.ts +9 -0
  137. package/src/components/upload/index.vue +267 -0
  138. package/src/components/upload/props.ts +8 -0
  139. package/src/components.d.ts +154 -0
  140. package/src/const/defaults.ts +94 -0
  141. package/src/const/index.ts +2 -0
  142. package/src/const/types.ts +139 -0
  143. package/src/context/color.ts +53 -0
  144. package/src/context/common.ts +27 -0
  145. package/src/context/index.ts +141 -0
  146. package/src/context/layout.ts +34 -0
  147. package/src/context/loading-bar.ts +26 -0
  148. package/src/context/locale.ts +22 -0
  149. package/src/context/menu.ts +26 -0
  150. package/src/context/message.ts +30 -0
  151. package/src/context/notification.ts +29 -0
  152. package/src/context/table.ts +32 -0
  153. package/src/context/theme.ts +35 -0
  154. package/src/hooks/index.ts +6 -0
  155. package/src/hooks/useAdmin.ts +0 -0
  156. package/src/hooks/useForm.ts +272 -0
  157. package/src/hooks/useLayout.ts +300 -0
  158. package/src/hooks/useProviderContext.ts +47 -0
  159. package/src/hooks/useTable.ts +241 -0
  160. package/src/hooks/useThemeOverrides.ts +18 -0
  161. package/src/hooks/useUpload.ts +82 -0
  162. package/src/index.ts +59 -0
  163. package/src/share/compact.ts +35 -0
  164. package/src/share/index.ts +2 -0
  165. package/src/share/menu.ts +0 -0
  166. package/src/share/route.ts +0 -0
  167. package/src/share/slot.ts +29 -0
  168. package/src/utils/form.ts +0 -0
  169. package/src/utils/index.ts +0 -0
  170. package/src/utils/transformRoutes.ts +163 -0
  171. package/src/utils/tree.ts +31 -0
@@ -0,0 +1,58 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ /**
3
+ * 通用布局过渡组件
4
+ *
5
+ * 为侧边栏、头部、底部、内容区域提供统一的进场/出场动画能力,
6
+ * 通过 `mode` 控制动画类型,适配宽度/高度/位移/透明等常见过渡。
7
+ *
8
+ * @param props.mode - 动画模式:'fade' | 'slide-x' | 'slide-y' | 'scale' | 'width' | 'height'
9
+ * @param props.duration - 过渡时长(毫秒),默认 250
10
+ * @param props.easing - 缓动函数,默认 cubic-bezier(0.25,0.46,0.45,0.94)
11
+ * @returns 无返回值(渲染一个 <Transition> 包裹的插槽)
12
+ *
13
+ * @example
14
+ * ```vue
15
+ * <LayoutTransition mode="width">
16
+ * <AppSidebar v-if="showSider" />
17
+ * </LayoutTransition>
18
+ * ```
19
+ *
20
+ * @remarks
21
+ * - width/height 模式使用 scrollWidth/scrollHeight 进行展开动画,before-leave 固定当前尺寸避免抖动
22
+ * - slide-x/slide-y 使用 transform 与 opacity 联合过渡
23
+ * - scale 使用轻微缩放与透明度过渡
24
+ *
25
+ * @security
26
+ * - 仅修改元素内联样式;不涉及外部副作用
27
+ *
28
+ * @performance
29
+ * - 依赖浏览器原生过渡;时间复杂度与节点尺寸无关
30
+ */
31
+ type __VLS_Props = {
32
+ mode?: 'fade' | 'slide-x' | 'slide-y' | 'scale' | 'width' | 'height';
33
+ duration?: number;
34
+ easing?: string;
35
+ appear?: boolean;
36
+ };
37
+ declare function __VLS_template(): {
38
+ attrs: Partial<{}>;
39
+ slots: {
40
+ default?(_: {}): any;
41
+ };
42
+ refs: {};
43
+ rootEl: any;
44
+ };
45
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
46
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
47
+ duration: number;
48
+ mode: "fade" | "slide-x" | "slide-y" | "scale" | "width" | "height";
49
+ easing: string;
50
+ appear: boolean;
51
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
52
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
53
+ export default _default;
54
+ type __VLS_WithTemplateSlots<T, S> = T & {
55
+ new (): {
56
+ $slots: S;
57
+ };
58
+ };
File without changes
@@ -0,0 +1,35 @@
1
+ import { MenuOption } from 'naive-ui';
2
+ import { RouteRecordRaw } from 'vue-router';
3
+ import { LayoutType } from './types';
4
+ export type Props = Partial<{
5
+ /** @description 布局类型 */
6
+ type: LayoutType;
7
+ /** @description 是否显示边框 */
8
+ bordered: boolean;
9
+ /** @description 反色样式(Header/Sider/Footer/Menu) */
10
+ inverted: boolean;
11
+ /** @description 是否折叠侧边栏 */
12
+ isCollapsed: boolean;
13
+ /** @description 是否显示底部 */
14
+ showFooter: boolean;
15
+ /** @description 头部高度 */
16
+ headerHeight: number;
17
+ /** @description 底部高度 */
18
+ footerHeight: number;
19
+ /** @description 底部是否占满宽度 */
20
+ footerFull: boolean;
21
+ /** @description 侧边栏宽度 */
22
+ siderWidth: number;
23
+ /** @description 侧边栏混合模式的宽度 */
24
+ siderMixedWidth: number;
25
+ /** @description 折叠侧边栏宽度 */
26
+ collapsedWidth: number;
27
+ /** @description 当前激活的路由键 */
28
+ activeKey: string;
29
+ /** @description 菜单路由 */
30
+ menuOptions: MenuOption[];
31
+ /** @description 基础路由 */
32
+ baseRoutes: RouteRecordRaw[];
33
+ /** @description 是否开启手风琴模式 */
34
+ accordion: boolean;
35
+ }>;
@@ -0,0 +1,59 @@
1
+ import { RouteRecordRedirectOption } from 'vue-router';
2
+ /**
3
+ * 应用布局类型枚举(格式:[主要]-[侧边栏模式]-[菜单选项])
4
+ * 用于动态切换页面整体结构,省略 "layout" 后缀以保持简洁
5
+ */
6
+ export type LayoutType = 'side-menu' | 'side-menu/2' | 'side-mixed-menu' | 'side-group-menu' | 'top-menu' | 'top-menu/2' | 'top-group-menu/2' | 'top-mixed-menu/2' | 'blank';
7
+ export interface RouteMeta {
8
+ /**
9
+ * 页面标题(用于 document.title 或 tab 标签)
10
+ */
11
+ title?: string;
12
+ /**
13
+ * 是否需要认证(true: 需登录,false: 免登录)
14
+ * @default true
15
+ */
16
+ requiresAuth?: boolean;
17
+ /**
18
+ * 所需权限(字符串数组或字符串)
19
+ */
20
+ permissions?: string | string[];
21
+ /**
22
+ * 所属角色(如 'admin', 'user')
23
+ */
24
+ roles?: string[];
25
+ /**
26
+ * 是否在侧边栏菜单中显示
27
+ * @default false
28
+ */
29
+ hideMenu?: boolean;
30
+ /**
31
+ * 侧边栏菜单选中
32
+ * @default string
33
+ */
34
+ activeMenu?: RouteRecordRedirectOption;
35
+ /**
36
+ * 菜单图标(Iconify 格式,如 'mdi:home')
37
+ */
38
+ icon?: string;
39
+ /**
40
+ * 使用的布局名称(如 'blank', 'main')
41
+ */
42
+ layout?: LayoutType;
43
+ /**
44
+ * 是否开启 keep-alive 缓存
45
+ */
46
+ keepAlive?: boolean;
47
+ /**
48
+ * 页面过渡动画名
49
+ */
50
+ transition?: string;
51
+ /**
52
+ * 排序
53
+ */
54
+ order?: number;
55
+ /**
56
+ * 外链
57
+ */
58
+ href?: string;
59
+ }
@@ -0,0 +1,97 @@
1
+ import { MenuOption } from 'naive-ui';
2
+ import { RendererNode, RendererElement } from 'vue';
3
+ type AnyMenuOption = MenuOption & {
4
+ key?: string | number;
5
+ children?: AnyMenuOption[];
6
+ href?: string;
7
+ };
8
+ export declare function renderMenuLabel(option: AnyMenuOption): string | globalThis.VNode< RendererNode, RendererElement, {
9
+ [key: string]: any;
10
+ }>;
11
+ export declare function findNodeByKey(options: AnyMenuOption[], key: string | number): AnyMenuOption | null;
12
+ export declare function findFirstLeaf(node: AnyMenuOption | null | undefined): AnyMenuOption | null;
13
+ /** 解析 activeKey 对应的末端(叶子)key */
14
+ export declare function resolveLeafKeyFromMenu(options: AnyMenuOption[], activeKey: string | number): string;
15
+ /** 从子节点 key 解析顶层父级 key */
16
+ export declare function resolveTopParentKeyFromMenu(options: AnyMenuOption[], childKey: string | number): string;
17
+ export declare function isTopLevelKey(options: AnyMenuOption[], key: string | number): boolean;
18
+ export declare function isLeafKey(options: AnyMenuOption[], key: string | number): boolean;
19
+ /**
20
+ * 从 activeKey 解析出主菜单与子菜单的键
21
+ *
22
+ * 解析传入的活跃键在菜单树中的位置,并分别返回顶层父级的 key(主菜单)
23
+ * 与该分支上的末端叶子 key(子菜单)。
24
+ *
25
+ * @param options - 菜单树,需包含 `key` 与可选的 `children`
26
+ * @param activeKey - 当前激活的菜单键(路径)
27
+ * @returns 返回对象 `{ mainKey, subKey }`,可能为 `null` 值
28
+ * @throws {TypeError} 当 `options` 非数组或 `activeKey` 非字符串/数字时在编译期提示
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const { mainKey, subKey } = resolveMainSubFromActive(menuOptions, '/dashboard/analysis')
33
+ * ```
34
+ *
35
+ * @remarks
36
+ * - mainKey 与 subKey 均进行字符串化处理,确保比较与 includes 一致性
37
+ *
38
+ * @security
39
+ * - 纯函数,无副作用
40
+ *
41
+ * @performance
42
+ * - O(n) 遍历一次菜单树
43
+ */
44
+ export declare function resolveMainSubFromActive(options: AnyMenuOption[], activeKey: string | number): {
45
+ mainKey: string | null;
46
+ subKey: string | null;
47
+ };
48
+ /**
49
+ * 合并主/子菜单键为最终 activeKey
50
+ *
51
+ * 当存在子菜单键时优先返回子菜单键;否则返回主菜单分支上的第一个叶子键,
52
+ * 若主菜单键也不存在则返回 `null`。
53
+ *
54
+ * @param options - 菜单树,需包含 `key` 与可选的 `children`
55
+ * @param mainKey - 顶层父级 key(主菜单)
56
+ * @param subKey - 末端叶子 key(子菜单)
57
+ * @returns 最终用于路由跳转的 activeKey(字符串)或 `null`
58
+ * @throws {TypeError} 当参数类型不符合预期在编译期提示
59
+ *
60
+ * @example
61
+ * ```ts
62
+ * const active = resolveActiveKeyFromPair(menuOptions, '/dashboard', '/dashboard/analysis')
63
+ * ```
64
+ *
65
+ * @remarks
66
+ * - 若 `subKey` 不存在,将尝试从 `mainKey` 分支解析第一个叶子以保证跳转到可达页面
67
+ *
68
+ * @security
69
+ * - 纯函数,无副作用
70
+ *
71
+ * @performance
72
+ * - O(n)(在需要从 `mainKey` 分支解析叶子时)
73
+ */
74
+ export declare function resolveActiveKeyFromPair(options: AnyMenuOption[], mainKey: string | number | null | undefined, subKey: string | number | null | undefined): string | null;
75
+ /**
76
+ * 递归更新菜单树的每个节点
77
+ *
78
+ * 对传入的菜单树做一次深度遍历,并对每个节点应用 `updater`,返回新的树结构。
79
+ * 该方法默认以不可变方式工作:不会修改原始节点引用,而是为每个节点创建浅拷贝并递归重建 children。
80
+ *
81
+ * @param options - 菜单树数组(MenuOption[]),允许为空数组
82
+ * @param updater - 节点更新函数,接收当前节点并返回更新后的节点
83
+ * @returns 新的菜单树数组(保持树形结构)
84
+ *
85
+ * @throws {TypeError} 当 updater 不是函数时抛出
86
+ *
87
+ * @example
88
+ * ```ts
89
+ * const next = updateMenuTree(menuOptions, (item) => {
90
+ * if (typeof item.key === 'string')
91
+ * return { ...item, key: item.key.replace('/old', '/new') }
92
+ * return item
93
+ * })
94
+ * ```
95
+ */
96
+ export declare function updateMenuTree(options: AnyMenuOption[], updater: (item: AnyMenuOption) => AnyMenuOption): AnyMenuOption[];
97
+ export {};
@@ -0,0 +1,3 @@
1
+ import { default as QuiProvider } from './index.vue';
2
+ export { QuiProvider };
3
+ export type { ProviderProps } from './props';
@@ -0,0 +1,19 @@
1
+ import { ProviderProps } from './props';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: DefineComponent<ProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,33 @@
1
+ import { ConfigProviderProps, DialogProviderProps, LoadingBarProviderProps, MessageProviderProps, NotificationProviderProps } from 'naive-ui';
2
+ import { NaiveExtraThemeConfig } from '../../const';
3
+ export interface ProviderProps {
4
+ /**
5
+ * NaiveExtra 主题配置
6
+ */
7
+ config?: NaiveExtraThemeConfig;
8
+ /**
9
+ * Config Provider Props
10
+ * 透传 NConfigProvider 的所有属性 (优先级高于 config)
11
+ */
12
+ configProviderProps?: ConfigProviderProps;
13
+ /**
14
+ * Loading Bar Provider Props
15
+ * 透传 NLoadingBarProvider 的所有属性
16
+ */
17
+ loadingBarProviderProps?: LoadingBarProviderProps;
18
+ /**
19
+ * Dialog Provider Props
20
+ * 透传 NDialogProvider 的所有属性
21
+ */
22
+ dialogProviderProps?: DialogProviderProps;
23
+ /**
24
+ * Notification Provider Props
25
+ * 透传 NNotificationProvider 的所有属性
26
+ */
27
+ notificationProviderProps?: NotificationProviderProps;
28
+ /**
29
+ * Message Provider Props
30
+ * 透传 NMessageProvider 的所有属性
31
+ */
32
+ messageProviderProps?: MessageProviderProps;
33
+ }
@@ -0,0 +1,3 @@
1
+ import { default as QuiSearchBar } from './index.vue';
2
+ export { QuiSearchBar };
3
+ export type { Props as SearchBarProps } from './props';