@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,148 @@
|
|
|
1
|
+
export { default as IconAddChatPop } from './IconAddChatPop.vue';
|
|
2
|
+
export { default as IconAddFileSystem } from './IconAddFileSystem.vue';
|
|
3
|
+
export { default as IconAddPeople } from './IconAddPeople.vue';
|
|
4
|
+
export { default as IconAitronos } from './IconAitronos.vue';
|
|
5
|
+
export { default as IconApple } from './IconApple.vue';
|
|
6
|
+
export { default as IconApplePay } from './IconApplePay.vue';
|
|
7
|
+
export { default as IconAppsGrid } from './IconAppsGrid.vue';
|
|
8
|
+
export { default as IconArrowDown } from './IconArrowDown.vue';
|
|
9
|
+
export { default as IconArrowLeft } from './IconArrowLeft.vue';
|
|
10
|
+
export { default as IconArrowUp } from './IconArrowUp.vue';
|
|
11
|
+
export { default as IconBadgeCheck } from './IconBadgeCheck.vue';
|
|
12
|
+
export { default as IconBroom } from './IconBroom.vue';
|
|
13
|
+
export { default as IconBuildings } from './IconBuildings.vue';
|
|
14
|
+
export { default as IconCalendarWithTickInside } from './IconCalendarWithTickInside.vue';
|
|
15
|
+
export { default as IconCallNotAllowed } from './IconCallNotAllowed.vue';
|
|
16
|
+
export { default as IconCardPay } from './IconCardPay.vue';
|
|
17
|
+
export { default as IconCaution } from './IconCaution.vue';
|
|
18
|
+
export { default as IconChangeLog } from './IconChangeLog.vue';
|
|
19
|
+
export { default as IconCheckCircleFill } from './IconCheckCircleFill.vue';
|
|
20
|
+
export { default as IconCheckInCircle } from './IconCheckInCircle.vue';
|
|
21
|
+
export { default as IconCheckRounded } from './IconCheckRounded.vue';
|
|
22
|
+
export { default as IconChevronDown } from './IconChevronDown.vue';
|
|
23
|
+
export { default as IconChevronLeft } from './IconChevronLeft.vue';
|
|
24
|
+
export { default as IconChevronRight } from './IconChevronRight.vue';
|
|
25
|
+
export { default as IconChevronUp } from './IconChevronUp.vue';
|
|
26
|
+
export { default as IconCircledCheck } from './IconCircledCheck.vue';
|
|
27
|
+
export { default as IconClock } from './IconClock.vue';
|
|
28
|
+
export { default as IconClosedEnvelope } from './IconClosedEnvelope.vue';
|
|
29
|
+
export { default as IconCloudUpload } from './IconCloudUpload.vue';
|
|
30
|
+
export { default as IconConnectorConfluence } from './IconConnectorConfluence.vue';
|
|
31
|
+
export { default as IconConnectorFigma } from './IconConnectorFigma.vue';
|
|
32
|
+
export { default as IconConnectorFreshDesk } from './IconConnectorFreshDesk.vue';
|
|
33
|
+
export { default as IconConnectorGitHub } from './IconConnectorGitHub.vue';
|
|
34
|
+
export { default as IconConnectorJira } from './IconConnectorJira.vue';
|
|
35
|
+
export { default as IconConnectorLinear } from './IconConnectorLinear.vue';
|
|
36
|
+
export { default as IconConnectorNotion } from './IconConnectorNotion.vue';
|
|
37
|
+
export { default as IconConnectorSlack } from './IconConnectorSlack.vue';
|
|
38
|
+
export { default as IconConnectorZapier } from './IconConnectorZapier.vue';
|
|
39
|
+
export { default as IconCopy } from './IconCopy.vue';
|
|
40
|
+
export { default as IconCross } from './IconCross.vue';
|
|
41
|
+
export { default as IconCrossCircleFill } from './IconCrossCircleFill.vue';
|
|
42
|
+
export { default as IconCrossInCircle } from './IconCrossInCircle.vue';
|
|
43
|
+
export { default as IconCurrentTick } from './IconCurrentTick.vue';
|
|
44
|
+
export { default as IconDataUpload } from './IconDataUpload.vue';
|
|
45
|
+
export { default as IconDelete } from './IconDelete.vue';
|
|
46
|
+
export { default as IconDeleteFillRed } from './IconDeleteFillRed.vue';
|
|
47
|
+
export { default as IconDialingPhone } from './IconDialingPhone.vue';
|
|
48
|
+
export { default as IconDisabledAlert } from './IconDisabledAlert.vue';
|
|
49
|
+
export { default as IconDocumentation } from './IconDocumentation.vue';
|
|
50
|
+
export { default as IconDownload } from './IconDownload.vue';
|
|
51
|
+
export { default as IconDribbble } from './IconDribbble.vue';
|
|
52
|
+
export { default as IconDropdownArrow } from './IconDropdownArrow.vue';
|
|
53
|
+
export { default as IconEdit } from './IconEdit.vue';
|
|
54
|
+
export { default as IconEditLinePath } from './IconEditLinePath.vue';
|
|
55
|
+
export { default as IconEllipse } from './IconEllipse.vue';
|
|
56
|
+
export { default as IconExcelThumbnail } from './IconExcelThumbnail.vue';
|
|
57
|
+
export { default as IconEye } from './IconEye.vue';
|
|
58
|
+
export { default as IconFacebook } from './IconFacebook.vue';
|
|
59
|
+
export { default as IconFigma } from './IconFigma.vue';
|
|
60
|
+
export { default as IconFile } from './IconFile.vue';
|
|
61
|
+
export { default as IconFileSystem } from './IconFileSystem.vue';
|
|
62
|
+
export { default as IconFileUpload } from './IconFileUpload.vue';
|
|
63
|
+
export { default as IconFilter } from './IconFilter.vue';
|
|
64
|
+
export { default as IconFolder } from './IconFolder.vue';
|
|
65
|
+
export { default as IconFreddyHub } from './IconFreddyHub.vue';
|
|
66
|
+
export { default as IconFreddyHubLogo } from './IconFreddyHubLogo.vue';
|
|
67
|
+
export { default as IconFreddyHubNewLogo } from './IconFreddyHubNewLogo.vue';
|
|
68
|
+
export { default as IconFreddyHubTitle } from './IconFreddyHubTitle.vue';
|
|
69
|
+
export { default as IconFreddySmall } from './IconFreddySmall.vue';
|
|
70
|
+
export { default as IconGlobExpand } from './IconGlobExpand.vue';
|
|
71
|
+
export { default as IconGlobe } from './IconGlobe.vue';
|
|
72
|
+
export { default as IconGoogle } from './IconGoogle.vue';
|
|
73
|
+
export { default as IconHollowCircle } from './IconHollowCircle.vue';
|
|
74
|
+
export { default as IconHome } from './IconHome.vue';
|
|
75
|
+
export { default as IconInfoRounded } from './IconInfoRounded.vue';
|
|
76
|
+
export { default as IconInvalidInvoice } from './IconInvalidInvoice.vue';
|
|
77
|
+
export { default as IconInvoice } from './IconInvoice.vue';
|
|
78
|
+
export { default as IconInvoiceSwitch } from './IconInvoiceSwitch.vue';
|
|
79
|
+
export { default as IconLapTableBottom } from './IconLapTableBottom.vue';
|
|
80
|
+
export { default as IconLense } from './IconLense.vue';
|
|
81
|
+
export { default as IconLightCross } from './IconLightCross.vue';
|
|
82
|
+
export { default as IconLink04 } from './IconLink04.vue';
|
|
83
|
+
export { default as IconLoadingError } from './IconLoadingError.vue';
|
|
84
|
+
export { default as IconLoadingOrg } from './IconLoadingOrg.vue';
|
|
85
|
+
export { default as IconLocationWithCircleIn } from './IconLocationWithCircleIn.vue';
|
|
86
|
+
export { default as IconLock } from './IconLock.vue';
|
|
87
|
+
export { default as IconMarketPlace } from './IconMarketPlace.vue';
|
|
88
|
+
export { default as IconMaximize } from './IconMaximize.vue';
|
|
89
|
+
export { default as IconMicrophone } from './IconMicrophone.vue';
|
|
90
|
+
export { default as IconMutedMicrophone } from './IconMutedMicrophone.vue';
|
|
91
|
+
export { default as IconNewNotification } from './IconNewNotification.vue';
|
|
92
|
+
export { default as IconNewTab } from './IconNewTab.vue';
|
|
93
|
+
export { default as IconNotification } from './IconNotification.vue';
|
|
94
|
+
export { default as IconOpenBook } from './IconOpenBook.vue';
|
|
95
|
+
export { default as IconPaperAirPlane } from './IconPaperAirPlane.vue';
|
|
96
|
+
export { default as IconPauseCircle } from './IconPauseCircle.vue';
|
|
97
|
+
export { default as IconPdfThumbnail } from './IconPdfThumbnail.vue';
|
|
98
|
+
export { default as IconPenEdit } from './IconPenEdit.vue';
|
|
99
|
+
export { default as IconPencil } from './IconPencil.vue';
|
|
100
|
+
export { default as IconPeopleHub } from './IconPeopleHub.vue';
|
|
101
|
+
export { default as IconPersonCircle } from './IconPersonCircle.vue';
|
|
102
|
+
export { default as IconPits } from './IconPits.vue';
|
|
103
|
+
export { default as IconPlay } from './IconPlay.vue';
|
|
104
|
+
export { default as IconPlus } from './IconPlus.vue';
|
|
105
|
+
export { default as IconPolygonDown } from './IconPolygonDown.vue';
|
|
106
|
+
export { default as IconPresentation } from './IconPresentation.vue';
|
|
107
|
+
export { default as IconProgressBase } from './IconProgressBase.vue';
|
|
108
|
+
export { default as IconProgressComplete } from './IconProgressComplete.vue';
|
|
109
|
+
export { default as IconProgressGoing } from './IconProgressGoing.vue';
|
|
110
|
+
export { default as IconPurpose } from './IconPurpose.vue';
|
|
111
|
+
export { default as IconPurseCircleFill } from './IconPurseCircleFill.vue';
|
|
112
|
+
export { default as IconQuestion } from './IconQuestion.vue';
|
|
113
|
+
export { default as IconRadio } from './IconRadio.vue';
|
|
114
|
+
export { default as IconRadioFill } from './IconRadioFill.vue';
|
|
115
|
+
export { default as IconRefresh } from './IconRefresh.vue';
|
|
116
|
+
export { default as IconRevertedTriangle } from './IconRevertedTriangle.vue';
|
|
117
|
+
export { default as IconRobotScreen } from './IconRobotScreen.vue';
|
|
118
|
+
export { default as IconRoundTick } from './IconRoundTick.vue';
|
|
119
|
+
export { default as IconSearch } from './IconSearch.vue';
|
|
120
|
+
export { default as IconSearchOptimised } from './IconSearchOptimised.vue';
|
|
121
|
+
export { default as IconSectionHide } from './IconSectionHide.vue';
|
|
122
|
+
export { default as IconSend } from './IconSend.vue';
|
|
123
|
+
export { default as IconSettings } from './IconSettings.vue';
|
|
124
|
+
export { default as IconSettingsBold } from './IconSettingsBold.vue';
|
|
125
|
+
export { default as IconSize } from './IconSize.vue';
|
|
126
|
+
export { default as IconSliderKnobs } from './IconSliderKnobs.vue';
|
|
127
|
+
export { default as IconSortIdle } from './IconSortIdle.vue';
|
|
128
|
+
export { default as IconSparkle } from './IconSparkle.vue';
|
|
129
|
+
export { default as IconSpotlio } from './IconSpotlio.vue';
|
|
130
|
+
export { default as IconStar } from './IconStar.vue';
|
|
131
|
+
export { default as IconStatistics } from './IconStatistics.vue';
|
|
132
|
+
export { default as IconStopChat } from './IconStopChat.vue';
|
|
133
|
+
export { default as IconStreamLineHub } from './IconStreamLineHub.vue';
|
|
134
|
+
export { default as IconStreamLineHubNewLogo } from './IconStreamLineHubNewLogo.vue';
|
|
135
|
+
export { default as IconSun } from './IconSun.vue';
|
|
136
|
+
export { default as IconSwap } from './IconSwap.vue';
|
|
137
|
+
export { default as IconText } from './IconText.vue';
|
|
138
|
+
export { default as IconTextThumbnail } from './IconTextThumbnail.vue';
|
|
139
|
+
export { default as IconThinDocument } from './IconThinDocument.vue';
|
|
140
|
+
export { default as IconThinFile } from './IconThinFile.vue';
|
|
141
|
+
export { default as IconThumbsDown } from './IconThumbsDown.vue';
|
|
142
|
+
export { default as IconTick } from './IconTick.vue';
|
|
143
|
+
export { default as IconUser } from './IconUser.vue';
|
|
144
|
+
export { default as IconVerticalDots } from './IconVerticalDots.vue';
|
|
145
|
+
export { default as IconVideoCamera } from './IconVideoCamera.vue';
|
|
146
|
+
export { default as IconWarningOctal } from './IconWarningOctal.vue';
|
|
147
|
+
export { default as IconX } from './IconX.vue';
|
|
148
|
+
export { default as IconZip } from './IconZip.vue';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as FreddyPlugin } from './plugin';
|
|
2
|
+
export default FreddyPlugin;
|
|
3
|
+
export { frSanitizePlugin, iconStylePlugin } from './plugins';
|
|
4
|
+
/**
|
|
5
|
+
* IconStyleDirective - The directive implementation itself
|
|
6
|
+
* Use this if you want to register the directive manually without using the plugin wrapper
|
|
7
|
+
* Example: app.directive('icon-style', IconStyleDirective)
|
|
8
|
+
*/
|
|
9
|
+
export { default as IconStyleDirective } from './plugins/icon-style';
|
|
10
|
+
/**
|
|
11
|
+
* vFrSanitize - The fr-sanitize directive implementation
|
|
12
|
+
* Use this if you want to register the directive manually without using the plugin wrapper
|
|
13
|
+
* Example: app.directive('fr-sanitize', vFrSanitize)
|
|
14
|
+
*/
|
|
15
|
+
export { vFrSanitize } from './directives/frSanitize';
|
|
16
|
+
export * from './animations';
|
|
17
|
+
export * from './components';
|
|
18
|
+
export * from './icons';
|
|
19
|
+
export * from './utility';
|
|
20
|
+
export * from './helpers';
|
|
21
|
+
export * from './interfaces';
|
|
22
|
+
export * from './directives';
|
|
23
|
+
export * from './composables';
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
export interface AssistantFieldProps {
|
|
3
|
+
name?: string;
|
|
4
|
+
date?: string;
|
|
5
|
+
assistantId?: string;
|
|
6
|
+
isDefault?: boolean;
|
|
7
|
+
isSelected?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface AssistantFieldEvents {
|
|
10
|
+
assistantFieldClick: [event: MouseEvent];
|
|
11
|
+
}
|
|
12
|
+
export interface AssistantFieldSlots {
|
|
13
|
+
default?: never;
|
|
14
|
+
name?: never;
|
|
15
|
+
date?: never;
|
|
16
|
+
assistantId?: never;
|
|
17
|
+
privacyIcon?: never;
|
|
18
|
+
}
|
|
19
|
+
export interface AssistantItem {
|
|
20
|
+
id?: string;
|
|
21
|
+
name: string;
|
|
22
|
+
date: string;
|
|
23
|
+
assistantId: string;
|
|
24
|
+
isDefault: boolean;
|
|
25
|
+
isSelected?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface AssistantListProps {
|
|
28
|
+
assistants?: AssistantItem[];
|
|
29
|
+
selectedAssistantId?: string | null;
|
|
30
|
+
}
|
|
31
|
+
export interface AssistantListEvents {
|
|
32
|
+
assistantClick: [assistant: AssistantItem, event: MouseEvent];
|
|
33
|
+
}
|
|
34
|
+
export interface AssistantListSlots {
|
|
35
|
+
default?: never;
|
|
36
|
+
assistantField?: {
|
|
37
|
+
assistant: AssistantItem;
|
|
38
|
+
index: number;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface AssistantsHeaderProps {
|
|
42
|
+
assistantImage?: string;
|
|
43
|
+
assistantIcon: string;
|
|
44
|
+
assistantId?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface AssistantsHeaderEmits {
|
|
47
|
+
edit: [event: MouseEvent];
|
|
48
|
+
playground: [event: MouseEvent];
|
|
49
|
+
}
|
|
50
|
+
export interface AssistantsHeaderExpose {
|
|
51
|
+
}
|
|
52
|
+
export interface AvatarChoosingProps {
|
|
53
|
+
imageUrl: string;
|
|
54
|
+
isSelected?: boolean;
|
|
55
|
+
altText?: string;
|
|
56
|
+
backgroundColor?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface AvatarChoosingEmits {
|
|
59
|
+
click: [event: MouseEvent];
|
|
60
|
+
}
|
|
61
|
+
export interface AvatarChoosingExpose {
|
|
62
|
+
}
|
|
63
|
+
export interface Avatar {
|
|
64
|
+
id: string | number;
|
|
65
|
+
url: string;
|
|
66
|
+
name: string;
|
|
67
|
+
}
|
|
68
|
+
export interface AvatarListProps {
|
|
69
|
+
avatars: Avatar[];
|
|
70
|
+
title?: string;
|
|
71
|
+
showSelectedInfo?: boolean;
|
|
72
|
+
allowDeselect?: boolean;
|
|
73
|
+
multiple?: boolean;
|
|
74
|
+
}
|
|
75
|
+
export interface AvatarListEmits {
|
|
76
|
+
selectionChange: [selectedId: string | number | null];
|
|
77
|
+
avatarClick: [avatarId: string | number, isSelected: boolean];
|
|
78
|
+
}
|
|
79
|
+
export interface AvatarListExpose {
|
|
80
|
+
selectedAvatarId: Ref<string | number | null>;
|
|
81
|
+
selectedAvatar: ComputedRef<Avatar | null>;
|
|
82
|
+
selectAvatar: (id: string | number) => void;
|
|
83
|
+
clearSelection: () => void;
|
|
84
|
+
}
|
|
85
|
+
export interface Icon {
|
|
86
|
+
id: string | number;
|
|
87
|
+
name?: string;
|
|
88
|
+
iconName?: string;
|
|
89
|
+
component?: any;
|
|
90
|
+
}
|
|
91
|
+
export interface Face {
|
|
92
|
+
id: string | number;
|
|
93
|
+
imageUrl: string;
|
|
94
|
+
altText?: string;
|
|
95
|
+
backgroundColor?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface Voice {
|
|
98
|
+
id: string | number;
|
|
99
|
+
name: string;
|
|
100
|
+
}
|
|
101
|
+
export interface ChooseAssistantAvatarProps {
|
|
102
|
+
title?: string;
|
|
103
|
+
description?: string;
|
|
104
|
+
icons?: Icon[];
|
|
105
|
+
faces?: Face[];
|
|
106
|
+
voices?: Voice[];
|
|
107
|
+
searchPlaceholder?: string;
|
|
108
|
+
cancelButtonText?: string;
|
|
109
|
+
saveButtonText?: string;
|
|
110
|
+
closeButtonAriaLabel?: string;
|
|
111
|
+
searchButtonAriaLabel?: string;
|
|
112
|
+
uploadButtonAriaLabel?: string;
|
|
113
|
+
allowMultipleSelection?: boolean;
|
|
114
|
+
}
|
|
115
|
+
export interface ChooseAssistantAvatarEmits {
|
|
116
|
+
close: [];
|
|
117
|
+
cancel: [];
|
|
118
|
+
save: [
|
|
119
|
+
data: {
|
|
120
|
+
selectedIconId: string | number | null;
|
|
121
|
+
selectedFaceId: string | number | null;
|
|
122
|
+
selectedVoiceId: string | number | null;
|
|
123
|
+
}
|
|
124
|
+
];
|
|
125
|
+
iconSelect: [icon: Icon];
|
|
126
|
+
faceSelect: [face: Face];
|
|
127
|
+
voiceSelect: [voice: Voice];
|
|
128
|
+
searchInput: [query: string];
|
|
129
|
+
searchClick: [];
|
|
130
|
+
uploadClick: [];
|
|
131
|
+
}
|
|
132
|
+
export interface ChooseAssistantAvatarExpose {
|
|
133
|
+
selectedIconId: Ref<string | number | null>;
|
|
134
|
+
selectedFaceId: Ref<string | number | null>;
|
|
135
|
+
selectedVoiceId: Ref<string | number | null>;
|
|
136
|
+
resetSelections: () => void;
|
|
137
|
+
}
|
|
138
|
+
export interface RuleCreator {
|
|
139
|
+
avatar: string;
|
|
140
|
+
name: string;
|
|
141
|
+
username: string;
|
|
142
|
+
}
|
|
143
|
+
export interface Rule {
|
|
144
|
+
id: string | number;
|
|
145
|
+
title: string;
|
|
146
|
+
description?: string;
|
|
147
|
+
isActive?: boolean;
|
|
148
|
+
status: string;
|
|
149
|
+
dependencies: number;
|
|
150
|
+
creator: RuleCreator;
|
|
151
|
+
}
|
|
152
|
+
export interface RuleTab {
|
|
153
|
+
id: string;
|
|
154
|
+
label: string;
|
|
155
|
+
count: number;
|
|
156
|
+
}
|
|
157
|
+
export interface RulesManagementProps {
|
|
158
|
+
rules?: Rule[];
|
|
159
|
+
tabs?: RuleTab[];
|
|
160
|
+
initialTab?: string;
|
|
161
|
+
totalPages?: number;
|
|
162
|
+
title?: string;
|
|
163
|
+
addButtonText?: string;
|
|
164
|
+
emptyStateText?: string;
|
|
165
|
+
searchPlaceholder?: string;
|
|
166
|
+
}
|
|
167
|
+
export interface RulesManagementEmits {
|
|
168
|
+
addRule: [];
|
|
169
|
+
editRule: [rule: Rule];
|
|
170
|
+
deleteRule: [ruleId: string | number];
|
|
171
|
+
toggleRule: [ruleId: string | number, isActive: boolean];
|
|
172
|
+
searchInput: [query: string];
|
|
173
|
+
search: [query: string];
|
|
174
|
+
createRule: [];
|
|
175
|
+
tabChange: [tabId: string];
|
|
176
|
+
edit: [rule: Rule];
|
|
177
|
+
view: [rule: Rule];
|
|
178
|
+
pageChange: [page: number];
|
|
179
|
+
}
|
|
180
|
+
export interface RulesManagementExpose {
|
|
181
|
+
}
|
|
182
|
+
export interface VectorFrameProps {
|
|
183
|
+
title?: string;
|
|
184
|
+
badgeText?: string;
|
|
185
|
+
isSelected?: boolean;
|
|
186
|
+
}
|
|
187
|
+
export interface VectorFrameEmits {
|
|
188
|
+
click: [event: MouseEvent];
|
|
189
|
+
}
|
|
190
|
+
export interface VectorFrameExpose {
|
|
191
|
+
}
|
|
192
|
+
export interface VectorFrameData {
|
|
193
|
+
id?: string | number;
|
|
194
|
+
title: string;
|
|
195
|
+
badgeText?: string;
|
|
196
|
+
isSelected?: boolean;
|
|
197
|
+
}
|
|
198
|
+
export interface VectorSectionProps {
|
|
199
|
+
title?: string;
|
|
200
|
+
dbCount?: number;
|
|
201
|
+
searchPlaceholder?: string;
|
|
202
|
+
frames?: VectorFrameData[];
|
|
203
|
+
maxDisplayed?: number;
|
|
204
|
+
}
|
|
205
|
+
export interface VectorSectionEmits {
|
|
206
|
+
frameClick: [frame: VectorFrameData, index: number];
|
|
207
|
+
addVectorStore: [];
|
|
208
|
+
showMore: [];
|
|
209
|
+
searchInput: [query: string];
|
|
210
|
+
}
|
|
211
|
+
export interface VectorSectionExpose {
|
|
212
|
+
}
|
|
213
|
+
export interface VoiceListProps {
|
|
214
|
+
voices: Voice[];
|
|
215
|
+
title?: string;
|
|
216
|
+
showSelectedInfo?: boolean;
|
|
217
|
+
allowDeselect?: boolean;
|
|
218
|
+
}
|
|
219
|
+
export interface VoiceListEmits {
|
|
220
|
+
selectionChange: [selectedId: string | number | null];
|
|
221
|
+
voiceClick: [voiceId: string | number, isSelected: boolean];
|
|
222
|
+
}
|
|
223
|
+
export interface VoiceListExpose {
|
|
224
|
+
selectedVoiceId: Ref<string | number | null>;
|
|
225
|
+
selectedVoice: ComputedRef<Voice | null>;
|
|
226
|
+
selectVoice: (id: string | number) => void;
|
|
227
|
+
clearSelection: () => void;
|
|
228
|
+
}
|
|
229
|
+
export interface VoiceSelectionProps {
|
|
230
|
+
voiceName: string;
|
|
231
|
+
isSelected?: boolean;
|
|
232
|
+
}
|
|
233
|
+
export interface VoiceSelectionEmits {
|
|
234
|
+
handleClick: [event: MouseEvent];
|
|
235
|
+
}
|
|
236
|
+
export interface VoiceSelectionExpose {
|
|
237
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BaseButton Component Interfaces
|
|
3
|
+
* Defines the props and types for the BaseButton component
|
|
4
|
+
*/
|
|
5
|
+
export interface BaseButtonProps {
|
|
6
|
+
/**
|
|
7
|
+
* Button size variant
|
|
8
|
+
* - s: 20px height, 14px font, 2px gap, 4px border-radius, 2px padding, 16px icon
|
|
9
|
+
* - sm: 28px height, 14px font, 4px gap, 8px border-radius, 4px padding, 20px icon
|
|
10
|
+
* - md: 40px height, 16px font, 4px gap, 8px border-radius, 4px padding, 20px icon
|
|
11
|
+
* - lg: 48px height, 16px font, 8px gap, 8px border-radius, 8px padding, 24px icon
|
|
12
|
+
* - xl: 52px height, 18px font, 10px gap, 8px border-radius, 12px padding, 24px icon
|
|
13
|
+
*/
|
|
14
|
+
size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
|
|
15
|
+
/**
|
|
16
|
+
* Visual hierarchy of the button
|
|
17
|
+
* - primary: Filled background with action color
|
|
18
|
+
* - secondary: Transparent background with colored border
|
|
19
|
+
* - tertiary: Transparent background with subtle border
|
|
20
|
+
* - link: No background, text only
|
|
21
|
+
*/
|
|
22
|
+
hierarchy?: 'primary' | 'secondary' | 'tertiary' | 'link';
|
|
23
|
+
/**
|
|
24
|
+
* Current state of the button
|
|
25
|
+
* - default: Base styling per hierarchy
|
|
26
|
+
* - hover: Background overlay, slight elevation
|
|
27
|
+
* - focused: Focus ring with 2px offset
|
|
28
|
+
* - disabled: Reduced opacity, muted colors
|
|
29
|
+
* - loading: Spinner + optional text, disabled interaction
|
|
30
|
+
*/
|
|
31
|
+
state?: 'default' | 'hover' | 'focused' | 'disabled' | 'loading';
|
|
32
|
+
/**
|
|
33
|
+
* Whether the button is in error/destructive state
|
|
34
|
+
* When true, applies error colors (red variants)
|
|
35
|
+
*/
|
|
36
|
+
errorState?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the button shows only an icon (square button)
|
|
39
|
+
*/
|
|
40
|
+
iconOnly?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Left icon component name (from src/icons folder)
|
|
43
|
+
*/
|
|
44
|
+
leftIcon?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Right icon component name (from src/icons folder)
|
|
47
|
+
*/
|
|
48
|
+
rightIcon?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Button label text
|
|
51
|
+
*/
|
|
52
|
+
label?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Customizable loading text (e.g., "Saving...", "Submitting...")
|
|
55
|
+
* If not provided, shows original label or just spinner
|
|
56
|
+
*/
|
|
57
|
+
loadingText?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the button is disabled
|
|
60
|
+
*/
|
|
61
|
+
disabled?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the button is in loading state
|
|
64
|
+
*/
|
|
65
|
+
loading?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Tooltip text to show on hover
|
|
68
|
+
*/
|
|
69
|
+
tooltip?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Tooltip placement
|
|
72
|
+
*/
|
|
73
|
+
tooltipPlacement?: 'top' | 'bottom' | 'left' | 'right';
|
|
74
|
+
}
|
|
75
|
+
export interface BaseButtonEmits {
|
|
76
|
+
/**
|
|
77
|
+
* Emitted when button is clicked
|
|
78
|
+
*/
|
|
79
|
+
click: [event: MouseEvent];
|
|
80
|
+
/**
|
|
81
|
+
* Emitted when left icon is clicked (if applicable)
|
|
82
|
+
*/
|
|
83
|
+
leftIconClick: [event: MouseEvent];
|
|
84
|
+
/**
|
|
85
|
+
* Emitted when right icon is clicked (if applicable)
|
|
86
|
+
*/
|
|
87
|
+
rightIconClick: [event: MouseEvent];
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Button size specifications from Figma
|
|
91
|
+
*/
|
|
92
|
+
export interface ButtonSizeSpecs {
|
|
93
|
+
height: number;
|
|
94
|
+
fontSize: number;
|
|
95
|
+
gap: number;
|
|
96
|
+
borderRadius: number;
|
|
97
|
+
padding: number;
|
|
98
|
+
iconSize: number;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Button hierarchy color specifications
|
|
102
|
+
*/
|
|
103
|
+
export interface ButtonHierarchyColors {
|
|
104
|
+
background: string;
|
|
105
|
+
color: string;
|
|
106
|
+
border: string;
|
|
107
|
+
hoverBackground?: string;
|
|
108
|
+
hoverBorder?: string;
|
|
109
|
+
focusRing?: string;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Button state specifications
|
|
113
|
+
*/
|
|
114
|
+
export interface ButtonStateSpecs {
|
|
115
|
+
opacity?: number;
|
|
116
|
+
transform?: string;
|
|
117
|
+
boxShadow?: string;
|
|
118
|
+
cursor?: string;
|
|
119
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interfaces for ColorValidation component
|
|
3
|
+
*/
|
|
4
|
+
export type TestResult = {
|
|
5
|
+
name: string;
|
|
6
|
+
varName: string;
|
|
7
|
+
expected: string;
|
|
8
|
+
actual: string;
|
|
9
|
+
pass: boolean;
|
|
10
|
+
};
|
|
11
|
+
export type CompatibilityTest = {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
textColor: string;
|
|
15
|
+
backgroundColor: string;
|
|
16
|
+
contrastRatio: number;
|
|
17
|
+
pass: boolean;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Interfaces for ColorComparison component
|
|
21
|
+
*/
|
|
22
|
+
export interface ColorInfo {
|
|
23
|
+
name: string;
|
|
24
|
+
id: string;
|
|
25
|
+
version: number;
|
|
26
|
+
value: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ColorSection {
|
|
29
|
+
name: string;
|
|
30
|
+
id: string;
|
|
31
|
+
version: number;
|
|
32
|
+
colors: Record<string, ColorInfo>;
|
|
33
|
+
}
|
|
34
|
+
export interface ColorConfig {
|
|
35
|
+
name: string;
|
|
36
|
+
id: string;
|
|
37
|
+
version: number;
|
|
38
|
+
order: number;
|
|
39
|
+
isPublic: boolean;
|
|
40
|
+
isDefault: boolean;
|
|
41
|
+
sections: Record<string, ColorSection>;
|
|
42
|
+
}
|
|
43
|
+
export interface ColorMode {
|
|
44
|
+
name: string;
|
|
45
|
+
id: string;
|
|
46
|
+
version: number;
|
|
47
|
+
order: number;
|
|
48
|
+
modeKey: string;
|
|
49
|
+
isDefault: boolean;
|
|
50
|
+
colorConfig: ColorConfig;
|
|
51
|
+
}
|
|
52
|
+
export interface Project {
|
|
53
|
+
name: string;
|
|
54
|
+
id: string;
|
|
55
|
+
version: number;
|
|
56
|
+
colorModes: ColorMode[];
|
|
57
|
+
}
|
|
58
|
+
export interface Configuration {
|
|
59
|
+
metadata: {
|
|
60
|
+
generatedAt: string;
|
|
61
|
+
source: string;
|
|
62
|
+
totalProjects: number;
|
|
63
|
+
note: string;
|
|
64
|
+
};
|
|
65
|
+
projects: Project[];
|
|
66
|
+
}
|
|
67
|
+
export interface ComparisonItem {
|
|
68
|
+
colorName: string;
|
|
69
|
+
color1: string;
|
|
70
|
+
color2: string;
|
|
71
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interfaces Index
|
|
3
|
+
* Exports all interfaces organized by functionality
|
|
4
|
+
*/
|
|
5
|
+
export * from './ui';
|
|
6
|
+
export * from './services';
|
|
7
|
+
export * from './theme';
|
|
8
|
+
export * from './utilities';
|
|
9
|
+
export * from './social-buttons.interfaces';
|
|
10
|
+
export * from './base-button.interfaces';
|
|
11
|
+
export * from './assistant.interfaces';
|
|
12
|
+
export * from './skeleton-loader.interfaces';
|
|
13
|
+
export * from './color-comparison.interfaces';
|
|
14
|
+
export * from './input-field.interfaces';
|
|
15
|
+
export * from './tab-list.interfaces';
|
|
16
|
+
export * from './tab-button.interfaces';
|
|
17
|
+
export * from './slider.interfaces';
|
|
18
|
+
export * from './switch-slot.interfaces';
|
|
19
|
+
export * from './reference';
|