@sirpho/components 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1 +1,30 @@
1
- # 组件库
1
+ ## sirpho components
2
+
3
+ #### 常用组件库
4
+
5
+ | 工具类 | 导入文件 |
6
+ |---------|----------------------|
7
+ | 多列下拉组件 | ComboBox |
8
+ | vxe筛选插件 | FilterExtend |
9
+ | 页面容器 | PageContainer |
10
+ | 查询容器 | QueryFilterContainer |
11
+ | 日志弹框 | StatusPop |
12
+ | vxe容器 | VxeContainer |
13
+
14
+ - [npm包地址](https://www.npmjs.com/package/@sirpho/components)
15
+
16
+
17
+ - [github地址](https://github.com/sirpho/components)
18
+
19
+ 打包命令
20
+
21
+ ```git
22
+ pnpm i
23
+ pnpm build
24
+ ```
25
+
26
+ 在项目中使用
27
+
28
+ ```cmd
29
+ npm i @sirpho/components
30
+ ```
@@ -6,4 +6,9 @@ export declare const globalConfig: any;
6
6
  * vxeTable默认配置
7
7
  */
8
8
  export declare const vxeTableDefaultConfig: any;
9
- export declare function registerVariant(defHttp: any, variants: any): void;
9
+ /**
10
+ * Combox注册axios和默认接口链接
11
+ * @param defHttp
12
+ * @param variants
13
+ */
14
+ export declare const registerVariant: (defHttp: any, variants: any) => void;
@@ -5,4 +5,5 @@ import ComboBox from './Box/ComboBox.vue';
5
5
  import ModalBox from './Box/ModalBox.vue';
6
6
  import PageContainer from './PageContainer/index.vue';
7
7
  import QueryFilterContainer from './QueryFilterContainer/index.vue';
8
- export { PageContainer, QueryFilterContainer, VxeContainer, FilterExtend, StatusPop, ComboBox, ModalBox, };
8
+ import { vxeTableDefaultConfig, registerVariant } from "./Box/config";
9
+ export { PageContainer, QueryFilterContainer, VxeContainer, FilterExtend, StatusPop, ComboBox, ModalBox, vxeTableDefaultConfig, registerVariant };