@orbe-agro/client-core-prod 5.6.132 → 5.6.134
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/@ecme/components/template/Footer.js +14 -7
- package/dist/@ecme/components/template/Footer.js.map +1 -1
- package/dist/@types/@ecme/components/template/Footer.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/insumos/config/comissaoVenda.js +1 -1
- package/dist/base/configs/endpoints.config/insumos/config/comissaoVenda.js.map +1 -1
- package/lib/@ecme/components/template/Footer.tsx +5 -17
- package/lib/base/configs/endpoints.config/insumos/config/comissaoVenda.ts +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import Container from "../shared/Container.js";
|
|
3
3
|
import classNames from "../../utils/classNames.js";
|
|
4
4
|
import { APP_NAME } from "../../constants/app.constant.js";
|
|
5
5
|
import { PAGE_CONTAINER_GUTTER_X } from "../../constants/theme.constant.js";
|
|
6
|
+
const version = true ? "5.6.134" : "0.0.0";
|
|
6
7
|
const FooterContent = () => {
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */ jsx("span", { className: "mr-1 font-semibold", children: `${APP_NAME}` }),
|
|
8
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-auto items-center justify-between", children: [
|
|
9
9
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
/* @__PURE__ */ jsx("span", { className: "mr-1 font-semibold", children: `${APP_NAME}` }),
|
|
11
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
12
|
+
"© ",
|
|
13
|
+
`${(/* @__PURE__ */ new Date()).getFullYear()}`,
|
|
14
|
+
" "
|
|
15
|
+
] })
|
|
16
|
+
] }),
|
|
17
|
+
/* @__PURE__ */ jsxs("span", { className: "text-xs text-gray-500", children: [
|
|
18
|
+
"v",
|
|
19
|
+
version
|
|
13
20
|
] })
|
|
14
|
-
] })
|
|
21
|
+
] });
|
|
15
22
|
};
|
|
16
23
|
function Footer({
|
|
17
24
|
pageContainerType = "contained",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sources":["../../../../lib/@ecme/components/template/Footer.tsx"],"sourcesContent":["import Container from '@/components/shared/Container'\nimport classNames from '@/utils/classNames'\nimport { APP_NAME } from '@/constants/app.constant'\nimport { PAGE_CONTAINER_GUTTER_X } from '@/constants/theme.constant'\n\nexport type FooterPageContainerType = 'gutterless' | 'contained'\n\ntype FooterProps = {\n pageContainerType: FooterPageContainerType\n className?: string\n}\n\nconst FooterContent = () => {\n return (\n <div className=\"flex w-full flex-auto items-center justify-between\">\n <span>\n <span className=\"mr-1 font-semibold\">{`${APP_NAME}`}</span>\n <span>© {`${new Date().getFullYear()}`} </span>\n </span>\n
|
|
1
|
+
{"version":3,"file":"Footer.js","sources":["../../../../lib/@ecme/components/template/Footer.tsx"],"sourcesContent":["import Container from '@/components/shared/Container'\nimport classNames from '@/utils/classNames'\nimport { APP_NAME } from '@/constants/app.constant'\nimport { PAGE_CONTAINER_GUTTER_X } from '@/constants/theme.constant'\n\ndeclare const __CLIENT_CORE_VERSION__: string\n\nexport type FooterPageContainerType = 'gutterless' | 'contained'\n\ntype FooterProps = {\n pageContainerType: FooterPageContainerType\n className?: string\n}\n\nconst version = typeof __CLIENT_CORE_VERSION__ !== 'undefined' ? __CLIENT_CORE_VERSION__ : '0.0.0'\n\nconst FooterContent = () => {\n return (\n <div className=\"flex w-full flex-auto items-center justify-between\">\n <span>\n <span className=\"mr-1 font-semibold\">{`${APP_NAME}`}</span>\n <span>© {`${new Date().getFullYear()}`} </span>\n </span>\n <span className=\"text-xs text-gray-500\">v{version}</span>\n </div>\n )\n}\n\nexport default function Footer({\n pageContainerType = 'contained',\n className,\n}: FooterProps) {\n return (\n <footer\n className={classNames(\n `footer flex flex-auto items-center h-16 ${PAGE_CONTAINER_GUTTER_X}`,\n className,\n )}\n >\n {pageContainerType === 'contained' ? (\n <Container>\n <FooterContent />\n </Container>\n ) : (\n <FooterContent />\n )}\n </footer>\n )\n}\n"],"names":[],"mappings":";;;;;AAcA,MAAM,UAAU,OAAiD,YAA0B;AAE3F,MAAM,gBAAgB,MAAM;AACxB,SACI,qBAAC,OAAA,EAAI,WAAU,sDACX,UAAA;AAAA,IAAA,qBAAC,QAAA,EACG,UAAA;AAAA,MAAA,oBAAC,QAAA,EAAK,WAAU,sBAAsB,UAAA,GAAG,QAAQ,IAAG;AAAA,2BACnD,QAAA,EAAK,UAAA;AAAA,QAAA;AAAA,QAAQ,IAAG,oBAAI,QAAO,aAAa;AAAA,QAAG;AAAA,MAAA,GAAC;AAAA,IAAA,GACjD;AAAA,IACA,qBAAC,QAAA,EAAK,WAAU,yBAAwB,UAAA;AAAA,MAAA;AAAA,MAAE;AAAA,IAAA,GAAQ;AAAA,EAAA,GACtD;AAER;AAEA,SAAwB,OAAO;AAAA,EAC3B,oBAAoB;AAAA,EACpB;AACJ,GAAgB;AACZ,SACI;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,WAAW;AAAA,QACP,2CAA2C,uBAAuB;AAAA,QAClE;AAAA,MAAA;AAAA,MAGH,UAAA,sBAAsB,cACnB,oBAAC,WAAA,EACG,8BAAC,eAAA,CAAA,CAAc,EAAA,CACnB,IAEA,oBAAC,eAAA,CAAA,CAAc;AAAA,IAAA;AAAA,EAAA;AAI/B;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../../lib/@ecme/components/template/Footer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../../lib/@ecme/components/template/Footer.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,uBAAuB,GAAG,YAAY,GAAG,WAAW,CAAA;AAEhE,KAAK,WAAW,GAAG;IACf,iBAAiB,EAAE,uBAAuB,CAAA;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAgBD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC3B,iBAA+B,EAC/B,SAAS,GACZ,EAAE,WAAW,2CAiBb"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const COMISSAO_VENDA_BASE_URL = "/insumos/api/
|
|
1
|
+
const COMISSAO_VENDA_BASE_URL = "/insumos/api/comissao-venda";
|
|
2
2
|
const comissaoVenda = {
|
|
3
3
|
findOne: { endpoint: `${COMISSAO_VENDA_BASE_URL}/`, method: "get" },
|
|
4
4
|
add: { endpoint: `${COMISSAO_VENDA_BASE_URL}`, method: "post" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comissaoVenda.js","sources":["../../../../../../lib/base/configs/endpoints.config/insumos/config/comissaoVenda.ts"],"sourcesContent":["const COMISSAO_VENDA_BASE_URL = '/insumos/api/
|
|
1
|
+
{"version":3,"file":"comissaoVenda.js","sources":["../../../../../../lib/base/configs/endpoints.config/insumos/config/comissaoVenda.ts"],"sourcesContent":["const COMISSAO_VENDA_BASE_URL = '/insumos/api/comissao-venda'\n\nconst comissaoVenda = {\n findOne: { endpoint: `${COMISSAO_VENDA_BASE_URL}/`, method: 'get' },\n add: { endpoint: `${COMISSAO_VENDA_BASE_URL}`, method: 'post' },\n update: { endpoint: `${COMISSAO_VENDA_BASE_URL}/`, method: 'put' },\n delete: { endpoint: `${COMISSAO_VENDA_BASE_URL}/`, method: 'delete' },\n findAll: { endpoint: `${COMISSAO_VENDA_BASE_URL}`, method: 'get' },\n findMonitor: { endpoint: `${COMISSAO_VENDA_BASE_URL}/find-monitor`, method: 'post' },\n}\n\nexport default comissaoVenda"],"names":[],"mappings":"AAAA,MAAM,0BAA0B;AAEhC,MAAM,gBAAgB;AAAA,EAClB,SAAS,EAAE,UAAU,GAAG,uBAAuB,KAAK,QAAQ,MAAA;AAAA,EAC5D,KAAK,EAAE,UAAU,GAAG,uBAAuB,IAAI,QAAQ,OAAA;AAAA,EACvD,QAAQ,EAAE,UAAU,GAAG,uBAAuB,KAAK,QAAQ,MAAA;AAAA,EAC3D,QAAQ,EAAE,UAAU,GAAG,uBAAuB,KAAK,QAAQ,SAAA;AAAA,EAC3D,SAAS,EAAE,UAAU,GAAG,uBAAuB,IAAI,QAAQ,MAAA;AAAA,EAC3D,aAAa,EAAE,UAAU,GAAG,uBAAuB,iBAAiB,QAAQ,OAAA;AAChF;"}
|
|
@@ -3,6 +3,8 @@ import classNames from '@/utils/classNames'
|
|
|
3
3
|
import { APP_NAME } from '@/constants/app.constant'
|
|
4
4
|
import { PAGE_CONTAINER_GUTTER_X } from '@/constants/theme.constant'
|
|
5
5
|
|
|
6
|
+
declare const __CLIENT_CORE_VERSION__: string
|
|
7
|
+
|
|
6
8
|
export type FooterPageContainerType = 'gutterless' | 'contained'
|
|
7
9
|
|
|
8
10
|
type FooterProps = {
|
|
@@ -10,6 +12,8 @@ type FooterProps = {
|
|
|
10
12
|
className?: string
|
|
11
13
|
}
|
|
12
14
|
|
|
15
|
+
const version = typeof __CLIENT_CORE_VERSION__ !== 'undefined' ? __CLIENT_CORE_VERSION__ : '0.0.0'
|
|
16
|
+
|
|
13
17
|
const FooterContent = () => {
|
|
14
18
|
return (
|
|
15
19
|
<div className="flex w-full flex-auto items-center justify-between">
|
|
@@ -17,23 +21,7 @@ const FooterContent = () => {
|
|
|
17
21
|
<span className="mr-1 font-semibold">{`${APP_NAME}`}</span>
|
|
18
22
|
<span>© {`${new Date().getFullYear()}`} </span>
|
|
19
23
|
</span>
|
|
20
|
-
|
|
21
|
-
<a
|
|
22
|
-
className="text-gray"
|
|
23
|
-
href="/#"
|
|
24
|
-
onClick={(e) => e.preventDefault()}
|
|
25
|
-
>
|
|
26
|
-
Term & Conditions
|
|
27
|
-
</a>
|
|
28
|
-
<span className="text-muted mx-2"> | </span>
|
|
29
|
-
<a
|
|
30
|
-
className="text-gray"
|
|
31
|
-
href="/#"
|
|
32
|
-
onClick={(e) => e.preventDefault()}
|
|
33
|
-
>
|
|
34
|
-
Privacy & Policy
|
|
35
|
-
</a>
|
|
36
|
-
</div> */}
|
|
24
|
+
<span className="text-xs text-gray-500">v{version}</span>
|
|
37
25
|
</div>
|
|
38
26
|
)
|
|
39
27
|
}
|
package/package.json
CHANGED