@fy-/fws-vue 1.1.8 → 1.2.2
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.
|
@@ -30,9 +30,8 @@ const eventBus = useEventBus();
|
|
|
30
30
|
const currentDate = new Date();
|
|
31
31
|
const defaultDate = new Date(
|
|
32
32
|
currentDate.setFullYear(currentDate.getFullYear() - 18),
|
|
33
|
-
)
|
|
34
|
-
|
|
35
|
-
.split("T")[0];
|
|
33
|
+
);
|
|
34
|
+
|
|
36
35
|
const state = reactive({
|
|
37
36
|
userData: {
|
|
38
37
|
Username: userData.value?.UserProfile?.Username || "",
|
|
@@ -51,8 +50,6 @@ watchEffect(() => {
|
|
|
51
50
|
Bio: userData.value?.UserProfile?.Bio || "",
|
|
52
51
|
Birthdate: userData.value?.UserProfile?.Birthdate
|
|
53
52
|
? new Date(userData.value?.UserProfile?.Birthdate.unixms)
|
|
54
|
-
.toISOString()
|
|
55
|
-
.split("T")[0]
|
|
56
53
|
: defaultDate,
|
|
57
54
|
PublicGender: userData.value?.UserProfile?.PublicGender || false,
|
|
58
55
|
PublicBio: userData.value?.UserProfile?.PublicBio || false,
|
|
@@ -76,6 +76,7 @@ const handleFocus = () => {
|
|
|
76
76
|
const handleBlur = () => {
|
|
77
77
|
emit("blur", props.id);
|
|
78
78
|
};
|
|
79
|
+
|
|
79
80
|
const emit = defineEmits([
|
|
80
81
|
"update:modelValue",
|
|
81
82
|
"update:checkboxValue",
|
|
@@ -185,7 +186,6 @@ defineExpose({ focus, blur, getInputRef });
|
|
|
185
186
|
</div>
|
|
186
187
|
<VueDatePicker
|
|
187
188
|
v-model="model"
|
|
188
|
-
model-type="timestamp"
|
|
189
189
|
auto-apply
|
|
190
190
|
:placeholder="placeholder"
|
|
191
191
|
year-first
|