@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,328 @@
|
|
|
1
|
+
import '../../assets/components/VcToolCall/VcToolCall.css';
|
|
2
|
+
import { defineComponent, ref, watch, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createBlock, resolveDynamicComponent, withCtx, renderSlot, createVNode, normalizeProps, guardReactiveProps, toDisplayString, createCommentVNode, withDirectives, vShow } from "vue";
|
|
3
|
+
import { useVModel } from "@vueuse/core";
|
|
4
|
+
import { Wrench, Ban, CircleX, CircleCheck, LoaderCircle, ShieldAlert, Clock, ChevronRight } from "@lucide/vue";
|
|
5
|
+
import _sfc_main$3 from "../VcCollapse/VcCollapseTransition.vue.mjs";
|
|
6
|
+
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
7
|
+
import '../../assets/components/VcToolCall/UiComponents/VcToolCallValue.css';import '../../assets/components/VcTag/VcTag.css';import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
8
|
+
import _sfc_main$2 from "../VcTag/VcTag.vue.mjs";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import _sfc_main$4 from "./UiComponents/VcToolCallValue.vue.mjs";
|
|
11
|
+
/* empty css */
|
|
12
|
+
import { useElapsed } from "../../composables/useElapsed.mjs";
|
|
13
|
+
import { tVU } from "../../localization/index.mjs";
|
|
14
|
+
import { humanizeIdentifier, previewValue, toTimestamp, formatDuration } from "../../utils/aiChat.mjs";
|
|
15
|
+
import UniqueComponentId from "../../utils/UniqueComponentId.mjs";
|
|
16
|
+
const _hoisted_1 = ["data-tool-name", "data-tool-status", "aria-busy"];
|
|
17
|
+
const _hoisted_2 = { class: "vc-tool-call__header" };
|
|
18
|
+
const _hoisted_3 = {
|
|
19
|
+
class: "vc-tool-call__icon",
|
|
20
|
+
"aria-hidden": "true"
|
|
21
|
+
};
|
|
22
|
+
const _hoisted_4 = { class: "vc-tool-call__heading" };
|
|
23
|
+
const _hoisted_5 = {
|
|
24
|
+
class: "vc-tool-call__title",
|
|
25
|
+
"data-test": "tool-call-title",
|
|
26
|
+
dir: "auto"
|
|
27
|
+
};
|
|
28
|
+
const _hoisted_6 = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "vc-tool-call__name",
|
|
31
|
+
"data-test": "tool-call-name",
|
|
32
|
+
dir: "ltr"
|
|
33
|
+
};
|
|
34
|
+
const _hoisted_7 = {
|
|
35
|
+
key: 0,
|
|
36
|
+
class: "vc-tool-call__preview",
|
|
37
|
+
"data-test": "tool-call-preview",
|
|
38
|
+
dir: "auto"
|
|
39
|
+
};
|
|
40
|
+
const _hoisted_8 = { class: "vc-tool-call__meta" };
|
|
41
|
+
const _hoisted_9 = {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: "vc-tool-call__extra",
|
|
44
|
+
"data-test": "tool-call-header-extra"
|
|
45
|
+
};
|
|
46
|
+
const _hoisted_10 = ["aria-hidden"];
|
|
47
|
+
const _hoisted_11 = {
|
|
48
|
+
key: 0,
|
|
49
|
+
class: "vc-tool-call__error-text",
|
|
50
|
+
"data-test": "tool-call-error-text",
|
|
51
|
+
dir: "auto"
|
|
52
|
+
};
|
|
53
|
+
const _hoisted_12 = {
|
|
54
|
+
key: 1,
|
|
55
|
+
class: "vc-tool-call__notice",
|
|
56
|
+
"data-test": "tool-call-notice"
|
|
57
|
+
};
|
|
58
|
+
const _hoisted_13 = ["id"];
|
|
59
|
+
const _hoisted_14 = { class: "vc-tool-call__body-inner" };
|
|
60
|
+
const _hoisted_15 = {
|
|
61
|
+
key: 0,
|
|
62
|
+
class: "vc-tool-call__section",
|
|
63
|
+
"data-test": "tool-call-input"
|
|
64
|
+
};
|
|
65
|
+
const _hoisted_16 = { class: "vc-tool-call__section-label" };
|
|
66
|
+
const _hoisted_17 = {
|
|
67
|
+
key: 1,
|
|
68
|
+
class: "vc-tool-call__section",
|
|
69
|
+
"data-test": "tool-call-output"
|
|
70
|
+
};
|
|
71
|
+
const _hoisted_18 = { class: "vc-tool-call__section-label" };
|
|
72
|
+
const _hoisted_19 = {
|
|
73
|
+
key: 2,
|
|
74
|
+
class: "vc-tool-call__section",
|
|
75
|
+
"data-test": "tool-call-error"
|
|
76
|
+
};
|
|
77
|
+
const _hoisted_20 = { class: "vc-tool-call__section-label" };
|
|
78
|
+
const _hoisted_21 = {
|
|
79
|
+
class: "vc-tool-call__error-full",
|
|
80
|
+
dir: "auto"
|
|
81
|
+
};
|
|
82
|
+
const _hoisted_22 = {
|
|
83
|
+
key: 2,
|
|
84
|
+
class: "vc-tool-call__footer",
|
|
85
|
+
"data-test": "tool-call-footer"
|
|
86
|
+
};
|
|
87
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
88
|
+
__name: "VcToolCall",
|
|
89
|
+
props: {
|
|
90
|
+
name: {},
|
|
91
|
+
title: { default: void 0 },
|
|
92
|
+
status: { default: "pending" },
|
|
93
|
+
icon: { default: void 0 },
|
|
94
|
+
input: {},
|
|
95
|
+
output: {},
|
|
96
|
+
errorText: { default: "" },
|
|
97
|
+
open: { type: Boolean, default: void 0 },
|
|
98
|
+
startedAt: { default: void 0 },
|
|
99
|
+
durationMs: { default: void 0 },
|
|
100
|
+
compact: { type: Boolean, default: false },
|
|
101
|
+
showInputPreview: { type: Boolean, default: void 0 },
|
|
102
|
+
dataView: { default: "friendly" },
|
|
103
|
+
maxBodyHeight: { default: 320 },
|
|
104
|
+
statusLabels: { default: void 0 }
|
|
105
|
+
},
|
|
106
|
+
emits: ["update:open"],
|
|
107
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
108
|
+
const props = __props;
|
|
109
|
+
const emit = __emit;
|
|
110
|
+
const STATUS_VISUALS = {
|
|
111
|
+
pending: {
|
|
112
|
+
icon: Clock,
|
|
113
|
+
color: "secondary",
|
|
114
|
+
labelKey: "pending"
|
|
115
|
+
},
|
|
116
|
+
"awaiting-approval": {
|
|
117
|
+
icon: ShieldAlert,
|
|
118
|
+
color: "warning",
|
|
119
|
+
labelKey: "awaitingApproval"
|
|
120
|
+
},
|
|
121
|
+
running: {
|
|
122
|
+
icon: LoaderCircle,
|
|
123
|
+
color: "primary",
|
|
124
|
+
labelKey: "running"
|
|
125
|
+
},
|
|
126
|
+
success: {
|
|
127
|
+
icon: CircleCheck,
|
|
128
|
+
color: "success",
|
|
129
|
+
labelKey: "success"
|
|
130
|
+
},
|
|
131
|
+
error: {
|
|
132
|
+
icon: CircleX,
|
|
133
|
+
color: "destructive",
|
|
134
|
+
labelKey: "error"
|
|
135
|
+
},
|
|
136
|
+
denied: {
|
|
137
|
+
icon: Ban,
|
|
138
|
+
color: "warning",
|
|
139
|
+
labelKey: "denied"
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
const bodyId = UniqueComponentId("vc_tool_call_body_");
|
|
143
|
+
const isOpen = useVModel(props, "open", emit, { passive: true });
|
|
144
|
+
const bodyMounted = ref(Boolean(isOpen.value));
|
|
145
|
+
watch(() => Boolean(isOpen.value), (open) => {
|
|
146
|
+
if (open) {
|
|
147
|
+
bodyMounted.value = true;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
const isRunning = computed(() => props.status === "running");
|
|
151
|
+
const toolIcon = computed(() => props.icon ?? Wrench);
|
|
152
|
+
const displayTitle = computed(() => props.title || humanizeIdentifier(props.name));
|
|
153
|
+
const titleSlotProps = computed(() => ({
|
|
154
|
+
name: props.name,
|
|
155
|
+
title: displayTitle.value
|
|
156
|
+
}));
|
|
157
|
+
const statusVisual = computed(() => STATUS_VISUALS[props.status] ?? STATUS_VISUALS.pending);
|
|
158
|
+
const statusLabel = computed(() => {
|
|
159
|
+
var _a;
|
|
160
|
+
return ((_a = props.statusLabels) == null ? void 0 : _a[props.status]) || tVU.t(`voicenterUi.toolCall.status.${statusVisual.value.labelKey}`);
|
|
161
|
+
});
|
|
162
|
+
const accessibleName = computed(() => `${displayTitle.value}, ${statusLabel.value}`);
|
|
163
|
+
const inputLabel = computed(() => tVU.t("voicenterUi.toolCall.input"));
|
|
164
|
+
const outputLabel = computed(() => tVU.t("voicenterUi.toolCall.output"));
|
|
165
|
+
const errorLabel = computed(() => tVU.t("voicenterUi.toolCall.error"));
|
|
166
|
+
const inputPreview = computed(() => props.showInputPreview ?? props.compact ? previewValue(props.input) : "");
|
|
167
|
+
const hasInput = computed(() => props.input !== void 0);
|
|
168
|
+
const hasOutput = computed(() => props.output !== void 0);
|
|
169
|
+
const showErrorText = computed(() => props.status === "error" && Boolean(props.errorText));
|
|
170
|
+
const hasDetails = computed(() => hasInput.value || hasOutput.value || showErrorText.value);
|
|
171
|
+
const WAITING_STATUSES = ["pending", "awaiting-approval"];
|
|
172
|
+
const TIMED_STATUSES = ["running", "success", "error"];
|
|
173
|
+
const startedAtMs = computed(() => toTimestamp(props.startedAt));
|
|
174
|
+
const waitedMs = ref(0);
|
|
175
|
+
let waitingSince;
|
|
176
|
+
watch(startedAtMs, () => {
|
|
177
|
+
waitedMs.value = 0;
|
|
178
|
+
});
|
|
179
|
+
watch(() => WAITING_STATUSES.includes(props.status), (waiting) => {
|
|
180
|
+
if (waiting) {
|
|
181
|
+
waitingSince = Date.now();
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
const start = startedAtMs.value;
|
|
185
|
+
if (waitingSince !== void 0 && start !== void 0) {
|
|
186
|
+
waitedMs.value += Math.max(0, Date.now() - Math.max(waitingSince, start));
|
|
187
|
+
}
|
|
188
|
+
waitingSince = void 0;
|
|
189
|
+
}, { immediate: true });
|
|
190
|
+
const elapsedMs = useElapsed({
|
|
191
|
+
running: isRunning,
|
|
192
|
+
startedAt: () => startedAtMs.value === void 0 ? void 0 : startedAtMs.value + waitedMs.value,
|
|
193
|
+
durationMs: () => props.durationMs
|
|
194
|
+
});
|
|
195
|
+
const elapsedText = computed(() => {
|
|
196
|
+
if (!TIMED_STATUSES.includes(props.status) || elapsedMs.value === void 0) {
|
|
197
|
+
return "";
|
|
198
|
+
}
|
|
199
|
+
return formatDuration(elapsedMs.value);
|
|
200
|
+
});
|
|
201
|
+
function toggle() {
|
|
202
|
+
isOpen.value = !isOpen.value;
|
|
203
|
+
}
|
|
204
|
+
function onHeaderClick() {
|
|
205
|
+
if (hasDetails.value) {
|
|
206
|
+
toggle();
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
__expose({ toggle });
|
|
210
|
+
return (_ctx, _cache) => {
|
|
211
|
+
return openBlock(), createElementBlock("div", {
|
|
212
|
+
class: normalizeClass([[`is--${__props.status}`, { "vc-tool-call--compact": __props.compact, "is--open": unref(isOpen), "is--expandable": hasDetails.value }], "vc-tool-call"]),
|
|
213
|
+
"data-tool-name": __props.name,
|
|
214
|
+
"data-tool-status": __props.status,
|
|
215
|
+
"aria-busy": isRunning.value || void 0,
|
|
216
|
+
"data-test": "tool-call"
|
|
217
|
+
}, [
|
|
218
|
+
createElementVNode("div", _hoisted_2, [
|
|
219
|
+
(openBlock(), createBlock(resolveDynamicComponent(hasDetails.value ? "button" : "div"), {
|
|
220
|
+
type: hasDetails.value ? "button" : void 0,
|
|
221
|
+
"aria-expanded": hasDetails.value ? Boolean(unref(isOpen)) : void 0,
|
|
222
|
+
"aria-controls": hasDetails.value && bodyMounted.value ? unref(bodyId) : void 0,
|
|
223
|
+
"aria-label": hasDetails.value ? accessibleName.value : void 0,
|
|
224
|
+
class: "vc-tool-call__toggle",
|
|
225
|
+
"data-test": "tool-call-toggle",
|
|
226
|
+
onClick: onHeaderClick
|
|
227
|
+
}, {
|
|
228
|
+
default: withCtx(() => [
|
|
229
|
+
createElementVNode("span", _hoisted_3, [
|
|
230
|
+
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
231
|
+
createVNode(_sfc_main$1, { icon: toolIcon.value }, null, 8, ["icon"])
|
|
232
|
+
])
|
|
233
|
+
]),
|
|
234
|
+
createElementVNode("span", _hoisted_4, [
|
|
235
|
+
renderSlot(_ctx.$slots, "title", normalizeProps(guardReactiveProps(titleSlotProps.value)), () => [
|
|
236
|
+
createElementVNode("span", _hoisted_5, toDisplayString(displayTitle.value), 1),
|
|
237
|
+
!__props.compact ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(__props.name), 1)) : createCommentVNode("", true)
|
|
238
|
+
])
|
|
239
|
+
]),
|
|
240
|
+
inputPreview.value ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(inputPreview.value), 1)) : createCommentVNode("", true)
|
|
241
|
+
]),
|
|
242
|
+
_: 3
|
|
243
|
+
}, 8, ["type", "aria-expanded", "aria-controls", "aria-label"])),
|
|
244
|
+
createElementVNode("span", _hoisted_8, [
|
|
245
|
+
_ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("span", _hoisted_9, [
|
|
246
|
+
renderSlot(_ctx.$slots, "header-extra", { status: __props.status })
|
|
247
|
+
])) : createCommentVNode("", true),
|
|
248
|
+
createVNode(_sfc_main$2, {
|
|
249
|
+
color: statusVisual.value.color,
|
|
250
|
+
icon: statusVisual.value.icon,
|
|
251
|
+
label: statusLabel.value,
|
|
252
|
+
class: "vc-tool-call__status",
|
|
253
|
+
"data-test": "tool-call-status",
|
|
254
|
+
compact: ""
|
|
255
|
+
}, null, 8, ["color", "icon", "label"]),
|
|
256
|
+
elapsedText.value ? (openBlock(), createElementBlock("span", {
|
|
257
|
+
key: 1,
|
|
258
|
+
"aria-hidden": isRunning.value || void 0,
|
|
259
|
+
class: "vc-tool-call__elapsed",
|
|
260
|
+
"data-test": "tool-call-elapsed"
|
|
261
|
+
}, toDisplayString(elapsedText.value), 9, _hoisted_10)) : createCommentVNode("", true)
|
|
262
|
+
]),
|
|
263
|
+
hasDetails.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
264
|
+
key: 0,
|
|
265
|
+
icon: unref(ChevronRight),
|
|
266
|
+
class: "vc-tool-call__chevron",
|
|
267
|
+
"aria-hidden": "true"
|
|
268
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
269
|
+
]),
|
|
270
|
+
showErrorText.value && !unref(isOpen) ? (openBlock(), createElementBlock("div", _hoisted_11, toDisplayString(__props.errorText), 1)) : createCommentVNode("", true),
|
|
271
|
+
_ctx.$slots.notice ? (openBlock(), createElementBlock("div", _hoisted_12, [
|
|
272
|
+
renderSlot(_ctx.$slots, "notice")
|
|
273
|
+
])) : createCommentVNode("", true),
|
|
274
|
+
createVNode(_sfc_main$3, null, {
|
|
275
|
+
default: withCtx(() => [
|
|
276
|
+
bodyMounted.value ? withDirectives((openBlock(), createElementBlock("div", {
|
|
277
|
+
key: 0,
|
|
278
|
+
id: unref(bodyId),
|
|
279
|
+
class: "vc-tool-call__body",
|
|
280
|
+
"data-test": "tool-call-body"
|
|
281
|
+
}, [
|
|
282
|
+
createElementVNode("div", _hoisted_14, [
|
|
283
|
+
hasInput.value ? (openBlock(), createElementBlock("section", _hoisted_15, [
|
|
284
|
+
createElementVNode("div", _hoisted_16, toDisplayString(inputLabel.value), 1),
|
|
285
|
+
renderSlot(_ctx.$slots, "input", { value: __props.input }, () => [
|
|
286
|
+
createVNode(_sfc_main$4, {
|
|
287
|
+
value: __props.input,
|
|
288
|
+
label: inputLabel.value,
|
|
289
|
+
"data-view": __props.dataView,
|
|
290
|
+
"max-height": __props.maxBodyHeight
|
|
291
|
+
}, null, 8, ["value", "label", "data-view", "max-height"])
|
|
292
|
+
])
|
|
293
|
+
])) : createCommentVNode("", true),
|
|
294
|
+
hasOutput.value ? (openBlock(), createElementBlock("section", _hoisted_17, [
|
|
295
|
+
createElementVNode("div", _hoisted_18, toDisplayString(outputLabel.value), 1),
|
|
296
|
+
renderSlot(_ctx.$slots, "output", {
|
|
297
|
+
value: __props.output,
|
|
298
|
+
status: __props.status
|
|
299
|
+
}, () => [
|
|
300
|
+
createVNode(_sfc_main$4, {
|
|
301
|
+
value: __props.output,
|
|
302
|
+
label: outputLabel.value,
|
|
303
|
+
"data-view": __props.dataView,
|
|
304
|
+
"max-height": __props.maxBodyHeight
|
|
305
|
+
}, null, 8, ["value", "label", "data-view", "max-height"])
|
|
306
|
+
])
|
|
307
|
+
])) : createCommentVNode("", true),
|
|
308
|
+
showErrorText.value ? (openBlock(), createElementBlock("section", _hoisted_19, [
|
|
309
|
+
createElementVNode("div", _hoisted_20, toDisplayString(errorLabel.value), 1),
|
|
310
|
+
createElementVNode("div", _hoisted_21, toDisplayString(__props.errorText), 1)
|
|
311
|
+
])) : createCommentVNode("", true)
|
|
312
|
+
])
|
|
313
|
+
], 8, _hoisted_13)), [
|
|
314
|
+
[vShow, unref(isOpen)]
|
|
315
|
+
]) : createCommentVNode("", true)
|
|
316
|
+
]),
|
|
317
|
+
_: 3
|
|
318
|
+
}),
|
|
319
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_22, [
|
|
320
|
+
renderSlot(_ctx.$slots, "footer", { status: __props.status })
|
|
321
|
+
])) : createCommentVNode("", true)
|
|
322
|
+
], 10, _hoisted_1);
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
export {
|
|
327
|
+
_sfc_main as default
|
|
328
|
+
};
|
|
@@ -10,7 +10,9 @@ import _sfc_main$1 from "../VcInput/VcInput.vue.mjs";
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
import _sfc_main$2 from "../VcIcon/VcIcon.vue.mjs";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import {
|
|
13
|
+
import { toElIcon } from "../../utils/elementPlusIcons.mjs";
|
|
14
|
+
import { ChevronRight } from "@lucide/vue";
|
|
15
|
+
import { textColorClass } from "../../enum/constants.mjs";
|
|
14
16
|
import { convertToUnit, resolveFieldData } from "../../utils/helpers.mjs";
|
|
15
17
|
import { useRTL } from "../../composables/useRTL.mjs";
|
|
16
18
|
import { set } from "lodash-es";
|
|
@@ -56,11 +58,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
58
|
const treeRef = ref();
|
|
57
59
|
const treeContainerRef = ref();
|
|
58
60
|
let mutationObserver = null;
|
|
61
|
+
const expandIcon = toElIcon(ChevronRight);
|
|
59
62
|
const { isRTL } = useRTL();
|
|
60
63
|
const filterByKey = computed(() => props.config.filterBy);
|
|
61
64
|
const childrenKey = computed(() => props.config.childrenKey);
|
|
62
65
|
const colorClass = computed(() => {
|
|
63
|
-
return props.color ?
|
|
66
|
+
return props.color ? textColorClass(props.color) : "";
|
|
64
67
|
});
|
|
65
68
|
const filterable = computed(() => !!filterByKey.value);
|
|
66
69
|
const elTreeProps = computed(() => {
|
|
@@ -328,6 +331,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
328
331
|
"check-strictly": __props.checkStrictly,
|
|
329
332
|
accordion: __props.accordion,
|
|
330
333
|
indent: __props.indent,
|
|
334
|
+
icon: unref(expandIcon),
|
|
331
335
|
"auto-expand-parent": "",
|
|
332
336
|
onCheck: handleCheck
|
|
333
337
|
}, {
|
|
@@ -351,14 +355,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
351
355
|
], 2))
|
|
352
356
|
]),
|
|
353
357
|
_: 3
|
|
354
|
-
}, 8, ["data", "empty-text", "show-checkbox", "default-expand-all", "default-expanded-keys", "default-checked-keys", "props", "node-key", "check-strictly", "accordion", "indent"])
|
|
358
|
+
}, 8, ["data", "empty-text", "show-checkbox", "default-expand-all", "default-expanded-keys", "default-checked-keys", "props", "node-key", "check-strictly", "accordion", "indent", "icon"])
|
|
355
359
|
], 4),
|
|
356
360
|
createVNode(VcLoading, {
|
|
357
361
|
active: __props.loading,
|
|
358
362
|
loader: "lds-spinner",
|
|
359
363
|
color: "primary",
|
|
360
364
|
size: "30",
|
|
361
|
-
class: "z-1 rounded"
|
|
365
|
+
class: "z-1 rounded-inner"
|
|
362
366
|
}, null, 8, ["active"])
|
|
363
367
|
], 512);
|
|
364
368
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../assets/components/VcTree/VcTreeSelect.css';
|
|
2
2
|
import { defineComponent, ref, computed, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeStyle, normalizeClass, createVNode, withCtx, withDirectives, createElementVNode, createBlock, createSlots, renderSlot, toDisplayString, unref, withModifiers, createCommentVNode, Fragment, renderList } from "vue";
|
|
3
|
+
import { FolderTree } from "@lucide/vue";
|
|
3
4
|
import { asArray, asTreeKey } from "./treeTypeUtils.mjs";
|
|
4
5
|
import _sfc_main$1 from "../VcPopover/VcPopover.vue.mjs";
|
|
5
6
|
import '../../assets/components/VcTree/VcTree.css';import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcTag/VcTag.css';import '../../assets/components/VcDelimitedList/VcDelimitedList.css';import '../../assets/components/VcPopover/VcPopover.css';/* empty css */
|
|
@@ -38,13 +39,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
39
|
class: { default: "" },
|
|
39
40
|
style: { default: null },
|
|
40
41
|
nodeKey: { default: "key" },
|
|
41
|
-
tagColor: { default: "
|
|
42
|
+
tagColor: { default: "" },
|
|
42
43
|
config: {},
|
|
43
44
|
options: { default: () => [] },
|
|
44
45
|
emptyText: { default: "" },
|
|
45
46
|
tagsLimit: { default: 3 },
|
|
46
47
|
scrollHeight: { default: 252 },
|
|
47
|
-
tagBorderless: { type: Boolean, default:
|
|
48
|
+
tagBorderless: { type: Boolean, default: true },
|
|
48
49
|
isError: { type: Boolean, default: false },
|
|
49
50
|
color: { default: "primary" },
|
|
50
51
|
useTypes: { default: () => [] },
|
|
@@ -229,7 +230,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
229
230
|
ref_key: "inputFieldRef",
|
|
230
231
|
ref: inputFieldRef,
|
|
231
232
|
class: normalizeClass([[
|
|
232
|
-
|
|
233
|
+
unref(inputClasses),
|
|
233
234
|
{
|
|
234
235
|
"is-prefix-icon": __props.prefixIcon,
|
|
235
236
|
"is-error": __props.isError,
|
|
@@ -263,7 +264,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
263
264
|
borderless: __props.tagBorderless,
|
|
264
265
|
disabled: __props.disabled,
|
|
265
266
|
square: __props.tagsSquare,
|
|
266
|
-
|
|
267
|
+
class: "vc-tag--field-chip",
|
|
267
268
|
closable: "",
|
|
268
269
|
onOnClose: ($event) => onRemoveTag(item)
|
|
269
270
|
}, null, 8, ["label", "color", "borderless", "disabled", "square", "onOnClose"])
|
|
@@ -274,7 +275,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
274
275
|
borderless: __props.tagBorderless,
|
|
275
276
|
square: __props.tagsSquare,
|
|
276
277
|
color: __props.tagColor,
|
|
277
|
-
|
|
278
|
+
class: "vc-tag--field-chip",
|
|
278
279
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
279
280
|
}, ["stop", "prevent"]))
|
|
280
281
|
}, null, 8, ["label", "borderless", "square", "color"])
|
|
@@ -294,7 +295,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
294
295
|
disabled: __props.disabled,
|
|
295
296
|
square: __props.tagsSquare,
|
|
296
297
|
color: __props.tagColor,
|
|
297
|
-
|
|
298
|
+
class: "vc-tag--field-chip",
|
|
298
299
|
closable: "",
|
|
299
300
|
onOnClose: ($event) => onRemoveTag(item)
|
|
300
301
|
}, null, 8, ["label", "icon", "borderless", "disabled", "square", "color", "onOnClose"])
|
|
@@ -307,7 +308,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
307
308
|
])
|
|
308
309
|
]),
|
|
309
310
|
createElementVNode("div", _hoisted_5, [
|
|
310
|
-
createVNode(_sfc_main$3, {
|
|
311
|
+
createVNode(_sfc_main$3, {
|
|
312
|
+
icon: unref(FolderTree),
|
|
313
|
+
class: "text-content-primary icon-lg"
|
|
314
|
+
}, null, 8, ["icon"])
|
|
311
315
|
])
|
|
312
316
|
], 2)
|
|
313
317
|
]),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import '../../assets/components/VcWizard/VcSummaryProgress.css';
|
|
2
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, Fragment, renderList, createVNode, unref, vShow } from "vue";
|
|
3
|
+
import { Settings, ChevronDown } from "@lucide/vue";
|
|
3
4
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
4
5
|
import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
5
6
|
const _hoisted_1 = { class: "summary-step-dividers" };
|
|
6
7
|
const _hoisted_2 = { class: "summary-step-progress-circle" };
|
|
7
8
|
const _hoisted_3 = { class: "summary-step-progress-circle-icon" };
|
|
8
|
-
const DEFAULT_ICON = "vc-icon-settings";
|
|
9
9
|
const countDownIcons = 3;
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "VcSummaryProgress",
|
|
12
12
|
props: {
|
|
13
|
-
icon: { default:
|
|
13
|
+
icon: { default: () => Settings },
|
|
14
14
|
lineFilled: { type: Boolean, default: false },
|
|
15
15
|
visible: { type: Boolean, default: false },
|
|
16
16
|
isActive: { type: Boolean, default: false },
|
|
@@ -20,10 +20,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
setup(__props) {
|
|
21
21
|
const props = __props;
|
|
22
22
|
const lineFilledClass = computed(() => {
|
|
23
|
-
return props.lineFilled ? "bg-
|
|
23
|
+
return props.lineFilled ? "bg-action-success" : "bg-border";
|
|
24
24
|
});
|
|
25
25
|
const dotFilledClass = computed(() => {
|
|
26
|
-
return props.activeDot ? "border-
|
|
26
|
+
return props.activeDot ? "border-action-success" : "border-border";
|
|
27
27
|
});
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
29
|
return openBlock(), createElementBlock("div", {
|
|
@@ -38,7 +38,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
key: `down-${item}`,
|
|
39
39
|
class: "divide-icon"
|
|
40
40
|
}, [
|
|
41
|
-
createVNode(_sfc_main$1, {
|
|
41
|
+
createVNode(_sfc_main$1, {
|
|
42
|
+
icon: unref(ChevronDown),
|
|
43
|
+
class: "icon-base text-page"
|
|
44
|
+
}, null, 8, ["icon"])
|
|
42
45
|
]);
|
|
43
46
|
}), 64))
|
|
44
47
|
]),
|
|
@@ -53,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
56
|
createElementVNode("div", _hoisted_3, [
|
|
54
57
|
createVNode(_sfc_main$1, {
|
|
55
58
|
icon: __props.icon,
|
|
56
|
-
class: normalizeClass([[__props.activeDot ? "text-
|
|
59
|
+
class: normalizeClass([[__props.activeDot ? "text-action-primary" : "text-content-disabled"], "step-icon min-w-8"])
|
|
57
60
|
}, null, 8, ["icon", "class"])
|
|
58
61
|
])
|
|
59
62
|
])
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../assets/components/VcWizard/VcSummaryStep.css';
|
|
2
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createVNode, createElementVNode, createBlock, createCommentVNode, toDisplayString, withDirectives, vShow, Transition, withCtx, Fragment, renderList } from "vue";
|
|
2
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createVNode, createElementVNode, createBlock, createCommentVNode, toDisplayString, withDirectives, unref, vShow, Transition, withCtx, Fragment, renderList } from "vue";
|
|
3
|
+
import { Pencil } from "@lucide/vue";
|
|
3
4
|
import _sfc_main$1 from "./VcSummaryProgress.vue.mjs";
|
|
4
5
|
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcWizard/VcSummaryProgress.css';/* empty css */
|
|
5
6
|
import _sfc_main$2 from "../VcIcon/VcIcon.vue.mjs";
|
|
@@ -70,16 +71,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
71
|
__props.hideDetails ? (openBlock(), createBlock(_sfc_main$2, {
|
|
71
72
|
key: 0,
|
|
72
73
|
icon: __props.step.icon,
|
|
73
|
-
class: normalizeClass([[isActive.value ? "text-
|
|
74
|
+
class: normalizeClass([[isActive.value ? "text-action-primary" : "text-content-disabled"], "icon-lg hidden lg:block"])
|
|
74
75
|
}, null, 8, ["icon", "class"])) : createCommentVNode("", true),
|
|
75
76
|
createElementVNode("span", {
|
|
76
77
|
class: normalizeClass([{ "truncate": __props.hideDetails }, "summary-step-content-header leading-none"])
|
|
77
78
|
}, [
|
|
78
79
|
createElementVNode("span", {
|
|
79
|
-
class: normalizeClass([{ "text-primary": isActive.value }, "mb-0 text-sm xl:text-base font-
|
|
80
|
+
class: normalizeClass([{ "text-action-primary": isActive.value }, "mb-0 text-sm xl:text-base font-medium uppercase"])
|
|
80
81
|
}, toDisplayString(`${(__props.stepIndex ?? 0) + 1}. ${__props.step.label}`), 3)
|
|
81
82
|
], 2),
|
|
82
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
83
|
+
withDirectives(createVNode(_sfc_main$2, {
|
|
84
|
+
icon: unref(Pencil),
|
|
85
|
+
class: "icon-base text-action-primary relative -mr-4 edit-icon"
|
|
86
|
+
}, null, 8, ["icon"]), [
|
|
83
87
|
[vShow, canEdit.value]
|
|
84
88
|
])
|
|
85
89
|
]),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../assets/components/VcWizard/VcWizardNavigation.css';
|
|
2
|
-
import { defineComponent, computed, openBlock, createElementBlock, renderSlot, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, createBlock } from "vue";
|
|
2
|
+
import { defineComponent, computed, openBlock, createElementBlock, renderSlot, createElementVNode, createVNode, unref, withCtx, createTextVNode, toDisplayString, createCommentVNode, createBlock } from "vue";
|
|
3
|
+
import { Undo2, ArrowLeft, ArrowRight, Save } from "@lucide/vue";
|
|
3
4
|
import { tVU } from "../../localization/index.mjs";
|
|
4
5
|
import _sfc_main$1 from "../VcButton/VcButton.vue.mjs";
|
|
5
6
|
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButton.css';/* empty css */
|
|
@@ -78,14 +79,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
79
|
size: __props.isMobile ? "middle" : "large",
|
|
79
80
|
color: "secondary",
|
|
80
81
|
type: "outline",
|
|
81
|
-
icon:
|
|
82
|
+
icon: unref(Undo2),
|
|
82
83
|
onClick: onCancel
|
|
83
84
|
}, {
|
|
84
85
|
default: withCtx(() => [
|
|
85
86
|
createTextVNode(toDisplayString(cancelButtonText.value), 1)
|
|
86
87
|
]),
|
|
87
88
|
_: 1
|
|
88
|
-
}, 8, ["block", "size"])
|
|
89
|
+
}, 8, ["block", "size", "icon"])
|
|
89
90
|
]),
|
|
90
91
|
_ctx.$slots["extra-actions"] ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
91
92
|
renderSlot(_ctx.$slots, "extra-actions")
|
|
@@ -99,14 +100,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
99
100
|
size: __props.isMobile ? "middle" : "large",
|
|
100
101
|
"data-test-name": "back-action",
|
|
101
102
|
type: "borderless",
|
|
102
|
-
icon:
|
|
103
|
+
icon: unref(ArrowLeft),
|
|
103
104
|
onClick: onPrev
|
|
104
105
|
}, {
|
|
105
106
|
default: withCtx(() => [
|
|
106
107
|
createTextVNode(toDisplayString(backButtonText.value), 1)
|
|
107
108
|
]),
|
|
108
109
|
_: 1
|
|
109
|
-
}, 8, ["block", "size"])) : createCommentVNode("", true)
|
|
110
|
+
}, 8, ["block", "size", "icon"])) : createCommentVNode("", true)
|
|
110
111
|
]),
|
|
111
112
|
__props.showNextBtn ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
112
113
|
createVNode(_sfc_main$1, {
|
|
@@ -119,7 +120,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
119
120
|
}, {
|
|
120
121
|
default: withCtx(() => [
|
|
121
122
|
createElementVNode("span", null, toDisplayString(nextButtonText.value), 1),
|
|
122
|
-
createVNode(_sfc_main$2, {
|
|
123
|
+
createVNode(_sfc_main$2, {
|
|
124
|
+
icon: unref(ArrowRight),
|
|
125
|
+
class: "icon-base next-icon"
|
|
126
|
+
}, null, 8, ["icon"])
|
|
123
127
|
]),
|
|
124
128
|
_: 1
|
|
125
129
|
}, 8, ["block", "size", "loading", "disabled"])
|
|
@@ -130,14 +134,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
130
134
|
block: __props.isMobile,
|
|
131
135
|
loading: __props.loading,
|
|
132
136
|
"data-test-name": "final-action",
|
|
133
|
-
icon:
|
|
137
|
+
icon: unref(Save),
|
|
134
138
|
onClick: onFinal
|
|
135
139
|
}, {
|
|
136
140
|
default: withCtx(() => [
|
|
137
141
|
createTextVNode(toDisplayString(finalButtonText.value), 1)
|
|
138
142
|
]),
|
|
139
143
|
_: 1
|
|
140
|
-
}, 8, ["size", "block", "loading"])
|
|
144
|
+
}, 8, ["size", "block", "loading", "icon"])
|
|
141
145
|
])) : createCommentVNode("", true)
|
|
142
146
|
]),
|
|
143
147
|
__props.showFinalAddSlot ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
|
-
import { CLASS_FOR_COLOR,
|
|
2
|
+
import { CLASS_FOR_COLOR, DEFAULT_ICON_SIZE, CLASS_FOR_ICON_SIZE, CLASS_FOR_ICON_COLOR } from "../../enum/inputDefaults.mjs";
|
|
3
3
|
const prefixIconColorIsHex = (colorValue) => {
|
|
4
4
|
if (!colorValue) {
|
|
5
5
|
return false;
|
|
@@ -31,8 +31,8 @@ function useInputColor(propsData, options) {
|
|
|
31
31
|
return propsData.prefixIcon || defaultPrefixIcon;
|
|
32
32
|
});
|
|
33
33
|
const prefixClasses = computed(() => {
|
|
34
|
-
const
|
|
35
|
-
const result = [
|
|
34
|
+
const size = propsData.prefixIconSize || DEFAULT_ICON_SIZE;
|
|
35
|
+
const result = size ? [iconSizeClass + size] : [];
|
|
36
36
|
if (!prefixIconColorIsHex(propsData.prefixIconColor)) {
|
|
37
37
|
const colorClass2 = propsData.prefixIconColor ? iconColorClass + propsData.prefixIconColor : "";
|
|
38
38
|
if (colorClass2) {
|