infinity-forge 3.5.4 → 3.5.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.
- package/dist/system/domain/generics/table-configuration.d.ts +5 -11
- package/dist/system/presentation/hooks/ui/use-table/component.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js +9 -6
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +77 -30
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/styles.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/styles.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +6 -4
- package/dist/test/index.d.ts +1 -1
- package/dist/test/index.js +38 -8
- package/dist/test/index.js.map +1 -1
- package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.d.ts +5 -7
- package/dist/ui/components/form/handler/form-handler/index.js +8 -33
- package/dist/ui/components/form/handler/form-handler/index.js.map +1 -1
- package/dist/ui/components/form/handler/form-handler/use-handle-errors.d.ts +8 -0
- package/dist/ui/components/form/handler/form-handler/use-handle-errors.js +59 -0
- package/dist/ui/components/form/handler/form-handler/use-handle-errors.js.map +1 -0
- package/dist/ui/components/form/handler/interfaces.d.ts +7 -0
- package/dist/ui/components/form/input-cep/interfaces.d.ts +1 -2
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +2 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/days/index.js +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/days/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/interface.d.ts +1 -2
- package/dist/ui/components/form/input-date-picker/index.d.ts +2 -1
- package/dist/ui/components/form/input-date-picker/index.js +14 -9
- package/dist/ui/components/form/input-date-picker/index.js.map +1 -1
- package/dist/ui/components/form/input-date-picker/interfaces.d.ts +1 -1
- package/dist/ui/components/form/interfaces.d.ts +33 -2
- package/dist/ui/components/form/select/index.d.ts +4 -2
- package/dist/ui/components/form/select/index.js +1 -1
- package/dist/ui/components/form/select/index.js.map +1 -1
- package/dist/ui/components/form/select/interfaces.d.ts +0 -33
- package/dist/ui/components/form/select/interfaces.js +0 -2
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.js +1 -0
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/integrations/google/index.d.ts +1 -0
- package/dist/ui/integrations/google/index.js +18 -0
- package/dist/ui/integrations/google/index.js.map +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/google-recaptcha-provider.d.ts +35 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/google-recaptcha-provider.js +102 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/google-recaptcha-provider.js.map +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/google-recaptcha.d.ts +6 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/google-recaptcha.js +78 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/google-recaptcha.js.map +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/hoist-non-react-statics.d.ts +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/hoist-non-react-statics.js +92 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/hoist-non-react-statics.js.map +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/index.d.ts +4 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/index.js +21 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/index.js.map +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/use-google-recaptcha.d.ts +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/use-google-recaptcha.js +8 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/use-google-recaptcha.js.map +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/utils.d.ts +52 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/utils.js +147 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/utils.js.map +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/with-google-recaptcha.d.ts +6 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/with-google-recaptcha.js +28 -0
- package/dist/ui/integrations/google/recaptcha-v3/google-recaptcha-v3-lib/with-google-recaptcha.js.map +1 -0
- package/dist/ui/integrations/google/recaptcha-v3/index.d.ts +4 -0
- package/dist/ui/integrations/google/recaptcha-v3/index.js +80 -0
- package/dist/ui/integrations/google/recaptcha-v3/index.js.map +1 -0
- package/dist/ui/integrations/index.d.ts +1 -0
- package/dist/ui/integrations/index.js +18 -0
- package/dist/ui/integrations/index.js.map +1 -0
- package/dist/ui/integrations/message-provider/index.d.ts +0 -0
- package/dist/ui/integrations/message-provider/index.js +1 -0
- package/dist/ui/integrations/message-provider/index.js.map +1 -0
- package/dist/ui/integrations/message-provider/send-message.d.ts +1 -0
- package/dist/ui/integrations/message-provider/send-message.js +54 -0
- package/dist/ui/integrations/message-provider/send-message.js.map +1 -0
- package/dist/ui/utils/libs/index.d.ts +1 -0
- package/dist/ui/utils/libs/index.js +1 -0
- package/dist/ui/utils/libs/index.js.map +1 -1
- package/dist/ui/utils/libs/moment/index.d.ts +1 -0
- package/dist/ui/utils/libs/moment/index.js +18 -0
- package/dist/ui/utils/libs/moment/index.js.map +1 -0
- package/dist/ui/utils/libs/moment/verify-date-and-return-value-formatted.d.ts +3 -0
- package/dist/ui/utils/libs/moment/verify-date-and-return-value-formatted.js +30 -0
- package/dist/ui/utils/libs/moment/verify-date-and-return-value-formatted.js.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SendMessage = void 0;
|
|
40
|
+
var sites_1 = require("../../../sites/index.js");
|
|
41
|
+
function SendMessage(data) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
43
|
+
return __generator(this, function (_a) {
|
|
44
|
+
switch (_a.label) {
|
|
45
|
+
case 0: return [4 /*yield*/, (0, sites_1.api)({ method: 'post', url: 'https://messageprovider.codiehost.com.br/SendDispatcher', body: data })];
|
|
46
|
+
case 1:
|
|
47
|
+
_a.sent();
|
|
48
|
+
return [2 /*return*/];
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
exports.SendMessage = SendMessage;
|
|
54
|
+
//# sourceMappingURL=send-message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-message.js","sourceRoot":"","sources":["../../../../src/ui/integrations/message-provider/send-message.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAA6B;AAE7B,SAAsB,WAAW,CAAC,IAAS;;;;wBACzC,qBAAM,IAAA,WAAG,EAAC,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,yDAAyD,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAA;;oBAAzG,SAAyG,CAAA;;;;;CAC1G;AAFD,kCAEC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./next/index.js"), exports);
|
|
18
|
+
__exportStar(require("./moment/index.js"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/utils/libs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/utils/libs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,2CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./verify-date-and-return-value-formatted.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("./verify-date-and-return-value-formatted.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/utils/libs/moment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2EAAwD"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type TransformValueToMomentFormatOptions = 'DD/MM/YYYY HH:mm' | 'DD/MM/YYYY' | "Data";
|
|
2
|
+
export declare function verifyDateStringIsValid(date: string): boolean;
|
|
3
|
+
export declare function transformValueToMomentFormat(value: string | string[], format: TransformValueToMomentFormatOptions): string | string[] | Date;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.transformValueToMomentFormat = exports.verifyDateStringIsValid = void 0;
|
|
7
|
+
var moment_1 = __importDefault(require("moment"));
|
|
8
|
+
function verifyDateStringIsValid(date) {
|
|
9
|
+
return (0, moment_1.default)(date).isValid();
|
|
10
|
+
}
|
|
11
|
+
exports.verifyDateStringIsValid = verifyDateStringIsValid;
|
|
12
|
+
function transformValueToMomentFormat(value, format) {
|
|
13
|
+
try {
|
|
14
|
+
if (format === "Data") {
|
|
15
|
+
return (0, moment_1.default)(value).toDate();
|
|
16
|
+
}
|
|
17
|
+
var date = (0, moment_1.default)(value);
|
|
18
|
+
if (date.isValid()) {
|
|
19
|
+
return date.format(format);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
return value;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (_a) {
|
|
26
|
+
return value;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.transformValueToMomentFormat = transformValueToMomentFormat;
|
|
30
|
+
//# sourceMappingURL=verify-date-and-return-value-formatted.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-date-and-return-value-formatted.js","sourceRoot":"","sources":["../../../../../src/ui/utils/libs/moment/verify-date-and-return-value-formatted.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA2B;AAK3B,SAAgB,uBAAuB,CAAC,IAAY;IAClD,OAAO,IAAA,gBAAM,EAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAA;AAC/B,CAAC;AAFD,0DAEC;AAED,SAAgB,4BAA4B,CAAC,KAAwB,EAAE,MAA2C;IAC9G,IAAI,CAAC;QACH,IAAG,MAAM,KAAK,MAAM,EAAE,CAAC;YACrB,OAAO,IAAA,gBAAM,EAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAA;QAC/B,CAAC;QAED,IAAM,IAAI,GAAG,IAAA,gBAAM,EAAC,KAAK,CAAC,CAAA;QAE1B,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACnB,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;QAC5B,CAAC;aAAM,CAAC;YACN,OAAO,KAAK,CAAA;QACd,CAAC;IACH,CAAC;IAAC,WAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC;AAhBH,oEAgBG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "infinity-forge",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.7",
|
|
4
4
|
"description": "codie Library",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"module": "./dist/index",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"react-dom": "18.3.1",
|
|
64
64
|
"react-ga": "^3.3.1",
|
|
65
65
|
"react-google-recaptcha": "^3.1.0",
|
|
66
|
+
"react-is": "^18.3.1",
|
|
66
67
|
"react-rte": "^0.16.5",
|
|
67
68
|
"react-select": "^5.8.0",
|
|
68
69
|
"react-share": "^5.1.0",
|