@orbe-agro/client-core-prod 5.6.132 → 5.6.133

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,17 +1,24 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
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.133" : "0.0.0";
6
7
  const FooterContent = () => {
7
- return /* @__PURE__ */ jsx("div", { className: "flex w-full flex-auto items-center justify-between", children: /* @__PURE__ */ jsxs("span", { children: [
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
- `${(/* @__PURE__ */ new Date()).getFullYear()}`,
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>&copy; {`${new Date().getFullYear()}`} </span>\n </span>\n {/* <div className=\"\">\n <a\n className=\"text-gray\"\n href=\"/#\"\n onClick={(e) => e.preventDefault()}\n >\n Term & Conditions\n </a>\n <span className=\"text-muted mx-2\"> | </span>\n <a\n className=\"text-gray\"\n href=\"/#\"\n onClick={(e) => e.preventDefault()}\n >\n Privacy & Policy\n </a>\n </div> */}\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":";;;;;AAYA,MAAM,gBAAgB,MAAM;AACxB,SACI,oBAAC,OAAA,EAAI,WAAU,sDACX,+BAAC,QAAA,EACG,UAAA;AAAA,IAAA,oBAAC,QAAA,EAAK,WAAU,sBAAsB,UAAA,GAAG,QAAQ,IAAG;AAAA,yBACnD,QAAA,EAAK,UAAA;AAAA,MAAA;AAAA,MAAQ,IAAG,oBAAI,QAAO,aAAa;AAAA,MAAG;AAAA,IAAA,EAAA,CAAC;AAAA,EAAA,EAAA,CACjD,EAAA,CAkBJ;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
+ {"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>&copy; {`${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":"AAKA,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;AA8BD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC3B,iBAA+B,EAC/B,SAAS,GACZ,EAAE,WAAW,2CAiBb"}
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"}
@@ -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>&copy; {`${new Date().getFullYear()}`} </span>
19
23
  </span>
20
- {/* <div className="">
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core-prod",
3
- "version": "5.6.132",
3
+ "version": "5.6.133",
4
4
  "description": "Biblioteca principal de componentes e utilidades para os microfrontends do Orbe Agro.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",