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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.485",
3
+ "version": "0.0.487",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -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.js";
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.js";
179
+ } from "../ui.form-calendar/utilDate.ts";
180
180
 
181
- import { formatDate, parseDate, dateIsOutOfRange } from "../ui.form-calendar/utilCalendar.js";
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.js";
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.js";
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.js";
4
- import { formatDate } from "../ui.form-calendar/utilCalendar.js";
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(() => {
@@ -10,7 +10,7 @@ import {
10
10
  addQuarters,
11
11
  getEndOfYear,
12
12
  getStartOfYear,
13
- } from "../ui.form-calendar/utilDate.js";
13
+ } from "../ui.form-calendar/utilDate.ts";
14
14
 
15
15
  export function getYearDateList(date) {
16
16
  const NUMBER_ADDING_YEAR = 12;
@@ -1,4 +1,4 @@
1
- import { getDaysInMonth } from "../ui.form-calendar/utilDate.js";
1
+ import { getDaysInMonth } from "../ui.form-calendar/utilDate.ts";
2
2
 
3
3
  const datePattern = /^\d{1,2}\.\d{1,2}\.\d{4}$/;
4
4
 
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.485",
4
+ "version": "0.0.487",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",