adata-ui 3.1.80 → 3.1.82
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 +84 -84
- package/dist/module.json +1 -1
- package/dist/runtime/components/Alert.vue +26 -26
- package/dist/runtime/components/Alert.vue.d.ts +2 -37
- package/dist/runtime/components/Chip.vue +5 -5
- package/dist/runtime/components/Chip.vue.d.ts +2 -21
- package/dist/runtime/components/ColorMode.vue +12 -12
- package/dist/runtime/components/CurveBlock.vue +177 -177
- package/dist/runtime/components/DigitBadge.vue +5 -5
- package/dist/runtime/components/DigitBadge.vue.d.ts +1 -1
- package/dist/runtime/components/Drawer.vue +32 -32
- package/dist/runtime/components/Drawer.vue.d.ts +2 -47
- package/dist/runtime/components/EmptyHeader.vue +6 -6
- package/dist/runtime/components/Error.vue +59 -59
- package/dist/runtime/components/Footer.vue +73 -73
- package/dist/runtime/components/FooterAccordion.vue +45 -45
- package/dist/runtime/components/Header.vue +111 -111
- package/dist/runtime/components/Header.vue.d.ts +50 -0
- package/dist/runtime/components/Modal.vue +78 -78
- package/dist/runtime/components/Modal.vue.d.ts +9 -49
- package/dist/runtime/components/NewFooter.vue +114 -114
- package/dist/runtime/components/NewFooterAccordion.vue +52 -52
- package/dist/runtime/components/OtherServiceFeatures.vue +45 -45
- package/dist/runtime/components/PkMobileServices.vue +22 -22
- package/dist/runtime/components/SidePanel.vue +76 -76
- package/dist/runtime/components/SidePanel.vue.d.ts +3 -79
- package/dist/runtime/components/Tag.vue +4 -4
- package/dist/runtime/components/Tag.vue.d.ts +2 -12
- package/dist/runtime/components/Toggle.vue +30 -30
- package/dist/runtime/components/accordion/Accordion.vue +41 -41
- package/dist/runtime/components/accordion/Accordion.vue.d.ts +4 -44
- package/dist/runtime/components/button/Button.vue +22 -22
- package/dist/runtime/components/button/Button.vue.d.ts +4 -22
- package/dist/runtime/components/checkbox/Checkbox.vue +58 -58
- package/dist/runtime/components/checkbox/Checkbox.vue.d.ts +7 -39
- package/dist/runtime/components/date-picker/DatePicker.vue +38 -38
- package/dist/runtime/components/error-template/index.vue +32 -32
- package/dist/runtime/components/error-template/index.vue.d.ts +3 -5
- package/dist/runtime/components/feature-description/FeatureDescription.vue +46 -46
- package/dist/runtime/components/floating-label/FloatingLabel.vue +5 -5
- package/dist/runtime/components/floating-label/FloatingLabel.vue.d.ts +2 -7
- package/dist/runtime/components/forms/input/password/InputPassword.vue +25 -25
- package/dist/runtime/components/forms/input/password/InputPassword.vue.d.ts +1 -1
- package/dist/runtime/components/forms/input/standard/InputStandard.vue +108 -108
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue +63 -63
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue.d.ts +3 -35
- package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue +61 -55
- package/dist/runtime/components/forms/need-more-data/NeedMoreData.vue.d.ts +11 -2
- package/dist/runtime/components/forms/request-demo/RequestDemo.vue +63 -59
- package/dist/runtime/components/forms/request-demo/RequestDemo.vue.d.ts +27 -0
- package/dist/runtime/components/header/AlmatyContacts.vue +76 -76
- package/dist/runtime/components/header/AstanaContacts.vue +31 -31
- package/dist/runtime/components/header/CardGallery.vue +60 -60
- package/dist/runtime/components/header/ContactMenu.vue +39 -39
- package/dist/runtime/components/header/ContactMenu.vue.d.ts +8 -2
- package/dist/runtime/components/header/HeaderLink.vue +68 -55
- package/dist/runtime/components/header/LangSwitcher.vue +26 -26
- package/dist/runtime/components/header/ListItem.vue +15 -15
- package/dist/runtime/components/header/NavCard.vue +28 -28
- package/dist/runtime/components/header/NavList.vue +52 -52
- package/dist/runtime/components/header/ProductMenu.vue +72 -72
- package/dist/runtime/components/header/ProductMenu.vue.d.ts +8 -2
- package/dist/runtime/components/header/ProfileMenu.vue +37 -37
- package/dist/runtime/components/header/ProfileMenu.vue.d.ts +5 -1
- package/dist/runtime/components/header/ProfileMenuContent.vue +140 -140
- package/dist/runtime/components/header/ProfileMenuContent.vue.d.ts +5 -1
- package/dist/runtime/components/header/TopHeader.vue +72 -72
- package/dist/runtime/components/header-mobile/HeaderMobile.vue +39 -39
- package/dist/runtime/components/header-mobile/HeaderMobile.vue.d.ts +9 -14
- package/dist/runtime/components/mobile-navigation/BottomNavigation.vue +41 -41
- package/dist/runtime/components/mobile-navigation/BottomNavigation.vue.d.ts +29 -0
- package/dist/runtime/components/mobile-navigation/MainButton.vue +8 -8
- package/dist/runtime/components/mobile-navigation/MainButton.vue.d.ts +5 -1
- package/dist/runtime/components/mobile-navigation/MobileProductMenu.vue +26 -26
- package/dist/runtime/components/modals/ApplicationAcceptedModal.vue +43 -0
- package/dist/runtime/components/modals/ApplicationAcceptedModal.vue.d.ts +9 -0
- package/dist/runtime/components/modals/ConnectingTariffModal.vue +58 -0
- package/dist/runtime/components/modals/ConnectingTariffModal.vue.d.ts +19 -0
- package/dist/runtime/components/modals/InsufficientFundsModal.vue +68 -0
- package/dist/runtime/components/modals/InsufficientFundsModal.vue.d.ts +18 -0
- package/dist/runtime/components/modals/NoAccessContent.vue +34 -34
- package/dist/runtime/components/modals/NoAccessContent.vue.d.ts +5 -1
- package/dist/runtime/components/modals/NoAccessSimple.vue +16 -16
- package/dist/runtime/components/modals/NoAccessSimple.vue.d.ts +5 -1
- package/dist/runtime/components/modals/SubmitApplicationModal.vue +114 -0
- package/dist/runtime/components/modals/SubmitApplicationModal.vue.d.ts +17 -0
- package/dist/runtime/components/modals/TokenTimeoutContent.vue +24 -24
- package/dist/runtime/components/modals/TokenTimeoutContent.vue.d.ts +5 -1
- package/dist/runtime/components/modals/id/IdAccessModal.vue +34 -34
- package/dist/runtime/components/modals/id/IdBanner.vue +29 -29
- package/dist/runtime/components/modals/id/IdConfirmAccountOtpModal.vue +43 -43
- package/dist/runtime/components/modals/id/IdConfirmSuccessfulModal.vue +17 -17
- package/dist/runtime/components/modals/id/IdLoginModal.vue +100 -100
- package/dist/runtime/components/modals/id/IdModals.vue +44 -44
- package/dist/runtime/components/modals/id/IdNewPasswordModal.vue +46 -46
- package/dist/runtime/components/modals/id/IdOtpInput.vue +30 -30
- package/dist/runtime/components/modals/id/IdPasswordSuccessfulModal.vue +14 -14
- package/dist/runtime/components/modals/id/IdRecoveryModal.vue +30 -30
- package/dist/runtime/components/modals/id/IdRegistrationModal.vue +68 -68
- package/dist/runtime/components/modals/id/IdResetPasswordOtpModal.vue +47 -47
- package/dist/runtime/components/modals/id/IdTwoFactorModal.vue +23 -23
- package/dist/runtime/components/payment/process/PaymentKaspiQrSidePanel.vue +51 -51
- package/dist/runtime/components/payment/process/PaymentKaspiRedirectSidePanel.vue +35 -35
- package/dist/runtime/components/payment/process/PaymentMethodSidePanel.vue +69 -69
- package/dist/runtime/components/payment/process/PaymentProcess.vue +26 -26
- package/dist/runtime/components/payment/process/PaymentTopUpSidePanel.vue +63 -63
- package/dist/runtime/components/photos-animation/PhotosAnimation.vue +9 -9
- package/dist/runtime/components/pill-tabs/PillTabs.vue +39 -39
- package/dist/runtime/components/pill-tabs/PillTabs.vue.d.ts +46 -0
- package/dist/runtime/components/radio-button/RadioButton.vue +33 -33
- package/dist/runtime/components/radio-button/RadioButton.vue.d.ts +2 -36
- package/dist/runtime/components/row-card/RowCard.vue +27 -27
- package/dist/runtime/components/row-card/RowCard.vue.d.ts +2 -9
- package/dist/runtime/components/select-row/index.vue +58 -58
- package/dist/runtime/components/select-row/index.vue.d.ts +1 -1
- package/dist/runtime/components/transitions/TransitionHeight.vue +9 -9
- package/dist/runtime/components/transitions/TransitionHeight.vue.d.ts +2 -20
- package/dist/runtime/components/tree-select/TreeSelect.vue +16 -16
- package/dist/runtime/components/tree-select/components/tree-select-nodes.vue +75 -75
- package/dist/runtime/composables/projectState.d.ts +2 -2
- package/dist/runtime/composables/useBuyTariffs.d.ts +7 -0
- package/dist/runtime/composables/useBuyTariffs.js +73 -0
- package/dist/runtime/composables/useIdModals.d.ts +11 -21
- package/dist/runtime/composables/usePayment.d.ts +5 -5
- package/dist/runtime/i18n/i18n.config.d.ts +9 -0
- package/dist/runtime/i18n.d.ts +1 -1
- package/dist/runtime/icons/ai-assistant.vue +13 -13
- package/dist/runtime/icons/akimat.vue +20 -20
- package/dist/runtime/icons/arrow/arrow-circle-down.vue +18 -18
- package/dist/runtime/icons/arrow/arrow-graph-up.vue +24 -24
- package/dist/runtime/icons/arrow/arrow-side-up.vue +19 -19
- package/dist/runtime/icons/arrow/arrow-top-right-on-square.vue +19 -19
- package/dist/runtime/icons/arrow/chevron-down.vue +19 -19
- package/dist/runtime/icons/avatar.vue +41 -41
- package/dist/runtime/icons/avto/car.vue +17 -17
- package/dist/runtime/icons/avto/truck.vue +17 -17
- package/dist/runtime/icons/bank.vue +14 -14
- package/dist/runtime/icons/block.vue +19 -19
- package/dist/runtime/icons/bookmark.vue +19 -19
- package/dist/runtime/icons/calculator.vue +19 -19
- package/dist/runtime/icons/chartBar.vue +14 -14
- package/dist/runtime/icons/check-circle.vue +25 -25
- package/dist/runtime/icons/check-sb.vue +7 -7
- package/dist/runtime/icons/checkbox/checkbox-active.vue +19 -19
- package/dist/runtime/icons/checkbox/checkbox-empty.vue +20 -20
- package/dist/runtime/icons/checkbox/checkbox-intermediate.vue +19 -19
- package/dist/runtime/icons/chevron/chevron-down.vue +16 -16
- package/dist/runtime/icons/chevron/chevron-left.vue +5 -5
- package/dist/runtime/icons/chevron/chevron-right.vue +5 -5
- package/dist/runtime/icons/chevron/chevron-up.vue +5 -5
- package/dist/runtime/icons/chevron/double-chevron-right.vue +12 -12
- package/dist/runtime/icons/clipboard-text.vue +17 -17
- package/dist/runtime/icons/clock.vue +25 -25
- package/dist/runtime/icons/color-mode/moon.vue +20 -20
- package/dist/runtime/icons/color-mode/sun.vue +27 -27
- package/dist/runtime/icons/communication/mail.vue +19 -19
- package/dist/runtime/icons/communication/phone.vue +19 -19
- package/dist/runtime/icons/company.vue +19 -19
- package/dist/runtime/icons/currency/dollar.vue +19 -19
- package/dist/runtime/icons/currency/down.vue +22 -22
- package/dist/runtime/icons/currency/eur.vue +69 -69
- package/dist/runtime/icons/currency/rub.vue +25 -25
- package/dist/runtime/icons/currency/tenge.vue +9 -9
- package/dist/runtime/icons/currency/usd.vue +269 -269
- package/dist/runtime/icons/currency/yuan.vue +37 -37
- package/dist/runtime/icons/document/hdocument.vue +17 -17
- package/dist/runtime/icons/document/id.vue +19 -19
- package/dist/runtime/icons/document/profile.vue +19 -19
- package/dist/runtime/icons/eye-closed.vue +26 -26
- package/dist/runtime/icons/eye-open.vue +7 -7
- package/dist/runtime/icons/eye-opened.vue +23 -23
- package/dist/runtime/icons/file/excel-icon.vue +14 -14
- package/dist/runtime/icons/file/file.vue +19 -19
- package/dist/runtime/icons/file/files.vue +17 -17
- package/dist/runtime/icons/globe.vue +19 -19
- package/dist/runtime/icons/hand-with-phone/hand-with-phone-dark.vue +52 -52
- package/dist/runtime/icons/hand-with-phone/hand-with-phone-light.vue +52 -52
- package/dist/runtime/icons/handshake.vue +19 -19
- package/dist/runtime/icons/history.vue +19 -19
- package/dist/runtime/icons/hot-line.vue +6 -6
- package/dist/runtime/icons/id.vue +9 -9
- package/dist/runtime/icons/info/info-circle.vue +29 -29
- package/dist/runtime/icons/invoice.vue +35 -35
- package/dist/runtime/icons/kaspi-qr.vue +13 -13
- package/dist/runtime/icons/link-chain.vue +31 -31
- package/dist/runtime/icons/loader-circle.vue +34 -34
- package/dist/runtime/icons/lock.vue +19 -19
- package/dist/runtime/icons/logo/adata.vue +48 -48
- package/dist/runtime/icons/logo/logo.vue +27 -27
- package/dist/runtime/icons/map-paper.vue +5 -5
- package/dist/runtime/icons/map-pin-rect.vue +15 -15
- package/dist/runtime/icons/medal.vue +17 -17
- package/dist/runtime/icons/menu/menu-filled.vue +61 -61
- package/dist/runtime/icons/menu/menu.vue +41 -41
- package/dist/runtime/icons/message.vue +24 -24
- package/dist/runtime/icons/modals/door.vue +162 -162
- package/dist/runtime/icons/moon.vue +10 -10
- package/dist/runtime/icons/navigation/expand-window.vue +19 -19
- package/dist/runtime/icons/navigation/location.vue +25 -25
- package/dist/runtime/icons/navigation/logout.vue +19 -19
- package/dist/runtime/icons/notifications.vue +25 -25
- package/dist/runtime/icons/other-service/arrow-square-down.vue +15 -15
- package/dist/runtime/icons/other-service/arrow-top-right-on-square.vue +6 -6
- package/dist/runtime/icons/other-service/block.vue +16 -16
- package/dist/runtime/icons/other-service/currency-dollar.vue +16 -16
- package/dist/runtime/icons/other-service/globe.vue +16 -16
- package/dist/runtime/icons/other-service/link.vue +7 -7
- package/dist/runtime/icons/other-service/magnifying-glass.vue +9 -9
- package/dist/runtime/icons/other-service/standing-scales.vue +15 -15
- package/dist/runtime/icons/other-service/users-three.vue +7 -7
- package/dist/runtime/icons/payment/payment-card.vue +6 -6
- package/dist/runtime/icons/payment/payment-kaspi.vue +11 -11
- package/dist/runtime/icons/plus.vue +24 -24
- package/dist/runtime/icons/radio/radio-check.vue +24 -24
- package/dist/runtime/icons/radio/radio-empty.vue +20 -20
- package/dist/runtime/icons/receipt/hcheck.vue +27 -27
- package/dist/runtime/icons/receipt/receipt.vue +27 -27
- package/dist/runtime/icons/sanctions.vue +8 -8
- package/dist/runtime/icons/scale.vue +19 -19
- package/dist/runtime/icons/search.vue +27 -27
- package/dist/runtime/icons/socials/facebook.vue +15 -15
- package/dist/runtime/icons/socials/google.vue +41 -41
- package/dist/runtime/icons/socials/instagram.vue +19 -19
- package/dist/runtime/icons/socials/linkedin.vue +24 -24
- package/dist/runtime/icons/socials/mailru.vue +34 -34
- package/dist/runtime/icons/socials/telegram.vue +15 -15
- package/dist/runtime/icons/socials/tik-tok.vue +15 -15
- package/dist/runtime/icons/socials/whatsapp.vue +21 -21
- package/dist/runtime/icons/socials/yandex.vue +28 -28
- package/dist/runtime/icons/socials/youtube.vue +16 -16
- package/dist/runtime/icons/sun.vue +14 -14
- package/dist/runtime/icons/sviazi.vue +19 -19
- package/dist/runtime/icons/tasks.vue +10 -10
- package/dist/runtime/icons/toasts/check-circle-toast.vue +6 -6
- package/dist/runtime/icons/toasts/warning-triangle-toast.vue +7 -7
- package/dist/runtime/icons/users/users-three.vue +17 -17
- package/dist/runtime/icons/users/users.vue +31 -31
- package/dist/runtime/icons/warning-triangle.vue +29 -29
- package/dist/runtime/icons/work-bag.vue +20 -20
- package/dist/runtime/icons/x-mark.vue +18 -18
- package/dist/runtime/illustrations/address-location.vue +38 -38
- package/dist/runtime/illustrations/ball-with-chain.vue +120 -120
- package/dist/runtime/illustrations/bill.vue +133 -133
- package/dist/runtime/illustrations/buildings.vue +82 -82
- package/dist/runtime/illustrations/calendar.vue +156 -156
- package/dist/runtime/illustrations/chains.vue +152 -152
- package/dist/runtime/illustrations/coin-percent.vue +126 -126
- package/dist/runtime/illustrations/coins-stack.vue +202 -202
- package/dist/runtime/illustrations/delete-dark.vue +31 -31
- package/dist/runtime/illustrations/delete.vue +32 -32
- package/dist/runtime/illustrations/doc-with-stamp.vue +126 -126
- package/dist/runtime/illustrations/document.vue +64 -64
- package/dist/runtime/illustrations/door.vue +74 -74
- package/dist/runtime/illustrations/empty-box.vue +77 -77
- package/dist/runtime/illustrations/empty-wallet.vue +161 -161
- package/dist/runtime/illustrations/graph-in-coin.vue +119 -119
- package/dist/runtime/illustrations/hammer.vue +156 -156
- package/dist/runtime/illustrations/hand-cash.vue +108 -108
- package/dist/runtime/illustrations/info.vue +39 -39
- package/dist/runtime/illustrations/mail.vue +68 -68
- package/dist/runtime/illustrations/ok.vue +62 -62
- package/dist/runtime/illustrations/people-group.vue +237 -237
- package/dist/runtime/illustrations/person-with-phone.vue +187 -187
- package/dist/runtime/illustrations/person.vue +159 -159
- package/dist/runtime/illustrations/phone-check.vue +90 -90
- package/dist/runtime/illustrations/phone-payment-method.vue +223 -223
- package/dist/runtime/illustrations/stop-hand.vue +77 -77
- package/dist/runtime/illustrations/stop-sign.vue +34 -34
- package/dist/runtime/illustrations/suit.vue +111 -111
- package/dist/runtime/illustrations/suitcase.vue +105 -105
- package/dist/runtime/illustrations/terminal-dark.vue +48 -48
- package/dist/runtime/illustrations/terminal.vue +234 -234
- package/dist/runtime/illustrations/trash-can.vue +108 -108
- package/dist/runtime/illustrations/turn-on-tariff.vue +38 -38
- package/dist/runtime/illustrations/two-persons.vue +169 -169
- package/dist/runtime/lang/en.js +5 -2
- package/dist/runtime/lang/kk.js +5 -2
- package/dist/runtime/lang/ru.d.ts +3 -0
- package/dist/runtime/lang/ru.js +5 -2
- package/dist/runtime/plugins/toast.d.ts +1 -503
- package/dist/runtime/public/kaspi/logo.svg +4 -4
- package/dist/runtime/server/tsconfig.json +3 -3
- package/dist/runtime/utils/getMaxZindex.d.ts +2 -0
- package/dist/runtime/utils/getMaxZindex.js +22 -0
- package/dist/runtime/utils/localizedNavigation.d.ts +1 -1
- package/dist/runtime/utils/useUrls.d.ts +1 -0
- package/dist/runtime/utils/useUrls.js +1 -0
- package/package.json +73 -73
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import { AccordionContent, AccordionHeader, AccordionItem, AccordionRoot, AccordionTrigger } from 'reka-ui';
|
|
2
|
-
import ui from './ui.config.js';
|
|
3
1
|
import type { Props } from './types.js';
|
|
4
|
-
declare const attrs: {
|
|
5
|
-
[x: string]: unknown;
|
|
6
|
-
};
|
|
7
|
-
declare const buttonClass: import("vue").ComputedRef<string>;
|
|
8
|
-
declare const contClass: import("vue").ComputedRef<string>;
|
|
9
|
-
declare const bodyClassCompute: import("vue").ComputedRef<string>;
|
|
10
|
-
declare const accordion: import("vue").Ref<any, any>;
|
|
11
|
-
declare const isOpen: import("vue").Ref<any, any>;
|
|
12
2
|
declare function emulateButtonClick(): void;
|
|
13
|
-
declare
|
|
14
|
-
declare var __VLS_20: {}, __VLS_22: {}, __VLS_28: {}, __VLS_35: any, __VLS_36: {
|
|
3
|
+
declare var __VLS_20: {}, __VLS_22: {}, __VLS_28: {}, __VLS_35: string, __VLS_36: {
|
|
15
4
|
content: any;
|
|
16
5
|
};
|
|
17
|
-
type __VLS_Slots =
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
18
7
|
[K in NonNullable<typeof __VLS_35>]?: (props: typeof __VLS_36) => any;
|
|
19
8
|
} & {
|
|
20
9
|
head?: (props: typeof __VLS_20) => any;
|
|
@@ -22,36 +11,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
22
11
|
additional?: (props: typeof __VLS_22) => any;
|
|
23
12
|
} & {
|
|
24
13
|
closedToShow?: (props: typeof __VLS_28) => any;
|
|
25
|
-
}
|
|
26
|
-
declare const __VLS_self: import("vue").DefineComponent<Props, {
|
|
27
|
-
AccordionContent: typeof AccordionContent;
|
|
28
|
-
AccordionHeader: typeof AccordionHeader;
|
|
29
|
-
AccordionItem: typeof AccordionItem;
|
|
30
|
-
AccordionRoot: typeof AccordionRoot;
|
|
31
|
-
AccordionTrigger: typeof AccordionTrigger;
|
|
32
|
-
ui: typeof ui;
|
|
33
|
-
attrs: typeof attrs;
|
|
34
|
-
buttonClass: typeof buttonClass;
|
|
35
|
-
contClass: typeof contClass;
|
|
36
|
-
bodyClassCompute: typeof bodyClassCompute;
|
|
37
|
-
accordion: typeof accordion;
|
|
38
|
-
isOpen: typeof isOpen;
|
|
39
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
40
|
-
close: () => any;
|
|
41
|
-
toggle: (isOpen: boolean) => any;
|
|
42
|
-
open: () => any;
|
|
43
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
44
|
-
onClose?: (() => any) | undefined;
|
|
45
|
-
onToggle?: ((isOpen: boolean) => any) | undefined;
|
|
46
|
-
onOpen?: (() => any) | undefined;
|
|
47
|
-
}>, {
|
|
48
|
-
size: import("./types.js").Size;
|
|
49
|
-
color: import("./types.js").Color;
|
|
50
|
-
disabled: boolean;
|
|
51
|
-
defaultOpen: boolean;
|
|
52
|
-
slot: string;
|
|
53
|
-
divider: boolean;
|
|
54
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
};
|
|
55
15
|
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
56
16
|
ontoggle: typeof emulateButtonClick;
|
|
57
17
|
handelOpen: () => void;
|
|
@@ -67,9 +27,9 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
67
27
|
}>, {
|
|
68
28
|
size: import("./types.js").Size;
|
|
69
29
|
color: import("./types.js").Color;
|
|
30
|
+
slot: string;
|
|
70
31
|
disabled: boolean;
|
|
71
32
|
defaultOpen: boolean;
|
|
72
|
-
slot: string;
|
|
73
33
|
divider: boolean;
|
|
74
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
75
35
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -105,29 +105,29 @@ const buttonClasses = computed(
|
|
|
105
105
|
</script>
|
|
106
106
|
|
|
107
107
|
<template>
|
|
108
|
-
<component
|
|
109
|
-
:is="to ? NuxtLink : 'button'"
|
|
110
|
-
:class="[buttonClasses, 'relative h-fit transition flex items-center justify-center']"
|
|
111
|
-
:disabled="disabled"
|
|
112
|
-
:to="to"
|
|
113
|
-
>
|
|
114
|
-
<span
|
|
108
|
+
<component
|
|
109
|
+
:is="to ? NuxtLink : 'button'"
|
|
110
|
+
:class="[buttonClasses, 'relative h-fit transition flex items-center justify-center']"
|
|
111
|
+
:disabled="disabled"
|
|
112
|
+
:to="to"
|
|
113
|
+
>
|
|
114
|
+
<span
|
|
115
115
|
:class="[
|
|
116
116
|
{ 'opacity-0': loading },
|
|
117
117
|
'flex items-center justify-center gap-2 whitespace-nowrap'
|
|
118
|
-
]"
|
|
119
|
-
>
|
|
120
|
-
<component
|
|
121
|
-
:is="icon"
|
|
122
|
-
:class="[`${iconClass}`]"
|
|
123
|
-
/>
|
|
124
|
-
<slot />
|
|
125
|
-
</span>
|
|
126
|
-
<span
|
|
127
|
-
v-if="loading"
|
|
128
|
-
class="absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center"
|
|
129
|
-
>
|
|
130
|
-
<i-loader-circle class="animate-spin" />
|
|
131
|
-
</span>
|
|
132
|
-
</component>
|
|
118
|
+
]"
|
|
119
|
+
>
|
|
120
|
+
<component
|
|
121
|
+
:is="icon"
|
|
122
|
+
:class="[`${iconClass}`]"
|
|
123
|
+
/>
|
|
124
|
+
<slot />
|
|
125
|
+
</span>
|
|
126
|
+
<span
|
|
127
|
+
v-if="loading"
|
|
128
|
+
class="absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center"
|
|
129
|
+
>
|
|
130
|
+
<i-loader-circle class="animate-spin" />
|
|
131
|
+
</span>
|
|
132
|
+
</component>
|
|
133
133
|
</template>
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
|
-
import { NuxtLink } from '#components';
|
|
3
2
|
interface Props {
|
|
4
3
|
variant?: 'primary' | 'success' | 'danger' | 'gray' | 'ghost';
|
|
5
4
|
view?: 'default' | 'outline' | 'transparent';
|
|
@@ -13,38 +12,21 @@ interface Props {
|
|
|
13
12
|
active?: boolean;
|
|
14
13
|
to?: string;
|
|
15
14
|
}
|
|
16
|
-
declare const buttonClasses: import("vue").ComputedRef<string>;
|
|
17
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
18
15
|
declare var __VLS_10: {};
|
|
19
|
-
type __VLS_Slots =
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
20
17
|
default?: (props: typeof __VLS_10) => any;
|
|
21
|
-
}
|
|
22
|
-
declare const __VLS_self: import("vue").DefineComponent<Props, {
|
|
23
|
-
NuxtLink: typeof NuxtLink;
|
|
24
|
-
buttonClasses: typeof buttonClasses;
|
|
25
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
26
|
-
size: "sm" | "md" | "lg" | "xl";
|
|
27
|
-
view: "default" | "outline" | "transparent";
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
to: string;
|
|
30
|
-
variant: "primary" | "success" | "danger" | "gray" | "ghost";
|
|
31
|
-
form: "icon" | "button";
|
|
32
|
-
iconClass: string;
|
|
33
|
-
loading: boolean;
|
|
34
|
-
block: boolean;
|
|
35
|
-
active: boolean;
|
|
36
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
};
|
|
37
19
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
38
20
|
size: "sm" | "md" | "lg" | "xl";
|
|
39
21
|
view: "default" | "outline" | "transparent";
|
|
22
|
+
form: "icon" | "button";
|
|
40
23
|
disabled: boolean;
|
|
41
|
-
to: string;
|
|
42
24
|
variant: "primary" | "success" | "danger" | "gray" | "ghost";
|
|
43
|
-
form: "icon" | "button";
|
|
44
25
|
iconClass: string;
|
|
45
26
|
loading: boolean;
|
|
46
27
|
block: boolean;
|
|
47
28
|
active: boolean;
|
|
29
|
+
to: string;
|
|
48
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
31
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
50
32
|
export default _default;
|
|
@@ -63,62 +63,62 @@ const hasSlotContent = computed(() => {
|
|
|
63
63
|
</script>
|
|
64
64
|
|
|
65
65
|
<template>
|
|
66
|
-
<div
|
|
67
|
-
class="flex items-center"
|
|
68
|
-
:class="[disabled ? 'opacity-20' : '']"
|
|
69
|
-
>
|
|
70
|
-
<input
|
|
71
|
-
:id="name"
|
|
72
|
-
type="checkbox"
|
|
73
|
-
class="hidden"
|
|
74
|
-
:checked="isChecked"
|
|
75
|
-
:disabled="disabled"
|
|
76
|
-
:value="value"
|
|
77
|
-
@change="updateInput"
|
|
78
|
-
>
|
|
79
|
-
<label
|
|
80
|
-
v-if="viewType === 'checkbox'"
|
|
81
|
-
:for="name"
|
|
82
|
-
class="flex items-center text-deepblue-900 dark:text-gray-200"
|
|
83
|
-
:class="twMerge(textSizeOptions[size], disabled ? 'cursor-default' : 'cursor-pointer', labelClass)"
|
|
84
|
-
>
|
|
85
|
-
<span
|
|
86
|
-
v-if="side === 'left' && hasSlotContent"
|
|
87
|
-
class="select-none"
|
|
88
|
-
>
|
|
89
|
-
<slot />
|
|
90
|
-
</span>
|
|
91
|
-
<span :class="[sizeOptions[size]]">
|
|
92
|
-
<i-checkbox-intermediate
|
|
93
|
-
v-if="isIntermediate"
|
|
94
|
-
class="w-full h-full"
|
|
95
|
-
:class="twMerge('text-blue-700 dark:text-blue-500', intermediateCheckboxClass)"
|
|
96
|
-
/>
|
|
97
|
-
<i-checkbox-active
|
|
98
|
-
v-else-if="isChecked"
|
|
99
|
-
class="w-full h-full"
|
|
100
|
-
:class="twMerge('text-blue-700 dark:text-blue-500', checkboxClass)"
|
|
101
|
-
/>
|
|
102
|
-
<i-checkbox-empty
|
|
103
|
-
v-else
|
|
104
|
-
class="w-full h-full"
|
|
105
|
-
:class="twMerge('text-deepblue-900 dark:text-gray-200', emptyCheckboxClass)"
|
|
106
|
-
/>
|
|
107
|
-
</span>
|
|
108
|
-
<span
|
|
109
|
-
v-if="side === 'right' && hasSlotContent"
|
|
110
|
-
class="select-none"
|
|
111
|
-
>
|
|
112
|
-
<slot />
|
|
113
|
-
</span>
|
|
114
|
-
</label>
|
|
115
|
-
<label
|
|
116
|
-
v-else-if="viewType === 'chip'"
|
|
117
|
-
:for="name"
|
|
118
|
-
class="px-[10px] py-[3.5px] text-deepblue-900 border border-gray-500 rounded-full dark:text-gray-200 text-xs"
|
|
119
|
-
:class="[{ 'bg-blue-700 text-white dark:bg-blue-500 dark:border-blue-500 dark:text-gray-900 font-medium': isChecked }]"
|
|
120
|
-
>
|
|
121
|
-
<slot />
|
|
122
|
-
</label>
|
|
123
|
-
</div>
|
|
66
|
+
<div
|
|
67
|
+
class="flex items-center"
|
|
68
|
+
:class="[disabled ? 'opacity-20' : '']"
|
|
69
|
+
>
|
|
70
|
+
<input
|
|
71
|
+
:id="name"
|
|
72
|
+
type="checkbox"
|
|
73
|
+
class="hidden"
|
|
74
|
+
:checked="isChecked"
|
|
75
|
+
:disabled="disabled"
|
|
76
|
+
:value="value"
|
|
77
|
+
@change="updateInput"
|
|
78
|
+
>
|
|
79
|
+
<label
|
|
80
|
+
v-if="viewType === 'checkbox'"
|
|
81
|
+
:for="name"
|
|
82
|
+
class="flex items-center text-deepblue-900 dark:text-gray-200"
|
|
83
|
+
:class="twMerge(textSizeOptions[size], disabled ? 'cursor-default' : 'cursor-pointer', labelClass)"
|
|
84
|
+
>
|
|
85
|
+
<span
|
|
86
|
+
v-if="side === 'left' && hasSlotContent"
|
|
87
|
+
class="select-none"
|
|
88
|
+
>
|
|
89
|
+
<slot />
|
|
90
|
+
</span>
|
|
91
|
+
<span :class="[sizeOptions[size]]">
|
|
92
|
+
<i-checkbox-intermediate
|
|
93
|
+
v-if="isIntermediate"
|
|
94
|
+
class="w-full h-full"
|
|
95
|
+
:class="twMerge('text-blue-700 dark:text-blue-500', intermediateCheckboxClass)"
|
|
96
|
+
/>
|
|
97
|
+
<i-checkbox-active
|
|
98
|
+
v-else-if="isChecked"
|
|
99
|
+
class="w-full h-full"
|
|
100
|
+
:class="twMerge('text-blue-700 dark:text-blue-500', checkboxClass)"
|
|
101
|
+
/>
|
|
102
|
+
<i-checkbox-empty
|
|
103
|
+
v-else
|
|
104
|
+
class="w-full h-full"
|
|
105
|
+
:class="twMerge('text-deepblue-900 dark:text-gray-200', emptyCheckboxClass)"
|
|
106
|
+
/>
|
|
107
|
+
</span>
|
|
108
|
+
<span
|
|
109
|
+
v-if="side === 'right' && hasSlotContent"
|
|
110
|
+
class="select-none"
|
|
111
|
+
>
|
|
112
|
+
<slot />
|
|
113
|
+
</span>
|
|
114
|
+
</label>
|
|
115
|
+
<label
|
|
116
|
+
v-else-if="viewType === 'chip'"
|
|
117
|
+
:for="name"
|
|
118
|
+
class="px-[10px] py-[3.5px] text-deepblue-900 border border-gray-500 rounded-full dark:text-gray-200 text-xs"
|
|
119
|
+
:class="[{ 'bg-blue-700 text-white dark:bg-blue-500 dark:border-blue-500 dark:text-gray-900 font-medium': isChecked }]"
|
|
120
|
+
>
|
|
121
|
+
<slot />
|
|
122
|
+
</label>
|
|
123
|
+
</div>
|
|
124
124
|
</template>
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { twMerge } from 'tailwind-merge';
|
|
2
1
|
interface Props {
|
|
3
2
|
size?: 'lg' | 'sm';
|
|
4
3
|
name?: string;
|
|
@@ -15,55 +14,24 @@ interface Props {
|
|
|
15
14
|
labelClass?: string;
|
|
16
15
|
viewType?: 'checkbox' | 'chip';
|
|
17
16
|
}
|
|
18
|
-
declare const isChecked: import("vue").ComputedRef<boolean>;
|
|
19
|
-
declare const isIntermediate: import("vue").ComputedRef<boolean>;
|
|
20
|
-
declare const updateInput: (e: any) => void;
|
|
21
|
-
declare const sizeOptions: {
|
|
22
|
-
lg: string;
|
|
23
|
-
sm: string;
|
|
24
|
-
};
|
|
25
|
-
declare const textSizeOptions: {
|
|
26
|
-
lg: string;
|
|
27
|
-
sm: string;
|
|
28
|
-
};
|
|
29
|
-
declare const hasSlotContent: import("vue").ComputedRef<boolean>;
|
|
30
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
31
17
|
declare var __VLS_1: {}, __VLS_15: {}, __VLS_17: {};
|
|
32
|
-
type __VLS_Slots =
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
33
19
|
default?: (props: typeof __VLS_1) => any;
|
|
34
20
|
} & {
|
|
35
21
|
default?: (props: typeof __VLS_15) => any;
|
|
36
22
|
} & {
|
|
37
23
|
default?: (props: typeof __VLS_17) => any;
|
|
38
|
-
}
|
|
39
|
-
declare const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
sizeOptions: typeof sizeOptions;
|
|
45
|
-
textSizeOptions: typeof textSizeOptions;
|
|
46
|
-
hasSlotContent: typeof hasSlotContent;
|
|
47
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
"update:modelValue": (...args: any[]) => void;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}>, {
|
|
48
30
|
name: string;
|
|
49
31
|
size: "lg" | "sm";
|
|
50
|
-
value: string | number | object | null;
|
|
51
|
-
side: "right" | "left" | null;
|
|
52
32
|
modelValue: string | number | Array<any> | object | boolean | null;
|
|
53
|
-
masterControl: boolean;
|
|
54
|
-
emptyCheckboxClass: string;
|
|
55
|
-
intermediateCheckboxClass: string;
|
|
56
|
-
alwaysIntermediate: boolean;
|
|
57
|
-
checkboxClass: string;
|
|
58
|
-
labelClass: string;
|
|
59
|
-
viewType: "checkbox" | "chip";
|
|
60
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
61
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
62
|
-
name: string;
|
|
63
|
-
size: "lg" | "sm";
|
|
64
33
|
value: string | number | object | null;
|
|
65
34
|
side: "right" | "left" | null;
|
|
66
|
-
modelValue: string | number | Array<any> | object | boolean | null;
|
|
67
35
|
masterControl: boolean;
|
|
68
36
|
emptyCheckboxClass: string;
|
|
69
37
|
intermediateCheckboxClass: string;
|
|
@@ -34,48 +34,48 @@ function menuOpened() {
|
|
|
34
34
|
</script>
|
|
35
35
|
|
|
36
36
|
<template>
|
|
37
|
-
<vue-date-picker
|
|
38
|
-
ref="datePicker"
|
|
39
|
-
v-model="date"
|
|
40
|
-
v-bind="$attrs"
|
|
41
|
-
:enable-time-picker="false"
|
|
42
|
-
:format="format"
|
|
43
|
-
:format-locale="currentLocale"
|
|
44
|
-
:placeholder="placeholder || t('reuse.date')"
|
|
45
|
-
:year-picker="yearPicker"
|
|
37
|
+
<vue-date-picker
|
|
38
|
+
ref="datePicker"
|
|
39
|
+
v-model="date"
|
|
40
|
+
v-bind="$attrs"
|
|
41
|
+
:enable-time-picker="false"
|
|
42
|
+
:format="format"
|
|
43
|
+
:format-locale="currentLocale"
|
|
44
|
+
:placeholder="placeholder || t('reuse.date')"
|
|
45
|
+
:year-picker="yearPicker"
|
|
46
46
|
:ui="{
|
|
47
47
|
navBtnNext: 'hidden',
|
|
48
48
|
navBtnPrev: 'hidden',
|
|
49
49
|
menu: 'p-2'
|
|
50
|
-
}"
|
|
51
|
-
model-type="format"
|
|
52
|
-
class="custom-date-picker"
|
|
53
|
-
auto-apply
|
|
54
|
-
@open="menuOpened"
|
|
55
|
-
>
|
|
56
|
-
<template #top-extra>
|
|
57
|
-
<div
|
|
58
|
-
class="flex items-center justify-between"
|
|
59
|
-
:class="{ 'mb-2': yearPicker }"
|
|
60
|
-
>
|
|
61
|
-
<p class="text-base font-semibold">
|
|
62
|
-
{{ menuTitle || t("reuse.selectDate") }}
|
|
63
|
-
</p>
|
|
64
|
-
<i-x-mark
|
|
65
|
-
class="cursor-pointer size-6 shrink-0"
|
|
66
|
-
@click="closeDatePicker"
|
|
67
|
-
/>
|
|
68
|
-
</div>
|
|
69
|
-
</template>
|
|
70
|
-
<template #calendar-header="{ index, day }">
|
|
71
|
-
<p class="text-gray-600 dark:text-gray-200 text-sm font-normal">
|
|
72
|
-
{{ day }}
|
|
73
|
-
</p>
|
|
74
|
-
</template>
|
|
75
|
-
<template #action-row />
|
|
76
|
-
<template #action-preview />
|
|
77
|
-
<template #action-buttons />
|
|
78
|
-
</vue-date-picker>
|
|
50
|
+
}"
|
|
51
|
+
model-type="format"
|
|
52
|
+
class="custom-date-picker"
|
|
53
|
+
auto-apply
|
|
54
|
+
@open="menuOpened"
|
|
55
|
+
>
|
|
56
|
+
<template #top-extra>
|
|
57
|
+
<div
|
|
58
|
+
class="flex items-center justify-between"
|
|
59
|
+
:class="{ 'mb-2': yearPicker }"
|
|
60
|
+
>
|
|
61
|
+
<p class="text-base font-semibold">
|
|
62
|
+
{{ menuTitle || t("reuse.selectDate") }}
|
|
63
|
+
</p>
|
|
64
|
+
<i-x-mark
|
|
65
|
+
class="cursor-pointer size-6 shrink-0"
|
|
66
|
+
@click="closeDatePicker"
|
|
67
|
+
/>
|
|
68
|
+
</div>
|
|
69
|
+
</template>
|
|
70
|
+
<template #calendar-header="{ index, day }">
|
|
71
|
+
<p class="text-gray-600 dark:text-gray-200 text-sm font-normal">
|
|
72
|
+
{{ day }}
|
|
73
|
+
</p>
|
|
74
|
+
</template>
|
|
75
|
+
<template #action-row />
|
|
76
|
+
<template #action-preview />
|
|
77
|
+
<template #action-buttons />
|
|
78
|
+
</vue-date-picker>
|
|
79
79
|
</template>
|
|
80
80
|
|
|
81
81
|
<style>
|
|
@@ -5,36 +5,36 @@ defineProps({
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<template>
|
|
8
|
-
<div class="flex items-center justify-center gap-14">
|
|
9
|
-
<slot name="icon">
|
|
10
|
-
<div class="hidden lg:block max-w-[600px]">
|
|
11
|
-
<img
|
|
12
|
-
:src="error.icon"
|
|
13
|
-
class="hidden lg:block"
|
|
14
|
-
alt="error-icon"
|
|
15
|
-
>
|
|
16
|
-
</div>
|
|
17
|
-
</slot>
|
|
18
|
-
<div class="flex min-h-screen flex-col lg:min-h-0">
|
|
19
|
-
<div class="flex-1 px-4 py-8 lg:p-0">
|
|
20
|
-
<slot name="status">
|
|
21
|
-
<p class="mb-6 text-4xl font-bold">
|
|
22
|
-
{{ error.statusCode }}
|
|
23
|
-
</p>
|
|
24
|
-
</slot>
|
|
25
|
-
<slot name="title">
|
|
26
|
-
<h2 class="lg:heading-03 text-2xl font-bold ">
|
|
27
|
-
{{ error.title }}
|
|
28
|
-
</h2>
|
|
29
|
-
</slot>
|
|
30
|
-
<slot
|
|
31
|
-
name="content"
|
|
32
|
-
:data="error"
|
|
33
|
-
/>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="sticky bottom-0 z-[10000] lg:static lg:flex">
|
|
36
|
-
<slot name="default" />
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
8
|
+
<div class="flex items-center justify-center gap-14">
|
|
9
|
+
<slot name="icon">
|
|
10
|
+
<div class="hidden lg:block max-w-[600px]">
|
|
11
|
+
<img
|
|
12
|
+
:src="error.icon"
|
|
13
|
+
class="hidden lg:block"
|
|
14
|
+
alt="error-icon"
|
|
15
|
+
>
|
|
16
|
+
</div>
|
|
17
|
+
</slot>
|
|
18
|
+
<div class="flex min-h-screen flex-col lg:min-h-0">
|
|
19
|
+
<div class="flex-1 px-4 py-8 lg:p-0">
|
|
20
|
+
<slot name="status">
|
|
21
|
+
<p class="mb-6 text-4xl font-bold">
|
|
22
|
+
{{ error.statusCode }}
|
|
23
|
+
</p>
|
|
24
|
+
</slot>
|
|
25
|
+
<slot name="title">
|
|
26
|
+
<h2 class="lg:heading-03 text-2xl font-bold ">
|
|
27
|
+
{{ error.title }}
|
|
28
|
+
</h2>
|
|
29
|
+
</slot>
|
|
30
|
+
<slot
|
|
31
|
+
name="content"
|
|
32
|
+
:data="error"
|
|
33
|
+
/>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="sticky bottom-0 z-[10000] lg:static lg:flex">
|
|
36
|
+
<slot name="default" />
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
40
|
</template>
|
|
@@ -2,11 +2,10 @@ import type { ErrorTemplateData } from './types.js';
|
|
|
2
2
|
interface Props {
|
|
3
3
|
error: ErrorTemplateData;
|
|
4
4
|
}
|
|
5
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
6
5
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {
|
|
7
|
-
data:
|
|
6
|
+
data: ErrorTemplateData;
|
|
8
7
|
}, __VLS_9: {};
|
|
9
|
-
type __VLS_Slots =
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
10
9
|
icon?: (props: typeof __VLS_1) => any;
|
|
11
10
|
} & {
|
|
12
11
|
status?: (props: typeof __VLS_3) => any;
|
|
@@ -16,8 +15,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
16
15
|
content?: (props: typeof __VLS_7) => any;
|
|
17
16
|
} & {
|
|
18
17
|
default?: (props: typeof __VLS_9) => any;
|
|
19
|
-
}
|
|
20
|
-
declare const __VLS_self: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
};
|
|
21
19
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
20
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
21
|
export default _default;
|
|
@@ -31,58 +31,58 @@ onUnmounted(() => clearTimer());
|
|
|
31
31
|
</script>
|
|
32
32
|
|
|
33
33
|
<template>
|
|
34
|
-
<div
|
|
35
|
-
v-for="(item, idx) in features"
|
|
36
|
-
:key="idx"
|
|
37
|
-
class="relative flex flex-col pl-3 cursor-pointer"
|
|
38
|
-
@click="selectFeature(idx)"
|
|
39
|
-
>
|
|
40
|
-
<div
|
|
41
|
-
v-if="selected === idx"
|
|
42
|
-
class="absolute left-0 top-0 w-[2px] bg-blue-700 dark:bg-blue-500 z-20 h-full rounded-full"
|
|
43
|
-
:class="{ 'fill-animation': selected === idx }"
|
|
44
|
-
/>
|
|
45
|
-
|
|
46
|
-
<div
|
|
47
|
-
class="absolute left-0 top-0 w-[2px] bg-gray-500/50 z-10 h-full rounded-full"
|
|
48
|
-
/>
|
|
49
|
-
|
|
50
|
-
<div class="flex items-center gap-2 relative z-10">
|
|
51
|
-
<div
|
|
34
|
+
<div
|
|
35
|
+
v-for="(item, idx) in features"
|
|
36
|
+
:key="idx"
|
|
37
|
+
class="relative flex flex-col pl-3 cursor-pointer"
|
|
38
|
+
@click="selectFeature(idx)"
|
|
39
|
+
>
|
|
40
|
+
<div
|
|
41
|
+
v-if="selected === idx"
|
|
42
|
+
class="absolute left-0 top-0 w-[2px] bg-blue-700 dark:bg-blue-500 z-20 h-full rounded-full"
|
|
43
|
+
:class="{ 'fill-animation': selected === idx }"
|
|
44
|
+
/>
|
|
45
|
+
|
|
46
|
+
<div
|
|
47
|
+
class="absolute left-0 top-0 w-[2px] bg-gray-500/50 z-10 h-full rounded-full"
|
|
48
|
+
/>
|
|
49
|
+
|
|
50
|
+
<div class="flex items-center gap-2 relative z-10">
|
|
51
|
+
<div
|
|
52
52
|
:class="[
|
|
53
53
|
'transition-all duration-300 ease-in-out',
|
|
54
54
|
selected === idx ? 'rounded-md bg-blue-700 dark:bg-blue-500 p-2 icon-bg' : 'size-fit'
|
|
55
|
-
]"
|
|
56
|
-
>
|
|
57
|
-
<component
|
|
58
|
-
:is="item.icon"
|
|
59
|
-
class="shrink-0 size-6 transition-colors duration-300 ease-in-out"
|
|
60
|
-
:class="selected === idx ? 'text-white dark:text-gray-900' : 'text-gray-600 dark:text-[#9DA3AC]'"
|
|
61
|
-
/>
|
|
62
|
-
</div>
|
|
63
|
-
<p
|
|
64
|
-
class="font-semibold text-base lg:text-xl transition-colors duration-300 ease-in-out"
|
|
65
|
-
:class="selected === idx ? 'dark:text-[#E3E5E8]' : 'text-gray-600 dark:text-[#9DA3AC]'"
|
|
66
|
-
>
|
|
67
|
-
{{ item.title }}
|
|
68
|
-
</p>
|
|
69
|
-
</div>
|
|
70
|
-
|
|
71
|
-
<adt-transitions-transition-height
|
|
55
|
+
]"
|
|
56
|
+
>
|
|
57
|
+
<component
|
|
58
|
+
:is="item.icon"
|
|
59
|
+
class="shrink-0 size-6 transition-colors duration-300 ease-in-out"
|
|
60
|
+
:class="selected === idx ? 'text-white dark:text-gray-900' : 'text-gray-600 dark:text-[#9DA3AC]'"
|
|
61
|
+
/>
|
|
62
|
+
</div>
|
|
63
|
+
<p
|
|
64
|
+
class="font-semibold text-base lg:text-xl transition-colors duration-300 ease-in-out"
|
|
65
|
+
:class="selected === idx ? 'dark:text-[#E3E5E8]' : 'text-gray-600 dark:text-[#9DA3AC]'"
|
|
66
|
+
>
|
|
67
|
+
{{ item.title }}
|
|
68
|
+
</p>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<adt-transitions-transition-height
|
|
72
72
|
:transition="{
|
|
73
73
|
enterActiveClass: 'overflow-hidden transition-[height] duration-[1s] ease-in-out',
|
|
74
74
|
leaveActiveClass: 'overflow-hidden transition-[height] duration-[1s] ease-in-out'
|
|
75
|
-
}"
|
|
76
|
-
>
|
|
77
|
-
<div
|
|
78
|
-
v-if="selected === idx"
|
|
79
|
-
>
|
|
80
|
-
<p class="text-xs lg:text-sm pt-3">
|
|
81
|
-
{{ item.description }}
|
|
82
|
-
</p>
|
|
83
|
-
</div>
|
|
84
|
-
</adt-transitions-transition-height>
|
|
85
|
-
</div>
|
|
75
|
+
}"
|
|
76
|
+
>
|
|
77
|
+
<div
|
|
78
|
+
v-if="selected === idx"
|
|
79
|
+
>
|
|
80
|
+
<p class="text-xs lg:text-sm pt-3">
|
|
81
|
+
{{ item.description }}
|
|
82
|
+
</p>
|
|
83
|
+
</div>
|
|
84
|
+
</adt-transitions-transition-height>
|
|
85
|
+
</div>
|
|
86
86
|
</template>
|
|
87
87
|
|
|
88
88
|
<style scoped>
|