@ldmjs/ui 1.0.0-dev-13 → 1.0.0-dev-14
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/LICENSE +21 -21
- package/README.md +15 -0
- package/dist/calendar.js +1 -1
- package/dist/css/index.css +6 -2
- package/dist/floating.js +1 -0
- package/dist/imask.js +1 -0
- package/dist/index.js +590 -103
- package/dist/types/options.d.ts +2 -0
- package/dist/types/validation.d.ts +3 -7
- package/package.json +2 -3
package/dist/types/options.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
export type ValidateFunction = (v: unknown) => boolean | string;
|
|
2
2
|
|
|
3
3
|
export interface IInput {
|
|
4
4
|
uid: number;
|
|
5
5
|
validate: ValidateFunction;
|
|
6
|
-
reset()
|
|
7
|
-
resetValidation()
|
|
6
|
+
reset: () => void;
|
|
7
|
+
resetValidation: () => void;
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9
9
|
__cardSection: string | number;
|
|
10
10
|
}
|
|
@@ -14,7 +14,3 @@ export interface IWatcher {
|
|
|
14
14
|
valid: () => void;
|
|
15
15
|
shouldValidate: () => void;
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
ValidateFunction
|
|
20
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldmjs/ui",
|
|
3
|
-
"version": "1.0.0-dev-
|
|
3
|
+
"version": "1.0.0-dev-14",
|
|
4
4
|
"description": "ldm ui",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"npm": ">=8"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"dev": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.dev.js --progress --profile",
|
|
11
|
+
"dev": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.dev.js --progress --profile --stats-error-details",
|
|
12
12
|
"build": "cross-env NODE_ENV=production webpack --config config/webpack.config.build.js --stats-error-details",
|
|
13
13
|
"serve": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.serve.js --progress --profile",
|
|
14
14
|
"test": "jest --runInBand --no-cache",
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"postcss-loader": "7.3.3",
|
|
73
73
|
"sass": "1.69.5",
|
|
74
74
|
"sass-loader": "13.3.2",
|
|
75
|
-
"string-replace-loader": "^3.1.0",
|
|
76
75
|
"style-loader": "3.3.3",
|
|
77
76
|
"terser-webpack-plugin": "5.3.10",
|
|
78
77
|
"ts-jest": "29.0.3",
|