adata-ui 3.1.72 → 3.1.73
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/Alert.vue +26 -26
- package/dist/runtime/components/DigitBadge.vue.d.ts +1 -1
- package/dist/runtime/components/Header.vue.d.ts +1 -9
- package/dist/runtime/components/Modal.vue.d.ts +3 -9
- package/dist/runtime/components/SidePanel.vue.d.ts +1 -1
- package/dist/runtime/components/Tag.vue +4 -4
- package/dist/runtime/components/accordion/Accordion.vue.d.ts +2 -2
- package/dist/runtime/components/button/Button.vue.d.ts +2 -2
- package/dist/runtime/components/checkbox/Checkbox.vue.d.ts +2 -6
- package/dist/runtime/components/error-template/index.vue.d.ts +1 -1
- package/dist/runtime/components/forms/input/password/InputPassword.vue.d.ts +1 -1
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue +1 -1
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue.d.ts +1 -1
- package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue.d.ts +1 -7
- package/dist/runtime/components/forms/request-demo/RequestDemo.vue +2 -2
- package/dist/runtime/components/forms/request-demo/RequestDemo.vue.d.ts +1 -5
- package/dist/runtime/components/header/ContactMenu.vue.d.ts +2 -8
- package/dist/runtime/components/header/ListItem.vue +1 -1
- package/dist/runtime/components/header/ProductMenu.vue.d.ts +2 -8
- package/dist/runtime/components/header/ProfileMenu.vue.d.ts +1 -5
- package/dist/runtime/components/header/ProfileMenuContent.vue.d.ts +1 -5
- package/dist/runtime/components/header-mobile/HeaderMobile.vue.d.ts +1 -7
- package/dist/runtime/components/mobile-navigation/BottomNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/mobile-navigation/MainButton.vue.d.ts +1 -5
- package/dist/runtime/components/modals/NoAccessContent.vue.d.ts +1 -5
- package/dist/runtime/components/modals/NoAccessSimple.vue.d.ts +1 -5
- package/dist/runtime/components/modals/TokenTimeoutContent.vue.d.ts +1 -5
- package/dist/runtime/components/pill-tabs/PillTabs.vue.d.ts +2 -10
- package/dist/runtime/components/select-row/index.vue.d.ts +1 -1
- 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.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/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
|
@@ -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>
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
15
15
|
type: "primary" | "success" | "danger" | "gray" | "orange" | "warning";
|
|
16
16
|
view: "default" | "inverted";
|
|
17
17
|
disabled: boolean;
|
|
18
|
-
prefix: string;
|
|
19
18
|
customClasses: string;
|
|
19
|
+
prefix: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
export default _default;
|
|
@@ -23,15 +23,7 @@ type __VLS_Slots = {} & {
|
|
|
23
23
|
} & {
|
|
24
24
|
notifications?: (props: typeof __VLS_54) => any;
|
|
25
25
|
};
|
|
26
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
search: (...args: any[]) => void;
|
|
28
|
-
logout: (...args: any[]) => void;
|
|
29
|
-
login: (...args: any[]) => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
31
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
onLogout?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
onLogin?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
}>, {
|
|
26
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
35
27
|
daysRemaining: number;
|
|
36
28
|
limitRemaining: number;
|
|
37
29
|
isAuthenticated: boolean;
|
|
@@ -21,21 +21,15 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
} & {
|
|
22
22
|
footer?: (props: typeof __VLS_22) => any;
|
|
23
23
|
};
|
|
24
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
close: (...args: any[]) => void;
|
|
26
|
-
"update:modelValue": (value: boolean | undefined) => void;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
30
|
-
}>, {
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
|
|
31
25
|
name: string;
|
|
32
|
-
title: string;
|
|
33
26
|
transition: boolean;
|
|
34
|
-
|
|
27
|
+
title: string;
|
|
35
28
|
overlay: boolean;
|
|
36
29
|
preventClose: boolean;
|
|
37
30
|
fullscreen: boolean;
|
|
38
31
|
isScrollable: boolean;
|
|
32
|
+
width: string | number;
|
|
39
33
|
heightModalClass: string;
|
|
40
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
35
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -27,9 +27,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
27
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
28
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
+
side: "right" | "left" | "top" | "bottom";
|
|
30
31
|
width: number;
|
|
31
32
|
height: number;
|
|
32
|
-
side: "right" | "left" | "top" | "bottom";
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
35
35
|
export default _default;
|
|
@@ -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>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Props } from './types.js';
|
|
2
2
|
declare function emulateButtonClick(): void;
|
|
3
|
-
declare var __VLS_20: {}, __VLS_22: {}, __VLS_28: {}, __VLS_35:
|
|
3
|
+
declare var __VLS_20: {}, __VLS_22: {}, __VLS_28: {}, __VLS_35: any, __VLS_36: {
|
|
4
4
|
content: any;
|
|
5
5
|
};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
@@ -27,8 +27,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
27
27
|
}>, {
|
|
28
28
|
size: import("./types.js").Size;
|
|
29
29
|
color: import("./types.js").Color;
|
|
30
|
-
slot: string;
|
|
31
30
|
disabled: boolean;
|
|
31
|
+
slot: string;
|
|
32
32
|
defaultOpen: boolean;
|
|
33
33
|
divider: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -19,14 +19,14 @@ type __VLS_Slots = {} & {
|
|
|
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
|
view: "default" | "outline" | "transparent";
|
|
22
|
-
form: "icon" | "button";
|
|
23
22
|
disabled: boolean;
|
|
24
|
-
to: string;
|
|
25
23
|
variant: "primary" | "success" | "danger" | "gray" | "ghost";
|
|
24
|
+
form: "icon" | "button";
|
|
26
25
|
iconClass: string;
|
|
27
26
|
loading: boolean;
|
|
28
27
|
block: boolean;
|
|
29
28
|
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;
|
|
@@ -22,15 +22,11 @@ type __VLS_Slots = {} & {
|
|
|
22
22
|
} & {
|
|
23
23
|
default?: (props: typeof __VLS_17) => any;
|
|
24
24
|
};
|
|
25
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (...args: any[]) => void;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
}>, {
|
|
25
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
30
26
|
name: string;
|
|
31
27
|
size: "lg" | "sm";
|
|
32
|
-
modelValue: string | number | Array<any> | object | boolean | null;
|
|
33
28
|
value: string | number | object | null;
|
|
29
|
+
modelValue: string | number | Array<any> | object | boolean | null;
|
|
34
30
|
side: "right" | "left" | null;
|
|
35
31
|
masterControl: boolean;
|
|
36
32
|
emptyCheckboxClass: string;
|
|
@@ -8,8 +8,8 @@ interface Props {
|
|
|
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
10
|
error: string;
|
|
11
|
-
label: string;
|
|
12
11
|
disabled: boolean;
|
|
13
12
|
required: boolean;
|
|
13
|
+
label: string;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -28,7 +28,7 @@ const uiConfig = {
|
|
|
28
28
|
md: "h-10 px-4 pb-1.5 pt-[8px] md"
|
|
29
29
|
},
|
|
30
30
|
"color": "bg-deepblue-900/0 dark:bg-gray-200/0",
|
|
31
|
-
"error": "
|
|
31
|
+
"error": "border border-red-500 focus:border-0 focus:border-red-500 hover:border-red-500",
|
|
32
32
|
"readonly": "bg-white opacity-30",
|
|
33
33
|
"label": {
|
|
34
34
|
"base": "absolute left-4 top-5 d-flex text-gray-500 pointer-events-none transition-all ease duration-300 transform translate-y-[-50%] whitespace-nowrap",
|
|
@@ -25,9 +25,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
25
25
|
}>, {
|
|
26
26
|
size: "sm" | "md";
|
|
27
27
|
error: string | boolean;
|
|
28
|
-
label: string;
|
|
29
28
|
disabled: boolean;
|
|
30
29
|
required: boolean;
|
|
30
|
+
label: string;
|
|
31
31
|
readonly: boolean;
|
|
32
32
|
clearable: boolean;
|
|
33
33
|
startIcon: string | object;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
type __VLS_PublicProps = {
|
|
2
2
|
'isLoading'?: boolean;
|
|
3
3
|
};
|
|
4
|
-
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
submit: (...args: any[]) => void;
|
|
6
|
-
"update:isLoading": (value: boolean) => void;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
"onUpdate:isLoading"?: ((value: boolean) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
5
|
export default _default;
|
|
@@ -17,7 +17,7 @@ const submitted = ref(false);
|
|
|
17
17
|
const schema = z.object({
|
|
18
18
|
sender_name: z.string().nonempty(t("forms.feedback.fieldRequired")),
|
|
19
19
|
email: z.string().nonempty(t("forms.feedback.fieldRequired")).email(t("forms.feedback.emailValid")),
|
|
20
|
-
phone_number: z.string().nonempty(t("forms.feedback.fieldRequired")).min(
|
|
20
|
+
phone_number: z.string().nonempty(t("forms.feedback.fieldRequired")).min(10, t("forms.feedback.phoneMinLength", { count: 10 }))
|
|
21
21
|
});
|
|
22
22
|
const { validation, getError } = useUIValidation(schema, () => form, submitted);
|
|
23
23
|
function onSend() {
|
|
@@ -71,7 +71,7 @@ function onSend() {
|
|
|
71
71
|
:label="t('forms.demo.p')"
|
|
72
72
|
color-classes="bg-gray-50 dark:bg-gray-800"
|
|
73
73
|
:error="getError('phone_number')"
|
|
74
|
-
type="
|
|
74
|
+
type="number"
|
|
75
75
|
/>
|
|
76
76
|
</div>
|
|
77
77
|
</slot>
|
|
@@ -12,11 +12,7 @@ type __VLS_Slots = {} & {
|
|
|
12
12
|
} & {
|
|
13
13
|
info?: (props: typeof __VLS_27) => any;
|
|
14
14
|
};
|
|
15
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
-
send: (...args: any[]) => void;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
onSend?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
16
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
17
|
export default _default;
|
|
22
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,15 +3,9 @@ type __VLS_Props = {
|
|
|
3
3
|
index?: number;
|
|
4
4
|
url?: string;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
outerClick: (...args: any[]) => void;
|
|
8
|
-
mouseOver: (...args: any[]) => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
onOuterClick?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
onMouseOver?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}>, {
|
|
13
|
-
animation: string;
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
14
7
|
index: number;
|
|
8
|
+
animation: string;
|
|
15
9
|
url: string;
|
|
16
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
11
|
export default _default;
|
|
@@ -3,15 +3,9 @@ type __VLS_Props = {
|
|
|
3
3
|
index?: number;
|
|
4
4
|
url?: string;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
outerClick: (...args: any[]) => void;
|
|
8
|
-
mouseOver: (...args: any[]) => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
onOuterClick?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
onMouseOver?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}>, {
|
|
13
|
-
animation: string;
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
14
7
|
index: number;
|
|
8
|
+
animation: string;
|
|
15
9
|
url: string;
|
|
16
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
11
|
export default _default;
|
|
@@ -9,11 +9,7 @@ interface Props {
|
|
|
9
9
|
email?: string;
|
|
10
10
|
showLogin?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
logout: (...args: any[]) => void;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
15
|
-
onLogout?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
}>, {
|
|
12
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
17
13
|
daysRemaining: number;
|
|
18
14
|
limitRemaining: number;
|
|
19
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -10,11 +10,7 @@ interface Props {
|
|
|
10
10
|
email?: string;
|
|
11
11
|
showLogin?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
-
logout: (...args: any[]) => void;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
-
onLogout?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {
|
|
13
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
18
14
|
daysRemaining: number;
|
|
19
15
|
limitRemaining: number;
|
|
20
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,13 +7,7 @@ declare var __VLS_1: {};
|
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
burger?: (props: typeof __VLS_1) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
search: (...args: any[]) => void;
|
|
12
|
-
goToAnotherModule: (...args: any[]) => void;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
onGoToAnotherModule?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
11
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
12
|
export default _default;
|
|
19
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
-
pushMain: (...args: any[]) => void;
|
|
3
|
-
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
onPushMain?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
2
|
export default _default;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
redirectPath: string;
|
|
3
3
|
};
|
|
4
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
close: (...args: any[]) => void;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
5
|
export default _default;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
-
close: (...args: any[]) => void;
|
|
3
|
-
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
2
|
export default _default;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
-
close: (...args: any[]) => void;
|
|
3
|
-
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
2
|
export default _default;
|
|
@@ -15,20 +15,12 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
15
15
|
modelValue?: any;
|
|
16
16
|
};
|
|
17
17
|
declare var __VLS_1: {
|
|
18
|
-
option:
|
|
18
|
+
option: any;
|
|
19
19
|
};
|
|
20
20
|
type __VLS_Slots = {} & {
|
|
21
21
|
option?: (props: typeof __VLS_1) => any;
|
|
22
22
|
};
|
|
23
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
-
selectOption: (...args: any[]) => void;
|
|
25
|
-
prevent: (...args: any[]) => void;
|
|
26
|
-
"update:modelValue": (value: any) => void;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
29
|
-
onSelectOption?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
onPrevent?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
}>, {
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
|
|
32
24
|
size: "lg" | "sm" | "xs";
|
|
33
25
|
view: "transparent" | "main" | "gray" | "blue" | "mobile";
|
|
34
26
|
block: boolean;
|