ll-plus 2.8.26 → 2.8.28
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/components/advanced-filtering/index.d.ts +4 -4
- package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +2 -2
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +2 -2
- package/es/components/form/index.d.ts +2 -2
- package/es/components/form/src/config/form.d.ts +3 -3
- package/es/components/form/src/form.vue.d.ts +2 -2
- package/es/components/key-value/src/components/key-value-item.vue.d.ts +3 -3
- package/es/components/key-value/src/key-value.vue.d.ts +9 -9
- package/es/components/select/index.d.ts +2 -0
- package/es/components/select/src/select.vue.d.ts +2 -0
- package/es/packages/components/form/src/config/form.mjs +1 -1
- package/es/packages/components/form/src/config/form.mjs.map +1 -1
- package/es/packages/components/select/src/select.vue2.mjs +11 -2
- package/es/packages/components/select/src/select.vue2.mjs.map +1 -1
- package/index.full.js +11 -2
- package/index.full.min.js +2 -2
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +2 -2
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +11 -2
- package/lib/components/advanced-filtering/index.d.ts +4 -4
- package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +2 -2
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +2 -2
- package/lib/components/form/index.d.ts +2 -2
- package/lib/components/form/src/config/form.d.ts +3 -3
- package/lib/components/form/src/form.vue.d.ts +2 -2
- package/lib/components/key-value/src/components/key-value-item.vue.d.ts +3 -3
- package/lib/components/key-value/src/key-value.vue.d.ts +9 -9
- package/lib/components/select/index.d.ts +2 -0
- package/lib/components/select/src/select.vue.d.ts +2 -0
- package/lib/packages/components/form/src/config/form.js +1 -1
- package/lib/packages/components/form/src/config/form.js.map +1 -1
- package/lib/packages/components/select/src/select.vue2.js +10 -1
- package/lib/packages/components/select/src/select.vue2.js.map +1 -1
- package/package.json +1 -1
- package/types/packages/components/advanced-filtering/index.d.ts +4 -4
- package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +2 -2
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +2 -2
- package/types/packages/components/form/index.d.ts +2 -2
- package/types/packages/components/form/src/config/form.d.ts +3 -3
- package/types/packages/components/form/src/form.vue.d.ts +2 -2
- package/types/packages/components/key-value/src/components/key-value-item.vue.d.ts +3 -3
- package/types/packages/components/key-value/src/key-value.vue.d.ts +9 -9
- package/types/packages/components/select/index.d.ts +2 -0
- package/types/packages/components/select/src/select.vue.d.ts +2 -0
|
@@ -3828,7 +3828,7 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
3828
3828
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3829
3829
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3830
3830
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3831
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
3831
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
3832
3832
|
}, {
|
|
3833
3833
|
props: import("@vue/shared").LooseRequired<{
|
|
3834
3834
|
readonly formOptions: Partial<import("vue").ExtractPropTypes<{
|
|
@@ -5454,7 +5454,7 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
5454
5454
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5455
5455
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5456
5456
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5457
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
5457
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
5458
5458
|
}>> & {
|
|
5459
5459
|
onChange?: ((params: import("ll-plus/es/index").FormChangeEvent) => any) | undefined;
|
|
5460
5460
|
}, {
|
|
@@ -12538,7 +12538,7 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
12538
12538
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
12539
12539
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
12540
12540
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
12541
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
12541
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
12542
12542
|
}, {
|
|
12543
12543
|
props: import("@vue/shared").LooseRequired<{
|
|
12544
12544
|
readonly formOptions: Partial<import("vue").ExtractPropTypes<{
|
|
@@ -14164,7 +14164,7 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
14164
14164
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14165
14165
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14166
14166
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14167
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
14167
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14168
14168
|
}>> & {
|
|
14169
14169
|
onChange?: ((params: import("ll-plus/es/index").FormChangeEvent) => any) | undefined;
|
|
14170
14170
|
}, {
|
|
@@ -3825,7 +3825,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3825
3825
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3826
3826
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3827
3827
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3828
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
3828
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
3829
3829
|
}, {
|
|
3830
3830
|
props: import("@vue/shared").LooseRequired<{
|
|
3831
3831
|
readonly formOptions: Partial<import("vue").ExtractPropTypes<{
|
|
@@ -5451,7 +5451,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5451
5451
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5452
5452
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5453
5453
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5454
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
5454
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
5455
5455
|
}>> & {
|
|
5456
5456
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
5457
5457
|
}, {
|
|
@@ -2238,7 +2238,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2238
2238
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2239
2239
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2240
2240
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2241
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
2241
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2242
2242
|
}, {
|
|
2243
2243
|
props: import("@vue/shared").LooseRequired<{
|
|
2244
2244
|
readonly formOptions: Partial<import("vue").ExtractPropTypes<{
|
|
@@ -3864,7 +3864,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3864
3864
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3865
3865
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3866
3866
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3867
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
3867
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
3868
3868
|
}>> & {
|
|
3869
3869
|
onChange?: ((params: FormChangeEvent) => any) | undefined;
|
|
3870
3870
|
}, {
|
|
@@ -1132,7 +1132,7 @@ export declare const LlForm: import("ll-plus/es/utils").SFCWithInstall<import("v
|
|
|
1132
1132
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1133
1133
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1134
1134
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1135
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
1135
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1136
1136
|
}, {
|
|
1137
1137
|
props: import("@vue/shared").LooseRequired<{
|
|
1138
1138
|
readonly formOptions: Partial<import("vue").ExtractPropTypes<{
|
|
@@ -2758,7 +2758,7 @@ export declare const LlForm: import("ll-plus/es/utils").SFCWithInstall<import("v
|
|
|
2758
2758
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2759
2759
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2760
2760
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2761
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
2761
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2762
2762
|
}>> & {
|
|
2763
2763
|
onChange?: ((params: import("./src/config").FormChangeEvent) => any) | undefined;
|
|
2764
2764
|
}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { FormItemProps, RowProps, ColProps } from 'ant-design-vue';
|
|
3
1
|
import type { TooltipProps } from 'll-plus/es/components';
|
|
2
|
+
import type { ColProps, FormItemProps, RowProps } from 'ant-design-vue';
|
|
3
|
+
import type { ExtractPropTypes } from 'vue';
|
|
4
4
|
import type Form from '../form.vue';
|
|
5
5
|
type FormType<T = any> = ('input' | 'input-number' | 'cascader' | 'checkbox' | 'checkbox-group' | 'code-editor' | 'date-picker' | 'time-picker' | 'date-range' | 'time-range' | 'radio' | 'radio-group' | 'select' | 'switch' | 'textarea' | 'upload-image') & T;
|
|
6
6
|
export interface FormChangeEvent {
|
|
@@ -1112,7 +1112,7 @@ export declare const formProps: {
|
|
|
1112
1112
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1113
1113
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1114
1114
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1115
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
1115
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1116
1116
|
};
|
|
1117
1117
|
export declare const formEmits: {
|
|
1118
1118
|
/**
|
|
@@ -1088,7 +1088,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1088
1088
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1089
1089
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1090
1090
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1091
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
1091
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1092
1092
|
}, {
|
|
1093
1093
|
props: import("@vue/shared").LooseRequired<{
|
|
1094
1094
|
readonly formOptions: Partial<import("vue").ExtractPropTypes<{
|
|
@@ -2714,7 +2714,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2714
2714
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2715
2715
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2716
2716
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2717
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
2717
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2718
2718
|
}>> & {
|
|
2719
2719
|
onChange?: ((params: import("./config").FormChangeEvent) => any) | undefined;
|
|
2720
2720
|
}, {
|
|
@@ -1164,7 +1164,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1164
1164
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1165
1165
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1166
1166
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1167
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
1167
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1168
1168
|
}>> & {
|
|
1169
1169
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
1170
1170
|
}, {
|
|
@@ -2792,7 +2792,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2792
2792
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2793
2793
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2794
2794
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2795
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
2795
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2796
2796
|
}>> & {
|
|
2797
2797
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
2798
2798
|
}, {
|
|
@@ -4168,7 +4168,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4168
4168
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4169
4169
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4170
4170
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4171
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
4171
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
4172
4172
|
}>> & {
|
|
4173
4173
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
4174
4174
|
}, {
|
|
@@ -1243,7 +1243,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1243
1243
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1244
1244
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1245
1245
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1246
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
1246
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1247
1247
|
}>> & {
|
|
1248
1248
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
1249
1249
|
}, {
|
|
@@ -2871,7 +2871,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2871
2871
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2872
2872
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2873
2873
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2874
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
2874
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
2875
2875
|
}>> & {
|
|
2876
2876
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
2877
2877
|
}, {
|
|
@@ -4247,7 +4247,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4247
4247
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4248
4248
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4249
4249
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4250
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
4250
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
4251
4251
|
}>> & {
|
|
4252
4252
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
4253
4253
|
}, {
|
|
@@ -6551,7 +6551,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6551
6551
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
6552
6552
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
6553
6553
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
6554
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
6554
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
6555
6555
|
}>> & {
|
|
6556
6556
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
6557
6557
|
}, {
|
|
@@ -8179,7 +8179,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8179
8179
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
8180
8180
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
8181
8181
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
8182
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
8182
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
8183
8183
|
}>> & {
|
|
8184
8184
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
8185
8185
|
}, {
|
|
@@ -9555,7 +9555,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9555
9555
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
9556
9556
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
9557
9557
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
9558
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
9558
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
9559
9559
|
}>> & {
|
|
9560
9560
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
9561
9561
|
}, {
|
|
@@ -11813,7 +11813,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11813
11813
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
11814
11814
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
11815
11815
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
11816
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
11816
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
11817
11817
|
}>> & {
|
|
11818
11818
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
11819
11819
|
}, {
|
|
@@ -13441,7 +13441,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13441
13441
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13442
13442
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13443
13443
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13444
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
13444
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13445
13445
|
}>> & {
|
|
13446
13446
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
13447
13447
|
}, {
|
|
@@ -14817,7 +14817,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14817
14817
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14818
14818
|
readonly autoFocus: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14819
14819
|
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14820
|
-
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown,
|
|
14820
|
+
readonly validateErrorStop: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14821
14821
|
}>> & {
|
|
14822
14822
|
onChange?: ((params: import("ll-plus/es/components").FormChangeEvent) => any) | undefined;
|
|
14823
14823
|
}, {
|
|
@@ -20,6 +20,8 @@ export declare const LlSelect: import("ll-plus/es/utils").SFCWithInstall<import(
|
|
|
20
20
|
attrs: {
|
|
21
21
|
[x: string]: unknown;
|
|
22
22
|
};
|
|
23
|
+
selectRef: import("vue").Ref<any>;
|
|
24
|
+
focus: () => void;
|
|
23
25
|
readonly Select: {
|
|
24
26
|
new (...args: any[]): import("@vue/runtime-core").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
25
27
|
value: {
|
|
@@ -17,6 +17,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
attrs: {
|
|
18
18
|
[x: string]: unknown;
|
|
19
19
|
};
|
|
20
|
+
selectRef: import("vue").Ref<any>;
|
|
21
|
+
focus: () => void;
|
|
20
22
|
readonly Select: {
|
|
21
23
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
22
24
|
value: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.mjs","sources":["../../../../../../../packages/components/form/src/config/form.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type {
|
|
1
|
+
{"version":3,"file":"form.mjs","sources":["../../../../../../../packages/components/form/src/config/form.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { TooltipProps } from '@ll-plus/components'\nimport type {\n FormProps as AntFormProps,\n ColProps,\n FormItemProps,\n RowProps\n} from 'ant-design-vue'\nimport type { ExtractPropTypes } from 'vue'\nimport type Form from '../form.vue'\n\ntype FormType<T = any> = (\n | 'input'\n | 'input-number'\n | 'cascader'\n | 'checkbox'\n | 'checkbox-group'\n | 'code-editor'\n | 'date-picker'\n | 'time-picker'\n | 'date-range'\n | 'time-range'\n | 'radio'\n | 'radio-group'\n | 'select'\n | 'switch'\n | 'textarea'\n | 'upload-image'\n) &\n T\n\nexport interface FormChangeEvent {\n item: FormColumn\n value: any\n formData: FormData\n}\nexport interface BasicFormColumn extends FormItemProps {\n label?: string\n key: string\n spanCol?: number | 24 // 一行几条\n colOptions?: ColProps\n tip?: string\n tipConfig?: TooltipProps\n type: FormType\n unit?: string\n change?: () => void\n rowOptions?: RowProps\n children?: FormColumn[]\n [key: string]: any\n}\n\nexport type FormColumn<T = any> = BasicFormColumn & T\n\nexport type FormData = Record<string, any>\n\nexport const formProps = buildProps({\n /**\n * @description 表单项列表\n */\n formColumns: {\n type: definePropType<FormColumn[]>(Array),\n default: () => []\n },\n /**\n * @description 展开的行变化时触发\n */\n formOptions: {\n type: definePropType<AntFormProps>(Object),\n default: () => ({\n layout: 'horizontal'\n })\n },\n /**\n * @description 展开的行变化时触发\n */\n formData: {\n type: definePropType<FormData>(Object),\n default: () => ({})\n },\n /**\n * @description 展开的行变化时触发\n */\n rowOptions: {\n type: definePropType<RowProps>(Object),\n default: () => ({\n gutter: 16\n })\n },\n /**\n * @description 表单加载状态\n */\n loading: {\n type: Boolean,\n default: false\n },\n /**\n * @description 自动聚焦\n */\n autoFocus: {\n type: Boolean,\n default: false\n },\n /**\n * @description 是否全体禁用\n */\n disabled: {\n type: Boolean,\n default: false\n },\n /**\n * @description 当某一规则校验不通过时,是否停止剩下的规则的校验\n */\n validateErrorStop: {\n type: Boolean,\n default: true\n }\n} as const)\n\nexport const formEmits = {\n /**\n * @description 表单项值改变时触发\n */\n change: (params: FormChangeEvent) => !!params\n}\n\n// props\nexport type FormProps = ExtractPropTypes<typeof formProps>\n\n// emits\nexport type FormEmits = typeof formEmits\n\n// instance\nexport type FormInstance = InstanceType<typeof Form>\n"],"names":[],"mappings":";;;;AAwDO,MAAM,YAAY,UAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAIlC,WAAa,EAAA;AAAA,IACX,IAAA,EAAM,eAA6B,KAAK,CAAA;AAAA,IACxC,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA;AAAA;AAAA;AAAA,EAIA,WAAa,EAAA;AAAA,IACX,IAAA,EAAM,eAA6B,MAAM,CAAA;AAAA,IACzC,SAAS,OAAO;AAAA,MACd,MAAQ,EAAA,YAAA;AAAA,KACV,CAAA;AAAA,GACF;AAAA;AAAA;AAAA;AAAA,EAIA,QAAU,EAAA;AAAA,IACR,IAAA,EAAM,eAAyB,MAAM,CAAA;AAAA,IACrC,OAAA,EAAS,OAAO,EAAC,CAAA;AAAA,GACnB;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAA,EAAM,eAAyB,MAAM,CAAA;AAAA,IACrC,SAAS,OAAO;AAAA,MACd,MAAQ,EAAA,EAAA;AAAA,KACV,CAAA;AAAA,GACF;AAAA;AAAA;AAAA;AAAA,EAIA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,iBAAmB,EAAA;AAAA,IACjB,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF,CAAU,EAAA;AAEH,MAAM,SAAY,GAAA;AAAA;AAAA;AAAA;AAAA,EAIvB,MAAQ,EAAA,CAAC,MAA4B,KAAA,CAAC,CAAC,MAAA;AACzC;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
1
|
+
import { defineComponent, useAttrs, ref, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
2
2
|
import { Select } from 'ant-design-vue';
|
|
3
3
|
import '../../../utils/index.mjs';
|
|
4
4
|
import { selectProps } from './select.mjs';
|
|
@@ -9,14 +9,23 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
...{ name: "LlSelect" },
|
|
10
10
|
__name: "select",
|
|
11
11
|
props: selectProps,
|
|
12
|
-
setup(__props) {
|
|
12
|
+
setup(__props, { expose: __expose }) {
|
|
13
13
|
const props = __props;
|
|
14
14
|
const bem = createNamespace("select");
|
|
15
15
|
const attrs = useAttrs();
|
|
16
|
+
const selectRef = ref();
|
|
17
|
+
const focus = () => {
|
|
18
|
+
selectRef.value.focus();
|
|
19
|
+
};
|
|
20
|
+
__expose({
|
|
21
|
+
focus
|
|
22
|
+
});
|
|
16
23
|
return (_ctx, _cache) => {
|
|
17
24
|
return openBlock(), createBlock(unref(Select), mergeProps({
|
|
18
25
|
class: unref(bem).b()
|
|
19
26
|
}, unref(attrs), {
|
|
27
|
+
ref_key: "selectRef",
|
|
28
|
+
ref: selectRef,
|
|
20
29
|
"allow-clear": props.allowClear
|
|
21
30
|
}), createSlots({
|
|
22
31
|
_: 2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.vue2.mjs","sources":["../../../../../../packages/components/select/src/select.vue"],"sourcesContent":["<template>\n <Select :class=\"bem.b()\" v-bind=\"attrs\" :allow-clear=\"props.allowClear\">\n <template v-for=\"item in Object.keys($slots)\" :key=\"item\" #[item]=\"data\">\n <slot :name=\"item\" v-bind=\"data || {}\"></slot>\n </template>\n </Select>\n</template>\n\n<script setup lang=\"ts\">\nimport { useAttrs } from 'vue'\nimport { Select } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\nimport { selectProps } from './select'\n\ndefineOptions({ name: 'LlSelect' })\nconst props = defineProps(selectProps)\n\nconst bem = createNamespace('select')\n\nconst attrs = useAttrs()\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;AAeA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAM,MAAA,GAAA,GAAM,gBAAgB,QAAQ,CAAA,CAAA;AAEpC,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA
|
|
1
|
+
{"version":3,"file":"select.vue2.mjs","sources":["../../../../../../packages/components/select/src/select.vue"],"sourcesContent":["<template>\n <Select :class=\"bem.b()\" v-bind=\"attrs\" ref=\"selectRef\" :allow-clear=\"props.allowClear\">\n <template v-for=\"item in Object.keys($slots)\" :key=\"item\" #[item]=\"data\">\n <slot :name=\"item\" v-bind=\"data || {}\"></slot>\n </template>\n </Select>\n</template>\n\n<script setup lang=\"ts\">\nimport { useAttrs,ref } from 'vue'\nimport { Select } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\nimport { selectProps } from './select'\n\ndefineOptions({ name: 'LlSelect' })\nconst props = defineProps(selectProps)\n\nconst bem = createNamespace('select')\n\nconst attrs = useAttrs()\n\nconst selectRef = ref()\nconst focus = () => {\n selectRef.value.focus()\n}\ndefineExpose({\n focus\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;AAeA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAM,MAAA,GAAA,GAAM,gBAAgB,QAAQ,CAAA,CAAA;AAEpC,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAA,MAAM,YAAY,GAAI,EAAA,CAAA;AACtB,IAAA,MAAM,QAAQ,MAAM;AAClB,MAAA,SAAA,CAAU,MAAM,KAAM,EAAA,CAAA;AAAA,KACxB,CAAA;AACA,IAAa,QAAA,CAAA;AAAA,MACX,KAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/index.full.js
CHANGED
|
@@ -63962,7 +63962,7 @@
|
|
|
63962
63962
|
*/
|
|
63963
63963
|
validateErrorStop: {
|
|
63964
63964
|
type: Boolean,
|
|
63965
|
-
default:
|
|
63965
|
+
default: true
|
|
63966
63966
|
}
|
|
63967
63967
|
});
|
|
63968
63968
|
const formEmits = {
|
|
@@ -75778,14 +75778,23 @@
|
|
|
75778
75778
|
...{ name: "LlSelect" },
|
|
75779
75779
|
__name: "select",
|
|
75780
75780
|
props: selectProps,
|
|
75781
|
-
setup(__props) {
|
|
75781
|
+
setup(__props, { expose: __expose }) {
|
|
75782
75782
|
const props = __props;
|
|
75783
75783
|
const bem = createNamespace("select");
|
|
75784
75784
|
const attrs = require$$0.useAttrs();
|
|
75785
|
+
const selectRef = require$$0.ref();
|
|
75786
|
+
const focus = () => {
|
|
75787
|
+
selectRef.value.focus();
|
|
75788
|
+
};
|
|
75789
|
+
__expose({
|
|
75790
|
+
focus
|
|
75791
|
+
});
|
|
75785
75792
|
return (_ctx, _cache) => {
|
|
75786
75793
|
return require$$0.openBlock(), require$$0.createBlock(require$$0.unref(antDesignVue.Select), require$$0.mergeProps({
|
|
75787
75794
|
class: require$$0.unref(bem).b()
|
|
75788
75795
|
}, require$$0.unref(attrs), {
|
|
75796
|
+
ref_key: "selectRef",
|
|
75797
|
+
ref: selectRef,
|
|
75789
75798
|
"allow-clear": props.allowClear
|
|
75790
75799
|
}), require$$0.createSlots({
|
|
75791
75800
|
_: 2
|