@inntechcorp/it-design 3.1.21 → 3.1.23
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/enums/enum.d.ts +2 -1
- package/dist/form/validation/Validator.d.ts +1 -0
- package/dist/global.css +0 -5
- package/dist/index.cjs.js +185 -203
- package/dist/index.d.ts +5 -1
- package/dist/index.esm.js +173 -191
- package/dist/locales/en/itd.json +2 -1
- package/dist/locales/itd.json +2 -1
- package/dist/locales/tr/itd.json +2 -1
- package/dist/types/FormProps.d.ts +1 -0
- package/package.json +1 -1
package/dist/enums/enum.d.ts
CHANGED
|
@@ -50,7 +50,8 @@ export declare enum FormValidationTypes {
|
|
|
50
50
|
SITE_USERNAME = "siteUsername",
|
|
51
51
|
ADMIN_USERNAME = "adminUsername",
|
|
52
52
|
URL = "url",
|
|
53
|
-
FORBIDDEN_WORDS = "forbiddenWords"
|
|
53
|
+
FORBIDDEN_WORDS = "forbiddenWords",
|
|
54
|
+
MULTIPLE_OF = "multipleOf"
|
|
54
55
|
}
|
|
55
56
|
export declare enum ConnectionStatus {
|
|
56
57
|
ONLINE = "online",
|
|
@@ -14,6 +14,7 @@ declare const Validator: {
|
|
|
14
14
|
checkAdminUsername: (value: string) => boolean;
|
|
15
15
|
checkURL: (value: string) => boolean;
|
|
16
16
|
checkForbiddenWords: (value: string, words: (string | number)[]) => boolean;
|
|
17
|
+
checkMultipleOf: (value: number, multiple: number) => boolean;
|
|
17
18
|
};
|
|
18
19
|
export declare function CheckValidations(rules: FormRuleProps[], value: FormValueProps, getFieldValue: (name: string) => FormValueProps, t: TFunction): string[];
|
|
19
20
|
export default Validator;
|
package/dist/global.css
CHANGED