@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,29 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { VCard, VCardText, VAvatar } from "vuetify/components";
|
|
3
|
-
defineProps({
|
|
4
|
-
title: { type: String, required: true },
|
|
5
|
-
color: { type: String, required: false, default: "primary" },
|
|
6
|
-
icon: { type: String, required: true },
|
|
7
|
-
stats: { type: String, required: true }
|
|
8
|
-
});
|
|
9
|
-
</script>
|
|
10
|
-
|
|
11
|
-
<template>
|
|
12
|
-
<VCard>
|
|
13
|
-
<VCardText class="d-flex align-center justify-space-between">
|
|
14
|
-
<div>
|
|
15
|
-
<div class="d-flex align-center flex-wrap">
|
|
16
|
-
<span class="text-h5">{{ stats }}</span>
|
|
17
|
-
</div>
|
|
18
|
-
<span class="text-body-2">{{ title }}</span>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<VAvatar
|
|
22
|
-
:icon="icon"
|
|
23
|
-
:color="color"
|
|
24
|
-
:size="42"
|
|
25
|
-
variant="tonal"
|
|
26
|
-
/>
|
|
27
|
-
</VCardText>
|
|
28
|
-
</VCard>
|
|
29
|
-
</template>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title: string;
|
|
3
|
-
color?: string;
|
|
4
|
-
icon: string;
|
|
5
|
-
stats: string;
|
|
6
|
-
};
|
|
7
|
-
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>;
|
|
8
|
-
declare const _default: typeof __VLS_export;
|
|
9
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type ChechboxModel = {
|
|
2
|
-
key: string | number;
|
|
3
|
-
label: string;
|
|
4
|
-
selected?: boolean;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_Props = {
|
|
7
|
-
id?: string | number;
|
|
8
|
-
title?: string;
|
|
9
|
-
modelValue: ChechboxModel[];
|
|
10
|
-
vertical?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
-
"update:modelValue": (value: ChechboxModel[]) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((value: ChechboxModel[]) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
|
-
export default _default;
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { onMounted, reactive, watch } from "vue";
|
|
3
|
-
import { VCardItem, VCheckbox, VDivider } from "vuetify/components";
|
|
4
|
-
import AppCard from "./AppCard.vue";
|
|
5
|
-
const props = defineProps({
|
|
6
|
-
id: { type: [String, Number], required: false, default: "" },
|
|
7
|
-
title: { type: String, required: false, default: "" },
|
|
8
|
-
modelValue: { type: Array, required: true, default: () => [] },
|
|
9
|
-
vertical: { type: Boolean, required: false, default: false }
|
|
10
|
-
});
|
|
11
|
-
const data = reactive({
|
|
12
|
-
selectedAll: false,
|
|
13
|
-
model: props.modelValue || []
|
|
14
|
-
});
|
|
15
|
-
const emit = defineEmits(["update:modelValue"]);
|
|
16
|
-
watch(
|
|
17
|
-
() => props.modelValue,
|
|
18
|
-
() => {
|
|
19
|
-
data.model = props.modelValue;
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
watch(
|
|
23
|
-
() => data.model,
|
|
24
|
-
() => {
|
|
25
|
-
allCheckboxSelected();
|
|
26
|
-
getItemOnChange();
|
|
27
|
-
},
|
|
28
|
-
{ deep: true }
|
|
29
|
-
);
|
|
30
|
-
onMounted(() => {
|
|
31
|
-
allCheckboxSelected();
|
|
32
|
-
});
|
|
33
|
-
const selectAll = () => {
|
|
34
|
-
data.selectedAll = !data.selectedAll;
|
|
35
|
-
data.model.forEach((item) => item.selected = data.selectedAll);
|
|
36
|
-
};
|
|
37
|
-
function allCheckboxSelected() {
|
|
38
|
-
data.model.find((item) => item.selected === false || item.selected === void 0) ? data.selectedAll = false : data.selectedAll = true;
|
|
39
|
-
}
|
|
40
|
-
function getItemOnChange() {
|
|
41
|
-
emit("update:modelValue", data.model);
|
|
42
|
-
}
|
|
43
|
-
</script>
|
|
44
|
-
|
|
45
|
-
<template>
|
|
46
|
-
<AppCard class="h-100">
|
|
47
|
-
<!-- title card -->
|
|
48
|
-
<VCardItem
|
|
49
|
-
class="text-center"
|
|
50
|
-
:class="{
|
|
51
|
-
'mb-0 pb-0': vertical
|
|
52
|
-
}"
|
|
53
|
-
>
|
|
54
|
-
<div class="d-flex justify-space-between w-100">
|
|
55
|
-
<h3 class="fw-bold">
|
|
56
|
-
{{ title }}
|
|
57
|
-
</h3>
|
|
58
|
-
|
|
59
|
-
<VCheckbox
|
|
60
|
-
v-model="data.selectedAll"
|
|
61
|
-
class="form-check-input"
|
|
62
|
-
@click="selectAll()"
|
|
63
|
-
/>
|
|
64
|
-
</div>
|
|
65
|
-
|
|
66
|
-
<VDivider />
|
|
67
|
-
</VCardItem>
|
|
68
|
-
|
|
69
|
-
<VCardItem
|
|
70
|
-
:class="{
|
|
71
|
-
'pt-2': vertical,
|
|
72
|
-
'pt-0 pa-0': !vertical
|
|
73
|
-
}"
|
|
74
|
-
>
|
|
75
|
-
<template v-if="vertical">
|
|
76
|
-
<VRow>
|
|
77
|
-
<VCol
|
|
78
|
-
v-for="(item, key) in data.model"
|
|
79
|
-
:key="key"
|
|
80
|
-
xl="3"
|
|
81
|
-
lg="4"
|
|
82
|
-
md="6"
|
|
83
|
-
sm="12"
|
|
84
|
-
class="py-0"
|
|
85
|
-
>
|
|
86
|
-
<div class="d-flex justify-space-between align-center border pa-3 my-3 rounded">
|
|
87
|
-
<span>{{ item.label }}</span>
|
|
88
|
-
<VCheckbox v-model="item.selected" />
|
|
89
|
-
</div>
|
|
90
|
-
</VCol>
|
|
91
|
-
</VRow>
|
|
92
|
-
</template>
|
|
93
|
-
|
|
94
|
-
<template v-else>
|
|
95
|
-
<VCardItem class="pt-0">
|
|
96
|
-
<div
|
|
97
|
-
v-for="(item, key) in data.model"
|
|
98
|
-
:key="key"
|
|
99
|
-
class="d-flex justify-space-between mb-2"
|
|
100
|
-
>
|
|
101
|
-
<span>{{ item.label }}</span>
|
|
102
|
-
<VCheckbox v-model="item.selected" />
|
|
103
|
-
</div>
|
|
104
|
-
</vcarditem>
|
|
105
|
-
</template>
|
|
106
|
-
</VCardItem>
|
|
107
|
-
</AppCard>
|
|
108
|
-
</template>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type ChechboxModel = {
|
|
2
|
-
key: string | number;
|
|
3
|
-
label: string;
|
|
4
|
-
selected?: boolean;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_Props = {
|
|
7
|
-
id?: string | number;
|
|
8
|
-
title?: string;
|
|
9
|
-
modelValue: ChechboxModel[];
|
|
10
|
-
vertical?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
-
"update:modelValue": (value: ChechboxModel[]) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((value: ChechboxModel[]) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title: string;
|
|
3
|
-
backPage?: string;
|
|
4
|
-
isAppRtl: boolean;
|
|
5
|
-
logoSrc?: string;
|
|
6
|
-
};
|
|
7
|
-
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>;
|
|
8
|
-
declare const _default: typeof __VLS_export;
|
|
9
|
-
export default _default;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { VCol, VBtn } from "vuetify/components";
|
|
3
|
-
defineProps({
|
|
4
|
-
title: { type: String, required: true },
|
|
5
|
-
backPage: { type: String, required: false },
|
|
6
|
-
isAppRtl: { type: Boolean, required: true },
|
|
7
|
-
logoSrc: { type: String, required: false }
|
|
8
|
-
});
|
|
9
|
-
</script>
|
|
10
|
-
|
|
11
|
-
<template>
|
|
12
|
-
<img :src="logoSrc">
|
|
13
|
-
|
|
14
|
-
<div class="d-flex align-center mt-2 position-relative">
|
|
15
|
-
<VBtn
|
|
16
|
-
v-if="backPage"
|
|
17
|
-
:to="backPage"
|
|
18
|
-
elevation="0"
|
|
19
|
-
size="33px"
|
|
20
|
-
:icon="isAppRtl ? 'tabler-arrow-right' : 'tabler-arrow-left'"
|
|
21
|
-
class="back-btn"
|
|
22
|
-
color="gray-200"
|
|
23
|
-
/>
|
|
24
|
-
|
|
25
|
-
<VCol class="py-0">
|
|
26
|
-
<h5 class="text-h5 font-weight-medium text-center">
|
|
27
|
-
{{ title }}
|
|
28
|
-
</h5>
|
|
29
|
-
</VCol>
|
|
30
|
-
</div>
|
|
31
|
-
</template>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title: string;
|
|
3
|
-
backPage?: string;
|
|
4
|
-
isAppRtl: boolean;
|
|
5
|
-
logoSrc?: string;
|
|
6
|
-
};
|
|
7
|
-
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>;
|
|
8
|
-
declare const _default: typeof __VLS_export;
|
|
9
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title?: {
|
|
3
|
-
text: string;
|
|
4
|
-
to?: string;
|
|
5
|
-
};
|
|
6
|
-
subTitle?: {
|
|
7
|
-
text: string;
|
|
8
|
-
to?: string;
|
|
9
|
-
};
|
|
10
|
-
image?: string;
|
|
11
|
-
avatar?: string;
|
|
12
|
-
isLoading?: boolean;
|
|
13
|
-
imageClass?: string[];
|
|
14
|
-
};
|
|
15
|
-
declare var __VLS_25: {}, __VLS_27: {}, __VLS_34: {}, __VLS_41: {};
|
|
16
|
-
type __VLS_Slots = {} & {
|
|
17
|
-
'image-subtitle'?: (props: typeof __VLS_25) => any;
|
|
18
|
-
} & {
|
|
19
|
-
title?: (props: typeof __VLS_27) => any;
|
|
20
|
-
} & {
|
|
21
|
-
'sub-title'?: (props: typeof __VLS_34) => any;
|
|
22
|
-
} & {
|
|
23
|
-
default?: (props: typeof __VLS_41) => any;
|
|
24
|
-
};
|
|
25
|
-
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>;
|
|
26
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
-
declare const _default: typeof __VLS_export;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { VCardItem, VAvatar, VImg } from "vuetify/components";
|
|
3
|
-
import AppLink from "../forms/AppLink.vue";
|
|
4
|
-
import AppCard from "./AppCard.vue";
|
|
5
|
-
defineProps({
|
|
6
|
-
title: { type: Object, required: false, default: () => ({
|
|
7
|
-
text: ""
|
|
8
|
-
}) },
|
|
9
|
-
subTitle: { type: Object, required: false, default: () => ({
|
|
10
|
-
text: ""
|
|
11
|
-
}) },
|
|
12
|
-
image: { type: String, required: false, default: "" },
|
|
13
|
-
avatar: { type: String, required: false },
|
|
14
|
-
isLoading: { type: Boolean, required: false },
|
|
15
|
-
imageClass: { type: Array, required: false }
|
|
16
|
-
});
|
|
17
|
-
</script>
|
|
18
|
-
|
|
19
|
-
<template>
|
|
20
|
-
<AppCard class="p-3" :is-loading="isLoading">
|
|
21
|
-
<VCardItem class="align-center h-100">
|
|
22
|
-
<div class="d-flex align-center justify-space-between gap-4">
|
|
23
|
-
<div class="d-flex flex-column flex-shrink-0 mt-1">
|
|
24
|
-
<img
|
|
25
|
-
v-if="image"
|
|
26
|
-
:src="image"
|
|
27
|
-
:class="imageClass"
|
|
28
|
-
:alt="title.text"
|
|
29
|
-
>
|
|
30
|
-
<VAvatar
|
|
31
|
-
v-if="avatar"
|
|
32
|
-
rounded="circle"
|
|
33
|
-
size="x-large"
|
|
34
|
-
>
|
|
35
|
-
<VImg
|
|
36
|
-
v-if="avatar"
|
|
37
|
-
:src="avatar"
|
|
38
|
-
:alt="title.text"
|
|
39
|
-
cover
|
|
40
|
-
class="rounded-circle bg-grey-lighten-1"
|
|
41
|
-
/>
|
|
42
|
-
</VAvatar>
|
|
43
|
-
|
|
44
|
-
<slot name="image-subtitle" />
|
|
45
|
-
</div>
|
|
46
|
-
|
|
47
|
-
<div class="d-flex flex-column flex-1-1">
|
|
48
|
-
<div>
|
|
49
|
-
<slot name="title">
|
|
50
|
-
<AppLink
|
|
51
|
-
v-if="title"
|
|
52
|
-
class="font-weight-bold text-wrap app-font-size-13"
|
|
53
|
-
:to="title.to"
|
|
54
|
-
>
|
|
55
|
-
{{ title.text }}
|
|
56
|
-
</AppLink>
|
|
57
|
-
</slot>
|
|
58
|
-
|
|
59
|
-
<div class="text-caption text-wrap">
|
|
60
|
-
<slot name="sub-title">
|
|
61
|
-
<AppLink :to="subTitle.to">
|
|
62
|
-
{{ subTitle.text }}
|
|
63
|
-
</AppLink>
|
|
64
|
-
</slot>
|
|
65
|
-
</div>
|
|
66
|
-
|
|
67
|
-
<slot />
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
</VCardItem>
|
|
72
|
-
</AppCard>
|
|
73
|
-
</template>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title?: {
|
|
3
|
-
text: string;
|
|
4
|
-
to?: string;
|
|
5
|
-
};
|
|
6
|
-
subTitle?: {
|
|
7
|
-
text: string;
|
|
8
|
-
to?: string;
|
|
9
|
-
};
|
|
10
|
-
image?: string;
|
|
11
|
-
avatar?: string;
|
|
12
|
-
isLoading?: boolean;
|
|
13
|
-
imageClass?: string[];
|
|
14
|
-
};
|
|
15
|
-
declare var __VLS_25: {}, __VLS_27: {}, __VLS_34: {}, __VLS_41: {};
|
|
16
|
-
type __VLS_Slots = {} & {
|
|
17
|
-
'image-subtitle'?: (props: typeof __VLS_25) => any;
|
|
18
|
-
} & {
|
|
19
|
-
title?: (props: typeof __VLS_27) => any;
|
|
20
|
-
} & {
|
|
21
|
-
'sub-title'?: (props: typeof __VLS_34) => any;
|
|
22
|
-
} & {
|
|
23
|
-
default?: (props: typeof __VLS_41) => any;
|
|
24
|
-
};
|
|
25
|
-
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>;
|
|
26
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
-
declare const _default: typeof __VLS_export;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title?: string;
|
|
3
|
-
text?: string | number;
|
|
4
|
-
color?: string;
|
|
5
|
-
to?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
info?: string;
|
|
8
|
-
};
|
|
9
|
-
declare var __VLS_12: {};
|
|
10
|
-
type __VLS_Slots = {} & {
|
|
11
|
-
default?: (props: typeof __VLS_12) => any;
|
|
12
|
-
};
|
|
13
|
-
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>;
|
|
14
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
-
declare const _default: typeof __VLS_export;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { computed } from "vue";
|
|
3
|
-
import { VLabel } from "vuetify/components";
|
|
4
|
-
import AppLink from "../forms/AppLink.vue";
|
|
5
|
-
import AppCard from "./AppCard.vue";
|
|
6
|
-
const props = defineProps({
|
|
7
|
-
title: { type: String, required: false, default: "" },
|
|
8
|
-
text: { type: [String, Number], required: false, default: "" },
|
|
9
|
-
color: { type: String, required: false, default: "" },
|
|
10
|
-
to: { type: String, required: false },
|
|
11
|
-
disabled: { type: Boolean, required: false, default: false },
|
|
12
|
-
info: { type: String, required: false }
|
|
13
|
-
});
|
|
14
|
-
const colorStyle = computed(() => props.color ? `text-${props.color}` : "");
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<template>
|
|
18
|
-
<div>
|
|
19
|
-
<VLabel v-if="title" class="text-subtitle-2 text-capitalize">
|
|
20
|
-
{{ title }}
|
|
21
|
-
</VLabel>
|
|
22
|
-
|
|
23
|
-
<AppCard
|
|
24
|
-
class="border px-4 py-0 mt-2 text-subtitle-2 d-flex align-center app-input-card"
|
|
25
|
-
style="cursor: text;"
|
|
26
|
-
:class="{
|
|
27
|
-
'bg-disable': disabled
|
|
28
|
-
}"
|
|
29
|
-
elevation="0"
|
|
30
|
-
min-height="41px"
|
|
31
|
-
>
|
|
32
|
-
<div class="d-flex flex-column">
|
|
33
|
-
<slot>
|
|
34
|
-
<AppLink
|
|
35
|
-
class="pb-0"
|
|
36
|
-
:class="`${colorStyle}`"
|
|
37
|
-
:to="to"
|
|
38
|
-
>
|
|
39
|
-
{{ text }}
|
|
40
|
-
</AppLink>
|
|
41
|
-
</slot>
|
|
42
|
-
</div>
|
|
43
|
-
</AppCard>
|
|
44
|
-
|
|
45
|
-
<p v-if="info" class="app-font-size-12 mb-0 mt-1 text-gray-500 text-start">
|
|
46
|
-
{{ info }}
|
|
47
|
-
</p>
|
|
48
|
-
</div>
|
|
49
|
-
</template>
|
|
50
|
-
|
|
51
|
-
<style scoped>
|
|
52
|
-
.bg-disable {
|
|
53
|
-
background: rgb(var(--v-disabled-background)) !important;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.app-input-card span {
|
|
57
|
-
font-size: 14px;
|
|
58
|
-
color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity));
|
|
59
|
-
}
|
|
60
|
-
</style>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title?: string;
|
|
3
|
-
text?: string | number;
|
|
4
|
-
color?: string;
|
|
5
|
-
to?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
info?: string;
|
|
8
|
-
};
|
|
9
|
-
declare var __VLS_12: {};
|
|
10
|
-
type __VLS_Slots = {} & {
|
|
11
|
-
default?: (props: typeof __VLS_12) => any;
|
|
12
|
-
};
|
|
13
|
-
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>;
|
|
14
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
-
declare const _default: typeof __VLS_export;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title: string;
|
|
3
|
-
subTitle?: string;
|
|
4
|
-
color?: string;
|
|
5
|
-
titleClass?: string;
|
|
6
|
-
subTitleClass?: string;
|
|
7
|
-
isLoading: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare var __VLS_13: {};
|
|
10
|
-
type __VLS_Slots = {} & {
|
|
11
|
-
default?: (props: typeof __VLS_13) => any;
|
|
12
|
-
};
|
|
13
|
-
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>;
|
|
14
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
-
declare const _default: typeof __VLS_export;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { VCardItem } from "vuetify/components";
|
|
3
|
-
import AppCard from "./AppCard.vue";
|
|
4
|
-
defineProps({
|
|
5
|
-
title: { type: String, required: true, default: "" },
|
|
6
|
-
subTitle: { type: String, required: false },
|
|
7
|
-
color: { type: String, required: false, default: "success" },
|
|
8
|
-
titleClass: { type: String, required: false },
|
|
9
|
-
subTitleClass: { type: String, required: false },
|
|
10
|
-
isLoading: { type: Boolean, required: true }
|
|
11
|
-
});
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<AppCard class="p-3" :is-loading="isLoading">
|
|
16
|
-
<VCardItem>
|
|
17
|
-
<slot>
|
|
18
|
-
<label
|
|
19
|
-
class="font-weight-bold text-h6"
|
|
20
|
-
:class="`text-${color}`"
|
|
21
|
-
>
|
|
22
|
-
<span :class="titleClass" class="cursor-text">
|
|
23
|
-
{{ title }}
|
|
24
|
-
</span>
|
|
25
|
-
</label>
|
|
26
|
-
|
|
27
|
-
<div class="d-flex flex-column">
|
|
28
|
-
<span :class="subTitleClass">{{ subTitle }}</span>
|
|
29
|
-
</div>
|
|
30
|
-
</slot>
|
|
31
|
-
</VCardItem>
|
|
32
|
-
</AppCard>
|
|
33
|
-
</template>
|
|
34
|
-
|
|
35
|
-
<style>
|
|
36
|
-
.cursor-text{cursor:text}
|
|
37
|
-
</style>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title: string;
|
|
3
|
-
subTitle?: string;
|
|
4
|
-
color?: string;
|
|
5
|
-
titleClass?: string;
|
|
6
|
-
subTitleClass?: string;
|
|
7
|
-
isLoading: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare var __VLS_13: {};
|
|
10
|
-
type __VLS_Slots = {} & {
|
|
11
|
-
default?: (props: typeof __VLS_13) => any;
|
|
12
|
-
};
|
|
13
|
-
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>;
|
|
14
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
-
declare const _default: typeof __VLS_export;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title?: string;
|
|
3
|
-
isOpen?: boolean;
|
|
4
|
-
};
|
|
5
|
-
declare var __VLS_31: {}, __VLS_39: {};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
title?: (props: typeof __VLS_31) => any;
|
|
8
|
-
} & {
|
|
9
|
-
default?: (props: typeof __VLS_39) => any;
|
|
10
|
-
};
|
|
11
|
-
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>;
|
|
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,43 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { VExpansionPanels, VExpansionPanel, VExpansionPanelTitle, VExpansionPanelText, VIcon } from "vuetify/components";
|
|
3
|
-
import { ref } from "vue";
|
|
4
|
-
import BaseButton from "./BaseButton.vue";
|
|
5
|
-
const props = defineProps({
|
|
6
|
-
title: { type: String, required: false },
|
|
7
|
-
isOpen: { type: Boolean, required: false, default: true }
|
|
8
|
-
});
|
|
9
|
-
const panel = ref(props.isOpen ? 0 : null);
|
|
10
|
-
</script>
|
|
11
|
-
|
|
12
|
-
<template>
|
|
13
|
-
<VExpansionPanels v-model="panel">
|
|
14
|
-
<VExpansionPanel elevation="0">
|
|
15
|
-
<div class="d-flex align-center">
|
|
16
|
-
<VExpansionPanelTitle v-slot="{ expanded }" class="pe-2" hide-actions>
|
|
17
|
-
<BaseButton
|
|
18
|
-
color="primary"
|
|
19
|
-
size="32"
|
|
20
|
-
>
|
|
21
|
-
<VIcon
|
|
22
|
-
:icon="!expanded ? 'tabler-chevron-down' : 'tabler-chevron-up'"
|
|
23
|
-
/>
|
|
24
|
-
</BaseButton>
|
|
25
|
-
</VExpansionPanelTitle>
|
|
26
|
-
|
|
27
|
-
<slot name="title">
|
|
28
|
-
{{ title }}
|
|
29
|
-
</slot>
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<VExpansionPanelText>
|
|
33
|
-
<slot />
|
|
34
|
-
</VExpansionPanelText>
|
|
35
|
-
</VExpansionPanel>
|
|
36
|
-
</VExpansionPanels>
|
|
37
|
-
</template>
|
|
38
|
-
|
|
39
|
-
<style scoped>
|
|
40
|
-
:deep(.v-expansion-panel-title) {
|
|
41
|
-
width: fit-content !important;
|
|
42
|
-
}
|
|
43
|
-
</style>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
title?: string;
|
|
3
|
-
isOpen?: boolean;
|
|
4
|
-
};
|
|
5
|
-
declare var __VLS_31: {}, __VLS_39: {};
|
|
6
|
-
type __VLS_Slots = {} & {
|
|
7
|
-
title?: (props: typeof __VLS_31) => any;
|
|
8
|
-
} & {
|
|
9
|
-
default?: (props: typeof __VLS_39) => any;
|
|
10
|
-
};
|
|
11
|
-
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>;
|
|
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
|
-
};
|