pukaad-ui-lib 1.99.0 → 1.100.0

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.
Files changed (30) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/card/card-profile-header.d.vue.ts +1 -1
  3. package/dist/runtime/components/card/card-profile-header.vue.d.ts +1 -1
  4. package/dist/runtime/components/dialog/dialog-email-OTP.d.vue.ts +2 -2
  5. package/dist/runtime/components/dialog/dialog-email-OTP.vue.d.ts +2 -2
  6. package/dist/runtime/components/dialog/dialog-phone-OTP.d.vue.ts +3 -3
  7. package/dist/runtime/components/dialog/dialog-phone-OTP.vue.d.ts +3 -3
  8. package/dist/runtime/components/image/image-cropper.d.vue.ts +2 -2
  9. package/dist/runtime/components/image/image-cropper.vue.d.ts +2 -2
  10. package/dist/runtime/components/input/input-date-picker.vue +1 -1
  11. package/dist/runtime/components/modal/modal-account-disabled-alert.d.vue.ts +2 -2
  12. package/dist/runtime/components/modal/modal-account-disabled-alert.vue.d.ts +2 -2
  13. package/dist/runtime/components/modal/modal-account-disabled-confirmed.d.vue.ts +2 -2
  14. package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue.d.ts +2 -2
  15. package/dist/runtime/components/modal/modal-account-disabled-reason.d.vue.ts +2 -2
  16. package/dist/runtime/components/modal/modal-account-disabled-reason.vue.d.ts +2 -2
  17. package/dist/runtime/components/modal/modal-password-confirmed.d.vue.ts +2 -2
  18. package/dist/runtime/components/modal/modal-password-confirmed.vue.d.ts +2 -2
  19. package/dist/runtime/components/modal/modal-password-new.d.vue.ts +2 -2
  20. package/dist/runtime/components/modal/modal-password-new.vue.d.ts +2 -2
  21. package/dist/runtime/components/modal/modal-phone-OTP.d.vue.ts +3 -3
  22. package/dist/runtime/components/modal/modal-phone-OTP.vue.d.ts +3 -3
  23. package/dist/runtime/components/modal/modal-review-detail.d.vue.ts +1 -1
  24. package/dist/runtime/components/modal/modal-review-detail.vue.d.ts +1 -1
  25. package/dist/runtime/composables/useConvert.js +1 -1
  26. package/dist/runtime/plugins/dayjs.d.ts +1 -2
  27. package/dist/runtime/plugins/dayjs.js +1 -11
  28. package/dist/runtime/utils/dayjs.d.ts +3 -0
  29. package/dist/runtime/utils/dayjs.js +12 -0
  30. package/package.json +1 -1
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
3
  "configKey": "pukaadUI",
4
- "version": "1.99.0",
4
+ "version": "1.100.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -7,9 +7,9 @@ declare const __VLS_export: import("vue").DefineComponent<CardProfileAboutProps,
7
7
  onChat?: (() => any) | undefined;
8
8
  }>, {
9
9
  type: "article" | "media" | "sale-info";
10
- preview: boolean;
11
10
  optionMenuButtonType: "solid" | "text";
12
11
  actionsHidden: boolean;
12
+ preview: boolean;
13
13
  disabledPadding: boolean;
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  declare const _default: typeof __VLS_export;
@@ -7,9 +7,9 @@ declare const __VLS_export: import("vue").DefineComponent<CardProfileAboutProps,
7
7
  onChat?: (() => any) | undefined;
8
8
  }>, {
9
9
  type: "article" | "media" | "sale-info";
10
- preview: boolean;
11
10
  optionMenuButtonType: "solid" | "text";
12
11
  actionsHidden: boolean;
12
+ preview: boolean;
13
13
  disabledPadding: boolean;
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  declare const _default: typeof __VLS_export;
@@ -7,12 +7,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (value: boolean) => any;
9
9
  } & {
10
- close: () => any;
11
10
  complete: () => any;
11
+ close: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
- onClose?: (() => any) | undefined;
15
14
  onComplete?: (() => any) | undefined;
15
+ onClose?: (() => any) | undefined;
16
16
  }>, {
17
17
  confirmedText: string;
18
18
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -7,12 +7,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (value: boolean) => any;
9
9
  } & {
10
- close: () => any;
11
10
  complete: () => any;
11
+ close: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
- onClose?: (() => any) | undefined;
15
14
  onComplete?: (() => any) | undefined;
15
+ onClose?: (() => any) | undefined;
16
16
  }>, {
17
17
  confirmedText: string;
18
18
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -7,15 +7,15 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (value: boolean) => any;
9
9
  } & {
10
- close: () => any;
11
10
  complete: (value: string) => any;
11
+ close: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
- onClose?: (() => any) | undefined;
15
14
  onComplete?: ((value: string) => any) | undefined;
15
+ onClose?: (() => any) | undefined;
16
16
  }>, {
17
- phone: string;
18
17
  confirmedText: string;
18
+ phone: string;
19
19
  phoneLabel: string;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const _default: typeof __VLS_export;
@@ -7,15 +7,15 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (value: boolean) => any;
9
9
  } & {
10
- close: () => any;
11
10
  complete: (value: string) => any;
11
+ close: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
- onClose?: (() => any) | undefined;
15
14
  onComplete?: ((value: string) => any) | undefined;
15
+ onClose?: (() => any) | undefined;
16
16
  }>, {
17
- phone: string;
18
17
  confirmedText: string;
18
+ phone: string;
19
19
  phoneLabel: string;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const _default: typeof __VLS_export;
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
64
64
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
65
65
  src: string;
66
66
  center: boolean;
67
+ background: boolean;
68
+ modal: boolean;
67
69
  responsive: boolean;
68
70
  restore: boolean;
69
71
  checkCrossOrigin: boolean;
70
72
  checkOrientation: boolean;
71
73
  crossorigin: "" | "anonymous" | "use-credentials";
72
- modal: boolean;
73
74
  guides: boolean;
74
75
  highlight: boolean;
75
- background: boolean;
76
76
  autoCrop: boolean;
77
77
  movable: boolean;
78
78
  rotatable: boolean;
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
64
64
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
65
65
  src: string;
66
66
  center: boolean;
67
+ background: boolean;
68
+ modal: boolean;
67
69
  responsive: boolean;
68
70
  restore: boolean;
69
71
  checkCrossOrigin: boolean;
70
72
  checkOrientation: boolean;
71
73
  crossorigin: "" | "anonymous" | "use-credentials";
72
- modal: boolean;
73
74
  guides: boolean;
74
75
  highlight: boolean;
75
- background: boolean;
76
76
  autoCrop: boolean;
77
77
  movable: boolean;
78
78
  rotatable: boolean;
@@ -106,7 +106,7 @@
106
106
  <script setup>
107
107
  import { computed, ref } from "vue";
108
108
  import { CalendarDate, getLocalTimeZone } from "@internationalized/date";
109
- import dayjs from "dayjs";
109
+ import dayjs from "@/runtime/utils/dayjs";
110
110
  import { cn } from "@/runtime/plugins/shadcn";
111
111
  import { Button } from "@/runtime/components/ui/button";
112
112
  import { Calendar } from "@/runtime/components/ui/calendar";
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
8
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  "update:modelValue": (value: boolean) => any;
10
10
  } & {
11
- close: () => any;
12
11
  complete: () => any;
12
+ close: () => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
- onClose?: (() => any) | undefined;
16
15
  onComplete?: (() => any) | undefined;
16
+ onClose?: (() => any) | undefined;
17
17
  }>, {
18
18
  confirmedText: string;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
8
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  "update:modelValue": (value: boolean) => any;
10
10
  } & {
11
- close: () => any;
12
11
  complete: () => any;
12
+ close: () => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
- onClose?: (() => any) | undefined;
16
15
  onComplete?: (() => any) | undefined;
16
+ onClose?: (() => any) | undefined;
17
17
  }>, {
18
18
  confirmedText: string;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
8
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  "update:modelValue": (value: boolean) => any;
10
10
  } & {
11
- close: () => any;
12
11
  complete: () => any;
12
+ close: () => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
- onClose?: (() => any) | undefined;
16
15
  onComplete?: (() => any) | undefined;
16
+ onClose?: (() => any) | undefined;
17
17
  }>, {
18
18
  confirmedText: string;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
8
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  "update:modelValue": (value: boolean) => any;
10
10
  } & {
11
- close: () => any;
12
11
  complete: () => any;
12
+ close: () => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
- onClose?: (() => any) | undefined;
16
15
  onComplete?: (() => any) | undefined;
16
+ onClose?: (() => any) | undefined;
17
17
  }>, {
18
18
  confirmedText: string;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
8
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  "update:modelValue": (value: boolean) => any;
10
10
  } & {
11
- close: () => any;
12
11
  complete: () => any;
12
+ close: () => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
- onClose?: (() => any) | undefined;
16
15
  onComplete?: (() => any) | undefined;
16
+ onClose?: (() => any) | undefined;
17
17
  }>, {
18
18
  confirmedText: string;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -8,12 +8,12 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
8
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  "update:modelValue": (value: boolean) => any;
10
10
  } & {
11
- close: () => any;
12
11
  complete: () => any;
12
+ close: () => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
- onClose?: (() => any) | undefined;
16
15
  onComplete?: (() => any) | undefined;
16
+ onClose?: (() => any) | undefined;
17
17
  }>, {
18
18
  confirmedText: string;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -12,16 +12,16 @@ type __VLS_ModelProps = {
12
12
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
13
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: boolean) => any;
15
- close: () => any;
16
15
  complete: (data: {
17
16
  secId: string;
18
17
  }) => any;
18
+ close: () => any;
19
19
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
- onClose?: (() => any) | undefined;
22
21
  onComplete?: ((data: {
23
22
  secId: string;
24
23
  }) => any) | undefined;
24
+ onClose?: (() => any) | undefined;
25
25
  }>, {
26
26
  title: string;
27
27
  disabledForgotPassword: boolean;
@@ -12,16 +12,16 @@ type __VLS_ModelProps = {
12
12
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
13
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: boolean) => any;
15
- close: () => any;
16
15
  complete: (data: {
17
16
  secId: string;
18
17
  }) => any;
18
+ close: () => any;
19
19
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
- onClose?: (() => any) | undefined;
22
21
  onComplete?: ((data: {
23
22
  secId: string;
24
23
  }) => any) | undefined;
24
+ onClose?: (() => any) | undefined;
25
25
  }>, {
26
26
  title: string;
27
27
  disabledForgotPassword: boolean;
@@ -11,16 +11,16 @@ type __VLS_ModelProps = {
11
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
12
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  "update:modelValue": (value: boolean) => any;
14
- close: () => any;
15
14
  complete: (data: {
16
15
  secId: string;
17
16
  }) => any;
17
+ close: () => any;
18
18
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
19
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
20
- onClose?: (() => any) | undefined;
21
20
  onComplete?: ((data: {
22
21
  secId: string;
23
22
  }) => any) | undefined;
23
+ onClose?: (() => any) | undefined;
24
24
  }>, {
25
25
  title: string;
26
26
  confirmText: string;
@@ -11,16 +11,16 @@ type __VLS_ModelProps = {
11
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
12
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  "update:modelValue": (value: boolean) => any;
14
- close: () => any;
15
14
  complete: (data: {
16
15
  secId: string;
17
16
  }) => any;
17
+ close: () => any;
18
18
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
19
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
20
- onClose?: (() => any) | undefined;
21
20
  onComplete?: ((data: {
22
21
  secId: string;
23
22
  }) => any) | undefined;
23
+ onClose?: (() => any) | undefined;
24
24
  }>, {
25
25
  title: string;
26
26
  confirmText: string;
@@ -7,15 +7,15 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (value: boolean) => any;
9
9
  } & {
10
- close: () => any;
11
10
  complete: (value: string) => any;
11
+ close: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
- onClose?: (() => any) | undefined;
15
14
  onComplete?: ((value: string) => any) | undefined;
15
+ onClose?: (() => any) | undefined;
16
16
  }>, {
17
- phone: string;
18
17
  confirmedText: string;
18
+ phone: string;
19
19
  phoneLabel: string;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const _default: typeof __VLS_export;
@@ -7,15 +7,15 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:modelValue": (value: boolean) => any;
9
9
  } & {
10
- close: () => any;
11
10
  complete: (value: string) => any;
11
+ close: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
13
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
- onClose?: (() => any) | undefined;
15
14
  onComplete?: ((value: string) => any) | undefined;
15
+ onClose?: (() => any) | undefined;
16
16
  }>, {
17
- phone: string;
18
17
  confirmedText: string;
18
+ phone: string;
19
19
  phoneLabel: string;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const _default: typeof __VLS_export;
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
14
14
  items: string[];
15
15
  selectIndex: number;
16
16
  title: string;
17
- review: import("../../../types/components/card/card-review.js").CardReviewProps;
18
17
  isProfile: boolean;
18
+ review: import("../../../types/components/card/card-review.js").CardReviewProps;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  export default _default;
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
14
14
  items: string[];
15
15
  selectIndex: number;
16
16
  title: string;
17
- review: import("../../../types/components/card/card-review.js").CardReviewProps;
18
17
  isProfile: boolean;
18
+ review: import("../../../types/components/card/card-review.js").CardReviewProps;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  export default _default;
@@ -1,4 +1,4 @@
1
- import dayjs from "dayjs";
1
+ import dayjs from "../utils/dayjs.js";
2
2
  export class Convert {
3
3
  /**
4
4
  * Convert number to Thai format
@@ -1,5 +1,4 @@
1
- import dayjs from "dayjs";
2
- import "dayjs/locale/th";
1
+ import dayjs from "../utils/dayjs.js";
3
2
  declare const _default: import("nuxt/app").Plugin<{
4
3
  dayjs: typeof dayjs;
5
4
  }> & import("nuxt/app").ObjectPlugin<{
@@ -1,16 +1,6 @@
1
1
  import { defineNuxtPlugin } from "nuxt/app";
2
- import dayjs from "dayjs";
3
- import buddhistEra from "dayjs/plugin/buddhistEra";
4
- import minMax from "dayjs/plugin/minMax";
5
- import updateLocale from "dayjs/plugin/updateLocale";
6
- import duration from "dayjs/plugin/duration";
7
- import "dayjs/locale/th";
2
+ import dayjs from "../utils/dayjs.js";
8
3
  export default defineNuxtPlugin(() => {
9
- dayjs.extend(updateLocale);
10
- dayjs.extend(buddhistEra);
11
- dayjs.extend(minMax);
12
- dayjs.extend(duration);
13
- dayjs.locale("th");
14
4
  return {
15
5
  provide: {
16
6
  dayjs
@@ -0,0 +1,3 @@
1
+ import dayjs from "dayjs";
2
+ import "dayjs/locale/th";
3
+ export default dayjs;
@@ -0,0 +1,12 @@
1
+ import dayjs from "dayjs";
2
+ import buddhistEra from "dayjs/plugin/buddhistEra";
3
+ import minMax from "dayjs/plugin/minMax";
4
+ import updateLocale from "dayjs/plugin/updateLocale";
5
+ import duration from "dayjs/plugin/duration";
6
+ import "dayjs/locale/th";
7
+ dayjs.extend(updateLocale);
8
+ dayjs.extend(buddhistEra);
9
+ dayjs.extend(minMax);
10
+ dayjs.extend(duration);
11
+ dayjs.locale("th");
12
+ export default dayjs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.99.0",
3
+ "version": "1.100.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",