@voicenter-team/voicenter-ui-plus 3.4.8 → 4.0.0-beta.1
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 +1023 -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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const STANDARD_FONT_URLS = {
|
|
2
|
+
"FoxitDingbats.pfb": () => new URL("./standard_fonts/FoxitDingbats.pfb", import.meta.url),
|
|
3
|
+
"FoxitSymbol.pfb": () => new URL("./standard_fonts/FoxitSymbol.pfb", import.meta.url)
|
|
4
|
+
};
|
|
5
|
+
class PdfStandardFontDataFactory {
|
|
6
|
+
async fetch({ filename }) {
|
|
7
|
+
var _a;
|
|
8
|
+
const url = (_a = STANDARD_FONT_URLS[filename]) == null ? void 0 : _a.call(STANDARD_FONT_URLS);
|
|
9
|
+
if (!url) {
|
|
10
|
+
throw new Error(`No standard font data for "${filename}"`);
|
|
11
|
+
}
|
|
12
|
+
const response = await fetch(url);
|
|
13
|
+
if (!response.ok) {
|
|
14
|
+
throw new Error(`Unable to load font data at: ${url}`);
|
|
15
|
+
}
|
|
16
|
+
return new Uint8Array(await response.arrayBuffer());
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
PdfStandardFontDataFactory
|
|
21
|
+
};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Copyright 2014 PDFium Authors. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Redistribution and use in source and binary forms, with or without
|
|
4
|
+
// modification, are permitted provided that the following conditions are
|
|
5
|
+
// met:
|
|
6
|
+
//
|
|
7
|
+
// * Redistributions of source code must retain the above copyright
|
|
8
|
+
// notice, this list of conditions and the following disclaimer.
|
|
9
|
+
// * Redistributions in binary form must reproduce the above
|
|
10
|
+
// copyright notice, this list of conditions and the following disclaimer
|
|
11
|
+
// in the documentation and/or other materials provided with the
|
|
12
|
+
// distribution.
|
|
13
|
+
// * Neither the name of Google Inc. nor the names of its
|
|
14
|
+
// contributors may be used to endorse or promote products derived from
|
|
15
|
+
// this software without specific prior written permission.
|
|
16
|
+
//
|
|
17
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
18
|
+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
19
|
+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
20
|
+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
21
|
+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
22
|
+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
23
|
+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
24
|
+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
25
|
+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26
|
+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, shallowRef, computed, watch, openBlock, createElementBlock, normalizeClass, createVNode, unref, createSlots, withCtx, createBlock, createCommentVNode, createElementVNode, toDisplayString, Fragment, renderList, renderSlot, normalizeStyle } from "vue";
|
|
2
|
+
import { Phone, Check, X, ChevronDown } from "@lucide/vue";
|
|
2
3
|
import { ElInput, ElSelect, ElOption } from "element-plus";
|
|
3
4
|
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcPopover/VcPopover.css';import '../../assets/components/VcPhoneInput/VcFlagLabel.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/tag.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/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
5
|
import '../../assets/components/VcPhoneInput/VcPhoneInput.css';/* empty css */
|
|
@@ -18,6 +19,7 @@ import _sfc_main$2 from "../VcPopover/VcPopover.vue.mjs";
|
|
|
18
19
|
/* empty css */
|
|
19
20
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
20
21
|
/* empty css */
|
|
22
|
+
import { toElIcon } from "../../utils/elementPlusIcons.mjs";
|
|
21
23
|
const _hoisted_1 = ["data-test"];
|
|
22
24
|
const _hoisted_2 = { class: "inline-flex" };
|
|
23
25
|
const _hoisted_3 = { class: "p-1 text-center" };
|
|
@@ -43,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
45
|
disabled: { type: Boolean, default: false },
|
|
44
46
|
clearable: { type: Boolean },
|
|
45
47
|
emptyText: {},
|
|
46
|
-
prefixIcon: { default:
|
|
48
|
+
prefixIcon: { default: () => Phone },
|
|
47
49
|
prefixIconSize: { default: DEFAULT_ICON_SIZE },
|
|
48
50
|
name: { default: void 0 },
|
|
49
51
|
maxWidth: { default: "100%" },
|
|
@@ -63,6 +65,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
65
|
const phoneNumber = ref("");
|
|
64
66
|
const countryCallingCode = ref("");
|
|
65
67
|
const countrySelectFilterModel = ref(void 0);
|
|
68
|
+
const suffixIcon = toElIcon(ChevronDown);
|
|
66
69
|
const phoneLib = shallowRef(null);
|
|
67
70
|
void phoneLibPromise.then((mod) => {
|
|
68
71
|
phoneLib.value = mod;
|
|
@@ -274,11 +277,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
274
277
|
formattedPhoneNumber.value && !isDefaultState.value ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
275
278
|
isValidNumber.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
276
279
|
key: 0,
|
|
277
|
-
icon:
|
|
278
|
-
|
|
280
|
+
icon: unref(Check),
|
|
281
|
+
class: "icon-sm text-content-success"
|
|
282
|
+
}, null, 8, ["icon"])) : (openBlock(), createBlock(_sfc_main$1, {
|
|
279
283
|
key: 1,
|
|
280
|
-
icon:
|
|
281
|
-
|
|
284
|
+
icon: unref(X),
|
|
285
|
+
class: "icon-sm text-content-danger"
|
|
286
|
+
}, null, 8, ["icon"]))
|
|
282
287
|
])) : createCommentVNode("", true)
|
|
283
288
|
]),
|
|
284
289
|
_: 2
|
|
@@ -303,6 +308,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
303
308
|
placement: "bottom-start",
|
|
304
309
|
filterable: "",
|
|
305
310
|
"filter-method": filterMethod,
|
|
311
|
+
"suffix-icon": unref(suffixIcon),
|
|
306
312
|
style: { "width": "62px" },
|
|
307
313
|
onVisibleChange: onCountrySelectVisibilityChange,
|
|
308
314
|
onChange: handleCountryCodeInput
|
|
@@ -337,7 +343,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
337
343
|
}), 128))
|
|
338
344
|
]),
|
|
339
345
|
_: 3
|
|
340
|
-
}, 8, ["model-value", "disabled"])
|
|
346
|
+
}, 8, ["model-value", "disabled", "suffix-icon"])
|
|
341
347
|
]),
|
|
342
348
|
default: withCtx(() => [
|
|
343
349
|
createElementVNode("div", _hoisted_3, toDisplayString(countrySelectFilterModel.value), 1)
|
|
@@ -11,7 +11,7 @@ import _sfc_main$2 from "../VcButton/VcButton.vue.mjs";
|
|
|
11
11
|
/* empty css */
|
|
12
12
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { CircleHelp, Pencil, Save } from "@lucide/vue";
|
|
14
|
+
import { CircleHelp, Check, Trash2, Pencil, Save } from "@lucide/vue";
|
|
15
15
|
const _hoisted_1 = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "vc-confirm-popover__icon"
|
|
@@ -81,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
return confirmPopupState.renderContent;
|
|
82
82
|
});
|
|
83
83
|
const buttonConfirmIcon = computed(() => {
|
|
84
|
-
let icon =
|
|
84
|
+
let icon = Check;
|
|
85
85
|
switch (type.value) {
|
|
86
86
|
case "save":
|
|
87
87
|
icon = Save;
|
|
@@ -90,7 +90,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
90
|
icon = Pencil;
|
|
91
91
|
break;
|
|
92
92
|
case "delete":
|
|
93
|
-
icon =
|
|
93
|
+
icon = Trash2;
|
|
94
94
|
break;
|
|
95
95
|
}
|
|
96
96
|
return icon;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../assets/components/VcPopover/VcSelectPopover.css';
|
|
2
2
|
import { defineComponent, ref, computed, watch, openBlock, createBlock, withCtx, withDirectives, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, createVNode, createTextVNode, unref, renderSlot } from "vue";
|
|
3
|
+
import { Check } from "@lucide/vue";
|
|
3
4
|
import { ClickOutside } from "element-plus";
|
|
4
5
|
import { tVU } from "../../localization/index.mjs";
|
|
5
6
|
import _sfc_main$1 from "./VcPopover.vue.mjs";
|
|
@@ -27,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
28
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28
29
|
const DEFAULT_ACTION_PARAM = {
|
|
29
30
|
color: "primary",
|
|
30
|
-
icon:
|
|
31
|
+
icon: Check,
|
|
31
32
|
type: "default",
|
|
32
33
|
size: "middle"
|
|
33
34
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import '../../assets/components/VcProgress/VcProgress.css';
|
|
2
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, createElementVNode,
|
|
2
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createBlock } from "vue";
|
|
3
3
|
import { convertToUnit } from "../../utils/helpers.mjs";
|
|
4
|
-
import
|
|
4
|
+
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
5
|
+
import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
6
|
+
import { DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_DURATION, STATUS_ICON_MAP, STATUS_FILL, statusColor } from "./progress.options.mjs";
|
|
5
7
|
const _hoisted_1 = ["aria-valuenow"];
|
|
6
8
|
const _hoisted_2 = { class: "vc-progress-bar" };
|
|
7
9
|
const _hoisted_3 = {
|
|
@@ -51,29 +53,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
53
|
if (!props.status || !props.showStatusIcon) {
|
|
52
54
|
return null;
|
|
53
55
|
}
|
|
54
|
-
const { variable, color } = getColor();
|
|
55
56
|
const _icon = STATUS_ICON_MAP[props.status] || STATUS_ICON_MAP.default;
|
|
56
57
|
return {
|
|
57
58
|
icon: _icon,
|
|
58
|
-
color: { color:
|
|
59
|
+
color: { color: STATUS_FILL }
|
|
59
60
|
};
|
|
60
61
|
});
|
|
61
62
|
const progressColor = computed(() => {
|
|
62
63
|
if (props.customColorMethod) {
|
|
63
64
|
return props.customColorMethod(props.percentage);
|
|
64
|
-
} else if (props.color) {
|
|
65
|
-
return props.color;
|
|
66
|
-
} else {
|
|
67
|
-
const { variable, color } = getColor();
|
|
68
|
-
return `var(${variable}, ${color})`;
|
|
69
65
|
}
|
|
66
|
+
return props.color || void 0;
|
|
70
67
|
});
|
|
71
|
-
function getColor() {
|
|
72
|
-
return {
|
|
73
|
-
variable: STATUS_COLOR_VARS[props.status] || STATUS_COLOR_VARS.default,
|
|
74
|
-
color: STATUS_COLOR_MAP[props.status] || STATUS_COLOR_MAP.default
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
68
|
return (_ctx, _cache) => {
|
|
78
69
|
return openBlock(), createElementBlock("div", {
|
|
79
70
|
"aria-valuenow": __props.percentage,
|
|
@@ -81,7 +72,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
72
|
"aria-valuemax": "=100",
|
|
82
73
|
"aria-valuemin": "0",
|
|
83
74
|
role: "progressbar",
|
|
84
|
-
class: "vc-progress"
|
|
75
|
+
class: normalizeClass([`vc-progress--${unref(statusColor)(__props.status)}`, "vc-progress"])
|
|
85
76
|
}, [
|
|
86
77
|
createElementVNode("div", _hoisted_2, [
|
|
87
78
|
createElementVNode("div", {
|
|
@@ -109,14 +100,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
100
|
class: "vc-progress__text"
|
|
110
101
|
}, [
|
|
111
102
|
renderSlot(_ctx.$slots, "default", { percentage: __props.percentage }, () => [
|
|
112
|
-
statusIcon.value ? (openBlock(),
|
|
103
|
+
statusIcon.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
113
104
|
key: 0,
|
|
114
|
-
|
|
105
|
+
icon: statusIcon.value.icon,
|
|
115
106
|
style: normalizeStyle(statusIcon.value.color)
|
|
116
|
-
}, null,
|
|
107
|
+
}, null, 8, ["icon", "style"])) : (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(content.value), 1))
|
|
117
108
|
])
|
|
118
109
|
], 4)) : createCommentVNode("", true)
|
|
119
|
-
],
|
|
110
|
+
], 14, _hoisted_1);
|
|
120
111
|
};
|
|
121
112
|
}
|
|
122
113
|
});
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import '../../assets/components/VcProgress/VcProgressCircular.css';
|
|
2
|
-
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, normalizeStyle, renderSlot, toDisplayString,
|
|
2
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, renderSlot, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
3
3
|
import { convertToUnit } from "../../utils/helpers.mjs";
|
|
4
|
-
import
|
|
4
|
+
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
5
|
+
import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
6
|
+
import { STATUS_ICON_MAP, STATUS_FILL, statusColor } from "./progress.options.mjs";
|
|
5
7
|
const _hoisted_1 = ["aria-valuenow"];
|
|
6
8
|
const _hoisted_2 = { viewBox: "0 0 100 100" };
|
|
7
9
|
const _hoisted_3 = ["d", "stroke", "stroke-linecap", "stroke-width"];
|
|
@@ -11,7 +13,7 @@ const _hoisted_5 = {
|
|
|
11
13
|
class: "progress-circle__text"
|
|
12
14
|
};
|
|
13
15
|
const _hoisted_6 = { key: 0 };
|
|
14
|
-
const DEFAULT_TRACK = "var(--
|
|
16
|
+
const DEFAULT_TRACK = "var(--vc-border)";
|
|
15
17
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
18
|
__name: "VcProgressCircular",
|
|
17
19
|
props: {
|
|
@@ -60,11 +62,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
60
62
|
if (!props.status) {
|
|
61
63
|
return null;
|
|
62
64
|
}
|
|
63
|
-
const { variable, color } = getDataColor();
|
|
64
65
|
const _icon = STATUS_ICON_MAP[props.status] || STATUS_ICON_MAP.default;
|
|
65
66
|
return {
|
|
66
67
|
icon: _icon,
|
|
67
|
-
color: { color:
|
|
68
|
+
color: { color: getStatusColor(props.status) }
|
|
68
69
|
};
|
|
69
70
|
});
|
|
70
71
|
const trackPath = computed(() => {
|
|
@@ -99,8 +100,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
99
100
|
if (color.startsWith("#")) {
|
|
100
101
|
return color;
|
|
101
102
|
}
|
|
102
|
-
|
|
103
|
-
return `var(${dataColor.variable}, ${dataColor.color})`;
|
|
103
|
+
return getStatusColor(props.status);
|
|
104
104
|
}
|
|
105
105
|
function getCurrentColor(percentage) {
|
|
106
106
|
var _a;
|
|
@@ -118,18 +118,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
118
118
|
}
|
|
119
119
|
return void 0;
|
|
120
120
|
}
|
|
121
|
-
function getDataColor() {
|
|
122
|
-
return {
|
|
123
|
-
variable: STATUS_COLOR_VARS[props.status] || STATUS_COLOR_VARS.default,
|
|
124
|
-
color: getStatusColor(props.status)
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
121
|
function getStatusColor(status) {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
return props.statusColorMap[status] || props.statusColorMap.default || _default;
|
|
131
|
-
}
|
|
132
|
-
return STATUS_COLOR_MAP[status] || _default;
|
|
122
|
+
var _a, _b;
|
|
123
|
+
return ((_a = props.statusColorMap) == null ? void 0 : _a[status]) || ((_b = props.statusColorMap) == null ? void 0 : _b.default) || STATUS_FILL;
|
|
133
124
|
}
|
|
134
125
|
function getColors(color) {
|
|
135
126
|
const span = 100 / color.length;
|
|
@@ -158,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
158
149
|
role: "progressbar",
|
|
159
150
|
"aria-valuemin": "0",
|
|
160
151
|
"aria-valuemax": "100",
|
|
161
|
-
class: "vc-progress-circular"
|
|
152
|
+
class: normalizeClass([`vc-progress-circular--${unref(statusColor)(__props.status)}`, "vc-progress-circular"])
|
|
162
153
|
}, [
|
|
163
154
|
createElementVNode("div", {
|
|
164
155
|
class: "progress-circle",
|
|
@@ -189,16 +180,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
189
180
|
renderSlot(_ctx.$slots, "default", { percentage: percentageValue.value }, () => {
|
|
190
181
|
var _a, _b;
|
|
191
182
|
return [
|
|
192
|
-
!__props.status ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(content.value), 1)) : (openBlock(),
|
|
183
|
+
!__props.status ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(content.value), 1)) : (openBlock(), createBlock(_sfc_main$1, {
|
|
193
184
|
key: 1,
|
|
194
|
-
|
|
185
|
+
icon: (_a = statusIcon.value) == null ? void 0 : _a.icon,
|
|
195
186
|
style: normalizeStyle((_b = statusIcon.value) == null ? void 0 : _b.color)
|
|
196
|
-
}, null,
|
|
187
|
+
}, null, 8, ["icon", "style"]))
|
|
197
188
|
];
|
|
198
189
|
})
|
|
199
190
|
])) : createCommentVNode("", true)
|
|
200
191
|
], 4)
|
|
201
|
-
],
|
|
192
|
+
], 10, _hoisted_1);
|
|
202
193
|
};
|
|
203
194
|
}
|
|
204
195
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
+
import { Check, TriangleAlert, X } from "@lucide/vue";
|
|
1
2
|
const DEFAULT_HEIGHT = 6;
|
|
2
3
|
const DEFAULT_WIDTH = 350;
|
|
3
4
|
const DEFAULT_DURATION = 3;
|
|
4
5
|
const STATUS_ICON_MAP = {
|
|
5
|
-
success:
|
|
6
|
-
error:
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
success: Check,
|
|
7
|
+
error: X,
|
|
8
|
+
exception: X,
|
|
9
|
+
warning: TriangleAlert,
|
|
10
|
+
default: Check
|
|
9
11
|
};
|
|
10
|
-
const
|
|
11
|
-
primary: "
|
|
12
|
-
success: "
|
|
13
|
-
error: "
|
|
14
|
-
warning: "
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
const STATUS_COLOR_VARS = {
|
|
19
|
-
primary: "--primary",
|
|
20
|
-
success: "--success",
|
|
21
|
-
error: "--error",
|
|
22
|
-
warning: "--warning",
|
|
23
|
-
default: "--primary"
|
|
12
|
+
const STATUS_COLORS = {
|
|
13
|
+
primary: "primary",
|
|
14
|
+
success: "success",
|
|
15
|
+
error: "destructive",
|
|
16
|
+
warning: "warning",
|
|
17
|
+
exception: "destructive",
|
|
18
|
+
default: "primary"
|
|
24
19
|
};
|
|
20
|
+
const STATUS_FILL = "var(--vc-progress-fill)";
|
|
21
|
+
function statusColor(status) {
|
|
22
|
+
return STATUS_COLORS[status || "default"] ?? STATUS_COLORS.default;
|
|
23
|
+
}
|
|
25
24
|
export {
|
|
26
25
|
DEFAULT_DURATION,
|
|
27
26
|
DEFAULT_HEIGHT,
|
|
28
27
|
DEFAULT_WIDTH,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
STATUS_ICON_MAP
|
|
28
|
+
STATUS_COLORS,
|
|
29
|
+
STATUS_FILL,
|
|
30
|
+
STATUS_ICON_MAP,
|
|
31
|
+
statusColor
|
|
32
32
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { defineComponent, useSlots, ref, watch, openBlock, createElementBlock, Fragment, createVNode, mergeProps, unref, isRef, createSlots, withCtx, renderSlot, createCommentVNode,
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent, useSlots, ref, watch, openBlock, createElementBlock, Fragment, createVNode, mergeProps, unref, isRef, createSlots, withCtx, renderSlot, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import _sfc_main$2 from "../VcIcon/VcIcon.vue.mjs";
|
|
3
|
+
import '../../assets/components/VcSelect/VcSelect.css';import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
4
|
+
import { Loader } from "@lucide/vue";
|
|
5
|
+
import UniqueComponentId from "../../utils/UniqueComponentId.mjs";
|
|
3
6
|
import { useVModel, watchDebounced, useInfiniteScroll } from "@vueuse/core";
|
|
4
7
|
import _sfc_main$1 from "./VcSelect.vue.mjs";
|
|
5
|
-
|
|
8
|
+
/* empty css */
|
|
6
9
|
import useOptionMethods from "../../composables/option/useOptionMethods.mjs";
|
|
7
10
|
const _hoisted_1 = {
|
|
8
11
|
key: 0,
|
|
@@ -42,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
45
|
},
|
|
43
46
|
emits: ["update:modelValue", "update:visible", "initial-value", "change"],
|
|
44
47
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
45
|
-
const POPPER_CLASS_NAME =
|
|
48
|
+
const POPPER_CLASS_NAME = UniqueComponentId("unique-infinite-select-class");
|
|
46
49
|
const props = __props;
|
|
47
50
|
const emit = __emit;
|
|
48
51
|
const slots = useSlots();
|
|
@@ -188,9 +191,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
188
191
|
"onUpdate:visible": onVisibleChange
|
|
189
192
|
}), createSlots({
|
|
190
193
|
"load-more-option": withCtx(() => [
|
|
191
|
-
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
192
|
-
|
|
193
|
-
|
|
194
|
+
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
195
|
+
createVNode(_sfc_main$2, {
|
|
196
|
+
icon: unref(Loader),
|
|
197
|
+
class: "text-action-primary animate-spin"
|
|
198
|
+
}, null, 8, ["icon"])
|
|
199
|
+
])) : createCommentVNode("", true)
|
|
194
200
|
]),
|
|
195
201
|
default: withCtx(() => [
|
|
196
202
|
unref(slots)["default"] ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, watch, openBlock, createBlock, unref, mergeProps, isRef, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createVNode, createTextVNode, toDisplayString, createCommentVNode, renderList, createElementVNode, normalizeStyle, normalizeClass } from "vue";
|
|
2
2
|
import { ElSelect } from "element-plus";
|
|
3
3
|
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.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
4
|
import '../../assets/components/VcSelect/VcSelect.css';/* empty css */
|
|
@@ -30,19 +30,20 @@ import '../../assets/components/VcSelect/VcSelect.css';/* empty css
|
|
|
30
30
|
/* empty css */
|
|
31
31
|
/* empty css */
|
|
32
32
|
/* empty css */
|
|
33
|
-
import _sfc_main$
|
|
33
|
+
import _sfc_main$1 from "./VcSelectOption.vue.mjs";
|
|
34
34
|
/* empty css */
|
|
35
|
-
import _sfc_main$
|
|
35
|
+
import _sfc_main$3 from "../VcCheckbox/VcCheckbox.vue.mjs";
|
|
36
36
|
/* empty css */
|
|
37
|
-
import _sfc_main$
|
|
37
|
+
import _sfc_main$2 from "../VcForm/VcFormItem.vue.mjs";
|
|
38
38
|
/* empty css */
|
|
39
|
-
import _sfc_main$
|
|
39
|
+
import _sfc_main$4 from "../VcIcon/VcIcon.vue.mjs";
|
|
40
40
|
/* empty css */
|
|
41
41
|
import useInputColor from "../../composables/input/useInputColor.mjs";
|
|
42
42
|
import { useVModel } from "@vueuse/core";
|
|
43
43
|
import useOptionMethods from "../../composables/option/useOptionMethods.mjs";
|
|
44
44
|
import { tVU } from "../../localization/index.mjs";
|
|
45
|
-
import {
|
|
45
|
+
import { toElIcon } from "../../utils/elementPlusIcons.mjs";
|
|
46
|
+
import { Loader, X, ChevronDown } from "@lucide/vue";
|
|
46
47
|
const _hoisted_1 = { class: "flex-center overflow-hidden" };
|
|
47
48
|
const COLOR_CLASS = "vc-select--";
|
|
48
49
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -92,6 +93,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
92
93
|
);
|
|
93
94
|
const { optionListMap, optionValue } = useOptionMethods();
|
|
94
95
|
const selectModel = useVModel(props, "modelValue", emit);
|
|
96
|
+
const clearIcon = toElIcon(X, "icon-xs");
|
|
97
|
+
const suffixIcon = toElIcon(ChevronDown);
|
|
95
98
|
const isMultiple = computed(() => {
|
|
96
99
|
return Boolean(props.multiple);
|
|
97
100
|
});
|
|
@@ -109,11 +112,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
112
|
const model = selectModel.value;
|
|
110
113
|
return Array.isArray(model) && enabledSelectOptions.value.length === model.length;
|
|
111
114
|
});
|
|
112
|
-
const clearIcon = computed(() => markRaw({
|
|
113
|
-
render: () => h(_sfc_main$1, {
|
|
114
|
-
icon: "vc-icon-close icon-xs"
|
|
115
|
-
})
|
|
116
|
-
}));
|
|
117
115
|
const selectOptions = computed(() => {
|
|
118
116
|
if (!props.options) {
|
|
119
117
|
return [];
|
|
@@ -251,7 +249,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
251
249
|
"reserve-keyword": isMultiple.value || __props.filterable,
|
|
252
250
|
class: [unref(inputClasses), "vc-select"],
|
|
253
251
|
"popper-class": popperClass.value,
|
|
254
|
-
"clear-icon": clearIcon
|
|
252
|
+
"clear-icon": unref(clearIcon),
|
|
253
|
+
"suffix-icon": unref(suffixIcon),
|
|
255
254
|
"collapse-tags": "",
|
|
256
255
|
"collapse-tags-tooltip": ""
|
|
257
256
|
}, _ctx.$attrs, {
|
|
@@ -264,15 +263,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
264
263
|
default: withCtx(() => [
|
|
265
264
|
renderSlot(_ctx.$slots, "default"),
|
|
266
265
|
!__props.onlySlotData ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
267
|
-
__props.multiple && __props.quickCheckAll ? (openBlock(), createBlock(_sfc_main$
|
|
266
|
+
__props.multiple && __props.quickCheckAll ? (openBlock(), createBlock(_sfc_main$1, {
|
|
268
267
|
key: 0,
|
|
269
268
|
disabled: "",
|
|
270
269
|
value: ""
|
|
271
270
|
}, {
|
|
272
271
|
default: withCtx(() => [
|
|
273
|
-
createVNode(_sfc_main$
|
|
272
|
+
createVNode(_sfc_main$2, null, {
|
|
274
273
|
default: withCtx(() => [
|
|
275
|
-
createVNode(_sfc_main$
|
|
274
|
+
createVNode(_sfc_main$3, {
|
|
276
275
|
"model-value": isCheckedAll.value,
|
|
277
276
|
onChange: onCheckAllToggle
|
|
278
277
|
}, {
|
|
@@ -288,7 +287,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
288
287
|
_: 1
|
|
289
288
|
})) : createCommentVNode("", true),
|
|
290
289
|
(openBlock(true), createElementBlock(Fragment, null, renderList(selectOptions.value, (item) => {
|
|
291
|
-
return openBlock(), createBlock(_sfc_main$
|
|
290
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
292
291
|
key: item.key,
|
|
293
292
|
icon: item.icon,
|
|
294
293
|
value: item.value,
|
|
@@ -315,7 +314,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
315
314
|
name: "prefix",
|
|
316
315
|
fn: withCtx(() => [
|
|
317
316
|
createElementVNode("span", _hoisted_1, [
|
|
318
|
-
createVNode(_sfc_main$
|
|
317
|
+
createVNode(_sfc_main$4, {
|
|
319
318
|
icon: unref(Loader),
|
|
320
319
|
size: __props.size === "small" ? 14 : 16,
|
|
321
320
|
loading: ""
|
|
@@ -327,7 +326,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
327
326
|
name: "prefix",
|
|
328
327
|
fn: withCtx(() => [
|
|
329
328
|
renderSlot(_ctx.$slots, "prefix-icon", { selected: selectedData.value }, () => [
|
|
330
|
-
createVNode(_sfc_main$
|
|
329
|
+
createVNode(_sfc_main$4, {
|
|
331
330
|
icon: unref(resolvedPrefixIcon),
|
|
332
331
|
class: normalizeClass([unref(prefixClasses), "vc-select__prefix-icon"]),
|
|
333
332
|
style: normalizeStyle(unref(prefixStyle))
|
|
@@ -360,7 +359,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
360
359
|
]),
|
|
361
360
|
key: "4"
|
|
362
361
|
} : void 0
|
|
363
|
-
]), 1040, ["id", "modelValue", "value-key", "clearable", "data-test", "disabled", "filterable", "filter-method", "loading", "multiple", "no-data-text", "placeholder", "remote", "remote-method", "size", "teleported", "name", "reserve-keyword", "class", "popper-class", "clear-icon"]);
|
|
362
|
+
]), 1040, ["id", "modelValue", "value-key", "clearable", "data-test", "disabled", "filterable", "filter-method", "loading", "multiple", "no-data-text", "placeholder", "remote", "remote-method", "size", "teleported", "name", "reserve-keyword", "class", "popper-class", "clear-icon", "suffix-icon"]);
|
|
364
363
|
};
|
|
365
364
|
}
|
|
366
365
|
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, isRef, unref, createSlots, withCtx, renderSlot, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, normalizeStyle, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import _sfc_main$1 from "./VcSelect.vue.mjs";
|
|
3
|
-
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/base.css';import '../../assets/components/VcSelect/VcSelect.css';/* empty css */
|
|
3
|
+
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/base.css';import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcSelect/VcSelect.css';/* empty css */
|
|
4
|
+
import _sfc_main$2 from "../VcIcon/VcIcon.vue.mjs";
|
|
5
|
+
/* empty css */
|
|
4
6
|
import { ElOptionGroup, ElOption } from "element-plus";
|
|
5
7
|
/* empty css */
|
|
6
8
|
/* empty css */
|
|
@@ -145,11 +147,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
145
147
|
default: withCtx(() => [
|
|
146
148
|
renderSlot(_ctx.$slots, "option", { option: item }, () => [
|
|
147
149
|
createElementVNode("div", _hoisted_1, [
|
|
148
|
-
item.icon ? (openBlock(),
|
|
150
|
+
item.icon ? (openBlock(), createBlock(_sfc_main$2, {
|
|
149
151
|
key: 0,
|
|
150
|
-
|
|
151
|
-
style: normalizeStyle(item.iconStyle)
|
|
152
|
-
|
|
152
|
+
icon: item.icon,
|
|
153
|
+
style: normalizeStyle(item.iconStyle),
|
|
154
|
+
class: "vc-select__option-icon"
|
|
155
|
+
}, null, 8, ["icon", "style"])) : createCommentVNode("", true),
|
|
153
156
|
createTextVNode(" " + toDisplayString(item.label), 1)
|
|
154
157
|
])
|
|
155
158
|
])
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Card.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Card.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b42b9dc0"]]);
|
|
5
5
|
export {
|
|
6
6
|
Card as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Circle.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Circle.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Circle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Circle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d07adbb8"]]);
|
|
5
5
|
export {
|
|
6
6
|
Circle as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Row.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Row.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Row = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Row = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-df8419d5"]]);
|
|
5
5
|
export {
|
|
6
6
|
Row as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Square.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Square.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Square = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Square = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-04b65ecc"]]);
|
|
5
5
|
export {
|
|
6
6
|
Square as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Text.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Text.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-64651d77"]]);
|
|
5
5
|
export {
|
|
6
6
|
Text as default
|
|
7
7
|
};
|