@a2simcode/ui 0.0.80 → 0.0.81
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.
|
@@ -37,6 +37,11 @@ export interface TabsProps {
|
|
|
37
37
|
* @zh 切换标签之前的钩子,若返回 false 或者返回 Promise 且被 reject,则阻止切换
|
|
38
38
|
*/
|
|
39
39
|
beforeLeave?: (activeName: string | number, oldActiveName: string | number) => boolean | Promise<boolean>;
|
|
40
|
+
/**
|
|
41
|
+
* @zh 是否充满容器
|
|
42
|
+
* @defaultValue false
|
|
43
|
+
*/
|
|
44
|
+
isFill?: boolean;
|
|
40
45
|
}
|
|
41
46
|
declare function __VLS_template(): {
|
|
42
47
|
attrs: Partial<{}>;
|
package/dist/simcode-ui.es.js
CHANGED
|
@@ -12420,7 +12420,8 @@ const Rv = /* @__PURE__ */ ae({
|
|
|
12420
12420
|
editable: { type: Boolean, default: !1 },
|
|
12421
12421
|
tabPosition: { default: "top" },
|
|
12422
12422
|
stretch: { type: Boolean, default: !1 },
|
|
12423
|
-
beforeLeave: {}
|
|
12423
|
+
beforeLeave: {},
|
|
12424
|
+
isFill: { type: Boolean }
|
|
12424
12425
|
},
|
|
12425
12426
|
emits: ["update:modelValue", "tab-click", "tab-change", "tab-remove", "tab-add", "edit"],
|
|
12426
12427
|
setup(e, { emit: t }) {
|