pukaad-ui-lib 1.173.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 +1 -1
- package/dist/runtime/components/input/input-tag.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-tag.vue.d.ts +1 -1
- package/dist/runtime/components/modal/modal-secure.vue +2 -5
- package/dist/runtime/components/ui/accordion/AccordionItem.vue +1 -1
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -25,8 +25,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
25
25
|
"onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
name: string;
|
|
28
|
-
placeholder: string;
|
|
29
28
|
state: "user" | "admin";
|
|
29
|
+
placeholder: string;
|
|
30
30
|
limit: number;
|
|
31
31
|
ignore: string[];
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -25,8 +25,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
25
25
|
"onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
name: string;
|
|
28
|
-
placeholder: string;
|
|
29
28
|
state: "user" | "admin";
|
|
29
|
+
placeholder: string;
|
|
30
30
|
limit: number;
|
|
31
31
|
ignore: string[];
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -119,11 +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
|
-
modalStates.twoFa = true;
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
if (key === "twoFa") {
|
|
127
122
|
onDisabled2FA();
|
|
128
123
|
return;
|
|
129
124
|
}
|
|
@@ -163,6 +158,8 @@ watch(isOpen, (v) => {
|
|
|
163
158
|
modalStates.password = true;
|
|
164
159
|
if (["delete-phone", "delete-email"].includes(props.state)) {
|
|
165
160
|
isLastStep.value = !props.twoFaEnabled;
|
|
161
|
+
} else if (props.state === "disabled-2fa") {
|
|
162
|
+
isLastStep.value = true;
|
|
166
163
|
} else {
|
|
167
164
|
isLastStep.value = false;
|
|
168
165
|
}
|
|
@@ -19,7 +19,7 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
19
19
|
v-slot="slotProps"
|
|
20
20
|
data-slot="accordion-item"
|
|
21
21
|
v-bind="forwardedProps"
|
|
22
|
-
:class="cn('border-b
|
|
22
|
+
:class="cn('border-b ', props.class)"
|
|
23
23
|
>
|
|
24
24
|
<slot v-bind="slotProps" />
|
|
25
25
|
</AccordionItem>
|