infinity-forge 0.40.3 → 0.40.4

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.
Files changed (58) hide show
  1. package/dist/sites/components/index.d.ts +0 -1
  2. package/dist/sites/components/index.js +0 -1
  3. package/dist/sites/components/index.js.map +1 -1
  4. package/dist/system/infra/cache/cookie-storage-adapter.js +10 -8
  5. package/dist/system/infra/cache/cookie-storage-adapter.js.map +1 -1
  6. package/dist/system/presentation/components/data/select-workspace/custom-styles.js +2 -1
  7. package/dist/system/presentation/components/data/select-workspace/custom-styles.js.map +1 -1
  8. package/dist/system/presentation/components/data/select-workspace/index.js +8 -5
  9. package/dist/system/presentation/components/data/select-workspace/index.js.map +1 -1
  10. package/dist/system/presentation/components/data/select-workspace/styles.d.ts +8 -1
  11. package/dist/system/presentation/components/data/select-workspace/styles.js +4 -3
  12. package/dist/system/presentation/components/data/select-workspace/styles.js.map +1 -1
  13. package/dist/system/presentation/components/layout/header/components/menu-right/index.js +1 -16
  14. package/dist/system/presentation/components/layout/header/components/menu-right/index.js.map +1 -1
  15. package/dist/system/presentation/components/layout/header/version-01/index.js +1 -1
  16. package/dist/system/presentation/components/layout/header/version-01/index.js.map +1 -1
  17. package/dist/ui/hooks/index.d.ts +2 -0
  18. package/dist/ui/hooks/index.js +2 -0
  19. package/dist/ui/hooks/index.js.map +1 -1
  20. package/dist/{sites/hook/use-footer.js → ui/hooks/use-footer/index.js} +1 -1
  21. package/dist/ui/hooks/use-footer/index.js.map +1 -0
  22. package/dist/{sites/hook/use-header.js → ui/hooks/use-header/index.js} +1 -1
  23. package/dist/ui/hooks/use-header/index.js.map +1 -0
  24. package/package.json +76 -86
  25. package/dist/sites/components/counter/component.d.ts +0 -2
  26. package/dist/sites/components/counter/component.js +0 -28
  27. package/dist/sites/components/counter/component.js.map +0 -1
  28. package/dist/sites/components/counter/index.d.ts +0 -1
  29. package/dist/sites/components/counter/index.js +0 -18
  30. package/dist/sites/components/counter/index.js.map +0 -1
  31. package/dist/sites/components/counter/interfaces.d.ts +0 -12
  32. package/dist/sites/components/counter/interfaces.js +0 -3
  33. package/dist/sites/components/counter/interfaces.js.map +0 -1
  34. package/dist/sites/components/counter/versions/index.d.ts +0 -1
  35. package/dist/sites/components/counter/versions/index.js +0 -18
  36. package/dist/sites/components/counter/versions/index.js.map +0 -1
  37. package/dist/sites/components/counter/versions/version-01/box/index.d.ts +0 -2
  38. package/dist/sites/components/counter/versions/version-01/box/index.js +0 -38
  39. package/dist/sites/components/counter/versions/version-01/box/index.js.map +0 -1
  40. package/dist/sites/components/counter/versions/version-01/box/styles.d.ts +0 -3
  41. package/dist/sites/components/counter/versions/version-01/box/styles.js +0 -14
  42. package/dist/sites/components/counter/versions/version-01/box/styles.js.map +0 -1
  43. package/dist/sites/components/counter/versions/version-01/component.d.ts +0 -4
  44. package/dist/sites/components/counter/versions/version-01/component.js +0 -47
  45. package/dist/sites/components/counter/versions/version-01/component.js.map +0 -1
  46. package/dist/sites/components/counter/versions/version-01/styles.d.ts +0 -3
  47. package/dist/sites/components/counter/versions/version-01/styles.js +0 -14
  48. package/dist/sites/components/counter/versions/version-01/styles.js.map +0 -1
  49. package/dist/sites/hook/index.d.ts +0 -3
  50. package/dist/sites/hook/index.js +0 -20
  51. package/dist/sites/hook/index.js.map +0 -1
  52. package/dist/sites/hook/use-footer.js.map +0 -1
  53. package/dist/sites/hook/use-header.js.map +0 -1
  54. package/dist/sites/hook/useScreen.d.ts +0 -5
  55. package/dist/sites/hook/useScreen.js +0 -36
  56. package/dist/sites/hook/useScreen.js.map +0 -1
  57. /package/dist/{sites/hook/use-footer.d.ts → ui/hooks/use-footer/index.d.ts} +0 -0
  58. /package/dist/{sites/hook/use-header.d.ts → ui/hooks/use-header/index.d.ts} +0 -0
@@ -1,6 +1,5 @@
1
1
  export * from './mvv/index.js';
2
2
  export * from './head/index.js';
3
- export * from './counter/index.js';
4
3
  export * from './carousel/index.js';
5
4
  export * from './header-link/index.js';
6
5
  export * from './brands-carousel/index.js';
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./mvv/index.js"), exports);
18
18
  __exportStar(require("./head/index.js"), exports);
19
- __exportStar(require("./counter/index.js"), exports);
20
19
  __exportStar(require("./carousel/index.js"), exports);
21
20
  __exportStar(require("./header-link/index.js"), exports);
22
21
  __exportStar(require("./brands-carousel/index.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sites/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,yCAAsB;AACtB,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B;AAC7B,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sites/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,yCAAsB;AACtB,6CAA0B;AAC1B,gDAA6B;AAC7B,oDAAiC"}
@@ -5,23 +5,25 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
- var __importDefault = (this && this.__importDefault) || function (mod) {
9
- return (mod && mod.__esModule) ? mod : { "default": mod };
10
- };
11
8
  Object.defineProperty(exports, "__esModule", { value: true });
12
9
  exports.CookieStorageAdapter = void 0;
13
10
  var inversify_1 = require("inversify");
14
- var js_cookie_1 = __importDefault(require("js-cookie"));
15
11
  var CookieStorageAdapter = /** @class */ (function () {
16
12
  function CookieStorageAdapter() {
17
13
  }
18
14
  CookieStorageAdapter.prototype.set = function (key, value) {
19
- js_cookie_1.default.set(key, JSON.stringify(value));
15
+ document.cookie = "".concat(key, "=").concat(encodeURIComponent(JSON.stringify(value)), "; path=/");
20
16
  };
21
17
  CookieStorageAdapter.prototype.get = function (key) {
22
- var cookieValue = js_cookie_1.default.get(key);
23
- if (typeof cookieValue === 'string') {
24
- return JSON.parse(cookieValue);
18
+ var name = "".concat(key, "=");
19
+ var decodedCookie = decodeURIComponent(document.cookie);
20
+ var cookieArray = decodedCookie.split('; ');
21
+ for (var _i = 0, cookieArray_1 = cookieArray; _i < cookieArray_1.length; _i++) {
22
+ var cookie = cookieArray_1[_i];
23
+ if (cookie.indexOf(name) === 0) {
24
+ var cookieValue = cookie.substring(name.length);
25
+ return JSON.parse(cookieValue);
26
+ }
25
27
  }
26
28
  return null;
27
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"cookie-storage-adapter.js","sourceRoot":"","sources":["../../../../src/system/infra/cache/cookie-storage-adapter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAsC;AAEtC,wDAA+B;AAM/B;IAAA;IAaA,CAAC;IAZC,kCAAG,GAAH,UAAiC,GAAM,EAAE,KAAqB;QAC5D,mBAAO,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAA;IACzC,CAAC;IAED,kCAAG,GAAH,UAAiC,GAAsB;QACrD,IAAM,WAAW,GAAG,mBAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;QACpC,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;YACpC,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAmB,CAAA;QAClD,CAAC;QAED,OAAO,IAAI,CAAA;IACb,CAAC;IAZU,oBAAoB;QADhC,IAAA,sBAAU,GAAE;OACA,oBAAoB,CAahC;IAAD,2BAAC;CAAA,AAbD,IAaC;AAbY,oDAAoB"}
1
+ {"version":3,"file":"cookie-storage-adapter.js","sourceRoot":"","sources":["../../../../src/system/infra/cache/cookie-storage-adapter.ts"],"names":[],"mappings":";;;;;;;;;AAAA,uCAAsC;AAMtC;IAAA;IAmBA,CAAC;IAlBC,kCAAG,GAAH,UAAiC,GAAM,EAAE,KAAqB;QAC5D,QAAQ,CAAC,MAAM,GAAG,UAAG,GAAG,cAAI,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,aAAU,CAAA;IACjF,CAAC;IAED,kCAAG,GAAH,UAAiC,GAAsB;QACrD,IAAM,IAAI,GAAG,UAAG,GAAG,MAAG,CAAA;QACtB,IAAM,aAAa,GAAG,kBAAkB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;QACzD,IAAM,WAAW,GAAG,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QAE7C,KAAqB,UAAW,EAAX,2BAAW,EAAX,yBAAW,EAAX,IAAW,EAAE,CAAC;YAA9B,IAAM,MAAM,oBAAA;YACf,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC/B,IAAM,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;gBACjD,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAmB,CAAA;YAClD,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAA;IACb,CAAC;IAlBU,oBAAoB;QADhC,IAAA,sBAAU,GAAE;OACA,oBAAoB,CAmBhC;IAAD,2BAAC;CAAA,AAnBD,IAmBC;AAnBY,oDAAoB"}
@@ -14,7 +14,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.customStyles = void 0;
15
15
  exports.customStyles = {
16
16
  control: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '40px', maxHeight: '40px', width: '235px', background: 'rgba(255,255,255, 0.2)', border: 0 })); },
17
- menu: function (provided, state) { return (__assign(__assign({}, provided), { zIndex: '9999', padding: '5px 10px' })); },
17
+ menu: function (provided, state) { return (__assign(__assign({}, provided), { zIndex: '9999' })); },
18
18
  placeholder: function (provided, state) { return (__assign(__assign({}, provided), { fontSize: '14px', color: '#fff' })); },
19
19
  valueContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '40px', padding: '0 10px' })); },
20
20
  input: function (provided, state) { return (__assign(__assign({}, provided), { margin: '0px', padding: '0px', height: '40px', minHeight: '40px' })); },
@@ -22,5 +22,6 @@ exports.customStyles = {
22
22
  display: 'none',
23
23
  }); },
24
24
  indicatorsContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '40px', paddingRight: '10px' })); },
25
+ option: function (provided) { return (__assign(__assign({}, provided), { padding: '3px 10px' })); },
25
26
  };
26
27
  //# sourceMappingURL=custom-styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/custom-styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEa,QAAA,YAAY,GAAiB;IACxC,OAAO,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACzB,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,OAAO,EACd,UAAU,EAAE,wBAAwB,EACpC,MAAM,EAAE,CAAC,IACT,EAP4B,CAO5B;IAEF,IAAI,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACtB,QAAQ,KACX,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,UAAU,IACnB,EAJyB,CAIzB;IAEF,WAAW,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBAC7B,QAAQ,KACX,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,IACb,EAJgC,CAIhC;IAEF,cAAc,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBAChC,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,QAAQ,IACjB,EAJmC,CAInC;IAEF,KAAK,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACvB,QAAQ,KACX,MAAM,EAAE,KAAK,EACb,OAAO,EAAE,KAAK,EACd,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,IACjB,EAN0B,CAM1B;IACF,kBAAkB,EAAE,UAAC,KAAK,IAAK,OAAA,CAAC;QAC9B,OAAO,EAAE,MAAM;KAChB,CAAC,EAF6B,CAE7B;IACF,mBAAmB,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACrC,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,IACpB,EAJwC,CAIxC;CACH,CAAA"}
1
+ {"version":3,"file":"custom-styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/custom-styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEa,QAAA,YAAY,GAAiB;IACxC,OAAO,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACzB,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,OAAO,EACd,UAAU,EAAE,wBAAwB,EACpC,MAAM,EAAE,CAAC,IAET,EAR4B,CAQ5B;IAEF,IAAI,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACtB,QAAQ,KACX,MAAM,EAAE,MAAM,IAEd,EAJyB,CAIzB;IAEF,WAAW,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBAC7B,QAAQ,KACX,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,IAEb,EALgC,CAKhC;IAEF,cAAc,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBAChC,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,QAAQ,IACjB,EAJmC,CAInC;IAEF,KAAK,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACvB,QAAQ,KACX,MAAM,EAAE,KAAK,EACb,OAAO,EAAE,KAAK,EACd,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,IAEjB,EAP0B,CAO1B;IACF,kBAAkB,EAAE,UAAC,KAAK,IAAK,OAAA,CAAC;QAC9B,OAAO,EAAE,MAAM;KAChB,CAAC,EAF6B,CAE7B;IACF,mBAAmB,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACrC,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,IACpB,EAJwC,CAIxC;IACF,MAAM,EAAE,UAAC,QAAQ,IAAK,OAAA,uBACjB,QAAQ,KACT,OAAO,EAAE,UAAU,IACrB,EAHoB,CAGpB;CACH,CAAA"}
@@ -51,16 +51,19 @@ var system_1 = require("../../../../../system/index.js");
51
51
  var ui_1 = require("../../../../../ui/index.js");
52
52
  var S = __importStar(require("./styles.js"));
53
53
  var custom_styles_1 = require("./custom-styles.js");
54
- function Item(_a) {
55
- var data = _a.data, props = __rest(_a, ["data"]);
56
- return ((0, jsx_runtime_1.jsxs)("button", __assign({ className: 'item' }, props.innerProps, { children: [(data === null || data === void 0 ? void 0 : data.img) && (0, jsx_runtime_1.jsx)(system_1.Avatar, { className: 'avatar', image: data.img }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("span", { className: 'font-14-regular', children: data === null || data === void 0 ? void 0 : data.label }), (data === null || data === void 0 ? void 0 : data.subtitle) && (0, jsx_runtime_1.jsx)("span", { className: 'font-12-regular subtitulo', children: data.subtitle })] })] })));
57
- }
58
54
  function SelectWorkSpace(_a) {
59
55
  var workspaces = _a.workspaces;
60
56
  if (!(workspaces === null || workspaces === void 0 ? void 0 : workspaces.list) || workspaces.list.length === 0) {
61
57
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
62
58
  }
63
- return ((0, jsx_runtime_1.jsx)(S.SelectWorkSpace, { children: (0, jsx_runtime_1.jsx)(ui_1.FormHandler, { onChangeForm: { callbackResult: workspaces.onChangeWorkSpace && workspaces.onChangeWorkSpace }, initialData: { workspace: workspaces.activeWorkspace }, children: (0, jsx_runtime_1.jsx)(ui_1.Select, { name: 'workspace', menuPlacement: 'auto', options: workspaces.list, onlyOneValue: true, customStlyes: custom_styles_1.customStyles, CustomOption: Item, isSearchable: false, placeholder: 'Selecione a empresa', value: workspaces.activeWorkspace }) }) }));
59
+ function Item(_a) {
60
+ var _b, _c;
61
+ var data = _a.data, props = __rest(_a, ["data"]);
62
+ var isOption = (_c = (_b = props === null || props === void 0 ? void 0 : props.innerProps) === null || _b === void 0 ? void 0 : _b.id) === null || _c === void 0 ? void 0 : _c.includes('option');
63
+ var optionIsActive = isOption && workspaces.activeWorkspace === data.value;
64
+ return ((0, jsx_runtime_1.jsxs)(S.Item, __assign({ className: "item ".concat(optionIsActive ? "active" : "") }, props.innerProps, { "$isOption": isOption, children: [(0, jsx_runtime_1.jsxs)("div", { className: 'content_option', children: [(data === null || data === void 0 ? void 0 : data.img) && (0, jsx_runtime_1.jsx)(system_1.Avatar, { className: 'avatar', image: data.img }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("span", { className: 'font-14-regular', children: data === null || data === void 0 ? void 0 : data.label }), (data === null || data === void 0 ? void 0 : data.subtitle) && (0, jsx_runtime_1.jsx)("span", { className: 'font-12-regular subtitulo', style: { color: isOption ? "#828282" : "#fff" }, children: data.subtitle })] })] }), isOption && (0, jsx_runtime_1.jsx)("div", { className: 'active_workspace', children: (0, jsx_runtime_1.jsx)("div", {}) })] })));
65
+ }
66
+ return ((0, jsx_runtime_1.jsx)(S.SelectWorkSpace, { children: (0, jsx_runtime_1.jsx)(ui_1.FormHandler, { onChangeForm: (workspaces === null || workspaces === void 0 ? void 0 : workspaces.onChangeWorkSpace) && { callbackResult: workspaces.onChangeWorkSpace }, initialData: { workspace: workspaces.activeWorkspace }, children: (0, jsx_runtime_1.jsx)(ui_1.Select, { name: 'workspace', menuPlacement: 'auto', options: workspaces.list, onlyOneValue: true, customStlyes: custom_styles_1.customStyles, CustomOption: Item, isSearchable: false, placeholder: 'Selecione a empresa', value: workspaces.activeWorkspace }) }) }));
64
67
  }
65
68
  exports.SelectWorkSpace = SelectWorkSpace;
66
69
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiC;AACjC,2BAA0C;AAI1C,0CAA6B;AAC7B,iDAA8C;AAE9C,SAAS,IAAI,CAAC,EAAkB;IAAhB,IAAA,IAAI,UAAA,EAAK,KAAK,cAAhB,QAAkB,CAAF;IAC5B,OAAO,CACL,6CAAQ,SAAS,EAAC,MAAM,IAAK,KAAK,CAAC,UAAU,eAC1C,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,KAAI,uBAAC,eAAM,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,IAAI,CAAC,GAAG,GAAI,EAE5D,4CACE,iCAAM,SAAS,EAAC,iBAAiB,YAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,GAAQ,EAErD,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,KAAI,iCAAM,SAAS,EAAC,2BAA2B,YAAE,IAAI,CAAC,QAAQ,GAAQ,IACjF,KACC,CACV,CAAA;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,EAA0C;QAAxC,UAAU,gBAAA;IAC1C,IAAI,CAAC,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI,CAAA,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtD,OAAO,kDAAK,CAAA;IACd,CAAC;IAED,OAAO,CACL,uBAAC,CAAC,CAAC,eAAe,cAChB,uBAAC,gBAAW,IACV,YAAY,EAAE,EAAE,cAAc,EAAE,UAAU,CAAC,iBAAiB,IAAI,UAAU,CAAC,iBAAiB,EAAE,EAC9F,WAAW,EAAE,EAAE,SAAS,EAAE,UAAU,CAAC,eAAe,EAAE,YAEtD,uBAAC,WAAM,IACL,IAAI,EAAC,WAAW,EAChB,aAAa,EAAC,MAAM,EACpB,OAAO,EAAE,UAAU,CAAC,IAAI,EACxB,YAAY,QACZ,YAAY,EAAE,4BAAY,EAC1B,YAAY,EAAE,IAAI,EAClB,YAAY,EAAE,KAAK,EACnB,WAAW,EAAC,qBAAqB,EACjC,KAAK,EAAE,UAAU,CAAC,eAAe,GACjC,GACU,GACI,CACrB,CAAA;AACH,CAAC;AAzBD,0CAyBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiC;AACjC,2BAA0C;AAI1C,0CAA6B;AAC7B,iDAA8C;AAE9C,SAAgB,eAAe,CAAC,EAA0C;QAAxC,UAAU,gBAAA;IAC1C,IAAI,CAAC,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI,CAAA,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtD,OAAO,kDAAK,CAAA;IACd,CAAC;IAED,SAAS,IAAI,CAAC,EAAkB;;QAAhB,IAAA,IAAI,UAAA,EAAK,KAAK,cAAhB,QAAkB,CAAF;QAC5B,IAAM,QAAQ,GAAG,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,UAAU,0CAAE,EAAE,0CAAE,QAAQ,CAAC,QAAQ,CAAC,CAAE;QAC5D,IAAM,cAAc,GAAG,QAAQ,IAAI,UAAU,CAAC,eAAe,KAAK,IAAI,CAAC,KAAK,CAAA;QAE5E,OAAO,CACL,wBAAC,CAAC,CAAC,IAAI,aACL,SAAS,EAAE,eAAQ,cAAc,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAE,IAC/C,KAAK,CAAC,UAAU,iBACT,QAAQ,aAEnB,iCAAK,SAAS,EAAC,gBAAgB,aAC5B,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,KAAI,uBAAC,eAAM,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,IAAI,CAAC,GAAG,GAAI,EAE5D,4CACE,iCAAM,SAAS,EAAC,iBAAiB,YAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,GAAQ,EAErD,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,KAAI,iCAAM,SAAS,EAAC,2BAA2B,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EAAE,YAAG,IAAI,CAAC,QAAQ,GAAQ,IAClI,IACF,EAEL,QAAQ,IAAI,gCAAK,SAAS,EAAC,kBAAkB,YAAC,iCAAW,GAAM,KACzD,CACV,CAAA;IACH,CAAC;IAED,OAAO,CACL,uBAAC,CAAC,CAAC,eAAe,cAChB,uBAAC,gBAAW,IACV,YAAY,EAAE,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,iBAAiB,KAAI,EAAE,cAAc,EAAE,UAAU,CAAC,iBAAiB,EAAE,EAC/F,WAAW,EAAE,EAAE,SAAS,EAAE,UAAU,CAAC,eAAe,EAAE,YAEtD,uBAAC,WAAM,IACL,IAAI,EAAC,WAAW,EAChB,aAAa,EAAC,MAAM,EACpB,OAAO,EAAE,UAAU,CAAC,IAAI,EACxB,YAAY,QACZ,YAAY,EAAE,4BAAY,EAC1B,YAAY,EAAE,IAAI,EAClB,YAAY,EAAE,KAAK,EACnB,WAAW,EAAC,qBAAqB,EACjC,KAAK,EAAE,UAAU,CAAC,eAAe,GACjC,GACU,GACI,CACrB,CAAA;AACH,CAAC;AAlDD,0CAkDC"}
@@ -1,3 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="react/experimental" />
3
- export declare const SelectWorkSpace: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const SelectWorkSpace: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
+ ref?: import("react").Ref<HTMLDivElement>;
5
+ }, never>> & string;
6
+ export declare const Item: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
7
+ ref?: import("react").Ref<HTMLDivElement>;
8
+ }, {
9
+ $isOption: boolean;
10
+ }>> & string;
@@ -7,8 +7,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  return (mod && mod.__esModule) ? mod : { "default": mod };
8
8
  };
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.SelectWorkSpace = void 0;
10
+ exports.Item = exports.SelectWorkSpace = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.SelectWorkSpace = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n height: 40px;\n box-shadow: 0px 0px 5px 0px #00000033;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n [class*='-indicatorContainer'] {\n padding: 0;\n }\n\n [class*='-control'] {\n * {\n color: #fff;\n font-weight: 700;\n }\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n max-width: 100%;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"], ["\n width: 100%;\n height: 40px;\n box-shadow: 0px 0px 5px 0px #00000033;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n [class*='-indicatorContainer'] {\n padding: 0;\n }\n\n [class*='-control'] {\n * {\n color: #fff;\n font-weight: 700;\n }\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n max-width: 100%;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"])));
13
- var templateObject_1;
12
+ exports.SelectWorkSpace = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n height: 40px;\n box-shadow: 0px 0px 5px 0px #00000033;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n [class*='-indicatorContainer'] {\n padding: 0;\n }\n\n [class*='-control'] {\n * {\n color: #fff;\n font-weight: 700;\n }\n }\n\n [id*='-listbox'] {\n > div {\n padding: 2px 10px;\n }\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n max-width: 100%;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"], ["\n width: 100%;\n height: 40px;\n box-shadow: 0px 0px 5px 0px #00000033;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n [class*='-indicatorContainer'] {\n padding: 0;\n }\n\n [class*='-control'] {\n * {\n color: #fff;\n font-weight: 700;\n }\n }\n\n [id*='-listbox'] {\n > div {\n padding: 2px 10px;\n }\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n max-width: 100%;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"])));
13
+ exports.Item = (0, styled_components_1.default)('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n flex-direction: row !important;\n justify-content: space-between;\n margin-top: 0 !important;\n margin-bottom: -2px;\n padding: 5px 12px !important;\n\n .content_option {\n > div {\n display: flex;\n flex-direction: column;\n gap: 3px;\n\n span {\n line-height: 1;\n display: flex;\n }\n }\n }\n\n .active_workspace {\n height: 10px;\n width: 10px;\n border-radius: 100%;\n border: 1px solid #6d6b6b;\n overflow: hidden;\n }\n\n &:hover {\n transition: 0.2s;\n background-color: ", " ;\n }\n\n &.active {\n background: rgb(239 236 236 / 50%) !important;\n\n .active_workspace {\n > div {\n background-color: #6d6b6b;\n height: 100%;\n width: 100%;\n }\n }\n }\n"], ["\n align-items: center;\n flex-direction: row !important;\n justify-content: space-between;\n margin-top: 0 !important;\n margin-bottom: -2px;\n padding: 5px 12px !important;\n\n .content_option {\n > div {\n display: flex;\n flex-direction: column;\n gap: 3px;\n\n span {\n line-height: 1;\n display: flex;\n }\n }\n }\n\n .active_workspace {\n height: 10px;\n width: 10px;\n border-radius: 100%;\n border: 1px solid #6d6b6b;\n overflow: hidden;\n }\n\n &:hover {\n transition: 0.2s;\n background-color: ", " ;\n }\n\n &.active {\n background: rgb(239 236 236 / 50%) !important;\n\n .active_workspace {\n > div {\n background-color: #6d6b6b;\n height: 100%;\n width: 100%;\n }\n }\n }\n"])), function (props) { return props.$isOption ? "rgb(245 245 245 / 29%) !important" : "unset"; });
14
+ var templateObject_1, templateObject_2;
14
15
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,y7CAAA,s3CA+ExC,KAAA"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,ogDAAA,i8CAqF3C,KAAA;AACY,QAAA,IAAI,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,42BAAsB,wkBA+B/B,EAAwE,+NAc/F,KAduB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,OAAO,EAA/D,CAA+D,EAc/F"}
@@ -28,25 +28,10 @@ var jsx_runtime_1 = require("react/jsx-runtime");
28
28
  var ui_1 = require("../../../../../../../ui/index.js");
29
29
  var profile_1 = require("./profile/index.js");
30
30
  var settings_1 = require("./settings/index.js");
31
+ // import { Messages } from './messages/index.js'
31
32
  var data_1 = require("../../../../../../../system/presentation/components/data/index.js");
32
33
  var S = __importStar(require("./styles.js"));
33
34
  function MenuRight(props) {
34
- // const workspaces: WorkSpace = {
35
- // activeWorkspace: '',
36
- // list: [
37
- // {
38
- // img: '',
39
- // label: 'sdfa',
40
- // value: 'asfdads',
41
- // },
42
- // {
43
- // img: '',
44
- // label: 'sfasdfasdfa',
45
- // value: 'asfdasdfasdfads',
46
- // },
47
- // ],
48
- // onChangeWorkSpace: () => null,
49
- // }
50
35
  return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'MenuRight', children: (0, jsx_runtime_1.jsxs)(S.MenuRight, { children: [props.workspaces && (0, jsx_runtime_1.jsx)(data_1.SelectWorkSpace, { workspaces: props.workspaces }), (0, jsx_runtime_1.jsx)(data_1.Notifications, {}), (0, jsx_runtime_1.jsx)(settings_1.Settings, {}), (0, jsx_runtime_1.jsx)(profile_1.Profile, {})] }) }));
51
36
  }
52
37
  exports.MenuRight = MenuRight;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,qCAAmC;AACnC,uCAAqC;AAGrC,8DAAsF;AAGtF,0CAA6B;AAM7B,SAAgB,SAAS,CAAC,KAAiB;IACzC,kCAAkC;IAClC,yBAAyB;IACzB,YAAY;IACZ,QAAQ;IACR,iBAAiB;IACjB,uBAAuB;IACvB,0BAA0B;IAC1B,SAAS;IACT,QAAQ;IACR,iBAAiB;IACjB,8BAA8B;IAC9B,kCAAkC;IAClC,SAAS;IACT,OAAO;IACP,mCAAmC;IACnC,IAAI;IAEJ,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,WAAW,YACrB,wBAAC,CAAC,CAAC,SAAS,eACT,KAAK,CAAC,UAAU,IAAI,uBAAC,sBAAe,IAAC,UAAU,EAAE,KAAK,CAAC,UAAU,GAAI,EAEtE,uBAAC,oBAAa,KAAG,EAMjB,uBAAC,mBAAQ,KAAG,EAEZ,uBAAC,iBAAO,KAAG,IACC,GACR,CACT,CAAA;AACH,CAAC;AAnCD,8BAmCC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,qCAAmC;AACnC,uCAAqC;AACrC,wCAAwC;AAExC,8DAAsF;AAGtF,0CAA6B;AAM7B,SAAgB,SAAS,CAAC,KAAiB;IACzC,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,WAAW,YACrB,wBAAC,CAAC,CAAC,SAAS,eACT,KAAK,CAAC,UAAU,IAAI,uBAAC,sBAAe,IAAC,UAAU,EAAE,KAAK,CAAC,UAAU,GAAI,EAEtE,uBAAC,oBAAa,KAAG,EAMjB,uBAAC,mBAAQ,KAAG,EAEZ,uBAAC,iBAAO,KAAG,IACC,GACR,CACT,CAAA;AACH,CAAC;AAlBD,8BAkBC"}
@@ -35,7 +35,7 @@ var components_1 = require("../components/index.js");
35
35
  var S = __importStar(require("./styles.js"));
36
36
  function HeaderVersion01(_a) {
37
37
  var workspaces = _a.workspaces, fixedSidebar = _a.fixedSidebar, logo = _a.logo;
38
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'HeaderCarbon', children: (0, jsx_runtime_1.jsx)(S.HeaderVersion01, { id: 'header', "$hasSidebarButton": fixedSidebar, children: (0, jsx_runtime_1.jsxs)(ui_1.Container, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'left', children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo-wrapper', children: (0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'logo', children: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'logo', href: logo.href || '/', children: (0, jsx_runtime_1.jsx)("img", { src: logo.src || '/images/logo.png', alt: 'header-logo' }) }) }) }), (0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'sidebar_button', children: fixedSidebar && (0, jsx_runtime_1.jsx)(data_1.SideBarButton, {}) })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'right', children: [(0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'search_modal', children: (0, jsx_runtime_1.jsx)(components_1.SearchModal, {}) }), (0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'menu-right', children: (0, jsx_runtime_1.jsx)(components_1.MenuRight, { workspaces: workspaces }) })] })] }) }) }));
38
+ return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'HeaderCarbon', children: (0, jsx_runtime_1.jsx)(S.HeaderVersion01, { id: 'header', "$hasSidebarButton": fixedSidebar, children: (0, jsx_runtime_1.jsxs)(ui_1.Container, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'left', children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo-wrapper', children: (0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'logo', children: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'logo', href: (logo === null || logo === void 0 ? void 0 : logo.href) || '/', children: (0, jsx_runtime_1.jsx)("img", { src: (logo === null || logo === void 0 ? void 0 : logo.src) || '/images/logo.png', alt: 'header-logo' }) }) }) }), (0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'sidebar_button', children: fixedSidebar && (0, jsx_runtime_1.jsx)(data_1.SideBarButton, {}) })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'right', children: [(0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'search_modal', children: (0, jsx_runtime_1.jsx)(components_1.SearchModal, {}) }), (0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'menu-right', children: (0, jsx_runtime_1.jsx)(components_1.MenuRight, { workspaces: workspaces }) })] })] }) }) }));
39
39
  }
40
40
  exports.HeaderVersion01 = HeaderVersion01;
41
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/header/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,2BAAuC;AAEvC,sCAA6C;AAC7C,4CAAsD;AAItD,0CAA6B;AAE7B,SAAgB,eAAe,CAAC,EAA2C;QAAzC,UAAU,gBAAA,EAAE,YAAY,kBAAA,EAAE,IAAI,UAAA;IAC9D,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,YACxB,uBAAC,CAAC,CAAC,eAAe,IAAC,EAAE,EAAC,QAAQ,uBAAoB,YAAY,YAC5D,wBAAC,cAAS,eACR,iCAAK,SAAS,EAAC,MAAM,aACnB,gCAAK,SAAS,EAAC,cAAc,YAC3B,uBAAC,UAAK,IAAC,IAAI,EAAC,MAAM,YAChB,uBAAC,cAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,GAAG,YAC3C,gCAAK,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,kBAAkB,EAAE,GAAG,EAAC,aAAa,GAAG,GACzD,GACD,GACJ,EAEN,uBAAC,UAAK,IAAC,IAAI,EAAC,gBAAgB,YAAE,YAAY,IAAI,uBAAC,oBAAa,KAAG,GAAS,IACpE,EAEN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,YACxB,uBAAC,wBAAW,KAAG,GACT,EAER,uBAAC,UAAK,IAAC,IAAI,EAAC,YAAY,YACtB,uBAAC,sBAAS,IAAC,UAAU,EAAE,UAAU,GAAI,GAC/B,IACJ,IACI,GACM,GACd,CACT,CAAA;AACH,CAAC;AA9BD,0CA8BC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/header/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,2BAAuC;AAEvC,sCAA6C;AAC7C,4CAAsD;AAItD,0CAA6B;AAE7B,SAAgB,eAAe,CAAC,EAA2C;QAAzC,UAAU,gBAAA,EAAE,YAAY,kBAAA,EAAE,IAAI,UAAA;IAC9D,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,YACxB,uBAAC,CAAC,CAAC,eAAe,IAAC,EAAE,EAAC,QAAQ,uBAAoB,YAAY,YAC5D,wBAAC,cAAS,eACR,iCAAK,SAAS,EAAC,MAAM,aACnB,gCAAK,SAAS,EAAC,cAAc,YAC3B,uBAAC,UAAK,IAAC,IAAI,EAAC,MAAM,YAChB,uBAAC,cAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,KAAI,GAAG,YAC5C,gCAAK,GAAG,EAAE,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,KAAI,kBAAkB,EAAE,GAAG,EAAC,aAAa,GAAG,GAC1D,GACD,GACJ,EAEN,uBAAC,UAAK,IAAC,IAAI,EAAC,gBAAgB,YAAE,YAAY,IAAI,uBAAC,oBAAa,KAAG,GAAS,IACpE,EAEN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,YACxB,uBAAC,wBAAW,KAAG,GACT,EAER,uBAAC,UAAK,IAAC,IAAI,EAAC,YAAY,YACtB,uBAAC,sBAAS,IAAC,UAAU,EAAE,UAAU,GAAI,GAC/B,IACJ,IACI,GACM,GACd,CACT,CAAA;AACH,CAAC;AA9BD,0CA8BC"}
@@ -1,3 +1,5 @@
1
+ export * from './use-header/index.js';
2
+ export * from './use-footer/index.js';
1
3
  export * from './use-mounted/index.js';
2
4
  export * from './use-is-fixed/index.js';
3
5
  export * from './use-element-size/index.js';
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./use-header/index.js"), exports);
18
+ __exportStar(require("./use-footer/index.js"), exports);
17
19
  __exportStar(require("./use-mounted/index.js"), exports);
18
20
  __exportStar(require("./use-is-fixed/index.js"), exports);
19
21
  __exportStar(require("./use-element-size/index.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,iDAA8B;AAC9B,qDAAkC;AAClC,qDAAkC;AAClC,sDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,iDAA8B;AAC9B,qDAAkC;AAClC,qDAAkC;AAClC,sDAAmC"}
@@ -23,4 +23,4 @@ function useFooter() {
23
23
  return { footerHeight: footerHeight };
24
24
  }
25
25
  exports.useFooter = useFooter;
26
- //# sourceMappingURL=use-footer.js.map
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-footer/index.tsx"],"names":[],"mappings":";;;AAAA,+BAA2C;AAE3C,SAAgB,SAAS;IACjB,IAAA,KAAkC,IAAA,gBAAQ,EAAC,CAAC,CAAC,EAA5C,YAAY,QAAA,EAAE,eAAe,QAAe,CAAA;IAEnD,SAAS,kBAAkB;QACzB,IAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,IAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAA;YACxC,eAAe,CAAC,YAAY,CAAC,CAAA;QAC/B,CAAC;IACH,CAAC;IAED,IAAA,iBAAS,EAAC;QACR,IAAI,OAAO,MAAM,EAAE,CAAC;YAClB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;YAErD,kBAAkB,EAAE,CAAA;QACtB,CAAC;QAED,OAAO;YACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;QAC1D,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,EAAE,YAAY,cAAA,EAAE,CAAA;AACzB,CAAC;AAzBD,8BAyBC"}
@@ -23,4 +23,4 @@ function useHeader() {
23
23
  return { headerHeight: headerHeight };
24
24
  }
25
25
  exports.useHeader = useHeader;
26
- //# sourceMappingURL=use-header.js.map
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-header/index.tsx"],"names":[],"mappings":";;;AAAA,+BAA2C;AAE3C,SAAgB,SAAS;IACjB,IAAA,KAAkC,IAAA,gBAAQ,EAAC,CAAC,CAAC,EAA5C,YAAY,QAAA,EAAE,eAAe,QAAe,CAAA;IAEnD,SAAS,kBAAkB;QACzB,IAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,IAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAA;YACxC,eAAe,CAAC,YAAY,CAAC,CAAA;QAC/B,CAAC;IACH,CAAC;IAED,IAAA,iBAAS,EAAC;QACR,IAAI,OAAO,MAAM,EAAE,CAAC;YAClB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;YAErD,kBAAkB,EAAE,CAAA;QACtB,CAAC;QAED,OAAO;YACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;QAC1D,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,EAAE,YAAY,cAAA,EAAE,CAAA;AACzB,CAAC;AAzBD,8BAyBC"}
package/package.json CHANGED
@@ -1,86 +1,76 @@
1
- {
2
- "name": "infinity-forge",
3
- "version": "0.40.3",
4
- "description": "codie Library",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.js",
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 3050",
14
- "start": "next start -p 3015",
15
- "build": "concurrently --kill-others \"tsc -w\" \"tsc-alias -w --resolve-full-paths\"",
16
- "nextBuild": "next build",
17
- "build:esm": "tsc",
18
- "build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (.css) do copy \"%i\" dist\\ "
19
- },
20
- "peerDependencies": {
21
- "react": ">=16"
22
- },
23
- "files": [
24
- "dist",
25
- "LICENSE",
26
- "README.md"
27
- ],
28
- "keywords": [
29
- "react",
30
- "typescript",
31
- "awesome-project"
32
- ],
33
- "author": "Codie Digital",
34
- "license": "MIT",
35
- "devDependencies": {
36
- "@types/node": "^18.11.7",
37
- "@types/react": "^18.0.12",
38
- "@types/react-date-range": "^1.4.9",
39
- "@types/react-datepicker": "^6.2.0",
40
- "@types/react-dom": "^18.2.18",
41
- "@types/styled-components": "^5.1.34",
42
- "prettier": "^2.6.2",
43
- "tslib": "^2.4.1"
44
- },
45
- "dependencies": {
46
- "@ckeditor/ckeditor5-react": "^6.3.0",
47
- "@internationalized/date": "^3.5.3",
48
- "@nextui-org/react": "^2.3.6",
49
- "@react-aria/i18n": "^3.11.0",
50
- "aos": "^2.3.4",
51
- "axios": "^1.4.0",
52
- "chroma-js": "^2.4.2",
53
- "ckeditor5-custom-build": "^0.0.6",
54
- "concurrently": "^8.2.2",
55
- "date-fns": "^3.6.0",
56
- "formik": "^2.4.5",
57
- "framer-motion": "^11.1.7",
58
- "inversify": "^6.0.2",
59
- "js-cookie": "^3.0.5",
60
- "moment": "^2.30.1",
61
- "next": "^13.1.6",
62
- "react": "^18.3.0",
63
- "react-countup": "^6.5.0",
64
- "react-currency-input-field": "^3.8.0",
65
- "react-date-range": "^2.0.1",
66
- "react-datepicker": "^6.9.0",
67
- "react-dom": "^18.3.1",
68
- "react-error-boundary": "^3.1.4",
69
- "react-ga": "^3.3.1",
70
- "react-glider": "^4.0.2",
71
- "react-select": "^5.8.0",
72
- "react-semantic-ui-datepickers": "^2.17.2",
73
- "react-slick": "^0.30.2",
74
- "reflect-metadata": "^0.2.1",
75
- "semantic-ui-css": "^2.5.0",
76
- "semantic-ui-react": "^2.1.5",
77
- "sharp": "^0.33.2",
78
- "slick-carousel": "^1.8.1",
79
- "styled-components": "^6.1.8",
80
- "swr": "^2.2.5",
81
- "tsc-alias": "^1.8.8",
82
- "typescript": "^5.4.5",
83
- "yup": "^1.3.3",
84
- "zustand": "^4.3.8"
85
- }
86
- }
1
+ {
2
+ "name": "infinity-forge",
3
+ "version": "0.40.4",
4
+ "description": "codie Library",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
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 3050",
14
+ "start": "next start -p 3015",
15
+ "build": "concurrently --kill-others \"tsc -w\" \"tsc-alias -w --resolve-full-paths\"",
16
+ "nextBuild": "next build",
17
+ "build:esm": "tsc",
18
+ "build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (.css) do copy \"%i\" dist\\ "
19
+ },
20
+ "peerDependencies": {
21
+ "react": ">=16"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "LICENSE",
26
+ "README.md"
27
+ ],
28
+ "keywords": [
29
+ "react",
30
+ "typescript",
31
+ "awesome-project"
32
+ ],
33
+ "author": "Codie Digital",
34
+ "license": "MIT",
35
+ "devDependencies": {
36
+ "@types/node": "^20.12.12",
37
+ "@types/react": "^18.3.2",
38
+ "@types/react-date-range": "^1.4.9",
39
+ "@types/react-datepicker": "^6.2.0",
40
+ "@types/react-dom": "^18.3.0",
41
+ "@types/styled-components": "^5.1.34",
42
+ "tslib": "^2.6.2"
43
+ },
44
+ "dependencies": {
45
+ "@ckeditor/ckeditor5-react": "^7.0.0",
46
+ "@nextui-org/react": "^2.3.6",
47
+ "axios": "^1.7.2",
48
+ "chroma-js": "^2.4.2",
49
+ "ckeditor5-custom-build": "^0.0.6",
50
+ "concurrently": "^8.2.2",
51
+ "date-fns": "^3.6.0",
52
+ "formik": "^2.4.6",
53
+ "framer-motion": "^11.2.6",
54
+ "inversify": "^6.0.2",
55
+ "moment": "^2.30.1",
56
+ "next": "^14.2.3",
57
+ "react": "^18.3.1",
58
+ "react-currency-input-field": "^3.8.0",
59
+ "react-date-range": "^2.0.1",
60
+ "react-datepicker": "^6.9.0",
61
+ "react-dom": "^18.3.1",
62
+ "react-error-boundary": "^4.0.13",
63
+ "react-ga": "^3.3.1",
64
+ "react-select": "^5.8.0",
65
+ "react-semantic-ui-datepickers": "^2.17.2",
66
+ "react-slick": "^0.30.2",
67
+ "reflect-metadata": "^0.2.2",
68
+ "semantic-ui-react": "^2.1.5",
69
+ "sharp": "^0.33.4",
70
+ "styled-components": "^6.1.11",
71
+ "swr": "^2.2.5",
72
+ "tsc-alias": "^1.8.10",
73
+ "typescript": "^5.4.5",
74
+ "yup": "^1.4.0"
75
+ }
76
+ }
@@ -1,2 +0,0 @@
1
- import { CounterType } from './interfaces.js';
2
- export declare function Counter({ version, data }: CounterType): import("react/jsx-runtime").JSX.Element;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.Counter = void 0;
15
- var jsx_runtime_1 = require("react/jsx-runtime");
16
- var versions_1 = require("./versions/index.js");
17
- function Counter(_a) {
18
- var version = _a.version, data = _a.data;
19
- switch (version) {
20
- case 'Version01':
21
- return (0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
22
- default:
23
- ;
24
- (0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
25
- }
26
- }
27
- exports.Counter = Counter;
28
- //# sourceMappingURL=component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/sites/components/counter/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,uCAAsC;AAItC,SAAgB,OAAO,CAAC,EAA8B;QAA5B,OAAO,aAAA,EAAE,IAAI,UAAA;IACrC,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,WAAW;YACd,OAAO,uBAAC,oBAAS,eAAK,IAAI,EAAI,CAAA;QAEhC;YACE,CAAC;YAAA,uBAAC,oBAAS,eAAK,IAAI,EAAI,CAAA;IAC5B,CAAC;AACH,CAAC;AARD,0BAQC"}
@@ -1 +0,0 @@
1
- export * from './component.js';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./component.js"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sites/components/counter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B"}
@@ -1,12 +0,0 @@
1
- import * as CounterVersions from './versions/index.js';
2
- export type CounterBoxProps = {
3
- id: number;
4
- titulo: string;
5
- numero: number;
6
- };
7
- export type CounterType = {
8
- data: {
9
- data: CounterBoxProps[];
10
- };
11
- version: keyof typeof CounterVersions;
12
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/sites/components/counter/interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export * from './version-01/component.js';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./version-01/component.js"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/sites/components/counter/versions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC"}
@@ -1,2 +0,0 @@
1
- import { CounterBoxProps } from '../../../interfaces.js';
2
- export declare function Box({ titulo, numero }: CounterBoxProps): import("react/jsx-runtime").JSX.Element;
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Box = void 0;
27
- var jsx_runtime_1 = require("react/jsx-runtime");
28
- var react_1 = require("react");
29
- var ui_1 = require("../../../../../../ui/index.js");
30
- var S = __importStar(require("./styles.js"));
31
- function Box(_a) {
32
- var titulo = _a.titulo, numero = _a.numero;
33
- var ref = (0, react_1.useRef)(null);
34
- // const isVisible = useIntersection({ element: ref, once: true })
35
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Box', children: (0, jsx_runtime_1.jsxs)(S.Box, { ref: ref, "data-aos": 'fade-up', "data-aos-duration": '1000', "data-aos-delay": '200', "data-aos-easing": 'ease-in', children: [(0, jsx_runtime_1.jsx)("div", { className: 'font-64-medium', children: (0, jsx_runtime_1.jsx)("span", { children: "+" }) }), (0, jsx_runtime_1.jsx)("span", { className: 'font-24-regular title uppercase', children: titulo })] }) }));
36
- }
37
- exports.Box = Box;
38
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/sites/components/counter/versions/version-01/box/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAI9B,2BAA4B;AAI5B,0CAA6B;AAE7B,SAAgB,GAAG,CAAC,EAAmC;QAAjC,MAAM,YAAA,EAAE,MAAM,YAAA;IAClC,IAAM,GAAG,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAA;IACxB,kEAAkE;IAElE,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,KAAK,YACf,wBAAC,CAAC,CAAC,GAAG,IAAC,GAAG,EAAE,GAAG,cAAW,SAAS,uBAAmB,MAAM,oBAAgB,KAAK,qBAAiB,SAAS,aACzG,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,iDAAc,GAGV,EAEN,iCAAM,SAAS,EAAC,iCAAiC,YAAE,MAAM,GAAQ,IAC3D,GACF,CACT,CAAA;AACH,CAAC;AAjBD,kBAiBC"}
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
- export declare const Box: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __importDefault = (this && this.__importDefault) || function (mod) {
7
- return (mod && mod.__esModule) ? mod : { "default": mod };
8
- };
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.Box = void 0;
11
- var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.Box = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n > div {\n display: flex;\n align-items: center;\n color: #3a3a3a;\n margin-bottom: 10px;\n }\n\n .title {\n display: block;\n text-align: center;\n color: #5d5d5d;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n > div {\n display: flex;\n align-items: center;\n color: #3a3a3a;\n margin-bottom: 10px;\n }\n\n .title {\n display: block;\n text-align: center;\n color: #5d5d5d;\n }\n"])));
13
- var templateObject_1;
14
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../src/sites/components/counter/versions/version-01/box/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,GAAG,GAAG,2BAAM,CAAC,GAAG,6WAAA,0SAkB5B,KAAA"}
@@ -1,4 +0,0 @@
1
- import { CounterBoxProps } from '../../interfaces.js';
2
- export declare function Version01({ data }: {
3
- data: CounterBoxProps[];
4
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.Version01 = void 0;
38
- var jsx_runtime_1 = require("react/jsx-runtime");
39
- var box_1 = require("./box/index.js");
40
- var ui_1 = require("../../../../../ui/index.js");
41
- var S = __importStar(require("./styles.js"));
42
- function Version01(_a) {
43
- var data = _a.data;
44
- return ((0, jsx_runtime_1.jsx)(S.Counter, { children: (0, jsx_runtime_1.jsx)(ui_1.Container, { children: data.map(function (counter) { return ((0, jsx_runtime_1.jsx)(box_1.Box, __assign({}, counter), 'counter-box' + counter.id)); }) }) }));
45
- }
46
- exports.Version01 = Version01;
47
- //# sourceMappingURL=component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../../src/sites/components/counter/versions/version-01/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6BAA2B;AAC3B,2BAAgC;AAIhC,0CAA6B;AAE7B,SAAgB,SAAS,CAAC,EAAqC;QAAnC,IAAI,UAAA;IAC9B,OAAO,CACL,uBAAC,CAAC,CAAC,OAAO,cACR,uBAAC,cAAS,cACP,IAAI,CAAC,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,CACrB,uBAAC,SAAG,eAAsC,OAAO,GAAvC,aAAa,GAAG,OAAO,CAAC,EAAE,CAAiB,CACtD,EAFsB,CAEtB,CAAC,GACQ,GACF,CACb,CAAA;AACH,CAAC;AAVD,8BAUC"}
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
- export declare const Counter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __importDefault = (this && this.__importDefault) || function (mod) {
7
- return (mod && mod.__esModule) ? mod : { "default": mod };
8
- };
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.Counter = void 0;
11
- var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.Counter = styled_components_1.default.section(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: clamp(30px, 4.17vw, 80px) 0;\n background-color: #fff;\n width: 100%;\n\n .container {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 7.03vw;\n }\n\n @media only screen and (max-width: 620px) {\n .container {\n flex-direction: column;\n }\n }\n"], ["\n padding: clamp(30px, 4.17vw, 80px) 0;\n background-color: #fff;\n width: 100%;\n\n .container {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 7.03vw;\n }\n\n @media only screen and (max-width: 620px) {\n .container {\n flex-direction: column;\n }\n }\n"])));
13
- var templateObject_1;
14
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/sites/components/counter/versions/version-01/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,OAAO,GAAG,2BAAM,CAAC,OAAO,8XAAA,2TAiBpC,KAAA"}
@@ -1,3 +0,0 @@
1
- export * from './useScreen.js';
2
- export * from './use-header.js';
3
- export * from './use-footer.js';
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./useScreen.js"), exports);
18
- __exportStar(require("./use-header.js"), exports);
19
- __exportStar(require("./use-footer.js"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sites/hook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-footer.js","sourceRoot":"","sources":["../../../src/sites/hook/use-footer.tsx"],"names":[],"mappings":";;;AAAA,+BAA2C;AAE3C,SAAgB,SAAS;IACjB,IAAA,KAAkC,IAAA,gBAAQ,EAAC,CAAC,CAAC,EAA5C,YAAY,QAAA,EAAE,eAAe,QAAe,CAAA;IAEnD,SAAS,kBAAkB;QACzB,IAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,IAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAA;YACxC,eAAe,CAAC,YAAY,CAAC,CAAA;QAC/B,CAAC;IACH,CAAC;IAED,IAAA,iBAAS,EAAC;QACR,IAAI,OAAO,MAAM,EAAE,CAAC;YAClB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;YAErD,kBAAkB,EAAE,CAAA;QACtB,CAAC;QAED,OAAO;YACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;QAC1D,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,EAAE,YAAY,cAAA,EAAE,CAAA;AACzB,CAAC;AAzBD,8BAyBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-header.js","sourceRoot":"","sources":["../../../src/sites/hook/use-header.tsx"],"names":[],"mappings":";;;AAAA,+BAA2C;AAE3C,SAAgB,SAAS;IACjB,IAAA,KAAkC,IAAA,gBAAQ,EAAC,CAAC,CAAC,EAA5C,YAAY,QAAA,EAAE,eAAe,QAAe,CAAA;IAEnD,SAAS,kBAAkB;QACzB,IAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,IAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAA;YACxC,eAAe,CAAC,YAAY,CAAC,CAAA;QAC/B,CAAC;IACH,CAAC;IAED,IAAA,iBAAS,EAAC;QACR,IAAI,OAAO,MAAM,EAAE,CAAC;YAClB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;YAErD,kBAAkB,EAAE,CAAA;QACtB,CAAC;QAED,OAAO;YACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAA;QAC1D,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,EAAE,YAAY,cAAA,EAAE,CAAA;AACzB,CAAC;AAzBD,8BAyBC"}
@@ -1,5 +0,0 @@
1
- export declare function useScreen(): {
2
- isFixed: boolean;
3
- width: number;
4
- height: number;
5
- };
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useScreen = void 0;
4
- var react_1 = require("react");
5
- function useScreen() {
6
- var _a = (0, react_1.useState)(false), isFixed = _a[0], setIsFixed = _a[1];
7
- var _b = (0, react_1.useState)({ width: 0, height: 0 }), screenInfo = _b[0], setScreenInfo = _b[1];
8
- (0, react_1.useEffect)(function () {
9
- function handleScroll() {
10
- if (window.scrollY > 50) {
11
- setIsFixed(true);
12
- }
13
- else {
14
- setIsFixed(false);
15
- }
16
- }
17
- function handleScreenSize() {
18
- setScreenInfo({ width: window.innerWidth, height: window.innerHeight });
19
- }
20
- handleScroll();
21
- handleScreenSize();
22
- window.addEventListener('resize', handleScreenSize);
23
- window.addEventListener('scroll', handleScroll);
24
- return function () {
25
- window.removeEventListener('resize', handleScreenSize);
26
- window.removeEventListener('scroll', handleScroll);
27
- };
28
- }, []);
29
- return {
30
- isFixed: isFixed,
31
- width: screenInfo.width,
32
- height: screenInfo.height,
33
- };
34
- }
35
- exports.useScreen = useScreen;
36
- //# sourceMappingURL=useScreen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useScreen.js","sourceRoot":"","sources":["../../../src/sites/hook/useScreen.tsx"],"names":[],"mappings":";;;AAAA,+BAA2C;AAE3C,SAAgB,SAAS;IACjB,IAAA,KAAwB,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAAtC,OAAO,QAAA,EAAE,UAAU,QAAmB,CAAA;IACvC,IAAA,KAA8B,IAAA,gBAAQ,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,EAA9D,UAAU,QAAA,EAAE,aAAa,QAAqC,CAAA;IAErE,IAAA,iBAAS,EAAC;QACR,SAAS,YAAY;YACnB,IAAI,MAAM,CAAC,OAAO,GAAG,EAAE,EAAE,CAAC;gBACxB,UAAU,CAAC,IAAI,CAAC,CAAA;YAClB,CAAC;iBAAM,CAAC;gBACN,UAAU,CAAC,KAAK,CAAC,CAAA;YACnB,CAAC;QACH,CAAC;QAED,SAAS,gBAAgB;YACvB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,CAAC,CAAA;QACzE,CAAC;QAED,YAAY,EAAE,CAAA;QACd,gBAAgB,EAAE,CAAA;QAElB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAA;QACnD,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAA;QAE/C,OAAO;YACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAA;YACtD,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAA;QACpD,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO;QACL,OAAO,SAAA;QACP,KAAK,EAAE,UAAU,CAAC,KAAK;QACvB,MAAM,EAAE,UAAU,CAAC,MAAM;KAC1B,CAAA;AACH,CAAC;AAlCD,8BAkCC"}