@amirjalili1374/ui-kit 1.2.0 → 1.2.1
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 +10 -10
- package/package.json +1 -2
- 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 +0 -1
- 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 +0 -6
- package/src/assets/images/favicon.svg +0 -18
- package/src/assets/images/icons/icon-card.svg +0 -5
- package/src/assets/images/logos/logo.svg +0 -12
- package/src/assets/images/logos/logolight.svg +0 -12
- package/src/assets/images/maintenance/img-error-bg.svg +0 -34
- package/src/assets/images/maintenance/img-error-blue.svg +0 -43
- package/src/assets/images/maintenance/img-error-purple.svg +0 -42
- package/src/assets/images/maintenance/img-error-text.svg +0 -27
- package/src/assets/images/profile/profile-user-account-svgrepo-com.svg +0 -12
- package/src/assets/images/profile/user-round.svg +0 -15
- package/src/assets/images/template/template-01.ts +0 -1
- package/src/assets/images/vectors/colorized-bg.svg +0 -40
- package/src/assets/images/vectors/logo_stroke_1px.svg +0 -26
- package/src/assets/images/vectors/logo_stroke_2px.svg +0 -26
- package/src/assets/scss/components/_approval-sections.scss +0 -75
- package/src/assets/styles/fonts.scss +0 -77
- package/src/components/Loading.vue +0 -88
- package/src/components/common/AppStepper.vue +0 -139
- package/src/components/shared/BaseBreadcrumb.vue +0 -55
- package/src/components/shared/BaseIcon.vue +0 -27
- package/src/components/shared/ConfirmDialog.vue +0 -72
- package/src/components/shared/CustomAutocomplete.vue +0 -306
- package/src/components/shared/CustomDataTable.vue +0 -1859
- package/src/components/shared/DescriptionInput.vue +0 -204
- package/src/components/shared/DownloadButton.vue +0 -169
- package/src/components/shared/MoneyInput.vue +0 -105
- package/src/components/shared/PdfViewer.vue +0 -645
- package/src/components/shared/ShamsiDatePicker.vue +0 -444
- package/src/components/shared/UiChildCard.vue +0 -17
- package/src/components/shared/UiParentCard.vue +0 -21
- package/src/components/shared/VPriceTextField.vue +0 -136
- package/src/composables/useDataTable.ts +0 -152
- package/src/composables/usePermissions.ts +0 -90
- package/src/composables/useRouteGuard.ts +0 -36
- package/src/composables/useTableActions.ts +0 -207
- package/src/composables/useTableHeaders.ts +0 -172
- package/src/composables/useTableSelection.ts +0 -201
- package/src/constants/enums/approval.ts +0 -13
- package/src/constants/enums/booleanEnum.ts +0 -11
- package/src/constants/enums/contractType.ts +0 -11
- package/src/constants/enums/lcProductType.ts +0 -21
- package/src/constants/enums/repaymentType.ts +0 -11
- package/src/directives/v-digit-limit.ts +0 -15
- package/src/directives/v-permission.ts +0 -31
- package/src/features/index.ts +0 -48
- package/src/index.ts +0 -119
- package/src/plugins/key-clock.ts +0 -39
- package/src/plugins/mdi-icon.ts +0 -31
- package/src/plugins/vuetify.ts +0 -74
- package/src/scss/_override.scss +0 -72
- package/src/scss/_variables.scss +0 -124
- package/src/scss/components/_VButtons.scss +0 -23
- package/src/scss/components/_VCard.scss +0 -20
- package/src/scss/components/_VCustomDataTable.scss +0 -282
- package/src/scss/components/_VField.scss +0 -9
- package/src/scss/components/_VInput.scss +0 -17
- package/src/scss/components/_VNavigationDrawer.scss +0 -3
- package/src/scss/components/_VShadow.scss +0 -3
- package/src/scss/components/_VStepper.scss +0 -235
- package/src/scss/components/_VTabs.scss +0 -11
- package/src/scss/components/_VTextField.scss +0 -40
- package/src/scss/components/_approval.scss +0 -128
- package/src/scss/layout/_container.scss +0 -147
- package/src/scss/layout/_sidebar.scss +0 -138
- package/src/scss/layout/_topbar.scss +0 -39
- package/src/scss/pages/_dashboards.scss +0 -97
- package/src/scss/style.scss +0 -21
- package/src/services/apiService.ts +0 -59
- package/src/services/axiosInstance.ts +0 -14
- package/src/stores/customizer.ts +0 -55
- package/src/stores/permissions.ts +0 -237
- package/src/theme/darkThemes/DarkModernTheme.ts +0 -54
- package/src/theme/darkThemes/DarkOrangeTheme.ts +0 -53
- package/src/theme/darkThemes/DarkPurpleTheme.ts +0 -54
- package/src/theme/darkThemes/DarkRedTheme.ts +0 -54
- package/src/theme/darkThemes/DarkSilverTheme.ts +0 -53
- package/src/theme/darkThemes/DarkSteelTealGreen.ts +0 -53
- package/src/theme/darkThemes/DarkTealTheme.ts +0 -52
- package/src/theme/lightThemes/ModernTheme.ts +0 -55
- package/src/theme/lightThemes/OrangeTheme.ts +0 -54
- package/src/theme/lightThemes/PurpleTheme.ts +0 -54
- package/src/theme/lightThemes/RedTheme.ts +0 -55
- package/src/theme/lightThemes/SilverTheme.ts +0 -55
- package/src/theme/lightThemes/SteelTealGreen.ts +0 -54
- package/src/theme/lightThemes/TealTheme.ts +0 -54
- package/src/types/approval/approvalType.ts +0 -473
- package/src/types/cartable/cartableTypes.ts +0 -169
- package/src/types/componentTypes/DataTableType.ts +0 -14
- package/src/types/componentTypes/DataTableTypes.ts +0 -130
- package/src/types/enums/global.ts +0 -267
- package/src/types/jalaali-js.d.ts +0 -6
- package/src/types/models/Base.ts +0 -4
- package/src/types/models/env.d.ts +0 -10
- package/src/types/models/person.ts +0 -13
- package/src/types/models/userInfo.ts +0 -29
- package/src/types/preApproval/preApprovalTypes.ts +0 -67
- package/src/types/shims-tabler-icons.d.ts +0 -58
- package/src/types/themeTypes/ThemeType.ts +0 -47
- package/src/types/vue-apexcharts.d.ts +0 -1
- package/src/types/vue3-print-nb.d.ts +0 -1
- package/src/types/vue_tabler_icon.d.ts +0 -10
- package/src/utils/NationalCodeValidator.ts +0 -33
- package/src/utils/date-convertor.ts +0 -40
- package/src/utils/greetingUtils.ts +0 -97
- package/src/utils/helpers/fake-backend.ts +0 -68
- package/src/utils/helpers/fetch-wrapper.ts +0 -86
- package/src/utils/number-formatter.ts +0 -33
- package/src/validators/nationalCodeRule.ts +0 -6
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<svg width="475" height="548" viewBox="0 0 475 548" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<mask id="path-1-inside-1_364_17" fill="white">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.0450001 548C0.0450001 418.291 0 288.224 0 158.643C0 156.336 1.19209e-07 154.029 0.13 151.595C0.523 136.451 8.309 117.76 18.566 105.85C27.336 95.6696 38.107 89.5936 45.334 87.3016C49.051 93.2016 52.859 99.2716 56.575 105.302C47.851 107.824 24.209 118.218 21.533 151.085C21.276 155.956 21.02 160.955 20.765 165.953C20.165 165.953 20.942 471.333 20.942 527.112C83.874 527.112 146.742 526.996 209.673 527.124C209.682 526.776 209.816 374.615 209.559 374.615C197.184 371.787 185.386 367.415 175.081 359.747C159.563 348.198 149.863 331.875 143.68 313.859C137.721 296.5 136.208 279.482 135.222 261.437C134.866 254.084 135.051 246.715 135.774 239.39C147.427 245.454 157.605 256.62 165.474 266.819C170.722 273.619 174.646 281.355 178.719 288.919C180.264 288.964 181.45 289.003 182.906 288.95C183.238 282.035 184.36 275.181 186.25 268.522C188.464 260.227 191.902 252.308 196.45 245.027C203.606 233.9 204.05 234.261 206.869 230.927C209.878 235.761 212.329 240.921 214.175 246.308C219.882 262.861 222.988 279.762 225.326 297.063C228.077 317.419 229.126 337.584 230.404 358.051C230.343 421.24 230.393 484.741 230.393 547.93C153.618 547.93 76.8363 547.952 0.0469999 547.996L0.0450001 548Z"/>
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M243.772 547.934C243.644 485.387 243.644 422.548 243.644 360.001C244.489 342.789 245.226 325.59 247.361 308.475C250.661 282.046 253.961 254.588 267.099 230.932C271.534 235.728 275.405 241.018 278.634 246.697C284.804 257.412 288.892 269.198 290.682 281.433C290.989 283.72 291.118 286.533 291.245 288.969H295.603C298.679 283.457 301.324 277.369 305.003 272.169C312.672 261.419 321.688 251.697 331.83 243.24C333.625 241.959 335.42 240.675 337.342 239.393C337.647 239.405 337.952 239.362 338.242 239.266C338.842 246.236 339.01 253.166 339.01 260.158C338.317 283.727 335.271 309.794 323.375 330.523C309.748 354.266 290.575 369.715 264.448 374.613C264.232 425.154 264.391 476.25 264.421 527.155C266.521 527.124 438.866 527.137 453.338 527.137V459.207H453.723V174.022H453.338C453.211 166.845 453.082 159.539 452.827 152.234C450.369 127.162 438.984 113.149 417.827 105.458C419.927 101.858 426.564 90.8856 428.816 87.1206C456.21 96.6966 471.691 124.021 473.97 151.978C473.97 283.866 474.07 415.858 474.27 547.954C397.369 547.954 320.535 547.947 243.77 547.933L243.772 547.934Z"/>
|
|
5
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M183.371 152.838C170.714 132.7 154.166 115.599 138.808 98.5316C145.24 84.7616 149.513 44.1406 151.24 16.5026C160.305 49.6026 182.526 75.0546 205.84 99.1726C203.259 110.949 189.81 143.941 183.371 152.838Z"/>
|
|
6
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M290.519 152.761C282.66 136.417 271.107 117.115 268.256 99.0436C291.027 76.2726 313.579 48.2596 322.73 16.8846C324.213 44.1186 326.315 72.6006 335.289 98.5296C319.451 115.832 304.509 133.932 290.519 152.76V152.761Z"/>
|
|
7
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M122.275 258.1C122.659 263.481 123.043 268.994 123.556 274.5C115.436 258.667 110.965 240.6 108.305 223.1C107.239 216.1 106.77 209 105.739 201.965C103.039 183.528 99.696 165.453 92.794 148.265C78.839 113.49 57.704 79.3226 27.685 56.2326C19.995 51.1076 19.861 51.2396 19.606 50.7326C34.626 52.1086 51.731 57.4816 66.137 63.1596C110.88 83.4726 142.28 117.906 171.108 156.083C185.262 174.827 195.758 199.406 202.46 223.039C187.375 217.42 171.596 216.348 159.06 228.884C155.473 233.628 153.805 236.574 153.421 236.705C145.774 231.241 133.721 222.092 125.095 218.505C123.25 231.627 122.309 244.86 122.276 258.112L122.275 258.1Z"/>
|
|
8
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M352.331 258.104C352.331 249.736 351.745 241.451 351.05 233.11C350.539 228.24 349.896 223.369 349.25 218.498C339.05 223.598 330.002 230.078 320.813 236.764C314.52 227.272 302.465 211.222 271.835 223.482C278.442 198.511 289.657 174.996 304.903 154.146C342.403 102.854 388.588 58.2856 454.737 50.5946C405.35 83.9946 376.316 146.839 369.07 200.465C367.507 212.027 365.87 224.079 363.863 235.545C360.955 248.459 357.232 264.437 350.382 275.851C351.409 270.437 351.648 263.551 352.326 258.103L352.331 258.104Z"/>
|
|
9
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M217.592 229.124C214.516 221.306 211.349 212.732 208.273 204.784C205.073 197.35 201.864 189.917 198.533 182.354C196.538 178.367 191.781 168.7 189.816 164.554C214.579 118.454 226.548 73.2096 237.239 23.0386C247.331 72.4866 261.374 120.528 284.585 165.26C274.096 186.655 265.647 206.784 256.985 229.132C251.644 217.245 223.574 215.68 217.592 229.126V229.124Z"/>
|
|
10
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M75.365 48.4156C67.445 33.2826 85.007 20.9156 97.098 17.4496C120.998 10.5886 141.998 20.1836 136.498 53.6716C134.62 65.8223 131.7 77.789 127.772 89.4396C108.572 69.4606 82.638 62.3206 75.361 48.4156H75.365Z"/>
|
|
11
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M346.995 89.6146C339.637 66.1006 324.295 22.9596 355.949 16.6296C372.249 13.3676 396.704 19.8086 401.038 39.5716C405.277 58.8936 364.73 67.4716 346.995 89.6146Z"/>
|
|
12
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M209.199 85.7476C196.008 69.2966 177.456 51.7416 169.182 32.1376C160.256 10.9886 174.871 1.08661 192.915 0.503605C206.262 0.0716053 219.387 4.57461 222.109 14.6616C227.109 33.1796 214.568 65.5926 209.199 85.7476Z"/>
|
|
13
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M264.924 85.4566C260.924 66.3936 244.711 25.9876 253.031 12.7836C258.876 3.50461 273.412 -1.4544 284.22 0.376601C340.136 9.8416 281.339 64.9166 264.92 85.4576L264.924 85.4566Z"/>
|
|
14
|
-
</mask>
|
|
15
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.0450001 548C0.0450001 418.291 0 288.224 0 158.643C0 156.336 1.19209e-07 154.029 0.13 151.595C0.523 136.451 8.309 117.76 18.566 105.85C27.336 95.6696 38.107 89.5936 45.334 87.3016C49.051 93.2016 52.859 99.2716 56.575 105.302C47.851 107.824 24.209 118.218 21.533 151.085C21.276 155.956 21.02 160.955 20.765 165.953C20.165 165.953 20.942 471.333 20.942 527.112C83.874 527.112 146.742 526.996 209.673 527.124C209.682 526.776 209.816 374.615 209.559 374.615C197.184 371.787 185.386 367.415 175.081 359.747C159.563 348.198 149.863 331.875 143.68 313.859C137.721 296.5 136.208 279.482 135.222 261.437C134.866 254.084 135.051 246.715 135.774 239.39C147.427 245.454 157.605 256.62 165.474 266.819C170.722 273.619 174.646 281.355 178.719 288.919C180.264 288.964 181.45 289.003 182.906 288.95C183.238 282.035 184.36 275.181 186.25 268.522C188.464 260.227 191.902 252.308 196.45 245.027C203.606 233.9 204.05 234.261 206.869 230.927C209.878 235.761 212.329 240.921 214.175 246.308C219.882 262.861 222.988 279.762 225.326 297.063C228.077 317.419 229.126 337.584 230.404 358.051C230.343 421.24 230.393 484.741 230.393 547.93C153.618 547.93 76.8363 547.952 0.0469999 547.996L0.0450001 548Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
16
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M243.772 547.934C243.644 485.387 243.644 422.548 243.644 360.001C244.489 342.789 245.226 325.59 247.361 308.475C250.661 282.046 253.961 254.588 267.099 230.932C271.534 235.728 275.405 241.018 278.634 246.697C284.804 257.412 288.892 269.198 290.682 281.433C290.989 283.72 291.118 286.533 291.245 288.969H295.603C298.679 283.457 301.324 277.369 305.003 272.169C312.672 261.419 321.688 251.697 331.83 243.24C333.625 241.959 335.42 240.675 337.342 239.393C337.647 239.405 337.952 239.362 338.242 239.266C338.842 246.236 339.01 253.166 339.01 260.158C338.317 283.727 335.271 309.794 323.375 330.523C309.748 354.266 290.575 369.715 264.448 374.613C264.232 425.154 264.391 476.25 264.421 527.155C266.521 527.124 438.866 527.137 453.338 527.137V459.207H453.723V174.022H453.338C453.211 166.845 453.082 159.539 452.827 152.234C450.369 127.162 438.984 113.149 417.827 105.458C419.927 101.858 426.564 90.8856 428.816 87.1206C456.21 96.6966 471.691 124.021 473.97 151.978C473.97 283.866 474.07 415.858 474.27 547.954C397.369 547.954 320.535 547.947 243.77 547.933L243.772 547.934Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
17
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M183.371 152.838C170.714 132.7 154.166 115.599 138.808 98.5316C145.24 84.7616 149.513 44.1406 151.24 16.5026C160.305 49.6026 182.526 75.0546 205.84 99.1726C203.259 110.949 189.81 143.941 183.371 152.838Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
18
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M290.519 152.761C282.66 136.417 271.107 117.115 268.256 99.0436C291.027 76.2726 313.579 48.2596 322.73 16.8846C324.213 44.1186 326.315 72.6006 335.289 98.5296C319.451 115.832 304.509 133.932 290.519 152.76V152.761Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
19
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M122.275 258.1C122.659 263.481 123.043 268.994 123.556 274.5C115.436 258.667 110.965 240.6 108.305 223.1C107.239 216.1 106.77 209 105.739 201.965C103.039 183.528 99.696 165.453 92.794 148.265C78.839 113.49 57.704 79.3226 27.685 56.2326C19.995 51.1076 19.861 51.2396 19.606 50.7326C34.626 52.1086 51.731 57.4816 66.137 63.1596C110.88 83.4726 142.28 117.906 171.108 156.083C185.262 174.827 195.758 199.406 202.46 223.039C187.375 217.42 171.596 216.348 159.06 228.884C155.473 233.628 153.805 236.574 153.421 236.705C145.774 231.241 133.721 222.092 125.095 218.505C123.25 231.627 122.309 244.86 122.276 258.112L122.275 258.1Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
20
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M352.331 258.104C352.331 249.736 351.745 241.451 351.05 233.11C350.539 228.24 349.896 223.369 349.25 218.498C339.05 223.598 330.002 230.078 320.813 236.764C314.52 227.272 302.465 211.222 271.835 223.482C278.442 198.511 289.657 174.996 304.903 154.146C342.403 102.854 388.588 58.2856 454.737 50.5946C405.35 83.9946 376.316 146.839 369.07 200.465C367.507 212.027 365.87 224.079 363.863 235.545C360.955 248.459 357.232 264.437 350.382 275.851C351.409 270.437 351.648 263.551 352.326 258.103L352.331 258.104Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
21
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M217.592 229.124C214.516 221.306 211.349 212.732 208.273 204.784C205.073 197.35 201.864 189.917 198.533 182.354C196.538 178.367 191.781 168.7 189.816 164.554C214.579 118.454 226.548 73.2096 237.239 23.0386C247.331 72.4866 261.374 120.528 284.585 165.26C274.096 186.655 265.647 206.784 256.985 229.132C251.644 217.245 223.574 215.68 217.592 229.126V229.124Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
22
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M75.365 48.4156C67.445 33.2826 85.007 20.9156 97.098 17.4496C120.998 10.5886 141.998 20.1836 136.498 53.6716C134.62 65.8223 131.7 77.789 127.772 89.4396C108.572 69.4606 82.638 62.3206 75.361 48.4156H75.365Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
23
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M346.995 89.6146C339.637 66.1006 324.295 22.9596 355.949 16.6296C372.249 13.3676 396.704 19.8086 401.038 39.5716C405.277 58.8936 364.73 67.4716 346.995 89.6146Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
24
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M209.199 85.7476C196.008 69.2966 177.456 51.7416 169.182 32.1376C160.256 10.9886 174.871 1.08661 192.915 0.503605C206.262 0.0716053 219.387 4.57461 222.109 14.6616C227.109 33.1796 214.568 65.5926 209.199 85.7476Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
25
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M264.924 85.4566C260.924 66.3936 244.711 25.9876 253.031 12.7836C258.876 3.50461 273.412 -1.4544 284.22 0.376601C340.136 9.8416 281.339 64.9166 264.92 85.4576L264.924 85.4566Z" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_364_17)"/>
|
|
26
|
-
</svg>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<svg width="1967.999" height="767.996" viewBox="0 0 475 548" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<mask id="path-1-inside-1_364_17" fill="white">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.0450001 548C0.0450001 418.291 0 288.224 0 158.643C0 156.336 1.19209e-07 154.029 0.13 151.595C0.523 136.451 8.309 117.76 18.566 105.85C27.336 95.6696 38.107 89.5936 45.334 87.3016C49.051 93.2016 52.859 99.2716 56.575 105.302C47.851 107.824 24.209 118.218 21.533 151.085C21.276 155.956 21.02 160.955 20.765 165.953C20.165 165.953 20.942 471.333 20.942 527.112C83.874 527.112 146.742 526.996 209.673 527.124C209.682 526.776 209.816 374.615 209.559 374.615C197.184 371.787 185.386 367.415 175.081 359.747C159.563 348.198 149.863 331.875 143.68 313.859C137.721 296.5 136.208 279.482 135.222 261.437C134.866 254.084 135.051 246.715 135.774 239.39C147.427 245.454 157.605 256.62 165.474 266.819C170.722 273.619 174.646 281.355 178.719 288.919C180.264 288.964 181.45 289.003 182.906 288.95C183.238 282.035 184.36 275.181 186.25 268.522C188.464 260.227 191.902 252.308 196.45 245.027C203.606 233.9 204.05 234.261 206.869 230.927C209.878 235.761 212.329 240.921 214.175 246.308C219.882 262.861 222.988 279.762 225.326 297.063C228.077 317.419 229.126 337.584 230.404 358.051C230.343 421.24 230.393 484.741 230.393 547.93C153.618 547.93 76.8363 547.952 0.0469999 547.996L0.0450001 548Z"/>
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M243.772 547.934C243.644 485.387 243.644 422.548 243.644 360.001C244.489 342.789 245.226 325.59 247.361 308.475C250.661 282.046 253.961 254.588 267.099 230.932C271.534 235.728 275.405 241.018 278.634 246.697C284.804 257.412 288.892 269.198 290.682 281.433C290.989 283.72 291.118 286.533 291.245 288.969H295.603C298.679 283.457 301.324 277.369 305.003 272.169C312.672 261.419 321.688 251.697 331.83 243.24C333.625 241.959 335.42 240.675 337.342 239.393C337.647 239.405 337.952 239.362 338.242 239.266C338.842 246.236 339.01 253.166 339.01 260.158C338.317 283.727 335.271 309.794 323.375 330.523C309.748 354.266 290.575 369.715 264.448 374.613C264.232 425.154 264.391 476.25 264.421 527.155C266.521 527.124 438.866 527.137 453.338 527.137V459.207H453.723V174.022H453.338C453.211 166.845 453.082 159.539 452.827 152.234C450.369 127.162 438.984 113.149 417.827 105.458C419.927 101.858 426.564 90.8856 428.816 87.1206C456.21 96.6966 471.691 124.021 473.97 151.978C473.97 283.866 474.07 415.858 474.27 547.954C397.369 547.954 320.535 547.947 243.77 547.933L243.772 547.934Z"/>
|
|
5
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M183.371 152.838C170.714 132.7 154.166 115.599 138.808 98.5316C145.24 84.7616 149.513 44.1406 151.24 16.5026C160.305 49.6026 182.526 75.0546 205.84 99.1726C203.259 110.949 189.81 143.941 183.371 152.838Z"/>
|
|
6
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M290.519 152.761C282.66 136.417 271.107 117.115 268.256 99.0436C291.027 76.2726 313.579 48.2596 322.73 16.8846C324.213 44.1186 326.315 72.6006 335.289 98.5296C319.451 115.832 304.509 133.932 290.519 152.76V152.761Z"/>
|
|
7
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M122.275 258.1C122.659 263.481 123.043 268.994 123.556 274.5C115.436 258.667 110.965 240.6 108.305 223.1C107.239 216.1 106.77 209 105.739 201.965C103.039 183.528 99.696 165.453 92.794 148.265C78.839 113.49 57.704 79.3226 27.685 56.2326C19.995 51.1076 19.861 51.2396 19.606 50.7326C34.626 52.1086 51.731 57.4816 66.137 63.1596C110.88 83.4726 142.28 117.906 171.108 156.083C185.262 174.827 195.758 199.406 202.46 223.039C187.375 217.42 171.596 216.348 159.06 228.884C155.473 233.628 153.805 236.574 153.421 236.705C145.774 231.241 133.721 222.092 125.095 218.505C123.25 231.627 122.309 244.86 122.276 258.112L122.275 258.1Z"/>
|
|
8
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M352.331 258.104C352.331 249.736 351.745 241.451 351.05 233.11C350.539 228.24 349.896 223.369 349.25 218.498C339.05 223.598 330.002 230.078 320.813 236.764C314.52 227.272 302.465 211.222 271.835 223.482C278.442 198.511 289.657 174.996 304.903 154.146C342.403 102.854 388.588 58.2856 454.737 50.5946C405.35 83.9946 376.316 146.839 369.07 200.465C367.507 212.027 365.87 224.079 363.863 235.545C360.955 248.459 357.232 264.437 350.382 275.851C351.409 270.437 351.648 263.551 352.326 258.103L352.331 258.104Z"/>
|
|
9
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M217.592 229.124C214.516 221.306 211.349 212.732 208.273 204.784C205.073 197.35 201.864 189.917 198.533 182.354C196.538 178.367 191.781 168.7 189.816 164.554C214.579 118.454 226.548 73.2096 237.239 23.0386C247.331 72.4866 261.374 120.528 284.585 165.26C274.096 186.655 265.647 206.784 256.985 229.132C251.644 217.245 223.574 215.68 217.592 229.126V229.124Z"/>
|
|
10
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M75.365 48.4156C67.445 33.2826 85.007 20.9156 97.098 17.4496C120.998 10.5886 141.998 20.1836 136.498 53.6716C134.62 65.8223 131.7 77.789 127.772 89.4396C108.572 69.4606 82.638 62.3206 75.361 48.4156H75.365Z"/>
|
|
11
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M346.995 89.6146C339.637 66.1006 324.295 22.9596 355.949 16.6296C372.249 13.3676 396.704 19.8086 401.038 39.5716C405.277 58.8936 364.73 67.4716 346.995 89.6146Z"/>
|
|
12
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M209.199 85.7476C196.008 69.2966 177.456 51.7416 169.182 32.1376C160.256 10.9886 174.871 1.08661 192.915 0.503605C206.262 0.0716053 219.387 4.57461 222.109 14.6616C227.109 33.1796 214.568 65.5926 209.199 85.7476Z"/>
|
|
13
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M264.924 85.4566C260.924 66.3936 244.711 25.9876 253.031 12.7836C258.876 3.50461 273.412 -1.4544 284.22 0.376601C340.136 9.8416 281.339 64.9166 264.92 85.4576L264.924 85.4566Z"/>
|
|
14
|
-
</mask>
|
|
15
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.0450001 548C0.0450001 418.291 0 288.224 0 158.643C0 156.336 1.19209e-07 154.029 0.13 151.595C0.523 136.451 8.309 117.76 18.566 105.85C27.336 95.6696 38.107 89.5936 45.334 87.3016C49.051 93.2016 52.859 99.2716 56.575 105.302C47.851 107.824 24.209 118.218 21.533 151.085C21.276 155.956 21.02 160.955 20.765 165.953C20.165 165.953 20.942 471.333 20.942 527.112C83.874 527.112 146.742 526.996 209.673 527.124C209.682 526.776 209.816 374.615 209.559 374.615C197.184 371.787 185.386 367.415 175.081 359.747C159.563 348.198 149.863 331.875 143.68 313.859C137.721 296.5 136.208 279.482 135.222 261.437C134.866 254.084 135.051 246.715 135.774 239.39C147.427 245.454 157.605 256.62 165.474 266.819C170.722 273.619 174.646 281.355 178.719 288.919C180.264 288.964 181.45 289.003 182.906 288.95C183.238 282.035 184.36 275.181 186.25 268.522C188.464 260.227 191.902 252.308 196.45 245.027C203.606 233.9 204.05 234.261 206.869 230.927C209.878 235.761 212.329 240.921 214.175 246.308C219.882 262.861 222.988 279.762 225.326 297.063C228.077 317.419 229.126 337.584 230.404 358.051C230.343 421.24 230.393 484.741 230.393 547.93C153.618 547.93 76.8363 547.952 0.0469999 547.996L0.0450001 548Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
16
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M243.772 547.934C243.644 485.387 243.644 422.548 243.644 360.001C244.489 342.789 245.226 325.59 247.361 308.475C250.661 282.046 253.961 254.588 267.099 230.932C271.534 235.728 275.405 241.018 278.634 246.697C284.804 257.412 288.892 269.198 290.682 281.433C290.989 283.72 291.118 286.533 291.245 288.969H295.603C298.679 283.457 301.324 277.369 305.003 272.169C312.672 261.419 321.688 251.697 331.83 243.24C333.625 241.959 335.42 240.675 337.342 239.393C337.647 239.405 337.952 239.362 338.242 239.266C338.842 246.236 339.01 253.166 339.01 260.158C338.317 283.727 335.271 309.794 323.375 330.523C309.748 354.266 290.575 369.715 264.448 374.613C264.232 425.154 264.391 476.25 264.421 527.155C266.521 527.124 438.866 527.137 453.338 527.137V459.207H453.723V174.022H453.338C453.211 166.845 453.082 159.539 452.827 152.234C450.369 127.162 438.984 113.149 417.827 105.458C419.927 101.858 426.564 90.8856 428.816 87.1206C456.21 96.6966 471.691 124.021 473.97 151.978C473.97 283.866 474.07 415.858 474.27 547.954C397.369 547.954 320.535 547.947 243.77 547.933L243.772 547.934Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
17
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M183.371 152.838C170.714 132.7 154.166 115.599 138.808 98.5316C145.24 84.7616 149.513 44.1406 151.24 16.5026C160.305 49.6026 182.526 75.0546 205.84 99.1726C203.259 110.949 189.81 143.941 183.371 152.838Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
18
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M290.519 152.761C282.66 136.417 271.107 117.115 268.256 99.0436C291.027 76.2726 313.579 48.2596 322.73 16.8846C324.213 44.1186 326.315 72.6006 335.289 98.5296C319.451 115.832 304.509 133.932 290.519 152.76V152.761Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
19
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M122.275 258.1C122.659 263.481 123.043 268.994 123.556 274.5C115.436 258.667 110.965 240.6 108.305 223.1C107.239 216.1 106.77 209 105.739 201.965C103.039 183.528 99.696 165.453 92.794 148.265C78.839 113.49 57.704 79.3226 27.685 56.2326C19.995 51.1076 19.861 51.2396 19.606 50.7326C34.626 52.1086 51.731 57.4816 66.137 63.1596C110.88 83.4726 142.28 117.906 171.108 156.083C185.262 174.827 195.758 199.406 202.46 223.039C187.375 217.42 171.596 216.348 159.06 228.884C155.473 233.628 153.805 236.574 153.421 236.705C145.774 231.241 133.721 222.092 125.095 218.505C123.25 231.627 122.309 244.86 122.276 258.112L122.275 258.1Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
20
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M352.331 258.104C352.331 249.736 351.745 241.451 351.05 233.11C350.539 228.24 349.896 223.369 349.25 218.498C339.05 223.598 330.002 230.078 320.813 236.764C314.52 227.272 302.465 211.222 271.835 223.482C278.442 198.511 289.657 174.996 304.903 154.146C342.403 102.854 388.588 58.2856 454.737 50.5946C405.35 83.9946 376.316 146.839 369.07 200.465C367.507 212.027 365.87 224.079 363.863 235.545C360.955 248.459 357.232 264.437 350.382 275.851C351.409 270.437 351.648 263.551 352.326 258.103L352.331 258.104Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
21
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M217.592 229.124C214.516 221.306 211.349 212.732 208.273 204.784C205.073 197.35 201.864 189.917 198.533 182.354C196.538 178.367 191.781 168.7 189.816 164.554C214.579 118.454 226.548 73.2096 237.239 23.0386C247.331 72.4866 261.374 120.528 284.585 165.26C274.096 186.655 265.647 206.784 256.985 229.132C251.644 217.245 223.574 215.68 217.592 229.126V229.124Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
22
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M75.365 48.4156C67.445 33.2826 85.007 20.9156 97.098 17.4496C120.998 10.5886 141.998 20.1836 136.498 53.6716C134.62 65.8223 131.7 77.789 127.772 89.4396C108.572 69.4606 82.638 62.3206 75.361 48.4156H75.365Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
23
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M346.995 89.6146C339.637 66.1006 324.295 22.9596 355.949 16.6296C372.249 13.3676 396.704 19.8086 401.038 39.5716C405.277 58.8936 364.73 67.4716 346.995 89.6146Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
24
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M209.199 85.7476C196.008 69.2966 177.456 51.7416 169.182 32.1376C160.256 10.9886 174.871 1.08661 192.915 0.503605C206.262 0.0716053 219.387 4.57461 222.109 14.6616C227.109 33.1796 214.568 65.5926 209.199 85.7476Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
25
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M264.924 85.4566C260.924 66.3936 244.711 25.9876 253.031 12.7836C258.876 3.50461 273.412 -1.4544 284.22 0.376601C340.136 9.8416 281.339 64.9166 264.92 85.4576L264.924 85.4566Z" stroke="black" stroke-width="4" mask="url(#path-1-inside-1_364_17)"/>
|
|
26
|
-
</svg>
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
.approval-section {
|
|
2
|
-
background: linear-gradient(135deg, rgb(var(--v-theme-primary)) 0%, rgb(var(--v-theme-lightprimary)) 100%);
|
|
3
|
-
border: 1px solid rgb(var(--v-theme-borderLight));
|
|
4
|
-
border-radius: 10px;
|
|
5
|
-
padding: 25px 15px;
|
|
6
|
-
margin-bottom: 10px;
|
|
7
|
-
width: 100%;
|
|
8
|
-
max-width: 100%;
|
|
9
|
-
max-height: 100vh;
|
|
10
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
11
|
-
|
|
12
|
-
.section-header {
|
|
13
|
-
display: flex;
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
align-items: center;
|
|
16
|
-
margin-bottom: 1.5rem;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.section-title {
|
|
20
|
-
font-size: 1.25rem;
|
|
21
|
-
font-weight: 700;
|
|
22
|
-
color: rgb(var(--v-theme-darkText));
|
|
23
|
-
margin: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.section-content {
|
|
27
|
-
min-height: 300px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.approval-table {
|
|
31
|
-
width: 100%;
|
|
32
|
-
max-width: 100%;
|
|
33
|
-
border-radius: 10px;
|
|
34
|
-
padding: 15px;
|
|
35
|
-
|
|
36
|
-
:deep(.v-data-table-header) {
|
|
37
|
-
background-color: rgb(var(--v-theme-secondary));
|
|
38
|
-
color: #fff;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
:deep(.v-data-table-header th) {
|
|
42
|
-
background-color: rgb(var(--v-theme-secondary)) !important;
|
|
43
|
-
color: #fff;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
:deep(.v-data-table-header tr) {
|
|
47
|
-
background-color: rgb(var(--v-theme-secondary)) !important;
|
|
48
|
-
color: #fff;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
:deep(.v-data-table-footer) {
|
|
52
|
-
border-top: 1px solid rgb(var(--v-theme-borderLight));
|
|
53
|
-
padding: 8px 16px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.gap-2 {
|
|
59
|
-
gap: 8px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
:deep(th) {
|
|
63
|
-
background-color: rgb(var(--v-theme-lightprimary)) !important;
|
|
64
|
-
font-weight: 600;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@media (forced-colors: active) {
|
|
68
|
-
.v-btn {
|
|
69
|
-
forced-color-adjust: none;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.v-text-field {
|
|
73
|
-
forced-color-adjust: none;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/* Optimized Font Loading Configuration */
|
|
2
|
-
|
|
3
|
-
/* Font face declarations with optimized loading */
|
|
4
|
-
@font-face {
|
|
5
|
-
font-family: 'vazir';
|
|
6
|
-
src: url('/src/assets/fonts/Vazir-Medium-FD.woff2') format('woff2'),
|
|
7
|
-
url('/src/assets/fonts/Vazir-Medium-FD.woff') format('woff');
|
|
8
|
-
font-weight: 400;
|
|
9
|
-
font-style: normal;
|
|
10
|
-
font-display: swap;
|
|
11
|
-
ascent-override: 90%;
|
|
12
|
-
descent-override: 22%;
|
|
13
|
-
line-gap-override: 0%;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@font-face {
|
|
17
|
-
font-family: 'vazir';
|
|
18
|
-
src: url('/src/assets/fonts/Vazir-Medium-FD.woff2') format('woff2'),
|
|
19
|
-
url('/src/assets/fonts/Vazir-Medium-FD.woff') format('woff');
|
|
20
|
-
font-weight: 500;
|
|
21
|
-
font-style: normal;
|
|
22
|
-
font-display: swap;
|
|
23
|
-
ascent-override: 90%;
|
|
24
|
-
descent-override: 22%;
|
|
25
|
-
line-gap-override: 0%;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* Additional fonts - only load what's needed */
|
|
29
|
-
@font-face {
|
|
30
|
-
font-family: 'yekan';
|
|
31
|
-
src: url('/src/assets/fonts/BYekan.woff2') format('woff2'),
|
|
32
|
-
url('/src/assets/fonts/BYekan.woff') format('woff');
|
|
33
|
-
font-weight: 300;
|
|
34
|
-
font-style: normal;
|
|
35
|
-
font-display: optional;
|
|
36
|
-
ascent-override: 90%;
|
|
37
|
-
descent-override: 22%;
|
|
38
|
-
line-gap-override: 0%;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@font-face {
|
|
42
|
-
font-family: 'iran-sans';
|
|
43
|
-
src: url('/src/assets/fonts/IRANSansXMedium.woff2') format('woff2'),
|
|
44
|
-
url('/src/assets/fonts/IRANSansXMedium.ttf') format('truetype');
|
|
45
|
-
font-weight: 400;
|
|
46
|
-
font-style: normal;
|
|
47
|
-
font-display: optional;
|
|
48
|
-
ascent-override: 90%;
|
|
49
|
-
descent-override: 22%;
|
|
50
|
-
line-gap-override: 0%;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* Font utility classes */
|
|
54
|
-
.font-vazir { font-family: 'vazir', system-ui, -apple-system, sans-serif; }
|
|
55
|
-
.font-yekan { font-family: 'yekan', 'vazir', system-ui, -apple-system, sans-serif; }
|
|
56
|
-
.font-iran-sans { font-family: 'iran-sans', 'vazir', system-ui, -apple-system, sans-serif; }
|
|
57
|
-
|
|
58
|
-
/* System font stack for fallback */
|
|
59
|
-
.font-system {
|
|
60
|
-
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/* Font loading optimization */
|
|
64
|
-
.font-loading {
|
|
65
|
-
font-family: system-ui, -apple-system, sans-serif;
|
|
66
|
-
font-display: swap;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/* Font size scale */
|
|
70
|
-
.text-xs { font-size: 0.75rem; line-height: 1rem; }
|
|
71
|
-
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
|
|
72
|
-
.text-base { font-size: 1rem; line-height: 1.5rem; }
|
|
73
|
-
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
|
|
74
|
-
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
|
|
75
|
-
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
|
|
76
|
-
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
|
|
77
|
-
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<transition name="fade">
|
|
3
|
-
<div class="loading-overlay" v-if="customizer.loading">
|
|
4
|
-
<div class="loading-wrapper">
|
|
5
|
-
<Vue3Lottie
|
|
6
|
-
:animation-link="'/persian.json'"
|
|
7
|
-
:loop="true"
|
|
8
|
-
:autoplay="true"
|
|
9
|
-
class="lottie-animation"
|
|
10
|
-
/>
|
|
11
|
-
<!-- Add a separate transition for the span -->
|
|
12
|
-
<transition name="fade-slide">
|
|
13
|
-
<span v-if="customizer.loading">لطفا منتظر بمانید</span>
|
|
14
|
-
</transition>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
</transition>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<script setup lang="ts">
|
|
21
|
-
import { Vue3Lottie } from 'vue3-lottie';
|
|
22
|
-
import { useCustomizerStore } from '@/stores/customizer';
|
|
23
|
-
|
|
24
|
-
const customizer = useCustomizerStore();
|
|
25
|
-
</script>
|
|
26
|
-
|
|
27
|
-
<style scoped>
|
|
28
|
-
/* Fade transition for the loading overlay */
|
|
29
|
-
.fade-enter-active, .fade-leave-active {
|
|
30
|
-
transition: opacity 0.5s ease;
|
|
31
|
-
}
|
|
32
|
-
.fade-enter-from, .fade-leave-to {
|
|
33
|
-
opacity: 0;
|
|
34
|
-
}
|
|
35
|
-
.fade-enter-to, .fade-leave-from {
|
|
36
|
-
opacity: 1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/* Fade and slide transition for the span */
|
|
40
|
-
.fade-slide-enter-active, .fade-slide-leave-active {
|
|
41
|
-
transition: opacity 0.5s ease, transform 0.5s ease;
|
|
42
|
-
}
|
|
43
|
-
.fade-slide-enter-from {
|
|
44
|
-
opacity: 0;
|
|
45
|
-
transform: translateY(20px); /* Start slightly below */
|
|
46
|
-
}
|
|
47
|
-
.fade-slide-enter-to {
|
|
48
|
-
opacity: 1;
|
|
49
|
-
transform: translateY(0); /* End at its original position */
|
|
50
|
-
}
|
|
51
|
-
.fade-slide-leave-from {
|
|
52
|
-
opacity: 1;
|
|
53
|
-
transform: translateY(0);
|
|
54
|
-
}
|
|
55
|
-
.fade-slide-leave-to {
|
|
56
|
-
opacity: 0;
|
|
57
|
-
transform: translateY(20px); /* Slide down on leave */
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* Fullscreen loading overlay */
|
|
61
|
-
.loading-overlay {
|
|
62
|
-
position: fixed;
|
|
63
|
-
top: 0;
|
|
64
|
-
left: 0;
|
|
65
|
-
width: 100%;
|
|
66
|
-
height: 100%;
|
|
67
|
-
background-color: rgba(255, 255, 255, 0.5); /* Light translucent white */
|
|
68
|
-
display: flex;
|
|
69
|
-
justify-content: center;
|
|
70
|
-
align-items: center;
|
|
71
|
-
z-index: 9999; /* Ensure it overlays other content */
|
|
72
|
-
backdrop-filter: blur(8px); /* Apply blur effect to the overlay */
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/* Center the animation */
|
|
76
|
-
.loading-wrapper {
|
|
77
|
-
width: 200px;
|
|
78
|
-
height: 200px;
|
|
79
|
-
text-align: center;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/* Blur transition for background content */
|
|
83
|
-
.blur-background {
|
|
84
|
-
filter: blur(10px);
|
|
85
|
-
pointer-events: none; /* Disable interactions with blurred content */
|
|
86
|
-
transition: filter 0.5s ease; /* Smooth blur transition */
|
|
87
|
-
}
|
|
88
|
-
</style>
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import '@/scss/components/_VStepper.scss';
|
|
3
|
-
import { IconCheck, IconClock, IconPencil } from '@tabler/icons-vue';
|
|
4
|
-
import type { Component, ComponentPublicInstance } from 'vue';
|
|
5
|
-
import { nextTick, onBeforeUnmount, onMounted, ref, watch } from 'vue';
|
|
6
|
-
|
|
7
|
-
const props = defineProps({
|
|
8
|
-
steps: {
|
|
9
|
-
type: Array as () => { title: string; section: Component }[],
|
|
10
|
-
required: true
|
|
11
|
-
},
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: Number,
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
contentMinHeight: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: undefined
|
|
19
|
-
},
|
|
20
|
-
disableClick: {
|
|
21
|
-
type: Boolean,
|
|
22
|
-
default: false
|
|
23
|
-
},
|
|
24
|
-
stepProps: {
|
|
25
|
-
type: Object,
|
|
26
|
-
default: () => ({})
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
const emit = defineEmits(['update:modelValue', 'step-click']);
|
|
31
|
-
|
|
32
|
-
const stepperHeaderRef = ref<HTMLElement | null>(null);
|
|
33
|
-
const stepRefs = ref<Array<HTMLElement | null>>([]);
|
|
34
|
-
const currentStepComponentRef = ref();
|
|
35
|
-
|
|
36
|
-
function setStepRef(el: Element | ComponentPublicInstance | null, index: number) {
|
|
37
|
-
stepRefs.value[index] = (el instanceof HTMLElement) ? el : null;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// Auto-scroll to active step with cleanup
|
|
41
|
-
const stopWatch = watch(() => props.modelValue, async () => {
|
|
42
|
-
await nextTick();
|
|
43
|
-
const activeStepEl = stepRefs.value[props.modelValue - 1];
|
|
44
|
-
if (activeStepEl) {
|
|
45
|
-
activeStepEl.scrollIntoView({ behavior: 'smooth', inline: 'center', block: 'nearest' });
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
onMounted(() => {
|
|
50
|
-
nextTick(() => {
|
|
51
|
-
if (stepperHeaderRef.value) {
|
|
52
|
-
// RTL: scroll all the way to the right
|
|
53
|
-
stepperHeaderRef.value.scrollLeft = stepperHeaderRef.value.scrollWidth;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
// Cleanup watcher
|
|
59
|
-
onBeforeUnmount(() => {
|
|
60
|
-
stopWatch();
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
defineExpose({ currentStepComponentRef });
|
|
64
|
-
</script>
|
|
65
|
-
|
|
66
|
-
<template>
|
|
67
|
-
<div class="app-stepper-root" dir="rtl">
|
|
68
|
-
<div class="app-stepper-header-card">
|
|
69
|
-
<div ref="stepperHeaderRef" class="app-stepper-header">
|
|
70
|
-
<span
|
|
71
|
-
v-for="(step, index) in steps"
|
|
72
|
-
:key="index"
|
|
73
|
-
:ref="el => setStepRef(el, index)"
|
|
74
|
-
class="app-stepper-step"
|
|
75
|
-
:class="{
|
|
76
|
-
active: modelValue === index + 1,
|
|
77
|
-
resolved: modelValue > index + 1,
|
|
78
|
-
pending: modelValue < index + 1,
|
|
79
|
-
'no-click': disableClick
|
|
80
|
-
}"
|
|
81
|
-
>
|
|
82
|
-
<span class="app-stepper-badge"
|
|
83
|
-
:class="{
|
|
84
|
-
'badge-active': modelValue === index + 1,
|
|
85
|
-
'badge-resolved': modelValue > index + 1,
|
|
86
|
-
'badge-pending': modelValue < index + 1
|
|
87
|
-
}"
|
|
88
|
-
>
|
|
89
|
-
<slot name="badge" :status="modelValue > index + 1 ? 'resolved' : modelValue === index + 1 ? 'active' : 'pending'" :index="index">
|
|
90
|
-
<template v-if="modelValue > index + 1">
|
|
91
|
-
<IconCheck :size="16" />
|
|
92
|
-
</template>
|
|
93
|
-
<template v-else-if="modelValue === index + 1">
|
|
94
|
-
<IconPencil :size="16" />
|
|
95
|
-
</template>
|
|
96
|
-
<template v-else>
|
|
97
|
-
<IconClock :size="16" />
|
|
98
|
-
</template>
|
|
99
|
-
</slot>
|
|
100
|
-
</span>
|
|
101
|
-
<span class="app-stepper-title">{{ step.title }}</span>
|
|
102
|
-
<span
|
|
103
|
-
v-if="index < steps.length - 1"
|
|
104
|
-
:class="[
|
|
105
|
-
'app-stepper-connector',
|
|
106
|
-
{ 'active': modelValue > index + 1, 'resolved': modelValue > index + 1 }
|
|
107
|
-
]"
|
|
108
|
-
></span>
|
|
109
|
-
</span>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
<div
|
|
113
|
-
class="app-stepper-content"
|
|
114
|
-
:style="props.contentMinHeight ? { minHeight: props.contentMinHeight } : undefined"
|
|
115
|
-
>
|
|
116
|
-
<component :is="steps[modelValue - 1].section" ref="currentStepComponentRef" v-bind="stepProps" />
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</template>
|
|
120
|
-
|
|
121
|
-
<style lang="scss" scoped>
|
|
122
|
-
.app-stepper-step {
|
|
123
|
-
&.no-click {
|
|
124
|
-
pointer-events: none !important;
|
|
125
|
-
cursor: default !important;
|
|
126
|
-
opacity: 0.8;
|
|
127
|
-
user-select: none;
|
|
128
|
-
-webkit-user-select: none;
|
|
129
|
-
-moz-user-select: none;
|
|
130
|
-
-ms-user-select: none;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.app-stepper-header {
|
|
135
|
-
&.no-click {
|
|
136
|
-
pointer-events: none !important;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
</style>
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { IconArrowBadgeLeft , IconHome } from '@tabler/icons-vue';
|
|
3
|
-
import type { PropType } from 'vue';
|
|
4
|
-
|
|
5
|
-
type Breadcrumb = {
|
|
6
|
-
title: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
href?: string;
|
|
9
|
-
to?: any;
|
|
10
|
-
};
|
|
11
|
-
const props = defineProps({
|
|
12
|
-
title: String,
|
|
13
|
-
breadcrumbs: Array as PropType<Breadcrumb[]>,
|
|
14
|
-
icon: String
|
|
15
|
-
});
|
|
16
|
-
</script>
|
|
17
|
-
|
|
18
|
-
// ===============================|| Theme Breadcrumb ||=============================== //
|
|
19
|
-
<template>
|
|
20
|
-
<v-row class="page-breadcrumb mb-1 mt-1">
|
|
21
|
-
<v-col cols="12" md="12">
|
|
22
|
-
<v-card variant="flat" class="px-4 py-3">
|
|
23
|
-
<v-row no-gutters class="align-center">
|
|
24
|
-
<v-col md="5">
|
|
25
|
-
<h3 class="text-h3">{{ props.title }}</h3>
|
|
26
|
-
</v-col>
|
|
27
|
-
|
|
28
|
-
<v-col md="7" sm="12" cols="12">
|
|
29
|
-
<v-breadcrumbs :items="props.breadcrumbs" class="text-h5 justify-md-end pa-1">
|
|
30
|
-
<template v-slot:divider>
|
|
31
|
-
<div class="d-flex align-center gap-2">
|
|
32
|
-
<IconArrowBadgeLeft stroke={2} />
|
|
33
|
-
</div>
|
|
34
|
-
</template>
|
|
35
|
-
<template v-slot:prepend>
|
|
36
|
-
<IconHome size="16" class="text-secondary ml-2" />
|
|
37
|
-
<div class="d-flex align-center gap-2">
|
|
38
|
-
<IconArrowBadgeLeft stroke={2} />
|
|
39
|
-
</div>
|
|
40
|
-
</template>
|
|
41
|
-
</v-breadcrumbs>
|
|
42
|
-
</v-col>
|
|
43
|
-
</v-row>
|
|
44
|
-
</v-card>
|
|
45
|
-
</v-col>
|
|
46
|
-
</v-row>
|
|
47
|
-
</template>
|
|
48
|
-
|
|
49
|
-
<style lang="scss">
|
|
50
|
-
.page-breadcrumb {
|
|
51
|
-
.v-toolbar {
|
|
52
|
-
background: transparent;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
</style>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<component :is="icon" v-if="icon" class="icon" @click="handleClick"/>
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
|
-
<script lang="ts" setup>
|
|
6
|
-
|
|
7
|
-
const props = defineProps({
|
|
8
|
-
icon: {
|
|
9
|
-
type: String,
|
|
10
|
-
required: false,
|
|
11
|
-
},
|
|
12
|
-
buttonClass: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: '',
|
|
15
|
-
},
|
|
16
|
-
emitFunc: {
|
|
17
|
-
type: Function,
|
|
18
|
-
required: true,
|
|
19
|
-
},
|
|
20
|
-
rowData: Object,
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
function handleClick() {
|
|
24
|
-
props.emitFunc(props.rowData); // Call the passed function with row data
|
|
25
|
-
}
|
|
26
|
-
</script>
|
|
27
|
-
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-dialog v-model="isOpen" :persistent="persistent" :max-width="width">
|
|
3
|
-
<v-card>
|
|
4
|
-
<v-card-title class="text-h6">
|
|
5
|
-
{{ title }}
|
|
6
|
-
</v-card-title>
|
|
7
|
-
<v-card-text>
|
|
8
|
-
<div v-if="message" class="mb-2">{{ message }}</div>
|
|
9
|
-
<slot />
|
|
10
|
-
</v-card-text>
|
|
11
|
-
<v-card-actions class="justify-center">
|
|
12
|
-
<v-btn :loading="loading" :color="color" variant="flat" @click="onConfirm">
|
|
13
|
-
{{ confirmText }}
|
|
14
|
-
</v-btn>
|
|
15
|
-
<v-btn :disabled="loading" variant="text" @click="onCancel">
|
|
16
|
-
{{ cancelText }}
|
|
17
|
-
</v-btn>
|
|
18
|
-
</v-card-actions>
|
|
19
|
-
</v-card>
|
|
20
|
-
</v-dialog>
|
|
21
|
-
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<script setup lang="ts">
|
|
25
|
-
import { computed } from 'vue'
|
|
26
|
-
|
|
27
|
-
const props = withDefaults(defineProps<{
|
|
28
|
-
modelValue: boolean
|
|
29
|
-
title?: string
|
|
30
|
-
message?: string
|
|
31
|
-
confirmText?: string
|
|
32
|
-
cancelText?: string
|
|
33
|
-
color?: string
|
|
34
|
-
persistent?: boolean
|
|
35
|
-
loading?: boolean
|
|
36
|
-
width?: string | number
|
|
37
|
-
}>(), {
|
|
38
|
-
title: '',
|
|
39
|
-
message: '',
|
|
40
|
-
confirmText: 'تایید',
|
|
41
|
-
cancelText: 'انصراف',
|
|
42
|
-
color: 'primary',
|
|
43
|
-
persistent: false,
|
|
44
|
-
loading: false,
|
|
45
|
-
width: 420,
|
|
46
|
-
})
|
|
47
|
-
|
|
48
|
-
const emit = defineEmits<{
|
|
49
|
-
(e: 'update:modelValue', value: boolean): void
|
|
50
|
-
(e: 'confirm'): void
|
|
51
|
-
(e: 'cancel'): void
|
|
52
|
-
}>()
|
|
53
|
-
|
|
54
|
-
const isOpen = computed({
|
|
55
|
-
get: () => props.modelValue,
|
|
56
|
-
set: (value: boolean) => emit('update:modelValue', value),
|
|
57
|
-
})
|
|
58
|
-
|
|
59
|
-
function onCancel() {
|
|
60
|
-
emit('cancel')
|
|
61
|
-
isOpen.value = false
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
function onConfirm() {
|
|
65
|
-
emit('confirm')
|
|
66
|
-
}
|
|
67
|
-
</script>
|
|
68
|
-
|
|
69
|
-
<style scoped>
|
|
70
|
-
</style>
|
|
71
|
-
|
|
72
|
-
|