pukaad-ui-lib 1.423.0 → 1.424.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 (40) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/card/card-content/card-content-video.vue +1 -1
  3. package/dist/runtime/components/image/image-cropper.d.vue.ts +3 -3
  4. package/dist/runtime/components/image/image-cropper.vue.d.ts +3 -3
  5. package/dist/runtime/components/input/input-autocomplete.d.vue.ts +2 -2
  6. package/dist/runtime/components/input/input-autocomplete.vue.d.ts +2 -2
  7. package/dist/runtime/components/input/input-birth-date.d.vue.ts +1 -1
  8. package/dist/runtime/components/input/input-birth-date.vue.d.ts +1 -1
  9. package/dist/runtime/components/input/input-date-picker.d.vue.ts +1 -1
  10. package/dist/runtime/components/input/input-date-picker.vue.d.ts +1 -1
  11. package/dist/runtime/components/input/input-file.d.vue.ts +1 -1
  12. package/dist/runtime/components/input/input-file.vue.d.ts +1 -1
  13. package/dist/runtime/components/input/input-link.d.vue.ts +1 -1
  14. package/dist/runtime/components/input/input-link.vue.d.ts +1 -1
  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-mention.vue +1 -1
  18. package/dist/runtime/components/input/input-search.d.vue.ts +1 -1
  19. package/dist/runtime/components/input/input-search.vue.d.ts +1 -1
  20. package/dist/runtime/components/input/input-suggest.d.vue.ts +2 -2
  21. package/dist/runtime/components/input/input-suggest.vue.d.ts +2 -2
  22. package/dist/runtime/components/input/input-tag-modal.d.vue.ts +1 -1
  23. package/dist/runtime/components/input/input-tag-modal.vue.d.ts +1 -1
  24. package/dist/runtime/components/input/input-tag.d.vue.ts +1 -1
  25. package/dist/runtime/components/input/input-tag.vue.d.ts +1 -1
  26. package/dist/runtime/components/input/input-text-field.d.vue.ts +1 -1
  27. package/dist/runtime/components/input/input-text-field.vue.d.ts +1 -1
  28. package/dist/runtime/components/input/input-textarea.d.vue.ts +2 -2
  29. package/dist/runtime/components/input/input-textarea.vue.d.ts +2 -2
  30. package/dist/runtime/components/input/input-typed-field.d.vue.ts +1 -1
  31. package/dist/runtime/components/input/input-typed-field.vue.d.ts +1 -1
  32. package/dist/runtime/components/ui/chart/ChartTooltipContent.d.vue.ts +1 -1
  33. package/dist/runtime/components/ui/chart/ChartTooltipContent.vue.d.ts +1 -1
  34. package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.d.vue.ts +2 -2
  35. package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +2 -2
  36. package/dist/runtime/components/ui/native-select/NativeSelectOption.d.vue.ts +2 -2
  37. package/dist/runtime/components/ui/native-select/NativeSelectOption.vue.d.ts +2 -2
  38. package/dist/runtime/composables/useApi.d.ts +3 -1
  39. package/dist/runtime/composables/useApi.js +2 -2
  40. 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.423.0",
4
+ "version": "1.424.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -14,7 +14,7 @@
14
14
  />
15
15
 
16
16
  <div
17
- class="absolute inset-x-0 bottom-0 flex h-[84px] flex-col justify-between bg-gradient-to-t from-black/70 to-transparent p-[8px]"
17
+ class="absolute inset-x-0 bottom-0 flex h-[84px] flex-col justify-end gap-1 bg-gradient-to-t from-black/70 to-transparent p-[8px]"
18
18
  >
19
19
  <p class="line-clamp-2 break-words font-title-small-prominent text-white">
20
20
  {{ props.item.title }}
@@ -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
- crossorigin: "" | "anonymous" | "use-credentials";
68
- background: boolean;
69
- modal: boolean;
70
67
  responsive: boolean;
71
68
  restore: boolean;
72
69
  checkCrossOrigin: boolean;
73
70
  checkOrientation: boolean;
71
+ crossorigin: "" | "anonymous" | "use-credentials";
72
+ modal: boolean;
74
73
  guides: boolean;
75
74
  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
- crossorigin: "" | "anonymous" | "use-credentials";
68
- background: boolean;
69
- modal: boolean;
70
67
  responsive: boolean;
71
68
  restore: boolean;
72
69
  checkCrossOrigin: boolean;
73
70
  checkOrientation: boolean;
71
+ crossorigin: "" | "anonymous" | "use-credentials";
72
+ modal: boolean;
74
73
  guides: boolean;
75
74
  highlight: boolean;
75
+ background: boolean;
76
76
  autoCrop: boolean;
77
77
  movable: boolean;
78
78
  rotatable: boolean;
@@ -70,12 +70,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
70
70
  required: boolean;
71
71
  description: string;
72
72
  options: AutocompleteOption[] | string[] | number[];
73
- labelKey: string;
74
73
  placeholder: string;
75
- limit: number;
74
+ labelKey: string;
76
75
  disabledErrorMessage: boolean;
77
76
  disabledBorder: boolean;
78
77
  showCounter: boolean;
78
+ limit: number;
79
79
  returnObject: boolean;
80
80
  freeText: boolean;
81
81
  valueKey: string;
@@ -70,12 +70,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
70
70
  required: boolean;
71
71
  description: string;
72
72
  options: AutocompleteOption[] | string[] | number[];
73
- labelKey: string;
74
73
  placeholder: string;
75
- limit: number;
74
+ labelKey: string;
76
75
  disabledErrorMessage: boolean;
77
76
  disabledBorder: boolean;
78
77
  showCounter: boolean;
78
+ limit: number;
79
79
  returnObject: boolean;
80
80
  freeText: boolean;
81
81
  valueKey: string;
@@ -30,8 +30,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
30
30
  id: string;
31
31
  name: string;
32
32
  required: boolean;
33
- locale: string;
34
33
  placeholder: string;
34
+ locale: string;
35
35
  disabledErrorMessage: boolean;
36
36
  layout: "month-and-year" | "month-only" | "year-only";
37
37
  dateFormat: string;
@@ -30,8 +30,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
30
30
  id: string;
31
31
  name: string;
32
32
  required: boolean;
33
- locale: string;
34
33
  placeholder: string;
34
+ locale: string;
35
35
  disabledErrorMessage: boolean;
36
36
  layout: "month-and-year" | "month-only" | "year-only";
37
37
  dateFormat: string;
@@ -44,8 +44,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
44
44
  id: string;
45
45
  name: string;
46
46
  required: boolean;
47
- locale: string;
48
47
  placeholder: string;
48
+ locale: string;
49
49
  disabledErrorMessage: boolean;
50
50
  layout: "month-and-year" | "month-only" | "year-only";
51
51
  dateFormat: string;
@@ -44,8 +44,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
44
44
  id: string;
45
45
  name: string;
46
46
  required: boolean;
47
- locale: string;
48
47
  placeholder: string;
48
+ locale: string;
49
49
  disabledErrorMessage: boolean;
50
50
  layout: "month-and-year" | "month-only" | "year-only";
51
51
  dateFormat: string;
@@ -34,8 +34,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
34
34
  name: string;
35
35
  fullHeight: boolean;
36
36
  fullWidth: boolean;
37
- limit: number;
38
37
  disabledErrorMessage: boolean;
38
+ limit: number;
39
39
  accept: string;
40
40
  labelIcon: string;
41
41
  disabledDrop: boolean;
@@ -34,8 +34,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
34
34
  name: string;
35
35
  fullHeight: boolean;
36
36
  fullWidth: boolean;
37
- limit: number;
38
37
  disabledErrorMessage: boolean;
38
+ limit: number;
39
39
  accept: string;
40
40
  labelIcon: string;
41
41
  disabledDrop: boolean;
@@ -17,8 +17,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
17
17
  label: string;
18
18
  name: string;
19
19
  modelValue: InputLinkItem[] | ContactChannel[];
20
- limit: number;
21
20
  showCounter: boolean;
21
+ limit: number;
22
22
  format: "legacy" | "contact_channel";
23
23
  hideType: boolean;
24
24
  hideAddButton: boolean;
@@ -17,8 +17,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
17
17
  label: string;
18
18
  name: string;
19
19
  modelValue: InputLinkItem[] | ContactChannel[];
20
- limit: number;
21
20
  showCounter: boolean;
21
+ limit: number;
22
22
  format: "legacy" | "contact_channel";
23
23
  hideType: boolean;
24
24
  hideAddButton: boolean;
@@ -13,8 +13,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
13
13
  modelValue: LocalizedNameItem[];
14
14
  options: InputSelectItem[];
15
15
  placeholder: string;
16
- limit: number;
17
16
  showCounter: boolean;
17
+ limit: number;
18
18
  addLabel: string;
19
19
  removable: boolean;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -13,8 +13,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
13
13
  modelValue: LocalizedNameItem[];
14
14
  options: InputSelectItem[];
15
15
  placeholder: string;
16
- limit: number;
17
16
  showCounter: boolean;
17
+ limit: number;
18
18
  addLabel: string;
19
19
  removable: boolean;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -243,7 +243,7 @@ const props = defineProps({
243
243
  label: { type: String, required: false, default: "\u0E01\u0E32\u0E23\u0E40\u0E2D\u0E48\u0E22\u0E16\u0E36\u0E07" },
244
244
  placeholder: { type: String, required: false, default: "\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E01\u0E32\u0E23\u0E40\u0E2D\u0E48\u0E22\u0E16\u0E36\u0E07" }
245
245
  });
246
- const api = useApi();
246
+ const api = useApi({ includeProvince: false });
247
247
  const comboboxRef = ref();
248
248
  const selectedUsernames = ref([]);
249
249
  const isSelected = (id) => selectedUsernames.value.includes(id);
@@ -36,8 +36,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
36
36
  id: string;
37
37
  name: string;
38
38
  required: boolean;
39
- placeholder: string;
40
39
  readonly: boolean;
40
+ placeholder: string;
41
41
  disabledErrorMessage: boolean;
42
42
  iconPosition: import("#pukaad-ui/types/components/input/input-search").InputSearchIconPosition;
43
43
  disabledIcon: boolean;
@@ -36,8 +36,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
36
36
  id: string;
37
37
  name: string;
38
38
  required: boolean;
39
- placeholder: string;
40
39
  readonly: boolean;
40
+ placeholder: string;
41
41
  disabledErrorMessage: boolean;
42
42
  iconPosition: import("#pukaad-ui/types/components/input/input-search").InputSearchIconPosition;
43
43
  disabledIcon: boolean;
@@ -20,12 +20,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
20
20
  name: string;
21
21
  required: boolean;
22
22
  description: string;
23
- labelKey: string;
24
23
  placeholder: string;
25
- limit: number;
24
+ labelKey: string;
26
25
  disabledErrorMessage: boolean;
27
26
  disabledBorder: boolean;
28
27
  showCounter: boolean;
28
+ limit: number;
29
29
  descriptionKey: string;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: typeof __VLS_export;
@@ -20,12 +20,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
20
20
  name: string;
21
21
  required: boolean;
22
22
  description: string;
23
- labelKey: string;
24
23
  placeholder: string;
25
- limit: number;
24
+ labelKey: string;
26
25
  disabledErrorMessage: boolean;
27
26
  disabledBorder: boolean;
28
27
  showCounter: boolean;
28
+ limit: number;
29
29
  descriptionKey: string;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: typeof __VLS_export;
@@ -41,8 +41,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
41
41
  name: string;
42
42
  required: boolean;
43
43
  options: InputTagModalOption[];
44
- labelKey: string;
45
44
  placeholder: string;
45
+ labelKey: string;
46
46
  disabledErrorMessage: boolean;
47
47
  valueKey: string;
48
48
  searchPlaceholder: string;
@@ -41,8 +41,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
41
41
  name: string;
42
42
  required: boolean;
43
43
  options: InputTagModalOption[];
44
- labelKey: string;
45
44
  placeholder: string;
45
+ labelKey: string;
46
46
  disabledErrorMessage: boolean;
47
47
  valueKey: string;
48
48
  searchPlaceholder: string;
@@ -28,8 +28,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
28
28
  name: string;
29
29
  state: "user" | "admin";
30
30
  placeholder: string;
31
- limit: number;
32
31
  profileScope: "personal" | "business";
32
+ limit: number;
33
33
  ignore: string[];
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
@@ -28,8 +28,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
28
28
  name: string;
29
29
  state: "user" | "admin";
30
30
  placeholder: string;
31
- limit: number;
32
31
  profileScope: "personal" | "business";
32
+ limit: number;
33
33
  ignore: string[];
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
@@ -59,11 +59,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
59
59
  id: string;
60
60
  name: string;
61
61
  required: boolean;
62
- limit: number;
63
62
  readonly: boolean;
64
63
  disabledErrorMessage: boolean;
65
64
  disabledBorder: boolean;
66
65
  showCounter: boolean;
66
+ limit: number;
67
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
68
68
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
69
69
  declare const _default: typeof __VLS_export;
@@ -59,11 +59,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
59
59
  id: string;
60
60
  name: string;
61
61
  required: boolean;
62
- limit: number;
63
62
  readonly: boolean;
64
63
  disabledErrorMessage: boolean;
65
64
  disabledBorder: boolean;
66
65
  showCounter: boolean;
66
+ limit: number;
67
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
68
68
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
69
69
  declare const _default: typeof __VLS_export;
@@ -46,12 +46,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
46
46
  resize: "none" | "both" | "horizontal" | "vertical";
47
47
  fullHeight: boolean;
48
48
  fullWidth: boolean;
49
- rows: number;
50
- limit: number;
51
49
  readonly: boolean;
50
+ rows: number;
52
51
  disabledErrorMessage: boolean;
53
52
  disabledBorder: boolean;
54
53
  showCounter: boolean;
54
+ limit: number;
55
55
  heightScroll: boolean;
56
56
  spaceToComma: boolean;
57
57
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -46,12 +46,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
46
46
  resize: "none" | "both" | "horizontal" | "vertical";
47
47
  fullHeight: boolean;
48
48
  fullWidth: boolean;
49
- rows: number;
50
- limit: number;
51
49
  readonly: boolean;
50
+ rows: number;
52
51
  disabledErrorMessage: boolean;
53
52
  disabledBorder: boolean;
54
53
  showCounter: boolean;
54
+ limit: number;
55
55
  heightScroll: boolean;
56
56
  spaceToComma: boolean;
57
57
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
22
22
  name: string;
23
23
  required: boolean;
24
24
  options: import("../../../types/components/input/input-select.js").InputSelectItem[];
25
- limit: number;
26
25
  showCounter: boolean;
26
+ limit: number;
27
27
  removable: boolean;
28
28
  selectClass: import("vue").HTMLAttributes["class"];
29
29
  resetOnTypeChange: boolean;
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
22
22
  name: string;
23
23
  required: boolean;
24
24
  options: import("../../../types/components/input/input-select.js").InputSelectItem[];
25
- limit: number;
26
25
  showCounter: boolean;
26
+ limit: number;
27
27
  removable: boolean;
28
28
  selectClass: import("vue").HTMLAttributes["class"];
29
29
  resetOnTypeChange: boolean;
@@ -18,8 +18,8 @@ type __VLS_Slots = {} & {
18
18
  default?: (props: typeof __VLS_1) => any;
19
19
  };
20
20
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
- config: ChartConfig;
22
21
  payload: Record<string, any>;
22
+ config: ChartConfig;
23
23
  indicator: "line" | "dot" | "dashed";
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -18,8 +18,8 @@ type __VLS_Slots = {} & {
18
18
  default?: (props: typeof __VLS_1) => any;
19
19
  };
20
20
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
- config: ChartConfig;
22
21
  payload: Record<string, any>;
22
+ config: ChartConfig;
23
23
  indicator: "line" | "dot" | "dashed";
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -14,7 +14,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
14
14
  dir?: string | undefined | undefined;
15
15
  draggable?: (boolean | "true" | "false") | undefined;
16
16
  enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
17
- enterKeyHint?: "search" | "done" | "next" | "send" | "enter" | "go" | "previous" | undefined;
17
+ enterKeyHint?: "search" | "done" | "send" | "next" | "enter" | "go" | "previous" | undefined;
18
18
  hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
19
19
  id?: string | undefined | undefined;
20
20
  inert?: (boolean | "true" | "false") | undefined;
@@ -208,7 +208,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
208
208
  dir?: string | undefined | undefined;
209
209
  draggable?: (boolean | "true" | "false") | undefined;
210
210
  enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
211
- enterKeyHint?: "search" | "done" | "next" | "send" | "enter" | "go" | "previous" | undefined;
211
+ enterKeyHint?: "search" | "done" | "send" | "next" | "enter" | "go" | "previous" | undefined;
212
212
  hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
213
213
  id?: string | undefined | undefined;
214
214
  inert?: (boolean | "true" | "false") | undefined;
@@ -14,7 +14,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
14
14
  dir?: string | undefined | undefined;
15
15
  draggable?: (boolean | "true" | "false") | undefined;
16
16
  enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
17
- enterKeyHint?: "search" | "done" | "next" | "send" | "enter" | "go" | "previous" | undefined;
17
+ enterKeyHint?: "search" | "done" | "send" | "next" | "enter" | "go" | "previous" | undefined;
18
18
  hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
19
19
  id?: string | undefined | undefined;
20
20
  inert?: (boolean | "true" | "false") | undefined;
@@ -208,7 +208,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
208
208
  dir?: string | undefined | undefined;
209
209
  draggable?: (boolean | "true" | "false") | undefined;
210
210
  enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
211
- enterKeyHint?: "search" | "done" | "next" | "send" | "enter" | "go" | "previous" | undefined;
211
+ enterKeyHint?: "search" | "done" | "send" | "next" | "enter" | "go" | "previous" | undefined;
212
212
  hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
213
213
  id?: string | undefined | undefined;
214
214
  inert?: (boolean | "true" | "false") | undefined;
@@ -16,7 +16,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
16
16
  dir?: string | undefined | undefined;
17
17
  draggable?: (boolean | "true" | "false") | undefined;
18
18
  enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
19
- enterKeyHint?: "search" | "done" | "next" | "send" | "enter" | "go" | "previous" | undefined;
19
+ enterKeyHint?: "search" | "done" | "send" | "next" | "enter" | "go" | "previous" | undefined;
20
20
  hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
21
21
  id?: string | undefined | undefined;
22
22
  inert?: (boolean | "true" | "false") | undefined;
@@ -212,7 +212,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
212
212
  dir?: string | undefined | undefined;
213
213
  draggable?: (boolean | "true" | "false") | undefined;
214
214
  enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
215
- enterKeyHint?: "search" | "done" | "next" | "send" | "enter" | "go" | "previous" | undefined;
215
+ enterKeyHint?: "search" | "done" | "send" | "next" | "enter" | "go" | "previous" | undefined;
216
216
  hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
217
217
  id?: string | undefined | undefined;
218
218
  inert?: (boolean | "true" | "false") | undefined;
@@ -16,7 +16,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
16
16
  dir?: string | undefined | undefined;
17
17
  draggable?: (boolean | "true" | "false") | undefined;
18
18
  enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
19
- enterKeyHint?: "search" | "done" | "next" | "send" | "enter" | "go" | "previous" | undefined;
19
+ enterKeyHint?: "search" | "done" | "send" | "next" | "enter" | "go" | "previous" | undefined;
20
20
  hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
21
21
  id?: string | undefined | undefined;
22
22
  inert?: (boolean | "true" | "false") | undefined;
@@ -212,7 +212,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
212
212
  dir?: string | undefined | undefined;
213
213
  draggable?: (boolean | "true" | "false") | undefined;
214
214
  enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
215
- enterKeyHint?: "search" | "done" | "next" | "send" | "enter" | "go" | "previous" | undefined;
215
+ enterKeyHint?: "search" | "done" | "send" | "next" | "enter" | "go" | "previous" | undefined;
216
216
  hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
217
217
  id?: string | undefined | undefined;
218
218
  inert?: (boolean | "true" | "false") | undefined;
@@ -1 +1,3 @@
1
- export declare const useApi: () => import("nitropack").$Fetch<unknown, import("nitropack").NitroFetchRequest>;
1
+ export declare const useApi: (apiOptions?: {
2
+ includeProvince?: boolean;
3
+ }) => import("nitropack").$Fetch<unknown, import("nitropack").NitroFetchRequest>;
@@ -1,5 +1,5 @@
1
1
  import { useRuntimeConfig, useCookie, useState } from "nuxt/app";
2
- export const useApi = () => {
2
+ export const useApi = (apiOptions = {}) => {
3
3
  const config = useRuntimeConfig();
4
4
  const baseURL = config.public.BASE_URL_API;
5
5
  const provinceIdState = useState("pukaad:province-id", () => null);
@@ -20,7 +20,7 @@ export const useApi = () => {
20
20
  headers.set("Authorization", `Bearer ${secId.value}`);
21
21
  }
22
22
  const pid = provinceIdState.value ?? configProvinceId;
23
- if (pid) {
23
+ if (apiOptions.includeProvince !== false && pid) {
24
24
  headers.set("X-Province-ID", String(pid));
25
25
  }
26
26
  if (businessProfileId.value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.423.0",
3
+ "version": "1.424.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",