@antdv-next1/pro-field 1.0.0 → 1.0.1

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/ProField.js CHANGED
@@ -340,7 +340,10 @@ const ProField = /* @__PURE__ */ defineComponent((props, { expose }) => {
340
340
  type: Function,
341
341
  required: false
342
342
  },
343
- fieldProps: { required: false },
343
+ fieldProps: {
344
+ type: Object,
345
+ required: false
346
+ },
344
347
  light: {
345
348
  type: Boolean,
346
349
  required: false,
@@ -146,10 +146,7 @@ const ProPureField = /* @__PURE__ */ defineComponent((props, { attrs, expose })
146
146
  type: Function,
147
147
  required: false
148
148
  },
149
- fieldProps: {
150
- type: Object,
151
- required: false
152
- },
149
+ fieldProps: { required: false },
153
150
  light: {
154
151
  type: Boolean,
155
152
  required: false,
@@ -35,6 +35,6 @@ declare const FieldCascader: _$vue.DefineSetupFnComponent<FieldCascaderProps, {}
35
35
  variant?: "outlined" | "borderless" | "filled";
36
36
  } & {
37
37
  id?: string;
38
- } & Omit<FieldSelectProps, "id" | "variant" | "text" | "fieldProps" | "light" | "label" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
38
+ } & Omit<FieldSelectProps, "text" | "fieldProps" | "light" | "label" | "id" | "variant" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
39
39
  //#endregion
40
40
  export { FieldCascaderProps, FieldCascaderRef, FieldCascader as default };
@@ -32,6 +32,6 @@ declare const FieldCheckbox: _$vue.DefineSetupFnComponent<FieldCheckBoxProps, {}
32
32
  options?: CheckboxGroupProps["options"];
33
33
  } & {
34
34
  id?: string;
35
- } & Omit<FieldSelectProps, "id" | "variant" | "fieldProps" | "light" | "label" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
35
+ } & Omit<FieldSelectProps, "fieldProps" | "light" | "label" | "id" | "variant" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
36
36
  //#endregion
37
37
  export { FieldCheckBoxProps, FieldCheckboxRef, FieldCheckbox as default };
@@ -16,15 +16,15 @@ type FieldCodeProps = ProFieldFC<{
16
16
  } | HTMLAttributes>;
17
17
  declare const FieldCode: _$vue.DefineSetupFnComponent<FieldCodeProps, {}, CustomSlotsType<{
18
18
  default?: () => VueNode;
19
- }>, _$_antdv_next1_pro_provider0.BaseProFieldFC<HTMLAttributes | (InputProps & {
19
+ }>, _$_antdv_next1_pro_provider0.BaseProFieldFC<(InputProps & {
20
20
  style?: CSSProperties;
21
21
  }) | (TextAreaProps & {
22
22
  style?: CSSProperties;
23
- })> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<HTMLAttributes | (InputProps & {
23
+ }) | HTMLAttributes> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<(InputProps & {
24
24
  style?: CSSProperties;
25
25
  }) | (TextAreaProps & {
26
26
  style?: CSSProperties;
27
- })> & {
27
+ }) | HTMLAttributes> & {
28
28
  text: string;
29
29
  language?: "json" | "text";
30
30
  } & {
@@ -22,14 +22,14 @@ type FieldDigitRangeProps = ProFieldFC<{
22
22
  }>;
23
23
  declare const FieldDigitRange: _$vue.DefineSetupFnComponent<FieldDigitRangeProps, {}, CustomSlotsType<{
24
24
  default?: () => VueNode;
25
- }>, _$_antdv_next1_pro_provider0.BaseProFieldFC<Omit<InputNumberProps, "onChange" | "placeholder" | "value" | "defaultValue"> & {
25
+ }>, _$_antdv_next1_pro_provider0.BaseProFieldFC<Omit<InputNumberProps, "placeholder" | "value" | "onChange" | "defaultValue"> & {
26
26
  id?: string;
27
27
  placeholder?: string[];
28
28
  value?: ValuePair;
29
29
  onChange?: (value?: ValuePair) => void;
30
30
  defaultValue?: ValuePair;
31
31
  intlProps?: Intl.NumberFormatOptions;
32
- }> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<Omit<InputNumberProps, "onChange" | "placeholder" | "value" | "defaultValue"> & {
32
+ }> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<Omit<InputNumberProps, "placeholder" | "value" | "onChange" | "defaultValue"> & {
33
33
  id?: string;
34
34
  placeholder?: string[];
35
35
  value?: ValuePair;
@@ -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<InputNumberProps | ProgressProps> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<InputNumberProps | ProgressProps> & {
15
+ }>, _$_antdv_next1_pro_provider0.BaseProFieldFC<ProgressProps | InputNumberProps> & _$_antdv_next1_pro_provider0.ProRenderFieldPropsType<ProgressProps | InputNumberProps> & {
16
16
  text: number | string;
17
17
  placeholder?: string;
18
18
  } & {
@@ -31,6 +31,6 @@ declare const FieldRadio: _$vue.DefineSetupFnComponent<FieldRadioProps, {}, Cust
31
31
  radioType?: RadioGroupProps["optionType"];
32
32
  } & {
33
33
  id?: string;
34
- } & Omit<FieldSelectProps, "id" | "variant" | "fieldProps" | "light" | "label" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
34
+ } & Omit<FieldSelectProps, "fieldProps" | "light" | "label" | "id" | "variant" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
35
35
  //#endregion
36
36
  export { FieldRadioProps, FieldRadio as default };
@@ -31,6 +31,6 @@ declare const FieldSegmented: _$vue.DefineSetupFnComponent<FieldSegmentedProps,
31
31
  emptyText?: VueNode$1;
32
32
  } & {
33
33
  id?: string;
34
- } & Omit<FieldSelectProps, "id" | "variant" | "fieldProps" | "light" | "label" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
34
+ } & Omit<FieldSelectProps, "fieldProps" | "light" | "label" | "id" | "variant" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
35
35
  //#endregion
36
36
  export { FieldSegmentedProps, FieldSegmented as default };
@@ -40,6 +40,6 @@ declare const FieldTreeSelect: _$vue.DefineSetupFnComponent<FieldTreeSelectProps
40
40
  fetchDataOnSearch?: boolean;
41
41
  } & {
42
42
  id?: string;
43
- } & TreeSelectProps<any, _$_v_c_tree_select0.DataNode> & Omit<FieldSelectProps, "id" | "variant" | "fieldProps" | "light" | "label" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
43
+ } & TreeSelectProps<any, _$_v_c_tree_select0.DataNode> & Omit<FieldSelectProps, "fieldProps" | "light" | "label" | "id" | "variant" | "labelTrigger" | "lightLabel" | "plain"> & {}, _$vue.PublicProps>;
44
44
  //#endregion
45
45
  export { FieldTreeSelectProps, FieldTreeSelect as default };
@@ -72273,10 +72273,7 @@ var NR = /* @__PURE__ */ l((e, { expose: t }) => {
72273
72273
  type: Function,
72274
72274
  required: !1
72275
72275
  },
72276
- fieldProps: {
72277
- type: Object,
72278
- required: !1
72279
- },
72276
+ fieldProps: { required: !1 },
72280
72277
  light: {
72281
72278
  type: Boolean,
72282
72279
  required: !1,
@@ -72485,7 +72482,10 @@ var IR = /* @__PURE__ */ l((e, { attrs: t, expose: n }) => {
72485
72482
  type: Function,
72486
72483
  required: !1
72487
72484
  },
72488
- fieldProps: { required: !1 },
72485
+ fieldProps: {
72486
+ type: Object,
72487
+ required: !1
72488
+ },
72489
72489
  light: {
72490
72490
  type: Boolean,
72491
72491
  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.0",
4
+ "version": "1.0.1",
5
5
  "description": "@antdv-next1/pro-field",
6
6
  "sideEffects": [
7
7
  "./dist/pro-field.esm.js",
@@ -43,8 +43,9 @@
43
43
  "vue": ">=3.5.30"
44
44
  },
45
45
  "dependencies": {
46
- "@antdv-next1/pro-provider": "1.0.0",
47
- "@antdv-next1/pro-utils": "1.0.0"
46
+ "swrv": "^1.2.0",
47
+ "@antdv-next1/pro-provider": "1.0.1",
48
+ "@antdv-next1/pro-utils": "1.0.1"
48
49
  },
49
50
  "publishConfig": {
50
51
  "access": "public"