@factoringplus/pl-components-pack-v3 0.16.3-pre-4 → 0.16.3-pre-5

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.
@@ -5,14 +5,11 @@ import loadingAndSetup from '../plugins/loading/loading';
5
5
 
6
6
 
7
7
 
8
- import components from './components';
8
+ export * from './pl-snackbar/renderSnackbar';
9
9
  declare const Storybook: {
10
10
  install: (app: App) => void;
11
- PlNotification: {
12
- install: () => import("./pl-snackbar/types").IPlNotification;
13
- };
11
+ PlNotification: import("./pl-snackbar/renderSnackbar").SFCInstallWithContext<import("./pl-snackbar/types").IPlNotification>;
14
12
  apiJs: (optionsRequest: any, isGetResourse: boolean | undefined, token: any) => Promise<unknown>;
15
13
  loader: typeof loadingAndSetup;
16
14
  };
17
15
  export default Storybook;
18
- export { components };
@@ -1,6 +1,10 @@
1
1
 
2
2
  import type { IPlNotification } from './types';
3
- declare const _default: {
4
- install: () => IPlNotification;
3
+ import type { AppContext, Plugin } from 'vue';
4
+ export declare type SFCWithInstall<T> = T & Plugin;
5
+ export declare type SFCInstallWithContext<T> = SFCWithInstall<T> & {
6
+ _context: AppContext | null;
5
7
  };
6
- export default _default;
8
+ export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
9
+ export declare const PlNotification: SFCInstallWithContext<IPlNotification>;
10
+ export default PlNotification;