@vue-start/pro 0.5.17 → 0.5.19
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/index.css +19 -0
- package/dist/index.d.ts +20 -26
- package/dist/index.es.js +1137 -1099
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -124,6 +124,25 @@
|
|
|
124
124
|
margin-left: 12px;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
/********************************** pro-form-list ***********************************/
|
|
128
|
+
|
|
129
|
+
.pro-form-list {
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* element-plus */
|
|
133
|
+
.pro-form-list .el-form-item__content {
|
|
134
|
+
display: unset !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.pro-form-list .el-form-item {
|
|
138
|
+
margin-bottom: 18px !important;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.pro-form-list-inline .pro-form-list-item {
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-wrap: wrap;
|
|
144
|
+
}
|
|
145
|
+
|
|
127
146
|
/********************************** pro-table ***********************************/
|
|
128
147
|
.pro-table {
|
|
129
148
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ declare const getColumnFormItemName: (column: TColumn) => string | number | unde
|
|
|
100
100
|
* @param column
|
|
101
101
|
* @param needRules
|
|
102
102
|
*/
|
|
103
|
-
declare const getFormItemEl: (formElementMap: any, column: TColumn
|
|
103
|
+
declare const getFormItemEl: (formElementMap: any, column: TColumn) => VNode | null;
|
|
104
104
|
/**
|
|
105
105
|
* 根据Column生成Item VNode
|
|
106
106
|
* @param elementMap
|
|
@@ -342,6 +342,9 @@ declare const proBasePropsFn: () => {
|
|
|
342
342
|
columns: {
|
|
343
343
|
type: PropType<TColumns>;
|
|
344
344
|
};
|
|
345
|
+
convertColumn: {
|
|
346
|
+
type: PropType<(t: TColumn) => TColumn>;
|
|
347
|
+
};
|
|
345
348
|
/**
|
|
346
349
|
* 对 column 进行补充
|
|
347
350
|
* 通常对columns为静态值时候使用
|
|
@@ -652,13 +655,6 @@ declare const proFormProps: () => {
|
|
|
652
655
|
disableStateRules: {
|
|
653
656
|
type: PropType<BooleanRulesObjType>;
|
|
654
657
|
};
|
|
655
|
-
/**
|
|
656
|
-
* 是否启用rules验证
|
|
657
|
-
*/
|
|
658
|
-
needRules: {
|
|
659
|
-
type: BooleanConstructor;
|
|
660
|
-
default: boolean;
|
|
661
|
-
};
|
|
662
658
|
/**
|
|
663
659
|
* provide传递
|
|
664
660
|
*/
|
|
@@ -834,27 +830,25 @@ declare const proFormListProps: () => {
|
|
|
834
830
|
type: PropType<string | number | (string | number)[]>;
|
|
835
831
|
required: boolean;
|
|
836
832
|
};
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
declare const ProFormList: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
840
|
-
rowKey: {
|
|
841
|
-
type: StringConstructor;
|
|
842
|
-
default: string;
|
|
833
|
+
columns: {
|
|
834
|
+
type: PropType<TColumns>;
|
|
843
835
|
};
|
|
844
|
-
|
|
845
|
-
type: PropType<
|
|
846
|
-
|
|
836
|
+
inline: {
|
|
837
|
+
type: PropType<boolean>;
|
|
838
|
+
default: boolean;
|
|
847
839
|
};
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
type: StringConstructor;
|
|
851
|
-
default: string;
|
|
840
|
+
renderAdd: {
|
|
841
|
+
type: PropType<() => VNode>;
|
|
852
842
|
};
|
|
853
|
-
|
|
854
|
-
type: PropType<
|
|
855
|
-
required: boolean;
|
|
843
|
+
renderItemAdd: {
|
|
844
|
+
type: PropType<() => VNode>;
|
|
856
845
|
};
|
|
857
|
-
|
|
846
|
+
renderItemMinus: {
|
|
847
|
+
type: PropType<() => VNode>;
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
declare type ProFormListProps = Partial<ExtractPropTypes<ReturnType<typeof proFormListProps>>> & Omit<ProGridProps, "items">;
|
|
851
|
+
declare const ProFormList: vue.DefineComponent<ProFormListProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProFormListProps>, {}>;
|
|
858
852
|
|
|
859
853
|
interface IOpeItem {
|
|
860
854
|
value: string | number;
|
|
@@ -1869,7 +1863,7 @@ declare const ProCurd: vue.DefineComponent<ProCurdProps, {}, {}, {}, {}, vue.Com
|
|
|
1869
1863
|
interface IProCurdProvide {
|
|
1870
1864
|
columns: Ref<TColumns>;
|
|
1871
1865
|
getSignColumns: (signName: string) => TColumns;
|
|
1872
|
-
getFormItemVNode: (column: TColumn
|
|
1866
|
+
getFormItemVNode: (column: TColumn) => VNode | null;
|
|
1873
1867
|
getItemVNode: (column: TColumn, value: any) => VNode | null;
|
|
1874
1868
|
elementMap: TElementMap;
|
|
1875
1869
|
formElementMap: TElementMap;
|