xrk-components 2.0.0-beta.86 → 2.0.0-beta.87
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/lib/index.esm.js
CHANGED
|
@@ -71521,7 +71521,8 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
|
|
|
71521
71521
|
maxLine: { type: Number, required: false, default: 1 },
|
|
71522
71522
|
trigger: { type: String, required: false, default: 'click' },
|
|
71523
71523
|
maxCount: { type: Number, required: false },
|
|
71524
|
-
notRepeatShow: { type: Boolean, required: false, default: true }
|
|
71524
|
+
notRepeatShow: { type: Boolean, required: false, default: true },
|
|
71525
|
+
type: { type: null, required: false, default: 'primary2' }
|
|
71525
71526
|
}, setup: function (__props) {
|
|
71526
71527
|
var props = __props;
|
|
71527
71528
|
var popoverRef = ref();
|
|
@@ -71588,7 +71589,7 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
|
|
|
71588
71589
|
ref: btnsRef
|
|
71589
71590
|
}, [
|
|
71590
71591
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.btns, function (btn, index) {
|
|
71591
|
-
return (openBlock(), createBlock(unref(BaseButton), mergeProps({ key: index }, __assign({ type:
|
|
71592
|
+
return (openBlock(), createBlock(unref(BaseButton), mergeProps({ key: index }, __assign({ type: __props.type, link: true }, btn)), {
|
|
71592
71593
|
default: withCtx(function () { return [
|
|
71593
71594
|
createTextVNode(toDisplayString(btn.content), 1 /* TEXT */)
|
|
71594
71595
|
]; }),
|
|
@@ -71609,13 +71610,13 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
|
|
|
71609
71610
|
reference: withCtx(function () { return [
|
|
71610
71611
|
createVNode(unref(BaseButton), {
|
|
71611
71612
|
link: "",
|
|
71612
|
-
type:
|
|
71613
|
+
type: __props.type
|
|
71613
71614
|
}, {
|
|
71614
71615
|
default: withCtx(function () { return [
|
|
71615
71616
|
_hoisted_1$h
|
|
71616
71617
|
]; }),
|
|
71617
71618
|
_: 1 /* STABLE */
|
|
71618
|
-
})
|
|
71619
|
+
}, 8 /* PROPS */, ["type"])
|
|
71619
71620
|
]; }),
|
|
71620
71621
|
default: withCtx(function () { return [
|
|
71621
71622
|
createElementVNode("div", _hoisted_2$a, [
|
package/lib/index.umd.js
CHANGED
|
@@ -71524,7 +71524,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71524
71524
|
maxLine: { type: Number, required: false, default: 1 },
|
|
71525
71525
|
trigger: { type: String, required: false, default: 'click' },
|
|
71526
71526
|
maxCount: { type: Number, required: false },
|
|
71527
|
-
notRepeatShow: { type: Boolean, required: false, default: true }
|
|
71527
|
+
notRepeatShow: { type: Boolean, required: false, default: true },
|
|
71528
|
+
type: { type: null, required: false, default: 'primary2' }
|
|
71528
71529
|
}, setup: function (__props) {
|
|
71529
71530
|
var props = __props;
|
|
71530
71531
|
var popoverRef = vue.ref();
|
|
@@ -71591,7 +71592,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71591
71592
|
ref: btnsRef
|
|
71592
71593
|
}, [
|
|
71593
71594
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.btns, function (btn, index) {
|
|
71594
|
-
return (vue.openBlock(), vue.createBlock(vue.unref(BaseButton), vue.mergeProps({ key: index }, __assign({ type:
|
|
71595
|
+
return (vue.openBlock(), vue.createBlock(vue.unref(BaseButton), vue.mergeProps({ key: index }, __assign({ type: __props.type, link: true }, btn)), {
|
|
71595
71596
|
default: vue.withCtx(function () { return [
|
|
71596
71597
|
vue.createTextVNode(vue.toDisplayString(btn.content), 1 /* TEXT */)
|
|
71597
71598
|
]; }),
|
|
@@ -71612,13 +71613,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71612
71613
|
reference: vue.withCtx(function () { return [
|
|
71613
71614
|
vue.createVNode(vue.unref(BaseButton), {
|
|
71614
71615
|
link: "",
|
|
71615
|
-
type:
|
|
71616
|
+
type: __props.type
|
|
71616
71617
|
}, {
|
|
71617
71618
|
default: vue.withCtx(function () { return [
|
|
71618
71619
|
_hoisted_1$h
|
|
71619
71620
|
]; }),
|
|
71620
71621
|
_: 1 /* STABLE */
|
|
71621
|
-
})
|
|
71622
|
+
}, 8 /* PROPS */, ["type"])
|
|
71622
71623
|
]; }),
|
|
71623
71624
|
default: vue.withCtx(function () { return [
|
|
71624
71625
|
vue.createElementVNode("div", _hoisted_2$a, [
|
|
@@ -22,6 +22,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
required: false;
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
|
+
type: {
|
|
26
|
+
type: null;
|
|
27
|
+
required: false;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
25
30
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
31
|
[key: string]: any;
|
|
27
32
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -48,9 +53,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
53
|
required: false;
|
|
49
54
|
default: boolean;
|
|
50
55
|
};
|
|
56
|
+
type: {
|
|
57
|
+
type: null;
|
|
58
|
+
required: false;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
51
61
|
}>>, {
|
|
52
62
|
maxLine: number;
|
|
53
63
|
trigger: string;
|
|
54
64
|
notRepeatShow: boolean;
|
|
65
|
+
type: any;
|
|
55
66
|
}>;
|
|
56
67
|
export default _default;
|