@dao-style/core 1.5.1-beta.8 → 1.6.0

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.
@@ -0,0 +1 @@
1
+ export * from './tooltip';
@@ -0,0 +1,3 @@
1
+ import type { Plugin } from 'vue';
2
+ declare const plugin: Plugin;
3
+ export default plugin;
@@ -0,0 +1,3 @@
1
+ import { Directive } from 'vue';
2
+ declare const _default: Directive<HTMLElement, string>;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export { default as vDaoTooltip } from './directive';
2
+ export { default as DaoPopperContentWrapper } from './wrapper';
3
+ export * from './directive';
4
+ export * from './wrapper';
@@ -0,0 +1,15 @@
1
+ import { Ref } from 'vue';
2
+ import { PopperContentProps } from '../../components/popper/popper-props';
3
+ export declare const popperContentMap: Map<string, Partial<{
4
+ content: string;
5
+ resolve: CallableFunction;
6
+ props: PopperContentProps;
7
+ isOpen: boolean;
8
+ }>>;
9
+ declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
10
+ [key: string]: any;
11
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
12
+ export default _default;
13
+ export declare const popperIdWeakMap: WeakMap<object, any>;
14
+ export declare const popperOptionsWeakMap: WeakMap<object, any>;
15
+ export declare const createPopperContent: (el: HTMLElement, content: string, isOpen: Ref<boolean>) => Promise<unknown>;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import './styles/color/var.json';
3
3
  import './styles/color/alias.json';
4
4
  declare function locale(lang: string): any;
5
5
  export * from './components';
6
+ export * from './directives';
6
7
  export * from './utils';
7
8
  declare const _default: {
8
9
  install: ((app: App<any>, ...options: any[]) => any) & {