@dt-frames/ui 2.0.16 → 2.0.17
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.js +25 -3
- package/es/components/form/src/props.d.ts +3 -3
- package/es/components/table/index.js +60 -133
- package/es/components/table/index.less +25 -0
- package/es/components/table/src/components/editTable/EditTableCell.d.ts +1 -0
- package/es/components/table/src/index.d.ts +0 -10
- package/es/components/table/src/props.d.ts +0 -4
- package/es/components/table/src/types/table.type.d.ts +8 -0
- package/es/components/tree/index.js +83 -73
- package/es/components/tree/index.less +13 -0
- package/es/components/tree/src/basicProps.d.ts +9 -4
- package/es/components/tree/src/components/ContextMenu.d.ts +6 -0
- package/es/components/tree/src/index.d.ts +11 -11
- package/es/components/tree/src/type/menu.d.ts +3 -0
- package/es/components/tree/src/type/tree.d.ts +0 -1
- package/es/components/upload/index.js +86 -47
- package/es/components/upload/index.less +7 -0
- package/es/components/upload/src/components/WordView.d.ts +1 -0
- package/es/components/upload/src/index.d.ts +1 -0
- package/es/theme/index.js +8 -3
- package/package.json +1 -1
|
@@ -694,6 +694,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
694
694
|
},
|
|
695
695
|
colspan: {
|
|
696
696
|
type: Object
|
|
697
|
+
},
|
|
698
|
+
style: {
|
|
699
|
+
type: Object,
|
|
700
|
+
default: () => {
|
|
701
|
+
}
|
|
697
702
|
}
|
|
698
703
|
},
|
|
699
704
|
emits: ["handle-method"],
|
|
@@ -717,11 +722,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
717
722
|
let style = {
|
|
718
723
|
textAlign: "right"
|
|
719
724
|
};
|
|
725
|
+
let gStyle = props.style ?? {};
|
|
720
726
|
if (props.mode === "dialog") {
|
|
721
727
|
Object.assign(style, {
|
|
722
728
|
display: "inline-block"
|
|
723
729
|
});
|
|
724
|
-
return {
|
|
730
|
+
return {
|
|
731
|
+
style: {
|
|
732
|
+
...gStyle,
|
|
733
|
+
...style
|
|
734
|
+
}
|
|
735
|
+
};
|
|
725
736
|
} else if (props.mode === null) {
|
|
726
737
|
Object.assign(style, {
|
|
727
738
|
display: "flex",
|
|
@@ -729,11 +740,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
729
740
|
marginBottom: "20px"
|
|
730
741
|
});
|
|
731
742
|
return {
|
|
732
|
-
style
|
|
743
|
+
style: {
|
|
744
|
+
...gStyle,
|
|
745
|
+
...style
|
|
746
|
+
},
|
|
733
747
|
span: 24
|
|
734
748
|
};
|
|
735
749
|
}
|
|
736
|
-
return {
|
|
750
|
+
return {
|
|
751
|
+
style: {
|
|
752
|
+
...props.style,
|
|
753
|
+
...style
|
|
754
|
+
}
|
|
755
|
+
};
|
|
737
756
|
});
|
|
738
757
|
const getAdvanceClass = computed(() => {
|
|
739
758
|
return [
|
|
@@ -1399,6 +1418,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1399
1418
|
}
|
|
1400
1419
|
return {
|
|
1401
1420
|
colspan,
|
|
1421
|
+
style: {
|
|
1422
|
+
marginLeft: "auto"
|
|
1423
|
+
},
|
|
1402
1424
|
...{
|
|
1403
1425
|
showAdvancedButton,
|
|
1404
1426
|
buttonList
|
|
@@ -41,8 +41,8 @@ export declare const BasicProps: {
|
|
|
41
41
|
};
|
|
42
42
|
rowProps: {
|
|
43
43
|
type: PropType<Partial<import("vue").ExtractPropTypes<{
|
|
44
|
-
align: PropType<"
|
|
45
|
-
justify: PropType<"
|
|
44
|
+
align: PropType<"middle" | "top" | "bottom" | "stretch">;
|
|
45
|
+
justify: PropType<"center" | "space-around" | "space-between" | "end" | "start">;
|
|
46
46
|
prefixCls: StringConstructor;
|
|
47
47
|
gutter: {
|
|
48
48
|
type: PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
|
|
@@ -62,7 +62,7 @@ export declare const BasicProps: {
|
|
|
62
62
|
type: NumberConstructor;
|
|
63
63
|
};
|
|
64
64
|
size: {
|
|
65
|
-
type: PropType<"small" | "
|
|
65
|
+
type: PropType<"small" | "large" | "middle">;
|
|
66
66
|
};
|
|
67
67
|
disabled: {
|
|
68
68
|
type: BooleanConstructor;
|