adata-ui 3.1.57 → 3.1.58
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/ASidePanel.vue +121 -0
- package/dist/runtime/components/ASidePanel.vue.d.ts +28 -0
- package/dist/runtime/components/DigitBadge.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue.d.ts +1 -1
- package/dist/runtime/components/SidePanel.vue.d.ts +1 -1
- package/dist/runtime/components/accordion/Accordion.vue.d.ts +3 -3
- package/dist/runtime/components/button/Button.vue.d.ts +2 -2
- package/dist/runtime/components/checkbox/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/forms/input/password/InputPassword.vue.d.ts +1 -1
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue.d.ts +1 -1
- package/dist/runtime/components/header/ProductMenu.vue +3 -3
- package/dist/runtime/components/mobile-navigation/MobileProductMenu.vue +2 -2
- package/dist/runtime/components/radio-button/RadioButton.vue.d.ts +2 -2
- package/dist/runtime/i18n/i18n.config.d.ts +3 -3
- package/dist/runtime/lang/en.js +1 -1
- package/dist/runtime/lang/kk.js +1 -1
- package/dist/runtime/lang/ru.d.ts +1 -1
- package/dist/runtime/lang/ru.js +2 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "#imports";
|
|
3
|
+
import { DialogContent, DialogOverlay, DialogPortal, DialogRoot } from "reka-ui";
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
side: { type: String, required: false, default: "right" },
|
|
6
|
+
width: { type: String, required: false, default: "300px" },
|
|
7
|
+
height: { type: String, required: false, default: "300px" }
|
|
8
|
+
});
|
|
9
|
+
const open = defineModel({ type: Boolean, ...{ default: false } });
|
|
10
|
+
const POSITION_CLASSES = {
|
|
11
|
+
right: "top-0 bottom-0 right-0",
|
|
12
|
+
left: "top-0 bottom-0 left-0",
|
|
13
|
+
top: "top-0 left-0 right-0",
|
|
14
|
+
bottom: "bottom-0 left-0 right-0"
|
|
15
|
+
};
|
|
16
|
+
const CORNER_CLASSES = {
|
|
17
|
+
left: "rounded-r-2xl",
|
|
18
|
+
right: "rounded-l-2xl",
|
|
19
|
+
top: "rounded-b-2xl",
|
|
20
|
+
bottom: "rounded-t-2xl"
|
|
21
|
+
};
|
|
22
|
+
const BUTTON_POSITIONS = {
|
|
23
|
+
left: "-right-8 top-8",
|
|
24
|
+
right: "-left-8 top-8",
|
|
25
|
+
top: "hidden",
|
|
26
|
+
bottom: "hidden"
|
|
27
|
+
};
|
|
28
|
+
const BUTTON_CORNERS = {
|
|
29
|
+
left: "rounded-r-lg",
|
|
30
|
+
right: "rounded-l-lg",
|
|
31
|
+
top: "rounded-b-lg",
|
|
32
|
+
bottom: "rounded-t-lg"
|
|
33
|
+
};
|
|
34
|
+
const sizeStyle = computed(() => {
|
|
35
|
+
if (["left", "right"].includes(props.side)) {
|
|
36
|
+
return { width: props.width, height: "100%" };
|
|
37
|
+
}
|
|
38
|
+
return { width: "100%", height: props.height };
|
|
39
|
+
});
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
<template>
|
|
43
|
+
<dialog-root v-model:open="open">
|
|
44
|
+
<dialog-portal>
|
|
45
|
+
<transition name="fade">
|
|
46
|
+
<dialog-overlay
|
|
47
|
+
class="fixed inset-0 bg-black/50"
|
|
48
|
+
/>
|
|
49
|
+
</transition>
|
|
50
|
+
|
|
51
|
+
<transition name="slide">
|
|
52
|
+
<dialog-content
|
|
53
|
+
:data-side="props.side"
|
|
54
|
+
:style="sizeStyle"
|
|
55
|
+
:class="[
|
|
56
|
+
'fixed bg-white dark:bg-gray-900 shadow-2xl',
|
|
57
|
+
POSITION_CLASSES[props.side],
|
|
58
|
+
CORNER_CLASSES[props.side]
|
|
59
|
+
]"
|
|
60
|
+
>
|
|
61
|
+
<button
|
|
62
|
+
:class="[
|
|
63
|
+
'absolute h-12 w-8 bg-blue-700 dark:bg-blue-500 cursor-pointer',
|
|
64
|
+
BUTTON_CORNERS[props.side],
|
|
65
|
+
BUTTON_POSITIONS[props.side]
|
|
66
|
+
]"
|
|
67
|
+
@click="open = false"
|
|
68
|
+
>
|
|
69
|
+
<i-x-mark class="size-4 m-auto" />
|
|
70
|
+
</button>
|
|
71
|
+
<slot />
|
|
72
|
+
</dialog-content>
|
|
73
|
+
</transition>
|
|
74
|
+
</dialog-portal>
|
|
75
|
+
</dialog-root>
|
|
76
|
+
</template>
|
|
77
|
+
|
|
78
|
+
<style scoped>
|
|
79
|
+
.fade-enter-active,
|
|
80
|
+
.fade-leave-active {
|
|
81
|
+
transition: opacity 0.3s ease;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.fade-enter-from,
|
|
85
|
+
.fade-leave-to {
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.slide-enter-active,
|
|
90
|
+
.slide-leave-active {
|
|
91
|
+
transition: transform 0.3s ease;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.slide-enter-from {
|
|
95
|
+
transform: translateX(100%);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.slide-leave-to {
|
|
99
|
+
transform: translateX(100%);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.slide-enter-from[data-side=right],
|
|
103
|
+
.slide-leave-to[data-side=right] {
|
|
104
|
+
transform: translateX(100%);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.slide-enter-from[data-side=left],
|
|
108
|
+
.slide-leave-to[data-side=left] {
|
|
109
|
+
transform: translateX(-100%);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.slide-enter-from[data-side=top],
|
|
113
|
+
.slide-leave-to[data-side=top] {
|
|
114
|
+
transform: translateY(-100%);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.slide-enter-from[data-side=bottom],
|
|
118
|
+
.slide-leave-to[data-side=bottom] {
|
|
119
|
+
transform: translateY(100%);
|
|
120
|
+
}
|
|
121
|
+
</style>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
side?: 'right' | 'left' | 'top' | 'bottom';
|
|
3
|
+
width?: string;
|
|
4
|
+
height?: string;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
7
|
+
modelValue?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_30: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_30) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: boolean) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
side: "right" | "left" | "top" | "bottom";
|
|
19
|
+
width: string;
|
|
20
|
+
height: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -13,8 +13,8 @@ export type StateType = {
|
|
|
13
13
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
14
|
size: "sm" | "md" | "lg";
|
|
15
15
|
type: "primary" | "success" | "danger" | "gray" | "orange" | "warning";
|
|
16
|
-
view: "default" | "inverted";
|
|
17
16
|
disabled: boolean;
|
|
17
|
+
view: "default" | "inverted";
|
|
18
18
|
customClasses: string;
|
|
19
19
|
prefix: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -23,13 +23,13 @@ type __VLS_Slots = {} & {
|
|
|
23
23
|
};
|
|
24
24
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
|
|
25
25
|
name: string;
|
|
26
|
+
width: string | number;
|
|
26
27
|
transition: boolean;
|
|
27
28
|
title: string;
|
|
28
29
|
overlay: boolean;
|
|
29
30
|
preventClose: boolean;
|
|
30
31
|
fullscreen: boolean;
|
|
31
32
|
isScrollable: boolean;
|
|
32
|
-
width: string | number;
|
|
33
33
|
heightModalClass: string;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -48,9 +48,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
48
48
|
}>, {
|
|
49
49
|
side: Side;
|
|
50
50
|
width: string;
|
|
51
|
+
height: string;
|
|
51
52
|
idName: string;
|
|
52
53
|
zIndex: number | "auto";
|
|
53
|
-
height: string;
|
|
54
54
|
lockScroll: boolean;
|
|
55
55
|
hideScrollbar: boolean;
|
|
56
56
|
overlayColor: string;
|
|
@@ -17,19 +17,19 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
17
17
|
handelOpen: () => void;
|
|
18
18
|
handelClose: () => void;
|
|
19
19
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
20
|
+
open: () => any;
|
|
20
21
|
close: () => any;
|
|
21
22
|
toggle: (isOpen: boolean) => any;
|
|
22
|
-
open: () => any;
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
24
|
+
onOpen?: (() => any) | undefined;
|
|
24
25
|
onClose?: (() => any) | undefined;
|
|
25
26
|
onToggle?: ((isOpen: boolean) => any) | undefined;
|
|
26
|
-
onOpen?: (() => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
size: import("./types.js").Size;
|
|
29
29
|
color: import("./types.js").Color;
|
|
30
30
|
disabled: boolean;
|
|
31
|
-
slot: string;
|
|
32
31
|
defaultOpen: boolean;
|
|
32
|
+
slot: string;
|
|
33
33
|
divider: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -18,15 +18,15 @@ type __VLS_Slots = {} & {
|
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
20
20
|
size: "sm" | "md" | "lg" | "xl";
|
|
21
|
-
|
|
21
|
+
to: string;
|
|
22
22
|
disabled: boolean;
|
|
23
|
+
view: "default" | "outline" | "transparent";
|
|
23
24
|
variant: "primary" | "success" | "danger" | "gray" | "ghost";
|
|
24
25
|
form: "icon" | "button";
|
|
25
26
|
iconClass: string;
|
|
26
27
|
loading: boolean;
|
|
27
28
|
block: boolean;
|
|
28
29
|
active: boolean;
|
|
29
|
-
to: string;
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
32
|
export default _default;
|
|
@@ -25,9 +25,9 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
26
26
|
name: string;
|
|
27
27
|
size: "lg" | "sm";
|
|
28
|
-
value: string | number | object | null;
|
|
29
|
-
modelValue: string | number | Array<any> | object | boolean | null;
|
|
30
28
|
side: "right" | "left" | null;
|
|
29
|
+
modelValue: string | number | Array<any> | object | boolean | null;
|
|
30
|
+
value: string | number | object | null;
|
|
31
31
|
masterControl: boolean;
|
|
32
32
|
emptyCheckboxClass: string;
|
|
33
33
|
intermediateCheckboxClass: string;
|
|
@@ -7,8 +7,8 @@ interface Props {
|
|
|
7
7
|
}
|
|
8
8
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
9
|
size: "sm" | "md";
|
|
10
|
-
error: string;
|
|
11
10
|
disabled: boolean;
|
|
11
|
+
error: string;
|
|
12
12
|
required: boolean;
|
|
13
13
|
label: string;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -24,8 +24,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
24
24
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
size: "sm" | "md";
|
|
27
|
-
error: string | boolean;
|
|
28
27
|
disabled: boolean;
|
|
28
|
+
error: string | boolean;
|
|
29
29
|
required: boolean;
|
|
30
30
|
label: string;
|
|
31
31
|
readonly: boolean;
|
|
@@ -279,10 +279,10 @@ const filteredItems = computed(() => [
|
|
|
279
279
|
to: `https://ac.${mode}.kz/main/assistant`
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
|
-
title: t("header.products.compliance.items.
|
|
283
|
-
subtitle: t("header.products.compliance.items.
|
|
282
|
+
title: t("header.products.compliance.items.assignments.t"),
|
|
283
|
+
subtitle: t("header.products.compliance.items.assignments.st"),
|
|
284
284
|
icon: ATasks,
|
|
285
|
-
to: `https://ac.${mode}.kz/main/
|
|
285
|
+
to: `https://ac.${mode}.kz/main/assignments`
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
288
|
title: t("header.products.compliance.items.hotline.t"),
|
|
@@ -256,9 +256,9 @@ const sideLinks = {
|
|
|
256
256
|
link: `https://ac.${mode}.kz/main/assistant`
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
|
-
label: "header.products.compliance.items.
|
|
259
|
+
label: "header.products.compliance.items.assignments.t",
|
|
260
260
|
icon: ATasks,
|
|
261
|
-
link: `https://ac.${mode}.kz/main/
|
|
261
|
+
link: `https://ac.${mode}.kz/main/assignments`
|
|
262
262
|
},
|
|
263
263
|
{
|
|
264
264
|
label: "header.products.compliance.items.hotline.t",
|
|
@@ -22,13 +22,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
22
22
|
} & {
|
|
23
23
|
change: () => any;
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
-
onChange?: (() => any) | undefined;
|
|
26
25
|
"onUpdate:modelValue"?: ((value: string | number | boolean | null | undefined) => any) | undefined;
|
|
26
|
+
onChange?: (() => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
name: string;
|
|
29
29
|
size: "lg" | "sm";
|
|
30
|
-
disabled: boolean;
|
|
31
30
|
side: "right" | "left";
|
|
31
|
+
disabled: boolean;
|
|
32
32
|
permanent: boolean;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -246,7 +246,7 @@ declare const _default: {
|
|
|
246
246
|
t: string;
|
|
247
247
|
st: string;
|
|
248
248
|
};
|
|
249
|
-
|
|
249
|
+
assignments: {
|
|
250
250
|
t: string;
|
|
251
251
|
st: string;
|
|
252
252
|
};
|
|
@@ -1016,7 +1016,7 @@ declare const _default: {
|
|
|
1016
1016
|
t: string;
|
|
1017
1017
|
st: string;
|
|
1018
1018
|
};
|
|
1019
|
-
|
|
1019
|
+
assignments: {
|
|
1020
1020
|
t: string;
|
|
1021
1021
|
st: string;
|
|
1022
1022
|
};
|
|
@@ -1786,7 +1786,7 @@ declare const _default: {
|
|
|
1786
1786
|
t: string;
|
|
1787
1787
|
st: string;
|
|
1788
1788
|
};
|
|
1789
|
-
|
|
1789
|
+
assignments: {
|
|
1790
1790
|
t: string;
|
|
1791
1791
|
st: string;
|
|
1792
1792
|
};
|
package/dist/runtime/lang/en.js
CHANGED
package/dist/runtime/lang/kk.js
CHANGED
|
@@ -240,7 +240,7 @@ const KkLocale = {
|
|
|
240
240
|
t: "\u0416\u0430\u0441\u0430\u043D\u0434\u044B \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442 \u043A\u04E9\u043C\u0435\u043A\u0448\u0456\u0441\u0456",
|
|
241
241
|
st: ""
|
|
242
242
|
},
|
|
243
|
-
|
|
243
|
+
assignments: {
|
|
244
244
|
t: "\u0422\u0430\u043F\u0441\u044B\u0440\u043C\u0430\u043B\u0430\u0440",
|
|
245
245
|
st: ""
|
|
246
246
|
},
|
package/dist/runtime/lang/ru.js
CHANGED
|
@@ -234,7 +234,7 @@ const RuLocale = {
|
|
|
234
234
|
t: "AI \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442",
|
|
235
235
|
st: ""
|
|
236
236
|
},
|
|
237
|
-
|
|
237
|
+
assignments: {
|
|
238
238
|
t: "\u0417\u0430\u0434\u0430\u0447\u0438",
|
|
239
239
|
st: ""
|
|
240
240
|
},
|
|
@@ -596,7 +596,7 @@ const RuLocale = {
|
|
|
596
596
|
auth: {
|
|
597
597
|
title: "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430",
|
|
598
598
|
content: "\u0414\u0430\u043D\u043D\u044B\u0439 \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u0442\u043E\u043B\u044C\u043A\u043E \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u043E\u0432\u0430\u043D\u043D\u044B\u043C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F\u043C",
|
|
599
|
-
firstTime: "\u0412\u043F\u0435\u0440\u0432\u044B\u0435 \
|
|
599
|
+
firstTime: "\u0412\u043F\u0435\u0440\u0432\u044B\u0435 \u0432 \u043D\u0430\u0448\u0435\u043C \u0441\u0435\u0440\u0432\u0438\u0441\u0435?"
|
|
600
600
|
},
|
|
601
601
|
limit: {
|
|
602
602
|
title: "\u041B\u0438\u043C\u0438\u0442 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",
|