@rocketui/vue 0.2.37 → 0.2.38

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.
@@ -2012,9 +2012,9 @@ export declare const RAlert: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_Wit
2012
2012
  }>>> & {
2013
2013
  onClose?: ((...args: any[]) => any) | undefined;
2014
2014
  }, {
2015
- type: "success" | "warning" | "info" | "error";
2015
+ type: "success" | "error" | "warning" | "info";
2016
2016
  title: string;
2017
- variant: "outline" | "ghost" | "solid";
2017
+ variant: "solid" | "outline" | "ghost";
2018
2018
  block: boolean;
2019
2019
  description: string;
2020
2020
  closable: boolean;
@@ -2045,9 +2045,9 @@ export declare const RAvatar: DefineComponent<__VLS_WithDefaults_2<__VLS_TypePro
2045
2045
  size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
2046
2046
  type: "image" | "text";
2047
2047
  text: string;
2048
- online: boolean;
2049
2048
  src: string;
2050
2049
  alt: string;
2050
+ online: boolean;
2051
2051
  }, {}>;
2052
2052
 
2053
2053
  export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<BadgeProps>, {
@@ -2078,11 +2078,11 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
2078
2078
  onClick?: ((...args: any[]) => any) | undefined;
2079
2079
  }, {
2080
2080
  class: string | string[];
2081
- variant: "primary" | "success" | "warning" | "error" | "neutral";
2082
- hover: boolean;
2083
- placement: "bottom" | "left" | "right";
2081
+ variant: "success" | "error" | "warning" | "primary" | "neutral";
2084
2082
  content: string;
2083
+ placement: "right" | "bottom" | "left";
2085
2084
  overlap: boolean;
2085
+ hover: boolean;
2086
2086
  outside: boolean;
2087
2087
  animation: boolean;
2088
2088
  contentClass: string | string[];
@@ -2138,13 +2138,13 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_Wi
2138
2138
  }, {
2139
2139
  height: string;
2140
2140
  size: ButtonSize;
2141
+ icon: boolean;
2141
2142
  variant: ButtonType;
2142
- loading: boolean;
2143
- disabled: boolean;
2144
2143
  prependIcon: string;
2145
2144
  appendIcon: string;
2146
- icon: boolean;
2145
+ disabled: boolean;
2147
2146
  block: boolean;
2147
+ loading: boolean;
2148
2148
  }, {}>, {
2149
2149
  prepend?(_: {
2150
2150
  onlyIcon: boolean;
@@ -2179,12 +2179,12 @@ export declare const RCheckbox: DefineComponent<__VLS_WithDefaults_5<__VLS_TypeP
2179
2179
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2180
2180
  }, {
2181
2181
  label: string;
2182
- disabled: boolean | "true" | "false";
2183
2182
  id: string | undefined;
2183
+ disabled: boolean | "true" | "false";
2184
2184
  modelValue: any[] | Set<any> | (boolean | "true" | "false");
2185
- errorMsg: string;
2186
- hint: string;
2187
2185
  indeterminate: boolean;
2186
+ hint: string;
2187
+ errorMsg: string;
2188
2188
  }, {}>;
2189
2189
 
2190
2190
  export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
@@ -2213,10 +2213,10 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
2213
2213
  "onClick:close"?: ((...args: any[]) => any) | undefined;
2214
2214
  }, {
2215
2215
  label: string | number;
2216
- variant: "primary" | "secondary" | "success" | "warning" | "info" | "error";
2217
- disabled: boolean;
2216
+ variant: "success" | "error" | "warning" | "info" | "primary" | "secondary";
2218
2217
  prependIcon: string;
2219
2218
  appendIcon: string;
2219
+ disabled: boolean;
2220
2220
  ghost: boolean;
2221
2221
  clearable: boolean;
2222
2222
  noWrap: boolean;
@@ -2282,15 +2282,17 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2282
2282
  }>>> & {
2283
2283
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2284
2284
  }, {
2285
- loading: boolean;
2286
- disabled: boolean;
2285
+ id: string;
2287
2286
  prependIcon: string;
2288
2287
  appendIcon: string;
2289
- options: any;
2290
- tooltipClass: string;
2291
- id: string;
2288
+ disabled: boolean;
2292
2289
  modelValue: any;
2290
+ loading: boolean;
2291
+ errorMsg: string;
2292
+ hideDetails: boolean;
2293
2293
  clearable: boolean;
2294
+ options: any;
2295
+ tooltipClass: string;
2294
2296
  placeholder: string;
2295
2297
  chips: boolean;
2296
2298
  multiple: boolean;
@@ -2298,8 +2300,6 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2298
2300
  closeOnSelect: boolean;
2299
2301
  dropdownClass: string;
2300
2302
  optionsClass: string;
2301
- errorMsg: string;
2302
- hideDetails: boolean;
2303
2303
  autocomplete: "on" | "off";
2304
2304
  noOptionsText: string;
2305
2305
  hideOptionCheckIcon: boolean;
@@ -2425,10 +2425,10 @@ export declare const RItemGroup: __VLS_WithTemplateSlots_17<DefineComponent<__VL
2425
2425
  }, {
2426
2426
  disabled: boolean;
2427
2427
  modelValue: string[] | number[];
2428
- max: number;
2429
2428
  as: string;
2430
2429
  selectedClass: string | string[];
2431
2430
  mandatory: boolean;
2431
+ max: number;
2432
2432
  }, {}>, {
2433
2433
  default?(_: {
2434
2434
  isSelected: typeof isSelected;
@@ -2490,10 +2490,10 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
2490
2490
  title: string;
2491
2491
  class: string | string[];
2492
2492
  icon: string;
2493
- block: boolean;
2494
- outsideClick: boolean;
2495
2493
  modelValue: boolean;
2494
+ block: boolean;
2496
2495
  description: string;
2496
+ outsideClick: boolean;
2497
2497
  overlayClass: string | string[];
2498
2498
  allowBodyScroll: boolean;
2499
2499
  }, {}>, {
@@ -2602,9 +2602,9 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<__VLS
2602
2602
  onAction?: ((...args: any[]) => any) | undefined;
2603
2603
  }, {
2604
2604
  text: string;
2605
- left: boolean;
2606
2605
  modelValue: boolean;
2607
2606
  closable: boolean;
2607
+ left: boolean;
2608
2608
  timeout: number;
2609
2609
  }, {}>, {
2610
2610
  icon?(_: {}): any;
@@ -2635,11 +2635,11 @@ export declare const RSwitch: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePr
2635
2635
  }, {
2636
2636
  size: "small" | "medium" | "large";
2637
2637
  label: string;
2638
- disabled: boolean | "true" | "false";
2639
2638
  id: string | undefined;
2639
+ disabled: boolean | "true" | "false";
2640
2640
  modelValue: any[] | Set<any> | (boolean | "true" | "false");
2641
- errorMsg: string;
2642
2641
  hint: string;
2642
+ errorMsg: string;
2643
2643
  }, {}>;
2644
2644
 
2645
2645
  export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<IProps_4>, {
@@ -2654,7 +2654,6 @@ export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_
2654
2654
  color: string;
2655
2655
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2656
2656
  "update:modelValue": (...args: any[]) => void;
2657
- "click:icon": (...args: any[]) => void;
2658
2657
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<IProps_4>, {
2659
2658
  label: string;
2660
2659
  variant: TabItemVariants;
@@ -2667,17 +2666,16 @@ export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_
2667
2666
  color: string;
2668
2667
  }>>> & {
2669
2668
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2670
- "onClick:icon"?: ((...args: any[]) => any) | undefined;
2671
2669
  }, {
2672
2670
  label: string;
2673
2671
  variant: TabItemVariant;
2674
- color: string;
2675
- disabled: boolean;
2676
2672
  prependIcon: string;
2677
2673
  appendIcon: string;
2678
- block: boolean;
2674
+ disabled: boolean;
2679
2675
  modelValue: string | number;
2680
2676
  tile: boolean;
2677
+ block: boolean;
2678
+ color: string;
2681
2679
  }, {}>, {
2682
2680
  prepend?(_: {
2683
2681
  active: boolean;
@@ -2709,9 +2707,9 @@ export declare const RTabs: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_Wit
2709
2707
  }>>> & {
2710
2708
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2711
2709
  }, {
2712
- block: boolean;
2713
2710
  modelValue: string | number;
2714
2711
  tile: boolean;
2712
+ block: boolean;
2715
2713
  tabs: Tab[];
2716
2714
  scrollable: boolean;
2717
2715
  }, {}>, {
@@ -2742,12 +2740,12 @@ export declare const RTextArea: DefineComponent<__VLS_WithDefaults_16<__VLS_Type
2742
2740
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2743
2741
  }, {
2744
2742
  label: string;
2745
- disabled: boolean | "true" | "false";
2746
2743
  id: string | undefined;
2744
+ disabled: boolean | "true" | "false";
2747
2745
  modelValue: any;
2748
- placeholder: string;
2749
- errorMsg: string;
2750
2746
  hint: string;
2747
+ errorMsg: string;
2748
+ placeholder: string;
2751
2749
  }, {}>;
2752
2750
 
2753
2751
  export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_6>, {
@@ -2769,9 +2767,9 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
2769
2767
  readonly: boolean;
2770
2768
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2771
2769
  input: (...args: any[]) => void;
2770
+ "update:modelValue": (...args: any[]) => void;
2772
2771
  blur: (...args: any[]) => void;
2773
2772
  focus: (...args: any[]) => void;
2774
- "update:modelValue": (...args: any[]) => void;
2775
2773
  "click:icon": (...args: any[]) => void;
2776
2774
  "click:clear": (...args: any[]) => void;
2777
2775
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_6>, {
@@ -2801,18 +2799,18 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
2801
2799
  }, {
2802
2800
  type: "number" | "text" | "email" | "password" | "tel" | "url";
2803
2801
  label: string;
2804
- loading: boolean;
2805
- disabled: boolean;
2802
+ id: string | undefined;
2806
2803
  prependIcon: string;
2807
2804
  appendIcon: string;
2808
- id: string | undefined;
2809
- role: string;
2805
+ disabled: boolean;
2810
2806
  modelValue: any;
2811
- clearable: boolean;
2812
- placeholder: string;
2813
- errorMsg: string;
2807
+ loading: boolean;
2814
2808
  hint: string;
2809
+ errorMsg: string;
2815
2810
  hideDetails: boolean;
2811
+ clearable: boolean;
2812
+ role: string;
2813
+ placeholder: string;
2816
2814
  readonly: boolean;
2817
2815
  }, {}>, {
2818
2816
  prepend?(_: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as V1, reactive as a1, Fragment as i1, renderList as l1, normalizeClass as c, renderSlot as O, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as f, mergeProps as j1, createBlock as _, watch as $, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as f1, withDirectives as Y1, withModifiers as o1, withKeys as N1, vModelText as c2, createTextVNode as Z1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, resolveComponent as f2, provide as s1, resolveDynamicComponent as h2, inject as c1 } from "vue";
1
+ import { defineComponent as F, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as V1, reactive as a1, Fragment as i1, renderList as l1, normalizeClass as c, renderSlot as O, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as f, mergeProps as j1, createBlock as _, watch as Q, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as f1, withDirectives as Y1, withModifiers as o1, withKeys as N1, vModelText as c2, createTextVNode as Z1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, resolveComponent as f2, provide as s1, resolveDynamicComponent as h2, inject as c1 } from "vue";
2
2
  const g2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
@@ -7613,7 +7613,7 @@ const g2 = {
7613
7613
  function d(t) {
7614
7614
  C.disabled || (A.checked = t.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
7615
7615
  }
7616
- return $(
7616
+ return Q(
7617
7617
  () => C.indeterminate,
7618
7618
  (t) => {
7619
7619
  A.indeterminate = t, t === !0 && (A.checked = !1, M("update:modelValue", A.checked));
@@ -7623,7 +7623,7 @@ const g2 = {
7623
7623
  // TODO: find a better way to do this
7624
7624
  immediate: !0
7625
7625
  }
7626
- ), $(
7626
+ ), Q(
7627
7627
  () => C.modelValue,
7628
7628
  (t) => {
7629
7629
  A.checked = t;
@@ -7758,7 +7758,7 @@ function P1(...H) {
7758
7758
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7759
7759
  const L = [], i = () => {
7760
7760
  L.forEach((l) => l()), L.length = 0;
7761
- }, e = (l, o, r, a) => (l.addEventListener(o, r, a), () => l.removeEventListener(o, r, a)), d = $(
7761
+ }, e = (l, o, r, a) => (l.addEventListener(o, r, a), () => l.removeEventListener(o, r, a)), d = Q(
7762
7762
  () => [t1(V), J1(A)],
7763
7763
  ([l, o]) => {
7764
7764
  if (i(), !l)
@@ -8085,9 +8085,9 @@ const n5 = (H) => ({
8085
8085
  const o = L2(l), r = {
8086
8086
  x: C,
8087
8087
  y: M
8088
- }, a = E1(A), u = D1(a), k = await i.getDimensions(t), B = a === "y", y = B ? "top" : "left", P = B ? "bottom" : "right", v = B ? "clientHeight" : "clientWidth", T = L.reference[u] + L.reference[a] - r[a] - L.floating[u], R = r[a] - L.reference[a], Q = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8089
- let I = Q ? Q[v] : 0;
8090
- (!I || !await (i.isElement == null ? void 0 : i.isElement(Q))) && (I = e.floating[v] || L.floating[u]);
8088
+ }, a = E1(A), u = D1(a), k = await i.getDimensions(t), B = a === "y", y = B ? "top" : "left", P = B ? "bottom" : "right", v = B ? "clientHeight" : "clientWidth", T = L.reference[u] + L.reference[a] - r[a] - L.floating[u], R = r[a] - L.reference[a], G = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8089
+ let I = G ? G[v] : 0;
8090
+ (!I || !await (i.isElement == null ? void 0 : i.isElement(G))) && (I = e.floating[v] || L.floating[u]);
8091
8091
  const p = T / 2 - R / 2, N = I / 2 - k[u] / 2 - 1, n = n1(o[y], N), h = n1(o[P], N), b = n, E = I - k[u] - h, s = I / 2 - k[u] / 2 + p, x = T1(b, s, E), U = !d.arrow && u1(A) != null && s != x && L.reference[u] / 2 - (s < b ? n : h) - k[u] / 2 < 0, j = U ? s < b ? s - b : s - E : 0;
8092
8092
  return {
8093
8093
  [a]: r[a] + j,
@@ -8127,11 +8127,11 @@ const n5 = (H) => ({
8127
8127
  return {};
8128
8128
  const y = L1(A), P = L1(e) === e, v = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), T = r || (P || !k ? [g1(e)] : d5(e));
8129
8129
  !r && u !== "none" && T.push(...m5(e, k, u, v));
8130
- const R = [e, ...T], Q = await B1(V, B), I = [];
8130
+ const R = [e, ...T], G = await B1(V, B), I = [];
8131
8131
  let p = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8132
- if (l && I.push(Q[y]), o) {
8132
+ if (l && I.push(G[y]), o) {
8133
8133
  const b = e5(A, i, v);
8134
- I.push(Q[b[0]], Q[b[1]]);
8134
+ I.push(G[b[0]], G[b[1]]);
8135
8135
  }
8136
8136
  if (p = [...p, {
8137
8137
  placement: A,
@@ -8326,7 +8326,7 @@ const u5 = function(H) {
8326
8326
  function C1(H) {
8327
8327
  return M2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8328
8328
  }
8329
- function G(H) {
8329
+ function $(H) {
8330
8330
  var V;
8331
8331
  return (H == null || (V = H.ownerDocument) == null ? void 0 : V.defaultView) || window;
8332
8332
  }
@@ -8335,16 +8335,16 @@ function H1(H) {
8335
8335
  return (V = (M2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8336
8336
  }
8337
8337
  function M2(H) {
8338
- return H instanceof Node || H instanceof G(H).Node;
8338
+ return H instanceof Node || H instanceof $(H).Node;
8339
8339
  }
8340
8340
  function Y(H) {
8341
- return H instanceof Element || H instanceof G(H).Element;
8341
+ return H instanceof Element || H instanceof $(H).Element;
8342
8342
  }
8343
8343
  function q(H) {
8344
- return H instanceof HTMLElement || H instanceof G(H).HTMLElement;
8344
+ return H instanceof HTMLElement || H instanceof $(H).HTMLElement;
8345
8345
  }
8346
8346
  function z1(H) {
8347
- return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof G(H).ShadowRoot;
8347
+ return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof $(H).ShadowRoot;
8348
8348
  }
8349
8349
  function S1(H) {
8350
8350
  const {
@@ -8378,7 +8378,7 @@ function w1(H) {
8378
8378
  return ["html", "body", "#document"].includes(C1(H));
8379
8379
  }
8380
8380
  function z(H) {
8381
- return G(H).getComputedStyle(H);
8381
+ return $(H).getComputedStyle(H);
8382
8382
  }
8383
8383
  function y1(H) {
8384
8384
  return Y(H) ? {
@@ -8408,7 +8408,7 @@ function A2(H) {
8408
8408
  function R1(H, V, C) {
8409
8409
  var M;
8410
8410
  V === void 0 && (V = []), C === void 0 && (C = !0);
8411
- const A = A2(H), L = A === ((M = H.ownerDocument) == null ? void 0 : M.body), i = G(A);
8411
+ const A = A2(H), L = A === ((M = H.ownerDocument) == null ? void 0 : M.body), i = $(A);
8412
8412
  return L ? V.concat(i, i.visualViewport || [], S1(A) ? A : [], i.frameElement && C ? R1(i.frameElement) : []) : V.concat(A, R1(A, [], C));
8413
8413
  }
8414
8414
  function i2(H) {
@@ -8441,14 +8441,14 @@ function A1(H) {
8441
8441
  }
8442
8442
  const O5 = /* @__PURE__ */ J(0);
8443
8443
  function d2(H) {
8444
- const V = G(H);
8444
+ const V = $(H);
8445
8445
  return !W1() || !V.visualViewport ? O5 : {
8446
8446
  x: V.visualViewport.offsetLeft,
8447
8447
  y: V.visualViewport.offsetTop
8448
8448
  };
8449
8449
  }
8450
8450
  function p5(H, V, C) {
8451
- return V === void 0 && (V = !1), !C || V && C !== G(H) ? !1 : V;
8451
+ return V === void 0 && (V = !1), !C || V && C !== $(H) ? !1 : V;
8452
8452
  }
8453
8453
  function r1(H, V, C, M) {
8454
8454
  V === void 0 && (V = !1), C === void 0 && (C = !1);
@@ -8458,11 +8458,11 @@ function r1(H, V, C, M) {
8458
8458
  const e = p5(L, C, M) ? d2(L) : J(0);
8459
8459
  let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, l = A.width / i.x, o = A.height / i.y;
8460
8460
  if (L) {
8461
- const r = G(L), a = M && Y(M) ? G(M) : M;
8461
+ const r = $(L), a = M && Y(M) ? $(M) : M;
8462
8462
  let u = r.frameElement;
8463
8463
  for (; u && M && a !== r; ) {
8464
8464
  const k = A1(u), B = u.getBoundingClientRect(), y = z(u), P = B.left + (u.clientLeft + parseFloat(y.paddingLeft)) * k.x, v = B.top + (u.clientTop + parseFloat(y.paddingTop)) * k.y;
8465
- d *= k.x, t *= k.y, l *= k.x, o *= k.y, d += P, t += v, u = G(u).frameElement;
8465
+ d *= k.x, t *= k.y, l *= k.x, o *= k.y, d += P, t += v, u = $(u).frameElement;
8466
8466
  }
8467
8467
  }
8468
8468
  return k1({
@@ -8515,7 +8515,7 @@ function g5(H) {
8515
8515
  };
8516
8516
  }
8517
8517
  function k5(H, V) {
8518
- const C = G(H), M = H1(H), A = C.visualViewport;
8518
+ const C = $(H), M = H1(H), A = C.visualViewport;
8519
8519
  let L = M.clientWidth, i = M.clientHeight, e = 0, d = 0;
8520
8520
  if (A) {
8521
8521
  L = A.width, i = A.height;
@@ -8618,7 +8618,7 @@ function q1(H, V) {
8618
8618
  return !q(H) || z(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8619
8619
  }
8620
8620
  function l2(H, V) {
8621
- const C = G(H);
8621
+ const C = $(H);
8622
8622
  if (!q(H))
8623
8623
  return C;
8624
8624
  let M = q1(H, V);
@@ -8759,8 +8759,8 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8759
8759
  C.triggers.includes(X.Hover) && u();
8760
8760
  }
8761
8761
  function u(B) {
8762
- const { placement: y, offset: P, padding: v, disabled: T, showDelay: R, type: Q } = C;
8763
- T || x5(A, L, i, y, P, v, R, Q);
8762
+ const { placement: y, offset: P, padding: v, disabled: T, showDelay: R, type: G } = C;
8763
+ T || x5(A, L, i, y, P, v, R, G);
8764
8764
  }
8765
8765
  const k = g(() => ({
8766
8766
  "r-tooltip": !0,
@@ -8959,7 +8959,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8959
8959
  var h;
8960
8960
  return !n || (n == null ? void 0 : n.value) === void 0 || (n == null ? void 0 : n.value) === null ? !1 : C.multiple ? L.value.find((b) => (b == null ? void 0 : b.value) === (n == null ? void 0 : n.value)) : ((h = A.value) == null ? void 0 : h.value) === (n == null ? void 0 : n.value);
8961
8961
  }
8962
- const R = g(() => !C.searchable || A.value.label === e.value ? t.value : t.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), Q = g(() => !C.searchable);
8962
+ const R = g(() => !C.searchable || A.value.label === e.value ? t.value : t.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), G = g(() => !C.searchable);
8963
8963
  function I() {
8964
8964
  l.value ? C.multiple ? L.value = l.value : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
8965
8965
  }
@@ -8975,9 +8975,9 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8975
8975
  }
8976
8976
  return X1(() => {
8977
8977
  I(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
8978
- }), $(L, (n) => {
8978
+ }), Q(L, (n) => {
8979
8979
  M("update:modelValue", n);
8980
- }), $(() => l.value, (n) => {
8980
+ }), Q(() => l.value, (n) => {
8981
8981
  I();
8982
8982
  }), (n, h) => (m(), Z("div", {
8983
8983
  ref_key: "wrapper",
@@ -9057,7 +9057,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9057
9057
  }]),
9058
9058
  disabled: C.disabled,
9059
9059
  placeholder: C.placeholder,
9060
- readonly: Q.value,
9060
+ readonly: G.value,
9061
9061
  role: "presentation",
9062
9062
  type: "text",
9063
9063
  onInput: o1((s) => p(E), ["prevent"]),
@@ -9316,7 +9316,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9316
9316
  emits: ["action", "update:modelValue"],
9317
9317
  setup(H, { emit: V }) {
9318
9318
  const C = H, M = V;
9319
- $(
9319
+ Q(
9320
9320
  () => C.modelValue,
9321
9321
  () => {
9322
9322
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9404,7 +9404,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9404
9404
  function i(e) {
9405
9405
  C.disabled || (A.checked = e.target.checked, M("update:modelValue", A.checked));
9406
9406
  }
9407
- return $(
9407
+ return Q(
9408
9408
  () => C.modelValue,
9409
9409
  (e) => {
9410
9410
  A.checked = e;
@@ -9465,7 +9465,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9465
9465
  block: { type: Boolean, default: !1 },
9466
9466
  color: { default: "" }
9467
9467
  },
9468
- emits: ["update:modelValue", "click:icon"],
9468
+ emits: ["update:modelValue"],
9469
9469
  setup(H, { emit: V }) {
9470
9470
  const C = H, M = V, A = g(() => ({
9471
9471
  "r-tab-item": !0,
@@ -9474,20 +9474,20 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9474
9474
  "r-tab-item--block": C.block
9475
9475
  })), L = g(() => ({
9476
9476
  color: C.color
9477
- }));
9478
- function i(e) {
9479
- M("update:modelValue", e);
9477
+ })), i = g(() => C.modelValue === C.id);
9478
+ function e(d) {
9479
+ M("update:modelValue", d);
9480
9480
  }
9481
- return (e, d) => (m(), Z("button", {
9481
+ return (d, t) => (m(), Z("button", {
9482
9482
  "aria-disabled": C.disabled,
9483
- "aria-selected": C.modelValue === C.id,
9483
+ "aria-selected": i.value,
9484
9484
  class: c(A.value),
9485
9485
  disabled: C.disabled,
9486
9486
  style: x1(L.value),
9487
- onClick: d[0] || (d[0] = o1((t) => i(C.id), ["stop"]))
9487
+ onClick: t[0] || (t[0] = o1((l) => e(C.id), ["stop"]))
9488
9488
  }, [
9489
- O(e.$slots, "prepend", {
9490
- active: C.modelValue === C.id,
9489
+ O(d.$slots, "prepend", {
9490
+ active: i.value,
9491
9491
  disabled: C.disabled
9492
9492
  }, () => [
9493
9493
  C.variant !== V1(m1).TEXT && C.prependIcon ? (m(), _(D, {
@@ -9498,14 +9498,14 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9498
9498
  }, null, 8, ["name"])) : f("", !0)
9499
9499
  ]),
9500
9500
  C.variant !== V1(m1).ICON ? (m(), Z("span", S3, [
9501
- O(e.$slots, "default", {
9501
+ O(d.$slots, "default", {
9502
9502
  label: C.label
9503
9503
  }, () => [
9504
9504
  Z1(w(C.label), 1)
9505
9505
  ])
9506
9506
  ])) : f("", !0),
9507
- O(e.$slots, "append", {
9508
- active: C.modelValue === C.id,
9507
+ O(d.$slots, "append", {
9508
+ active: i.value,
9509
9509
  disabled: C.disabled
9510
9510
  }, () => [
9511
9511
  C.variant !== V1(m1).TEXT && C.appendIcon ? (m(), _(D, {
@@ -9532,11 +9532,19 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9532
9532
  "r-tabs": !0,
9533
9533
  "r-tabs--tile": C.tile
9534
9534
  }));
9535
- return $(
9535
+ return Q(
9536
9536
  () => A.value,
9537
9537
  () => {
9538
9538
  M("update:modelValue", A.value);
9539
9539
  }
9540
+ ), Q(
9541
+ () => C.modelValue,
9542
+ () => {
9543
+ A.value = C.modelValue;
9544
+ },
9545
+ {
9546
+ immediate: !0
9547
+ }
9540
9548
  ), (i, e) => (m(), Z("div", {
9541
9549
  class: c(L.value)
9542
9550
  }, [
@@ -9595,7 +9603,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9595
9603
  function L(i) {
9596
9604
  M("update:modelValue", i.target.value);
9597
9605
  }
9598
- return $(
9606
+ return Q(
9599
9607
  () => C.modelValue,
9600
9608
  (i) => {
9601
9609
  A.value = i;
@@ -9723,16 +9731,16 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9723
9731
  }
9724
9732
  M("click:icon", {
9725
9733
  value: i.value === "number" ? +L.value : L.value
9726
- }), C.type === "password" && Q();
9734
+ }), C.type === "password" && G();
9727
9735
  }
9728
- function Q() {
9736
+ function G() {
9729
9737
  i.value = i.value === "password" ? "text" : "password";
9730
9738
  }
9731
9739
  function I() {
9732
9740
  var p;
9733
9741
  (p = A.value) == null || p.focus();
9734
9742
  }
9735
- return $(
9743
+ return Q(
9736
9744
  () => C.modelValue,
9737
9745
  (p) => {
9738
9746
  L.value = p;
@@ -9740,7 +9748,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9740
9748
  {
9741
9749
  immediate: !0
9742
9750
  }
9743
- ), $(
9751
+ ), Q(
9744
9752
  () => L.value,
9745
9753
  (p) => {
9746
9754
  M(
@@ -9901,7 +9909,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9901
9909
  start: C.page * C.perPage - C.perPage,
9902
9910
  end: C.page * C.perPage
9903
9911
  }));
9904
- $(() => i.value, () => {
9912
+ Q(() => i.value, () => {
9905
9913
  M("update:info", i.value);
9906
9914
  });
9907
9915
  function e(t) {
@@ -10055,7 +10063,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
10055
10063
  function t() {
10056
10064
  return C.disabled;
10057
10065
  }
10058
- return s1(`${O1}:isDisabled`, t), $(() => C.modelValue, () => {
10066
+ return s1(`${O1}:isDisabled`, t), Q(() => C.modelValue, () => {
10059
10067
  L.value = C.modelValue;
10060
10068
  }), (l, o) => (m(), _(h2(A.value), null, {
10061
10069
  default: f1(() => [