@voicenter-team/voicenter-ui-plus 4.0.0-beta.4 → 4.0.0-beta.6
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 +116 -57
- package/library/assets/assets/sass/main.css +1 -1
- package/library/assets/components/VcAgentRun/UiComponents/VcAgentRunRow.css +1 -1
- package/library/assets/components/VcAgentRun/VcAgentRunCard.css +1 -1
- package/library/assets/components/VcAgentRun/VcAgentRunGroup.css +1 -1
- package/library/assets/components/VcApprovalCard/VcApprovalCard.css +1 -1
- package/library/assets/components/VcAskUserCard/VcAskUserCard.css +1 -1
- package/library/assets/components/VcAutocomplete/VcAutocomplete.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/VcChatComposer/VcChatComposer.css +1 -1
- package/library/assets/components/VcCheckbox/VcCheckbox.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/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/VcInputLabel.css +1 -1
- package/library/assets/components/VcHyperLink/VcHyperLink.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/VcJsonViewer/UiComponents/VcJsonViewerAuto.css +1 -1
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerCards.css +1 -1
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerKey.css +1 -1
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerState.css +1 -1
- package/library/assets/components/VcJsonViewer/UiComponents/VcJsonViewerValue.css +1 -1
- package/library/assets/components/VcJsonViewer/VcJsonViewer.css +1 -1
- package/library/assets/components/VcLightbox/VcLightbox.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/reactions/VcMessageReactionBar.css +1 -1
- package/library/assets/components/VcOtpInput/VcOtpInput.css +1 -1
- package/library/assets/components/VcPdfViewer/VcPdfDocumentViewerFooter.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/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/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/VcTable/VcTable.css +1 -1
- package/library/assets/components/VcTabs/VcTabNav.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/VcToolCall/VcToolCall.css +1 -1
- package/library/assets/components/VcTour/VcTour.css +1 -1
- package/library/assets/components/VcTransfer/VcTransfer.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/entity/components/Tabs/VcEntityEditableTabs.css +1 -1
- package/library/assets/node_modules/element-plus/theme-chalk/src/tree.css +1 -1
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
- package/library/components/VcExcelUploader/VcExcelFileProcessLoader.vue.mjs +1 -1
- package/library/components/VcExcelUploader/VcExcelFileUploadBlock.vue.mjs +1 -1
- package/library/components/VcExcelUploader/VcFileImportErrorsCard.vue.mjs +2 -2
- package/library/components/VcExcelUploader/VcFileImportParseResultBlock.vue.mjs +4 -4
- package/library/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.mjs +0 -1
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.mjs +2 -2
- package/library/components/VcHtmlEditor/VcHtmlEditor.vue.mjs +1 -1
- package/library/components/VcIconPicker/VcIconPicker.vue.mjs +2 -2
- package/library/components/VcImageUploader/VcImageUploader.vue.mjs +4 -4
- package/library/components/VcJsonViewer/UiComponents/VcJsonViewerSections.vue.mjs +9 -4
- package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue2.mjs +1 -1
- package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
- package/library/components/VcPdfViewer/VcPdfDocumentCard.vue.mjs +3 -3
- package/library/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.mjs +2 -2
- package/library/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.mjs +4 -4
- package/library/components/VcSegmented/VcSegmented.vue.mjs +88 -41
- package/library/components/VcSelect/VcInfiniteScrollSelect.vue.mjs +1 -1
- package/library/components/VcSipFlow/VcSipFlow.vue.mjs +1 -3
- package/library/components/VcSoundplayer/VcPlayerPlayStopButton.vue.mjs +4 -4
- package/library/components/VcSoundplayer/VcPlayerPlaybackRate.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.mjs +2 -2
- package/library/components/VcSoundplayer/VcPlayerSkipButtons.vue.mjs +2 -2
- package/library/components/VcSoundplayer/VcSoundPlayer.vue.mjs +2 -2
- package/library/components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundVolume.vue.mjs +2 -2
- package/library/components/VcSoundplayer/player.options.mjs +2 -2
- package/library/components/VcTable/VcTable.vue.mjs +5 -8
- package/library/components/VcTabs/VcTabNav.vue.mjs +45 -32
- package/library/components/VcTabs/VcTabPane.vue.mjs +12 -3
- package/library/components/VcTour/VcTour.vue.mjs +104 -16
- package/library/components/VcTree/VcTree.vue.mjs +1 -1
- package/library/components/VcTree/VcTreeSelect.vue.mjs +1 -1
- package/library/components/VcWizard/VcSummaryProgress.vue.mjs +1 -1
- package/library/components/VcWizard/VcSummaryStep.vue.mjs +3 -3
- package/library/components/VcWizard/VcWizard.vue.mjs +2 -16
- package/library/entity/components/Form/VcEntityVerticalEditForm.vue.mjs +6 -10
- package/library/entity/components/Table/VcEntityListTable.vue.mjs +1 -2
- package/library/entity/components/Tabs/VcEntityEditableTabs.vue.mjs +51 -7
- package/library/font/index.mjs +1 -1
- package/library/index.mjs +49 -52
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/plugin-components.gen.mjs +133 -136
- package/library/plugin.mjs +49 -52
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +67 -71
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs +1 -1
- package/library/theme/index.mjs.br +0 -0
- package/library/theme/index.mjs.gz +0 -0
- package/library/theme/themeMerge.mjs +2 -0
- package/library/theme/themes.json.mjs +33 -144
- package/library/types/components/VcApprovalCard/VcApprovalCard.vue.d.ts +1 -1
- package/library/types/components/VcButton/VcToggleButton.vue.d.ts +1 -1
- package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +3 -3
- package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +3 -3
- package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +1 -1
- package/library/types/components/VcMessage/VcMessage.vue.d.ts +1 -1
- package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +25 -16
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +3 -3
- package/library/types/components/VcTable/VcTable.vue.d.ts +22 -22
- package/library/types/components/VcTabs/VcTabPane.vue.d.ts +8 -0
- package/library/types/components/VcTabs/VcTabs.vue.d.ts +2 -0
- package/library/types/components/VcTag/VcTag.vue.d.ts +1 -1
- package/library/types/components/VcToolCall/VcToolCall.vue.d.ts +1 -1
- package/library/types/components/exports.d.ts +3 -5
- package/library/types/components.gen.d.ts +1 -2
- package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +14 -8
- package/library/types/theme/themes.json.d.ts +31 -136
- package/library/types/types/ExcelParser.types.d.ts +0 -7
- package/library/types/types/Tabs.d.ts +16 -0
- package/library/types/types/VcDatetimeRangePicker.types.d.ts +0 -19
- package/library/types/types/VcTable.types.d.ts +5 -0
- package/library/types/types/VcTabs.types.d.ts +1 -0
- package/library/types/types/VcWizard.types.d.ts +0 -4
- package/library/utils/jsonSchema/jsonSchemaHelpers.mjs +1 -1
- package/library/utils/lucideIcon.mjs +1 -1
- package/package.json +2 -2
- package/src/theme/index.ts +101 -101
- package/src/theme/tailwindScheme.js +10 -2
- package/src/theme/theme.types.ts +31 -31
- package/src/theme/themeMerge.ts +2 -0
- package/src/theme/themes.json +31 -136
- package/tailwind.config.d.ts +5 -5
- package/tailwind.config.js +2 -0
- package/library/assets/components/VcDatetimeRangePicker/VcDatetimeRangePicker.css +0 -1
- package/library/assets/components/VcViewSwitcher/VcViewSwitcher.css +0 -1
- package/library/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue.mjs +0 -24
- package/library/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue3.mjs +0 -5
- package/library/components/VcViewSwitcher/VcViewSwitcher.vue.mjs +0 -86
- package/library/components/VcViewSwitcher/VcViewSwitcher.vue3.mjs +0 -5
- package/library/types/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue.d.ts +0 -2
- package/library/types/components/VcViewSwitcher/VcViewSwitcher.vue.d.ts +0 -74
|
@@ -11,6 +11,11 @@ interface ITabPanePorps {
|
|
|
11
11
|
navClass?: string;
|
|
12
12
|
closable?: boolean;
|
|
13
13
|
disabled?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @description Why the tab is disabled: shown in a popover while the
|
|
16
|
+
* pointer is over the tab in the nav, and only while `disabled` is true.
|
|
17
|
+
*/
|
|
18
|
+
disabledHint?: string;
|
|
14
19
|
lazy?: boolean;
|
|
15
20
|
tabData?: unknown;
|
|
16
21
|
index?: number;
|
|
@@ -21,6 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
21
26
|
label: string;
|
|
22
27
|
closable: boolean;
|
|
23
28
|
disabled: boolean;
|
|
29
|
+
disabledHint: undefined;
|
|
24
30
|
lazy: boolean;
|
|
25
31
|
tabData: () => {};
|
|
26
32
|
index: number;
|
|
@@ -35,6 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
35
41
|
label: string;
|
|
36
42
|
closable: boolean;
|
|
37
43
|
disabled: boolean;
|
|
44
|
+
disabledHint: undefined;
|
|
38
45
|
lazy: boolean;
|
|
39
46
|
tabData: () => {};
|
|
40
47
|
index: number;
|
|
@@ -44,6 +51,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
44
51
|
icon: TIcon;
|
|
45
52
|
lazy: boolean;
|
|
46
53
|
label: string;
|
|
54
|
+
disabledHint: string;
|
|
47
55
|
closable: boolean;
|
|
48
56
|
navClass: string;
|
|
49
57
|
index: number;
|
|
@@ -159,6 +159,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
159
159
|
[x: string]: unknown;
|
|
160
160
|
name?: string | undefined;
|
|
161
161
|
disabled?: boolean | undefined;
|
|
162
|
+
disabledHint?: string | undefined;
|
|
162
163
|
icon?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
163
164
|
new (...args: any[]): any;
|
|
164
165
|
__isFragment?: undefined;
|
|
@@ -419,6 +420,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
419
420
|
[x: string]: unknown;
|
|
420
421
|
name?: string | undefined;
|
|
421
422
|
disabled?: boolean | undefined;
|
|
423
|
+
disabledHint?: string | undefined;
|
|
422
424
|
icon?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
423
425
|
new (...args: any[]): any;
|
|
424
426
|
__isFragment?: undefined;
|
|
@@ -60,9 +60,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
60
60
|
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
61
61
|
label: string;
|
|
62
62
|
square: boolean;
|
|
63
|
+
compact: boolean;
|
|
63
64
|
closable: boolean;
|
|
64
65
|
labelClass: string;
|
|
65
|
-
compact: boolean;
|
|
66
66
|
maxContent: string | number;
|
|
67
67
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
68
68
|
label?(_: {}): any;
|
|
@@ -36,11 +36,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
36
36
|
open: boolean;
|
|
37
37
|
icon: TIcon;
|
|
38
38
|
title: string;
|
|
39
|
+
compact: boolean;
|
|
39
40
|
status: VcToolCallStatus;
|
|
40
41
|
errorText: string;
|
|
41
42
|
startedAt: import('../../types').VcAiTimestamp;
|
|
42
43
|
durationMs: number;
|
|
43
|
-
compact: boolean;
|
|
44
44
|
dataView: import('../../types').VcToolCallDataView;
|
|
45
45
|
showInputPreview: boolean;
|
|
46
46
|
maxBodyHeight: string | number;
|
|
@@ -22,10 +22,10 @@ import VcSlider from './VcSlider/VcSlider.vue';
|
|
|
22
22
|
import VcColorPicker from './VcColorPicker/VcColorPicker.vue';
|
|
23
23
|
import VcDatePicker from './VcDatePicker/VcDatePicker.vue';
|
|
24
24
|
import VcDatePickerPanel from './VcDatePickerPanel/VcDatePickerPanel.vue';
|
|
25
|
-
import VcDatetimeRangePicker from './VcDatetimeRangePicker/VcDatetimeRangePicker.vue';
|
|
26
25
|
import VcExtendedDatetimeRangePicker from './VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue';
|
|
27
26
|
import VcTimeInput from './VcTimeInput/VcTimeInput.vue';
|
|
28
27
|
import VcPhoneInput from './VcPhoneInput/VcPhoneInput.vue';
|
|
28
|
+
import VcFlagLabel from './VcPhoneInput/VcFlagLabel.vue';
|
|
29
29
|
import VcTagInput from './VcTagInput/VcTagInput.vue';
|
|
30
30
|
import VcOtpInput from './VcOtpInput/VcOtpInput.vue';
|
|
31
31
|
import VcFileUploader from './VcFileUploader/VcFileUploader.vue';
|
|
@@ -60,7 +60,6 @@ import VcAvatar from './VcAvatar/VcAvatar.vue';
|
|
|
60
60
|
import VcBadgeTag from './VcBadgeTag/VcBadgeTag.vue';
|
|
61
61
|
import VcDelimitedList from './VcDelimitedList/VcDelimitedList.vue';
|
|
62
62
|
import VcSparkline from './VcSparkline/VcSparkline.vue';
|
|
63
|
-
import VcViewSwitcher from './VcViewSwitcher/VcViewSwitcher.vue';
|
|
64
63
|
import VcSegmented from './VcSegmented/VcSegmented.vue';
|
|
65
64
|
import VcLoading from './VcLoading/VcLoading.vue';
|
|
66
65
|
import VcProgress from './VcProgress/VcProgress.vue';
|
|
@@ -124,7 +123,7 @@ import VcBaseVerticalForm from '../entity/components/Form/VcBaseVerticalForm.vue
|
|
|
124
123
|
import VcEntityVerticalCreateForm from '../entity/components/Form/VcEntityVerticalCreateForm.vue';
|
|
125
124
|
import VcEntityVerticalEditForm from '../entity/components/Form/VcEntityVerticalEditForm.vue';
|
|
126
125
|
import VcEntityEditPageForm from '../entity/components/Form/VcEntityEditPageForm.vue';
|
|
127
|
-
export { VcButton, VcButtonIcon, VcToggleButton, VcInput, VcInputNumber, VcInputError, VcInputLabel, VcSelect, VcSelectGrouped, VcSelectOption, VcInfiniteScrollSelect, VcAutocomplete, VcCheckbox, VcCheckboxButton, VcCheckboxButtonGroup, VcCheckboxGroup, VcRadio, VcRadioGroup, VcRadioButtonsGroup, VcSwitch, VcSlider, VcColorPicker, VcDatePicker, VcDatePickerPanel,
|
|
126
|
+
export { VcButton, VcButtonIcon, VcToggleButton, VcInput, VcInputNumber, VcInputError, VcInputLabel, VcSelect, VcSelectGrouped, VcSelectOption, VcInfiniteScrollSelect, VcAutocomplete, VcCheckbox, VcCheckboxButton, VcCheckboxButtonGroup, VcCheckboxGroup, VcRadio, VcRadioGroup, VcRadioButtonsGroup, VcSwitch, VcSlider, VcColorPicker, VcDatePicker, VcDatePickerPanel, VcExtendedDatetimeRangePicker, VcTimeInput, VcPhoneInput, VcFlagLabel, VcTagInput, VcOtpInput, VcFileUploader, VcFileUploaderSimple, VcFileUploaderArea, VcFileItem, VcCard, VcCodeBlock, VcModal, VcConfirmModal, VcPopover, VcConfirmPopover, VcSelectPopover, VcTabs, VcTabNav, VcTabPane, VcVerticalTabs, VcRadioTabs, VcRadioTabsNav, VcCollapse, VcCollapseItem, VcWizard, VcDropdown, VcDropdownItem, VcTable, VcPagination, VcTree, VcTreeSelect, VcTransfer, VcTag, VcAvatar, VcBadgeTag, VcDelimitedList, VcSparkline, VcSegmented, VcLoading, VcProgress, VcProgressCircular, VcSkeletonLoader, VcNotification, VcPluginOverlays, VcForm, VcFormItem, VcSplitButton, VcHyperLink, VcIcon, VcIconPicker, VcMeterGroup, VcMeterGroupLabel, VcMdEditor, VcSystemUserPrompt, VcSoundPlayer, VcSoundPlayerCompact, VcJsonSchema, VcJsonViewer, VcMessage, VcMessagesWrapper, VcLightbox, VcToolCall, VcApprovalCard, VcAskUserCard, VcPlayerPlaybackRate, VcPlayerPlaybackRatePopup, VcPlayerPlayStopButton, VcPlayerSkipButtons, VcSoundCurrentTime, VcSoundDuration, VcSoundPlayerError, VcSoundPlayerMarker, VcSoundPlayerMarkers, VcSoundPlayerProgress, VcSoundPlayerWrapper, VcSoundVolume, VcHtmlEditor, VcPdfDocument, VcExcelFileUploader, VcImageUploader, VcTour, VcSipFlow, VcEmojiPicker, VcChatComposer, VcAiReasoning, VcAgentRunCard, VcAgentRunGroup, VcPdfViewer, VcEntityAddButton, VcEntityCancelButton, VcEntityDeleteIconButton, VcEntityEditIconButton, VcEntityRestoreButton, VcEntityStatusButton, VcEntityEditableTabs, VcEntityListTable, VcBaseVerticalForm, VcEntityVerticalCreateForm, VcEntityVerticalEditForm, VcEntityEditPageForm, };
|
|
128
127
|
declare module '@vue/runtime-core' {
|
|
129
128
|
interface GlobalComponents {
|
|
130
129
|
VcButton: typeof VcButton;
|
|
@@ -151,10 +150,10 @@ declare module '@vue/runtime-core' {
|
|
|
151
150
|
VcColorPicker: typeof VcColorPicker;
|
|
152
151
|
VcDatePicker: typeof VcDatePicker;
|
|
153
152
|
VcDatePickerPanel: typeof VcDatePickerPanel;
|
|
154
|
-
VcDatetimeRangePicker: typeof VcDatetimeRangePicker;
|
|
155
153
|
VcExtendedDatetimeRangePicker: typeof VcExtendedDatetimeRangePicker;
|
|
156
154
|
VcTimeInput: typeof VcTimeInput;
|
|
157
155
|
VcPhoneInput: typeof VcPhoneInput;
|
|
156
|
+
VcFlagLabel: typeof VcFlagLabel;
|
|
158
157
|
VcTagInput: typeof VcTagInput;
|
|
159
158
|
VcOtpInput: typeof VcOtpInput;
|
|
160
159
|
VcFileUploader: typeof VcFileUploader;
|
|
@@ -189,7 +188,6 @@ declare module '@vue/runtime-core' {
|
|
|
189
188
|
VcBadgeTag: typeof VcBadgeTag;
|
|
190
189
|
VcDelimitedList: typeof VcDelimitedList;
|
|
191
190
|
VcSparkline: typeof VcSparkline;
|
|
192
|
-
VcViewSwitcher: typeof VcViewSwitcher;
|
|
193
191
|
VcSegmented: typeof VcSegmented;
|
|
194
192
|
VcLoading: typeof VcLoading;
|
|
195
193
|
VcProgress: typeof VcProgress;
|
|
@@ -22,10 +22,10 @@ export { default as VcSlider } from './components/VcSlider/VcSlider.vue';
|
|
|
22
22
|
export { default as VcColorPicker } from './components/VcColorPicker/VcColorPicker.vue';
|
|
23
23
|
export { default as VcDatePicker } from './components/VcDatePicker/VcDatePicker.vue';
|
|
24
24
|
export { default as VcDatePickerPanel } from './components/VcDatePickerPanel/VcDatePickerPanel.vue';
|
|
25
|
-
export { default as VcDatetimeRangePicker } from './components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue';
|
|
26
25
|
export { default as VcExtendedDatetimeRangePicker } from './components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue';
|
|
27
26
|
export { default as VcTimeInput } from './components/VcTimeInput/VcTimeInput.vue';
|
|
28
27
|
export { default as VcPhoneInput } from './components/VcPhoneInput/VcPhoneInput.vue';
|
|
28
|
+
export { default as VcFlagLabel } from './components/VcPhoneInput/VcFlagLabel.vue';
|
|
29
29
|
export { default as VcTagInput } from './components/VcTagInput/VcTagInput.vue';
|
|
30
30
|
export { default as VcOtpInput } from './components/VcOtpInput/VcOtpInput.vue';
|
|
31
31
|
export { default as VcFileUploader } from './components/VcFileUploader/VcFileUploader.vue';
|
|
@@ -60,7 +60,6 @@ export { default as VcAvatar } from './components/VcAvatar/VcAvatar.vue';
|
|
|
60
60
|
export { default as VcBadgeTag } from './components/VcBadgeTag/VcBadgeTag.vue';
|
|
61
61
|
export { default as VcDelimitedList } from './components/VcDelimitedList/VcDelimitedList.vue';
|
|
62
62
|
export { default as VcSparkline } from './components/VcSparkline/VcSparkline.vue';
|
|
63
|
-
export { default as VcViewSwitcher } from './components/VcViewSwitcher/VcViewSwitcher.vue';
|
|
64
63
|
export { default as VcSegmented } from './components/VcSegmented/VcSegmented.vue';
|
|
65
64
|
export { default as VcLoading } from './components/VcLoading/VcLoading.vue';
|
|
66
65
|
export { default as VcProgress } from './components/VcProgress/VcProgress.vue';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ExtractServiceImplementsEntity, MethodType, VcEntityEditableTabSlotData } from '../../../types';
|
|
1
|
+
import { ExtractServiceImplementsEntity, MethodType, VcEntityEditableTabSlotData, VcEntityFixedTabSlots, VcEntityFixedTabType } from '../../../types';
|
|
2
2
|
import type { TIcon } from '../../../types/icons.types';
|
|
3
3
|
import { BaseEntityServiceImplements } from '../..';
|
|
4
|
-
declare const _default: <Entity extends BaseEntityServiceImplements, M extends MethodType, EntityData extends ExtractServiceImplementsEntity<Entity, M
|
|
4
|
+
declare const _default: <Entity extends BaseEntityServiceImplements, M extends MethodType, EntityData extends ExtractServiceImplementsEntity<Entity, M>, FixedTabName extends string = never>(__VLS_props: {
|
|
5
5
|
modelValue?: string | undefined;
|
|
6
6
|
entity: Entity;
|
|
7
7
|
readonly "onUpdate:modelValue"?: ((tab: string) => any) | undefined;
|
|
@@ -19,17 +19,19 @@ declare const _default: <Entity extends BaseEntityServiceImplements, M extends M
|
|
|
19
19
|
tabListIcon?: TIcon | undefined;
|
|
20
20
|
tabEditIcon?: TIcon | undefined;
|
|
21
21
|
tabCreateIcon?: TIcon | undefined;
|
|
22
|
+
createTabDisabledHint?: string | undefined;
|
|
23
|
+
fixedTabs?: VcEntityFixedTabType<FixedTabName>[] | undefined;
|
|
22
24
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
23
25
|
attrs: any;
|
|
24
26
|
slots: Readonly<{
|
|
25
27
|
'tab-list'?: (() => void) | undefined;
|
|
26
28
|
'tab-create'?: (() => void) | undefined;
|
|
27
29
|
'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
|
|
28
|
-
}
|
|
30
|
+
} & VcEntityFixedTabSlots<FixedTabName>> & {
|
|
29
31
|
'tab-list'?: (() => void) | undefined;
|
|
30
32
|
'tab-create'?: (() => void) | undefined;
|
|
31
33
|
'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
|
|
32
|
-
}
|
|
34
|
+
} & VcEntityFixedTabSlots<FixedTabName>;
|
|
33
35
|
emit: {
|
|
34
36
|
(e: 'update:modelValue', tab: string): void;
|
|
35
37
|
(e: 'close-tab', tabName: string): void;
|
|
@@ -70,6 +72,8 @@ declare const _default: <Entity extends BaseEntityServiceImplements, M extends M
|
|
|
70
72
|
tabListIcon?: TIcon | undefined;
|
|
71
73
|
tabEditIcon?: TIcon | undefined;
|
|
72
74
|
tabCreateIcon?: TIcon | undefined;
|
|
75
|
+
createTabDisabledHint?: string | undefined;
|
|
76
|
+
fixedTabs?: VcEntityFixedTabType<FixedTabName>[] | undefined;
|
|
73
77
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
74
78
|
expose(exposed: {
|
|
75
79
|
createTabName: (entity: EntityData) => string | undefined;
|
|
@@ -89,11 +93,11 @@ declare const _default: <Entity extends BaseEntityServiceImplements, M extends M
|
|
|
89
93
|
'tab-list'?: (() => void) | undefined;
|
|
90
94
|
'tab-create'?: (() => void) | undefined;
|
|
91
95
|
'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
|
|
92
|
-
}
|
|
96
|
+
} & VcEntityFixedTabSlots<FixedTabName>> & {
|
|
93
97
|
'tab-list'?: (() => void) | undefined;
|
|
94
98
|
'tab-create'?: (() => void) | undefined;
|
|
95
99
|
'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
|
|
96
|
-
}
|
|
100
|
+
} & VcEntityFixedTabSlots<FixedTabName>;
|
|
97
101
|
emit: {
|
|
98
102
|
(e: 'update:modelValue', tab: string): void;
|
|
99
103
|
(e: 'close-tab', tabName: string): void;
|
|
@@ -125,6 +129,8 @@ declare const _default: <Entity extends BaseEntityServiceImplements, M extends M
|
|
|
125
129
|
tabListIcon?: TIcon | undefined;
|
|
126
130
|
tabEditIcon?: TIcon | undefined;
|
|
127
131
|
tabCreateIcon?: TIcon | undefined;
|
|
132
|
+
createTabDisabledHint?: string | undefined;
|
|
133
|
+
fixedTabs?: VcEntityFixedTabType<FixedTabName>[] | undefined;
|
|
128
134
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
129
135
|
expose(exposed: {
|
|
130
136
|
createTabName: (entity: EntityData) => string | undefined;
|
|
@@ -144,11 +150,11 @@ declare const _default: <Entity extends BaseEntityServiceImplements, M extends M
|
|
|
144
150
|
'tab-list'?: (() => void) | undefined;
|
|
145
151
|
'tab-create'?: (() => void) | undefined;
|
|
146
152
|
'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
|
|
147
|
-
}
|
|
153
|
+
} & VcEntityFixedTabSlots<FixedTabName>> & {
|
|
148
154
|
'tab-list'?: (() => void) | undefined;
|
|
149
155
|
'tab-create'?: (() => void) | undefined;
|
|
150
156
|
'tab-edit'?: ((props: VcEntityEditableTabSlotData<Exclude<EntityData, undefined>>) => void) | undefined;
|
|
151
|
-
}
|
|
157
|
+
} & VcEntityFixedTabSlots<FixedTabName>;
|
|
152
158
|
emit: {
|
|
153
159
|
(e: 'update:modelValue', tab: string): void;
|
|
154
160
|
(e: 'close-tab', tabName: string): void;
|
|
@@ -3,6 +3,7 @@ declare const _default: {
|
|
|
3
3
|
"vc-content-primary": "#161922",
|
|
4
4
|
"vc-content-secondary": "#525D70",
|
|
5
5
|
"vc-content-tertiary": "#567391",
|
|
6
|
+
"vc-content-brand": "#C20027",
|
|
6
7
|
"vc-content-disabled": "#A6B0C0",
|
|
7
8
|
"vc-bg-page": "#F8F9FB",
|
|
8
9
|
"vc-bg-surface": "#FFFFFF",
|
|
@@ -15,14 +16,13 @@ declare const _default: {
|
|
|
15
16
|
"vc-onfill": "#FFFFFF",
|
|
16
17
|
"vc-onfill-primary": "#FFFFFF",
|
|
17
18
|
"vc-action-info": "#2759DA",
|
|
18
|
-
"vc-action-success": "#
|
|
19
|
-
"vc-content-success": "#
|
|
19
|
+
"vc-action-success": "#007D47",
|
|
20
|
+
"vc-content-success": "#007D47",
|
|
20
21
|
"vc-content-warning": "#BF5001",
|
|
21
|
-
"vc-content-warning-icon": "#D67714",
|
|
22
22
|
"vc-action-warning": "#FEC635",
|
|
23
23
|
"vc-onfill-warning": "#161922",
|
|
24
24
|
"vc-action-danger": "#750830",
|
|
25
|
-
"vc-action-secondary": "#
|
|
25
|
+
"vc-action-secondary": "#4A607A",
|
|
26
26
|
"vc-border": "#E2E6EE",
|
|
27
27
|
"vc-border-strong": "#CDD4E0",
|
|
28
28
|
"vc-input": "#CDD4E0",
|
|
@@ -34,145 +34,40 @@ declare const _default: {
|
|
|
34
34
|
"vc-content-danger": "#750830",
|
|
35
35
|
"vc-content-info": "#2759DA"
|
|
36
36
|
},
|
|
37
|
-
"
|
|
38
|
-
"vc-content-primary": "#
|
|
39
|
-
"vc-content-secondary": "#
|
|
40
|
-
"vc-content-tertiary": "#
|
|
41
|
-
"vc-content-
|
|
42
|
-
"vc-
|
|
43
|
-
"vc-bg-
|
|
44
|
-
"vc-bg-
|
|
45
|
-
"vc-bg-inset
|
|
46
|
-
"vc-bg-
|
|
47
|
-
"vc-bg-
|
|
48
|
-
"vc-bg-
|
|
49
|
-
"vc-
|
|
50
|
-
"vc-
|
|
51
|
-
"vc-onfill-primary": "#FFFFFF",
|
|
52
|
-
"vc-action-info": "#2759DA",
|
|
53
|
-
"vc-action-success": "#14854A",
|
|
54
|
-
"vc-content-success": "#10713E",
|
|
55
|
-
"vc-content-warning": "#BF5001",
|
|
56
|
-
"vc-content-warning-icon": "#D67714",
|
|
57
|
-
"vc-action-warning": "#FEC635",
|
|
58
|
-
"vc-onfill-warning": "#161922",
|
|
59
|
-
"vc-action-danger": "#750830",
|
|
60
|
-
"vc-action-secondary": "#567391",
|
|
61
|
-
"vc-border": "#E2E6EE",
|
|
62
|
-
"vc-border-strong": "#CDD4E0",
|
|
63
|
-
"vc-input": "#CDD4E0",
|
|
64
|
-
"vc-ring": "#4087FF",
|
|
65
|
-
"vc-mix-anchor": "#000000",
|
|
66
|
-
"vc-mix-anchor-primary": "#000000",
|
|
67
|
-
"vc-mix-anchor-warning": "#000000",
|
|
68
|
-
"vc-shadow-color": "#161922",
|
|
69
|
-
"vc-content-danger": "#750830",
|
|
70
|
-
"vc-content-info": "#2759DA"
|
|
71
|
-
},
|
|
72
|
-
"red": {
|
|
73
|
-
"vc-content-primary": "#263148",
|
|
74
|
-
"vc-content-secondary": "#567391",
|
|
75
|
-
"vc-content-tertiary": "#9EA6B2",
|
|
76
|
-
"vc-content-disabled": "#888F9D",
|
|
77
|
-
"vc-bg-page": "#F7FAFC",
|
|
78
|
-
"vc-bg-surface": "#FFFFFF",
|
|
79
|
-
"vc-bg-inset": "#F7FAFC",
|
|
80
|
-
"vc-bg-inset-strong": "#E0E2E5",
|
|
81
|
-
"vc-bg-field": "#FFFFFF",
|
|
82
|
-
"vc-bg-muted": "#EDEDED",
|
|
83
|
-
"vc-bg-overlay": "color-mix(in srgb, #000000 40%, transparent)",
|
|
84
|
-
"vc-action-primary": "#FC0303",
|
|
85
|
-
"vc-onfill": "#FFFFFF",
|
|
86
|
-
"vc-onfill-primary": "#FFFFFF",
|
|
87
|
-
"vc-action-info": "#2759DA",
|
|
88
|
-
"vc-action-success": "#0EB886",
|
|
89
|
-
"vc-content-success": "#0EB886",
|
|
90
|
-
"vc-content-warning": "#ECA944",
|
|
91
|
-
"vc-content-warning-icon": "#ECA944",
|
|
92
|
-
"vc-action-warning": "#ECA944",
|
|
93
|
-
"vc-onfill-warning": "#FFFFFF",
|
|
94
|
-
"vc-action-danger": "#EC444D",
|
|
95
|
-
"vc-action-secondary": "#8292A5",
|
|
96
|
-
"vc-border": "#E0E2E5",
|
|
97
|
-
"vc-border-strong": "#FFCCCE",
|
|
98
|
-
"vc-input": "#BEC2C9",
|
|
99
|
-
"vc-ring": "#4087FF",
|
|
100
|
-
"vc-mix-anchor": "#000000",
|
|
101
|
-
"vc-mix-anchor-primary": "#000000",
|
|
102
|
-
"vc-mix-anchor-warning": "#000000",
|
|
103
|
-
"vc-shadow-color": "#161922",
|
|
104
|
-
"vc-content-danger": "#EC444D",
|
|
105
|
-
"vc-content-info": "#2759DA"
|
|
106
|
-
},
|
|
107
|
-
"redGreen": {
|
|
108
|
-
"vc-content-primary": "#263148",
|
|
109
|
-
"vc-content-secondary": "#567391",
|
|
110
|
-
"vc-content-tertiary": "#9EA6B2",
|
|
111
|
-
"vc-content-disabled": "#888F9D",
|
|
112
|
-
"vc-bg-page": "#F7FAFC",
|
|
113
|
-
"vc-bg-surface": "#FFFFFF",
|
|
114
|
-
"vc-bg-inset": "#F7FAFC",
|
|
115
|
-
"vc-bg-inset-strong": "#E0E2E5",
|
|
116
|
-
"vc-bg-field": "#FFFFFF",
|
|
117
|
-
"vc-bg-muted": "#EDEDED",
|
|
118
|
-
"vc-bg-overlay": "color-mix(in srgb, #000000 40%, transparent)",
|
|
119
|
-
"vc-action-primary": "#D34C4C",
|
|
37
|
+
"voicenterDark": {
|
|
38
|
+
"vc-content-primary": "#E2ECF7",
|
|
39
|
+
"vc-content-secondary": "#93A0B5",
|
|
40
|
+
"vc-content-tertiary": "#6D8AAA",
|
|
41
|
+
"vc-content-brand": "#FF6B6A",
|
|
42
|
+
"vc-content-disabled": "#48515F",
|
|
43
|
+
"vc-bg-page": "#0E1015",
|
|
44
|
+
"vc-bg-surface": "#161922",
|
|
45
|
+
"vc-bg-inset": "#0E1015",
|
|
46
|
+
"vc-bg-inset-strong": "#232427",
|
|
47
|
+
"vc-bg-field": "#161922",
|
|
48
|
+
"vc-bg-muted": "#232427",
|
|
49
|
+
"vc-bg-overlay": "#000000B3",
|
|
50
|
+
"vc-action-primary": "#E50A3B",
|
|
120
51
|
"vc-onfill": "#FFFFFF",
|
|
121
52
|
"vc-onfill-primary": "#FFFFFF",
|
|
122
|
-
"vc-action-info": "#
|
|
123
|
-
"vc-action-success": "#
|
|
124
|
-
"vc-content-success": "#
|
|
125
|
-
"vc-content-warning": "#
|
|
126
|
-
"vc-
|
|
127
|
-
"vc-action-warning": "#ECA944",
|
|
53
|
+
"vc-action-info": "#2268DE",
|
|
54
|
+
"vc-action-success": "#007A45",
|
|
55
|
+
"vc-content-success": "#00B96B",
|
|
56
|
+
"vc-content-warning": "#D66527",
|
|
57
|
+
"vc-action-warning": "#A25600",
|
|
128
58
|
"vc-onfill-warning": "#FFFFFF",
|
|
129
|
-
"vc-action-danger": "#
|
|
130
|
-
"vc-action-secondary": "#
|
|
131
|
-
"vc-border": "#
|
|
132
|
-
"vc-border-strong": "#
|
|
133
|
-
"vc-input": "#
|
|
134
|
-
"vc-ring": "#
|
|
59
|
+
"vc-action-danger": "#934A5A",
|
|
60
|
+
"vc-action-secondary": "#5A7189",
|
|
61
|
+
"vc-border": "#282C32",
|
|
62
|
+
"vc-border-strong": "#333841",
|
|
63
|
+
"vc-input": "#333841",
|
|
64
|
+
"vc-ring": "#2268DE",
|
|
135
65
|
"vc-mix-anchor": "#000000",
|
|
136
66
|
"vc-mix-anchor-primary": "#000000",
|
|
137
67
|
"vc-mix-anchor-warning": "#000000",
|
|
138
|
-
"vc-shadow-color": "#161922",
|
|
139
|
-
"vc-content-danger": "#EC444D",
|
|
140
|
-
"vc-content-info": "#2759DA"
|
|
141
|
-
},
|
|
142
|
-
"black": {
|
|
143
|
-
"vc-content-primary": "#FFFFFF",
|
|
144
|
-
"vc-content-secondary": "#FFFFFF",
|
|
145
|
-
"vc-content-tertiary": "#CCCCCC",
|
|
146
|
-
"vc-content-disabled": "#CCCCCC",
|
|
147
|
-
"vc-bg-page": "#202124",
|
|
148
|
-
"vc-bg-surface": "#000000",
|
|
149
|
-
"vc-bg-inset": "#202124",
|
|
150
|
-
"vc-bg-inset-strong": "#131212",
|
|
151
|
-
"vc-bg-field": "#151515",
|
|
152
|
-
"vc-bg-muted": "#3B3D41",
|
|
153
|
-
"vc-bg-overlay": "color-mix(in srgb, #636C78 40%, transparent)",
|
|
154
|
-
"vc-action-primary": "#D34C4C",
|
|
155
|
-
"vc-onfill": "#FFFFFF",
|
|
156
|
-
"vc-onfill-primary": "#FFFFFF",
|
|
157
|
-
"vc-action-info": "#2759DA",
|
|
158
|
-
"vc-action-success": "#13A363",
|
|
159
|
-
"vc-content-success": "#13A363",
|
|
160
|
-
"vc-content-warning": "#FFB341",
|
|
161
|
-
"vc-content-warning-icon": "#FFB341",
|
|
162
|
-
"vc-action-warning": "#FFB341",
|
|
163
|
-
"vc-onfill-warning": "#FFFFFF",
|
|
164
|
-
"vc-action-danger": "#DC3643",
|
|
165
|
-
"vc-action-secondary": "#8292A5",
|
|
166
|
-
"vc-border": "#474747",
|
|
167
|
-
"vc-border-strong": "#E0E2E5",
|
|
168
|
-
"vc-input": "#E0E2E5",
|
|
169
|
-
"vc-ring": "#4087FF",
|
|
170
|
-
"vc-mix-anchor": "#FFFFFF",
|
|
171
|
-
"vc-mix-anchor-primary": "#FFFFFF",
|
|
172
|
-
"vc-mix-anchor-warning": "#FFFFFF",
|
|
173
68
|
"vc-shadow-color": "#000000",
|
|
174
|
-
"vc-content-danger": "#
|
|
175
|
-
"vc-content-info": "#
|
|
69
|
+
"vc-content-danger": "#FF9BAD",
|
|
70
|
+
"vc-content-info": "#6293FF"
|
|
176
71
|
}
|
|
177
72
|
}
|
|
178
73
|
;
|
|
@@ -119,13 +119,6 @@ export declare type ValidateRowReturnType = {
|
|
|
119
119
|
row?: number;
|
|
120
120
|
errors: Array<ErrorRowType>;
|
|
121
121
|
};
|
|
122
|
-
/**
|
|
123
|
-
* Alias kept for backwards compatibility with consumer code that types
|
|
124
|
-
* uploader payloads by their cell value type. Equivalent to
|
|
125
|
-
* `BindingRowItemType<T>` so values flow without conversion between the
|
|
126
|
-
* parser and the uploader UI.
|
|
127
|
-
*/
|
|
128
|
-
export declare type BindResultObjectType<T> = BindingRowItemType<T>;
|
|
129
122
|
export declare type BindTableHeaderObjectType = {
|
|
130
123
|
columnItemKey: string;
|
|
131
124
|
columnItemLabel: string;
|
|
@@ -7,6 +7,22 @@ export type VcEntityTabType<EntityData> = {
|
|
|
7
7
|
navClass?: string;
|
|
8
8
|
entityData?: EntityData;
|
|
9
9
|
disabled?: boolean;
|
|
10
|
+
disabledHint?: string;
|
|
11
|
+
};
|
|
12
|
+
export type VcEntityFixedTabType<Name extends string = string> = {
|
|
13
|
+
/** @description Name of the tab: its content is the slot `tab-<name>` and the address opens it by this value. Never `list`, `create` or a number, which name the list tab, the create tab and a record tab */
|
|
14
|
+
name: Name;
|
|
15
|
+
/** @description Text of the tab in the tab row */
|
|
16
|
+
label: string;
|
|
17
|
+
/** @description Icon of the tab in the tab row */
|
|
18
|
+
icon?: TIcon;
|
|
19
|
+
/** @description Whether the tab cannot be opened */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** @description Why the tab cannot be opened: shown in a popover while the pointer is over the disabled tab */
|
|
22
|
+
disabledHint?: string;
|
|
23
|
+
};
|
|
24
|
+
export type VcEntityFixedTabSlots<Name extends string> = {
|
|
25
|
+
[SlotName in Name as `tab-${SlotName}`]?: () => void;
|
|
10
26
|
};
|
|
11
27
|
export type VcEntityEditableTabSlotData<EntityData> = {
|
|
12
28
|
entity: EntityData;
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
export declare type VcPresetRangesType = {
|
|
2
|
-
label: string;
|
|
3
|
-
range: Date[] | string[];
|
|
4
|
-
}[];
|
|
5
|
-
export declare type VcDatetimeRangePickerModelType = Date | Date[] | string | string[] | {
|
|
6
|
-
hours: number | string;
|
|
7
|
-
minutes: number | string;
|
|
8
|
-
seconds?: number | string;
|
|
9
|
-
} | {
|
|
10
|
-
hours: number | string;
|
|
11
|
-
minutes: number | string;
|
|
12
|
-
seconds?: number | string;
|
|
13
|
-
}[] | {
|
|
14
|
-
month: number | string;
|
|
15
|
-
year: number | string;
|
|
16
|
-
} | {
|
|
17
|
-
month: number | string;
|
|
18
|
-
year: number | string;
|
|
19
|
-
}[] | null;
|
|
20
1
|
export declare type VcDatetimeRangePickerTimeType = {
|
|
21
2
|
hours?: number | string;
|
|
22
3
|
minutes?: number | string;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { OptionObjectValueType } from '.';
|
|
2
2
|
import { TIcon } from './icons.types';
|
|
3
|
+
/**
|
|
4
|
+
* @description Row density of VcTable: `large` (16px text, rows about 43px), `default` (14px text,
|
|
5
|
+
* about 36px) or `compact` (12px text, about 28px).
|
|
6
|
+
*/
|
|
7
|
+
export declare type VcTableDensity = 'compact' | 'default' | 'large';
|
|
3
8
|
export declare type Alignment = 'left' | 'center' | 'right';
|
|
4
9
|
export declare type SortFunction<Option extends OptionObjectValueType> = (a: Option, b: Option) => number;
|
|
5
10
|
export declare type FormatFunction<Option extends OptionObjectValueType = Record<string, unknown>> = (row: Option) => string | number | unknown;
|
|
@@ -15,10 +15,6 @@ export declare type VcWizardStepType = {
|
|
|
15
15
|
validateStepFn?: () => boolean | Promise<boolean>;
|
|
16
16
|
prepareStepFn?: () => void | Promise<void>;
|
|
17
17
|
initStepFn?: () => void | Promise<void>;
|
|
18
|
-
/** @deprecated v3: renamed to `validateStepFn`. Removed in v4. */
|
|
19
|
-
beforeStepFn?: () => boolean | Promise<boolean>;
|
|
20
|
-
/** @deprecated v3: renamed to `initStepFn`. Removed in v4. */
|
|
21
|
-
onEnterStepFn?: () => void | Promise<void>;
|
|
22
18
|
};
|
|
23
19
|
export type VcWizardSummaryContentType = {
|
|
24
20
|
label: string;
|
|
@@ -33,7 +33,7 @@ async function importLucideIconModule(kebabName) {
|
|
|
33
33
|
async function importLucideIconNamedExport(name) {
|
|
34
34
|
try {
|
|
35
35
|
const module = await import("@lucide/vue");
|
|
36
|
-
const component = module
|
|
36
|
+
const component = Reflect.get(module, toLucidePascalName(name));
|
|
37
37
|
return isVueComponent(component) ? component : null;
|
|
38
38
|
} catch {
|
|
39
39
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voicenter-team/voicenter-ui-plus",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.6",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite",
|
|
6
6
|
"build": "vite build",
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"@floating-ui/dom": "^1.8.0",
|
|
238
238
|
"@fullhuman/postcss-purgecss": "^7.0.2",
|
|
239
239
|
"@highlightjs/vue-plugin": "^2.1.0",
|
|
240
|
-
"@lucide/vue": "^1.
|
|
240
|
+
"@lucide/vue": "^1.66.0",
|
|
241
241
|
"@milkdown/crepe": "7.22.3",
|
|
242
242
|
"@milkdown/kit": "7.22.3",
|
|
243
243
|
"@milkdown/utils": "7.22.3",
|