@fayz-ai/plugin-fiscal-br 0.3.2 → 0.3.5
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/data/inbox.d.ts +75 -0
- package/dist/data/inbox.d.ts.map +1 -0
- package/dist/data/registries.d.ts +3 -0
- package/dist/data/registries.d.ts.map +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3036 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/nfe-xml.d.ts +154 -0
- package/dist/lib/nfe-xml.d.ts.map +1 -0
- package/dist/migrations/index.d.ts +6 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/types.d.ts +135 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/views/ComingSoon.d.ts +2 -0
- package/dist/views/ComingSoon.d.ts.map +1 -0
- package/dist/views/GapScreens.d.ts +17 -0
- package/dist/views/GapScreens.d.ts.map +1 -0
- package/dist/views/InboundNotesPage.d.ts +13 -0
- package/dist/views/InboundNotesPage.d.ts.map +1 -0
- package/dist/views/InboundNotesView.d.ts +8 -0
- package/dist/views/InboundNotesView.d.ts.map +1 -0
- package/dist/views/ManifestView.d.ts +6 -0
- package/dist/views/ManifestView.d.ts.map +1 -0
- package/dist/views/NoteReconcileView.d.ts +9 -0
- package/dist/views/NoteReconcileView.d.ts.map +1 -0
- package/dist/views/inventoryView.d.ts +14 -0
- package/dist/views/inventoryView.d.ts.map +1 -0
- package/package.json +8 -4
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface InboundNotesPageProps {
|
|
3
|
+
/** Onde o título a pagar vive no app anfitrião. Sem isto o botão não aparece. */
|
|
4
|
+
payableRoute?: (invoiceId: string) => string;
|
|
5
|
+
}
|
|
6
|
+
export declare function InboundNotesPage({ payableRoute }?: InboundNotesPageProps): React.JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* O componente que o registro de rotas monta. Ele recebe as rotas sem prop, então
|
|
9
|
+
* a configuração do host entra por fechamento — e a fábrica mora aqui, num `.tsx`,
|
|
10
|
+
* para o manifesto continuar sendo TypeScript sem JSX.
|
|
11
|
+
*/
|
|
12
|
+
export declare function makeInboundNotesRoute(options?: InboundNotesPageProps): () => React.ReactElement;
|
|
13
|
+
//# sourceMappingURL=InboundNotesPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InboundNotesPage.d.ts","sourceRoot":"","sources":["../../src/views/InboundNotesPage.tsx"],"names":[],"mappings":"AASA,OAAO,KAA2C,MAAM,OAAO,CAAA;AA0B/D,MAAM,WAAW,qBAAqB;IACpC,iFAAiF;IACjF,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAA;CAC7C;AAED,wBAAgB,gBAAgB,CAAC,EAAE,YAAY,EAAE,GAAE,qBAA0B,qBAiD5E;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,GAAE,qBAA0B,GAAG,MAAM,KAAK,CAAC,YAAY,CAInG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface InboundNotesViewProps {
|
|
3
|
+
/** Abre a conciliação da nota. A rota é do host — esta tela não sabe navegar. */
|
|
4
|
+
onOpenNote: (noteId: string) => void;
|
|
5
|
+
onOpenManifest?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function InboundNotesView({ onOpenNote, onOpenManifest }: InboundNotesViewProps): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=InboundNotesView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InboundNotesView.d.ts","sourceRoot":"","sources":["../../src/views/InboundNotesView.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAuBhF,MAAM,WAAW,qBAAqB;IACpC,iFAAiF;IACjF,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AAED,wBAAgB,gBAAgB,CAAC,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,qBAAqB,qBA6NrF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManifestView.d.ts","sourceRoot":"","sources":["../../src/views/ManifestView.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAoD,MAAM,OAAO,CAAA;AAmBxE,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CACrC;AAED,wBAAgB,YAAY,CAAC,EAAE,UAAU,EAAE,EAAE,iBAAiB,qBAyI7D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface NoteReconcileViewProps {
|
|
3
|
+
noteId: string;
|
|
4
|
+
onBack: () => void;
|
|
5
|
+
/** Onde o título a pagar abre depois de aceitar. O host sabe a rota; esta tela não. */
|
|
6
|
+
onOpenInvoice?: (invoiceId: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function NoteReconcileView({ noteId, onBack, onOpenInvoice }: NoteReconcileViewProps): React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=NoteReconcileView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoteReconcileView.d.ts","sourceRoot":"","sources":["../../src/views/NoteReconcileView.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAoD,MAAM,OAAO,CAAA;AAmExE,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,uFAAuF;IACvF,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5C;AAED,wBAAgB,iBAAiB,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,sBAAsB,qBA4nB1F"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type InboundNotesPageProps } from './InboundNotesPage';
|
|
3
|
+
export declare function inboundNotesInventoryView(options?: InboundNotesPageProps): {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon: string;
|
|
7
|
+
render: () => React.JSX.Element;
|
|
8
|
+
children: {
|
|
9
|
+
id: string;
|
|
10
|
+
label: string;
|
|
11
|
+
render: () => React.JSX.Element;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=inventoryView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inventoryView.d.ts","sourceRoot":"","sources":["../../src/views/inventoryView.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAGjF,wBAAgB,yBAAyB,CAAC,OAAO,GAAE,qBAA0B;;;;;;;;;;EAqB5E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fayz-ai/plugin-fiscal-br",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "[preview] Brazilian fiscal addon for asynchronous NFC-e emission through PlugNotas",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -18,15 +18,19 @@
|
|
|
18
18
|
],
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": "^18.0.0 || ^19.0.0",
|
|
21
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
21
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
22
|
+
"lucide-react": ">=0.400.0 <1.0.0"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@fayz-ai/core": "^0.
|
|
25
|
-
"@fayz-ai/plugin-financial": "^0.
|
|
25
|
+
"@fayz-ai/core": "^0.33.0",
|
|
26
|
+
"@fayz-ai/plugin-financial": "^0.18.1",
|
|
27
|
+
"@fayz-ai/ui": "^0.33.1"
|
|
26
28
|
},
|
|
27
29
|
"devDependencies": {
|
|
30
|
+
"@types/node": "^20.0.0",
|
|
28
31
|
"@types/react": "^18.3.0",
|
|
29
32
|
"@types/react-dom": "^18.3.0",
|
|
33
|
+
"lucide-react": "^0.400.0",
|
|
30
34
|
"react": "^18.3.0",
|
|
31
35
|
"react-dom": "^18.3.0",
|
|
32
36
|
"tsup": "^8.2.0",
|