@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.
@@ -13,6 +13,8 @@ export interface ldmuiOptions {
13
13
  'ld-page-toolbar'?: string;
14
14
  'ld-select-list-box'?: string;
15
15
  'ld-checkbox'?: string;
16
+ 'ld-radiobutton'?: string;
17
+ 'ld-radiogroup'?: string;
16
18
  },
17
19
  viewport?: {
18
20
  isMobile: string;
@@ -1,10 +1,10 @@
1
- import { ValidateFunction } from '@/mixins/validators';
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(): void;
7
- resetValidation(): void;
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-13",
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",