adata-ui 0.3.98 → 2.0.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/-error.vue +170 -0
- package/.editorconfig +12 -0
- package/.eslintrc.cjs +4 -0
- package/.gitlab-ci.yml +16 -0
- package/.nuxtrc +1 -0
- package/.nvmrc +1 -0
- package/.playground/app.config.ts +5 -0
- package/.playground/nuxt.config.ts +4 -0
- package/.prettierignore +24 -0
- package/.prettierrc +10 -0
- package/README.md +75 -7
- package/app.config.ts +27 -0
- package/app.vue +7 -0
- package/assets/img/adata-mobile.png +0 -0
- package/assets/img/analytics-mobile.png +0 -0
- package/assets/img/compliance-mobile.png +0 -0
- package/assets/img/empty-box.png +0 -0
- package/assets/img/fea-mobile.png +0 -0
- package/assets/img/fines-mobile.png +0 -0
- package/assets/img/pk-mobile.png +0 -0
- package/assets/img/tenders-mobile.png +0 -0
- package/assets/img/work-mobile.png +0 -0
- package/assets/styles/index.scss +101 -0
- package/assets/styles/modules/_base.scss +5 -0
- package/assets/styles/modules/_typography.scss +152 -0
- package/components/elements/README.md +1 -0
- package/components/elements/a-select-row/index.vue +140 -0
- package/components/elements/accordion/AAccordion.vue +196 -0
- package/components/elements/accordion/AAccordionGroup/AAccordionGroup.vue +145 -0
- package/components/elements/accordion/AAccordionGroup/types.ts +20 -0
- package/components/elements/accordion/AAccordionGroup/ui.config.ts +22 -0
- package/components/elements/accordion/types.ts +14 -0
- package/components/elements/accordion/ui.config.ts +22 -0
- package/components/elements/alert/AAlert.vue +65 -0
- package/components/elements/banner/ABanner.vue +49 -0
- package/components/elements/bg-block/ABgBlock.vue +11 -0
- package/components/elements/button/AButton.vue +188 -0
- package/components/elements/button/types.ts +24 -0
- package/components/elements/calendar/ACalendar.vue +83 -0
- package/components/elements/carousel/ACarousel.vue +159 -0
- package/components/elements/carousel/config.ui.ts +15 -0
- package/components/elements/carousel/types.ts +18 -0
- package/components/elements/chip-wrapper/AChipWrapper.vue +80 -0
- package/components/elements/chip-wrapper/types.ts +12 -0
- package/components/elements/chips/AChips.vue +32 -0
- package/components/elements/companies/AOurClients.vue +42 -0
- package/components/elements/curve-block/ACurveBlock.vue +196 -0
- package/components/elements/digit-badge/ADigitBadge.vue +83 -0
- package/components/elements/error-template/index.vue +48 -0
- package/components/elements/error-template/types.ts +23 -0
- package/components/elements/feature-description/AFeatureDescription.vue +112 -0
- package/components/elements/illustrations/noAccess.vue +62 -0
- package/components/elements/infinite-carousel/AInfiniteCarousel.vue +55 -0
- package/components/elements/infinite-scroll/AInfiniteScroll.vue +33 -0
- package/components/elements/leave-note/ALeaveNote.vue +77 -0
- package/components/elements/pagination/APagination.vue +110 -0
- package/components/elements/photos-animation/APhotosAnimation.vue +83 -0
- package/components/elements/select/ASelect.vue +389 -0
- package/components/elements/select/ASelectMobile.vue +186 -0
- package/components/elements/select/ui/select-button.vue +112 -0
- package/components/elements/select/ui/select-list.vue +99 -0
- package/components/elements/show-more/AShowMore.vue +35 -0
- package/components/elements/skeleton/ASkeleton.vue +44 -0
- package/components/elements/star-rating/AStarRating.vue +181 -0
- package/components/elements/star-rating/types.ts +8 -0
- package/components/elements/star-rating/ui/Star.vue +74 -0
- package/components/elements/status-badge/AStatusBadge.vue +74 -0
- package/components/elements/table/ATable.vue +93 -0
- package/components/elements/table/table.config.ts +32 -0
- package/components/elements/tree-select/ATreeSelect.vue +169 -0
- package/components/elements/tree-select/TreeService.ts +249 -0
- package/components/elements/tree-select/components/tree-select-nodes.vue +90 -0
- package/components/elements/tree-select/types.ts +34 -0
- package/components/elements/tree-select-mobile/ATreeSelectMobile.vue +79 -0
- package/components/elements/tree-select-mobile/components/ATreeSelectNodesMobile.vue +175 -0
- package/components/features/color-mode/AColorMode.client.vue +53 -0
- package/components/features/dropdown/ADropdown.vue +124 -0
- package/components/features/go-top/GoTop.vue +58 -0
- package/components/features/lang-switcher/lang-switcher.vue +56 -0
- package/components/features/pk-mobile-services/APkMobileServices.vue +130 -0
- package/components/features//321/201hange-version/AChangeVersion.vue +20 -0
- package/components/forms/README.md +1 -0
- package/components/forms/checkbox/ACheckbox.vue +151 -0
- package/components/forms/feedback-form/FeedbackForm.vue +171 -0
- package/components/forms/input/button/AInputButton.vue +53 -0
- package/components/forms/input/date/AInputDate.vue +213 -0
- package/components/forms/input/password/AInputPassword.vue +53 -0
- package/components/forms/input/standard/AInputStandard.vue +412 -0
- package/components/forms/input/textarea/ATextarea.vue +200 -0
- package/components/forms/radio-button/ARadioButton.vue +87 -0
- package/components/forms/request-demo/ARequestDemo.vue +90 -0
- package/components/forms/toggle/AToggle.vue +157 -0
- package/components/forms/toggle/types.ts +16 -0
- package/components/modals/AboutTariffModal.vue +113 -0
- package/components/modals/AnotherDeviceModal.vue +59 -0
- package/components/modals/ApplicationAcceptedModal.vue +47 -0
- package/components/modals/AuthModal.vue +50 -0
- package/components/modals/ConnectingTariffModal.vue +68 -0
- package/components/modals/ContactsMobileModel.vue +182 -0
- package/components/modals/ContentNavigationModal.vue +282 -0
- package/components/modals/Insufficient-funds-modal.vue +74 -0
- package/components/modals/LimitReachedModal.vue +29 -0
- package/components/modals/NoAccessModal.vue +37 -0
- package/components/modals/PaymentMethodModal.vue +101 -0
- package/components/modals/RedirectsBanksModal.vue +69 -0
- package/components/modals/ReplenishModal.vue +132 -0
- package/components/modals/ReportBugConfirmModal.vue +30 -0
- package/components/modals/ReportBugModal.vue +156 -0
- package/components/modals/SubmitApplicationModal.vue +111 -0
- package/components/navigation/README.md +1 -0
- package/components/navigation/bottom-navigation/ABottomNavigation.vue +101 -0
- package/components/navigation/breadcrumbs/ABreadcrumbs.vue +66 -0
- package/components/navigation/breadcrumbs/types.ts +4 -0
- package/components/navigation/footer/AFooter.vue +126 -0
- package/components/navigation/footer/NewFooter.vue +276 -0
- package/components/navigation/footer/ui/footer-acccordion.vue +119 -0
- package/components/navigation/footer/ui/new-footer-accordion.vue +120 -0
- package/components/navigation/header/AHeader.vue +187 -0
- package/components/navigation/header/AlmatyContacts.vue +143 -0
- package/components/navigation/header/AstanaContacts.vue +65 -0
- package/components/navigation/header/CardGallery.vue +248 -0
- package/components/navigation/header/ContactMenu.vue +114 -0
- package/components/navigation/header/HeaderLink.vue +247 -0
- package/components/navigation/header/ListItem.vue +31 -0
- package/components/navigation/header/NavCard.vue +41 -0
- package/components/navigation/header/NavList.vue +115 -0
- package/components/navigation/header/NotificationsMenu.vue +51 -0
- package/components/navigation/header/ProductMenu.vue +212 -0
- package/components/navigation/header/ProfileMenu.vue +189 -0
- package/components/navigation/header/TopHeader.vue +181 -0
- package/components/navigation/header/types.ts +28 -0
- package/components/navigation/line-tabs/ALineTabs.vue +111 -0
- package/components/navigation/line-tabs/types.ts +21 -0
- package/components/navigation/mobile-navigation/AMobileNavigation.vue +104 -0
- package/components/navigation/pill-tabs/APillTabs.vue +157 -0
- package/components/navigation/pill-tabs/types.ts +22 -0
- package/components/navigation/side-navigation/ASideNavigation.vue +404 -0
- package/components/overlays/README.md +1 -0
- package/components/overlays/modal/AModal.vue +332 -0
- package/components/overlays/sideover/ASlideover.vue +351 -0
- package/components/overlays/tooltip/ATooltip.vue +242 -0
- package/components/transitions/ATransitionHeight.vue +67 -0
- package/components/utils/index.ts +19 -0
- package/composables/highlight.ts +18 -0
- package/composables/modalsState.ts +8 -0
- package/composables/projectState.ts +2 -0
- package/composables/useAdaptive.ts +46 -0
- package/composables/useCarouselScroll.ts +49 -0
- package/composables/useHeaderNavigationLinks.ts +576 -0
- package/composables/useUIValidation.ts +16 -0
- package/histoire.config.ts +10 -0
- package/i18n/i18n.config.ts +21 -0
- package/i18n.config.ts +21 -0
- package/icons/adata-logo.vue +17 -0
- package/icons/arrow/arrow-bottom-left-on-square.vue +5 -0
- package/icons/arrow/arrow-circle-down.vue +20 -0
- package/icons/arrow/arrow-circle-reset.vue +16 -0
- package/icons/arrow/arrow-corner.vue +9 -0
- package/icons/arrow/arrow-graph-down.vue +13 -0
- package/icons/arrow/arrow-graph-up.vue +14 -0
- package/icons/arrow/arrow-square-down.vue +15 -0
- package/icons/arrow/arrow-top-right-on-square.vue +6 -0
- package/icons/arrow-currency-gray.vue +5 -0
- package/icons/arrow-currency-green.vue +5 -0
- package/icons/arrow-currency-red.vue +5 -0
- package/icons/arrow-side-up.vue +6 -0
- package/icons/avatar.vue +12 -0
- package/icons/block.vue +16 -0
- package/icons/bookmark/bookmark-filled.vue +18 -0
- package/icons/bookmark/bookmark.vue +5 -0
- package/icons/browsers/browser-duck.vue +65 -0
- package/icons/browsers/browser-google.vue +24 -0
- package/icons/browsers/browser-yandex.vue +13 -0
- package/icons/building-vector.vue +7 -0
- package/icons/calculator.vue +7 -0
- package/icons/calendar.vue +24 -0
- package/icons/car.vue +7 -0
- package/icons/check/check-circle.vue +6 -0
- package/icons/check/check-shield.vue +14 -0
- package/icons/check/check.vue +17 -0
- package/icons/check/checkmark-circle.vue +6 -0
- package/icons/checkbox/checkbox-active.vue +17 -0
- package/icons/checkbox/checkbox-empty.vue +10 -0
- package/icons/checkbox/checkbox-intermediate.vue +7 -0
- package/icons/chevron/chevron-down.vue +5 -0
- package/icons/chevron/chevron-left.vue +5 -0
- package/icons/chevron/chevron-right.vue +5 -0
- package/icons/chevron/chevron-up.vue +5 -0
- package/icons/chevron/double-chevron-right.vue +12 -0
- package/icons/clipboard-text.vue +7 -0
- package/icons/clock.vue +9 -0
- package/icons/company/company-bazis.vue +21 -0
- package/icons/company/company-bereke.vue +25 -0
- package/icons/company/company-bigroup.vue +16 -0
- package/icons/company/company-erg.vue +17 -0
- package/icons/company/company-forte.vue +23 -0
- package/icons/company/company-halyk.vue +15 -0
- package/icons/company/company-jusan.vue +14 -0
- package/icons/company/company-kaspi.vue +14 -0
- package/icons/company/company-mycar.vue +13 -0
- package/icons/company/company-samruk.vue +21 -0
- package/icons/company-egov-small.vue +15 -0
- package/icons/company.vue +8 -0
- package/icons/copy.vue +7 -0
- package/icons/currency/currency-dollar.vue +16 -0
- package/icons/currency/currency-down.vue +22 -0
- package/icons/currency/currency-eur.vue +57 -0
- package/icons/currency/currency-rub.vue +7 -0
- package/icons/currency/currency-usd.vue +221 -0
- package/icons/currency/currency-yuan.vue +25 -0
- package/icons/delete.vue +7 -0
- package/icons/document.vue +5 -0
- package/icons/download.vue +11 -0
- package/icons/edit.vue +7 -0
- package/icons/education.vue +16 -0
- package/icons/egov-small.vue +7 -0
- package/icons/expand-window.vue +7 -0
- package/icons/eye-closed.vue +26 -0
- package/icons/eye-open.vue +7 -0
- package/icons/eye-opened.vue +23 -0
- package/icons/file/file.vue +16 -0
- package/icons/file/files.vue +16 -0
- package/icons/filter.vue +5 -0
- package/icons/flag.vue +7 -0
- package/icons/gift.vue +8 -0
- package/icons/globe.vue +16 -0
- package/icons/graph-pie.vue +14 -0
- package/icons/hand/hand-thumb-up-filled.vue +5 -0
- package/icons/hand/hand-thumb-up.vue +5 -0
- package/icons/hand-with-phone/hand-with-phone-dark.vue +52 -0
- package/icons/hand-with-phone/hand-with-phone-light.vue +52 -0
- package/icons/handshake.vue +5 -0
- package/icons/hcheck.vue +14 -0
- package/icons/hdocument.vue +7 -0
- package/icons/history.vue +5 -0
- package/icons/horizontal-more.vue +13 -0
- package/icons/hummer.vue +16 -0
- package/icons/id.vue +7 -0
- package/icons/info/info-circle.vue +29 -0
- package/icons/invoice.vue +7 -0
- package/icons/judge.vue +14 -0
- package/icons/link-chain.vue +28 -0
- package/icons/link.vue +7 -0
- package/icons/linkedin.vue +24 -0
- package/icons/loader-circle.vue +27 -0
- package/icons/location.vue +8 -0
- package/icons/lock.vue +5 -0
- package/icons/logo.vue +15 -0
- package/icons/logout.vue +16 -0
- package/icons/magnify/magnifying-glass-minus.vue +8 -0
- package/icons/magnify/magnifying-glass-plus.vue +9 -0
- package/icons/magnify/magnifying-glass.vue +9 -0
- package/icons/mail.vue +7 -0
- package/icons/main-filter.vue +5 -0
- package/{dist/img/location.807c7100.svg → icons/map/map-pin-filled.vue} +7 -4
- package/icons/map/map-pin-rect.vue +15 -0
- package/{src/assets/location.svg → icons/map/map-pin.vue} +7 -4
- package/icons/map-marker-start.vue +7 -0
- package/icons/map-paper.vue +5 -0
- package/icons/medal.vue +7 -0
- package/icons/menu-filled.vue +20 -0
- package/icons/menu.vue +8 -0
- package/icons/message/message.vue +12 -0
- package/icons/minus/minus-circle.vue +10 -0
- package/icons/money.vue +5 -0
- package/icons/monitoring.vue +10 -0
- package/icons/moon.vue +8 -0
- package/icons/more.vue +29 -0
- package/icons/note-pencil.vue +14 -0
- package/icons/note.vue +14 -0
- package/icons/notification.vue +16 -0
- package/icons/paperclip.vue +7 -0
- package/icons/payment/payment-card.vue +6 -0
- package/icons/payment/payment-kaspi.vue +11 -0
- package/icons/person-vector.vue +7 -0
- package/icons/person-with-briefcase.vue +10 -0
- package/icons/phone-filled.vue +5 -0
- package/icons/phone.vue +7 -0
- package/icons/plus/plus-circle.vue +8 -0
- package/icons/plus/plus.vue +13 -0
- package/icons/profile.vue +5 -0
- package/icons/radio/radio-check.vue +8 -0
- package/icons/radio/radio-empty.vue +10 -0
- package/icons/receipt.vue +8 -0
- package/icons/robot.vue +14 -0
- package/icons/scales/scale.vue +16 -0
- package/icons/scales/scales.vue +5 -0
- package/icons/scales/standing-scales.vue +15 -0
- package/icons/search.vue +15 -0
- package/icons/share/share-alt.vue +5 -0
- package/icons/share/share.vue +14 -0
- package/icons/ship.vue +8 -0
- package/icons/socials/face-book.vue +15 -0
- package/icons/socials/instagram.vue +19 -0
- package/icons/socials/telegram.vue +15 -0
- package/icons/socials/tik-tok.vue +15 -0
- package/icons/socials/youtube.vue +16 -0
- package/icons/sort/sort-asc.vue +15 -0
- package/icons/sort/sort-desc.vue +15 -0
- package/icons/splitting-arrows.vue +8 -0
- package/icons/star/star-filled.vue +40 -0
- package/icons/star/star-half-filled.vue +20 -0
- package/icons/star/star.vue +25 -0
- package/icons/sun.vue +14 -0
- package/icons/sviazi.vue +5 -0
- package/icons/tag.vue +30 -0
- package/icons/tender-search.vue +11 -0
- package/icons/toasts/check-circle-toast.vue +6 -0
- package/icons/toasts/warning-triangle-toast.vue +7 -0
- package/icons/trash.vue +13 -0
- package/icons/triangle.vue +10 -0
- package/icons/truck.vue +7 -0
- package/icons/user-square.vue +14 -0
- package/icons/user.vue +22 -0
- package/icons/users-focus.vue +8 -0
- package/icons/users-three.vue +7 -0
- package/icons/users.vue +8 -0
- package/icons/warning/warning-circle.vue +29 -0
- package/icons/warning/warning-triangle-filled.vue +12 -0
- package/icons/warning/warning-triangle.vue +28 -0
- package/icons/whatsapp.vue +8 -0
- package/icons/work-bag.vue +11 -0
- package/icons/work-search.vue +10 -0
- package/icons/work.vue +5 -0
- package/icons/x-mark.vue +15 -0
- package/illustrations/address-location.vue +38 -0
- package/illustrations/ball-with-chain.vue +120 -0
- package/illustrations/bill.vue +133 -0
- package/illustrations/buildings.vue +82 -0
- package/illustrations/calendar.vue +156 -0
- package/illustrations/chains.vue +152 -0
- package/illustrations/coin-percent.vue +126 -0
- package/illustrations/coins-stack.vue +202 -0
- package/illustrations/delete-dark.vue +31 -0
- package/illustrations/delete.vue +32 -0
- package/illustrations/doc-with-stamp.vue +126 -0
- package/illustrations/document.vue +64 -0
- package/illustrations/door.vue +74 -0
- package/illustrations/empty-box.vue +77 -0
- package/illustrations/empty-wallet.vue +161 -0
- package/illustrations/graph-in-coin.vue +119 -0
- package/illustrations/hammer.vue +156 -0
- package/illustrations/hand-cash.vue +108 -0
- package/illustrations/info.vue +39 -0
- package/illustrations/mail.vue +68 -0
- package/illustrations/ok.vue +62 -0
- package/illustrations/people-group.vue +237 -0
- package/illustrations/person-with-phone.vue +187 -0
- package/illustrations/person.vue +159 -0
- package/illustrations/phone-check.vue +90 -0
- package/illustrations/phone-payment-method.vue +223 -0
- package/illustrations/stop-hand.vue +77 -0
- package/illustrations/stop-sign.vue +34 -0
- package/illustrations/suit.vue +111 -0
- package/illustrations/suitcase.vue +105 -0
- package/illustrations/terminal-dark.vue +48 -0
- package/illustrations/terminal.vue +234 -0
- package/illustrations/trash-can.vue +108 -0
- package/illustrations/turn-on-tariff.vue +38 -0
- package/illustrations/two-persons.vue +169 -0
- package/lang/en.ts +593 -0
- package/lang/kk.ts +594 -0
- package/lang/ru.ts +595 -0
- package/layouts/default.vue +13 -0
- package/nuxt.config.ts +64 -0
- package/package.json +65 -76
- package/plugins/maska.ts +5 -0
- package/plugins/toast.client.ts +58 -0
- package/public/error-illustrations/401.webp +0 -0
- package/public/error-illustrations/403.webp +0 -0
- package/public/error-illustrations/404.webp +0 -0
- package/public/error-illustrations/500.webp +0 -0
- package/public/error-illustrations/502.webp +0 -0
- package/public/error-illustrations/503.webp +0 -0
- package/public/error-illustrations/504.webp +0 -0
- package/public/header/compliance.webp +0 -0
- package/public/header/unload.webp +0 -0
- package/public/header/ved.webp +0 -0
- package/public/mode/dark-analytics-en.webp +0 -0
- package/public/mode/dark-analytics-kk.webp +0 -0
- package/public/mode/dark-analytics-ru.webp +0 -0
- package/public/mode/dark-complience-en.webp +0 -0
- package/public/mode/dark-complience-kk.webp +0 -0
- package/public/mode/dark-complience-ru.webp +0 -0
- package/public/mode/dark-fea-en.webp +0 -0
- package/public/mode/dark-fea-kk.webp +0 -0
- package/public/mode/dark-fea-ru.webp +0 -0
- package/public/mode/dark-fines-en.webp +0 -0
- package/public/mode/dark-fines-kk.webp +0 -0
- package/public/mode/dark-fines-ru.webp +0 -0
- package/public/mode/dark-pk-en.webp +0 -0
- package/public/mode/dark-pk-kk.webp +0 -0
- package/public/mode/dark-pk-ru.webp +0 -0
- package/public/mode/dark-tenders-en.webp +0 -0
- package/public/mode/dark-tenders-kk.webp +0 -0
- package/public/mode/dark-tenders-ru.webp +0 -0
- package/public/mode/dark-work-en.webp +0 -0
- package/public/mode/dark-work-kk.webp +0 -0
- package/public/mode/dark-work-ru.webp +0 -0
- package/public/mode/light-analytics-en.webp +0 -0
- package/public/mode/light-analytics-kk.webp +0 -0
- package/public/mode/light-analytics-ru.webp +0 -0
- package/public/mode/light-complience-en.webp +0 -0
- package/public/mode/light-complience-kk.webp +0 -0
- package/public/mode/light-complience-ru.webp +0 -0
- package/public/mode/light-fea-en.webp +0 -0
- package/public/mode/light-fea-kk.webp +0 -0
- package/public/mode/light-fea-ru.webp +0 -0
- package/public/mode/light-fines-en.webp +0 -0
- package/public/mode/light-fines-kk.webp +0 -0
- package/public/mode/light-fines-ru.webp +0 -0
- package/public/mode/light-pk-en.webp +0 -0
- package/public/mode/light-pk-kk.webp +0 -0
- package/public/mode/light-pk-ru.webp +0 -0
- package/public/mode/light-tenders-en.webp +0 -0
- package/public/mode/light-tenders-kk.webp +0 -0
- package/public/mode/light-tenders-ru.webp +0 -0
- package/public/mode/light-work-en.webp +0 -0
- package/public/mode/light-work-kk.webp +0 -0
- package/public/mode/light-work-ru.webp +0 -0
- package/public/tariff/subtract.png +0 -0
- package/shared/constans/pages.ts +73 -0
- package/tailwind.config.ts +163 -0
- package/tests/AButton.test.ts +81 -0
- package/tsconfig.json +6 -0
- package/utils/getMaxZindex.ts +25 -0
- package/utils/localizedNavigation.ts +36 -0
- package/vitest.config.ts +14 -0
- package/babel.config.js +0 -5
- package/dist/adata-ui.common.js +0 -10910
- package/dist/adata-ui.common.js.map +0 -1
- package/dist/adata-ui.css +0 -1
- package/dist/adata-ui.umd.js +0 -10920
- package/dist/adata-ui.umd.js.map +0 -1
- package/dist/adata-ui.umd.min.js +0 -7
- package/dist/adata-ui.umd.min.js.map +0 -1
- package/dist/demo.html +0 -10
- package/dist/img/expand-window.39c851da.svg +0 -3
- package/dist/img/facebook.797d820f.svg +0 -4
- package/dist/img/instagram.8a77381c.svg +0 -6
- package/dist/img/linkedIn.607d9542.svg +0 -13
- package/dist/img/logo-desktop-main.4d169395.svg +0 -8
- package/dist/img/logo-mobile-main.397bce24.svg +0 -4
- package/dist/img/logo-white-desktop.7d0e3481.svg +0 -8
- package/dist/img/mail.e4826575.svg +0 -3
- package/dist/img/phone.ae6c1746.svg +0 -3
- package/dist/img/telegram.be0d1008.svg +0 -4
- package/dist/img/tiktok.eaeb39cb.svg +0 -4
- package/dist/img/up-down.e2b28f72.svg +0 -3
- package/dist/img/youtube.125aace6.svg +0 -5
- package/package-lock.json +0 -27138
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -17
- package/public/logo.svg +0 -4
- package/src/App.vue +0 -31
- package/src/assets/_text_field.scss +0 -225
- package/src/assets/expand-window.svg +0 -3
- package/src/assets/facebook.svg +0 -4
- package/src/assets/instagram.svg +0 -6
- package/src/assets/linkedIn.svg +0 -13
- package/src/assets/logo-desktop-main.svg +0 -8
- package/src/assets/logo-desktop.svg +0 -9
- package/src/assets/logo-desktop.webp +0 -0
- package/src/assets/logo-mobile-main.svg +0 -4
- package/src/assets/logo-mobile.svg +0 -9
- package/src/assets/logo-mobile.webp +0 -0
- package/src/assets/logo-white-desktop.svg +0 -8
- package/src/assets/mail.svg +0 -3
- package/src/assets/phone.svg +0 -3
- package/src/assets/style.scss +0 -1
- package/src/assets/telegram.svg +0 -4
- package/src/assets/tiktok.svg +0 -4
- package/src/assets/up-down.svg +0 -3
- package/src/assets/youtube.svg +0 -5
- package/src/components/Alert/Alert.stories.js +0 -17
- package/src/components/Alert/Alert.vue +0 -63
- package/src/components/BottomNavigationBar/ABottomNavigationBar.vue +0 -160
- package/src/components/BottomNavigationBar/BottomNavigationBar.stories.js +0 -25
- package/src/components/Button/AButton.vue +0 -231
- package/src/components/Button/Button.stories.js +0 -23
- package/src/components/Checkbox/ACheckbox.vue +0 -114
- package/src/components/Checkbox/Checkbox.stories.js +0 -15
- package/src/components/CheckboxMenu/CheckboxMenu.stories.js +0 -24
- package/src/components/CheckboxMenu/CheckboxMenu.vue +0 -108
- package/src/components/ErrorPages/BadGateway.vue +0 -224
- package/src/components/ErrorPages/Forbidden.vue +0 -468
- package/src/components/ErrorPages/InternalServerError.vue +0 -275
- package/src/components/ErrorPages/NotFound.vue +0 -995
- package/src/components/ErrorPages/Unavailable.vue +0 -3705
- package/src/components/Footer/Footer.stories.js +0 -20
- package/src/components/Footer/Footer.vue +0 -292
- package/src/components/Header/ChildLinks.vue +0 -144
- package/src/components/Header/Header.stories.js +0 -56
- package/src/components/Header/Header.vue +0 -1306
- package/src/components/Header/InfoHeader.vue +0 -319
- package/src/components/Header/Profile.vue +0 -670
- package/src/components/Header/ProfileMenu.vue +0 -293
- package/src/components/Header/ProfileMobile.vue +0 -308
- package/src/components/Header/ProfileOld.vue +0 -781
- package/src/components/InternalServerError/InternalServerError.stories.js +0 -17
- package/src/components/InternalServerError/InternalServerError.vue +0 -262
- package/src/components/Introduction.stories.mdx +0 -7
- package/src/components/Loader/Loader.stories.js +0 -25
- package/src/components/Loader/Loader.vue +0 -325
- package/src/components/MailTo/MailTo.stories.js +0 -15
- package/src/components/MailTo/MailTo.vue +0 -258
- package/src/components/NavIcon/ANavIcon.vue +0 -50
- package/src/components/NavIcon/NavIcon.stories.js +0 -15
- package/src/components/PasswordField/PasswordField.stories.js +0 -16
- package/src/components/PasswordField/PasswordField.vue +0 -77
- package/src/components/SearchTextField/SearchTextField.stories.js +0 -78
- package/src/components/SearchTextField/SearchTextField.vue +0 -230
- package/src/components/ServiceSlider/AServiceSlider.vue +0 -793
- package/src/components/ServiceSlider/ServiceSlider.stories.js +0 -20
- package/src/components/Table/ATable.vue +0 -117
- package/src/components/Table/Table.stories.js +0 -15
- package/src/components/TextArea/TextArea.stories.js +0 -17
- package/src/components/TextArea/TextArea.vue +0 -116
- package/src/components/TextError/TextError.stories.js +0 -15
- package/src/components/TextError/TextError.vue +0 -57
- package/src/components/TextField/TextField.stories.js +0 -17
- package/src/components/TextField/TextField.vue +0 -107
- package/src/components/index.js +0 -56
- package/src/components/newComponents/FooterNew/FooterBottom.vue +0 -153
- package/src/components/newComponents/FooterNew/FooterItem.vue +0 -114
- package/src/components/newComponents/FooterNew/FooterNew.stories.js +0 -20
- package/src/components/newComponents/FooterNew/FooterNew.vue +0 -39
- package/src/components/newComponents/FooterNew/FooterTop.vue +0 -321
- package/src/components/newComponents/FooterRedesign/FooterAccordion.vue +0 -221
- package/src/components/newComponents/FooterRedesign/FooterRedesign.vue +0 -430
- package/src/components/transitions/SlideToggle.vue +0 -55
- package/src/components/transitions/VerticalMobileToggle.vue +0 -75
- package/src/configs/icons.js +0 -112
- package/src/configs/profileDropDown.js +0 -134
- package/src/main.js +0 -12
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import AFooter from './Footer.vue'
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Footer',
|
|
5
|
-
component: AFooter,
|
|
6
|
-
template: '<a-footer></a-footer>'
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const Template = (args, { argTypes }) => ({
|
|
10
|
-
components: { AFooter },
|
|
11
|
-
props: Object.keys(argTypes),
|
|
12
|
-
template: '<a-footer v-bind="$props"></a-footer>'
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
export const MainFooter = Template.bind({});
|
|
16
|
-
|
|
17
|
-
export const WithBottomMenu = Template.bind({});
|
|
18
|
-
WithBottomMenu.args = {
|
|
19
|
-
hasBottomMenu: true
|
|
20
|
-
}
|
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<footer class="a-footer" :class="[{'paddinged': hasBottomMenu}]">
|
|
3
|
-
<div class="a-footer__top">
|
|
4
|
-
<div class="nav">
|
|
5
|
-
<a class="adata-logo" href="https://adata.kz">
|
|
6
|
-
<svg fill="#2C3E50" xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
viewBox="0 0 166 48" version="1.1">
|
|
8
|
-
<path
|
|
9
|
-
d="M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"></path>
|
|
10
|
-
<path
|
|
11
|
-
d="M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"></path>
|
|
12
|
-
</svg>
|
|
13
|
-
</a>
|
|
14
|
-
<div class="social">
|
|
15
|
-
<a target="_blank" rel="nofollow"
|
|
16
|
-
href="https://www.facebook.com/adata.kz">
|
|
17
|
-
<svg fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
18
|
-
viewBox="0 0 16 16" class="social__icon">
|
|
19
|
-
<path
|
|
20
|
-
d="M13.6562 0H2.34375C1.05151 0 0 1.05151 0 2.34375V13.6562C0 14.9485 1.05151 16 2.34375 16H7.0625V10.3438H5.1875V7.53125H7.0625V5.625C7.0625 4.0741 8.3241 2.8125 9.875 2.8125H12.7188V5.625H9.875V7.53125H12.7188L12.25 10.3438H9.875V16H13.6562C14.9485 16 16 14.9485 16 13.6562V2.34375C16 1.05151 14.9485 0 13.6562 0Z"
|
|
21
|
-
fill="#2C3E50"></path>
|
|
22
|
-
</svg>
|
|
23
|
-
|
|
24
|
-
</a>
|
|
25
|
-
<a target="_blank" rel="nofollow"
|
|
26
|
-
href="https://www.instagram.com/adata.kz/?igshid=253i4qxg3els">
|
|
27
|
-
<svg fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
28
|
-
viewBox="0 0 16 16" class="social__icon">
|
|
29
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
30
|
-
d="M3.01562 0.0166016C1.35877 0.0166016 0.015625 1.35975 0.015625 3.0166V13.001C0.015625 14.6578 1.35877 16.001 3.01562 16.001H13C14.6569 16.001 16 14.6578 16 13.001V3.0166C16 1.35975 14.6569 0.0166016 13 0.0166016H3.01562ZM14.3891 3.20021C14.3891 3.6416 14.0313 3.99943 13.5899 3.99943C13.1485 3.99943 12.7906 3.6416 12.7906 3.20021C12.7906 2.75881 13.1485 2.40099 13.5899 2.40099C14.0313 2.40099 14.3891 2.75881 14.3891 3.20021ZM8.01132 11.5982C9.99761 11.5982 11.6078 9.98805 11.6078 8.00176C11.6078 6.01548 9.99761 4.40528 8.01132 4.40528C6.02504 4.40528 4.41484 6.01548 4.41484 8.00176C4.41484 9.98805 6.02504 11.5982 8.01132 11.5982ZM8.01132 12.7971C10.6597 12.7971 12.8066 10.6501 12.8066 8.00176C12.8066 5.35339 10.6597 3.20645 8.01132 3.20645C5.36295 3.20645 3.21601 5.35339 3.21601 8.00176C3.21601 10.6501 5.36295 12.7971 8.01132 12.7971Z"
|
|
31
|
-
fill="#2C3E50"></path>
|
|
32
|
-
</svg>
|
|
33
|
-
</a>
|
|
34
|
-
<a target="_blank" rel="nofollow"
|
|
35
|
-
href="https://www.youtube.com/channel/UCPkbtgwgTZbMJXjmTi3R8Uw/featured">
|
|
36
|
-
<svg fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
37
|
-
viewBox="0 0 16 16" class="social__icon">
|
|
38
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
39
|
-
d="M2 0C0.895431 0 0 0.895431 0 2V14C0 15.1046 0.895431 16 2 16H14C15.1046 16 16 15.1046 16 14V2C16 0.895431 15.1046 0 14 0H2ZM13.7528 4.98132C13.6144 4.46732 13.2092 4.06205 12.6952 3.92367C11.7561 3.66667 7.99997 3.66667 7.99997 3.66667C7.99997 3.66667 4.24381 3.66667 3.30477 3.91378C2.80066 4.05217 2.3855 4.46732 2.24712 4.98132C2 5.92036 2 7.86764 2 7.86764C2 7.86764 2 9.82479 2.24712 10.7539C2.3855 11.268 2.79077 11.6732 3.30477 11.8116C4.2537 12.0686 7.99997 12.0686 7.99997 12.0686C7.99997 12.0686 11.7561 12.0686 12.6952 11.8215C13.2092 11.6831 13.6144 11.2778 13.7528 10.7638C13.9999 9.82479 13.9999 7.87752 13.9999 7.87752C13.9999 7.87752 14.0098 5.92036 13.7528 4.98132ZM6.80392 9.59801L9.92747 7.799L6.80392 6V9.59801Z"
|
|
40
|
-
fill="#2C3E50"></path>
|
|
41
|
-
</svg>
|
|
42
|
-
</a>
|
|
43
|
-
<a target="_blank" rel="nofollow"
|
|
44
|
-
href="https://www.tiktok.com/@adata.kz?lang=ru-RU">
|
|
45
|
-
<svg fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
46
|
-
viewBox="0 0 16 16" class="social__icon">
|
|
47
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
48
|
-
d="M2 0C0.895431 0 0 0.895431 0 2V14C0 15.1046 0.895431 16 2 16H14C15.1046 16 16 15.1046 16 14V2C16 0.895431 15.1046 0 14 0H2ZM8.27136 9.89447C8.27136 10.8688 7.54987 11.506 6.65988 11.506C5.76988 11.506 5.04839 10.7845 5.04839 9.89447C5.04839 9.0988 5.7895 8.37096 6.68689 8.40404C6.86305 8.40404 7.06987 8.44599 7.15006 8.47436V6.62331C5.55588 6.30091 3.14893 7.62001 3.14893 9.89447C3.14893 11.506 4.38899 13.3333 6.65988 13.3333C8.93076 13.3333 10.1985 11.506 10.1985 9.89447V6.23373C10.5643 6.52374 11.6152 7.04631 12.8511 7.04631V5.229C11.406 5.25812 10.0956 3.98482 10.204 2.66667H8.27136V9.89447Z"
|
|
49
|
-
fill="#2C3E50"></path>
|
|
50
|
-
</svg>
|
|
51
|
-
</a>
|
|
52
|
-
</div>
|
|
53
|
-
<a href="https://adata.kz/tariffs" class="nav__item nav__link">
|
|
54
|
-
Тарифы
|
|
55
|
-
</a>
|
|
56
|
-
<a href="https://adata.kz/about" class="nav__item nav__link">
|
|
57
|
-
Полезное
|
|
58
|
-
</a>
|
|
59
|
-
<a href="https://adata.kz/apiInfo" class="nav__item nav__link">
|
|
60
|
-
Описание API
|
|
61
|
-
</a>
|
|
62
|
-
<a href="https://adata.kz/user-agreements" class="nav__item nav__link">
|
|
63
|
-
Пользовательское соглашение
|
|
64
|
-
</a>
|
|
65
|
-
<a href="https://adata.kz/vacancy" class="nav__item nav__link">
|
|
66
|
-
Вакансии
|
|
67
|
-
</a>
|
|
68
|
-
<a href="https://pk.adata.kz/counterparty" class="nav__item nav__link">
|
|
69
|
-
Каталог предприятий
|
|
70
|
-
</a>
|
|
71
|
-
<a href="https://adata.kz/contacts" class="nav__item nav__link">
|
|
72
|
-
Контакты
|
|
73
|
-
</a>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="a-footer__bottom">
|
|
77
|
-
<span>2024 © ТОО "Alldata"</span>
|
|
78
|
-
</div>
|
|
79
|
-
</footer>
|
|
80
|
-
</template>
|
|
81
|
-
|
|
82
|
-
<script>
|
|
83
|
-
export default {
|
|
84
|
-
name: "Footer",
|
|
85
|
-
props: {
|
|
86
|
-
hasBottomMenu: {
|
|
87
|
-
type: Boolean,
|
|
88
|
-
default: false
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
</script>
|
|
93
|
-
<style lang="scss">
|
|
94
|
-
ul, li {
|
|
95
|
-
list-style: none;
|
|
96
|
-
text-decoration: none;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
a {
|
|
100
|
-
text-decoration: none;
|
|
101
|
-
background-color: transparent;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
* {
|
|
105
|
-
font-family: "Open Sans", sans-serif;
|
|
106
|
-
box-sizing: border-box;
|
|
107
|
-
margin: 0;
|
|
108
|
-
padding: 0;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.a-footer {
|
|
112
|
-
background: #BDC7CE4C;
|
|
113
|
-
font-size: 14px;
|
|
114
|
-
margin-top: 20px;
|
|
115
|
-
width: 100%;
|
|
116
|
-
@media(max-width: 1025px) {
|
|
117
|
-
background: #F6F6F7;
|
|
118
|
-
&.paddinged {
|
|
119
|
-
padding-bottom: 64px;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&__top {
|
|
124
|
-
|
|
125
|
-
margin: 0 auto;
|
|
126
|
-
padding: 20px 24px;
|
|
127
|
-
@media(max-width: 1025px) {
|
|
128
|
-
flex-direction: column;
|
|
129
|
-
padding: 16px 16px;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.adata-logo {
|
|
133
|
-
display: none;
|
|
134
|
-
@media(max-width: 1025px) {
|
|
135
|
-
display: flex;
|
|
136
|
-
svg {
|
|
137
|
-
width: 77px;
|
|
138
|
-
height: 24px;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
.nav {
|
|
145
|
-
width: 100%;
|
|
146
|
-
display: flex;
|
|
147
|
-
justify-content: center;
|
|
148
|
-
align-items: center;
|
|
149
|
-
gap: 16px;
|
|
150
|
-
@media(max-width: 1025px) {
|
|
151
|
-
display: grid;
|
|
152
|
-
grid-template-columns: 0.7fr 1fr;
|
|
153
|
-
column-gap: 15px;
|
|
154
|
-
row-gap: 15px;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
&__link {
|
|
158
|
-
line-height: 19px;
|
|
159
|
-
color: #2c3e50;
|
|
160
|
-
@media(max-width: 1025px) {
|
|
161
|
-
font-size: 12px;
|
|
162
|
-
}
|
|
163
|
-
&:hover {
|
|
164
|
-
color: #9da3ac;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
.desktop {
|
|
169
|
-
display: block;
|
|
170
|
-
@media(max-width: 1025px) {
|
|
171
|
-
display: none;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&:active {
|
|
175
|
-
color: #c4c4c4;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.social {
|
|
181
|
-
$self: &;
|
|
182
|
-
display: flex;
|
|
183
|
-
align-items: center;
|
|
184
|
-
margin-left: 15px;
|
|
185
|
-
order: 1;
|
|
186
|
-
@media (max-width: 1025px) {
|
|
187
|
-
margin-left: 0;
|
|
188
|
-
order: 0;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
a {
|
|
192
|
-
display: flex;
|
|
193
|
-
align-items: center;
|
|
194
|
-
line-height: 19px;
|
|
195
|
-
text-decoration-line: none;
|
|
196
|
-
color: #007aff;
|
|
197
|
-
|
|
198
|
-
.social__icon {
|
|
199
|
-
margin: 2px 10px 2px 2px;
|
|
200
|
-
@media (max-width: 1025px) {
|
|
201
|
-
margin: 0 8px 0 0;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
@media(max-width: 1025px) {
|
|
206
|
-
margin-left: 0;
|
|
207
|
-
&:not(:first-child) {
|
|
208
|
-
margin-left: 8px;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
&:hover {
|
|
213
|
-
text-decoration: underline;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
&:active {
|
|
217
|
-
color: #0055bb;
|
|
218
|
-
text-decoration-line: none;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
svg {
|
|
223
|
-
width: 16px;
|
|
224
|
-
height: 16px;
|
|
225
|
-
fill: #2C3E50;
|
|
226
|
-
@media(max-width: 1025px) {
|
|
227
|
-
width: 20px;
|
|
228
|
-
height: 20px;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
&#{$self}__icon {
|
|
232
|
-
cursor: pointer;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
&:hover {
|
|
236
|
-
fill: #9da3ac !important;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
&:active {
|
|
240
|
-
fill: #c4c4c4 !important;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
&__bottom {
|
|
247
|
-
text-align: center;
|
|
248
|
-
padding: 11.5px 0 13px;
|
|
249
|
-
border: 1px solid #BDC7CE;
|
|
250
|
-
@media(max-width: 1025px) {
|
|
251
|
-
background: #EFEFF0;
|
|
252
|
-
border: none;
|
|
253
|
-
border-top: 1px solid #bdc7ce;
|
|
254
|
-
display: grid;
|
|
255
|
-
gap: 8px;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
span {
|
|
259
|
-
font-size: 10px;
|
|
260
|
-
line-height: 12px;
|
|
261
|
-
color: #71757a;
|
|
262
|
-
@media(max-width: 1025px) {
|
|
263
|
-
font-size: 12px;
|
|
264
|
-
line-height: 20px;
|
|
265
|
-
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
&__link {
|
|
270
|
-
font-size: 12px;
|
|
271
|
-
line-height: 20px;
|
|
272
|
-
color: #71757a;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}
|
|
276
|
-
.mobile {
|
|
277
|
-
display: none;
|
|
278
|
-
@media(max-width: 1025px) {
|
|
279
|
-
display: block;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.mobile-head-wrapper {
|
|
287
|
-
display: flex;
|
|
288
|
-
justify-content: space-between;
|
|
289
|
-
align-items: center;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
</style>
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<ul class="child-links">
|
|
3
|
-
<li v-for="(link, i) in links.children" :key="i">
|
|
4
|
-
<div class="child-links__info">
|
|
5
|
-
<component
|
|
6
|
-
class="child-links__info__item"
|
|
7
|
-
exact-active-class="active"
|
|
8
|
-
:is="module === links.key? 'nuxt-link': 'a'"
|
|
9
|
-
:href="module === links.key ? links.to: `${links[mode]}${link.to}`"
|
|
10
|
-
:to="module === links.key ? link.to: null"
|
|
11
|
-
>
|
|
12
|
-
<span v-html="serviceIcons[link.icon]" class="child-links__info__item__icon"></span>
|
|
13
|
-
<p>
|
|
14
|
-
<span class="child-links__info__item__name">{{ link.name }}</span>
|
|
15
|
-
<span class="child-links__info__item__subtitle">{{ link.subtitle }}</span>
|
|
16
|
-
</p>
|
|
17
|
-
</component>
|
|
18
|
-
<component
|
|
19
|
-
:is="module === links.key? 'nuxt-link': 'a'"
|
|
20
|
-
:to="module === links.key ? link.to: null"
|
|
21
|
-
:href="module === links.key ? links.to: `${links[mode]}${link.to}`" class="child-links__info-arrow">
|
|
22
|
-
<svg width="24" height="24" class="ic-24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
23
|
-
<path d="M9 18L15 12L9 6" stroke="#007AFF" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
24
|
-
</svg>
|
|
25
|
-
</component>
|
|
26
|
-
</div>
|
|
27
|
-
</li>
|
|
28
|
-
</ul>
|
|
29
|
-
</template>
|
|
30
|
-
|
|
31
|
-
<script>
|
|
32
|
-
import {serviceIcons} from "@/configs/icons";
|
|
33
|
-
|
|
34
|
-
export default {
|
|
35
|
-
name: "ChildLinks",
|
|
36
|
-
props: {
|
|
37
|
-
links: {
|
|
38
|
-
type: Object,
|
|
39
|
-
default: () => ({})
|
|
40
|
-
},
|
|
41
|
-
module: {
|
|
42
|
-
type: String,
|
|
43
|
-
default: 'counterparty'
|
|
44
|
-
},
|
|
45
|
-
mode: {
|
|
46
|
-
type: String,
|
|
47
|
-
required: true
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
data() {
|
|
51
|
-
return {
|
|
52
|
-
serviceIcons
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
}
|
|
56
|
-
</script>
|
|
57
|
-
|
|
58
|
-
<style scoped lang="scss">
|
|
59
|
-
.child-links {
|
|
60
|
-
position: absolute;
|
|
61
|
-
z-index: 1;
|
|
62
|
-
left: 0;
|
|
63
|
-
background: #FFFFFF;
|
|
64
|
-
padding: 16px;
|
|
65
|
-
box-shadow: 0 10px 70px rgba(0, 0, 0, 0.08);
|
|
66
|
-
border-radius: 8px;
|
|
67
|
-
$self: &;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
.active {
|
|
72
|
-
background: rgba(189, 199, 206, 0.2);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
li {
|
|
76
|
-
#{ $self }__info {
|
|
77
|
-
display: flex;
|
|
78
|
-
align-items: center;
|
|
79
|
-
justify-content: space-between;
|
|
80
|
-
gap: 12px;
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
&-arrow {
|
|
83
|
-
visibility: hidden;
|
|
84
|
-
svg{
|
|
85
|
-
transition: 0s;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
&:hover {
|
|
89
|
-
#{ $self }__info-arrow {
|
|
90
|
-
visibility: visible;
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.ic-24 {
|
|
96
|
-
min-width: 24px;
|
|
97
|
-
height: 24px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&__item {
|
|
101
|
-
text-transform: none;
|
|
102
|
-
display: flex;
|
|
103
|
-
align-items: center;
|
|
104
|
-
gap: 16px;
|
|
105
|
-
min-width: 336px;
|
|
106
|
-
padding: 14px 8px;
|
|
107
|
-
border-radius: 8px;
|
|
108
|
-
transition: 0.2s ease;
|
|
109
|
-
|
|
110
|
-
&:hover {
|
|
111
|
-
background: rgba(189, 199, 206, 0.2);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
&__icon {
|
|
116
|
-
display: grid;
|
|
117
|
-
place-content: center;
|
|
118
|
-
width: 40px;
|
|
119
|
-
height: 40px;
|
|
120
|
-
min-width: 40px;
|
|
121
|
-
background: rgba(189, 199, 206, 0.2);
|
|
122
|
-
border-radius: 4px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&__name {
|
|
126
|
-
display: block;
|
|
127
|
-
font-weight: 600;
|
|
128
|
-
font-size: 14px;
|
|
129
|
-
line-height: 20px;
|
|
130
|
-
color: #2C3E50;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&__subtitle {
|
|
134
|
-
display: block;
|
|
135
|
-
font-weight: 400;
|
|
136
|
-
font-size: 12px;
|
|
137
|
-
line-height: 20px;
|
|
138
|
-
color: #71757A;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
</style>
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import AHeader from './Header.vue'
|
|
2
|
-
import {action} from "@storybook/addon-actions";
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: 'Header',
|
|
6
|
-
component: AHeader,
|
|
7
|
-
template: '<a-header></a-header>'
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const Template = (args, { argTypes }) => ({
|
|
11
|
-
components: { AHeader },
|
|
12
|
-
props: Object.keys(argTypes),
|
|
13
|
-
template: '<a-header @menuOpen="openMenu' +
|
|
14
|
-
'" @showBalanceModal="showBalance"' +
|
|
15
|
-
' @setShowModal="showModal"' +
|
|
16
|
-
' @logout="logoutClick"' +
|
|
17
|
-
' @setIsReplenishModal="setReplenishModal" v-bind="$props"' +
|
|
18
|
-
'></a-header>',
|
|
19
|
-
methods: {
|
|
20
|
-
openMenu(val) {
|
|
21
|
-
console.log(val);
|
|
22
|
-
},
|
|
23
|
-
showBalance(val) {
|
|
24
|
-
console.log(val);
|
|
25
|
-
console.log(val);
|
|
26
|
-
},
|
|
27
|
-
showModal(val) {
|
|
28
|
-
console.log(val);
|
|
29
|
-
},
|
|
30
|
-
logoutClick() {
|
|
31
|
-
console.log("logout");
|
|
32
|
-
},
|
|
33
|
-
setReplenishModal(val) {
|
|
34
|
-
console.log(val);
|
|
35
|
-
},
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
export const MainHeader = Template.bind({});
|
|
40
|
-
|
|
41
|
-
export const devHeader = Template.bind({});
|
|
42
|
-
devHeader.args = {
|
|
43
|
-
isDev: true
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export const headerAuthenticated = Template.bind({});
|
|
47
|
-
headerAuthenticated.args = {
|
|
48
|
-
isDev: true,
|
|
49
|
-
isAuthenticated: true,
|
|
50
|
-
requestCount: 1000,
|
|
51
|
-
daysRemaining: "11 ч 23 мин",
|
|
52
|
-
email: "sboranbayeva@gmail.com",
|
|
53
|
-
loginUrl: "https://id.adtdev.kz/auth/signin?url=https://pk.adata.kz/auth",
|
|
54
|
-
activeTabKey: 'work',
|
|
55
|
-
balance: 1954900
|
|
56
|
-
}
|