@voicenter-team/voicenter-ui-plus 3.4.7 → 4.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +457 -11
- package/library/assets/assets/sass/main.css +1 -1
- package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunMetrics.css +1 -0
- package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunRow.css +1 -0
- package/library/assets/components/VcAgentRun/VcAgentRunCard.css +1 -0
- package/library/assets/components/VcAgentRun/VcAgentRunGroup.css +1 -0
- package/library/assets/components/VcAiReasoning/VcAiReasoning.css +1 -0
- package/library/assets/components/VcApprovalCard/VcApprovalCard.css +1 -0
- package/library/assets/components/VcAskUserCard/VcAskUserCard.css +1 -0
- package/library/assets/components/VcAutocomplete/VcAutocomplete.css +1 -1
- package/library/assets/components/VcAvatar/VcAvatar.css +1 -1
- package/library/assets/components/VcBadgeTag/VcBadgeTag.css +1 -1
- package/library/assets/components/VcButton/VcButton.css +1 -1
- package/library/assets/components/VcButton/VcButtonIcon.css +1 -1
- package/library/assets/components/VcButton/VcToggleButton.css +1 -1
- package/library/assets/components/VcCard/VcCard.css +1 -1
- package/library/assets/components/VcChatComposer/VcChatComposer.css +1 -1
- package/library/assets/components/VcCheckbox/VcCheckbox.css +1 -1
- package/library/assets/components/VcCheckbox/VcCheckboxButton.css +1 -1
- package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -1
- package/library/assets/components/VcCollapse/VcCollapseItem.css +1 -1
- package/library/assets/components/VcColorPicker/VcColorPicker.css +1 -1
- package/library/assets/components/VcDatePicker/VcDatePicker.css +1 -1
- package/library/assets/components/VcDatePickerPanel/VcDatePickerPanel.css +1 -1
- package/library/assets/components/VcDatetimeRangePicker/VcDatetimeRangePicker.css +1 -1
- package/library/assets/components/VcDropdown/VcDropdown.css +1 -1
- package/library/assets/components/VcDropdown/VcDropdownItem.css +1 -1
- package/library/assets/components/VcEmojiPicker/VcEmojiPicker.css +1 -1
- package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.css +1 -1
- package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileItem.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderArea.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
- package/library/assets/components/VcForm/UiComponents/VcInputError.css +1 -1
- package/library/assets/components/VcForm/UiComponents/VcInputLabel.css +1 -1
- package/library/assets/components/VcForm/VcFormItem.css +1 -1
- package/library/assets/components/VcHtmlEditor/VcHtmlEditor.css +1 -1
- package/library/assets/components/VcHyperLink/VcHyperLink.css +1 -1
- package/library/assets/components/VcIconPicker/VcIconPicker.css +1 -1
- package/library/assets/components/VcImageUploader/VcImageUploader.css +1 -1
- package/library/assets/components/VcInput/VcInput.css +1 -1
- package/library/assets/components/VcInputNumber/VcInputNumber.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonCodeMirror.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
- package/library/assets/components/VcJsonSchema/VcJsonSchema.css +1 -1
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerCards.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerFields.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerMore.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerObject.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerSections.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerState.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerTable.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerTree.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerValue.css +1 -0
- package/library/assets/components/VcJsonViewer/VcJsonViewer.css +1 -0
- package/library/assets/components/VcLightbox/VcLightbox.css +1 -0
- package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
- package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
- package/library/assets/components/VcLoading/VcLoading.css +1 -1
- package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
- package/library/assets/components/VcMdEditor/VcMdEditorContent.css +1 -1
- package/library/assets/components/VcMessage/VcMessage.css +1 -1
- package/library/assets/components/VcMessage/VcMessageMeta.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageFileBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageImageBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageMarkdownBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageTextBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageVideoBlock.css +1 -0
- package/library/assets/components/VcMessage/reactions/VcMessageEmojiPicker.css +1 -1
- package/library/assets/components/VcMessage/reactions/VcMessageReactionBar.css +1 -1
- package/library/assets/components/VcMessagesWrapper/VcMessagesWrapper.css +1 -1
- package/library/assets/components/VcMeterGroup/VcMeterGroup.css +1 -1
- package/library/assets/components/VcModal/VcModal.css +1 -1
- package/library/assets/components/VcNotification/VcNotification.css +1 -1
- package/library/assets/components/VcOtpInput/VcOtpInput.css +1 -1
- package/library/assets/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.css +1 -0
- package/library/assets/components/VcPdfViewer/VcPdfDocument.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfDocumentCard.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfDocumentViewerFooter.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfViewer.css +1 -0
- package/library/assets/components/VcPhoneInput/VcFlagLabel.css +1 -1
- package/library/assets/components/VcPhoneInput/VcPhoneInput.css +1 -1
- package/library/assets/components/VcPopover/VcConfirmPopover.css +1 -1
- package/library/assets/components/VcPopover/VcPopover.css +1 -1
- package/library/assets/components/VcPopover/VcSelectPopover.css +1 -1
- package/library/assets/components/VcProgress/VcProgress.css +1 -1
- package/library/assets/components/VcProgress/VcProgressCircular.css +1 -1
- package/library/assets/components/VcRadio/VcRadio.css +1 -1
- package/library/assets/components/VcRadioButtons/VcRadioButtonsGroup.css +1 -1
- package/library/assets/components/VcRadioGroup/VcRadioGroup.css +1 -1
- package/library/assets/components/VcRadioTabs/UiComponents/VcRadioTabsNav.css +1 -1
- package/library/assets/components/VcRadioTabs/VcRadioTabs.css +1 -1
- package/library/assets/components/VcSegmented/VcSegmented.css +1 -1
- package/library/assets/components/VcSelect/VcSelect.css +1 -1
- package/library/assets/components/VcSelect/VcSelectOption.css +1 -1
- package/library/assets/components/VcSipFlow/VcSipFlow.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
- package/library/assets/components/VcSlider/VcSlider.css +1 -1
- package/library/assets/components/VcSoundplayer/VcPlayerPlaybackRate.css +1 -1
- package/library/assets/components/VcSoundplayer/VcSoundPlayerMarker.css +1 -1
- package/library/assets/components/VcSplitButton/VcSplitButton.css +1 -1
- package/library/assets/components/VcSwitch/VcSwitch.css +1 -1
- package/library/assets/components/VcSystemUserPrompt/VcSystemUserPrompt.css +1 -1
- package/library/assets/components/VcTable/VcTable.css +1 -1
- package/library/assets/components/VcTable/VcTable2.css +1 -1
- package/library/assets/components/VcTabs/VcTabNav.css +1 -1
- package/library/assets/components/VcTabs/VcTabs.css +1 -1
- package/library/assets/components/VcTag/VcTag.css +1 -1
- package/library/assets/components/VcTagInput/VcTagInput.css +1 -1
- package/library/assets/components/VcTimeInput/VcTimeInput.css +1 -1
- package/library/assets/components/VcToolCall/UiComponents/VcToolCallValue.css +1 -0
- package/library/assets/components/VcToolCall/VcToolCall.css +1 -0
- package/library/assets/components/VcTour/VcTour.css +1 -1
- package/library/assets/components/VcTransfer/VcTransfer.css +1 -1
- package/library/assets/components/VcTree/VcTree.css +1 -1
- package/library/assets/components/VcTree/VcTreeSelect.css +1 -1
- package/library/assets/components/VcVerticalTabs/VcVerticalTabs.css +1 -1
- package/library/assets/components/VcVerticalTabs/VerticalTabNav.css +1 -1
- package/library/assets/components/VcViewSwitcher/VcViewSwitcher.css +1 -1
- package/library/assets/components/VcWizard/VcSummaryProgress.css +1 -1
- package/library/assets/components/VcWizard/VcWizard.css +1 -1
- package/library/assets/components/VcWizard/VcWizardNavigation.css +1 -1
- package/library/assets/components/VcWizard/VcWizardSummary.css +1 -1
- package/library/assets/entity/components/Form/VcBaseVerticalForm.css +1 -1
- package/library/assets/entity/components/Table/VcEntityListTable.css +1 -1
- package/library/assets/entity/components/Tabs/VcEntityEditableTabs.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/autocomplete.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/base.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/button.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/checkbox.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/image-viewer.css +1 -0
- package/library/assets/node_modules/element-plus/theme-chalk/src/input-number.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/input.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/option.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/popover.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/popper.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/radio-button.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/radio.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/select.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/tree.css +1 -1
- package/library/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.mjs +110 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue3.mjs +5 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.mjs +70 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunRow.vue3.mjs +5 -0
- package/library/components/VcAgentRun/VcAgentRunCard.vue.mjs +423 -0
- package/library/components/VcAgentRun/VcAgentRunCard.vue3.mjs +5 -0
- package/library/components/VcAgentRun/VcAgentRunGroup.vue.mjs +210 -0
- package/library/components/VcAgentRun/VcAgentRunGroup.vue3.mjs +5 -0
- package/library/components/VcAgentRun/agentRunStatus.mjs +39 -0
- package/library/components/VcAiReasoning/VcAiReasoning.vue.mjs +227 -0
- package/library/components/VcAiReasoning/VcAiReasoning.vue3.mjs +5 -0
- package/library/components/VcApprovalCard/VcApprovalCard.vue.mjs +419 -0
- package/library/components/VcApprovalCard/VcApprovalCard.vue3.mjs +5 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.mjs +69 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.mjs +177 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.mjs +98 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.mjs +142 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.mjs +156 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserText.vue.mjs +76 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserText.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/VcAskUserCard.vue.mjs +382 -0
- package/library/components/VcAskUserCard/VcAskUserCard.vue3.mjs +5 -0
- package/library/components/VcAskUserCard/askUserAnswers.mjs +224 -0
- package/library/components/VcAutocomplete/VcAutocomplete.vue.mjs +4 -2
- package/library/components/VcAvatar/VcAvatar.vue.mjs +3 -3
- package/library/components/VcBadgeTag/VcBadgeTag.vue.mjs +8 -5
- package/library/components/VcButton/VcButton.vue.mjs +10 -4
- package/library/components/VcButton/VcButtonIcon.vue.mjs +3 -4
- package/library/components/VcButton/VcToggleButton.vue.mjs +5 -4
- package/library/components/VcChatComposer/VcChatComposer.vue.mjs +182 -68
- package/library/components/VcChatComposer/richText.mjs +8 -0
- package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
- package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
- package/library/components/VcCodeBlock/VcCodeBlock.vue.mjs +27 -35
- package/library/components/VcCollapse/VcCollapseItem.vue.mjs +12 -7
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +41 -12
- package/library/components/VcDatePickerPanel/VcDatePickerPanel.vue.mjs +49 -32
- package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
- package/library/components/VcExcelUploader/VcExcelFileProcessLoader.vue.mjs +2 -2
- package/library/components/VcExcelUploader/VcExcelFileUploadBlock.vue.mjs +11 -7
- package/library/components/VcExcelUploader/VcExcelFileUploader.vue.mjs +8 -6
- package/library/components/VcExcelUploader/VcFileImportErrorsCard.vue.mjs +8 -4
- package/library/components/VcExcelUploader/VcFileImportParseResultBlock.vue.mjs +2 -1
- package/library/components/VcExcelUploader/VcFileImportResultBindData.vue.mjs +1 -1
- package/library/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.mjs +13 -12
- package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.mjs +6 -5
- package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.mjs +4 -3
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.mjs +7 -3
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.mjs +3 -2
- package/library/components/VcFileUploader/VcFileItem.vue.mjs +59 -31
- package/library/components/VcFileUploader/VcFileUploader.vue.mjs +2 -1
- package/library/components/VcFileUploader/VcFileUploaderArea.vue.mjs +2 -2
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue2.mjs +2 -1
- package/library/components/VcFileUploader/VcSimpleUploaderAction.vue.mjs +4 -3
- package/library/components/VcForm/UiComponents/VcInputLabel.vue.mjs +6 -2
- package/library/components/VcForm/VcForm.vue.mjs +1 -1
- package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
- package/library/components/VcHtmlEditor/VcHtmlEditor.vue.mjs +4 -1
- package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +20 -32
- package/library/components/VcHtmlEditor/htmlEditor.config.mjs +13 -10
- package/library/components/VcHyperLink/VcHyperLink.vue.mjs +1 -1
- package/library/components/VcIconPicker/VcIconPicker.vue.mjs +1 -1
- package/library/components/VcImageUploader/VcImageUploader.vue.mjs +27 -14
- package/library/components/VcInput/VcInput.vue.mjs +5 -3
- package/library/components/VcInputNumber/VcInputNumber.vue.mjs +29 -4
- package/library/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.mjs +5 -4
- package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -2
- package/library/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.mjs +6 -9
- package/library/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.mjs +9 -10
- package/library/components/VcJsonSchema/VcJsonSchema.vue.mjs +0 -1
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.mjs +98 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.mjs +164 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.mjs +50 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.mjs +25 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.mjs +64 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.mjs +53 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.mjs +104 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.mjs +45 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.mjs +259 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.mjs +179 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.mjs +146 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/VcJsonViewer.vue.mjs +454 -0
- package/library/components/VcJsonViewer/VcJsonViewer.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/jsonViewerText.mjs +41 -0
- package/library/components/VcJsonViewer/jsonViewerUtils.mjs +568 -0
- package/library/components/VcJsonViewer/useJsonViewerContext.mjs +25 -0
- package/library/components/VcLightbox/VcLightbox.vue.mjs +417 -0
- package/library/components/VcLightbox/VcLightbox.vue3.mjs +5 -0
- package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Circles.vue2.mjs +3 -2
- package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +5 -4
- package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LdsSpinner.vue2.mjs +3 -2
- package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LoadIcon.vue2.mjs +5 -4
- package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +4 -3
- package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue2.mjs +3 -3
- package/library/components/VcMdEditor/VcMdEditor.vue.mjs +38 -13
- package/library/components/VcMdEditor/VcMdEditorContent.vue.mjs +10 -0
- package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +7 -7
- package/library/components/VcMdEditor/ltrNumbersPlugin.mjs +55 -0
- package/library/components/VcMdEditor/readonlyMarkdown.mjs +81 -0
- package/library/components/VcMdEditor/streamingInterval.mjs +12 -0
- package/library/components/VcMessage/VcMessage.vue.mjs +109 -51
- package/library/components/VcMessage/VcMessageMeta.vue.mjs +49 -0
- package/library/components/VcMessage/VcMessageMeta.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageAudioBlock.vue.mjs +3 -9
- package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +99 -14
- package/library/components/VcMessage/content/VcMessageImageBlock.vue.mjs +1 -1
- package/library/components/VcMessage/content/VcMessageMarkdownBlock.vue.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageMarkdownBlock.vue2.mjs +33 -0
- package/library/components/VcMessage/content/VcMessageTextBlock.vue.mjs +21 -3
- package/library/components/VcMessage/content/VcMessageVideoBlock.vue.mjs +60 -0
- package/library/components/VcMessage/content/VcMessageVideoBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/formatDuration.mjs +10 -0
- package/library/components/VcMessage/content/markdownPreview.mjs +32 -0
- package/library/components/VcMessage/content/messageContentComponents.mjs +11 -6
- package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
- package/library/components/VcMessagesWrapper/VcMessagesWrapper.vue.mjs +261 -89
- package/library/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.mjs +103 -0
- package/library/components/VcMessagesWrapper/VcMessagesWrapperRow.vue2.mjs +4 -0
- package/library/components/VcMeterGroup/VcMeterGroup.vue.mjs +1 -1
- package/library/components/VcModal/VcConfirmModal.vue.mjs +10 -9
- package/library/components/VcModal/VcModal.vue.mjs +21 -22
- package/library/components/VcNotification/VcNotification.vue.mjs +2 -2
- package/library/components/VcNotification/VcNotificationMessage.vue.mjs +14 -11
- package/library/components/VcPagination/VcPagination.vue.mjs +5 -4
- package/library/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.mjs +166 -0
- package/library/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue3.mjs +5 -0
- package/library/components/VcPdfViewer/VcPdfDocument.vue.mjs +12 -76
- package/library/components/VcPdfViewer/VcPdfDocumentCard.vue.mjs +18 -8
- package/library/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.mjs +23 -7
- package/library/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.mjs +23 -10
- package/library/components/VcPdfViewer/VcPdfViewer.vue.mjs +581 -0
- package/library/components/VcPdfViewer/VcPdfViewer.vue3.mjs +5 -0
- package/library/components/VcPdfViewer/pdfDocumentActions.mjs +90 -0
- package/library/components/VcPdfViewer/pdfDocumentParams.mjs +11 -0
- package/library/components/VcPdfViewer/pdfStandardFonts.mjs +21 -0
- package/library/components/VcPdfViewer/standard_fonts/FoxitDingbats.pfb +0 -0
- package/library/components/VcPdfViewer/standard_fonts/FoxitSymbol.pfb +0 -0
- package/library/components/VcPdfViewer/standard_fonts/LICENSE_FOXIT +27 -0
- package/library/components/VcPhoneInput/VcPhoneInput.vue.mjs +12 -6
- package/library/components/VcPopover/VcConfirmPopover.vue.mjs +3 -3
- package/library/components/VcPopover/VcSelectPopover.vue.mjs +2 -1
- package/library/components/VcProgress/VcProgress.vue.mjs +11 -20
- package/library/components/VcProgress/VcProgressCircular.vue.mjs +14 -23
- package/library/components/VcProgress/progress.options.mjs +21 -21
- package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
- package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +13 -7
- package/library/components/VcSelect/VcSelect.vue.mjs +19 -20
- package/library/components/VcSelect/VcSelectGrouped.vue.mjs +8 -5
- package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue2.mjs +1 -1
- package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcPlayerPlayStopButton.vue.mjs +7 -6
- package/library/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.mjs +2 -2
- package/library/components/VcSoundplayer/VcPlayerSkipButtons.vue.mjs +5 -4
- package/library/components/VcSoundplayer/VcSoundPlayer.vue.mjs +26 -23
- package/library/components/VcSoundplayer/VcSoundPlayerError.vue.mjs +5 -4
- package/library/components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerProgress.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +5 -3
- package/library/components/VcSoundplayer/VcSoundVolume.vue.mjs +5 -4
- package/library/components/VcSoundplayer/player.options.mjs +13 -5
- package/library/components/VcSparkline/VcBarLine.vue.mjs +2 -2
- package/library/components/VcSparkline/VcTrendLine.vue.mjs +2 -2
- package/library/components/VcSplitButton/VcSplitButton.vue.mjs +18 -19
- package/library/components/VcSwitch/VcSwitch.vue.mjs +1 -1
- package/library/components/VcTable/VcTable.vue.mjs +18 -11
- package/library/components/VcTabs/VcTabNav.vue.mjs +11 -9
- package/library/components/VcTag/VcTag.vue.mjs +6 -4
- package/library/components/VcTagInput/VcTagInput.vue.mjs +10 -7
- package/library/components/VcTimeInput/VcTimeInput.vue.mjs +18 -8
- package/library/components/VcToolCall/UiComponents/VcToolCallValue.vue.mjs +64 -0
- package/library/components/VcToolCall/UiComponents/VcToolCallValue.vue3.mjs +5 -0
- package/library/components/VcToolCall/VcToolCall.vue.mjs +328 -0
- package/library/components/VcToolCall/VcToolCall.vue3.mjs +5 -0
- package/library/components/VcTree/VcTree.vue.mjs +8 -4
- package/library/components/VcTree/VcTreeSelect.vue.mjs +11 -7
- package/library/components/VcWizard/VcSummaryProgress.vue.mjs +10 -7
- package/library/components/VcWizard/VcSummaryStep.vue.mjs +8 -4
- package/library/components/VcWizard/VcWizardNavigation.vue.mjs +12 -8
- package/library/composables/input/useInputColor.mjs +3 -3
- package/library/composables/useElapsed.mjs +47 -0
- package/library/composables/useThrottledText.mjs +22 -0
- package/library/entity/components/Button/VcEntityAddButton.vue.mjs +4 -3
- package/library/entity/components/Button/VcEntityCancelButton.vue.mjs +4 -3
- package/library/entity/components/Button/VcEntityEditIconButton.vue.mjs +3 -2
- package/library/entity/components/Form/VcBaseVerticalForm.vue.mjs +6 -5
- package/library/entity/components/Form/VcEntityEditPageForm.vue.mjs +4 -3
- package/library/entity/components/Form/VcEntityVerticalEditForm.vue.mjs +7 -6
- package/library/entity/components/Table/VcEntityListTable.vue.mjs +15 -15
- package/library/enum/constants.mjs +5 -11
- package/library/enum/fileTypes.mjs +24 -39
- package/library/enum/inputDefaults.mjs +2 -2
- package/library/index.mjs +263 -235
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +179 -1
- package/library/plugin-components.gen.mjs +95 -68
- package/library/plugin.mjs +261 -233
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +177 -121
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/themeMerge.mjs +32 -16
- package/library/theme/themes.json.mjs +172 -222
- package/library/tokens/tokens.mjs +2 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +46 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +20 -0
- package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +104 -0
- package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +53 -0
- package/library/types/components/VcAgentRun/agentRunStatus.d.ts +13 -0
- package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +85 -0
- package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +101 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +41 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +53 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +25 -0
- package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +84 -0
- package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +57 -0
- package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +72 -72
- package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +1 -1
- package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +1 -1
- package/library/types/components/VcButton/VcButton.vue.d.ts +7 -7
- package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +12 -13
- package/library/types/components/VcButton/VcToggleButton.vue.d.ts +4 -4
- package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +68 -13
- package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +24 -24
- package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +18 -18
- package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +15 -15
- package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +12 -12
- package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +1 -1
- package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +3 -3
- package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +1 -1
- package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +21 -21
- package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +18 -18
- package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +4 -4
- package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +1 -1
- package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +1 -1
- package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +7 -7
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +4 -4
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +11 -11
- package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +10 -45
- package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +2 -2
- package/library/types/components/VcForm/VcForm.vue.d.ts +3 -3
- package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +2 -2
- package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +1 -1
- package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +3 -3
- package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +3 -3
- package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +6 -6
- package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +3 -3
- package/library/types/components/VcInput/VcInput.vue.d.ts +11 -11
- package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +3 -3
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +42 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +32 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +31 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +25 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +34 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +39 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +46 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +37 -0
- package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +162 -0
- package/library/types/components/VcJsonViewer/jsonViewerText.d.ts +8 -0
- package/library/types/components/VcJsonViewer/jsonViewerUtils.d.ts +127 -0
- package/library/types/components/VcJsonViewer/useJsonViewerContext.d.ts +5 -0
- package/library/types/components/VcLightbox/VcLightbox.vue.d.ts +90 -0
- package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +2 -2
- package/library/types/components/VcLoading/VcLoading.vue.d.ts +2 -2
- package/library/types/components/VcLoading/enum.d.ts +2 -2
- package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +111 -55
- package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +3 -3
- package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +1 -1
- package/library/types/components/VcMdEditor/ltrNumbersPlugin.d.ts +16 -0
- package/library/types/components/VcMdEditor/readonlyMarkdown.d.ts +7 -0
- package/library/types/components/VcMdEditor/streamingInterval.d.ts +7 -0
- package/library/types/components/VcMessage/VcMessage.vue.d.ts +43 -4
- package/library/types/components/VcMessage/VcMessageMeta.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +6 -2
- package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/VcMessageVideoBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/formatDuration.d.ts +4 -0
- package/library/types/components/VcMessage/content/markdownPreview.d.ts +1 -0
- package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +1 -1
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +223 -66
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +96 -0
- package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +2 -2
- package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +1 -1
- package/library/types/components/VcModal/VcConfirmModal.vue.d.ts +1 -1
- package/library/types/components/VcModal/VcModal.vue.d.ts +3 -3
- package/library/types/components/VcNotification/VcNotification.vue.d.ts +1 -1
- package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +8 -8
- package/library/types/components/VcPagination/VcPagination.vue.d.ts +1 -1
- package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +4 -4
- package/library/types/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.d.ts +64 -0
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +1 -1
- package/library/types/components/VcPdfViewer/VcPdfViewer.vue.d.ts +114 -0
- package/library/types/components/VcPdfViewer/pdfDocumentActions.d.ts +29 -0
- package/library/types/components/VcPdfViewer/pdfDocumentParams.d.ts +14 -0
- package/library/types/components/VcPdfViewer/pdfStandardFonts.d.ts +9 -0
- package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +8 -8
- package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +1 -1
- package/library/types/components/VcPopover/VcPopover.vue.d.ts +1 -1
- package/library/types/components/VcPopover/VcSelectPopover.vue.d.ts +3 -3
- package/library/types/components/VcProgress/VcProgress.vue.d.ts +1 -1
- package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +4 -4
- package/library/types/components/VcProgress/progress.options.d.ts +9 -7
- package/library/types/components/VcRadio/VcRadio.vue.d.ts +15 -15
- package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +9 -9
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +12 -12
- package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +6 -6
- package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +18 -18
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +42 -42
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +51 -51
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +48 -48
- package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +9 -9
- package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +1 -1
- package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +6 -6
- package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +4 -4
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +2 -2
- package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +4 -4
- package/library/types/components/VcSoundplayer/player.options.d.ts +1 -0
- package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +4 -4
- package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +4 -4
- package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +4 -4
- package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +6 -6
- package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +24 -24
- package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +4 -4
- package/library/types/components/VcTable/VcTable.vue.d.ts +6 -3
- package/library/types/components/VcTabs/VcTabPane.vue.d.ts +1 -1
- package/library/types/components/VcTabs/VcTabs.vue.d.ts +1 -1
- package/library/types/components/VcTag/VcTag.vue.d.ts +3 -3
- package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +14 -14
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +5 -5
- package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +66 -0
- package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +91 -0
- package/library/types/components/VcTour/VcTour.vue.d.ts +1 -1
- package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +3 -3
- package/library/types/components/VcTree/VcTree.vue.d.ts +18 -18
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +42 -42
- package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +3 -3
- package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +3 -3
- package/library/types/components/VcViewSwitcher/VcViewSwitcher.vue.d.ts +9 -9
- package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +2 -2
- package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +1 -1
- package/library/types/components/exports.d.ts +19 -1
- package/library/types/components.gen.d.ts +9 -0
- package/library/types/composables/input/useFileUploader.d.ts +2 -2
- package/library/types/composables/useElapsed.d.ts +38 -0
- package/library/types/composables/useThrottledText.d.ts +16 -0
- package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +3 -3
- package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +3 -3
- package/library/types/enum/constants.d.ts +2 -10
- package/library/types/enum/inputDefaults.d.ts +2 -2
- package/library/types/localization/locales/en.json.d.ts +179 -1
- package/library/types/theme/themes.json.d.ts +177 -227
- package/library/types/tokens/tokens.d.ts +2 -1
- package/library/types/types/VcAgentRun.types.d.ts +197 -0
- package/library/types/types/VcAiChat.types.d.ts +5 -0
- package/library/types/types/VcAiReasoning.types.d.ts +67 -0
- package/library/types/types/VcApprovalCard.types.d.ts +109 -0
- package/library/types/types/VcAskUserCard.types.d.ts +166 -0
- package/library/types/types/VcChatComposer.types.d.ts +89 -2
- package/library/types/types/VcDropdown.types.d.ts +1 -1
- package/library/types/types/VcFileUploader.types.d.ts +26 -0
- package/library/types/types/VcJsonViewer.types.d.ts +41 -0
- package/library/types/types/VcLightbox.types.d.ts +112 -0
- package/library/types/types/VcMessage.types.d.ts +88 -5
- package/library/types/types/VcMessagesWrapper.types.d.ts +129 -12
- package/library/types/types/VcOtpInput.types.d.ts +1 -1
- package/library/types/types/VcPdfViewer.types.d.ts +138 -0
- package/library/types/types/VcProgress.types.d.ts +1 -1
- package/library/types/types/VcToolCall.types.d.ts +102 -0
- package/library/types/types/index.d.ts +9 -1
- package/library/types/utils/aiChat.d.ts +50 -0
- package/library/types/utils/download.d.ts +5 -0
- package/library/types/utils/elementPlusIcons.d.ts +9 -0
- package/library/types/utils/fileAccept.d.ts +30 -0
- package/library/types/utils/i18nParams.d.ts +8 -0
- package/library/types/utils/numberRuns.d.ts +21 -0
- package/library/types/utils/themeColor.d.ts +1 -0
- package/library/utils/UniqueComponentId.mjs +2 -2
- package/library/utils/aiChat.mjs +121 -0
- package/library/utils/download.mjs +13 -0
- package/library/utils/elementPlusIcons.mjs +14 -0
- package/library/utils/fileAccept.mjs +66 -0
- package/library/utils/i18nParams.mjs +6 -0
- package/library/utils/numberRuns.mjs +63 -0
- package/library/utils/themeColor.mjs +9 -0
- package/package.json +10 -9
- package/src/theme/index.ts +101 -101
- package/src/theme/tailwindScheme.js +70 -37
- package/src/theme/theme.types.ts +31 -31
- package/src/theme/themeMerge.ts +61 -40
- package/src/theme/themes.json +177 -227
- package/tailwind.config.d.ts +5 -5
- package/tailwind.config.js +59 -75
- package/library/types/types/VcTagInput.types.d.ts +0 -1
- /package/library/assets/node_modules/element-plus/theme-chalk/src/{date-picker.css → tooltip.css} +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ref, watch, toValue, computed } from "vue";
|
|
2
|
+
import { useIntervalFn } from "@vueuse/core";
|
|
3
|
+
import { toTimestamp } from "../utils/aiChat.mjs";
|
|
4
|
+
function useElapsed(options) {
|
|
5
|
+
const { interval = 1e3, autoStart = false } = options;
|
|
6
|
+
const now = ref(Date.now());
|
|
7
|
+
const autoStartedAt = ref();
|
|
8
|
+
const frozen = ref();
|
|
9
|
+
const { pause, resume } = useIntervalFn(() => {
|
|
10
|
+
now.value = Date.now();
|
|
11
|
+
}, interval, {
|
|
12
|
+
immediate: false,
|
|
13
|
+
immediateCallback: true
|
|
14
|
+
});
|
|
15
|
+
function getStart() {
|
|
16
|
+
return toTimestamp(toValue(options.startedAt)) ?? autoStartedAt.value;
|
|
17
|
+
}
|
|
18
|
+
watch(() => Boolean(toValue(options.running)), (running, wasRunning) => {
|
|
19
|
+
if (running) {
|
|
20
|
+
frozen.value = void 0;
|
|
21
|
+
if (autoStart) {
|
|
22
|
+
autoStartedAt.value = Date.now();
|
|
23
|
+
}
|
|
24
|
+
resume();
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
pause();
|
|
28
|
+
if (wasRunning) {
|
|
29
|
+
const start = getStart();
|
|
30
|
+
frozen.value = start === void 0 ? void 0 : Math.max(0, Date.now() - start);
|
|
31
|
+
}
|
|
32
|
+
}, { immediate: true });
|
|
33
|
+
return computed(() => {
|
|
34
|
+
const duration = toValue(options.durationMs);
|
|
35
|
+
if (duration != null) {
|
|
36
|
+
return duration;
|
|
37
|
+
}
|
|
38
|
+
if (toValue(options.running)) {
|
|
39
|
+
const start = getStart();
|
|
40
|
+
return start === void 0 ? void 0 : Math.max(0, now.value - start);
|
|
41
|
+
}
|
|
42
|
+
return frozen.value;
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
useElapsed
|
|
47
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ref, toValue, watch, computed } from "vue";
|
|
2
|
+
import { useThrottleFn } from "@vueuse/core";
|
|
3
|
+
function useThrottledText(text, streaming, interval = 120) {
|
|
4
|
+
const snapshot = ref(toValue(text) ?? "");
|
|
5
|
+
const flush = useThrottleFn(() => {
|
|
6
|
+
snapshot.value = toValue(text) ?? "";
|
|
7
|
+
}, interval, true, true);
|
|
8
|
+
watch(() => toValue(text), () => {
|
|
9
|
+
if (toValue(streaming)) {
|
|
10
|
+
flush();
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
watch(() => Boolean(toValue(streaming)), (isStreaming) => {
|
|
14
|
+
if (isStreaming) {
|
|
15
|
+
snapshot.value = toValue(text) ?? "";
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
return computed(() => toValue(streaming) ? snapshot.value : toValue(text) ?? "");
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
useThrottledText
|
|
22
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString
|
|
1
|
+
import { defineComponent, openBlock, createBlock, mergeProps, unref, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { SquarePlus } from "@lucide/vue";
|
|
2
3
|
import { tVU } from "../../../localization/index.mjs";
|
|
3
4
|
import _sfc_main$1 from "../../../components/VcButton/VcButton.vue.mjs";
|
|
4
5
|
import '../../../assets/components/VcButton/VcButton.css';/* empty css */
|
|
@@ -13,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
14
|
return (_ctx, _cache) => {
|
|
14
15
|
return openBlock(), createBlock(_sfc_main$1, mergeProps(_ctx.$attrs, {
|
|
15
16
|
type: "borderless",
|
|
16
|
-
icon:
|
|
17
|
+
icon: unref(SquarePlus),
|
|
17
18
|
disabled: !props.entity.canCreate(),
|
|
18
19
|
"data-test-name": "button-add-new-row"
|
|
19
20
|
}), {
|
|
@@ -23,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
24
|
])
|
|
24
25
|
]),
|
|
25
26
|
_: 3
|
|
26
|
-
}, 16, ["disabled"]);
|
|
27
|
+
}, 16, ["icon", "disabled"]);
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
30
|
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, mergeProps, withModifiers, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, openBlock, createBlock, mergeProps, unref, withModifiers, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { Undo2 } from "@lucide/vue";
|
|
2
3
|
import { tVU } from "../../../localization/index.mjs";
|
|
3
4
|
import useConfirmModal from "../../../composables/useConfirmModal.mjs";
|
|
4
5
|
import _sfc_main$1 from "../../../components/VcButton/VcButton.vue.mjs";
|
|
@@ -33,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
34
|
}
|
|
34
35
|
return (_ctx, _cache) => {
|
|
35
36
|
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
36
|
-
icon:
|
|
37
|
+
icon: unref(Undo2),
|
|
37
38
|
color: "secondary",
|
|
38
39
|
type: "outline",
|
|
39
40
|
size: "large"
|
|
@@ -46,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
47
|
])
|
|
47
48
|
]),
|
|
48
49
|
_: 3
|
|
49
|
-
}, 16);
|
|
50
|
+
}, 16, ["icon"]);
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, mergeProps } from "vue";
|
|
1
|
+
import { defineComponent, openBlock, createBlock, mergeProps, unref } from "vue";
|
|
2
|
+
import { Settings } from "@lucide/vue";
|
|
2
3
|
import _sfc_main$1 from "../../../components/VcButton/VcButtonIcon.vue.mjs";
|
|
3
4
|
import '../../../assets/components/VcButton/VcButtonIcon.css';/* empty css */
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -12,7 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
13
|
const props = __props;
|
|
13
14
|
return (_ctx, _cache) => {
|
|
14
15
|
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
15
|
-
icon: __props.icon ??
|
|
16
|
+
icon: __props.icon ?? unref(Settings),
|
|
16
17
|
disabled: !props.entity.canEdit(props.entityData)
|
|
17
18
|
}, _ctx.$attrs), null, 16, ["icon", "disabled"]);
|
|
18
19
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../../assets/entity/components/Form/VcBaseVerticalForm.css';
|
|
2
2
|
import { defineComponent, openBlock, createBlock, withCtx, createElementVNode, createElementBlock, createTextVNode, toDisplayString, renderSlot, createCommentVNode, createVNode, unref } from "vue";
|
|
3
|
+
import { Undo2, Save } from "@lucide/vue";
|
|
3
4
|
import _sfc_main$1 from "../../../components/VcCard/VcCard.vue.mjs";
|
|
4
5
|
import '../../../assets/components/VcButton/VcButton.css';import '../../../assets/components/VcCard/VcCard.css';/* empty css */
|
|
5
6
|
import _sfc_main$2 from "../../../components/VcButton/VcButton.vue.mjs";
|
|
@@ -49,14 +50,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
50
|
])
|
|
50
51
|
])
|
|
51
52
|
]),
|
|
52
|
-
_cache[1] || (_cache[1] = createElementVNode("hr", { class: "border border-
|
|
53
|
+
_cache[1] || (_cache[1] = createElementVNode("hr", { class: "border-0 border-t border-border mx-3" }, null, -1)),
|
|
53
54
|
createElementVNode("div", _hoisted_6, [
|
|
54
55
|
createElementVNode("div", _hoisted_7, [
|
|
55
56
|
renderSlot(_ctx.$slots, "additional-action")
|
|
56
57
|
]),
|
|
57
58
|
createElementVNode("div", _hoisted_8, [
|
|
58
59
|
createVNode(_sfc_main$2, {
|
|
59
|
-
icon:
|
|
60
|
+
icon: unref(Undo2),
|
|
60
61
|
color: "secondary",
|
|
61
62
|
type: "outline",
|
|
62
63
|
size: "large",
|
|
@@ -67,12 +68,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
67
68
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.cancel")), 1)
|
|
68
69
|
]),
|
|
69
70
|
_: 1
|
|
70
|
-
}),
|
|
71
|
+
}, 8, ["icon"]),
|
|
71
72
|
createVNode(_sfc_main$2, {
|
|
72
73
|
block: "",
|
|
73
74
|
loading: __props.loading,
|
|
74
75
|
disabled: __props.disabledSave,
|
|
75
|
-
icon:
|
|
76
|
+
icon: unref(Save),
|
|
76
77
|
color: "primary",
|
|
77
78
|
size: "large",
|
|
78
79
|
onClick: onSave
|
|
@@ -81,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
82
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.save")), 1)
|
|
82
83
|
]),
|
|
83
84
|
_: 1
|
|
84
|
-
}, 8, ["loading", "disabled"])
|
|
85
|
+
}, 8, ["loading", "disabled", "icon"])
|
|
85
86
|
])
|
|
86
87
|
])
|
|
87
88
|
])
|
|
@@ -2,6 +2,7 @@ import '../../../assets/entity/components/Form/VcEntityEditPageForm.css';
|
|
|
2
2
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, renderSlot, unref, createBlock, createVNode, withCtx, createTextVNode } from "vue";
|
|
3
3
|
import { tVU } from "../../../localization/index.mjs";
|
|
4
4
|
import { useEntityInject } from "../../composable/useEntityProvideInject.mjs";
|
|
5
|
+
import { Save } from "@lucide/vue";
|
|
5
6
|
import _sfc_main$1 from "../Button/VcEntityDeleteIconButton.vue.mjs";
|
|
6
7
|
import _sfc_main$2 from "../Button/VcEntityCancelButton.vue.mjs";
|
|
7
8
|
import _sfc_main$3 from "../../../components/VcButton/VcButton.vue.mjs";
|
|
@@ -13,7 +14,7 @@ const _hoisted_1 = { class: "navigation-block" };
|
|
|
13
14
|
const _hoisted_2 = { class: "navigation-block__content" };
|
|
14
15
|
const _hoisted_3 = {
|
|
15
16
|
key: 0,
|
|
16
|
-
class: "block-name font-semibold text-2xl"
|
|
17
|
+
class: "block-name font-semibold text-2xl text-content-primary"
|
|
17
18
|
};
|
|
18
19
|
const _hoisted_4 = {
|
|
19
20
|
class: "block-actions",
|
|
@@ -85,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
86
|
}, null, 8, ["entity-data", "entity", "size"]),
|
|
86
87
|
createVNode(_sfc_main$3, {
|
|
87
88
|
size: __props.minifiedView ? "middle" : "large",
|
|
88
|
-
icon:
|
|
89
|
+
icon: unref(Save),
|
|
89
90
|
color: "primary",
|
|
90
91
|
"data-test-name": "button-save",
|
|
91
92
|
onClick: saveClickHandler
|
|
@@ -94,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
94
95
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.save")), 1)
|
|
95
96
|
]),
|
|
96
97
|
_: 1
|
|
97
|
-
}, 8, ["size"])
|
|
98
|
+
}, 8, ["size", "icon"])
|
|
98
99
|
])
|
|
99
100
|
])
|
|
100
101
|
])
|
|
@@ -4,6 +4,7 @@ import '../../../assets/components/VcButton/VcButton.css';import '../../../asset
|
|
|
4
4
|
import { useEntityInject } from "../../composable/useEntityProvideInject.mjs";
|
|
5
5
|
import useConfirmModal from "../../../composables/useConfirmModal.mjs";
|
|
6
6
|
import { tVU } from "../../../localization/index.mjs";
|
|
7
|
+
import { Archive, ArchiveRestore } from "@lucide/vue";
|
|
7
8
|
import _sfc_main$3 from "../../../components/VcTag/VcTag.vue.mjs";
|
|
8
9
|
/* empty css */
|
|
9
10
|
import _sfc_main$2 from "../../../components/VcButton/VcButton.vue.mjs";
|
|
@@ -13,7 +14,7 @@ const _hoisted_2 = {
|
|
|
13
14
|
key: 0,
|
|
14
15
|
class: "flex-center"
|
|
15
16
|
};
|
|
16
|
-
const _hoisted_3 = { class: "text-
|
|
17
|
+
const _hoisted_3 = { class: "text-content-danger select-none" };
|
|
17
18
|
const _hoisted_4 = { class: "w-full" };
|
|
18
19
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
19
20
|
__name: "VcEntityVerticalEditForm",
|
|
@@ -113,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
113
114
|
loading: unref(loading),
|
|
114
115
|
disabled: !unref(entity).canDelete(props.entityData),
|
|
115
116
|
block: "",
|
|
116
|
-
icon:
|
|
117
|
+
icon: unref(Archive),
|
|
117
118
|
size: "large",
|
|
118
119
|
type: "outline",
|
|
119
120
|
color: "destructive",
|
|
@@ -123,23 +124,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
123
124
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.archive")), 1)
|
|
124
125
|
]),
|
|
125
126
|
_: 1
|
|
126
|
-
}, 8, ["loading", "disabled"])) : createCommentVNode("", true),
|
|
127
|
+
}, 8, ["loading", "disabled", "icon"])) : createCommentVNode("", true),
|
|
127
128
|
showRestoreAction.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
128
129
|
key: 1,
|
|
129
130
|
loading: unref(loading),
|
|
130
131
|
disabled: !unref(entity).canEdit(props.entityData),
|
|
131
132
|
block: "",
|
|
132
|
-
icon:
|
|
133
|
+
icon: unref(ArchiveRestore),
|
|
133
134
|
size: "large",
|
|
134
135
|
type: "outline",
|
|
135
|
-
color: "
|
|
136
|
+
color: "primary",
|
|
136
137
|
onClick: onRestore
|
|
137
138
|
}, {
|
|
138
139
|
default: withCtx(() => [
|
|
139
140
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.restore")), 1)
|
|
140
141
|
]),
|
|
141
142
|
_: 1
|
|
142
|
-
}, 8, ["loading", "disabled"])) : createCommentVNode("", true)
|
|
143
|
+
}, 8, ["loading", "disabled", "icon"])) : createCommentVNode("", true)
|
|
143
144
|
])
|
|
144
145
|
]),
|
|
145
146
|
default: withCtx(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../assets/entity/components/Table/VcEntityListTable.css';
|
|
2
2
|
import { defineComponent, useSlots, useAttrs, ref, computed, watch, openBlock, createElementBlock, createVNode, mergeProps, unref, createSlots, withCtx, createElementVNode, createBlock, renderSlot, createCommentVNode, createTextVNode, toDisplayString, renderList, normalizeProps, guardReactiveProps } from "vue";
|
|
3
|
-
import { Trash2 } from "@lucide/vue";
|
|
3
|
+
import { Trash2, Settings, Search, LogOut } from "@lucide/vue";
|
|
4
4
|
import _sfc_main$5 from "../../../components/VcInput/VcInput.vue.mjs";
|
|
5
5
|
import '../../../assets/components/VcButton/VcButton.css';import '../../../assets/components/VcTable/VcTable2.css';import '../../../assets/components/VcTable/VcTable.css';import '../../../assets/components/VcInput/VcInput.css';/* empty css */
|
|
6
6
|
import _sfc_main$1 from "../../../components/VcTable/VcTable.vue.mjs";
|
|
@@ -21,11 +21,11 @@ const _hoisted_1 = { class: "vc-entity-list-table__wrap relative" };
|
|
|
21
21
|
const _hoisted_2 = { key: 0 };
|
|
22
22
|
const _hoisted_3 = ["colspan"];
|
|
23
23
|
const _hoisted_4 = { class: "w-full flex justify-center items-center" };
|
|
24
|
-
const _hoisted_5 = { class: "text-
|
|
24
|
+
const _hoisted_5 = { class: "text-content-primary text-sm font-medium" };
|
|
25
25
|
const _hoisted_6 = { key: 1 };
|
|
26
26
|
const _hoisted_7 = ["colspan"];
|
|
27
27
|
const _hoisted_8 = { class: "w-full p-4 items-center flex flex-col" };
|
|
28
|
-
const _hoisted_9 = { class: "text-
|
|
28
|
+
const _hoisted_9 = { class: "text-content-primary text-sm font-medium" };
|
|
29
29
|
const _hoisted_10 = { class: "flex-center px-2" };
|
|
30
30
|
const _hoisted_11 = { class: "flex justify-between flex-wrap md:flex-nowrap gap-2" };
|
|
31
31
|
const _hoisted_12 = { class: "left-header-actions flex items-center order-2 md:order-1 w-full md:w-auto" };
|
|
@@ -57,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
tableNoDataText: { default: "" },
|
|
58
58
|
inputSearch: { default: "" },
|
|
59
59
|
loaderType: { default: "lds-spinner" },
|
|
60
|
-
editIcon: { default:
|
|
60
|
+
editIcon: { default: () => Settings },
|
|
61
61
|
editIconAnimate: { type: Boolean, default: true },
|
|
62
62
|
deleteIcon: { default: () => Trash2 }
|
|
63
63
|
},
|
|
@@ -279,7 +279,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
279
279
|
isRecycleBin.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
280
280
|
key: 0,
|
|
281
281
|
type: "borderless",
|
|
282
|
-
icon:
|
|
282
|
+
icon: unref(LogOut),
|
|
283
283
|
"data-test-name": "exit-recycle-bit-button",
|
|
284
284
|
onClick: recycleBinClickHandler
|
|
285
285
|
}, {
|
|
@@ -287,15 +287,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
287
287
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.exitRecycleBin")), 1)
|
|
288
288
|
]),
|
|
289
289
|
_: 1
|
|
290
|
-
})) : unref(onCreateFunction) ? renderSlot(_ctx.$slots, "add-entity-button", {
|
|
290
|
+
}, 8, ["icon"])) : unref(onCreateFunction) ? renderSlot(_ctx.$slots, "add-entity-button", {
|
|
291
291
|
key: 1,
|
|
292
292
|
entity: unref(entity)
|
|
293
293
|
}, () => [
|
|
294
294
|
createVNode(_sfc_main$7, {
|
|
295
295
|
entity: unref(entity),
|
|
296
|
-
|
|
296
|
+
label: __props.addEntityLabel,
|
|
297
297
|
onClick: addNewClickHandler
|
|
298
|
-
}, null, 8, ["entity", "
|
|
298
|
+
}, null, 8, ["entity", "label"])
|
|
299
299
|
]) : createCommentVNode("", true)
|
|
300
300
|
])
|
|
301
301
|
])
|
|
@@ -313,7 +313,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
313
313
|
key: 0,
|
|
314
314
|
color: "destructive",
|
|
315
315
|
type: "borderless",
|
|
316
|
-
icon:
|
|
316
|
+
icon: unref(Trash2),
|
|
317
317
|
"data-test-name": "recycle-bin-button",
|
|
318
318
|
onClick: deleteSelectedClickHandler
|
|
319
319
|
}, {
|
|
@@ -321,7 +321,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
321
321
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.delete")), 1)
|
|
322
322
|
]),
|
|
323
323
|
_: 1
|
|
324
|
-
})) : createCommentVNode("", true)
|
|
324
|
+
}, 8, ["icon"])) : createCommentVNode("", true)
|
|
325
325
|
])
|
|
326
326
|
])
|
|
327
327
|
]),
|
|
@@ -338,9 +338,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
338
338
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchModel.value = $event),
|
|
339
339
|
placeholder: unref(tVU).t("voicenterUi.general.search"),
|
|
340
340
|
clearable: "",
|
|
341
|
-
"prefix-icon":
|
|
341
|
+
"prefix-icon": unref(Search),
|
|
342
342
|
"data-test-name": "table-search"
|
|
343
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
343
|
+
}, null, 8, ["modelValue", "placeholder", "prefix-icon"])
|
|
344
344
|
])) : createCommentVNode("", true)
|
|
345
345
|
]),
|
|
346
346
|
createElementVNode("div", _hoisted_14, [
|
|
@@ -349,7 +349,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
349
349
|
key: 0,
|
|
350
350
|
type: "borderless",
|
|
351
351
|
"data-test-name": "RecycleBin-button",
|
|
352
|
-
icon: isRecycleBin.value ?
|
|
352
|
+
icon: isRecycleBin.value ? unref(LogOut) : unref(Trash2),
|
|
353
353
|
onClick: recycleBinClickHandler
|
|
354
354
|
}, {
|
|
355
355
|
default: withCtx(() => [
|
|
@@ -363,9 +363,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
363
363
|
}, () => [
|
|
364
364
|
createVNode(_sfc_main$7, {
|
|
365
365
|
entity: unref(entity),
|
|
366
|
-
|
|
366
|
+
label: __props.addEntityLabel,
|
|
367
367
|
onClick: addNewClickHandler
|
|
368
|
-
}, null, 8, ["entity", "
|
|
368
|
+
}, null, 8, ["entity", "label"])
|
|
369
369
|
]) : createCommentVNode("", true)
|
|
370
370
|
])
|
|
371
371
|
])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const componentSizes = ["", "default", "small", "large"];
|
|
2
|
-
const componentColors = ["", "primary", "secondary", "destructive", "success", "warning", "
|
|
2
|
+
const componentColors = ["", "primary", "secondary", "destructive", "success", "warning", "info"];
|
|
3
3
|
const textSizes = ["", "xxs", "xs", "sm", "base", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl"];
|
|
4
4
|
const iconSizes = ["", "xxs", "xs", "sm", "base", "md", "2md", "lg", "xl", "2xl", "3xl", "2r", "4r"];
|
|
5
5
|
const DEFAULT_COMPONENT_SIZE = "default";
|
|
@@ -34,15 +34,9 @@ function isComponentColor(color) {
|
|
|
34
34
|
const EDITABLE_TAB_SUB_SECTION_QUERY_PARAM_NAME = "id";
|
|
35
35
|
const LIST_TAB_QUERY_VALUE = "list";
|
|
36
36
|
const CREATE_TAB_QUERY_VALUE = "create";
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
destructive: "text-destructive-actions",
|
|
41
|
-
success: "text-success",
|
|
42
|
-
warning: "text-warning",
|
|
43
|
-
active: "text-active-elements",
|
|
44
|
-
"primary-alternative": "text-primary-alternative-actions"
|
|
45
|
-
};
|
|
37
|
+
function textColorClass(color) {
|
|
38
|
+
return isComponentColor(color) && color !== "" ? `vc-text-color--${color}` : `text-${color}`;
|
|
39
|
+
}
|
|
46
40
|
export {
|
|
47
41
|
CHANGE_EVENT,
|
|
48
42
|
CREATE_TAB_QUERY_VALUE,
|
|
@@ -51,11 +45,11 @@ export {
|
|
|
51
45
|
EVENT_CODE,
|
|
52
46
|
INPUT_EVENT,
|
|
53
47
|
LIST_TAB_QUERY_VALUE,
|
|
54
|
-
TEXT_COLORS,
|
|
55
48
|
UPDATE_MODEL_EVENT,
|
|
56
49
|
componentColors,
|
|
57
50
|
componentSizes,
|
|
58
51
|
iconSizes,
|
|
59
52
|
isComponentColor,
|
|
53
|
+
textColorClass,
|
|
60
54
|
textSizes
|
|
61
55
|
};
|
|
@@ -1,49 +1,34 @@
|
|
|
1
1
|
import { FileArchive, FileSpreadsheet, FileText } from "@lucide/vue";
|
|
2
2
|
const DEFAULT_FILE_TYPE = {
|
|
3
3
|
icon: FileText,
|
|
4
|
-
color: "var(--
|
|
4
|
+
color: "var(--vc-content-tertiary)"
|
|
5
|
+
};
|
|
6
|
+
const TEXT_DOCUMENT = {
|
|
7
|
+
icon: FileText,
|
|
8
|
+
color: "var(--vc-content-secondary)"
|
|
9
|
+
};
|
|
10
|
+
const SPREADSHEET = {
|
|
11
|
+
icon: FileSpreadsheet,
|
|
12
|
+
color: "var(--vc-content-success)"
|
|
13
|
+
};
|
|
14
|
+
const ARCHIVE = {
|
|
15
|
+
icon: FileArchive,
|
|
16
|
+
color: "var(--vc-content-warning)"
|
|
5
17
|
};
|
|
6
18
|
const DEFAULT_FILE_TYPE_MAP = {
|
|
7
19
|
pdf: {
|
|
8
20
|
icon: FileText,
|
|
9
|
-
color: "
|
|
10
|
-
},
|
|
11
|
-
doc:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
icon: FileText,
|
|
21
|
-
color: "var(--secondary-text)"
|
|
22
|
-
},
|
|
23
|
-
xls: {
|
|
24
|
-
icon: FileSpreadsheet,
|
|
25
|
-
color: "var(--success-actions)"
|
|
26
|
-
},
|
|
27
|
-
xlsx: {
|
|
28
|
-
icon: FileSpreadsheet,
|
|
29
|
-
color: "var(--success-actions)"
|
|
30
|
-
},
|
|
31
|
-
csv: {
|
|
32
|
-
icon: FileSpreadsheet,
|
|
33
|
-
color: "var(--success-actions)"
|
|
34
|
-
},
|
|
35
|
-
zip: {
|
|
36
|
-
icon: FileArchive,
|
|
37
|
-
color: "var(--warning-actions)"
|
|
38
|
-
},
|
|
39
|
-
rar: {
|
|
40
|
-
icon: FileArchive,
|
|
41
|
-
color: "var(--warning-actions)"
|
|
42
|
-
},
|
|
43
|
-
"7z": {
|
|
44
|
-
icon: FileArchive,
|
|
45
|
-
color: "var(--warning-actions)"
|
|
46
|
-
}
|
|
21
|
+
color: "var(--vc-content-danger)"
|
|
22
|
+
},
|
|
23
|
+
doc: TEXT_DOCUMENT,
|
|
24
|
+
docx: TEXT_DOCUMENT,
|
|
25
|
+
txt: TEXT_DOCUMENT,
|
|
26
|
+
xls: SPREADSHEET,
|
|
27
|
+
xlsx: SPREADSHEET,
|
|
28
|
+
csv: SPREADSHEET,
|
|
29
|
+
zip: ARCHIVE,
|
|
30
|
+
rar: ARCHIVE,
|
|
31
|
+
"7z": ARCHIVE
|
|
47
32
|
};
|
|
48
33
|
export {
|
|
49
34
|
DEFAULT_FILE_TYPE,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_COMPONENT_SIZE } from "./constants.mjs";
|
|
2
|
-
const DEFAULT_COLOR = "
|
|
2
|
+
const DEFAULT_COLOR = "primary";
|
|
3
3
|
const DEFAULT_SIZE = DEFAULT_COMPONENT_SIZE;
|
|
4
|
-
const DEFAULT_ICON_SIZE = "
|
|
4
|
+
const DEFAULT_ICON_SIZE = "";
|
|
5
5
|
const CLASS_FOR_COLOR = "vc-input-color--";
|
|
6
6
|
const CLASS_FOR_ICON_COLOR = "vc-input-icon-color--";
|
|
7
7
|
const CLASS_FOR_ICON_SIZE = "icon-";
|