@rocketui/vue 0.1.4 → 0.1.6

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.
@@ -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;
@@ -2167,6 +2168,7 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2167
2168
  errorMsg: string;
2168
2169
  hideDetails: boolean;
2169
2170
  autocomplete: string;
2171
+ popperTarget: string;
2170
2172
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2171
2173
  "update:modelValue": (...args: any[]) => void;
2172
2174
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<SelectProps>, {
@@ -2188,6 +2190,7 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2188
2190
  errorMsg: string;
2189
2191
  hideDetails: boolean;
2190
2192
  autocomplete: string;
2193
+ popperTarget: string;
2191
2194
  }>>> & {
2192
2195
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2193
2196
  }, {
@@ -2208,6 +2211,7 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2208
2211
  errorMsg: string;
2209
2212
  hideDetails: boolean;
2210
2213
  autocomplete: "on" | "off";
2214
+ popperTarget: string | HTMLElement;
2211
2215
  }, {}>, {
2212
2216
  prepend?(_: {}): any;
2213
2217
  tags?(_: {
@@ -2651,6 +2655,7 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
2651
2655
  triggerClass: string;
2652
2656
  tooltipClass: string;
2653
2657
  type: Theme;
2658
+ target: string;
2654
2659
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2655
2660
  show: (...args: any[]) => void;
2656
2661
  hide: (...args: any[]) => void;
@@ -2673,6 +2678,7 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
2673
2678
  triggerClass: string;
2674
2679
  tooltipClass: string;
2675
2680
  type: Theme;
2681
+ target: string;
2676
2682
  }>>> & {
2677
2683
  onShow?: ((...args: any[]) => any) | undefined;
2678
2684
  onHide?: ((...args: any[]) => any) | undefined;
@@ -2680,6 +2686,7 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
2680
2686
  type: string;
2681
2687
  text: string;
2682
2688
  disabled: boolean;
2689
+ target: string | HTMLElement;
2683
2690
  placement: Placements;
2684
2691
  padding: number;
2685
2692
  dark: boolean;
@@ -2870,6 +2877,7 @@ declare interface SelectProps {
2870
2877
  * <Dropdown autocomplete="on" />
2871
2878
  */
2872
2879
  autocomplete?: 'on' | 'off';
2880
+ popperTarget?: string | HTMLElement;
2873
2881
  }
2874
2882
 
2875
2883
  declare interface Tab {
@@ -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, { to: "body" }, [
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 = {
@@ -8855,7 +8858,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8855
8858
  errorMsg: { default: "" },
8856
8859
  hint: {},
8857
8860
  hideDetails: { type: Boolean, default: !1 },
8858
- autocomplete: { default: "off" }
8861
+ autocomplete: { default: "off" },
8862
+ popperTarget: { default: "body" }
8859
8863
  },
8860
8864
  emits: ["update:modelValue"],
8861
8865
  setup(H, { emit: V }) {
@@ -8876,7 +8880,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8876
8880
  }
8877
8881
  function l(s, h, y, u) {
8878
8882
  var c;
8879
- if (u(), !h.disabled) {
8883
+ if (s.stopPropagation(), u(), !h.disabled) {
8880
8884
  if (C.multiple || C.taggable) {
8881
8885
  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
8886
  return;
@@ -8931,6 +8935,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8931
8935
  offset: 0,
8932
8936
  "outside-click": "",
8933
8937
  placement: "bottom",
8938
+ "popper-target": C.popperTarget,
8934
8939
  resizable: "",
8935
8940
  "tooltip-class": "w-max",
8936
8941
  "trigger-class": "w-full",
@@ -9069,7 +9074,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9069
9074
  ], 2)
9070
9075
  ]),
9071
9076
  _: 3
9072
- }),
9077
+ }, 8, ["popper-target"]),
9073
9078
  s.$props.hideDetails ? O("", !0) : (m(), o("div", K5, [
9074
9079
  C.errorMsg ? (m(), o("div", j5, b(C.errorMsg), 1)) : O("", !0),
9075
9080
  C.hint ? (m(), o("div", q5, b(C.hint), 1)) : O("", !0)