@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.
Files changed (293) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +224 -27
  3. package/dist/freddy-plugins.css +1 -1
  4. package/dist/{icons-Lnvg2xiB.js → icons-Be1wtE70.js} +2066 -2000
  5. package/dist/icons-Be1wtE70.js.map +1 -0
  6. package/dist/icons-CCfXKsmx.cjs +2 -0
  7. package/dist/icons-CCfXKsmx.cjs.map +1 -0
  8. package/dist/index.cjs +6 -6
  9. package/dist/index.cjs.map +1 -1
  10. package/dist/index.d.ts +6 -4389
  11. package/dist/index.js +2252 -2234
  12. package/dist/index.js.map +1 -1
  13. package/dist/src/App.vue.d.ts +2 -0
  14. package/dist/src/animations/AnimeSpaceman.vue.d.ts +8 -0
  15. package/dist/src/animations/index.d.ts +1 -0
  16. package/dist/src/assets/logos/index.d.ts +4 -0
  17. package/dist/src/components/AdvancedModal.vue.d.ts +23 -0
  18. package/dist/src/components/Assistant/AssistantField.vue.d.ts +13 -0
  19. package/dist/src/components/Assistant/AssistantList.vue.d.ts +10 -0
  20. package/dist/src/components/Assistant/AssistantsHeader.vue.d.ts +17 -0
  21. package/dist/src/components/Assistant/AvatarChoosing.vue.d.ts +16 -0
  22. package/dist/src/components/Assistant/AvatarList.vue.d.ts +30 -0
  23. package/dist/src/components/Assistant/ChooseAssistantAvatar.vue.d.ts +77 -0
  24. package/dist/src/components/Assistant/RulesManagement.vue.d.ts +28 -0
  25. package/dist/src/components/Assistant/VectorFrame.vue.d.ts +15 -0
  26. package/dist/src/components/Assistant/VectorSection.vue.d.ts +31 -0
  27. package/dist/src/components/Assistant/VoiceList.vue.d.ts +27 -0
  28. package/dist/src/components/Assistant/VoiceSelection.vue.d.ts +12 -0
  29. package/dist/src/components/Buttons/BaseButton.vue.d.ts +25 -0
  30. package/dist/src/components/Buttons/SocialButtons.vue.d.ts +13 -0
  31. package/dist/src/components/Buttons/index.d.ts +2 -0
  32. package/dist/src/components/CodeBlock.vue.d.ts +6 -0
  33. package/dist/src/components/ConfirmationModal.vue.d.ts +28 -0
  34. package/dist/src/components/CustomCheckbox.vue.d.ts +13 -0
  35. package/dist/src/components/DeleteConfirmationModal.vue.d.ts +28 -0
  36. package/dist/src/components/Descriptions.vue.d.ts +85 -0
  37. package/dist/src/components/DiffTextarea.vue.d.ts +21 -0
  38. package/dist/src/components/Dropdown.vue.d.ts +75 -0
  39. package/dist/src/components/EditFeaturedExcerptModal.vue.d.ts +161 -0
  40. package/dist/src/components/EmailCodeVerification.vue.d.ts +20 -0
  41. package/dist/src/components/InputField/BaseInput.vue.d.ts +46 -0
  42. package/dist/src/components/InputField/CardInput.vue.d.ts +77 -0
  43. package/dist/src/components/InputField/DefaultInput.vue.d.ts +39 -0
  44. package/dist/src/components/InputField/InputField.vue.d.ts +74 -0
  45. package/dist/src/components/InputField/PhoneInput.vue.d.ts +75 -0
  46. package/dist/src/components/InputField/index.d.ts +5 -0
  47. package/dist/src/components/Instructions/InstructionsModal.vue.d.ts +12 -0
  48. package/dist/src/components/Instructions/InstructiontextArea.vue.d.ts +11 -0
  49. package/dist/src/components/ModalOverlay.vue.d.ts +26 -0
  50. package/dist/src/components/ModelDropdown.vue.d.ts +23 -0
  51. package/dist/src/components/OutputModeModal.vue.d.ts +61 -0
  52. package/dist/src/components/Pagination.vue.d.ts +42 -0
  53. package/dist/src/components/SearchInput.vue.d.ts +26 -0
  54. package/dist/src/components/SendButton.vue.d.ts +7 -0
  55. package/dist/src/components/SimpleChatInterface.vue.d.ts +48 -0
  56. package/dist/src/components/SkeletonLoader.vue.d.ts +8 -0
  57. package/dist/src/components/Slider.vue.d.ts +19 -0
  58. package/dist/src/components/SnackBar.vue.d.ts +2 -0
  59. package/dist/src/components/Spinner.vue.d.ts +5 -0
  60. package/dist/src/components/Switch.vue.d.ts +11 -0
  61. package/dist/src/components/SwitchSlot.vue.d.ts +22 -0
  62. package/dist/src/components/TabList.vue.d.ts +9 -0
  63. package/dist/src/components/Tabs/BaseTabButton.vue.d.ts +12 -0
  64. package/dist/src/components/Tabs/index.d.ts +5 -0
  65. package/dist/src/components/TextAreaInputField.vue.d.ts +266 -0
  66. package/dist/src/components/ToastMessage.vue.d.ts +2 -0
  67. package/dist/src/components/Tooltip.vue.d.ts +32 -0
  68. package/dist/src/components/TooltipV2.vue.d.ts +41 -0
  69. package/dist/src/components/index.d.ts +50 -0
  70. package/dist/src/composables/index.d.ts +4 -0
  71. package/dist/src/composables/useErrorHandler.d.ts +46 -0
  72. package/dist/src/composables/usePerformance.d.ts +54 -0
  73. package/dist/src/composables/useTheme.d.ts +37 -0
  74. package/dist/src/config/api.config.d.ts +31 -0
  75. package/dist/src/config/colors/brands/contentplate.colors.d.ts +3 -0
  76. package/dist/src/config/colors/brands/flowplate.colors.d.ts +3 -0
  77. package/dist/src/config/colors/brands/freddy.colors.d.ts +3 -0
  78. package/dist/src/config/colors/color-system.d.ts +58 -0
  79. package/dist/src/config/colors/index.d.ts +12 -0
  80. package/dist/src/config/colors/types/color-system.types.d.ts +62 -0
  81. package/dist/src/config/colors/types/color.types.d.ts +99 -0
  82. package/dist/src/config/colors/utils/color.utils.d.ts +86 -0
  83. package/dist/src/config/environments.d.ts +11 -0
  84. package/dist/src/config/theme/freddy-default.d.ts +16 -0
  85. package/dist/src/config/theme/freddy-light.d.ts +14 -0
  86. package/dist/src/config/theme/global-theme-store.d.ts +128 -0
  87. package/dist/src/config/theme/themes.d.ts +12 -0
  88. package/dist/src/directives/frSanitize.d.ts +5 -0
  89. package/dist/src/directives/index.d.ts +1 -0
  90. package/dist/src/foundations/components/Logo.vue.d.ts +11 -0
  91. package/dist/src/foundations/components/index.d.ts +1 -0
  92. package/dist/src/foundations/index.d.ts +1 -0
  93. package/dist/src/helpers/BaseImageIcon.vue.d.ts +6 -0
  94. package/dist/src/helpers/api-response.helper.d.ts +100 -0
  95. package/dist/src/helpers/colors.helper.d.ts +8 -0
  96. package/dist/src/helpers/common.helper.d.ts +42 -0
  97. package/dist/src/helpers/date-format.helper.d.ts +34 -0
  98. package/dist/src/helpers/date.helper.d.ts +23 -0
  99. package/dist/src/helpers/fileName-handler.helper.d.ts +6 -0
  100. package/dist/src/helpers/index.d.ts +9 -0
  101. package/dist/src/helpers/percentageCalc.helper.d.ts +7 -0
  102. package/dist/src/helpers/validators.helper.d.ts +11 -0
  103. package/dist/src/icons/IconAddChatPop.vue.d.ts +2 -0
  104. package/dist/src/icons/IconAddFileSystem.vue.d.ts +2 -0
  105. package/dist/src/icons/IconAddPeople.vue.d.ts +2 -0
  106. package/dist/src/icons/IconAitronos.vue.d.ts +2 -0
  107. package/dist/src/icons/IconApple.vue.d.ts +2 -0
  108. package/dist/src/icons/IconApplePay.vue.d.ts +2 -0
  109. package/dist/src/icons/IconAppsGrid.vue.d.ts +2 -0
  110. package/dist/src/icons/IconArrowDown.vue.d.ts +2 -0
  111. package/dist/src/icons/IconArrowLeft.vue.d.ts +2 -0
  112. package/dist/src/icons/IconArrowUp.vue.d.ts +2 -0
  113. package/dist/src/icons/IconBadgeCheck.vue.d.ts +2 -0
  114. package/dist/src/icons/IconBroom.vue.d.ts +2 -0
  115. package/dist/src/icons/IconBuildings.vue.d.ts +2 -0
  116. package/dist/src/icons/IconCalendarWithTickInside.vue.d.ts +2 -0
  117. package/dist/src/icons/IconCallNotAllowed.vue.d.ts +2 -0
  118. package/dist/src/icons/IconCardPay.vue.d.ts +2 -0
  119. package/dist/src/icons/IconCaution.vue.d.ts +2 -0
  120. package/dist/src/icons/IconChangeLog.vue.d.ts +2 -0
  121. package/dist/src/icons/IconCheckCircleFill.vue.d.ts +2 -0
  122. package/dist/src/icons/IconCheckInCircle.vue.d.ts +2 -0
  123. package/dist/src/icons/IconCheckRounded.vue.d.ts +2 -0
  124. package/dist/src/icons/IconChevronDown.vue.d.ts +2 -0
  125. package/dist/src/icons/IconChevronLeft.vue.d.ts +2 -0
  126. package/dist/src/icons/IconChevronRight.vue.d.ts +2 -0
  127. package/dist/src/icons/IconChevronUp.vue.d.ts +2 -0
  128. package/dist/src/icons/IconCircledCheck.vue.d.ts +2 -0
  129. package/dist/src/icons/IconClock.vue.d.ts +2 -0
  130. package/dist/src/icons/IconClosedEnvelope.vue.d.ts +2 -0
  131. package/dist/src/icons/IconCloudUpload.vue.d.ts +2 -0
  132. package/dist/src/icons/IconConnectorConfluence.vue.d.ts +2 -0
  133. package/dist/src/icons/IconConnectorFigma.vue.d.ts +2 -0
  134. package/dist/src/icons/IconConnectorFreshDesk.vue.d.ts +2 -0
  135. package/dist/src/icons/IconConnectorGitHub.vue.d.ts +2 -0
  136. package/dist/src/icons/IconConnectorJira.vue.d.ts +2 -0
  137. package/dist/src/icons/IconConnectorLinear.vue.d.ts +2 -0
  138. package/dist/src/icons/IconConnectorNotion.vue.d.ts +2 -0
  139. package/dist/src/icons/IconConnectorSlack.vue.d.ts +2 -0
  140. package/dist/src/icons/IconConnectorZapier.vue.d.ts +2 -0
  141. package/dist/src/icons/IconCopy.vue.d.ts +2 -0
  142. package/dist/src/icons/IconCross.vue.d.ts +2 -0
  143. package/dist/src/icons/IconCrossCircleFill.vue.d.ts +2 -0
  144. package/dist/src/icons/IconCrossInCircle.vue.d.ts +2 -0
  145. package/dist/src/icons/IconCurrentTick.vue.d.ts +2 -0
  146. package/dist/src/icons/IconDataUpload.vue.d.ts +2 -0
  147. package/dist/src/icons/IconDelete.vue.d.ts +2 -0
  148. package/dist/src/icons/IconDeleteFillRed.vue.d.ts +2 -0
  149. package/dist/src/icons/IconDialingPhone.vue.d.ts +2 -0
  150. package/dist/src/icons/IconDisabledAlert.vue.d.ts +2 -0
  151. package/dist/src/icons/IconDocumentation.vue.d.ts +2 -0
  152. package/dist/src/icons/IconDownload.vue.d.ts +2 -0
  153. package/dist/src/icons/IconDribbble.vue.d.ts +2 -0
  154. package/dist/src/icons/IconDropdownArrow.vue.d.ts +2 -0
  155. package/dist/src/icons/IconEdit.vue.d.ts +2 -0
  156. package/dist/src/icons/IconEditLinePath.vue.d.ts +72 -0
  157. package/dist/src/icons/IconEllipse.vue.d.ts +2 -0
  158. package/dist/src/icons/IconExcelThumbnail.vue.d.ts +2 -0
  159. package/dist/src/icons/IconEye.vue.d.ts +2 -0
  160. package/dist/src/icons/IconFacebook.vue.d.ts +2 -0
  161. package/dist/src/icons/IconFigma.vue.d.ts +2 -0
  162. package/dist/src/icons/IconFile.vue.d.ts +2 -0
  163. package/dist/src/icons/IconFileSystem.vue.d.ts +2 -0
  164. package/dist/src/icons/IconFileUpload.vue.d.ts +2 -0
  165. package/dist/src/icons/IconFilter.vue.d.ts +2 -0
  166. package/dist/src/icons/IconFolder.vue.d.ts +2 -0
  167. package/dist/src/icons/IconFreddyHub.vue.d.ts +2 -0
  168. package/dist/src/icons/IconFreddyHubLogo.vue.d.ts +2 -0
  169. package/dist/src/icons/IconFreddyHubNewLogo.vue.d.ts +2 -0
  170. package/dist/src/icons/IconFreddyHubTitle.vue.d.ts +2 -0
  171. package/dist/src/icons/IconFreddySmall.vue.d.ts +2 -0
  172. package/dist/src/icons/IconGlobExpand.vue.d.ts +2 -0
  173. package/dist/src/icons/IconGlobe.vue.d.ts +2 -0
  174. package/dist/src/icons/IconGoogle.vue.d.ts +2 -0
  175. package/dist/src/icons/IconHollowCircle.vue.d.ts +2 -0
  176. package/dist/src/icons/IconHome.vue.d.ts +2 -0
  177. package/dist/src/icons/IconInfoRounded.vue.d.ts +2 -0
  178. package/dist/src/icons/IconInvalidInvoice.vue.d.ts +2 -0
  179. package/dist/src/icons/IconInvoice.vue.d.ts +2 -0
  180. package/dist/src/icons/IconInvoiceSwitch.vue.d.ts +2 -0
  181. package/dist/src/icons/IconLapTableBottom.vue.d.ts +2 -0
  182. package/dist/src/icons/IconLense.vue.d.ts +2 -0
  183. package/dist/src/icons/IconLightCross.vue.d.ts +2 -0
  184. package/dist/src/icons/IconLink04.vue.d.ts +2 -0
  185. package/dist/src/icons/IconLoadingError.vue.d.ts +2 -0
  186. package/dist/src/icons/IconLoadingOrg.vue.d.ts +2 -0
  187. package/dist/src/icons/IconLocationWithCircleIn.vue.d.ts +2 -0
  188. package/dist/src/icons/IconLock.vue.d.ts +2 -0
  189. package/dist/src/icons/IconMarketPlace.vue.d.ts +2 -0
  190. package/dist/src/icons/IconMaximize.vue.d.ts +2 -0
  191. package/dist/src/icons/IconMicrophone.vue.d.ts +2 -0
  192. package/dist/src/icons/IconMutedMicrophone.vue.d.ts +2 -0
  193. package/dist/src/icons/IconNewNotification.vue.d.ts +2 -0
  194. package/dist/src/icons/IconNewTab.vue.d.ts +2 -0
  195. package/dist/src/icons/IconNotification.vue.d.ts +2 -0
  196. package/dist/src/icons/IconOpenBook.vue.d.ts +2 -0
  197. package/dist/src/icons/IconPaperAirPlane.vue.d.ts +2 -0
  198. package/dist/src/icons/IconPauseCircle.vue.d.ts +2 -0
  199. package/dist/src/icons/IconPdfThumbnail.vue.d.ts +2 -0
  200. package/dist/src/icons/IconPenEdit.vue.d.ts +2 -0
  201. package/dist/src/icons/IconPencil.vue.d.ts +2 -0
  202. package/dist/src/icons/IconPeopleHub.vue.d.ts +2 -0
  203. package/dist/src/icons/IconPersonCircle.vue.d.ts +2 -0
  204. package/dist/src/icons/IconPits.vue.d.ts +2 -0
  205. package/dist/src/icons/IconPlay.vue.d.ts +2 -0
  206. package/dist/src/icons/IconPlus.vue.d.ts +2 -0
  207. package/dist/src/icons/IconPolygonDown.vue.d.ts +2 -0
  208. package/dist/src/icons/IconPresentation.vue.d.ts +2 -0
  209. package/dist/src/icons/IconProgressBase.vue.d.ts +2 -0
  210. package/dist/src/icons/IconProgressComplete.vue.d.ts +2 -0
  211. package/dist/src/icons/IconProgressGoing.vue.d.ts +2 -0
  212. package/dist/src/icons/IconPurpose.vue.d.ts +2 -0
  213. package/dist/src/icons/IconPurseCircleFill.vue.d.ts +2 -0
  214. package/dist/src/icons/IconQuestion.vue.d.ts +2 -0
  215. package/dist/src/icons/IconRadio.vue.d.ts +2 -0
  216. package/dist/src/icons/IconRadioFill.vue.d.ts +2 -0
  217. package/dist/src/icons/IconRefresh.vue.d.ts +2 -0
  218. package/dist/src/icons/IconRevertedTriangle.vue.d.ts +2 -0
  219. package/dist/src/icons/IconRobotScreen.vue.d.ts +2 -0
  220. package/dist/src/icons/IconRoundTick.vue.d.ts +2 -0
  221. package/dist/src/icons/IconSearch.vue.d.ts +2 -0
  222. package/dist/src/icons/IconSearchOptimised.vue.d.ts +2 -0
  223. package/dist/src/icons/IconSectionHide.vue.d.ts +2 -0
  224. package/dist/src/icons/IconSend.vue.d.ts +2 -0
  225. package/dist/src/icons/IconSettings.vue.d.ts +2 -0
  226. package/dist/src/icons/IconSettingsBold.vue.d.ts +2 -0
  227. package/dist/src/icons/IconSize.vue.d.ts +2 -0
  228. package/dist/src/icons/IconSliderKnobs.vue.d.ts +2 -0
  229. package/dist/src/icons/IconSortIdle.vue.d.ts +2 -0
  230. package/dist/src/icons/IconSparkle.vue.d.ts +2 -0
  231. package/dist/src/icons/IconSpotlio.vue.d.ts +2 -0
  232. package/dist/src/icons/IconStar.vue.d.ts +2 -0
  233. package/dist/src/icons/IconStatistics.vue.d.ts +2 -0
  234. package/dist/src/icons/IconStopChat.vue.d.ts +2 -0
  235. package/dist/src/icons/IconStreamLineHub.vue.d.ts +2 -0
  236. package/dist/src/icons/IconStreamLineHubNewLogo.vue.d.ts +2 -0
  237. package/dist/src/icons/IconSun.vue.d.ts +2 -0
  238. package/dist/src/icons/IconSwap.vue.d.ts +2 -0
  239. package/dist/src/icons/IconText.vue.d.ts +2 -0
  240. package/dist/src/icons/IconTextThumbnail.vue.d.ts +2 -0
  241. package/dist/src/icons/IconThinDocument.vue.d.ts +2 -0
  242. package/dist/src/icons/IconThinFile.vue.d.ts +2 -0
  243. package/dist/src/icons/IconThumbsDown.vue.d.ts +2 -0
  244. package/dist/src/icons/IconTick.vue.d.ts +2 -0
  245. package/dist/src/icons/IconUser.vue.d.ts +2 -0
  246. package/dist/src/icons/IconVerticalDots.vue.d.ts +2 -0
  247. package/dist/src/icons/IconVideoCamera.vue.d.ts +2 -0
  248. package/dist/src/icons/IconWarningOctal.vue.d.ts +2 -0
  249. package/dist/src/icons/IconX.vue.d.ts +2 -0
  250. package/dist/src/icons/IconZip.vue.d.ts +2 -0
  251. package/dist/src/icons/index.d.ts +148 -0
  252. package/dist/src/index.d.ts +23 -0
  253. package/dist/src/interfaces/assistant.interfaces.d.ts +237 -0
  254. package/dist/src/interfaces/base-button.interfaces.d.ts +119 -0
  255. package/dist/src/interfaces/color-comparison.interfaces.d.ts +71 -0
  256. package/dist/src/interfaces/index.d.ts +19 -0
  257. package/dist/src/interfaces/input-field.interfaces.d.ts +226 -0
  258. package/dist/src/interfaces/reference.d.ts +14 -0
  259. package/dist/src/interfaces/services/ai.interfaces.d.ts +56 -0
  260. package/dist/src/interfaces/services/api.interfaces.d.ts +46 -0
  261. package/dist/src/interfaces/services/auth.interfaces.d.ts +99 -0
  262. package/dist/src/interfaces/services/index.d.ts +7 -0
  263. package/dist/src/interfaces/skeleton-loader.interfaces.d.ts +1 -0
  264. package/dist/src/interfaces/slider.interfaces.d.ts +81 -0
  265. package/dist/src/interfaces/social-buttons.interfaces.d.ts +115 -0
  266. package/dist/src/interfaces/switch-slot.interfaces.d.ts +55 -0
  267. package/dist/src/interfaces/tab-button.interfaces.d.ts +23 -0
  268. package/dist/src/interfaces/tab-list.interfaces.d.ts +15 -0
  269. package/dist/src/interfaces/theme/index.d.ts +5 -0
  270. package/dist/src/interfaces/theme/theme.interfaces.d.ts +88 -0
  271. package/dist/src/interfaces/ui/chat.interfaces.d.ts +66 -0
  272. package/dist/src/interfaces/ui/editor.interfaces.d.ts +31 -0
  273. package/dist/src/interfaces/ui/feedback.interfaces.d.ts +39 -0
  274. package/dist/src/interfaces/ui/form.interfaces.d.ts +51 -0
  275. package/dist/src/interfaces/ui/index.d.ts +10 -0
  276. package/dist/src/interfaces/ui/modal.interfaces.d.ts +34 -0
  277. package/dist/src/interfaces/ui/navigation.interfaces.d.ts +31 -0
  278. package/dist/src/interfaces/utilities/common.interfaces.d.ts +59 -0
  279. package/dist/src/interfaces/utilities/index.d.ts +5 -0
  280. package/dist/src/main.d.ts +1 -0
  281. package/dist/src/plugin.d.ts +5 -0
  282. package/dist/src/plugins/icon-style.d.ts +3 -0
  283. package/dist/src/plugins/index.d.ts +11 -0
  284. package/dist/src/services/AITextService.d.ts +68 -0
  285. package/dist/src/services/index.d.ts +15 -0
  286. package/dist/src/utility/confirmationModal.d.ts +2 -0
  287. package/dist/src/utility/index.d.ts +3 -0
  288. package/dist/src/utility/useSnackbar.d.ts +26 -0
  289. package/dist/src/utility/useToast.d.ts +19 -0
  290. package/package.json +6 -2
  291. package/dist/icons-DQveW34E.cjs +0 -2
  292. package/dist/icons-DQveW34E.cjs.map +0 -1
  293. package/dist/icons-Lnvg2xiB.js.map +0 -1
@@ -0,0 +1,46 @@
1
+ export interface ErrorDetails {
2
+ message: string;
3
+ code?: string | number;
4
+ stack?: string;
5
+ timestamp: string;
6
+ context?: Record<string, unknown>;
7
+ }
8
+ export interface UseErrorHandlerOptions {
9
+ logErrors?: boolean;
10
+ throwOnCritical?: boolean;
11
+ maxRetries?: number;
12
+ }
13
+ /**
14
+ * Composable for centralized error handling
15
+ */
16
+ export declare function useErrorHandler(options?: UseErrorHandlerOptions): {
17
+ errors: import('vue').ComputedRef<{
18
+ message: string;
19
+ code?: string | number | undefined;
20
+ stack?: string | undefined;
21
+ timestamp: string;
22
+ context?: Record<string, unknown> | undefined;
23
+ }[]>;
24
+ hasErrors: import('vue').ComputedRef<boolean>;
25
+ latestError: import('vue').ComputedRef<{
26
+ message: string;
27
+ code?: string | number | undefined;
28
+ stack?: string | undefined;
29
+ timestamp: string;
30
+ context?: Record<string, unknown> | undefined;
31
+ }>;
32
+ isLoading: import('vue').ComputedRef<boolean>;
33
+ retryCount: import('vue').ComputedRef<number>;
34
+ handleError: (error: unknown, context?: Record<string, unknown>) => ErrorDetails;
35
+ handleAsync: <T>(operation: () => Promise<T>, context?: Record<string, unknown>) => Promise<{
36
+ data: T | null;
37
+ error: ErrorDetails | null;
38
+ }>;
39
+ retryAsync: <T>(operation: () => Promise<T>, context?: Record<string, unknown>) => Promise<{
40
+ data: T | null;
41
+ error: ErrorDetails | null;
42
+ }>;
43
+ clearErrors: () => void;
44
+ clearError: (index: number) => void;
45
+ isCriticalError: (error: unknown) => boolean;
46
+ };
@@ -0,0 +1,54 @@
1
+ export interface PerformanceMetrics {
2
+ renderTime: number;
3
+ componentCount: number;
4
+ memoryUsage?: number;
5
+ timestamp: string;
6
+ }
7
+ export interface UsePerformanceOptions {
8
+ enableMetrics?: boolean;
9
+ trackMemory?: boolean;
10
+ sampleRate?: number;
11
+ }
12
+ /**
13
+ * Composable for performance monitoring and optimization
14
+ */
15
+ export declare function usePerformance(options?: UsePerformanceOptions): {
16
+ metrics: import('vue').ComputedRef<{
17
+ renderTime: number;
18
+ componentCount: number;
19
+ memoryUsage?: number | undefined;
20
+ timestamp: string;
21
+ }[]>;
22
+ isTracking: import('vue').ComputedRef<boolean>;
23
+ averageRenderTime: import('vue').ComputedRef<number>;
24
+ maxRenderTime: import('vue').ComputedRef<number>;
25
+ startTracking: (label?: string) => void;
26
+ endTracking: (label?: string, componentCount?: number) => PerformanceMetrics | undefined;
27
+ measureAsync: <T>(operation: () => Promise<T>, label?: string) => Promise<{
28
+ result: T;
29
+ metrics: PerformanceMetrics;
30
+ }>;
31
+ debounce: <T extends (...args: any[]) => any>(func: T, wait: number) => ((...args: Parameters<T>) => void);
32
+ throttle: <T extends (...args: any[]) => any>(func: T, limit: number) => ((...args: Parameters<T>) => void);
33
+ scheduleWork: (callback: () => void, timeout?: number) => void;
34
+ lazyLoad: <T>(loader: () => Promise<T>, delay?: number) => Promise<T>;
35
+ createVirtualList: <T>(items: T[], itemHeight: number, containerHeight: number) => (scrollTop: number) => {
36
+ visibleItems: T[];
37
+ startIndex: number;
38
+ endIndex: number;
39
+ totalHeight: number;
40
+ offsetY: number;
41
+ };
42
+ clearMetrics: () => void;
43
+ getSummary: () => {
44
+ totalMeasurements: number;
45
+ averageRenderTime: number;
46
+ maxRenderTime: number;
47
+ recentMetrics: {
48
+ renderTime: number;
49
+ componentCount: number;
50
+ memoryUsage?: number | undefined;
51
+ timestamp: string;
52
+ }[];
53
+ };
54
+ };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * useTheme Composable - DEPRECATED in v0.4.54
3
+ *
4
+ * ⚠️ ThemeService was removed due to SSR incompatibility
5
+ * This stub prevents build errors but returns no-op functions
6
+ *
7
+ * For theme functionality, implement theme management in your consuming app
8
+ * Recovery: git checkout 70edb4d (v0.4.53) for full implementation
9
+ *
10
+ * @deprecated Use your app's theme system instead
11
+ */
12
+ export declare const useTheme: () => {
13
+ currentProject: import('vue').Ref<null, null>;
14
+ currentColorMode: import('vue').Ref<null, null>;
15
+ isLoading: import('vue').Ref<boolean, boolean>;
16
+ error: import('vue').Ref<null, null>;
17
+ availableBrands: import('vue').ComputedRef<never[]>;
18
+ availableModes: import('vue').ComputedRef<never[]>;
19
+ setBrand: () => void;
20
+ setMode: () => void;
21
+ setTheme: () => void;
22
+ initializeTheme: () => Promise<void>;
23
+ };
24
+ export declare const useThemeState: () => {
25
+ currentProject: import('vue').Ref<null, null>;
26
+ currentColorMode: import('vue').Ref<null, null>;
27
+ isLoading: import('vue').Ref<boolean, boolean>;
28
+ error: import('vue').Ref<null, null>;
29
+ availableBrands: import('vue').ComputedRef<never[]>;
30
+ availableModes: import('vue').ComputedRef<never[]>;
31
+ };
32
+ export declare const useThemeActions: () => {
33
+ setBrand: () => void;
34
+ setMode: () => void;
35
+ setTheme: () => void;
36
+ initializeTheme: () => Promise<void>;
37
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Get the current environment from localStorage or default to local
3
+ */
4
+ /**
5
+ * Get the current Flowplate environment from localStorage or default to production
6
+ */
7
+ /**
8
+ * Get the base API endpoint for the current environment
9
+ */
10
+ export declare function getApiBaseUrl(): any;
11
+ /**
12
+ * Get the Flowplate API base URL for the current environment
13
+ */
14
+ export declare function getFlowplateBaseUrl(): any;
15
+ /**
16
+ * Get the upload API endpoint for the current environment
17
+ */
18
+ export declare function getUploadUrl(): any;
19
+ /**
20
+ * Get the auth API endpoint
21
+ * Auth endpoints are always under /auth path
22
+ */
23
+ export declare function getAuthBaseUrl(): any;
24
+ /**
25
+ * Get environment configuration
26
+ */
27
+ export declare function getEnvironmentConfig(): void;
28
+ /**
29
+ * Get Flowplate environment configuration
30
+ */
31
+ export declare function getFlowplateEnvironmentConfig(): void;
@@ -0,0 +1,3 @@
1
+ import { BrandConfig } from '../types/color.types';
2
+ export declare const contentplateConfig: BrandConfig;
3
+ export default contentplateConfig;
@@ -0,0 +1,3 @@
1
+ import { BrandConfig } from '../types/color.types';
2
+ export declare const flowplateConfig: BrandConfig;
3
+ export default flowplateConfig;
@@ -0,0 +1,3 @@
1
+ import { BrandConfig } from '../types/color.types';
2
+ export declare const freddyConfig: BrandConfig;
3
+ export default freddyConfig;
@@ -0,0 +1,58 @@
1
+ import { ColorSystemConfig, ColorToken, BrandColors, ColorMode, ColorUtils, ColorValidationResult, CSSColorProperties } from './types/color.types';
2
+ export declare const colorSystemConfig: ColorSystemConfig;
3
+ /**
4
+ * Gets a color value based on a color token
5
+ */
6
+ export declare const getColor: (token: ColorToken) => string;
7
+ /**
8
+ * Gets all colors for a specific brand and mode
9
+ */
10
+ export declare const getBrandColors: (brand: string, mode?: "light" | "dark" | "default") => BrandColors;
11
+ /**
12
+ * Gets mode-specific colors
13
+ */
14
+ export declare const getModeColors: (mode: "light" | "dark") => ColorMode;
15
+ /**
16
+ * Validates contrast between two colors
17
+ */
18
+ export declare const validateColorContrast: (foreground: string, background: string) => ColorValidationResult;
19
+ /**
20
+ * Generates a color scale from a base color
21
+ */
22
+ export declare const generateColorScaleFromBase: (baseColor: string, steps?: number) => import('./types/color.types').ColorPalette;
23
+ /**
24
+ * Gets appropriate text color for a background
25
+ */
26
+ export declare const getAppropriateTextColor: (backgroundColor: string) => string;
27
+ /**
28
+ * Validates if a color is a valid hex color
29
+ */
30
+ export declare const isValidColor: (color: string) => boolean;
31
+ /**
32
+ * Normalizes a hex color
33
+ */
34
+ export declare const normalizeColor: (color: string) => string;
35
+ /**
36
+ * Generates CSS custom properties for a brand and mode
37
+ */
38
+ export declare const generateCSSProperties: (brand: string, mode?: "light" | "dark") => CSSColorProperties;
39
+ /**
40
+ * Color utilities object
41
+ */
42
+ export declare const colorUtils: ColorUtils;
43
+ /**
44
+ * Vue composable for using the color system
45
+ */
46
+ export declare const useColorSystem: () => {
47
+ getColor: (token: ColorToken) => string;
48
+ getBrandColors: (brand: string, mode?: "light" | "dark" | "default") => BrandColors;
49
+ getModeColors: (mode: "light" | "dark") => ColorMode;
50
+ validateColorContrast: (foreground: string, background: string) => ColorValidationResult;
51
+ generateColorScaleFromBase: (baseColor: string, steps?: number) => import('./types/color.types').ColorPalette;
52
+ getAppropriateTextColor: (backgroundColor: string) => string;
53
+ isValidColor: (color: string) => boolean;
54
+ normalizeColor: (color: string) => string;
55
+ generateCSSProperties: (brand: string, mode?: "light" | "dark") => CSSColorProperties;
56
+ config: ColorSystemConfig;
57
+ };
58
+ export default colorSystemConfig;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Color System Index
3
+ *
4
+ * Main exports for the color system
5
+ */
6
+ export type { ColorScale, ColorPalette, BrandColors, ColorMode, BrandConfig, ColorSystemConfig, ColorToken, ColorUtils, CSSColorProperties, GeneratedColorConfig, ColorValidationResult, BrandName, ModeName, ColorCategory, SemanticColorType, InteractiveStateType } from './types/color.types';
7
+ export { interpolateColor, hexToRgb, rgbToHex, getLuminance, getContrastRatio, validateContrast, generateColorScale, addOpacity, hexToHsl, hslToHex, adjustLightness, adjustSaturation, adjustHue, getComplementary, getAnalogous, getTriadic, getTetradic, isLightColor, getTextColor, isValidHexColor, normalizeHexColor } from './utils/color.utils';
8
+ export { colorSystemConfig, getColor, getBrandColors, getModeColors, validateColorContrast, generateColorScaleFromBase, getAppropriateTextColor, isValidColor, normalizeColor, generateCSSProperties, colorUtils, useColorSystem } from './color-system';
9
+ export { default as contentplateConfig } from './brands/contentplate.colors';
10
+ export { default as flowplateConfig } from './brands/flowplate.colors';
11
+ export { default as freddyConfig } from './brands/freddy.colors';
12
+ export { default } from './color-system';
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Color System Types
3
+ * Color system type definitions
4
+ */
5
+ export interface ColorValue {
6
+ name: string;
7
+ value: string | null;
8
+ description: string;
9
+ id: string | null;
10
+ }
11
+ export interface ColorCategory {
12
+ [key: string]: ColorValue;
13
+ }
14
+ export interface ColorCategories {
15
+ text: ColorCategory;
16
+ background: ColorCategory;
17
+ border: ColorCategory;
18
+ foreground: ColorCategory;
19
+ utility: ColorCategory;
20
+ }
21
+ export interface ColorMode {
22
+ name: string;
23
+ colors: ColorCategories;
24
+ }
25
+ export interface ColorModes {
26
+ [key: string]: ColorMode;
27
+ }
28
+ export interface Brand {
29
+ name: string;
30
+ modes: ColorModes;
31
+ }
32
+ export interface BrandStats {
33
+ totalModes: number;
34
+ totalColors: number;
35
+ missingColors: number;
36
+ }
37
+ export interface ValidationStats {
38
+ totalBrands: number;
39
+ totalModes: number;
40
+ totalColors: number;
41
+ missingColors: number;
42
+ brandStats: {
43
+ [key: string]: BrandStats;
44
+ };
45
+ }
46
+ export interface ColorSystemMetadata {
47
+ generatedAt: string;
48
+ source: string;
49
+ brands: string[];
50
+ modes: string[];
51
+ totalColors: number;
52
+ validation: ValidationStats;
53
+ }
54
+ export interface ColorSystem {
55
+ metadata: ColorSystemMetadata;
56
+ brands: {
57
+ [key: string]: Brand;
58
+ };
59
+ }
60
+ export type ColorKey = keyof ColorCategories;
61
+ export type ModeKey = 'default' | 'light' | 'dark';
62
+ export type BrandKey = 'freddy' | 'flowplate' | 'contentplate';
@@ -0,0 +1,99 @@
1
+ /**
2
+ * Color System Type Definitions
3
+ *
4
+ * This file defines the TypeScript interfaces for the color system
5
+ * that supports multiple brands and color modes.
6
+ */
7
+ export type ColorScale = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
8
+ export interface ColorPalette {
9
+ [key: string]: string | ColorScale;
10
+ }
11
+ export interface BrandColors {
12
+ primary: ColorPalette;
13
+ secondary?: ColorPalette;
14
+ neutral: ColorPalette;
15
+ semantic: {
16
+ success: ColorPalette;
17
+ warning: ColorPalette;
18
+ error: ColorPalette;
19
+ info: ColorPalette;
20
+ };
21
+ interactive: {
22
+ hover: ColorPalette;
23
+ focus: ColorPalette;
24
+ active: ColorPalette;
25
+ disabled: ColorPalette;
26
+ };
27
+ background: ColorPalette;
28
+ text: ColorPalette;
29
+ border: ColorPalette;
30
+ }
31
+ export interface ColorMode {
32
+ name: 'light' | 'dark';
33
+ background: ColorPalette;
34
+ text: ColorPalette;
35
+ border: ColorPalette;
36
+ overlay: ColorPalette;
37
+ }
38
+ export interface BrandConfig {
39
+ name: string;
40
+ colors: BrandColors;
41
+ modes: {
42
+ light: ColorMode;
43
+ dark: ColorMode;
44
+ };
45
+ }
46
+ export interface ColorSystemConfig {
47
+ brands: {
48
+ contentplate: BrandConfig;
49
+ flowplate: BrandConfig;
50
+ freddy: BrandConfig;
51
+ };
52
+ modes: {
53
+ light: ColorMode;
54
+ dark: ColorMode;
55
+ };
56
+ }
57
+ export interface ColorToken {
58
+ brand: 'contentplate' | 'flowplate' | 'freddy';
59
+ mode: 'light' | 'dark';
60
+ category: 'primary' | 'secondary' | 'neutral' | 'semantic' | 'interactive' | 'background' | 'text' | 'border';
61
+ scale?: ColorScale;
62
+ variant?: string;
63
+ }
64
+ export interface ColorUtils {
65
+ getColor: (token: ColorToken) => string;
66
+ getBrandColors: (brand: string, mode?: 'light' | 'dark') => BrandColors;
67
+ getModeColors: (mode: 'light' | 'dark') => ColorMode;
68
+ interpolateColor: (start: string, end: string, steps: number) => string[];
69
+ validateContrast: (foreground: string, background: string) => boolean;
70
+ generateColorScale: (baseColor: string, steps?: number) => ColorPalette;
71
+ }
72
+ export interface CSSColorProperties {
73
+ [key: string]: string;
74
+ }
75
+ export interface GeneratedColorConfig {
76
+ brands: {
77
+ [brand: string]: {
78
+ colors: BrandColors;
79
+ modes: {
80
+ light: ColorMode;
81
+ dark: ColorMode;
82
+ };
83
+ };
84
+ };
85
+ cssProperties: CSSColorProperties;
86
+ typescriptDefinitions: string;
87
+ }
88
+ export interface ColorValidationResult {
89
+ isValid: boolean;
90
+ contrastRatio: number;
91
+ isAccessible: boolean;
92
+ warnings: string[];
93
+ errors: string[];
94
+ }
95
+ export type BrandName = 'contentplate' | 'flowplate' | 'freddy';
96
+ export type ModeName = 'light' | 'dark';
97
+ export type ColorCategory = 'primary' | 'secondary' | 'neutral' | 'semantic' | 'interactive' | 'background' | 'text' | 'border';
98
+ export type SemanticColorType = 'success' | 'warning' | 'error' | 'info';
99
+ export type InteractiveStateType = 'hover' | 'focus' | 'active' | 'disabled';
@@ -0,0 +1,86 @@
1
+ import { ColorPalette, ColorValidationResult } from '../types/color.types';
2
+ /**
3
+ * Generates a series of interpolated colors between two colors.
4
+ * Enhanced version of the existing interpolateColor function.
5
+ */
6
+ export declare const interpolateColor: (start: string, end: string, steps: number) => string[];
7
+ /**
8
+ * Converts hex color to RGB values
9
+ */
10
+ export declare const hexToRgb: (hex: string) => [number, number, number];
11
+ /**
12
+ * Converts RGB values to hex color
13
+ */
14
+ export declare const rgbToHex: (r: number, g: number, b: number) => string;
15
+ /**
16
+ * Calculates the relative luminance of a color
17
+ */
18
+ export declare const getLuminance: (r: number, g: number, b: number) => number;
19
+ /**
20
+ * Calculates contrast ratio between two colors
21
+ */
22
+ export declare const getContrastRatio: (color1: string, color2: string) => number;
23
+ /**
24
+ * Validates color contrast for accessibility
25
+ */
26
+ export declare const validateContrast: (foreground: string, background: string) => ColorValidationResult;
27
+ /**
28
+ * Generates a color scale from a base color
29
+ */
30
+ export declare const generateColorScale: (baseColor: string, steps?: number) => ColorPalette;
31
+ /**
32
+ * Adds opacity to a hex color
33
+ */
34
+ export declare const addOpacity: (hex: string, opacity: number) => string;
35
+ /**
36
+ * Converts hex color to HSL
37
+ */
38
+ export declare const hexToHsl: (hex: string) => [number, number, number];
39
+ /**
40
+ * Converts HSL to hex color
41
+ */
42
+ export declare const hslToHex: (h: number, s: number, l: number) => string;
43
+ /**
44
+ * Adjusts the lightness of a color
45
+ */
46
+ export declare const adjustLightness: (hex: string, amount: number) => string;
47
+ /**
48
+ * Adjusts the saturation of a color
49
+ */
50
+ export declare const adjustSaturation: (hex: string, amount: number) => string;
51
+ /**
52
+ * Adjusts the hue of a color
53
+ */
54
+ export declare const adjustHue: (hex: string, amount: number) => string;
55
+ /**
56
+ * Creates a complementary color
57
+ */
58
+ export declare const getComplementary: (hex: string) => string;
59
+ /**
60
+ * Creates an analogous color palette
61
+ */
62
+ export declare const getAnalogous: (hex: string, count?: number) => string[];
63
+ /**
64
+ * Creates a triadic color palette
65
+ */
66
+ export declare const getTriadic: (hex: string) => string[];
67
+ /**
68
+ * Creates a tetradic color palette
69
+ */
70
+ export declare const getTetradic: (hex: string) => string[];
71
+ /**
72
+ * Checks if a color is light or dark
73
+ */
74
+ export declare const isLightColor: (hex: string) => boolean;
75
+ /**
76
+ * Gets the appropriate text color for a background
77
+ */
78
+ export declare const getTextColor: (backgroundColor: string) => string;
79
+ /**
80
+ * Validates if a string is a valid hex color
81
+ */
82
+ export declare const isValidHexColor: (hex: string) => boolean;
83
+ /**
84
+ * Normalizes a hex color (ensures 6-digit format)
85
+ */
86
+ export declare const normalizeHexColor: (hex: string) => string;
@@ -0,0 +1,11 @@
1
+ export interface EnvironmentConfig {
2
+ baseEndpoint: string;
3
+ uploadEndpoint: string;
4
+ name: string;
5
+ }
6
+ export interface FlowplateEnvironmentConfig {
7
+ baseEndpoint: string;
8
+ name: string;
9
+ }
10
+ export declare const environments: Record<string, EnvironmentConfig>;
11
+ export declare const flowplateEnvironments: Record<string, FlowplateEnvironmentConfig>;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Freddy Theme — Default (Dark)
3
+ *
4
+ * Sections
5
+ * - Texts
6
+ * - Base
7
+ * - Foreground (neutrals)
8
+ * - Background
9
+ * - Border
10
+ * - Utility scales
11
+ * - Design tokens (spacing, typography, radius, shadows)
12
+ * - Button tokens
13
+ * - Brand tokens (primary)
14
+ */
15
+ declare const freddyDefaultVars: Record<string, string>;
16
+ export default freddyDefaultVars;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Freddy Theme — Light (White)
3
+ *
4
+ * Sections
5
+ * - Texts
6
+ * - Base
7
+ * - Foreground (neutrals)
8
+ * - Background
9
+ * - Border
10
+ * - Utility scales
11
+ * - Semantic/brand/button tokens
12
+ */
13
+ declare const freddyLightVars: Record<string, string>;
14
+ export default freddyLightVars;
@@ -0,0 +1,128 @@
1
+ declare const currentBrand: import('vue').Ref<string, string>;
2
+ declare const currentMode: import('vue').Ref<string, string>;
3
+ declare const isThemeLoading: import('vue').Ref<boolean, boolean>;
4
+ export interface ThemeState {
5
+ brand: string;
6
+ mode: string;
7
+ isLoading: boolean;
8
+ }
9
+ export interface ThemeActions {
10
+ setBrand: (brand: string) => void;
11
+ setMode: (mode: string) => void;
12
+ setTheme: (brand: string, mode: string) => void;
13
+ applyTheme: () => void;
14
+ loadSavedTheme: () => boolean;
15
+ saveTheme: () => void;
16
+ clearSavedTheme: () => void;
17
+ }
18
+ declare const currentTheme: import('vue').ComputedRef<string>;
19
+ declare const brandColors: import('vue').ComputedRef<import('../colors').BrandColors>;
20
+ export declare const useGlobalTheme: () => {
21
+ currentBrand: Readonly<import('vue').Ref<string, string>>;
22
+ currentMode: Readonly<import('vue').Ref<string, string>>;
23
+ currentTheme: Readonly<import('vue').Ref<string, string>>;
24
+ brandColors: Readonly<import('vue').Ref<{
25
+ readonly primary: {
26
+ readonly [x: string]: string | import('../colors').ColorScale;
27
+ };
28
+ readonly secondary?: {
29
+ readonly [x: string]: string | import('../colors').ColorScale;
30
+ } | undefined;
31
+ readonly neutral: {
32
+ readonly [x: string]: string | import('../colors').ColorScale;
33
+ };
34
+ readonly semantic: {
35
+ readonly success: {
36
+ readonly [x: string]: string | import('../colors').ColorScale;
37
+ };
38
+ readonly warning: {
39
+ readonly [x: string]: string | import('../colors').ColorScale;
40
+ };
41
+ readonly error: {
42
+ readonly [x: string]: string | import('../colors').ColorScale;
43
+ };
44
+ readonly info: {
45
+ readonly [x: string]: string | import('../colors').ColorScale;
46
+ };
47
+ };
48
+ readonly interactive: {
49
+ readonly hover: {
50
+ readonly [x: string]: string | import('../colors').ColorScale;
51
+ };
52
+ readonly focus: {
53
+ readonly [x: string]: string | import('../colors').ColorScale;
54
+ };
55
+ readonly active: {
56
+ readonly [x: string]: string | import('../colors').ColorScale;
57
+ };
58
+ readonly disabled: {
59
+ readonly [x: string]: string | import('../colors').ColorScale;
60
+ };
61
+ };
62
+ readonly background: {
63
+ readonly [x: string]: string | import('../colors').ColorScale;
64
+ };
65
+ readonly text: {
66
+ readonly [x: string]: string | import('../colors').ColorScale;
67
+ };
68
+ readonly border: {
69
+ readonly [x: string]: string | import('../colors').ColorScale;
70
+ };
71
+ }, {
72
+ readonly primary: {
73
+ readonly [x: string]: string | import('../colors').ColorScale;
74
+ };
75
+ readonly secondary?: {
76
+ readonly [x: string]: string | import('../colors').ColorScale;
77
+ } | undefined;
78
+ readonly neutral: {
79
+ readonly [x: string]: string | import('../colors').ColorScale;
80
+ };
81
+ readonly semantic: {
82
+ readonly success: {
83
+ readonly [x: string]: string | import('../colors').ColorScale;
84
+ };
85
+ readonly warning: {
86
+ readonly [x: string]: string | import('../colors').ColorScale;
87
+ };
88
+ readonly error: {
89
+ readonly [x: string]: string | import('../colors').ColorScale;
90
+ };
91
+ readonly info: {
92
+ readonly [x: string]: string | import('../colors').ColorScale;
93
+ };
94
+ };
95
+ readonly interactive: {
96
+ readonly hover: {
97
+ readonly [x: string]: string | import('../colors').ColorScale;
98
+ };
99
+ readonly focus: {
100
+ readonly [x: string]: string | import('../colors').ColorScale;
101
+ };
102
+ readonly active: {
103
+ readonly [x: string]: string | import('../colors').ColorScale;
104
+ };
105
+ readonly disabled: {
106
+ readonly [x: string]: string | import('../colors').ColorScale;
107
+ };
108
+ };
109
+ readonly background: {
110
+ readonly [x: string]: string | import('../colors').ColorScale;
111
+ };
112
+ readonly text: {
113
+ readonly [x: string]: string | import('../colors').ColorScale;
114
+ };
115
+ readonly border: {
116
+ readonly [x: string]: string | import('../colors').ColorScale;
117
+ };
118
+ }>>;
119
+ isLoading: Readonly<import('vue').Ref<boolean, boolean>>;
120
+ setBrand: (brand: string) => void;
121
+ setMode: (mode: string) => void;
122
+ setTheme: (brand: string, mode: string) => void;
123
+ applyTheme: () => Promise<void>;
124
+ loadSavedTheme: () => boolean;
125
+ saveTheme: () => void;
126
+ clearSavedTheme: () => void;
127
+ };
128
+ export { currentBrand, currentMode, currentTheme, brandColors, isThemeLoading };