@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 { computed, ref } from "vue";
|
|
3
|
-
import AppTextField from "./AppTextField.vue";
|
|
4
|
-
const props = defineProps({
|
|
5
|
-
modelValue: { type: [String, null], required: false, default: null },
|
|
6
|
-
label: { type: String, required: false, default: "" }
|
|
7
|
-
});
|
|
8
|
-
const emit = defineEmits(["update:modelValue"]);
|
|
9
|
-
const value = computed({
|
|
10
|
-
get() {
|
|
11
|
-
return props.modelValue;
|
|
12
|
-
},
|
|
13
|
-
set(value2) {
|
|
14
|
-
emit("update:modelValue", value2 || "");
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
const isPasswordVisible = ref(false);
|
|
18
|
-
</script>
|
|
19
|
-
|
|
20
|
-
<template>
|
|
21
|
-
<AppTextField
|
|
22
|
-
v-bind="$attrs"
|
|
23
|
-
v-model="value"
|
|
24
|
-
:label="label"
|
|
25
|
-
:type="isPasswordVisible ? 'text' : 'password'"
|
|
26
|
-
:append-inner-icon="isPasswordVisible ? 'tabler-eye-off' : 'tabler-eye'"
|
|
27
|
-
@click:append-inner="isPasswordVisible = !isPasswordVisible"
|
|
28
|
-
/>
|
|
29
|
-
</template>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
modelValue?: string | null;
|
|
3
|
-
label?: string;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
-
"update:modelValue": (value: string | number) => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const _default: typeof __VLS_export;
|
|
11
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
modelValue: [number | string, number | string] | undefined;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:modelValue": (...args: any[]) => void;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { ref, watch } from "vue";
|
|
3
|
-
import { useI18n } from "vue-i18n";
|
|
4
|
-
import AppTextField from "./AppTextField.vue";
|
|
5
|
-
import AppLabel from "./AppLabel.vue";
|
|
6
|
-
const { t } = useI18n();
|
|
7
|
-
const props = defineProps({
|
|
8
|
-
modelValue: { type: null, required: true }
|
|
9
|
-
});
|
|
10
|
-
const emits = defineEmits(["update:modelValue"]);
|
|
11
|
-
const from = ref();
|
|
12
|
-
const to = ref();
|
|
13
|
-
watch(
|
|
14
|
-
() => props.modelValue,
|
|
15
|
-
(value) => {
|
|
16
|
-
if (value) {
|
|
17
|
-
from.value = value[0] !== void 0 ? value[0] : void 0;
|
|
18
|
-
to.value = value[1] !== void 0 ? value[1] : void 0;
|
|
19
|
-
} else {
|
|
20
|
-
from.value = void 0;
|
|
21
|
-
to.value = void 0;
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
{ immediate: true }
|
|
25
|
-
);
|
|
26
|
-
</script>
|
|
27
|
-
|
|
28
|
-
<template>
|
|
29
|
-
<AppLabel
|
|
30
|
-
:class="$attrs.class"
|
|
31
|
-
:label="$attrs.label"
|
|
32
|
-
>
|
|
33
|
-
<div class="d-flex gap-2" style="margin-top: 0.125rem;">
|
|
34
|
-
<AppTextField
|
|
35
|
-
v-model="from"
|
|
36
|
-
:placeholder="t('inputs.from')"
|
|
37
|
-
class="app-font-size-13"
|
|
38
|
-
@input="emits('update:modelValue', [from, to])"
|
|
39
|
-
/>
|
|
40
|
-
<AppTextField
|
|
41
|
-
v-model="to"
|
|
42
|
-
class="app-font-size-13"
|
|
43
|
-
:placeholder="t('inputs.to')"
|
|
44
|
-
@input="emits('update:modelValue', [from, to])"
|
|
45
|
-
/>
|
|
46
|
-
</div>
|
|
47
|
-
</AppLabel>
|
|
48
|
-
</template>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
modelValue: [number | string, number | string] | undefined;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:modelValue": (...args: any[]) => void;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
tabs: {
|
|
3
|
-
title: string;
|
|
4
|
-
key: string;
|
|
5
|
-
color?: string;
|
|
6
|
-
icon?: string;
|
|
7
|
-
leadingIcon?: string;
|
|
8
|
-
trailingIcon?: string;
|
|
9
|
-
}[];
|
|
10
|
-
};
|
|
11
|
-
declare var __VLS_21: string, __VLS_22: {};
|
|
12
|
-
type __VLS_Slots = {} & {
|
|
13
|
-
[K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
|
|
14
|
-
};
|
|
15
|
-
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>;
|
|
16
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import { ref } from "vue";
|
|
3
|
-
import { VCol, VRow } from "vuetify/components";
|
|
4
|
-
import BaseButton from "./BaseButton.vue";
|
|
5
|
-
defineProps({
|
|
6
|
-
tabs: { type: Array, required: true }
|
|
7
|
-
});
|
|
8
|
-
const activeTab = ref(0);
|
|
9
|
-
const getColor = (index, originalColor) => {
|
|
10
|
-
return index === activeTab.value ? { color: originalColor } : { variant: "plain", color: "secondary" };
|
|
11
|
-
};
|
|
12
|
-
const setActiveTab = (index) => {
|
|
13
|
-
activeTab.value = index;
|
|
14
|
-
};
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<template>
|
|
18
|
-
<div>
|
|
19
|
-
<VRow>
|
|
20
|
-
<VCol v-for="(tab, index) in tabs" :key="`btn-${index}`">
|
|
21
|
-
<BaseButton
|
|
22
|
-
v-bind="{ ...tab, ...getColor(index, tab.color) }"
|
|
23
|
-
class="w-100 h-100 py-2 px-5"
|
|
24
|
-
@click="setActiveTab(index)"
|
|
25
|
-
/>
|
|
26
|
-
</VCol>
|
|
27
|
-
</VRow>
|
|
28
|
-
|
|
29
|
-
<div class="h-100 mt-4 w-100">
|
|
30
|
-
<div v-if="activeTab !== null" :key="tabs[activeTab].key" class="h-100 w-100">
|
|
31
|
-
<slot :name="tabs[activeTab].key" />
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</template>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
tabs: {
|
|
3
|
-
title: string;
|
|
4
|
-
key: string;
|
|
5
|
-
color?: string;
|
|
6
|
-
icon?: string;
|
|
7
|
-
leadingIcon?: string;
|
|
8
|
-
trailingIcon?: string;
|
|
9
|
-
}[];
|
|
10
|
-
};
|
|
11
|
-
declare var __VLS_21: string, __VLS_22: {};
|
|
12
|
-
type __VLS_Slots = {} & {
|
|
13
|
-
[K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
|
|
14
|
-
};
|
|
15
|
-
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>;
|
|
16
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import '@vuepic/vue-datepicker/dist/main.css';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
errorMessages?: string | string[];
|
|
4
|
-
showIcon?: boolean;
|
|
5
|
-
hasDefaults?: boolean;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
valueIn24?: boolean;
|
|
8
|
-
fillInFocus?: boolean;
|
|
9
|
-
hideErrorMessage?: boolean;
|
|
10
|
-
isAppRtl?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
-
"update:model-value": (value: string | null) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
|
-
export default _default;
|
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import VueDatePicker from "@vuepic/vue-datepicker";
|
|
3
|
-
import "@vuepic/vue-datepicker/dist/main.css";
|
|
4
|
-
import { computed, onBeforeUnmount, onMounted, ref, watch, useAttrs } from "vue";
|
|
5
|
-
import { VTextField, VMessages } from "vuetify/components";
|
|
6
|
-
import { useI18n } from "vue-i18n";
|
|
7
|
-
import { watchOnce } from "@vueuse/core";
|
|
8
|
-
import { generateUniqueId } from "../../utils/utils";
|
|
9
|
-
const { t } = useI18n();
|
|
10
|
-
const props = defineProps({
|
|
11
|
-
errorMessages: { type: [String, Array], required: false, default: "" },
|
|
12
|
-
showIcon: { type: Boolean, required: false, default: true },
|
|
13
|
-
hasDefaults: { type: Boolean, required: false, default: true },
|
|
14
|
-
placeholder: { type: String, required: false },
|
|
15
|
-
valueIn24: { type: Boolean, required: false, default: true },
|
|
16
|
-
fillInFocus: { type: Boolean, required: false, default: true },
|
|
17
|
-
hideErrorMessage: { type: Boolean, required: false },
|
|
18
|
-
isAppRtl: { type: Boolean, required: false }
|
|
19
|
-
});
|
|
20
|
-
const errors = ref([]);
|
|
21
|
-
const hasError = computed(() => errors.value.length > 0);
|
|
22
|
-
watch(() => props.errorMessages, () => {
|
|
23
|
-
errors.value = props.errorMessages === "object" ? [...props.errorMessages] : props.errorMessages;
|
|
24
|
-
});
|
|
25
|
-
const emit = defineEmits(["update:model-value"]);
|
|
26
|
-
const attrs = useAttrs();
|
|
27
|
-
const time = ref(props.hasDefaults ? {
|
|
28
|
-
hours: (/* @__PURE__ */ new Date()).getHours(),
|
|
29
|
-
minutes: (/* @__PURE__ */ new Date()).getMinutes()
|
|
30
|
-
} : null);
|
|
31
|
-
const inputValue = ref("");
|
|
32
|
-
const ampm = ref("am");
|
|
33
|
-
const resetTime = () => {
|
|
34
|
-
time.value = {};
|
|
35
|
-
};
|
|
36
|
-
const formatTime = (value) => {
|
|
37
|
-
ampm.value = (value?.hours || 0) >= 12 ? "PM" : "AM";
|
|
38
|
-
let adjustedHours = (value?.hours || 0) % 12;
|
|
39
|
-
adjustedHours = adjustedHours === 0 ? 12 : adjustedHours;
|
|
40
|
-
const paddedHours = adjustedHours.toString().padStart(2, "0");
|
|
41
|
-
const paddedMinutes = value?.minutes?.toString().padStart(2, "0");
|
|
42
|
-
inputValue.value = `${paddedHours}:${paddedMinutes} ${ampm.value}`;
|
|
43
|
-
emit("update:model-value", props.valueIn24 ? `${value?.hours?.toString().padStart(2, "0")}:${value?.minutes?.toString().padStart(2, "0")}` : inputValue.value);
|
|
44
|
-
};
|
|
45
|
-
const changeAmPm = (value) => {
|
|
46
|
-
ampm.value = value;
|
|
47
|
-
};
|
|
48
|
-
const guid = generateUniqueId();
|
|
49
|
-
const elementId = computed(() => {
|
|
50
|
-
const attrs2 = useAttrs();
|
|
51
|
-
const _elementIdToken = attrs2.id || attrs2.label;
|
|
52
|
-
return _elementIdToken ? `AppTextField-${_elementIdToken}-${guid}` : `timepicker-${guid}`;
|
|
53
|
-
});
|
|
54
|
-
const initializeTime = (value) => {
|
|
55
|
-
if (value) {
|
|
56
|
-
const initAmPm = value.split(" ")[1]?.toLowerCase();
|
|
57
|
-
const [hours, minutes] = value.split(" ")[0]?.split(":") || [];
|
|
58
|
-
ampm.value = initAmPm;
|
|
59
|
-
time.value = {
|
|
60
|
-
hours: initAmPm === "pm" ? parseInt(hours + 12) : parseInt(hours),
|
|
61
|
-
minutes: parseInt(minutes)
|
|
62
|
-
};
|
|
63
|
-
formatTime(time.value);
|
|
64
|
-
} else {
|
|
65
|
-
formatTime(time.value);
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
watchOnce(() => attrs.modelValue, (value) => {
|
|
69
|
-
initializeTime(value);
|
|
70
|
-
}, {
|
|
71
|
-
immediate: true
|
|
72
|
-
});
|
|
73
|
-
const timePicker = ref();
|
|
74
|
-
const isFocus = ref(false);
|
|
75
|
-
const clear = () => {
|
|
76
|
-
timePicker.value.closeMenu();
|
|
77
|
-
};
|
|
78
|
-
const customPosition = () => {
|
|
79
|
-
const timepickerInputElement = document.querySelector(`#${elementId.value}`);
|
|
80
|
-
const rect = timepickerInputElement?.getBoundingClientRect();
|
|
81
|
-
return {
|
|
82
|
-
top: (rect?.top || 0) + window.pageYOffset + (rect?.height || 100) / 2 + 46 / 2,
|
|
83
|
-
left: rect?.left + timepickerInputElement?.offsetWidth / 2 - 120
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
const closeMenu = (event) => {
|
|
87
|
-
const vCalendarMenu = document.getElementById(`vc-calendar-container-${elementId.value}`);
|
|
88
|
-
const vCalendarInput = document.getElementById(`${elementId.value}`);
|
|
89
|
-
if (!vCalendarMenu?.contains(event.target) && !vCalendarInput?.contains(event.target)) {
|
|
90
|
-
isFocus.value = false;
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
const focusInputField = () => {
|
|
94
|
-
isFocus.value = true;
|
|
95
|
-
if (props.fillInFocus && !inputValue.value) {
|
|
96
|
-
formatTime({
|
|
97
|
-
hours: (/* @__PURE__ */ new Date()).getHours(),
|
|
98
|
-
minutes: (/* @__PURE__ */ new Date()).getMinutes()
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
onMounted(() => {
|
|
103
|
-
document.addEventListener("click", closeMenu);
|
|
104
|
-
});
|
|
105
|
-
onBeforeUnmount(() => {
|
|
106
|
-
document.removeEventListener("click", closeMenu);
|
|
107
|
-
});
|
|
108
|
-
</script>
|
|
109
|
-
|
|
110
|
-
<template>
|
|
111
|
-
<div class="d-flex flex-column">
|
|
112
|
-
<div dir="ltr" class="h-100">
|
|
113
|
-
<div dir="ltr" class="d-flex justify-center align-center gap-2 h-100" :class="{
|
|
114
|
-
'rtl-input': isAppRtl
|
|
115
|
-
}">
|
|
116
|
-
<VTextField
|
|
117
|
-
v-bind="{ ...$attrs }"
|
|
118
|
-
:id="elementId"
|
|
119
|
-
v-model="inputValue"
|
|
120
|
-
:placeholder="placeholder || t('inputs.time')"
|
|
121
|
-
:append-inner-icon="$attrs['append-inner-icon'] || 'tabler-clock'"
|
|
122
|
-
style="padding-block: 0.125rem;"
|
|
123
|
-
dir="ltr"
|
|
124
|
-
hide-details
|
|
125
|
-
maxlength="5"
|
|
126
|
-
:error-messages="errorMessages"
|
|
127
|
-
readonly
|
|
128
|
-
@click="isFocus = true"
|
|
129
|
-
@click:clear="resetTime"
|
|
130
|
-
@focus="focusInputField"
|
|
131
|
-
>
|
|
132
|
-
<template #details>
|
|
133
|
-
<span class="app-h-1" />
|
|
134
|
-
</template>
|
|
135
|
-
</VTextField>
|
|
136
|
-
</div>
|
|
137
|
-
<Teleport to="body">
|
|
138
|
-
<div
|
|
139
|
-
v-if="isFocus"
|
|
140
|
-
:id="`vc-calendar-container-${elementId}`"
|
|
141
|
-
class="position-absolute app-z-1000"
|
|
142
|
-
:style="{
|
|
143
|
-
left: `${customPosition().left - 20}px`,
|
|
144
|
-
top: `${customPosition().top + 10}px`
|
|
145
|
-
}"
|
|
146
|
-
>
|
|
147
|
-
<div class="position-relative">
|
|
148
|
-
<div class="dp-custom-arrow" />
|
|
149
|
-
<VueDatePicker
|
|
150
|
-
:id="`timepicker-${elementId}`"
|
|
151
|
-
ref="timePicker"
|
|
152
|
-
v-model="time"
|
|
153
|
-
time-picker
|
|
154
|
-
class="app-w-150px"
|
|
155
|
-
:auto-position="false"
|
|
156
|
-
auto-apply
|
|
157
|
-
:is-24="false"
|
|
158
|
-
no-hours-overlay
|
|
159
|
-
inline
|
|
160
|
-
no-minutes-overlay
|
|
161
|
-
:hide-input-icon="!showIcon"
|
|
162
|
-
:teleport="true"
|
|
163
|
-
:ui="{
|
|
164
|
-
menu: 'app-dir-ltr'
|
|
165
|
-
}"
|
|
166
|
-
@update:model-value="formatTime"
|
|
167
|
-
@cleared="clear"
|
|
168
|
-
@am-pm-change="changeAmPm"
|
|
169
|
-
>
|
|
170
|
-
<template #am-pm-button="{ toggle, value }">
|
|
171
|
-
<div class="dp__time_col dp__time_col_block dp__time_col_reg_with_button dp__am_bm_col">
|
|
172
|
-
<button
|
|
173
|
-
type="button"
|
|
174
|
-
class="dp__btn dp__inc_dec_button"
|
|
175
|
-
data-test="minutes-time-inc-btn-0"
|
|
176
|
-
aria-label="Change Time"
|
|
177
|
-
tabindex="0"
|
|
178
|
-
@click="toggle"
|
|
179
|
-
>
|
|
180
|
-
<svg
|
|
181
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
182
|
-
width="24"
|
|
183
|
-
height="24"
|
|
184
|
-
viewBox="0 0 24 24"
|
|
185
|
-
fill="none"
|
|
186
|
-
stroke="currentColor"
|
|
187
|
-
stroke-width="2"
|
|
188
|
-
stroke-linecap="round"
|
|
189
|
-
stroke-linejoin="round"
|
|
190
|
-
class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-up"
|
|
191
|
-
><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M6 15l6 -6l6 6" /></svg>
|
|
192
|
-
</button>
|
|
193
|
-
<button>
|
|
194
|
-
{{ value }}
|
|
195
|
-
</button>
|
|
196
|
-
<button
|
|
197
|
-
type="button"
|
|
198
|
-
class="dp__btn dp__inc_dec_button"
|
|
199
|
-
data-test="minutes-time-dec-btn-0"
|
|
200
|
-
aria-label="Change Time"
|
|
201
|
-
tabindex="0"
|
|
202
|
-
@click="toggle"
|
|
203
|
-
>
|
|
204
|
-
<svg
|
|
205
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
206
|
-
width="24"
|
|
207
|
-
height="24"
|
|
208
|
-
viewBox="0 0 24 24"
|
|
209
|
-
fill="none"
|
|
210
|
-
stroke="currentColor"
|
|
211
|
-
stroke-width="2"
|
|
212
|
-
stroke-linecap="round"
|
|
213
|
-
stroke-linejoin="round"
|
|
214
|
-
class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-down"
|
|
215
|
-
><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M6 9l6 6l6 -6" /></svg>
|
|
216
|
-
</button>
|
|
217
|
-
</div>
|
|
218
|
-
</template>
|
|
219
|
-
<template #arrow-up>
|
|
220
|
-
<svg
|
|
221
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
222
|
-
width="24"
|
|
223
|
-
height="24"
|
|
224
|
-
viewBox="0 0 24 24"
|
|
225
|
-
fill="none"
|
|
226
|
-
stroke="currentColor"
|
|
227
|
-
stroke-width="2"
|
|
228
|
-
stroke-linecap="round"
|
|
229
|
-
stroke-linejoin="round"
|
|
230
|
-
class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-up"
|
|
231
|
-
><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M6 15l6 -6l6 6" /></svg>
|
|
232
|
-
</template>
|
|
233
|
-
<template #arrow-down>
|
|
234
|
-
<svg
|
|
235
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
236
|
-
width="24"
|
|
237
|
-
height="24"
|
|
238
|
-
viewBox="0 0 24 24"
|
|
239
|
-
fill="none"
|
|
240
|
-
stroke="currentColor"
|
|
241
|
-
stroke-width="2"
|
|
242
|
-
stroke-linecap="round"
|
|
243
|
-
stroke-linejoin="round"
|
|
244
|
-
class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-down"
|
|
245
|
-
><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M6 9l6 6l6 -6" /></svg>
|
|
246
|
-
</template>
|
|
247
|
-
</VueDatePicker>
|
|
248
|
-
</div>
|
|
249
|
-
</div>
|
|
250
|
-
</Teleport>
|
|
251
|
-
</div>
|
|
252
|
-
|
|
253
|
-
<VMessages
|
|
254
|
-
v-if="!hideErrorMessage"
|
|
255
|
-
:messages="typeof errors === 'object' ? errors.join(', ') : errors"
|
|
256
|
-
:active="hasError"
|
|
257
|
-
:class="isAppRtl ? 'text-right mr-2' : 'text-left ml-2'"
|
|
258
|
-
/>
|
|
259
|
-
</div>
|
|
260
|
-
</template>
|
|
261
|
-
|
|
262
|
-
<style scoped>
|
|
263
|
-
:deep(.v-field__append-inner) {
|
|
264
|
-
color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
:deep(.v-field__input input) {
|
|
268
|
-
text-align: start !important;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
/* Apply text-align: end when RTL using the :deep modifier */
|
|
272
|
-
.rtl-input :deep(.v-field__input input) {
|
|
273
|
-
text-align: end !important;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
:deep(.v-input__control .v-field .v-field__clearable) {
|
|
277
|
-
inset-inline-start: -5px !important;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.icon {
|
|
281
|
-
background-color: transparent !important;
|
|
282
|
-
}
|
|
283
|
-
</style>
|
|
284
|
-
|
|
285
|
-
<style>
|
|
286
|
-
.dp-custom-arrow {
|
|
287
|
-
width: 15px;
|
|
288
|
-
height: 15px;
|
|
289
|
-
background: rgba(var(--v-theme-surface));
|
|
290
|
-
position: absolute;
|
|
291
|
-
z-index: 999999;
|
|
292
|
-
border-top: 1px solid rgba(var(--v-theme-gray-300));
|
|
293
|
-
border-left: 1px solid rgba(var(--v-theme-gray-300));
|
|
294
|
-
left: 50%;
|
|
295
|
-
top: -7px;
|
|
296
|
-
transform: translateX(-50%) rotate(45deg);
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.dp--menu-wrapper {
|
|
300
|
-
box-shadow: var(--vc-shadow-lg) !important;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.dp__overlay {
|
|
304
|
-
height: 100px !important;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.dp__time_col {
|
|
308
|
-
font-size: 15px !important;
|
|
309
|
-
padding: 0 8px !important;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.dp__am_bm_col {
|
|
313
|
-
padding-inline-start: 35px !important;
|
|
314
|
-
padding-inline-end: 5px !important;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.dp__time_col_reg_block {
|
|
318
|
-
padding: 0 5px !important;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.dp__input_wrap {
|
|
322
|
-
padding: 2px 0 !important;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.dp__input {
|
|
326
|
-
--dp-border-color-hover: #000 !important;
|
|
327
|
-
--dp-border-color-focus: rgb(var(--v-theme-primary)) !important;
|
|
328
|
-
height: 44px !important;
|
|
329
|
-
padding-top: 7px;
|
|
330
|
-
padding-bottom: 7px;
|
|
331
|
-
padding-right: 10px;
|
|
332
|
-
padding-left: 10px;
|
|
333
|
-
font-size: 13px !important;
|
|
334
|
-
border-radius: 6px !important;
|
|
335
|
-
border-width: 1px;
|
|
336
|
-
border-style: solid;
|
|
337
|
-
border-color: rgba(var(--v-border-color), 0.35);
|
|
338
|
-
text-align: end !important;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.dp__input_focus {
|
|
342
|
-
--dp-border-color-focus: rgb(var(--v-theme-primary)) !important;
|
|
343
|
-
border-color: var(--dp-border-color-focus) !important;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.dp--clear-btn {
|
|
347
|
-
opacity: 0;
|
|
348
|
-
inset-inline-end: unset !important;
|
|
349
|
-
inset-inline-start: 2px !important;
|
|
350
|
-
background-color: rgb(var(--v-theme-surface));
|
|
351
|
-
transition: all 0.5s;
|
|
352
|
-
}
|
|
353
|
-
.dp--clear-btn .dp__input_icons {
|
|
354
|
-
padding-left: 6px !important;
|
|
355
|
-
padding-right: 6px !important;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.dp__main:active .dp--clear-btn, .dp__main:focus .dp--clear-btn, .dp__main:focus-within .dp--clear-btn {
|
|
359
|
-
opacity: 1 !important;
|
|
360
|
-
transition: all 0.5s;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
.dp__btn:hover {
|
|
364
|
-
color: rgb(var(--v-theme-on-surface)) !important;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.dp__overlay {
|
|
368
|
-
height: fit-content !important;
|
|
369
|
-
}
|
|
370
|
-
</style>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import '@vuepic/vue-datepicker/dist/main.css';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
errorMessages?: string | string[];
|
|
4
|
-
showIcon?: boolean;
|
|
5
|
-
hasDefaults?: boolean;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
valueIn24?: boolean;
|
|
8
|
-
fillInFocus?: boolean;
|
|
9
|
-
hideErrorMessage?: boolean;
|
|
10
|
-
isAppRtl?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
-
"update:model-value": (value: string | null) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
-
declare const _default: typeof __VLS_export;
|
|
18
|
-
export default _default;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import type { FormFilter, Header, ErrorResponseFiled, Pagination, ReplaceableItem } from '../../types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
headers: Header[];
|
|
4
|
-
formFilters?: FormFilter[];
|
|
5
|
-
url?: string;
|
|
6
|
-
queryParams?: Record<string, string>;
|
|
7
|
-
enableButtons?: boolean;
|
|
8
|
-
enableButtonsFilter?: boolean;
|
|
9
|
-
enablePageSizeOptions?: boolean;
|
|
10
|
-
enableActionButtons?: boolean;
|
|
11
|
-
enableBaseButtons?: boolean;
|
|
12
|
-
secondaryStyle?: boolean;
|
|
13
|
-
replaceNullWithDash?: boolean;
|
|
14
|
-
withoutQueryParams?: boolean;
|
|
15
|
-
showSelect?: boolean;
|
|
16
|
-
returnObject?: boolean;
|
|
17
|
-
stickyActions?: boolean;
|
|
18
|
-
};
|
|
19
|
-
type __VLS_ModelProps = {
|
|
20
|
-
modelValue?: string[];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
23
|
-
declare var __VLS_19: {}, __VLS_27: {}, __VLS_59: {}, __VLS_101: string | number, __VLS_102: any, __VLS_115: {
|
|
24
|
-
totals: {
|
|
25
|
-
[key: string]: number;
|
|
26
|
-
} | undefined;
|
|
27
|
-
};
|
|
28
|
-
type __VLS_Slots = {} & {
|
|
29
|
-
[K in NonNullable<typeof __VLS_101>]?: (props: typeof __VLS_102) => any;
|
|
30
|
-
} & {
|
|
31
|
-
buttons?: (props: typeof __VLS_19) => any;
|
|
32
|
-
} & {
|
|
33
|
-
filters?: (props: typeof __VLS_27) => any;
|
|
34
|
-
} & {
|
|
35
|
-
'action-buttons'?: (props: typeof __VLS_59) => any;
|
|
36
|
-
} & {
|
|
37
|
-
'inside-bottom'?: (props: typeof __VLS_115) => any;
|
|
38
|
-
};
|
|
39
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
40
|
-
filterQueryString: import("vue").ComputedRef<string>;
|
|
41
|
-
isLoading: import("vue").Ref<boolean, boolean> | import("vue").Ref<false, false> | import("vue").Ref<true, true>;
|
|
42
|
-
filters: import("vue").Ref<Record<string, string | number | string[] | [] | number[] | object[] | (string | number | null)[] | null | undefined>, Record<string, string | number | string[] | [] | number[] | object[] | (string | number | null)[] | null | undefined>>;
|
|
43
|
-
refresh: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<{
|
|
44
|
-
status: {
|
|
45
|
-
success: boolean;
|
|
46
|
-
code: number;
|
|
47
|
-
message: string;
|
|
48
|
-
error_key: string;
|
|
49
|
-
errors_list?: ErrorResponseFiled[];
|
|
50
|
-
};
|
|
51
|
-
totals?: {
|
|
52
|
-
[key: string]: number;
|
|
53
|
-
};
|
|
54
|
-
pagination: Pagination;
|
|
55
|
-
rows: ReplaceableItem[];
|
|
56
|
-
}, Error>>;
|
|
57
|
-
totals: import("vue").Ref<Record<string, number>, Record<string, number>>;
|
|
58
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
-
"update:modelValue": (value: string[]) => any;
|
|
60
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
61
|
-
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
62
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
63
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
64
|
-
declare const _default: typeof __VLS_export;
|
|
65
|
-
export default _default;
|
|
66
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
67
|
-
new (): {
|
|
68
|
-
$slots: S;
|
|
69
|
-
};
|
|
70
|
-
};
|