@bagelink/vue 1.6.73 → 1.6.77

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.
@@ -1,17 +1,13 @@
1
1
  import { InjectionKey, Plugin } from 'vue';
2
- import { Bagel } from '../../../sdk/src/index.ts';
3
- export declare const bagelInjectionKey: InjectionKey<Bagel>;
2
+ import { BagelToastOptions } from './useToast';
4
3
  export declare const i18nTInjectionKey: InjectionKey<(key: string) => string>;
5
4
  export declare function injectI18nT(injectionKey?: typeof i18nTInjectionKey): (key: string) => string;
6
5
  export interface BagelOptions {
7
6
  availableLangs?: string[];
8
7
  defaultLang?: string;
9
8
  language?: string;
10
- host?: string;
11
- fileBaseUrl?: string;
12
- fileVersion?: string;
13
- onError?: (err: Error) => void;
14
9
  i18nT?: (key: string) => string;
10
+ toast?: BagelToastOptions;
15
11
  }
16
12
  export declare const BagelVue: Plugin<BagelOptions>;
17
13
  //# sourceMappingURL=bagel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bagel.d.ts","sourceRoot":"","sources":["../../src/plugins/bagel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAUrC,eAAO,MAAM,iBAAiB,EAAsB,YAAY,CAAC,KAAK,CAAC,CAAA;AACvE,eAAO,MAAM,iBAAiB,EAAsB,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,CAAA;AAEzF,wBAAgB,WAAW,CAAC,YAAY,GAAE,OAAO,iBAAqC,SAFf,MAAM,KAAK,MAAM,CAMvF;AAED,MAAM,WAAW,YAAY;IAC5B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM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