pukaad-ui-lib 1.174.0 → 1.175.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.174.0",
4
+ "version": "1.175.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -38,10 +38,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
38
38
  description: string;
39
39
  options: AutocompleteOption[] | string[] | number[];
40
40
  placeholder: string;
41
+ limit: number;
41
42
  disabledErrorMessage: boolean;
42
43
  disabledBorder: boolean;
43
44
  showCounter: boolean;
44
- limit: number;
45
45
  returnObject: boolean;
46
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
47
  declare const _default: typeof __VLS_export;
@@ -38,10 +38,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
38
38
  description: string;
39
39
  options: AutocompleteOption[] | string[] | number[];
40
40
  placeholder: string;
41
+ limit: number;
41
42
  disabledErrorMessage: boolean;
42
43
  disabledBorder: boolean;
43
44
  showCounter: boolean;
44
- limit: number;
45
45
  returnObject: boolean;
46
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
47
  declare const _default: typeof __VLS_export;
@@ -30,8 +30,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
30
30
  fullWidth: boolean;
31
31
  fullHeight: boolean;
32
32
  name: string;
33
- disabledErrorMessage: boolean;
34
33
  limit: number;
34
+ disabledErrorMessage: boolean;
35
35
  accept: string;
36
36
  labelIcon: string;
37
37
  disabledDrop: boolean;
@@ -30,8 +30,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
30
30
  fullWidth: boolean;
31
31
  fullHeight: boolean;
32
32
  name: string;
33
- disabledErrorMessage: boolean;
34
33
  limit: number;
34
+ disabledErrorMessage: boolean;
35
35
  accept: string;
36
36
  labelIcon: string;
37
37
  disabledDrop: boolean;
@@ -59,10 +59,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
59
59
  id: string;
60
60
  name: string;
61
61
  disabled: boolean;
62
+ limit: number;
62
63
  disabledErrorMessage: boolean;
63
64
  disabledBorder: boolean;
64
65
  showCounter: boolean;
65
- limit: number;
66
66
  readonly: boolean;
67
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
68
68
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -59,10 +59,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
59
59
  id: string;
60
60
  name: string;
61
61
  disabled: boolean;
62
+ limit: number;
62
63
  disabledErrorMessage: boolean;
63
64
  disabledBorder: boolean;
64
65
  showCounter: boolean;
65
- limit: number;
66
66
  readonly: boolean;
67
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
68
68
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -44,10 +44,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
44
44
  id: string;
45
45
  name: string;
46
46
  disabled: boolean;
47
+ limit: number;
47
48
  disabledErrorMessage: boolean;
48
49
  disabledBorder: boolean;
49
50
  showCounter: boolean;
50
- limit: number;
51
51
  readonly: boolean;
52
52
  resize: "none" | "both" | "horizontal" | "vertical";
53
53
  rows: number;
@@ -44,10 +44,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
44
44
  id: string;
45
45
  name: string;
46
46
  disabled: boolean;
47
+ limit: number;
47
48
  disabledErrorMessage: boolean;
48
49
  disabledBorder: boolean;
49
50
  showCounter: boolean;
50
- limit: number;
51
51
  readonly: boolean;
52
52
  resize: "none" | "both" | "horizontal" | "vertical";
53
53
  rows: number;
@@ -119,10 +119,6 @@ const handleComplete = (key, data) => {
119
119
  }
120
120
  if (props.state === "disabled-2fa") {
121
121
  if (key === "password") {
122
- isLastStep.value = true;
123
- return;
124
- }
125
- if (key === "twoFa") {
126
122
  onDisabled2FA();
127
123
  return;
128
124
  }
@@ -162,6 +158,8 @@ watch(isOpen, (v) => {
162
158
  modalStates.password = true;
163
159
  if (["delete-phone", "delete-email"].includes(props.state)) {
164
160
  isLastStep.value = !props.twoFaEnabled;
161
+ } else if (props.state === "disabled-2fa") {
162
+ isLastStep.value = true;
165
163
  } else {
166
164
  isLastStep.value = false;
167
165
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.174.0",
3
+ "version": "1.175.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",