infinity-forge 0.16.9 → 0.17.1

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 (29) hide show
  1. package/dist/system/presentation/components/data/chat/styles.js +1 -1
  2. package/dist/system/presentation/components/data/chat/styles.js.map +1 -1
  3. package/dist/system/presentation/components/pages/users/page.js +1 -0
  4. package/dist/system/presentation/components/pages/users/page.js.map +1 -1
  5. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +1 -1
  6. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +79 -6
  7. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js.map +1 -1
  8. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/search/index.d.ts +4 -0
  9. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/search/index.js +13 -0
  10. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/search/index.js.map +1 -0
  11. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/select/index.d.ts +5 -0
  12. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/select/index.js +42 -0
  13. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/select/index.js.map +1 -0
  14. package/dist/system/presentation/hooks/ui/use-table/query.d.ts +1 -25
  15. package/dist/system/presentation/hooks/ui/use-table/query.js +11 -75
  16. package/dist/system/presentation/hooks/ui/use-table/query.js.map +1 -1
  17. package/dist/tsconfig.tsbuildinfo +1 -0
  18. package/dist/ui/components/form/input/index.js +2 -2
  19. package/dist/ui/components/form/input/index.js.map +1 -1
  20. package/dist/ui/utils/buffer/base64.d.ts +5 -0
  21. package/dist/ui/utils/buffer/base64.js +32 -0
  22. package/dist/ui/utils/buffer/base64.js.map +1 -0
  23. package/dist/ui/utils/buffer/index.d.ts +1 -0
  24. package/dist/ui/utils/buffer/index.js +18 -0
  25. package/dist/ui/utils/buffer/index.js.map +1 -0
  26. package/dist/ui/utils/index.d.ts +1 -0
  27. package/dist/ui/utils/index.js +1 -0
  28. package/dist/ui/utils/index.js.map +1 -1
  29. package/package.json +1 -1
@@ -23,10 +23,10 @@ function Input(props) {
23
23
  handlers.setValue(state.initialValue);
24
24
  }
25
25
  }, [state.initialValue]);
26
- return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)("input", __assign({}, field, props, { onChange: function (ev) {
26
+ return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)("input", __assign({ id: props.name }, field, { onChange: function (ev) {
27
27
  field.onChange(ev);
28
28
  props.onChangeInput && props.onChangeInput(ev.target.value);
29
- }, id: props.name })) })));
29
+ } })) })));
30
30
  }
31
31
  exports.Input = Input;
32
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+BAAiC;AACjC,iCAAiC;AAEjC,kDAA+C;AAI/C,SAAgB,KAAK,CAAC,KAAiB;IAC/B,IAAA,KAA2B,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,EAA1E,KAAK,QAAA,EAAE,KAAK,QAAA,EAAE,QAAQ,QAAoD,CAAA;IAEjF,IAAA,iBAAS,EAAC;QACR,IAAI,KAAK,CAAC,YAAY,EAAE,CAAC;YACvB,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC,CAAA;QACvC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAA;IAExB,OAAO,CACL,uBAAC,4BAAY,eAAK,KAAK,cACrB,6CACM,KAAK,EACL,KAAK,IACT,QAAQ,EAAE,UAAC,EAAE;gBACX,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;gBAClB,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YAC7D,CAAC,EACD,EAAE,EAAE,KAAK,CAAC,IAAI,IACd,IACW,CAChB,CAAA;AACH,CAAC;AAtBD,sBAsBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+BAAiC;AACjC,iCAAiC;AAEjC,kDAA+C;AAI/C,SAAgB,KAAK,CAAC,KAAiB;IAC/B,IAAA,KAA2B,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,EAA1E,KAAK,QAAA,EAAE,KAAK,QAAA,EAAE,QAAQ,QAAoD,CAAA;IAEjF,IAAA,iBAAS,EAAC;QACR,IAAI,KAAK,CAAC,YAAY,EAAE,CAAC;YACvB,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC,CAAA;QACvC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAA;IAExB,OAAO,CACL,uBAAC,4BAAY,eAAK,KAAK,cACrB,2CACE,EAAE,EAAE,KAAK,CAAC,IAAI,IACV,KAAK,IACT,QAAQ,EAAE,UAAC,EAAE;gBACX,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;gBAClB,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YAC7D,CAAC,IACD,IACW,CAChB,CAAA;AACH,CAAC;AArBD,sBAqBC"}
@@ -0,0 +1,5 @@
1
+ declare function fromBase64ToString(value: string | string[] | undefined): {
2
+ [key: string]: any;
3
+ };
4
+ declare function toBase64(value: unknown): string;
5
+ export { fromBase64ToString, toBase64 };
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toBase64 = exports.fromBase64ToString = void 0;
4
+ function fromBase64ToString(value) {
5
+ if (!value) {
6
+ return {};
7
+ }
8
+ try {
9
+ var decodedString = Buffer.from(value, 'base64').toString('utf-8');
10
+ return JSON.parse(decodedString);
11
+ }
12
+ catch (error) {
13
+ console.error('Invalid base64 or JSON:', error);
14
+ return {};
15
+ }
16
+ }
17
+ exports.fromBase64ToString = fromBase64ToString;
18
+ function toBase64(value) {
19
+ try {
20
+ var objJsonStr = JSON.stringify(value);
21
+ var base64 = Buffer.from(objJsonStr).toString('base64');
22
+ if (base64 === 'e30=') {
23
+ return '';
24
+ }
25
+ return base64;
26
+ }
27
+ catch (_a) {
28
+ return '';
29
+ }
30
+ }
31
+ exports.toBase64 = toBase64;
32
+ //# sourceMappingURL=base64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base64.js","sourceRoot":"","sources":["../../../../src/ui/utils/buffer/base64.ts"],"names":[],"mappings":";;;AAAA,SAAS,kBAAkB,CAAC,KAAoC;IAC9D,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,EAAE,CAAA;IACX,CAAC;IAED,IAAI,CAAC;QACH,IAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,KAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;QAC9E,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAW,CAAA;IAC5C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAA;QAC/C,OAAO,EAAE,CAAA;IACX,CAAC;AACH,CAAC;AAiBQ,gDAAkB;AAf3B,SAAS,QAAQ,CAAC,KAAc;IAC9B,IAAI,CAAC;QACH,IAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;QACxC,IAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;QAEzD,IAAI,MAAM,KAAK,MAAM,EAAE,CAAC;YACtB,OAAO,EAAE,CAAA;QACX,CAAC;QAED,OAAO,MAAM,CAAA;IACf,CAAC;IAAC,WAAM,CAAC;QACP,OAAO,EAAE,CAAA;IACX,CAAC;AACH,CAAC;AAE4B,4BAAQ"}
@@ -0,0 +1 @@
1
+ export * from "./base64.js";
@@ -0,0 +1,18 @@
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("./base64.js"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/utils/buffer/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}
@@ -1,6 +1,7 @@
1
1
  export * from './uid/index.js';
2
2
  export * from './file/index.js';
3
3
  export * from './libs/index.js';
4
+ export * from './buffer/index.js';
4
5
  export * from './cookies.js';
5
6
  export * from './facebook/index.js';
6
7
  export * from './validations/index.js';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./uid/index.js"), exports);
18
18
  __exportStar(require("./file/index.js"), exports);
19
19
  __exportStar(require("./libs/index.js"), exports);
20
+ __exportStar(require("./buffer/index.js"), exports);
20
21
  __exportStar(require("./cookies.js"), exports);
21
22
  __exportStar(require("./facebook/index.js"), exports);
22
23
  __exportStar(require("./validations/index.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,yCAAsB;AACtB,yCAAsB;AACtB,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,yCAAsB;AACtB,yCAAsB;AACtB,2CAAwB;AACxB,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "0.16.9",
3
+ "version": "0.17.1",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",