@voicenter-team/voicenter-ui-plus 3.4.7 → 4.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +457 -11
- package/library/assets/assets/sass/main.css +1 -1
- package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunMetrics.css +1 -0
- package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunRow.css +1 -0
- package/library/assets/components/VcAgentRun/VcAgentRunCard.css +1 -0
- package/library/assets/components/VcAgentRun/VcAgentRunGroup.css +1 -0
- package/library/assets/components/VcAiReasoning/VcAiReasoning.css +1 -0
- package/library/assets/components/VcApprovalCard/VcApprovalCard.css +1 -0
- package/library/assets/components/VcAskUserCard/VcAskUserCard.css +1 -0
- package/library/assets/components/VcAutocomplete/VcAutocomplete.css +1 -1
- package/library/assets/components/VcAvatar/VcAvatar.css +1 -1
- package/library/assets/components/VcBadgeTag/VcBadgeTag.css +1 -1
- package/library/assets/components/VcButton/VcButton.css +1 -1
- package/library/assets/components/VcButton/VcButtonIcon.css +1 -1
- package/library/assets/components/VcButton/VcToggleButton.css +1 -1
- package/library/assets/components/VcCard/VcCard.css +1 -1
- package/library/assets/components/VcChatComposer/VcChatComposer.css +1 -1
- package/library/assets/components/VcCheckbox/VcCheckbox.css +1 -1
- package/library/assets/components/VcCheckbox/VcCheckboxButton.css +1 -1
- package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -1
- package/library/assets/components/VcCollapse/VcCollapseItem.css +1 -1
- package/library/assets/components/VcColorPicker/VcColorPicker.css +1 -1
- package/library/assets/components/VcDatePicker/VcDatePicker.css +1 -1
- package/library/assets/components/VcDatePickerPanel/VcDatePickerPanel.css +1 -1
- package/library/assets/components/VcDatetimeRangePicker/VcDatetimeRangePicker.css +1 -1
- package/library/assets/components/VcDropdown/VcDropdown.css +1 -1
- package/library/assets/components/VcDropdown/VcDropdownItem.css +1 -1
- package/library/assets/components/VcEmojiPicker/VcEmojiPicker.css +1 -1
- package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.css +1 -1
- package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileItem.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderArea.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
- package/library/assets/components/VcForm/UiComponents/VcInputError.css +1 -1
- package/library/assets/components/VcForm/UiComponents/VcInputLabel.css +1 -1
- package/library/assets/components/VcForm/VcFormItem.css +1 -1
- package/library/assets/components/VcHtmlEditor/VcHtmlEditor.css +1 -1
- package/library/assets/components/VcHyperLink/VcHyperLink.css +1 -1
- package/library/assets/components/VcIconPicker/VcIconPicker.css +1 -1
- package/library/assets/components/VcImageUploader/VcImageUploader.css +1 -1
- package/library/assets/components/VcInput/VcInput.css +1 -1
- package/library/assets/components/VcInputNumber/VcInputNumber.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonCodeMirror.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
- package/library/assets/components/VcJsonSchema/VcJsonSchema.css +1 -1
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerCards.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerFields.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerMore.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerObject.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerSections.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerState.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerTable.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerTree.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerValue.css +1 -0
- package/library/assets/components/VcJsonViewer/VcJsonViewer.css +1 -0
- package/library/assets/components/VcLightbox/VcLightbox.css +1 -0
- package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
- package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
- package/library/assets/components/VcLoading/VcLoading.css +1 -1
- package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
- package/library/assets/components/VcMdEditor/VcMdEditorContent.css +1 -1
- package/library/assets/components/VcMessage/VcMessage.css +1 -1
- package/library/assets/components/VcMessage/VcMessageMeta.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageFileBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageImageBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageMarkdownBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageTextBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageVideoBlock.css +1 -0
- package/library/assets/components/VcMessage/reactions/VcMessageEmojiPicker.css +1 -1
- package/library/assets/components/VcMessage/reactions/VcMessageReactionBar.css +1 -1
- package/library/assets/components/VcMessagesWrapper/VcMessagesWrapper.css +1 -1
- package/library/assets/components/VcMeterGroup/VcMeterGroup.css +1 -1
- package/library/assets/components/VcModal/VcModal.css +1 -1
- package/library/assets/components/VcNotification/VcNotification.css +1 -1
- package/library/assets/components/VcOtpInput/VcOtpInput.css +1 -1
- package/library/assets/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.css +1 -0
- package/library/assets/components/VcPdfViewer/VcPdfDocument.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfDocumentCard.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfDocumentViewerFooter.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfViewer.css +1 -0
- package/library/assets/components/VcPhoneInput/VcFlagLabel.css +1 -1
- package/library/assets/components/VcPhoneInput/VcPhoneInput.css +1 -1
- package/library/assets/components/VcPopover/VcConfirmPopover.css +1 -1
- package/library/assets/components/VcPopover/VcPopover.css +1 -1
- package/library/assets/components/VcPopover/VcSelectPopover.css +1 -1
- package/library/assets/components/VcProgress/VcProgress.css +1 -1
- package/library/assets/components/VcProgress/VcProgressCircular.css +1 -1
- package/library/assets/components/VcRadio/VcRadio.css +1 -1
- package/library/assets/components/VcRadioButtons/VcRadioButtonsGroup.css +1 -1
- package/library/assets/components/VcRadioGroup/VcRadioGroup.css +1 -1
- package/library/assets/components/VcRadioTabs/UiComponents/VcRadioTabsNav.css +1 -1
- package/library/assets/components/VcRadioTabs/VcRadioTabs.css +1 -1
- package/library/assets/components/VcSegmented/VcSegmented.css +1 -1
- package/library/assets/components/VcSelect/VcSelect.css +1 -1
- package/library/assets/components/VcSelect/VcSelectOption.css +1 -1
- package/library/assets/components/VcSipFlow/VcSipFlow.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
- package/library/assets/components/VcSlider/VcSlider.css +1 -1
- package/library/assets/components/VcSoundplayer/VcPlayerPlaybackRate.css +1 -1
- package/library/assets/components/VcSoundplayer/VcSoundPlayerMarker.css +1 -1
- package/library/assets/components/VcSplitButton/VcSplitButton.css +1 -1
- package/library/assets/components/VcSwitch/VcSwitch.css +1 -1
- package/library/assets/components/VcSystemUserPrompt/VcSystemUserPrompt.css +1 -1
- package/library/assets/components/VcTable/VcTable.css +1 -1
- package/library/assets/components/VcTable/VcTable2.css +1 -1
- package/library/assets/components/VcTabs/VcTabNav.css +1 -1
- package/library/assets/components/VcTabs/VcTabs.css +1 -1
- package/library/assets/components/VcTag/VcTag.css +1 -1
- package/library/assets/components/VcTagInput/VcTagInput.css +1 -1
- package/library/assets/components/VcTimeInput/VcTimeInput.css +1 -1
- package/library/assets/components/VcToolCall/UiComponents/VcToolCallValue.css +1 -0
- package/library/assets/components/VcToolCall/VcToolCall.css +1 -0
- package/library/assets/components/VcTour/VcTour.css +1 -1
- package/library/assets/components/VcTransfer/VcTransfer.css +1 -1
- package/library/assets/components/VcTree/VcTree.css +1 -1
- package/library/assets/components/VcTree/VcTreeSelect.css +1 -1
- package/library/assets/components/VcVerticalTabs/VcVerticalTabs.css +1 -1
- package/library/assets/components/VcVerticalTabs/VerticalTabNav.css +1 -1
- package/library/assets/components/VcViewSwitcher/VcViewSwitcher.css +1 -1
- package/library/assets/components/VcWizard/VcSummaryProgress.css +1 -1
- package/library/assets/components/VcWizard/VcWizard.css +1 -1
- package/library/assets/components/VcWizard/VcWizardNavigation.css +1 -1
- package/library/assets/components/VcWizard/VcWizardSummary.css +1 -1
- package/library/assets/entity/components/Form/VcBaseVerticalForm.css +1 -1
- package/library/assets/entity/components/Table/VcEntityListTable.css +1 -1
- package/library/assets/entity/components/Tabs/VcEntityEditableTabs.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/autocomplete.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/base.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/button.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/checkbox.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/image-viewer.css +1 -0
- package/library/assets/node_modules/element-plus/theme-chalk/src/input-number.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/input.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/option.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/popover.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/popper.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/radio-button.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/radio.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/select.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/tree.css +1 -1
- package/library/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.mjs +110 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue3.mjs +5 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.mjs +70 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunRow.vue3.mjs +5 -0
- package/library/components/VcAgentRun/VcAgentRunCard.vue.mjs +423 -0
- package/library/components/VcAgentRun/VcAgentRunCard.vue3.mjs +5 -0
- package/library/components/VcAgentRun/VcAgentRunGroup.vue.mjs +210 -0
- package/library/components/VcAgentRun/VcAgentRunGroup.vue3.mjs +5 -0
- package/library/components/VcAgentRun/agentRunStatus.mjs +39 -0
- package/library/components/VcAiReasoning/VcAiReasoning.vue.mjs +227 -0
- package/library/components/VcAiReasoning/VcAiReasoning.vue3.mjs +5 -0
- package/library/components/VcApprovalCard/VcApprovalCard.vue.mjs +419 -0
- package/library/components/VcApprovalCard/VcApprovalCard.vue3.mjs +5 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.mjs +69 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.mjs +177 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.mjs +98 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.mjs +142 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.mjs +156 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserText.vue.mjs +76 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserText.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/VcAskUserCard.vue.mjs +382 -0
- package/library/components/VcAskUserCard/VcAskUserCard.vue3.mjs +5 -0
- package/library/components/VcAskUserCard/askUserAnswers.mjs +224 -0
- package/library/components/VcAutocomplete/VcAutocomplete.vue.mjs +4 -2
- package/library/components/VcAvatar/VcAvatar.vue.mjs +3 -3
- package/library/components/VcBadgeTag/VcBadgeTag.vue.mjs +8 -5
- package/library/components/VcButton/VcButton.vue.mjs +10 -4
- package/library/components/VcButton/VcButtonIcon.vue.mjs +3 -4
- package/library/components/VcButton/VcToggleButton.vue.mjs +5 -4
- package/library/components/VcChatComposer/VcChatComposer.vue.mjs +182 -68
- package/library/components/VcChatComposer/richText.mjs +8 -0
- package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
- package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
- package/library/components/VcCodeBlock/VcCodeBlock.vue.mjs +27 -35
- package/library/components/VcCollapse/VcCollapseItem.vue.mjs +12 -7
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +41 -12
- package/library/components/VcDatePickerPanel/VcDatePickerPanel.vue.mjs +49 -32
- package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
- package/library/components/VcExcelUploader/VcExcelFileProcessLoader.vue.mjs +2 -2
- package/library/components/VcExcelUploader/VcExcelFileUploadBlock.vue.mjs +11 -7
- package/library/components/VcExcelUploader/VcExcelFileUploader.vue.mjs +8 -6
- package/library/components/VcExcelUploader/VcFileImportErrorsCard.vue.mjs +8 -4
- package/library/components/VcExcelUploader/VcFileImportParseResultBlock.vue.mjs +2 -1
- package/library/components/VcExcelUploader/VcFileImportResultBindData.vue.mjs +1 -1
- package/library/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.mjs +13 -12
- package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.mjs +6 -5
- package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.mjs +4 -3
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.mjs +7 -3
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.mjs +3 -2
- package/library/components/VcFileUploader/VcFileItem.vue.mjs +59 -31
- package/library/components/VcFileUploader/VcFileUploader.vue.mjs +2 -1
- package/library/components/VcFileUploader/VcFileUploaderArea.vue.mjs +2 -2
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue2.mjs +2 -1
- package/library/components/VcFileUploader/VcSimpleUploaderAction.vue.mjs +4 -3
- package/library/components/VcForm/UiComponents/VcInputLabel.vue.mjs +6 -2
- package/library/components/VcForm/VcForm.vue.mjs +1 -1
- package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
- package/library/components/VcHtmlEditor/VcHtmlEditor.vue.mjs +4 -1
- package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +20 -32
- package/library/components/VcHtmlEditor/htmlEditor.config.mjs +13 -10
- package/library/components/VcHyperLink/VcHyperLink.vue.mjs +1 -1
- package/library/components/VcIconPicker/VcIconPicker.vue.mjs +1 -1
- package/library/components/VcImageUploader/VcImageUploader.vue.mjs +27 -14
- package/library/components/VcInput/VcInput.vue.mjs +5 -3
- package/library/components/VcInputNumber/VcInputNumber.vue.mjs +29 -4
- package/library/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.mjs +5 -4
- package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -2
- package/library/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.mjs +6 -9
- package/library/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.mjs +9 -10
- package/library/components/VcJsonSchema/VcJsonSchema.vue.mjs +0 -1
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.mjs +98 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.mjs +164 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.mjs +50 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.mjs +25 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.mjs +64 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.mjs +53 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.mjs +104 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.mjs +45 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.mjs +259 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.mjs +179 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.mjs +146 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/VcJsonViewer.vue.mjs +454 -0
- package/library/components/VcJsonViewer/VcJsonViewer.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/jsonViewerText.mjs +41 -0
- package/library/components/VcJsonViewer/jsonViewerUtils.mjs +568 -0
- package/library/components/VcJsonViewer/useJsonViewerContext.mjs +25 -0
- package/library/components/VcLightbox/VcLightbox.vue.mjs +417 -0
- package/library/components/VcLightbox/VcLightbox.vue3.mjs +5 -0
- package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Circles.vue2.mjs +3 -2
- package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +5 -4
- package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LdsSpinner.vue2.mjs +3 -2
- package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LoadIcon.vue2.mjs +5 -4
- package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +4 -3
- package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue2.mjs +3 -3
- package/library/components/VcMdEditor/VcMdEditor.vue.mjs +38 -13
- package/library/components/VcMdEditor/VcMdEditorContent.vue.mjs +10 -0
- package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +7 -7
- package/library/components/VcMdEditor/ltrNumbersPlugin.mjs +55 -0
- package/library/components/VcMdEditor/readonlyMarkdown.mjs +81 -0
- package/library/components/VcMdEditor/streamingInterval.mjs +12 -0
- package/library/components/VcMessage/VcMessage.vue.mjs +109 -51
- package/library/components/VcMessage/VcMessageMeta.vue.mjs +49 -0
- package/library/components/VcMessage/VcMessageMeta.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageAudioBlock.vue.mjs +3 -9
- package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +99 -14
- package/library/components/VcMessage/content/VcMessageImageBlock.vue.mjs +1 -1
- package/library/components/VcMessage/content/VcMessageMarkdownBlock.vue.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageMarkdownBlock.vue2.mjs +33 -0
- package/library/components/VcMessage/content/VcMessageTextBlock.vue.mjs +21 -3
- package/library/components/VcMessage/content/VcMessageVideoBlock.vue.mjs +60 -0
- package/library/components/VcMessage/content/VcMessageVideoBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/formatDuration.mjs +10 -0
- package/library/components/VcMessage/content/markdownPreview.mjs +32 -0
- package/library/components/VcMessage/content/messageContentComponents.mjs +11 -6
- package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
- package/library/components/VcMessagesWrapper/VcMessagesWrapper.vue.mjs +261 -89
- package/library/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.mjs +103 -0
- package/library/components/VcMessagesWrapper/VcMessagesWrapperRow.vue2.mjs +4 -0
- package/library/components/VcMeterGroup/VcMeterGroup.vue.mjs +1 -1
- package/library/components/VcModal/VcConfirmModal.vue.mjs +10 -9
- package/library/components/VcModal/VcModal.vue.mjs +21 -22
- package/library/components/VcNotification/VcNotification.vue.mjs +2 -2
- package/library/components/VcNotification/VcNotificationMessage.vue.mjs +14 -11
- package/library/components/VcPagination/VcPagination.vue.mjs +5 -4
- package/library/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.mjs +166 -0
- package/library/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue3.mjs +5 -0
- package/library/components/VcPdfViewer/VcPdfDocument.vue.mjs +12 -76
- package/library/components/VcPdfViewer/VcPdfDocumentCard.vue.mjs +18 -8
- package/library/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.mjs +23 -7
- package/library/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.mjs +23 -10
- package/library/components/VcPdfViewer/VcPdfViewer.vue.mjs +581 -0
- package/library/components/VcPdfViewer/VcPdfViewer.vue3.mjs +5 -0
- package/library/components/VcPdfViewer/pdfDocumentActions.mjs +90 -0
- package/library/components/VcPdfViewer/pdfDocumentParams.mjs +11 -0
- package/library/components/VcPdfViewer/pdfStandardFonts.mjs +21 -0
- package/library/components/VcPdfViewer/standard_fonts/FoxitDingbats.pfb +0 -0
- package/library/components/VcPdfViewer/standard_fonts/FoxitSymbol.pfb +0 -0
- package/library/components/VcPdfViewer/standard_fonts/LICENSE_FOXIT +27 -0
- package/library/components/VcPhoneInput/VcPhoneInput.vue.mjs +12 -6
- package/library/components/VcPopover/VcConfirmPopover.vue.mjs +3 -3
- package/library/components/VcPopover/VcSelectPopover.vue.mjs +2 -1
- package/library/components/VcProgress/VcProgress.vue.mjs +11 -20
- package/library/components/VcProgress/VcProgressCircular.vue.mjs +14 -23
- package/library/components/VcProgress/progress.options.mjs +21 -21
- package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
- package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +13 -7
- package/library/components/VcSelect/VcSelect.vue.mjs +19 -20
- package/library/components/VcSelect/VcSelectGrouped.vue.mjs +8 -5
- package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue2.mjs +1 -1
- package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcPlayerPlayStopButton.vue.mjs +7 -6
- package/library/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.mjs +2 -2
- package/library/components/VcSoundplayer/VcPlayerSkipButtons.vue.mjs +5 -4
- package/library/components/VcSoundplayer/VcSoundPlayer.vue.mjs +26 -23
- package/library/components/VcSoundplayer/VcSoundPlayerError.vue.mjs +5 -4
- package/library/components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerProgress.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +5 -3
- package/library/components/VcSoundplayer/VcSoundVolume.vue.mjs +5 -4
- package/library/components/VcSoundplayer/player.options.mjs +13 -5
- package/library/components/VcSparkline/VcBarLine.vue.mjs +2 -2
- package/library/components/VcSparkline/VcTrendLine.vue.mjs +2 -2
- package/library/components/VcSplitButton/VcSplitButton.vue.mjs +18 -19
- package/library/components/VcSwitch/VcSwitch.vue.mjs +1 -1
- package/library/components/VcTable/VcTable.vue.mjs +18 -11
- package/library/components/VcTabs/VcTabNav.vue.mjs +11 -9
- package/library/components/VcTag/VcTag.vue.mjs +6 -4
- package/library/components/VcTagInput/VcTagInput.vue.mjs +10 -7
- package/library/components/VcTimeInput/VcTimeInput.vue.mjs +18 -8
- package/library/components/VcToolCall/UiComponents/VcToolCallValue.vue.mjs +64 -0
- package/library/components/VcToolCall/UiComponents/VcToolCallValue.vue3.mjs +5 -0
- package/library/components/VcToolCall/VcToolCall.vue.mjs +328 -0
- package/library/components/VcToolCall/VcToolCall.vue3.mjs +5 -0
- package/library/components/VcTree/VcTree.vue.mjs +8 -4
- package/library/components/VcTree/VcTreeSelect.vue.mjs +11 -7
- package/library/components/VcWizard/VcSummaryProgress.vue.mjs +10 -7
- package/library/components/VcWizard/VcSummaryStep.vue.mjs +8 -4
- package/library/components/VcWizard/VcWizardNavigation.vue.mjs +12 -8
- package/library/composables/input/useInputColor.mjs +3 -3
- package/library/composables/useElapsed.mjs +47 -0
- package/library/composables/useThrottledText.mjs +22 -0
- package/library/entity/components/Button/VcEntityAddButton.vue.mjs +4 -3
- package/library/entity/components/Button/VcEntityCancelButton.vue.mjs +4 -3
- package/library/entity/components/Button/VcEntityEditIconButton.vue.mjs +3 -2
- package/library/entity/components/Form/VcBaseVerticalForm.vue.mjs +6 -5
- package/library/entity/components/Form/VcEntityEditPageForm.vue.mjs +4 -3
- package/library/entity/components/Form/VcEntityVerticalEditForm.vue.mjs +7 -6
- package/library/entity/components/Table/VcEntityListTable.vue.mjs +15 -15
- package/library/enum/constants.mjs +5 -11
- package/library/enum/fileTypes.mjs +24 -39
- package/library/enum/inputDefaults.mjs +2 -2
- package/library/index.mjs +263 -235
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +179 -1
- package/library/plugin-components.gen.mjs +95 -68
- package/library/plugin.mjs +261 -233
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +177 -121
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/themeMerge.mjs +32 -16
- package/library/theme/themes.json.mjs +172 -222
- package/library/tokens/tokens.mjs +2 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +46 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +20 -0
- package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +104 -0
- package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +53 -0
- package/library/types/components/VcAgentRun/agentRunStatus.d.ts +13 -0
- package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +85 -0
- package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +101 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +41 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +53 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +25 -0
- package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +84 -0
- package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +57 -0
- package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +72 -72
- package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +1 -1
- package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +1 -1
- package/library/types/components/VcButton/VcButton.vue.d.ts +7 -7
- package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +12 -13
- package/library/types/components/VcButton/VcToggleButton.vue.d.ts +4 -4
- package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +68 -13
- package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +24 -24
- package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +18 -18
- package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +15 -15
- package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +12 -12
- package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +1 -1
- package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +3 -3
- package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +1 -1
- package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +21 -21
- package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +18 -18
- package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +4 -4
- package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +1 -1
- package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +1 -1
- package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +7 -7
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +4 -4
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +11 -11
- package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +10 -45
- package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +2 -2
- package/library/types/components/VcForm/VcForm.vue.d.ts +3 -3
- package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +2 -2
- package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +1 -1
- package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +3 -3
- package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +3 -3
- package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +6 -6
- package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +3 -3
- package/library/types/components/VcInput/VcInput.vue.d.ts +11 -11
- package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +3 -3
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +42 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +32 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +31 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +25 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +34 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +39 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +46 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +37 -0
- package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +162 -0
- package/library/types/components/VcJsonViewer/jsonViewerText.d.ts +8 -0
- package/library/types/components/VcJsonViewer/jsonViewerUtils.d.ts +127 -0
- package/library/types/components/VcJsonViewer/useJsonViewerContext.d.ts +5 -0
- package/library/types/components/VcLightbox/VcLightbox.vue.d.ts +90 -0
- package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +2 -2
- package/library/types/components/VcLoading/VcLoading.vue.d.ts +2 -2
- package/library/types/components/VcLoading/enum.d.ts +2 -2
- package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +111 -55
- package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +3 -3
- package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +1 -1
- package/library/types/components/VcMdEditor/ltrNumbersPlugin.d.ts +16 -0
- package/library/types/components/VcMdEditor/readonlyMarkdown.d.ts +7 -0
- package/library/types/components/VcMdEditor/streamingInterval.d.ts +7 -0
- package/library/types/components/VcMessage/VcMessage.vue.d.ts +43 -4
- package/library/types/components/VcMessage/VcMessageMeta.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +6 -2
- package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/VcMessageVideoBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/formatDuration.d.ts +4 -0
- package/library/types/components/VcMessage/content/markdownPreview.d.ts +1 -0
- package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +1 -1
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +223 -66
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +96 -0
- package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +2 -2
- package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +1 -1
- package/library/types/components/VcModal/VcConfirmModal.vue.d.ts +1 -1
- package/library/types/components/VcModal/VcModal.vue.d.ts +3 -3
- package/library/types/components/VcNotification/VcNotification.vue.d.ts +1 -1
- package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +8 -8
- package/library/types/components/VcPagination/VcPagination.vue.d.ts +1 -1
- package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +4 -4
- package/library/types/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.d.ts +64 -0
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +1 -1
- package/library/types/components/VcPdfViewer/VcPdfViewer.vue.d.ts +114 -0
- package/library/types/components/VcPdfViewer/pdfDocumentActions.d.ts +29 -0
- package/library/types/components/VcPdfViewer/pdfDocumentParams.d.ts +14 -0
- package/library/types/components/VcPdfViewer/pdfStandardFonts.d.ts +9 -0
- package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +8 -8
- package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +1 -1
- package/library/types/components/VcPopover/VcPopover.vue.d.ts +1 -1
- package/library/types/components/VcPopover/VcSelectPopover.vue.d.ts +3 -3
- package/library/types/components/VcProgress/VcProgress.vue.d.ts +1 -1
- package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +4 -4
- package/library/types/components/VcProgress/progress.options.d.ts +9 -7
- package/library/types/components/VcRadio/VcRadio.vue.d.ts +15 -15
- package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +9 -9
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +12 -12
- package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +6 -6
- package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +18 -18
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +42 -42
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +51 -51
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +48 -48
- package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +9 -9
- package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +1 -1
- package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +6 -6
- package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +4 -4
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +2 -2
- package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +4 -4
- package/library/types/components/VcSoundplayer/player.options.d.ts +1 -0
- package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +4 -4
- package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +4 -4
- package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +4 -4
- package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +6 -6
- package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +24 -24
- package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +4 -4
- package/library/types/components/VcTable/VcTable.vue.d.ts +6 -3
- package/library/types/components/VcTabs/VcTabPane.vue.d.ts +1 -1
- package/library/types/components/VcTabs/VcTabs.vue.d.ts +1 -1
- package/library/types/components/VcTag/VcTag.vue.d.ts +3 -3
- package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +14 -14
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +5 -5
- package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +66 -0
- package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +91 -0
- package/library/types/components/VcTour/VcTour.vue.d.ts +1 -1
- package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +3 -3
- package/library/types/components/VcTree/VcTree.vue.d.ts +18 -18
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +42 -42
- package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +3 -3
- package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +3 -3
- package/library/types/components/VcViewSwitcher/VcViewSwitcher.vue.d.ts +9 -9
- package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +2 -2
- package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +1 -1
- package/library/types/components/exports.d.ts +19 -1
- package/library/types/components.gen.d.ts +9 -0
- package/library/types/composables/input/useFileUploader.d.ts +2 -2
- package/library/types/composables/useElapsed.d.ts +38 -0
- package/library/types/composables/useThrottledText.d.ts +16 -0
- package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +3 -3
- package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +3 -3
- package/library/types/enum/constants.d.ts +2 -10
- package/library/types/enum/inputDefaults.d.ts +2 -2
- package/library/types/localization/locales/en.json.d.ts +179 -1
- package/library/types/theme/themes.json.d.ts +177 -227
- package/library/types/tokens/tokens.d.ts +2 -1
- package/library/types/types/VcAgentRun.types.d.ts +197 -0
- package/library/types/types/VcAiChat.types.d.ts +5 -0
- package/library/types/types/VcAiReasoning.types.d.ts +67 -0
- package/library/types/types/VcApprovalCard.types.d.ts +109 -0
- package/library/types/types/VcAskUserCard.types.d.ts +166 -0
- package/library/types/types/VcChatComposer.types.d.ts +89 -2
- package/library/types/types/VcDropdown.types.d.ts +1 -1
- package/library/types/types/VcFileUploader.types.d.ts +26 -0
- package/library/types/types/VcJsonViewer.types.d.ts +41 -0
- package/library/types/types/VcLightbox.types.d.ts +112 -0
- package/library/types/types/VcMessage.types.d.ts +88 -5
- package/library/types/types/VcMessagesWrapper.types.d.ts +129 -12
- package/library/types/types/VcOtpInput.types.d.ts +1 -1
- package/library/types/types/VcPdfViewer.types.d.ts +138 -0
- package/library/types/types/VcProgress.types.d.ts +1 -1
- package/library/types/types/VcToolCall.types.d.ts +102 -0
- package/library/types/types/index.d.ts +9 -1
- package/library/types/utils/aiChat.d.ts +50 -0
- package/library/types/utils/download.d.ts +5 -0
- package/library/types/utils/elementPlusIcons.d.ts +9 -0
- package/library/types/utils/fileAccept.d.ts +30 -0
- package/library/types/utils/i18nParams.d.ts +8 -0
- package/library/types/utils/numberRuns.d.ts +21 -0
- package/library/types/utils/themeColor.d.ts +1 -0
- package/library/utils/UniqueComponentId.mjs +2 -2
- package/library/utils/aiChat.mjs +121 -0
- package/library/utils/download.mjs +13 -0
- package/library/utils/elementPlusIcons.mjs +14 -0
- package/library/utils/fileAccept.mjs +66 -0
- package/library/utils/i18nParams.mjs +6 -0
- package/library/utils/numberRuns.mjs +63 -0
- package/library/utils/themeColor.mjs +9 -0
- package/package.json +10 -9
- package/src/theme/index.ts +101 -101
- package/src/theme/tailwindScheme.js +70 -37
- package/src/theme/theme.types.ts +31 -31
- package/src/theme/themeMerge.ts +61 -40
- package/src/theme/themes.json +177 -227
- package/tailwind.config.d.ts +5 -5
- package/tailwind.config.js +59 -75
- package/library/types/types/VcTagInput.types.d.ts +0 -1
- /package/library/assets/node_modules/element-plus/theme-chalk/src/{date-picker.css → tooltip.css} +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { VcAskUserAction, VcAskUserAnswers, VcAskUserCardIconSlotProps, VcAskUserCardProps, VcAskUserQuestion, VcAskUserStatus } from '../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VcAskUserCardProps>, {
|
|
3
|
+
preamble: string;
|
|
4
|
+
questions: () => never[];
|
|
5
|
+
answers: undefined;
|
|
6
|
+
status: string;
|
|
7
|
+
action: undefined;
|
|
8
|
+
invalid: boolean;
|
|
9
|
+
errorText: string;
|
|
10
|
+
open: undefined;
|
|
11
|
+
title: undefined;
|
|
12
|
+
skippable: undefined;
|
|
13
|
+
submitLabel: undefined;
|
|
14
|
+
skipLabel: undefined;
|
|
15
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
submit: (answers: VcAskUserAnswers) => void;
|
|
17
|
+
skip: () => void;
|
|
18
|
+
"update:answers": (answers: VcAskUserAnswers) => void;
|
|
19
|
+
"update:open": (open: boolean) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VcAskUserCardProps>, {
|
|
21
|
+
preamble: string;
|
|
22
|
+
questions: () => never[];
|
|
23
|
+
answers: undefined;
|
|
24
|
+
status: string;
|
|
25
|
+
action: undefined;
|
|
26
|
+
invalid: boolean;
|
|
27
|
+
errorText: string;
|
|
28
|
+
open: undefined;
|
|
29
|
+
title: undefined;
|
|
30
|
+
skippable: undefined;
|
|
31
|
+
submitLabel: undefined;
|
|
32
|
+
skipLabel: undefined;
|
|
33
|
+
}>>> & Readonly<{
|
|
34
|
+
onSubmit?: ((answers: VcAskUserAnswers) => any) | undefined;
|
|
35
|
+
onSkip?: (() => any) | undefined;
|
|
36
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
37
|
+
"onUpdate:answers"?: ((answers: VcAskUserAnswers) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
open: boolean;
|
|
40
|
+
invalid: boolean;
|
|
41
|
+
title: string;
|
|
42
|
+
status: VcAskUserStatus;
|
|
43
|
+
errorText: string;
|
|
44
|
+
action: VcAskUserAction;
|
|
45
|
+
questions: VcAskUserQuestion[];
|
|
46
|
+
preamble: string;
|
|
47
|
+
answers: VcAskUserAnswers;
|
|
48
|
+
skippable: boolean;
|
|
49
|
+
submitLabel: string;
|
|
50
|
+
skipLabel: string;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
52
|
+
/**
|
|
53
|
+
* Replaces the state icon.
|
|
54
|
+
*/
|
|
55
|
+
icon?: ((props: VcAskUserCardIconSlotProps) => unknown) | undefined;
|
|
56
|
+
}> & {
|
|
57
|
+
/**
|
|
58
|
+
* Replaces the state icon.
|
|
59
|
+
*/
|
|
60
|
+
icon?: ((props: VcAskUserCardIconSlotProps) => unknown) | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
export default _default;
|
|
63
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
65
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
+
} : {
|
|
68
|
+
type: import('vue').PropType<T[K]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
type __VLS_WithDefaults<P, D> = {
|
|
73
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
74
|
+
default: D[K];
|
|
75
|
+
}> : P[K];
|
|
76
|
+
};
|
|
77
|
+
type __VLS_Prettify<T> = {
|
|
78
|
+
[K in keyof T]: T[K];
|
|
79
|
+
} & {};
|
|
80
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
81
|
+
new (): {
|
|
82
|
+
$slots: S;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { VcAskUserAnswer, VcAskUserAnswers, VcAskUserOption, VcAskUserQuestion } from '../../types';
|
|
2
|
+
/** The single-select value of the free-text "Other" option. */
|
|
3
|
+
export declare const OTHER_VALUE = "__vc_ask_user_other__";
|
|
4
|
+
/** A question needs an answer unless it says otherwise. */
|
|
5
|
+
export declare function isRequired(question: VcAskUserQuestion): boolean;
|
|
6
|
+
/** "Other" is offered by a select question that allows it. */
|
|
7
|
+
export declare function hasOther(question: VcAskUserQuestion): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the card can show the set: at least one question, unique ids, a prompt and a known type for each, and at
|
|
10
|
+
* least two options for a choice question.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isQuestionSetValid(questions: ReadonlyArray<VcAskUserQuestion> | undefined): questions is ReadonlyArray<VcAskUserQuestion>;
|
|
13
|
+
/** The recommended option first, then the others in their order. */
|
|
14
|
+
export declare function sortedOptions(question: VcAskUserQuestion): Array<VcAskUserOption>;
|
|
15
|
+
/** One of the two choices of a confirm question. */
|
|
16
|
+
export interface VcAskUserConfirmChoice {
|
|
17
|
+
value: boolean;
|
|
18
|
+
label: string;
|
|
19
|
+
}
|
|
20
|
+
/** The two choices of a confirm question: the question's own two options (first → yes), else the localized Yes / No. */
|
|
21
|
+
export declare function confirmChoices(question: VcAskUserQuestion): [VcAskUserConfirmChoice, VcAskUserConfirmChoice];
|
|
22
|
+
/** The answer in words, as the header of an answered card shows it: labels instead of values, the ranking in order. */
|
|
23
|
+
export declare function answerText(question: VcAskUserQuestion, answer: VcAskUserAnswer | undefined): string;
|
|
24
|
+
/** Whether a question's answer lets the set be submitted: a required question needs a non-empty value. */
|
|
25
|
+
export declare function isAnswerComplete(question: VcAskUserQuestion, answer: VcAskUserAnswer | undefined): boolean;
|
|
26
|
+
/** Whether every required question is answered. */
|
|
27
|
+
export declare function canSubmitAnswers(questions: ReadonlyArray<VcAskUserQuestion>, answers: VcAskUserAnswers): boolean;
|
|
28
|
+
/** Whether an answer fits its question: the shape of its type, and option values that exist. */
|
|
29
|
+
export declare function isAnswerValid(question: VcAskUserQuestion, answer: VcAskUserAnswer): boolean;
|
|
30
|
+
/** The questions whose answer does not fit them, in order. An empty optional answer is no answer. */
|
|
31
|
+
export declare function invalidAnswerQuestions(questions: ReadonlyArray<VcAskUserQuestion>, answers: VcAskUserAnswers): Array<VcAskUserQuestion>;
|
|
32
|
+
/** The answers of the set's questions only, in their order. */
|
|
33
|
+
export declare function answersOf(questions: ReadonlyArray<VcAskUserQuestion>, answers: VcAskUserAnswers): VcAskUserAnswers;
|
|
34
|
+
/** The local state of a single-select question. */
|
|
35
|
+
export interface VcAskUserSingleState {
|
|
36
|
+
picked: string | undefined;
|
|
37
|
+
otherText: string;
|
|
38
|
+
}
|
|
39
|
+
export declare function singleSelectState(answer: VcAskUserAnswer | undefined): VcAskUserSingleState;
|
|
40
|
+
/** The local state of a multi-select question. */
|
|
41
|
+
export interface VcAskUserMultiState {
|
|
42
|
+
selected: Array<string>;
|
|
43
|
+
useOther: boolean;
|
|
44
|
+
otherText: string;
|
|
45
|
+
}
|
|
46
|
+
export declare function multiSelectState(answer: VcAskUserAnswer | undefined): VcAskUserMultiState;
|
|
47
|
+
/**
|
|
48
|
+
* The order of a ranking: the answer's order limited to the question's options, with the options it left out
|
|
49
|
+
* appended; the options' order when there is no answer.
|
|
50
|
+
*/
|
|
51
|
+
export declare function rankOrder(question: VcAskUserQuestion, answer: VcAskUserAnswer | undefined): Array<string>;
|
|
52
|
+
/** Moves the item at `from` to `to`; an index out of range changes nothing. */
|
|
53
|
+
export declare function moveItem(order: ReadonlyArray<string>, from: number, to: number): Array<string>;
|
|
54
|
+
/** The ranking answer of an order: the values and their labels in order. */
|
|
55
|
+
export declare function rankAnswer(question: VcAskUserQuestion, order: ReadonlyArray<string>): VcAskUserAnswer;
|
|
56
|
+
/** Whether two answers are the same (the controls skip re-seeding from their own echo). */
|
|
57
|
+
export declare function sameAnswer(a: VcAskUserAnswer | undefined, b: VcAskUserAnswer | undefined): boolean;
|
|
@@ -6,17 +6,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
6
6
|
default: undefined;
|
|
7
7
|
};
|
|
8
8
|
size: {
|
|
9
|
-
type: import("vue").PropType<"" | "
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
color: {
|
|
13
|
-
type: import("vue").PropType<"" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative">;
|
|
9
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
14
10
|
default: string;
|
|
15
11
|
};
|
|
16
12
|
disabled: {
|
|
17
13
|
type: import("vue").PropType<boolean>;
|
|
18
14
|
default: boolean;
|
|
19
15
|
};
|
|
16
|
+
clearable: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
prefixIcon: {
|
|
21
|
+
type: import("vue").PropType<import('../../types').TIcon>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
dataTestName: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
prefixIconSize: {
|
|
29
|
+
type: import("vue").PropType<string>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
20
32
|
name: {
|
|
21
33
|
type: import("vue").PropType<string>;
|
|
22
34
|
default: undefined;
|
|
@@ -25,6 +37,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
25
37
|
type: import("vue").PropType<string>;
|
|
26
38
|
default: string;
|
|
27
39
|
};
|
|
40
|
+
prefixIconColor: {
|
|
41
|
+
type: import("vue").PropType<string>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
color: {
|
|
45
|
+
type: import("vue").PropType<"" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive">;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
28
48
|
popperClass: {
|
|
29
49
|
type: import("vue").PropType<string>;
|
|
30
50
|
default: string;
|
|
@@ -33,50 +53,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
33
53
|
type: import("vue").PropType<boolean>;
|
|
34
54
|
default: boolean;
|
|
35
55
|
};
|
|
36
|
-
fetchSuggestions: {
|
|
37
|
-
type: import("vue").PropType<AutocompleteFetchSuggestions>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
56
|
valueKey: {
|
|
41
57
|
type: import("vue").PropType<string>;
|
|
42
58
|
default: string;
|
|
43
59
|
};
|
|
60
|
+
fitInputWidth: {
|
|
61
|
+
type: import("vue").PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
44
64
|
debounce: {
|
|
45
65
|
type: import("vue").PropType<number>;
|
|
46
66
|
default: number;
|
|
47
67
|
};
|
|
48
|
-
|
|
49
|
-
type: import("vue").PropType<
|
|
50
|
-
|
|
68
|
+
fetchSuggestions: {
|
|
69
|
+
type: import("vue").PropType<AutocompleteFetchSuggestions>;
|
|
70
|
+
required: true;
|
|
51
71
|
};
|
|
52
72
|
highlightFirstItem: {
|
|
53
73
|
type: import("vue").PropType<boolean>;
|
|
54
74
|
default: boolean;
|
|
55
75
|
};
|
|
56
|
-
fitInputWidth: {
|
|
57
|
-
type: import("vue").PropType<boolean>;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
76
|
triggerOnFocus: {
|
|
61
77
|
type: import("vue").PropType<boolean>;
|
|
62
78
|
default: boolean;
|
|
63
79
|
};
|
|
64
|
-
dataTestName: {
|
|
65
|
-
type: import("vue").PropType<string>;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
prefixIconColor: {
|
|
69
|
-
type: import("vue").PropType<string>;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
prefixIcon: {
|
|
73
|
-
type: import("vue").PropType<import('../../types').TIcon>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
prefixIconSize: {
|
|
77
|
-
type: import("vue").PropType<string>;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
80
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
81
|
"update:modelValue": (pl: string) => void;
|
|
82
82
|
select: (pl: unknown) => void;
|
|
@@ -88,17 +88,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
88
88
|
default: undefined;
|
|
89
89
|
};
|
|
90
90
|
size: {
|
|
91
|
-
type: import("vue").PropType<"" | "
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
color: {
|
|
95
|
-
type: import("vue").PropType<"" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative">;
|
|
91
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
96
92
|
default: string;
|
|
97
93
|
};
|
|
98
94
|
disabled: {
|
|
99
95
|
type: import("vue").PropType<boolean>;
|
|
100
96
|
default: boolean;
|
|
101
97
|
};
|
|
98
|
+
clearable: {
|
|
99
|
+
type: import("vue").PropType<boolean>;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
prefixIcon: {
|
|
103
|
+
type: import("vue").PropType<import('../../types').TIcon>;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
dataTestName: {
|
|
107
|
+
type: import("vue").PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
prefixIconSize: {
|
|
111
|
+
type: import("vue").PropType<string>;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
102
114
|
name: {
|
|
103
115
|
type: import("vue").PropType<string>;
|
|
104
116
|
default: undefined;
|
|
@@ -107,6 +119,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
107
119
|
type: import("vue").PropType<string>;
|
|
108
120
|
default: string;
|
|
109
121
|
};
|
|
122
|
+
prefixIconColor: {
|
|
123
|
+
type: import("vue").PropType<string>;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
color: {
|
|
127
|
+
type: import("vue").PropType<"" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive">;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
110
130
|
popperClass: {
|
|
111
131
|
type: import("vue").PropType<string>;
|
|
112
132
|
default: string;
|
|
@@ -115,73 +135,53 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
115
135
|
type: import("vue").PropType<boolean>;
|
|
116
136
|
default: boolean;
|
|
117
137
|
};
|
|
118
|
-
fetchSuggestions: {
|
|
119
|
-
type: import("vue").PropType<AutocompleteFetchSuggestions>;
|
|
120
|
-
required: true;
|
|
121
|
-
};
|
|
122
138
|
valueKey: {
|
|
123
139
|
type: import("vue").PropType<string>;
|
|
124
140
|
default: string;
|
|
125
141
|
};
|
|
142
|
+
fitInputWidth: {
|
|
143
|
+
type: import("vue").PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
126
146
|
debounce: {
|
|
127
147
|
type: import("vue").PropType<number>;
|
|
128
148
|
default: number;
|
|
129
149
|
};
|
|
130
|
-
|
|
131
|
-
type: import("vue").PropType<
|
|
132
|
-
|
|
150
|
+
fetchSuggestions: {
|
|
151
|
+
type: import("vue").PropType<AutocompleteFetchSuggestions>;
|
|
152
|
+
required: true;
|
|
133
153
|
};
|
|
134
154
|
highlightFirstItem: {
|
|
135
155
|
type: import("vue").PropType<boolean>;
|
|
136
156
|
default: boolean;
|
|
137
157
|
};
|
|
138
|
-
fitInputWidth: {
|
|
139
|
-
type: import("vue").PropType<boolean>;
|
|
140
|
-
default: boolean;
|
|
141
|
-
};
|
|
142
158
|
triggerOnFocus: {
|
|
143
159
|
type: import("vue").PropType<boolean>;
|
|
144
160
|
default: boolean;
|
|
145
161
|
};
|
|
146
|
-
dataTestName: {
|
|
147
|
-
type: import("vue").PropType<string>;
|
|
148
|
-
default: string;
|
|
149
|
-
};
|
|
150
|
-
prefixIconColor: {
|
|
151
|
-
type: import("vue").PropType<string>;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
|
-
prefixIcon: {
|
|
155
|
-
type: import("vue").PropType<import('../../types').TIcon>;
|
|
156
|
-
default: string;
|
|
157
|
-
};
|
|
158
|
-
prefixIconSize: {
|
|
159
|
-
type: import("vue").PropType<string>;
|
|
160
|
-
default: string;
|
|
161
|
-
};
|
|
162
162
|
}>> & Readonly<{
|
|
163
163
|
"onUpdate:modelValue"?: ((pl: string) => any) | undefined;
|
|
164
164
|
onChange?: ((pl: string) => any) | undefined;
|
|
165
165
|
onSelect?: ((pl: unknown) => any) | undefined;
|
|
166
166
|
}>, {
|
|
167
167
|
id: string;
|
|
168
|
-
size: "" | "
|
|
169
|
-
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
168
|
+
size: "" | "small" | "default" | "large";
|
|
170
169
|
disabled: boolean;
|
|
170
|
+
clearable: boolean;
|
|
171
|
+
prefixIcon: import('../../types').TIcon;
|
|
172
|
+
dataTestName: string;
|
|
173
|
+
prefixIconSize: string;
|
|
171
174
|
name: string;
|
|
172
175
|
placeholder: string;
|
|
176
|
+
prefixIconColor: string;
|
|
177
|
+
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
173
178
|
popperClass: string;
|
|
174
179
|
teleported: boolean;
|
|
175
180
|
valueKey: string;
|
|
181
|
+
fitInputWidth: boolean;
|
|
176
182
|
debounce: number;
|
|
177
|
-
clearable: boolean;
|
|
178
183
|
highlightFirstItem: boolean;
|
|
179
|
-
fitInputWidth: boolean;
|
|
180
184
|
triggerOnFocus: boolean;
|
|
181
|
-
dataTestName: string;
|
|
182
|
-
prefixIconColor: string;
|
|
183
|
-
prefixIcon: import('../../types').TIcon;
|
|
184
|
-
prefixIconSize: string;
|
|
185
185
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
186
186
|
"prefix-icon"?(_: {}): any;
|
|
187
187
|
suffix?(_: {}): any;
|
|
@@ -21,9 +21,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
size: import('../../types').VcAvatarSize;
|
|
22
22
|
color: string;
|
|
23
23
|
src: string;
|
|
24
|
+
textColor: string;
|
|
24
25
|
initials: string;
|
|
25
26
|
alt: string;
|
|
26
|
-
textColor: string;
|
|
27
27
|
statusColor: string;
|
|
28
28
|
statusBorderColor: string;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -11,8 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
11
11
|
textColor: string;
|
|
12
12
|
}>>> & Readonly<{}>, {
|
|
13
13
|
size: import('../../types').VcBadgeTagSize;
|
|
14
|
-
color: string;
|
|
15
14
|
value: string | number;
|
|
15
|
+
color: string;
|
|
16
16
|
textColor: string;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
18
18
|
default?(_: {}): any;
|
|
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
40
40
|
disabled: boolean;
|
|
41
41
|
icon: string;
|
|
42
42
|
loading: boolean;
|
|
43
|
-
loaderIcon:
|
|
43
|
+
loaderIcon: () => import("@lucide/vue").LucideIcon;
|
|
44
44
|
size: string;
|
|
45
45
|
type: string;
|
|
46
46
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -53,22 +53,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
53
53
|
disabled: boolean;
|
|
54
54
|
icon: string;
|
|
55
55
|
loading: boolean;
|
|
56
|
-
loaderIcon:
|
|
56
|
+
loaderIcon: () => import("@lucide/vue").LucideIcon;
|
|
57
57
|
size: string;
|
|
58
58
|
type: string;
|
|
59
59
|
}>>> & Readonly<{
|
|
60
60
|
onClick?: ((pl: MouseEvent) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
62
|
size: ButtonSize;
|
|
63
|
-
icon: TIcon;
|
|
64
|
-
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
65
|
-
type: ButtonType;
|
|
66
|
-
loading: boolean;
|
|
67
63
|
disabled: boolean;
|
|
64
|
+
type: ButtonType;
|
|
65
|
+
icon: TIcon;
|
|
66
|
+
buttonType: ButtonElementType;
|
|
68
67
|
dataTestName: string;
|
|
68
|
+
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
69
|
+
loading: boolean;
|
|
69
70
|
block: boolean;
|
|
70
71
|
loaderIcon: TIcon;
|
|
71
|
-
buttonType: ButtonElementType;
|
|
72
72
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
73
73
|
icon?(_: {}): any;
|
|
74
74
|
default?(_: {}): any;
|
|
@@ -4,7 +4,7 @@ interface IProps {
|
|
|
4
4
|
type?: ButtonIconType;
|
|
5
5
|
/** @description button color scheme */
|
|
6
6
|
color?: ButtonColor;
|
|
7
|
-
/** @description icon
|
|
7
|
+
/** @description icon: a Lucide component, a Lucide icon name or a vc-icon-* class */
|
|
8
8
|
icon?: TIcon;
|
|
9
9
|
/** @description data-test-name property */
|
|
10
10
|
dataTestName?: string;
|
|
@@ -21,6 +21,7 @@ interface IProps {
|
|
|
21
21
|
filled?: boolean;
|
|
22
22
|
filledColor?: ButtonColor | 'light';
|
|
23
23
|
loading?: boolean;
|
|
24
|
+
/** @description icon while loading: a Lucide component, a Lucide icon name or a vc-icon-* class */
|
|
24
25
|
loadingIcon?: TIcon;
|
|
25
26
|
}
|
|
26
27
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
@@ -28,8 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
28
29
|
type: string;
|
|
29
30
|
/** @description button color scheme */
|
|
30
31
|
color: string;
|
|
31
|
-
|
|
32
|
-
icon: string;
|
|
32
|
+
icon: () => import("@lucide/vue").LucideIcon;
|
|
33
33
|
/** @description Hover Spin Animation for VcButtonIcon */
|
|
34
34
|
animate: boolean;
|
|
35
35
|
/** @description whether to disable the button */
|
|
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
41
41
|
dataTestName: string;
|
|
42
42
|
buttonType: string;
|
|
43
43
|
filledColor: string;
|
|
44
|
-
loadingIcon:
|
|
44
|
+
loadingIcon: () => import("@lucide/vue").LucideIcon;
|
|
45
45
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
46
|
click: (pl: MouseEvent) => void;
|
|
47
47
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
@@ -49,8 +49,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
49
49
|
type: string;
|
|
50
50
|
/** @description button color scheme */
|
|
51
51
|
color: string;
|
|
52
|
-
|
|
53
|
-
icon: string;
|
|
52
|
+
icon: () => import("@lucide/vue").LucideIcon;
|
|
54
53
|
/** @description Hover Spin Animation for VcButtonIcon */
|
|
55
54
|
animate: boolean;
|
|
56
55
|
/** @description whether to disable the button */
|
|
@@ -62,21 +61,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
62
61
|
dataTestName: string;
|
|
63
62
|
buttonType: string;
|
|
64
63
|
filledColor: string;
|
|
65
|
-
loadingIcon:
|
|
64
|
+
loadingIcon: () => import("@lucide/vue").LucideIcon;
|
|
66
65
|
}>>> & Readonly<{
|
|
67
66
|
onClick?: ((pl: MouseEvent) => any) | undefined;
|
|
68
67
|
}>, {
|
|
69
|
-
small: boolean;
|
|
70
68
|
animate: boolean;
|
|
71
|
-
|
|
72
|
-
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
73
|
-
type: ButtonIconType;
|
|
69
|
+
small: boolean;
|
|
74
70
|
disabled: boolean;
|
|
75
|
-
|
|
71
|
+
type: ButtonIconType;
|
|
72
|
+
icon: TIcon;
|
|
76
73
|
buttonType: ButtonElementType;
|
|
74
|
+
dataTestName: string;
|
|
75
|
+
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
77
76
|
plain: boolean;
|
|
78
77
|
hoverless: boolean;
|
|
79
|
-
filledColor: "" | "success" | "
|
|
78
|
+
filledColor: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | "light";
|
|
80
79
|
loadingIcon: TIcon;
|
|
81
80
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
82
81
|
default?(_: {}): any;
|
|
@@ -27,7 +27,7 @@ interface VcTBProps {
|
|
|
27
27
|
large?: boolean;
|
|
28
28
|
/**
|
|
29
29
|
* @description Extra class(es) appended to the icon when the toggle
|
|
30
|
-
* is "on" (e.g. `'text-primary'`). Works for both class-string and
|
|
30
|
+
* is "on" (e.g. `'text-action-primary'`). Works for both class-string and
|
|
31
31
|
* component icons — Vue merges these onto the icon's root element.
|
|
32
32
|
*/
|
|
33
33
|
activeIconColor?: string;
|
|
@@ -72,12 +72,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
72
72
|
onChange?: ((evt: MouseEvent) => any) | undefined;
|
|
73
73
|
}>, {
|
|
74
74
|
ariaLabel: string;
|
|
75
|
-
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
76
|
-
loading: boolean;
|
|
77
75
|
disabled: boolean;
|
|
78
76
|
modelValue: boolean;
|
|
79
|
-
tabindex: number;
|
|
80
77
|
dataTestName: string;
|
|
78
|
+
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
79
|
+
loading: boolean;
|
|
80
|
+
tabindex: number;
|
|
81
81
|
onIcon: TIcon;
|
|
82
82
|
offIcon: TIcon;
|
|
83
83
|
onLabel: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { VcChatComposerProps, VcChatComposerToolbarEndSlotProps, VcChatComposerToolbarStartSlotProps, VcChatMentionUser, VcChatTextFormatType } from '../../types';
|
|
2
|
+
declare function addFiles(files: Array<File>): void;
|
|
3
|
+
declare function clear(): void;
|
|
2
4
|
declare function send(): void;
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VcChatComposerProps>, {
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VcChatComposerProps>, {
|
|
4
6
|
format: string;
|
|
5
7
|
formats: () => string[];
|
|
6
8
|
mentions: () => never[];
|
|
@@ -15,15 +17,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
17
|
recentEmojis: () => never[];
|
|
16
18
|
enableVoice: boolean;
|
|
17
19
|
clearOnSend: boolean;
|
|
20
|
+
streaming: boolean;
|
|
21
|
+
enableEmoji: boolean;
|
|
22
|
+
enableAttachments: boolean;
|
|
23
|
+
showSendHint: boolean;
|
|
18
24
|
}>>, {
|
|
19
25
|
send: typeof send;
|
|
20
26
|
focus: () => boolean | undefined;
|
|
27
|
+
addFiles: typeof addFiles;
|
|
28
|
+
clear: typeof clear;
|
|
21
29
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
30
|
"update:modelValue": (value: unknown) => void;
|
|
23
|
-
"update:attachments": (attachments: VcChatAttachment[]) => void;
|
|
24
|
-
send: (payload: VcChatComposerSendPayload<unknown>) => void;
|
|
25
|
-
retry: (attachment: VcChatAttachment) => void;
|
|
31
|
+
"update:attachments": (attachments: import('../../types').VcChatAttachment[]) => void;
|
|
32
|
+
send: (payload: import('../../types').VcChatComposerSendPayload<unknown>) => void;
|
|
33
|
+
retry: (attachment: import('../../types').VcChatAttachment) => void;
|
|
26
34
|
"emoji-select": (emoji: string) => void;
|
|
35
|
+
stop: () => void;
|
|
36
|
+
"attachment-click": (attachment: import('../../types').VcChatAttachment) => void;
|
|
37
|
+
focus: () => void;
|
|
38
|
+
blur: () => void;
|
|
27
39
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VcChatComposerProps>, {
|
|
28
40
|
format: string;
|
|
29
41
|
formats: () => string[];
|
|
@@ -39,28 +51,66 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
39
51
|
recentEmojis: () => never[];
|
|
40
52
|
enableVoice: boolean;
|
|
41
53
|
clearOnSend: boolean;
|
|
54
|
+
streaming: boolean;
|
|
55
|
+
enableEmoji: boolean;
|
|
56
|
+
enableAttachments: boolean;
|
|
57
|
+
showSendHint: boolean;
|
|
42
58
|
}>>> & Readonly<{
|
|
43
59
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
60
|
+
onFocus?: (() => any) | undefined;
|
|
61
|
+
onBlur?: (() => any) | undefined;
|
|
62
|
+
onStop?: (() => any) | undefined;
|
|
63
|
+
"onUpdate:attachments"?: ((attachments: import('../../types').VcChatAttachment[]) => any) | undefined;
|
|
64
|
+
onSend?: ((payload: import('../../types').VcChatComposerSendPayload<unknown>) => any) | undefined;
|
|
65
|
+
onRetry?: ((attachment: import('../../types').VcChatAttachment) => any) | undefined;
|
|
47
66
|
"onEmoji-select"?: ((emoji: string) => any) | undefined;
|
|
67
|
+
"onAttachment-click"?: ((attachment: import('../../types').VcChatAttachment) => any) | undefined;
|
|
48
68
|
}>, {
|
|
49
69
|
disabled: boolean;
|
|
50
|
-
placeholder: string;
|
|
51
|
-
format: import('../../types').VcChatComposerBuiltInFormat | import('../../types').VcChatComposerFormat<unknown>;
|
|
52
|
-
recentEmojis: string[];
|
|
53
70
|
fileSizeLimit: number;
|
|
54
71
|
fileListSizeLimit: number;
|
|
55
72
|
accept: string;
|
|
73
|
+
placeholder: string;
|
|
74
|
+
format: import('../../types').VcChatComposerBuiltInFormat | import('../../types').VcChatComposerFormat<unknown>;
|
|
75
|
+
streaming: boolean;
|
|
76
|
+
recentEmojis: string[];
|
|
56
77
|
formats: VcChatTextFormatType[];
|
|
57
78
|
mentions: VcChatMentionUser[];
|
|
58
|
-
attachments: VcChatAttachment[];
|
|
79
|
+
attachments: import('../../types').VcChatAttachment[];
|
|
59
80
|
maxFiles: number;
|
|
60
81
|
dropHintText: string;
|
|
61
82
|
enableVoice: boolean;
|
|
62
83
|
clearOnSend: boolean;
|
|
63
|
-
|
|
84
|
+
enableEmoji: boolean;
|
|
85
|
+
enableAttachments: boolean;
|
|
86
|
+
showSendHint: boolean;
|
|
87
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
88
|
+
/**
|
|
89
|
+
* Content at the top of the composer, e.g. the message being replied to or edited.
|
|
90
|
+
*/
|
|
91
|
+
header?: (() => unknown) | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Extra controls after the built-in attach / emoji / voice buttons.
|
|
94
|
+
*/
|
|
95
|
+
'toolbar-start'?: ((props: VcChatComposerToolbarStartSlotProps) => unknown) | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* Controls right before the Send / Stop button.
|
|
98
|
+
*/
|
|
99
|
+
'toolbar-end'?: ((props: VcChatComposerToolbarEndSlotProps) => unknown) | undefined;
|
|
100
|
+
}> & {
|
|
101
|
+
/**
|
|
102
|
+
* Content at the top of the composer, e.g. the message being replied to or edited.
|
|
103
|
+
*/
|
|
104
|
+
header?: (() => unknown) | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Extra controls after the built-in attach / emoji / voice buttons.
|
|
107
|
+
*/
|
|
108
|
+
'toolbar-start'?: ((props: VcChatComposerToolbarStartSlotProps) => unknown) | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* Controls right before the Send / Stop button.
|
|
111
|
+
*/
|
|
112
|
+
'toolbar-end'?: ((props: VcChatComposerToolbarEndSlotProps) => unknown) | undefined;
|
|
113
|
+
}>;
|
|
64
114
|
export default _default;
|
|
65
115
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
66
116
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -79,3 +129,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
79
129
|
type __VLS_Prettify<T> = {
|
|
80
130
|
[K in keyof T]: T[K];
|
|
81
131
|
} & {};
|
|
132
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
133
|
+
new (): {
|
|
134
|
+
$slots: S;
|
|
135
|
+
};
|
|
136
|
+
};
|