@witchcraft/ui 0.4.2 → 0.4.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/module.json +1 -1
- package/dist/runtime/components/WDatePicker/WRangeDatePicker.d.vue.ts +1 -1
- package/dist/runtime/components/WDatePicker/WRangeDatePicker.vue +1 -1
- package/dist/runtime/components/WDatePicker/WRangeDatePicker.vue.d.ts +1 -1
- package/dist/runtime/components/WDatePicker/WSingleDatePicker.d.vue.ts +1 -1
- package/dist/runtime/components/WDatePicker/WSingleDatePicker.vue +1 -1
- package/dist/runtime/components/WDatePicker/WSingleDatePicker.vue.d.ts +1 -1
- package/package.json +1 -1
- package/src/runtime/components/WDatePicker/WRangeDatePicker.vue +1 -1
- package/src/runtime/components/WDatePicker/WSingleDatePicker.vue +1 -1
package/dist/module.json
CHANGED
|
@@ -2,7 +2,7 @@ import type { CalendarDate, ZonedDateTime } from "@internationalized/date";
|
|
|
2
2
|
import type { RangeDate } from "../../types/index.js";
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
useTime?: boolean;
|
|
5
|
-
id
|
|
5
|
+
id?: string;
|
|
6
6
|
fallbackDate?: Date;
|
|
7
7
|
timeZone?: string;
|
|
8
8
|
updateInterval?: number;
|
|
@@ -14,7 +14,7 @@ import WIcon from "../WIcon/WIcon.vue";
|
|
|
14
14
|
const attrs = useAttrs();
|
|
15
15
|
const props = defineProps({
|
|
16
16
|
useTime: { type: Boolean, required: false, default: false },
|
|
17
|
-
id: { type: String, required:
|
|
17
|
+
id: { type: String, required: false },
|
|
18
18
|
fallbackDate: { type: Date, required: false, default: (_) => getNow({ withTime: _.useTime ?? false }).toDate(_.timeZone ?? getLocalTimeZone()) },
|
|
19
19
|
timeZone: { type: String, required: false, default: getLocalTimeZone() },
|
|
20
20
|
updateInterval: { type: Number, required: false, default: 1e4 }
|
|
@@ -2,7 +2,7 @@ import type { CalendarDate, ZonedDateTime } from "@internationalized/date";
|
|
|
2
2
|
import type { RangeDate } from "../../types/index.js";
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
useTime?: boolean;
|
|
5
|
-
id
|
|
5
|
+
id?: string;
|
|
6
6
|
fallbackDate?: Date;
|
|
7
7
|
timeZone?: string;
|
|
8
8
|
updateInterval?: number;
|
|
@@ -14,7 +14,7 @@ import WIcon from "../WIcon/WIcon.vue";
|
|
|
14
14
|
const attrs = useAttrs();
|
|
15
15
|
const props = defineProps({
|
|
16
16
|
useTime: { type: Boolean, required: false, default: false },
|
|
17
|
-
id: { type: String, required:
|
|
17
|
+
id: { type: String, required: false },
|
|
18
18
|
fallbackDate: { type: Date, required: false, default: (_) => getNow({ withTime: _.useTime ?? false }).toDate(_.timeZone ?? getLocalTimeZone()) },
|
|
19
19
|
timeZone: { type: String, required: false, default: getLocalTimeZone() },
|
|
20
20
|
updateInterval: { type: Number, required: false, default: 1e4 }
|
package/package.json
CHANGED