@jctrans-materials/comps-vue2 1.0.0 → 1.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/dist/components/search/hooks/useSearchHistory.d.ts +4 -2
- package/dist/components/search/hooks/useSearchLogic.d.ts +2 -0
- package/dist/components/search/index.d.ts +41 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.esm.js +514 -454
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,14 +2,18 @@ import { VueConstructor } from 'vue';
|
|
|
2
2
|
import { default as ApplyDataDialog } from './components/ApplyDataDialog';
|
|
3
3
|
import { default as JcSearch } from './components/search/index';
|
|
4
4
|
import { default as GlobalModal } from './components/GlobalModal';
|
|
5
|
+
import { SharedConfig } from '@jctrans-materials/shared';
|
|
5
6
|
|
|
6
7
|
export { ApplyDataDialog, JcSearch, GlobalModal };
|
|
7
8
|
export * from './plugin';
|
|
9
|
+
interface JcUIPluginOptions {
|
|
10
|
+
sharedConfig?: Partial<SharedConfig>;
|
|
11
|
+
}
|
|
8
12
|
declare const _default: {
|
|
9
13
|
/**
|
|
10
14
|
* Vue 2 插件安装方法
|
|
11
15
|
* @param Vue Vue 的构造函数
|
|
12
16
|
*/
|
|
13
|
-
install(Vue: VueConstructor): void;
|
|
17
|
+
install(Vue: VueConstructor, options?: JcUIPluginOptions): void;
|
|
14
18
|
};
|
|
15
19
|
export default _default;
|