pukaad-ui-lib 1.440.0 → 1.441.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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
3
  "configKey": "pukaadUI",
4
- "version": "1.440.0",
4
+ "version": "1.441.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -16,6 +16,7 @@ export interface InputAddressProps {
16
16
  required?: boolean;
17
17
  requiredDetail?: boolean;
18
18
  rules?: object | string | Function;
19
+ layout?: "vertical" | "horizontal";
19
20
  gap?: string;
20
21
  fixedProvinceId?: number;
21
22
  }
@@ -50,6 +51,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
50
51
  name: string;
51
52
  required: boolean;
52
53
  placeholder: string;
54
+ layout: "vertical" | "horizontal";
53
55
  labelDetail: string;
54
56
  placeholderDetail: string;
55
57
  requiredDetail: boolean;
@@ -1,5 +1,11 @@
1
1
  <template>
2
- <div :class="['flex flex-col', props.gap]">
2
+ <div
3
+ :class="[
4
+ 'flex',
5
+ props.layout === 'horizontal' ? 'flex-row' : 'flex-col',
6
+ props.gap
7
+ ]"
8
+ >
3
9
  <!-- Address Selector (Province, District, Sub-district, Zip code) -->
4
10
  <InputCombobox
5
11
  ref="comboboxRef"
@@ -169,6 +175,7 @@ const props = defineProps({
169
175
  required: { type: Boolean, required: false, default: false },
170
176
  requiredDetail: { type: Boolean, required: false, default: false },
171
177
  rules: { type: [Object, String, Function], required: false },
178
+ layout: { type: String, required: false, default: "vertical" },
172
179
  gap: { type: String, required: false, default: "gap-4" },
173
180
  fixedProvinceId: { type: Number, required: false }
174
181
  });
@@ -16,6 +16,7 @@ export interface InputAddressProps {
16
16
  required?: boolean;
17
17
  requiredDetail?: boolean;
18
18
  rules?: object | string | Function;
19
+ layout?: "vertical" | "horizontal";
19
20
  gap?: string;
20
21
  fixedProvinceId?: number;
21
22
  }
@@ -50,6 +51,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
50
51
  name: string;
51
52
  required: boolean;
52
53
  placeholder: string;
54
+ layout: "vertical" | "horizontal";
53
55
  labelDetail: string;
54
56
  placeholderDetail: string;
55
57
  requiredDetail: 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[];
73
72
  labelKey: string;
74
73
  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[];
73
72
  labelKey: string;
74
73
  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";
34
33
  locale: string;
35
34
  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";
34
33
  locale: string;
35
34
  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";
48
47
  locale: string;
49
48
  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";
48
47
  locale: string;
49
48
  placeholder: string;
49
+ layout: "month-and-year" | "month-only" | "year-only";
50
50
  disabledErrorMessage: boolean;
51
51
  dateFormat: string;
52
52
  showTime: boolean;
@@ -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
- options: InputSelectItem[];
15
14
  placeholder: string;
15
+ options: InputSelectItem[];
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
- options: InputSelectItem[];
15
14
  placeholder: string;
15
+ options: InputSelectItem[];
16
16
  limit: number;
17
17
  showCounter: boolean;
18
18
  addLabel: 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[];
44
43
  labelKey: string;
45
44
  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[];
44
43
  labelKey: string;
45
44
  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
- state: "user" | "admin";
30
29
  placeholder: string;
30
+ state: "user" | "admin";
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
- state: "user" | "admin";
30
29
  placeholder: string;
30
+ state: "user" | "admin";
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.440.0",
3
+ "version": "1.441.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",