pukaad-ui-lib 1.438.0 → 1.440.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 (24) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/card/card-blog.d.vue.ts +1 -1
  3. package/dist/runtime/components/card/card-blog.vue.d.ts +1 -1
  4. package/dist/runtime/components/card/card-profile/card-profile-header.d.vue.ts +1 -1
  5. package/dist/runtime/components/card/card-profile/card-profile-header.vue.d.ts +1 -1
  6. package/dist/runtime/components/chat/chat-conversation-item.d.vue.ts +1 -1
  7. package/dist/runtime/components/chat/chat-conversation-item.vue.d.ts +1 -1
  8. package/dist/runtime/components/input/input-autocomplete.d.vue.ts +1 -1
  9. package/dist/runtime/components/input/input-autocomplete.vue.d.ts +1 -1
  10. package/dist/runtime/components/input/input-birth-date.d.vue.ts +1 -1
  11. package/dist/runtime/components/input/input-birth-date.vue.d.ts +1 -1
  12. package/dist/runtime/components/input/input-date-picker.d.vue.ts +1 -1
  13. package/dist/runtime/components/input/input-date-picker.vue.d.ts +1 -1
  14. package/dist/runtime/components/input/input-id-card.vue +5 -4
  15. package/dist/runtime/components/input/input-localized-name.d.vue.ts +1 -1
  16. package/dist/runtime/components/input/input-localized-name.vue.d.ts +1 -1
  17. package/dist/runtime/components/input/input-passport.vue +1 -1
  18. package/dist/runtime/components/input/input-personal-card-id-selfie.vue +1 -1
  19. package/dist/runtime/components/input/input-personal-card-id.vue +1 -1
  20. package/dist/runtime/components/input/input-tag-modal.d.vue.ts +1 -1
  21. package/dist/runtime/components/input/input-tag-modal.vue.d.ts +1 -1
  22. package/dist/runtime/components/input/input-tag.d.vue.ts +1 -1
  23. package/dist/runtime/components/input/input-tag.vue.d.ts +1 -1
  24. package/package.json +2 -2
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
3
  "configKey": "pukaadUI",
4
- "version": "1.438.0",
4
+ "version": "1.440.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -38,8 +38,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
38
38
  "onBlog-updated"?: ((id: string, data: any) => any) | undefined;
39
39
  "onBlog-deleted"?: ((id: string) => any) | undefined;
40
40
  }>, {
41
- disabledMenu: boolean;
42
41
  isMyProfile: boolean;
42
+ disabledMenu: boolean;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
44
  declare const _default: typeof __VLS_export;
45
45
  export default _default;
@@ -38,8 +38,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
38
38
  "onBlog-updated"?: ((id: string, data: any) => any) | undefined;
39
39
  "onBlog-deleted"?: ((id: string) => any) | undefined;
40
40
  }>, {
41
- disabledMenu: boolean;
42
41
  isMyProfile: boolean;
42
+ disabledMenu: boolean;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
44
  declare const _default: typeof __VLS_export;
45
45
  export default _default;
@@ -7,8 +7,8 @@ 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
  disabledPadding: boolean;
11
+ preview: boolean;
12
12
  optionMenuButtonType: "solid" | "text";
13
13
  actionsHidden: boolean;
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -7,8 +7,8 @@ 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
  disabledPadding: boolean;
11
+ preview: boolean;
12
12
  optionMenuButtonType: "solid" | "text";
13
13
  actionsHidden: boolean;
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -26,13 +26,13 @@ declare const __VLS_export: import("vue").DefineComponent<ChatConversationItemPr
26
26
  name: string;
27
27
  avatar: string | null;
28
28
  muted: boolean;
29
+ disabledMenu: boolean;
29
30
  preview: string;
30
31
  to: string;
31
32
  active: boolean;
32
33
  typing: boolean;
33
34
  unreadCount: number;
34
35
  pinned: boolean;
35
- disabledMenu: boolean;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  declare const _default: typeof __VLS_export;
38
38
  export default _default;
@@ -26,13 +26,13 @@ declare const __VLS_export: import("vue").DefineComponent<ChatConversationItemPr
26
26
  name: string;
27
27
  avatar: string | null;
28
28
  muted: boolean;
29
+ disabledMenu: boolean;
29
30
  preview: string;
30
31
  to: string;
31
32
  active: boolean;
32
33
  typing: boolean;
33
34
  unreadCount: number;
34
35
  pinned: boolean;
35
- disabledMenu: boolean;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  declare const _default: typeof __VLS_export;
38
38
  export default _default;
@@ -69,9 +69,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
69
69
  name: string;
70
70
  required: boolean;
71
71
  description: string;
72
+ options: AutocompleteOption[] | string[] | number[];
72
73
  labelKey: string;
73
74
  placeholder: string;
74
- options: AutocompleteOption[] | string[] | number[];
75
75
  limit: number;
76
76
  disabledErrorMessage: boolean;
77
77
  disabledBorder: boolean;
@@ -69,9 +69,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
69
69
  name: string;
70
70
  required: boolean;
71
71
  description: string;
72
+ options: AutocompleteOption[] | string[] | number[];
72
73
  labelKey: string;
73
74
  placeholder: string;
74
- options: AutocompleteOption[] | string[] | number[];
75
75
  limit: number;
76
76
  disabledErrorMessage: boolean;
77
77
  disabledBorder: boolean;
@@ -30,9 +30,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
30
30
  id: string;
31
31
  name: string;
32
32
  required: boolean;
33
+ layout: "month-and-year" | "month-only" | "year-only";
33
34
  locale: string;
34
35
  placeholder: string;
35
- layout: "month-and-year" | "month-only" | "year-only";
36
36
  disabledErrorMessage: boolean;
37
37
  dateFormat: string;
38
38
  minAge: number;
@@ -30,9 +30,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
30
30
  id: string;
31
31
  name: string;
32
32
  required: boolean;
33
+ layout: "month-and-year" | "month-only" | "year-only";
33
34
  locale: string;
34
35
  placeholder: string;
35
- layout: "month-and-year" | "month-only" | "year-only";
36
36
  disabledErrorMessage: boolean;
37
37
  dateFormat: string;
38
38
  minAge: number;
@@ -44,9 +44,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
44
44
  id: string;
45
45
  name: string;
46
46
  required: boolean;
47
+ layout: "month-and-year" | "month-only" | "year-only";
47
48
  locale: string;
48
49
  placeholder: string;
49
- layout: "month-and-year" | "month-only" | "year-only";
50
50
  disabledErrorMessage: boolean;
51
51
  dateFormat: string;
52
52
  showTime: boolean;
@@ -44,9 +44,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
44
44
  id: string;
45
45
  name: string;
46
46
  required: boolean;
47
+ layout: "month-and-year" | "month-only" | "year-only";
47
48
  locale: string;
48
49
  placeholder: string;
49
- layout: "month-and-year" | "month-only" | "year-only";
50
50
  disabledErrorMessage: boolean;
51
51
  dateFormat: string;
52
52
  showTime: boolean;
@@ -6,7 +6,7 @@
6
6
  :rules="props.rules || defaultRules"
7
7
  v-slot="{ errorMessage: formError }"
8
8
  >
9
- <ShadFormItem>
9
+ <ShadFormItem v-bind="$attrs">
10
10
  <ShadFormLabel v-if="props.label || $slots.label" class="w-full">
11
11
  <slot name="label">
12
12
  {{ props.label }}
@@ -25,11 +25,11 @@
25
25
  :required="props.required"
26
26
  @complete="handleComplete"
27
27
  >
28
- <ShadPinInputGroup class="w-max gap-[8px]">
28
+ <ShadPinInputGroup class="w-full justify-between gap-0">
29
29
  <template v-for="index in 13" :key="index">
30
30
  <ShadFormControl :index="index - 1">
31
31
  <ShadPinInputSlot
32
- class="h-[48px] w-[40px] rounded-[6px]"
32
+ class="h-[36px] w-[25px] px-[8px] py-[4px] rounded-[4px]"
33
33
  :class="{
34
34
  'border-destructive': formError || props.error
35
35
  }"
@@ -59,11 +59,12 @@
59
59
 
60
60
  <script setup>
61
61
  import { ref, watch } from "vue";
62
+ defineOptions({ inheritAttrs: false });
62
63
  const props = defineProps({
63
64
  id: { type: String, required: false, default: "input-id-card" },
64
65
  name: { type: String, required: false, default: "input-id-card" },
65
66
  label: { type: String, required: false, default: "\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E1B\u0E23\u0E30\u0E0A\u0E32\u0E0A\u0E19" },
66
- required: { type: Boolean, required: false, default: true },
67
+ required: { type: Boolean, required: false, default: false },
67
68
  rules: { type: [Function, Array, Object, String], required: false },
68
69
  disabled: { type: Boolean, required: false, default: false },
69
70
  error: { type: String, required: false, default: "" }
@@ -11,8 +11,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
11
11
  label: string;
12
12
  name: string;
13
13
  modelValue: LocalizedNameItem[];
14
- placeholder: string;
15
14
  options: InputSelectItem[];
15
+ placeholder: string;
16
16
  limit: number;
17
17
  showCounter: boolean;
18
18
  addLabel: string;
@@ -11,8 +11,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
11
11
  label: string;
12
12
  name: string;
13
13
  modelValue: LocalizedNameItem[];
14
- placeholder: string;
15
14
  options: InputSelectItem[];
15
+ placeholder: string;
16
16
  limit: number;
17
17
  showCounter: boolean;
18
18
  addLabel: string;
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="space-y-[4px]">
3
3
  <div
4
- class="relative w-full aspect-[224/126] rounded-[8px] overflow-hidden cursor-pointer group border-2 border-dashed"
4
+ class="relative w-full h-full aspect-[224/126] rounded-[8px] overflow-hidden cursor-pointer group border-2 border-dashed"
5
5
  :class="previewUrl ? 'border-transparent bg-cover bg-center' : 'border-mercury bg-white'"
6
6
  :style="previewUrl ? { backgroundImage: `url(${previewUrl})` } : void 0"
7
7
  @click="isOpenModal = true"
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="space-y-[4px]">
3
3
  <div
4
- class="relative w-full aspect-[224/126] rounded-[8px] overflow-hidden cursor-pointer group border-2 border-dashed"
4
+ class="relative w-full h-full aspect-[224/126] rounded-[8px] overflow-hidden cursor-pointer group border-2 border-dashed"
5
5
  :class="previewUrl ? 'border-transparent bg-cover bg-center' : 'border-mercury bg-white'"
6
6
  :style="previewUrl ? { backgroundImage: `url(${previewUrl})` } : void 0"
7
7
  @click="isOpenModal = true"
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="space-y-[4px]">
3
3
  <div
4
- class="relative w-full aspect-[224/126] rounded-[8px] overflow-hidden cursor-pointer group border-2 border-dashed"
4
+ class="relative w-full h-full aspect-[224/126] rounded-[8px] overflow-hidden cursor-pointer group border-2 border-dashed"
5
5
  :class="previewUrl ? 'border-transparent bg-cover bg-center' : 'border-mercury bg-white'"
6
6
  :style="previewUrl ? { backgroundImage: `url(${previewUrl})` } : void 0"
7
7
  @click="isOpenModal = true"
@@ -40,9 +40,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
40
40
  id: string;
41
41
  name: string;
42
42
  required: boolean;
43
+ options: InputTagModalOption[];
43
44
  labelKey: string;
44
45
  placeholder: string;
45
- options: InputTagModalOption[];
46
46
  disabledErrorMessage: boolean;
47
47
  valueKey: string;
48
48
  searchPlaceholder: string;
@@ -40,9 +40,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
40
40
  id: string;
41
41
  name: string;
42
42
  required: boolean;
43
+ options: InputTagModalOption[];
43
44
  labelKey: string;
44
45
  placeholder: string;
45
- options: InputTagModalOption[];
46
46
  disabledErrorMessage: boolean;
47
47
  valueKey: string;
48
48
  searchPlaceholder: string;
@@ -26,8 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
26
26
  "onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
27
27
  }>, {
28
28
  name: string;
29
- placeholder: string;
30
29
  state: "user" | "admin";
30
+ placeholder: string;
31
31
  limit: number;
32
32
  profileScope: "personal" | "business";
33
33
  ignore: string[];
@@ -26,8 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
26
26
  "onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
27
27
  }>, {
28
28
  name: string;
29
- placeholder: string;
30
29
  state: "user" | "admin";
30
+ placeholder: string;
31
31
  limit: number;
32
32
  profileScope: "personal" | "business";
33
33
  ignore: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.438.0",
3
+ "version": "1.440.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",
@@ -102,4 +102,4 @@
102
102
  "vue-tsc": "^3.1.3",
103
103
  "zod": "^3.25.76"
104
104
  }
105
- }
105
+ }