bonuspluscomponents 0.0.101 → 0.0.102
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/AppContext/Context/AppContext.d.ts +62 -0
- package/dist/AppContext/Context/AppContext.d.ts.map +1 -0
- package/dist/Pages/AppealsPage/AppealsPage.d.ts +2 -0
- package/dist/Pages/AppealsPage/AppealsPage.d.ts.map +1 -1
- package/dist/Pages/CustomerInfoPage/CustomerInfoPage.d.ts.map +1 -1
- package/dist/Pages/RegistrationPage/RegistrationPage.d.ts.map +1 -1
- package/dist/bonuspluscomponents.cjs.js +75 -47
- package/dist/bonuspluscomponents.es.js +28322 -7290
- package/dist/bonuspluscomponents.umd.js +75 -47
- package/dist/components/AppealsPage/UseAppeals.d.ts +1 -0
- package/dist/components/AppealsPage/UseAppeals.d.ts.map +1 -1
- package/dist/components/FormController/UseFormController.d.ts +2 -12
- package/dist/components/FormController/UseFormController.d.ts.map +1 -1
- package/dist/components/Router/Router.d.ts +4 -1
- package/dist/components/Router/Router.d.ts.map +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/package.json +3 -1
- package/dist/components/AppealsPage/AppealsPage.d.ts +0 -3
- package/dist/components/AppealsPage/AppealsPage.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UseAppeals.d.ts","sourceRoot":"","sources":["../../../src/components/AppealsPage/UseAppeals.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"UseAppeals.d.ts","sourceRoot":"","sources":["../../../src/components/AppealsPage/UseAppeals.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAchC,QAAA,MAAM,UAAU;;;;;YAQyD,MAAM;cAAQ,MAAM;;CA4D5F,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CustomerFormControl
|
|
3
|
-
import { RequestResult } from "../UseAxios/useAxios";
|
|
4
|
-
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { CustomerFormControl } from "./Models";
|
|
5
3
|
type Props = {
|
|
6
|
-
axios: AxiosInstance;
|
|
7
|
-
controlApiHandler: IControlApiHandler;
|
|
8
|
-
initValue?: any;
|
|
9
4
|
dataParams?: any;
|
|
10
|
-
onSuccessSaved?: () => void;
|
|
11
5
|
onControlsGet?: (controls: CustomerFormControl[]) => void;
|
|
12
6
|
previewControls?: CustomerFormControl[];
|
|
13
7
|
buttonSaveText?: string;
|
|
14
8
|
isReg?: boolean;
|
|
15
|
-
errorPopup?: ({ errors, setOpened }: {
|
|
16
|
-
errors: RequestResult;
|
|
17
|
-
setOpened: (value: boolean) => void;
|
|
18
|
-
}) => any;
|
|
19
9
|
};
|
|
20
|
-
declare const FormController: ({
|
|
10
|
+
declare const FormController: ({ dataParams, onControlsGet, buttonSaveText, isReg, previewControls }: Props) => {
|
|
21
11
|
controlsForm: import("react/jsx-runtime").JSX.Element;
|
|
22
12
|
setControls: React.Dispatch<React.SetStateAction<CustomerFormControl[]>>;
|
|
23
13
|
saved: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UseFormController.d.ts","sourceRoot":"","sources":["../../../src/components/FormController/UseFormController.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"UseFormController.d.ts","sourceRoot":"","sources":["../../../src/components/FormController/UseFormController.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAC,mBAAmB,EAAqB,MAAM,UAAU,CAAC;AAcjE,KAAK,KAAK,GAAG;IAET,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,mBAAmB,EAAE,KAAK,IAAI,CAAC;IAC1D,eAAe,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB,CAAA;AAGD,QAAA,MAAM,cAAc,0EAMO,KAAK;;;;;;CAgL/B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type Props = {
|
|
2
|
+
showHeader: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const Router: ({ showHeader }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
2
5
|
export default Router;
|
|
3
6
|
//# sourceMappingURL=Router.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../../src/components/Router/Router.tsx"],"names":[],"mappings":"AASA,OAAO,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../../src/components/Router/Router.tsx"],"names":[],"mappings":"AASA,OAAO,eAAe,CAAA;AAYtB,KAAK,KAAK,GAAG;IACT,UAAU,EAAC,OAAO,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,MAAM,mBAAiB,KAAK,4CAgGjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAEvE,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAC,cAAc,EAAC,MAAM,sCAAsC,CAAC;AAEpE,OAAO,EAAC,aAAa,EAAC,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAC,YAAY,EAAC,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAC,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bonuspluscomponents",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.102",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
"publish_with_new_version": "vite build --mode production && npm --no-git-tag-version version patch && npm publish"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
+
"@mui/x-date-pickers": "^6.10.2",
|
|
14
15
|
"classnames": "^2.3.2",
|
|
16
|
+
"date-fns": "^2.30.0",
|
|
15
17
|
"react-qr-code": "^2.0.11"
|
|
16
18
|
},
|
|
17
19
|
"files": [
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppealsPage.d.ts","sourceRoot":"","sources":["../../../src/components/AppealsPage/AppealsPage.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,WAAW,+CAuBhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|