@voicenter-team/voicenter-ui-plus 3.4.8 → 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 +1004 -558
- 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/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 -1
- 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 +154 -51
- 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 +40 -11
- package/library/components/VcDatePickerPanel/VcDatePickerPanel.vue.mjs +49 -32
- 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 +7 -6
- package/library/components/VcExcelUploader/VcFileImportErrorsCard.vue.mjs +8 -4
- package/library/components/VcExcelUploader/VcFileImportParseResultBlock.vue.mjs +2 -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/VcHtmlEditor/VcHtmlEditor.vue.mjs +4 -1
- package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +19 -31
- 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 +4 -2
- 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 +37 -12
- package/library/components/VcMdEditor/VcMdEditorContent.vue.mjs +10 -0
- package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +6 -6
- 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 +75 -42
- package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +99 -14
- 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/markdownPreview.mjs +32 -0
- package/library/components/VcMessage/content/messageContentComponents.mjs +3 -1
- package/library/components/VcMessagesWrapper/VcMessagesWrapper.vue.mjs +120 -52
- package/library/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.mjs +49 -29
- 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/VcSelect/VcInfiniteScrollSelect.vue.mjs +13 -7
- package/library/components/VcSelect/VcSelect.vue.mjs +18 -19
- 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/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/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +172 -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 +174 -122
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs.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 +43 -15
- 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 +6 -5
- 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 +24 -3
- 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/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 -84
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +89 -42
- 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/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 +365 -194
- 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 +86 -0
- 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 +42 -4
- package/library/types/types/VcMessagesWrapper.types.d.ts +100 -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/jsonSchema/index.mjs.gz +0 -0
- package/library/utils/numberRuns.mjs +63 -0
- package/library/utils/themeColor.mjs +9 -0
- package/package.json +216 -215
- 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 +176 -192
- package/library/types/types/VcTagInput.types.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
2
|
import { tVU } from "../../../localization/index.mjs";
|
|
3
|
-
const _hoisted_1 = { class: "vc-text-loader text-
|
|
3
|
+
const _hoisted_1 = { class: "vc-text-loader text-content-disabled w-max" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "Text",
|
|
6
6
|
props: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, unref, withModifiers, createVNode, normalizeClass, createCommentVNode } from "vue";
|
|
2
|
+
import { CircleStop, CirclePause, CirclePlay } from "@lucide/vue";
|
|
2
3
|
import { useSoundPlayerInject } from "./useSoundPlayerProvideInject.mjs";
|
|
3
4
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
4
5
|
import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
@@ -8,9 +9,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8
9
|
props: {
|
|
9
10
|
disabled: { type: Boolean },
|
|
10
11
|
iconClass: { default: "icon-2xl" },
|
|
11
|
-
playIcon: { default:
|
|
12
|
-
pauseIcon: { default:
|
|
13
|
-
stopIcon: { default:
|
|
12
|
+
playIcon: { default: () => CirclePlay },
|
|
13
|
+
pauseIcon: { default: () => CirclePause },
|
|
14
|
+
stopIcon: { default: () => CircleStop }
|
|
14
15
|
},
|
|
15
16
|
emits: ["click:play", "click:pause", "click:stop"],
|
|
16
17
|
setup(__props, { emit: __emit }) {
|
|
@@ -43,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
44
|
}, [
|
|
44
45
|
createVNode(_sfc_main$1, {
|
|
45
46
|
icon: __props.playIcon,
|
|
46
|
-
class: normalizeClass([__props.iconClass, __props.disabled ? "text-
|
|
47
|
+
class: normalizeClass([__props.iconClass, __props.disabled ? "text-content-disabled" : "text-action-primary"])
|
|
47
48
|
}, null, 8, ["icon", "class"])
|
|
48
49
|
])) : (openBlock(), createElementBlock("div", {
|
|
49
50
|
key: 1,
|
|
@@ -52,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
53
|
}, [
|
|
53
54
|
createVNode(_sfc_main$1, {
|
|
54
55
|
icon: __props.pauseIcon,
|
|
55
|
-
class: normalizeClass(["text-primary
|
|
56
|
+
class: normalizeClass(["text-action-primary", [__props.iconClass]])
|
|
56
57
|
}, null, 8, ["icon", "class"])
|
|
57
58
|
])),
|
|
58
59
|
unref(showReset) ? (openBlock(), createElementBlock("div", {
|
|
@@ -62,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
63
|
}, [
|
|
63
64
|
createVNode(_sfc_main$1, {
|
|
64
65
|
icon: __props.stopIcon,
|
|
65
|
-
class: normalizeClass(["text-primary
|
|
66
|
+
class: normalizeClass(["text-action-primary", [__props.iconClass]])
|
|
66
67
|
}, null, 8, ["icon", "class"])
|
|
67
68
|
])) : createCommentVNode("", true)
|
|
68
69
|
]);
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
}, {
|
|
39
39
|
reference: withCtx(() => [
|
|
40
40
|
createElementVNode("div", {
|
|
41
|
-
class: normalizeClass([isDisabled.value ? "cursor-not-allowed text-
|
|
41
|
+
class: normalizeClass([isDisabled.value ? "cursor-not-allowed text-content-disabled" : "cursor-pointer text-action-primary", "inline-flex items-center leading-none justify-center gap-1 font-medium"]),
|
|
42
42
|
onClick: _cache[0] || (_cache[0] = ($event) => popover.value = !popover.value)
|
|
43
43
|
}, [
|
|
44
44
|
createElementVNode("span", null, toDisplayString(`${unref(speed)}X`), 1),
|
|
@@ -55,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
55
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.rates, (rate) => {
|
|
56
56
|
return openBlock(), createElementBlock("div", {
|
|
57
57
|
key: rate,
|
|
58
|
-
class: "cursor-pointer hover:bg-
|
|
58
|
+
class: "cursor-pointer hover:bg-action-primary-subtle-hover px-2 py-0.5 rounded-inner transition-all",
|
|
59
59
|
onClick: ($event) => setSoundRate(rate)
|
|
60
60
|
}, toDisplayString(`${rate}x`), 9, _hoisted_3);
|
|
61
61
|
}), 128))
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../assets/components/VcSoundplayer/VcPlayerSkipButtons.css';
|
|
2
2
|
import { defineComponent, unref, openBlock, createElementBlock, createElementVNode, withModifiers, renderSlot, createVNode, normalizeClass, createCommentVNode } from "vue";
|
|
3
|
+
import { ChevronsRight, ChevronsLeft } from "@lucide/vue";
|
|
3
4
|
import { useSoundPlayerInject } from "./useSoundPlayerProvideInject.mjs";
|
|
4
5
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
5
6
|
import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
@@ -12,8 +13,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
13
|
props: {
|
|
13
14
|
skipStep: { default: void 0 },
|
|
14
15
|
iconClass: { default: "" },
|
|
15
|
-
iconBack: { default:
|
|
16
|
-
iconForward: { default:
|
|
16
|
+
iconBack: { default: () => ChevronsLeft },
|
|
17
|
+
iconForward: { default: () => ChevronsRight }
|
|
17
18
|
},
|
|
18
19
|
setup(__props) {
|
|
19
20
|
const { isPlayingInProgress, skipForward, skipBackward } = useSoundPlayerInject();
|
|
@@ -37,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
38
|
renderSlot(_ctx.$slots, "prev", {}, () => [
|
|
38
39
|
createVNode(_sfc_main$1, {
|
|
39
40
|
icon: __props.iconBack,
|
|
40
|
-
class: normalizeClass(["text-primary
|
|
41
|
+
class: normalizeClass(["text-action-primary", [__props.iconClass]])
|
|
41
42
|
}, null, 8, ["icon", "class"])
|
|
42
43
|
])
|
|
43
44
|
]),
|
|
@@ -48,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
49
|
renderSlot(_ctx.$slots, "next", {}, () => [
|
|
49
50
|
createVNode(_sfc_main$1, {
|
|
50
51
|
icon: __props.iconForward,
|
|
51
|
-
class: normalizeClass(["text-primary
|
|
52
|
+
class: normalizeClass(["text-action-primary", [__props.iconClass]])
|
|
52
53
|
}, null, 8, ["icon", "class"])
|
|
53
54
|
])
|
|
54
55
|
])
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../assets/components/VcSoundplayer/VcSoundPlayer.css';
|
|
2
|
-
import { defineComponent, useSlots, computed, ref, watch, openBlock, createElementBlock, createBlock, withCtx, createVNode, createCommentVNode, withDirectives, normalizeClass, createSlots, renderSlot, normalizeProps, guardReactiveProps, vShow, createElementVNode, Fragment, renderList, withModifiers } from "vue";
|
|
2
|
+
import { defineComponent, useSlots, computed, ref, watch, openBlock, createElementBlock, createBlock, withCtx, createVNode, createCommentVNode, withDirectives, normalizeClass, createSlots, renderSlot, normalizeProps, guardReactiveProps, vShow, createElementVNode, Fragment, renderList, withModifiers, toDisplayString, unref } from "vue";
|
|
3
|
+
import { EllipsisVertical, FileMusic, FileAudio } from "@lucide/vue";
|
|
3
4
|
import _sfc_main$2 from "./VcSoundPlayerError.vue.mjs";
|
|
4
5
|
import _sfc_main$3 from "./VcPlayerPlayStopButton.vue.mjs";
|
|
5
6
|
import _sfc_main$4 from "./VcPlayerSkipButtons.vue.mjs";
|
|
@@ -28,9 +29,13 @@ const _hoisted_3 = {
|
|
|
28
29
|
class: "flex items-center px-1"
|
|
29
30
|
};
|
|
30
31
|
const _hoisted_4 = { key: 5 };
|
|
31
|
-
const _hoisted_5 = { class: "cursor-pointer text-
|
|
32
|
+
const _hoisted_5 = { class: "cursor-pointer text-content-disabled hover:text-action-primary duration-200" };
|
|
32
33
|
const _hoisted_6 = { class: "p-2" };
|
|
33
34
|
const _hoisted_7 = ["onClick"];
|
|
35
|
+
const _hoisted_8 = {
|
|
36
|
+
key: 0,
|
|
37
|
+
class: "text-xs font-medium uppercase text-content-primary"
|
|
38
|
+
};
|
|
34
39
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
40
|
__name: "VcSoundPlayer",
|
|
36
41
|
props: {
|
|
@@ -67,17 +72,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
67
72
|
const height = computed(() => {
|
|
68
73
|
return props.size === "sm" ? "h-4" : "h-8";
|
|
69
74
|
});
|
|
70
|
-
const playerOptions = computed(() => {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
return {
|
|
75
|
-
...DEFAULT_OPTIONS,
|
|
76
|
-
height: props.size === "sm" ? 16 : 32,
|
|
77
|
-
waveColor: inActiveColor || DEFAULT_OPTIONS.waveColor,
|
|
78
|
-
progressColor: activeColor || DEFAULT_OPTIONS.progressColor
|
|
79
|
-
};
|
|
80
|
-
});
|
|
75
|
+
const playerOptions = computed(() => ({
|
|
76
|
+
...DEFAULT_OPTIONS,
|
|
77
|
+
height: props.size === "sm" ? 16 : 32
|
|
78
|
+
}));
|
|
81
79
|
const showDownloadButton = computed(() => {
|
|
82
80
|
return props.downloadLinks.length > 0 && props.size === "md";
|
|
83
81
|
});
|
|
@@ -159,13 +157,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
159
157
|
link.remove();
|
|
160
158
|
return dataBlob;
|
|
161
159
|
}
|
|
160
|
+
function fileType(item) {
|
|
161
|
+
const path = item.split(/[?#]/)[0];
|
|
162
|
+
const fileName = path.slice(path.lastIndexOf("/") + 1);
|
|
163
|
+
const dot = fileName.lastIndexOf(".");
|
|
164
|
+
return dot === -1 ? "" : fileName.slice(dot + 1);
|
|
165
|
+
}
|
|
162
166
|
function downloadIconType(item) {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
if (type === "mp3") {
|
|
166
|
-
return "vc-icon-mp3";
|
|
167
|
+
if (fileType(item) === "mp3") {
|
|
168
|
+
return FileMusic;
|
|
167
169
|
}
|
|
168
|
-
return
|
|
170
|
+
return FileAudio;
|
|
169
171
|
}
|
|
170
172
|
watch(
|
|
171
173
|
() => props.src,
|
|
@@ -229,7 +231,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
229
231
|
__props.preIcon && !__props.simple ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
230
232
|
createVNode(_sfc_main$5, {
|
|
231
233
|
icon: __props.preIcon,
|
|
232
|
-
class: "text-
|
|
234
|
+
class: "text-content-tertiary icon-base"
|
|
233
235
|
}, null, 8, ["icon"])
|
|
234
236
|
])) : createCommentVNode("", true),
|
|
235
237
|
!__props.simple ? (openBlock(), createBlock(_sfc_main$6, {
|
|
@@ -280,7 +282,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
280
282
|
}, {
|
|
281
283
|
reference: withCtx(() => [
|
|
282
284
|
createElementVNode("span", _hoisted_5, [
|
|
283
|
-
createVNode(_sfc_main$5, { icon: "
|
|
285
|
+
createVNode(_sfc_main$5, { icon: unref(EllipsisVertical) }, null, 8, ["icon"])
|
|
284
286
|
])
|
|
285
287
|
]),
|
|
286
288
|
default: withCtx(() => [
|
|
@@ -289,13 +291,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
289
291
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.downloadLinks, (item, index) => {
|
|
290
292
|
return openBlock(), createElementBlock("div", {
|
|
291
293
|
key: index,
|
|
292
|
-
class: "cursor-pointer right-offset p-1 flex items-center hover:bg-primary-
|
|
294
|
+
class: "cursor-pointer right-offset p-1 flex items-center gap-1.5 hover:bg-action-primary-subtle-hover duration-200 rounded-inner",
|
|
293
295
|
onClick: withModifiers(($event) => download(item), ["stop"])
|
|
294
296
|
}, [
|
|
295
297
|
createVNode(_sfc_main$5, {
|
|
296
|
-
class: "text-primary
|
|
298
|
+
class: "text-action-primary icon-xl",
|
|
297
299
|
icon: downloadIconType(item)
|
|
298
|
-
}, null, 8, ["icon"])
|
|
300
|
+
}, null, 8, ["icon"]),
|
|
301
|
+
fileType(item) ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(fileType(item)), 1)) : createCommentVNode("", true)
|
|
299
302
|
], 8, _hoisted_7);
|
|
300
303
|
}), 128))
|
|
301
304
|
])
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createVNode, normalizeClass, createTextVNode, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createVNode, normalizeClass, unref, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { TriangleAlert } from "@lucide/vue";
|
|
2
3
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
3
4
|
import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
4
|
-
const _hoisted_1 = { class: "flex items-center text-
|
|
5
|
+
const _hoisted_1 = { class: "flex items-center text-content-danger text-xs h-8" };
|
|
5
6
|
const _hoisted_2 = {
|
|
6
7
|
key: 0,
|
|
7
8
|
class: "flex items-center"
|
|
@@ -23,13 +24,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
24
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
24
25
|
!__props.isSimple ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
25
26
|
createVNode(_sfc_main$1, {
|
|
26
|
-
icon: __props.icon ||
|
|
27
|
+
icon: __props.icon || unref(TriangleAlert),
|
|
27
28
|
class: normalizeClass([[__props.iconClasses || "icon-2md"], "mr-2"])
|
|
28
29
|
}, null, 8, ["icon", "class"]),
|
|
29
30
|
createTextVNode(" " + toDisplayString(__props.audioErrorMessage), 1)
|
|
30
31
|
])) : (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
31
32
|
createVNode(_sfc_main$1, {
|
|
32
|
-
icon: __props.icon ||
|
|
33
|
+
icon: __props.icon || unref(TriangleAlert),
|
|
33
34
|
class: normalizeClass([[__props.iconClasses || "icon-2md"], "error-icon"])
|
|
34
35
|
}, null, 8, ["icon", "class"])
|
|
35
36
|
]))
|
|
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
seekOnClick: { type: Boolean, default: true },
|
|
30
30
|
showStem: { type: Boolean, default: true },
|
|
31
31
|
icon: { default: void 0 },
|
|
32
|
-
iconClass: { default: "icon-
|
|
32
|
+
iconClass: { default: "icon-xs" },
|
|
33
33
|
placement: { default: "top" }
|
|
34
34
|
},
|
|
35
35
|
emits: ["click"],
|
|
@@ -3,9 +3,9 @@ import { defineComponent, ref, shallowRef, computed, watch, onBeforeUnmount, ope
|
|
|
3
3
|
import WaveSurfer from "wavesurfer.js";
|
|
4
4
|
import Hover from "wavesurfer.js/dist/plugins/hover";
|
|
5
5
|
import { useRafFn } from "@vueuse/core";
|
|
6
|
-
import { DEFAULT_OPTIONS, DEFAULT_HOVER_OPTIONS } from "./player.options.mjs";
|
|
6
|
+
import { DEFAULT_OPTIONS, themedWaveColors, DEFAULT_HOVER_OPTIONS } from "./player.options.mjs";
|
|
7
7
|
import { useSoundPlayerProvide } from "./useSoundPlayerProvideInject.mjs";
|
|
8
|
-
import
|
|
8
|
+
import UniqueComponentId from "../../utils/UniqueComponentId.mjs";
|
|
9
9
|
const _hoisted_1 = { class: "vc-sound-player__wrapper" };
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "VcSoundPlayerWrapper",
|
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
},
|
|
25
25
|
emits: ["on-error", "ready", "update:time", "update:duration", "update:currentPlay", "start", "stop", "onPlay", "pause"],
|
|
26
26
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
27
|
-
const componentId =
|
|
27
|
+
const componentId = UniqueComponentId("sound-id-");
|
|
28
28
|
const props = __props;
|
|
29
29
|
const emit = __emit;
|
|
30
30
|
const speed = ref(1);
|
|
@@ -61,6 +61,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
61
|
const plugins = getAdditionalPlugins();
|
|
62
62
|
const _height = props.options.height ? props.options.height : props.size === "sm" ? 16 : 32;
|
|
63
63
|
const _options = {
|
|
64
|
+
// the theme's colours, read where the player renders; options override them
|
|
65
|
+
...themedWaveColors(el ?? document.getElementById(`waveform-${soundId}`)),
|
|
64
66
|
...props.options,
|
|
65
67
|
height: _height,
|
|
66
68
|
container: el || `#waveform-${soundId}`,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../assets/components/VcSoundplayer/VcSoundVolume.css';
|
|
2
2
|
import { defineComponent, ref, openBlock, createElementBlock, createElementVNode, withModifiers, createVNode, normalizeClass, unref, isRef, createBlock, withCtx } from "vue";
|
|
3
|
+
import { VolumeX, Volume2 } from "@lucide/vue";
|
|
3
4
|
import { useSoundPlayerInject } from "./useSoundPlayerProvideInject.mjs";
|
|
4
5
|
import _sfc_main$2 from "../VcSlider/VcSlider.vue.mjs";
|
|
5
6
|
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcPopover/VcPopover.css';import '../../assets/components/VcSlider/VcSlider.css';/* empty css */
|
|
@@ -21,8 +22,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
22
|
disabled: { type: Boolean },
|
|
22
23
|
inlineMode: { type: Boolean },
|
|
23
24
|
iconClass: { default: "icon-md" },
|
|
24
|
-
icon: { default:
|
|
25
|
-
iconOff: { default:
|
|
25
|
+
icon: { default: () => Volume2 },
|
|
26
|
+
iconOff: { default: () => VolumeX }
|
|
26
27
|
},
|
|
27
28
|
setup(__props) {
|
|
28
29
|
const { volume, defaultVolume } = useSoundPlayerInject();
|
|
@@ -51,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
52
|
icon: unref(volume) ? __props.icon : __props.iconOff,
|
|
52
53
|
class: normalizeClass([[
|
|
53
54
|
__props.iconClass,
|
|
54
|
-
__props.disabled ? "text-
|
|
55
|
+
__props.disabled ? "text-content-disabled" : "text-action-primary"
|
|
55
56
|
], "cursor-pointer"])
|
|
56
57
|
}, null, 8, ["icon", "class"])
|
|
57
58
|
]),
|
|
@@ -77,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
78
|
icon: unref(volume) ? __props.icon : __props.iconOff,
|
|
78
79
|
class: normalizeClass([[
|
|
79
80
|
__props.iconClass,
|
|
80
|
-
__props.disabled ? "text-
|
|
81
|
+
__props.disabled ? "text-content-disabled" : "text-action-primary"
|
|
81
82
|
], "cursor-pointer"])
|
|
82
83
|
}, null, 8, ["icon", "class"])
|
|
83
84
|
])
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
+
import { themeColor } from "../../utils/themeColor.mjs";
|
|
1
2
|
const DEFAULT_OPTIONS = {
|
|
2
3
|
height: 32,
|
|
3
4
|
container: "#waveform",
|
|
4
5
|
barWidth: 0.5,
|
|
5
6
|
barHeight: 1,
|
|
6
|
-
waveColor: "#E0E2E5",
|
|
7
|
-
progressColor: "#2675FF",
|
|
8
7
|
cursorColor: "transparent",
|
|
9
8
|
normalize: true
|
|
10
9
|
};
|
|
10
|
+
function themedWaveColors(element) {
|
|
11
|
+
const waveColor = themeColor("--vc-border", element);
|
|
12
|
+
const progressColor = themeColor("--vc-action-primary", element);
|
|
13
|
+
return {
|
|
14
|
+
...waveColor && { waveColor },
|
|
15
|
+
...progressColor && { progressColor }
|
|
16
|
+
};
|
|
17
|
+
}
|
|
11
18
|
const DEFAULT_HOVER_OPTIONS = {
|
|
12
|
-
lineColor: "var(--
|
|
19
|
+
lineColor: "var(--vc-action-primary--hover)",
|
|
13
20
|
lineWidth: 1,
|
|
14
|
-
labelBackground: "var(--
|
|
15
|
-
labelColor: "var(--
|
|
21
|
+
labelBackground: "var(--vc-action-primary--hover)",
|
|
22
|
+
labelColor: "var(--vc-onfill)",
|
|
16
23
|
labelSize: "11px"
|
|
17
24
|
};
|
|
18
25
|
function toMinutes(seconds) {
|
|
@@ -32,5 +39,6 @@ function toMinutes(seconds) {
|
|
|
32
39
|
export {
|
|
33
40
|
DEFAULT_HOVER_OPTIONS,
|
|
34
41
|
DEFAULT_OPTIONS,
|
|
42
|
+
themedWaveColors,
|
|
35
43
|
toMinutes
|
|
36
44
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, useSlots, computed, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createCommentVNode, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import
|
|
2
|
+
import UniqueComponentId from "../../utils/UniqueComponentId.mjs";
|
|
3
3
|
import { getPropertyFromItem } from "./helper.mjs";
|
|
4
4
|
const _hoisted_1 = { display: "block" };
|
|
5
5
|
const _hoisted_2 = ["id", "x1", "y1", "x2", "y2"];
|
|
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
setup(__props) {
|
|
50
50
|
const props = __props;
|
|
51
51
|
const slots = useSlots();
|
|
52
|
-
const uid =
|
|
52
|
+
const uid = UniqueComponentId("vc-trend-");
|
|
53
53
|
const componentId = computed(() => props.id || uid);
|
|
54
54
|
const bars = computed(() => genBars(items.value, boundary.value));
|
|
55
55
|
const offsetX = computed(() => (Math.abs(bars.value[0].x - bars.value[1].x) - lineWidth.value) / 2);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, useSlots, ref, computed, watch, nextTick, openBlock, createElementBlock, createElementVNode, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import
|
|
2
|
+
import UniqueComponentId from "../../utils/UniqueComponentId.mjs";
|
|
3
3
|
import { getPropertyFromItem, _genPath } from "./helper.mjs";
|
|
4
4
|
const _hoisted_1 = ["stroke-width"];
|
|
5
5
|
const _hoisted_2 = ["id", "x1", "y1", "x2", "y2"];
|
|
@@ -44,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
44
|
setup(__props) {
|
|
45
45
|
const props = __props;
|
|
46
46
|
const slots = useSlots();
|
|
47
|
-
const uid =
|
|
47
|
+
const uid = UniqueComponentId("vc-trendline-");
|
|
48
48
|
const lastLength = ref(0);
|
|
49
49
|
const pathRef = ref();
|
|
50
50
|
const componentId = computed(() => props.id || uid);
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import '../../assets/components/VcSplitButton/VcSplitButton.css';
|
|
2
2
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, renderSlot, createElementVNode, createBlock, createCommentVNode, toDisplayString, createVNode, withCtx, withDirectives, Fragment, renderList, unref } from "vue";
|
|
3
|
+
import { Loader, ChevronDown } from "@lucide/vue";
|
|
3
4
|
import _sfc_main$2 from "../VcPopover/VcPopover.vue.mjs";
|
|
4
5
|
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcPopover/VcPopover.css';/* empty css */
|
|
5
6
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
6
7
|
/* empty css */
|
|
7
8
|
import { ClickOutside } from "element-plus";
|
|
8
|
-
import
|
|
9
|
+
import UniqueComponentId from "../../utils/UniqueComponentId.mjs";
|
|
9
10
|
const _hoisted_1 = ["disabled"];
|
|
10
|
-
const _hoisted_2 =
|
|
11
|
-
const _hoisted_3 =
|
|
12
|
-
const _hoisted_4 = {
|
|
11
|
+
const _hoisted_2 = ["disabled"];
|
|
12
|
+
const _hoisted_3 = {
|
|
13
13
|
ref: "dropdown",
|
|
14
|
-
class: "flex flex-col divide-y divide-
|
|
14
|
+
class: "flex flex-col divide-y divide-border"
|
|
15
15
|
};
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
16
|
+
const _hoisted_4 = ["onClick"];
|
|
17
|
+
const _hoisted_5 = { class: "max-w-full truncate" };
|
|
18
|
+
const _hoisted_6 = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "vc-split-button--loader"
|
|
21
21
|
};
|
|
22
|
-
const DEFAULT_LOAD_ICON = "loader";
|
|
23
22
|
const CLASS_FOR_COLOR = "vc-split-button--";
|
|
24
23
|
const DEFAULT_COLOR = "primary";
|
|
25
24
|
const DEFAULT_SIZE = "default";
|
|
@@ -31,11 +30,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
30
|
disabled: { type: Boolean, default: false },
|
|
32
31
|
loading: { type: Boolean, default: false },
|
|
33
32
|
teleported: { type: Boolean, default: true },
|
|
34
|
-
dataTestName: { default:
|
|
33
|
+
dataTestName: { default: UniqueComponentId("split-button") },
|
|
35
34
|
size: { default: DEFAULT_SIZE },
|
|
36
35
|
popoverMaxWidth: { default: "480" },
|
|
37
36
|
popoverWidth: { default: "auto" },
|
|
38
|
-
loaderIcon: { default:
|
|
37
|
+
loaderIcon: { default: () => Loader }
|
|
39
38
|
},
|
|
40
39
|
emits: ["click", "change"],
|
|
41
40
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -112,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
111
|
icon: selectedValue.value.icon,
|
|
113
112
|
class: "content-icon"
|
|
114
113
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
115
|
-
createElementVNode("span",
|
|
114
|
+
createElementVNode("span", null, toDisplayString((_b = selectedValue.value) == null ? void 0 : _b.label), 1)
|
|
116
115
|
], 8, _hoisted_1)
|
|
117
116
|
];
|
|
118
117
|
}),
|
|
@@ -135,13 +134,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
134
|
onClick: _cache[0] || (_cache[0] = ($event) => open.value = !open.value)
|
|
136
135
|
}, [
|
|
137
136
|
createVNode(_sfc_main$1, {
|
|
138
|
-
icon:
|
|
137
|
+
icon: unref(ChevronDown),
|
|
139
138
|
class: normalizeClass({ "is-open": open.value })
|
|
140
|
-
}, null, 8, ["class"])
|
|
141
|
-
], 8,
|
|
139
|
+
}, null, 8, ["icon", "class"])
|
|
140
|
+
], 8, _hoisted_2)
|
|
142
141
|
]),
|
|
143
142
|
default: withCtx(() => [
|
|
144
|
-
withDirectives((openBlock(), createElementBlock("div",
|
|
143
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
|
|
145
144
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option, i) => {
|
|
146
145
|
return openBlock(), createElementBlock("div", {
|
|
147
146
|
key: `option-${i}`,
|
|
@@ -153,8 +152,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
153
152
|
icon: option.icon,
|
|
154
153
|
class: "option-icon"
|
|
155
154
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
156
|
-
createElementVNode("span",
|
|
157
|
-
], 10,
|
|
155
|
+
createElementVNode("span", _hoisted_5, toDisplayString(option.label), 1)
|
|
156
|
+
], 10, _hoisted_4);
|
|
158
157
|
}), 128))
|
|
159
158
|
])), [
|
|
160
159
|
[unref(ClickOutside), handleOutsideClick, actionRef.value]
|
|
@@ -162,7 +161,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
162
161
|
]),
|
|
163
162
|
_: 1
|
|
164
163
|
}, 8, ["open", "popover-class", "teleported", "popover-max-width"]),
|
|
165
|
-
__props.loading ? (openBlock(), createElementBlock("span",
|
|
164
|
+
__props.loading ? (openBlock(), createElementBlock("span", _hoisted_6, [
|
|
166
165
|
renderSlot(_ctx.$slots, "loader", {}, () => [
|
|
167
166
|
createVNode(_sfc_main$1, {
|
|
168
167
|
icon: __props.loaderIcon,
|
|
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
modelValue: {},
|
|
15
15
|
disabled: { type: Boolean, default: false },
|
|
16
16
|
loading: { type: Boolean },
|
|
17
|
-
color: { default: "
|
|
17
|
+
color: { default: "primary" },
|
|
18
18
|
size: { default: "default" },
|
|
19
19
|
width: { default: void 0 },
|
|
20
20
|
activeIcon: { default: void 0 },
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../assets/components/VcTable/VcTable.css';
|
|
2
2
|
import { defineComponent, useSlots, ref, computed, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, renderSlot, createVNode, createCommentVNode, normalizeClass, normalizeStyle, unref, Fragment, renderList, withModifiers, createBlock, createTextVNode, toDisplayString, withCtx, withDirectives, vShow } from "vue";
|
|
3
|
+
import { Pencil, Search, SlidersHorizontal, ChevronDown } from "@lucide/vue";
|
|
3
4
|
import { get, cloneDeep } from "lodash-es";
|
|
4
5
|
import _sfc_main$2 from "../VcCheckbox/VcCheckbox.vue.mjs";
|
|
5
6
|
import '../../assets/components/VcSelect/VcSelect.css';import '../../assets/components/VcPagination/VcPagination.css';import '../../assets/components/VcInput/VcInput.css';import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/components/VcPopover/VcPopover.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';/* empty css */
|
|
@@ -112,7 +113,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
113
|
actionsColumn: { default: () => ({
|
|
113
114
|
width: "120px",
|
|
114
115
|
columnName: "Actions",
|
|
115
|
-
icon:
|
|
116
|
+
icon: Pencil,
|
|
116
117
|
minWidth: "100px",
|
|
117
118
|
maxWidth: "auto"
|
|
118
119
|
}) },
|
|
@@ -441,7 +442,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
441
442
|
return "";
|
|
442
443
|
}
|
|
443
444
|
if (column.sortBy === sortBy.value) {
|
|
444
|
-
return "text-
|
|
445
|
+
return "text-action-primary";
|
|
445
446
|
}
|
|
446
447
|
}
|
|
447
448
|
function isSortableColumn(column) {
|
|
@@ -678,6 +679,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
678
679
|
opened.value.push(rowIndex);
|
|
679
680
|
}
|
|
680
681
|
}
|
|
682
|
+
function toggleExpandedRow(rowIndex, open) {
|
|
683
|
+
if (open === void 0 || open !== opened.value.includes(rowIndex)) {
|
|
684
|
+
expandableAction(rowIndex);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
681
687
|
function getRowClass(row, index) {
|
|
682
688
|
if (typeof props.rowClassName === "string") {
|
|
683
689
|
return props.rowClassName;
|
|
@@ -757,6 +763,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
757
763
|
});
|
|
758
764
|
__expose({
|
|
759
765
|
setBulkOptionChecked,
|
|
766
|
+
toggleExpandedRow,
|
|
760
767
|
/* Internal state surfaced for tests and integrators that need to
|
|
761
768
|
* observe sort/selection/expansion state imperatively. Refs unwrap
|
|
762
769
|
* through Vue's proxy so reads are plain values (`string`, `Array<number>`,
|
|
@@ -790,12 +797,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
790
797
|
})
|
|
791
798
|
]),
|
|
792
799
|
createElementVNode("div", {
|
|
793
|
-
class: normalizeClass([{ "shadow-table rounded-
|
|
800
|
+
class: normalizeClass([{ "shadow-table rounded-card": hasFooter.value }, __props.wrapperClass])
|
|
794
801
|
}, [
|
|
795
802
|
createElementVNode("div", {
|
|
796
803
|
class: normalizeClass([{
|
|
797
804
|
"is--fixed": __props.fixedHeader,
|
|
798
|
-
"shadow-table rounded-
|
|
805
|
+
"shadow-table rounded-card": !hasFooter.value
|
|
799
806
|
}, "vc-table-wrapper"]),
|
|
800
807
|
style: normalizeStyle({ "--height": unref(convertToUnit)(__props.height) })
|
|
801
808
|
}, [
|
|
@@ -881,13 +888,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
881
888
|
}, {
|
|
882
889
|
reference: withCtx(({ open }) => [
|
|
883
890
|
createVNode(_sfc_main$7, {
|
|
884
|
-
icon:
|
|
891
|
+
icon: unref(SlidersHorizontal),
|
|
885
892
|
small: "",
|
|
886
893
|
plain: "",
|
|
887
894
|
class: normalizeClass(["header-filter-btn", { "header-filter-btn--active": isColumnFiltered(column), "header-filter-btn--open": open }]),
|
|
888
895
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
889
896
|
}, ["stop"]))
|
|
890
|
-
}, null, 8, ["class"])
|
|
897
|
+
}, null, 8, ["icon", "class"])
|
|
891
898
|
]),
|
|
892
899
|
default: withCtx(() => [
|
|
893
900
|
createElementVNode("div", _hoisted_12, [
|
|
@@ -897,10 +904,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
897
904
|
"model-value": getFilterSearchQuery(column),
|
|
898
905
|
placeholder: unref(tVU).t("voicenterUi.table.filter.search"),
|
|
899
906
|
clearable: "",
|
|
900
|
-
"prefix-icon":
|
|
907
|
+
"prefix-icon": unref(Search),
|
|
901
908
|
class: "vc-table-filter-search",
|
|
902
909
|
"onUpdate:modelValue": (val) => setFilterSearchQuery(column, String(val ?? ""))
|
|
903
|
-
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])) : createCommentVNode("", true),
|
|
910
|
+
}, null, 8, ["model-value", "placeholder", "prefix-icon", "onUpdate:modelValue"])) : createCommentVNode("", true),
|
|
904
911
|
createVNode(_sfc_main$6, {
|
|
905
912
|
"model-value": getFilterModelValue(column),
|
|
906
913
|
checkboxes: isSearchableFilter(column) ? getFilteredColumnValues(column) : getUniqueColumnValues(column),
|
|
@@ -981,9 +988,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
981
988
|
onClick: ($event) => expandableAction(index)
|
|
982
989
|
}, [
|
|
983
990
|
createVNode(_sfc_main$3, {
|
|
984
|
-
icon:
|
|
991
|
+
icon: unref(ChevronDown),
|
|
985
992
|
class: normalizeClass(["icon-expandable p-1", { "icon-expandable-active": opened.value.includes(index) }])
|
|
986
|
-
}, null, 8, ["class"])
|
|
993
|
+
}, null, 8, ["icon", "class"])
|
|
987
994
|
], 8, _hoisted_21)
|
|
988
995
|
])) : createCommentVNode("", true),
|
|
989
996
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (rowColumn, rowIndex) => {
|
|
@@ -1063,7 +1070,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1063
1070
|
createVNode(VcLoading, {
|
|
1064
1071
|
active: __props.loading,
|
|
1065
1072
|
loader: __props.loaderType,
|
|
1066
|
-
class: "z-5 rounded-
|
|
1073
|
+
class: "z-5 rounded-card"
|
|
1067
1074
|
}, null, 8, ["active", "loader"])
|
|
1068
1075
|
]);
|
|
1069
1076
|
};
|