infinity-forge 11.4.7 → 11.4.9

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.
@@ -23,11 +23,12 @@ export type ConfigurationsSiteType = {
23
23
  youtube: string;
24
24
  tiktok: string;
25
25
  phone: string;
26
- logoHeader: string;
27
- logoFooter: string;
26
+ logoHeader: FileSystemType[];
27
+ logoFooter: FileSystemType[];
28
28
  googleUA: string;
29
29
  googleGA: string;
30
30
  googleGTM: string;
31
+ googleMaps: string;
31
32
  facebookPixel: string;
32
33
  };
33
34
  export declare function useSiteConfig(): {
@@ -47,11 +48,12 @@ export declare function useSiteConfig(): {
47
48
  youtube?: string;
48
49
  tiktok?: string;
49
50
  phone?: string;
50
- logoHeader?: string;
51
- logoFooter?: string;
51
+ logoHeader?: FileSystemType[];
52
+ logoFooter?: FileSystemType[];
52
53
  googleUA?: string;
53
54
  googleGA?: string;
54
55
  googleGTM?: string;
56
+ googleMaps?: string;
55
57
  facebookPixel?: string;
56
58
  };
57
59
  id?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"use-site-configurations.js","sourceRoot":"","sources":["../../../../../src/ui/atena/presentation/site-configurations/use-site-configurations.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAqCA,sCAuBC;AA5DD,oCAAkD;AAElD,wDAAuD;AAmCvD,SAAgB,aAAa;;IAC3B,IAAM,OAAO,GAAG,IAAA,oCAAiB,EAAyB;QACxD,UAAU,EAAE,oBAAoB;QAChC,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;IAEM,IAAA,WAAW,GAAK,OAAO,YAAZ,CAAY;IAE/B,IAAM,UAAU,GAAG,CAAA,MAAA,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ,0CAAE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,0CAAE,MAAM,MAAK,EAAE,CAAA;IAE3E,6BACK,OAAO,KACV,cAAc,wBACT,WAAW,KACd,WAAW,EACT,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ;gBACrB,aAAK,CAAC,QAAQ,CAAC,mBAAmB,CAAC;oBACjC,UAAU,YAAA;oBACV,WAAW,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ;oBAClC,OAAO,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,eAAe;iBACtC,CAAC,OAEP;AACH,CAAC"}
1
+ {"version":3,"file":"use-site-configurations.js","sourceRoot":"","sources":["../../../../../src/ui/atena/presentation/site-configurations/use-site-configurations.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAsCA,sCAuBC;AA7DD,oCAAkD;AAElD,wDAAuD;AAoCvD,SAAgB,aAAa;;IAC3B,IAAM,OAAO,GAAG,IAAA,oCAAiB,EAAyB;QACxD,UAAU,EAAE,oBAAoB;QAChC,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;IAEM,IAAA,WAAW,GAAK,OAAO,YAAZ,CAAY;IAE/B,IAAM,UAAU,GAAG,CAAA,MAAA,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ,0CAAE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,0CAAE,MAAM,MAAK,EAAE,CAAA;IAE3E,6BACK,OAAO,KACV,cAAc,wBACT,WAAW,KACd,WAAW,EACT,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ;gBACrB,aAAK,CAAC,QAAQ,CAAC,mBAAmB,CAAC;oBACjC,UAAU,YAAA;oBACV,WAAW,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ;oBAClC,OAAO,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,eAAe;iBACtC,CAAC,OAEP;AACH,CAAC"}
@@ -26,5 +26,6 @@ export * from './input-cpf-cnpj/index.js';
26
26
  export * from './input-currency/index.js';
27
27
  export * from './input-date-range/index.js';
28
28
  export * from './input-date-picker/index.js';
29
+ export * from './input-google-address/index.js';
29
30
  export * from './input-week-availability/index.js';
30
31
  export * from './input-seo/input-meta-image/index.js';
@@ -42,6 +42,7 @@ __exportStar(require("./input-cpf-cnpj/index.js"), exports);
42
42
  __exportStar(require("./input-currency/index.js"), exports);
43
43
  __exportStar(require("./input-date-range/index.js"), exports);
44
44
  __exportStar(require("./input-date-picker/index.js"), exports);
45
+ __exportStar(require("./input-google-address/index.js"), exports);
45
46
  __exportStar(require("./input-week-availability/index.js"), exports);
46
47
  __exportStar(require("./input-seo/input-meta-image/index.js"), exports);
47
48
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/form/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB;AACvB,2CAAwB;AACxB,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B;AAC3B,8CAA2B;AAC3B,+CAA4B;AAC5B,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,gDAA6B;AAC7B,gDAA6B;AAC7B,+CAA4B;AAC5B,gDAA6B;AAC7B,iDAA8B;AAC9B,kDAA+B;AAC/B,kDAA+B;AAC/B,kDAA+B;AAC/B,kDAA+B;AAC/B,kDAA+B;AAC/B,mDAAgC;AAChC,mDAAgC;AAChC,mDAAgC;AAChC,qDAAkC;AAClC,sDAAmC;AACnC,4DAAyC;AACzC,+DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/form/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB;AACvB,2CAAwB;AACxB,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B;AAC3B,8CAA2B;AAC3B,+CAA4B;AAC5B,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,gDAA6B;AAC7B,gDAA6B;AAC7B,+CAA4B;AAC5B,gDAA6B;AAC7B,iDAA8B;AAC9B,kDAA+B;AAC/B,kDAA+B;AAC/B,kDAA+B;AAC/B,kDAA+B;AAC/B,kDAA+B;AAC/B,mDAAgC;AAChC,mDAAgC;AAChC,mDAAgC;AAChC,qDAAkC;AAClC,sDAAmC;AACnC,yDAAsC;AACtC,4DAAyC;AACzC,+DAA4C"}
@@ -0,0 +1 @@
1
+ export default function InputGoogleAddress(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = InputGoogleAddress;
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var react_1 = require("react");
6
+ var api_1 = require("@react-google-maps/api");
7
+ var containerStyle = {
8
+ width: '100%',
9
+ height: '100px', // ou 0.1px se quiser esconder
10
+ };
11
+ var center = {
12
+ lat: -15.793889,
13
+ lng: -47.882778,
14
+ };
15
+ function InputGoogleAddress() {
16
+ var autocompleteRef = (0, react_1.useRef)(null);
17
+ var inputRef = (0, react_1.useRef)(null);
18
+ var handlePlaceChanged = function () {
19
+ var _a, _b, _c, _d;
20
+ console.log('Place changed');
21
+ if (autocompleteRef.current !== null) {
22
+ var place = autocompleteRef.current.getPlace();
23
+ var lat = (_b = (_a = place.geometry) === null || _a === void 0 ? void 0 : _a.location) === null || _b === void 0 ? void 0 : _b.lat();
24
+ var lng = (_d = (_c = place.geometry) === null || _c === void 0 ? void 0 : _c.location) === null || _d === void 0 ? void 0 : _d.lng();
25
+ var address = place.formatted_address;
26
+ console.log('Endereço:', address);
27
+ console.log('Latitude:', lat);
28
+ console.log('Longitude:', lng);
29
+ }
30
+ };
31
+ return ((0, jsx_runtime_1.jsx)(api_1.LoadScript, { googleMapsApiKey: 'AIzaSyDSDgFyyA4NqarPFxNAPHFZgweDGmC6FlQ', libraries: ['places'], language: 'pt-BR', region: 'BR', children: (0, jsx_runtime_1.jsx)(api_1.GoogleMap, { mapContainerStyle: containerStyle, center: center, zoom: 5, children: (0, jsx_runtime_1.jsx)(api_1.Autocomplete, { onLoad: function (autocomplete) { return (autocompleteRef.current = autocomplete); }, onPlaceChanged: handlePlaceChanged, children: (0, jsx_runtime_1.jsx)("input", { ref: inputRef, placeholder: 'Digite seu endere\u00E7o', style: {
32
+ position: 'absolute',
33
+ zIndex: 9999,
34
+ top: '10px',
35
+ left: '10px',
36
+ width: 'calc(100% - 20px)',
37
+ padding: '10px',
38
+ fontSize: '16px',
39
+ } }) }) }) }));
40
+ }
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-google-address/index.tsx"],"names":[],"mappings":";;AAaA,qCA+CC;;AA5DD,+BAAyC;AACzC,8CAA4E;AAE5E,IAAM,cAAc,GAAG;IACrB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,OAAO,EAAE,8BAA8B;CAChD,CAAA;AAED,IAAM,MAAM,GAAG;IACb,GAAG,EAAE,CAAC,SAAS;IACf,GAAG,EAAE,CAAC,SAAS;CAChB,CAAA;AAED,SAAwB,kBAAkB;IACxC,IAAM,eAAe,GAAG,IAAA,cAAM,EAAyC,IAAI,CAAC,CAAA;IAC5E,IAAM,QAAQ,GAAG,IAAA,cAAM,EAA0B,IAAI,CAAC,CAAA;IAEtD,IAAM,kBAAkB,GAAG;;QACzB,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAC5B,IAAI,eAAe,CAAC,OAAO,KAAK,IAAI,EAAE,CAAC;YACrC,IAAM,KAAK,GAAG,eAAe,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAA;YAChD,IAAM,GAAG,GAAG,MAAA,MAAA,KAAK,CAAC,QAAQ,0CAAE,QAAQ,0CAAE,GAAG,EAAE,CAAA;YAC3C,IAAM,GAAG,GAAG,MAAA,MAAA,KAAK,CAAC,QAAQ,0CAAE,QAAQ,0CAAE,GAAG,EAAE,CAAA;YAC3C,IAAM,OAAO,GAAG,KAAK,CAAC,iBAAiB,CAAA;YAEvC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC,CAAA;YACjC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC,CAAA;YAC7B,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,GAAG,CAAC,CAAA;QAChC,CAAC;IACH,CAAC,CAAA;IAED,OAAO,CACL,uBAAC,gBAAU,IACT,gBAAgB,EAAC,yCAAyC,EAC1D,SAAS,EAAE,CAAC,QAAQ,CAAC,EACrB,QAAQ,EAAC,OAAO,EAChB,MAAM,EAAC,IAAI,YAEX,uBAAC,eAAS,IAAC,iBAAiB,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,YACnE,uBAAC,kBAAY,IACX,MAAM,EAAE,UAAC,YAAY,IAAK,OAAA,CAAC,eAAe,CAAC,OAAO,GAAG,YAAY,CAAC,EAAxC,CAAwC,EAClE,cAAc,EAAE,kBAAkB,YAElC,kCACE,GAAG,EAAE,QAAQ,EACb,WAAW,EAAC,0BAAqB,EACjC,KAAK,EAAE;wBACL,QAAQ,EAAE,UAAU;wBACpB,MAAM,EAAE,IAAI;wBACZ,GAAG,EAAE,MAAM;wBACX,IAAI,EAAE,MAAM;wBACZ,KAAK,EAAE,mBAAmB;wBAC1B,OAAO,EAAE,MAAM;wBACf,QAAQ,EAAE,MAAM;qBACjB,GACD,GACW,GACL,GACD,CACd,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,86 +1,87 @@
1
- {
2
- "name": "infinity-forge",
3
- "version": "11.4.7",
4
- "description": "codie Library",
5
- "main": "./dist/index",
6
- "module": "./dist/index",
7
- "types": "./dist/index.d.ts",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/CodieDigital/codiedigital-library"
11
- },
12
- "scripts": {
13
- "dev": "next -p 3054",
14
- "deploy": "npm version patch && npm publish",
15
- "next": "next build",
16
- "start": "next start -p 3015",
17
- "build": "tsc && tsc-alias --resolve-full-paths && npm run build:CSS",
18
- "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
- "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
20
- "swagger": "node ./dist/client/generate.js"
21
- },
22
- "files": [
23
- "dist",
24
- "LICENSE",
25
- "README.md"
26
- ],
27
- "keywords": [
28
- "react",
29
- "typescript",
30
- "awesome-project"
31
- ],
32
- "author": "Codie Digital",
33
- "license": "MIT",
34
- "devDependencies": {
35
- "@tanstack/react-query": "^5.80.2",
36
- "@types/node": "^22.15.3",
37
- "@types/react": "^19.1.2",
38
- "@types/react-dom": "^19.1.2",
39
- "@types/styled-components": "^5.1.34",
40
- "concurrently": "^9.1.2",
41
- "copyfiles": "^2.4.1",
42
- "cpx": "^1.5.0",
43
- "cssnano": "^7.0.6",
44
- "formik": "^2.4.6",
45
- "fs": "0.0.1-security",
46
- "fs-extra": "^11.3.0",
47
- "moment": "^2.30.1",
48
- "next": "^15.3.1",
49
- "node": "^22.15.0",
50
- "postcss": "^8.5.3",
51
- "postcss-cli": "^11.0.1",
52
- "react": "19.1.0",
53
- "react-dom": "19.1.0",
54
- "styled-components": "^6.1.17",
55
- "tsc-alias": "^1.8.15",
56
- "typescript": "^5.8.3",
57
- "yup": "^1.6.1"
58
- },
59
- "dependencies": {
60
- "@dnd-kit/core": "^6.3.1",
61
- "@dnd-kit/modifiers": "^9.0.0",
62
- "@dnd-kit/sortable": "^10.0.0",
63
- "@dnd-kit/utilities": "^3.2.2",
64
- "@next/third-parties": "^15.3.1",
65
- "@types/react-window": "^1.8.8",
66
- "axios": "^1.9.0",
67
- "lodash.debounce": "^4.0.8",
68
- "motion": "^12.9.2",
69
- "qs": "^6.14.0",
70
- "quill": "^2.0.3",
71
- "react-select": "^5.10.1",
72
- "react-window": "^1.8.11",
73
- "zustand": "^5.0.5"
74
- },
75
- "peerDependencies": {
76
- "@tanstack/react-query": ">=5.80.2",
77
- "formik": ">=2.4.6",
78
- "moment": ">=2.30.1",
79
- "next": ">=15.3.1",
80
- "react": ">=18.0.0",
81
- "react-dom": ">=18.0.0",
82
- "styled-components": ">=6.1.17",
83
- "yup": ">=1.6.1"
84
- },
85
- "packageManager": "pnpm@10.6.3+sha512.bb45e34d50a9a76e858a95837301bfb6bd6d35aea2c5d52094fa497a467c43f5c440103ce2511e9e0a2f89c3d6071baac3358fc68ac6fb75e2ceb3d2736065e6"
86
- }
1
+ {
2
+ "name": "infinity-forge",
3
+ "version": "11.4.9",
4
+ "description": "codie Library",
5
+ "main": "./dist/index",
6
+ "module": "./dist/index",
7
+ "types": "./dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/CodieDigital/codiedigital-library"
11
+ },
12
+ "scripts": {
13
+ "dev": "next -p 3054",
14
+ "deploy": "npm version patch && npm publish",
15
+ "next": "next build",
16
+ "start": "next start -p 3015",
17
+ "build": "tsc && tsc-alias --resolve-full-paths && npm run build:CSS",
18
+ "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
+ "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
20
+ "swagger": "node ./dist/client/generate.js"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "LICENSE",
25
+ "README.md"
26
+ ],
27
+ "keywords": [
28
+ "react",
29
+ "typescript",
30
+ "awesome-project"
31
+ ],
32
+ "author": "Codie Digital",
33
+ "license": "MIT",
34
+ "devDependencies": {
35
+ "@tanstack/react-query": "^5.80.2",
36
+ "@types/node": "^22.15.3",
37
+ "@types/react": "^19.1.2",
38
+ "@types/react-dom": "^19.1.2",
39
+ "@types/styled-components": "^5.1.34",
40
+ "concurrently": "^9.1.2",
41
+ "copyfiles": "^2.4.1",
42
+ "cpx": "^1.5.0",
43
+ "cssnano": "^7.0.6",
44
+ "formik": "^2.4.6",
45
+ "fs": "0.0.1-security",
46
+ "fs-extra": "^11.3.0",
47
+ "moment": "^2.30.1",
48
+ "next": "^15.3.1",
49
+ "node": "^22.15.0",
50
+ "postcss": "^8.5.3",
51
+ "postcss-cli": "^11.0.1",
52
+ "react": "19.1.0",
53
+ "react-dom": "19.1.0",
54
+ "styled-components": "^6.1.17",
55
+ "tsc-alias": "^1.8.15",
56
+ "typescript": "^5.8.3",
57
+ "yup": "^1.6.1"
58
+ },
59
+ "dependencies": {
60
+ "@dnd-kit/core": "^6.3.1",
61
+ "@dnd-kit/modifiers": "^9.0.0",
62
+ "@dnd-kit/sortable": "^10.0.0",
63
+ "@dnd-kit/utilities": "^3.2.2",
64
+ "@next/third-parties": "^15.3.1",
65
+ "@react-google-maps/api": "^2.20.7",
66
+ "@types/react-window": "^1.8.8",
67
+ "axios": "^1.9.0",
68
+ "lodash.debounce": "^4.0.8",
69
+ "motion": "^12.9.2",
70
+ "qs": "^6.14.0",
71
+ "quill": "^2.0.3",
72
+ "react-select": "^5.10.1",
73
+ "react-window": "^1.8.11",
74
+ "zustand": "^5.0.5"
75
+ },
76
+ "peerDependencies": {
77
+ "@tanstack/react-query": ">=5.80.2",
78
+ "formik": ">=2.4.6",
79
+ "moment": ">=2.30.1",
80
+ "next": ">=15.3.1",
81
+ "react": ">=18.0.0",
82
+ "react-dom": ">=18.0.0",
83
+ "styled-components": ">=6.1.17",
84
+ "yup": ">=1.6.1"
85
+ },
86
+ "packageManager": "pnpm@10.6.3+sha512.bb45e34d50a9a76e858a95837301bfb6bd6d35aea2c5d52094fa497a467c43f5c440103ce2511e9e0a2f89c3d6071baac3358fc68ac6fb75e2ceb3d2736065e6"
87
+ }