@feedmepos/mf-mdm 1.4.2-beta.134 → 1.4.2-beta.137
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/app.d.ts +544 -0
- package/dist/app.js +8824 -8242
- package/dist/tests/utils/validators.spec.d.ts +1 -0
- package/dist/utils/helper.d.ts +0 -2
- package/dist/utils/validators.d.ts +11 -0
- package/package.json +4 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/utils/helper.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export declare function randomString(length: number): string;
|
|
2
2
|
export declare function validateStrongPassword(password: string): boolean;
|
|
3
|
-
export declare function Required(): (val: string) => true | "Required field";
|
|
4
|
-
export declare function EmptyString(): (val: string) => true | "Required field";
|
|
5
3
|
export declare function toSentenceCase(str: string): string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type ValidationRule<T> = (value: T) => boolean | string;
|
|
2
|
+
export declare function createValidationRule<T>(validate: (value: T) => boolean, errorKey: string, params?: Record<string, unknown>): ValidationRule<T>;
|
|
3
|
+
export declare const validators: {
|
|
4
|
+
required(): ValidationRule<any>;
|
|
5
|
+
nonEmpty(): ValidationRule<string>;
|
|
6
|
+
matches(compareVal: string): ValidationRule<string>;
|
|
7
|
+
min(min: number): ValidationRule<number>;
|
|
8
|
+
max(max: number): ValidationRule<number>;
|
|
9
|
+
number(): ValidationRule<any>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-mdm",
|
|
3
|
-
"version": "1.4.2-beta.
|
|
3
|
+
"version": "1.4.2-beta.137",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -18,14 +18,15 @@
|
|
|
18
18
|
"@feedmepos/core": "2.12.3",
|
|
19
19
|
"@feedmepos/kitchen": "2.0.6",
|
|
20
20
|
"@feedmepos/mdm-package": "1.1.0",
|
|
21
|
-
"@feedmepos/mf-common": "1.
|
|
21
|
+
"@feedmepos/mf-common": "1.12.3",
|
|
22
22
|
"@feedmepos/ui-library": "1.2.58",
|
|
23
23
|
"axios": "^1.6.8",
|
|
24
24
|
"change-case": "^5.4.4",
|
|
25
25
|
"firebase": "^10.11.1",
|
|
26
26
|
"pinia": "^2.1.7",
|
|
27
27
|
"vue": "^3.4.26",
|
|
28
|
-
"vue-router": "^4.3.2"
|
|
28
|
+
"vue-router": "^4.3.2",
|
|
29
|
+
"vue-i18n": "11.0.1"
|
|
29
30
|
},
|
|
30
31
|
"peerDependencies": {
|
|
31
32
|
"tailwindcss": "^3.3.3"
|