@voicenter-team/voicenter-ui-plus 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -0
- package/library/favicon.ico +0 -0
- package/library/fonts/VC-icon.eot +0 -0
- package/library/fonts/VC-icon.svg +268 -0
- package/library/fonts/VC-icon.ttf +0 -0
- package/library/fonts/VC-icon.woff +0 -0
- package/library/icon-vc.css +753 -0
- package/library/images/logo-icon.svg +6 -0
- package/library/images/not-found.png +0 -0
- package/library/images/perfil.jpg +0 -0
- package/library/sound/test-audio.mp3 +0 -0
- package/library/style.css +1 -0
- package/library/super.mjs +24050 -0
- package/library/super.mjs.map +1 -0
- package/library/super.umd.js +37 -0
- package/library/super.umd.js.map +1 -0
- package/library/types/src/components/VcButton/VcButton.types.d.ts +5 -0
- package/library/types/src/components/VcButton/VcButton.vue.d.ts +94 -0
- package/library/types/src/components/VcButton/VcButtonIcon.vue.d.ts +89 -0
- package/library/types/src/components/VcCard/VcCard.vue.d.ts +23 -0
- package/library/types/src/components/VcCheckbox/VcCheckbox.vue.d.ts +133 -0
- package/library/types/src/components/VcCheckbox/VcCheckboxGroupEl.vue.d.ts +2 -0
- package/library/types/src/components/VcCheckbox/group.mixin.d.ts +60 -0
- package/library/types/src/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +140 -0
- package/library/types/src/components/VcCollapse/VcCollapse.vue.d.ts +33 -0
- package/library/types/src/components/VcCollapse/VcCollapseItem.vue.d.ts +106 -0
- package/library/types/src/components/VcCollapse/VcCollapseTransition.vue.d.ts +14 -0
- package/library/types/src/components/VcColorPicker/ColorPicker/ColorPicker.vue.d.ts +67 -0
- package/library/types/src/components/VcColorPicker/ColorPicker/Hue.vue.d.ts +40 -0
- package/library/types/src/components/VcColorPicker/ColorPicker/Saturation.vue.d.ts +49 -0
- package/library/types/src/components/VcColorPicker/ColorPicker/composible.d.ts +23 -0
- package/library/types/src/components/VcColorPicker/VcColorPicker.types.d.ts +10 -0
- package/library/types/src/components/VcColorPicker/VcColorPicker.vue.d.ts +65 -0
- package/library/types/src/components/VcDatetimeRangePicker/VcDatetimeRangePicker.types.d.ts +27 -0
- package/library/types/src/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue.d.ts +360 -0
- package/library/types/src/components/VcDelimitedList/VcDelimitedList.types.d.ts +4 -0
- package/library/types/src/components/VcDelimitedList/VcDelimitedList.vue.d.ts +92 -0
- package/library/types/src/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +208 -0
- package/library/types/src/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +96 -0
- package/library/types/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.types.d.ts +11 -0
- package/library/types/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +276 -0
- package/library/types/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.d.ts +51 -0
- package/library/types/src/components/VcExtendedDatetimeRangePicker/enum.d.ts +6 -0
- package/library/types/src/components/VcFileUploader/VcFileUploader.types.d.ts +4 -0
- package/library/types/src/components/VcFileUploader/VcFileUploader.vue.d.ts +388 -0
- package/library/types/src/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +204 -0
- package/library/types/src/components/VcForm/VcForm.vue.d.ts +348 -0
- package/library/types/src/components/VcForm/VcFormItem.vue.d.ts +69 -0
- package/library/types/src/components/VcHyperLink/VcHyperLink.types.d.ts +2 -0
- package/library/types/src/components/VcHyperLink/VcHyperLink.vue.d.ts +54 -0
- package/library/types/src/components/VcIconPicker/VcIconPicker.types.d.ts +15 -0
- package/library/types/src/components/VcIconPicker/VcIconPicker.vue.d.ts +105 -0
- package/library/types/src/components/VcIconPicker/iconPicker.mixin.d.ts +51 -0
- package/library/types/src/components/VcInput/VcInput.types.d.ts +2 -0
- package/library/types/src/components/VcInput/VcInput.vue.d.ts +202 -0
- package/library/types/src/components/VcInputNumber/VcInputNumber.vue.d.ts +256 -0
- package/library/types/src/components/VcLoading/Loaders/Circles.vue.d.ts +28 -0
- package/library/types/src/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +29 -0
- package/library/types/src/components/VcLoading/Loaders/LoadIcon.vue.d.ts +36 -0
- package/library/types/src/components/VcLoading/Loaders/Stretch.vue.d.ts +28 -0
- package/library/types/src/components/VcLoading/VcLoading.types.d.ts +1 -0
- package/library/types/src/components/VcLoading/VcLoading.vue.d.ts +66 -0
- package/library/types/src/components/VcModal/VcModal.types.d.ts +4 -0
- package/library/types/src/components/VcModal/VcModal.vue.d.ts +210 -0
- package/library/types/src/components/VcPagination/VcPagination.types.d.ts +4 -0
- package/library/types/src/components/VcPagination/VcPagination.vue.d.ts +64 -0
- package/library/types/src/components/VcPagination/VcPaginationButton.vue.d.ts +34 -0
- package/library/types/src/components/VcPopover/VcPopover.types.d.ts +3 -0
- package/library/types/src/components/VcPopover/VcPopover.vue.d.ts +150 -0
- package/library/types/src/components/VcProgress/VcProgress.types.d.ts +16 -0
- package/library/types/src/components/VcProgress/VcProgress.vue.d.ts +147 -0
- package/library/types/src/components/VcProgress/progress.options.d.ts +13 -0
- package/library/types/src/components/VcRadio/VcRadio.vue.d.ts +88 -0
- package/library/types/src/components/VcRadioGroup/VcRadioGroup.vue.d.ts +96 -0
- package/library/types/src/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.d.ts +41 -0
- package/library/types/src/components/VcRadioTabs/VcRadioTabs.vue.d.ts +78 -0
- package/library/types/src/components/VcSelect/VcSelect.options.d.ts +78 -0
- package/library/types/src/components/VcSelect/VcSelect.vue.d.ts +293 -0
- package/library/types/src/components/VcSkeletonLoader/Loaders/Card.vue.d.ts +18 -0
- package/library/types/src/components/VcSkeletonLoader/Loaders/Circle.vue.d.ts +28 -0
- package/library/types/src/components/VcSkeletonLoader/Loaders/Row.vue.d.ts +18 -0
- package/library/types/src/components/VcSkeletonLoader/Loaders/Square.vue.d.ts +28 -0
- package/library/types/src/components/VcSkeletonLoader/Loaders/Text.vue.d.ts +16 -0
- package/library/types/src/components/VcSkeletonLoader/VcSkeletonLoader.types.d.ts +1 -0
- package/library/types/src/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +81 -0
- package/library/types/src/components/VcSoundplayer/VcSoundPlayer.types.d.ts +2 -0
- package/library/types/src/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +130 -0
- package/library/types/src/components/VcSplitButton/VcSplitButton.types.d.ts +8 -0
- package/library/types/src/components/VcSplitButton/VcSplitButton.vue.d.ts +68 -0
- package/library/types/src/components/VcSwitch/VcSwitch.types.d.ts +1 -0
- package/library/types/src/components/VcSwitch/VcSwitch.vue.d.ts +151 -0
- package/library/types/src/components/VcTable/VcTable.types.d.ts +45 -0
- package/library/types/src/components/VcTable/VcTable.vue.d.ts +334 -0
- package/library/types/src/components/VcTable/tableOptions.d.ts +6 -0
- package/library/types/src/components/VcTabs/VcTabNav.vue.d.ts +54 -0
- package/library/types/src/components/VcTabs/VcTabPane.vue.d.ts +92 -0
- package/library/types/src/components/VcTabs/VcTabs.types.d.ts +14 -0
- package/library/types/src/components/VcTabs/VcTabs.vue.d.ts +62 -0
- package/library/types/src/components/VcTag/VcTag.types.d.ts +1 -0
- package/library/types/src/components/VcTag/VcTag.vue.d.ts +99 -0
- package/library/types/src/components/VcTagInput/VcTagInput.vue.d.ts +290 -0
- package/library/types/src/components/VcTimeInput/VcTimeInput.vue.d.ts +269 -0
- package/library/types/src/components/VcTree/VcTree.types.d.ts +36 -0
- package/library/types/src/components/VcTree/VcTree.vue.d.ts +209 -0
- package/library/types/src/components/VcTree/VcTreeNode.vue.d.ts +104 -0
- package/library/types/src/components/VcTree/VcTreeSelect.vue.d.ts +305 -0
- package/library/types/src/components/VcVerticalTabs/UiComponents/VerticalTabNav.vue.d.ts +54 -0
- package/library/types/src/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +76 -0
- package/library/types/src/components/VcViewSwitcher/VcViewSwitcher.vue.d.ts +74 -0
- package/library/types/src/components/VcWizard/VcSummaryProgress.vue.d.ts +55 -0
- package/library/types/src/components/VcWizard/VcSummaryStep.vue.d.ts +70 -0
- package/library/types/src/components/VcWizard/VcWizard.types.d.ts +15 -0
- package/library/types/src/components/VcWizard/VcWizard.vue.d.ts +157 -0
- package/library/types/src/components/VcWizard/VcWizardNavigation.vue.d.ts +110 -0
- package/library/types/src/components/VcWizard/VcWizardSummary.vue.d.ts +47 -0
- package/library/types/src/components/VcWizard/VcWizardTransition.vue.d.ts +83 -0
- package/library/types/src/components/index.d.ts +43 -0
- package/library/types/src/directives/resize.d.ts +6 -0
- package/library/types/src/entry.d.ts +2 -0
- package/library/types/src/entry.esm.d.ts +4 -0
- package/library/types/src/env.d.ts +18 -0
- package/library/types/src/localization/Localization.types.d.ts +17 -0
- package/library/types/src/localization/index.d.ts +9 -0
- package/library/types/src/mixins/common/appendTo.mixin.d.ts +19 -0
- package/library/types/src/mixins/defaultComponent.mixin.d.ts +14 -0
- package/library/types/src/mixins/input/baseInput.mixin.d.ts +100 -0
- package/library/types/src/mixins/input/color.mixin.d.ts +33 -0
- package/library/types/src/mixins/input/error.mixin.d.ts +23 -0
- package/library/types/src/mixins/input/input.mixin.d.ts +146 -0
- package/library/types/src/mixins/input/label.mixin.d.ts +52 -0
- package/library/types/src/mixins/optionMethods.mixin.d.ts +38 -0
- package/library/types/src/mixins/table/tableProps.mixin.d.ts +108 -0
- package/library/types/src/theme/index.d.ts +1 -0
- package/library/types/src/theme/theme.types.d.ts +6 -0
- package/library/types/src/types/AppendToTarget.types.d.ts +1 -0
- package/library/types/src/types/Entry.types.d.ts +6 -0
- package/library/types/src/types/OptionAndConfig.types.d.ts +23 -0
- package/library/types/src/types/VueGeneric.types.d.ts +1 -0
- package/library/types/src/utils/DomHandler.d.ts +5 -0
- package/library/types/src/utils/UniqueComponentId.d.ts +1 -0
- package/library/types/src/utils/ZIndexUtils.d.ts +12 -0
- package/library/types/src/utils/helpers.d.ts +6 -0
- package/library/types/src/utils/isValidTime.d.ts +2 -0
- package/package.json +66 -0
- package/src/assets/element/index.scss +161 -0
- package/src/assets/sass/main/_icons.scss +36 -0
- package/src/assets/sass/main/_loading.scss +51 -0
- package/src/assets/sass/main/_mixins.scss +339 -0
- package/src/assets/sass/main/_typography.scss +29 -0
- package/src/assets/sass/main.scss +9 -0
- package/src/components/VcButton/VcButton.scss +190 -0
- package/src/components/VcButton/VcButton.vue +117 -0
- package/src/components/VcButton/VcButtonIcon.scss +100 -0
- package/src/components/VcButton/VcButtonIcon.vue +97 -0
- package/src/components/VcCard/VcCard.vue +53 -0
- package/src/components/VcCheckbox/VcCheckbox.scss +66 -0
- package/src/components/VcCheckbox/VcCheckbox.vue +99 -0
- package/src/components/VcCheckbox/VcCheckboxGroupEl.vue +18 -0
- package/src/components/VcCheckboxGroup/VcCheckboxGroup.vue +164 -0
- package/src/components/VcCollapse/VcCollapse.vue +70 -0
- package/src/components/VcCollapse/VcCollapseItem.vue +229 -0
- package/src/components/VcCollapse/VcCollapseTransition.vue +78 -0
- package/src/components/VcColorPicker/ColorPicker/ColorPicker.vue +192 -0
- package/src/components/VcColorPicker/ColorPicker/Hue.vue +130 -0
- package/src/components/VcColorPicker/ColorPicker/Saturation.vue +146 -0
- package/src/components/VcColorPicker/VcColorPicker.vue +140 -0
- package/src/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue +474 -0
- package/src/components/VcDelimitedList/VcDelimitedList.vue +223 -0
- package/src/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue +166 -0
- package/src/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue +180 -0
- package/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue +178 -0
- package/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue +128 -0
- package/src/components/VcFileUploader/VcFileUploader.vue +324 -0
- package/src/components/VcForm/Styles/VcInputLabel.scss +24 -0
- package/src/components/VcForm/UiComponents/VcInputError.vue +31 -0
- package/src/components/VcForm/UiComponents/VcInputLabel.vue +67 -0
- package/src/components/VcForm/VcForm.vue +88 -0
- package/src/components/VcForm/VcFormItem.vue +115 -0
- package/src/components/VcHyperLink/VcHyperLink.vue +83 -0
- package/src/components/VcIconPicker/VcIconPicker.vue +142 -0
- package/src/components/VcInput/VcInput.vue +220 -0
- package/src/components/VcInputNumber/VcInputNumber.vue +128 -0
- package/src/components/VcLoading/Loaders/Circles.vue +100 -0
- package/src/components/VcLoading/Loaders/LdsSpinner.vue +52 -0
- package/src/components/VcLoading/Loaders/LoadIcon.vue +56 -0
- package/src/components/VcLoading/Loaders/Stretch.vue +82 -0
- package/src/components/VcLoading/VcLoading.vue +159 -0
- package/src/components/VcModal/VcModal.scss +227 -0
- package/src/components/VcModal/VcModal.vue +384 -0
- package/src/components/VcNotification/VcNotification.vue +302 -0
- package/src/components/VcNotification/VcNotificationMessage.vue +119 -0
- package/src/components/VcPagination/VcPagination.vue +175 -0
- package/src/components/VcPagination/VcPaginationButton.vue +37 -0
- package/src/components/VcPopover/VcPopover.vue +186 -0
- package/src/components/VcProgress/VcProgress.vue +235 -0
- package/src/components/VcRadio/VcRadio.scss +59 -0
- package/src/components/VcRadio/VcRadio.vue +89 -0
- package/src/components/VcRadioGroup/VcRadioGroup.vue +146 -0
- package/src/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue +128 -0
- package/src/components/VcRadioTabs/VcRadioTabs.vue +151 -0
- package/src/components/VcSelect/VcSelect.scss +135 -0
- package/src/components/VcSelect/VcSelect.vue +191 -0
- package/src/components/VcSkeletonLoader/Loaders/Card.vue +79 -0
- package/src/components/VcSkeletonLoader/Loaders/Circle.vue +45 -0
- package/src/components/VcSkeletonLoader/Loaders/Row.vue +36 -0
- package/src/components/VcSkeletonLoader/Loaders/Square.vue +44 -0
- package/src/components/VcSkeletonLoader/Loaders/Text.vue +42 -0
- package/src/components/VcSkeletonLoader/VcSkeletonLoader.vue +111 -0
- package/src/components/VcSoundplayer/VcSoundPlayer.vue +497 -0
- package/src/components/VcSplitButton/VcSplitButton.vue +338 -0
- package/src/components/VcSwitch/VcSwitch.vue +352 -0
- package/src/components/VcTable/VcTable.vue +869 -0
- package/src/components/VcTabs/VcTabNav.scss +120 -0
- package/src/components/VcTabs/VcTabNav.vue +203 -0
- package/src/components/VcTabs/VcTabPane.vue +128 -0
- package/src/components/VcTabs/VcTabs.vue +186 -0
- package/src/components/VcTag/VcTag.vue +186 -0
- package/src/components/VcTagInput/VcTagInput.vue +280 -0
- package/src/components/VcTagInput/VcTagInputStyle.scss +224 -0
- package/src/components/VcTimeInput/VcTimeInput.vue +441 -0
- package/src/components/VcTree/VcTree.vue +410 -0
- package/src/components/VcTree/VcTreeNode.vue +283 -0
- package/src/components/VcTree/VcTreeSelect.vue +472 -0
- package/src/components/VcVerticalTabs/UiComponents/VerticalTabNav.vue +99 -0
- package/src/components/VcVerticalTabs/VcVerticalTabs.vue +125 -0
- package/src/components/VcViewSwitcher/VcViewSwitcher.vue +137 -0
- package/src/components/VcWizard/VcSummaryProgress.vue +193 -0
- package/src/components/VcWizard/VcSummaryStep.vue +172 -0
- package/src/components/VcWizard/VcWizard.vue +292 -0
- package/src/components/VcWizard/VcWizardNavigation.vue +196 -0
- package/src/components/VcWizard/VcWizardSummary.vue +73 -0
- package/src/components/VcWizard/VcWizardTransition.vue +119 -0
- package/src/theme/index.ts +47 -0
- package/src/theme/tailwindConfig.js +143 -0
- package/src/theme/tailwindScheme.js +9 -0
- package/src/theme/theme.types.ts +6 -0
- package/src/theme/themes.json +130 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { VcSelectedKeys, VcTreeActionKeys, VcTreeChangeEvent, VcTreeConfig, VcTreeNodeType } from '../../components/VcTree/VcTree.types';
|
|
3
|
+
import { VcInputColor } from '../../components/VcInput/VcInput.types';
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
loading: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
config: {
|
|
10
|
+
type: PropType<VcTreeConfig>;
|
|
11
|
+
default: () => {
|
|
12
|
+
valueKey: string;
|
|
13
|
+
labelKey: string;
|
|
14
|
+
iconKey: string;
|
|
15
|
+
childrenKey: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
options: {
|
|
19
|
+
type: PropType<VcTreeNodeType[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
scrollHeight: {
|
|
23
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
expandedKeys: {
|
|
27
|
+
type: PropType<VcTreeActionKeys>;
|
|
28
|
+
default: () => {};
|
|
29
|
+
};
|
|
30
|
+
filterPlaceholder: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
selectable: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
returnedValue: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
defaultCheckedKeys: {
|
|
43
|
+
type: ArrayConstructor;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
46
|
+
emptyText: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
filterPrefixIcon: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
filterPrefixIconColor: {
|
|
55
|
+
type: PropType<VcInputColor>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
}, unknown, {
|
|
59
|
+
isReady: boolean;
|
|
60
|
+
filterValue: string;
|
|
61
|
+
selectedKeys: VcSelectedKeys;
|
|
62
|
+
localExpandedKeys: VcTreeActionKeys;
|
|
63
|
+
localOptions: VcTreeNodeType[];
|
|
64
|
+
}, {
|
|
65
|
+
isDisabled(): boolean;
|
|
66
|
+
childrenKey(): string;
|
|
67
|
+
nodeKey(): string;
|
|
68
|
+
filterable(): boolean;
|
|
69
|
+
filterBy(): string | undefined;
|
|
70
|
+
containerClass(): string[];
|
|
71
|
+
filteredValue(): {
|
|
72
|
+
[x: string]: any;
|
|
73
|
+
id?: string | undefined;
|
|
74
|
+
key?: string | undefined;
|
|
75
|
+
label?: string | undefined;
|
|
76
|
+
icon?: string | undefined;
|
|
77
|
+
children?: any[] | undefined;
|
|
78
|
+
parent?: any | undefined;
|
|
79
|
+
checked?: boolean | undefined;
|
|
80
|
+
_keyPath?: string | undefined;
|
|
81
|
+
}[];
|
|
82
|
+
filteredNodes(): {
|
|
83
|
+
[x: string]: any;
|
|
84
|
+
id?: string | undefined;
|
|
85
|
+
key?: string | undefined;
|
|
86
|
+
label?: string | undefined;
|
|
87
|
+
icon?: string | undefined;
|
|
88
|
+
children?: any[] | undefined;
|
|
89
|
+
parent?: any | undefined;
|
|
90
|
+
checked?: boolean | undefined;
|
|
91
|
+
_keyPath?: string | undefined;
|
|
92
|
+
}[];
|
|
93
|
+
maxHeightWrapper(): string | undefined;
|
|
94
|
+
emptyTextMessage(): string;
|
|
95
|
+
}, {
|
|
96
|
+
initData(): void;
|
|
97
|
+
setValue(val: VcSelectedKeys): void;
|
|
98
|
+
initOptions(data: VcTreeNodeType, keyOld: string | undefined, selectedData: VcSelectedKeys): VcTreeNodeType;
|
|
99
|
+
findFilteredNodes(node: VcTreeNodeType, params: any): boolean | undefined;
|
|
100
|
+
isFilterMatched(node: VcTreeNodeType, params: any): boolean;
|
|
101
|
+
onToggleNode(event: VcTreeNodeType): void;
|
|
102
|
+
updateChildren(data: VcTreeNodeType, val: boolean, selectedData: VcSelectedKeys): void;
|
|
103
|
+
updateParent(node: VcTreeNodeType | undefined, selectedData: VcSelectedKeys): void;
|
|
104
|
+
onChangeNode(event: VcTreeChangeEvent): void;
|
|
105
|
+
}, import("vue").DefineComponent<{
|
|
106
|
+
prefixIconColor: {
|
|
107
|
+
type: PropType<VcInputColor>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
color: {
|
|
111
|
+
type: PropType<VcInputColor>;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
}, unknown, {
|
|
115
|
+
colorClass: string;
|
|
116
|
+
iconColorClass: string;
|
|
117
|
+
}, {
|
|
118
|
+
inputClasses(): string;
|
|
119
|
+
prefixIconColorValue(): string;
|
|
120
|
+
prefixIconColorIsHex(): boolean;
|
|
121
|
+
prefixStyle(): import("vue").CSSProperties;
|
|
122
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
123
|
+
prefixIconColor: {
|
|
124
|
+
type: PropType<VcInputColor>;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
color: {
|
|
128
|
+
type: PropType<VcInputColor>;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
}>>, {
|
|
132
|
+
color: VcInputColor;
|
|
133
|
+
prefixIconColor: VcInputColor;
|
|
134
|
+
}>, import("vue").ComponentOptionsMixin, ("node-collapse" | "node-expand" | "update:expandedKeys" | "update:selectedKeys" | "node-select" | "node-unselect")[], "node-collapse" | "node-expand" | "update:expandedKeys" | "update:selectedKeys" | "node-select" | "node-unselect", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
135
|
+
loading: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
config: {
|
|
140
|
+
type: PropType<VcTreeConfig>;
|
|
141
|
+
default: () => {
|
|
142
|
+
valueKey: string;
|
|
143
|
+
labelKey: string;
|
|
144
|
+
iconKey: string;
|
|
145
|
+
childrenKey: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
options: {
|
|
149
|
+
type: PropType<VcTreeNodeType[]>;
|
|
150
|
+
default: () => never[];
|
|
151
|
+
};
|
|
152
|
+
scrollHeight: {
|
|
153
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
154
|
+
default: undefined;
|
|
155
|
+
};
|
|
156
|
+
expandedKeys: {
|
|
157
|
+
type: PropType<VcTreeActionKeys>;
|
|
158
|
+
default: () => {};
|
|
159
|
+
};
|
|
160
|
+
filterPlaceholder: {
|
|
161
|
+
type: StringConstructor;
|
|
162
|
+
default: string;
|
|
163
|
+
};
|
|
164
|
+
selectable: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
returnedValue: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
defaultCheckedKeys: {
|
|
173
|
+
type: ArrayConstructor;
|
|
174
|
+
default: () => never[];
|
|
175
|
+
};
|
|
176
|
+
emptyText: {
|
|
177
|
+
type: StringConstructor;
|
|
178
|
+
default: string;
|
|
179
|
+
};
|
|
180
|
+
filterPrefixIcon: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
filterPrefixIconColor: {
|
|
185
|
+
type: PropType<VcInputColor>;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
}>> & {
|
|
189
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
|
190
|
+
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
"onUpdate:expandedKeys"?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
"onUpdate:selectedKeys"?: ((...args: any[]) => any) | undefined;
|
|
193
|
+
"onNode-select"?: ((...args: any[]) => any) | undefined;
|
|
194
|
+
"onNode-unselect"?: ((...args: any[]) => any) | undefined;
|
|
195
|
+
}, {
|
|
196
|
+
loading: boolean;
|
|
197
|
+
config: VcTreeConfig;
|
|
198
|
+
emptyText: string;
|
|
199
|
+
options: VcTreeNodeType[];
|
|
200
|
+
expandedKeys: VcTreeActionKeys;
|
|
201
|
+
selectable: boolean;
|
|
202
|
+
scrollHeight: string | number;
|
|
203
|
+
filterPlaceholder: string;
|
|
204
|
+
returnedValue: string;
|
|
205
|
+
defaultCheckedKeys: unknown[];
|
|
206
|
+
filterPrefixIcon: string;
|
|
207
|
+
filterPrefixIconColor: VcInputColor;
|
|
208
|
+
}>;
|
|
209
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { VcTreeActionKeys, VcTreeChangeEvent, VcTreeConfig, VcTreeNodeType } from '../../components/VcTree/VcTree.types';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
isRoot: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
node: {
|
|
9
|
+
type: PropType<VcTreeNodeType>;
|
|
10
|
+
default: () => {};
|
|
11
|
+
};
|
|
12
|
+
expandedKeys: {
|
|
13
|
+
type: PropType<VcTreeActionKeys>;
|
|
14
|
+
default: () => {};
|
|
15
|
+
};
|
|
16
|
+
selectedKeys: {
|
|
17
|
+
type: PropType<VcTreeActionKeys>;
|
|
18
|
+
default: () => {};
|
|
19
|
+
};
|
|
20
|
+
selectable: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
config: {
|
|
25
|
+
type: PropType<VcTreeConfig>;
|
|
26
|
+
default: () => {
|
|
27
|
+
valueKey: string;
|
|
28
|
+
labelKey: string;
|
|
29
|
+
iconKey: string;
|
|
30
|
+
childrenKey: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
}, unknown, {
|
|
38
|
+
localNodeData: VcTreeNodeType;
|
|
39
|
+
}, {
|
|
40
|
+
childrenKey(): string;
|
|
41
|
+
children(): VcTreeNodeType[];
|
|
42
|
+
nodeKey(): string | number;
|
|
43
|
+
nodeKeyValue(): any;
|
|
44
|
+
nodeIcon(): string;
|
|
45
|
+
nodeLabel(): string;
|
|
46
|
+
hasChildren(): boolean;
|
|
47
|
+
expanded(): boolean;
|
|
48
|
+
checked(): boolean;
|
|
49
|
+
partialChecked(): boolean;
|
|
50
|
+
}, {
|
|
51
|
+
setLocalData(): void;
|
|
52
|
+
checkNodeChildren(node: VcTreeNodeType): boolean;
|
|
53
|
+
onChangeChildrenNode(event: VcTreeChangeEvent): void;
|
|
54
|
+
getParentNode(): VcTreeNodeType;
|
|
55
|
+
onNodeClick(): void;
|
|
56
|
+
expandIconClick(): void;
|
|
57
|
+
onToggleChildrenNode(node: VcTreeNodeType): void;
|
|
58
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("node-change" | "node-toggle")[], "node-change" | "node-toggle", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
+
isRoot: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
node: {
|
|
64
|
+
type: PropType<VcTreeNodeType>;
|
|
65
|
+
default: () => {};
|
|
66
|
+
};
|
|
67
|
+
expandedKeys: {
|
|
68
|
+
type: PropType<VcTreeActionKeys>;
|
|
69
|
+
default: () => {};
|
|
70
|
+
};
|
|
71
|
+
selectedKeys: {
|
|
72
|
+
type: PropType<VcTreeActionKeys>;
|
|
73
|
+
default: () => {};
|
|
74
|
+
};
|
|
75
|
+
selectable: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
config: {
|
|
80
|
+
type: PropType<VcTreeConfig>;
|
|
81
|
+
default: () => {
|
|
82
|
+
valueKey: string;
|
|
83
|
+
labelKey: string;
|
|
84
|
+
iconKey: string;
|
|
85
|
+
childrenKey: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
disabled: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
}>> & {
|
|
93
|
+
"onNode-change"?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
"onNode-toggle"?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
config: VcTreeConfig;
|
|
98
|
+
node: VcTreeNodeType;
|
|
99
|
+
isRoot: boolean;
|
|
100
|
+
expandedKeys: VcTreeActionKeys;
|
|
101
|
+
selectedKeys: VcTreeActionKeys;
|
|
102
|
+
selectable: boolean;
|
|
103
|
+
}>;
|
|
104
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { VcTagColorType } from '../../components/VcTag/VcTag.types';
|
|
3
|
+
import { VcTreeActionKeys, VcTreeConfig, VcTreeNodeType } from '../../components/VcTree/VcTree.types';
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: PropType<VcTreeNodeType[]>;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
class: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
style: {
|
|
14
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
tagColor: {
|
|
18
|
+
type: PropType<VcTagColorType>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
tagBorderless: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
config: {
|
|
26
|
+
type: PropType<VcTreeConfig>;
|
|
27
|
+
default: () => {
|
|
28
|
+
valueKey: string;
|
|
29
|
+
labelKey: string;
|
|
30
|
+
iconKey: string;
|
|
31
|
+
childrenKey: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
options: {
|
|
35
|
+
type: PropType<VcTreeNodeType[]>;
|
|
36
|
+
default: () => never[];
|
|
37
|
+
};
|
|
38
|
+
returnedValue: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
loading: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
emptyText: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
tagsLimit: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
scrollHeight: {
|
|
55
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
}, unknown, {
|
|
59
|
+
colorClass: string;
|
|
60
|
+
containerWidth: string;
|
|
61
|
+
focused: boolean;
|
|
62
|
+
tagMaxContent: string;
|
|
63
|
+
open: boolean;
|
|
64
|
+
localData: VcTreeNodeType[];
|
|
65
|
+
expandedKeys: VcTreeActionKeys[];
|
|
66
|
+
}, {
|
|
67
|
+
inputField(): unknown;
|
|
68
|
+
nodeKey(): string | number;
|
|
69
|
+
selectedModel: {
|
|
70
|
+
get(): VcTreeNodeType[];
|
|
71
|
+
set(val: VcTreeNodeType[]): void;
|
|
72
|
+
};
|
|
73
|
+
checkedKeys(): any[];
|
|
74
|
+
inputClasses(): (string)[];
|
|
75
|
+
containerClass(): (string | {
|
|
76
|
+
'vc-tree-select__wrap--filled': boolean;
|
|
77
|
+
'vc-tree-select__wrap--focus': boolean;
|
|
78
|
+
'vc-tree-select__wrap--error': boolean;
|
|
79
|
+
'vc-tree-select__wrap--disabled': boolean;
|
|
80
|
+
})[];
|
|
81
|
+
emptyTextMessage(): string;
|
|
82
|
+
}, {
|
|
83
|
+
onClickOutside(): void;
|
|
84
|
+
emitData(val: VcTreeNodeType[]): void;
|
|
85
|
+
onWrapperClick(): void;
|
|
86
|
+
closeDropdown(): void;
|
|
87
|
+
onRemoveTag(data: VcTreeNodeType): void;
|
|
88
|
+
onSelectedKeys(data: VcTreeNodeType[]): void;
|
|
89
|
+
setContainerWidth(): void;
|
|
90
|
+
}, import("vue").DefineComponent<{
|
|
91
|
+
clearable: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
isError: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
emptyText: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
maxWidth: {
|
|
104
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
}, unknown, unknown, {
|
|
108
|
+
setMaxWidth(): string;
|
|
109
|
+
}, {
|
|
110
|
+
setValue(val: number): void;
|
|
111
|
+
}, import("vue").DefineComponent<{
|
|
112
|
+
id: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: undefined;
|
|
115
|
+
};
|
|
116
|
+
modelValue: {
|
|
117
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
disabled: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
prefixIcon: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
dataTestName: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
prefixIconSize: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
name: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
}, unknown, {
|
|
141
|
+
defaultPrefixIcon: string;
|
|
142
|
+
}, {
|
|
143
|
+
prefixClasses(): string[];
|
|
144
|
+
}, {}, import("vue").DefineComponent<{
|
|
145
|
+
prefixIconColor: {
|
|
146
|
+
type: PropType<import("../VcInput/VcInput.types").VcInputColor>;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
color: {
|
|
150
|
+
type: PropType<import("../VcInput/VcInput.types").VcInputColor>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
}, unknown, {
|
|
154
|
+
colorClass: string;
|
|
155
|
+
iconColorClass: string;
|
|
156
|
+
}, {
|
|
157
|
+
inputClasses(): string;
|
|
158
|
+
prefixIconColorValue(): string;
|
|
159
|
+
prefixIconColorIsHex(): boolean;
|
|
160
|
+
prefixStyle(): import("vue").CSSProperties;
|
|
161
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
162
|
+
prefixIconColor: {
|
|
163
|
+
type: PropType<import("../VcInput/VcInput.types").VcInputColor>;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
color: {
|
|
167
|
+
type: PropType<import("../VcInput/VcInput.types").VcInputColor>;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
}>>, {
|
|
171
|
+
color: import("../VcInput/VcInput.types").VcInputColor;
|
|
172
|
+
prefixIconColor: import("../VcInput/VcInput.types").VcInputColor;
|
|
173
|
+
}>, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
174
|
+
id: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
default: undefined;
|
|
177
|
+
};
|
|
178
|
+
modelValue: {
|
|
179
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
180
|
+
required: true;
|
|
181
|
+
};
|
|
182
|
+
disabled: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
prefixIcon: {
|
|
187
|
+
type: StringConstructor;
|
|
188
|
+
default: string;
|
|
189
|
+
};
|
|
190
|
+
dataTestName: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
prefixIconSize: {
|
|
195
|
+
type: StringConstructor;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
name: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: undefined;
|
|
201
|
+
};
|
|
202
|
+
}>>, {
|
|
203
|
+
name: string;
|
|
204
|
+
disabled: boolean;
|
|
205
|
+
dataTestName: string;
|
|
206
|
+
id: string;
|
|
207
|
+
prefixIcon: string;
|
|
208
|
+
prefixIconSize: string;
|
|
209
|
+
}>, import("vue").ComponentOptionsMixin, ("update:modelValue" | "input")[], "update:modelValue" | "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
210
|
+
clearable: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
isError: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
218
|
+
emptyText: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
default: string;
|
|
221
|
+
};
|
|
222
|
+
maxWidth: {
|
|
223
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
}>> & {
|
|
227
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
228
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
229
|
+
}, {
|
|
230
|
+
clearable: boolean;
|
|
231
|
+
isError: boolean;
|
|
232
|
+
emptyText: string;
|
|
233
|
+
maxWidth: string | number;
|
|
234
|
+
}>, import("vue").ComponentOptionsMixin, ("update:modelValue" | "on-change")[], "update:modelValue" | "on-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
235
|
+
modelValue: {
|
|
236
|
+
type: PropType<VcTreeNodeType[]>;
|
|
237
|
+
default: undefined;
|
|
238
|
+
};
|
|
239
|
+
class: {
|
|
240
|
+
type: StringConstructor;
|
|
241
|
+
default: string;
|
|
242
|
+
};
|
|
243
|
+
style: {
|
|
244
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
245
|
+
default: null;
|
|
246
|
+
};
|
|
247
|
+
tagColor: {
|
|
248
|
+
type: PropType<VcTagColorType>;
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
tagBorderless: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
255
|
+
config: {
|
|
256
|
+
type: PropType<VcTreeConfig>;
|
|
257
|
+
default: () => {
|
|
258
|
+
valueKey: string;
|
|
259
|
+
labelKey: string;
|
|
260
|
+
iconKey: string;
|
|
261
|
+
childrenKey: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
options: {
|
|
265
|
+
type: PropType<VcTreeNodeType[]>;
|
|
266
|
+
default: () => never[];
|
|
267
|
+
};
|
|
268
|
+
returnedValue: {
|
|
269
|
+
type: StringConstructor;
|
|
270
|
+
default: string;
|
|
271
|
+
};
|
|
272
|
+
loading: {
|
|
273
|
+
type: BooleanConstructor;
|
|
274
|
+
default: boolean;
|
|
275
|
+
};
|
|
276
|
+
emptyText: {
|
|
277
|
+
type: StringConstructor;
|
|
278
|
+
default: string;
|
|
279
|
+
};
|
|
280
|
+
tagsLimit: {
|
|
281
|
+
type: NumberConstructor;
|
|
282
|
+
default: number;
|
|
283
|
+
};
|
|
284
|
+
scrollHeight: {
|
|
285
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
286
|
+
default: number;
|
|
287
|
+
};
|
|
288
|
+
}>> & {
|
|
289
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
290
|
+
"onOn-change"?: ((...args: any[]) => any) | undefined;
|
|
291
|
+
}, {
|
|
292
|
+
loading: boolean;
|
|
293
|
+
modelValue: VcTreeNodeType[];
|
|
294
|
+
config: VcTreeConfig;
|
|
295
|
+
emptyText: string;
|
|
296
|
+
style: string | Record<string, any>;
|
|
297
|
+
options: VcTreeNodeType[];
|
|
298
|
+
class: string;
|
|
299
|
+
scrollHeight: string | number;
|
|
300
|
+
returnedValue: string;
|
|
301
|
+
tagColor: VcTagColorType;
|
|
302
|
+
tagBorderless: boolean;
|
|
303
|
+
tagsLimit: number;
|
|
304
|
+
}>;
|
|
305
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { OptionType } from '../../../types/OptionAndConfig.types';
|
|
2
|
+
import { KeyAttributeType } from '../../../types/VueGeneric.types';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
activeIndex: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}, unknown, {
|
|
9
|
+
activeTab: unknown;
|
|
10
|
+
}, {}, {
|
|
11
|
+
onClick(option: OptionType, item: KeyAttributeType): void;
|
|
12
|
+
}, import("vue").DefineComponent<{
|
|
13
|
+
config: {
|
|
14
|
+
type: import("vue").PropType<import('../../../types/OptionAndConfig.types').ConfigType>;
|
|
15
|
+
default: () => import('../../../types/OptionAndConfig.types').ConfigType;
|
|
16
|
+
};
|
|
17
|
+
options: {
|
|
18
|
+
type: import("vue").PropType<OptionType[]>;
|
|
19
|
+
default: () => OptionType[];
|
|
20
|
+
};
|
|
21
|
+
}, unknown, unknown, {}, {
|
|
22
|
+
optionKey(option: OptionType, index: number, config: import('../../../types/OptionAndConfig.types').ConfigType): KeyAttributeType;
|
|
23
|
+
optionValue(option: OptionType, config: import('../../../types/OptionAndConfig.types').ConfigType): import('../../../types/OptionAndConfig.types').OptionValueType;
|
|
24
|
+
optionLabel(option: OptionType | undefined, config: import('../../../types/OptionAndConfig.types').ConfigType): string;
|
|
25
|
+
optionIcon(option: OptionType, config: import('../../../types/OptionAndConfig.types').ConfigType): string;
|
|
26
|
+
optionDisabled(option: OptionType, config: import('../../../types/OptionAndConfig.types').ConfigType): boolean;
|
|
27
|
+
optionIconColorHex(option: OptionType, config: import('../../../types/OptionAndConfig.types').ConfigType): string;
|
|
28
|
+
optionSearchKeys(option: OptionType, config: import('../../../types/OptionAndConfig.types').ConfigType): string[];
|
|
29
|
+
optionClass(option: OptionType, config: import('../../../types/OptionAndConfig.types').ConfigType): string | [string];
|
|
30
|
+
optionStyle(option: OptionType, config: import('../../../types/OptionAndConfig.types').ConfigType): string | {
|
|
31
|
+
[key: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
config: {
|
|
35
|
+
type: import("vue").PropType<import('../../../types/OptionAndConfig.types').ConfigType>;
|
|
36
|
+
default: () => import('../../../types/OptionAndConfig.types').ConfigType;
|
|
37
|
+
};
|
|
38
|
+
options: {
|
|
39
|
+
type: import("vue").PropType<OptionType[]>;
|
|
40
|
+
default: () => OptionType[];
|
|
41
|
+
};
|
|
42
|
+
}>>, {
|
|
43
|
+
config: import('../../../types/OptionAndConfig.types').ConfigType;
|
|
44
|
+
options: OptionType[];
|
|
45
|
+
}>, import("vue").ComponentOptionsMixin, ("change" | "indexOfActiveElement")[], "change" | "indexOfActiveElement", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
activeIndex: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
}>> & {
|
|
51
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
onIndexOfActiveElement?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
}, {}>;
|
|
54
|
+
export default _sfc_main;
|