adata-ui 3.1.56 → 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/README.md +84 -84
- 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/Alert.vue +26 -26
- package/dist/runtime/components/DigitBadge.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/SidePanel.vue.d.ts +3 -3
- package/dist/runtime/components/Tag.vue +4 -4
- 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/ListItem.vue +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/components/tree-select/components/tree-select-nodes.vue +1 -1
- package/dist/runtime/composables/projectState.d.ts +2 -2
- package/dist/runtime/composables/useIdModals.d.ts +11 -21
- package/dist/runtime/composables/useNavigationLInks.d.ts +3 -3
- package/dist/runtime/composables/usePayment.d.ts +5 -5
- package/dist/runtime/i18n/i18n.config.d.ts +3 -3
- package/dist/runtime/i18n.d.ts +1 -1
- package/dist/runtime/icons/arrow/arrow-right.vue +24 -24
- package/dist/runtime/icons/calendar.vue +24 -24
- package/dist/runtime/icons/download.vue +26 -26
- package/dist/runtime/icons/edit.vue +24 -24
- package/dist/runtime/icons/file/excel.vue +88 -88
- package/dist/runtime/icons/id.vue +9 -9
- package/dist/runtime/icons/map-pin-rect.vue +15 -15
- package/dist/runtime/icons/more.vue +36 -36
- package/dist/runtime/icons/plus-circle.vue +24 -24
- package/dist/runtime/icons/tenge.vue +22 -22
- package/dist/runtime/icons/trash.vue +24 -24
- package/dist/runtime/icons/upload.vue +26 -26
- package/dist/runtime/icons/user.vue +30 -30
- package/dist/runtime/icons/warning-triangle.vue +29 -29
- 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 +4 -4
- package/dist/runtime/plugins/toast.d.ts +1 -503
- package/dist/runtime/server/tsconfig.json +3 -3
- package/dist/runtime/utils/localizedNavigation.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Get your module up and running quickly.
|
|
3
|
-
|
|
4
|
-
Find and replace all on all files (CMD+SHIFT+F):
|
|
5
|
-
- Name: My Module
|
|
6
|
-
- Package name: my-module
|
|
7
|
-
- Description: My new Nuxt module
|
|
8
|
-
-->
|
|
9
|
-
|
|
10
|
-
# My Module
|
|
11
|
-
|
|
12
|
-
[![npm version][npm-version-src]][npm-version-href]
|
|
13
|
-
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
14
|
-
[![License][license-src]][license-href]
|
|
15
|
-
[![Nuxt][nuxt-src]][nuxt-href]
|
|
16
|
-
|
|
17
|
-
My new Nuxt module for doing amazing things.
|
|
18
|
-
|
|
19
|
-
- [✨ Release Notes](/CHANGELOG.md)
|
|
20
|
-
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
|
|
21
|
-
<!-- - [📖 Documentation](https://example.com) -->
|
|
22
|
-
|
|
23
|
-
## Features
|
|
24
|
-
|
|
25
|
-
<!-- Highlight some of the features your module provide here -->
|
|
26
|
-
- ⛰ Foo
|
|
27
|
-
- 🚠 Bar
|
|
28
|
-
- 🌲 Baz
|
|
29
|
-
|
|
30
|
-
## Quick Setup
|
|
31
|
-
|
|
32
|
-
Install the module to your Nuxt application with one command:
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
npx nuxi module add my-module
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
That's it! You can now use My Module in your Nuxt app ✨
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## Contribution
|
|
42
|
-
|
|
43
|
-
<details>
|
|
44
|
-
<summary>Local development</summary>
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
# Install dependencies
|
|
48
|
-
npm install
|
|
49
|
-
|
|
50
|
-
# Generate type stubs
|
|
51
|
-
npm run dev:prepare
|
|
52
|
-
|
|
53
|
-
# Develop with the playground
|
|
54
|
-
npm run dev
|
|
55
|
-
|
|
56
|
-
# Build the playground
|
|
57
|
-
npm run dev:build
|
|
58
|
-
|
|
59
|
-
# Run ESLint
|
|
60
|
-
npm run lint
|
|
61
|
-
|
|
62
|
-
# Run Vitest
|
|
63
|
-
npm run test
|
|
64
|
-
npm run test:watch
|
|
65
|
-
|
|
66
|
-
# Release new version
|
|
67
|
-
npm run release
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
</details>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<!-- Badges -->
|
|
74
|
-
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
|
|
75
|
-
[npm-version-href]: https://npmjs.com/package/my-module
|
|
76
|
-
|
|
77
|
-
[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
78
|
-
[npm-downloads-href]: https://npm.chart.dev/my-module
|
|
79
|
-
|
|
80
|
-
[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
81
|
-
[license-href]: https://npmjs.com/package/my-module
|
|
82
|
-
|
|
83
|
-
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
|
|
84
|
-
[nuxt-href]: https://nuxt.com
|
|
1
|
+
<!--
|
|
2
|
+
Get your module up and running quickly.
|
|
3
|
+
|
|
4
|
+
Find and replace all on all files (CMD+SHIFT+F):
|
|
5
|
+
- Name: My Module
|
|
6
|
+
- Package name: my-module
|
|
7
|
+
- Description: My new Nuxt module
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
# My Module
|
|
11
|
+
|
|
12
|
+
[![npm version][npm-version-src]][npm-version-href]
|
|
13
|
+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
14
|
+
[![License][license-src]][license-href]
|
|
15
|
+
[![Nuxt][nuxt-src]][nuxt-href]
|
|
16
|
+
|
|
17
|
+
My new Nuxt module for doing amazing things.
|
|
18
|
+
|
|
19
|
+
- [✨ Release Notes](/CHANGELOG.md)
|
|
20
|
+
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
|
|
21
|
+
<!-- - [📖 Documentation](https://example.com) -->
|
|
22
|
+
|
|
23
|
+
## Features
|
|
24
|
+
|
|
25
|
+
<!-- Highlight some of the features your module provide here -->
|
|
26
|
+
- ⛰ Foo
|
|
27
|
+
- 🚠 Bar
|
|
28
|
+
- 🌲 Baz
|
|
29
|
+
|
|
30
|
+
## Quick Setup
|
|
31
|
+
|
|
32
|
+
Install the module to your Nuxt application with one command:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npx nuxi module add my-module
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
That's it! You can now use My Module in your Nuxt app ✨
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Contribution
|
|
42
|
+
|
|
43
|
+
<details>
|
|
44
|
+
<summary>Local development</summary>
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
# Install dependencies
|
|
48
|
+
npm install
|
|
49
|
+
|
|
50
|
+
# Generate type stubs
|
|
51
|
+
npm run dev:prepare
|
|
52
|
+
|
|
53
|
+
# Develop with the playground
|
|
54
|
+
npm run dev
|
|
55
|
+
|
|
56
|
+
# Build the playground
|
|
57
|
+
npm run dev:build
|
|
58
|
+
|
|
59
|
+
# Run ESLint
|
|
60
|
+
npm run lint
|
|
61
|
+
|
|
62
|
+
# Run Vitest
|
|
63
|
+
npm run test
|
|
64
|
+
npm run test:watch
|
|
65
|
+
|
|
66
|
+
# Release new version
|
|
67
|
+
npm run release
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
</details>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
<!-- Badges -->
|
|
74
|
+
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
|
|
75
|
+
[npm-version-href]: https://npmjs.com/package/my-module
|
|
76
|
+
|
|
77
|
+
[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
78
|
+
[npm-downloads-href]: https://npm.chart.dev/my-module
|
|
79
|
+
|
|
80
|
+
[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
81
|
+
[license-href]: https://npmjs.com/package/my-module
|
|
82
|
+
|
|
83
|
+
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
|
|
84
|
+
[nuxt-href]: https://nuxt.com
|
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
|
+
};
|
|
@@ -33,30 +33,30 @@ const colorOptions = {
|
|
|
33
33
|
</script>
|
|
34
34
|
|
|
35
35
|
<template>
|
|
36
|
-
<div
|
|
37
|
-
class="inline-flex w-full rounded-md"
|
|
38
|
-
:class="twMerge(colorOptions.description[color], textBgClasses)"
|
|
39
|
-
>
|
|
40
|
-
<div
|
|
41
|
-
class="flex items-center justify-center rounded-l-md"
|
|
42
|
-
:class="twMerge([colorOptions.icon[color], sizeOptions[size]], iconBgClasses)"
|
|
43
|
-
>
|
|
44
|
-
<slot name="icon">
|
|
45
|
-
<i-info-circle
|
|
46
|
-
v-if="iconType == 'circle'"
|
|
47
|
-
:class="`w-[${iconSize}] h-[${iconSize}]`"
|
|
48
|
-
/>
|
|
49
|
-
<i-warning-triangle
|
|
50
|
-
v-if="iconType == 'triangle'"
|
|
51
|
-
:class="`w-[${iconSize}] h-[${iconSize}]`"
|
|
52
|
-
/>
|
|
53
|
-
</slot>
|
|
54
|
-
</div>
|
|
55
|
-
<div
|
|
56
|
-
:class="sizeOptions[size]"
|
|
57
|
-
class="rounded-r-md flex items-center"
|
|
58
|
-
>
|
|
59
|
-
<slot name="default" />
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
36
|
+
<div
|
|
37
|
+
class="inline-flex w-full rounded-md"
|
|
38
|
+
:class="twMerge(colorOptions.description[color], textBgClasses)"
|
|
39
|
+
>
|
|
40
|
+
<div
|
|
41
|
+
class="flex items-center justify-center rounded-l-md"
|
|
42
|
+
:class="twMerge([colorOptions.icon[color], sizeOptions[size]], iconBgClasses)"
|
|
43
|
+
>
|
|
44
|
+
<slot name="icon">
|
|
45
|
+
<i-info-circle
|
|
46
|
+
v-if="iconType == 'circle'"
|
|
47
|
+
:class="`w-[${iconSize}] h-[${iconSize}]`"
|
|
48
|
+
/>
|
|
49
|
+
<i-warning-triangle
|
|
50
|
+
v-if="iconType == 'triangle'"
|
|
51
|
+
:class="`w-[${iconSize}] h-[${iconSize}]`"
|
|
52
|
+
/>
|
|
53
|
+
</slot>
|
|
54
|
+
</div>
|
|
55
|
+
<div
|
|
56
|
+
:class="sizeOptions[size]"
|
|
57
|
+
class="rounded-r-md flex items-center"
|
|
58
|
+
>
|
|
59
|
+
<slot name="default" />
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
62
|
</template>
|
|
@@ -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
|
-
|
|
26
|
+
width: string | number;
|
|
27
27
|
transition: boolean;
|
|
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>;
|
|
@@ -39,18 +39,18 @@ type __VLS_Slots = {} & {
|
|
|
39
39
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
40
|
"update:modelValue": (value: any) => any;
|
|
41
41
|
} & {
|
|
42
|
-
opened: () => any;
|
|
43
42
|
closed: () => any;
|
|
43
|
+
opened: () => any;
|
|
44
44
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
45
45
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
46
|
-
onOpened?: (() => any) | undefined;
|
|
47
46
|
onClosed?: (() => any) | undefined;
|
|
47
|
+
onOpened?: (() => any) | undefined;
|
|
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;
|
|
@@ -39,8 +39,8 @@ const typeSwitchValues = {
|
|
|
39
39
|
</script>
|
|
40
40
|
|
|
41
41
|
<template>
|
|
42
|
-
<div :class="[[classes], customClasses]">
|
|
43
|
-
<slot name="point" />
|
|
44
|
-
<slot />
|
|
45
|
-
</div>
|
|
42
|
+
<div :class="[[classes], customClasses]">
|
|
43
|
+
<slot name="point" />
|
|
44
|
+
<slot />
|
|
45
|
+
</div>
|
|
46
46
|
</template>
|
|
@@ -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>;
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
import IChevronDown from "#icons/arrow/chevron-down.vue";
|
|
83
83
|
import CheckboxActive from "#icons/checkbox/checkbox-active.vue";
|
|
84
84
|
const props = defineProps({
|
|
85
|
-
node: { type:
|
|
85
|
+
node: { type: null, required: true },
|
|
86
86
|
toggleExpand: { type: Function, required: true },
|
|
87
87
|
toggleCheckbox: { type: Function, required: true },
|
|
88
88
|
type: { type: String, required: true }
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const useCurrentModule: () =>
|
|
2
|
-
export declare const useContacts: () =>
|
|
1
|
+
export declare const useCurrentModule: () => any;
|
|
2
|
+
export declare const useContacts: () => any;
|
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
export declare function useIdModals(): {
|
|
2
|
-
accessModal:
|
|
3
|
-
loginModal:
|
|
4
|
-
twoFactorModal:
|
|
5
|
-
registrationModal:
|
|
6
|
-
confirmAccountOtpModal:
|
|
7
|
-
recoveryModal:
|
|
8
|
-
resetPasswordOtpModal:
|
|
9
|
-
newPasswordModal:
|
|
10
|
-
passwordSuccessfulModal:
|
|
11
|
-
confirmSuccessfulModal:
|
|
12
|
-
intermediateState:
|
|
13
|
-
email: string;
|
|
14
|
-
password: string;
|
|
15
|
-
otp: string;
|
|
16
|
-
token: string;
|
|
17
|
-
}, {
|
|
18
|
-
email: string;
|
|
19
|
-
password: string;
|
|
20
|
-
otp: string;
|
|
21
|
-
token: string;
|
|
22
|
-
}>;
|
|
2
|
+
accessModal: any;
|
|
3
|
+
loginModal: any;
|
|
4
|
+
twoFactorModal: any;
|
|
5
|
+
registrationModal: any;
|
|
6
|
+
confirmAccountOtpModal: any;
|
|
7
|
+
recoveryModal: any;
|
|
8
|
+
resetPasswordOtpModal: any;
|
|
9
|
+
newPasswordModal: any;
|
|
10
|
+
passwordSuccessfulModal: any;
|
|
11
|
+
confirmSuccessfulModal: any;
|
|
12
|
+
intermediateState: any;
|
|
23
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const useServicesLinks: () => {
|
|
2
|
-
title:
|
|
3
|
-
icon:
|
|
4
|
-
to:
|
|
2
|
+
title: any;
|
|
3
|
+
icon: any;
|
|
4
|
+
to: any;
|
|
5
5
|
}[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare function usePayment(): {
|
|
2
|
-
rateId:
|
|
3
|
-
topUpSidePanel:
|
|
4
|
-
methodSidePanel:
|
|
5
|
-
kaspiQRSidePanel:
|
|
6
|
-
kaspiRedirectSidePanel:
|
|
2
|
+
rateId: any;
|
|
3
|
+
topUpSidePanel: any;
|
|
4
|
+
methodSidePanel: any;
|
|
5
|
+
kaspiQRSidePanel: any;
|
|
6
|
+
kaspiRedirectSidePanel: any;
|
|
7
7
|
payByCard: (sum: number, rate?: any) => Promise<void>;
|
|
8
8
|
};
|