@orbe-agro/client-core-prod 5.6.88 → 5.6.89
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/@types/base/@types/models/compras/RequisicaoCompra.d.ts +1 -0
- package/dist/@types/base/@types/models/compras/RequisicaoCompra.d.ts.map +1 -1
- package/dist/@types/base/utils/components/notifications.d.ts +3 -2
- package/dist/@types/base/utils/components/notifications.d.ts.map +1 -1
- package/dist/base/utils/components/notifications.js +2 -2
- package/dist/base/utils/components/notifications.js.map +1 -1
- package/lib/base/@types/models/compras/RequisicaoCompra.ts +1 -0
- package/lib/base/utils/components/notifications.tsx +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequisicaoCompra.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/compras/RequisicaoCompra.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,gCAAgC,EAAE,OAAO,CAAA;CAC5C,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,sBAAsB,EAAE,sBAAsB,EAAE,CAAA;CACnD,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,MAAM,CAAA;C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BAAqB,EAAE,CAAA;IAC9B,QAAQ,CAAC,EAAE,wBAAwB,EAAE,CAAA;CACxC,CAAA"}
|
|
1
|
+
{"version":3,"file":"RequisicaoCompra.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/@types/models/compras/RequisicaoCompra.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,gCAAgC,EAAE,OAAO,CAAA;CAC5C,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG;IACzC,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,sBAAsB,EAAE,sBAAsB,EAAE,CAAA;CACnD,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAA;IACjC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC1C,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACnC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE,qBAAqB,EAAE,CAAA;IAC9B,QAAQ,CAAC,EAAE,wBAAwB,EAAE,CAAA;CACxC,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { type NotificationProps } from "@/components/ui";
|
|
2
|
+
interface ToastNotificationProps extends Omit<NotificationProps, 'children'> {
|
|
2
3
|
/** Tipo da notificação: 'success', 'warning', 'danger' ou 'info' */
|
|
3
4
|
readonly type: 'success' | 'warning' | 'danger' | 'info';
|
|
4
5
|
/** Mensagem a ser exibida na notificação */
|
|
@@ -6,6 +7,6 @@ interface ToastNotificationProps {
|
|
|
6
7
|
/** Duração da notificação em milissegundos (0 para fechar manualmente) */
|
|
7
8
|
readonly duration?: number;
|
|
8
9
|
}
|
|
9
|
-
export declare function ToastNotification({ type, mensagem, duration }: ToastNotificationProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function ToastNotification({ type, mensagem, duration, ...rest }: ToastNotificationProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
11
12
|
//# sourceMappingURL=notifications.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../../lib/base/utils/components/notifications.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../../lib/base/utils/components/notifications.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEtE,UAAU,sBAAuB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC;IACxE,oEAAoE;IACpE,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAA;IAExD,4CAA4C;IAC5C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IAEzB,0EAA0E;IAC1E,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAC7B;AAED,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAgB,EAAE,GAAG,IAAI,EAAE,EAAE,sBAAsB,2CAMtG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import "../../../@ecme/components/ui/index.js";
|
|
3
3
|
import Notification from "../../../@ecme/components/ui/Notification/Notification.js";
|
|
4
|
-
function ToastNotification({ type, mensagem, duration =
|
|
5
|
-
return /* @__PURE__ */ jsx(Notification, { closable: true, type, duration, children: mensagem });
|
|
4
|
+
function ToastNotification({ type, mensagem, duration = 15e3, ...rest }) {
|
|
5
|
+
return /* @__PURE__ */ jsx(Notification, { closable: true, type, duration, ...rest, children: mensagem });
|
|
6
6
|
}
|
|
7
7
|
export {
|
|
8
8
|
ToastNotification
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.js","sources":["../../../../lib/base/utils/components/notifications.tsx"],"sourcesContent":["import { Notification } from \"@/components/ui\"\n\ninterface ToastNotificationProps {\n /** Tipo da notificação: 'success', 'warning', 'danger' ou 'info' */\n readonly type: 'success' | 'warning' | 'danger' | 'info'\n\n /** Mensagem a ser exibida na notificação */\n readonly mensagem: string\n\n /** Duração da notificação em milissegundos (0 para fechar manualmente) */\n readonly duration?: number\n}\n\nexport function ToastNotification({ type, mensagem, duration =
|
|
1
|
+
{"version":3,"file":"notifications.js","sources":["../../../../lib/base/utils/components/notifications.tsx"],"sourcesContent":["import { Notification, type NotificationProps } from \"@/components/ui\"\n\ninterface ToastNotificationProps extends Omit<NotificationProps, 'children'> {\n /** Tipo da notificação: 'success', 'warning', 'danger' ou 'info' */\n readonly type: 'success' | 'warning' | 'danger' | 'info'\n\n /** Mensagem a ser exibida na notificação */\n readonly mensagem: string\n\n /** Duração da notificação em milissegundos (0 para fechar manualmente) */\n readonly duration?: number\n}\n\nexport function ToastNotification({ type, mensagem, duration = 15000, ...rest }: ToastNotificationProps) {\n return (\n <Notification closable type={type} duration={duration} {...rest}>\n {mensagem}\n </Notification>\n )\n}\n"],"names":[],"mappings":";;;AAaO,SAAS,kBAAkB,EAAE,MAAM,UAAU,WAAW,MAAO,GAAG,QAAgC;AACrG,SACI,oBAAC,gBAAa,UAAQ,MAAC,MAAY,UAAqB,GAAG,MACtD,UAAA,SAAA,CACL;AAER;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Notification } from "@/components/ui"
|
|
1
|
+
import { Notification, type NotificationProps } from "@/components/ui"
|
|
2
2
|
|
|
3
|
-
interface ToastNotificationProps {
|
|
3
|
+
interface ToastNotificationProps extends Omit<NotificationProps, 'children'> {
|
|
4
4
|
/** Tipo da notificação: 'success', 'warning', 'danger' ou 'info' */
|
|
5
5
|
readonly type: 'success' | 'warning' | 'danger' | 'info'
|
|
6
6
|
|
|
@@ -11,9 +11,9 @@ interface ToastNotificationProps {
|
|
|
11
11
|
readonly duration?: number
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export function ToastNotification({ type, mensagem, duration =
|
|
14
|
+
export function ToastNotification({ type, mensagem, duration = 15000, ...rest }: ToastNotificationProps) {
|
|
15
15
|
return (
|
|
16
|
-
<Notification closable type={type} duration={duration}>
|
|
16
|
+
<Notification closable type={type} duration={duration} {...rest}>
|
|
17
17
|
{mensagem}
|
|
18
18
|
</Notification>
|
|
19
19
|
)
|
package/package.json
CHANGED