@voicenter-team/voicenter-ui-plus 3.4.8 → 4.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1004 -558
- package/library/assets/assets/sass/main.css +1 -1
- package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunMetrics.css +1 -0
- package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunRow.css +1 -0
- package/library/assets/components/VcAgentRun/VcAgentRunCard.css +1 -0
- package/library/assets/components/VcAgentRun/VcAgentRunGroup.css +1 -0
- package/library/assets/components/VcAiReasoning/VcAiReasoning.css +1 -0
- package/library/assets/components/VcApprovalCard/VcApprovalCard.css +1 -0
- package/library/assets/components/VcAskUserCard/VcAskUserCard.css +1 -0
- package/library/assets/components/VcAutocomplete/VcAutocomplete.css +1 -1
- package/library/assets/components/VcAvatar/VcAvatar.css +1 -1
- package/library/assets/components/VcBadgeTag/VcBadgeTag.css +1 -1
- package/library/assets/components/VcButton/VcButton.css +1 -1
- package/library/assets/components/VcButton/VcButtonIcon.css +1 -1
- package/library/assets/components/VcButton/VcToggleButton.css +1 -1
- package/library/assets/components/VcCard/VcCard.css +1 -1
- package/library/assets/components/VcChatComposer/VcChatComposer.css +1 -1
- package/library/assets/components/VcCheckbox/VcCheckbox.css +1 -1
- package/library/assets/components/VcCheckbox/VcCheckboxButton.css +1 -1
- package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -1
- package/library/assets/components/VcCollapse/VcCollapseItem.css +1 -1
- package/library/assets/components/VcColorPicker/VcColorPicker.css +1 -1
- package/library/assets/components/VcDatePicker/VcDatePicker.css +1 -1
- package/library/assets/components/VcDatePickerPanel/VcDatePickerPanel.css +1 -1
- package/library/assets/components/VcDatetimeRangePicker/VcDatetimeRangePicker.css +1 -1
- package/library/assets/components/VcDropdown/VcDropdown.css +1 -1
- package/library/assets/components/VcDropdown/VcDropdownItem.css +1 -1
- package/library/assets/components/VcEmojiPicker/VcEmojiPicker.css +1 -1
- package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.css +1 -1
- package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileItem.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderArea.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
- package/library/assets/components/VcForm/UiComponents/VcInputError.css +1 -1
- package/library/assets/components/VcForm/UiComponents/VcInputLabel.css +1 -1
- package/library/assets/components/VcForm/VcFormItem.css +1 -1
- package/library/assets/components/VcHtmlEditor/VcHtmlEditor.css +1 -1
- package/library/assets/components/VcHyperLink/VcHyperLink.css +1 -1
- package/library/assets/components/VcIconPicker/VcIconPicker.css +1 -1
- package/library/assets/components/VcImageUploader/VcImageUploader.css +1 -1
- package/library/assets/components/VcInput/VcInput.css +1 -1
- package/library/assets/components/VcInputNumber/VcInputNumber.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonCodeMirror.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
- package/library/assets/components/VcJsonSchema/VcJsonSchema.css +1 -1
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerCards.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerFields.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerMore.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerObject.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerSections.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerState.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerTable.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerTree.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerValue.css +1 -0
- package/library/assets/components/VcJsonViewer/VcJsonViewer.css +1 -0
- package/library/assets/components/VcLightbox/VcLightbox.css +1 -0
- package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
- package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
- package/library/assets/components/VcLoading/VcLoading.css +1 -1
- package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
- package/library/assets/components/VcMdEditor/VcMdEditorContent.css +1 -1
- package/library/assets/components/VcMessage/VcMessage.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageFileBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageImageBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageMarkdownBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageTextBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageVideoBlock.css +1 -1
- package/library/assets/components/VcMessage/reactions/VcMessageEmojiPicker.css +1 -1
- package/library/assets/components/VcMessage/reactions/VcMessageReactionBar.css +1 -1
- package/library/assets/components/VcMessagesWrapper/VcMessagesWrapper.css +1 -1
- package/library/assets/components/VcMeterGroup/VcMeterGroup.css +1 -1
- package/library/assets/components/VcModal/VcModal.css +1 -1
- package/library/assets/components/VcNotification/VcNotification.css +1 -1
- package/library/assets/components/VcOtpInput/VcOtpInput.css +1 -1
- package/library/assets/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.css +1 -0
- package/library/assets/components/VcPdfViewer/VcPdfDocument.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfDocumentCard.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfDocumentViewerFooter.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfViewer.css +1 -0
- package/library/assets/components/VcPhoneInput/VcFlagLabel.css +1 -1
- package/library/assets/components/VcPhoneInput/VcPhoneInput.css +1 -1
- package/library/assets/components/VcPopover/VcConfirmPopover.css +1 -1
- package/library/assets/components/VcPopover/VcPopover.css +1 -1
- package/library/assets/components/VcPopover/VcSelectPopover.css +1 -1
- package/library/assets/components/VcProgress/VcProgress.css +1 -1
- package/library/assets/components/VcProgress/VcProgressCircular.css +1 -1
- package/library/assets/components/VcRadio/VcRadio.css +1 -1
- package/library/assets/components/VcRadioButtons/VcRadioButtonsGroup.css +1 -1
- package/library/assets/components/VcRadioGroup/VcRadioGroup.css +1 -1
- package/library/assets/components/VcRadioTabs/UiComponents/VcRadioTabsNav.css +1 -1
- package/library/assets/components/VcRadioTabs/VcRadioTabs.css +1 -1
- package/library/assets/components/VcSegmented/VcSegmented.css +1 -1
- package/library/assets/components/VcSelect/VcSelect.css +1 -1
- package/library/assets/components/VcSelect/VcSelectOption.css +1 -1
- package/library/assets/components/VcSipFlow/VcSipFlow.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
- package/library/assets/components/VcSlider/VcSlider.css +1 -1
- package/library/assets/components/VcSoundplayer/VcPlayerPlaybackRate.css +1 -1
- package/library/assets/components/VcSoundplayer/VcSoundPlayerMarker.css +1 -1
- package/library/assets/components/VcSplitButton/VcSplitButton.css +1 -1
- package/library/assets/components/VcSwitch/VcSwitch.css +1 -1
- package/library/assets/components/VcSystemUserPrompt/VcSystemUserPrompt.css +1 -1
- package/library/assets/components/VcTable/VcTable.css +1 -1
- package/library/assets/components/VcTable/VcTable2.css +1 -1
- package/library/assets/components/VcTabs/VcTabNav.css +1 -1
- package/library/assets/components/VcTabs/VcTabs.css +1 -1
- package/library/assets/components/VcTag/VcTag.css +1 -1
- package/library/assets/components/VcTagInput/VcTagInput.css +1 -1
- package/library/assets/components/VcTimeInput/VcTimeInput.css +1 -1
- package/library/assets/components/VcToolCall/UiComponents/VcToolCallValue.css +1 -0
- package/library/assets/components/VcToolCall/VcToolCall.css +1 -0
- package/library/assets/components/VcTour/VcTour.css +1 -1
- package/library/assets/components/VcTransfer/VcTransfer.css +1 -1
- package/library/assets/components/VcTree/VcTree.css +1 -1
- package/library/assets/components/VcTree/VcTreeSelect.css +1 -1
- package/library/assets/components/VcVerticalTabs/VcVerticalTabs.css +1 -1
- package/library/assets/components/VcVerticalTabs/VerticalTabNav.css +1 -1
- package/library/assets/components/VcViewSwitcher/VcViewSwitcher.css +1 -1
- package/library/assets/components/VcWizard/VcSummaryProgress.css +1 -1
- package/library/assets/components/VcWizard/VcWizard.css +1 -1
- package/library/assets/components/VcWizard/VcWizardNavigation.css +1 -1
- package/library/assets/components/VcWizard/VcWizardSummary.css +1 -1
- package/library/assets/entity/components/Form/VcBaseVerticalForm.css +1 -1
- package/library/assets/entity/components/Table/VcEntityListTable.css +1 -1
- package/library/assets/entity/components/Tabs/VcEntityEditableTabs.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/autocomplete.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/base.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/button.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/checkbox.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/image-viewer.css +1 -0
- package/library/assets/node_modules/element-plus/theme-chalk/src/input-number.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/input.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/option.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/popover.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/popper.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/radio-button.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/radio.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/select.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/tree.css +1 -1
- package/library/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.mjs +110 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue3.mjs +5 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.mjs +70 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunRow.vue3.mjs +5 -0
- package/library/components/VcAgentRun/VcAgentRunCard.vue.mjs +423 -0
- package/library/components/VcAgentRun/VcAgentRunCard.vue3.mjs +5 -0
- package/library/components/VcAgentRun/VcAgentRunGroup.vue.mjs +210 -0
- package/library/components/VcAgentRun/VcAgentRunGroup.vue3.mjs +5 -0
- package/library/components/VcAgentRun/agentRunStatus.mjs +39 -0
- package/library/components/VcAiReasoning/VcAiReasoning.vue.mjs +227 -0
- package/library/components/VcAiReasoning/VcAiReasoning.vue3.mjs +5 -0
- package/library/components/VcApprovalCard/VcApprovalCard.vue.mjs +419 -0
- package/library/components/VcApprovalCard/VcApprovalCard.vue3.mjs +5 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.mjs +69 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.mjs +177 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.mjs +98 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.mjs +142 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.mjs +156 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserText.vue.mjs +76 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserText.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/VcAskUserCard.vue.mjs +382 -0
- package/library/components/VcAskUserCard/VcAskUserCard.vue3.mjs +5 -0
- package/library/components/VcAskUserCard/askUserAnswers.mjs +224 -0
- package/library/components/VcAutocomplete/VcAutocomplete.vue.mjs +4 -2
- package/library/components/VcAvatar/VcAvatar.vue.mjs +3 -3
- package/library/components/VcBadgeTag/VcBadgeTag.vue.mjs +8 -5
- package/library/components/VcButton/VcButton.vue.mjs +10 -4
- package/library/components/VcButton/VcButtonIcon.vue.mjs +3 -4
- package/library/components/VcButton/VcToggleButton.vue.mjs +5 -4
- package/library/components/VcChatComposer/VcChatComposer.vue.mjs +154 -51
- package/library/components/VcCodeBlock/VcCodeBlock.vue.mjs +27 -35
- package/library/components/VcCollapse/VcCollapseItem.vue.mjs +12 -7
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +40 -11
- package/library/components/VcDatePickerPanel/VcDatePickerPanel.vue.mjs +49 -32
- package/library/components/VcExcelUploader/VcExcelFileProcessLoader.vue.mjs +2 -2
- package/library/components/VcExcelUploader/VcExcelFileUploadBlock.vue.mjs +11 -7
- package/library/components/VcExcelUploader/VcExcelFileUploader.vue.mjs +7 -6
- package/library/components/VcExcelUploader/VcFileImportErrorsCard.vue.mjs +8 -4
- package/library/components/VcExcelUploader/VcFileImportParseResultBlock.vue.mjs +2 -1
- package/library/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.mjs +13 -12
- package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.mjs +6 -5
- package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.mjs +4 -3
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.mjs +7 -3
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.mjs +3 -2
- package/library/components/VcFileUploader/VcFileItem.vue.mjs +59 -31
- package/library/components/VcFileUploader/VcFileUploader.vue.mjs +2 -1
- package/library/components/VcFileUploader/VcFileUploaderArea.vue.mjs +2 -2
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue2.mjs +2 -1
- package/library/components/VcFileUploader/VcSimpleUploaderAction.vue.mjs +4 -3
- package/library/components/VcForm/UiComponents/VcInputLabel.vue.mjs +6 -2
- package/library/components/VcHtmlEditor/VcHtmlEditor.vue.mjs +4 -1
- package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +19 -31
- package/library/components/VcHtmlEditor/htmlEditor.config.mjs +13 -10
- package/library/components/VcHyperLink/VcHyperLink.vue.mjs +1 -1
- package/library/components/VcIconPicker/VcIconPicker.vue.mjs +1 -1
- package/library/components/VcImageUploader/VcImageUploader.vue.mjs +27 -14
- package/library/components/VcInput/VcInput.vue.mjs +4 -2
- package/library/components/VcInputNumber/VcInputNumber.vue.mjs +29 -4
- package/library/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.mjs +5 -4
- package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -2
- package/library/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.mjs +6 -9
- package/library/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.mjs +9 -10
- package/library/components/VcJsonSchema/VcJsonSchema.vue.mjs +0 -1
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.mjs +98 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.mjs +164 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.mjs +50 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.mjs +25 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.mjs +64 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.mjs +53 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.mjs +104 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.mjs +45 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.mjs +259 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.mjs +179 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.mjs +146 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/VcJsonViewer.vue.mjs +454 -0
- package/library/components/VcJsonViewer/VcJsonViewer.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/jsonViewerText.mjs +41 -0
- package/library/components/VcJsonViewer/jsonViewerUtils.mjs +568 -0
- package/library/components/VcJsonViewer/useJsonViewerContext.mjs +25 -0
- package/library/components/VcLightbox/VcLightbox.vue.mjs +417 -0
- package/library/components/VcLightbox/VcLightbox.vue3.mjs +5 -0
- package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Circles.vue2.mjs +3 -2
- package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +5 -4
- package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LdsSpinner.vue2.mjs +3 -2
- package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LoadIcon.vue2.mjs +5 -4
- package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +4 -3
- package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue2.mjs +3 -3
- package/library/components/VcMdEditor/VcMdEditor.vue.mjs +37 -12
- package/library/components/VcMdEditor/VcMdEditorContent.vue.mjs +10 -0
- package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +6 -6
- package/library/components/VcMdEditor/ltrNumbersPlugin.mjs +55 -0
- package/library/components/VcMdEditor/readonlyMarkdown.mjs +81 -0
- package/library/components/VcMdEditor/streamingInterval.mjs +12 -0
- package/library/components/VcMessage/VcMessage.vue.mjs +75 -42
- package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +99 -14
- package/library/components/VcMessage/content/VcMessageMarkdownBlock.vue.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageMarkdownBlock.vue2.mjs +33 -0
- package/library/components/VcMessage/content/VcMessageTextBlock.vue.mjs +21 -3
- package/library/components/VcMessage/content/markdownPreview.mjs +32 -0
- package/library/components/VcMessage/content/messageContentComponents.mjs +3 -1
- package/library/components/VcMessagesWrapper/VcMessagesWrapper.vue.mjs +120 -52
- package/library/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.mjs +49 -29
- package/library/components/VcMeterGroup/VcMeterGroup.vue.mjs +1 -1
- package/library/components/VcModal/VcConfirmModal.vue.mjs +10 -9
- package/library/components/VcModal/VcModal.vue.mjs +21 -22
- package/library/components/VcNotification/VcNotification.vue.mjs +2 -2
- package/library/components/VcNotification/VcNotificationMessage.vue.mjs +14 -11
- package/library/components/VcPagination/VcPagination.vue.mjs +5 -4
- package/library/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.mjs +166 -0
- package/library/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue3.mjs +5 -0
- package/library/components/VcPdfViewer/VcPdfDocument.vue.mjs +12 -76
- package/library/components/VcPdfViewer/VcPdfDocumentCard.vue.mjs +18 -8
- package/library/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.mjs +23 -7
- package/library/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.mjs +23 -10
- package/library/components/VcPdfViewer/VcPdfViewer.vue.mjs +581 -0
- package/library/components/VcPdfViewer/VcPdfViewer.vue3.mjs +5 -0
- package/library/components/VcPdfViewer/pdfDocumentActions.mjs +90 -0
- package/library/components/VcPdfViewer/pdfDocumentParams.mjs +11 -0
- package/library/components/VcPdfViewer/pdfStandardFonts.mjs +21 -0
- package/library/components/VcPdfViewer/standard_fonts/FoxitDingbats.pfb +0 -0
- package/library/components/VcPdfViewer/standard_fonts/FoxitSymbol.pfb +0 -0
- package/library/components/VcPdfViewer/standard_fonts/LICENSE_FOXIT +27 -0
- package/library/components/VcPhoneInput/VcPhoneInput.vue.mjs +12 -6
- package/library/components/VcPopover/VcConfirmPopover.vue.mjs +3 -3
- package/library/components/VcPopover/VcSelectPopover.vue.mjs +2 -1
- package/library/components/VcProgress/VcProgress.vue.mjs +11 -20
- package/library/components/VcProgress/VcProgressCircular.vue.mjs +14 -23
- package/library/components/VcProgress/progress.options.mjs +21 -21
- package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +13 -7
- package/library/components/VcSelect/VcSelect.vue.mjs +18 -19
- package/library/components/VcSelect/VcSelectGrouped.vue.mjs +8 -5
- package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue2.mjs +1 -1
- package/library/components/VcSoundplayer/VcPlayerPlayStopButton.vue.mjs +7 -6
- package/library/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.mjs +2 -2
- package/library/components/VcSoundplayer/VcPlayerSkipButtons.vue.mjs +5 -4
- package/library/components/VcSoundplayer/VcSoundPlayer.vue.mjs +26 -23
- package/library/components/VcSoundplayer/VcSoundPlayerError.vue.mjs +5 -4
- package/library/components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerProgress.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +5 -3
- package/library/components/VcSoundplayer/VcSoundVolume.vue.mjs +5 -4
- package/library/components/VcSoundplayer/player.options.mjs +13 -5
- package/library/components/VcSparkline/VcBarLine.vue.mjs +2 -2
- package/library/components/VcSparkline/VcTrendLine.vue.mjs +2 -2
- package/library/components/VcSplitButton/VcSplitButton.vue.mjs +18 -19
- package/library/components/VcSwitch/VcSwitch.vue.mjs +1 -1
- package/library/components/VcTable/VcTable.vue.mjs +18 -11
- package/library/components/VcTabs/VcTabNav.vue.mjs +11 -9
- package/library/components/VcTag/VcTag.vue.mjs +6 -4
- package/library/components/VcTagInput/VcTagInput.vue.mjs +10 -7
- package/library/components/VcTimeInput/VcTimeInput.vue.mjs +18 -8
- package/library/components/VcToolCall/UiComponents/VcToolCallValue.vue.mjs +64 -0
- package/library/components/VcToolCall/UiComponents/VcToolCallValue.vue3.mjs +5 -0
- package/library/components/VcToolCall/VcToolCall.vue.mjs +328 -0
- package/library/components/VcToolCall/VcToolCall.vue3.mjs +5 -0
- package/library/components/VcTree/VcTree.vue.mjs +8 -4
- package/library/components/VcTree/VcTreeSelect.vue.mjs +11 -7
- package/library/components/VcWizard/VcSummaryProgress.vue.mjs +10 -7
- package/library/components/VcWizard/VcSummaryStep.vue.mjs +8 -4
- package/library/components/VcWizard/VcWizardNavigation.vue.mjs +12 -8
- package/library/composables/input/useInputColor.mjs +3 -3
- package/library/composables/useElapsed.mjs +47 -0
- package/library/composables/useThrottledText.mjs +22 -0
- package/library/entity/components/Button/VcEntityAddButton.vue.mjs +4 -3
- package/library/entity/components/Button/VcEntityCancelButton.vue.mjs +4 -3
- package/library/entity/components/Button/VcEntityEditIconButton.vue.mjs +3 -2
- package/library/entity/components/Form/VcBaseVerticalForm.vue.mjs +6 -5
- package/library/entity/components/Form/VcEntityEditPageForm.vue.mjs +4 -3
- package/library/entity/components/Form/VcEntityVerticalEditForm.vue.mjs +7 -6
- package/library/entity/components/Table/VcEntityListTable.vue.mjs +15 -15
- package/library/enum/constants.mjs +5 -11
- package/library/enum/fileTypes.mjs +24 -39
- package/library/enum/inputDefaults.mjs +2 -2
- package/library/index.mjs +263 -235
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +172 -1
- package/library/plugin-components.gen.mjs +95 -68
- package/library/plugin.mjs +261 -233
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +174 -122
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs.gz +0 -0
- package/library/theme/themeMerge.mjs +32 -16
- package/library/theme/themes.json.mjs +172 -222
- package/library/tokens/tokens.mjs +2 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +46 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +20 -0
- package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +104 -0
- package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +53 -0
- package/library/types/components/VcAgentRun/agentRunStatus.d.ts +13 -0
- package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +85 -0
- package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +101 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +41 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +53 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +25 -0
- package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +84 -0
- package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +57 -0
- package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +72 -72
- package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +1 -1
- package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +1 -1
- package/library/types/components/VcButton/VcButton.vue.d.ts +7 -7
- package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +12 -13
- package/library/types/components/VcButton/VcToggleButton.vue.d.ts +4 -4
- package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +43 -15
- package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +24 -24
- package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +18 -18
- package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +15 -15
- package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +12 -12
- package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +1 -1
- package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +3 -3
- package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +1 -1
- package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +21 -21
- package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +18 -18
- package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +4 -4
- package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +1 -1
- package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +1 -1
- package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +6 -5
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +4 -4
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +11 -11
- package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +10 -45
- package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +2 -2
- package/library/types/components/VcForm/VcForm.vue.d.ts +3 -3
- package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +2 -2
- package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +1 -1
- package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +3 -3
- package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +3 -3
- package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +6 -6
- package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +3 -3
- package/library/types/components/VcInput/VcInput.vue.d.ts +11 -11
- package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +3 -3
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +42 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +32 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +31 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +25 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +34 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +39 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +46 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +37 -0
- package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +162 -0
- package/library/types/components/VcJsonViewer/jsonViewerText.d.ts +8 -0
- package/library/types/components/VcJsonViewer/jsonViewerUtils.d.ts +127 -0
- package/library/types/components/VcJsonViewer/useJsonViewerContext.d.ts +5 -0
- package/library/types/components/VcLightbox/VcLightbox.vue.d.ts +90 -0
- package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +2 -2
- package/library/types/components/VcLoading/VcLoading.vue.d.ts +2 -2
- package/library/types/components/VcLoading/enum.d.ts +2 -2
- package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +111 -55
- package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +3 -3
- package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +1 -1
- package/library/types/components/VcMdEditor/ltrNumbersPlugin.d.ts +16 -0
- package/library/types/components/VcMdEditor/readonlyMarkdown.d.ts +7 -0
- package/library/types/components/VcMdEditor/streamingInterval.d.ts +7 -0
- package/library/types/components/VcMessage/VcMessage.vue.d.ts +24 -3
- package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +6 -2
- package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/markdownPreview.d.ts +1 -0
- package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +1 -1
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +223 -84
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +89 -42
- package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +2 -2
- package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +1 -1
- package/library/types/components/VcModal/VcModal.vue.d.ts +3 -3
- package/library/types/components/VcNotification/VcNotification.vue.d.ts +1 -1
- package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +8 -8
- package/library/types/components/VcPagination/VcPagination.vue.d.ts +1 -1
- package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +4 -4
- package/library/types/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.d.ts +64 -0
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +1 -1
- package/library/types/components/VcPdfViewer/VcPdfViewer.vue.d.ts +114 -0
- package/library/types/components/VcPdfViewer/pdfDocumentActions.d.ts +29 -0
- package/library/types/components/VcPdfViewer/pdfDocumentParams.d.ts +14 -0
- package/library/types/components/VcPdfViewer/pdfStandardFonts.d.ts +9 -0
- package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +8 -8
- package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +1 -1
- package/library/types/components/VcPopover/VcPopover.vue.d.ts +1 -1
- package/library/types/components/VcPopover/VcSelectPopover.vue.d.ts +3 -3
- package/library/types/components/VcProgress/VcProgress.vue.d.ts +1 -1
- package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +4 -4
- package/library/types/components/VcProgress/progress.options.d.ts +9 -7
- package/library/types/components/VcRadio/VcRadio.vue.d.ts +15 -15
- package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +9 -9
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +12 -12
- package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +6 -6
- package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +18 -18
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +42 -42
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +51 -51
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +48 -48
- package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +9 -9
- package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +1 -1
- package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +6 -6
- package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +4 -4
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +2 -2
- package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +4 -4
- package/library/types/components/VcSoundplayer/player.options.d.ts +1 -0
- package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +4 -4
- package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +4 -4
- package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +4 -4
- package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +6 -6
- package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +24 -24
- package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +4 -4
- package/library/types/components/VcTable/VcTable.vue.d.ts +6 -3
- package/library/types/components/VcTabs/VcTabPane.vue.d.ts +1 -1
- package/library/types/components/VcTabs/VcTabs.vue.d.ts +1 -1
- package/library/types/components/VcTag/VcTag.vue.d.ts +3 -3
- package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +14 -14
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +5 -5
- package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +66 -0
- package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +91 -0
- package/library/types/components/VcTour/VcTour.vue.d.ts +1 -1
- package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +3 -3
- package/library/types/components/VcTree/VcTree.vue.d.ts +18 -18
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +42 -42
- package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +3 -3
- package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +3 -3
- package/library/types/components/VcViewSwitcher/VcViewSwitcher.vue.d.ts +9 -9
- package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +2 -2
- package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +1 -1
- package/library/types/components/exports.d.ts +19 -1
- package/library/types/components.gen.d.ts +9 -0
- package/library/types/composables/input/useFileUploader.d.ts +2 -2
- package/library/types/composables/useElapsed.d.ts +38 -0
- package/library/types/composables/useThrottledText.d.ts +16 -0
- package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +3 -3
- package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +3 -3
- package/library/types/enum/constants.d.ts +2 -10
- package/library/types/enum/inputDefaults.d.ts +2 -2
- package/library/types/localization/locales/en.json.d.ts +365 -194
- package/library/types/theme/themes.json.d.ts +177 -227
- package/library/types/tokens/tokens.d.ts +2 -1
- package/library/types/types/VcAgentRun.types.d.ts +197 -0
- package/library/types/types/VcAiChat.types.d.ts +5 -0
- package/library/types/types/VcAiReasoning.types.d.ts +67 -0
- package/library/types/types/VcApprovalCard.types.d.ts +109 -0
- package/library/types/types/VcAskUserCard.types.d.ts +166 -0
- package/library/types/types/VcChatComposer.types.d.ts +86 -0
- package/library/types/types/VcDropdown.types.d.ts +1 -1
- package/library/types/types/VcFileUploader.types.d.ts +26 -0
- package/library/types/types/VcJsonViewer.types.d.ts +41 -0
- package/library/types/types/VcLightbox.types.d.ts +112 -0
- package/library/types/types/VcMessage.types.d.ts +42 -4
- package/library/types/types/VcMessagesWrapper.types.d.ts +100 -12
- package/library/types/types/VcOtpInput.types.d.ts +1 -1
- package/library/types/types/VcPdfViewer.types.d.ts +138 -0
- package/library/types/types/VcProgress.types.d.ts +1 -1
- package/library/types/types/VcToolCall.types.d.ts +102 -0
- package/library/types/types/index.d.ts +9 -1
- package/library/types/utils/aiChat.d.ts +50 -0
- package/library/types/utils/download.d.ts +5 -0
- package/library/types/utils/elementPlusIcons.d.ts +9 -0
- package/library/types/utils/fileAccept.d.ts +30 -0
- package/library/types/utils/i18nParams.d.ts +8 -0
- package/library/types/utils/numberRuns.d.ts +21 -0
- package/library/types/utils/themeColor.d.ts +1 -0
- package/library/utils/UniqueComponentId.mjs +2 -2
- package/library/utils/aiChat.mjs +121 -0
- package/library/utils/download.mjs +13 -0
- package/library/utils/elementPlusIcons.mjs +14 -0
- package/library/utils/fileAccept.mjs +66 -0
- package/library/utils/i18nParams.mjs +6 -0
- package/library/utils/jsonSchema/index.mjs.gz +0 -0
- package/library/utils/numberRuns.mjs +63 -0
- package/library/utils/themeColor.mjs +9 -0
- package/package.json +216 -215
- package/src/theme/index.ts +101 -101
- package/src/theme/tailwindScheme.js +70 -37
- package/src/theme/theme.types.ts +31 -31
- package/src/theme/themeMerge.ts +61 -40
- package/src/theme/themes.json +177 -227
- package/tailwind.config.d.ts +5 -5
- package/tailwind.config.js +176 -192
- package/library/types/types/VcTagInput.types.d.ts +0 -1
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch, onBeforeUnmount, unref, openBlock, createBlock, createSlots, withCtx, createElementVNode, toDisplayString, createVNode, createElementBlock, Fragment, createCommentVNode, renderSlot, createTextVNode } from "vue";
|
|
2
|
+
import { ElImageViewer } from "element-plus";
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/image-viewer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
|
+
import '../../assets/components/VcLightbox/VcLightbox.css';/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { useVModel, useEventListener } from "@vueuse/core";
|
|
7
|
+
import { X, ChevronLeft, ChevronRight, ImageOff, ZoomOut, ZoomIn, RotateCcw, Download } from "@lucide/vue";
|
|
8
|
+
import _sfc_main$1 from "../VcButton/VcButtonIcon.vue.mjs";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import _sfc_main$2 from "../VcIcon/VcIcon.vue.mjs";
|
|
11
|
+
/* empty css */
|
|
12
|
+
import { useRTL } from "../../composables/useRTL.mjs";
|
|
13
|
+
import { tVU } from "../../localization/index.mjs";
|
|
14
|
+
import UniqueComponentId from "../../utils/UniqueComponentId.mjs";
|
|
15
|
+
import ZIndexUtils from "../../utils/ZIndexUtils.mjs";
|
|
16
|
+
const _hoisted_1 = {
|
|
17
|
+
"aria-live": "polite",
|
|
18
|
+
dir: "auto",
|
|
19
|
+
"data-test": "lightbox-counter"
|
|
20
|
+
};
|
|
21
|
+
const _hoisted_2 = ["aria-label"];
|
|
22
|
+
const _hoisted_3 = { "aria-hidden": "true" };
|
|
23
|
+
const _hoisted_4 = ["id"];
|
|
24
|
+
const _hoisted_5 = {
|
|
25
|
+
key: 1,
|
|
26
|
+
class: "vc-lightbox__caption",
|
|
27
|
+
dir: "auto",
|
|
28
|
+
"data-test": "lightbox-caption"
|
|
29
|
+
};
|
|
30
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
|
+
__name: "VcLightbox",
|
|
32
|
+
props: {
|
|
33
|
+
modelValue: { type: Boolean, default: false },
|
|
34
|
+
items: { default: () => [] },
|
|
35
|
+
index: { default: 0 },
|
|
36
|
+
loop: { type: Boolean, default: false },
|
|
37
|
+
zoomable: { type: Boolean, default: true },
|
|
38
|
+
maxZoom: { default: 4 },
|
|
39
|
+
downloadable: { type: Boolean, default: true },
|
|
40
|
+
closeOnBackdrop: { type: Boolean, default: true },
|
|
41
|
+
closeOnEscape: { type: Boolean, default: true },
|
|
42
|
+
showCounter: { type: Boolean, default: true }
|
|
43
|
+
},
|
|
44
|
+
emits: ["update:modelValue", "update:index", "open", "close", "error", "download"],
|
|
45
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
46
|
+
const props = __props;
|
|
47
|
+
const emit = __emit;
|
|
48
|
+
const { isRTL } = useRTL();
|
|
49
|
+
const titleId = UniqueComponentId("vc-lightbox-title-");
|
|
50
|
+
const modalKey = UniqueComponentId("vc-lightbox-");
|
|
51
|
+
const viewerRef = ref();
|
|
52
|
+
const chromeRef = ref();
|
|
53
|
+
const isOpen = useVModel(props, "modelValue", emit, { passive: true });
|
|
54
|
+
const currentIndex = useVModel(props, "index", emit, { passive: true });
|
|
55
|
+
const normalizedItems = computed(() => props.items.map((item) => typeof item === "string" ? { src: item } : item));
|
|
56
|
+
const urls = computed(() => normalizedItems.value.map((item) => item.src));
|
|
57
|
+
const count = computed(() => normalizedItems.value.length);
|
|
58
|
+
const activeIndex = computed(() => Math.min(Math.max(Math.trunc(currentIndex.value) || 0, 0), Math.max(count.value - 1, 0)));
|
|
59
|
+
const currentItem = computed(() => normalizedItems.value[activeIndex.value]);
|
|
60
|
+
const hasMany = computed(() => count.value > 1);
|
|
61
|
+
const hasPrev = computed(() => hasMany.value && (props.loop || activeIndex.value > 0));
|
|
62
|
+
const hasNext = computed(() => hasMany.value && (props.loop || activeIndex.value < count.value - 1));
|
|
63
|
+
const isCounterVisible = computed(() => props.showCounter && hasMany.value);
|
|
64
|
+
const closeText = computed(() => tVU.t("voicenterUi.lightbox.close"));
|
|
65
|
+
const previousText = computed(() => tVU.t("voicenterUi.lightbox.previous"));
|
|
66
|
+
const nextText = computed(() => tVU.t("voicenterUi.lightbox.next"));
|
|
67
|
+
const zoomInText = computed(() => tVU.t("voicenterUi.lightbox.zoomIn"));
|
|
68
|
+
const zoomOutText = computed(() => tVU.t("voicenterUi.lightbox.zoomOut"));
|
|
69
|
+
const resetZoomText = computed(() => tVU.t("voicenterUi.lightbox.resetZoom"));
|
|
70
|
+
const downloadText = computed(() => tVU.t("voicenterUi.lightbox.download"));
|
|
71
|
+
const loadErrorText = computed(() => tVU.t("voicenterUi.lightbox.loadError"));
|
|
72
|
+
const counterText = computed(() => tVU.t("voicenterUi.lightbox.counter", {
|
|
73
|
+
current: activeIndex.value + 1,
|
|
74
|
+
total: count.value
|
|
75
|
+
}));
|
|
76
|
+
const dialogLabel = computed(() => {
|
|
77
|
+
var _a, _b;
|
|
78
|
+
return ((_a = currentItem.value) == null ? void 0 : _a.title) || ((_b = currentItem.value) == null ? void 0 : _b.alt) || tVU.t("voicenterUi.lightbox.title");
|
|
79
|
+
});
|
|
80
|
+
function goTo(index) {
|
|
81
|
+
if (!count.value) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
const target = Math.min(Math.max(Math.trunc(index) || 0, 0), count.value - 1);
|
|
85
|
+
if (target === activeIndex.value) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (viewerRef.value) {
|
|
89
|
+
viewerRef.value.setActiveItem(target);
|
|
90
|
+
} else {
|
|
91
|
+
currentIndex.value = target;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function neighbourIndex(delta) {
|
|
95
|
+
const target = activeIndex.value + delta;
|
|
96
|
+
if (target >= 0 && target < count.value) {
|
|
97
|
+
return target;
|
|
98
|
+
}
|
|
99
|
+
if (props.loop && count.value > 1) {
|
|
100
|
+
return (target + count.value) % count.value;
|
|
101
|
+
}
|
|
102
|
+
return void 0;
|
|
103
|
+
}
|
|
104
|
+
function next() {
|
|
105
|
+
const target = neighbourIndex(1);
|
|
106
|
+
if (target !== void 0) {
|
|
107
|
+
goTo(target);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function prev() {
|
|
111
|
+
const target = neighbourIndex(-1);
|
|
112
|
+
if (target !== void 0) {
|
|
113
|
+
goTo(target);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function onSwitch(index) {
|
|
117
|
+
currentIndex.value = index;
|
|
118
|
+
}
|
|
119
|
+
watch(activeIndex, (index) => {
|
|
120
|
+
var _a;
|
|
121
|
+
(_a = viewerRef.value) == null ? void 0 : _a.setActiveItem(index);
|
|
122
|
+
});
|
|
123
|
+
function open(index = 0) {
|
|
124
|
+
goTo(index);
|
|
125
|
+
isOpen.value = true;
|
|
126
|
+
}
|
|
127
|
+
function close() {
|
|
128
|
+
isOpen.value = false;
|
|
129
|
+
}
|
|
130
|
+
watch(isOpen, (value, previous) => {
|
|
131
|
+
if (value && !previous) {
|
|
132
|
+
ZIndexUtils.setModal(modalKey);
|
|
133
|
+
emit("open");
|
|
134
|
+
} else if (!value && previous) {
|
|
135
|
+
ZIndexUtils.removeModal(modalKey);
|
|
136
|
+
emit("close");
|
|
137
|
+
}
|
|
138
|
+
}, { immediate: true });
|
|
139
|
+
onBeforeUnmount(() => {
|
|
140
|
+
if (ZIndexUtils.getModalByKey(modalKey)) {
|
|
141
|
+
ZIndexUtils.removeModal(modalKey);
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
watch(chromeRef, (chrome) => {
|
|
145
|
+
const wrapper = chrome == null ? void 0 : chrome.parentElement;
|
|
146
|
+
if (!wrapper) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
wrapper.classList.add("vc-lightbox");
|
|
150
|
+
wrapper.classList.toggle("is--no-toolbar", !props.zoomable && !props.downloadable);
|
|
151
|
+
wrapper.setAttribute("role", "dialog");
|
|
152
|
+
wrapper.setAttribute("aria-modal", "true");
|
|
153
|
+
wrapper.setAttribute("aria-labelledby", titleId);
|
|
154
|
+
}, { flush: "post" });
|
|
155
|
+
useEventListener(window, "keydown", (event) => {
|
|
156
|
+
if (!isOpen.value || event.altKey || event.ctrlKey || event.metaKey) {
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
if (isRTL.value && (event.key === "ArrowLeft" || event.key === "ArrowRight")) {
|
|
160
|
+
event.stopPropagation();
|
|
161
|
+
event.preventDefault();
|
|
162
|
+
if (event.key === "ArrowLeft") {
|
|
163
|
+
next();
|
|
164
|
+
} else {
|
|
165
|
+
prev();
|
|
166
|
+
}
|
|
167
|
+
} else if (event.key === "Home") {
|
|
168
|
+
event.preventDefault();
|
|
169
|
+
goTo(0);
|
|
170
|
+
} else if (event.key === "End") {
|
|
171
|
+
event.preventDefault();
|
|
172
|
+
goTo(count.value - 1);
|
|
173
|
+
}
|
|
174
|
+
}, { capture: true });
|
|
175
|
+
function onError() {
|
|
176
|
+
const item = currentItem.value;
|
|
177
|
+
if (item) {
|
|
178
|
+
emit("error", item);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function fileNameFromUrl(url) {
|
|
182
|
+
if (/^(data|blob):/i.test(url)) {
|
|
183
|
+
return "";
|
|
184
|
+
}
|
|
185
|
+
try {
|
|
186
|
+
return decodeURIComponent(new URL(url, window.location.href).pathname.split("/").pop() ?? "");
|
|
187
|
+
} catch {
|
|
188
|
+
return "";
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
function downloadItem(item) {
|
|
192
|
+
const url = item.downloadUrl ?? item.src;
|
|
193
|
+
const link = document.createElement("a");
|
|
194
|
+
link.href = url;
|
|
195
|
+
link.download = item.fileName ?? fileNameFromUrl(url);
|
|
196
|
+
link.target = "_blank";
|
|
197
|
+
link.rel = "noopener";
|
|
198
|
+
link.style.display = "none";
|
|
199
|
+
document.body.appendChild(link);
|
|
200
|
+
link.click();
|
|
201
|
+
link.remove();
|
|
202
|
+
}
|
|
203
|
+
function onDownloadClick(event) {
|
|
204
|
+
const item = currentItem.value;
|
|
205
|
+
if (!item) {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
emit("download", item, event);
|
|
209
|
+
if (!event.defaultPrevented) {
|
|
210
|
+
downloadItem(item);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
__expose({
|
|
214
|
+
open,
|
|
215
|
+
close,
|
|
216
|
+
next,
|
|
217
|
+
prev
|
|
218
|
+
});
|
|
219
|
+
return (_ctx, _cache) => {
|
|
220
|
+
return unref(isOpen) && urls.value.length ? (openBlock(), createBlock(unref(ElImageViewer), {
|
|
221
|
+
key: 0,
|
|
222
|
+
ref_key: "viewerRef",
|
|
223
|
+
ref: viewerRef,
|
|
224
|
+
"url-list": urls.value,
|
|
225
|
+
"initial-index": activeIndex.value,
|
|
226
|
+
infinite: __props.loop,
|
|
227
|
+
"hide-on-click-modal": __props.closeOnBackdrop,
|
|
228
|
+
"close-on-press-escape": __props.closeOnEscape,
|
|
229
|
+
"min-scale": __props.zoomable ? void 0 : 1,
|
|
230
|
+
"max-scale": __props.zoomable ? __props.maxZoom : 1,
|
|
231
|
+
teleported: "",
|
|
232
|
+
onClose: close,
|
|
233
|
+
onSwitch,
|
|
234
|
+
onError
|
|
235
|
+
}, createSlots({
|
|
236
|
+
toolbar: withCtx(({ actions, reset }) => [
|
|
237
|
+
__props.zoomable ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
238
|
+
createVNode(_sfc_main$1, {
|
|
239
|
+
title: zoomOutText.value,
|
|
240
|
+
"aria-label": zoomOutText.value,
|
|
241
|
+
hoverless: "",
|
|
242
|
+
class: "vc-lightbox__control",
|
|
243
|
+
"data-test-name": "lightbox-zoom-out",
|
|
244
|
+
onClick: ($event) => actions("zoomOut")
|
|
245
|
+
}, {
|
|
246
|
+
default: withCtx(() => [
|
|
247
|
+
createVNode(_sfc_main$2, {
|
|
248
|
+
icon: unref(ZoomOut),
|
|
249
|
+
class: "vc-lightbox__icon"
|
|
250
|
+
}, null, 8, ["icon"])
|
|
251
|
+
]),
|
|
252
|
+
_: 1
|
|
253
|
+
}, 8, ["title", "aria-label", "onClick"]),
|
|
254
|
+
createVNode(_sfc_main$1, {
|
|
255
|
+
title: zoomInText.value,
|
|
256
|
+
"aria-label": zoomInText.value,
|
|
257
|
+
hoverless: "",
|
|
258
|
+
class: "vc-lightbox__control",
|
|
259
|
+
"data-test-name": "lightbox-zoom-in",
|
|
260
|
+
onClick: ($event) => actions("zoomIn")
|
|
261
|
+
}, {
|
|
262
|
+
default: withCtx(() => [
|
|
263
|
+
createVNode(_sfc_main$2, {
|
|
264
|
+
icon: unref(ZoomIn),
|
|
265
|
+
class: "vc-lightbox__icon"
|
|
266
|
+
}, null, 8, ["icon"])
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}, 8, ["title", "aria-label", "onClick"]),
|
|
270
|
+
createVNode(_sfc_main$1, {
|
|
271
|
+
title: resetZoomText.value,
|
|
272
|
+
"aria-label": resetZoomText.value,
|
|
273
|
+
hoverless: "",
|
|
274
|
+
class: "vc-lightbox__control",
|
|
275
|
+
"data-test-name": "lightbox-reset-zoom",
|
|
276
|
+
onClick: ($event) => {
|
|
277
|
+
reset();
|
|
278
|
+
reset();
|
|
279
|
+
}
|
|
280
|
+
}, {
|
|
281
|
+
default: withCtx(() => [
|
|
282
|
+
createVNode(_sfc_main$2, {
|
|
283
|
+
icon: unref(RotateCcw),
|
|
284
|
+
class: "vc-lightbox__icon"
|
|
285
|
+
}, null, 8, ["icon"])
|
|
286
|
+
]),
|
|
287
|
+
_: 1
|
|
288
|
+
}, 8, ["title", "aria-label", "onClick"])
|
|
289
|
+
], 64)) : createCommentVNode("", true),
|
|
290
|
+
currentItem.value ? renderSlot(_ctx.$slots, "toolbar", {
|
|
291
|
+
key: 1,
|
|
292
|
+
item: currentItem.value,
|
|
293
|
+
index: activeIndex.value
|
|
294
|
+
}) : createCommentVNode("", true),
|
|
295
|
+
__props.downloadable && currentItem.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
296
|
+
key: 2,
|
|
297
|
+
title: downloadText.value,
|
|
298
|
+
"aria-label": downloadText.value,
|
|
299
|
+
hoverless: "",
|
|
300
|
+
class: "vc-lightbox__control",
|
|
301
|
+
"data-test-name": "lightbox-download",
|
|
302
|
+
onClick: onDownloadClick
|
|
303
|
+
}, {
|
|
304
|
+
default: withCtx(() => [
|
|
305
|
+
createVNode(_sfc_main$2, {
|
|
306
|
+
icon: unref(Download),
|
|
307
|
+
class: "vc-lightbox__icon"
|
|
308
|
+
}, null, 8, ["icon"])
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
}, 8, ["title", "aria-label"])) : createCommentVNode("", true)
|
|
312
|
+
]),
|
|
313
|
+
"viewer-error": withCtx(() => [
|
|
314
|
+
createElementVNode("div", {
|
|
315
|
+
class: "vc-lightbox__error",
|
|
316
|
+
role: "img",
|
|
317
|
+
"aria-label": loadErrorText.value,
|
|
318
|
+
"data-test": "lightbox-error"
|
|
319
|
+
}, [
|
|
320
|
+
createVNode(_sfc_main$2, {
|
|
321
|
+
icon: unref(ImageOff),
|
|
322
|
+
class: "vc-lightbox__error-icon"
|
|
323
|
+
}, null, 8, ["icon"]),
|
|
324
|
+
createElementVNode("span", _hoisted_3, toDisplayString(loadErrorText.value), 1)
|
|
325
|
+
], 8, _hoisted_2)
|
|
326
|
+
]),
|
|
327
|
+
default: withCtx(() => [
|
|
328
|
+
createElementVNode("div", {
|
|
329
|
+
ref_key: "chromeRef",
|
|
330
|
+
ref: chromeRef,
|
|
331
|
+
class: "vc-lightbox__chrome",
|
|
332
|
+
"data-test": "lightbox"
|
|
333
|
+
}, [
|
|
334
|
+
createElementVNode("span", {
|
|
335
|
+
id: unref(titleId),
|
|
336
|
+
class: "sr-only"
|
|
337
|
+
}, toDisplayString(dialogLabel.value), 9, _hoisted_4),
|
|
338
|
+
createVNode(_sfc_main$1, {
|
|
339
|
+
title: closeText.value,
|
|
340
|
+
"aria-label": closeText.value,
|
|
341
|
+
hoverless: "",
|
|
342
|
+
class: "vc-lightbox__control vc-lightbox__close",
|
|
343
|
+
"data-test-name": "lightbox-close",
|
|
344
|
+
onClick: close
|
|
345
|
+
}, {
|
|
346
|
+
default: withCtx(() => [
|
|
347
|
+
createVNode(_sfc_main$2, {
|
|
348
|
+
icon: unref(X),
|
|
349
|
+
class: "vc-lightbox__icon"
|
|
350
|
+
}, null, 8, ["icon"])
|
|
351
|
+
]),
|
|
352
|
+
_: 1
|
|
353
|
+
}, 8, ["title", "aria-label"]),
|
|
354
|
+
hasMany.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
355
|
+
createVNode(_sfc_main$1, {
|
|
356
|
+
disabled: !hasPrev.value,
|
|
357
|
+
title: previousText.value,
|
|
358
|
+
"aria-label": previousText.value,
|
|
359
|
+
hoverless: "",
|
|
360
|
+
circle: "",
|
|
361
|
+
class: "vc-lightbox__control vc-lightbox__nav is--prev",
|
|
362
|
+
"data-test-name": "lightbox-prev",
|
|
363
|
+
onClick: prev
|
|
364
|
+
}, {
|
|
365
|
+
default: withCtx(() => [
|
|
366
|
+
createVNode(_sfc_main$2, {
|
|
367
|
+
icon: unref(ChevronLeft),
|
|
368
|
+
class: "vc-lightbox__icon vc-lightbox__nav-icon"
|
|
369
|
+
}, null, 8, ["icon"])
|
|
370
|
+
]),
|
|
371
|
+
_: 1
|
|
372
|
+
}, 8, ["disabled", "title", "aria-label"]),
|
|
373
|
+
createVNode(_sfc_main$1, {
|
|
374
|
+
disabled: !hasNext.value,
|
|
375
|
+
title: nextText.value,
|
|
376
|
+
"aria-label": nextText.value,
|
|
377
|
+
hoverless: "",
|
|
378
|
+
circle: "",
|
|
379
|
+
class: "vc-lightbox__control vc-lightbox__nav is--next",
|
|
380
|
+
"data-test-name": "lightbox-next",
|
|
381
|
+
onClick: next
|
|
382
|
+
}, {
|
|
383
|
+
default: withCtx(() => [
|
|
384
|
+
createVNode(_sfc_main$2, {
|
|
385
|
+
icon: unref(ChevronRight),
|
|
386
|
+
class: "vc-lightbox__icon vc-lightbox__nav-icon"
|
|
387
|
+
}, null, 8, ["icon"])
|
|
388
|
+
]),
|
|
389
|
+
_: 1
|
|
390
|
+
}, 8, ["disabled", "title", "aria-label"])
|
|
391
|
+
], 64)) : createCommentVNode("", true),
|
|
392
|
+
currentItem.value && (_ctx.$slots.caption || currentItem.value.title) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
393
|
+
renderSlot(_ctx.$slots, "caption", {
|
|
394
|
+
item: currentItem.value,
|
|
395
|
+
index: activeIndex.value
|
|
396
|
+
}, () => [
|
|
397
|
+
createTextVNode(toDisplayString(currentItem.value.title), 1)
|
|
398
|
+
])
|
|
399
|
+
])) : createCommentVNode("", true)
|
|
400
|
+
], 512)
|
|
401
|
+
]),
|
|
402
|
+
_: 2
|
|
403
|
+
}, [
|
|
404
|
+
isCounterVisible.value ? {
|
|
405
|
+
name: "progress",
|
|
406
|
+
fn: withCtx(() => [
|
|
407
|
+
createElementVNode("span", _hoisted_1, toDisplayString(counterText.value), 1)
|
|
408
|
+
]),
|
|
409
|
+
key: "0"
|
|
410
|
+
} : void 0
|
|
411
|
+
]), 1032, ["url-list", "initial-index", "infinite", "hide-on-click-modal", "close-on-press-escape", "min-scale", "max-scale"])) : createCommentVNode("", true);
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
export {
|
|
416
|
+
_sfc_main as default
|
|
417
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Circles.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcLoading/Loaders/Circles.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Circles = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Circles = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e58f0c4b"]]);
|
|
5
5
|
export {
|
|
6
6
|
Circles as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle } from "vue";
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle } from "vue";
|
|
2
2
|
import { convertToUnit } from "../../../utils/helpers.mjs";
|
|
3
|
+
import { textColorClass } from "../../../enum/constants.mjs";
|
|
3
4
|
const DEFAULT_SIZE = "40px";
|
|
4
5
|
const DEFAULT_COLOR = "primary";
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -20,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
21
|
return (_ctx, _cache) => {
|
|
21
22
|
return openBlock(), createElementBlock("div", {
|
|
22
23
|
style: normalizeStyle(styles.value),
|
|
23
|
-
class: normalizeClass([[`vc-spinner--${__props.color}`,
|
|
24
|
+
class: normalizeClass([[`vc-spinner--${__props.color}`, unref(textColorClass)(__props.color)], "vc-spinner vc-spinner--circles"])
|
|
24
25
|
}, null, 6);
|
|
25
26
|
};
|
|
26
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./DotSpinner.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcLoading/Loaders/DotSpinner.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const DotSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const DotSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-19000946"]]);
|
|
5
5
|
export {
|
|
6
6
|
DotSpinner as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, computed, openBlock, createElementBlock, normalizeClass, createStaticVNode } from "vue";
|
|
1
|
+
import { defineComponent, useCssVars, computed, openBlock, createElementBlock, normalizeClass, unref, createStaticVNode } from "vue";
|
|
2
2
|
import { convertToUnit } from "../../../utils/helpers.mjs";
|
|
3
|
+
import { textColorClass } from "../../../enum/constants.mjs";
|
|
3
4
|
const DEFAULT_SIZE = "40px";
|
|
4
5
|
const DEFAULT_COLOR = "primary";
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -10,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
11
|
},
|
|
11
12
|
setup(__props) {
|
|
12
13
|
useCssVars((_ctx) => ({
|
|
13
|
-
"
|
|
14
|
+
"v80d2c0f8": styles.value.size
|
|
14
15
|
}));
|
|
15
16
|
const props = __props;
|
|
16
17
|
const styles = computed(() => {
|
|
@@ -21,9 +22,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
22
|
});
|
|
22
23
|
return (_ctx, _cache) => {
|
|
23
24
|
return openBlock(), createElementBlock("div", {
|
|
24
|
-
class: normalizeClass([
|
|
25
|
+
class: normalizeClass([unref(textColorClass)(__props.color), "vc-spinner--dots"])
|
|
25
26
|
}, [..._cache[0] || (_cache[0] = [
|
|
26
|
-
createStaticVNode('<div class="dot-spin" data-v-
|
|
27
|
+
createStaticVNode('<div class="dot-spin" data-v-19000946></div><div class="dot-spin" data-v-19000946></div><div class="dot-spin" data-v-19000946></div><div class="dot-spin" data-v-19000946></div><div class="dot-spin" data-v-19000946></div><div class="dot-spin" data-v-19000946></div><div class="dot-spin" data-v-19000946></div><div class="dot-spin" data-v-19000946></div>', 8)
|
|
27
28
|
])], 2);
|
|
28
29
|
};
|
|
29
30
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./LdsSpinner.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcLoading/Loaders/LdsSpinner.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const LdsSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const LdsSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d3af8db5"]]);
|
|
5
5
|
export {
|
|
6
6
|
LdsSpinner as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle } from "vue";
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle } from "vue";
|
|
2
2
|
import { convertToUnit } from "../../../utils/helpers.mjs";
|
|
3
|
+
import { textColorClass } from "../../../enum/constants.mjs";
|
|
3
4
|
const DEFAULT_SIZE = "40px";
|
|
4
5
|
const DEFAULT_COLOR = "primary";
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -21,7 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
22
|
return (_ctx, _cache) => {
|
|
22
23
|
return openBlock(), createElementBlock("div", {
|
|
23
24
|
style: normalizeStyle(styles.value),
|
|
24
|
-
class: normalizeClass([
|
|
25
|
+
class: normalizeClass([unref(textColorClass)(__props.color), "vc-spinner vc-spinner--lds"])
|
|
25
26
|
}, null, 6);
|
|
26
27
|
};
|
|
27
28
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./LoadIcon.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcLoading/Loaders/LoadIcon.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const LoadIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const LoadIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-92f0d10d"]]);
|
|
5
5
|
export {
|
|
6
6
|
LoadIcon as default
|
|
7
7
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createBlock, normalizeClass, normalizeStyle } from "vue";
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, normalizeClass, unref, normalizeStyle } from "vue";
|
|
2
|
+
import { Loader } from "@lucide/vue";
|
|
2
3
|
import { convertToUnit } from "../../../utils/helpers.mjs";
|
|
4
|
+
import { textColorClass } from "../../../enum/constants.mjs";
|
|
3
5
|
import _sfc_main$1 from "../../VcIcon/VcIcon.vue.mjs";
|
|
4
6
|
import '../../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
5
7
|
const DEFAULT_SIZE = "40px";
|
|
6
8
|
const DEFAULT_COLOR = "primary";
|
|
7
|
-
const DEFAULT_ICON = "vc-icon-load";
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
__name: "LoadIcon",
|
|
10
11
|
props: {
|
|
11
|
-
icon: { default:
|
|
12
|
+
icon: { default: () => Loader },
|
|
12
13
|
size: { default: DEFAULT_SIZE },
|
|
13
14
|
color: { default: DEFAULT_COLOR }
|
|
14
15
|
},
|
|
@@ -24,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
25
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
25
26
|
icon: __props.icon,
|
|
26
27
|
style: normalizeStyle(styles.value),
|
|
27
|
-
class: normalizeClass([[
|
|
28
|
+
class: normalizeClass([[unref(textColorClass)(__props.color)], "vc-loading-icon spin"])
|
|
28
29
|
}, null, 8, ["icon", "style", "class"]);
|
|
29
30
|
};
|
|
30
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Stretch.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcLoading/Loaders/Stretch.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Stretch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Stretch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-53d72cde"]]);
|
|
5
5
|
export {
|
|
6
6
|
Stretch as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, createStaticVNode } from "vue";
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createStaticVNode } from "vue";
|
|
2
2
|
import { convertToUnit } from "../../../utils/helpers.mjs";
|
|
3
|
+
import { textColorClass } from "../../../enum/constants.mjs";
|
|
3
4
|
const DEFAULT_SIZE = "40px";
|
|
4
5
|
const DEFAULT_COLOR = "primary";
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -20,9 +21,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
21
|
return (_ctx, _cache) => {
|
|
21
22
|
return openBlock(), createElementBlock("div", {
|
|
22
23
|
style: normalizeStyle(styles.value),
|
|
23
|
-
class: normalizeClass([
|
|
24
|
+
class: normalizeClass([unref(textColorClass)(__props.color), "vc-spinner--stretch"])
|
|
24
25
|
}, [..._cache[0] || (_cache[0] = [
|
|
25
|
-
createStaticVNode('<div class="rect rect-1" data-v-
|
|
26
|
+
createStaticVNode('<div class="rect rect-1" data-v-53d72cde></div><div class="rect rect-2" data-v-53d72cde></div><div class="rect rect-3" data-v-53d72cde></div><div class="rect rect-4" data-v-53d72cde></div><div class="rect rect-5" data-v-53d72cde></div>', 5)
|
|
26
27
|
])], 6);
|
|
27
28
|
};
|
|
28
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./VcLoading.vue2.mjs";
|
|
2
2
|
import '../../assets/components/VcLoading/VcLoading.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const VcLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const VcLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0e3d702c"]]);
|
|
5
5
|
export {
|
|
6
6
|
VcLoading as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./ParameterNode.vue2.mjs";
|
|
2
2
|
import '../../assets/components/VcMdEditor/ParameterNode.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const ParameterNode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ParameterNode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-99253f80"]]);
|
|
5
5
|
export {
|
|
6
6
|
ParameterNode as default
|
|
7
7
|
};
|
|
@@ -10,7 +10,7 @@ import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
|
10
10
|
import { Check, X } from "@lucide/vue";
|
|
11
11
|
const _hoisted_1 = {
|
|
12
12
|
key: 0,
|
|
13
|
-
class: "node-parameter__popover !absolute top-[115%] !bg-
|
|
13
|
+
class: "node-parameter__popover !absolute top-[115%] !bg-surface w-full min-w-96 left-0 border border-action-primary rounded-inner !p-1"
|
|
14
14
|
};
|
|
15
15
|
const _hoisted_2 = { class: "w-full" };
|
|
16
16
|
const _hoisted_3 = { class: "flex items-center !gap-1 !p-1" };
|
|
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
);
|
|
50
50
|
return (_ctx, _cache) => {
|
|
51
51
|
return openBlock(), createElementBlock("div", {
|
|
52
|
-
class: normalizeClass([unref(className), "node-parameter inline-flex items-center gap-1 !h-auto !border relative rounded !px-1 !py-0.5 no-underline"])
|
|
52
|
+
class: normalizeClass([unref(className), "node-parameter inline-flex items-center gap-1 !h-auto !border relative rounded-inner !px-1 !py-0.5 no-underline"])
|
|
53
53
|
}, [
|
|
54
54
|
createElementVNode("div", {
|
|
55
55
|
class: "flex items-center gap-1 cursor-pointer",
|
|
@@ -58,7 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
localIcon.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
59
59
|
key: 0,
|
|
60
60
|
icon: localIcon.value,
|
|
61
|
-
class: "text-primary
|
|
61
|
+
class: "text-action-primary"
|
|
62
62
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
63
63
|
createElementVNode("span", null, toDisplayString(unref(parameterName)), 1)
|
|
64
64
|
]),
|