@aitronos/freddy-plugins 0.4.57 → 0.4.59
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/CHANGELOG.md +28 -0
- package/README.md +224 -27
- package/dist/freddy-plugins.css +1 -1
- package/dist/{icons-Lnvg2xiB.js → icons-Be1wtE70.js} +2066 -2000
- package/dist/icons-Be1wtE70.js.map +1 -0
- package/dist/icons-CCfXKsmx.cjs +2 -0
- package/dist/icons-CCfXKsmx.cjs.map +1 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -4389
- package/dist/index.js +2252 -2234
- package/dist/index.js.map +1 -1
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/animations/AnimeSpaceman.vue.d.ts +8 -0
- package/dist/src/animations/index.d.ts +1 -0
- package/dist/src/assets/logos/index.d.ts +4 -0
- package/dist/src/components/AdvancedModal.vue.d.ts +23 -0
- package/dist/src/components/Assistant/AssistantField.vue.d.ts +13 -0
- package/dist/src/components/Assistant/AssistantList.vue.d.ts +10 -0
- package/dist/src/components/Assistant/AssistantsHeader.vue.d.ts +17 -0
- package/dist/src/components/Assistant/AvatarChoosing.vue.d.ts +16 -0
- package/dist/src/components/Assistant/AvatarList.vue.d.ts +30 -0
- package/dist/src/components/Assistant/ChooseAssistantAvatar.vue.d.ts +77 -0
- package/dist/src/components/Assistant/RulesManagement.vue.d.ts +28 -0
- package/dist/src/components/Assistant/VectorFrame.vue.d.ts +15 -0
- package/dist/src/components/Assistant/VectorSection.vue.d.ts +31 -0
- package/dist/src/components/Assistant/VoiceList.vue.d.ts +27 -0
- package/dist/src/components/Assistant/VoiceSelection.vue.d.ts +12 -0
- package/dist/src/components/Buttons/BaseButton.vue.d.ts +25 -0
- package/dist/src/components/Buttons/SocialButtons.vue.d.ts +13 -0
- package/dist/src/components/Buttons/index.d.ts +2 -0
- package/dist/src/components/CodeBlock.vue.d.ts +6 -0
- package/dist/src/components/ConfirmationModal.vue.d.ts +28 -0
- package/dist/src/components/CustomCheckbox.vue.d.ts +13 -0
- package/dist/src/components/DeleteConfirmationModal.vue.d.ts +28 -0
- package/dist/src/components/Descriptions.vue.d.ts +85 -0
- package/dist/src/components/DiffTextarea.vue.d.ts +21 -0
- package/dist/src/components/Dropdown.vue.d.ts +75 -0
- package/dist/src/components/EditFeaturedExcerptModal.vue.d.ts +161 -0
- package/dist/src/components/EmailCodeVerification.vue.d.ts +20 -0
- package/dist/src/components/InputField/BaseInput.vue.d.ts +46 -0
- package/dist/src/components/InputField/CardInput.vue.d.ts +77 -0
- package/dist/src/components/InputField/DefaultInput.vue.d.ts +39 -0
- package/dist/src/components/InputField/InputField.vue.d.ts +74 -0
- package/dist/src/components/InputField/PhoneInput.vue.d.ts +75 -0
- package/dist/src/components/InputField/index.d.ts +5 -0
- package/dist/src/components/Instructions/InstructionsModal.vue.d.ts +12 -0
- package/dist/src/components/Instructions/InstructiontextArea.vue.d.ts +11 -0
- package/dist/src/components/ModalOverlay.vue.d.ts +26 -0
- package/dist/src/components/ModelDropdown.vue.d.ts +23 -0
- package/dist/src/components/OutputModeModal.vue.d.ts +61 -0
- package/dist/src/components/Pagination.vue.d.ts +42 -0
- package/dist/src/components/SearchInput.vue.d.ts +26 -0
- package/dist/src/components/SendButton.vue.d.ts +7 -0
- package/dist/src/components/SimpleChatInterface.vue.d.ts +48 -0
- package/dist/src/components/SkeletonLoader.vue.d.ts +8 -0
- package/dist/src/components/Slider.vue.d.ts +19 -0
- package/dist/src/components/SnackBar.vue.d.ts +2 -0
- package/dist/src/components/Spinner.vue.d.ts +5 -0
- package/dist/src/components/Switch.vue.d.ts +11 -0
- package/dist/src/components/SwitchSlot.vue.d.ts +22 -0
- package/dist/src/components/TabList.vue.d.ts +9 -0
- package/dist/src/components/Tabs/BaseTabButton.vue.d.ts +12 -0
- package/dist/src/components/Tabs/index.d.ts +5 -0
- package/dist/src/components/TextAreaInputField.vue.d.ts +266 -0
- package/dist/src/components/ToastMessage.vue.d.ts +2 -0
- package/dist/src/components/Tooltip.vue.d.ts +32 -0
- package/dist/src/components/TooltipV2.vue.d.ts +41 -0
- package/dist/src/components/index.d.ts +50 -0
- package/dist/src/composables/index.d.ts +4 -0
- package/dist/src/composables/useErrorHandler.d.ts +46 -0
- package/dist/src/composables/usePerformance.d.ts +54 -0
- package/dist/src/composables/useTheme.d.ts +37 -0
- package/dist/src/config/api.config.d.ts +31 -0
- package/dist/src/config/colors/brands/contentplate.colors.d.ts +3 -0
- package/dist/src/config/colors/brands/flowplate.colors.d.ts +3 -0
- package/dist/src/config/colors/brands/freddy.colors.d.ts +3 -0
- package/dist/src/config/colors/color-system.d.ts +58 -0
- package/dist/src/config/colors/index.d.ts +12 -0
- package/dist/src/config/colors/types/color-system.types.d.ts +62 -0
- package/dist/src/config/colors/types/color.types.d.ts +99 -0
- package/dist/src/config/colors/utils/color.utils.d.ts +86 -0
- package/dist/src/config/environments.d.ts +11 -0
- package/dist/src/config/theme/freddy-default.d.ts +16 -0
- package/dist/src/config/theme/freddy-light.d.ts +14 -0
- package/dist/src/config/theme/global-theme-store.d.ts +128 -0
- package/dist/src/config/theme/themes.d.ts +12 -0
- package/dist/src/directives/frSanitize.d.ts +5 -0
- package/dist/src/directives/index.d.ts +1 -0
- package/dist/src/foundations/components/Logo.vue.d.ts +11 -0
- package/dist/src/foundations/components/index.d.ts +1 -0
- package/dist/src/foundations/index.d.ts +1 -0
- package/dist/src/helpers/BaseImageIcon.vue.d.ts +6 -0
- package/dist/src/helpers/api-response.helper.d.ts +100 -0
- package/dist/src/helpers/colors.helper.d.ts +8 -0
- package/dist/src/helpers/common.helper.d.ts +42 -0
- package/dist/src/helpers/date-format.helper.d.ts +34 -0
- package/dist/src/helpers/date.helper.d.ts +23 -0
- package/dist/src/helpers/fileName-handler.helper.d.ts +6 -0
- package/dist/src/helpers/index.d.ts +9 -0
- package/dist/src/helpers/percentageCalc.helper.d.ts +7 -0
- package/dist/src/helpers/validators.helper.d.ts +11 -0
- package/dist/src/icons/IconAddChatPop.vue.d.ts +2 -0
- package/dist/src/icons/IconAddFileSystem.vue.d.ts +2 -0
- package/dist/src/icons/IconAddPeople.vue.d.ts +2 -0
- package/dist/src/icons/IconAitronos.vue.d.ts +2 -0
- package/dist/src/icons/IconApple.vue.d.ts +2 -0
- package/dist/src/icons/IconApplePay.vue.d.ts +2 -0
- package/dist/src/icons/IconAppsGrid.vue.d.ts +2 -0
- package/dist/src/icons/IconArrowDown.vue.d.ts +2 -0
- package/dist/src/icons/IconArrowLeft.vue.d.ts +2 -0
- package/dist/src/icons/IconArrowUp.vue.d.ts +2 -0
- package/dist/src/icons/IconBadgeCheck.vue.d.ts +2 -0
- package/dist/src/icons/IconBroom.vue.d.ts +2 -0
- package/dist/src/icons/IconBuildings.vue.d.ts +2 -0
- package/dist/src/icons/IconCalendarWithTickInside.vue.d.ts +2 -0
- package/dist/src/icons/IconCallNotAllowed.vue.d.ts +2 -0
- package/dist/src/icons/IconCardPay.vue.d.ts +2 -0
- package/dist/src/icons/IconCaution.vue.d.ts +2 -0
- package/dist/src/icons/IconChangeLog.vue.d.ts +2 -0
- package/dist/src/icons/IconCheckCircleFill.vue.d.ts +2 -0
- package/dist/src/icons/IconCheckInCircle.vue.d.ts +2 -0
- package/dist/src/icons/IconCheckRounded.vue.d.ts +2 -0
- package/dist/src/icons/IconChevronDown.vue.d.ts +2 -0
- package/dist/src/icons/IconChevronLeft.vue.d.ts +2 -0
- package/dist/src/icons/IconChevronRight.vue.d.ts +2 -0
- package/dist/src/icons/IconChevronUp.vue.d.ts +2 -0
- package/dist/src/icons/IconCircledCheck.vue.d.ts +2 -0
- package/dist/src/icons/IconClock.vue.d.ts +2 -0
- package/dist/src/icons/IconClosedEnvelope.vue.d.ts +2 -0
- package/dist/src/icons/IconCloudUpload.vue.d.ts +2 -0
- package/dist/src/icons/IconConnectorConfluence.vue.d.ts +2 -0
- package/dist/src/icons/IconConnectorFigma.vue.d.ts +2 -0
- package/dist/src/icons/IconConnectorFreshDesk.vue.d.ts +2 -0
- package/dist/src/icons/IconConnectorGitHub.vue.d.ts +2 -0
- package/dist/src/icons/IconConnectorJira.vue.d.ts +2 -0
- package/dist/src/icons/IconConnectorLinear.vue.d.ts +2 -0
- package/dist/src/icons/IconConnectorNotion.vue.d.ts +2 -0
- package/dist/src/icons/IconConnectorSlack.vue.d.ts +2 -0
- package/dist/src/icons/IconConnectorZapier.vue.d.ts +2 -0
- package/dist/src/icons/IconCopy.vue.d.ts +2 -0
- package/dist/src/icons/IconCross.vue.d.ts +2 -0
- package/dist/src/icons/IconCrossCircleFill.vue.d.ts +2 -0
- package/dist/src/icons/IconCrossInCircle.vue.d.ts +2 -0
- package/dist/src/icons/IconCurrentTick.vue.d.ts +2 -0
- package/dist/src/icons/IconDataUpload.vue.d.ts +2 -0
- package/dist/src/icons/IconDelete.vue.d.ts +2 -0
- package/dist/src/icons/IconDeleteFillRed.vue.d.ts +2 -0
- package/dist/src/icons/IconDialingPhone.vue.d.ts +2 -0
- package/dist/src/icons/IconDisabledAlert.vue.d.ts +2 -0
- package/dist/src/icons/IconDocumentation.vue.d.ts +2 -0
- package/dist/src/icons/IconDownload.vue.d.ts +2 -0
- package/dist/src/icons/IconDribbble.vue.d.ts +2 -0
- package/dist/src/icons/IconDropdownArrow.vue.d.ts +2 -0
- package/dist/src/icons/IconEdit.vue.d.ts +2 -0
- package/dist/src/icons/IconEditLinePath.vue.d.ts +72 -0
- package/dist/src/icons/IconEllipse.vue.d.ts +2 -0
- package/dist/src/icons/IconExcelThumbnail.vue.d.ts +2 -0
- package/dist/src/icons/IconEye.vue.d.ts +2 -0
- package/dist/src/icons/IconFacebook.vue.d.ts +2 -0
- package/dist/src/icons/IconFigma.vue.d.ts +2 -0
- package/dist/src/icons/IconFile.vue.d.ts +2 -0
- package/dist/src/icons/IconFileSystem.vue.d.ts +2 -0
- package/dist/src/icons/IconFileUpload.vue.d.ts +2 -0
- package/dist/src/icons/IconFilter.vue.d.ts +2 -0
- package/dist/src/icons/IconFolder.vue.d.ts +2 -0
- package/dist/src/icons/IconFreddyHub.vue.d.ts +2 -0
- package/dist/src/icons/IconFreddyHubLogo.vue.d.ts +2 -0
- package/dist/src/icons/IconFreddyHubNewLogo.vue.d.ts +2 -0
- package/dist/src/icons/IconFreddyHubTitle.vue.d.ts +2 -0
- package/dist/src/icons/IconFreddySmall.vue.d.ts +2 -0
- package/dist/src/icons/IconGlobExpand.vue.d.ts +2 -0
- package/dist/src/icons/IconGlobe.vue.d.ts +2 -0
- package/dist/src/icons/IconGoogle.vue.d.ts +2 -0
- package/dist/src/icons/IconHollowCircle.vue.d.ts +2 -0
- package/dist/src/icons/IconHome.vue.d.ts +2 -0
- package/dist/src/icons/IconInfoRounded.vue.d.ts +2 -0
- package/dist/src/icons/IconInvalidInvoice.vue.d.ts +2 -0
- package/dist/src/icons/IconInvoice.vue.d.ts +2 -0
- package/dist/src/icons/IconInvoiceSwitch.vue.d.ts +2 -0
- package/dist/src/icons/IconLapTableBottom.vue.d.ts +2 -0
- package/dist/src/icons/IconLense.vue.d.ts +2 -0
- package/dist/src/icons/IconLightCross.vue.d.ts +2 -0
- package/dist/src/icons/IconLink04.vue.d.ts +2 -0
- package/dist/src/icons/IconLoadingError.vue.d.ts +2 -0
- package/dist/src/icons/IconLoadingOrg.vue.d.ts +2 -0
- package/dist/src/icons/IconLocationWithCircleIn.vue.d.ts +2 -0
- package/dist/src/icons/IconLock.vue.d.ts +2 -0
- package/dist/src/icons/IconMarketPlace.vue.d.ts +2 -0
- package/dist/src/icons/IconMaximize.vue.d.ts +2 -0
- package/dist/src/icons/IconMicrophone.vue.d.ts +2 -0
- package/dist/src/icons/IconMutedMicrophone.vue.d.ts +2 -0
- package/dist/src/icons/IconNewNotification.vue.d.ts +2 -0
- package/dist/src/icons/IconNewTab.vue.d.ts +2 -0
- package/dist/src/icons/IconNotification.vue.d.ts +2 -0
- package/dist/src/icons/IconOpenBook.vue.d.ts +2 -0
- package/dist/src/icons/IconPaperAirPlane.vue.d.ts +2 -0
- package/dist/src/icons/IconPauseCircle.vue.d.ts +2 -0
- package/dist/src/icons/IconPdfThumbnail.vue.d.ts +2 -0
- package/dist/src/icons/IconPenEdit.vue.d.ts +2 -0
- package/dist/src/icons/IconPencil.vue.d.ts +2 -0
- package/dist/src/icons/IconPeopleHub.vue.d.ts +2 -0
- package/dist/src/icons/IconPersonCircle.vue.d.ts +2 -0
- package/dist/src/icons/IconPits.vue.d.ts +2 -0
- package/dist/src/icons/IconPlay.vue.d.ts +2 -0
- package/dist/src/icons/IconPlus.vue.d.ts +2 -0
- package/dist/src/icons/IconPolygonDown.vue.d.ts +2 -0
- package/dist/src/icons/IconPresentation.vue.d.ts +2 -0
- package/dist/src/icons/IconProgressBase.vue.d.ts +2 -0
- package/dist/src/icons/IconProgressComplete.vue.d.ts +2 -0
- package/dist/src/icons/IconProgressGoing.vue.d.ts +2 -0
- package/dist/src/icons/IconPurpose.vue.d.ts +2 -0
- package/dist/src/icons/IconPurseCircleFill.vue.d.ts +2 -0
- package/dist/src/icons/IconQuestion.vue.d.ts +2 -0
- package/dist/src/icons/IconRadio.vue.d.ts +2 -0
- package/dist/src/icons/IconRadioFill.vue.d.ts +2 -0
- package/dist/src/icons/IconRefresh.vue.d.ts +2 -0
- package/dist/src/icons/IconRevertedTriangle.vue.d.ts +2 -0
- package/dist/src/icons/IconRobotScreen.vue.d.ts +2 -0
- package/dist/src/icons/IconRoundTick.vue.d.ts +2 -0
- package/dist/src/icons/IconSearch.vue.d.ts +2 -0
- package/dist/src/icons/IconSearchOptimised.vue.d.ts +2 -0
- package/dist/src/icons/IconSectionHide.vue.d.ts +2 -0
- package/dist/src/icons/IconSend.vue.d.ts +2 -0
- package/dist/src/icons/IconSettings.vue.d.ts +2 -0
- package/dist/src/icons/IconSettingsBold.vue.d.ts +2 -0
- package/dist/src/icons/IconSize.vue.d.ts +2 -0
- package/dist/src/icons/IconSliderKnobs.vue.d.ts +2 -0
- package/dist/src/icons/IconSortIdle.vue.d.ts +2 -0
- package/dist/src/icons/IconSparkle.vue.d.ts +2 -0
- package/dist/src/icons/IconSpotlio.vue.d.ts +2 -0
- package/dist/src/icons/IconStar.vue.d.ts +2 -0
- package/dist/src/icons/IconStatistics.vue.d.ts +2 -0
- package/dist/src/icons/IconStopChat.vue.d.ts +2 -0
- package/dist/src/icons/IconStreamLineHub.vue.d.ts +2 -0
- package/dist/src/icons/IconStreamLineHubNewLogo.vue.d.ts +2 -0
- package/dist/src/icons/IconSun.vue.d.ts +2 -0
- package/dist/src/icons/IconSwap.vue.d.ts +2 -0
- package/dist/src/icons/IconText.vue.d.ts +2 -0
- package/dist/src/icons/IconTextThumbnail.vue.d.ts +2 -0
- package/dist/src/icons/IconThinDocument.vue.d.ts +2 -0
- package/dist/src/icons/IconThinFile.vue.d.ts +2 -0
- package/dist/src/icons/IconThumbsDown.vue.d.ts +2 -0
- package/dist/src/icons/IconTick.vue.d.ts +2 -0
- package/dist/src/icons/IconUser.vue.d.ts +2 -0
- package/dist/src/icons/IconVerticalDots.vue.d.ts +2 -0
- package/dist/src/icons/IconVideoCamera.vue.d.ts +2 -0
- package/dist/src/icons/IconWarningOctal.vue.d.ts +2 -0
- package/dist/src/icons/IconX.vue.d.ts +2 -0
- package/dist/src/icons/IconZip.vue.d.ts +2 -0
- package/dist/src/icons/index.d.ts +148 -0
- package/dist/src/index.d.ts +23 -0
- package/dist/src/interfaces/assistant.interfaces.d.ts +237 -0
- package/dist/src/interfaces/base-button.interfaces.d.ts +119 -0
- package/dist/src/interfaces/color-comparison.interfaces.d.ts +71 -0
- package/dist/src/interfaces/index.d.ts +19 -0
- package/dist/src/interfaces/input-field.interfaces.d.ts +226 -0
- package/dist/src/interfaces/reference.d.ts +14 -0
- package/dist/src/interfaces/services/ai.interfaces.d.ts +56 -0
- package/dist/src/interfaces/services/api.interfaces.d.ts +46 -0
- package/dist/src/interfaces/services/auth.interfaces.d.ts +99 -0
- package/dist/src/interfaces/services/index.d.ts +7 -0
- package/dist/src/interfaces/skeleton-loader.interfaces.d.ts +1 -0
- package/dist/src/interfaces/slider.interfaces.d.ts +81 -0
- package/dist/src/interfaces/social-buttons.interfaces.d.ts +115 -0
- package/dist/src/interfaces/switch-slot.interfaces.d.ts +55 -0
- package/dist/src/interfaces/tab-button.interfaces.d.ts +23 -0
- package/dist/src/interfaces/tab-list.interfaces.d.ts +15 -0
- package/dist/src/interfaces/theme/index.d.ts +5 -0
- package/dist/src/interfaces/theme/theme.interfaces.d.ts +88 -0
- package/dist/src/interfaces/ui/chat.interfaces.d.ts +66 -0
- package/dist/src/interfaces/ui/editor.interfaces.d.ts +31 -0
- package/dist/src/interfaces/ui/feedback.interfaces.d.ts +39 -0
- package/dist/src/interfaces/ui/form.interfaces.d.ts +51 -0
- package/dist/src/interfaces/ui/index.d.ts +10 -0
- package/dist/src/interfaces/ui/modal.interfaces.d.ts +34 -0
- package/dist/src/interfaces/ui/navigation.interfaces.d.ts +31 -0
- package/dist/src/interfaces/utilities/common.interfaces.d.ts +59 -0
- package/dist/src/interfaces/utilities/index.d.ts +5 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/plugin.d.ts +5 -0
- package/dist/src/plugins/icon-style.d.ts +3 -0
- package/dist/src/plugins/index.d.ts +11 -0
- package/dist/src/services/AITextService.d.ts +68 -0
- package/dist/src/services/index.d.ts +15 -0
- package/dist/src/utility/confirmationModal.d.ts +2 -0
- package/dist/src/utility/index.d.ts +3 -0
- package/dist/src/utility/useSnackbar.d.ts +26 -0
- package/dist/src/utility/useToast.d.ts +19 -0
- package/package.json +6 -2
- package/dist/icons-DQveW34E.cjs +0 -2
- package/dist/icons-DQveW34E.cjs.map +0 -1
- package/dist/icons-Lnvg2xiB.js.map +0 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { IChatMessage } from '../interfaces';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
isVisible: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
description: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
initialContent: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
openaiApiKey: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
openaiModel: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
openaiOrganization: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
+
cancel: (...args: any[]) => void;
|
|
33
|
+
close: (...args: any[]) => void;
|
|
34
|
+
save: (...args: any[]) => void;
|
|
35
|
+
askAI: (...args: any[]) => void;
|
|
36
|
+
toggleAI: (...args: any[]) => void;
|
|
37
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
+
isVisible: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
title: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
description: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
initialContent: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
openaiApiKey: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
openaiModel: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
openaiOrganization: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
}>> & Readonly<{
|
|
67
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
onAskAI?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onToggleAI?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
}>, {
|
|
73
|
+
title: string;
|
|
74
|
+
description: string;
|
|
75
|
+
openaiApiKey: string;
|
|
76
|
+
initialContent: string;
|
|
77
|
+
openaiModel: string;
|
|
78
|
+
openaiOrganization: string;
|
|
79
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
80
|
+
chatRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
81
|
+
placeholder?: string;
|
|
82
|
+
messages?: IChatMessage[];
|
|
83
|
+
enableAI?: boolean;
|
|
84
|
+
openaiApiKey?: string;
|
|
85
|
+
textBoxContent?: string;
|
|
86
|
+
}> & Readonly<{
|
|
87
|
+
onSend?: ((message: string) => any) | undefined;
|
|
88
|
+
onAcceptChanges?: ((message: IChatMessage) => any) | undefined;
|
|
89
|
+
onDenyChanges?: ((message: IChatMessage) => any) | undefined;
|
|
90
|
+
onTextReplacement?: ((data: {
|
|
91
|
+
original?: string;
|
|
92
|
+
improved: string;
|
|
93
|
+
stats?: any;
|
|
94
|
+
}) => any) | undefined;
|
|
95
|
+
onTextCompletion?: ((data: {
|
|
96
|
+
original?: string;
|
|
97
|
+
completion: string;
|
|
98
|
+
}) => any) | undefined;
|
|
99
|
+
}>, {
|
|
100
|
+
addAIResponse: (content: string, changes?: {
|
|
101
|
+
title?: string;
|
|
102
|
+
description: string;
|
|
103
|
+
added: number;
|
|
104
|
+
removed: number;
|
|
105
|
+
data?: any;
|
|
106
|
+
}) => void;
|
|
107
|
+
addAIResponseFromApi: (apiResponse: any) => void;
|
|
108
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
109
|
+
send: (message: string) => any;
|
|
110
|
+
acceptChanges: (message: IChatMessage) => any;
|
|
111
|
+
denyChanges: (message: IChatMessage) => any;
|
|
112
|
+
textReplacement: (data: {
|
|
113
|
+
original?: string;
|
|
114
|
+
improved: string;
|
|
115
|
+
stats?: any;
|
|
116
|
+
}) => any;
|
|
117
|
+
textCompletion: (data: {
|
|
118
|
+
original?: string;
|
|
119
|
+
completion: string;
|
|
120
|
+
}) => any;
|
|
121
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
122
|
+
messagesContainer: HTMLDivElement;
|
|
123
|
+
inputRef: HTMLTextAreaElement;
|
|
124
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
125
|
+
P: {};
|
|
126
|
+
B: {};
|
|
127
|
+
D: {};
|
|
128
|
+
C: {};
|
|
129
|
+
M: {};
|
|
130
|
+
Defaults: {};
|
|
131
|
+
}, Readonly<{
|
|
132
|
+
placeholder?: string;
|
|
133
|
+
messages?: IChatMessage[];
|
|
134
|
+
enableAI?: boolean;
|
|
135
|
+
openaiApiKey?: string;
|
|
136
|
+
textBoxContent?: string;
|
|
137
|
+
}> & Readonly<{
|
|
138
|
+
onSend?: ((message: string) => any) | undefined;
|
|
139
|
+
onAcceptChanges?: ((message: IChatMessage) => any) | undefined;
|
|
140
|
+
onDenyChanges?: ((message: IChatMessage) => any) | undefined;
|
|
141
|
+
onTextReplacement?: ((data: {
|
|
142
|
+
original?: string;
|
|
143
|
+
improved: string;
|
|
144
|
+
stats?: any;
|
|
145
|
+
}) => any) | undefined;
|
|
146
|
+
onTextCompletion?: ((data: {
|
|
147
|
+
original?: string;
|
|
148
|
+
completion: string;
|
|
149
|
+
}) => any) | undefined;
|
|
150
|
+
}>, {
|
|
151
|
+
addAIResponse: (content: string, changes?: {
|
|
152
|
+
title?: string;
|
|
153
|
+
description: string;
|
|
154
|
+
added: number;
|
|
155
|
+
removed: number;
|
|
156
|
+
data?: any;
|
|
157
|
+
}) => void;
|
|
158
|
+
addAIResponseFromApi: (apiResponse: any) => void;
|
|
159
|
+
}, {}, {}, {}, {}> | null;
|
|
160
|
+
}, any>;
|
|
161
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
email: string;
|
|
3
|
+
brand?: 'contentplate' | 'flowplate' | 'freddy';
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
error?: string;
|
|
6
|
+
resendCooldown?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
verify: (code: string) => any;
|
|
10
|
+
resend: () => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
+
onVerify?: ((code: string) => any) | undefined;
|
|
13
|
+
onResend?: (() => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
error: string;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
brand: "contentplate" | "flowplate" | "freddy";
|
|
18
|
+
resendCooldown: number;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BaseInputProps } from '../../interfaces/input-field.interfaces';
|
|
2
|
+
interface Props extends BaseInputProps {
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
14
|
+
inputId: import('vue').ComputedRef<string>;
|
|
15
|
+
containerClasses: import('vue').ComputedRef<{
|
|
16
|
+
[x: string]: boolean;
|
|
17
|
+
'freddy-plugins-input-field-container--destructive': boolean;
|
|
18
|
+
'freddy-plugins-input-field-container--focused': boolean;
|
|
19
|
+
'freddy-plugins-input-field-container--disabled': boolean;
|
|
20
|
+
'freddy-plugins-input-field-container--loading': boolean;
|
|
21
|
+
'freddy-plugins-input-field-container--success': boolean;
|
|
22
|
+
}>;
|
|
23
|
+
focusInput: () => void;
|
|
24
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
blur: (event: FocusEvent) => any;
|
|
26
|
+
focus: (event: FocusEvent) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
29
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
label: string;
|
|
32
|
+
required: boolean;
|
|
33
|
+
size: import('../../interfaces/input-field.interfaces').InputFieldSize;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
state: import('../../interfaces/input-field.interfaces').InputFieldState;
|
|
36
|
+
hintText: string;
|
|
37
|
+
destructive: boolean;
|
|
38
|
+
colorStyle: import('../../interfaces/input-field.interfaces').InputFieldColorStyle;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { CardInputProps, CardType } from '../../interfaces/input-field.interfaces';
|
|
2
|
+
interface Props extends CardInputProps {
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
5
|
+
focus: () => void;
|
|
6
|
+
inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
blur: (event: FocusEvent) => any;
|
|
9
|
+
focus: (event: FocusEvent) => any;
|
|
10
|
+
input: (value: string) => any;
|
|
11
|
+
keydown: (event: KeyboardEvent) => any;
|
|
12
|
+
"update:modelValue": (value: string) => any;
|
|
13
|
+
"update:cardNumber": (number: string) => any;
|
|
14
|
+
"card-type-detected": (type: CardType) => any;
|
|
15
|
+
"trailing-icon-click": (event: MouseEvent) => any;
|
|
16
|
+
"leading-icon-click": (event: MouseEvent) => any;
|
|
17
|
+
"trailing-button-click": (event: MouseEvent) => any;
|
|
18
|
+
"update:countryCode": (code: string) => any;
|
|
19
|
+
"update:phoneNumber": (number: string) => any;
|
|
20
|
+
"country-change": (country: import('../../interfaces/input-field.interfaces').CountryOption) => any;
|
|
21
|
+
"update:currency": (currency: string) => any;
|
|
22
|
+
"update:amount": (amount: string | number) => any;
|
|
23
|
+
"currency-change": (currency: import('../../interfaces/input-field.interfaces').CurrencyOption) => any;
|
|
24
|
+
"update:protocol": (protocol: string) => any;
|
|
25
|
+
"update:url": (url: string) => any;
|
|
26
|
+
"protocol-change": (protocol: string) => any;
|
|
27
|
+
"update:tags": (tags: string[]) => any;
|
|
28
|
+
"tag-added": (tag: string) => any;
|
|
29
|
+
"tag-removed": (tag: string, index: number) => any;
|
|
30
|
+
"max-tags-reached": () => any;
|
|
31
|
+
"copy-success": (text: string) => any;
|
|
32
|
+
"copy-error": (error: Error) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
34
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
35
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
36
|
+
onInput?: ((value: string) => any) | undefined;
|
|
37
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
39
|
+
"onUpdate:cardNumber"?: ((number: string) => any) | undefined;
|
|
40
|
+
"onCard-type-detected"?: ((type: CardType) => any) | undefined;
|
|
41
|
+
"onTrailing-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
42
|
+
"onLeading-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
43
|
+
"onTrailing-button-click"?: ((event: MouseEvent) => any) | undefined;
|
|
44
|
+
"onUpdate:countryCode"?: ((code: string) => any) | undefined;
|
|
45
|
+
"onUpdate:phoneNumber"?: ((number: string) => any) | undefined;
|
|
46
|
+
"onCountry-change"?: ((country: import('../../interfaces/input-field.interfaces').CountryOption) => any) | undefined;
|
|
47
|
+
"onUpdate:currency"?: ((currency: string) => any) | undefined;
|
|
48
|
+
"onUpdate:amount"?: ((amount: string | number) => any) | undefined;
|
|
49
|
+
"onCurrency-change"?: ((currency: import('../../interfaces/input-field.interfaces').CurrencyOption) => any) | undefined;
|
|
50
|
+
"onUpdate:protocol"?: ((protocol: string) => any) | undefined;
|
|
51
|
+
"onUpdate:url"?: ((url: string) => any) | undefined;
|
|
52
|
+
"onProtocol-change"?: ((protocol: string) => any) | undefined;
|
|
53
|
+
"onUpdate:tags"?: ((tags: string[]) => any) | undefined;
|
|
54
|
+
"onTag-added"?: ((tag: string) => any) | undefined;
|
|
55
|
+
"onTag-removed"?: ((tag: string, index: number) => any) | undefined;
|
|
56
|
+
"onMax-tags-reached"?: (() => any) | undefined;
|
|
57
|
+
"onCopy-success"?: ((text: string) => any) | undefined;
|
|
58
|
+
"onCopy-error"?: ((error: Error) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
label: string;
|
|
61
|
+
placeholder: string;
|
|
62
|
+
required: boolean;
|
|
63
|
+
size: import('../../interfaces/input-field.interfaces').InputFieldSize;
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
cardNumber: string;
|
|
66
|
+
cardType: CardType;
|
|
67
|
+
maskInput: boolean;
|
|
68
|
+
showCardIcon: boolean;
|
|
69
|
+
readonly: boolean;
|
|
70
|
+
state: import('../../interfaces/input-field.interfaces').InputFieldState;
|
|
71
|
+
hintText: string;
|
|
72
|
+
destructive: boolean;
|
|
73
|
+
colorStyle: import('../../interfaces/input-field.interfaces').InputFieldColorStyle;
|
|
74
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
75
|
+
inputRef: HTMLInputElement;
|
|
76
|
+
}, HTMLDivElement>;
|
|
77
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DefaultInputProps } from '../../interfaces/input-field.interfaces';
|
|
2
|
+
interface Props extends DefaultInputProps {
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
5
|
+
focus: () => void;
|
|
6
|
+
inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
blur: (event: FocusEvent) => any;
|
|
9
|
+
focus: (event: FocusEvent) => any;
|
|
10
|
+
input: (value: string) => any;
|
|
11
|
+
keydown: (event: KeyboardEvent) => any;
|
|
12
|
+
"update:modelValue": (value: string) => any;
|
|
13
|
+
"trailing-icon-click": (event: MouseEvent) => any;
|
|
14
|
+
"leading-icon-click": (event: MouseEvent) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
17
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
18
|
+
onInput?: ((value: string) => any) | undefined;
|
|
19
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
+
"onTrailing-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
22
|
+
"onLeading-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
label: string;
|
|
25
|
+
placeholder: string;
|
|
26
|
+
required: boolean;
|
|
27
|
+
size: import('../../interfaces/input-field.interfaces').InputFieldSize;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
inputType: string;
|
|
30
|
+
modelValue: string;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
state: import('../../interfaces/input-field.interfaces').InputFieldState;
|
|
33
|
+
hintText: string;
|
|
34
|
+
destructive: boolean;
|
|
35
|
+
colorStyle: import('../../interfaces/input-field.interfaces').InputFieldColorStyle;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
37
|
+
inputRef: HTMLInputElement;
|
|
38
|
+
}, HTMLDivElement>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { UnifiedInputFieldProps, CountryOption, CardType } from '../../interfaces/input-field.interfaces';
|
|
2
|
+
interface Props extends UnifiedInputFieldProps {
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
blur: (event: FocusEvent) => any;
|
|
6
|
+
focus: (event: FocusEvent) => any;
|
|
7
|
+
input: (value: string) => any;
|
|
8
|
+
keydown: (event: KeyboardEvent) => any;
|
|
9
|
+
"update:modelValue": (value: string) => any;
|
|
10
|
+
"update:cardNumber": (number: string) => any;
|
|
11
|
+
"card-type-detected": (type: CardType) => any;
|
|
12
|
+
"trailing-icon-click": (event: MouseEvent) => any;
|
|
13
|
+
"leading-icon-click": (event: MouseEvent) => any;
|
|
14
|
+
"trailing-button-click": (event: MouseEvent) => any;
|
|
15
|
+
"update:countryCode": (code: string) => any;
|
|
16
|
+
"update:phoneNumber": (number: string) => any;
|
|
17
|
+
"country-change": (country: CountryOption) => any;
|
|
18
|
+
"update:currency": (currency: string) => any;
|
|
19
|
+
"update:amount": (amount: string | number) => any;
|
|
20
|
+
"currency-change": (currency: import('../../interfaces/input-field.interfaces').CurrencyOption) => any;
|
|
21
|
+
"update:protocol": (protocol: string) => any;
|
|
22
|
+
"update:url": (url: string) => any;
|
|
23
|
+
"protocol-change": (protocol: string) => any;
|
|
24
|
+
"update:tags": (tags: string[]) => any;
|
|
25
|
+
"tag-added": (tag: string) => any;
|
|
26
|
+
"tag-removed": (tag: string, index: number) => any;
|
|
27
|
+
"max-tags-reached": () => any;
|
|
28
|
+
"copy-success": (text: string) => any;
|
|
29
|
+
"copy-error": (error: Error) => any;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
31
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
32
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
33
|
+
onInput?: ((value: string) => any) | undefined;
|
|
34
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
35
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
|
+
"onUpdate:cardNumber"?: ((number: string) => any) | undefined;
|
|
37
|
+
"onCard-type-detected"?: ((type: CardType) => any) | undefined;
|
|
38
|
+
"onTrailing-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
39
|
+
"onLeading-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
40
|
+
"onTrailing-button-click"?: ((event: MouseEvent) => any) | undefined;
|
|
41
|
+
"onUpdate:countryCode"?: ((code: string) => any) | undefined;
|
|
42
|
+
"onUpdate:phoneNumber"?: ((number: string) => any) | undefined;
|
|
43
|
+
"onCountry-change"?: ((country: CountryOption) => any) | undefined;
|
|
44
|
+
"onUpdate:currency"?: ((currency: string) => any) | undefined;
|
|
45
|
+
"onUpdate:amount"?: ((amount: string | number) => any) | undefined;
|
|
46
|
+
"onCurrency-change"?: ((currency: import('../../interfaces/input-field.interfaces').CurrencyOption) => any) | undefined;
|
|
47
|
+
"onUpdate:protocol"?: ((protocol: string) => any) | undefined;
|
|
48
|
+
"onUpdate:url"?: ((url: string) => any) | undefined;
|
|
49
|
+
"onProtocol-change"?: ((protocol: string) => any) | undefined;
|
|
50
|
+
"onUpdate:tags"?: ((tags: string[]) => any) | undefined;
|
|
51
|
+
"onTag-added"?: ((tag: string) => any) | undefined;
|
|
52
|
+
"onTag-removed"?: ((tag: string, index: number) => any) | undefined;
|
|
53
|
+
"onMax-tags-reached"?: (() => any) | undefined;
|
|
54
|
+
"onCopy-success"?: ((text: string) => any) | undefined;
|
|
55
|
+
"onCopy-error"?: ((error: Error) => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
label: string;
|
|
58
|
+
type: import('../../interfaces/input-field.interfaces').InputFieldVariant;
|
|
59
|
+
placeholder: string;
|
|
60
|
+
required: boolean;
|
|
61
|
+
size: import('../../interfaces/input-field.interfaces').InputFieldSize;
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
countryCode: string;
|
|
64
|
+
phoneNumber: string;
|
|
65
|
+
inputType: string;
|
|
66
|
+
modelValue: string;
|
|
67
|
+
readonly: boolean;
|
|
68
|
+
state: import('../../interfaces/input-field.interfaces').InputFieldState;
|
|
69
|
+
variant: import('../../interfaces/input-field.interfaces').InputFieldVariant;
|
|
70
|
+
hintText: string;
|
|
71
|
+
destructive: boolean;
|
|
72
|
+
colorStyle: import('../../interfaces/input-field.interfaces').InputFieldColorStyle;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
74
|
+
export default _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { PhoneInputProps, CountryOption } from '../../interfaces/input-field.interfaces';
|
|
2
|
+
interface Props extends PhoneInputProps {
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
5
|
+
focus: () => void;
|
|
6
|
+
inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
blur: (event: FocusEvent) => any;
|
|
9
|
+
focus: (event: FocusEvent) => any;
|
|
10
|
+
input: (value: string) => any;
|
|
11
|
+
keydown: (event: KeyboardEvent) => any;
|
|
12
|
+
"update:modelValue": (value: string) => any;
|
|
13
|
+
"update:cardNumber": (number: string) => any;
|
|
14
|
+
"card-type-detected": (type: import('../../interfaces/input-field.interfaces').CardType) => any;
|
|
15
|
+
"trailing-icon-click": (event: MouseEvent) => any;
|
|
16
|
+
"leading-icon-click": (event: MouseEvent) => any;
|
|
17
|
+
"trailing-button-click": (event: MouseEvent) => any;
|
|
18
|
+
"update:countryCode": (code: string) => any;
|
|
19
|
+
"update:phoneNumber": (number: string) => any;
|
|
20
|
+
"country-change": (country: CountryOption) => any;
|
|
21
|
+
"update:currency": (currency: string) => any;
|
|
22
|
+
"update:amount": (amount: string | number) => any;
|
|
23
|
+
"currency-change": (currency: import('../../interfaces/input-field.interfaces').CurrencyOption) => any;
|
|
24
|
+
"update:protocol": (protocol: string) => any;
|
|
25
|
+
"update:url": (url: string) => any;
|
|
26
|
+
"protocol-change": (protocol: string) => any;
|
|
27
|
+
"update:tags": (tags: string[]) => any;
|
|
28
|
+
"tag-added": (tag: string) => any;
|
|
29
|
+
"tag-removed": (tag: string, index: number) => any;
|
|
30
|
+
"max-tags-reached": () => any;
|
|
31
|
+
"copy-success": (text: string) => any;
|
|
32
|
+
"copy-error": (error: Error) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
34
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
35
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
36
|
+
onInput?: ((value: string) => any) | undefined;
|
|
37
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
39
|
+
"onUpdate:cardNumber"?: ((number: string) => any) | undefined;
|
|
40
|
+
"onCard-type-detected"?: ((type: import('../../interfaces/input-field.interfaces').CardType) => any) | undefined;
|
|
41
|
+
"onTrailing-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
42
|
+
"onLeading-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
43
|
+
"onTrailing-button-click"?: ((event: MouseEvent) => any) | undefined;
|
|
44
|
+
"onUpdate:countryCode"?: ((code: string) => any) | undefined;
|
|
45
|
+
"onUpdate:phoneNumber"?: ((number: string) => any) | undefined;
|
|
46
|
+
"onCountry-change"?: ((country: CountryOption) => any) | undefined;
|
|
47
|
+
"onUpdate:currency"?: ((currency: string) => any) | undefined;
|
|
48
|
+
"onUpdate:amount"?: ((amount: string | number) => any) | undefined;
|
|
49
|
+
"onCurrency-change"?: ((currency: import('../../interfaces/input-field.interfaces').CurrencyOption) => any) | undefined;
|
|
50
|
+
"onUpdate:protocol"?: ((protocol: string) => any) | undefined;
|
|
51
|
+
"onUpdate:url"?: ((url: string) => any) | undefined;
|
|
52
|
+
"onProtocol-change"?: ((protocol: string) => any) | undefined;
|
|
53
|
+
"onUpdate:tags"?: ((tags: string[]) => any) | undefined;
|
|
54
|
+
"onTag-added"?: ((tag: string) => any) | undefined;
|
|
55
|
+
"onTag-removed"?: ((tag: string, index: number) => any) | undefined;
|
|
56
|
+
"onMax-tags-reached"?: (() => any) | undefined;
|
|
57
|
+
"onCopy-success"?: ((text: string) => any) | undefined;
|
|
58
|
+
"onCopy-error"?: ((error: Error) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
label: string;
|
|
61
|
+
placeholder: string;
|
|
62
|
+
required: boolean;
|
|
63
|
+
size: import('../../interfaces/input-field.interfaces').InputFieldSize;
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
countryCode: string;
|
|
66
|
+
phoneNumber: string;
|
|
67
|
+
readonly: boolean;
|
|
68
|
+
state: import('../../interfaces/input-field.interfaces').InputFieldState;
|
|
69
|
+
hintText: string;
|
|
70
|
+
destructive: boolean;
|
|
71
|
+
colorStyle: import('../../interfaces/input-field.interfaces').InputFieldColorStyle;
|
|
72
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
73
|
+
inputRef: HTMLInputElement;
|
|
74
|
+
}, HTMLDivElement>;
|
|
75
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as InputField } from './InputField.vue';
|
|
2
|
+
export { default as BaseInput } from './BaseInput.vue';
|
|
3
|
+
export { default as DefaultInput } from './DefaultInput.vue';
|
|
4
|
+
export { default as PhoneInput } from './PhoneInput.vue';
|
|
5
|
+
export { default as CardInput } from './CardInput.vue';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
isVisible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
isVisible: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
inputValue: string;
|
|
3
|
+
placeholder: string;
|
|
4
|
+
height?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
"update:inputValue": (value: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLInputElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modalTitle: string;
|
|
3
|
+
headerClass: string;
|
|
4
|
+
disableClickOutside?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
content?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
close: (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface ModelOption {
|
|
2
|
+
id: string | number;
|
|
3
|
+
value: string;
|
|
4
|
+
imageSrc?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ModelDropdownProps {
|
|
7
|
+
options: ModelOption[];
|
|
8
|
+
searchable?: boolean;
|
|
9
|
+
searchPlaceholder?: string;
|
|
10
|
+
modelPlaceholder?: string;
|
|
11
|
+
size?: "sm" | "md" | "lg";
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import('vue').DefineComponent<ModelDropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
select: (option: ModelOption) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<ModelDropdownProps> & Readonly<{
|
|
16
|
+
onSelect?: ((option: ModelOption) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
size: "sm" | "md" | "lg";
|
|
19
|
+
searchPlaceholder: string;
|
|
20
|
+
searchable: boolean;
|
|
21
|
+
modelPlaceholder: string;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
isVisible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
initialJsonContent: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
openaiApiKey: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
openaiModel: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
openaiOrganization: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
cancel: (...args: any[]) => void;
|
|
24
|
+
close: (...args: any[]) => void;
|
|
25
|
+
save: (...args: any[]) => void;
|
|
26
|
+
askAI: (...args: any[]) => void;
|
|
27
|
+
toggleAI: (...args: any[]) => void;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
isVisible: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
initialJsonContent: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
openaiApiKey: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
openaiModel: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
openaiOrganization: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{
|
|
50
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
onAskAI?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
onToggleAI?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
openaiApiKey: string;
|
|
57
|
+
openaiModel: string;
|
|
58
|
+
openaiOrganization: string;
|
|
59
|
+
initialJsonContent: string;
|
|
60
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
61
|
+
export default _default;
|