@rocketui/vue 0.2.61 → 0.2.62

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.
@@ -2083,11 +2083,11 @@ export declare const RAlert: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_Wit
2083
2083
  onClose?: ((...args: any[]) => any) | undefined;
2084
2084
  }, {
2085
2085
  title: string;
2086
- type: "success" | "error" | "warning" | "info";
2086
+ type: "error" | "success" | "warning" | "info";
2087
+ block: boolean;
2087
2088
  variant: "solid" | "outline" | "ghost";
2088
2089
  description: string;
2089
2090
  closable: boolean;
2090
- block: boolean;
2091
2091
  }, {}>, {
2092
2092
  "alert-icon"?(_: {}): any;
2093
2093
  content?(_: {}): any;
@@ -2148,11 +2148,11 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
2148
2148
  onClick?: ((...args: any[]) => any) | undefined;
2149
2149
  }, {
2150
2150
  class: string | string[];
2151
+ hover: boolean;
2152
+ placement: "bottom" | "left" | "right";
2151
2153
  content: string;
2152
- variant: "success" | "error" | "warning" | "primary" | "neutral";
2153
- placement: "right" | "bottom" | "left";
2154
+ variant: "error" | "success" | "warning" | "primary" | "neutral";
2154
2155
  overlap: boolean;
2155
- hover: boolean;
2156
2156
  outside: boolean;
2157
2157
  animation: boolean;
2158
2158
  contentClass: string | string[];
@@ -2207,10 +2207,10 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_Wi
2207
2207
  onClick?: ((...args: any[]) => any) | undefined;
2208
2208
  }, {
2209
2209
  disabled: boolean;
2210
+ block: boolean;
2210
2211
  height: string;
2211
2212
  size: ButtonSize;
2212
2213
  variant: ButtonType;
2213
- block: boolean;
2214
2214
  icon: boolean;
2215
2215
  loading: boolean;
2216
2216
  prependIcon: string;
@@ -2285,7 +2285,7 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
2285
2285
  disabled: boolean;
2286
2286
  label: string | number;
2287
2287
  ghost: boolean;
2288
- variant: "success" | "error" | "warning" | "info" | "primary" | "secondary";
2288
+ variant: "error" | "success" | "warning" | "info" | "primary" | "secondary";
2289
2289
  prependIcon: string;
2290
2290
  appendIcon: string;
2291
2291
  clearable: boolean;
@@ -2366,13 +2366,13 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2366
2366
  modelValue: any;
2367
2367
  disabled: boolean;
2368
2368
  errorMsg: string;
2369
+ options: any;
2370
+ tooltipClass: string;
2369
2371
  loading: boolean;
2370
2372
  prependIcon: string;
2371
2373
  appendIcon: string;
2372
2374
  hideDetails: boolean;
2373
2375
  clearable: boolean;
2374
- options: any;
2375
- tooltipClass: string;
2376
2376
  placeholder: string;
2377
2377
  chips: boolean;
2378
2378
  multiple: boolean;
@@ -2572,12 +2572,12 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
2572
2572
  title: string;
2573
2573
  style: string;
2574
2574
  class: string | string[];
2575
+ outsideClick: boolean;
2576
+ block: boolean;
2575
2577
  width: string;
2576
2578
  height: string;
2577
2579
  description: string;
2578
- block: boolean;
2579
2580
  icon: string;
2580
- outsideClick: boolean;
2581
2581
  overlayClass: string | string[];
2582
2582
  allowBodyScroll: boolean;
2583
2583
  }, {}>, {
@@ -2632,8 +2632,8 @@ export declare const RProgressbar: DefineComponent<__VLS_WithDefaults_21<__VLS_T
2632
2632
  value: number;
2633
2633
  height: number;
2634
2634
  }>>>, {
2635
- height: number;
2636
2635
  value: number;
2636
+ height: number;
2637
2637
  }, {}>;
2638
2638
 
2639
2639
  export declare const RRadio: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<Props_7>, {
@@ -2720,8 +2720,8 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<__VLS
2720
2720
  }, {
2721
2721
  modelValue: boolean;
2722
2722
  text: string;
2723
- closable: boolean;
2724
2723
  left: boolean;
2724
+ closable: boolean;
2725
2725
  timeout: number;
2726
2726
  }, {}>, {
2727
2727
  icon?(_: {}): any;
@@ -2788,8 +2788,8 @@ export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_
2788
2788
  disabled: boolean;
2789
2789
  label: string;
2790
2790
  color: string;
2791
- variant: TabItemVariant;
2792
2791
  block: boolean;
2792
+ variant: TabItemVariant;
2793
2793
  prependIcon: string;
2794
2794
  appendIcon: string;
2795
2795
  tile: boolean;
@@ -2921,12 +2921,12 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
2921
2921
  hint: string;
2922
2922
  errorMsg: string;
2923
2923
  type: "number" | "text" | "email" | "password" | "tel" | "url";
2924
+ role: string;
2924
2925
  loading: boolean;
2925
2926
  prependIcon: string;
2926
2927
  appendIcon: string;
2927
2928
  hideDetails: boolean;
2928
2929
  clearable: boolean;
2929
- role: string;
2930
2930
  placeholder: string;
2931
2931
  readonly: boolean;
2932
2932
  }, {}>, {
@@ -7316,7 +7316,7 @@ const b2 = {
7316
7316
  }, null, 8, v2)
7317
7317
  ], 8, w2));
7318
7318
  }
7319
- }), y2 = ["data-state"], P2 = ["onClick"], T2 = { class: "r-accordion__title" }, F2 = { class: "r-accordion__icon" }, R2 = { class: "r-accordion__content" }, a0 = /* @__PURE__ */ x({
7319
+ }), y2 = ["data-state"], P2 = ["onClick"], T2 = { class: "r-accordion__title" }, F2 = { class: "r-accordion__icon" }, R2 = { class: "r-accordion__content" }, r0 = /* @__PURE__ */ x({
7320
7320
  __name: "RAccordion",
7321
7321
  props: {
7322
7322
  accordions: {}
@@ -7370,7 +7370,7 @@ const b2 = {
7370
7370
  }, W2 = {
7371
7371
  key: 0,
7372
7372
  class: "r-alert__close"
7373
- }, Z0 = /* @__PURE__ */ x({
7373
+ }, a0 = /* @__PURE__ */ x({
7374
7374
  __name: "RAlert",
7375
7375
  props: {
7376
7376
  type: { default: "info" },
@@ -7428,7 +7428,7 @@ const b2 = {
7428
7428
  ])) : O("", !0)
7429
7429
  ], 2));
7430
7430
  }
7431
- }), K1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", N2 = { class: "r-avatar__wrapper" }, I2 = ["alt", "src"], u0 = /* @__PURE__ */ x({
7431
+ }), K1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", N2 = { class: "r-avatar__wrapper" }, I2 = ["alt", "src"], Z0 = /* @__PURE__ */ x({
7432
7432
  __name: "RAvatar",
7433
7433
  props: {
7434
7434
  type: { default: "image" },
@@ -7472,7 +7472,7 @@ const b2 = {
7472
7472
  }, null, 2)) : O("", !0)
7473
7473
  ]));
7474
7474
  }
7475
- }), Q2 = ["innerHTML"], S0 = /* @__PURE__ */ x({
7475
+ }), Q2 = ["innerHTML"], u0 = /* @__PURE__ */ x({
7476
7476
  __name: "RBadge",
7477
7477
  props: {
7478
7478
  variant: { default: "primary" },
@@ -7511,7 +7511,7 @@ const b2 = {
7511
7511
  f(M.$slots, "default")
7512
7512
  ], 2));
7513
7513
  }
7514
- }), G2 = ["disabled"], s0 = /* @__PURE__ */ x({
7514
+ }), G2 = ["disabled"], S0 = /* @__PURE__ */ x({
7515
7515
  __name: "RButton",
7516
7516
  props: {
7517
7517
  variant: { default: "default" },
@@ -7582,7 +7582,7 @@ const b2 = {
7582
7582
  }, J2 = {
7583
7583
  key: 1,
7584
7584
  class: "r-checkbox-texts__hint"
7585
- }, c0 = /* @__PURE__ */ x({
7585
+ }, s0 = /* @__PURE__ */ x({
7586
7586
  __name: "RCheckbox",
7587
7587
  props: {
7588
7588
  id: { default: "" },
@@ -9262,7 +9262,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9262
9262
  }, n3 = {
9263
9263
  key: 2,
9264
9264
  class: "description"
9265
- }, r3 = { class: "r-dialog__body" }, a3 = { class: "r-dialog__actions" }, p0 = /* @__PURE__ */ x({
9265
+ }, r3 = { class: "r-dialog__body" }, a3 = { class: "r-dialog__actions" }, c0 = /* @__PURE__ */ x({
9266
9266
  __name: "RModal",
9267
9267
  props: {
9268
9268
  modelValue: { type: Boolean, default: !1 },
@@ -9327,7 +9327,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9327
9327
  [g2, e.modelValue]
9328
9328
  ]);
9329
9329
  }
9330
- }), Z3 = ["data-open"], u3 = ["data-open"], S3 = ["data-open"], O0 = /* @__PURE__ */ x({
9330
+ }), Z3 = ["data-open"], u3 = ["data-open"], S3 = ["data-open"], p0 = /* @__PURE__ */ x({
9331
9331
  __name: "RSidebar",
9332
9332
  props: {
9333
9333
  modelValue: { type: Boolean, default: !1 },
@@ -9365,7 +9365,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9365
9365
  ], 10, S3)) : O("", !0)
9366
9366
  ], 10, Z3));
9367
9367
  }
9368
- }), s3 = { class: "r-snackbar__text" }, f0 = /* @__PURE__ */ x({
9368
+ }), s3 = { class: "r-snackbar__text" }, O0 = /* @__PURE__ */ x({
9369
9369
  __name: "RSnackbar",
9370
9370
  props: {
9371
9371
  modelValue: { type: Boolean, default: !1 },
@@ -9441,7 +9441,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9441
9441
  }, g3 = {
9442
9442
  key: 1,
9443
9443
  class: "r-switch-texts__hint"
9444
- }, h0 = /* @__PURE__ */ x({
9444
+ }, f0 = /* @__PURE__ */ x({
9445
9445
  __name: "RSwitch",
9446
9446
  props: {
9447
9447
  id: { default: "switch" },
@@ -9580,7 +9580,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9580
9580
  ])
9581
9581
  ], 14, k3));
9582
9582
  }
9583
- }), g0 = /* @__PURE__ */ x({
9583
+ }), h0 = /* @__PURE__ */ x({
9584
9584
  __name: "RTabs",
9585
9585
  props: {
9586
9586
  tabs: { default: () => [] },
@@ -9646,7 +9646,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9646
9646
  }, T3 = {
9647
9647
  key: 1,
9648
9648
  class: "r-textarea__hint"
9649
- }, k0 = /* @__PURE__ */ x({
9649
+ }, g0 = /* @__PURE__ */ x({
9650
9650
  __name: "RTextArea",
9651
9651
  props: {
9652
9652
  id: { default: "" },
@@ -9707,7 +9707,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9707
9707
  }, E3 = {
9708
9708
  key: 1,
9709
9709
  class: "r-textfield__hint"
9710
- }, B0 = /* @__PURE__ */ x({
9710
+ }, k0 = /* @__PURE__ */ x({
9711
9711
  __name: "RTextfield",
9712
9712
  props: {
9713
9713
  id: { default: "" },
@@ -9890,7 +9890,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9890
9890
  }), W3 = { class: "r-breadcrumb" }, N3 = {
9891
9891
  key: 0,
9892
9892
  class: "r-breadcrumb__title"
9893
- }, b0 = /* @__PURE__ */ x({
9893
+ }, B0 = /* @__PURE__ */ x({
9894
9894
  __name: "RBreadcrumb",
9895
9895
  props: {
9896
9896
  items: { default: () => [] },
@@ -9961,7 +9961,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9961
9961
  i0,
9962
9962
  A0,
9963
9963
  e0
9964
- ], w0 = /* @__PURE__ */ x({
9964
+ ], b0 = /* @__PURE__ */ x({
9965
9965
  __name: "RPagination",
9966
9966
  props: {
9967
9967
  page: { default: 1 },
@@ -10096,7 +10096,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10096
10096
  ])
10097
10097
  ], 2));
10098
10098
  }
10099
- }), t0 = ["value"], v0 = /* @__PURE__ */ x({
10099
+ }), t0 = ["value"], w0 = /* @__PURE__ */ x({
10100
10100
  __name: "RProgressbar",
10101
10101
  props: {
10102
10102
  value: { default: 0 },
@@ -10113,7 +10113,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10113
10113
  value: V.value
10114
10114
  }, null, 12, t0));
10115
10115
  }
10116
- }), h1 = "rocket-ui:r-item-group", y0 = /* @__PURE__ */ x({
10116
+ }), h1 = "rocket-ui:r-item-group", v0 = /* @__PURE__ */ x({
10117
10117
  __name: "RItemGroup",
10118
10118
  props: {
10119
10119
  modelValue: { default: () => [] },
@@ -10152,7 +10152,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10152
10152
  _: 3
10153
10153
  }));
10154
10154
  }
10155
- }), g1 = "rocket-ui:r-item-group", P0 = /* @__PURE__ */ x({
10155
+ }), g1 = "rocket-ui:r-item-group", y0 = /* @__PURE__ */ x({
10156
10156
  __name: "RItem",
10157
10157
  props: {
10158
10158
  value: { default: null },
@@ -10174,10 +10174,10 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10174
10174
  toggle: e
10175
10175
  });
10176
10176
  }
10177
- }), m0 = ["id", "checked", "disabled", "name"], l0 = ["for"], o0 = { class: "flex flex-col" }, n0 = {
10177
+ }), m0 = ["id", "checked", "disabled", "name"], l0 = { class: "flex flex-col" }, o0 = {
10178
10178
  key: 1,
10179
10179
  class: "r-radio__error"
10180
- }, T0 = /* @__PURE__ */ x({
10180
+ }, P0 = /* @__PURE__ */ x({
10181
10181
  __name: "RRadio",
10182
10182
  props: {
10183
10183
  id: { default: "radio-id" },
@@ -10210,55 +10210,55 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10210
10210
  disabled: V.disabled,
10211
10211
  name: V.name,
10212
10212
  type: "radio",
10213
- onInput: L[0] || (L[0] = (A) => i.$emit("update:modelValue", !C.value))
10213
+ onInput: L[0] || (L[0] = (A) => i.$emit("update:modelValue"))
10214
10214
  }), null, 16, m0),
10215
- u("label", {
10215
+ u("span", {
10216
10216
  class: p(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
10217
- for: V.id
10217
+ onClick: L[1] || (L[1] = (A) => i.$emit("update:modelValue"))
10218
10218
  }, [
10219
10219
  u("span", {
10220
10220
  class: p(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])
10221
10221
  }, null, 2),
10222
- u("div", o0, [
10222
+ u("div", l0, [
10223
10223
  V.title ? (m(), r("span", {
10224
10224
  key: 0,
10225
10225
  class: p(["r-radio__title", [V.errorMsg && "r-radio__title--error", V.disabled && "r-radio__title--disabled"]])
10226
10226
  }, w(V.title), 3)) : O("", !0),
10227
10227
  u("span", null, w(V.label), 1)
10228
10228
  ])
10229
- ], 10, l0),
10229
+ ], 2),
10230
10230
  V.hint && !V.errorMsg ? (m(), r("span", {
10231
10231
  key: 0,
10232
10232
  class: p(["r-radio__hint", [V.disabled && "r-radio__hint--disabled"]])
10233
10233
  }, w(V.hint), 3)) : O("", !0),
10234
- V.errorMsg ? (m(), r("span", n0, w(V.errorMsg), 1)) : O("", !0)
10234
+ V.errorMsg ? (m(), r("span", o0, w(V.errorMsg), 1)) : O("", !0)
10235
10235
  ], 2));
10236
10236
  }
10237
10237
  });
10238
10238
  export {
10239
- a0 as RAccordion,
10240
- Z0 as RAlert,
10241
- u0 as RAvatar,
10242
- S0 as RBadge,
10243
- b0 as RBreadcrumb,
10244
- s0 as RButton,
10245
- c0 as RCheckbox,
10239
+ r0 as RAccordion,
10240
+ a0 as RAlert,
10241
+ Z0 as RAvatar,
10242
+ u0 as RBadge,
10243
+ B0 as RBreadcrumb,
10244
+ S0 as RButton,
10245
+ s0 as RCheckbox,
10246
10246
  C5 as RChip,
10247
10247
  A3 as RDropdown,
10248
10248
  D as RIcon,
10249
- P0 as RItem,
10250
- y0 as RItemGroup,
10249
+ y0 as RItem,
10250
+ v0 as RItemGroup,
10251
10251
  S2 as RLabel,
10252
- p0 as RModal,
10253
- w0 as RPagination,
10254
- v0 as RProgressbar,
10255
- T0 as RRadio,
10256
- O0 as RSidebar,
10257
- f0 as RSnackbar,
10258
- h0 as RSwitch,
10252
+ c0 as RModal,
10253
+ b0 as RPagination,
10254
+ w0 as RProgressbar,
10255
+ P0 as RRadio,
10256
+ p0 as RSidebar,
10257
+ O0 as RSnackbar,
10258
+ f0 as RSwitch,
10259
10259
  b3 as RTabItem,
10260
- g0 as RTabs,
10261
- k0 as RTextArea,
10262
- B0 as RTextfield,
10260
+ h0 as RTabs,
10261
+ g0 as RTextArea,
10262
+ k0 as RTextfield,
10263
10263
  G5 as RTooltip
10264
10264
  };