@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
package/library/style.css.br
CHANGED
|
Binary file
|
package/library/style.css.gz
CHANGED
|
Binary file
|
package/library/theme/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import __themes from "./themes.json.mjs";
|
|
2
2
|
import { overrideElementTheme as overrideElementTheme$1, globalVariables } from "./themeMerge.mjs";
|
|
3
|
-
const _default = __themes.
|
|
3
|
+
const _default = __themes.voicenter;
|
|
4
4
|
const themes = __themes;
|
|
5
5
|
const overrideElementTheme = overrideElementTheme$1;
|
|
6
6
|
function appendGlobalCssVariables(cssData, appendTo) {
|
|
Binary file
|
|
Binary file
|
|
@@ -9,6 +9,8 @@ function overrideElementTheme(theme) {
|
|
|
9
9
|
...theme,
|
|
10
10
|
// A status text colour the theme does not set is the theme's fill of that status.
|
|
11
11
|
...Object.fromEntries(statusColors.map((color) => [`vc-content-${color}`, theme[`vc-content-${color}`] ?? theme[`vc-action-${color}`]])),
|
|
12
|
+
// Brand-coloured text (links, active tabs, outline and borderless primary buttons), if the theme does not set it, is its primary fill.
|
|
13
|
+
"vc-content-brand": theme["vc-content-brand"] ?? theme["vc-action-primary"],
|
|
12
14
|
"el-color-primary": theme["el-color-primary"] ?? theme["vc-action-primary"],
|
|
13
15
|
"el-color-success": theme["el-color-success"] ?? theme["vc-action-success"],
|
|
14
16
|
"el-color-warning": theme["el-color-warning"] ?? theme["vc-action-warning"],
|
|
@@ -2,6 +2,7 @@ const voicenter = {
|
|
|
2
2
|
"vc-content-primary": "#161922",
|
|
3
3
|
"vc-content-secondary": "#525D70",
|
|
4
4
|
"vc-content-tertiary": "#567391",
|
|
5
|
+
"vc-content-brand": "#C20027",
|
|
5
6
|
"vc-content-disabled": "#A6B0C0",
|
|
6
7
|
"vc-bg-page": "#F8F9FB",
|
|
7
8
|
"vc-bg-surface": "#FFFFFF",
|
|
@@ -14,14 +15,13 @@ const voicenter = {
|
|
|
14
15
|
"vc-onfill": "#FFFFFF",
|
|
15
16
|
"vc-onfill-primary": "#FFFFFF",
|
|
16
17
|
"vc-action-info": "#2759DA",
|
|
17
|
-
"vc-action-success": "#
|
|
18
|
-
"vc-content-success": "#
|
|
18
|
+
"vc-action-success": "#007D47",
|
|
19
|
+
"vc-content-success": "#007D47",
|
|
19
20
|
"vc-content-warning": "#BF5001",
|
|
20
|
-
"vc-content-warning-icon": "#D67714",
|
|
21
21
|
"vc-action-warning": "#FEC635",
|
|
22
22
|
"vc-onfill-warning": "#161922",
|
|
23
23
|
"vc-action-danger": "#750830",
|
|
24
|
-
"vc-action-secondary": "#
|
|
24
|
+
"vc-action-secondary": "#4A607A",
|
|
25
25
|
"vc-border": "#E2E6EE",
|
|
26
26
|
"vc-border-strong": "#CDD4E0",
|
|
27
27
|
"vc-input": "#CDD4E0",
|
|
@@ -33,158 +33,47 @@ const voicenter = {
|
|
|
33
33
|
"vc-content-danger": "#750830",
|
|
34
34
|
"vc-content-info": "#2759DA"
|
|
35
35
|
};
|
|
36
|
-
const
|
|
37
|
-
"vc-content-primary": "#
|
|
38
|
-
"vc-content-secondary": "#
|
|
39
|
-
"vc-content-tertiary": "#
|
|
40
|
-
"vc-content-
|
|
41
|
-
"vc-
|
|
42
|
-
"vc-bg-
|
|
43
|
-
"vc-bg-
|
|
44
|
-
"vc-bg-inset
|
|
45
|
-
"vc-bg-
|
|
46
|
-
"vc-bg-
|
|
47
|
-
"vc-bg-
|
|
48
|
-
"vc-
|
|
49
|
-
"vc-
|
|
50
|
-
"vc-onfill-primary": "#FFFFFF",
|
|
51
|
-
"vc-action-info": "#2759DA",
|
|
52
|
-
"vc-action-success": "#14854A",
|
|
53
|
-
"vc-content-success": "#10713E",
|
|
54
|
-
"vc-content-warning": "#BF5001",
|
|
55
|
-
"vc-content-warning-icon": "#D67714",
|
|
56
|
-
"vc-action-warning": "#FEC635",
|
|
57
|
-
"vc-onfill-warning": "#161922",
|
|
58
|
-
"vc-action-danger": "#750830",
|
|
59
|
-
"vc-action-secondary": "#567391",
|
|
60
|
-
"vc-border": "#E2E6EE",
|
|
61
|
-
"vc-border-strong": "#CDD4E0",
|
|
62
|
-
"vc-input": "#CDD4E0",
|
|
63
|
-
"vc-ring": "#4087FF",
|
|
64
|
-
"vc-mix-anchor": "#000000",
|
|
65
|
-
"vc-mix-anchor-primary": "#000000",
|
|
66
|
-
"vc-mix-anchor-warning": "#000000",
|
|
67
|
-
"vc-shadow-color": "#161922",
|
|
68
|
-
"vc-content-danger": "#750830",
|
|
69
|
-
"vc-content-info": "#2759DA"
|
|
70
|
-
};
|
|
71
|
-
const red = {
|
|
72
|
-
"vc-content-primary": "#263148",
|
|
73
|
-
"vc-content-secondary": "#567391",
|
|
74
|
-
"vc-content-tertiary": "#9EA6B2",
|
|
75
|
-
"vc-content-disabled": "#888F9D",
|
|
76
|
-
"vc-bg-page": "#F7FAFC",
|
|
77
|
-
"vc-bg-surface": "#FFFFFF",
|
|
78
|
-
"vc-bg-inset": "#F7FAFC",
|
|
79
|
-
"vc-bg-inset-strong": "#E0E2E5",
|
|
80
|
-
"vc-bg-field": "#FFFFFF",
|
|
81
|
-
"vc-bg-muted": "#EDEDED",
|
|
82
|
-
"vc-bg-overlay": "color-mix(in srgb, #000000 40%, transparent)",
|
|
83
|
-
"vc-action-primary": "#FC0303",
|
|
84
|
-
"vc-onfill": "#FFFFFF",
|
|
85
|
-
"vc-onfill-primary": "#FFFFFF",
|
|
86
|
-
"vc-action-info": "#2759DA",
|
|
87
|
-
"vc-action-success": "#0EB886",
|
|
88
|
-
"vc-content-success": "#0EB886",
|
|
89
|
-
"vc-content-warning": "#ECA944",
|
|
90
|
-
"vc-content-warning-icon": "#ECA944",
|
|
91
|
-
"vc-action-warning": "#ECA944",
|
|
92
|
-
"vc-onfill-warning": "#FFFFFF",
|
|
93
|
-
"vc-action-danger": "#EC444D",
|
|
94
|
-
"vc-action-secondary": "#8292A5",
|
|
95
|
-
"vc-border": "#E0E2E5",
|
|
96
|
-
"vc-border-strong": "#FFCCCE",
|
|
97
|
-
"vc-input": "#BEC2C9",
|
|
98
|
-
"vc-ring": "#4087FF",
|
|
99
|
-
"vc-mix-anchor": "#000000",
|
|
100
|
-
"vc-mix-anchor-primary": "#000000",
|
|
101
|
-
"vc-mix-anchor-warning": "#000000",
|
|
102
|
-
"vc-shadow-color": "#161922",
|
|
103
|
-
"vc-content-danger": "#EC444D",
|
|
104
|
-
"vc-content-info": "#2759DA"
|
|
105
|
-
};
|
|
106
|
-
const redGreen = {
|
|
107
|
-
"vc-content-primary": "#263148",
|
|
108
|
-
"vc-content-secondary": "#567391",
|
|
109
|
-
"vc-content-tertiary": "#9EA6B2",
|
|
110
|
-
"vc-content-disabled": "#888F9D",
|
|
111
|
-
"vc-bg-page": "#F7FAFC",
|
|
112
|
-
"vc-bg-surface": "#FFFFFF",
|
|
113
|
-
"vc-bg-inset": "#F7FAFC",
|
|
114
|
-
"vc-bg-inset-strong": "#E0E2E5",
|
|
115
|
-
"vc-bg-field": "#FFFFFF",
|
|
116
|
-
"vc-bg-muted": "#EDEDED",
|
|
117
|
-
"vc-bg-overlay": "color-mix(in srgb, #000000 40%, transparent)",
|
|
118
|
-
"vc-action-primary": "#D34C4C",
|
|
36
|
+
const voicenterDark = {
|
|
37
|
+
"vc-content-primary": "#E2ECF7",
|
|
38
|
+
"vc-content-secondary": "#93A0B5",
|
|
39
|
+
"vc-content-tertiary": "#6D8AAA",
|
|
40
|
+
"vc-content-brand": "#FF6B6A",
|
|
41
|
+
"vc-content-disabled": "#48515F",
|
|
42
|
+
"vc-bg-page": "#0E1015",
|
|
43
|
+
"vc-bg-surface": "#161922",
|
|
44
|
+
"vc-bg-inset": "#0E1015",
|
|
45
|
+
"vc-bg-inset-strong": "#232427",
|
|
46
|
+
"vc-bg-field": "#161922",
|
|
47
|
+
"vc-bg-muted": "#232427",
|
|
48
|
+
"vc-bg-overlay": "#000000B3",
|
|
49
|
+
"vc-action-primary": "#E50A3B",
|
|
119
50
|
"vc-onfill": "#FFFFFF",
|
|
120
51
|
"vc-onfill-primary": "#FFFFFF",
|
|
121
|
-
"vc-action-info": "#
|
|
122
|
-
"vc-action-success": "#
|
|
123
|
-
"vc-content-success": "#
|
|
124
|
-
"vc-content-warning": "#
|
|
125
|
-
"vc-
|
|
126
|
-
"vc-action-warning": "#ECA944",
|
|
52
|
+
"vc-action-info": "#2268DE",
|
|
53
|
+
"vc-action-success": "#007A45",
|
|
54
|
+
"vc-content-success": "#00B96B",
|
|
55
|
+
"vc-content-warning": "#D66527",
|
|
56
|
+
"vc-action-warning": "#A25600",
|
|
127
57
|
"vc-onfill-warning": "#FFFFFF",
|
|
128
|
-
"vc-action-danger": "#
|
|
129
|
-
"vc-action-secondary": "#
|
|
130
|
-
"vc-border": "#
|
|
131
|
-
"vc-border-strong": "#
|
|
132
|
-
"vc-input": "#
|
|
133
|
-
"vc-ring": "#
|
|
58
|
+
"vc-action-danger": "#934A5A",
|
|
59
|
+
"vc-action-secondary": "#5A7189",
|
|
60
|
+
"vc-border": "#282C32",
|
|
61
|
+
"vc-border-strong": "#333841",
|
|
62
|
+
"vc-input": "#333841",
|
|
63
|
+
"vc-ring": "#2268DE",
|
|
134
64
|
"vc-mix-anchor": "#000000",
|
|
135
65
|
"vc-mix-anchor-primary": "#000000",
|
|
136
66
|
"vc-mix-anchor-warning": "#000000",
|
|
137
|
-
"vc-shadow-color": "#161922",
|
|
138
|
-
"vc-content-danger": "#EC444D",
|
|
139
|
-
"vc-content-info": "#2759DA"
|
|
140
|
-
};
|
|
141
|
-
const black = {
|
|
142
|
-
"vc-content-primary": "#FFFFFF",
|
|
143
|
-
"vc-content-secondary": "#FFFFFF",
|
|
144
|
-
"vc-content-tertiary": "#CCCCCC",
|
|
145
|
-
"vc-content-disabled": "#CCCCCC",
|
|
146
|
-
"vc-bg-page": "#202124",
|
|
147
|
-
"vc-bg-surface": "#000000",
|
|
148
|
-
"vc-bg-inset": "#202124",
|
|
149
|
-
"vc-bg-inset-strong": "#131212",
|
|
150
|
-
"vc-bg-field": "#151515",
|
|
151
|
-
"vc-bg-muted": "#3B3D41",
|
|
152
|
-
"vc-bg-overlay": "color-mix(in srgb, #636C78 40%, transparent)",
|
|
153
|
-
"vc-action-primary": "#D34C4C",
|
|
154
|
-
"vc-onfill": "#FFFFFF",
|
|
155
|
-
"vc-onfill-primary": "#FFFFFF",
|
|
156
|
-
"vc-action-info": "#2759DA",
|
|
157
|
-
"vc-action-success": "#13A363",
|
|
158
|
-
"vc-content-success": "#13A363",
|
|
159
|
-
"vc-content-warning": "#FFB341",
|
|
160
|
-
"vc-content-warning-icon": "#FFB341",
|
|
161
|
-
"vc-action-warning": "#FFB341",
|
|
162
|
-
"vc-onfill-warning": "#FFFFFF",
|
|
163
|
-
"vc-action-danger": "#DC3643",
|
|
164
|
-
"vc-action-secondary": "#8292A5",
|
|
165
|
-
"vc-border": "#474747",
|
|
166
|
-
"vc-border-strong": "#E0E2E5",
|
|
167
|
-
"vc-input": "#E0E2E5",
|
|
168
|
-
"vc-ring": "#4087FF",
|
|
169
|
-
"vc-mix-anchor": "#FFFFFF",
|
|
170
|
-
"vc-mix-anchor-primary": "#FFFFFF",
|
|
171
|
-
"vc-mix-anchor-warning": "#FFFFFF",
|
|
172
67
|
"vc-shadow-color": "#000000",
|
|
173
|
-
"vc-content-danger": "#
|
|
174
|
-
"vc-content-info": "#
|
|
68
|
+
"vc-content-danger": "#FF9BAD",
|
|
69
|
+
"vc-content-info": "#6293FF"
|
|
175
70
|
};
|
|
176
71
|
const __themes = {
|
|
177
72
|
voicenter,
|
|
178
|
-
|
|
179
|
-
red,
|
|
180
|
-
redGreen,
|
|
181
|
-
black
|
|
73
|
+
voicenterDark
|
|
182
74
|
};
|
|
183
75
|
export {
|
|
184
|
-
black,
|
|
185
76
|
__themes as default,
|
|
186
|
-
red,
|
|
187
|
-
redGreen,
|
|
188
77
|
voicenter,
|
|
189
|
-
|
|
78
|
+
voicenterDark
|
|
190
79
|
};
|
|
@@ -43,8 +43,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
43
43
|
"onUpdate:argsOpen"?: ((open: boolean) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
title: string;
|
|
46
|
-
status: VcApprovalStatus;
|
|
47
46
|
compact: boolean;
|
|
47
|
+
status: VcApprovalStatus;
|
|
48
48
|
description: string;
|
|
49
49
|
actions: VcApprovalAction[];
|
|
50
50
|
toolName: string;
|
|
@@ -27,7 +27,7 @@ interface VcTBProps {
|
|
|
27
27
|
large?: boolean;
|
|
28
28
|
/**
|
|
29
29
|
* @description Extra class(es) appended to the icon when the toggle
|
|
30
|
-
* is "on" (e.g. `'text-
|
|
30
|
+
* is "on" (e.g. `'text-content-brand'`). Works for both class-string and
|
|
31
31
|
* component icons — Vue merges these onto the icon's root element.
|
|
32
32
|
*/
|
|
33
33
|
activeIconColor?: string;
|
|
@@ -8,8 +8,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
8
8
|
max?: number | undefined;
|
|
9
9
|
min?: number | undefined;
|
|
10
10
|
readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
|
|
11
|
-
config?: Config | undefined;
|
|
12
11
|
valueKey?: IsObjectWithKeys<Option> | undefined;
|
|
12
|
+
config?: Config | undefined;
|
|
13
13
|
checkboxes?: Option[] | undefined;
|
|
14
14
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
15
15
|
attrs: any;
|
|
@@ -33,8 +33,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
33
33
|
max?: number | undefined;
|
|
34
34
|
min?: number | undefined;
|
|
35
35
|
readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
|
|
36
|
-
config?: Config | undefined;
|
|
37
36
|
valueKey?: IsObjectWithKeys<Option> | undefined;
|
|
37
|
+
config?: Config | undefined;
|
|
38
38
|
checkboxes?: Option[] | undefined;
|
|
39
39
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
40
40
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -62,8 +62,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
62
62
|
max?: number | undefined;
|
|
63
63
|
min?: number | undefined;
|
|
64
64
|
readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
|
|
65
|
-
config?: Config | undefined;
|
|
66
65
|
valueKey?: IsObjectWithKeys<Option> | undefined;
|
|
66
|
+
config?: Config | undefined;
|
|
67
67
|
checkboxes?: Option[] | undefined;
|
|
68
68
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
69
69
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -8,8 +8,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
8
8
|
max?: number | undefined;
|
|
9
9
|
min?: number | undefined;
|
|
10
10
|
readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
|
|
11
|
-
config?: Config | undefined;
|
|
12
11
|
valueKey?: IsObjectWithKeys<Option> | undefined;
|
|
12
|
+
config?: Config | undefined;
|
|
13
13
|
border?: boolean | undefined;
|
|
14
14
|
checkboxes?: Option[] | undefined;
|
|
15
15
|
selectAllLabel?: string | undefined;
|
|
@@ -35,8 +35,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
35
35
|
max?: number | undefined;
|
|
36
36
|
min?: number | undefined;
|
|
37
37
|
readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
|
|
38
|
-
config?: Config | undefined;
|
|
39
38
|
valueKey?: IsObjectWithKeys<Option> | undefined;
|
|
39
|
+
config?: Config | undefined;
|
|
40
40
|
border?: boolean | undefined;
|
|
41
41
|
checkboxes?: Option[] | undefined;
|
|
42
42
|
selectAllLabel?: string | undefined;
|
|
@@ -66,8 +66,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
66
66
|
max?: number | undefined;
|
|
67
67
|
min?: number | undefined;
|
|
68
68
|
readonly "onUpdate:modelValue"?: ((pl: Model[]) => any) | undefined;
|
|
69
|
-
config?: Config | undefined;
|
|
70
69
|
valueKey?: IsObjectWithKeys<Option> | undefined;
|
|
70
|
+
config?: Config | undefined;
|
|
71
71
|
border?: boolean | undefined;
|
|
72
72
|
checkboxes?: Option[] | undefined;
|
|
73
73
|
selectAllLabel?: string | undefined;
|
|
@@ -57,7 +57,7 @@ export interface IVcMdEditorProps {
|
|
|
57
57
|
/**
|
|
58
58
|
* Text in a bubble, card or panel instead of a field: no border, background, padding or minimum height, the
|
|
59
59
|
* font, size and colour of the container, chat-sized headings and spacing, and links in
|
|
60
|
-
* `--vc-markdown-editor-link-color` (default `--vc-
|
|
60
|
+
* `--vc-markdown-editor-link-color` (default `--vc-content-brand`). The direction follows the container. Meant
|
|
61
61
|
* for `readonly` with `hideToolbar`.
|
|
62
62
|
*/
|
|
63
63
|
plain?: boolean;
|
|
@@ -42,9 +42,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
42
42
|
content: VcMessageContent | VcMessageContent[];
|
|
43
43
|
status: import('../../types').VcMessageStatus;
|
|
44
44
|
deleted: boolean;
|
|
45
|
+
variant: import('../../types').VcMessageVariant;
|
|
45
46
|
align: import('../../types').VcMessageAlign;
|
|
46
47
|
reactions: import('../../types').VcMessageReaction[];
|
|
47
|
-
variant: import('../../types').VcMessageVariant;
|
|
48
48
|
reply: import('../../types').VcMessageReply;
|
|
49
49
|
additionalOptions: VcMessageOption[][];
|
|
50
50
|
reactionEmojis: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigOptionType, ExtractValueType, OptionValueType } from '../../types';
|
|
1
|
+
import { ConfigOptionType, ExtractValueType, OptionMappedType, OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, ModelValue extends ExtractValueType<Option, Config>>(__VLS_props: {
|
|
3
3
|
id?: string | undefined;
|
|
4
4
|
ariaLabel?: string | undefined;
|
|
@@ -6,14 +6,14 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
6
6
|
disabled?: boolean | undefined;
|
|
7
7
|
modelValue?: ModelValue | undefined;
|
|
8
8
|
name?: string | undefined;
|
|
9
|
-
|
|
10
|
-
readonly onChange?: ((pl: ModelValue, old: ModelValue) => any) | undefined;
|
|
9
|
+
readonly onChange?: ((value: ModelValue, option: Option) => any) | undefined;
|
|
11
10
|
options: Option[];
|
|
12
11
|
direction?: "vertical" | "horizontal" | undefined;
|
|
13
12
|
validateEvent?: boolean | undefined;
|
|
14
|
-
readonly "onUpdate:modelValue"?: ((
|
|
13
|
+
readonly "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
|
|
15
14
|
block?: boolean | undefined;
|
|
16
15
|
config?: Config | undefined;
|
|
16
|
+
variant?: "solid" | "surface" | undefined;
|
|
17
17
|
bordered?: boolean | undefined;
|
|
18
18
|
rounded?: boolean | undefined;
|
|
19
19
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
@@ -21,11 +21,13 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
21
21
|
slots: {
|
|
22
22
|
default?(_: {
|
|
23
23
|
item: Option;
|
|
24
|
+
option: OptionMappedType<Option, Config>;
|
|
25
|
+
isActive: boolean;
|
|
24
26
|
}): any;
|
|
25
27
|
};
|
|
26
28
|
emit: {
|
|
27
|
-
(e: 'update:modelValue',
|
|
28
|
-
(e: 'change',
|
|
29
|
+
(e: 'update:modelValue', value: ModelValue): void;
|
|
30
|
+
(e: 'change', value: ModelValue, option: Option): void;
|
|
29
31
|
};
|
|
30
32
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
31
33
|
props: {
|
|
@@ -35,14 +37,14 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
35
37
|
disabled?: boolean | undefined;
|
|
36
38
|
modelValue?: ModelValue | undefined;
|
|
37
39
|
name?: string | undefined;
|
|
38
|
-
|
|
39
|
-
readonly onChange?: ((pl: ModelValue, old: ModelValue) => any) | undefined;
|
|
40
|
+
readonly onChange?: ((value: ModelValue, option: Option) => any) | undefined;
|
|
40
41
|
options: Option[];
|
|
41
42
|
direction?: "vertical" | "horizontal" | undefined;
|
|
42
43
|
validateEvent?: boolean | undefined;
|
|
43
|
-
readonly "onUpdate:modelValue"?: ((
|
|
44
|
+
readonly "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
|
|
44
45
|
block?: boolean | undefined;
|
|
45
46
|
config?: Config | undefined;
|
|
47
|
+
variant?: "solid" | "surface" | undefined;
|
|
46
48
|
bordered?: boolean | undefined;
|
|
47
49
|
rounded?: boolean | undefined;
|
|
48
50
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -51,11 +53,13 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
51
53
|
slots: {
|
|
52
54
|
default?(_: {
|
|
53
55
|
item: Option;
|
|
56
|
+
option: OptionMappedType<Option, Config>;
|
|
57
|
+
isActive: boolean;
|
|
54
58
|
}): any;
|
|
55
59
|
};
|
|
56
60
|
emit: {
|
|
57
|
-
(e: 'update:modelValue',
|
|
58
|
-
(e: 'change',
|
|
61
|
+
(e: 'update:modelValue', value: ModelValue): void;
|
|
62
|
+
(e: 'change', value: ModelValue, option: Option): void;
|
|
59
63
|
};
|
|
60
64
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
61
65
|
[key: string]: any;
|
|
@@ -68,14 +72,14 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
68
72
|
disabled?: boolean | undefined;
|
|
69
73
|
modelValue?: ModelValue | undefined;
|
|
70
74
|
name?: string | undefined;
|
|
71
|
-
|
|
72
|
-
readonly onChange?: ((pl: ModelValue, old: ModelValue) => any) | undefined;
|
|
75
|
+
readonly onChange?: ((value: ModelValue, option: Option) => any) | undefined;
|
|
73
76
|
options: Option[];
|
|
74
77
|
direction?: "vertical" | "horizontal" | undefined;
|
|
75
78
|
validateEvent?: boolean | undefined;
|
|
76
|
-
readonly "onUpdate:modelValue"?: ((
|
|
79
|
+
readonly "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
|
|
77
80
|
block?: boolean | undefined;
|
|
78
81
|
config?: Config | undefined;
|
|
82
|
+
variant?: "solid" | "surface" | undefined;
|
|
79
83
|
bordered?: boolean | undefined;
|
|
80
84
|
rounded?: boolean | undefined;
|
|
81
85
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -84,12 +88,17 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
84
88
|
slots: {
|
|
85
89
|
default?(_: {
|
|
86
90
|
item: Option;
|
|
91
|
+
option: OptionMappedType<Option, Config>;
|
|
92
|
+
isActive: boolean;
|
|
87
93
|
}): any;
|
|
88
94
|
};
|
|
89
95
|
emit: {
|
|
90
|
-
(e: 'update:modelValue',
|
|
91
|
-
(e: 'change',
|
|
96
|
+
(e: 'update:modelValue', value: ModelValue): void;
|
|
97
|
+
(e: 'change', value: ModelValue, option: Option): void;
|
|
92
98
|
};
|
|
93
99
|
} | undefined;
|
|
94
100
|
};
|
|
95
101
|
export default _default;
|
|
102
|
+
type __VLS_Prettify<T> = {
|
|
103
|
+
[K in keyof T]: T[K];
|
|
104
|
+
} & {};
|
|
@@ -26,8 +26,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
26
26
|
teleported?: boolean | undefined;
|
|
27
27
|
readonly "onUpdate:visible"?: ((status: boolean) => any) | undefined;
|
|
28
28
|
readonly onClear?: (() => any) | undefined;
|
|
29
|
-
config?: Config | undefined;
|
|
30
29
|
valueKey?: string | undefined;
|
|
30
|
+
config?: Config | undefined;
|
|
31
31
|
readonly "onInitial-value"?: ((value?: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
32
32
|
readonly "onRemove-tag"?: ((value: Model) => any) | undefined;
|
|
33
33
|
readonly "onOption:click"?: ((option: Option) => any) | undefined;
|
|
@@ -111,8 +111,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
111
111
|
teleported?: boolean | undefined;
|
|
112
112
|
readonly "onUpdate:visible"?: ((status: boolean) => any) | undefined;
|
|
113
113
|
readonly onClear?: (() => any) | undefined;
|
|
114
|
-
config?: Config | undefined;
|
|
115
114
|
valueKey?: string | undefined;
|
|
115
|
+
config?: Config | undefined;
|
|
116
116
|
readonly "onInitial-value"?: ((value?: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
117
117
|
readonly "onRemove-tag"?: ((value: Model) => any) | undefined;
|
|
118
118
|
readonly "onOption:click"?: ((option: Option) => any) | undefined;
|
|
@@ -200,8 +200,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
200
200
|
teleported?: boolean | undefined;
|
|
201
201
|
readonly "onUpdate:visible"?: ((status: boolean) => any) | undefined;
|
|
202
202
|
readonly onClear?: (() => any) | undefined;
|
|
203
|
-
config?: Config | undefined;
|
|
204
203
|
valueKey?: string | undefined;
|
|
204
|
+
config?: Config | undefined;
|
|
205
205
|
readonly "onInitial-value"?: ((value?: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
206
206
|
readonly "onRemove-tag"?: ((value: Model) => any) | undefined;
|
|
207
207
|
readonly "onOption:click"?: ((option: Option) => any) | undefined;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ActionsColumnType, ColumnFilterState, ColumnType, ColumnTypeItem, ConfigType, Pagination, PaginationProp, SortingOrderDefaultType } from '../../types';
|
|
1
|
+
import { ActionsColumnType, ColumnFilterState, ColumnType, ColumnTypeItem, ConfigType, Pagination, PaginationProp, SortingOrderDefaultType, VcTableDensity } from '../../types';
|
|
2
2
|
declare const _default: <Option extends object = Record<string, unknown>>(__VLS_props: {
|
|
3
3
|
height?: string | number | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
options?: Option[] | undefined;
|
|
6
6
|
loaderType?: "default" | "stretch" | "circles" | "load-icon" | "lds-spinner" | "dot-spinner" | undefined;
|
|
7
|
-
compact?: boolean | undefined;
|
|
8
7
|
config?: ConfigType | undefined;
|
|
9
8
|
readonly "onOn-row-click"?: ((option: Option, index: number) => any) | undefined;
|
|
10
9
|
readonly "onOn-row-dbclick"?: ((option: Option, index: number) => any) | undefined;
|
|
@@ -24,10 +23,11 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
24
23
|
readonly "onChange-select-all"?: ((pl: boolean) => any) | undefined;
|
|
25
24
|
readonly "onClick-per-page-option"?: ((val: number) => any) | undefined;
|
|
26
25
|
readonly "onUpdate:perPage"?: ((pl: Pagination) => any) | undefined;
|
|
27
|
-
columns?: ColumnType | undefined;
|
|
26
|
+
columns?: ColumnType<Option> | undefined;
|
|
28
27
|
showSelection?: boolean | undefined;
|
|
29
28
|
expandableRow?: boolean | undefined;
|
|
30
29
|
rowSelectable?: boolean | undefined;
|
|
30
|
+
density?: VcTableDensity | undefined;
|
|
31
31
|
stripe?: boolean | undefined;
|
|
32
32
|
rowUnselect?: boolean | undefined;
|
|
33
33
|
isServerData?: boolean | undefined;
|
|
@@ -55,18 +55,18 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
55
55
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
56
56
|
attrs: any;
|
|
57
57
|
slots: Partial<Record<string, (_: {
|
|
58
|
-
column: ColumnTypeItem<
|
|
58
|
+
column: ColumnTypeItem<Option>;
|
|
59
59
|
}) => any>> & Partial<Record<`${string}-title`, (_: {
|
|
60
|
-
column: ColumnTypeItem<
|
|
60
|
+
column: ColumnTypeItem<Option>;
|
|
61
61
|
title: string;
|
|
62
62
|
}) => any>> & Partial<Record<`${string}-filter-option`, (_: {
|
|
63
63
|
option: {
|
|
64
64
|
value: string | number;
|
|
65
65
|
label: string;
|
|
66
66
|
};
|
|
67
|
-
column: ColumnTypeItem<
|
|
67
|
+
column: ColumnTypeItem<Option>;
|
|
68
68
|
}) => any>> & Partial<Record<`${string}-extra`, (_: {
|
|
69
|
-
column: ColumnTypeItem<
|
|
69
|
+
column: ColumnTypeItem<Option>;
|
|
70
70
|
}) => any>> & Partial<Record<string, (_: {
|
|
71
71
|
row: Option & {
|
|
72
72
|
selected?: boolean | undefined;
|
|
@@ -79,7 +79,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
79
79
|
"checked-tooltip"?(_: {}): any;
|
|
80
80
|
"actions-column-header"?(_: {}): any;
|
|
81
81
|
"prepend-row"?(_: {
|
|
82
|
-
columns: ColumnType
|
|
82
|
+
columns: ColumnType<Option>;
|
|
83
83
|
}): any;
|
|
84
84
|
"actions-column"?(_: {
|
|
85
85
|
row: Option & {
|
|
@@ -130,7 +130,6 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
130
130
|
loading?: boolean | undefined;
|
|
131
131
|
options?: Option[] | undefined;
|
|
132
132
|
loaderType?: "default" | "stretch" | "circles" | "load-icon" | "lds-spinner" | "dot-spinner" | undefined;
|
|
133
|
-
compact?: boolean | undefined;
|
|
134
133
|
config?: ConfigType | undefined;
|
|
135
134
|
readonly "onOn-row-click"?: ((option: Option, index: number) => any) | undefined;
|
|
136
135
|
readonly "onOn-row-dbclick"?: ((option: Option, index: number) => any) | undefined;
|
|
@@ -150,10 +149,11 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
150
149
|
readonly "onChange-select-all"?: ((pl: boolean) => any) | undefined;
|
|
151
150
|
readonly "onClick-per-page-option"?: ((val: number) => any) | undefined;
|
|
152
151
|
readonly "onUpdate:perPage"?: ((pl: Pagination) => any) | undefined;
|
|
153
|
-
columns?: ColumnType | undefined;
|
|
152
|
+
columns?: ColumnType<Option> | undefined;
|
|
154
153
|
showSelection?: boolean | undefined;
|
|
155
154
|
expandableRow?: boolean | undefined;
|
|
156
155
|
rowSelectable?: boolean | undefined;
|
|
156
|
+
density?: VcTableDensity | undefined;
|
|
157
157
|
stripe?: boolean | undefined;
|
|
158
158
|
rowUnselect?: boolean | undefined;
|
|
159
159
|
isServerData?: boolean | undefined;
|
|
@@ -191,18 +191,18 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
191
191
|
}): void;
|
|
192
192
|
attrs: any;
|
|
193
193
|
slots: Partial<Record<string, (_: {
|
|
194
|
-
column: ColumnTypeItem<
|
|
194
|
+
column: ColumnTypeItem<Option>;
|
|
195
195
|
}) => any>> & Partial<Record<`${string}-title`, (_: {
|
|
196
|
-
column: ColumnTypeItem<
|
|
196
|
+
column: ColumnTypeItem<Option>;
|
|
197
197
|
title: string;
|
|
198
198
|
}) => any>> & Partial<Record<`${string}-filter-option`, (_: {
|
|
199
199
|
option: {
|
|
200
200
|
value: string | number;
|
|
201
201
|
label: string;
|
|
202
202
|
};
|
|
203
|
-
column: ColumnTypeItem<
|
|
203
|
+
column: ColumnTypeItem<Option>;
|
|
204
204
|
}) => any>> & Partial<Record<`${string}-extra`, (_: {
|
|
205
|
-
column: ColumnTypeItem<
|
|
205
|
+
column: ColumnTypeItem<Option>;
|
|
206
206
|
}) => any>> & Partial<Record<string, (_: {
|
|
207
207
|
row: Option & {
|
|
208
208
|
selected?: boolean | undefined;
|
|
@@ -215,7 +215,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
215
215
|
"checked-tooltip"?(_: {}): any;
|
|
216
216
|
"actions-column-header"?(_: {}): any;
|
|
217
217
|
"prepend-row"?(_: {
|
|
218
|
-
columns: ColumnType
|
|
218
|
+
columns: ColumnType<Option>;
|
|
219
219
|
}): any;
|
|
220
220
|
"actions-column"?(_: {
|
|
221
221
|
row: Option & {
|
|
@@ -260,7 +260,6 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
260
260
|
loading?: boolean | undefined;
|
|
261
261
|
options?: Option[] | undefined;
|
|
262
262
|
loaderType?: "default" | "stretch" | "circles" | "load-icon" | "lds-spinner" | "dot-spinner" | undefined;
|
|
263
|
-
compact?: boolean | undefined;
|
|
264
263
|
config?: ConfigType | undefined;
|
|
265
264
|
readonly "onOn-row-click"?: ((option: Option, index: number) => any) | undefined;
|
|
266
265
|
readonly "onOn-row-dbclick"?: ((option: Option, index: number) => any) | undefined;
|
|
@@ -280,10 +279,11 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
280
279
|
readonly "onChange-select-all"?: ((pl: boolean) => any) | undefined;
|
|
281
280
|
readonly "onClick-per-page-option"?: ((val: number) => any) | undefined;
|
|
282
281
|
readonly "onUpdate:perPage"?: ((pl: Pagination) => any) | undefined;
|
|
283
|
-
columns?: ColumnType | undefined;
|
|
282
|
+
columns?: ColumnType<Option> | undefined;
|
|
284
283
|
showSelection?: boolean | undefined;
|
|
285
284
|
expandableRow?: boolean | undefined;
|
|
286
285
|
rowSelectable?: boolean | undefined;
|
|
286
|
+
density?: VcTableDensity | undefined;
|
|
287
287
|
stripe?: boolean | undefined;
|
|
288
288
|
rowUnselect?: boolean | undefined;
|
|
289
289
|
isServerData?: boolean | undefined;
|
|
@@ -321,18 +321,18 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
321
321
|
}): void;
|
|
322
322
|
attrs: any;
|
|
323
323
|
slots: Partial<Record<string, (_: {
|
|
324
|
-
column: ColumnTypeItem<
|
|
324
|
+
column: ColumnTypeItem<Option>;
|
|
325
325
|
}) => any>> & Partial<Record<`${string}-title`, (_: {
|
|
326
|
-
column: ColumnTypeItem<
|
|
326
|
+
column: ColumnTypeItem<Option>;
|
|
327
327
|
title: string;
|
|
328
328
|
}) => any>> & Partial<Record<`${string}-filter-option`, (_: {
|
|
329
329
|
option: {
|
|
330
330
|
value: string | number;
|
|
331
331
|
label: string;
|
|
332
332
|
};
|
|
333
|
-
column: ColumnTypeItem<
|
|
333
|
+
column: ColumnTypeItem<Option>;
|
|
334
334
|
}) => any>> & Partial<Record<`${string}-extra`, (_: {
|
|
335
|
-
column: ColumnTypeItem<
|
|
335
|
+
column: ColumnTypeItem<Option>;
|
|
336
336
|
}) => any>> & Partial<Record<string, (_: {
|
|
337
337
|
row: Option & {
|
|
338
338
|
selected?: boolean | undefined;
|
|
@@ -345,7 +345,7 @@ declare const _default: <Option extends object = Record<string, unknown>>(__VLS_
|
|
|
345
345
|
"checked-tooltip"?(_: {}): any;
|
|
346
346
|
"actions-column-header"?(_: {}): any;
|
|
347
347
|
"prepend-row"?(_: {
|
|
348
|
-
columns: ColumnType
|
|
348
|
+
columns: ColumnType<Option>;
|
|
349
349
|
}): any;
|
|
350
350
|
"actions-column"?(_: {
|
|
351
351
|
row: Option & {
|