@rocketui/vue 0.2.64 → 0.2.66
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 +16 -0
- package/dist/rocket-ui-vue.js +24 -18
- 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
|
@@ -1416,6 +1416,14 @@ declare interface ModalProps {
|
|
|
1416
1416
|
* <Modal :modelValue="true" :outsideClick="true" />
|
|
1417
1417
|
*/
|
|
1418
1418
|
outsideClick?: boolean;
|
|
1419
|
+
/**
|
|
1420
|
+
* Remove padding and gap from the modal
|
|
1421
|
+
* @type boolean
|
|
1422
|
+
* @default false
|
|
1423
|
+
* @example
|
|
1424
|
+
* <Modal :modelValue="true" :clearContent="true" />
|
|
1425
|
+
*/
|
|
1426
|
+
clearContent?: boolean;
|
|
1419
1427
|
/**
|
|
1420
1428
|
* Class of the Modal
|
|
1421
1429
|
* @type string
|
|
@@ -2046,6 +2054,7 @@ declare interface Props_7 {
|
|
|
2046
2054
|
hint?: string;
|
|
2047
2055
|
errorMsg?: string;
|
|
2048
2056
|
title?: string;
|
|
2057
|
+
value?: string;
|
|
2049
2058
|
}
|
|
2050
2059
|
|
|
2051
2060
|
export declare const RAccordion: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<AccordionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionProps>>>, {}, {}>, {
|
|
@@ -2546,6 +2555,7 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
|
|
|
2546
2555
|
width: string;
|
|
2547
2556
|
height: string;
|
|
2548
2557
|
outsideClick: boolean;
|
|
2558
|
+
clearContent: boolean;
|
|
2549
2559
|
class: string;
|
|
2550
2560
|
overlayClass: string;
|
|
2551
2561
|
style: string;
|
|
@@ -2561,6 +2571,7 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
|
|
|
2561
2571
|
width: string;
|
|
2562
2572
|
height: string;
|
|
2563
2573
|
outsideClick: boolean;
|
|
2574
|
+
clearContent: boolean;
|
|
2564
2575
|
class: string;
|
|
2565
2576
|
overlayClass: string;
|
|
2566
2577
|
style: string;
|
|
@@ -2578,9 +2589,11 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
|
|
|
2578
2589
|
height: string;
|
|
2579
2590
|
description: string;
|
|
2580
2591
|
icon: string;
|
|
2592
|
+
clearContent: boolean;
|
|
2581
2593
|
overlayClass: string | string[];
|
|
2582
2594
|
allowBodyScroll: boolean;
|
|
2583
2595
|
}, {}>, {
|
|
2596
|
+
wrapper?(_: {}): any;
|
|
2584
2597
|
header?(_: {}): any;
|
|
2585
2598
|
default?(_: {}): any;
|
|
2586
2599
|
actions?(_: {}): any;
|
|
@@ -2645,6 +2658,7 @@ export declare const RRadio: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePro
|
|
|
2645
2658
|
hint: string;
|
|
2646
2659
|
errorMsg: string;
|
|
2647
2660
|
title: string;
|
|
2661
|
+
value: string;
|
|
2648
2662
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2649
2663
|
"update:modelValue": (...args: any[]) => void;
|
|
2650
2664
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<Props_7>, {
|
|
@@ -2656,6 +2670,7 @@ export declare const RRadio: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePro
|
|
|
2656
2670
|
hint: string;
|
|
2657
2671
|
errorMsg: string;
|
|
2658
2672
|
title: string;
|
|
2673
|
+
value: string;
|
|
2659
2674
|
}>>> & {
|
|
2660
2675
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2661
2676
|
}, {
|
|
@@ -2667,6 +2682,7 @@ export declare const RRadio: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePro
|
|
|
2667
2682
|
hint: string;
|
|
2668
2683
|
errorMsg: string;
|
|
2669
2684
|
title: string;
|
|
2685
|
+
value: string;
|
|
2670
2686
|
}, {}>;
|
|
2671
2687
|
|
|
2672
2688
|
export declare const RSidebar: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<RSidebarProps>, {
|
package/dist/rocket-ui-vue.js
CHANGED
|
@@ -9273,6 +9273,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9273
9273
|
width: { default: "" },
|
|
9274
9274
|
height: { default: "" },
|
|
9275
9275
|
outsideClick: { type: Boolean, default: !1 },
|
|
9276
|
+
clearContent: { type: Boolean, default: !1 },
|
|
9276
9277
|
class: { default: "" },
|
|
9277
9278
|
overlayClass: { default: "" },
|
|
9278
9279
|
style: { default: "" },
|
|
@@ -9283,6 +9284,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9283
9284
|
const C = H, M = V, i = g(() => ({
|
|
9284
9285
|
"r-dialog": !0,
|
|
9285
9286
|
"r-dialog--block": C.block,
|
|
9287
|
+
"p-0 gap-0": C.clearContent,
|
|
9286
9288
|
[`${C.class}`]: !0
|
|
9287
9289
|
})), L = g(() => ({
|
|
9288
9290
|
width: C.width,
|
|
@@ -9306,21 +9308,23 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9306
9308
|
role: "dialog",
|
|
9307
9309
|
style: I1(L.value)
|
|
9308
9310
|
}, [
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9311
|
+
f(e.$slots, "wrapper", {}, () => [
|
|
9312
|
+
u("div", m3, [
|
|
9313
|
+
f(e.$slots, "header"),
|
|
9314
|
+
C.icon ? (m(), r("div", l3, [
|
|
9315
|
+
q(D, {
|
|
9316
|
+
name: C.icon
|
|
9317
|
+
}, null, 8, ["name"])
|
|
9318
|
+
])) : O("", !0),
|
|
9319
|
+
C.title ? (m(), r("div", o3, w(C.title), 1)) : O("", !0),
|
|
9320
|
+
C.description ? (m(), r("div", n3, w(C.description), 1)) : O("", !0)
|
|
9321
|
+
]),
|
|
9322
|
+
u("div", r3, [
|
|
9323
|
+
f(e.$slots, "default")
|
|
9324
|
+
]),
|
|
9325
|
+
u("div", a3, [
|
|
9326
|
+
f(e.$slots, "actions")
|
|
9327
|
+
])
|
|
9324
9328
|
])
|
|
9325
9329
|
], 14, t3)
|
|
9326
9330
|
], 10, d3)), [
|
|
@@ -10174,7 +10178,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
10174
10178
|
toggle: e
|
|
10175
10179
|
});
|
|
10176
10180
|
}
|
|
10177
|
-
}), m0 = ["id", "checked", "disabled", "name"], l0 = { class: "flex flex-col" }, o0 = {
|
|
10181
|
+
}), m0 = ["id", "checked", "disabled", "name", "value"], l0 = { class: "flex flex-col" }, o0 = {
|
|
10178
10182
|
key: 1,
|
|
10179
10183
|
class: "r-radio__error"
|
|
10180
10184
|
}, P0 = /* @__PURE__ */ x({
|
|
@@ -10187,7 +10191,8 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
10187
10191
|
label: { default: "" },
|
|
10188
10192
|
hint: { default: "" },
|
|
10189
10193
|
errorMsg: { default: "" },
|
|
10190
|
-
title: { default: "" }
|
|
10194
|
+
title: { default: "" },
|
|
10195
|
+
value: { default: "" }
|
|
10191
10196
|
},
|
|
10192
10197
|
emits: ["update:modelValue"],
|
|
10193
10198
|
setup(H) {
|
|
@@ -10210,7 +10215,8 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
10210
10215
|
disabled: V.disabled,
|
|
10211
10216
|
name: V.name,
|
|
10212
10217
|
type: "radio",
|
|
10213
|
-
|
|
10218
|
+
value: V.value,
|
|
10219
|
+
onChange: L[0] || (L[0] = (A) => i.$emit("update:modelValue"))
|
|
10214
10220
|
}), null, 16, m0),
|
|
10215
10221
|
u("span", {
|
|
10216
10222
|
class: p(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
|