upconta.frontend-utils 2.4.0 → 2.5.0

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.
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ declare const AccountingVoucherButton: FC<{
3
+ value?: string;
4
+ parentId?: string;
5
+ endpoint: string;
6
+ title?: string;
7
+ onDone?: () => void;
8
+ }>;
9
+ export default AccountingVoucherButton;
@@ -0,0 +1,12 @@
1
+ import { FC } from 'react';
2
+ declare const AccountingVoucherModal: FC<{
3
+ accountingVoucher: string;
4
+ onClose: () => void;
5
+ getPermissions: (route?: string) => {
6
+ leer: boolean;
7
+ escribir: boolean;
8
+ eliminar: boolean;
9
+ anular: boolean;
10
+ };
11
+ }>;
12
+ export default AccountingVoucherModal;
@@ -7,6 +7,7 @@ interface Empresa {
7
7
  nombreUsuario: string;
8
8
  testEnviroment: boolean;
9
9
  usuarioEsAdmin: boolean;
10
+ setAccountingVoucher: (voucher: string) => void;
10
11
  /**
11
12
  * Permite verficar la exitencia y vigencia de un módulo
12
13
  */
@@ -16,3 +16,4 @@ export { default as LayoutBase } from './LayoutBase';
16
16
  export { default as ContextoEmpresa, useContextoEmpresa, } from './contexts/Empresa';
17
17
  export { useFrontendUtils } from './contexts/FrontendUtils';
18
18
  export { default as FormularioPersonas } from './administrative/FormularioPersonas';
19
+ export { default as AccountingVoucherButton } from './contability/AccountingVoucherButton';