@winchsa/ui 0.1.30 → 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 -328
- 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,232 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { ref, computed, watchEffect } from "vue";
|
|
3
|
-
import { VSlideGroup, VSlideGroupItem, VIcon } from "vuetify/components";
|
|
4
|
-
const props = defineProps({
|
|
5
|
-
items: { type: Array, required: true },
|
|
6
|
-
currentStep: { type: Number, required: false, default: 0 },
|
|
7
|
-
direction: { type: String, required: false, default: "horizontal" },
|
|
8
|
-
iconSize: { type: [String, Number], required: false, default: 52 },
|
|
9
|
-
isActiveStepValid: { type: Boolean, required: false, default: void 0 }
|
|
10
|
-
});
|
|
11
|
-
const emit = defineEmits(["update:currentStep"]);
|
|
12
|
-
const currentStep = ref(props.currentStep || 0);
|
|
13
|
-
const activeOrCompletedStepsClasses = computed(
|
|
14
|
-
() => (index) => index < currentStep.value ? "stepper-steps-completed" : index === currentStep.value ? "stepper-steps-active" : ""
|
|
15
|
-
);
|
|
16
|
-
const isHorizontalAndNotLastStep = computed(
|
|
17
|
-
() => (index) => props.direction === "horizontal" && props.items.length - 1 !== index
|
|
18
|
-
);
|
|
19
|
-
const isValidationEnabled = computed(() => {
|
|
20
|
-
return props.isActiveStepValid !== void 0;
|
|
21
|
-
});
|
|
22
|
-
watchEffect(() => {
|
|
23
|
-
if (props.currentStep !== void 0 && props.currentStep < props.items.length && props.currentStep >= 0) {
|
|
24
|
-
currentStep.value = props.currentStep;
|
|
25
|
-
}
|
|
26
|
-
emit("update:currentStep", currentStep.value);
|
|
27
|
-
});
|
|
28
|
-
</script>
|
|
29
|
-
|
|
30
|
-
<template>
|
|
31
|
-
<VSlideGroup
|
|
32
|
-
v-model="currentStep"
|
|
33
|
-
class="app-stepper"
|
|
34
|
-
show-arrows
|
|
35
|
-
:direction="direction"
|
|
36
|
-
>
|
|
37
|
-
<VSlideGroupItem
|
|
38
|
-
v-for="(item, index) in items"
|
|
39
|
-
:key="item.title"
|
|
40
|
-
:value="index"
|
|
41
|
-
>
|
|
42
|
-
<div
|
|
43
|
-
class="cursor-pointer mx-1"
|
|
44
|
-
:class="[!isActiveStepValid && isValidationEnabled && 'stepper-steps-invalid', activeOrCompletedStepsClasses(index)]"
|
|
45
|
-
@click="!isValidationEnabled && emit('update:currentStep', index)"
|
|
46
|
-
>
|
|
47
|
-
<!-- SECTION stepper step with icon -->
|
|
48
|
-
<template v-if="item.icon">
|
|
49
|
-
<div class="stepper-icon-step text-high-emphasis d-flex align-center gap-2">
|
|
50
|
-
<!-- icon and title -->
|
|
51
|
-
<div
|
|
52
|
-
class="d-flex align-center gap-4 step-wrapper"
|
|
53
|
-
:class="[direction === 'horizontal' && 'flex-column']"
|
|
54
|
-
>
|
|
55
|
-
<div class="stepper-icon">
|
|
56
|
-
<VIcon
|
|
57
|
-
:icon="item.icon"
|
|
58
|
-
:size="item.size || iconSize"
|
|
59
|
-
/>
|
|
60
|
-
</div>
|
|
61
|
-
|
|
62
|
-
<div>
|
|
63
|
-
<p class="stepper-title font-weight-medium mb-0">
|
|
64
|
-
{{ item.title }}
|
|
65
|
-
</p>
|
|
66
|
-
<span
|
|
67
|
-
v-if="item.subtitle"
|
|
68
|
-
class="stepper-subtitle"
|
|
69
|
-
>
|
|
70
|
-
<span class="text-sm">{{ item.subtitle }}</span>
|
|
71
|
-
</span>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
|
|
75
|
-
<!-- append chevron -->
|
|
76
|
-
<VIcon
|
|
77
|
-
v-if="isHorizontalAndNotLastStep(index)"
|
|
78
|
-
class="flip-in-rtl stepper-chevron-indicator mx-6"
|
|
79
|
-
size="24"
|
|
80
|
-
icon="tabler-chevron-right"
|
|
81
|
-
/>
|
|
82
|
-
</div>
|
|
83
|
-
</template>
|
|
84
|
-
<!-- !SECTION -->
|
|
85
|
-
|
|
86
|
-
<!-- SECTION stepper step without icon -->
|
|
87
|
-
<template v-else>
|
|
88
|
-
<div class="d-flex align-center gap-x-2">
|
|
89
|
-
<div class="d-flex align-center gap-2">
|
|
90
|
-
<div
|
|
91
|
-
class="d-flex align-center justify-center"
|
|
92
|
-
style="block-size: 24px; inline-size: 24px"
|
|
93
|
-
>
|
|
94
|
-
<!-- custom circle icon -->
|
|
95
|
-
<template v-if="index >= currentStep">
|
|
96
|
-
<div
|
|
97
|
-
v-if="!isValidationEnabled || isActiveStepValid || index !== currentStep"
|
|
98
|
-
class="stepper-step-indicator"
|
|
99
|
-
/>
|
|
100
|
-
|
|
101
|
-
<VIcon
|
|
102
|
-
v-else
|
|
103
|
-
icon="tabler-alert-circle"
|
|
104
|
-
size="24"
|
|
105
|
-
color="error"
|
|
106
|
-
/>
|
|
107
|
-
</template>
|
|
108
|
-
|
|
109
|
-
<!-- step completed icon -->
|
|
110
|
-
|
|
111
|
-
<VIcon
|
|
112
|
-
v-else
|
|
113
|
-
icon="custom-check-circle"
|
|
114
|
-
class="stepper-step-icon"
|
|
115
|
-
size="24"
|
|
116
|
-
/>
|
|
117
|
-
</div>
|
|
118
|
-
|
|
119
|
-
<!-- Step Number -->
|
|
120
|
-
<h4 class="text-h4 step-number">
|
|
121
|
-
{{ (index + 1).toString().padStart(2, "0") }}
|
|
122
|
-
</h4>
|
|
123
|
-
</div>
|
|
124
|
-
|
|
125
|
-
<!-- title and subtitle -->
|
|
126
|
-
<div style="line-height: 0">
|
|
127
|
-
<h6 class="text-sm font-weight-medium step-title">
|
|
128
|
-
{{ item.title }}
|
|
129
|
-
</h6>
|
|
130
|
-
|
|
131
|
-
<span
|
|
132
|
-
v-if="item.subtitle"
|
|
133
|
-
class="text-xs step-subtitle"
|
|
134
|
-
>
|
|
135
|
-
{{ item.subtitle }}
|
|
136
|
-
</span>
|
|
137
|
-
</div>
|
|
138
|
-
|
|
139
|
-
<!-- stepper step line -->
|
|
140
|
-
<div
|
|
141
|
-
v-if="isHorizontalAndNotLastStep(index)"
|
|
142
|
-
class="stepper-step-line"
|
|
143
|
-
/>
|
|
144
|
-
</div>
|
|
145
|
-
</template>
|
|
146
|
-
<!-- !SECTION -->
|
|
147
|
-
</div>
|
|
148
|
-
</VSlideGroupItem>
|
|
149
|
-
</VSlideGroup>
|
|
150
|
-
</template>
|
|
151
|
-
|
|
152
|
-
<style>
|
|
153
|
-
.app-stepper.stepper-icon-step-bg .stepper-icon-step .step-wrapper {
|
|
154
|
-
flex-direction: row !important;
|
|
155
|
-
}
|
|
156
|
-
.app-stepper.stepper-icon-step-bg .stepper-icon-step .stepper-icon {
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
justify-content: center;
|
|
160
|
-
border-radius: 0.3125rem;
|
|
161
|
-
background-color: rgba(var(--v-theme-on-surface), var(--v-selected-opacity));
|
|
162
|
-
block-size: 2.5rem;
|
|
163
|
-
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
|
164
|
-
inline-size: 2.5rem;
|
|
165
|
-
margin-inline-end: 0.3rem;
|
|
166
|
-
}
|
|
167
|
-
.app-stepper.stepper-icon-step-bg .stepper-icon-step .stepper-title,
|
|
168
|
-
.app-stepper.stepper-icon-step-bg .stepper-icon-step .stepper-subtitle {
|
|
169
|
-
line-height: normal;
|
|
170
|
-
}
|
|
171
|
-
.app-stepper.stepper-icon-step-bg .stepper-icon-step .stepper-title {
|
|
172
|
-
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
|
173
|
-
font-size: 0.9375rem;
|
|
174
|
-
font-weight: 500 !important;
|
|
175
|
-
}
|
|
176
|
-
.app-stepper.stepper-icon-step-bg .stepper-icon-step .stepper-subtitle {
|
|
177
|
-
color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity));
|
|
178
|
-
font-size: 0.875rem;
|
|
179
|
-
}
|
|
180
|
-
.app-stepper.stepper-icon-step-bg .stepper-steps-active .stepper-icon-step .stepper-icon {
|
|
181
|
-
background-color: rgb(var(--v-theme-primary));
|
|
182
|
-
color: rgba(var(--v-theme-on-primary));
|
|
183
|
-
}
|
|
184
|
-
.app-stepper.stepper-icon-step-bg .stepper-steps-completed .stepper-icon-step .stepper-icon {
|
|
185
|
-
background: rgba(var(--v-theme-primary), 0.08);
|
|
186
|
-
color: rgba(var(--v-theme-primary));
|
|
187
|
-
}
|
|
188
|
-
.app-stepper .v-slide-group__content {
|
|
189
|
-
justify-content: center;
|
|
190
|
-
row-gap: 1.5rem;
|
|
191
|
-
}
|
|
192
|
-
.app-stepper .v-slide-group__content .stepper-step-indicator {
|
|
193
|
-
border: 0.3125rem solid rgb(var(--v-theme-primary));
|
|
194
|
-
border-radius: 50%;
|
|
195
|
-
background-color: rgb(var(--v-theme-surface));
|
|
196
|
-
block-size: 1.25rem;
|
|
197
|
-
inline-size: 1.25rem;
|
|
198
|
-
opacity: var(--v-activated-opacity);
|
|
199
|
-
}
|
|
200
|
-
.app-stepper .v-slide-group__content .stepper-step-line {
|
|
201
|
-
border-radius: 0.1875rem;
|
|
202
|
-
background-color: rgb(var(--v-theme-primary));
|
|
203
|
-
block-size: 0.1875rem;
|
|
204
|
-
inline-size: 3.75rem;
|
|
205
|
-
opacity: var(--v-activated-opacity);
|
|
206
|
-
}
|
|
207
|
-
.app-stepper .v-slide-group__content .stepper-chevron-indicator {
|
|
208
|
-
color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity));
|
|
209
|
-
}
|
|
210
|
-
.app-stepper .v-slide-group__content .stepper-steps-completed .stepper-icon-step,
|
|
211
|
-
.app-stepper .v-slide-group__content .stepper-steps-completed .stepper-step-icon,
|
|
212
|
-
.app-stepper .v-slide-group__content .stepper-steps-active .stepper-icon-step,
|
|
213
|
-
.app-stepper .v-slide-group__content .stepper-steps-active .stepper-step-icon {
|
|
214
|
-
color: rgb(var(--v-theme-primary)) !important;
|
|
215
|
-
}
|
|
216
|
-
.app-stepper .v-slide-group__content .stepper-steps-completed .stepper-step-indicator,
|
|
217
|
-
.app-stepper .v-slide-group__content .stepper-steps-active .stepper-step-indicator {
|
|
218
|
-
opacity: 1;
|
|
219
|
-
}
|
|
220
|
-
.app-stepper .v-slide-group__content .stepper-steps-completed .stepper-step-line {
|
|
221
|
-
opacity: 1;
|
|
222
|
-
}
|
|
223
|
-
.app-stepper .v-slide-group__content .stepper-steps-completed .stepper-chevron-indicator {
|
|
224
|
-
color: rgb(var(--v-theme-primary));
|
|
225
|
-
}
|
|
226
|
-
.app-stepper .v-slide-group__content .stepper-steps-invalid.stepper-steps-active .stepper-icon-step,
|
|
227
|
-
.app-stepper .v-slide-group__content .stepper-steps-invalid.stepper-steps-active .step-number,
|
|
228
|
-
.app-stepper .v-slide-group__content .stepper-steps-invalid.stepper-steps-active .step-title,
|
|
229
|
-
.app-stepper .v-slide-group__content .stepper-steps-invalid.stepper-steps-active .step-subtitle {
|
|
230
|
-
color: rgb(var(--v-theme-error)) !important;
|
|
231
|
-
}
|
|
232
|
-
</style>
|
|
@@ -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;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
labelSwitch?: string;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_15: string | number, __VLS_16: any;
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
[K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_base: 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>;
|
|
9
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
-
declare const _default: typeof __VLS_export;
|
|
11
|
-
export default _default;
|
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed, useAttrs } from "vue";
|
|
3
|
-
import { VLabel, VSwitch } from "vuetify/components";
|
|
4
|
-
import { useI18n } from "vue-i18n";
|
|
5
|
-
defineProps({
|
|
6
|
-
labelSwitch: { type: String, required: false }
|
|
7
|
-
});
|
|
8
|
-
defineOptions({
|
|
9
|
-
name: "AppSwitch",
|
|
10
|
-
inheritAttrs: false
|
|
11
|
-
});
|
|
12
|
-
const { t } = useI18n();
|
|
13
|
-
const elementId = computed(() => {
|
|
14
|
-
const attrs = useAttrs();
|
|
15
|
-
const _elementIdToken = attrs.id || attrs.label;
|
|
16
|
-
return _elementIdToken ? `app-switch-${_elementIdToken}-${Math.random().toString(36).slice(2, 7)}` : void 0;
|
|
17
|
-
});
|
|
18
|
-
const label = computed(() => useAttrs().label);
|
|
19
|
-
const LangLabel = computed(() => label.value ? t(label.value) : "");
|
|
20
|
-
</script>
|
|
21
|
-
|
|
22
|
-
<template>
|
|
23
|
-
<div
|
|
24
|
-
class="d-flex flex-column"
|
|
25
|
-
:class="$attrs.class"
|
|
26
|
-
>
|
|
27
|
-
<div>
|
|
28
|
-
<VLabel
|
|
29
|
-
v-if="label"
|
|
30
|
-
:for="elementId"
|
|
31
|
-
class="mb-2 text-body-2 text-high-emphasis"
|
|
32
|
-
:text="LangLabel"
|
|
33
|
-
/>
|
|
34
|
-
</div>
|
|
35
|
-
<div>
|
|
36
|
-
<VSwitch
|
|
37
|
-
v-bind="{
|
|
38
|
-
...$attrs,
|
|
39
|
-
class: null,
|
|
40
|
-
label: void 0,
|
|
41
|
-
variant: 'outlined',
|
|
42
|
-
id: elementId
|
|
43
|
-
}"
|
|
44
|
-
:label="labelSwitch"
|
|
45
|
-
class="item-center h-100"
|
|
46
|
-
>
|
|
47
|
-
<template
|
|
48
|
-
v-for="(_, name) in $slots"
|
|
49
|
-
#[name]="slotProps"
|
|
50
|
-
>
|
|
51
|
-
<slot
|
|
52
|
-
:name="name"
|
|
53
|
-
v-bind="slotProps || {}"
|
|
54
|
-
/>
|
|
55
|
-
</template>
|
|
56
|
-
</VSwitch>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</template>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
labelSwitch?: string;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_15: string | number, __VLS_16: any;
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
[K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_base: 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>;
|
|
9
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
-
declare const _default: typeof __VLS_export;
|
|
11
|
-
export default _default;
|
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_15: string | number, __VLS_16: any;
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
[K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed, useAttrs } from "vue";
|
|
3
|
-
import { VLabel, VTextField } from "vuetify/components";
|
|
4
|
-
import { useI18n } from "vue-i18n";
|
|
5
|
-
defineOptions({
|
|
6
|
-
name: "AppTextField",
|
|
7
|
-
inheritAttrs: false
|
|
8
|
-
});
|
|
9
|
-
const { t } = useI18n();
|
|
10
|
-
const elementId = computed(() => {
|
|
11
|
-
const attrs = useAttrs();
|
|
12
|
-
const _elementIdToken = attrs.id || attrs.label;
|
|
13
|
-
return _elementIdToken ? `AppTextField-${_elementIdToken}-${Math.random().toString(36).slice(2, 7)}` : void 0;
|
|
14
|
-
});
|
|
15
|
-
const label = computed(() => useAttrs()?.label);
|
|
16
|
-
const LangLabel = computed(() => label.value ? t(label.value) : "");
|
|
17
|
-
const placeholder = computed(() => {
|
|
18
|
-
if (useAttrs()?.placeholder) {
|
|
19
|
-
return useAttrs()?.placeholder;
|
|
20
|
-
}
|
|
21
|
-
if (label.value) {
|
|
22
|
-
return t("inputs.placeholder", {
|
|
23
|
-
name: LangLabel.value
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
return "";
|
|
27
|
-
});
|
|
28
|
-
</script>
|
|
29
|
-
|
|
30
|
-
<template>
|
|
31
|
-
<div
|
|
32
|
-
class="AppTextField flex-grow-1"
|
|
33
|
-
:class="$attrs.class"
|
|
34
|
-
>
|
|
35
|
-
<VLabel
|
|
36
|
-
v-if="label"
|
|
37
|
-
:for="elementId"
|
|
38
|
-
class="mb-2 text-body-2 text-high-emphasis app-font-size-13"
|
|
39
|
-
:text="LangLabel"
|
|
40
|
-
/>
|
|
41
|
-
<VTextField
|
|
42
|
-
v-bind="{
|
|
43
|
-
...$attrs,
|
|
44
|
-
class: null,
|
|
45
|
-
label: void 0,
|
|
46
|
-
variant: 'outlined',
|
|
47
|
-
id: elementId
|
|
48
|
-
}"
|
|
49
|
-
:placeholder="placeholder"
|
|
50
|
-
class="app-font-size-13"
|
|
51
|
-
>
|
|
52
|
-
<template
|
|
53
|
-
v-for="(_, name) in $slots"
|
|
54
|
-
#[name]="slotProps"
|
|
55
|
-
>
|
|
56
|
-
<slot
|
|
57
|
-
:name="name"
|
|
58
|
-
v-bind="slotProps || {}"
|
|
59
|
-
/>
|
|
60
|
-
</template>
|
|
61
|
-
<template #details>
|
|
62
|
-
<span class="app-h-10px" />
|
|
63
|
-
</template>
|
|
64
|
-
</VTextField>
|
|
65
|
-
</div>
|
|
66
|
-
</template>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_15: string | number, __VLS_16: any;
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
[K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_15: string | number, __VLS_16: any;
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
[K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed, useAttrs } from "vue";
|
|
3
|
-
import { VLabel, VTextarea } from "vuetify/components";
|
|
4
|
-
import { useI18n } from "vue-i18n";
|
|
5
|
-
defineOptions({
|
|
6
|
-
name: "AppTextarea",
|
|
7
|
-
inheritAttrs: false
|
|
8
|
-
});
|
|
9
|
-
const { t } = useI18n();
|
|
10
|
-
const elementId = computed(() => {
|
|
11
|
-
const attrs = useAttrs();
|
|
12
|
-
const _elementIdToken = attrs.id || attrs.label;
|
|
13
|
-
return _elementIdToken ? `app-textarea-${_elementIdToken}-${Math.random().toString(36).slice(2, 7)}` : void 0;
|
|
14
|
-
});
|
|
15
|
-
const label = computed(() => useAttrs()?.label);
|
|
16
|
-
const LangLabel = computed(() => label.value ? t(label.value) : "");
|
|
17
|
-
const placeholder = computed(() => {
|
|
18
|
-
if (useAttrs()?.placeholder) {
|
|
19
|
-
return useAttrs()?.placeholder;
|
|
20
|
-
}
|
|
21
|
-
if (label.value) {
|
|
22
|
-
return t("inputs.placeholder", {
|
|
23
|
-
name: LangLabel.value
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
return "";
|
|
27
|
-
});
|
|
28
|
-
</script>
|
|
29
|
-
|
|
30
|
-
<template>
|
|
31
|
-
<div
|
|
32
|
-
class="app-textarea flex-grow-1"
|
|
33
|
-
:class="$attrs.class"
|
|
34
|
-
>
|
|
35
|
-
<VLabel
|
|
36
|
-
v-if="label"
|
|
37
|
-
:for="elementId"
|
|
38
|
-
class="mb-2 text-body-2 text-high-emphasis"
|
|
39
|
-
:text="LangLabel"
|
|
40
|
-
/>
|
|
41
|
-
<VTextarea
|
|
42
|
-
v-bind="{
|
|
43
|
-
...$attrs,
|
|
44
|
-
class: null,
|
|
45
|
-
label: void 0,
|
|
46
|
-
variant: 'outlined',
|
|
47
|
-
id: elementId
|
|
48
|
-
}"
|
|
49
|
-
:placeholder="placeholder"
|
|
50
|
-
class="w-100"
|
|
51
|
-
>
|
|
52
|
-
<template
|
|
53
|
-
v-for="(_, name) in $slots"
|
|
54
|
-
#[name]="slotProps"
|
|
55
|
-
>
|
|
56
|
-
<slot
|
|
57
|
-
:name="name"
|
|
58
|
-
v-bind="slotProps || {}"
|
|
59
|
-
/>
|
|
60
|
-
</template>
|
|
61
|
-
</VTextarea>
|
|
62
|
-
</div>
|
|
63
|
-
</template>
|
|
64
|
-
|
|
65
|
-
<style scoped>
|
|
66
|
-
:deep(textarea) {
|
|
67
|
-
padding: 15px 20px !important;
|
|
68
|
-
}
|
|
69
|
-
</style>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_15: string | number, __VLS_16: any;
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
[K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Attachment } from '../../types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
validTypes?: string[];
|
|
4
|
-
rules?: ((value: unknown) => typeof value | string)[];
|
|
5
|
-
multiple?: boolean;
|
|
6
|
-
modelValue: Attachment | Attachment[] | null;
|
|
7
|
-
sizeInMB?: number;
|
|
8
|
-
showPreview?: boolean;
|
|
9
|
-
cropWidth?: number;
|
|
10
|
-
cropHeight?: number;
|
|
11
|
-
};
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
-
"update:model-value": (value: Attachment | Attachment[]) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:model-value"?: ((value: Attachment | Attachment[]) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
|
-
export default _default;
|