@amirjalili1374/ui-kit 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +275 -0
- package/dist/_redirects +1 -0
- package/dist/components/Loading.vue.d.ts +3 -0
- package/dist/components/Loading.vue.d.ts.map +1 -0
- package/dist/components/common/AppStepper.vue.d.ts +75 -0
- package/dist/components/common/AppStepper.vue.d.ts.map +1 -0
- package/dist/components/shared/BaseBreadcrumb.vue.d.ts +18 -0
- package/dist/components/shared/BaseBreadcrumb.vue.d.ts.map +1 -0
- package/dist/components/shared/BaseIcon.vue.d.ts +33 -0
- package/dist/components/shared/BaseIcon.vue.d.ts.map +1 -0
- package/dist/components/shared/ConfirmDialog.vue.d.ts +38 -0
- package/dist/components/shared/ConfirmDialog.vue.d.ts.map +1 -0
- package/dist/components/shared/CustomAutocomplete.vue.d.ts +81 -0
- package/dist/components/shared/CustomAutocomplete.vue.d.ts.map +1 -0
- package/dist/components/shared/CustomDataTable.vue.d.ts +59 -0
- package/dist/components/shared/CustomDataTable.vue.d.ts.map +1 -0
- package/dist/components/shared/DescriptionInput.vue.d.ts +34 -0
- package/dist/components/shared/DescriptionInput.vue.d.ts.map +1 -0
- package/dist/components/shared/DownloadButton.vue.d.ts +25 -0
- package/dist/components/shared/DownloadButton.vue.d.ts.map +1 -0
- package/dist/components/shared/MoneyInput.vue.d.ts +127 -0
- package/dist/components/shared/MoneyInput.vue.d.ts.map +1 -0
- package/dist/components/shared/PdfViewer.vue.d.ts +67 -0
- package/dist/components/shared/PdfViewer.vue.d.ts.map +1 -0
- package/dist/components/shared/ShamsiDatePicker.vue.d.ts +48 -0
- package/dist/components/shared/ShamsiDatePicker.vue.d.ts.map +1 -0
- package/dist/components/shared/UiChildCard.vue.d.ts +14 -0
- package/dist/components/shared/UiChildCard.vue.d.ts.map +1 -0
- package/dist/components/shared/UiParentCard.vue.d.ts +18 -0
- package/dist/components/shared/UiParentCard.vue.d.ts.map +1 -0
- package/dist/components/shared/VPriceTextField.vue.d.ts +30 -0
- package/dist/components/shared/VPriceTextField.vue.d.ts.map +1 -0
- package/dist/composables/useDataTable.d.ts +36 -0
- package/dist/composables/useDataTable.d.ts.map +1 -0
- package/dist/composables/useTableActions.d.ts +294 -0
- package/dist/composables/useTableActions.d.ts.map +1 -0
- package/dist/composables/useTableHeaders.d.ts +80 -0
- package/dist/composables/useTableHeaders.d.ts.map +1 -0
- package/dist/composables/useTableSelection.d.ts +32 -0
- package/dist/composables/useTableSelection.d.ts.map +1 -0
- package/dist/constants/enums/booleanEnum.d.ts +13 -0
- package/dist/constants/enums/booleanEnum.d.ts.map +1 -0
- package/dist/directives/v-digit-limit.d.ts +6 -0
- package/dist/directives/v-digit-limit.d.ts.map +1 -0
- package/dist/directives/v-permission.d.ts +3 -0
- package/dist/directives/v-permission.d.ts.map +1 -0
- package/dist/favicon.svg +13 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/persian.json +1 -0
- package/dist/plugins/mdi-icon.d.ts +16 -0
- package/dist/plugins/mdi-icon.d.ts.map +1 -0
- package/dist/services/apiService.d.ts +21 -0
- package/dist/services/apiService.d.ts.map +1 -0
- package/dist/services/axiosInstance.d.ts +11 -0
- package/dist/services/axiosInstance.d.ts.map +1 -0
- package/dist/stores/customizer.d.ts +47 -0
- package/dist/stores/customizer.d.ts.map +1 -0
- package/dist/stores/permissions.d.ts +47 -0
- package/dist/stores/permissions.d.ts.map +1 -0
- package/dist/style.css +5 -0
- package/dist/types/componentTypes/DataTableType.d.ts +14 -0
- package/dist/types/componentTypes/DataTableType.d.ts.map +1 -0
- package/dist/types/componentTypes/DataTableTypes.d.ts +120 -0
- package/dist/types/componentTypes/DataTableTypes.d.ts.map +1 -0
- package/dist/ui-kit.cjs.js +2 -0
- package/dist/ui-kit.cjs.js.map +1 -0
- package/dist/ui-kit.es.js +36840 -0
- package/dist/ui-kit.es.js.map +1 -0
- package/dist/utils/NationalCodeValidator.d.ts +4 -0
- package/dist/utils/NationalCodeValidator.d.ts.map +1 -0
- package/dist/utils/date-convertor.d.ts +5 -0
- package/dist/utils/date-convertor.d.ts.map +1 -0
- package/dist/utils/greetingUtils.d.ts +35 -0
- package/dist/utils/greetingUtils.d.ts.map +1 -0
- package/dist/utils/helpers/fetch-wrapper.d.ts +23 -0
- package/dist/utils/helpers/fetch-wrapper.d.ts.map +1 -0
- package/dist/utils/number-formatter.d.ts +16 -0
- package/dist/utils/number-formatter.d.ts.map +1 -0
- package/dist/validators/nationalCodeRule.d.ts +2 -0
- package/dist/validators/nationalCodeRule.d.ts.map +1 -0
- package/package.json +134 -0
- package/src/assets/fonts/A Massir Spray.ttf +0 -0
- package/src/assets/fonts/BYekan.ttf +0 -0
- package/src/assets/fonts/BYekan.woff +0 -0
- package/src/assets/fonts/BYekan.woff2 +0 -0
- package/src/assets/fonts/Dima Shekasteh 2 Free.ttf +0 -0
- package/src/assets/fonts/Dima Shekasteh Free Regular.ttf +0 -0
- package/src/assets/fonts/IRANSansWeb.ts +1 -0
- package/src/assets/fonts/IRANSansWeb.ttf +0 -0
- package/src/assets/fonts/IRANSansXBlack.ttf +0 -0
- package/src/assets/fonts/IRANSansXBold.ttf +0 -0
- package/src/assets/fonts/IRANSansXDemiBold.ttf +0 -0
- package/src/assets/fonts/IRANSansXExtraBold.ttf +0 -0
- package/src/assets/fonts/IRANSansXLight.ttf +0 -0
- package/src/assets/fonts/IRANSansXMedium.ttf +0 -0
- package/src/assets/fonts/IRANSansXRegular.ttf +0 -0
- package/src/assets/fonts/IRANSansXThin.ttf +0 -0
- package/src/assets/fonts/IRANSansXUltraLight.ttf +0 -0
- package/src/assets/fonts/IranNastaliq.ttf +0 -0
- package/src/assets/fonts/Vazir-Medium-FD.ttf +0 -0
- package/src/assets/fonts/Vazir-Medium-FD.woff +0 -0
- package/src/assets/fonts/Vazir-Medium-FD.woff2 +0 -0
- package/src/assets/fonts/Vazir-Regular-FD.eot +0 -0
- package/src/assets/fonts/kalamehBold.woff +0 -0
- package/src/assets/fonts/kalamehBold.woff2 +0 -0
- package/src/assets/fonts/kalamehHeavy.woff +0 -0
- package/src/assets/fonts/kalamehHeavy.woff2 +0 -0
- package/src/assets/fonts/kalamehLight.woff +0 -0
- package/src/assets/fonts/kalamehLight.woff2 +0 -0
- package/src/assets/fonts/kalamehRegular.woff +0 -0
- package/src/assets/fonts/kalamehRegular.woff2 +0 -0
- package/src/assets/images/auth/social-google.svg +6 -0
- package/src/assets/images/favicon.svg +18 -0
- package/src/assets/images/icons/icon-card.svg +5 -0
- package/src/assets/images/logos/logo.svg +12 -0
- package/src/assets/images/logos/logolight.svg +12 -0
- package/src/assets/images/maintenance/img-error-bg.svg +34 -0
- package/src/assets/images/maintenance/img-error-blue.svg +43 -0
- package/src/assets/images/maintenance/img-error-purple.svg +42 -0
- package/src/assets/images/maintenance/img-error-text.svg +27 -0
- package/src/assets/images/profile/profile-user-account-svgrepo-com.svg +12 -0
- package/src/assets/images/profile/user-round.svg +15 -0
- package/src/assets/images/template/template-01.ts +1 -0
- package/src/assets/images/vectors/colorized-bg.svg +40 -0
- package/src/assets/images/vectors/logo_stroke_1px.svg +26 -0
- package/src/assets/images/vectors/logo_stroke_2px.svg +26 -0
- package/src/assets/scss/components/_approval-sections.scss +75 -0
- package/src/assets/styles/fonts.scss +77 -0
- package/src/components/Loading.vue +88 -0
- package/src/components/common/AppStepper.vue +139 -0
- package/src/components/shared/BaseBreadcrumb.vue +55 -0
- package/src/components/shared/BaseIcon.vue +27 -0
- package/src/components/shared/ConfirmDialog.vue +72 -0
- package/src/components/shared/CustomAutocomplete.vue +306 -0
- package/src/components/shared/CustomDataTable.vue +1859 -0
- package/src/components/shared/DescriptionInput.vue +204 -0
- package/src/components/shared/DownloadButton.vue +169 -0
- package/src/components/shared/MoneyInput.vue +105 -0
- package/src/components/shared/PdfViewer.vue +645 -0
- package/src/components/shared/ShamsiDatePicker.vue +444 -0
- package/src/components/shared/UiChildCard.vue +17 -0
- package/src/components/shared/UiParentCard.vue +21 -0
- package/src/components/shared/VPriceTextField.vue +136 -0
- package/src/composables/useDataTable.ts +152 -0
- package/src/composables/usePermissions.ts +90 -0
- package/src/composables/useRouteGuard.ts +36 -0
- package/src/composables/useTableActions.ts +207 -0
- package/src/composables/useTableHeaders.ts +172 -0
- package/src/composables/useTableSelection.ts +201 -0
- package/src/constants/enums/approval.ts +13 -0
- package/src/constants/enums/booleanEnum.ts +11 -0
- package/src/constants/enums/contractType.ts +11 -0
- package/src/constants/enums/lcProductType.ts +21 -0
- package/src/constants/enums/repaymentType.ts +11 -0
- package/src/directives/v-digit-limit.ts +15 -0
- package/src/directives/v-permission.ts +31 -0
- package/src/features/index.ts +48 -0
- package/src/index.ts +119 -0
- package/src/plugins/key-clock.ts +39 -0
- package/src/plugins/mdi-icon.ts +31 -0
- package/src/plugins/vuetify.ts +74 -0
- package/src/scss/_override.scss +72 -0
- package/src/scss/_variables.scss +124 -0
- package/src/scss/components/_VButtons.scss +23 -0
- package/src/scss/components/_VCard.scss +20 -0
- package/src/scss/components/_VCustomDataTable.scss +282 -0
- package/src/scss/components/_VField.scss +9 -0
- package/src/scss/components/_VInput.scss +17 -0
- package/src/scss/components/_VNavigationDrawer.scss +3 -0
- package/src/scss/components/_VShadow.scss +3 -0
- package/src/scss/components/_VStepper.scss +235 -0
- package/src/scss/components/_VTabs.scss +11 -0
- package/src/scss/components/_VTextField.scss +40 -0
- package/src/scss/components/_approval.scss +128 -0
- package/src/scss/layout/_container.scss +147 -0
- package/src/scss/layout/_sidebar.scss +138 -0
- package/src/scss/layout/_topbar.scss +39 -0
- package/src/scss/pages/_dashboards.scss +97 -0
- package/src/scss/style.scss +21 -0
- package/src/services/apiService.ts +59 -0
- package/src/services/axiosInstance.ts +14 -0
- package/src/stores/customizer.ts +55 -0
- package/src/stores/permissions.ts +237 -0
- package/src/theme/darkThemes/DarkModernTheme.ts +54 -0
- package/src/theme/darkThemes/DarkOrangeTheme.ts +53 -0
- package/src/theme/darkThemes/DarkPurpleTheme.ts +54 -0
- package/src/theme/darkThemes/DarkRedTheme.ts +54 -0
- package/src/theme/darkThemes/DarkSilverTheme.ts +53 -0
- package/src/theme/darkThemes/DarkSteelTealGreen.ts +53 -0
- package/src/theme/darkThemes/DarkTealTheme.ts +52 -0
- package/src/theme/lightThemes/ModernTheme.ts +55 -0
- package/src/theme/lightThemes/OrangeTheme.ts +54 -0
- package/src/theme/lightThemes/PurpleTheme.ts +54 -0
- package/src/theme/lightThemes/RedTheme.ts +55 -0
- package/src/theme/lightThemes/SilverTheme.ts +55 -0
- package/src/theme/lightThemes/SteelTealGreen.ts +54 -0
- package/src/theme/lightThemes/TealTheme.ts +54 -0
- package/src/types/approval/approvalType.ts +473 -0
- package/src/types/cartable/cartableTypes.ts +169 -0
- package/src/types/componentTypes/DataTableType.ts +14 -0
- package/src/types/componentTypes/DataTableTypes.ts +130 -0
- package/src/types/enums/global.ts +267 -0
- package/src/types/jalaali-js.d.ts +6 -0
- package/src/types/models/Base.ts +4 -0
- package/src/types/models/env.d.ts +10 -0
- package/src/types/models/person.ts +13 -0
- package/src/types/models/userInfo.ts +29 -0
- package/src/types/preApproval/preApprovalTypes.ts +67 -0
- package/src/types/shims-tabler-icons.d.ts +58 -0
- package/src/types/themeTypes/ThemeType.ts +47 -0
- package/src/types/vue-apexcharts.d.ts +1 -0
- package/src/types/vue3-print-nb.d.ts +1 -0
- package/src/types/vue_tabler_icon.d.ts +10 -0
- package/src/utils/NationalCodeValidator.ts +33 -0
- package/src/utils/date-convertor.ts +40 -0
- package/src/utils/greetingUtils.ts +97 -0
- package/src/utils/helpers/fake-backend.ts +68 -0
- package/src/utils/helpers/fetch-wrapper.ts +86 -0
- package/src/utils/number-formatter.ts +33 -0
- package/src/validators/nationalCodeRule.ts +6 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
html {
|
|
2
|
+
.bg-success {
|
|
3
|
+
color: white !important;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.v-row + .v-row {
|
|
8
|
+
margin-top: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.v-divider {
|
|
12
|
+
opacity: 1;
|
|
13
|
+
border-color: rgba(var(--v-theme-borderLight), 0.36);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.v-selection-control {
|
|
17
|
+
flex: unset;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.customizer-btn .icon {
|
|
21
|
+
animation: progress-circular-rotate 1.4s linear infinite;
|
|
22
|
+
transform-origin: center center;
|
|
23
|
+
transition: all 0.2s ease-in-out;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.no-spacer {
|
|
27
|
+
.v-list-item__spacer {
|
|
28
|
+
display: none !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.v-data-table-footer {
|
|
33
|
+
align-items: center;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
justify-content: flex-end;
|
|
37
|
+
padding: 8px 4px;
|
|
38
|
+
flex-direction: row-reverse;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@keyframes progress-circular-rotate {
|
|
42
|
+
100% {
|
|
43
|
+
transform: rotate(270deg);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
.v-text-field {
|
|
47
|
+
.v-field {
|
|
48
|
+
border-radius: 10px !important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.v-table > .v-table__wrapper > table > tbody > tr > td, .v-table > .v-table__wrapper > table > thead > tr > td, .v-table > .v-table__wrapper > table > tfoot > tr > td {
|
|
53
|
+
height: 36px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.v-slide-group__content {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex: 1 0 auto;
|
|
59
|
+
position: relative;
|
|
60
|
+
transition: 0.2s all cubic-bezier(0.4, 0, 0.2, 1);
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
justify-content: space-evenly!important;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.v-tab.v-tab.v-btn {
|
|
66
|
+
height: var(--v-tabs-height);
|
|
67
|
+
border-radius: 0;
|
|
68
|
+
min-width: 90px;
|
|
69
|
+
background-color: rgb(var(--v-theme-containerBg));
|
|
70
|
+
color: rgb(var(--v-theme-primary));
|
|
71
|
+
border-radius: 10px 10px 0 0;
|
|
72
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
@use 'sass:meta';
|
|
4
|
+
@use 'vuetify/lib/styles/tools/functions' as *;
|
|
5
|
+
|
|
6
|
+
// This will false all colors which is not necessory for theme
|
|
7
|
+
$color-pack: false;
|
|
8
|
+
|
|
9
|
+
// Global font size and border radius
|
|
10
|
+
$font-size-root: 1rem;
|
|
11
|
+
$border-radius-root: 12px;
|
|
12
|
+
$body-font-family: 'Roboto', sans-serif !default;
|
|
13
|
+
$heading-font-family: $body-font-family !default;
|
|
14
|
+
$btn-font-weight: 400 !default;
|
|
15
|
+
$btn-letter-spacing: 0 !default;
|
|
16
|
+
|
|
17
|
+
// Global Radius as per breakeven point
|
|
18
|
+
$rounded: () !default;
|
|
19
|
+
$rounded: map-deep-merge(
|
|
20
|
+
(
|
|
21
|
+
0: 0,
|
|
22
|
+
'sm': $border-radius-root * 0.5,
|
|
23
|
+
null: $border-radius-root,
|
|
24
|
+
'md': $border-radius-root * 1,
|
|
25
|
+
'lg': $border-radius-root * 2,
|
|
26
|
+
'xl': $border-radius-root * 6,
|
|
27
|
+
'pill': 9999px,
|
|
28
|
+
'circle': 50%,
|
|
29
|
+
'shaped': $border-radius-root * 6 0
|
|
30
|
+
),
|
|
31
|
+
$rounded
|
|
32
|
+
);
|
|
33
|
+
// Global Typography
|
|
34
|
+
$typography: () !default;
|
|
35
|
+
$typography: map-deep-merge(
|
|
36
|
+
(
|
|
37
|
+
'h1': (
|
|
38
|
+
'size': 2.125rem,
|
|
39
|
+
'weight': 700,
|
|
40
|
+
'line-height': 3.5rem,
|
|
41
|
+
'font-family': inherit
|
|
42
|
+
),
|
|
43
|
+
'h2': (
|
|
44
|
+
'size': 1.5rem,
|
|
45
|
+
'weight': 700,
|
|
46
|
+
'line-height': 2.5rem,
|
|
47
|
+
'font-family': inherit
|
|
48
|
+
),
|
|
49
|
+
'h3': (
|
|
50
|
+
'size': 1.25rem,
|
|
51
|
+
'weight': 600,
|
|
52
|
+
'line-height': 2rem,
|
|
53
|
+
'font-family': inherit
|
|
54
|
+
),
|
|
55
|
+
'h4': (
|
|
56
|
+
'size': 1rem,
|
|
57
|
+
'weight': 600,
|
|
58
|
+
'line-height': 1.5rem,
|
|
59
|
+
'font-family': inherit
|
|
60
|
+
),
|
|
61
|
+
'h5': (
|
|
62
|
+
'size': 0.875rem,
|
|
63
|
+
'weight': 500,
|
|
64
|
+
'line-height': 1.2rem,
|
|
65
|
+
'font-family': inherit
|
|
66
|
+
),
|
|
67
|
+
'h6': (
|
|
68
|
+
'size': 0.75rem,
|
|
69
|
+
'weight': 500,
|
|
70
|
+
'font-family': inherit
|
|
71
|
+
),
|
|
72
|
+
'subtitle-1': (
|
|
73
|
+
'size': 0.875rem,
|
|
74
|
+
'weight': 500,
|
|
75
|
+
'line-height': 1rem,
|
|
76
|
+
'font-family': inherit
|
|
77
|
+
),
|
|
78
|
+
'subtitle-2': (
|
|
79
|
+
'size': 0.75rem,
|
|
80
|
+
'weight': 400,
|
|
81
|
+
'line-height': 1rem,
|
|
82
|
+
'font-family': inherit
|
|
83
|
+
),
|
|
84
|
+
'body-1': (
|
|
85
|
+
'size': 0.875rem,
|
|
86
|
+
'weight': 400,
|
|
87
|
+
'font-family': inherit
|
|
88
|
+
),
|
|
89
|
+
'body-2': (
|
|
90
|
+
'size': 0.75rem,
|
|
91
|
+
'weight': 400,
|
|
92
|
+
'font-family': inherit
|
|
93
|
+
),
|
|
94
|
+
'button': (
|
|
95
|
+
'size': 0.875rem,
|
|
96
|
+
'weight': 500,
|
|
97
|
+
'font-family': inherit,
|
|
98
|
+
'text-transform': uppercase
|
|
99
|
+
),
|
|
100
|
+
'caption': (
|
|
101
|
+
'size': 0.75rem,
|
|
102
|
+
'weight': 400,
|
|
103
|
+
'font-family': inherit
|
|
104
|
+
),
|
|
105
|
+
'overline': (
|
|
106
|
+
'size': 0.75rem,
|
|
107
|
+
'weight': 500,
|
|
108
|
+
'font-family': inherit,
|
|
109
|
+
'text-transform': uppercase
|
|
110
|
+
)
|
|
111
|
+
),
|
|
112
|
+
$typography
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
// Custom Variables
|
|
116
|
+
// colors
|
|
117
|
+
$white: #fff !default;
|
|
118
|
+
|
|
119
|
+
// cards
|
|
120
|
+
$card-item-spacer-xy: 20px 24px !default;
|
|
121
|
+
$card-text-spacer: 24px !default;
|
|
122
|
+
$card-title-size: 18px !default;
|
|
123
|
+
// Global Shadow
|
|
124
|
+
$box-shadow: 1px 0 20px rgb(0 0 0 / 8%);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Light Buttons
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
.v-btn {
|
|
6
|
+
&.bg-lightsecondary {
|
|
7
|
+
&:hover,
|
|
8
|
+
&:active,
|
|
9
|
+
&:focus {
|
|
10
|
+
background-color: rgb(var(--v-theme-secondary)) !important;
|
|
11
|
+
color: $white !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.v-btn {
|
|
17
|
+
text-transform: capitalize;
|
|
18
|
+
letter-spacing: $btn-letter-spacing;
|
|
19
|
+
}
|
|
20
|
+
.v-btn--icon.v-btn--density-default {
|
|
21
|
+
width: calc(var(--v-btn-height) + 6px);
|
|
22
|
+
height: calc(var(--v-btn-height) + 6px);
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Outline Card
|
|
2
|
+
.v-card--variant-outlined {
|
|
3
|
+
border-color: rgba(var(--v-theme-borderLight), 0.36);
|
|
4
|
+
.v-divider {
|
|
5
|
+
border-color: rgba(var(--v-theme-borderLight), 0.36);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.v-card-text {
|
|
10
|
+
padding: $card-text-spacer;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.v-card {
|
|
14
|
+
width: 100%;
|
|
15
|
+
overflow: visible;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.v-card-item {
|
|
19
|
+
padding: $card-item-spacer-xy;
|
|
20
|
+
}
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
.data-table-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
height: 100%;
|
|
5
|
+
background: rgb(var(--v-theme-surface));
|
|
6
|
+
border-radius: 8px;
|
|
7
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
|
|
8
|
+
transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
9
|
+
will-change: transform, margin-top;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Grouped Table Styles */
|
|
13
|
+
.grouped-table {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.group-controls {
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: 8px;
|
|
23
|
+
padding: 8px 0;
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.groups-scroll-container {
|
|
28
|
+
overflow-y: auto;
|
|
29
|
+
overflow-x: hidden;
|
|
30
|
+
flex: 1;
|
|
31
|
+
min-height: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.groups-container {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
gap: 8px;
|
|
38
|
+
padding-bottom: 16px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.group-section {
|
|
42
|
+
border: 1px solid #e0e0e0;
|
|
43
|
+
border-radius: 8px;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.group-header {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
padding: 12px 16px;
|
|
51
|
+
background: linear-gradient(135deg, rgb(var(--v-theme-lightprimary)) 0%, rgb(var(--v-theme-lightsecondary)) 100%);
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
54
|
+
border-bottom: 1px solid rgb(var(--v-theme-borderLight));
|
|
55
|
+
user-select: none;
|
|
56
|
+
-webkit-user-select: none;
|
|
57
|
+
-moz-user-select: none;
|
|
58
|
+
-ms-user-select: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.group-header:hover {
|
|
62
|
+
background: linear-gradient(135deg, rgb(var(--v-theme-primary200)) 0%, rgb(var(--v-theme-secondary200)) 100%);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.group-header.expanded {
|
|
66
|
+
background: rgb(var(--v-theme-lightsecondary))
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.group-label {
|
|
70
|
+
font-weight: 600;
|
|
71
|
+
color: rgb(var(--v-theme-darksecondary));
|
|
72
|
+
flex: 1;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.group-items {
|
|
76
|
+
background: rgb(var(--v-theme-surface));
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Group expansion transitions */
|
|
81
|
+
.group-expand-enter-active {
|
|
82
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
83
|
+
max-height: 0;
|
|
84
|
+
opacity: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.group-expand-enter-to {
|
|
88
|
+
max-height: 1000px;
|
|
89
|
+
opacity: 1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.group-expand-leave-active {
|
|
93
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
94
|
+
max-height: 1000px;
|
|
95
|
+
opacity: 1;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.group-expand-leave-to {
|
|
99
|
+
max-height: 0;
|
|
100
|
+
opacity: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Chevron icon rotation */
|
|
104
|
+
.chevron-icon {
|
|
105
|
+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.group-header.expanded .chevron-icon {
|
|
109
|
+
transform: rotate(0deg);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.group-header:not(.expanded) .chevron-icon {
|
|
113
|
+
transform: rotate(-90deg);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.group-table {
|
|
117
|
+
border: none !important;
|
|
118
|
+
box-shadow: none !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.group-table :deep(.v-data-table__wrapper) {
|
|
122
|
+
border: none !important;
|
|
123
|
+
overflow: visible !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.group-table :deep(.v-data-table__thead) {
|
|
127
|
+
background: rgb(var(--v-theme-lightprimary)) !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.group-table :deep(.v-data-table__tbody tr:hover) {
|
|
131
|
+
background: rgb(var(--v-theme-primary200)) !important;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.group-table :deep(.v-data-table__tbody) {
|
|
135
|
+
overflow: visible !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.pagination-wrapper {
|
|
139
|
+
flex-shrink: 0;
|
|
140
|
+
border-top: 1px solid rgb(var(--v-theme-borderLight));
|
|
141
|
+
background: rgb(var(--v-theme-surface));
|
|
142
|
+
z-index: 2;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.page-title {
|
|
146
|
+
margin-bottom: 16px;
|
|
147
|
+
padding: 16px 0 8px 0;
|
|
148
|
+
border-bottom: 1px solid rgb(var(--v-theme-borderLight));
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.title-text {
|
|
152
|
+
margin: 0;
|
|
153
|
+
font-size: 1.5rem;
|
|
154
|
+
font-weight: 600;
|
|
155
|
+
color: var(--v-primary-base);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.action-buttons {
|
|
159
|
+
margin-bottom: 16px;
|
|
160
|
+
padding: 0 0 8px 0;
|
|
161
|
+
display: flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
flex-wrap: wrap;
|
|
164
|
+
gap: 8px;
|
|
165
|
+
transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
166
|
+
will-change: height, margin-bottom;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.selection-actions {
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
margin-left: auto;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.selected-actions {
|
|
176
|
+
width: 100vw;
|
|
177
|
+
display: flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
gap: 2px;
|
|
180
|
+
border-radius: 8px;
|
|
181
|
+
margin-top: 5px;
|
|
182
|
+
flex-wrap: wrap;
|
|
183
|
+
flex-direction: row-reverse;
|
|
184
|
+
transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
185
|
+
will-change: transform, opacity, height;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:deep(.v-data-table__wrapper table thead) {
|
|
189
|
+
position: sticky;
|
|
190
|
+
top: 0;
|
|
191
|
+
background: rgb(var(--v-theme-surface));
|
|
192
|
+
z-index: 1;
|
|
193
|
+
box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.04);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:deep(.v-data-table__wrapper tbody tr:nth-child(even)) {
|
|
197
|
+
background: rgb(var(--v-theme-lightprimary)) !important;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
:deep(.v-data-table__wrapper tbody tr:nth-child(odd)) {
|
|
201
|
+
background: rgb(var(--v-theme-surface)) !important;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* Smooth table content transitions */
|
|
205
|
+
:deep(.v-data-table__wrapper) {
|
|
206
|
+
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
:deep(.v-data-table__wrapper tbody tr) {
|
|
210
|
+
transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/* Enhanced slide transition for bulk mode actions */
|
|
214
|
+
.slide-left-enter-active {
|
|
215
|
+
transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.slide-left-leave-active {
|
|
219
|
+
transition: all 0.6s cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.slide-left-enter-from {
|
|
223
|
+
transform: translateX(-100%) scale(0.95);
|
|
224
|
+
opacity: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.slide-left-leave-to {
|
|
228
|
+
transform: translateX(-100%) scale(0.95);
|
|
229
|
+
opacity: 0;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.slide-left-enter-to,
|
|
233
|
+
.slide-left-leave-from {
|
|
234
|
+
transform: translateX(0) scale(1);
|
|
235
|
+
opacity: 1;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* Compact row height adjustments */
|
|
239
|
+
.data-table-container .v-data-table .v-table__wrapper table tr {
|
|
240
|
+
height: 45px;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.data-table-container .v-data-table .v-table__wrapper table td,
|
|
244
|
+
.data-table-container .v-data-table .v-table__wrapper table th {
|
|
245
|
+
padding-top: 6px;
|
|
246
|
+
padding-bottom: 6px;
|
|
247
|
+
padding-left: 8px;
|
|
248
|
+
padding-right: 8px;
|
|
249
|
+
line-height: 1.2;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Even tighter density for group tables */
|
|
253
|
+
.group-table .v-table__wrapper table tr {
|
|
254
|
+
height: 34px;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.group-table .v-table__wrapper table td,
|
|
258
|
+
.group-table .v-table__wrapper table th {
|
|
259
|
+
padding-top: 4px;
|
|
260
|
+
padding-bottom: 4px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/* Checkbox/radio compact spacing */
|
|
264
|
+
.data-table-container .v-selection-control {
|
|
265
|
+
--v-selection-control-size: 18px;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.data-table-container .v-selection-control .v-label {
|
|
269
|
+
margin: 0;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* Buttons inside cells */
|
|
273
|
+
.data-table-container td .v-btn {
|
|
274
|
+
min-height: 28px;
|
|
275
|
+
height: 28px;
|
|
276
|
+
padding: 0 8px;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* Chips inside headers or cells */
|
|
280
|
+
.data-table-container .v-chip {
|
|
281
|
+
height: 22px;
|
|
282
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
.v-field--variant-outlined .v-field__outline__start.v-locale--is-ltr,
|
|
2
|
+
.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__start {
|
|
3
|
+
border-radius: $border-radius-root 0 0 $border-radius-root;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.v-field--variant-outlined .v-field__outline__end.v-locale--is-ltr,
|
|
7
|
+
.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__end {
|
|
8
|
+
border-radius: 0 $border-radius-root $border-radius-root 0;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.v-input--density-default,
|
|
2
|
+
.v-field--variant-solo,
|
|
3
|
+
.v-field--variant-filled {
|
|
4
|
+
--v-input-control-height: 51px;
|
|
5
|
+
--v-input-padding-top: 14px;
|
|
6
|
+
}
|
|
7
|
+
.v-input--density-comfortable {
|
|
8
|
+
--v-input-control-height: 56px;
|
|
9
|
+
--v-input-padding-top: 17px;
|
|
10
|
+
}
|
|
11
|
+
.v-label {
|
|
12
|
+
font-size: 0.975rem;
|
|
13
|
+
}
|
|
14
|
+
.v-switch .v-label,
|
|
15
|
+
.v-checkbox .v-label {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|