@qin-ui/antd-vue-pro 1.0.8 → 1.0.9
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/es/form/index.js +2 -2
- package/es/index.d.ts +6 -6
- package/package.json +1 -1
package/es/form/index.js
CHANGED
|
@@ -15735,7 +15735,7 @@ const INJECT_COMPONENT_PROPS_KEYS = {
|
|
|
15735
15735
|
const PROPS_KEYS = INJECT_COMPONENT_PROPS_KEYS;
|
|
15736
15736
|
const INIT_COMPONENT_PROPS_MAP = /* @__PURE__ */ new Map([
|
|
15737
15737
|
[PROPS_KEYS.input, { maxlength: 100, allowClear: true }],
|
|
15738
|
-
[PROPS_KEYS.textarea, { maxlength: 200,
|
|
15738
|
+
[PROPS_KEYS.textarea, { maxlength: 200, autoSize: { minRows: 3, maxRows: 6 }, showCount: true, allowClear: true }],
|
|
15739
15739
|
[PROPS_KEYS["input-password"], { maxlength: 100, allowClear: true }],
|
|
15740
15740
|
[PROPS_KEYS["input-number"], { max: 10 ** 15 - 1, min: -(10 ** 15 + 1), controls: false, allowClear: true }],
|
|
15741
15741
|
[PROPS_KEYS.select, { allowClear: true }],
|
|
@@ -15912,7 +15912,7 @@ const generateFieldMap = (fields, prePath = "", preFieldPath = "", fieldMap = {}
|
|
|
15912
15912
|
path = field.key || "";
|
|
15913
15913
|
}
|
|
15914
15914
|
const fieldPath = `${preFieldPath || ""}[${index2}]`;
|
|
15915
|
-
if (path) {
|
|
15915
|
+
if (path && !fieldMap[path]) {
|
|
15916
15916
|
fieldMap[path] = { field, fieldPath };
|
|
15917
15917
|
}
|
|
15918
15918
|
if (field.fields) {
|
package/es/index.d.ts
CHANGED
|
@@ -730,7 +730,7 @@ export declare type Grid = boolean | RowProps;
|
|
|
730
730
|
export declare const INIT_COMPONENT_PROPS_MAP: Map<symbol, {
|
|
731
731
|
maxlength: number;
|
|
732
732
|
allowClear: boolean;
|
|
733
|
-
|
|
733
|
+
autoSize?: undefined;
|
|
734
734
|
showCount?: undefined;
|
|
735
735
|
max?: undefined;
|
|
736
736
|
min?: undefined;
|
|
@@ -739,7 +739,7 @@ export declare const INIT_COMPONENT_PROPS_MAP: Map<symbol, {
|
|
|
739
739
|
valueFormat?: undefined;
|
|
740
740
|
} | {
|
|
741
741
|
maxlength: number;
|
|
742
|
-
|
|
742
|
+
autoSize: {
|
|
743
743
|
minRows: number;
|
|
744
744
|
maxRows: number;
|
|
745
745
|
};
|
|
@@ -756,14 +756,14 @@ export declare const INIT_COMPONENT_PROPS_MAP: Map<symbol, {
|
|
|
756
756
|
controls: boolean;
|
|
757
757
|
allowClear: boolean;
|
|
758
758
|
maxlength?: undefined;
|
|
759
|
-
|
|
759
|
+
autoSize?: undefined;
|
|
760
760
|
showCount?: undefined;
|
|
761
761
|
format?: undefined;
|
|
762
762
|
valueFormat?: undefined;
|
|
763
763
|
} | {
|
|
764
764
|
allowClear: boolean;
|
|
765
765
|
maxlength?: undefined;
|
|
766
|
-
|
|
766
|
+
autoSize?: undefined;
|
|
767
767
|
showCount?: undefined;
|
|
768
768
|
max?: undefined;
|
|
769
769
|
min?: undefined;
|
|
@@ -775,7 +775,7 @@ export declare const INIT_COMPONENT_PROPS_MAP: Map<symbol, {
|
|
|
775
775
|
valueFormat: string;
|
|
776
776
|
allowClear: boolean;
|
|
777
777
|
maxlength?: undefined;
|
|
778
|
-
|
|
778
|
+
autoSize?: undefined;
|
|
779
779
|
showCount?: undefined;
|
|
780
780
|
max?: undefined;
|
|
781
781
|
min?: undefined;
|
|
@@ -783,7 +783,7 @@ export declare const INIT_COMPONENT_PROPS_MAP: Map<symbol, {
|
|
|
783
783
|
} | {
|
|
784
784
|
maxlength?: undefined;
|
|
785
785
|
allowClear?: undefined;
|
|
786
|
-
|
|
786
|
+
autoSize?: undefined;
|
|
787
787
|
showCount?: undefined;
|
|
788
788
|
max?: undefined;
|
|
789
789
|
min?: undefined;
|