@winchsa/ui 0.1.31 → 0.1.33
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/package.json +1 -1
- package/dist/components/Breadcrumbs.d.vue.ts +0 -7
- package/dist/components/Breadcrumbs.vue +0 -46
- package/dist/components/Breadcrumbs.vue.d.ts +0 -7
- package/dist/components/CustomizerSection.d.vue.ts +0 -17
- package/dist/components/CustomizerSection.vue +0 -19
- package/dist/components/CustomizerSection.vue.d.ts +0 -17
- package/dist/components/DialogCloseBtn.d.vue.ts +0 -7
- package/dist/components/DialogCloseBtn.vue +0 -20
- package/dist/components/DialogCloseBtn.vue.d.ts +0 -7
- package/dist/components/Drawer.d.vue.ts +0 -28
- package/dist/components/Drawer.vue +0 -60
- package/dist/components/Drawer.vue.d.ts +0 -28
- package/dist/components/IconBtn.d.vue.ts +0 -18
- package/dist/components/IconBtn.vue +0 -24
- package/dist/components/IconBtn.vue.d.ts +0 -18
- package/dist/components/LoadingBar.d.vue.ts +0 -6
- package/dist/components/LoadingBar.vue +0 -31
- package/dist/components/LoadingBar.vue.d.ts +0 -6
- package/dist/components/LoadingDialog.d.vue.ts +0 -12
- package/dist/components/LoadingDialog.vue +0 -41
- package/dist/components/LoadingDialog.vue.d.ts +0 -12
- package/dist/components/LoadingItem.d.vue.ts +0 -25
- package/dist/components/LoadingItem.vue +0 -66
- package/dist/components/LoadingItem.vue.d.ts +0 -25
- package/dist/components/Modal.d.vue.ts +0 -50
- package/dist/components/Modal.vue +0 -155
- package/dist/components/Modal.vue.d.ts +0 -50
- package/dist/components/MoreBtn.d.vue.ts +0 -17
- package/dist/components/MoreBtn.vue +0 -28
- package/dist/components/MoreBtn.vue.d.ts +0 -17
- package/dist/components/ScrollToTop.d.vue.ts +0 -3
- package/dist/components/ScrollToTop.vue +0 -39
- package/dist/components/ScrollToTop.vue.d.ts +0 -3
- package/dist/components/SiteTitle.d.vue.ts +0 -3
- package/dist/components/SiteTitle.vue +0 -14
- package/dist/components/SiteTitle.vue.d.ts +0 -3
- package/dist/components/Toaster.d.vue.ts +0 -6
- package/dist/components/Toaster.vue +0 -19
- package/dist/components/Toaster.vue.d.ts +0 -6
- package/dist/components/cards/AppCard.d.vue.ts +0 -18
- package/dist/components/cards/AppCard.vue +0 -45
- package/dist/components/cards/AppCard.vue.d.ts +0 -18
- package/dist/components/cards/AppCardActions.d.vue.ts +0 -33
- package/dist/components/cards/AppCardActions.vue +0 -126
- package/dist/components/cards/AppCardActions.vue.d.ts +0 -33
- package/dist/components/cards/CardStatisticsHorizontal.d.vue.ts +0 -9
- package/dist/components/cards/CardStatisticsHorizontal.vue +0 -29
- package/dist/components/cards/CardStatisticsHorizontal.vue.d.ts +0 -9
- package/dist/components/cards/CheckboxesCard.d.vue.ts +0 -18
- package/dist/components/cards/CheckboxesCard.vue +0 -108
- package/dist/components/cards/CheckboxesCard.vue.d.ts +0 -18
- package/dist/components/cards/HeaderCard.d.vue.ts +0 -9
- package/dist/components/cards/HeaderCard.vue +0 -31
- package/dist/components/cards/HeaderCard.vue.d.ts +0 -9
- package/dist/components/cards/ImageCard.d.vue.ts +0 -33
- package/dist/components/cards/ImageCard.vue +0 -73
- package/dist/components/cards/ImageCard.vue.d.ts +0 -33
- package/dist/components/cards/InputCard.d.vue.ts +0 -21
- package/dist/components/cards/InputCard.vue +0 -60
- package/dist/components/cards/InputCard.vue.d.ts +0 -21
- package/dist/components/cards/StaticCard.d.vue.ts +0 -21
- package/dist/components/cards/StaticCard.vue +0 -37
- package/dist/components/cards/StaticCard.vue.d.ts +0 -21
- package/dist/components/forms/Accordion.d.vue.ts +0 -19
- package/dist/components/forms/Accordion.vue +0 -43
- package/dist/components/forms/Accordion.vue.d.ts +0 -19
- package/dist/components/forms/AppBarSearch.d.vue.ts +0 -43
- package/dist/components/forms/AppBarSearch.vue +0 -345
- package/dist/components/forms/AppBarSearch.vue.d.ts +0 -43
- package/dist/components/forms/AppCombobox.d.vue.ts +0 -13
- package/dist/components/forms/AppCombobox.vue +0 -67
- package/dist/components/forms/AppCombobox.vue.d.ts +0 -13
- package/dist/components/forms/AppDrawerHeaderSection.d.vue.ts +0 -20
- package/dist/components/forms/AppDrawerHeaderSection.vue +0 -21
- package/dist/components/forms/AppDrawerHeaderSection.vue.d.ts +0 -20
- package/dist/components/forms/AppLabel.d.vue.ts +0 -24
- package/dist/components/forms/AppLabel.vue +0 -47
- package/dist/components/forms/AppLabel.vue.d.ts +0 -24
- package/dist/components/forms/AppLink.d.vue.ts +0 -19
- package/dist/components/forms/AppLink.vue +0 -50
- package/dist/components/forms/AppLink.vue.d.ts +0 -19
- package/dist/components/forms/AppNumberField.d.vue.ts +0 -20
- package/dist/components/forms/AppNumberField.vue +0 -85
- package/dist/components/forms/AppNumberField.vue.d.ts +0 -20
- package/dist/components/forms/AppOtpInput.d.vue.ts +0 -13
- package/dist/components/forms/AppOtpInput.vue +0 -84
- package/dist/components/forms/AppOtpInput.vue.d.ts +0 -13
- package/dist/components/forms/AppSearchHeader.d.vue.ts +0 -8
- package/dist/components/forms/AppSearchHeader.vue +0 -72
- package/dist/components/forms/AppSearchHeader.vue.d.ts +0 -8
- package/dist/components/forms/AppSelect.d.vue.ts +0 -17
- package/dist/components/forms/AppSelect.vue +0 -98
- package/dist/components/forms/AppSelect.vue.d.ts +0 -17
- package/dist/components/forms/AppStepper.d.vue.ts +0 -21
- package/dist/components/forms/AppStepper.vue +0 -232
- package/dist/components/forms/AppStepper.vue.d.ts +0 -21
- package/dist/components/forms/AppSwitch.d.vue.ts +0 -16
- package/dist/components/forms/AppSwitch.vue +0 -59
- package/dist/components/forms/AppSwitch.vue.d.ts +0 -16
- package/dist/components/forms/AppTextField.d.vue.ts +0 -13
- package/dist/components/forms/AppTextField.vue +0 -66
- package/dist/components/forms/AppTextField.vue.d.ts +0 -13
- package/dist/components/forms/AppTextarea.d.vue.ts +0 -13
- package/dist/components/forms/AppTextarea.vue +0 -69
- package/dist/components/forms/AppTextarea.vue.d.ts +0 -13
- package/dist/components/forms/AttachmentCropperInput.d.vue.ts +0 -18
- package/dist/components/forms/AttachmentCropperInput.vue +0 -227
- package/dist/components/forms/AttachmentCropperInput.vue.d.ts +0 -18
- package/dist/components/forms/AttachmentInput.d.vue.ts +0 -16
- package/dist/components/forms/AttachmentInput.vue +0 -116
- package/dist/components/forms/AttachmentInput.vue.d.ts +0 -16
- package/dist/components/forms/AutocompleteInput.d.vue.ts +0 -84
- package/dist/components/forms/AutocompleteInput.vue +0 -760
- package/dist/components/forms/AutocompleteInput.vue.d.ts +0 -84
- package/dist/components/forms/BankSelect.d.vue.ts +0 -21
- package/dist/components/forms/BankSelect.vue +0 -43
- package/dist/components/forms/BankSelect.vue.d.ts +0 -21
- package/dist/components/forms/BaseButton.d.vue.ts +0 -20
- package/dist/components/forms/BaseButton.vue +0 -42
- package/dist/components/forms/BaseButton.vue.d.ts +0 -20
- package/dist/components/forms/CounterInput.d.vue.ts +0 -13
- package/dist/components/forms/CounterInput.vue +0 -71
- package/dist/components/forms/CounterInput.vue.d.ts +0 -13
- package/dist/components/forms/CustomCheckboxes.d.vue.ts +0 -25
- package/dist/components/forms/CustomCheckboxes.vue +0 -69
- package/dist/components/forms/CustomCheckboxes.vue.d.ts +0 -25
- package/dist/components/forms/CustomCheckboxesWithIcon.d.vue.ts +0 -25
- package/dist/components/forms/CustomCheckboxesWithIcon.vue +0 -80
- package/dist/components/forms/CustomCheckboxesWithIcon.vue.d.ts +0 -25
- package/dist/components/forms/CustomCheckboxesWithImage.d.vue.ts +0 -16
- package/dist/components/forms/CustomCheckboxesWithImage.vue +0 -67
- package/dist/components/forms/CustomCheckboxesWithImage.vue.d.ts +0 -16
- package/dist/components/forms/CustomRadios.d.vue.ts +0 -25
- package/dist/components/forms/CustomRadios.vue +0 -69
- package/dist/components/forms/CustomRadios.vue.d.ts +0 -25
- package/dist/components/forms/CustomRadiosWithIcon.d.vue.ts +0 -28
- package/dist/components/forms/CustomRadiosWithIcon.vue +0 -98
- package/dist/components/forms/CustomRadiosWithIcon.vue.d.ts +0 -28
- package/dist/components/forms/CustomRadiosWithImage.d.vue.ts +0 -35
- package/dist/components/forms/CustomRadiosWithImage.vue +0 -69
- package/dist/components/forms/CustomRadiosWithImage.vue.d.ts +0 -35
- package/dist/components/forms/DatePicker.d.vue.ts +0 -29
- package/dist/components/forms/DatePicker.vue +0 -400
- package/dist/components/forms/DatePicker.vue.d.ts +0 -29
- package/dist/components/forms/DatePickerRange.d.vue.ts +0 -24
- package/dist/components/forms/DatePickerRange.vue +0 -127
- package/dist/components/forms/DatePickerRange.vue.d.ts +0 -24
- package/dist/components/forms/DraggedUploadFile.d.vue.ts +0 -11
- package/dist/components/forms/DraggedUploadFile.vue +0 -120
- package/dist/components/forms/DraggedUploadFile.vue.d.ts +0 -11
- package/dist/components/forms/ImageCardInput.d.vue.ts +0 -35
- package/dist/components/forms/ImageCardInput.vue +0 -234
- package/dist/components/forms/ImageCardInput.vue.d.ts +0 -35
- package/dist/components/forms/InputValidationWrapper.d.vue.ts +0 -26
- package/dist/components/forms/InputValidationWrapper.vue +0 -24
- package/dist/components/forms/InputValidationWrapper.vue.d.ts +0 -26
- package/dist/components/forms/LicensePlateInput.d.vue.ts +0 -21
- package/dist/components/forms/LicensePlateInput.vue +0 -175
- package/dist/components/forms/LicensePlateInput.vue.d.ts +0 -21
- package/dist/components/forms/ManualDate.d.vue.ts +0 -20
- package/dist/components/forms/ManualDate.vue +0 -264
- package/dist/components/forms/ManualDate.vue.d.ts +0 -20
- package/dist/components/forms/MobileInput.d.vue.ts +0 -25
- package/dist/components/forms/MobileInput.vue +0 -118
- package/dist/components/forms/MobileInput.vue.d.ts +0 -25
- package/dist/components/forms/PasswordInput.d.vue.ts +0 -11
- package/dist/components/forms/PasswordInput.vue +0 -29
- package/dist/components/forms/PasswordInput.vue.d.ts +0 -11
- package/dist/components/forms/RangeInput.d.vue.ts +0 -10
- package/dist/components/forms/RangeInput.vue +0 -48
- package/dist/components/forms/RangeInput.vue.d.ts +0 -10
- package/dist/components/forms/Tabs.d.vue.ts +0 -23
- package/dist/components/forms/Tabs.vue +0 -35
- package/dist/components/forms/Tabs.vue.d.ts +0 -23
- package/dist/components/forms/TimePicker.d.vue.ts +0 -18
- package/dist/components/forms/TimePicker.vue +0 -370
- package/dist/components/forms/TimePicker.vue.d.ts +0 -18
- package/dist/components/table/DataTable.d.vue.ts +0 -70
- package/dist/components/table/DataTable.vue +0 -361
- package/dist/components/table/DataTable.vue.d.ts +0 -70
- package/dist/components/table/EditableDataTable.d.vue.ts +0 -21
- package/dist/components/table/EditableDataTable.vue +0 -330
- package/dist/components/table/EditableDataTable.vue.d.ts +0 -21
- package/dist/components/table/EditableDataTableRow.d.vue.ts +0 -20
- package/dist/components/table/EditableDataTableRow.vue +0 -253
- package/dist/components/table/EditableDataTableRow.vue.d.ts +0 -20
- package/dist/components/table/FilterGenerator.d.vue.ts +0 -13
- package/dist/components/table/FilterGenerator.vue +0 -231
- package/dist/components/table/FilterGenerator.vue.d.ts +0 -13
- package/dist/components/table/StaticTable.d.vue.ts +0 -34
- package/dist/components/table/StaticTable.vue +0 -152
- package/dist/components/table/StaticTable.vue.d.ts +0 -34
- package/dist/components/table/TablePagination.d.vue.ts +0 -15
- package/dist/components/table/TablePagination.vue +0 -73
- package/dist/components/table/TablePagination.vue.d.ts +0 -15
- package/dist/composables/useIsMobile.d.ts +0 -1
- package/dist/composables/useIsMobile.js +0 -10
- package/dist/composables/useIsMobile.mjs +0 -4
- package/dist/composables/useTableFilters.d.ts +0 -23
- package/dist/composables/useTableFilters.js +0 -197
- package/dist/composables/useTableFilters.mjs +0 -184
- package/dist/images/avatar.png +0 -0
- package/dist/images/sa.svg +0 -1
- package/dist/index.d.ts +0 -65
- package/dist/index.js +0 -454
- package/dist/index.mjs +0 -130
- package/dist/lang/ar.json +0 -54
- package/dist/lang/en.json +0 -54
- package/dist/styles/assets/scss/variables/_template.scss +0 -1
- package/dist/styles/assets/scss/variables/_vuetify.scss +0 -1
- package/dist/styles/core/base/_components.scss +0 -164
- package/dist/styles/core/base/_dark.scss +0 -16
- package/dist/styles/core/base/_default-layout-w-vertical-nav.scss +0 -106
- package/dist/styles/core/base/_default-layout.scss +0 -16
- package/dist/styles/core/base/_index.scss +0 -47
- package/dist/styles/core/base/_layouts.scss +0 -63
- package/dist/styles/core/base/_misc.scss +0 -20
- package/dist/styles/core/base/_mixins.scss +0 -84
- package/dist/styles/core/base/_route-transitions.scss +0 -70
- package/dist/styles/core/base/_utilities.scss +0 -418
- package/dist/styles/core/base/_utils.scss +0 -100
- package/dist/styles/core/base/_variables.scss +0 -190
- package/dist/styles/core/base/_vertical-nav.scss +0 -264
- package/dist/styles/core/base/libs/_perfect-scrollbar.scss +0 -35
- package/dist/styles/core/base/libs/vuetify/_index.scss +0 -1
- package/dist/styles/core/base/libs/vuetify/_overrides.scss +0 -380
- package/dist/styles/core/base/libs/vuetify/_variables.scss +0 -48
- package/dist/styles/core/base/placeholders/_default-layout-vertical-nav.scss +0 -48
- package/dist/styles/core/base/placeholders/_default-layout.scss +0 -3
- package/dist/styles/core/base/placeholders/_index.scss +0 -5
- package/dist/styles/core/base/placeholders/_misc.scss +0 -7
- package/dist/styles/core/base/placeholders/_nav.scss +0 -26
- package/dist/styles/core/base/placeholders/_vertical-nav.scss +0 -84
- package/dist/styles/core/base/skins/_bordered.scss +0 -60
- package/dist/styles/core/base/skins/_index.scss +0 -1
- package/dist/styles/core/template/_components.scss +0 -1035
- package/dist/styles/core/template/_default-layout-w-vertical-nav.scss +0 -20
- package/dist/styles/core/template/_utilities.scss +0 -20
- package/dist/styles/core/template/_variables.scss +0 -67
- package/dist/styles/core/template/_vertical-nav.scss +0 -41
- package/dist/styles/core/template/index.css +0 -18779
- package/dist/styles/core/template/index.scss +0 -15
- package/dist/styles/core/template/libs/vuetify/_variables.scss +0 -464
- package/dist/styles/core/template/libs/vuetify/index.css +0 -739
- package/dist/styles/core/template/libs/vuetify/index.scss +0 -1
- package/dist/styles/core/template/pages/misc.css +0 -16
- package/dist/styles/core/template/pages/misc.scss +0 -20
- package/dist/styles/core/template/placeholders/_default-layout-vertical-nav.scss +0 -9
- package/dist/styles/core/template/placeholders/_index.scss +0 -3
- package/dist/styles/core/template/placeholders/_nav.scss +0 -15
- package/dist/styles/core/template/placeholders/_vertical-nav.scss +0 -18
- package/dist/styles/core/template/skins/_bordered.scss +0 -36
- package/dist/styles/core/template/skins/_index.scss +0 -1
- package/dist/styles/layouts/_classes.scss +0 -3
- package/dist/styles/layouts/_dashboard-layout.scss +0 -43
- package/dist/styles/layouts/_global.scss +0 -10
- package/dist/styles/layouts/_mixins.scss +0 -28
- package/dist/styles/layouts/_placeholders.scss +0 -53
- package/dist/styles/layouts/_rtl.scss +0 -7
- package/dist/styles/layouts/_variables.scss +0 -22
- package/dist/styles/layouts/index.css +0 -14
- package/dist/styles/layouts/index.scss +0 -2
- package/dist/types.d.ts +0 -218
- package/dist/utils/apiUrl.d.ts +0 -1
- package/dist/utils/apiUrl.js +0 -15
- package/dist/utils/apiUrl.mjs +0 -8
- package/dist/utils/client.d.ts +0 -9
- package/dist/utils/client.js +0 -53
- package/dist/utils/client.mjs +0 -39
- package/dist/utils/files.d.ts +0 -2
- package/dist/utils/files.js +0 -35
- package/dist/utils/files.mjs +0 -22
- package/dist/utils/formValidation.d.ts +0 -7
- package/dist/utils/formValidation.js +0 -20
- package/dist/utils/formValidation.mjs +0 -13
- package/dist/utils/formatters.d.ts +0 -12
- package/dist/utils/formatters.js +0 -84
- package/dist/utils/formatters.mjs +0 -56
- package/dist/utils/hijriDate.d.ts +0 -58
- package/dist/utils/hijriDate.js +0 -168
- package/dist/utils/hijriDate.mjs +0 -1951
- package/dist/utils/i18n.d.ts +0 -8
- package/dist/utils/i18n.js +0 -36
- package/dist/utils/i18n.mjs +0 -27
- package/dist/utils/index.d.ts +0 -10
- package/dist/utils/index.js +0 -115
- package/dist/utils/index.mjs +0 -10
- package/dist/utils/queryParams.d.ts +0 -4
- package/dist/utils/queryParams.js +0 -26
- package/dist/utils/queryParams.mjs +0 -18
- package/dist/utils/ruleValidator.d.ts +0 -41
- package/dist/utils/ruleValidator.js +0 -210
- package/dist/utils/ruleValidator.mjs +0 -195
- package/dist/utils/toaster.d.ts +0 -12
- package/dist/utils/toaster.js +0 -68
- package/dist/utils/toaster.mjs +0 -58
- package/dist/utils/utils.d.ts +0 -9
- package/dist/utils/utils.js +0 -84
- package/dist/utils/utils.mjs +0 -67
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
class?: string;
|
|
3
|
-
label?: string;
|
|
4
|
-
rules?: ((value: unknown) => string)[];
|
|
5
|
-
errorMessages?: string;
|
|
6
|
-
modelValue?: string | number | undefined | null;
|
|
7
|
-
};
|
|
8
|
-
declare var __VLS_15: {};
|
|
9
|
-
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof __VLS_15) => any;
|
|
11
|
-
};
|
|
12
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
-
"update:modelValue": (value: string | number | null | undefined) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
-
declare const _default: typeof __VLS_export;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {}, __VLS_10: {}, __VLS_12: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
} & {
|
|
5
|
-
default?: (props: typeof __VLS_10) => any;
|
|
6
|
-
} & {
|
|
7
|
-
default?: (props: typeof __VLS_12) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {} | {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
-
declare const _default: typeof __VLS_export;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { RouterLink } from "vue-router";
|
|
3
|
-
import { computed } from "vue";
|
|
4
|
-
defineOptions({
|
|
5
|
-
inheritAttrs: false
|
|
6
|
-
});
|
|
7
|
-
const props = defineProps({
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
...RouterLink.props,
|
|
10
|
-
to: {
|
|
11
|
-
type: [String, Object],
|
|
12
|
-
default: void 0
|
|
13
|
-
},
|
|
14
|
-
withoutDefaultClass: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: false
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const isExternalLink = computed(() => {
|
|
20
|
-
return typeof props.to === "string" && (props.to.startsWith("http") || props.to.startsWith("https"));
|
|
21
|
-
});
|
|
22
|
-
</script>
|
|
23
|
-
|
|
24
|
-
<template>
|
|
25
|
-
<a
|
|
26
|
-
v-if="isExternalLink"
|
|
27
|
-
v-bind="$attrs"
|
|
28
|
-
:href="to"
|
|
29
|
-
target="_blank"
|
|
30
|
-
:class="[{ 'hover-underline': !withoutDefaultClass }, ...($attrs?.class || [])]"
|
|
31
|
-
>
|
|
32
|
-
<slot />
|
|
33
|
-
</a>
|
|
34
|
-
|
|
35
|
-
<RouterLink
|
|
36
|
-
v-else-if="to"
|
|
37
|
-
v-bind="$attrs"
|
|
38
|
-
:to="to"
|
|
39
|
-
:class="[{ 'hover-underline': !withoutDefaultClass }, ...($attrs?.class || [])]"
|
|
40
|
-
>
|
|
41
|
-
<slot />
|
|
42
|
-
</RouterLink>
|
|
43
|
-
|
|
44
|
-
<span
|
|
45
|
-
v-else
|
|
46
|
-
v-bind="$attrs"
|
|
47
|
-
>
|
|
48
|
-
<slot />
|
|
49
|
-
</span>
|
|
50
|
-
</template>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {}, __VLS_10: {}, __VLS_12: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
} & {
|
|
5
|
-
default?: (props: typeof __VLS_10) => any;
|
|
6
|
-
} & {
|
|
7
|
-
default?: (props: typeof __VLS_12) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {} | {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
-
declare const _default: typeof __VLS_export;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
modelValue?: string | null;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_17: string | number, __VLS_18: any;
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
[K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
-
"update:modelValue": (value: string | null) => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
-
declare const _default: typeof __VLS_export;
|
|
15
|
-
export default _default;
|
|
16
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
-
new (): {
|
|
18
|
-
$slots: S;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { ref, watch, useAttrs, computed } from "vue";
|
|
3
|
-
import { VTextField, VLabel } from "vuetify/components";
|
|
4
|
-
import { useI18n } from "vue-i18n";
|
|
5
|
-
defineOptions({
|
|
6
|
-
name: "AppTextField",
|
|
7
|
-
inheritAttrs: false
|
|
8
|
-
});
|
|
9
|
-
const props = defineProps({
|
|
10
|
-
modelValue: { type: [String, null], required: false, default: null }
|
|
11
|
-
});
|
|
12
|
-
const { t } = useI18n();
|
|
13
|
-
const numberValue = ref(null);
|
|
14
|
-
const elementId = computed(() => {
|
|
15
|
-
const attrs = useAttrs();
|
|
16
|
-
const _elementIdToken = attrs.id || attrs.label;
|
|
17
|
-
return _elementIdToken ? `AppTextField-${_elementIdToken}-${Math.random().toString(36).slice(2, 7)}` : void 0;
|
|
18
|
-
});
|
|
19
|
-
const label = computed(() => useAttrs()?.label);
|
|
20
|
-
const LangLabel = computed(() => label.value ? t(label.value) : "");
|
|
21
|
-
const emit = defineEmits(["update:modelValue"]);
|
|
22
|
-
const placeholder = computed(() => {
|
|
23
|
-
if (useAttrs()?.placeholder) {
|
|
24
|
-
return useAttrs()?.placeholder;
|
|
25
|
-
}
|
|
26
|
-
if (label.value) {
|
|
27
|
-
return t("inputs.placeholder", {
|
|
28
|
-
name: LangLabel.value
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
return "";
|
|
32
|
-
});
|
|
33
|
-
watch(() => props.modelValue, () => {
|
|
34
|
-
numberValue.value = props.modelValue?.replace(/\D/g, "");
|
|
35
|
-
emit("update:modelValue", numberValue.value);
|
|
36
|
-
}, {
|
|
37
|
-
immediate: true
|
|
38
|
-
});
|
|
39
|
-
const validateInput = (event) => {
|
|
40
|
-
const input = event.target;
|
|
41
|
-
numberValue.value = numberValue.value?.replace(/\D/g, "") ?? null;
|
|
42
|
-
input.value = numberValue.value ?? "";
|
|
43
|
-
emit("update:modelValue", numberValue.value);
|
|
44
|
-
};
|
|
45
|
-
</script>
|
|
46
|
-
|
|
47
|
-
<template>
|
|
48
|
-
<div
|
|
49
|
-
class="AppTextField flex-grow-1"
|
|
50
|
-
:class="$attrs.class"
|
|
51
|
-
>
|
|
52
|
-
<VLabel
|
|
53
|
-
v-if="label"
|
|
54
|
-
:for="elementId"
|
|
55
|
-
class="mb-2 text-body-2 text-high-emphasis app-font-size-13"
|
|
56
|
-
:text="LangLabel"
|
|
57
|
-
/>
|
|
58
|
-
<VTextField
|
|
59
|
-
v-bind="{
|
|
60
|
-
...$attrs,
|
|
61
|
-
class: null,
|
|
62
|
-
label: void 0,
|
|
63
|
-
variant: 'outlined',
|
|
64
|
-
id: elementId
|
|
65
|
-
}"
|
|
66
|
-
v-model="numberValue"
|
|
67
|
-
:placeholder="placeholder"
|
|
68
|
-
class="app-font-size-13"
|
|
69
|
-
@input="validateInput"
|
|
70
|
-
>
|
|
71
|
-
<template
|
|
72
|
-
v-for="(_, name) in $slots"
|
|
73
|
-
#[name]="slotProps"
|
|
74
|
-
>
|
|
75
|
-
<slot
|
|
76
|
-
:name="name"
|
|
77
|
-
v-bind="slotProps || {}"
|
|
78
|
-
/>
|
|
79
|
-
</template>
|
|
80
|
-
<template #details>
|
|
81
|
-
<span class="app-h-10px" />
|
|
82
|
-
</template>
|
|
83
|
-
</VTextField>
|
|
84
|
-
</div>
|
|
85
|
-
</template>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
modelValue?: string | null;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_17: string | number, __VLS_18: any;
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
[K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
-
"update:modelValue": (value: string | null) => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
-
declare const _default: typeof __VLS_export;
|
|
15
|
-
export default _default;
|
|
16
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
-
new (): {
|
|
18
|
-
$slots: S;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
totalInput?: number;
|
|
3
|
-
modelValue?: string;
|
|
4
|
-
errorMessages?: string;
|
|
5
|
-
isAppRtl?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
-
"update:modelValue": (value: string | number) => any;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { onMounted, ref } from "vue";
|
|
3
|
-
import { useI18n } from "vue-i18n";
|
|
4
|
-
import AppTextField from "./AppTextField.vue";
|
|
5
|
-
const props = defineProps({
|
|
6
|
-
totalInput: { type: Number, required: false, default: 4 },
|
|
7
|
-
modelValue: { type: String, required: false, default: "" },
|
|
8
|
-
errorMessages: { type: String, required: false, default: "" },
|
|
9
|
-
isAppRtl: { type: Boolean, required: false }
|
|
10
|
-
});
|
|
11
|
-
const { t } = useI18n();
|
|
12
|
-
const emit = defineEmits(["update:modelValue"]);
|
|
13
|
-
const digits = ref([]);
|
|
14
|
-
const refOtpComp = ref(null);
|
|
15
|
-
onMounted(() => {
|
|
16
|
-
if (props.modelValue) {
|
|
17
|
-
digits.value = props.modelValue.split("");
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const handleBackspace = (event, index) => {
|
|
21
|
-
digits.value[index - 1] = "";
|
|
22
|
-
if (refOtpComp.value !== null && index > 1) {
|
|
23
|
-
const inputEl = refOtpComp.value.children[index - 2].querySelector("input");
|
|
24
|
-
if (inputEl) {
|
|
25
|
-
inputEl.focus();
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
const handleNextInput = (event, index) => {
|
|
30
|
-
digits.value[index - 1] = event.key;
|
|
31
|
-
if (refOtpComp.value !== null && index !== 0 && index < refOtpComp.value.children.length) {
|
|
32
|
-
const inputEl = refOtpComp.value.children[index].querySelector("input");
|
|
33
|
-
if (inputEl) {
|
|
34
|
-
inputEl.focus();
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
const handleKeyDown = (event, index) => {
|
|
39
|
-
if (event.code !== "Tab" && event.code !== "ArrowRight" && event.code !== "ArrowLeft") {
|
|
40
|
-
event.preventDefault();
|
|
41
|
-
}
|
|
42
|
-
if (event.code === "Backspace") {
|
|
43
|
-
handleBackspace(event, index);
|
|
44
|
-
}
|
|
45
|
-
if (/^([0-9])$/.test(event.key)) {
|
|
46
|
-
handleNextInput(event, index);
|
|
47
|
-
}
|
|
48
|
-
emit("update:modelValue", digits.value.join(""));
|
|
49
|
-
};
|
|
50
|
-
</script>
|
|
51
|
-
|
|
52
|
-
<template>
|
|
53
|
-
<div>
|
|
54
|
-
<h6 class="text-h6 mb-3">
|
|
55
|
-
{{ t('mobile_verification_enter_code') }}
|
|
56
|
-
</h6>
|
|
57
|
-
<div
|
|
58
|
-
ref="refOtpComp"
|
|
59
|
-
class="d-flex align-center gap-4 otp-input"
|
|
60
|
-
:class="{
|
|
61
|
-
'flex-row-reverse': isAppRtl
|
|
62
|
-
}"
|
|
63
|
-
>
|
|
64
|
-
<AppTextField
|
|
65
|
-
v-for="i in props.totalInput"
|
|
66
|
-
:key="i"
|
|
67
|
-
:model-value="digits[i - 1]"
|
|
68
|
-
maxlength="1"
|
|
69
|
-
:error="errorMessages?.length > 0"
|
|
70
|
-
@keydown="handleKeyDown($event, i)"
|
|
71
|
-
/>
|
|
72
|
-
</div>
|
|
73
|
-
<div class="text-error mt-2">
|
|
74
|
-
{{ errorMessages }}
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</template>
|
|
78
|
-
|
|
79
|
-
<style>
|
|
80
|
-
.otp-input input {
|
|
81
|
-
font-size: 1.25rem;
|
|
82
|
-
text-align: center;
|
|
83
|
-
}
|
|
84
|
-
</style>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
totalInput?: number;
|
|
3
|
-
modelValue?: string;
|
|
4
|
-
errorMessages?: string;
|
|
5
|
-
isAppRtl?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
-
"update:modelValue": (value: string | number) => any;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title?: string;
|
|
3
|
-
subtitle?: string;
|
|
4
|
-
customClass?: string;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { VCardText, VIcon } from "vuetify/components";
|
|
3
|
-
import AppSearchHeaderBg from "../../images/avatar.png";
|
|
4
|
-
import AppCard from "../cards/AppCard.vue";
|
|
5
|
-
import AppTextField from "./AppTextField.vue";
|
|
6
|
-
defineProps({
|
|
7
|
-
title: { type: String, required: false },
|
|
8
|
-
subtitle: { type: String, required: false },
|
|
9
|
-
customClass: { type: String, required: false }
|
|
10
|
-
});
|
|
11
|
-
defineOptions({
|
|
12
|
-
inheritAttrs: false
|
|
13
|
-
});
|
|
14
|
-
</script>
|
|
15
|
-
|
|
16
|
-
<template>
|
|
17
|
-
<!-- Search Banner -->
|
|
18
|
-
<AppCard
|
|
19
|
-
flat
|
|
20
|
-
class="text-center search-header"
|
|
21
|
-
:class="customClass"
|
|
22
|
-
:style="`background: url(${AppSearchHeaderBg});`"
|
|
23
|
-
>
|
|
24
|
-
<VCardText>
|
|
25
|
-
<h5 class="text-h3 font-weight-medium">
|
|
26
|
-
{{ title }}
|
|
27
|
-
</h5>
|
|
28
|
-
|
|
29
|
-
<!-- Search Input -->
|
|
30
|
-
<AppTextField
|
|
31
|
-
v-bind="$attrs"
|
|
32
|
-
placeholder="Search a question..."
|
|
33
|
-
class="search-header-input mx-auto my-3"
|
|
34
|
-
density="comfortable"
|
|
35
|
-
>
|
|
36
|
-
<template #prepend-inner>
|
|
37
|
-
<VIcon
|
|
38
|
-
icon="tabler-search"
|
|
39
|
-
size="23"
|
|
40
|
-
/>
|
|
41
|
-
</template>
|
|
42
|
-
</AppTextField>
|
|
43
|
-
|
|
44
|
-
<p class="mb-0">
|
|
45
|
-
{{ subtitle }}
|
|
46
|
-
</p>
|
|
47
|
-
</VCardText>
|
|
48
|
-
</AppCard>
|
|
49
|
-
</template>
|
|
50
|
-
|
|
51
|
-
<style>
|
|
52
|
-
.search-header {
|
|
53
|
-
padding: 4rem !important;
|
|
54
|
-
background-size: cover !important;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.search-header-input {
|
|
58
|
-
border-radius: 0.25rem !important;
|
|
59
|
-
border-radius: 0.375rem !important;
|
|
60
|
-
background-color: rgb(var(--v-theme-surface));
|
|
61
|
-
max-inline-size: 40.125rem !important;
|
|
62
|
-
}
|
|
63
|
-
.search-header-input .v-field__prepend-inner i {
|
|
64
|
-
inset-block-start: 3px !important;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@media (max-width: 37.5rem) {
|
|
68
|
-
.search-header {
|
|
69
|
-
padding: 1.5rem !important;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
</style>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title?: string;
|
|
3
|
-
subtitle?: string;
|
|
4
|
-
customClass?: string;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare var __VLS_18: string | number, __VLS_19: any;
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
[K in NonNullable<typeof __VLS_18>]?: (props: typeof __VLS_19) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
-
"update:model-value": (value: string | null) => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
-
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed, useAttrs } from "vue";
|
|
3
|
-
import { VLabel, VSelect } from "vuetify/components";
|
|
4
|
-
import { useI18n } from "vue-i18n";
|
|
5
|
-
defineOptions({
|
|
6
|
-
name: "AppSelect",
|
|
7
|
-
inheritAttrs: false
|
|
8
|
-
});
|
|
9
|
-
const { t } = useI18n();
|
|
10
|
-
const attrs = useAttrs();
|
|
11
|
-
const emit = defineEmits(["update:model-value"]);
|
|
12
|
-
const elementId = computed(() => {
|
|
13
|
-
const _elementIdToken = attrs.id || attrs.label;
|
|
14
|
-
return _elementIdToken ? `app-select-${_elementIdToken}-${Math.random().toString(36).slice(2, 7)}` : void 0;
|
|
15
|
-
});
|
|
16
|
-
const label = computed(() => attrs?.label);
|
|
17
|
-
const LangLabel = computed(() => label.value ? t(label.value) : "");
|
|
18
|
-
const placeholder = computed(() => {
|
|
19
|
-
if (attrs?.placeholder) {
|
|
20
|
-
return attrs?.placeholder;
|
|
21
|
-
}
|
|
22
|
-
if (label.value) {
|
|
23
|
-
return t("inputs.placeholder_select", {
|
|
24
|
-
name: LangLabel.value
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return "";
|
|
28
|
-
});
|
|
29
|
-
const handleMenuToggle = ($event) => {
|
|
30
|
-
const container = document.getElementsByClassName("v-overlay-container");
|
|
31
|
-
if (!$event) {
|
|
32
|
-
if (container && container[0]) {
|
|
33
|
-
for (let i = 0; i < container[0].children.length; i++) {
|
|
34
|
-
if (container[0].children[i].classList.contains(".v-menu")) {
|
|
35
|
-
container[0].children[i].remove();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
</script>
|
|
42
|
-
|
|
43
|
-
<template>
|
|
44
|
-
<div
|
|
45
|
-
class="app-select flex-grow-1"
|
|
46
|
-
:class="$attrs.class"
|
|
47
|
-
>
|
|
48
|
-
<VLabel
|
|
49
|
-
v-if="label"
|
|
50
|
-
:for="elementId"
|
|
51
|
-
class="mb-2 text-body-2 text-high-emphasis app-font-size-13"
|
|
52
|
-
:text="LangLabel"
|
|
53
|
-
/>
|
|
54
|
-
|
|
55
|
-
<VSelect
|
|
56
|
-
v-bind="{
|
|
57
|
-
...$attrs,
|
|
58
|
-
class: null,
|
|
59
|
-
label: void 0,
|
|
60
|
-
variant: 'outlined',
|
|
61
|
-
id: elementId,
|
|
62
|
-
menuProps: {
|
|
63
|
-
contentClass: ['app-inner-list', 'app-select__content', 'v-select__content', $attrs.multiple !== void 0 ? 'v-list-select-multiple' : '',
|
|
64
|
-
// @ts-ignore
|
|
65
|
-
...[$attrs?.['menu-props']?.contentClass || '']]
|
|
66
|
-
}
|
|
67
|
-
}"
|
|
68
|
-
class="app-font-size-13"
|
|
69
|
-
:class="{
|
|
70
|
-
'hide-arrow': !!$attrs.modelValue && $attrs?.clearable
|
|
71
|
-
}"
|
|
72
|
-
:placeholder="placeholder"
|
|
73
|
-
:no-data-text="t('no_data')"
|
|
74
|
-
persistent-clear
|
|
75
|
-
@update:model-value="e => emit('update:model-value', e)"
|
|
76
|
-
@update:menu="handleMenuToggle"
|
|
77
|
-
>
|
|
78
|
-
<template
|
|
79
|
-
v-for="(_, name) in $slots"
|
|
80
|
-
#[name]="slotProps"
|
|
81
|
-
>
|
|
82
|
-
<slot
|
|
83
|
-
:name="name"
|
|
84
|
-
v-bind="slotProps || {}"
|
|
85
|
-
/>
|
|
86
|
-
</template>
|
|
87
|
-
<template #details>
|
|
88
|
-
<span class="app-h-10px" />
|
|
89
|
-
</template>
|
|
90
|
-
</VSelect>
|
|
91
|
-
</div>
|
|
92
|
-
</template>
|
|
93
|
-
|
|
94
|
-
<style scoped>
|
|
95
|
-
.hide-arrow :deep(.v-field__append-inner) {
|
|
96
|
-
display: none !important;
|
|
97
|
-
}
|
|
98
|
-
</style>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare var __VLS_18: string | number, __VLS_19: any;
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
[K in NonNullable<typeof __VLS_18>]?: (props: typeof __VLS_19) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
-
"update:model-value": (value: string | null) => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
-
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type Item = {
|
|
2
|
-
title: string;
|
|
3
|
-
icon?: string;
|
|
4
|
-
size?: string;
|
|
5
|
-
subtitle?: string;
|
|
6
|
-
};
|
|
7
|
-
type Direction = 'vertical' | 'horizontal';
|
|
8
|
-
type __VLS_Props = {
|
|
9
|
-
items: Item[];
|
|
10
|
-
currentStep?: number;
|
|
11
|
-
direction?: Direction;
|
|
12
|
-
iconSize?: string | number;
|
|
13
|
-
isActiveStepValid?: boolean;
|
|
14
|
-
};
|
|
15
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
-
"update:currentStep": (value: number) => any;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
"onUpdate:currentStep"?: ((value: number) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
-
declare const _default: typeof __VLS_export;
|
|
21
|
-
export default _default;
|