bonuspluscomponents 0.0.90 → 0.0.92

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,3 +1,6 @@
1
- declare const Loader: () => import("react/jsx-runtime").JSX.Element;
1
+ type Props = {
2
+ show: boolean;
3
+ };
4
+ declare const Loader: ({ show }: Props) => import("react/jsx-runtime").JSX.Element;
2
5
  export default Loader;
3
6
  //# sourceMappingURL=Loader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,+CAUX,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACT,IAAI,EAAC,OAAO,CAAC;CAChB,CAAA;AAED,QAAA,MAAM,MAAM,aAAW,KAAK,4CAU3B,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UsePurchaseHistory.d.ts","sourceRoot":"","sources":["../../../../src/components/PurchaseHistory/usePurchaseHistory/UsePurchaseHistory.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AAOnC,QAAA,MAAM,kBAAkB;;;CAiDvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"UsePurchaseHistory.d.ts","sourceRoot":"","sources":["../../../../src/components/PurchaseHistory/usePurchaseHistory/UsePurchaseHistory.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AAOnC,QAAA,MAAM,kBAAkB;;;CAgDvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../../src/components/Router/Router.tsx"],"names":[],"mappings":"AASA,OAAO,eAAe,CAAA;AAStB,QAAA,MAAM,MAAM,+CAmFX,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../../src/components/Router/Router.tsx"],"names":[],"mappings":"AASA,OAAO,eAAe,CAAA;AAUtB,QAAA,MAAM,MAAM,+CA8FX,CAAC;AAEF,eAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bonuspluscomponents",
3
3
  "private": false,
4
- "version": "0.0.90",
4
+ "version": "0.0.92",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -1,37 +0,0 @@
1
- import React from "react";
2
- import { AxiosInstance } from "axios";
3
- import { CabinetUISettings } from "../../components/models/CabinetSettings";
4
- declare enum CabinetType {
5
- CustomerCabinet = 0,
6
- Telegram = 1,
7
- VK = 2
8
- }
9
- interface CabinetSettings {
10
- cabinetEnabled: boolean;
11
- canShowBusinessInfo: boolean;
12
- canShowECardLink: boolean;
13
- canShowAppeals: boolean;
14
- canEditPersonInfo: boolean;
15
- formFilled: boolean;
16
- isReg: boolean;
17
- }
18
- type ProviderApp = {
19
- cabinetType: CabinetType | null;
20
- cabinetIsLoading: boolean;
21
- apiAxios: () => AxiosInstance;
22
- phoneNumber: string | null;
23
- setPhoneNumber: React.Dispatch<React.SetStateAction<string | null>>;
24
- cabinetSettings: CabinetSettings | null;
25
- cabinetUISettings: CabinetUISettings | null;
26
- authToken: string | null;
27
- setAuthToken: React.Dispatch<React.SetStateAction<string | null>>;
28
- createAxios: (authToken: string, host: string) => void;
29
- theme: any;
30
- };
31
- export declare const AppContext: React.Context<ProviderApp>;
32
- export declare const AppProvider: ({ children, cabinetType }: {
33
- children: JSX.Element;
34
- cabinetType: CabinetType;
35
- }) => import("react/jsx-runtime").JSX.Element;
36
- export {};
37
- //# sourceMappingURL=AppContext.d.ts.map
@@ -1 +0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