yc-pro-components 0.0.27 → 0.0.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/form/index.d.ts +4 -4
- package/es/components/form/src/form-content.vue.d.ts +8 -2
- package/es/components/form/src/form-content.vue2.mjs +1 -1
- package/es/components/form/src/index.vue.d.ts +2 -2
- package/es/components/form/src/index.vue2.mjs +1 -1
- package/es/components/page/index.d.ts +24 -24
- package/es/components/page/src/index.vue.d.ts +8 -8
- package/es/components/search/index.d.ts +12 -12
- package/es/components/search/src/index.vue.d.ts +4 -4
- package/es/components/yc-plus-page/src/index.vue.d.ts +16 -16
- package/index.js +3 -3
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +3 -3
- package/lib/components/form/index.d.ts +4 -4
- package/lib/components/form/src/form-content.vue.d.ts +8 -2
- package/lib/components/form/src/form-content.vue2.js +1 -1
- package/lib/components/form/src/index.vue.d.ts +2 -2
- package/lib/components/form/src/index.vue2.js +1 -1
- package/lib/components/page/index.d.ts +24 -24
- package/lib/components/page/src/index.vue.d.ts +8 -8
- package/lib/components/search/index.d.ts +12 -12
- package/lib/components/search/src/index.vue.d.ts +4 -4
- package/lib/components/yc-plus-page/src/index.vue.d.ts +16 -16
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-drawer-form.css +1 -1
- package/theme-chalk/plus-form.css +1 -1
- package/theme-chalk/src/drawer-form.scss +6 -0
- package/theme-chalk/src/form.scss +31 -13
- package/theme-chalk/src/index.scss +10 -0
|
@@ -695,7 +695,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
695
695
|
}> & Omit<{
|
|
696
696
|
readonly columns: PlusColumn[];
|
|
697
697
|
readonly group: false | PlusFormGroupRow[];
|
|
698
|
-
readonly layout: "grid" | "flex";
|
|
699
698
|
readonly modelValue: FieldValues;
|
|
700
699
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
701
700
|
readonly labelPosition: "top" | "right" | "left";
|
|
@@ -726,6 +725,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
726
725
|
readonly clearable: boolean;
|
|
727
726
|
readonly collapseDuration?: number | undefined;
|
|
728
727
|
readonly collapseTransition?: boolean | undefined;
|
|
728
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
729
729
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
730
730
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
731
731
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
@@ -751,7 +751,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
751
751
|
};
|
|
752
752
|
layout: {
|
|
753
753
|
type: PropType<"grid" | "flex">;
|
|
754
|
-
default:
|
|
754
|
+
default: undefined;
|
|
755
755
|
};
|
|
756
756
|
modelValue: {
|
|
757
757
|
type: PropType<FieldValues>;
|
|
@@ -878,7 +878,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
878
878
|
};
|
|
879
879
|
layout: {
|
|
880
880
|
type: PropType<"grid" | "flex">;
|
|
881
|
-
default:
|
|
881
|
+
default: undefined;
|
|
882
882
|
};
|
|
883
883
|
modelValue: {
|
|
884
884
|
type: PropType<FieldValues>;
|
|
@@ -1337,7 +1337,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1337
1337
|
};
|
|
1338
1338
|
layout: {
|
|
1339
1339
|
type: PropType<"grid" | "flex">;
|
|
1340
|
-
default:
|
|
1340
|
+
default: undefined;
|
|
1341
1341
|
};
|
|
1342
1342
|
modelValue: {
|
|
1343
1343
|
type: PropType<FieldValues>;
|
|
@@ -2161,7 +2161,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2161
2161
|
}> & Omit<{
|
|
2162
2162
|
readonly columns: PlusColumn[];
|
|
2163
2163
|
readonly group: false | PlusFormGroupRow[];
|
|
2164
|
-
readonly layout: "grid" | "flex";
|
|
2165
2164
|
readonly modelValue: FieldValues;
|
|
2166
2165
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2167
2166
|
readonly labelPosition: "top" | "right" | "left";
|
|
@@ -2192,6 +2191,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2192
2191
|
readonly clearable: boolean;
|
|
2193
2192
|
readonly collapseDuration?: number | undefined;
|
|
2194
2193
|
readonly collapseTransition?: boolean | undefined;
|
|
2194
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
2195
2195
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2196
2196
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2197
2197
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
@@ -2217,7 +2217,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2217
2217
|
};
|
|
2218
2218
|
layout: {
|
|
2219
2219
|
type: PropType<"grid" | "flex">;
|
|
2220
|
-
default:
|
|
2220
|
+
default: undefined;
|
|
2221
2221
|
};
|
|
2222
2222
|
modelValue: {
|
|
2223
2223
|
type: PropType<FieldValues>;
|
|
@@ -2344,7 +2344,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2344
2344
|
};
|
|
2345
2345
|
layout: {
|
|
2346
2346
|
type: PropType<"grid" | "flex">;
|
|
2347
|
-
default:
|
|
2347
|
+
default: undefined;
|
|
2348
2348
|
};
|
|
2349
2349
|
modelValue: {
|
|
2350
2350
|
type: PropType<FieldValues>;
|
|
@@ -2803,7 +2803,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2803
2803
|
};
|
|
2804
2804
|
layout: {
|
|
2805
2805
|
type: PropType<"grid" | "flex">;
|
|
2806
|
-
default:
|
|
2806
|
+
default: undefined;
|
|
2807
2807
|
};
|
|
2808
2808
|
modelValue: {
|
|
2809
2809
|
type: PropType<FieldValues>;
|
|
@@ -5860,7 +5860,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5860
5860
|
}> & Omit<{
|
|
5861
5861
|
readonly columns: PlusColumn[];
|
|
5862
5862
|
readonly group: false | PlusFormGroupRow[];
|
|
5863
|
-
readonly layout: "grid" | "flex";
|
|
5864
5863
|
readonly modelValue: FieldValues;
|
|
5865
5864
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5866
5865
|
readonly labelPosition: "top" | "right" | "left";
|
|
@@ -5891,6 +5890,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5891
5890
|
readonly clearable: boolean;
|
|
5892
5891
|
readonly collapseDuration?: number | undefined;
|
|
5893
5892
|
readonly collapseTransition?: boolean | undefined;
|
|
5893
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
5894
5894
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5895
5895
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5896
5896
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
@@ -5916,7 +5916,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5916
5916
|
};
|
|
5917
5917
|
layout: {
|
|
5918
5918
|
type: PropType<"grid" | "flex">;
|
|
5919
|
-
default:
|
|
5919
|
+
default: undefined;
|
|
5920
5920
|
};
|
|
5921
5921
|
modelValue: {
|
|
5922
5922
|
type: PropType<FieldValues>;
|
|
@@ -6043,7 +6043,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6043
6043
|
};
|
|
6044
6044
|
layout: {
|
|
6045
6045
|
type: PropType<"grid" | "flex">;
|
|
6046
|
-
default:
|
|
6046
|
+
default: undefined;
|
|
6047
6047
|
};
|
|
6048
6048
|
modelValue: {
|
|
6049
6049
|
type: PropType<FieldValues>;
|
|
@@ -6502,7 +6502,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6502
6502
|
};
|
|
6503
6503
|
layout: {
|
|
6504
6504
|
type: PropType<"grid" | "flex">;
|
|
6505
|
-
default:
|
|
6505
|
+
default: undefined;
|
|
6506
6506
|
};
|
|
6507
6507
|
modelValue: {
|
|
6508
6508
|
type: PropType<FieldValues>;
|
|
@@ -7326,7 +7326,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7326
7326
|
}> & Omit<{
|
|
7327
7327
|
readonly columns: PlusColumn[];
|
|
7328
7328
|
readonly group: false | PlusFormGroupRow[];
|
|
7329
|
-
readonly layout: "grid" | "flex";
|
|
7330
7329
|
readonly modelValue: FieldValues;
|
|
7331
7330
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
7332
7331
|
readonly labelPosition: "top" | "right" | "left";
|
|
@@ -7357,6 +7356,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7357
7356
|
readonly clearable: boolean;
|
|
7358
7357
|
readonly collapseDuration?: number | undefined;
|
|
7359
7358
|
readonly collapseTransition?: boolean | undefined;
|
|
7359
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
7360
7360
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7361
7361
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
7362
7362
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
@@ -7382,7 +7382,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7382
7382
|
};
|
|
7383
7383
|
layout: {
|
|
7384
7384
|
type: PropType<"grid" | "flex">;
|
|
7385
|
-
default:
|
|
7385
|
+
default: undefined;
|
|
7386
7386
|
};
|
|
7387
7387
|
modelValue: {
|
|
7388
7388
|
type: PropType<FieldValues>;
|
|
@@ -7509,7 +7509,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7509
7509
|
};
|
|
7510
7510
|
layout: {
|
|
7511
7511
|
type: PropType<"grid" | "flex">;
|
|
7512
|
-
default:
|
|
7512
|
+
default: undefined;
|
|
7513
7513
|
};
|
|
7514
7514
|
modelValue: {
|
|
7515
7515
|
type: PropType<FieldValues>;
|
|
@@ -7968,7 +7968,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7968
7968
|
};
|
|
7969
7969
|
layout: {
|
|
7970
7970
|
type: PropType<"grid" | "flex">;
|
|
7971
|
-
default:
|
|
7971
|
+
default: undefined;
|
|
7972
7972
|
};
|
|
7973
7973
|
modelValue: {
|
|
7974
7974
|
type: PropType<FieldValues>;
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! yc-pro-components v0.0.
|
|
1
|
+
/*! yc-pro-components v0.0.28 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue', 'element-plus'], factory) :
|
|
@@ -16584,7 +16584,7 @@
|
|
|
16584
16584
|
props: {
|
|
16585
16585
|
modelValue: { default: () => ({}) },
|
|
16586
16586
|
hasLabel: { type: Boolean, default: true },
|
|
16587
|
-
layout: { default:
|
|
16587
|
+
layout: { default: void 0 },
|
|
16588
16588
|
columns: { default: () => [] },
|
|
16589
16589
|
rowProps: { default: () => ({}) },
|
|
16590
16590
|
colProps: { default: () => ({}) },
|
|
@@ -16745,7 +16745,7 @@
|
|
|
16745
16745
|
columns: { default: () => [] },
|
|
16746
16746
|
labelWidth: { default: "80px" },
|
|
16747
16747
|
labelPosition: { default: "left" },
|
|
16748
|
-
layout: { default:
|
|
16748
|
+
layout: { default: void 0 },
|
|
16749
16749
|
rowProps: { default: () => ({}) },
|
|
16750
16750
|
colProps: { default: () => ({}) },
|
|
16751
16751
|
labelSuffix: { default: ":" },
|