vueless 0.0.485 → 0.0.487
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/index.d.ts +23 -0
- package/package.json +1 -1
- package/ui.form-date-picker/UDatePicker.vue +1 -1
- package/ui.form-date-picker-range/UDatePickerRange.vue +2 -2
- package/ui.form-date-picker-range/UDatePickerRangeInputs.vue +1 -1
- package/ui.form-date-picker-range/useLocale.js +1 -1
- package/ui.form-date-picker-range/useUserFormat.js +2 -2
- package/ui.form-date-picker-range/utilDateRange.js +1 -1
- package/ui.form-date-picker-range/utilValidation.js +1 -1
- package/web-types.json +1 -1
package/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { App } from "vue";
|
|
2
|
+
import type { CreateVuelessOptions } from "./types.ts";
|
|
3
|
+
export { setTitle } from "./utils/helper.ts";
|
|
4
|
+
export { setTheme } from "./utils/theme.ts";
|
|
5
|
+
export { default as createVueI18nAdapter } from "./adatper.locale/vue-i18n.js";
|
|
6
|
+
export { default as defaultEnLocale } from "./adatper.locale/locales/en.js";
|
|
7
|
+
export { useLocale } from "./composables/useLocale.ts";
|
|
8
|
+
export { useLoaderProgress } from "./ui.loader-progress/useLoaderProgress.js";
|
|
9
|
+
export { loaderProgressOn, loaderProgressOff } from "./ui.loader-progress/utilLoaderProgress.js";
|
|
10
|
+
export { useLoaderOverlay } from "./ui.loader-overlay/useLoaderOverlay.js";
|
|
11
|
+
export { loaderOverlayOn, loaderOverlayOff } from "./ui.loader-overlay/utilLoaderOverlay.js";
|
|
12
|
+
export {
|
|
13
|
+
notify,
|
|
14
|
+
notifySuccess,
|
|
15
|
+
notifyWarning,
|
|
16
|
+
notifyError,
|
|
17
|
+
clearNotifications,
|
|
18
|
+
setDelayedNotify,
|
|
19
|
+
getDelayedNotify,
|
|
20
|
+
} from "./ui.text-notify/utilNotify.js";
|
|
21
|
+
export declare function createVueless(options?: CreateVuelessOptions): {
|
|
22
|
+
install: (app: App) => void;
|
|
23
|
+
};
|
package/package.json
CHANGED
|
@@ -84,7 +84,7 @@ import { VIEW, STANDARD_USER_FORMAT } from "../ui.form-calendar/constants.js";
|
|
|
84
84
|
|
|
85
85
|
import { getDefault } from "../utils/ui.ts";
|
|
86
86
|
|
|
87
|
-
import { addDays, isSameDay } from "../ui.form-calendar/utilDate.
|
|
87
|
+
import { addDays, isSameDay } from "../ui.form-calendar/utilDate.ts";
|
|
88
88
|
|
|
89
89
|
import useAttrs from "./useAttrs.js";
|
|
90
90
|
import { useLocale } from "../composables/useLocale.ts";
|
|
@@ -176,9 +176,9 @@ import {
|
|
|
176
176
|
getStartOfWeek,
|
|
177
177
|
getStartOfYear,
|
|
178
178
|
getDatesDifference,
|
|
179
|
-
} from "../ui.form-calendar/utilDate.
|
|
179
|
+
} from "../ui.form-calendar/utilDate.ts";
|
|
180
180
|
|
|
181
|
-
import { formatDate, parseDate, dateIsOutOfRange } from "../ui.form-calendar/utilCalendar.
|
|
181
|
+
import { formatDate, parseDate, dateIsOutOfRange } from "../ui.form-calendar/utilCalendar.ts";
|
|
182
182
|
|
|
183
183
|
import {
|
|
184
184
|
getWeekDateList,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<script setup>
|
|
26
26
|
import { isWrongDateFormat, isWrongMonthNumber, isWrongDayNumber } from "./utilValidation.js";
|
|
27
27
|
|
|
28
|
-
import { dateIsOutOfRange, parseDate } from "../ui.form-calendar/utilCalendar.
|
|
28
|
+
import { dateIsOutOfRange, parseDate } from "../ui.form-calendar/utilCalendar.ts";
|
|
29
29
|
|
|
30
30
|
import UInput from "../ui.form-input/UInput.vue";
|
|
31
31
|
|
|
@@ -2,7 +2,7 @@ import { computed } from "vue";
|
|
|
2
2
|
import { useLocale as useGlobalLocale } from "../composables/useLocale.ts";
|
|
3
3
|
|
|
4
4
|
import { merge } from "lodash-es";
|
|
5
|
-
import { getSortedLocale } from "../ui.form-calendar/utilDate.
|
|
5
|
+
import { getSortedLocale } from "../ui.form-calendar/utilDate.ts";
|
|
6
6
|
|
|
7
7
|
import { LOCALE_TYPE } from "../ui.form-calendar/constants.js";
|
|
8
8
|
import { UDatePickerRange } from "./constants.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
2
|
|
|
3
|
-
import { isSameMonth } from "../ui.form-calendar/utilDate.
|
|
4
|
-
import { formatDate } from "../ui.form-calendar/utilCalendar.
|
|
3
|
+
import { isSameMonth } from "../ui.form-calendar/utilDate.ts";
|
|
4
|
+
import { formatDate } from "../ui.form-calendar/utilCalendar.ts";
|
|
5
5
|
|
|
6
6
|
export function useUserFormat(localValue, userFormatLocale, isPeriod, locale, userDateFormat) {
|
|
7
7
|
const userFormatDate = computed(() => {
|