@voicenter-team/voicenter-ui-plus 3.4.8 → 4.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1004 -558
- package/library/assets/assets/sass/main.css +1 -1
- package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunMetrics.css +1 -0
- package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunRow.css +1 -0
- package/library/assets/components/VcAgentRun/VcAgentRunCard.css +1 -0
- package/library/assets/components/VcAgentRun/VcAgentRunGroup.css +1 -0
- package/library/assets/components/VcAiReasoning/VcAiReasoning.css +1 -0
- package/library/assets/components/VcApprovalCard/VcApprovalCard.css +1 -0
- package/library/assets/components/VcAskUserCard/VcAskUserCard.css +1 -0
- package/library/assets/components/VcAutocomplete/VcAutocomplete.css +1 -1
- package/library/assets/components/VcAvatar/VcAvatar.css +1 -1
- package/library/assets/components/VcBadgeTag/VcBadgeTag.css +1 -1
- package/library/assets/components/VcButton/VcButton.css +1 -1
- package/library/assets/components/VcButton/VcButtonIcon.css +1 -1
- package/library/assets/components/VcButton/VcToggleButton.css +1 -1
- package/library/assets/components/VcCard/VcCard.css +1 -1
- package/library/assets/components/VcChatComposer/VcChatComposer.css +1 -1
- package/library/assets/components/VcCheckbox/VcCheckbox.css +1 -1
- package/library/assets/components/VcCheckbox/VcCheckboxButton.css +1 -1
- package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -1
- package/library/assets/components/VcCollapse/VcCollapseItem.css +1 -1
- package/library/assets/components/VcColorPicker/VcColorPicker.css +1 -1
- package/library/assets/components/VcDatePicker/VcDatePicker.css +1 -1
- package/library/assets/components/VcDatePickerPanel/VcDatePickerPanel.css +1 -1
- package/library/assets/components/VcDatetimeRangePicker/VcDatetimeRangePicker.css +1 -1
- package/library/assets/components/VcDropdown/VcDropdown.css +1 -1
- package/library/assets/components/VcDropdown/VcDropdownItem.css +1 -1
- package/library/assets/components/VcEmojiPicker/VcEmojiPicker.css +1 -1
- package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.css +1 -1
- package/library/assets/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileItem.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderArea.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
- package/library/assets/components/VcForm/UiComponents/VcInputError.css +1 -1
- package/library/assets/components/VcForm/UiComponents/VcInputLabel.css +1 -1
- package/library/assets/components/VcForm/VcFormItem.css +1 -1
- package/library/assets/components/VcHtmlEditor/VcHtmlEditor.css +1 -1
- package/library/assets/components/VcHyperLink/VcHyperLink.css +1 -1
- package/library/assets/components/VcIconPicker/VcIconPicker.css +1 -1
- package/library/assets/components/VcImageUploader/VcImageUploader.css +1 -1
- package/library/assets/components/VcInput/VcInput.css +1 -1
- package/library/assets/components/VcInputNumber/VcInputNumber.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonCodeMirror.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
- package/library/assets/components/VcJsonSchema/VcJsonSchema.css +1 -1
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerCards.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerFields.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerMore.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerObject.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerSections.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerState.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerTable.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerTree.css +1 -0
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerValue.css +1 -0
- package/library/assets/components/VcJsonViewer/VcJsonViewer.css +1 -0
- package/library/assets/components/VcLightbox/VcLightbox.css +1 -0
- package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
- package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
- package/library/assets/components/VcLoading/VcLoading.css +1 -1
- package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
- package/library/assets/components/VcMdEditor/VcMdEditorContent.css +1 -1
- package/library/assets/components/VcMessage/VcMessage.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageFileBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageImageBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageMarkdownBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageTextBlock.css +1 -1
- package/library/assets/components/VcMessage/content/VcMessageVideoBlock.css +1 -1
- package/library/assets/components/VcMessage/reactions/VcMessageEmojiPicker.css +1 -1
- package/library/assets/components/VcMessage/reactions/VcMessageReactionBar.css +1 -1
- package/library/assets/components/VcMessagesWrapper/VcMessagesWrapper.css +1 -1
- package/library/assets/components/VcMeterGroup/VcMeterGroup.css +1 -1
- package/library/assets/components/VcModal/VcModal.css +1 -1
- package/library/assets/components/VcNotification/VcNotification.css +1 -1
- package/library/assets/components/VcOtpInput/VcOtpInput.css +1 -1
- package/library/assets/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.css +1 -0
- package/library/assets/components/VcPdfViewer/VcPdfDocument.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfDocumentCard.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfDocumentViewerFooter.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfViewer.css +1 -0
- package/library/assets/components/VcPhoneInput/VcFlagLabel.css +1 -1
- package/library/assets/components/VcPhoneInput/VcPhoneInput.css +1 -1
- package/library/assets/components/VcPopover/VcConfirmPopover.css +1 -1
- package/library/assets/components/VcPopover/VcPopover.css +1 -1
- package/library/assets/components/VcPopover/VcSelectPopover.css +1 -1
- package/library/assets/components/VcProgress/VcProgress.css +1 -1
- package/library/assets/components/VcProgress/VcProgressCircular.css +1 -1
- package/library/assets/components/VcRadio/VcRadio.css +1 -1
- package/library/assets/components/VcRadioButtons/VcRadioButtonsGroup.css +1 -1
- package/library/assets/components/VcRadioGroup/VcRadioGroup.css +1 -1
- package/library/assets/components/VcRadioTabs/UiComponents/VcRadioTabsNav.css +1 -1
- package/library/assets/components/VcRadioTabs/VcRadioTabs.css +1 -1
- package/library/assets/components/VcSegmented/VcSegmented.css +1 -1
- package/library/assets/components/VcSelect/VcSelect.css +1 -1
- package/library/assets/components/VcSelect/VcSelectOption.css +1 -1
- package/library/assets/components/VcSipFlow/VcSipFlow.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
- package/library/assets/components/VcSlider/VcSlider.css +1 -1
- package/library/assets/components/VcSoundplayer/VcPlayerPlaybackRate.css +1 -1
- package/library/assets/components/VcSoundplayer/VcSoundPlayerMarker.css +1 -1
- package/library/assets/components/VcSplitButton/VcSplitButton.css +1 -1
- package/library/assets/components/VcSwitch/VcSwitch.css +1 -1
- package/library/assets/components/VcSystemUserPrompt/VcSystemUserPrompt.css +1 -1
- package/library/assets/components/VcTable/VcTable.css +1 -1
- package/library/assets/components/VcTable/VcTable2.css +1 -1
- package/library/assets/components/VcTabs/VcTabNav.css +1 -1
- package/library/assets/components/VcTabs/VcTabs.css +1 -1
- package/library/assets/components/VcTag/VcTag.css +1 -1
- package/library/assets/components/VcTagInput/VcTagInput.css +1 -1
- package/library/assets/components/VcTimeInput/VcTimeInput.css +1 -1
- package/library/assets/components/VcToolCall/UiComponents/VcToolCallValue.css +1 -0
- package/library/assets/components/VcToolCall/VcToolCall.css +1 -0
- package/library/assets/components/VcTour/VcTour.css +1 -1
- package/library/assets/components/VcTransfer/VcTransfer.css +1 -1
- package/library/assets/components/VcTree/VcTree.css +1 -1
- package/library/assets/components/VcTree/VcTreeSelect.css +1 -1
- package/library/assets/components/VcVerticalTabs/VcVerticalTabs.css +1 -1
- package/library/assets/components/VcVerticalTabs/VerticalTabNav.css +1 -1
- package/library/assets/components/VcViewSwitcher/VcViewSwitcher.css +1 -1
- package/library/assets/components/VcWizard/VcSummaryProgress.css +1 -1
- package/library/assets/components/VcWizard/VcWizard.css +1 -1
- package/library/assets/components/VcWizard/VcWizardNavigation.css +1 -1
- package/library/assets/components/VcWizard/VcWizardSummary.css +1 -1
- package/library/assets/entity/components/Form/VcBaseVerticalForm.css +1 -1
- package/library/assets/entity/components/Table/VcEntityListTable.css +1 -1
- package/library/assets/entity/components/Tabs/VcEntityEditableTabs.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/autocomplete.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/base.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/button.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/checkbox.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/image-viewer.css +1 -0
- package/library/assets/node_modules/element-plus/theme-chalk/src/input-number.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/input.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/option.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/popover.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/popper.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/radio-button.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/radio.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/select.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/tree.css +1 -1
- package/library/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.mjs +110 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue3.mjs +5 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.mjs +70 -0
- package/library/components/VcAgentRun/UiComponents/VcAgentRunRow.vue3.mjs +5 -0
- package/library/components/VcAgentRun/VcAgentRunCard.vue.mjs +423 -0
- package/library/components/VcAgentRun/VcAgentRunCard.vue3.mjs +5 -0
- package/library/components/VcAgentRun/VcAgentRunGroup.vue.mjs +210 -0
- package/library/components/VcAgentRun/VcAgentRunGroup.vue3.mjs +5 -0
- package/library/components/VcAgentRun/agentRunStatus.mjs +39 -0
- package/library/components/VcAiReasoning/VcAiReasoning.vue.mjs +227 -0
- package/library/components/VcAiReasoning/VcAiReasoning.vue3.mjs +5 -0
- package/library/components/VcApprovalCard/VcApprovalCard.vue.mjs +419 -0
- package/library/components/VcApprovalCard/VcApprovalCard.vue3.mjs +5 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.mjs +69 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.mjs +177 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.mjs +98 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.mjs +142 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.mjs +156 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserText.vue.mjs +76 -0
- package/library/components/VcAskUserCard/UiComponents/VcAskUserText.vue2.mjs +4 -0
- package/library/components/VcAskUserCard/VcAskUserCard.vue.mjs +382 -0
- package/library/components/VcAskUserCard/VcAskUserCard.vue3.mjs +5 -0
- package/library/components/VcAskUserCard/askUserAnswers.mjs +224 -0
- package/library/components/VcAutocomplete/VcAutocomplete.vue.mjs +4 -2
- package/library/components/VcAvatar/VcAvatar.vue.mjs +3 -3
- package/library/components/VcBadgeTag/VcBadgeTag.vue.mjs +8 -5
- package/library/components/VcButton/VcButton.vue.mjs +10 -4
- package/library/components/VcButton/VcButtonIcon.vue.mjs +3 -4
- package/library/components/VcButton/VcToggleButton.vue.mjs +5 -4
- package/library/components/VcChatComposer/VcChatComposer.vue.mjs +154 -51
- package/library/components/VcCodeBlock/VcCodeBlock.vue.mjs +27 -35
- package/library/components/VcCollapse/VcCollapseItem.vue.mjs +12 -7
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +40 -11
- package/library/components/VcDatePickerPanel/VcDatePickerPanel.vue.mjs +49 -32
- package/library/components/VcExcelUploader/VcExcelFileProcessLoader.vue.mjs +2 -2
- package/library/components/VcExcelUploader/VcExcelFileUploadBlock.vue.mjs +11 -7
- package/library/components/VcExcelUploader/VcExcelFileUploader.vue.mjs +7 -6
- package/library/components/VcExcelUploader/VcFileImportErrorsCard.vue.mjs +8 -4
- package/library/components/VcExcelUploader/VcFileImportParseResultBlock.vue.mjs +2 -1
- package/library/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.mjs +13 -12
- package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.mjs +6 -5
- package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.mjs +4 -3
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.mjs +7 -3
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.mjs +3 -2
- package/library/components/VcFileUploader/VcFileItem.vue.mjs +59 -31
- package/library/components/VcFileUploader/VcFileUploader.vue.mjs +2 -1
- package/library/components/VcFileUploader/VcFileUploaderArea.vue.mjs +2 -2
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue2.mjs +2 -1
- package/library/components/VcFileUploader/VcSimpleUploaderAction.vue.mjs +4 -3
- package/library/components/VcForm/UiComponents/VcInputLabel.vue.mjs +6 -2
- package/library/components/VcHtmlEditor/VcHtmlEditor.vue.mjs +4 -1
- package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +19 -31
- package/library/components/VcHtmlEditor/htmlEditor.config.mjs +13 -10
- package/library/components/VcHyperLink/VcHyperLink.vue.mjs +1 -1
- package/library/components/VcIconPicker/VcIconPicker.vue.mjs +1 -1
- package/library/components/VcImageUploader/VcImageUploader.vue.mjs +27 -14
- package/library/components/VcInput/VcInput.vue.mjs +4 -2
- package/library/components/VcInputNumber/VcInputNumber.vue.mjs +29 -4
- package/library/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.mjs +5 -4
- package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -2
- package/library/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.mjs +6 -9
- package/library/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.mjs +9 -10
- package/library/components/VcJsonSchema/VcJsonSchema.vue.mjs +0 -1
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.mjs +98 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.mjs +164 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.mjs +50 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.mjs +25 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.mjs +64 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.mjs +53 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.mjs +104 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.mjs +45 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.mjs +259 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.mjs +179 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.mjs +146 -0
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/VcJsonViewer.vue.mjs +454 -0
- package/library/components/VcJsonViewer/VcJsonViewer.vue3.mjs +5 -0
- package/library/components/VcJsonViewer/jsonViewerText.mjs +41 -0
- package/library/components/VcJsonViewer/jsonViewerUtils.mjs +568 -0
- package/library/components/VcJsonViewer/useJsonViewerContext.mjs +25 -0
- package/library/components/VcLightbox/VcLightbox.vue.mjs +417 -0
- package/library/components/VcLightbox/VcLightbox.vue3.mjs +5 -0
- package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Circles.vue2.mjs +3 -2
- package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +5 -4
- package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LdsSpinner.vue2.mjs +3 -2
- package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LoadIcon.vue2.mjs +5 -4
- package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +4 -3
- package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue2.mjs +3 -3
- package/library/components/VcMdEditor/VcMdEditor.vue.mjs +37 -12
- package/library/components/VcMdEditor/VcMdEditorContent.vue.mjs +10 -0
- package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +6 -6
- package/library/components/VcMdEditor/ltrNumbersPlugin.mjs +55 -0
- package/library/components/VcMdEditor/readonlyMarkdown.mjs +81 -0
- package/library/components/VcMdEditor/streamingInterval.mjs +12 -0
- package/library/components/VcMessage/VcMessage.vue.mjs +75 -42
- package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +99 -14
- package/library/components/VcMessage/content/VcMessageMarkdownBlock.vue.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageMarkdownBlock.vue2.mjs +33 -0
- package/library/components/VcMessage/content/VcMessageTextBlock.vue.mjs +21 -3
- package/library/components/VcMessage/content/markdownPreview.mjs +32 -0
- package/library/components/VcMessage/content/messageContentComponents.mjs +3 -1
- package/library/components/VcMessagesWrapper/VcMessagesWrapper.vue.mjs +120 -52
- package/library/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.mjs +49 -29
- package/library/components/VcMeterGroup/VcMeterGroup.vue.mjs +1 -1
- package/library/components/VcModal/VcConfirmModal.vue.mjs +10 -9
- package/library/components/VcModal/VcModal.vue.mjs +21 -22
- package/library/components/VcNotification/VcNotification.vue.mjs +2 -2
- package/library/components/VcNotification/VcNotificationMessage.vue.mjs +14 -11
- package/library/components/VcPagination/VcPagination.vue.mjs +5 -4
- package/library/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.mjs +166 -0
- package/library/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue3.mjs +5 -0
- package/library/components/VcPdfViewer/VcPdfDocument.vue.mjs +12 -76
- package/library/components/VcPdfViewer/VcPdfDocumentCard.vue.mjs +18 -8
- package/library/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.mjs +23 -7
- package/library/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.mjs +23 -10
- package/library/components/VcPdfViewer/VcPdfViewer.vue.mjs +581 -0
- package/library/components/VcPdfViewer/VcPdfViewer.vue3.mjs +5 -0
- package/library/components/VcPdfViewer/pdfDocumentActions.mjs +90 -0
- package/library/components/VcPdfViewer/pdfDocumentParams.mjs +11 -0
- package/library/components/VcPdfViewer/pdfStandardFonts.mjs +21 -0
- package/library/components/VcPdfViewer/standard_fonts/FoxitDingbats.pfb +0 -0
- package/library/components/VcPdfViewer/standard_fonts/FoxitSymbol.pfb +0 -0
- package/library/components/VcPdfViewer/standard_fonts/LICENSE_FOXIT +27 -0
- package/library/components/VcPhoneInput/VcPhoneInput.vue.mjs +12 -6
- package/library/components/VcPopover/VcConfirmPopover.vue.mjs +3 -3
- package/library/components/VcPopover/VcSelectPopover.vue.mjs +2 -1
- package/library/components/VcProgress/VcProgress.vue.mjs +11 -20
- package/library/components/VcProgress/VcProgressCircular.vue.mjs +14 -23
- package/library/components/VcProgress/progress.options.mjs +21 -21
- package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +13 -7
- package/library/components/VcSelect/VcSelect.vue.mjs +18 -19
- package/library/components/VcSelect/VcSelectGrouped.vue.mjs +8 -5
- package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue2.mjs +1 -1
- package/library/components/VcSoundplayer/VcPlayerPlayStopButton.vue.mjs +7 -6
- package/library/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.mjs +2 -2
- package/library/components/VcSoundplayer/VcPlayerSkipButtons.vue.mjs +5 -4
- package/library/components/VcSoundplayer/VcSoundPlayer.vue.mjs +26 -23
- package/library/components/VcSoundplayer/VcSoundPlayerError.vue.mjs +5 -4
- package/library/components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerProgress.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +5 -3
- package/library/components/VcSoundplayer/VcSoundVolume.vue.mjs +5 -4
- package/library/components/VcSoundplayer/player.options.mjs +13 -5
- package/library/components/VcSparkline/VcBarLine.vue.mjs +2 -2
- package/library/components/VcSparkline/VcTrendLine.vue.mjs +2 -2
- package/library/components/VcSplitButton/VcSplitButton.vue.mjs +18 -19
- package/library/components/VcSwitch/VcSwitch.vue.mjs +1 -1
- package/library/components/VcTable/VcTable.vue.mjs +18 -11
- package/library/components/VcTabs/VcTabNav.vue.mjs +11 -9
- package/library/components/VcTag/VcTag.vue.mjs +6 -4
- package/library/components/VcTagInput/VcTagInput.vue.mjs +10 -7
- package/library/components/VcTimeInput/VcTimeInput.vue.mjs +18 -8
- package/library/components/VcToolCall/UiComponents/VcToolCallValue.vue.mjs +64 -0
- package/library/components/VcToolCall/UiComponents/VcToolCallValue.vue3.mjs +5 -0
- package/library/components/VcToolCall/VcToolCall.vue.mjs +328 -0
- package/library/components/VcToolCall/VcToolCall.vue3.mjs +5 -0
- package/library/components/VcTree/VcTree.vue.mjs +8 -4
- package/library/components/VcTree/VcTreeSelect.vue.mjs +11 -7
- package/library/components/VcWizard/VcSummaryProgress.vue.mjs +10 -7
- package/library/components/VcWizard/VcSummaryStep.vue.mjs +8 -4
- package/library/components/VcWizard/VcWizardNavigation.vue.mjs +12 -8
- package/library/composables/input/useInputColor.mjs +3 -3
- package/library/composables/useElapsed.mjs +47 -0
- package/library/composables/useThrottledText.mjs +22 -0
- package/library/entity/components/Button/VcEntityAddButton.vue.mjs +4 -3
- package/library/entity/components/Button/VcEntityCancelButton.vue.mjs +4 -3
- package/library/entity/components/Button/VcEntityEditIconButton.vue.mjs +3 -2
- package/library/entity/components/Form/VcBaseVerticalForm.vue.mjs +6 -5
- package/library/entity/components/Form/VcEntityEditPageForm.vue.mjs +4 -3
- package/library/entity/components/Form/VcEntityVerticalEditForm.vue.mjs +7 -6
- package/library/entity/components/Table/VcEntityListTable.vue.mjs +15 -15
- package/library/enum/constants.mjs +5 -11
- package/library/enum/fileTypes.mjs +24 -39
- package/library/enum/inputDefaults.mjs +2 -2
- package/library/index.mjs +263 -235
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +172 -1
- package/library/plugin-components.gen.mjs +95 -68
- package/library/plugin.mjs +261 -233
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +174 -122
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs.gz +0 -0
- package/library/theme/themeMerge.mjs +32 -16
- package/library/theme/themes.json.mjs +172 -222
- package/library/tokens/tokens.mjs +2 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunMetrics.vue.d.ts +46 -0
- package/library/types/components/VcAgentRun/UiComponents/VcAgentRunRow.vue.d.ts +20 -0
- package/library/types/components/VcAgentRun/VcAgentRunCard.vue.d.ts +104 -0
- package/library/types/components/VcAgentRun/VcAgentRunGroup.vue.d.ts +53 -0
- package/library/types/components/VcAgentRun/agentRunStatus.d.ts +13 -0
- package/library/types/components/VcAiReasoning/VcAiReasoning.vue.d.ts +85 -0
- package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +101 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserConfirm.vue.d.ts +41 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserMultiSelect.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserQuestionList.vue.d.ts +53 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserRankPriorities.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserSingleSelect.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/VcAskUserText.vue.d.ts +42 -0
- package/library/types/components/VcAskUserCard/UiComponents/askUserControl.d.ts +25 -0
- package/library/types/components/VcAskUserCard/VcAskUserCard.vue.d.ts +84 -0
- package/library/types/components/VcAskUserCard/askUserAnswers.d.ts +57 -0
- package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +72 -72
- package/library/types/components/VcAvatar/VcAvatar.vue.d.ts +1 -1
- package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +1 -1
- package/library/types/components/VcButton/VcButton.vue.d.ts +7 -7
- package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +12 -13
- package/library/types/components/VcButton/VcToggleButton.vue.d.ts +4 -4
- package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +43 -15
- package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +24 -24
- package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +18 -18
- package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +15 -15
- package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +12 -12
- package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +1 -1
- package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +3 -3
- package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +1 -1
- package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +21 -21
- package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +18 -18
- package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +4 -4
- package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +1 -1
- package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +1 -1
- package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +6 -5
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +4 -4
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +11 -11
- package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +10 -45
- package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +6 -6
- package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +2 -2
- package/library/types/components/VcForm/VcForm.vue.d.ts +3 -3
- package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +2 -2
- package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +1 -1
- package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +3 -3
- package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +3 -3
- package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +6 -6
- package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +3 -3
- package/library/types/components/VcInput/VcInput.vue.d.ts +11 -11
- package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +3 -3
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerAuto.vue.d.ts +42 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerCards.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerFields.vue.d.ts +32 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerKey.vue.d.ts +31 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerMore.vue.d.ts +25 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerObject.vue.d.ts +34 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.d.ts +39 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerState.vue.d.ts +46 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTable.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerTree.vue.d.ts +18 -0
- package/library/types/components/VcJsonViewer/UiComponents/VcJsonViewerValue.vue.d.ts +37 -0
- package/library/types/components/VcJsonViewer/VcJsonViewer.vue.d.ts +162 -0
- package/library/types/components/VcJsonViewer/jsonViewerText.d.ts +8 -0
- package/library/types/components/VcJsonViewer/jsonViewerUtils.d.ts +127 -0
- package/library/types/components/VcJsonViewer/useJsonViewerContext.d.ts +5 -0
- package/library/types/components/VcLightbox/VcLightbox.vue.d.ts +90 -0
- package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +2 -2
- package/library/types/components/VcLoading/VcLoading.vue.d.ts +2 -2
- package/library/types/components/VcLoading/enum.d.ts +2 -2
- package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +111 -55
- package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +3 -3
- package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +1 -1
- package/library/types/components/VcMdEditor/ltrNumbersPlugin.d.ts +16 -0
- package/library/types/components/VcMdEditor/readonlyMarkdown.d.ts +7 -0
- package/library/types/components/VcMdEditor/streamingInterval.d.ts +7 -0
- package/library/types/components/VcMessage/VcMessage.vue.d.ts +24 -3
- package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +6 -2
- package/library/types/components/VcMessage/content/VcMessageMarkdownBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/markdownPreview.d.ts +1 -0
- package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +1 -1
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +223 -84
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapperRow.vue.d.ts +89 -42
- package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +2 -2
- package/library/types/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +1 -1
- package/library/types/components/VcModal/VcModal.vue.d.ts +3 -3
- package/library/types/components/VcNotification/VcNotification.vue.d.ts +1 -1
- package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +8 -8
- package/library/types/components/VcPagination/VcPagination.vue.d.ts +1 -1
- package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +4 -4
- package/library/types/components/VcPdfViewer/UiComponents/VcPdfViewerToolbar.vue.d.ts +64 -0
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +1 -1
- package/library/types/components/VcPdfViewer/VcPdfViewer.vue.d.ts +114 -0
- package/library/types/components/VcPdfViewer/pdfDocumentActions.d.ts +29 -0
- package/library/types/components/VcPdfViewer/pdfDocumentParams.d.ts +14 -0
- package/library/types/components/VcPdfViewer/pdfStandardFonts.d.ts +9 -0
- package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +8 -8
- package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +1 -1
- package/library/types/components/VcPopover/VcPopover.vue.d.ts +1 -1
- package/library/types/components/VcPopover/VcSelectPopover.vue.d.ts +3 -3
- package/library/types/components/VcProgress/VcProgress.vue.d.ts +1 -1
- package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +4 -4
- package/library/types/components/VcProgress/progress.options.d.ts +9 -7
- package/library/types/components/VcRadio/VcRadio.vue.d.ts +15 -15
- package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +9 -9
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +12 -12
- package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +6 -6
- package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +18 -18
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +42 -42
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +51 -51
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +48 -48
- package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +9 -9
- package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +1 -1
- package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +6 -6
- package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +4 -4
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +2 -2
- package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +4 -4
- package/library/types/components/VcSoundplayer/player.options.d.ts +1 -0
- package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +4 -4
- package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +4 -4
- package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +4 -4
- package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +6 -6
- package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +24 -24
- package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +4 -4
- package/library/types/components/VcTable/VcTable.vue.d.ts +6 -3
- package/library/types/components/VcTabs/VcTabPane.vue.d.ts +1 -1
- package/library/types/components/VcTabs/VcTabs.vue.d.ts +1 -1
- package/library/types/components/VcTag/VcTag.vue.d.ts +3 -3
- package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +14 -14
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +5 -5
- package/library/types/components/VcToolCall/UiComponents/VcToolCallValue.vue.d.ts +66 -0
- package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +91 -0
- package/library/types/components/VcTour/VcTour.vue.d.ts +1 -1
- package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +3 -3
- package/library/types/components/VcTree/VcTree.vue.d.ts +18 -18
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +42 -42
- package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +3 -3
- package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +3 -3
- package/library/types/components/VcViewSwitcher/VcViewSwitcher.vue.d.ts +9 -9
- package/library/types/components/VcWizard/VcSummaryProgress.vue.d.ts +2 -2
- package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +1 -1
- package/library/types/components/exports.d.ts +19 -1
- package/library/types/components.gen.d.ts +9 -0
- package/library/types/composables/input/useFileUploader.d.ts +2 -2
- package/library/types/composables/useElapsed.d.ts +38 -0
- package/library/types/composables/useThrottledText.d.ts +16 -0
- package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +3 -3
- package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +3 -3
- package/library/types/enum/constants.d.ts +2 -10
- package/library/types/enum/inputDefaults.d.ts +2 -2
- package/library/types/localization/locales/en.json.d.ts +365 -194
- package/library/types/theme/themes.json.d.ts +177 -227
- package/library/types/tokens/tokens.d.ts +2 -1
- package/library/types/types/VcAgentRun.types.d.ts +197 -0
- package/library/types/types/VcAiChat.types.d.ts +5 -0
- package/library/types/types/VcAiReasoning.types.d.ts +67 -0
- package/library/types/types/VcApprovalCard.types.d.ts +109 -0
- package/library/types/types/VcAskUserCard.types.d.ts +166 -0
- package/library/types/types/VcChatComposer.types.d.ts +86 -0
- package/library/types/types/VcDropdown.types.d.ts +1 -1
- package/library/types/types/VcFileUploader.types.d.ts +26 -0
- package/library/types/types/VcJsonViewer.types.d.ts +41 -0
- package/library/types/types/VcLightbox.types.d.ts +112 -0
- package/library/types/types/VcMessage.types.d.ts +42 -4
- package/library/types/types/VcMessagesWrapper.types.d.ts +100 -12
- package/library/types/types/VcOtpInput.types.d.ts +1 -1
- package/library/types/types/VcPdfViewer.types.d.ts +138 -0
- package/library/types/types/VcProgress.types.d.ts +1 -1
- package/library/types/types/VcToolCall.types.d.ts +102 -0
- package/library/types/types/index.d.ts +9 -1
- package/library/types/utils/aiChat.d.ts +50 -0
- package/library/types/utils/download.d.ts +5 -0
- package/library/types/utils/elementPlusIcons.d.ts +9 -0
- package/library/types/utils/fileAccept.d.ts +30 -0
- package/library/types/utils/i18nParams.d.ts +8 -0
- package/library/types/utils/numberRuns.d.ts +21 -0
- package/library/types/utils/themeColor.d.ts +1 -0
- package/library/utils/UniqueComponentId.mjs +2 -2
- package/library/utils/aiChat.mjs +121 -0
- package/library/utils/download.mjs +13 -0
- package/library/utils/elementPlusIcons.mjs +14 -0
- package/library/utils/fileAccept.mjs +66 -0
- package/library/utils/i18nParams.mjs +6 -0
- package/library/utils/jsonSchema/index.mjs.gz +0 -0
- package/library/utils/numberRuns.mjs +63 -0
- package/library/utils/themeColor.mjs +9 -0
- package/package.json +216 -215
- package/src/theme/index.ts +101 -101
- package/src/theme/tailwindScheme.js +70 -37
- package/src/theme/theme.types.ts +31 -31
- package/src/theme/themeMerge.ts +61 -40
- package/src/theme/themes.json +177 -227
- package/tailwind.config.d.ts +5 -5
- package/tailwind.config.js +176 -192
- package/library/types/types/VcTagInput.types.d.ts +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { VcPdfViewerAction } from '../../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
fileName: string;
|
|
4
|
+
page: number;
|
|
5
|
+
pageCount: number;
|
|
6
|
+
zoom: number;
|
|
7
|
+
minZoom: number;
|
|
8
|
+
maxZoom: number;
|
|
9
|
+
actions: VcPdfViewerAction[];
|
|
10
|
+
/**
|
|
11
|
+
* The document is loaded: navigation, zoom and print work.
|
|
12
|
+
*/
|
|
13
|
+
loaded: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* There is something to download / open (a document or a download URL).
|
|
16
|
+
*/
|
|
17
|
+
hasSource: boolean;
|
|
18
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
prev: () => void;
|
|
20
|
+
next: () => void;
|
|
21
|
+
"zoom-in": () => void;
|
|
22
|
+
"zoom-out": () => void;
|
|
23
|
+
action: (action: VcPdfViewerAction, event: MouseEvent) => void;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
25
|
+
fileName: string;
|
|
26
|
+
page: number;
|
|
27
|
+
pageCount: number;
|
|
28
|
+
zoom: number;
|
|
29
|
+
minZoom: number;
|
|
30
|
+
maxZoom: number;
|
|
31
|
+
actions: VcPdfViewerAction[];
|
|
32
|
+
/**
|
|
33
|
+
* The document is loaded: navigation, zoom and print work.
|
|
34
|
+
*/
|
|
35
|
+
loaded: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* There is something to download / open (a document or a download URL).
|
|
38
|
+
*/
|
|
39
|
+
hasSource: boolean;
|
|
40
|
+
}>>> & Readonly<{
|
|
41
|
+
onPrev?: (() => any) | undefined;
|
|
42
|
+
onNext?: (() => any) | undefined;
|
|
43
|
+
onAction?: ((action: VcPdfViewerAction, event: MouseEvent) => any) | undefined;
|
|
44
|
+
"onZoom-in"?: (() => any) | undefined;
|
|
45
|
+
"onZoom-out"?: (() => any) | undefined;
|
|
46
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
47
|
+
title?(_: {}): any;
|
|
48
|
+
end?(_: {}): any;
|
|
49
|
+
}>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
53
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
+
} : {
|
|
56
|
+
type: import('vue').PropType<T[K]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
61
|
+
new (): {
|
|
62
|
+
$slots: S;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -13,8 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
|
|
|
13
13
|
open: () => void;
|
|
14
14
|
close: () => void;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
16
|
-
onClose?: (() => any) | undefined;
|
|
17
16
|
onOpen?: (() => any) | undefined;
|
|
17
|
+
onClose?: (() => any) | undefined;
|
|
18
18
|
onDownload?: (() => any) | undefined;
|
|
19
19
|
onPrint?: (() => any) | undefined;
|
|
20
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { VcPdfViewerAction, VcPdfViewerDownload, VcPdfViewerProps } from '../../types';
|
|
2
|
+
declare function goToPage(pageNumber: number): void;
|
|
3
|
+
declare function nextPage(): void;
|
|
4
|
+
declare function prevPage(): void;
|
|
5
|
+
declare function zoomIn(): void;
|
|
6
|
+
declare function zoomOut(): void;
|
|
7
|
+
declare function resetZoom(): void;
|
|
8
|
+
declare function reload(): Promise<void>;
|
|
9
|
+
declare function download(): Promise<void>;
|
|
10
|
+
declare function print(): Promise<void>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VcPdfViewerProps>, {
|
|
12
|
+
document: string;
|
|
13
|
+
fileName: undefined;
|
|
14
|
+
downloadUrl: undefined;
|
|
15
|
+
page: number;
|
|
16
|
+
zoom: number;
|
|
17
|
+
minZoom: number;
|
|
18
|
+
maxZoom: number;
|
|
19
|
+
height: string;
|
|
20
|
+
actions: () => string[];
|
|
21
|
+
hideToolbar: boolean;
|
|
22
|
+
httpHeaders: undefined;
|
|
23
|
+
withCredentials: boolean;
|
|
24
|
+
}>>, {
|
|
25
|
+
pageCount: import("vue").ComputedRef<number>;
|
|
26
|
+
currentPage: import("vue").ComputedRef<number>;
|
|
27
|
+
goToPage: typeof goToPage;
|
|
28
|
+
nextPage: typeof nextPage;
|
|
29
|
+
prevPage: typeof prevPage;
|
|
30
|
+
zoomIn: typeof zoomIn;
|
|
31
|
+
zoomOut: typeof zoomOut;
|
|
32
|
+
resetZoom: typeof resetZoom;
|
|
33
|
+
download: typeof download;
|
|
34
|
+
print: typeof print;
|
|
35
|
+
reload: typeof reload;
|
|
36
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
"update:page": (page: number) => void;
|
|
38
|
+
"update:zoom": (zoom: number) => void;
|
|
39
|
+
loaded: (pageCount: number) => void;
|
|
40
|
+
error: (error: unknown) => void;
|
|
41
|
+
progress: (percent: number) => void;
|
|
42
|
+
"password-requested": (callback: unknown, retry: boolean) => void;
|
|
43
|
+
download: (download: VcPdfViewerDownload, event: MouseEvent) => void;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VcPdfViewerProps>, {
|
|
45
|
+
document: string;
|
|
46
|
+
fileName: undefined;
|
|
47
|
+
downloadUrl: undefined;
|
|
48
|
+
page: number;
|
|
49
|
+
zoom: number;
|
|
50
|
+
minZoom: number;
|
|
51
|
+
maxZoom: number;
|
|
52
|
+
height: string;
|
|
53
|
+
actions: () => string[];
|
|
54
|
+
hideToolbar: boolean;
|
|
55
|
+
httpHeaders: undefined;
|
|
56
|
+
withCredentials: boolean;
|
|
57
|
+
}>>> & Readonly<{
|
|
58
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
59
|
+
onProgress?: ((percent: number) => any) | undefined;
|
|
60
|
+
onDownload?: ((download: VcPdfViewerDownload, event: MouseEvent) => any) | undefined;
|
|
61
|
+
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
62
|
+
"onUpdate:zoom"?: ((zoom: number) => any) | undefined;
|
|
63
|
+
onLoaded?: ((pageCount: number) => any) | undefined;
|
|
64
|
+
"onPassword-requested"?: ((callback: unknown, retry: boolean) => any) | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
height: string | number;
|
|
67
|
+
zoom: number;
|
|
68
|
+
document: string;
|
|
69
|
+
page: number;
|
|
70
|
+
actions: VcPdfViewerAction[];
|
|
71
|
+
hideToolbar: boolean;
|
|
72
|
+
maxZoom: number;
|
|
73
|
+
fileName: string;
|
|
74
|
+
minZoom: number;
|
|
75
|
+
downloadUrl: string;
|
|
76
|
+
httpHeaders: Record<string, string>;
|
|
77
|
+
withCredentials: boolean;
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
79
|
+
title?(_: {
|
|
80
|
+
fileName: string;
|
|
81
|
+
}): any;
|
|
82
|
+
"toolbar-end"?(_: {
|
|
83
|
+
page: number;
|
|
84
|
+
pageCount: number;
|
|
85
|
+
zoom: number;
|
|
86
|
+
}): any;
|
|
87
|
+
error?(_: {
|
|
88
|
+
error: unknown;
|
|
89
|
+
reload: typeof reload;
|
|
90
|
+
}): any;
|
|
91
|
+
}>;
|
|
92
|
+
export default _default;
|
|
93
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
94
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
95
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
96
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
97
|
+
} : {
|
|
98
|
+
type: import('vue').PropType<T[K]>;
|
|
99
|
+
required: true;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
type __VLS_WithDefaults<P, D> = {
|
|
103
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
104
|
+
default: D[K];
|
|
105
|
+
}> : P[K];
|
|
106
|
+
};
|
|
107
|
+
type __VLS_Prettify<T> = {
|
|
108
|
+
[K in keyof T]: T[K];
|
|
109
|
+
} & {};
|
|
110
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
111
|
+
new (): {
|
|
112
|
+
$slots: S;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { PDFDocumentProxy } from 'pdfjs-dist/types/src/display/api';
|
|
2
|
+
export interface PrintPdfOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Print resolution, 150 by default.
|
|
5
|
+
*/
|
|
6
|
+
dpi?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Pages to print, 1-based; all pages when not set.
|
|
9
|
+
*/
|
|
10
|
+
pageNumberOnly?: Array<number>;
|
|
11
|
+
/**
|
|
12
|
+
* Puts the page title back after printing (the title is the default name of a "Save as PDF").
|
|
13
|
+
*/
|
|
14
|
+
restoreTitle?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Renders the pages into a print-only container and opens the print dialog.
|
|
18
|
+
* The promise resolves once the container is set up; the pages render and print after it.
|
|
19
|
+
*/
|
|
20
|
+
export declare function printPdfDocument(pdfDocument: PDFDocumentProxy, fileName: string, pageCount: number, options?: PrintPdfOptions): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* Downloads a Blob under a file name. The blob URL is revoked a while later, once the browser took the file.
|
|
23
|
+
*/
|
|
24
|
+
export declare function saveBlob(blob: Blob, fileName: string): void;
|
|
25
|
+
/**
|
|
26
|
+
* VcPdfDocument's download (kept as it was): fetches the file and clicks a link to its blob URL,
|
|
27
|
+
* so `download` keeps the file name even for a cross-origin URL (when CORS allows the fetch).
|
|
28
|
+
*/
|
|
29
|
+
export declare function downloadFile(url: string, fileName: string): Promise<Blob>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DocumentInitParameters } from 'pdfjs-dist/types/src/display/api';
|
|
2
|
+
/**
|
|
3
|
+
* Parameters of every `pdf.getDocument()` call of the library.
|
|
4
|
+
*
|
|
5
|
+
* Non-embedded Symbol and ZapfDingbats fonts are read from the standard font data that ships beside the worker
|
|
6
|
+
* (see `PdfStandardFontDataFactory`); without it pdf.js draws their glyphs as boxes.
|
|
7
|
+
*
|
|
8
|
+
* pdf.js before 4.2.67 (the library ships 2.16) compiles font glyph paths with `eval`, so a
|
|
9
|
+
* crafted PDF can run arbitrary JavaScript in the page (CVE-2024-4367). The documented
|
|
10
|
+
* mitigation for those versions is `isEvalSupported: false`: pdf.js then draws the glyphs
|
|
11
|
+
* through its slower interpreted path. It is set last, so no caller can turn it back on.
|
|
12
|
+
* The lasting fix is pdf.js 4.2.67 or newer.
|
|
13
|
+
*/
|
|
14
|
+
export declare function pdfDocumentParams(params: DocumentInitParameters): DocumentInitParameters;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `StandardFontDataFactory` of every document: pdf.js creates it on the page (a factory of its own turns the
|
|
3
|
+
* worker's own fetch off) and asks it for a font file by name.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PdfStandardFontDataFactory {
|
|
6
|
+
fetch({ filename }: {
|
|
7
|
+
filename: string;
|
|
8
|
+
}): Promise<Uint8Array>;
|
|
9
|
+
}
|
|
@@ -43,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
43
43
|
readonly: boolean;
|
|
44
44
|
isError: boolean;
|
|
45
45
|
maxWidth: string;
|
|
46
|
-
prefixIcon:
|
|
46
|
+
prefixIcon: () => import("@lucide/vue").LucideIcon;
|
|
47
47
|
prefixIconSize: string;
|
|
48
48
|
prefixIconColor: string;
|
|
49
49
|
color: string;
|
|
@@ -83,7 +83,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
83
83
|
readonly: boolean;
|
|
84
84
|
isError: boolean;
|
|
85
85
|
maxWidth: string;
|
|
86
|
-
prefixIcon:
|
|
86
|
+
prefixIcon: () => import("@lucide/vue").LucideIcon;
|
|
87
87
|
prefixIconSize: string;
|
|
88
88
|
prefixIconColor: string;
|
|
89
89
|
color: string;
|
|
@@ -92,19 +92,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
92
92
|
"onUpdate:details"?: ((pl: PhoneResultType) => any) | undefined;
|
|
93
93
|
"onUpdate:country"?: ((pl: CountryCode | undefined) => any) | undefined;
|
|
94
94
|
}>, {
|
|
95
|
+
id: string;
|
|
95
96
|
minLength: string | number;
|
|
96
97
|
maxLength: string | number;
|
|
97
|
-
id: string;
|
|
98
|
-
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
99
98
|
disabled: boolean;
|
|
99
|
+
isError: boolean;
|
|
100
|
+
prefixIcon: import("../..").TIcon;
|
|
101
|
+
dataTestName: string;
|
|
102
|
+
prefixIconSize: string;
|
|
100
103
|
name: string;
|
|
101
104
|
placeholder: string;
|
|
102
105
|
maxWidth: string | number;
|
|
103
|
-
isError: boolean;
|
|
104
|
-
dataTestName: string;
|
|
105
106
|
prefixIconColor: string;
|
|
106
|
-
|
|
107
|
-
prefixIconSize: string;
|
|
107
|
+
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
108
108
|
readonly: boolean;
|
|
109
109
|
defaultCountry: CountryCode;
|
|
110
110
|
preferredCountries: CountryCode[];
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
28
28
|
[key: string]: any;
|
|
29
29
|
}> | undefined>;
|
|
30
30
|
buttonConfirmIcon: import("vue").ComputedRef<TIcon>;
|
|
31
|
-
buttonConfirmColor: import("vue").ComputedRef<"" | "success" | "
|
|
31
|
+
buttonConfirmColor: import("vue").ComputedRef<"" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive">;
|
|
32
32
|
confirmPopupState: import('../../types').TConfirmPopupObject;
|
|
33
33
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
34
|
close: () => void;
|
|
@@ -67,9 +67,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
67
67
|
open: boolean;
|
|
68
68
|
popoverMaxWidth: string | number;
|
|
69
69
|
placement: PopoverPlacementType;
|
|
70
|
+
offset: number;
|
|
70
71
|
persistent: boolean;
|
|
71
72
|
trigger: PopoverTriggerType;
|
|
72
|
-
offset: number;
|
|
73
73
|
popoverWidth: string | number;
|
|
74
74
|
themeEffect: PopoverThemeType;
|
|
75
75
|
teleported: boolean;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType, OptionValueType, PopoverPlacementType, TPConfirmActionsParams, TPopConfirmOptions } from '../../types';
|
|
2
2
|
declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>>(__VLS_props: {
|
|
3
3
|
header?: string | undefined;
|
|
4
|
-
options: Option[];
|
|
5
4
|
popoverMaxWidth?: string | number | undefined;
|
|
6
5
|
placement?: PopoverPlacementType | undefined;
|
|
7
6
|
readonly onClose?: (() => any) | undefined;
|
|
8
7
|
readonly onConfirm?: ((value: Model[]) => any) | undefined;
|
|
9
8
|
confirmAction?: TPConfirmActionsParams | undefined;
|
|
10
9
|
dataTestName?: string | undefined;
|
|
10
|
+
options: Option[];
|
|
11
11
|
popoverOptions?: TPopConfirmOptions | undefined;
|
|
12
12
|
configOptions: Config;
|
|
13
13
|
headerClasses?: string | undefined;
|
|
@@ -35,13 +35,13 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
35
35
|
}) => void) | undefined, __VLS_setup?: Promise<{
|
|
36
36
|
props: {
|
|
37
37
|
header?: string | undefined;
|
|
38
|
-
options: Option[];
|
|
39
38
|
popoverMaxWidth?: string | number | undefined;
|
|
40
39
|
placement?: PopoverPlacementType | undefined;
|
|
41
40
|
readonly onClose?: (() => any) | undefined;
|
|
42
41
|
readonly onConfirm?: ((value: Model[]) => any) | undefined;
|
|
43
42
|
confirmAction?: TPConfirmActionsParams | undefined;
|
|
44
43
|
dataTestName?: string | undefined;
|
|
44
|
+
options: Option[];
|
|
45
45
|
popoverOptions?: TPopConfirmOptions | undefined;
|
|
46
46
|
configOptions: Config;
|
|
47
47
|
headerClasses?: string | undefined;
|
|
@@ -73,13 +73,13 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
73
73
|
__ctx?: {
|
|
74
74
|
props: {
|
|
75
75
|
header?: string | undefined;
|
|
76
|
-
options: Option[];
|
|
77
76
|
popoverMaxWidth?: string | number | undefined;
|
|
78
77
|
placement?: PopoverPlacementType | undefined;
|
|
79
78
|
readonly onClose?: (() => any) | undefined;
|
|
80
79
|
readonly onConfirm?: ((value: Model[]) => any) | undefined;
|
|
81
80
|
confirmAction?: TPConfirmActionsParams | undefined;
|
|
82
81
|
dataTestName?: string | undefined;
|
|
82
|
+
options: Option[];
|
|
83
83
|
popoverOptions?: TPopConfirmOptions | undefined;
|
|
84
84
|
configOptions: Config;
|
|
85
85
|
headerClasses?: string | undefined;
|
|
@@ -50,10 +50,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
50
50
|
format: ProgressFn;
|
|
51
51
|
status: StatusProgress;
|
|
52
52
|
indeterminate: boolean;
|
|
53
|
+
showText: boolean;
|
|
53
54
|
percentage: number;
|
|
54
55
|
showStatusIcon: boolean;
|
|
55
56
|
textInside: boolean;
|
|
56
|
-
showText: boolean;
|
|
57
57
|
striped: boolean;
|
|
58
58
|
customColorMethod: ProgressFn;
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
@@ -14,7 +14,7 @@ interface ICircularProgressProps {
|
|
|
14
14
|
showContent?: boolean;
|
|
15
15
|
statusColorMap?: StatusProgressConfig;
|
|
16
16
|
}
|
|
17
|
-
declare const
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICircularProgressProps>, {
|
|
18
18
|
percentage: number;
|
|
19
19
|
type: string;
|
|
20
20
|
width: number;
|
|
@@ -46,8 +46,8 @@ declare const _default_1: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
|
46
46
|
showContent: boolean;
|
|
47
47
|
statusColorMap: undefined;
|
|
48
48
|
}>>> & Readonly<{}>, {
|
|
49
|
-
color: string | ProgressFn | ProgressColor[];
|
|
50
49
|
type: TCircularProgressType;
|
|
50
|
+
color: string | ProgressFn | ProgressColor[];
|
|
51
51
|
width: number;
|
|
52
52
|
strokeWidth: number;
|
|
53
53
|
format: ProgressFn;
|
|
@@ -57,13 +57,13 @@ declare const _default_1: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
|
57
57
|
strokeTrapWidth: number;
|
|
58
58
|
colorTrack: string;
|
|
59
59
|
showContent: boolean;
|
|
60
|
-
statusColorMap:
|
|
60
|
+
statusColorMap: Partial<Record<StatusProgress, string>>;
|
|
61
61
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
62
62
|
default?(_: {
|
|
63
63
|
percentage: number;
|
|
64
64
|
}): any;
|
|
65
65
|
}>;
|
|
66
|
-
export default
|
|
66
|
+
export default _default;
|
|
67
67
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
68
68
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
69
69
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { StatusProgress } from '../../types';
|
|
2
|
+
import type { TIcon } from '../../types/icons.types';
|
|
3
|
+
import type { COMPONENT_COLOR_TYPE } from '../../enum/constants';
|
|
2
4
|
export declare const DEFAULT_HEIGHT = 6;
|
|
3
5
|
export declare const DEFAULT_WIDTH = 350;
|
|
4
6
|
export declare const DEFAULT_DURATION = 3;
|
|
5
7
|
export declare const DEFAULT_TYPE = "line";
|
|
6
|
-
export declare const STATUS_ICON_MAP:
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const STATUS_ICON_MAP: Record<string, TIcon>;
|
|
9
|
+
export declare const STATUS_COLORS: Record<Exclude<StatusProgress, ''>, Exclude<COMPONENT_COLOR_TYPE, ''>>;
|
|
10
|
+
export declare const STATUS_FILL = "var(--vc-progress-fill)";
|
|
11
|
+
export declare function statusColor(status: StatusProgress): Exclude<COMPONENT_COLOR_TYPE, ''>;
|
|
9
12
|
declare const _default: {
|
|
10
|
-
STATUS_ICON_MAP:
|
|
11
|
-
|
|
12
|
-
STATUS_COLOR_VARS: StatusProgressConfig;
|
|
13
|
+
STATUS_ICON_MAP: Record<string, TIcon>;
|
|
14
|
+
STATUS_COLORS: Record<"success" | "warning" | "error" | "default" | "primary" | "exception", "success" | "info" | "warning" | "primary" | "secondary" | "destructive">;
|
|
13
15
|
};
|
|
14
16
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
3
|
-
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
4
|
-
label?: string | undefined;
|
|
5
3
|
disabled?: boolean | undefined;
|
|
6
|
-
name?: string | undefined;
|
|
7
|
-
modelValue?: Model | undefined;
|
|
8
|
-
readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
|
|
9
4
|
value?: Model | undefined;
|
|
5
|
+
modelValue?: Model | undefined;
|
|
10
6
|
dataTestName?: string | undefined;
|
|
7
|
+
name?: string | undefined;
|
|
8
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
9
|
+
label?: string | undefined;
|
|
10
|
+
readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
|
|
11
11
|
border?: boolean | undefined;
|
|
12
12
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
13
13
|
attrs: any;
|
|
@@ -17,14 +17,14 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
|
17
17
|
emit: (e: 'update:modelValue', pl: Model) => void;
|
|
18
18
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
19
19
|
props: {
|
|
20
|
-
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
21
|
-
label?: string | undefined;
|
|
22
20
|
disabled?: boolean | undefined;
|
|
23
|
-
name?: string | undefined;
|
|
24
|
-
modelValue?: Model | undefined;
|
|
25
|
-
readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
|
|
26
21
|
value?: Model | undefined;
|
|
22
|
+
modelValue?: Model | undefined;
|
|
27
23
|
dataTestName?: string | undefined;
|
|
24
|
+
name?: string | undefined;
|
|
25
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
26
|
+
label?: string | undefined;
|
|
27
|
+
readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
|
|
28
28
|
border?: boolean | undefined;
|
|
29
29
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
30
30
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -38,14 +38,14 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
|
38
38
|
}> & {
|
|
39
39
|
__ctx?: {
|
|
40
40
|
props: {
|
|
41
|
-
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
42
|
-
label?: string | undefined;
|
|
43
41
|
disabled?: boolean | undefined;
|
|
44
|
-
name?: string | undefined;
|
|
45
|
-
modelValue?: Model | undefined;
|
|
46
|
-
readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
|
|
47
42
|
value?: Model | undefined;
|
|
43
|
+
modelValue?: Model | undefined;
|
|
48
44
|
dataTestName?: string | undefined;
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
47
|
+
label?: string | undefined;
|
|
48
|
+
readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
|
|
49
49
|
border?: boolean | undefined;
|
|
50
50
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
51
51
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType, OptionMappedType, OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>>(__VLS_props: {
|
|
3
|
-
size?: "
|
|
4
|
-
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
5
|
-
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
3
|
+
size?: "small" | "default" | "large" | undefined;
|
|
6
4
|
disabled?: boolean | undefined;
|
|
7
5
|
modelValue?: Model | undefined;
|
|
6
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
7
|
+
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
8
8
|
readonly "onUpdate:modelValue"?: ((payload: Model | undefined) => any) | undefined;
|
|
9
9
|
config?: Config | undefined;
|
|
10
10
|
radios?: Option[] | undefined;
|
|
@@ -24,11 +24,11 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
24
24
|
};
|
|
25
25
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
26
26
|
props: {
|
|
27
|
-
size?: "
|
|
28
|
-
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
29
|
-
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
27
|
+
size?: "small" | "default" | "large" | undefined;
|
|
30
28
|
disabled?: boolean | undefined;
|
|
31
29
|
modelValue?: Model | undefined;
|
|
30
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
31
|
+
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
32
32
|
readonly "onUpdate:modelValue"?: ((payload: Model | undefined) => any) | undefined;
|
|
33
33
|
config?: Config | undefined;
|
|
34
34
|
radios?: Option[] | undefined;
|
|
@@ -52,11 +52,11 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
52
52
|
}> & {
|
|
53
53
|
__ctx?: {
|
|
54
54
|
props: {
|
|
55
|
-
size?: "
|
|
56
|
-
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
57
|
-
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
55
|
+
size?: "small" | "default" | "large" | undefined;
|
|
58
56
|
disabled?: boolean | undefined;
|
|
59
57
|
modelValue?: Model | undefined;
|
|
58
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
59
|
+
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
60
60
|
readonly "onUpdate:modelValue"?: ((payload: Model | undefined) => any) | undefined;
|
|
61
61
|
config?: Config | undefined;
|
|
62
62
|
radios?: Option[] | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType, OptionNonObjectValueType, OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>>(__VLS_props: {
|
|
3
|
-
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
4
|
-
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
5
3
|
disabled?: boolean | undefined;
|
|
6
4
|
modelValue?: Model | undefined;
|
|
5
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
6
|
+
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
7
7
|
readonly "onUpdate:modelValue"?: ((payload: Model | undefined) => any) | undefined;
|
|
8
|
-
inline?: boolean | undefined;
|
|
9
8
|
config?: Config | undefined;
|
|
10
|
-
radios?: Option[] | undefined;
|
|
11
9
|
bordered?: boolean | undefined;
|
|
10
|
+
inline?: boolean | undefined;
|
|
11
|
+
radios?: Option[] | undefined;
|
|
12
12
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {
|
|
@@ -25,15 +25,15 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
25
25
|
radiosMapped: import('../../types').OptionMappedType<Option, Config>[];
|
|
26
26
|
}) => void) | undefined, __VLS_setup?: Promise<{
|
|
27
27
|
props: {
|
|
28
|
-
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
29
|
-
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
30
28
|
disabled?: boolean | undefined;
|
|
31
29
|
modelValue?: Model | undefined;
|
|
30
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
31
|
+
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
32
32
|
readonly "onUpdate:modelValue"?: ((payload: Model | undefined) => any) | undefined;
|
|
33
|
-
inline?: boolean | undefined;
|
|
34
33
|
config?: Config | undefined;
|
|
35
|
-
radios?: Option[] | undefined;
|
|
36
34
|
bordered?: boolean | undefined;
|
|
35
|
+
inline?: boolean | undefined;
|
|
36
|
+
radios?: Option[] | undefined;
|
|
37
37
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
38
38
|
expose(exposed: {
|
|
39
39
|
radioModel: OptionNonObjectValueType;
|
|
@@ -54,15 +54,15 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
54
54
|
}> & {
|
|
55
55
|
__ctx?: {
|
|
56
56
|
props: {
|
|
57
|
-
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
58
|
-
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
59
57
|
disabled?: boolean | undefined;
|
|
60
58
|
modelValue?: Model | undefined;
|
|
59
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
60
|
+
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
61
61
|
readonly "onUpdate:modelValue"?: ((payload: Model | undefined) => any) | undefined;
|
|
62
|
-
inline?: boolean | undefined;
|
|
63
62
|
config?: Config | undefined;
|
|
64
|
-
radios?: Option[] | undefined;
|
|
65
63
|
bordered?: boolean | undefined;
|
|
64
|
+
inline?: boolean | undefined;
|
|
65
|
+
radios?: Option[] | undefined;
|
|
66
66
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
67
67
|
expose(exposed: {
|
|
68
68
|
radioModel: OptionNonObjectValueType;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType, OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>>(__VLS_props: {
|
|
3
|
+
modelValue: Model;
|
|
4
|
+
dataTestName?: string | undefined;
|
|
3
5
|
lazy?: boolean | undefined;
|
|
4
6
|
readonly onChange?: ((option: Option) => any) | undefined;
|
|
5
7
|
options?: Option[] | undefined;
|
|
6
|
-
modelValue: Model;
|
|
7
8
|
readonly "onUpdate:modelValue"?: ((model: Model) => any) | undefined;
|
|
8
|
-
dataTestName?: string | undefined;
|
|
9
9
|
config?: Config | undefined;
|
|
10
10
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
11
11
|
attrs: any;
|
|
@@ -27,12 +27,12 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
27
27
|
};
|
|
28
28
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
29
29
|
props: {
|
|
30
|
+
modelValue: Model;
|
|
31
|
+
dataTestName?: string | undefined;
|
|
30
32
|
lazy?: boolean | undefined;
|
|
31
33
|
readonly onChange?: ((option: Option) => any) | undefined;
|
|
32
34
|
options?: Option[] | undefined;
|
|
33
|
-
modelValue: Model;
|
|
34
35
|
readonly "onUpdate:modelValue"?: ((model: Model) => any) | undefined;
|
|
35
|
-
dataTestName?: string | undefined;
|
|
36
36
|
config?: Config | undefined;
|
|
37
37
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
38
38
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -58,12 +58,12 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
58
58
|
}> & {
|
|
59
59
|
__ctx?: {
|
|
60
60
|
props: {
|
|
61
|
+
modelValue: Model;
|
|
62
|
+
dataTestName?: string | undefined;
|
|
61
63
|
lazy?: boolean | undefined;
|
|
62
64
|
readonly onChange?: ((option: Option) => any) | undefined;
|
|
63
65
|
options?: Option[] | undefined;
|
|
64
|
-
modelValue: Model;
|
|
65
66
|
readonly "onUpdate:modelValue"?: ((model: Model) => any) | undefined;
|
|
66
|
-
dataTestName?: string | undefined;
|
|
67
67
|
config?: Config | undefined;
|
|
68
68
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
69
69
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|