@rocketui/vue 0.1.5 → 0.1.7
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 +4 -0
- package/dist/rocket-ui-vue.js +15 -13
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/rocket-ui-vue.d.ts
CHANGED
|
@@ -2168,6 +2168,7 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2168
2168
|
errorMsg: string;
|
|
2169
2169
|
hideDetails: boolean;
|
|
2170
2170
|
autocomplete: string;
|
|
2171
|
+
popperTarget: string;
|
|
2171
2172
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2172
2173
|
"update:modelValue": (...args: any[]) => void;
|
|
2173
2174
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<SelectProps>, {
|
|
@@ -2189,6 +2190,7 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2189
2190
|
errorMsg: string;
|
|
2190
2191
|
hideDetails: boolean;
|
|
2191
2192
|
autocomplete: string;
|
|
2193
|
+
popperTarget: string;
|
|
2192
2194
|
}>>> & {
|
|
2193
2195
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2194
2196
|
}, {
|
|
@@ -2209,6 +2211,7 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2209
2211
|
errorMsg: string;
|
|
2210
2212
|
hideDetails: boolean;
|
|
2211
2213
|
autocomplete: "on" | "off";
|
|
2214
|
+
popperTarget: string | HTMLElement;
|
|
2212
2215
|
}, {}>, {
|
|
2213
2216
|
prepend?(_: {}): any;
|
|
2214
2217
|
tags?(_: {
|
|
@@ -2874,6 +2877,7 @@ declare interface SelectProps {
|
|
|
2874
2877
|
* <Dropdown autocomplete="on" />
|
|
2875
2878
|
*/
|
|
2876
2879
|
autocomplete?: 'on' | 'off';
|
|
2880
|
+
popperTarget?: string | HTMLElement;
|
|
2877
2881
|
}
|
|
2878
2882
|
|
|
2879
2883
|
declare interface Tab {
|
package/dist/rocket-ui-vue.js
CHANGED
|
@@ -8663,7 +8663,7 @@ async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
|
|
|
8663
8663
|
minWidth: e === "dropdown" ? `${H.offsetWidth - 2}px` : "auto",
|
|
8664
8664
|
left: e === "dropdown" ? `${n}px` : `${d}px`,
|
|
8665
8665
|
top: `${t}px`,
|
|
8666
|
-
animation: `tooltip-show ${i}ms ease-in-out forwards`,
|
|
8666
|
+
animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
|
|
8667
8667
|
transformOrigin: "start"
|
|
8668
8668
|
}), C && r.arrow) {
|
|
8669
8669
|
const { x: a, y: B } = r.arrow, g = {
|
|
@@ -8737,9 +8737,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8737
8737
|
T || D5(A, L, i, g, w, P, x, s);
|
|
8738
8738
|
}
|
|
8739
8739
|
const B = k(() => ({
|
|
8740
|
-
tooltip: !0,
|
|
8741
|
-
"tooltip--dark": C.dark,
|
|
8742
|
-
"tooltip--light": C.light
|
|
8740
|
+
"r-tooltip": !0,
|
|
8741
|
+
"r-tooltip--dark": C.dark,
|
|
8742
|
+
"r-tooltip--light": C.light
|
|
8743
8743
|
}));
|
|
8744
8744
|
return window.onresize = () => {
|
|
8745
8745
|
C.resizable && a();
|
|
@@ -8764,7 +8764,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8764
8764
|
ref_key: "trigger",
|
|
8765
8765
|
ref: A,
|
|
8766
8766
|
"aria-disabled": C.disabled,
|
|
8767
|
-
class: p(["trigger", g.triggerClass]),
|
|
8767
|
+
class: p(["r-tooltip-trigger", g.triggerClass]),
|
|
8768
8768
|
onClick: Z,
|
|
8769
8769
|
onMouseenter: r,
|
|
8770
8770
|
onMouseleave: n,
|
|
@@ -8800,9 +8800,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8800
8800
|
}, () => [
|
|
8801
8801
|
C.text ? (m(), o("div", {
|
|
8802
8802
|
key: 0,
|
|
8803
|
-
class: p(["tooltip__content", {
|
|
8804
|
-
"tooltip__content--dark": C.dark,
|
|
8805
|
-
"tooltip__content--light": C.light
|
|
8803
|
+
class: p(["r-tooltip__content", {
|
|
8804
|
+
"r-tooltip__content--dark": C.dark,
|
|
8805
|
+
"r-tooltip__content--light": C.light
|
|
8806
8806
|
}])
|
|
8807
8807
|
}, b(C.text), 3)) : O("", !0),
|
|
8808
8808
|
C.text ? (m(), o("div", {
|
|
@@ -8810,9 +8810,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8810
8810
|
id: "arrow",
|
|
8811
8811
|
ref_key: "arrowElement",
|
|
8812
8812
|
ref: i,
|
|
8813
|
-
class: p(["tooltip__arrow", {
|
|
8814
|
-
"tooltip__arrow--dark": C.dark,
|
|
8815
|
-
"tooltip__arrow--light": C.light
|
|
8813
|
+
class: p(["r-tooltip__arrow", {
|
|
8814
|
+
"r-tooltip__arrow--dark": C.dark,
|
|
8815
|
+
"r-tooltip__arrow--light": C.light
|
|
8816
8816
|
}])
|
|
8817
8817
|
}, null, 2)) : O("", !0)
|
|
8818
8818
|
])
|
|
@@ -8858,7 +8858,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8858
8858
|
errorMsg: { default: "" },
|
|
8859
8859
|
hint: {},
|
|
8860
8860
|
hideDetails: { type: Boolean, default: !1 },
|
|
8861
|
-
autocomplete: { default: "off" }
|
|
8861
|
+
autocomplete: { default: "off" },
|
|
8862
|
+
popperTarget: { default: "body" }
|
|
8862
8863
|
},
|
|
8863
8864
|
emits: ["update:modelValue"],
|
|
8864
8865
|
setup(H, { emit: V }) {
|
|
@@ -8934,6 +8935,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
8934
8935
|
offset: 0,
|
|
8935
8936
|
"outside-click": "",
|
|
8936
8937
|
placement: "bottom",
|
|
8938
|
+
"popper-target": C.popperTarget,
|
|
8937
8939
|
resizable: "",
|
|
8938
8940
|
"tooltip-class": "w-max",
|
|
8939
8941
|
"trigger-class": "w-full",
|
|
@@ -9072,7 +9074,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
|
|
|
9072
9074
|
], 2)
|
|
9073
9075
|
]),
|
|
9074
9076
|
_: 3
|
|
9075
|
-
}),
|
|
9077
|
+
}, 8, ["popper-target"]),
|
|
9076
9078
|
s.$props.hideDetails ? O("", !0) : (m(), o("div", K5, [
|
|
9077
9079
|
C.errorMsg ? (m(), o("div", j5, b(C.errorMsg), 1)) : O("", !0),
|
|
9078
9080
|
C.hint ? (m(), o("div", q5, b(C.hint), 1)) : O("", !0)
|