infinity-forge 0.32.5 → 0.32.7

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 (72) hide show
  1. package/dist/system/presentation/components/data/index.d.ts +0 -2
  2. package/dist/system/presentation/components/data/index.js +0 -3
  3. package/dist/system/presentation/components/data/index.js.map +1 -1
  4. package/dist/system/presentation/components/layout/header/version-01/index.js.map +1 -1
  5. package/dist/ui/components/form/handler/form-handler/index.d.ts +1 -1
  6. package/dist/ui/components/form/handler/form-handler/index.js +8 -1
  7. package/dist/ui/components/form/handler/form-handler/index.js.map +1 -1
  8. package/dist/ui/components/form/handler/interfaces.d.ts +1 -0
  9. package/dist/ui/components/form/radio/styles.js +1 -1
  10. package/dist/ui/components/form/radio/styles.js.map +1 -1
  11. package/dist/ui/components/index.d.ts +1 -0
  12. package/dist/ui/components/index.js +1 -0
  13. package/dist/ui/components/index.js.map +1 -1
  14. package/dist/ui/components/popover/index.d.ts +2 -0
  15. package/dist/ui/components/popover/index.js +70 -0
  16. package/dist/ui/components/popover/index.js.map +1 -0
  17. package/dist/ui/components/popover/interfaces.d.ts +6 -0
  18. package/dist/ui/components/popover/interfaces.js.map +1 -0
  19. package/dist/ui/components/popover/styles.d.ts +5 -0
  20. package/dist/ui/components/popover/styles.js +17 -0
  21. package/dist/ui/components/popover/styles.js.map +1 -0
  22. package/dist/ui/hooks/index.d.ts +2 -0
  23. package/dist/ui/hooks/index.js +2 -0
  24. package/dist/ui/hooks/index.js.map +1 -1
  25. package/dist/{sites/hook/use-footer.js → ui/hooks/use-footer/index.js} +1 -1
  26. package/dist/ui/hooks/use-footer/index.js.map +1 -0
  27. package/dist/{sites/hook/use-header.js → ui/hooks/use-header/index.js} +1 -1
  28. package/dist/ui/hooks/use-header/index.js.map +1 -0
  29. package/package.json +1 -1
  30. package/dist/sites/hook/index.d.ts +0 -3
  31. package/dist/sites/hook/index.js +0 -20
  32. package/dist/sites/hook/index.js.map +0 -1
  33. package/dist/sites/hook/use-footer.js.map +0 -1
  34. package/dist/sites/hook/use-header.js.map +0 -1
  35. package/dist/sites/hook/useScreen.d.ts +0 -5
  36. package/dist/sites/hook/useScreen.js +0 -36
  37. package/dist/sites/hook/useScreen.js.map +0 -1
  38. package/dist/system/presentation/components/data/popover/index.d.ts +0 -2
  39. package/dist/system/presentation/components/data/popover/index.js +0 -10
  40. package/dist/system/presentation/components/data/popover/index.js.map +0 -1
  41. package/dist/system/presentation/components/data/popover/interfaces.d.ts +0 -8
  42. package/dist/system/presentation/components/data/popover/interfaces.js.map +0 -1
  43. package/dist/system/presentation/components/data/profile-infos/index.d.ts +0 -2
  44. package/dist/system/presentation/components/data/profile-infos/index.js +0 -48
  45. package/dist/system/presentation/components/data/profile-infos/index.js.map +0 -1
  46. package/dist/system/presentation/components/data/profile-infos/interfaces.d.ts +0 -6
  47. package/dist/system/presentation/components/data/profile-infos/interfaces.js +0 -3
  48. package/dist/system/presentation/components/data/profile-infos/interfaces.js.map +0 -1
  49. package/dist/system/presentation/components/data/profile-infos/profile/index.d.ts +0 -2
  50. package/dist/system/presentation/components/data/profile-infos/profile/index.js +0 -36
  51. package/dist/system/presentation/components/data/profile-infos/profile/index.js.map +0 -1
  52. package/dist/system/presentation/components/data/profile-infos/profile/interfaces.d.ts +0 -10
  53. package/dist/system/presentation/components/data/profile-infos/profile/interfaces.js +0 -3
  54. package/dist/system/presentation/components/data/profile-infos/profile/interfaces.js.map +0 -1
  55. package/dist/system/presentation/components/data/profile-infos/profile/styles.d.ts +0 -5
  56. package/dist/system/presentation/components/data/profile-infos/profile/styles.js +0 -14
  57. package/dist/system/presentation/components/data/profile-infos/profile/styles.js.map +0 -1
  58. package/dist/system/presentation/components/data/profile-infos/styles.d.ts +0 -5
  59. package/dist/system/presentation/components/data/profile-infos/styles.js +0 -14
  60. package/dist/system/presentation/components/data/profile-infos/styles.js.map +0 -1
  61. package/dist/system/presentation/components/data/tab/index.d.ts +0 -2
  62. package/dist/system/presentation/components/data/tab/index.js +0 -38
  63. package/dist/system/presentation/components/data/tab/index.js.map +0 -1
  64. package/dist/system/presentation/components/data/tab/interfaces.d.ts +0 -12
  65. package/dist/system/presentation/components/data/tab/interfaces.js +0 -3
  66. package/dist/system/presentation/components/data/tab/interfaces.js.map +0 -1
  67. package/dist/system/presentation/components/data/tab/styles.d.ts +0 -5
  68. package/dist/system/presentation/components/data/tab/styles.js +0 -14
  69. package/dist/system/presentation/components/data/tab/styles.js.map +0 -1
  70. /package/dist/{system/presentation/components/data → ui/components}/popover/interfaces.js +0 -0
  71. /package/dist/{sites/hook/use-footer.d.ts → ui/hooks/use-footer/index.d.ts} +0 -0
  72. /package/dist/{sites/hook/use-header.d.ts → ui/hooks/use-header/index.d.ts} +0 -0
@@ -4,11 +4,9 @@ export * from './avatar/index.js';
4
4
  export * from './overlay/index.js';
5
5
  export * from './buttons/index.js';
6
6
  export * from './sign-up/index.js';
7
- export * from './popover/index.js';
8
7
  export * from './detail-card/index.js';
9
8
  export * from './highlight-icon/index.js';
10
9
  export * from './input-search/index.js';
11
10
  export * from './page-wrapper/index.js';
12
- export * from './profile-infos/index.js';
13
11
  export * from './highlight-text/index.js';
14
12
  export * from './select-workspace/index.js';
@@ -14,19 +14,16 @@ 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
- // export * from './tab/index.js'
18
17
  __exportStar(require("./chat/index.js"), exports);
19
18
  __exportStar(require("./logo/index.js"), exports);
20
19
  __exportStar(require("./avatar/index.js"), exports);
21
20
  __exportStar(require("./overlay/index.js"), exports);
22
21
  __exportStar(require("./buttons/index.js"), exports);
23
22
  __exportStar(require("./sign-up/index.js"), exports);
24
- __exportStar(require("./popover/index.js"), exports);
25
23
  __exportStar(require("./detail-card/index.js"), exports);
26
24
  __exportStar(require("./highlight-icon/index.js"), exports);
27
25
  __exportStar(require("./input-search/index.js"), exports);
28
26
  __exportStar(require("./page-wrapper/index.js"), exports);
29
- __exportStar(require("./profile-infos/index.js"), exports);
30
27
  __exportStar(require("./highlight-text/index.js"), exports);
31
28
  __exportStar(require("./select-workspace/index.js"), exports);
32
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wBAAwB;AACxB,yCAAsB;AACtB,yCAAsB;AACtB,2CAAwB;AACxB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,gDAA6B;AAC7B,mDAAgC;AAChC,iDAA8B;AAC9B,iDAA8B;AAC9B,kDAA+B;AAC/B,mDAAgC;AAChC,qDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,yCAAsB;AACtB,2CAAwB;AACxB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,gDAA6B;AAC7B,mDAAgC;AAChC,iDAA8B;AAC9B,iDAA8B;AAC9B,mDAAgC;AAChC,qDAAkC"}
@@ -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;AAEtD,0CAA6B;AAG7B,SAAgB,eAAe,CAAC,EAAqC;QAAnC,UAAU,gBAAA,EAAE,YAAY,kBAAA;IACxD,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,cAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,GAAG,YAC7B,gCAAK,GAAG,EAAC,kBAAkB,EAAC,GAAG,EAAC,aAAa,GAAG,GAC3C,GACH,EAEL,YAAY,IAAI,uBAAC,oBAAa,KAAG,IAC9B,EAEN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,wBAAW,KAAG,EAEf,uBAAC,sBAAS,IAAC,UAAU,EAAE,UAAU,GAAI,IACjC,IACI,GACM,GACd,CACT,CAAA;AACH,CAAC;AAxBD,0CAwBC"}
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,EAAqC;QAAnC,UAAU,gBAAA,EAAE,YAAY,kBAAA;IACxD,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,cAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,GAAG,YAC7B,gCAAK,GAAG,EAAC,kBAAkB,EAAC,GAAG,EAAC,aAAa,GAAG,GAC3C,GACH,EAEL,YAAY,IAAI,uBAAC,oBAAa,KAAG,IAC9B,EAEN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,wBAAW,KAAG,EAEf,uBAAC,sBAAS,IAAC,UAAU,EAAE,UAAU,GAAI,IACjC,IACI,GACM,GACd,CACT,CAAA;AACH,CAAC;AAxBD,0CAwBC"}
@@ -1,2 +1,2 @@
1
1
  import { IFormHandler } from '../interfaces.js';
2
- export default function FormElement({ button, schema, children, onSucess, customSubmit, onChangeForm, customAction, cleanFieldsOnSubmit, }: IFormHandler): import("react/jsx-runtime").JSX.Element;
2
+ export default function FormElement({ button, schema, children, onSucess, debugMode, customSubmit, onChangeForm, customAction, cleanFieldsOnSubmit, }: IFormHandler): import("react/jsx-runtime").JSX.Element;
@@ -88,7 +88,7 @@ var system_1 = require("../../../../../system/index.js");
88
88
  var custom_submit_1 = require("../custom-submit/index.js");
89
89
  var S = __importStar(require("../styles.js"));
90
90
  function FormElement(_a) {
91
- var button = _a.button, schema = _a.schema, children = _a.children, onSucess = _a.onSucess, customSubmit = _a.customSubmit, onChangeForm = _a.onChangeForm, customAction = _a.customAction, _b = _a.cleanFieldsOnSubmit, cleanFieldsOnSubmit = _b === void 0 ? true : _b;
91
+ var button = _a.button, schema = _a.schema, children = _a.children, onSucess = _a.onSucess, debugMode = _a.debugMode, customSubmit = _a.customSubmit, onChangeForm = _a.onChangeForm, customAction = _a.customAction, _b = _a.cleanFieldsOnSubmit, cleanFieldsOnSubmit = _b === void 0 ? true : _b;
92
92
  var _c = (0, react_1.useState)({ state: '', message: '' }), stateForm = _c[0], setStateForm = _c[1];
93
93
  var _d = (0, formik_1.useFormikContext)(), values = _d.values, setErrors = _d.setErrors, setFieldError = _d.setFieldError, setFieldValue = _d.setFieldValue;
94
94
  function onSubmit(action) {
@@ -98,6 +98,9 @@ function FormElement(_a) {
98
98
  switch (_c.label) {
99
99
  case 0:
100
100
  _c.trys.push([0, 5, 6, 7]);
101
+ if (debugMode) {
102
+ console.log("values", values);
103
+ }
101
104
  setErrors({});
102
105
  setStateForm({ state: 'loading', message: '' });
103
106
  schemaObject = schema && yup.object().shape(schema);
@@ -129,6 +132,10 @@ function FormElement(_a) {
129
132
  return [3 /*break*/, 7];
130
133
  case 5:
131
134
  err_1 = _c.sent();
135
+ if (debugMode) {
136
+ console.log("error", err_1);
137
+ console.log("instanceoferror", typeof err_1);
138
+ }
132
139
  if (err_1 instanceof yup.ValidationError) {
133
140
  errors_1 = err_1.inner.reduce(function (reducer, error) {
134
141
  if (reducer && Object.keys(reducer).find(function (r) { return r === error.path; })) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/handler/form-handler/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA2C;AAE3C,uCAA0B;AAC1B,iCAA+C;AAE/C,2BAA6B;AAC7B,mCAA0E;AAE1E,kDAAyE;AAIzE,2CAA8B;AAE9B,SAAwB,WAAW,CAAC,EASrB;QARb,MAAM,YAAA,EACN,MAAM,YAAA,EACN,QAAQ,cAAA,EACR,QAAQ,cAAA,EACR,YAAY,kBAAA,EACZ,YAAY,kBAAA,EACZ,YAAY,kBAAA,EACZ,2BAA0B,EAA1B,mBAAmB,mBAAG,IAAI,KAAA;IAEpB,IAAA,KAA4B,IAAA,gBAAQ,EAAC,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAA/D,SAAS,QAAA,EAAE,YAAY,QAAwC,CAAA;IAEhE,IAAA,KAAsD,IAAA,yBAAgB,GAAE,EAAtE,MAAM,YAAA,EAAE,SAAS,eAAA,EAAE,aAAa,mBAAA,EAAE,aAAa,mBAAuB,CAAA;IAE9E,SAAe,QAAQ,CAAC,MAAqC;;;;;;;wBAEzD,SAAS,CAAC,EAAE,CAAC,CAAA;wBAEb,YAAY,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;wBAEzC,YAAY,GAAG,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;wBAE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F,EAFmC,CAEnC,CAAC,IACA,IACQ,GACX,CACR,CAAA;AACH,CAAC;AAtID,8BAsIC"}
@@ -28,4 +28,5 @@ export interface IFormHandler {
28
28
  };
29
29
  customSubmit?: ICustomSubmitProps[];
30
30
  cleanFieldsOnSubmit?: boolean;
31
+ debugMode?: boolean;
31
32
  }
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.InputRadio = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.InputRadio = (0, styled_components_1.default)("div")(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\n"], ["\n\n"])));
12
+ exports.InputRadio = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
13
13
  var templateObject_1;
14
14
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/radio/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AAE1B,QAAA,UAAU,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,yEAAA,MAEtC,KAAC"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/radio/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,UAAU,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,qEAAA,EAAE,KAAA"}
@@ -1,6 +1,7 @@
1
1
  export * from './form/index.js';
2
2
  export * from './button/index.js';
3
3
  export * from './sidebar/index.js';
4
+ export * from './popover/index.js';
4
5
  export * from './container/index.js';
5
6
  export * from './next-image/index.js';
6
7
  export * from './breadcrumb/index.js';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./form/index.js"), exports);
18
18
  __exportStar(require("./button/index.js"), exports);
19
19
  __exportStar(require("./sidebar/index.js"), exports);
20
+ __exportStar(require("./popover/index.js"), exports);
20
21
  __exportStar(require("./container/index.js"), exports);
21
22
  __exportStar(require("./next-image/index.js"), exports);
22
23
  __exportStar(require("./breadcrumb/index.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,2CAAwB;AACxB,4CAAyB;AACzB,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,kDAA+B;AAC/B,mDAAgC;AAChC,mDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,2CAAwB;AACxB,4CAAyB;AACzB,4CAAyB;AACzB,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,kDAA+B;AAC/B,mDAAgC;AAChC,mDAAgC"}
@@ -0,0 +1,2 @@
1
+ import { IPopover } from './interfaces.js';
2
+ export declare function Popover({ children, content, placement, isHover, ...rest }: IPopover): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,70 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
37
+ var t = {};
38
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
+ t[p] = s[p];
40
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
+ t[p[i]] = s[p[i]];
44
+ }
45
+ return t;
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Popover = void 0;
49
+ var jsx_runtime_1 = require("react/jsx-runtime");
50
+ var react_1 = require("react");
51
+ var error_boundary_1 = require("../error-boundary/index.js");
52
+ var S = __importStar(require("./styles.js"));
53
+ function Popover(_a) {
54
+ var children = _a.children, content = _a.content, placement = _a.placement, isHover = _a.isHover, rest = __rest(_a, ["children", "content", "placement", "isHover"]);
55
+ var _b = (0, react_1.useState)(false), isOpen = _b[0], setIsOpen = _b[1];
56
+ if (!children) {
57
+ return;
58
+ }
59
+ var hoverProps = {
60
+ trigger: {
61
+ onMouseEnter: function () { return setIsOpen(true); },
62
+ onMouseLeave: function () { return setIsOpen(false); },
63
+ },
64
+ popover: __assign({ isOpen: isOpen }, rest),
65
+ };
66
+ var currentProps = isHover && hoverProps;
67
+ return ((0, jsx_runtime_1.jsx)(error_boundary_1.Error, { name: 'Popover', children: (0, jsx_runtime_1.jsxs)(S.StyledPopOver, __assign({}, ((currentProps === null || currentProps === void 0 ? void 0 : currentProps.popover) || rest), { children: [(0, jsx_runtime_1.jsx)(S.StyledPopOverTrigger, __assign({}, currentProps === null || currentProps === void 0 ? void 0 : currentProps.trigger, { children: children })), content && (0, jsx_runtime_1.jsx)(S.StyledPopOverContent, { className: 'popover-content', children: content })] })) }));
68
+ }
69
+ exports.Popover = Popover;
70
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/popover/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAEhC,oDAAyC;AAEzC,0CAA6B;AAI7B,SAAgB,OAAO,CAAC,EAA4D;IAA1D,IAAA,QAAQ,cAAA,EAAE,OAAO,aAAA,EAAE,SAAS,eAAA,EAAE,OAAO,aAAA,EAAK,IAAI,cAAhD,+CAAkD,CAAF;IAChE,IAAA,KAAsB,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAApC,MAAM,QAAA,EAAE,SAAS,QAAmB,CAAA;IAE3C,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAM;IACR,CAAC;IAED,IAAM,UAAU,GAAG;QACjB,OAAO,EAAE;YACP,YAAY,EAAE,cAAM,OAAA,SAAS,CAAC,IAAI,CAAC,EAAf,CAAe;YACnC,YAAY,EAAE,cAAM,OAAA,SAAS,CAAC,KAAK,CAAC,EAAhB,CAAgB;SACrC;QACD,OAAO,aACL,MAAM,QAAA,IACH,IAAI,CACR;KACF,CAAA;IAED,IAAM,YAAY,GAAG,OAAO,IAAI,UAAU,CAAA;IAE1C,OAAO,CACL,uBAAC,sBAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,aAAa,eAAK,CAAC,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,OAAO,KAAI,IAAI,CAAC,eAClD,uBAAC,CAAC,CAAC,oBAAoB,eAAK,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,OAAO,cAAG,QAAQ,IAA0B,EAErF,OAAO,IAAI,uBAAC,CAAC,CAAC,oBAAoB,IAAC,SAAS,EAAC,iBAAiB,YAAE,OAAO,GAA0B,KAClF,GACZ,CACT,CAAA;AACH,CAAC;AA7BD,0BA6BC"}
@@ -0,0 +1,6 @@
1
+ import { PopoverProps } from '@nextui-org/react';
2
+ export interface IPopover extends PopoverProps {
3
+ content: any;
4
+ children: any;
5
+ isHover?: boolean;
6
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/ui/components/popover/interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react/experimental" />
3
+ export declare const StyledPopOver: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("@nextui-org/react").MergeWithAs<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, Omit<Omit<any, "ref">, never>, import("@nextui-org/react").PopoverProps, import("@nextui-org/react").As<any>>, import("styled-components/dist/types").BaseObject>> & Omit<import("@nextui-org/react").InternalForwardRefRenderFunction<"div", import("@nextui-org/react").PopoverProps, never>, keyof import("react").Component<any, {}, any>>;
4
+ export declare const StyledPopOverTrigger: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("@nextui-org/react").MergeWithAs<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, Omit<Omit<any, "ref">, never>, import("@nextui-org/react").PopoverTriggerProps, import("@nextui-org/react").As<any>>, import("styled-components/dist/types").BaseObject>> & Omit<import("@nextui-org/react").InternalForwardRefRenderFunction<"button", import("@nextui-org/react").PopoverTriggerProps, never>, keyof import("react").Component<any, {}, any>>;
5
+ export declare const StyledPopOverContent: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("@nextui-org/react").MergeWithAs<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, Omit<Omit<any, "ref">, never>, import("@nextui-org/react").PopoverContentProps, import("@nextui-org/react").As<any>>, import("styled-components/dist/types").BaseObject>> & Omit<import("@nextui-org/react").InternalForwardRefRenderFunction<"div", import("@nextui-org/react").PopoverContentProps, never>, keyof import("react").Component<any, {}, any>>;
@@ -0,0 +1,17 @@
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.StyledPopOverContent = exports.StyledPopOverTrigger = exports.StyledPopOver = void 0;
11
+ var styled_components_1 = __importDefault(require("styled-components"));
12
+ var react_1 = require("@nextui-org/react");
13
+ exports.StyledPopOver = (0, styled_components_1.default)(react_1.Popover)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
14
+ exports.StyledPopOverTrigger = (0, styled_components_1.default)(react_1.PopoverTrigger)(templateObject_2 || (templateObject_2 = __makeTemplateObject([""], [""])));
15
+ exports.StyledPopOverContent = (0, styled_components_1.default)(react_1.PopoverContent)(templateObject_3 || (templateObject_3 = __makeTemplateObject([""], [""])));
16
+ var templateObject_1, templateObject_2, templateObject_3;
17
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/ui/components/popover/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AACtC,2CAA2E;AAE9D,QAAA,aAAa,GAAG,IAAA,2BAAM,EAAC,eAAO,CAAC,qEAAA,EAAE,KAAA;AAEjC,QAAA,oBAAoB,GAAG,IAAA,2BAAM,EAAC,sBAAc,CAAC,qEAAA,EAAE,KAAA;AAE/C,QAAA,oBAAoB,GAAG,IAAA,2BAAM,EAAC,sBAAc,CAAC,qEAAA,EAAE,KAAA"}
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "0.32.5",
3
+ "version": "0.32.7",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -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"}
@@ -1,2 +0,0 @@
1
- import { IPopoverStateProps } from './interfaces.js';
2
- export declare function Popover({ title, children, forceClose }: IPopoverStateProps): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Popover = void 0;
4
- var jsx_runtime_1 = require("react/jsx-runtime");
5
- function Popover(_a) {
6
- var title = _a.title, children = _a.children, forceClose = _a.forceClose;
7
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Popover Fazer do zero" }));
8
- }
9
- exports.Popover = Popover;
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/popover/index.tsx"],"names":[],"mappings":";;;;AAIA,SAAgB,OAAO,CAAC,EAAmD;QAAjD,KAAK,WAAA,EAAE,QAAQ,cAAA,EAAE,UAAU,gBAAA;IAGnD,OAAO,CACL,qFAEG,CACJ,CAAA;AACH,CAAC;AARD,0BAQC"}
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export interface IPopoverStateProps {
3
- title?: string;
4
- forceClose?: boolean;
5
- noTranslate?: boolean;
6
- children: React.ReactElement;
7
- placement?: "topEnd" | "topStart";
8
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/popover/interfaces.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { IProfileInfos } from './interfaces.js';
2
- export declare function ProfileInfos({ profile, details }: IProfileInfos): import("react/jsx-runtime").JSX.Element;
@@ -1,48 +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.ProfileInfos = void 0;
38
- var jsx_runtime_1 = require("react/jsx-runtime");
39
- var ui_1 = require("../../../../../ui/index.js");
40
- var profile_1 = require("./profile/index.js");
41
- var detail_card_1 = require("../detail-card/index.js");
42
- var S = __importStar(require("./styles.js"));
43
- function ProfileInfos(_a) {
44
- var profile = _a.profile, details = _a.details;
45
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'ProfileInfos', children: (0, jsx_runtime_1.jsxs)(S.ProfileInfos, { children: [profile && (0, jsx_runtime_1.jsx)(profile_1.Profile, __assign({}, profile)), details && ((0, jsx_runtime_1.jsx)("div", { className: 'details-box', children: details.map(function (detail) { return ((0, jsx_runtime_1.jsx)(detail_card_1.DetailCard, __assign({}, detail), 'detail-card' + detail.id)); }) }))] }) }));
46
- }
47
- exports.ProfileInfos = ProfileInfos;
48
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/profile-infos/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAE5B,qCAAmC;AACnC,8CAA2C;AAI3C,0CAA6B;AAE7B,SAAgB,YAAY,CAAC,EAAmC;QAAjC,OAAO,aAAA,EAAE,OAAO,aAAA;IAC7C,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,cAAc,YACxB,wBAAC,CAAC,CAAC,YAAY,eACZ,OAAO,IAAI,uBAAC,iBAAO,eAAK,OAAO,EAAI,EAEnC,OAAO,IAAI,CACV,gCAAK,SAAS,EAAC,aAAa,YACzB,OAAO,CAAC,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,CACvB,uBAAC,wBAAU,eAAqC,MAAM,GAArC,aAAa,GAAG,MAAM,CAAC,EAAE,CAAgB,CAC3D,EAFwB,CAExB,CAAC,GACE,CACP,IACc,GACX,CACT,CAAA;AACH,CAAC;AAhBD,oCAgBC"}
@@ -1,6 +0,0 @@
1
- import { IDetailCard } from '../detail-card/index.js';
2
- import { IProfileProps } from './profile/interfaces.js';
3
- export interface IProfileInfos {
4
- profile: IProfileProps;
5
- details: IDetailCard[];
6
- }
@@ -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/system/presentation/components/data/profile-infos/interfaces.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { IProfileProps } from './interfaces.js';
2
- export declare function Profile({ image, name, status, tag, tags }: IProfileProps): import("react/jsx-runtime").JSX.Element;
@@ -1,36 +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.Profile = void 0;
27
- var jsx_runtime_1 = require("react/jsx-runtime");
28
- var ui_1 = require("../../../../../../ui/index.js");
29
- var highlight_text_1 = require("../../highlight-text/index.js");
30
- var S = __importStar(require("./styles.js"));
31
- function Profile(_a) {
32
- var image = _a.image, name = _a.name, status = _a.status, tag = _a.tag, tags = _a.tags;
33
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Profile', children: (0, jsx_runtime_1.jsxs)(S.Profile, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'avatar', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: image || '/images/profile-default.png' }) }), (0, jsx_runtime_1.jsxs)("div", { children: [name && (0, jsx_runtime_1.jsx)("h1", { children: name }), status && ((0, jsx_runtime_1.jsx)("span", { className: 'status', children: (0, jsx_runtime_1.jsx)(highlight_text_1.HighlightText, { text: status === null || status === void 0 ? void 0 : status.text, color: status === null || status === void 0 ? void 0 : status.color }) })), (0, jsx_runtime_1.jsxs)("div", { className: 'infos', children: [tag && (0, jsx_runtime_1.jsxs)("span", { children: ["RG ", tag] }), tags && (0, jsx_runtime_1.jsx)("div", { dangerouslySetInnerHTML: { __html: tags } })] })] })] }) }));
34
- }
35
- exports.Profile = Profile;
36
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/data/profile-infos/profile/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAuC;AAEvC,uDAAoD;AAIpD,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAAiD;QAA/C,KAAK,WAAA,EAAE,IAAI,UAAA,EAAE,MAAM,YAAA,EAAE,GAAG,SAAA,EAAE,IAAI,UAAA;IACtD,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,eACR,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,cAAS,IAAC,GAAG,EAAE,KAAK,IAAI,6BAA6B,GAAI,GACtD,EAEN,4CACG,IAAI,IAAI,yCAAK,IAAI,GAAM,EAEvB,MAAM,IAAI,CACT,iCAAM,SAAS,EAAC,QAAQ,YACtB,uBAAC,8BAAa,IAAC,IAAI,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,EAAE,KAAK,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,GAAI,GACtD,CACR,EAED,iCAAK,SAAS,EAAC,OAAO,aACnB,GAAG,IAAI,oDAAU,GAAG,IAAQ,EAE5B,IAAI,IAAI,gCAAK,uBAAuB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAI,IACvD,IACF,IACI,GACN,CACT,CAAA;AACH,CAAC;AA1BD,0BA0BC"}
@@ -1,10 +0,0 @@
1
- export interface IProfileProps {
2
- image?: string;
3
- name?: string;
4
- status?: {
5
- text: string;
6
- color: string;
7
- };
8
- tag?: string;
9
- tags?: string;
10
- }
@@ -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/system/presentation/components/data/profile-infos/profile/interfaces.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
- export declare const Profile: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
- ref?: import("react").Ref<HTMLDivElement>;
5
- }, never>>;
@@ -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.Profile = void 0;
11
- var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.Profile = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: fit-content;\n display: flex;\n gap: 20px;\n\n .avatar {\n width: 155px;\n height: 155px;\n border-radius: 5px;\n overflow: hidden;\n }\n\n > div {\n span {\n display: flex;\n align-items: center;\n gap: 5px;\n }\n\n h1 {\n color: ", ";\n font-size: 32px;\n font-weight: 700;\n text-transform: capitalize;\n }\n\n .status {\n margin: 10px 0;\n font-size: 12px;\n\n > div {\n height: 22px;\n border-radius: 100rem;\n }\n }\n\n .infos {\n svg {\n width: 16.67px;\n height: auto;\n }\n\n > span + span {\n margin-top: 5px;\n }\n\n > span {\n color: #828282;\n font-size: 14px;\n }\n }\n }\n"], ["\n width: fit-content;\n display: flex;\n gap: 20px;\n\n .avatar {\n width: 155px;\n height: 155px;\n border-radius: 5px;\n overflow: hidden;\n }\n\n > div {\n span {\n display: flex;\n align-items: center;\n gap: 5px;\n }\n\n h1 {\n color: ", ";\n font-size: 32px;\n font-weight: 700;\n text-transform: capitalize;\n }\n\n .status {\n margin: 10px 0;\n font-size: 12px;\n\n > div {\n height: 22px;\n border-radius: 100rem;\n }\n }\n\n .infos {\n svg {\n width: 16.67px;\n height: auto;\n }\n\n > span + span {\n margin-top: 5px;\n }\n\n > span {\n color: #828282;\n font-size: 14px;\n }\n }\n }\n"])), function (props) { return props.theme.darkColor; });
13
- var templateObject_1;
14
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/data/profile-infos/profile/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,OAAO,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,20BAAA,kSAoBrB,EAAgC,oeAgC9C,KAhCc,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,SAAS,EAArB,CAAqB,EAgC9C"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
- export declare const ProfileInfos: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
- ref?: import("react").Ref<HTMLDivElement>;
5
- }, never>>;
@@ -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.ProfileInfos = void 0;
11
- var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.ProfileInfos = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n\n .details-box {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 15px;\n width: 100%;\n margin-left: 42px;\n }\n"], ["\n width: 100%;\n display: flex;\n\n .details-box {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 15px;\n width: 100%;\n margin-left: 42px;\n }\n"])));
13
- var templateObject_1;
14
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/profile-infos/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,YAAY,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,4PAAA,yLAWxC,KAAA"}
@@ -1,2 +0,0 @@
1
- import { ITabProps } from './interfaces.js';
2
- export declare function Tab({ tabs }: ITabProps): 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.Tab = void 0;
27
- var jsx_runtime_1 = require("react/jsx-runtime");
28
- var ui_1 = require("../../../../../ui/index.js");
29
- var S = __importStar(require("./styles.js"));
30
- function Tab(_a) {
31
- var tabs = _a.tabs;
32
- if (!tabs) {
33
- return;
34
- }
35
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Tab', children: (0, jsx_runtime_1.jsx)(S.Tab, {}) }));
36
- }
37
- exports.Tab = Tab;
38
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/tab/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAK5B,0CAA6B;AAE7B,SAAgB,GAAG,CAAC,EAAmB;QAAjB,IAAI,UAAA;IACxB,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAM;IACR,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,KAAK,YACf,uBAAC,CAAC,CAAC,GAAG,KA6BE,GACF,CACT,CAAA;AACH,CAAC;AAvCD,kBAuCC"}
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- type TabItem = {
3
- [key: string]: {
4
- key: string;
5
- title: JSX.Element | string;
6
- content: JSX.Element | string;
7
- };
8
- };
9
- export interface ITabProps {
10
- tabs: TabItem;
11
- }
12
- export {};
@@ -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/system/presentation/components/data/tab/interfaces.tsx"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
- export declare const Tab: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
- ref?: import("react").Ref<HTMLDivElement>;
5
- }, never>>;
@@ -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.Tab = void 0;
11
- var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.Tab = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n border: 1px solid #e1e1e1;\n border-radius: 5px;\n\n > div:first-child {\n background: #f2f2f2;\n padding: 5px 20px;\n\n button + button {\n margin-left: 2.6vw;\n }\n\n button {\n border: none;\n background: none;\n font-size: 14px;\n height: 40px;\n border-radius: 5px;\n padding: 0 15px;\n color: #2b2b2b;\n cursor: pointer;\n outline: none;\n\n &[data-selected='true'] {\n background-color: #e1e1e1;\n }\n }\n }\n\n .content {\n padding: 15px 20px;\n }\n"], ["\n width: 100%;\n border: 1px solid #e1e1e1;\n border-radius: 5px;\n\n > div:first-child {\n background: #f2f2f2;\n padding: 5px 20px;\n\n button + button {\n margin-left: 2.6vw;\n }\n\n button {\n border: none;\n background: none;\n font-size: 14px;\n height: 40px;\n border-radius: 5px;\n padding: 0 15px;\n color: #2b2b2b;\n cursor: pointer;\n outline: none;\n\n &[data-selected='true'] {\n background-color: #e1e1e1;\n }\n }\n }\n\n .content {\n padding: 15px 20px;\n }\n"])));
13
- var templateObject_1;
14
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/tab/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,GAAG,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,+nBAAA,4jBAiC/B,KAAA"}