@voicenter-team/voicenter-ui-plus 4.3.1 → 4.3.2
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/library/assets/assets/sass/main.css +1 -1
- package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -1
- package/library/assets/components/VcInteractive/VcInteractive.css +1 -0
- package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
- package/library/assets/components/VcNavigationSidebar/VcNavigationSidebar.css +1 -0
- package/library/components/VcAutocomplete/VcAutocomplete.vue.mjs +2 -3
- package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
- package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
- package/library/components/VcCheckboxGroup/VcCheckboxGroup.vue.mjs +1 -3
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
- package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
- package/library/components/VcExcelUploader/VcExcelFileUploader.vue.mjs +4 -4
- package/library/components/VcForm/VcForm.vue.mjs +1 -1
- package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
- package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
- package/library/components/VcIconPicker/VcIconPicker.vue.mjs +4 -9
- package/library/components/VcImageUploader/VcImageUploader.vue.mjs +5 -1
- package/library/components/VcInput/VcInput.vue.mjs +1 -1
- package/library/components/VcInteractive/VcInteractive.vue.mjs +58 -0
- package/library/components/VcInteractive/VcInteractive.vue3.mjs +5 -0
- package/library/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.mjs +0 -3
- package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
- package/library/components/VcJsonViewer/VcJsonViewer.vue.mjs +1 -1
- package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
- package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
- package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +37 -30
- package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
- package/library/components/VcNavigationSidebar/NavigationSidebarLink.vue.mjs +154 -0
- package/library/components/VcNavigationSidebar/NavigationSidebarLink.vue2.mjs +4 -0
- package/library/components/VcNavigationSidebar/NavigationSidebarMobileList.vue.mjs +128 -0
- package/library/components/VcNavigationSidebar/NavigationSidebarMobileList.vue2.mjs +4 -0
- package/library/components/VcNavigationSidebar/NavigationSidebarMore.vue.mjs +94 -0
- package/library/components/VcNavigationSidebar/NavigationSidebarMore.vue2.mjs +4 -0
- package/library/components/VcNavigationSidebar/NavigationSidebarPanel.vue.mjs +179 -0
- package/library/components/VcNavigationSidebar/NavigationSidebarPanel.vue2.mjs +4 -0
- package/library/components/VcNavigationSidebar/VcNavigationSidebar.vue.mjs +737 -0
- package/library/components/VcNavigationSidebar/VcNavigationSidebar.vue3.mjs +5 -0
- package/library/components/VcNavigationSidebar/navigationSidebarModel.mjs +51 -0
- package/library/components/VcNotification/VcNotification.vue.mjs +2 -2
- package/library/components/VcOtpInput/VcOtpInput.vue.mjs +1 -1
- package/library/components/VcPdfViewer/VcPdfViewer.vue.mjs +2 -1
- package/library/components/VcPdfViewer/pdfjslib.mjs +0 -1
- package/library/components/VcPopover/VcConfirmPopover.vue.mjs +3 -6
- package/library/components/VcPopover/VcSelectPopover.vue.mjs +2 -2
- package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
- package/library/components/VcRadioGroup/VcRadioGroup.vue.mjs +6 -2
- package/library/components/VcRadioTabs/VcRadioTabs.vue.mjs +2 -6
- package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +1 -3
- package/library/components/VcSelect/VcSelect.vue.mjs +33 -33
- package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +2 -1
- package/library/components/VcSoundplayer/player.options.mjs +1 -6
- package/library/components/VcSparkline/helper.mjs +1 -1
- package/library/components/VcTable/VcTable.vue.mjs +17 -13
- package/library/components/VcTabs/VcTabNav.vue.mjs +2 -0
- package/library/components/VcTransfer/VcTransfer.vue.mjs +16 -5
- package/library/components/VcTree/VcTree.vue.mjs +13 -6
- package/library/components/VcVerticalTabs/VcVerticalTabs.vue.mjs +4 -8
- package/library/components/VcVerticalTabs/VerticalTabNav.vue.mjs +4 -9
- package/library/composables/input/useFileUploader.mjs +1 -3
- package/library/composables/useRTL.mjs +3 -8
- package/library/docs/guides/migration/migrating-from-4.0.md +88 -0
- package/library/entity/components/Table/VcEntityListTable.vue.mjs +0 -3
- package/library/entity/components/Tabs/VcEntityEditableTabs.vue.mjs +14 -22
- package/library/enum/fileTypes.mjs +53 -3
- package/library/index.mjs +142 -136
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/index.mjs +1 -1
- package/library/localization/index.mjs.br +0 -0
- package/library/localization/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +9 -1
- package/library/plugin-components.gen.mjs +248 -242
- package/library/plugin.mjs +140 -134
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +7 -3
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +9 -39
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +8 -17
- package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +42 -81
- package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +27 -43
- package/library/types/components/VcAgentRun/agentRunStatus.d.ts +2 -2
- package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +18 -67
- package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +40 -79
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +10 -36
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +9 -35
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +14 -45
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +9 -35
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +9 -35
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +9 -35
- package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +1 -1
- package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +18 -63
- package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +1 -1
- package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +64 -171
- package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +5 -39
- package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +12 -33
- package/library/types/components/VcButton/VcButton.vue.d.ts +19 -50
- package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +16 -63
- package/library/types/components/VcButton/VcToggleButton.vue.d.ts +23 -63
- package/library/types/components/VcCard/VcCard.vue.d.ts +14 -42
- package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +32 -97
- package/library/types/components/VcChatComposer/richText.d.ts +2 -2
- package/library/types/components/VcChatComposer/tiptap.d.ts +38 -38
- package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +46 -95
- package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +41 -77
- package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +40 -76
- package/library/types/components/VcCheckbox/VcCheckboxGroupEl.vue.d.ts +10 -4
- package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +44 -82
- package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +5 -39
- package/library/types/components/VcCodeBlock/highlight.d.ts +1 -2
- package/library/types/components/VcCollapse/VcCollapse.vue.d.ts +17 -38
- package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +26 -63
- package/library/types/components/VcCollapse/VcCollapseTransition.vue.d.ts +12 -6
- package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +7 -43
- package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +63 -103
- package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +69 -132
- package/library/types/components/VcDelimitedList/VcDelimitedList.vue.d.ts +39 -78
- package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +22 -81
- package/library/types/components/VcDropdown/VcDropdownItem.vue.d.ts +9 -12
- package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +20 -45
- package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +4 -36
- package/library/types/components/VcExcelUploader/VcExcelFileUploadBlock.vue.d.ts +16 -39
- package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +40 -74
- package/library/types/components/VcExcelUploader/VcFileImportErrorsCard.vue.d.ts +7 -29
- package/library/types/components/VcExcelUploader/VcFileImportParseResultBlock.vue.d.ts +20 -44
- package/library/types/components/VcExcelUploader/VcFileImportResultBindData.vue.d.ts +9 -37
- package/library/types/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.d.ts +7 -31
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +8 -44
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +5 -45
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +10 -80
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.d.ts +7 -39
- package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +9 -39
- package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +24 -83
- package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +30 -90
- package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +37 -96
- package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +18 -35
- package/library/types/components/VcFileUploader/VcSimpleUploaderFileList.vue.d.ts +27 -33
- package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +14 -31
- package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +62 -104
- package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +23 -32
- package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +20 -38
- package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +16 -29
- package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +29 -93
- package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +16 -55
- package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +17 -60
- package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +16 -53
- package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +16 -53
- package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +17 -56
- package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +17 -54
- package/library/types/components/VcFilterBar/filterBarChip.d.ts +1 -1
- package/library/types/components/VcFilterBar/filterBarDate.d.ts +1 -1
- package/library/types/components/VcFilterBar/filterBarDraft.d.ts +11 -11
- package/library/types/components/VcFilterBar/filterBarEditors.d.ts +2 -2
- package/library/types/components/VcFilterBar/filterBarErrors.d.ts +1 -1
- package/library/types/components/VcFilterBar/filterBarModel.d.ts +1 -1
- package/library/types/components/VcFilterBar/filterBarOptions.d.ts +2 -2
- package/library/types/components/VcFilterBar/filterBarSearch.d.ts +1 -1
- package/library/types/components/VcFilterBar/filterBarValidate.d.ts +1 -1
- package/library/types/components/VcForm/UiComponents/VcInputError.vue.d.ts +6 -27
- package/library/types/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +14 -36
- package/library/types/components/VcForm/VcForm.vue.d.ts +15 -46
- package/library/types/components/VcForm/VcFormItem.vue.d.ts +23 -42
- package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +8 -42
- package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +20 -34
- package/library/types/components/VcHtmlEditor/codemirror.d.ts +2 -2
- package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +2 -2
- package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +14 -39
- package/library/types/components/VcIcon/VcIcon.vue.d.ts +5 -31
- package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +26 -60
- package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +27 -50
- package/library/types/components/VcImageUploader/cropper.d.ts +24 -24
- package/library/types/components/VcInput/VcInput.vue.d.ts +14 -72
- package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +7 -57
- package/library/types/components/VcInteractive/VcInteractive.vue.d.ts +47 -0
- package/library/types/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.d.ts +10 -19
- package/library/types/components/VcJsonSchema/Components/JsonCodeMirror.vue.d.ts +9 -18
- package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +25 -68
- package/library/types/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.d.ts +11 -21
- package/library/types/components/VcJsonSchema/Components/codemirror.d.ts +2 -2
- package/library/types/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.d.ts +12 -24
- package/library/types/components/VcJsonSchema/VcJsonSchema.vue.d.ts +30 -47
- package/library/types/components/VcJsonSchema/helpers/jsonSchema.enum.d.ts +1 -1
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +9 -37
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +5 -15
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +7 -29
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +6 -28
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +7 -19
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +7 -30
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +8 -34
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +17 -38
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +5 -15
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +5 -15
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +8 -33
- package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +12 -75
- package/library/types/components/VcJsonViewer/jsonViewerText.d.ts +2 -2
- package/library/types/components/VcJsonViewer/jsonViewerUtils.d.ts +1 -1
- package/library/types/components/VcJsonViewer/useJsonViewerContext.d.ts +1 -1
- package/library/types/components/VcLightbox/VcLightbox.vue.d.ts +30 -62
- package/library/types/components/VcLoading/Loaders/Circles.vue.d.ts +4 -26
- package/library/types/components/VcLoading/Loaders/DotSpinner.vue.d.ts +4 -26
- package/library/types/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +4 -26
- package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +5 -29
- package/library/types/components/VcLoading/Loaders/Stretch.vue.d.ts +4 -26
- package/library/types/components/VcLoading/Loaders/index.d.ts +5 -5
- package/library/types/components/VcLoading/Loaders/types.d.ts +1 -1
- package/library/types/components/VcLoading/VcLoading.vue.d.ts +13 -38
- package/library/types/components/VcLoading/enum.d.ts +13 -129
- package/library/types/components/VcMdEditor/ParameterNode.vue.d.ts +5 -4
- package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +33 -215
- package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +10 -44
- package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +12 -23
- package/library/types/components/VcMdEditor/ltrNumbersPlugin.d.ts +3 -3
- package/library/types/components/VcMdEditor/mdEditor.config.d.ts +10 -10
- package/library/types/components/VcMdEditor/milkdown.d.ts +1 -1
- package/library/types/components/VcMdEditor/readonlyMarkdown.d.ts +1 -1
- package/library/types/components/VcMdEditor/rtlCursorPlugin.d.ts +2 -2
- package/library/types/components/VcMessage/VcMessage.vue.d.ts +26 -82
- package/library/types/components/VcMessage/VcMessageMeta.vue.d.ts +7 -20
- package/library/types/components/VcMessage/content/VcMessageAudioBlock.vue.d.ts +6 -19
- package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +9 -22
- package/library/types/components/VcMessage/content/VcMessageImageBlock.vue.d.ts +9 -22
- package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +6 -19
- package/library/types/components/VcMessage/content/VcMessageTextBlock.vue.d.ts +6 -19
- package/library/types/components/VcMessage/content/VcMessageVideoBlock.vue.d.ts +6 -19
- package/library/types/components/VcMessage/content/messageContentComponents.d.ts +2 -2
- package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +28 -52
- package/library/types/components/VcMessage/reactions/VcMessageReactionBar.vue.d.ts +9 -22
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +38 -208
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +41 -86
- package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +68 -112
- package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +15 -38
- package/library/types/components/VcModal/VcConfirmModal.vue.d.ts +7 -33
- package/library/types/components/VcModal/VcModal.vue.d.ts +26 -79
- package/library/types/components/VcNavigationSidebar/NavigationSidebarLink.vue.d.ts +17 -0
- package/library/types/components/VcNavigationSidebar/NavigationSidebarMobileList.vue.d.ts +15 -0
- package/library/types/components/VcNavigationSidebar/NavigationSidebarMore.vue.d.ts +15 -0
- package/library/types/components/VcNavigationSidebar/NavigationSidebarPanel.vue.d.ts +33 -0
- package/library/types/components/VcNavigationSidebar/VcNavigationSidebar.vue.d.ts +121 -0
- package/library/types/components/VcNavigationSidebar/navigationSidebarModel.d.ts +42 -0
- package/library/types/components/VcNotification/VcNotification.vue.d.ts +5 -65
- package/library/types/components/VcNotification/VcNotificationMessage.vue.d.ts +9 -18
- package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +11 -61
- package/library/types/components/VcPagination/VcPagination.vue.d.ts +16 -49
- package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +10 -45
- package/library/types/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.d.ts +24 -41
- package/library/types/components/VcPdfViewer/VcPdfDocument.vue.d.ts +17 -41
- package/library/types/components/VcPdfViewer/VcPdfDocumentCard.vue.d.ts +18 -37
- package/library/types/components/VcPdfViewer/VcPdfDocumentPage.vue.d.ts +8 -38
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.d.ts +15 -45
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +18 -12
- package/library/types/components/VcPdfViewer/VcPdfViewer.vue.d.ts +37 -72
- package/library/types/components/VcPdfViewer/pdfDocumentActions.d.ts +1 -1
- package/library/types/components/VcPdfViewer/pdfDocumentParams.d.ts +1 -1
- package/library/types/components/VcPdfViewer/pdfjslib.d.ts +1 -1
- package/library/types/components/VcPhoneInput/VcFlagLabel.vue.d.ts +3 -23
- package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +32 -79
- package/library/types/components/VcPluginOverlays/VcPluginOverlays.vue.d.ts +4 -26
- package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +15 -37
- package/library/types/components/VcPopover/VcPopover.vue.d.ts +21 -61
- package/library/types/components/VcPopover/VcSelectPopover.vue.d.ts +33 -97
- package/library/types/components/VcProgress/VcProgress.vue.d.ts +18 -53
- package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +19 -56
- package/library/types/components/VcProgress/progress.options.d.ts +4 -4
- package/library/types/components/VcRadio/VcRadio.vue.d.ts +26 -55
- package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +30 -73
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +31 -76
- package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.d.ts +26 -62
- package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNavHint.vue.d.ts +13 -26
- package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +25 -81
- package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +45 -92
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +50 -154
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +65 -254
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +57 -175
- package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +25 -45
- package/library/types/components/VcSipFlow/VcSipFlow.vue.d.ts +23 -53
- package/library/types/components/VcSkeletonLoader/Loaders/Card.vue.d.ts +6 -27
- package/library/types/components/VcSkeletonLoader/Loaders/Circle.vue.d.ts +7 -31
- package/library/types/components/VcSkeletonLoader/Loaders/Row.vue.d.ts +7 -31
- package/library/types/components/VcSkeletonLoader/Loaders/Square.vue.d.ts +7 -31
- package/library/types/components/VcSkeletonLoader/Loaders/Text.vue.d.ts +5 -14
- package/library/types/components/VcSkeletonLoader/VcSkeletonItem.vue.d.ts +9 -39
- package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +14 -55
- package/library/types/components/VcSlider/VcSlider.vue.d.ts +2 -1
- package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +16 -68
- package/library/types/components/VcSoundplayer/VcPlayerPlaybackRate.vue.d.ts +8 -37
- package/library/types/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.d.ts +9 -41
- package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +20 -54
- package/library/types/components/VcSoundplayer/VcSoundCurrentTime.vue.d.ts +2 -1
- package/library/types/components/VcSoundplayer/VcSoundDuration.vue.d.ts +2 -1
- package/library/types/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +35 -69
- package/library/types/components/VcSoundplayer/VcSoundPlayerCompact.vue.d.ts +20 -57
- package/library/types/components/VcSoundplayer/VcSoundPlayerError.vue.d.ts +9 -26
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +24 -55
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarkers.vue.d.ts +23 -38
- package/library/types/components/VcSoundplayer/VcSoundPlayerProgress.vue.d.ts +14 -17
- package/library/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +26 -146
- package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +11 -50
- package/library/types/components/VcSoundplayer/player.options.d.ts +2 -2
- package/library/types/components/VcSoundplayer/soundPlayerParts.d.ts +12 -12
- package/library/types/components/VcSoundplayer/wavesurfer.d.ts +2 -2
- package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +17 -68
- package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +15 -75
- package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +17 -68
- package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +30 -75
- package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +77 -138
- package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +19 -36
- package/library/types/components/VcSystemUserPrompt/enum.d.ts +1 -1
- package/library/types/components/VcTable/VcTable.vue.d.ts +138 -360
- package/library/types/components/VcTabs/VcTabNav.vue.d.ts +20 -43
- package/library/types/components/VcTabs/VcTabPane.vue.d.ts +19 -52
- package/library/types/components/VcTabs/VcTabs.vue.d.ts +137 -165
- package/library/types/components/VcTag/VcTag.vue.d.ts +14 -49
- package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +22 -86
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +9 -57
- package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +9 -49
- package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +40 -73
- package/library/types/components/VcTour/VcTour.vue.d.ts +35 -54
- package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +25 -52
- package/library/types/components/VcTree/VcTree.vue.d.ts +61 -143
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +449 -958
- package/library/types/components/VcTree/treeTypeUtils.d.ts +1 -1
- package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +34 -80
- package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +31 -73
- package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +3 -33
- package/library/types/components/VcWizard/VcSummaryStep.vue.d.ts +6 -36
- package/library/types/components/VcWizard/VcWizard.vue.d.ts +33 -62
- package/library/types/components/VcWizard/VcWizardNavigation.vue.d.ts +20 -53
- package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +6 -34
- package/library/types/components/VcWizard/VcWizardTransition.vue.d.ts +58 -0
- package/library/types/components/exports.d.ts +132 -128
- package/library/types/components.gen.d.ts +2 -0
- package/library/types/composables/input/useFileUploader.d.ts +1 -1
- package/library/types/composables/input/useInputBase.d.ts +5 -5
- package/library/types/composables/input/useInputColor.d.ts +4 -4
- package/library/types/composables/option/useOptionMethods.d.ts +14 -14
- package/library/types/composables/useAudioRecorder.d.ts +6 -6
- package/library/types/composables/useCopyButton.d.ts +2 -2
- package/library/types/composables/useElapsed.d.ts +2 -2
- package/library/types/composables/useThrottledText.d.ts +1 -1
- package/library/types/directives/index.d.ts +1 -1
- package/library/types/entity/components/Button/VcEntityAddButton.vue.d.ts +16 -33
- package/library/types/entity/components/Button/VcEntityCancelButton.vue.d.ts +21 -45
- package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +21 -41
- package/library/types/entity/components/Button/VcEntityEditIconButton.vue.d.ts +18 -30
- package/library/types/entity/components/Button/VcEntityRestoreButton.vue.d.ts +21 -45
- package/library/types/entity/components/Button/VcEntityStatusButton.vue.d.ts +21 -40
- package/library/types/entity/components/Form/VcBaseVerticalForm.vue.d.ts +18 -37
- package/library/types/entity/components/Form/VcEntityEditPageForm.vue.d.ts +26 -54
- package/library/types/entity/components/Form/VcEntityVerticalCreateForm.vue.d.ts +16 -34
- package/library/types/entity/components/Form/VcEntityVerticalEditForm.vue.d.ts +31 -76
- package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +38 -135
- package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +55 -151
- package/library/types/entity/components/index.d.ts +12 -12
- package/library/types/entity/composable/useEntityProvideInject.d.ts +1 -1
- package/library/types/entity/services/BaseEntityService.d.ts +2 -2
- package/library/types/enum/fileTypes.d.ts +1 -1
- package/library/types/localization/Localization.types.d.ts +2 -2
- package/library/types/localization/index.d.ts +2 -2
- package/library/types/localization/locales/en.json.d.ts +423 -415
- package/library/types/plugin-components.gen.d.ts +1 -1
- package/library/types/plugin.d.ts +1 -1
- package/library/types/services/index.d.ts +1 -7
- package/library/types/types/Entity.types.d.ts +8 -1
- package/library/types/types/Entry.types.d.ts +1 -1
- package/library/types/types/ExcelParser.types.d.ts +1 -1
- package/library/types/types/OptionAndConfig.types.d.ts +8 -4
- package/library/types/types/Overlay.types.d.ts +1 -1
- package/library/types/types/Tabs.d.ts +1 -1
- package/library/types/types/VcAgentRun.types.d.ts +3 -3
- package/library/types/types/VcAiReasoning.types.d.ts +1 -1
- package/library/types/types/VcApprovalCard.types.d.ts +1 -1
- package/library/types/types/VcChatComposer.types.d.ts +1 -1
- package/library/types/types/VcDatePicker.types.d.ts +1 -1
- package/library/types/types/VcDropdown.types.d.ts +2 -2
- package/library/types/types/VcEditableTabs.types.d.ts +1 -1
- package/library/types/types/VcEmojiPicker.types.d.ts +1 -1
- package/library/types/types/VcFileUploader.types.d.ts +1 -1
- package/library/types/types/VcFilterBar.types.d.ts +3 -3
- package/library/types/types/VcInteractive.types.d.ts +7 -0
- package/library/types/types/VcJsonViewer.types.d.ts +2 -2
- package/library/types/types/VcMdEditor.types.d.ts +1 -1
- package/library/types/types/VcMessage.types.d.ts +1 -1
- package/library/types/types/VcMessagesWrapper.types.d.ts +1 -1
- package/library/types/types/VcNavigationSidebar.types.d.ts +66 -0
- package/library/types/types/VcNotification.types.d.ts +2 -2
- package/library/types/types/VcSoundPlayer.types.d.ts +3 -3
- package/library/types/types/VcSoundPlayerInstance.types.d.ts +3 -3
- package/library/types/types/VcSplitButton.types.d.ts +4 -4
- package/library/types/types/VcToolCall.types.d.ts +2 -2
- package/library/types/types/VcTour.types.d.ts +2 -2
- package/library/types/types/VcTree.types.d.ts +2 -2
- package/library/types/types/icons.types.d.ts +1 -1
- package/library/types/types/index.d.ts +2 -0
- package/library/types/utils/aiChat.d.ts +1 -1
- package/library/types/utils/elementPlusIcons.d.ts +2 -2
- package/library/types/utils/excelParser/configs.d.ts +1 -1
- package/library/types/utils/excelParser/helper.d.ts +3 -3
- package/library/types/utils/excelParser/parser.d.ts +1 -1
- package/library/types/utils/excelParser/validations.d.ts +1 -1
- package/library/types/utils/helpers.d.ts +1 -1
- package/library/types/utils/jsonSchema/helpers.d.ts +2 -5
- package/library/types/utils/jsonSchema/index.d.ts +1 -1
- package/library/types/utils/jsonSchema/jsonSchemaHelpers.d.ts +4 -4
- package/library/types/utils/lucideIcon.d.ts +1 -1
- package/library/types/utils/mountPluginOverlays.d.ts +1 -1
- package/library/utils/globalSingleton.mjs +11 -5
- package/library/utils/jsonSchema/jsonSchemaHelpers.mjs +0 -1
- package/package.json +1 -1
- /package/library/assets/node_modules/element-plus/theme-chalk/src/{date-picker.css → tooltip.css} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createVNode, normalizeStyle, normalizeClass, createCommentVNode } from "vue";
|
|
2
2
|
import { X } from "@lucide/vue";
|
|
3
3
|
import { ElInput } from "element-plus";
|
|
4
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
4
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
5
5
|
import '../../assets/components/VcInput/VcInput.css';/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import '../../assets/components/VcInteractive/VcInteractive.css';
|
|
2
|
+
import { defineComponent, computed, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, renderSlot } from "vue";
|
|
3
|
+
const CLASS_FOR_VARIANT = "vc-interactive-variant--";
|
|
4
|
+
const CLASS_FOR_COLOR = "vc-interactive-color--";
|
|
5
|
+
const CLASS_FOR_CONTENT = "vc-interactive-content--";
|
|
6
|
+
const CLASS_DISABLED = "is--disabled";
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "VcInteractive",
|
|
9
|
+
props: {
|
|
10
|
+
variant: { default: "filled" },
|
|
11
|
+
color: { default: "primary" },
|
|
12
|
+
contentColor: { default: void 0 },
|
|
13
|
+
pressed: { type: Boolean, default: void 0 },
|
|
14
|
+
disabled: { type: Boolean, default: false },
|
|
15
|
+
as: { default: "button" },
|
|
16
|
+
buttonType: { default: "button" },
|
|
17
|
+
dataTestName: { default: "vc-interactive" }
|
|
18
|
+
},
|
|
19
|
+
emits: ["click"],
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
21
|
+
const props = __props;
|
|
22
|
+
const emit = __emit;
|
|
23
|
+
const isNativeButton = computed(() => props.as === "button");
|
|
24
|
+
const classes = computed(() => [
|
|
25
|
+
CLASS_FOR_VARIANT + props.variant,
|
|
26
|
+
CLASS_FOR_COLOR + props.color,
|
|
27
|
+
CLASS_FOR_CONTENT + (props.contentColor ?? props.color),
|
|
28
|
+
{ [CLASS_DISABLED]: props.disabled }
|
|
29
|
+
]);
|
|
30
|
+
function handleClick(evt) {
|
|
31
|
+
if (props.disabled) {
|
|
32
|
+
evt.preventDefault();
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
emit("click", evt);
|
|
36
|
+
}
|
|
37
|
+
return (_ctx, _cache) => {
|
|
38
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.as), {
|
|
39
|
+
class: normalizeClass(["vc-interactive", classes.value]),
|
|
40
|
+
type: isNativeButton.value ? __props.buttonType : void 0,
|
|
41
|
+
disabled: isNativeButton.value && __props.disabled ? true : void 0,
|
|
42
|
+
"aria-disabled": __props.disabled ? "true" : void 0,
|
|
43
|
+
"aria-pressed": __props.pressed,
|
|
44
|
+
tabindex: !isNativeButton.value && __props.disabled ? -1 : void 0,
|
|
45
|
+
"data-test": __props.dataTestName,
|
|
46
|
+
onClick: handleClick
|
|
47
|
+
}, {
|
|
48
|
+
default: withCtx(() => [
|
|
49
|
+
renderSlot(_ctx.$slots, "default")
|
|
50
|
+
]),
|
|
51
|
+
_: 3
|
|
52
|
+
}, 8, ["class", "type", "disabled", "aria-disabled", "aria-pressed", "tabindex", "data-test"]);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
_sfc_main as default
|
|
58
|
+
};
|
|
@@ -19,7 +19,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
const emit = __emit;
|
|
20
20
|
const isOpenModal = ref(false);
|
|
21
21
|
const jsonDataModel = ref({});
|
|
22
|
-
const jsonSchemaRef = ref();
|
|
23
22
|
const jsonSchemaErrorState = ref(false);
|
|
24
23
|
function closeModal() {
|
|
25
24
|
isOpenModal.value = false;
|
|
@@ -89,8 +88,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
88
|
default: withCtx(() => [
|
|
90
89
|
createElementVNode("div", null, [
|
|
91
90
|
createVNode(_sfc_main$2, {
|
|
92
|
-
ref_key: "jsonSchemaRef",
|
|
93
|
-
ref: jsonSchemaRef,
|
|
94
91
|
modelValue: jsonDataModel.value,
|
|
95
92
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => jsonDataModel.value = $event),
|
|
96
93
|
"onUpdate:errorState": onUpdateErrorState
|
|
@@ -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
|
+
"v5bfa74a4": spacingRow.value
|
|
66
66
|
}));
|
|
67
67
|
const SCHEMA_TYPE_NAMES = ["string", "number", "integer", "object", "array", "boolean", "null"];
|
|
68
68
|
function asObjectSchema(def) {
|
|
@@ -56,7 +56,7 @@ const EXPAND_ALL_MAX_LEVELS = 50;
|
|
|
56
56
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
57
57
|
__name: "VcJsonViewer",
|
|
58
58
|
props: {
|
|
59
|
-
data: {},
|
|
59
|
+
data: { default: void 0 },
|
|
60
60
|
json: { default: void 0 },
|
|
61
61
|
view: { default: "auto" },
|
|
62
62
|
rootLabel: { default: "root" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, ref, shallowRef, provide, computed, onMounted, nextTick, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, createBlock, createCommentVNode, createVNode, unref, withCtx, Fragment, resolveDynamicComponent, mergeProps, isRef } from "vue";
|
|
2
2
|
import _sfc_main$3 from "./VcMdEditorContent.vue.mjs";
|
|
3
|
-
import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';import '../../assets/components/VcMdEditor/VcMdEditorContent.css';/* empty css */
|
|
4
4
|
import { milkdownKey, loadMilkdown } from "./milkdown.mjs";
|
|
5
5
|
import { useReadonlyMarkdownDom } from "./readonlyMarkdown.mjs";
|
|
6
6
|
import { streamingInterval } from "./streamingInterval.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, unref, toDisplayString, createBlock, createCommentVNode, nextTick } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../VcPopover/VcPopover.vue.mjs";
|
|
3
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/cascader-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/virtual-list.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';import '../../assets/components/VcPopover/VcPopover.css';/* empty css */
|
|
4
4
|
import { headingMenuItems, listMenuItems, advancedMenuItems } from "./mdEditor.config.mjs";
|
|
5
5
|
import { isGroupParameter } from "../../types/VcMdEditor.types.mjs";
|
|
6
6
|
import { ElCascaderPanel, ElTooltip } from "element-plus";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import '../../../assets/components/VcMessage/content/VcMessageFileBlock.css';
|
|
2
|
-
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createVNode,
|
|
3
|
-
import {
|
|
2
|
+
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createVNode, normalizeStyle, createElementVNode, toDisplayString, createBlock, createCommentVNode, unref } from "vue";
|
|
3
|
+
import { Download } from "@lucide/vue";
|
|
4
4
|
import _sfc_main$2 from "../../VcButton/VcButtonIcon.vue.mjs";
|
|
5
5
|
import '../../../assets/components/VcIcon/VcIcon.css';import '../../../assets/components/VcButton/VcButtonIcon.css';/* empty css */
|
|
6
6
|
import _sfc_main$1 from "../../VcIcon/VcIcon.vue.mjs";
|
|
7
7
|
/* empty css */
|
|
8
|
+
import { DEFAULT_FILE_TYPE_MAP, DEFAULT_FILE_TYPE } from "../../../enum/fileTypes.mjs";
|
|
8
9
|
import { tVU } from "../../../localization/index.mjs";
|
|
9
10
|
import { clickDownloadLink } from "../../../utils/download.mjs";
|
|
10
11
|
import { literalParam } from "../../../utils/i18nParams.mjs";
|
|
@@ -20,26 +21,24 @@ const _hoisted_3 = {
|
|
|
20
21
|
key: 1,
|
|
21
22
|
class: "vc-message-file-block is--previewable"
|
|
22
23
|
};
|
|
23
|
-
const _hoisted_4 =
|
|
24
|
-
const _hoisted_5 =
|
|
25
|
-
const _hoisted_6 = {
|
|
26
|
-
const _hoisted_7 = {
|
|
24
|
+
const _hoisted_4 = ["src"];
|
|
25
|
+
const _hoisted_5 = { class: "vc-message-file-block__info" };
|
|
26
|
+
const _hoisted_6 = {
|
|
27
27
|
class: "vc-message-file-block__name",
|
|
28
28
|
dir: "auto"
|
|
29
29
|
};
|
|
30
|
-
const
|
|
30
|
+
const _hoisted_7 = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "vc-message-file-block__meta"
|
|
33
33
|
};
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const _hoisted_13 = {
|
|
34
|
+
const _hoisted_8 = ["href", "download"];
|
|
35
|
+
const _hoisted_9 = ["src"];
|
|
36
|
+
const _hoisted_10 = { class: "vc-message-file-block__info" };
|
|
37
|
+
const _hoisted_11 = {
|
|
39
38
|
class: "vc-message-file-block__name",
|
|
40
39
|
dir: "auto"
|
|
41
40
|
};
|
|
42
|
-
const
|
|
41
|
+
const _hoisted_12 = {
|
|
43
42
|
key: 0,
|
|
44
43
|
class: "vc-message-file-block__meta"
|
|
45
44
|
};
|
|
@@ -73,6 +72,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
73
72
|
}
|
|
74
73
|
return `${unitIndex ? value.toFixed(1) : value} ${SIZE_UNITS[unitIndex]}`;
|
|
75
74
|
});
|
|
75
|
+
const fileType = computed(() => DEFAULT_FILE_TYPE_MAP[extension.value.toLowerCase()] ?? DEFAULT_FILE_TYPE);
|
|
76
76
|
const meta = computed(() => [extension.value.toUpperCase(), size.value].filter(Boolean).join(" · "));
|
|
77
77
|
const downloadLabel = computed(() => tVU.t("voicenterUi.message.download", { name: literalParam(props.content.name) }));
|
|
78
78
|
const thumbnailFailed = ref(false);
|
|
@@ -86,9 +86,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
86
|
return (_ctx, _cache) => {
|
|
87
87
|
return __props.preview ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
88
88
|
createVNode(_sfc_main$1, {
|
|
89
|
-
icon:
|
|
89
|
+
icon: fileType.value.icon,
|
|
90
|
+
style: normalizeStyle({ color: fileType.value.color }),
|
|
90
91
|
class: "vc-message-file-block__preview-icon"
|
|
91
|
-
}, null, 8, ["icon"]),
|
|
92
|
+
}, null, 8, ["icon", "style"]),
|
|
92
93
|
createElementVNode("span", _hoisted_2, toDisplayString(__props.content.name), 1)
|
|
93
94
|
])) : __props.content.previewable ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
94
95
|
createElementVNode("button", {
|
|
@@ -97,7 +98,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
97
98
|
"data-test": "message-file-body",
|
|
98
99
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("content-click", __props.content))
|
|
99
100
|
}, [
|
|
100
|
-
createElementVNode("span",
|
|
101
|
+
createElementVNode("span", {
|
|
102
|
+
class: "vc-message-file-block__icon",
|
|
103
|
+
style: normalizeStyle({ color: fileType.value.color })
|
|
104
|
+
}, [
|
|
101
105
|
showThumbnail.value ? (openBlock(), createElementBlock("img", {
|
|
102
106
|
key: 0,
|
|
103
107
|
src: __props.content.thumbnailUrl,
|
|
@@ -105,15 +109,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
109
|
class: "vc-message-file-block__thumbnail",
|
|
106
110
|
"data-test": "message-file-thumbnail",
|
|
107
111
|
onError: onThumbnailError
|
|
108
|
-
}, null, 40,
|
|
112
|
+
}, null, 40, _hoisted_4)) : (openBlock(), createBlock(_sfc_main$1, {
|
|
109
113
|
key: 1,
|
|
110
|
-
icon:
|
|
114
|
+
icon: fileType.value.icon,
|
|
111
115
|
"data-test": "message-file-icon"
|
|
112
116
|
}, null, 8, ["icon"]))
|
|
113
|
-
]),
|
|
114
|
-
createElementVNode("span",
|
|
115
|
-
createElementVNode("span",
|
|
116
|
-
meta.value ? (openBlock(), createElementBlock("span",
|
|
117
|
+
], 4),
|
|
118
|
+
createElementVNode("span", _hoisted_5, [
|
|
119
|
+
createElementVNode("span", _hoisted_6, toDisplayString(__props.content.name), 1),
|
|
120
|
+
meta.value ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(meta.value), 1)) : createCommentVNode("", true)
|
|
117
121
|
])
|
|
118
122
|
]),
|
|
119
123
|
createVNode(_sfc_main$2, {
|
|
@@ -134,7 +138,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
138
|
rel: "noopener noreferrer",
|
|
135
139
|
class: "vc-message-file-block"
|
|
136
140
|
}, [
|
|
137
|
-
createElementVNode("span",
|
|
141
|
+
createElementVNode("span", {
|
|
142
|
+
class: "vc-message-file-block__icon",
|
|
143
|
+
style: normalizeStyle({ color: fileType.value.color })
|
|
144
|
+
}, [
|
|
138
145
|
showThumbnail.value ? (openBlock(), createElementBlock("img", {
|
|
139
146
|
key: 0,
|
|
140
147
|
src: __props.content.thumbnailUrl,
|
|
@@ -142,21 +149,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
149
|
class: "vc-message-file-block__thumbnail",
|
|
143
150
|
"data-test": "message-file-thumbnail",
|
|
144
151
|
onError: onThumbnailError
|
|
145
|
-
}, null, 40,
|
|
152
|
+
}, null, 40, _hoisted_9)) : (openBlock(), createBlock(_sfc_main$1, {
|
|
146
153
|
key: 1,
|
|
147
|
-
icon:
|
|
154
|
+
icon: fileType.value.icon,
|
|
148
155
|
"data-test": "message-file-icon"
|
|
149
156
|
}, null, 8, ["icon"]))
|
|
150
|
-
]),
|
|
151
|
-
createElementVNode("span",
|
|
152
|
-
createElementVNode("span",
|
|
153
|
-
meta.value ? (openBlock(), createElementBlock("span",
|
|
157
|
+
], 4),
|
|
158
|
+
createElementVNode("span", _hoisted_10, [
|
|
159
|
+
createElementVNode("span", _hoisted_11, toDisplayString(__props.content.name), 1),
|
|
160
|
+
meta.value ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(meta.value), 1)) : createCommentVNode("", true)
|
|
154
161
|
]),
|
|
155
162
|
createVNode(_sfc_main$1, {
|
|
156
163
|
icon: unref(Download),
|
|
157
164
|
class: "vc-message-file-block__download"
|
|
158
165
|
}, null, 8, ["icon"])
|
|
159
|
-
], 8,
|
|
166
|
+
], 8, _hoisted_8));
|
|
160
167
|
};
|
|
161
168
|
}
|
|
162
169
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, createBlock, unref, withCtx, createElementVNode, normalizeClass, toDisplayString, createVNode } from "vue";
|
|
2
2
|
import { ElTooltip } from "element-plus";
|
|
3
|
-
import '../../../assets/components/VcMessage/reactions/VcMessageEmojiPicker.css';import '../../../assets/components/VcIcon/VcIcon.css';import '../../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../../assets/components/VcMessage/reactions/VcMessageEmojiPicker.css';import '../../../assets/components/VcIcon/VcIcon.css';import '../../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../../assets/components/VcMessage/reactions/VcMessageReactionBar.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { defineComponent, inject, ref, resolveDynamicComponent, computed, openBlock, createBlock, mergeProps, withKeys, withCtx, createElementBlock, createCommentVNode, unref, Fragment, createVNode, createElementVNode, toDisplayString } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
3
|
+
import '../../assets/components/VcTag/VcTag.css';import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
4
|
+
import _sfc_main$2 from "../VcTag/VcTag.vue.mjs";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { NAVIGATION_SIDEBAR_KEY, NavigationSidebarRender, hasLinkTooltip } from "./navigationSidebarModel.mjs";
|
|
7
|
+
const _hoisted_1 = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "vc-nav-sidebar-link__indicator",
|
|
10
|
+
"aria-hidden": "true"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_2 = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "vc-nav-sidebar-link__icon"
|
|
15
|
+
};
|
|
16
|
+
const _hoisted_3 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "vc-nav-sidebar-link__indicator",
|
|
19
|
+
"aria-hidden": "true"
|
|
20
|
+
};
|
|
21
|
+
const _hoisted_4 = { class: "vc-nav-sidebar-link__label" };
|
|
22
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23
|
+
__name: "NavigationSidebarLink",
|
|
24
|
+
props: {
|
|
25
|
+
link: {},
|
|
26
|
+
active: { type: Boolean, default: false },
|
|
27
|
+
layout: { default: "row" }
|
|
28
|
+
},
|
|
29
|
+
emits: ["navigate"],
|
|
30
|
+
setup(__props, { emit: __emit }) {
|
|
31
|
+
const props = __props;
|
|
32
|
+
const emit = __emit;
|
|
33
|
+
const sidebar = inject(NAVIGATION_SIDEBAR_KEY, void 0);
|
|
34
|
+
const rootRef = ref();
|
|
35
|
+
const linkSlot = () => sidebar == null ? void 0 : sidebar.slots.link;
|
|
36
|
+
const renderLinkSlot = () => {
|
|
37
|
+
var _a;
|
|
38
|
+
return ((_a = linkSlot()) == null ? void 0 : _a({
|
|
39
|
+
link: props.link,
|
|
40
|
+
active: props.active,
|
|
41
|
+
layout: props.layout
|
|
42
|
+
})) ?? [];
|
|
43
|
+
};
|
|
44
|
+
const resolvedRouterLink = resolveDynamicComponent("RouterLink");
|
|
45
|
+
const routerLink = typeof resolvedRouterLink === "object" && resolvedRouterLink !== null ? resolvedRouterLink : void 0;
|
|
46
|
+
const element = computed(() => {
|
|
47
|
+
const { link } = props;
|
|
48
|
+
if (link.disabled) {
|
|
49
|
+
return {
|
|
50
|
+
is: "span",
|
|
51
|
+
attrs: { role: "link" }
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
if (link.to !== void 0) {
|
|
55
|
+
if (routerLink) {
|
|
56
|
+
return {
|
|
57
|
+
is: routerLink,
|
|
58
|
+
attrs: { to: link.to }
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
is: "a",
|
|
63
|
+
attrs: { href: typeof link.to === "string" ? link.to : void 0 }
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
if (link.href) {
|
|
67
|
+
return {
|
|
68
|
+
is: "a",
|
|
69
|
+
attrs: {
|
|
70
|
+
href: link.href,
|
|
71
|
+
target: link.target,
|
|
72
|
+
rel: link.target === "_blank" ? "noopener noreferrer" : void 0
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
is: "button",
|
|
78
|
+
attrs: { type: "button" }
|
|
79
|
+
};
|
|
80
|
+
});
|
|
81
|
+
function rootElement() {
|
|
82
|
+
const root = rootRef.value;
|
|
83
|
+
if (!root) {
|
|
84
|
+
return void 0;
|
|
85
|
+
}
|
|
86
|
+
return root instanceof HTMLElement ? root : root.$el;
|
|
87
|
+
}
|
|
88
|
+
function showTooltip() {
|
|
89
|
+
const el = rootElement();
|
|
90
|
+
if (!sidebar || !el || props.layout === "menu" || !sidebar.tooltips() || !hasLinkTooltip(props.link)) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
sidebar.openTooltip(el, props.link);
|
|
94
|
+
}
|
|
95
|
+
function hideTooltip(immediately = false) {
|
|
96
|
+
if (props.layout === "menu") {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
sidebar == null ? void 0 : sidebar.closeTooltip(immediately);
|
|
100
|
+
}
|
|
101
|
+
function onClick(event) {
|
|
102
|
+
if (props.link.disabled) {
|
|
103
|
+
event.preventDefault();
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
sidebar == null ? void 0 : sidebar.closeTooltip(true);
|
|
107
|
+
sidebar == null ? void 0 : sidebar.select(props.link, event);
|
|
108
|
+
emit("navigate", props.link);
|
|
109
|
+
}
|
|
110
|
+
return (_ctx, _cache) => {
|
|
111
|
+
return openBlock(), createBlock(resolveDynamicComponent(element.value.is), mergeProps(element.value.attrs, {
|
|
112
|
+
ref_key: "rootRef",
|
|
113
|
+
ref: rootRef,
|
|
114
|
+
class: ["vc-nav-sidebar-link", [`vc-nav-sidebar-link--${__props.layout}`, { "is--active": __props.active, "is--disabled": __props.link.disabled }]],
|
|
115
|
+
"aria-current": __props.active ? "page" : void 0,
|
|
116
|
+
"aria-disabled": __props.link.disabled ? "true" : void 0,
|
|
117
|
+
"data-test": `vc-nav-sidebar-link-${__props.link.key}`,
|
|
118
|
+
onClick,
|
|
119
|
+
onMouseenter: showTooltip,
|
|
120
|
+
onMouseleave: _cache[0] || (_cache[0] = ($event) => hideTooltip()),
|
|
121
|
+
onFocus: showTooltip,
|
|
122
|
+
onBlur: _cache[1] || (_cache[1] = ($event) => hideTooltip()),
|
|
123
|
+
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => hideTooltip(true), ["esc"]))
|
|
124
|
+
}), {
|
|
125
|
+
default: withCtx(() => [
|
|
126
|
+
__props.active && __props.layout !== "menu" && (!__props.link.icon || linkSlot()) ? (openBlock(), createElementBlock("span", _hoisted_1)) : createCommentVNode("", true),
|
|
127
|
+
linkSlot() ? (openBlock(), createBlock(unref(NavigationSidebarRender), {
|
|
128
|
+
key: 1,
|
|
129
|
+
render: renderLinkSlot
|
|
130
|
+
})) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
131
|
+
__props.link.icon ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
132
|
+
__props.active && __props.layout !== "menu" ? (openBlock(), createElementBlock("span", _hoisted_3)) : createCommentVNode("", true),
|
|
133
|
+
createVNode(_sfc_main$1, {
|
|
134
|
+
icon: __props.link.icon
|
|
135
|
+
}, null, 8, ["icon"])
|
|
136
|
+
])) : createCommentVNode("", true),
|
|
137
|
+
createElementVNode("span", _hoisted_4, toDisplayString(__props.link.label), 1),
|
|
138
|
+
__props.link.badge && __props.layout !== "rail" ? (openBlock(), createBlock(_sfc_main$2, {
|
|
139
|
+
key: 1,
|
|
140
|
+
class: "vc-nav-sidebar-link__badge",
|
|
141
|
+
label: __props.link.badge,
|
|
142
|
+
color: "primary",
|
|
143
|
+
compact: ""
|
|
144
|
+
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
145
|
+
], 64))
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
}, 16, ["class", "aria-current", "aria-disabled", "data-test"]);
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
export {
|
|
153
|
+
_sfc_main as default
|
|
154
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { defineComponent, inject, computed, openBlock, createElementBlock, Fragment, renderList, unref, normalizeClass, createElementVNode, createVNode, createCommentVNode, createBlock, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
3
|
+
import '../../assets/components/VcTag/VcTag.css';import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
4
|
+
import _sfc_main$2 from "../VcTag/VcTag.vue.mjs";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import _sfc_main$3 from "./NavigationSidebarLink.vue.mjs";
|
|
7
|
+
import { NAVIGATION_SIDEBAR_KEY, toActiveKeys, activeLinkKey, isNavigationGroup, groupLinks, isItemActive, NavigationSidebarRender, isNavigationSection } from "./navigationSidebarModel.mjs";
|
|
8
|
+
const _hoisted_1 = { class: "vc-nav-sidebar-mobile" };
|
|
9
|
+
const _hoisted_2 = ["aria-labelledby", "data-test"];
|
|
10
|
+
const _hoisted_3 = { class: "vc-nav-sidebar-mobile__group-head" };
|
|
11
|
+
const _hoisted_4 = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "vc-nav-sidebar-mobile__group-icon"
|
|
14
|
+
};
|
|
15
|
+
const _hoisted_5 = ["id"];
|
|
16
|
+
const _hoisted_6 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "vc-nav-sidebar-mobile__description"
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_7 = { class: "vc-nav-sidebar-panel__section-title" };
|
|
21
|
+
const _hoisted_8 = { class: "vc-nav-sidebar-panel__section-label" };
|
|
22
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23
|
+
__name: "NavigationSidebarMobileList",
|
|
24
|
+
props: {
|
|
25
|
+
id: {},
|
|
26
|
+
items: {},
|
|
27
|
+
active: { default: void 0 }
|
|
28
|
+
},
|
|
29
|
+
emits: ["navigate"],
|
|
30
|
+
setup(__props, { emit: __emit }) {
|
|
31
|
+
const props = __props;
|
|
32
|
+
const emit = __emit;
|
|
33
|
+
const sidebar = inject(NAVIGATION_SIDEBAR_KEY, void 0);
|
|
34
|
+
const headerSlot = () => sidebar == null ? void 0 : sidebar.slots["panel-header"];
|
|
35
|
+
const sectionTitleSlot = () => sidebar == null ? void 0 : sidebar.slots["section-title"];
|
|
36
|
+
const activeKeys = computed(() => toActiveKeys(props.active));
|
|
37
|
+
const activeLink = computed(() => activeLinkKey(
|
|
38
|
+
props.items.flatMap((item) => isNavigationGroup(item) ? groupLinks(item) : [item]),
|
|
39
|
+
props.active
|
|
40
|
+
));
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
return openBlock(), createElementBlock("nav", _hoisted_1, [
|
|
43
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
44
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
45
|
+
key: item.key
|
|
46
|
+
}, [
|
|
47
|
+
unref(isNavigationGroup)(item) ? (openBlock(), createElementBlock("section", {
|
|
48
|
+
key: 0,
|
|
49
|
+
class: normalizeClass(["vc-nav-sidebar-mobile__group", { "is--active": unref(isItemActive)(item, activeKeys.value) }]),
|
|
50
|
+
"aria-labelledby": `${__props.id}-${item.key}`,
|
|
51
|
+
"data-test": `vc-nav-sidebar-mobile-group-${item.key}`
|
|
52
|
+
}, [
|
|
53
|
+
createElementVNode("div", _hoisted_3, [
|
|
54
|
+
item.icon ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
55
|
+
createVNode(_sfc_main$1, {
|
|
56
|
+
icon: item.icon
|
|
57
|
+
}, null, 8, ["icon"])
|
|
58
|
+
])) : createCommentVNode("", true),
|
|
59
|
+
createElementVNode("span", {
|
|
60
|
+
id: `${__props.id}-${item.key}`,
|
|
61
|
+
class: "vc-nav-sidebar-mobile__group-title"
|
|
62
|
+
}, [
|
|
63
|
+
headerSlot() ? (openBlock(), createBlock(unref(NavigationSidebarRender), {
|
|
64
|
+
key: 0,
|
|
65
|
+
render: () => {
|
|
66
|
+
var _a;
|
|
67
|
+
return ((_a = headerSlot()) == null ? void 0 : _a({ group: item })) ?? [];
|
|
68
|
+
}
|
|
69
|
+
}, null, 8, ["render"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
70
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
71
|
+
], 64))
|
|
72
|
+
], 8, _hoisted_5)
|
|
73
|
+
]),
|
|
74
|
+
item.description ? (openBlock(), createElementBlock("p", _hoisted_6, toDisplayString(item.description), 1)) : createCommentVNode("", true),
|
|
75
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.children, (child) => {
|
|
76
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
77
|
+
key: child.key
|
|
78
|
+
}, [
|
|
79
|
+
unref(isNavigationSection)(child) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
80
|
+
createElementVNode("div", _hoisted_7, [
|
|
81
|
+
sectionTitleSlot() ? (openBlock(), createBlock(unref(NavigationSidebarRender), {
|
|
82
|
+
key: 0,
|
|
83
|
+
render: () => {
|
|
84
|
+
var _a;
|
|
85
|
+
return ((_a = sectionTitleSlot()) == null ? void 0 : _a({ section: child })) ?? [];
|
|
86
|
+
}
|
|
87
|
+
}, null, 8, ["render"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
88
|
+
createElementVNode("span", _hoisted_8, toDisplayString(child.label), 1),
|
|
89
|
+
child.badge ? (openBlock(), createBlock(_sfc_main$2, {
|
|
90
|
+
key: 0,
|
|
91
|
+
label: child.badge,
|
|
92
|
+
color: "primary",
|
|
93
|
+
compact: ""
|
|
94
|
+
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
95
|
+
], 64))
|
|
96
|
+
]),
|
|
97
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(child.children, (link) => {
|
|
98
|
+
return openBlock(), createBlock(_sfc_main$3, {
|
|
99
|
+
key: link.key,
|
|
100
|
+
link,
|
|
101
|
+
active: link.key === activeLink.value,
|
|
102
|
+
onNavigate: _cache[0] || (_cache[0] = ($event) => emit("navigate", $event))
|
|
103
|
+
}, null, 8, ["link", "active"]);
|
|
104
|
+
}), 128))
|
|
105
|
+
], 64)) : (openBlock(), createBlock(_sfc_main$3, {
|
|
106
|
+
key: 1,
|
|
107
|
+
link: child,
|
|
108
|
+
active: child.key === activeLink.value,
|
|
109
|
+
onNavigate: _cache[1] || (_cache[1] = ($event) => emit("navigate", $event))
|
|
110
|
+
}, null, 8, ["link", "active"]))
|
|
111
|
+
], 64);
|
|
112
|
+
}), 128))
|
|
113
|
+
], 10, _hoisted_2)) : (openBlock(), createBlock(_sfc_main$3, {
|
|
114
|
+
key: 1,
|
|
115
|
+
class: "vc-nav-sidebar-mobile__link",
|
|
116
|
+
link: item,
|
|
117
|
+
active: item.key === activeLink.value,
|
|
118
|
+
onNavigate: _cache[2] || (_cache[2] = ($event) => emit("navigate", $event))
|
|
119
|
+
}, null, 8, ["link", "active"]))
|
|
120
|
+
], 64);
|
|
121
|
+
}), 128))
|
|
122
|
+
]);
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
export {
|
|
127
|
+
_sfc_main as default
|
|
128
|
+
};
|