@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,5 +1,5 @@
|
|
|
1
1
|
import '../../assets/components/VcFileUploader/VcFileItem.css';
|
|
2
|
-
import { defineComponent, computed, ref, watch, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode,
|
|
2
|
+
import { defineComponent, getCurrentInstance, computed, ref, watch, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createVNode, toDisplayString, Fragment, createBlock, unref, createCommentVNode } from "vue";
|
|
3
3
|
import { RefreshCw, X } from "@lucide/vue";
|
|
4
4
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
5
5
|
import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
@@ -7,17 +7,24 @@ import _sfc_main$2 from "../VcButton/VcButtonIcon.vue.mjs";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { DEFAULT_FILE_TYPE, DEFAULT_FILE_TYPE_MAP } from "../../enum/fileTypes.mjs";
|
|
9
9
|
import { getFileSize } from "../../utils/helpers.mjs";
|
|
10
|
+
import { literalParam } from "../../utils/i18nParams.mjs";
|
|
10
11
|
import { tVU } from "../../localization/index.mjs";
|
|
11
|
-
const _hoisted_1 = ["
|
|
12
|
-
const _hoisted_2 =
|
|
13
|
-
const _hoisted_3 =
|
|
14
|
-
const _hoisted_4 = {
|
|
12
|
+
const _hoisted_1 = ["aria-label", "title"];
|
|
13
|
+
const _hoisted_2 = ["src", "alt"];
|
|
14
|
+
const _hoisted_3 = ["src", "alt"];
|
|
15
|
+
const _hoisted_4 = { class: "vc-file-item__info" };
|
|
16
|
+
const _hoisted_5 = {
|
|
17
|
+
class: "vc-file-item__name",
|
|
18
|
+
dir: "auto"
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_6 = {
|
|
15
21
|
key: 0,
|
|
16
|
-
class: "vc-file-item__meta vc-file-item__error"
|
|
22
|
+
class: "vc-file-item__meta vc-file-item__error",
|
|
23
|
+
"data-test": "file-item-error"
|
|
17
24
|
};
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
25
|
+
const _hoisted_7 = { class: "vc-file-item__meta" };
|
|
26
|
+
const _hoisted_8 = ["aria-valuenow"];
|
|
27
|
+
const _hoisted_9 = {
|
|
21
28
|
key: 2,
|
|
22
29
|
class: "vc-file-item__meta"
|
|
23
30
|
};
|
|
@@ -29,25 +36,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
36
|
removable: { type: Boolean, default: true },
|
|
30
37
|
disabled: { type: Boolean, default: false },
|
|
31
38
|
status: { default: void 0 },
|
|
32
|
-
progress: { default: 0 }
|
|
39
|
+
progress: { default: 0 },
|
|
40
|
+
errorText: { default: void 0 }
|
|
33
41
|
},
|
|
34
|
-
emits: ["remove", "retry"],
|
|
42
|
+
emits: ["remove", "retry", "preview"],
|
|
35
43
|
setup(__props, { emit: __emit }) {
|
|
44
|
+
var _a, _b;
|
|
36
45
|
const props = __props;
|
|
37
46
|
const emit = __emit;
|
|
47
|
+
const canPreview = !!((_b = (_a = getCurrentInstance()) == null ? void 0 : _a.vnode.props) == null ? void 0 : _b.onPreview);
|
|
48
|
+
const literalName = computed(() => literalParam(props.file.name));
|
|
38
49
|
const uploadFailedText = computed(() => tVU.t("voicenterUi.fileItem.uploadFailed"));
|
|
39
50
|
const retryText = computed(() => tVU.t("voicenterUi.fileItem.retry"));
|
|
51
|
+
const previewText = computed(() => tVU.t("voicenterUi.fileItem.preview", { name: literalName.value }));
|
|
52
|
+
const removeText = computed(() => tVU.t("voicenterUi.fileItem.remove", { name: literalName.value }));
|
|
40
53
|
const progressPercent = computed(() => Math.round(Math.min(Math.max(props.progress, 0), 100)));
|
|
41
54
|
const extension = computed(() => {
|
|
42
|
-
var
|
|
55
|
+
var _a2;
|
|
43
56
|
const parts = props.file.name.split(".");
|
|
44
|
-
return parts.length > 1 ? ((
|
|
57
|
+
return parts.length > 1 ? ((_a2 = parts.pop()) == null ? void 0 : _a2.toLowerCase()) ?? "" : "";
|
|
45
58
|
});
|
|
46
59
|
const fileType = computed(() => {
|
|
47
|
-
var
|
|
48
|
-
const fallback = ((
|
|
60
|
+
var _a2, _b2;
|
|
61
|
+
const fallback = ((_a2 = props.fileTypeMap) == null ? void 0 : _a2.default) ?? DEFAULT_FILE_TYPE;
|
|
49
62
|
const base = DEFAULT_FILE_TYPE_MAP[extension.value] ?? fallback;
|
|
50
|
-
const override = (
|
|
63
|
+
const override = (_b2 = props.fileTypeMap) == null ? void 0 : _b2[extension.value];
|
|
51
64
|
return {
|
|
52
65
|
icon: (override == null ? void 0 : override.icon) ?? base.icon,
|
|
53
66
|
color: (override == null ? void 0 : override.color) ?? base.color
|
|
@@ -86,13 +99,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
99
|
return openBlock(), createElementBlock("div", {
|
|
87
100
|
class: normalizeClass([{ "is--disabled": __props.disabled, [`is--${__props.status}`]: __props.status }, "vc-file-item"])
|
|
88
101
|
}, [
|
|
89
|
-
previewUrl.value ? (openBlock(), createElementBlock("
|
|
102
|
+
previewUrl.value && canPreview ? (openBlock(), createElementBlock("button", {
|
|
90
103
|
key: 0,
|
|
104
|
+
"aria-label": previewText.value,
|
|
105
|
+
title: previewText.value,
|
|
106
|
+
type: "button",
|
|
107
|
+
class: "vc-file-item__preview-button",
|
|
108
|
+
"data-test": "file-item-preview",
|
|
109
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("preview"))
|
|
110
|
+
}, [
|
|
111
|
+
createElementVNode("img", {
|
|
112
|
+
src: previewUrl.value,
|
|
113
|
+
alt: __props.file.name,
|
|
114
|
+
class: "vc-file-item__preview"
|
|
115
|
+
}, null, 8, _hoisted_2)
|
|
116
|
+
], 8, _hoisted_1)) : previewUrl.value ? (openBlock(), createElementBlock("img", {
|
|
117
|
+
key: 1,
|
|
91
118
|
src: previewUrl.value,
|
|
92
119
|
alt: __props.file.name,
|
|
93
120
|
class: "vc-file-item__preview"
|
|
94
|
-
}, null, 8,
|
|
95
|
-
key:
|
|
121
|
+
}, null, 8, _hoisted_3)) : (openBlock(), createElementBlock("div", {
|
|
122
|
+
key: 2,
|
|
96
123
|
class: "vc-file-item__icon",
|
|
97
124
|
style: normalizeStyle(iconStyle.value)
|
|
98
125
|
}, [
|
|
@@ -101,10 +128,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
101
128
|
size: 20
|
|
102
129
|
}, null, 8, ["icon"])
|
|
103
130
|
], 4)),
|
|
104
|
-
createElementVNode("div",
|
|
105
|
-
createElementVNode("span",
|
|
106
|
-
__props.status === "error" ? (openBlock(), createElementBlock("span",
|
|
107
|
-
createElementVNode("span",
|
|
131
|
+
createElementVNode("div", _hoisted_4, [
|
|
132
|
+
createElementVNode("span", _hoisted_5, toDisplayString(__props.file.name), 1),
|
|
133
|
+
__props.status === "error" ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(__props.errorText || uploadFailedText.value), 1)) : __props.status === "uploading" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
134
|
+
createElementVNode("span", _hoisted_7, toDisplayString(meta.value) + " · " + toDisplayString(progressPercent.value) + "%", 1),
|
|
108
135
|
createElementVNode("span", {
|
|
109
136
|
role: "progressbar",
|
|
110
137
|
"aria-valuenow": progressPercent.value,
|
|
@@ -116,27 +143,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
143
|
class: "vc-file-item__progress-value",
|
|
117
144
|
style: normalizeStyle({ width: `${progressPercent.value}%` })
|
|
118
145
|
}, null, 4)
|
|
119
|
-
], 8,
|
|
120
|
-
], 64)) : (openBlock(), createElementBlock("span",
|
|
146
|
+
], 8, _hoisted_8)
|
|
147
|
+
], 64)) : (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(meta.value), 1))
|
|
121
148
|
]),
|
|
122
149
|
__props.status === "error" ? (openBlock(), createBlock(_sfc_main$2, {
|
|
123
|
-
key:
|
|
150
|
+
key: 3,
|
|
124
151
|
icon: unref(RefreshCw),
|
|
125
152
|
disabled: __props.disabled,
|
|
126
153
|
title: retryText.value,
|
|
127
154
|
"aria-label": retryText.value,
|
|
128
|
-
color: "primary-alternative",
|
|
129
155
|
class: "vc-file-item__retry",
|
|
130
|
-
onClick: _cache[
|
|
156
|
+
onClick: _cache[1] || (_cache[1] = ($event) => emit("retry"))
|
|
131
157
|
}, null, 8, ["icon", "disabled", "title", "aria-label"])) : createCommentVNode("", true),
|
|
132
158
|
__props.removable ? (openBlock(), createBlock(_sfc_main$2, {
|
|
133
|
-
key:
|
|
159
|
+
key: 4,
|
|
134
160
|
icon: unref(X),
|
|
135
161
|
disabled: __props.disabled,
|
|
162
|
+
title: removeText.value,
|
|
163
|
+
"aria-label": removeText.value,
|
|
136
164
|
color: "destructive",
|
|
137
165
|
class: "vc-file-item__remove",
|
|
138
|
-
onClick: _cache[
|
|
139
|
-
}, null, 8, ["icon", "disabled"])) : createCommentVNode("", true)
|
|
166
|
+
onClick: _cache[2] || (_cache[2] = ($event) => emit("remove"))
|
|
167
|
+
}, null, 8, ["icon", "disabled", "title", "aria-label"])) : createCommentVNode("", true)
|
|
140
168
|
], 2);
|
|
141
169
|
};
|
|
142
170
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, openBlock, createBlock, resolveDynamicComponent, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { FileCheck } from "@lucide/vue";
|
|
2
3
|
import VcFileUploaderSimple from "./VcFileUploaderSimple.vue.mjs";
|
|
3
4
|
import _sfc_main$1 from "./VcFileUploaderArea.vue.mjs";
|
|
4
5
|
import '../../assets/components/VcFileUploader/VcFileUploaderArea.css';/* empty css */
|
|
@@ -16,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
17
|
buttonText: { default: "" },
|
|
17
18
|
buttonColor: { default: "primary" },
|
|
18
19
|
buttonSize: { default: "middle" },
|
|
19
|
-
tagIcon: { default:
|
|
20
|
+
tagIcon: { default: () => FileCheck },
|
|
20
21
|
noDataText: { default: "" },
|
|
21
22
|
fileType: { default: "file" },
|
|
22
23
|
tagMaxContentWidth: { default: "200" },
|
|
@@ -10,7 +10,7 @@ import useInputBase from "../../composables/input/useInputBase.mjs";
|
|
|
10
10
|
import useFileUploader from "../../composables/input/useFileUploader.mjs";
|
|
11
11
|
import { convertToUnit } from "../../utils/helpers.mjs";
|
|
12
12
|
import { tVU } from "../../localization/index.mjs";
|
|
13
|
-
import { UploadCloud } from "@lucide/vue";
|
|
13
|
+
import { FileCheck, UploadCloud } from "@lucide/vue";
|
|
14
14
|
const _hoisted_1 = ["data-test"];
|
|
15
15
|
const _hoisted_2 = { class: "vc-file-uploader-area__text" };
|
|
16
16
|
const _hoisted_3 = { class: "vc-file-uploader-area__link" };
|
|
@@ -43,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
buttonText: { default: "" },
|
|
44
44
|
buttonColor: { default: DEFAULT_BUTTON_COLOR },
|
|
45
45
|
buttonSize: { default: "middle" },
|
|
46
|
-
tagIcon: { default:
|
|
46
|
+
tagIcon: { default: () => FileCheck },
|
|
47
47
|
noDataText: { default: "" },
|
|
48
48
|
fileType: { default: "file" },
|
|
49
49
|
tagMaxContentWidth: { default: "200" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./VcFileUploaderSimple.vue2.mjs";
|
|
2
2
|
import '../../assets/components/VcFileUploader/VcFileUploaderSimple.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const VcFileUploaderSimple = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const VcFileUploaderSimple = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2cd60582"]]);
|
|
5
5
|
export {
|
|
6
6
|
VcFileUploaderSimple as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeStyle, unref, createBlock, createCommentVNode, createElementVNode, renderSlot, createVNode, toDisplayString, createSlots, withCtx } from "vue";
|
|
2
|
+
import { FileCheck } from "@lucide/vue";
|
|
2
3
|
import _sfc_main$1 from "../VcForm/UiComponents/VcInputLabel.vue.mjs";
|
|
3
4
|
import '../../assets/components/VcForm/UiComponents/VcInputLabel.css';/* empty css */
|
|
4
5
|
import useInputBase from "../../composables/input/useInputBase.mjs";
|
|
@@ -39,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
40
|
buttonText: { default: "" },
|
|
40
41
|
buttonColor: { default: DEFAULT_BUTTON_COLOR },
|
|
41
42
|
buttonSize: { default: DEFAULT_BUTTON_SIZE },
|
|
42
|
-
tagIcon: { default:
|
|
43
|
+
tagIcon: { default: () => FileCheck },
|
|
43
44
|
noDataText: { default: "" },
|
|
44
45
|
fileType: { default: "file" },
|
|
45
46
|
tagMaxContentWidth: { default: "200" },
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, createBlock, unref, createCommentVNode } from "vue";
|
|
2
|
+
import { Trash2 } from "@lucide/vue";
|
|
2
3
|
import _sfc_main$2 from "../VcButton/VcButtonIcon.vue.mjs";
|
|
3
4
|
import '../../assets/components/VcButton/VcButton.css';import '../../assets/components/VcButton/VcButtonIcon.css';/* empty css */
|
|
4
5
|
import _sfc_main$1 from "../VcButton/VcButton.vue.mjs";
|
|
@@ -49,9 +50,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
50
|
!__props.showFileName && ((_a = __props.items) == null ? void 0 : _a.length) && !__props.hideClearAction ? (openBlock(), createBlock(_sfc_main$2, {
|
|
50
51
|
key: 0,
|
|
51
52
|
color: "destructive",
|
|
52
|
-
icon:
|
|
53
|
+
icon: unref(Trash2),
|
|
53
54
|
onClick: onClear
|
|
54
|
-
})) : createCommentVNode("", true)
|
|
55
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
55
56
|
])
|
|
56
57
|
]);
|
|
57
58
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../../assets/components/VcForm/UiComponents/VcInputLabel.css';
|
|
2
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, createCommentVNode, createTextVNode, toDisplayString, createBlock, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, createCommentVNode, createTextVNode, toDisplayString, createBlock, withCtx, renderSlot, unref } from "vue";
|
|
3
|
+
import { Info } 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";
|
|
@@ -55,7 +56,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
56
|
}, {
|
|
56
57
|
reference: withCtx(() => [
|
|
57
58
|
createElementVNode("span", _hoisted_5, [
|
|
58
|
-
createVNode(_sfc_main$1, {
|
|
59
|
+
createVNode(_sfc_main$1, {
|
|
60
|
+
icon: unref(Info),
|
|
61
|
+
class: "icon-base"
|
|
62
|
+
}, null, 8, ["icon"])
|
|
59
63
|
])
|
|
60
64
|
]),
|
|
61
65
|
default: withCtx(() => [
|
|
@@ -39,8 +39,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
39
|
const maxHeightProperty = computed(() => {
|
|
40
40
|
return props.maxHeight ? convertToUnit(props.maxHeight) : void 0;
|
|
41
41
|
});
|
|
42
|
+
const editorRoot = ref(null);
|
|
42
43
|
const previewDocument = computed(() => {
|
|
43
|
-
return buildHtmlPreviewDocument(localModel.value || "");
|
|
44
|
+
return buildHtmlPreviewDocument(localModel.value || "", editorRoot.value);
|
|
44
45
|
});
|
|
45
46
|
function getEditorView() {
|
|
46
47
|
var _a;
|
|
@@ -148,6 +149,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
149
|
);
|
|
149
150
|
return (_ctx, _cache) => {
|
|
150
151
|
return openBlock(), createElementBlock("div", {
|
|
152
|
+
ref_key: "editorRoot",
|
|
153
|
+
ref: editorRoot,
|
|
151
154
|
class: normalizeClass(["vc-html-editor__wrapper", {
|
|
152
155
|
"is--scrollable": maxHeightProperty.value
|
|
153
156
|
}]),
|
|
@@ -16,17 +16,17 @@ import _sfc_main$3 from "../VcIcon/VcIcon.vue.mjs";
|
|
|
16
16
|
import { Heading, FileCode2, Bold, Italic, Link, Square, AlignEndVertical, Braces, ChevronRight, Check, Copy, CodeXml, Eye } from "@lucide/vue";
|
|
17
17
|
const _hoisted_1 = { class: "vc-html-editor__toolbar flex items-center justify-between gap-2 w-full" };
|
|
18
18
|
const _hoisted_2 = { class: "flex items-center gap-1" };
|
|
19
|
-
const _hoisted_3 = { class: "p-2 rounded divide-y divide-
|
|
19
|
+
const _hoisted_3 = { class: "p-2 rounded-popup divide-y divide-border" };
|
|
20
20
|
const _hoisted_4 = { class: "w-full flex items-center gap-2" };
|
|
21
|
-
const _hoisted_5 = { class: "p-2 rounded divide-y divide-
|
|
21
|
+
const _hoisted_5 = { class: "p-2 rounded-popup divide-y divide-border" };
|
|
22
22
|
const _hoisted_6 = { class: "w-full flex items-center gap-2" };
|
|
23
23
|
const _hoisted_7 = { class: "flex items-center gap-1" };
|
|
24
|
-
const _hoisted_8 = { class: "p-2 rounded divide-y divide-
|
|
24
|
+
const _hoisted_8 = { class: "p-2 rounded-popup divide-y divide-border max-h-96 overflow-x-auto" };
|
|
25
25
|
const _hoisted_9 = { class: "w-full flex items-center gap-2" };
|
|
26
26
|
const _hoisted_10 = { class: "capitalize" };
|
|
27
27
|
const _hoisted_11 = { class: "w-full flex items-center gap-2" };
|
|
28
28
|
const _hoisted_12 = { class: "capitalize flex-grow text-start" };
|
|
29
|
-
const _hoisted_13 = { class: "p-2 rounded divide-y divide-
|
|
29
|
+
const _hoisted_13 = { class: "p-2 rounded-popup divide-y divide-border" };
|
|
30
30
|
const _hoisted_14 = { class: "py-0.5" };
|
|
31
31
|
const _hoisted_15 = { class: "py-0.5" };
|
|
32
32
|
const _hoisted_16 = { class: "py-0.5" };
|
|
@@ -78,19 +78,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
78
|
}, {
|
|
79
79
|
reference: withCtx(() => [
|
|
80
80
|
createVNode(_sfc_main$2, {
|
|
81
|
-
size: "small",
|
|
82
81
|
type: "borderless",
|
|
82
|
+
icon: unref(Heading),
|
|
83
83
|
disabled: toolbarDisabled.value
|
|
84
84
|
}, {
|
|
85
|
-
default: withCtx(() => [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
class: "mr-1"
|
|
89
|
-
}, null, 8, ["icon"]),
|
|
90
|
-
_cache[7] || (_cache[7] = createElementVNode("span", { class: "hidden md:inline-flex" }, "Text", -1))
|
|
91
|
-
]),
|
|
85
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
86
|
+
createElementVNode("span", { class: "hidden md:inline-flex" }, "Text", -1)
|
|
87
|
+
])]),
|
|
92
88
|
_: 1
|
|
93
|
-
}, 8, ["disabled"])
|
|
89
|
+
}, 8, ["icon", "disabled"])
|
|
94
90
|
]),
|
|
95
91
|
default: withCtx(() => [
|
|
96
92
|
createElementVNode("div", _hoisted_3, [
|
|
@@ -133,19 +129,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
133
129
|
}, {
|
|
134
130
|
reference: withCtx(() => [
|
|
135
131
|
createVNode(_sfc_main$2, {
|
|
136
|
-
size: "small",
|
|
137
132
|
type: "borderless",
|
|
133
|
+
icon: unref(FileCode2),
|
|
138
134
|
disabled: toolbarDisabled.value
|
|
139
135
|
}, {
|
|
140
|
-
default: withCtx(() => [
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
class: "mr-1"
|
|
144
|
-
}, null, 8, ["icon"]),
|
|
145
|
-
_cache[8] || (_cache[8] = createElementVNode("span", { class: "hidden md:inline-flex" }, "Insert", -1))
|
|
146
|
-
]),
|
|
136
|
+
default: withCtx(() => [..._cache[8] || (_cache[8] = [
|
|
137
|
+
createElementVNode("span", { class: "hidden md:inline-flex" }, "Insert", -1)
|
|
138
|
+
])]),
|
|
147
139
|
_: 1
|
|
148
|
-
}, 8, ["disabled"])
|
|
140
|
+
}, 8, ["icon", "disabled"])
|
|
149
141
|
]),
|
|
150
142
|
default: withCtx(() => [
|
|
151
143
|
createElementVNode("div", _hoisted_5, [
|
|
@@ -257,19 +249,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
257
249
|
}, {
|
|
258
250
|
reference: withCtx(() => [
|
|
259
251
|
createVNode(_sfc_main$2, {
|
|
260
|
-
size: "small",
|
|
261
252
|
type: "borderless",
|
|
253
|
+
icon: unref(Braces),
|
|
262
254
|
disabled: toolbarDisabled.value
|
|
263
255
|
}, {
|
|
264
|
-
default: withCtx(() => [
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
class: "mr-1"
|
|
268
|
-
}, null, 8, ["icon"]),
|
|
269
|
-
_cache[9] || (_cache[9] = createTextVNode(" Parameters ", -1))
|
|
270
|
-
]),
|
|
256
|
+
default: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
257
|
+
createTextVNode(" Parameters ", -1)
|
|
258
|
+
])]),
|
|
271
259
|
_: 1
|
|
272
|
-
}, 8, ["disabled"])
|
|
260
|
+
}, 8, ["icon", "disabled"])
|
|
273
261
|
]),
|
|
274
262
|
default: withCtx(() => [
|
|
275
263
|
createElementVNode("div", _hoisted_8, [
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { themeColor } from "../../utils/themeColor.mjs";
|
|
1
2
|
import { Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Image, Table, Code } from "@lucide/vue";
|
|
2
3
|
const htmlHeadingMenuItems = [
|
|
3
4
|
{
|
|
@@ -69,15 +70,17 @@ function getHtmlInsertAnchorOffset(action) {
|
|
|
69
70
|
function escapeHtmlAttribute(value) {
|
|
70
71
|
return value.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">");
|
|
71
72
|
}
|
|
72
|
-
function buildPreviewStyleTag() {
|
|
73
|
+
function buildPreviewStyleTag(element) {
|
|
74
|
+
const accent = themeColor("--vc-action-primary", element);
|
|
75
|
+
const radius = themeColor("--vc-radius-inner", element);
|
|
73
76
|
return `<style>
|
|
74
77
|
.vc-html-preview-parameter {
|
|
75
78
|
display: inline-flex;
|
|
76
79
|
align-items: center;
|
|
77
|
-
border-radius:
|
|
78
|
-
border: 1px dashed
|
|
79
|
-
background:
|
|
80
|
-
color:
|
|
80
|
+
border-radius: ${radius};
|
|
81
|
+
border: 1px dashed ${accent};
|
|
82
|
+
background: color-mix(in srgb, ${accent} 8%, transparent);
|
|
83
|
+
color: ${accent};
|
|
81
84
|
padding: 0 6px;
|
|
82
85
|
line-height: 1.6;
|
|
83
86
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
@@ -86,8 +89,8 @@ function buildPreviewStyleTag() {
|
|
|
86
89
|
}
|
|
87
90
|
</style>`;
|
|
88
91
|
}
|
|
89
|
-
function injectPreviewStyles(html) {
|
|
90
|
-
const previewStyleTag = buildPreviewStyleTag();
|
|
92
|
+
function injectPreviewStyles(html, element) {
|
|
93
|
+
const previewStyleTag = buildPreviewStyleTag(element);
|
|
91
94
|
if (/<\/head>/i.test(html)) {
|
|
92
95
|
return html.replace(/<\/head>/i, `${previewStyleTag}</head>`);
|
|
93
96
|
}
|
|
@@ -105,13 +108,13 @@ function replacePreviewParameters(html) {
|
|
|
105
108
|
return `<span class="vc-html-preview-parameter" data-parameter-token="${safeToken}" title="${safeFullMatch}">${safeFullMatch}</span>`;
|
|
106
109
|
});
|
|
107
110
|
}
|
|
108
|
-
function buildHtmlPreviewDocument(htmlSource) {
|
|
111
|
+
function buildHtmlPreviewDocument(htmlSource, element) {
|
|
109
112
|
const hasHtmlTag = /<html[\s>]/i.test(htmlSource);
|
|
110
113
|
const sourceWithPreviewParameters = replacePreviewParameters(htmlSource);
|
|
111
114
|
if (hasHtmlTag) {
|
|
112
|
-
return injectPreviewStyles(sourceWithPreviewParameters);
|
|
115
|
+
return injectPreviewStyles(sourceWithPreviewParameters, element);
|
|
113
116
|
}
|
|
114
|
-
return `<!DOCTYPE html><html><head><meta charset="UTF-8">${buildPreviewStyleTag()}</head><body>${sourceWithPreviewParameters}</body></html>`;
|
|
117
|
+
return `<!DOCTYPE html><html><head><meta charset="UTF-8">${buildPreviewStyleTag(element)}</head><body>${sourceWithPreviewParameters}</body></html>`;
|
|
115
118
|
}
|
|
116
119
|
function getParameterDisplayLabel(parameter) {
|
|
117
120
|
return parameter.label || parameter.tag;
|
|
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
return (_ctx, _cache) => {
|
|
28
28
|
return openBlock(), createBlock(resolveDynamicComponent(__props.type === "internal" ? "router-link" : "a"), normalizeProps({
|
|
29
29
|
[attributeName.value || ""]: __props.href,
|
|
30
|
-
class: [[__props.color, textSize.value], "vc-hyper-link no-underline inline-flex gap-1 justify-center items-center pb-0.
|
|
30
|
+
class: [[__props.color, textSize.value], "vc-hyper-link no-underline inline-flex gap-1 justify-center items-center pb-0.5 border-b-[0.1em] border-solid"],
|
|
31
31
|
target: __props.type === "internal" ? "_self" : "_target",
|
|
32
32
|
"data-test": __props.dataTestName
|
|
33
33
|
}), {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../assets/components/VcImageUploader/VcImageUploader.css';
|
|
2
2
|
import { defineComponent, ref, computed, openBlock, createElementBlock, createElementVNode, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, unref, TransitionGroup, createBlock, createCommentVNode, Fragment } from "vue";
|
|
3
|
+
import { CloudUpload, Minus, Plus, RotateCw, RotateCcw, Undo2, Save } from "@lucide/vue";
|
|
3
4
|
import { getMimeTypeFromBuffer } from "../../utils/mime-types.mjs";
|
|
4
5
|
import { Cropper, Preview } from "vue-advanced-cropper";
|
|
5
6
|
import _sfc_main$1 from "../VcButton/VcButton.vue.mjs";
|
|
@@ -17,12 +18,12 @@ const _hoisted_4 = { class: "vc-image-uploader__content-header" };
|
|
|
17
18
|
const _hoisted_5 = { class: "vc-image-uploader__cropper-content" };
|
|
18
19
|
const _hoisted_6 = { class: "cropper-block relative" };
|
|
19
20
|
const _hoisted_7 = { key: 1 };
|
|
20
|
-
const _hoisted_8 = { class: "overflow-hidden relative rounded-
|
|
21
|
+
const _hoisted_8 = { class: "overflow-hidden relative rounded-control" };
|
|
21
22
|
const _hoisted_9 = { class: "cropper-block__actions" };
|
|
22
23
|
const _hoisted_10 = { class: "flex items-center py-3" };
|
|
23
24
|
const _hoisted_11 = { class: "flex items-center py-3" };
|
|
24
25
|
const _hoisted_12 = { class: "preview-block" };
|
|
25
|
-
const _hoisted_13 = { class: "font-
|
|
26
|
+
const _hoisted_13 = { class: "font-medium text-sm" };
|
|
26
27
|
const _hoisted_14 = {
|
|
27
28
|
class: "flex items-end flex-wrap my-2 relative",
|
|
28
29
|
style: { "min-height": "36px" }
|
|
@@ -40,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
41
|
props: {
|
|
41
42
|
buttonType: { default: DEFAULT_UPLOAD_TYPE },
|
|
42
43
|
buttonColor: { default: DEFAULT_UPLOAD_COLOR },
|
|
43
|
-
icon: { default:
|
|
44
|
+
icon: { default: () => CloudUpload },
|
|
44
45
|
contentTitle: { default: "" },
|
|
45
46
|
previewTitle: { default: "" }
|
|
46
47
|
},
|
|
@@ -237,19 +238,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
237
238
|
size: "large",
|
|
238
239
|
color: "secondary",
|
|
239
240
|
type: "outline",
|
|
240
|
-
icon:
|
|
241
|
+
icon: unref(Undo2),
|
|
241
242
|
onClick: closeDialog
|
|
242
243
|
}, {
|
|
243
244
|
default: withCtx(() => [
|
|
244
245
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.cancel")), 1)
|
|
245
246
|
]),
|
|
246
247
|
_: 1
|
|
247
|
-
})
|
|
248
|
+
}, 8, ["icon"])
|
|
248
249
|
]),
|
|
249
250
|
createElementVNode("div", _hoisted_20, [
|
|
250
251
|
createVNode(_sfc_main$1, {
|
|
251
252
|
size: "large",
|
|
252
|
-
icon:
|
|
253
|
+
icon: unref(Save),
|
|
253
254
|
block: "",
|
|
254
255
|
onClick: onSaveHandler
|
|
255
256
|
}, {
|
|
@@ -257,7 +258,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
257
258
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.save")), 1)
|
|
258
259
|
]),
|
|
259
260
|
_: 1
|
|
260
|
-
})
|
|
261
|
+
}, 8, ["icon"])
|
|
261
262
|
])
|
|
262
263
|
])
|
|
263
264
|
]),
|
|
@@ -305,13 +306,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
305
306
|
class: "px-1 cursor-pointer",
|
|
306
307
|
onClick: _cache[0] || (_cache[0] = ($event) => zoom(0.5))
|
|
307
308
|
}, [
|
|
308
|
-
createVNode(_sfc_main$4, {
|
|
309
|
+
createVNode(_sfc_main$4, {
|
|
310
|
+
icon: unref(Minus),
|
|
311
|
+
class: "icon-lg"
|
|
312
|
+
}, null, 8, ["icon"])
|
|
309
313
|
]),
|
|
310
314
|
createElementVNode("span", {
|
|
311
315
|
class: "px-1 cursor-pointer",
|
|
312
316
|
onClick: _cache[1] || (_cache[1] = ($event) => zoom(1.5))
|
|
313
317
|
}, [
|
|
314
|
-
createVNode(_sfc_main$4, {
|
|
318
|
+
createVNode(_sfc_main$4, {
|
|
319
|
+
icon: unref(Plus),
|
|
320
|
+
class: "icon-lg"
|
|
321
|
+
}, null, 8, ["icon"])
|
|
315
322
|
])
|
|
316
323
|
]),
|
|
317
324
|
createElementVNode("div", _hoisted_11, [
|
|
@@ -319,13 +326,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
319
326
|
class: "px-1 cursor-pointer",
|
|
320
327
|
onClick: _cache[2] || (_cache[2] = ($event) => rotate(90))
|
|
321
328
|
}, [
|
|
322
|
-
createVNode(_sfc_main$4, {
|
|
329
|
+
createVNode(_sfc_main$4, {
|
|
330
|
+
icon: unref(RotateCw),
|
|
331
|
+
class: "icon-lg"
|
|
332
|
+
}, null, 8, ["icon"])
|
|
323
333
|
]),
|
|
324
334
|
createElementVNode("span", {
|
|
325
335
|
class: "px-1 cursor-pointer",
|
|
326
336
|
onClick: _cache[3] || (_cache[3] = ($event) => rotate(-90))
|
|
327
337
|
}, [
|
|
328
|
-
createVNode(_sfc_main$4, {
|
|
338
|
+
createVNode(_sfc_main$4, {
|
|
339
|
+
icon: unref(RotateCcw),
|
|
340
|
+
class: "icon-lg"
|
|
341
|
+
}, null, 8, ["icon"])
|
|
329
342
|
])
|
|
330
343
|
])
|
|
331
344
|
])
|
|
@@ -356,7 +369,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
356
369
|
height: 36,
|
|
357
370
|
image: result.value.image,
|
|
358
371
|
coordinates: result.value.coordinates,
|
|
359
|
-
class: "rounded-
|
|
372
|
+
class: "rounded-inner transition-all duration-300"
|
|
360
373
|
}, null, 8, ["image", "coordinates"])
|
|
361
374
|
]),
|
|
362
375
|
createElementVNode("div", _hoisted_16, [
|
|
@@ -378,14 +391,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
378
391
|
type: "outline",
|
|
379
392
|
loading: loading.value,
|
|
380
393
|
color: __props.buttonColor,
|
|
381
|
-
icon:
|
|
394
|
+
icon: unref(RotateCw),
|
|
382
395
|
onClick: openExplorer
|
|
383
396
|
}, {
|
|
384
397
|
default: withCtx(() => [
|
|
385
398
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.uploader.change.image")), 1)
|
|
386
399
|
]),
|
|
387
400
|
_: 1
|
|
388
|
-
}, 8, ["loading", "color"])
|
|
401
|
+
}, 8, ["loading", "color", "icon"])
|
|
389
402
|
])
|
|
390
403
|
])
|
|
391
404
|
])
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createVNode, normalizeStyle, normalizeClass, createCommentVNode } from "vue";
|
|
2
|
+
import { X } from "@lucide/vue";
|
|
2
3
|
import { ElInput } from "element-plus";
|
|
3
4
|
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
5
|
import '../../assets/components/VcInput/VcInput.css';/* empty css */
|
|
@@ -156,9 +157,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
156
157
|
fn: withCtx(() => [
|
|
157
158
|
modelInput.value && !__props.disabled && !__props.readonly ? (openBlock(), createBlock(_sfc_main$1, {
|
|
158
159
|
key: 0,
|
|
159
|
-
icon:
|
|
160
|
+
icon: unref(X),
|
|
161
|
+
class: "icon-xs vc-input__clear",
|
|
160
162
|
onClick: onClear
|
|
161
|
-
})) : createCommentVNode("", true)
|
|
163
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
162
164
|
]),
|
|
163
165
|
key: "1"
|
|
164
166
|
} : void 0
|