@rocketui/vue 0.2.64-beta → 0.2.64-beta-3
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 +10 -12
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/rocket-ui-vue.d.ts
CHANGED
|
@@ -2046,6 +2046,7 @@ declare interface Props_7 {
|
|
|
2046
2046
|
hint?: string;
|
|
2047
2047
|
errorMsg?: string;
|
|
2048
2048
|
title?: string;
|
|
2049
|
+
value?: string;
|
|
2049
2050
|
}
|
|
2050
2051
|
|
|
2051
2052
|
export declare const RAccordion: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<AccordionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionProps>>>, {}, {}>, {
|
|
@@ -2645,6 +2646,7 @@ export declare const RRadio: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePro
|
|
|
2645
2646
|
hint: string;
|
|
2646
2647
|
errorMsg: string;
|
|
2647
2648
|
title: string;
|
|
2649
|
+
value: string;
|
|
2648
2650
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2649
2651
|
"update:modelValue": (...args: any[]) => void;
|
|
2650
2652
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<Props_7>, {
|
|
@@ -2656,6 +2658,7 @@ export declare const RRadio: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePro
|
|
|
2656
2658
|
hint: string;
|
|
2657
2659
|
errorMsg: string;
|
|
2658
2660
|
title: string;
|
|
2661
|
+
value: string;
|
|
2659
2662
|
}>>> & {
|
|
2660
2663
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2661
2664
|
}, {
|
|
@@ -2667,6 +2670,7 @@ export declare const RRadio: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePro
|
|
|
2667
2670
|
hint: string;
|
|
2668
2671
|
errorMsg: string;
|
|
2669
2672
|
title: string;
|
|
2673
|
+
value: string;
|
|
2670
2674
|
}, {}>;
|
|
2671
2675
|
|
|
2672
2676
|
export declare const RSidebar: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<RSidebarProps>, {
|
package/dist/rocket-ui-vue.js
CHANGED
|
@@ -10174,7 +10174,7 @@ 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 = { class: "flex flex-col" }, o0 = {
|
|
10177
|
+
}), m0 = ["id", "checked", "disabled", "name", "value"], l0 = { class: "flex flex-col" }, o0 = {
|
|
10178
10178
|
key: 1,
|
|
10179
10179
|
class: "r-radio__error"
|
|
10180
10180
|
}, P0 = /* @__PURE__ */ x({
|
|
@@ -10187,7 +10187,8 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
10187
10187
|
label: { default: "" },
|
|
10188
10188
|
hint: { default: "" },
|
|
10189
10189
|
errorMsg: { default: "" },
|
|
10190
|
-
title: { default: "" }
|
|
10190
|
+
title: { default: "" },
|
|
10191
|
+
value: { default: "" }
|
|
10191
10192
|
},
|
|
10192
10193
|
emits: ["update:modelValue"],
|
|
10193
10194
|
setup(H) {
|
|
@@ -10198,27 +10199,24 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
10198
10199
|
"r-radio--error": V.errorMsg
|
|
10199
10200
|
}
|
|
10200
10201
|
]);
|
|
10201
|
-
G(() => V.modelValue, (
|
|
10202
|
-
C.value =
|
|
10203
|
-
}, { immediate: !0,
|
|
10204
|
-
function i() {
|
|
10205
|
-
C.value = !C.value, emit("update:modelValue", C.value);
|
|
10206
|
-
}
|
|
10207
|
-
return (L, A) => (m(), r("div", {
|
|
10202
|
+
return G(() => V.modelValue, (i) => {
|
|
10203
|
+
C.value = i;
|
|
10204
|
+
}, { immediate: !0 }), (i, L) => (m(), r("div", {
|
|
10208
10205
|
class: p(M.value)
|
|
10209
10206
|
}, [
|
|
10210
|
-
u("input", N1(
|
|
10207
|
+
u("input", N1(i.$attrs, {
|
|
10211
10208
|
id: V.id,
|
|
10212
10209
|
checked: C.value,
|
|
10213
10210
|
class: "r-radio__input",
|
|
10214
10211
|
disabled: V.disabled,
|
|
10215
10212
|
name: V.name,
|
|
10216
10213
|
type: "radio",
|
|
10217
|
-
|
|
10214
|
+
value: V.value,
|
|
10215
|
+
onChange: L[0] || (L[0] = (A) => i.$emit("update:modelValue"))
|
|
10218
10216
|
}), null, 16, m0),
|
|
10219
10217
|
u("span", {
|
|
10220
10218
|
class: p(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
|
|
10221
|
-
onClick: i
|
|
10219
|
+
onClick: L[1] || (L[1] = (A) => i.$emit("update:modelValue"))
|
|
10222
10220
|
}, [
|
|
10223
10221
|
u("span", {
|
|
10224
10222
|
class: p(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])
|