@antdv-next1/pro-field 1.0.2 → 1.0.4

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 asuradaSong
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -146,7 +146,10 @@ const ProPureField = /* @__PURE__ */ defineComponent((props, { attrs, expose })
146
146
  type: Function,
147
147
  required: false
148
148
  },
149
- fieldProps: { required: false },
149
+ fieldProps: {
150
+ type: Object,
151
+ required: false
152
+ },
150
153
  light: {
151
154
  type: Boolean,
152
155
  required: false,
@@ -12,7 +12,7 @@ type FieldImageProps = ProFieldFC<{
12
12
  }, ImageProps | InputProps>;
13
13
  declare const FieldImage: _$vue.DefineSetupFnComponent<FieldImageProps, {}, CustomSlotsType<{
14
14
  default?: () => VueNode;
15
- }>, _$_antdv_next1_pro_provider0.BaseProFieldFC<InputProps | ImageProps> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<InputProps | ImageProps> & {
15
+ }>, _$_antdv_next1_pro_provider0.BaseProFieldFC<ImageProps | InputProps> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<ImageProps | InputProps> & {
16
16
  text: string;
17
17
  width?: number;
18
18
  placeholder?: string;
@@ -12,7 +12,7 @@ type FieldProgressProps = ProFieldFC<{
12
12
  }, ProgressProps | InputNumberProps>;
13
13
  declare const FieldProgress: _$vue.DefineSetupFnComponent<FieldProgressProps, {}, CustomSlotsType<{
14
14
  default?: () => VueNode;
15
- }>, _$_antdv_next1_pro_provider0.BaseProFieldFC<ProgressProps | InputNumberProps> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<ProgressProps | InputNumberProps> & {
15
+ }>, _$_antdv_next1_pro_provider0.BaseProFieldFC<InputNumberProps | ProgressProps> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<InputNumberProps | ProgressProps> & {
16
16
  text: number | string;
17
17
  placeholder?: string;
18
18
  } & {
@@ -71262,10 +71262,7 @@ var iR = /* @__PURE__ */ l((e, { expose: t }) => {
71262
71262
  type: Function,
71263
71263
  required: !1
71264
71264
  },
71265
- fieldProps: {
71266
- type: Object,
71267
- required: !1
71268
- },
71265
+ fieldProps: { required: !1 },
71269
71266
  light: {
71270
71267
  type: Boolean,
71271
71268
  required: !1,
@@ -71474,7 +71471,10 @@ var sR = /* @__PURE__ */ l((e, { attrs: t, expose: n }) => {
71474
71471
  type: Function,
71475
71472
  required: !1
71476
71473
  },
71477
- fieldProps: { required: !1 },
71474
+ fieldProps: {
71475
+ type: Object,
71476
+ required: !1
71477
+ },
71478
71478
  light: {
71479
71479
  type: Boolean,
71480
71480
  required: !1,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antdv-next1/pro-field",
3
3
  "type": "module",
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "description": "@antdv-next1/pro-field",
6
6
  "sideEffects": [
7
7
  "./dist/pro-field.esm.js",
@@ -32,14 +32,6 @@
32
32
  "dist",
33
33
  "package.json"
34
34
  ],
35
- "scripts": {
36
- "build": "run-s build:esm build:vite:parallel",
37
- "build:esm": "tsdown --config-loader unrun",
38
- "build:vite:parallel": "run-p build:umd build:full-esm",
39
- "build:full-esm": "vite build --config ./vite.esm.config.ts",
40
- "build:umd": "vite build",
41
- "prepublish": "pnpm build"
42
- },
43
35
  "browserslist": [
44
36
  "last 2 versions",
45
37
  "Firefox ESR",
@@ -51,8 +43,8 @@
51
43
  "vue": ">=3.5.30"
52
44
  },
53
45
  "dependencies": {
54
- "@antdv-next1/pro-provider": "workspace:*",
55
- "@antdv-next1/pro-utils": "workspace:*",
46
+ "@antdv-next1/pro-provider": "1.0.1",
47
+ "@antdv-next1/pro-utils": "1.0.6",
56
48
  "swrv": "^1.2.0"
57
49
  },
58
50
  "publishConfig": {
@@ -60,5 +52,13 @@
60
52
  },
61
53
  "authors": [
62
54
  "Song Chao <archiesongqd@gmail.com> (https://github.com/asuradaSong)"
63
- ]
64
- }
55
+ ],
56
+ "scripts": {
57
+ "build": "run-s build:esm build:vite:parallel",
58
+ "build:esm": "tsdown --config-loader unrun",
59
+ "build:vite:parallel": "run-p build:umd build:full-esm",
60
+ "build:full-esm": "vite build --config ./vite.esm.config.ts",
61
+ "build:umd": "vite build",
62
+ "prepublish": "pnpm build"
63
+ }
64
+ }