@voicenter-team/voicenter-ui-plus 4.3.0 → 4.3.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/MIGRATION_v3.md +196 -196
- package/README.md +1058 -1057
- package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
- 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/VcSegmented/VcSegmented.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/VcSkeletonLoader/VcSkeletonItem.css +1 -0
- package/library/assets/components/VcTag/VcTag.css +1 -1
- package/library/components/VcAutocomplete/VcAutocomplete.vue.mjs +3 -2
- 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 +3 -1
- 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/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
- 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 +9 -4
- package/library/components/VcImageUploader/VcImageUploader.vue.mjs +1 -5
- package/library/components/VcInput/VcInput.vue.mjs +1 -1
- package/library/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.mjs +3 -0
- package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
- package/library/components/VcJsonViewer/VcJsonViewer.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +2 -2
- package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +1 -1
- package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.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 +30 -37
- package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
- 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 +1 -2
- package/library/components/VcPdfViewer/pdfjslib.mjs +1 -0
- package/library/components/VcPopover/VcConfirmPopover.vue.mjs +6 -3
- 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 +2 -6
- package/library/components/VcRadioTabs/VcRadioTabs.vue.mjs +6 -2
- package/library/components/VcSegmented/VcSegmented.vue.mjs +1 -1
- package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +3 -1
- package/library/components/VcSelect/VcSelect.vue.mjs +33 -33
- 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/VcSkeletonItem.vue.mjs +7 -0
- package/library/components/VcSkeletonLoader/VcSkeletonItem.vue2.mjs +39 -0
- package/library/components/VcSkeletonLoader/VcSkeletonLoader.vue.mjs +19 -6
- package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +1 -2
- package/library/components/VcSoundplayer/player.options.mjs +6 -1
- package/library/components/VcSparkline/helper.mjs +1 -1
- package/library/components/VcTable/VcTable.vue.mjs +13 -17
- package/library/components/VcTabs/VcTabNav.vue.mjs +0 -2
- package/library/components/VcTransfer/VcTransfer.vue.mjs +5 -16
- package/library/components/VcTree/VcTree.vue.mjs +6 -13
- package/library/components/VcVerticalTabs/VcVerticalTabs.vue.mjs +8 -4
- package/library/components/VcVerticalTabs/VerticalTabNav.vue.mjs +9 -4
- package/library/composables/input/useFileUploader.mjs +3 -1
- package/library/composables/useRTL.mjs +8 -3
- package/library/entity/components/Table/VcEntityListTable.vue.mjs +3 -0
- package/library/entity/components/Tabs/VcEntityEditableTabs.vue.mjs +22 -14
- package/library/enum/fileTypes.mjs +3 -53
- package/library/index.mjs +136 -137
- 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/plugin-components.gen.mjs +244 -245
- package/library/plugin.mjs +134 -135
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +18 -18
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs.gz +0 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +39 -9
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +17 -8
- package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +81 -42
- package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +43 -27
- package/library/types/components/VcAgentRun/agentRunStatus.d.ts +2 -2
- package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +67 -18
- package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +79 -40
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +36 -10
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +35 -9
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +45 -14
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +35 -9
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +35 -9
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +35 -9
- package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +1 -1
- package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +63 -18
- package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +1 -1
- package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +171 -64
- package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +39 -5
- package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +33 -12
- package/library/types/components/VcButton/VcButton.vue.d.ts +50 -19
- package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +63 -16
- package/library/types/components/VcButton/VcToggleButton.vue.d.ts +63 -23
- package/library/types/components/VcCard/VcCard.vue.d.ts +42 -14
- package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +97 -32
- 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 +95 -46
- package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +77 -41
- package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +76 -40
- package/library/types/components/VcCheckbox/VcCheckboxGroupEl.vue.d.ts +4 -10
- package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +82 -44
- package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +39 -5
- package/library/types/components/VcCodeBlock/highlight.d.ts +2 -1
- package/library/types/components/VcCollapse/VcCollapse.vue.d.ts +38 -17
- package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +63 -26
- package/library/types/components/VcCollapse/VcCollapseTransition.vue.d.ts +6 -12
- package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +43 -7
- package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +103 -63
- package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +132 -69
- package/library/types/components/VcDelimitedList/VcDelimitedList.vue.d.ts +78 -39
- package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +81 -22
- package/library/types/components/VcDropdown/VcDropdownItem.vue.d.ts +12 -9
- package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +45 -20
- package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +36 -4
- package/library/types/components/VcExcelUploader/VcExcelFileUploadBlock.vue.d.ts +39 -16
- package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +74 -40
- package/library/types/components/VcExcelUploader/VcFileImportErrorsCard.vue.d.ts +29 -7
- package/library/types/components/VcExcelUploader/VcFileImportParseResultBlock.vue.d.ts +44 -20
- package/library/types/components/VcExcelUploader/VcFileImportResultBindData.vue.d.ts +37 -9
- package/library/types/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.d.ts +31 -7
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +44 -8
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +45 -5
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +80 -10
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.d.ts +39 -7
- package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +39 -9
- package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +83 -24
- package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +90 -30
- package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +96 -37
- package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +35 -18
- package/library/types/components/VcFileUploader/VcSimpleUploaderFileList.vue.d.ts +33 -27
- package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +31 -14
- package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +103 -61
- package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +32 -23
- package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +38 -20
- package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +29 -16
- package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +93 -29
- package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +55 -16
- package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +60 -17
- package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +53 -16
- package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +53 -16
- package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +56 -17
- package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +54 -17
- 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 +27 -6
- package/library/types/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +36 -14
- package/library/types/components/VcForm/VcForm.vue.d.ts +46 -15
- package/library/types/components/VcForm/VcFormItem.vue.d.ts +42 -23
- package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +42 -8
- package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +34 -20
- 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 +39 -14
- package/library/types/components/VcIcon/VcIcon.vue.d.ts +31 -5
- package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +60 -26
- package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +50 -27
- package/library/types/components/VcImageUploader/cropper.d.ts +24 -24
- package/library/types/components/VcInput/VcInput.vue.d.ts +72 -14
- package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +57 -7
- package/library/types/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.d.ts +19 -10
- package/library/types/components/VcJsonSchema/Components/JsonCodeMirror.vue.d.ts +18 -9
- package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +68 -25
- package/library/types/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.d.ts +21 -11
- package/library/types/components/VcJsonSchema/Components/codemirror.d.ts +2 -2
- package/library/types/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.d.ts +24 -12
- package/library/types/components/VcJsonSchema/VcJsonSchema.vue.d.ts +47 -30
- package/library/types/components/VcJsonSchema/helpers/jsonSchema.enum.d.ts +1 -1
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +37 -9
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +15 -5
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +29 -7
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +28 -6
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +19 -7
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +30 -7
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +34 -8
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +38 -17
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +15 -5
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +15 -5
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +33 -8
- package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +75 -12
- 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 +62 -30
- package/library/types/components/VcLoading/Loaders/Circles.vue.d.ts +26 -4
- package/library/types/components/VcLoading/Loaders/DotSpinner.vue.d.ts +26 -4
- package/library/types/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +26 -4
- package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +29 -5
- package/library/types/components/VcLoading/Loaders/Stretch.vue.d.ts +26 -4
- 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 +38 -13
- package/library/types/components/VcLoading/enum.d.ts +129 -13
- package/library/types/components/VcMdEditor/ParameterNode.vue.d.ts +4 -5
- package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +215 -33
- package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +44 -10
- package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +23 -12
- 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 +82 -26
- package/library/types/components/VcMessage/VcMessageMeta.vue.d.ts +20 -7
- package/library/types/components/VcMessage/content/VcMessageAudioBlock.vue.d.ts +19 -6
- package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +22 -9
- package/library/types/components/VcMessage/content/VcMessageImageBlock.vue.d.ts +22 -9
- package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +19 -6
- package/library/types/components/VcMessage/content/VcMessageTextBlock.vue.d.ts +19 -6
- package/library/types/components/VcMessage/content/VcMessageVideoBlock.vue.d.ts +19 -6
- package/library/types/components/VcMessage/content/messageContentComponents.d.ts +2 -2
- package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +52 -28
- package/library/types/components/VcMessage/reactions/VcMessageReactionBar.vue.d.ts +22 -9
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +208 -38
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +86 -41
- package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +112 -68
- package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +38 -15
- package/library/types/components/VcModal/VcConfirmModal.vue.d.ts +33 -7
- package/library/types/components/VcModal/VcModal.vue.d.ts +79 -26
- package/library/types/components/VcNotification/VcNotification.vue.d.ts +65 -5
- package/library/types/components/VcNotification/VcNotificationMessage.vue.d.ts +18 -9
- package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +61 -11
- package/library/types/components/VcPagination/VcPagination.vue.d.ts +49 -16
- package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +45 -10
- package/library/types/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.d.ts +41 -24
- package/library/types/components/VcPdfViewer/VcPdfDocument.vue.d.ts +41 -17
- package/library/types/components/VcPdfViewer/VcPdfDocumentCard.vue.d.ts +37 -18
- package/library/types/components/VcPdfViewer/VcPdfDocumentPage.vue.d.ts +38 -8
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.d.ts +45 -15
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +12 -18
- package/library/types/components/VcPdfViewer/VcPdfViewer.vue.d.ts +72 -37
- 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 +23 -3
- package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +79 -32
- package/library/types/components/VcPluginOverlays/VcPluginOverlays.vue.d.ts +26 -4
- package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +37 -15
- package/library/types/components/VcPopover/VcPopover.vue.d.ts +61 -21
- package/library/types/components/VcPopover/VcSelectPopover.vue.d.ts +97 -33
- package/library/types/components/VcProgress/VcProgress.vue.d.ts +53 -18
- package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +56 -19
- package/library/types/components/VcProgress/progress.options.d.ts +4 -4
- package/library/types/components/VcRadio/VcRadio.vue.d.ts +55 -26
- package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +73 -30
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +76 -31
- package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.d.ts +62 -26
- package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNavHint.vue.d.ts +26 -13
- package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +81 -25
- package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +92 -45
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +154 -50
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +254 -65
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +175 -57
- package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +45 -25
- package/library/types/components/VcSipFlow/VcSipFlow.vue.d.ts +53 -23
- package/library/types/components/VcSkeletonLoader/Loaders/Card.vue.d.ts +27 -6
- package/library/types/components/VcSkeletonLoader/Loaders/Circle.vue.d.ts +31 -7
- package/library/types/components/VcSkeletonLoader/Loaders/Row.vue.d.ts +31 -7
- package/library/types/components/VcSkeletonLoader/Loaders/Square.vue.d.ts +31 -7
- package/library/types/components/VcSkeletonLoader/Loaders/Text.vue.d.ts +14 -5
- package/library/types/components/VcSkeletonLoader/VcSkeletonItem.vue.d.ts +46 -0
- package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +62 -3
- package/library/types/components/VcSlider/VcSlider.vue.d.ts +1 -2
- package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +68 -16
- package/library/types/components/VcSoundplayer/VcPlayerPlaybackRate.vue.d.ts +37 -8
- package/library/types/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.d.ts +41 -9
- package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +54 -20
- package/library/types/components/VcSoundplayer/VcSoundCurrentTime.vue.d.ts +1 -2
- package/library/types/components/VcSoundplayer/VcSoundDuration.vue.d.ts +1 -2
- package/library/types/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +69 -35
- package/library/types/components/VcSoundplayer/VcSoundPlayerCompact.vue.d.ts +57 -20
- package/library/types/components/VcSoundplayer/VcSoundPlayerError.vue.d.ts +26 -9
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +55 -24
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarkers.vue.d.ts +38 -23
- package/library/types/components/VcSoundplayer/VcSoundPlayerProgress.vue.d.ts +17 -14
- package/library/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +146 -26
- package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +50 -11
- 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 +68 -17
- package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +75 -15
- package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +68 -17
- package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +75 -30
- package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +138 -77
- package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +36 -19
- package/library/types/components/VcSystemUserPrompt/enum.d.ts +1 -1
- package/library/types/components/VcTable/VcTable.vue.d.ts +360 -138
- package/library/types/components/VcTabs/VcTabNav.vue.d.ts +43 -20
- package/library/types/components/VcTabs/VcTabPane.vue.d.ts +52 -19
- package/library/types/components/VcTabs/VcTabs.vue.d.ts +165 -137
- package/library/types/components/VcTag/VcTag.vue.d.ts +49 -14
- package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +86 -22
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +57 -9
- package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +49 -9
- package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +73 -40
- package/library/types/components/VcTour/VcTour.vue.d.ts +54 -35
- package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +52 -25
- package/library/types/components/VcTree/VcTree.vue.d.ts +143 -61
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +958 -449
- package/library/types/components/VcTree/treeTypeUtils.d.ts +1 -1
- package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +80 -34
- package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +73 -31
- package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +33 -3
- package/library/types/components/VcWizard/VcSummaryStep.vue.d.ts +36 -6
- package/library/types/components/VcWizard/VcWizard.vue.d.ts +62 -33
- package/library/types/components/VcWizard/VcWizardNavigation.vue.d.ts +53 -20
- package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +34 -6
- package/library/types/components/exports.d.ts +129 -129
- package/library/types/components.gen.d.ts +1 -1
- 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 +33 -16
- package/library/types/entity/components/Button/VcEntityCancelButton.vue.d.ts +45 -21
- package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +41 -21
- package/library/types/entity/components/Button/VcEntityEditIconButton.vue.d.ts +30 -18
- package/library/types/entity/components/Button/VcEntityRestoreButton.vue.d.ts +45 -21
- package/library/types/entity/components/Button/VcEntityStatusButton.vue.d.ts +40 -21
- package/library/types/entity/components/Form/VcBaseVerticalForm.vue.d.ts +37 -18
- package/library/types/entity/components/Form/VcEntityEditPageForm.vue.d.ts +54 -26
- package/library/types/entity/components/Form/VcEntityVerticalCreateForm.vue.d.ts +34 -16
- package/library/types/entity/components/Form/VcEntityVerticalEditForm.vue.d.ts +76 -31
- package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +135 -38
- package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +151 -55
- 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 +415 -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 +7 -1
- package/library/types/theme/themes.json.d.ts +72 -72
- package/library/types/types/Entity.types.d.ts +1 -8
- 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 +4 -8
- 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/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/VcNotification.types.d.ts +2 -2
- package/library/types/types/VcSkeletonLoader.types.d.ts +1 -0
- 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 +0 -1
- 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 +5 -2
- 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 +5 -11
- package/library/utils/jsonSchema/index.mjs.gz +0 -0
- package/library/utils/jsonSchema/jsonSchemaHelpers.mjs +1 -0
- package/package.json +310 -310
- package/src/theme/index.ts +101 -101
- package/src/theme/tailwindScheme.js +78 -78
- package/src/theme/theme.types.ts +31 -31
- package/src/theme/themeMerge.ts +63 -63
- package/src/theme/themes.json +72 -72
- package/tailwind.config.d.ts +5 -5
- package/tailwind.config.js +178 -178
- package/library/assets/components/VcInteractive/VcInteractive.css +0 -1
- package/library/components/VcInteractive/VcInteractive.vue.mjs +0 -58
- package/library/components/VcInteractive/VcInteractive.vue3.mjs +0 -5
- package/library/docs/guides/migration/migrating-from-4.0.md +0 -87
- package/library/types/components/VcInteractive/VcInteractive.vue.d.ts +0 -47
- package/library/types/components/VcWizard/VcWizardTransition.vue.d.ts +0 -58
- package/library/types/types/VcInteractive.types.d.ts +0 -7
- /package/library/assets/node_modules/element-plus/theme-chalk/src/{tooltip.css → date-picker.css} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./VcLoading.vue2.mjs";
|
|
2
2
|
import '../../assets/components/VcLoading/VcLoading.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const VcLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const VcLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dcd47a4e"]]);
|
|
5
5
|
export {
|
|
6
6
|
VcLoading as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./ParameterNode.vue2.mjs";
|
|
2
2
|
import '../../assets/components/VcMdEditor/ParameterNode.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const ParameterNode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ParameterNode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b079518e"]]);
|
|
5
5
|
export {
|
|
6
6
|
ParameterNode as default
|
|
7
7
|
};
|
|
@@ -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/date-picker.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/date-picker.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,11 +1,10 @@
|
|
|
1
1
|
import '../../../assets/components/VcMessage/content/VcMessageFileBlock.css';
|
|
2
|
-
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createVNode,
|
|
3
|
-
import { Download } from "@lucide/vue";
|
|
2
|
+
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createVNode, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
3
|
+
import { FileText, 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";
|
|
9
8
|
import { tVU } from "../../../localization/index.mjs";
|
|
10
9
|
import { clickDownloadLink } from "../../../utils/download.mjs";
|
|
11
10
|
import { literalParam } from "../../../utils/i18nParams.mjs";
|
|
@@ -21,24 +20,26 @@ const _hoisted_3 = {
|
|
|
21
20
|
key: 1,
|
|
22
21
|
class: "vc-message-file-block is--previewable"
|
|
23
22
|
};
|
|
24
|
-
const _hoisted_4 =
|
|
25
|
-
const _hoisted_5 =
|
|
26
|
-
const _hoisted_6 = {
|
|
23
|
+
const _hoisted_4 = { class: "vc-message-file-block__icon" };
|
|
24
|
+
const _hoisted_5 = ["src"];
|
|
25
|
+
const _hoisted_6 = { class: "vc-message-file-block__info" };
|
|
26
|
+
const _hoisted_7 = {
|
|
27
27
|
class: "vc-message-file-block__name",
|
|
28
28
|
dir: "auto"
|
|
29
29
|
};
|
|
30
|
-
const
|
|
30
|
+
const _hoisted_8 = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "vc-message-file-block__meta"
|
|
33
33
|
};
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
34
|
+
const _hoisted_9 = ["href", "download"];
|
|
35
|
+
const _hoisted_10 = { class: "vc-message-file-block__icon" };
|
|
36
|
+
const _hoisted_11 = ["src"];
|
|
37
|
+
const _hoisted_12 = { class: "vc-message-file-block__info" };
|
|
38
|
+
const _hoisted_13 = {
|
|
38
39
|
class: "vc-message-file-block__name",
|
|
39
40
|
dir: "auto"
|
|
40
41
|
};
|
|
41
|
-
const
|
|
42
|
+
const _hoisted_14 = {
|
|
42
43
|
key: 0,
|
|
43
44
|
class: "vc-message-file-block__meta"
|
|
44
45
|
};
|
|
@@ -72,7 +73,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
73
|
}
|
|
73
74
|
return `${unitIndex ? value.toFixed(1) : value} ${SIZE_UNITS[unitIndex]}`;
|
|
74
75
|
});
|
|
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,10 +86,9 @@ 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:
|
|
90
|
-
style: normalizeStyle({ color: fileType.value.color }),
|
|
89
|
+
icon: unref(FileText),
|
|
91
90
|
class: "vc-message-file-block__preview-icon"
|
|
92
|
-
}, null, 8, ["icon"
|
|
91
|
+
}, null, 8, ["icon"]),
|
|
93
92
|
createElementVNode("span", _hoisted_2, toDisplayString(__props.content.name), 1)
|
|
94
93
|
])) : __props.content.previewable ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
95
94
|
createElementVNode("button", {
|
|
@@ -98,10 +97,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
97
|
"data-test": "message-file-body",
|
|
99
98
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("content-click", __props.content))
|
|
100
99
|
}, [
|
|
101
|
-
createElementVNode("span",
|
|
102
|
-
class: "vc-message-file-block__icon",
|
|
103
|
-
style: normalizeStyle({ color: fileType.value.color })
|
|
104
|
-
}, [
|
|
100
|
+
createElementVNode("span", _hoisted_4, [
|
|
105
101
|
showThumbnail.value ? (openBlock(), createElementBlock("img", {
|
|
106
102
|
key: 0,
|
|
107
103
|
src: __props.content.thumbnailUrl,
|
|
@@ -109,15 +105,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
105
|
class: "vc-message-file-block__thumbnail",
|
|
110
106
|
"data-test": "message-file-thumbnail",
|
|
111
107
|
onError: onThumbnailError
|
|
112
|
-
}, null, 40,
|
|
108
|
+
}, null, 40, _hoisted_5)) : (openBlock(), createBlock(_sfc_main$1, {
|
|
113
109
|
key: 1,
|
|
114
|
-
icon:
|
|
110
|
+
icon: unref(FileText),
|
|
115
111
|
"data-test": "message-file-icon"
|
|
116
112
|
}, null, 8, ["icon"]))
|
|
117
|
-
]
|
|
118
|
-
createElementVNode("span",
|
|
119
|
-
createElementVNode("span",
|
|
120
|
-
meta.value ? (openBlock(), createElementBlock("span",
|
|
113
|
+
]),
|
|
114
|
+
createElementVNode("span", _hoisted_6, [
|
|
115
|
+
createElementVNode("span", _hoisted_7, toDisplayString(__props.content.name), 1),
|
|
116
|
+
meta.value ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(meta.value), 1)) : createCommentVNode("", true)
|
|
121
117
|
])
|
|
122
118
|
]),
|
|
123
119
|
createVNode(_sfc_main$2, {
|
|
@@ -138,10 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
138
134
|
rel: "noopener noreferrer",
|
|
139
135
|
class: "vc-message-file-block"
|
|
140
136
|
}, [
|
|
141
|
-
createElementVNode("span",
|
|
142
|
-
class: "vc-message-file-block__icon",
|
|
143
|
-
style: normalizeStyle({ color: fileType.value.color })
|
|
144
|
-
}, [
|
|
137
|
+
createElementVNode("span", _hoisted_10, [
|
|
145
138
|
showThumbnail.value ? (openBlock(), createElementBlock("img", {
|
|
146
139
|
key: 0,
|
|
147
140
|
src: __props.content.thumbnailUrl,
|
|
@@ -149,21 +142,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
142
|
class: "vc-message-file-block__thumbnail",
|
|
150
143
|
"data-test": "message-file-thumbnail",
|
|
151
144
|
onError: onThumbnailError
|
|
152
|
-
}, null, 40,
|
|
145
|
+
}, null, 40, _hoisted_11)) : (openBlock(), createBlock(_sfc_main$1, {
|
|
153
146
|
key: 1,
|
|
154
|
-
icon:
|
|
147
|
+
icon: unref(FileText),
|
|
155
148
|
"data-test": "message-file-icon"
|
|
156
149
|
}, null, 8, ["icon"]))
|
|
157
|
-
]
|
|
158
|
-
createElementVNode("span",
|
|
159
|
-
createElementVNode("span",
|
|
160
|
-
meta.value ? (openBlock(), createElementBlock("span",
|
|
150
|
+
]),
|
|
151
|
+
createElementVNode("span", _hoisted_12, [
|
|
152
|
+
createElementVNode("span", _hoisted_13, toDisplayString(__props.content.name), 1),
|
|
153
|
+
meta.value ? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(meta.value), 1)) : createCommentVNode("", true)
|
|
161
154
|
]),
|
|
162
155
|
createVNode(_sfc_main$1, {
|
|
163
156
|
icon: unref(Download),
|
|
164
157
|
class: "vc-message-file-block__download"
|
|
165
158
|
}, null, 8, ["icon"])
|
|
166
|
-
], 8,
|
|
159
|
+
], 8, _hoisted_9));
|
|
167
160
|
};
|
|
168
161
|
}
|
|
169
162
|
});
|
|
@@ -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/date-picker.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 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../assets/components/VcNotification/VcNotification.css';
|
|
2
|
-
import { defineComponent, ref,
|
|
2
|
+
import { defineComponent, ref, computed, onMounted, onBeforeUnmount, openBlock, createBlock, Teleport, createElementVNode, mergeProps, createVNode, TransitionGroup, withCtx, createElementBlock, Fragment, renderList } from "vue";
|
|
3
3
|
import UniqueComponentId from "../../utils/UniqueComponentId.mjs";
|
|
4
4
|
import ZIndexUtils from "../../utils/ZIndexUtils.mjs";
|
|
5
5
|
import ToastEventBus from "../../utils/ToastEventBus.mjs";
|
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
const attributeSelector = UniqueComponentId("vc-toast-id_");
|
|
25
25
|
const props = __props;
|
|
26
26
|
const containerRef = ref();
|
|
27
|
-
const messages =
|
|
27
|
+
const messages = ref([]);
|
|
28
28
|
const messageIdx = ref(0);
|
|
29
29
|
const customPosition = ref("");
|
|
30
30
|
const containerClass = computed(() => {
|
|
@@ -86,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
86
|
return makeDataTestAttributeValue(dataTestAttributes.input, props.dataTestName);
|
|
87
87
|
});
|
|
88
88
|
function setInputRef(el, index) {
|
|
89
|
-
inputRefs.value[index] = el
|
|
89
|
+
inputRefs.value[index] = el;
|
|
90
90
|
}
|
|
91
91
|
function isValidChar(char, type) {
|
|
92
92
|
if (type === "numeric") {
|
|
@@ -401,8 +401,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
401
401
|
}
|
|
402
402
|
if (pdfDocument.value) {
|
|
403
403
|
const data = await pdfDocument.value.getData();
|
|
404
|
-
|
|
405
|
-
saveBlob(new Blob([bytes], { type: "application/pdf" }), downloadFileName.value);
|
|
404
|
+
saveBlob(new Blob([data], { type: "application/pdf" }), downloadFileName.value);
|
|
406
405
|
return;
|
|
407
406
|
}
|
|
408
407
|
const response = await fetch(props.document, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { cachedLoad, loadOptionalPeer } from "../../utils/optionalPeer.mjs";
|
|
2
2
|
const loadPdf = cachedLoad(async () => {
|
|
3
3
|
const [pdf, { PDFLinkService }] = await Promise.all([
|
|
4
|
+
// @ts-expect-error -- no .d.ts ships beside build/pdf.js; the module is typed via the package root types.
|
|
4
5
|
loadOptionalPeer("pdfjs-dist", import("pdfjs-dist/build/pdf.js")),
|
|
5
6
|
loadOptionalPeer("pdfjs-dist", import("pdfjs-dist/web/pdf_viewer"))
|
|
6
7
|
]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, withDirectives, createElementBlock, normalizeStyle, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, resolveDynamicComponent, Fragment, createVNode, createTextVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx, withDirectives, createElementBlock, normalizeStyle, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, resolveDynamicComponent, Fragment, createVNode, createTextVNode } from "vue";
|
|
2
2
|
import { ElPopover, ClickOutside } from "element-plus";
|
|
3
3
|
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.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/VcPopover/VcConfirmPopover.css';/* empty css */
|
|
@@ -46,6 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
};
|
|
47
47
|
const emit = __emit;
|
|
48
48
|
const props = __props;
|
|
49
|
+
const popoverRef = ref();
|
|
49
50
|
const popoverOptions = computed(() => {
|
|
50
51
|
return {
|
|
51
52
|
...defaultOptions,
|
|
@@ -126,8 +127,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
126
127
|
confirmPopupState.closePopup();
|
|
127
128
|
return;
|
|
128
129
|
}
|
|
129
|
-
const
|
|
130
|
-
const el = typeof
|
|
130
|
+
const ref2 = elementRef.value;
|
|
131
|
+
const el = typeof ref2 === "string" || ref2 instanceof Element ? ref2 : ref2 == null ? void 0 : ref2.$el;
|
|
131
132
|
if (el === target || el === target.parentElement) {
|
|
132
133
|
return;
|
|
133
134
|
}
|
|
@@ -161,6 +162,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
161
162
|
return (_ctx, _cache) => {
|
|
162
163
|
return elementRef.value ? (openBlock(), createBlock(unref(ElPopover), {
|
|
163
164
|
key: 0,
|
|
165
|
+
ref_key: "popoverRef",
|
|
166
|
+
ref: popoverRef,
|
|
164
167
|
visible: isOpen.value,
|
|
165
168
|
"virtual-ref": elementRef.value,
|
|
166
169
|
effect: popoverOptions.value.themeEffect,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../assets/components/VcPopover/VcSelectPopover.css';
|
|
2
|
-
import { defineComponent, ref,
|
|
2
|
+
import { defineComponent, ref, computed, watch, openBlock, createBlock, withCtx, withDirectives, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, createVNode, createTextVNode, unref, renderSlot } from "vue";
|
|
3
3
|
import { Check } from "@lucide/vue";
|
|
4
4
|
import { ClickOutside } from "element-plus";
|
|
5
5
|
import { tVU } from "../../localization/index.mjs";
|
|
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
const emit = __emit;
|
|
37
37
|
const open = ref(false);
|
|
38
38
|
const actionRef = ref();
|
|
39
|
-
const checkboxGroupModel =
|
|
39
|
+
const checkboxGroupModel = ref([]);
|
|
40
40
|
const confirmAction = computed(() => {
|
|
41
41
|
const options = props.confirmAction;
|
|
42
42
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { ElRadio } from "element-plus";
|
|
3
|
-
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/
|
|
3
|
+
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/date-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcRadio/VcRadio.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -27,13 +27,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
get() {
|
|
28
28
|
return props.modelValue;
|
|
29
29
|
},
|
|
30
|
-
// Element Plus hands back the value of the radio that was picked; the
|
|
31
|
-
// option that carries it gives the value its Model type.
|
|
32
30
|
set(value) {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
emit("update:modelValue", picked);
|
|
36
|
-
emit("change", picked);
|
|
31
|
+
emit("update:modelValue", value);
|
|
32
|
+
emit("change", value);
|
|
37
33
|
}
|
|
38
34
|
});
|
|
39
35
|
const radiosMapped = computed(() => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../assets/components/VcRadioTabs/VcRadioTabs.css';
|
|
2
2
|
import { defineComponent, onMounted, openBlock, createElementBlock, createElementVNode, createVNode, renderSlot, unref, createTextVNode, toDisplayString, Fragment, renderList, withDirectives, vShow } from "vue";
|
|
3
|
-
import { useVModel } from "@vueuse/core";
|
|
4
3
|
import _sfc_main$1 from "./UiComponents/VcRadioTabsNav.vue.mjs";
|
|
5
4
|
import '../../assets/components/VcRadioTabs/UiComponents/VcRadioTabsNav.css';/* empty css */
|
|
5
|
+
import { useVModel } from "@vueuse/core";
|
|
6
6
|
import useOptionMethods from "../../composables/option/useOptionMethods.mjs";
|
|
7
7
|
const _hoisted_1 = { class: "vc-radio-tabs" };
|
|
8
8
|
const _hoisted_2 = { class: "vc-radio-tabs__wrapper" };
|
|
@@ -29,7 +29,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
setup(__props, { emit: __emit }) {
|
|
30
30
|
const props = __props;
|
|
31
31
|
const emit = __emit;
|
|
32
|
-
const activeOption = useVModel(
|
|
32
|
+
const activeOption = useVModel(
|
|
33
|
+
props,
|
|
34
|
+
"modelValue",
|
|
35
|
+
emit
|
|
36
|
+
);
|
|
33
37
|
const { optionValue } = useOptionMethods();
|
|
34
38
|
function onSetActiveTab(tab) {
|
|
35
39
|
activeOption.value = optionValue(tab, props.config);
|
|
@@ -31,7 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
emits: ["update:modelValue", "change"],
|
|
32
32
|
setup(__props, { emit: __emit }) {
|
|
33
33
|
useCssVars((_ctx) => ({
|
|
34
|
-
"
|
|
34
|
+
"v45dce9af": slideDuration
|
|
35
35
|
}));
|
|
36
36
|
const MAPPED_OPTION_KEYS = {
|
|
37
37
|
value: "value",
|
|
@@ -213,7 +213,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
213
213
|
unref(slots)["option"] ? {
|
|
214
214
|
name: "option",
|
|
215
215
|
fn: withCtx(({ option }) => [
|
|
216
|
-
renderSlot(_ctx.$slots, "option", {
|
|
216
|
+
renderSlot(_ctx.$slots, "option", {
|
|
217
|
+
option
|
|
218
|
+
})
|
|
217
219
|
]),
|
|
218
220
|
key: "1"
|
|
219
221
|
} : void 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, watch, openBlock, createBlock, unref, mergeProps, isRef, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createVNode, createTextVNode, toDisplayString, createCommentVNode, renderList, createElementVNode, normalizeStyle, normalizeClass } from "vue";
|
|
2
2
|
import { ElSelect } from "element-plus";
|
|
3
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcSelect/VcSelect.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -121,41 +121,40 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
121
121
|
const popperClass = computed(() => {
|
|
122
122
|
return props.color ? ["vc-select__dropdown", `color--${props.color}`].join(" ") : "vc-select__dropdown";
|
|
123
123
|
});
|
|
124
|
-
function isModelShape(value) {
|
|
125
|
-
return value === void 0 || Array.isArray(value) === isMultiple.value;
|
|
126
|
-
}
|
|
127
|
-
function isChangeShape(value) {
|
|
128
|
-
return value === void 0 || Array.isArray(value) === isMultiple.value;
|
|
129
|
-
}
|
|
130
|
-
function isKindOfOptionValue(value, optionValueSample) {
|
|
131
|
-
return typeof value === typeof optionValueSample;
|
|
132
|
-
}
|
|
133
124
|
function onCheckAllToggle() {
|
|
134
|
-
|
|
135
|
-
|
|
125
|
+
if (isCheckedAll.value) {
|
|
126
|
+
selectModel.value = [];
|
|
127
|
+
} else {
|
|
128
|
+
const selected = selectOptions.value.reduce(
|
|
129
|
+
(acc, item) => {
|
|
130
|
+
if (!item.disabled) {
|
|
131
|
+
acc.push(item.value);
|
|
132
|
+
}
|
|
133
|
+
return acc;
|
|
134
|
+
},
|
|
135
|
+
[]
|
|
136
|
+
);
|
|
136
137
|
selectModel.value = selected;
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
function getSelectedOption(model) {
|
|
140
141
|
var _a;
|
|
141
|
-
|
|
142
|
-
(
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
142
|
+
if (isMultiple.value) {
|
|
143
|
+
return selectOptions.value.reduce(
|
|
144
|
+
(acc, item) => {
|
|
145
|
+
if (Array.isArray(model) && model.includes(item.value)) {
|
|
146
|
+
acc.push(item.originalItem);
|
|
147
|
+
}
|
|
148
|
+
return acc;
|
|
149
|
+
},
|
|
150
|
+
[]
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
return (_a = selectOptions.value.find((item) => model === item.value)) == null ? void 0 : _a.originalItem;
|
|
151
154
|
}
|
|
152
155
|
function onModelChange(modelData) {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
function setCoercedModel(value, optionValueSample) {
|
|
156
|
-
if (isKindOfOptionValue(value, optionValueSample) && isModelShape(value)) {
|
|
157
|
-
selectModel.value = value;
|
|
158
|
-
}
|
|
156
|
+
const _data = modelData ? getSelectedOption(modelData) : void 0;
|
|
157
|
+
emit("change", _data);
|
|
159
158
|
}
|
|
160
159
|
function onVisibleChange(status) {
|
|
161
160
|
emit("update:visible", status);
|
|
@@ -196,17 +195,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
196
195
|
if (!Array.isArray(props.modelValue) && firstOptionValeType !== typeof props.modelValue) {
|
|
197
196
|
if (firstOptionValeType === "number") {
|
|
198
197
|
const modelValueToNumber = Number(props.modelValue);
|
|
198
|
+
let newValue = void 0;
|
|
199
199
|
if (props.modelValue !== "" && !isNaN(modelValueToNumber)) {
|
|
200
|
-
|
|
201
|
-
} else {
|
|
202
|
-
selectModel.value = void 0;
|
|
200
|
+
newValue = modelValueToNumber;
|
|
203
201
|
}
|
|
202
|
+
selectModel.value = newValue;
|
|
204
203
|
} else if (firstOptionValeType === "string") {
|
|
205
|
-
|
|
204
|
+
selectModel.value = String(props.modelValue);
|
|
206
205
|
}
|
|
207
206
|
}
|
|
208
207
|
}
|
|
209
|
-
|
|
208
|
+
const _res = getSelectedOption(props.modelValue);
|
|
209
|
+
emit("initial-value", _res);
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
212
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Card.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Card.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-16ee0368"]]);
|
|
5
5
|
export {
|
|
6
6
|
Card as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Circle.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Circle.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Circle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Circle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0ad3df7c"]]);
|
|
5
5
|
export {
|
|
6
6
|
Circle as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Row.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Row.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Row = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Row = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-147d5fbb"]]);
|
|
5
5
|
export {
|
|
6
6
|
Row as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Square.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Square.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Square = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Square = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-daeb74ee"]]);
|
|
5
5
|
export {
|
|
6
6
|
Square as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./Text.vue2.mjs";
|
|
2
2
|
import '../../../assets/components/VcSkeletonLoader/Loaders/Text.css';/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2723084e"]]);
|
|
5
5
|
export {
|
|
6
6
|
Text as default
|
|
7
7
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from "./VcSkeletonItem.vue2.mjs";
|
|
2
|
+
import '../../assets/components/VcSkeletonLoader/VcSkeletonItem.css';/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const VcSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-66f4ccc6"]]);
|
|
5
|
+
export {
|
|
6
|
+
VcSkeletonItem as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass } from "vue";
|
|
2
|
+
import { convertToUnit } from "../../utils/helpers.mjs";
|
|
3
|
+
const DEFAULT_ROW_HEIGHT = "1.5rem";
|
|
4
|
+
const DEFAULT_SIZE = "25px";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "VcSkeletonItem",
|
|
7
|
+
props: {
|
|
8
|
+
variant: { default: "row" },
|
|
9
|
+
width: { default: void 0 },
|
|
10
|
+
height: { default: void 0 },
|
|
11
|
+
size: { default: void 0 }
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const styles = computed(() => {
|
|
16
|
+
if (props.variant === "row") {
|
|
17
|
+
return {
|
|
18
|
+
width: convertToUnit(props.width) || "100%",
|
|
19
|
+
height: convertToUnit(props.height) || DEFAULT_ROW_HEIGHT
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
const size = convertToUnit(props.size) || DEFAULT_SIZE;
|
|
23
|
+
return {
|
|
24
|
+
width: convertToUnit(props.width) || size,
|
|
25
|
+
height: convertToUnit(props.height) || size
|
|
26
|
+
};
|
|
27
|
+
});
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
return openBlock(), createElementBlock("div", {
|
|
30
|
+
class: normalizeClass(["vc-skeleton-item", `vc-skeleton-item--${__props.variant}`]),
|
|
31
|
+
style: normalizeStyle(styles.value),
|
|
32
|
+
"aria-hidden": "true"
|
|
33
|
+
}, null, 6);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
_sfc_main as default
|
|
39
|
+
};
|