@rocketui/vue 0.1.4 → 0.1.5
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/rocket-ui-vue.d.ts
CHANGED
|
@@ -1184,6 +1184,7 @@ declare interface IProps_7 {
|
|
|
1184
1184
|
*/
|
|
1185
1185
|
tooltipClass?: string | string[];
|
|
1186
1186
|
type?: Theme | string;
|
|
1187
|
+
target?: string | HTMLElement;
|
|
1187
1188
|
}
|
|
1188
1189
|
|
|
1189
1190
|
declare function isSelected(id: never): boolean;
|
|
@@ -2651,6 +2652,7 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
|
|
|
2651
2652
|
triggerClass: string;
|
|
2652
2653
|
tooltipClass: string;
|
|
2653
2654
|
type: Theme;
|
|
2655
|
+
target: string;
|
|
2654
2656
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2655
2657
|
show: (...args: any[]) => void;
|
|
2656
2658
|
hide: (...args: any[]) => void;
|
|
@@ -2673,6 +2675,7 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
|
|
|
2673
2675
|
triggerClass: string;
|
|
2674
2676
|
tooltipClass: string;
|
|
2675
2677
|
type: Theme;
|
|
2678
|
+
target: string;
|
|
2676
2679
|
}>>> & {
|
|
2677
2680
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
2678
2681
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
@@ -2680,6 +2683,7 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
|
|
|
2680
2683
|
type: string;
|
|
2681
2684
|
text: string;
|
|
2682
2685
|
disabled: boolean;
|
|
2686
|
+
target: string | HTMLElement;
|
|
2683
2687
|
placement: Placements;
|
|
2684
2688
|
padding: number;
|
|
2685
2689
|
dark: boolean;
|
package/dist/rocket-ui-vue.js
CHANGED
|
@@ -8703,7 +8703,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8703
8703
|
resizable: { type: Boolean, default: !0 },
|
|
8704
8704
|
triggerClass: { default: "" },
|
|
8705
8705
|
tooltipClass: { default: "" },
|
|
8706
|
-
type: { default: o2.Tooltip }
|
|
8706
|
+
type: { default: o2.Tooltip },
|
|
8707
|
+
target: { default: "body" }
|
|
8707
8708
|
},
|
|
8708
8709
|
emits: ["show", "hide"],
|
|
8709
8710
|
setup(H, { emit: V }) {
|
|
@@ -8783,7 +8784,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8783
8784
|
}, null, 8, E5)
|
|
8784
8785
|
])
|
|
8785
8786
|
], 42, _5),
|
|
8786
|
-
(m(), F(s2, {
|
|
8787
|
+
(m(), F(s2, {
|
|
8788
|
+
to: C.target
|
|
8789
|
+
}, [
|
|
8787
8790
|
S("div", {
|
|
8788
8791
|
id: "tooltip",
|
|
8789
8792
|
ref_key: "tooltip",
|
|
@@ -8814,7 +8817,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8814
8817
|
}, null, 2)) : O("", !0)
|
|
8815
8818
|
])
|
|
8816
8819
|
], 2)
|
|
8817
|
-
]))
|
|
8820
|
+
], 8, ["to"]))
|
|
8818
8821
|
], 64));
|
|
8819
8822
|
}
|
|
8820
8823
|
}), W5 = ["onClick"], I5 = {
|
|
@@ -8876,7 +8879,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8876
8879
|
}
|
|
8877
8880
|
function l(s, h, y, u) {
|
|
8878
8881
|
var c;
|
|
8879
|
-
if (u(), !h.disabled) {
|
|
8882
|
+
if (s.stopPropagation(), u(), !h.disabled) {
|
|
8880
8883
|
if (C.multiple || C.taggable) {
|
|
8881
8884
|
L.find((D) => D.value === h.value) ? L.splice(L.indexOf(h), 1) : L.push(h), e.value = "", C.searchable && ((c = t.value) == null || c.focus());
|
|
8882
8885
|
return;
|