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.
@@ -1,6 +1,7 @@
1
1
  import { Appeal } from "./Models";
2
2
  declare const UseAppeals: () => {
3
3
  appeals: Appeal[];
4
+ appealsNotFound: import("react/jsx-runtime").JSX.Element | null;
4
5
  createAppealButton: import("react/jsx-runtime").JSX.Element;
5
6
  additionalInfoState: {
6
7
  id: string;
@@ -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;AAahC,QAAA,MAAM,UAAU;;;;YAQyD,MAAM;cAAQ,MAAM;;CAmD5F,CAAC;AAEF,eAAe,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, IControlApiHandler } from "./Models";
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: ({ axios, controlApiHandler, initValue, dataParams, onSuccessSaved, onControlsGet, buttonSaveText, errorPopup, isReg, previewControls }: Props) => {
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,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAC,mBAAmB,EAAE,kBAAkB,EAAC,MAAM,UAAU,CAAC;AASjE,OAAO,EAAC,aAAa,EAAiB,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,KAAK,KAAK,GAAG;IACT,KAAK,EAAC,aAAa,CAAC;IACpB,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,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;IAChB,UAAU,CAAC,EAAE,CAAC,EAAC,MAAM,EAAE,SAAS,EAAC,EAAE;QAAE,MAAM,EAAE,aAAa,CAAC;QAAC,SAAS,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;KAAE,KAAK,GAAG,CAAA;CAC5G,CAAA;AAGD,QAAA,MAAM,cAAc,2IAWO,KAAK;;;;;;CAsL/B,CAAC;AAEF,eAAe,cAAc,CAAC"}
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
- declare const Router: () => import("react/jsx-runtime").JSX.Element;
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;AAUtB,QAAA,MAAM,MAAM,+CA8FX,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;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":"AACA,OAAO,0BAA0B,CAAC;AAClC,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,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,OAAO,EAAC,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC"}
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.101",
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,3 +0,0 @@
1
- declare const AppealsPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default AppealsPage;
3
- //# sourceMappingURL=AppealsPage.d.ts.map
@@ -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"}