@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
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createBlock, unref, normalizeClass, isRef } from "vue";
|
|
2
|
-
import { ElInputNumber } from "element-plus";
|
|
3
|
-
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/base.css';
|
|
1
|
+
import { defineComponent, ref, openBlock, createBlock, unref, normalizeClass, isRef, withCtx, createVNode } from "vue";
|
|
2
|
+
import { ElInputNumber, ElIcon } from "element-plus";
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.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/base.css';
|
|
4
4
|
import '../../assets/components/VcInputNumber/VcInputNumber.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
|
+
import { ChevronUp, Plus, ChevronDown, Minus } from "@lucide/vue";
|
|
8
|
+
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
9
|
+
/* empty css */
|
|
7
10
|
import { useVModel } from "@vueuse/core";
|
|
8
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
12
|
__name: "VcInputNumber",
|
|
@@ -70,7 +73,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
73
|
"is--full": __props.fullWidth,
|
|
71
74
|
"is--error": __props.isError
|
|
72
75
|
}, "vc-input-number"])
|
|
73
|
-
},
|
|
76
|
+
}, {
|
|
77
|
+
"decrease-icon": withCtx(() => [
|
|
78
|
+
createVNode(unref(ElIcon), null, {
|
|
79
|
+
default: withCtx(() => [
|
|
80
|
+
createVNode(_sfc_main$1, {
|
|
81
|
+
icon: __props.controlsRight ? unref(ChevronDown) : unref(Minus)
|
|
82
|
+
}, null, 8, ["icon"])
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
})
|
|
86
|
+
]),
|
|
87
|
+
"increase-icon": withCtx(() => [
|
|
88
|
+
createVNode(unref(ElIcon), null, {
|
|
89
|
+
default: withCtx(() => [
|
|
90
|
+
createVNode(_sfc_main$1, {
|
|
91
|
+
icon: __props.controlsRight ? unref(ChevronUp) : unref(Plus)
|
|
92
|
+
}, null, 8, ["icon"])
|
|
93
|
+
]),
|
|
94
|
+
_: 1
|
|
95
|
+
})
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
}, 8, ["modelValue", "min", "max", "step", "precision", "readonly", "data-test", "disabled", "name", "placeholder", "controls", "controls-position", "value-on-clear", "class"]);
|
|
74
99
|
};
|
|
75
100
|
}
|
|
76
101
|
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { Undo2, Save } from "@lucide/vue";
|
|
2
3
|
import _sfc_main$1 from "../../VcModal/VcModal.vue.mjs";
|
|
3
4
|
import '../../../assets/components/VcButton/VcButton.css';import '../../../assets/components/VcJsonSchema/Components/JsonCodeMirror.css';import '../../../assets/components/VcModal/VcModal.css';/* empty css */
|
|
4
5
|
import _sfc_main$2 from "./JsonCodeMirror.vue.mjs";
|
|
@@ -62,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
63
|
footer: withCtx(() => [
|
|
63
64
|
createElementVNode("div", _hoisted_1, [
|
|
64
65
|
createVNode(_sfc_main$3, {
|
|
65
|
-
icon:
|
|
66
|
+
icon: unref(Undo2),
|
|
66
67
|
type: "outline",
|
|
67
68
|
color: "secondary",
|
|
68
69
|
onClick: closeModal
|
|
@@ -71,10 +72,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
72
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.cancel")), 1)
|
|
72
73
|
]),
|
|
73
74
|
_: 1
|
|
74
|
-
}),
|
|
75
|
+
}, 8, ["icon"]),
|
|
75
76
|
createVNode(_sfc_main$3, {
|
|
76
77
|
disabled: jsonSchemaErrorState.value,
|
|
77
|
-
icon:
|
|
78
|
+
icon: unref(Save),
|
|
78
79
|
color: "primary",
|
|
79
80
|
onClick: saveModal
|
|
80
81
|
}, {
|
|
@@ -82,7 +83,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
83
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.save")), 1)
|
|
83
84
|
]),
|
|
84
85
|
_: 1
|
|
85
|
-
}, 8, ["disabled"])
|
|
86
|
+
}, 8, ["disabled", "icon"])
|
|
86
87
|
])
|
|
87
88
|
]),
|
|
88
89
|
default: withCtx(() => [
|
|
@@ -62,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
emits: ["update:modelValue", "update:required", "update:propertyType", "remove:property", "change:propertyName"],
|
|
63
63
|
setup(__props, { emit: __emit }) {
|
|
64
64
|
useCssVars((_ctx) => ({
|
|
65
|
-
"
|
|
65
|
+
"ef3a6510": spacingRow.value
|
|
66
66
|
}));
|
|
67
67
|
const SCHEMA_TYPE_NAMES = ["string", "number", "integer", "object", "array", "boolean", "null"];
|
|
68
68
|
function asObjectSchema(def) {
|
|
@@ -352,7 +352,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
352
352
|
])),
|
|
353
353
|
createElementVNode("div", _hoisted_14, [
|
|
354
354
|
createVNode(_sfc_main$5, {
|
|
355
|
-
color: "primary-alternative",
|
|
356
355
|
icon: unref(Settings),
|
|
357
356
|
onClick: openPropertyEditModal
|
|
358
357
|
}, null, 8, ["icon"]),
|
|
@@ -10,10 +10,10 @@ import _sfc_main$5 from "./ImportJsonSchemaModal.vue.mjs";
|
|
|
10
10
|
import { tVU } from "../../../localization/index.mjs";
|
|
11
11
|
import _sfc_main$2 from "../../VcButton/VcButton.vue.mjs";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { Braces, Eye, EyeOff } from "@lucide/vue";
|
|
13
|
+
import { Braces, Eye, EyeOff, Undo2, Save } from "@lucide/vue";
|
|
14
14
|
const _hoisted_1 = { class: "vc-json-schema-modal__content" };
|
|
15
15
|
const _hoisted_2 = { class: "flex items-center justify-end gap-3 pb-4" };
|
|
16
|
-
const _hoisted_3 = { class: "direction-ltr flex flex-wrap md:flex-nowrap border border-
|
|
16
|
+
const _hoisted_3 = { class: "direction-ltr flex flex-wrap md:flex-nowrap border border-border rounded-inner divide-y md:divide-x md:divide-y-0 divide-border min-h-80" };
|
|
17
17
|
const _hoisted_4 = { class: "w-full flex items-center gap-3 justify-end" };
|
|
18
18
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
19
19
|
__name: "JsonSchemaManageModal",
|
|
@@ -87,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
87
|
footer: withCtx(() => [
|
|
88
88
|
createElementVNode("div", _hoisted_4, [
|
|
89
89
|
createVNode(_sfc_main$2, {
|
|
90
|
-
icon:
|
|
90
|
+
icon: unref(Undo2),
|
|
91
91
|
type: "outline",
|
|
92
92
|
color: "secondary",
|
|
93
93
|
onClick: closeModal
|
|
@@ -96,10 +96,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
96
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.cancel")), 1)
|
|
97
97
|
]),
|
|
98
98
|
_: 1
|
|
99
|
-
}),
|
|
99
|
+
}, 8, ["icon"]),
|
|
100
100
|
createVNode(_sfc_main$2, {
|
|
101
101
|
disabled: jsonSchemaErrorState.value,
|
|
102
|
-
icon:
|
|
102
|
+
icon: unref(Save),
|
|
103
103
|
color: "primary",
|
|
104
104
|
onClick: saveModal
|
|
105
105
|
}, {
|
|
@@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.save")), 1)
|
|
108
108
|
]),
|
|
109
109
|
_: 1
|
|
110
|
-
}, 8, ["disabled"])
|
|
110
|
+
}, 8, ["disabled", "icon"])
|
|
111
111
|
])
|
|
112
112
|
]),
|
|
113
113
|
default: withCtx(() => [
|
|
@@ -117,7 +117,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
117
117
|
icon: unref(Braces),
|
|
118
118
|
size: "small",
|
|
119
119
|
type: "outline",
|
|
120
|
-
color: "primary-alternative",
|
|
121
120
|
onClick: openImportJsonSchema
|
|
122
121
|
}, {
|
|
123
122
|
default: withCtx(() => [
|
|
@@ -129,7 +128,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129
128
|
icon: isCodeVisible.value ? unref(Eye) : unref(EyeOff),
|
|
130
129
|
size: "small",
|
|
131
130
|
type: "outline",
|
|
132
|
-
color: "primary-alternative",
|
|
133
131
|
onClick: _cache[0] || (_cache[0] = ($event) => isCodeVisible.value = !isCodeVisible.value)
|
|
134
132
|
}, {
|
|
135
133
|
default: withCtx(() => [
|
|
@@ -141,7 +139,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
141
139
|
icon: isEditorVisible.value ? unref(Eye) : unref(EyeOff),
|
|
142
140
|
size: "small",
|
|
143
141
|
type: "outline",
|
|
144
|
-
color: "primary-alternative",
|
|
145
142
|
onClick: _cache[1] || (_cache[1] = ($event) => isEditorVisible.value = !isEditorVisible.value)
|
|
146
143
|
}, {
|
|
147
144
|
default: withCtx(() => [
|
|
@@ -13,16 +13,16 @@ import _sfc_main$5 from "../../VcButton/VcButtonIcon.vue.mjs";
|
|
|
13
13
|
/* empty css */
|
|
14
14
|
import _sfc_main$6 from "../../VcButton/VcButton.vue.mjs";
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { X, Plus, Check } from "@lucide/vue";
|
|
16
|
+
import { X, Plus, Check, Undo2, Save } from "@lucide/vue";
|
|
17
17
|
const _hoisted_1 = { class: "w-full text-sm direction-ltr" };
|
|
18
|
-
const _hoisted_2 = { class: "font-medium mb-3 flex gap-4 items-center capitalize border-l-2 border-primary px-2" };
|
|
18
|
+
const _hoisted_2 = { class: "font-medium mb-3 flex gap-4 items-center capitalize border-l-2 border-action-primary px-2" };
|
|
19
19
|
const _hoisted_3 = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "grid grid-cols-1 md:grid-cols-2 gap-3 max-w-"
|
|
22
22
|
};
|
|
23
23
|
const _hoisted_4 = { class: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3" };
|
|
24
24
|
const _hoisted_5 = { class: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3" };
|
|
25
|
-
const _hoisted_6 = { class: "font-medium mb-2 border-l-2 border-primary px-2" };
|
|
25
|
+
const _hoisted_6 = { class: "font-medium mb-2 border-l-2 border-action-primary px-2" };
|
|
26
26
|
const _hoisted_7 = { class: "mb-5" };
|
|
27
27
|
const _hoisted_8 = { class: "w-full flex flex-wrap items-center gap-2 mb-3" };
|
|
28
28
|
const _hoisted_9 = { class: "w-32" };
|
|
@@ -32,8 +32,8 @@ const _hoisted_10 = {
|
|
|
32
32
|
};
|
|
33
33
|
const _hoisted_11 = { class: "px-2" };
|
|
34
34
|
const _hoisted_12 = { class: "flex items-center gap-2" };
|
|
35
|
-
const _hoisted_13 = { class: "font-medium mb-2 border-l-2 border-primary px-2" };
|
|
36
|
-
const _hoisted_14 = { class: "max-h-90 overflow-auto w-full h-full text-xxs border border-
|
|
35
|
+
const _hoisted_13 = { class: "font-medium mb-2 border-l-2 border-action-primary px-2" };
|
|
36
|
+
const _hoisted_14 = { class: "max-h-90 overflow-auto w-full h-full text-xxs border border-border rounded-inner p-1" };
|
|
37
37
|
const _hoisted_15 = { class: "w-full flex items-center justify-end gap-3" };
|
|
38
38
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
39
39
|
__name: "JsonSchemaPropertyModal",
|
|
@@ -144,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
144
144
|
footer: withCtx(() => [
|
|
145
145
|
createElementVNode("div", _hoisted_15, [
|
|
146
146
|
createVNode(_sfc_main$6, {
|
|
147
|
-
icon:
|
|
147
|
+
icon: unref(Undo2),
|
|
148
148
|
type: "outline",
|
|
149
149
|
color: "secondary",
|
|
150
150
|
onClick: closeModal
|
|
@@ -153,9 +153,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
153
153
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.cancel")), 1)
|
|
154
154
|
]),
|
|
155
155
|
_: 1
|
|
156
|
-
}),
|
|
156
|
+
}, 8, ["icon"]),
|
|
157
157
|
createVNode(_sfc_main$6, {
|
|
158
|
-
icon:
|
|
158
|
+
icon: unref(Save),
|
|
159
159
|
color: "primary",
|
|
160
160
|
onClick: saveModal
|
|
161
161
|
}, {
|
|
@@ -163,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
163
163
|
createTextVNode(toDisplayString(unref(tVU).t("voicenterUi.general.save")), 1)
|
|
164
164
|
]),
|
|
165
165
|
_: 1
|
|
166
|
-
})
|
|
166
|
+
}, 8, ["icon"])
|
|
167
167
|
])
|
|
168
168
|
]),
|
|
169
169
|
default: withCtx(() => [
|
|
@@ -285,7 +285,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
285
285
|
icon: unref(Plus),
|
|
286
286
|
small: "",
|
|
287
287
|
type: "outline",
|
|
288
|
-
color: "primary-alternative",
|
|
289
288
|
onClick: addCustomProperty
|
|
290
289
|
}, null, 8, ["icon"])) : (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
291
290
|
createElementVNode("div", null, [
|
|
@@ -62,7 +62,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
createElementVNode("div", _hoisted_3, [
|
|
63
63
|
createVNode(_sfc_main$1, {
|
|
64
64
|
disabled: unref(copyDisabled),
|
|
65
|
-
color: "primary-alternative",
|
|
66
65
|
size: "small",
|
|
67
66
|
type: "borderless",
|
|
68
67
|
class: "vc-json-schema__copy-action",
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.css';
|
|
2
|
+
import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, createBlock, unref, createCommentVNode, createVNode, withCtx } from "vue";
|
|
3
|
+
import { ChevronRight, SearchX } from "@lucide/vue";
|
|
4
|
+
import _sfc_main$7 from "../../VcCard/VcCard.vue.mjs";
|
|
5
|
+
import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerValue.css';import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css';import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerState.css';import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerObject.css';import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerCards.css';import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerTable.css';import '../../../assets/components/VcIcon/VcIcon.css';import '../../../assets/components/VcCard/VcCard.css';/* empty css */
|
|
6
|
+
import _sfc_main$1 from "../../VcIcon/VcIcon.vue.mjs";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import { tVU } from "../../../localization/index.mjs";
|
|
9
|
+
import _sfc_main$3 from "./VcJsonViewerTable.vue.mjs";
|
|
10
|
+
/* empty css */
|
|
11
|
+
import _sfc_main$4 from "./VcJsonViewerCards.vue.mjs";
|
|
12
|
+
/* empty css */
|
|
13
|
+
import _sfc_main$5 from "./VcJsonViewerObject.vue.mjs";
|
|
14
|
+
/* empty css */
|
|
15
|
+
import _sfc_main$6 from "./VcJsonViewerState.vue.mjs";
|
|
16
|
+
/* empty css */
|
|
17
|
+
import _sfc_main$2 from "./VcJsonViewerKey.vue.mjs";
|
|
18
|
+
/* empty css */
|
|
19
|
+
import _sfc_main$8 from "./VcJsonViewerValue.vue.mjs";
|
|
20
|
+
/* empty css */
|
|
21
|
+
import { unwrapSingleKey, resolveLayout, isJsonArray, isJsonObject } from "../jsonViewerUtils.mjs";
|
|
22
|
+
import { literalParam } from "../../../utils/i18nParams.mjs";
|
|
23
|
+
const _hoisted_1 = ["data-layout"];
|
|
24
|
+
const _hoisted_2 = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "vc-json-viewer-auto__path",
|
|
27
|
+
"data-test": "json-viewer-nested-path"
|
|
28
|
+
};
|
|
29
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
30
|
+
__name: "VcJsonViewerAuto",
|
|
31
|
+
props: {
|
|
32
|
+
value: { type: [String, Number, Boolean, null, Object, Array] },
|
|
33
|
+
depth: { default: 0 },
|
|
34
|
+
label: { default: "" },
|
|
35
|
+
unwrap: { type: Boolean, default: false }
|
|
36
|
+
},
|
|
37
|
+
setup(__props) {
|
|
38
|
+
const props = __props;
|
|
39
|
+
const unwrapped = computed(() => unwrapSingleKey(props.value, props.unwrap));
|
|
40
|
+
const layout = computed(() => resolveLayout(unwrapped.value.value));
|
|
41
|
+
const emptyDescription = computed(() => {
|
|
42
|
+
const path = literalParam(props.label || "—");
|
|
43
|
+
return isJsonArray(unwrapped.value.value) ? tVU.t("voicenterUi.jsonViewer.empty.array", { path }) : tVU.t("voicenterUi.jsonViewer.empty.object", { path });
|
|
44
|
+
});
|
|
45
|
+
return (_ctx, _cache) => {
|
|
46
|
+
return openBlock(), createElementBlock("div", {
|
|
47
|
+
"data-layout": layout.value,
|
|
48
|
+
class: "vc-json-viewer-auto"
|
|
49
|
+
}, [
|
|
50
|
+
unwrapped.value.path.length ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
51
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unwrapped.value.path, (segment, index) => {
|
|
52
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
53
|
+
index ? (openBlock(), createBlock(_sfc_main$1, {
|
|
54
|
+
key: 0,
|
|
55
|
+
icon: unref(ChevronRight),
|
|
56
|
+
class: "vc-json-viewer-auto__path-separator"
|
|
57
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
58
|
+
createVNode(_sfc_main$2, { name: segment }, null, 8, ["name"])
|
|
59
|
+
], 64);
|
|
60
|
+
}), 128))
|
|
61
|
+
])) : createCommentVNode("", true),
|
|
62
|
+
layout.value === "table" && unref(isJsonArray)(unwrapped.value.value) ? (openBlock(), createBlock(_sfc_main$3, {
|
|
63
|
+
key: 1,
|
|
64
|
+
value: unwrapped.value.value,
|
|
65
|
+
depth: __props.depth
|
|
66
|
+
}, null, 8, ["value", "depth"])) : layout.value === "cards" && unref(isJsonObject)(unwrapped.value.value) ? (openBlock(), createBlock(_sfc_main$4, {
|
|
67
|
+
key: 2,
|
|
68
|
+
value: unwrapped.value.value,
|
|
69
|
+
depth: __props.depth
|
|
70
|
+
}, null, 8, ["value", "depth"])) : layout.value === "object" && unref(isJsonObject)(unwrapped.value.value) ? (openBlock(), createBlock(_sfc_main$5, {
|
|
71
|
+
key: 3,
|
|
72
|
+
value: unwrapped.value.value,
|
|
73
|
+
depth: __props.depth,
|
|
74
|
+
framed: __props.depth === 0
|
|
75
|
+
}, null, 8, ["value", "depth", "framed"])) : layout.value === "empty" ? (openBlock(), createBlock(_sfc_main$6, {
|
|
76
|
+
key: 4,
|
|
77
|
+
icon: unref(SearchX),
|
|
78
|
+
title: unref(tVU).t("voicenterUi.jsonViewer.empty.title"),
|
|
79
|
+
description: emptyDescription.value
|
|
80
|
+
}, null, 8, ["icon", "title", "description"])) : (openBlock(), createBlock(_sfc_main$7, {
|
|
81
|
+
key: 5,
|
|
82
|
+
class: "vc-json-viewer-auto__single",
|
|
83
|
+
"data-test": "json-viewer-single-value"
|
|
84
|
+
}, {
|
|
85
|
+
default: withCtx(() => [
|
|
86
|
+
createVNode(_sfc_main$8, {
|
|
87
|
+
value: unwrapped.value.value
|
|
88
|
+
}, null, 8, ["value"])
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}))
|
|
92
|
+
], 8, _hoisted_1);
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
export {
|
|
97
|
+
_sfc_main as default
|
|
98
|
+
};
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerCards.css';
|
|
2
|
+
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createBlock, createSlots, withCtx, toDisplayString, unref, createCommentVNode, createVNode, createTextVNode } from "vue";
|
|
3
|
+
import _sfc_main$5 from "../../VcButton/VcButton.vue.mjs";
|
|
4
|
+
import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerSections.css';import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerMore.css';import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css';import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerFields.css';import '../../../assets/components/VcTag/VcTag.css';import '../../../assets/components/VcCard/VcCard.css';import '../../../assets/components/VcModal/VcModal.css';import '../../../assets/components/VcButton/VcButton.css';/* empty css */
|
|
5
|
+
import _sfc_main$6 from "../../VcModal/VcModal.vue.mjs";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import _sfc_main$1 from "../../VcCard/VcCard.vue.mjs";
|
|
8
|
+
/* empty css */
|
|
9
|
+
import _sfc_main$4 from "../../VcTag/VcTag.vue.mjs";
|
|
10
|
+
/* empty css */
|
|
11
|
+
import { tVU } from "../../../localization/index.mjs";
|
|
12
|
+
import _sfc_main$2 from "./VcJsonViewerFields.vue.mjs";
|
|
13
|
+
/* empty css */
|
|
14
|
+
import _sfc_main$3 from "./VcJsonViewerKey.vue.mjs";
|
|
15
|
+
/* empty css */
|
|
16
|
+
import _sfc_main$8 from "./VcJsonViewerMore.vue.mjs";
|
|
17
|
+
/* empty css */
|
|
18
|
+
import _sfc_main$7 from "./VcJsonViewerSections.vue.mjs";
|
|
19
|
+
/* empty css */
|
|
20
|
+
import { findStatusEntry, splitEntries, resolveStatusTagColor, isJsonObject } from "../jsonViewerUtils.mjs";
|
|
21
|
+
import { insideLabel } from "../jsonViewerText.mjs";
|
|
22
|
+
import { useJsonViewerContext } from "../useJsonViewerContext.mjs";
|
|
23
|
+
const _hoisted_1 = {
|
|
24
|
+
class: "vc-json-viewer-cards",
|
|
25
|
+
"data-test": "json-viewer-cards"
|
|
26
|
+
};
|
|
27
|
+
const _hoisted_2 = { class: "vc-json-viewer-cards__grid" };
|
|
28
|
+
const _hoisted_3 = { class: "vc-json-viewer-card__head" };
|
|
29
|
+
const _hoisted_4 = { class: "vc-json-viewer-card__index" };
|
|
30
|
+
const _hoisted_5 = ["title"];
|
|
31
|
+
const _hoisted_6 = {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: "vc-json-viewer-card__body"
|
|
34
|
+
};
|
|
35
|
+
const _hoisted_7 = {
|
|
36
|
+
key: 1,
|
|
37
|
+
class: "vc-json-viewer-card__only-nested",
|
|
38
|
+
"data-test": "json-viewer-card-only-nested"
|
|
39
|
+
};
|
|
40
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
41
|
+
__name: "VcJsonViewerCards",
|
|
42
|
+
props: {
|
|
43
|
+
value: {},
|
|
44
|
+
depth: {}
|
|
45
|
+
},
|
|
46
|
+
setup(__props) {
|
|
47
|
+
const props = __props;
|
|
48
|
+
const context = useJsonViewerContext();
|
|
49
|
+
const shown = ref(context.value.pageSize);
|
|
50
|
+
const openKey = ref();
|
|
51
|
+
const cards = computed(() => {
|
|
52
|
+
return Object.entries(props.value).map(([key, record], position) => {
|
|
53
|
+
const fields = isJsonObject(record) ? record : {};
|
|
54
|
+
const status = findStatusEntry(fields, context.value.statusKeys);
|
|
55
|
+
const rest = Object.fromEntries(Object.entries(fields).filter(([fieldKey]) => fieldKey !== (status == null ? void 0 : status.key)));
|
|
56
|
+
return {
|
|
57
|
+
key,
|
|
58
|
+
position,
|
|
59
|
+
status,
|
|
60
|
+
entries: splitEntries(rest)
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
const visibleCards = computed(() => cards.value.slice(0, shown.value));
|
|
65
|
+
const openCard = computed(() => cards.value.find((card) => card.key === openKey.value));
|
|
66
|
+
watch(() => props.value, () => {
|
|
67
|
+
shown.value = context.value.pageSize;
|
|
68
|
+
openKey.value = void 0;
|
|
69
|
+
});
|
|
70
|
+
return (_ctx, _cache) => {
|
|
71
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
72
|
+
createElementVNode("div", _hoisted_2, [
|
|
73
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleCards.value, (card) => {
|
|
74
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
75
|
+
key: card.key,
|
|
76
|
+
class: "vc-json-viewer-card",
|
|
77
|
+
"data-test": "json-viewer-card"
|
|
78
|
+
}, createSlots({
|
|
79
|
+
header: withCtx(() => [
|
|
80
|
+
createElementVNode("div", _hoisted_3, [
|
|
81
|
+
createElementVNode("span", _hoisted_4, toDisplayString(String(card.position + 1).padStart(2, "0")), 1),
|
|
82
|
+
createElementVNode("span", {
|
|
83
|
+
title: card.key,
|
|
84
|
+
class: "vc-json-viewer-card__title"
|
|
85
|
+
}, [
|
|
86
|
+
createVNode(_sfc_main$3, {
|
|
87
|
+
name: card.key
|
|
88
|
+
}, null, 8, ["name"])
|
|
89
|
+
], 8, _hoisted_5),
|
|
90
|
+
card.status ? (openBlock(), createBlock(_sfc_main$4, {
|
|
91
|
+
key: 0,
|
|
92
|
+
label: String(card.status.value),
|
|
93
|
+
color: unref(resolveStatusTagColor)(card.status.value, unref(context).statusColors),
|
|
94
|
+
class: "vc-json-viewer-card__status",
|
|
95
|
+
filled: "",
|
|
96
|
+
compact: ""
|
|
97
|
+
}, null, 8, ["label", "color"])) : createCommentVNode("", true)
|
|
98
|
+
])
|
|
99
|
+
]),
|
|
100
|
+
default: withCtx(() => [
|
|
101
|
+
card.entries.inline.length || card.entries.nested.length ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
102
|
+
card.entries.inline.length ? (openBlock(), createBlock(_sfc_main$2, {
|
|
103
|
+
key: 0,
|
|
104
|
+
entries: card.entries.inline,
|
|
105
|
+
stacked: ""
|
|
106
|
+
}, null, 8, ["entries"])) : (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(unref(tVU).t("voicenterUi.jsonViewer.onlyNested")), 1))
|
|
107
|
+
])) : createCommentVNode("", true)
|
|
108
|
+
]),
|
|
109
|
+
_: 2
|
|
110
|
+
}, [
|
|
111
|
+
card.entries.nested.length ? {
|
|
112
|
+
name: "footer",
|
|
113
|
+
fn: withCtx(() => [
|
|
114
|
+
createVNode(_sfc_main$5, {
|
|
115
|
+
"aria-haspopup": "dialog",
|
|
116
|
+
type: "borderless",
|
|
117
|
+
size: "small",
|
|
118
|
+
"data-test": "json-viewer-card-toggle",
|
|
119
|
+
onClick: ($event) => openKey.value = card.key
|
|
120
|
+
}, {
|
|
121
|
+
default: withCtx(() => [
|
|
122
|
+
createTextVNode(toDisplayString(unref(insideLabel)(card.entries.nested)), 1)
|
|
123
|
+
]),
|
|
124
|
+
_: 2
|
|
125
|
+
}, 1032, ["onClick"])
|
|
126
|
+
]),
|
|
127
|
+
key: "0"
|
|
128
|
+
} : void 0
|
|
129
|
+
]), 1024);
|
|
130
|
+
}), 128))
|
|
131
|
+
]),
|
|
132
|
+
openCard.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
133
|
+
key: 0,
|
|
134
|
+
visible: true,
|
|
135
|
+
header: openCard.value.key,
|
|
136
|
+
width: "70vw",
|
|
137
|
+
"max-width": "1000px",
|
|
138
|
+
"data-test-name": "json-viewer-card-modal",
|
|
139
|
+
onClose: _cache[0] || (_cache[0] = ($event) => openKey.value = void 0)
|
|
140
|
+
}, {
|
|
141
|
+
default: withCtx(() => [
|
|
142
|
+
createVNode(_sfc_main$7, {
|
|
143
|
+
entries: openCard.value.entries.nested,
|
|
144
|
+
depth: __props.depth + 1,
|
|
145
|
+
"force-open": ""
|
|
146
|
+
}, null, 8, ["entries", "depth"])
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
}, 8, ["header"])) : createCommentVNode("", true),
|
|
150
|
+
cards.value.length > unref(context).pageSize ? (openBlock(), createBlock(_sfc_main$8, {
|
|
151
|
+
key: 1,
|
|
152
|
+
shown: shown.value,
|
|
153
|
+
"onUpdate:shown": _cache[1] || (_cache[1] = ($event) => shown.value = $event),
|
|
154
|
+
total: cards.value.length,
|
|
155
|
+
"page-size": unref(context).pageSize,
|
|
156
|
+
noun: "records"
|
|
157
|
+
}, null, 8, ["shown", "total", "page-size"])) : createCommentVNode("", true)
|
|
158
|
+
]);
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
export {
|
|
163
|
+
_sfc_main as default
|
|
164
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerFields.css';
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createElementVNode, createVNode, unref } from "vue";
|
|
3
|
+
import _sfc_main$1 from "./VcJsonViewerKey.vue.mjs";
|
|
4
|
+
import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerValue.css';import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css';/* empty css */
|
|
5
|
+
import _sfc_main$2 from "./VcJsonViewerValue.vue.mjs";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import { useJsonViewerContext } from "../useJsonViewerContext.mjs";
|
|
8
|
+
const _hoisted_1 = ["title"];
|
|
9
|
+
const _hoisted_2 = { class: "vc-json-viewer-field__value" };
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
__name: "VcJsonViewerFields",
|
|
12
|
+
props: {
|
|
13
|
+
entries: {},
|
|
14
|
+
stacked: { type: Boolean, default: false }
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const context = useJsonViewerContext();
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return openBlock(), createElementBlock("dl", {
|
|
20
|
+
class: normalizeClass([{ "vc-json-viewer-fields--stacked": __props.stacked }, "vc-json-viewer-fields"]),
|
|
21
|
+
"data-test": "json-viewer-fields"
|
|
22
|
+
}, [
|
|
23
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.entries, (entry) => {
|
|
24
|
+
return openBlock(), createElementBlock("div", {
|
|
25
|
+
key: entry.key,
|
|
26
|
+
class: "vc-json-viewer-field"
|
|
27
|
+
}, [
|
|
28
|
+
createElementVNode("dt", {
|
|
29
|
+
title: entry.key,
|
|
30
|
+
class: "vc-json-viewer-field__label"
|
|
31
|
+
}, [
|
|
32
|
+
createVNode(_sfc_main$1, {
|
|
33
|
+
name: entry.key,
|
|
34
|
+
humanize: unref(context).humanizeKeys
|
|
35
|
+
}, null, 8, ["name", "humanize"])
|
|
36
|
+
], 8, _hoisted_1),
|
|
37
|
+
createElementVNode("dd", _hoisted_2, [
|
|
38
|
+
createVNode(_sfc_main$2, {
|
|
39
|
+
value: entry.value
|
|
40
|
+
}, null, 8, ["value"])
|
|
41
|
+
])
|
|
42
|
+
]);
|
|
43
|
+
}), 128))
|
|
44
|
+
], 2);
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
export {
|
|
49
|
+
_sfc_main as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import '../../../assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css';
|
|
2
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, toDisplayString } from "vue";
|
|
3
|
+
import { keyLabel } from "../jsonViewerUtils.mjs";
|
|
4
|
+
const _hoisted_1 = ["dir"];
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "VcJsonViewerKey",
|
|
7
|
+
props: {
|
|
8
|
+
name: {},
|
|
9
|
+
humanize: { type: Boolean, default: false }
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const label = computed(() => keyLabel(props.name, props.humanize));
|
|
14
|
+
return (_ctx, _cache) => {
|
|
15
|
+
return openBlock(), createElementBlock("span", {
|
|
16
|
+
class: normalizeClass([{ "vc-json-viewer-key--literal": label.value.literal }, "vc-json-viewer-key"]),
|
|
17
|
+
dir: label.value.literal ? "ltr" : "auto",
|
|
18
|
+
"data-test": "json-viewer-key"
|
|
19
|
+
}, toDisplayString(label.value.text), 11, _hoisted_1);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
_sfc_main as default
|
|
25
|
+
};
|