@voicenter-team/voicenter-ui-plus 3.4.0 → 3.4.2
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 +502 -502
- package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
- package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
- package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
- package/library/components/VcForm/VcForm.vue.mjs +1 -1
- package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
- package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
- package/library/components/VcInput/VcInput.vue.mjs +1 -1
- package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
- package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
- package/library/components/VcModal/VcConfirmModal.vue.mjs +30 -12
- package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
- package/library/components/VcSelect/VcSelect.vue.mjs +1 -1
- package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
- package/library/components/VcTree/VcTree.vue.mjs +8 -2
- package/library/components/VcTree/VcTreeSelect.vue.mjs +7 -1
- package/library/composables/useConfirmModal.mjs +8 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/index.mjs.gz +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs.gz +0 -0
- package/library/types/components/VcTree/VcTree.vue.d.ts +9 -0
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +9 -0
- package/library/types/composables/useConfirmModal.d.ts +9 -0
- package/library/utils/jsonSchema/index.mjs.gz +0 -0
- package/package.json +185 -185
- package/tailwind.config.js +192 -192
- /package/library/assets/node_modules/element-plus/theme-chalk/src/{date-picker.css → tooltip.css} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, toRef, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { ElCheckbox } from "element-plus";
|
|
3
|
-
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcCheckbox/VcCheckbox.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, toRef, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { ElCheckboxButton } from "element-plus";
|
|
3
|
-
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcCheckbox/VcCheckboxButton.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, markRaw, h, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { ElDatePicker } from "element-plus";
|
|
3
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcDatePicker/VcDatePicker.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, normalizeClass, renderSlot, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { ElDropdownItem } from "element-plus";
|
|
3
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcDropdown/VcDropdownItem.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { convertToUnit } from "../../utils/helpers.mjs";
|
|
3
3
|
import { ElForm } from "element-plus";
|
|
4
|
-
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
4
|
+
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, normalizeClass, createSlots, createCommentVNode, createElementBlock, Fragment } from "vue";
|
|
2
2
|
import { ElFormItem } from "element-plus";
|
|
3
|
-
import '../../assets/components/VcForm/UiComponents/VcInputLabel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcForm/UiComponents/VcInputLabel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcForm/VcFormItem.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, unref, toDisplayString, createBlock, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { ElTooltip } from "element-plus";
|
|
3
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/components/VcPopover/VcPopover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/components/VcPopover/VcPopover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { htmlHeadingMenuItems, htmlInsertMenuItems, getParameterDisplayLabel } from "./htmlEditor.config.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createVNode, normalizeStyle, normalizeClass, createCommentVNode } from "vue";
|
|
2
2
|
import { ElInput } from "element-plus";
|
|
3
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcInput/VcInput.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, ref, computed, onMounted, nextTick, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, createCommentVNode, mergeProps, isRef } from "vue";
|
|
2
2
|
import { MilkdownProvider } from "@milkdown/vue";
|
|
3
3
|
import _sfc_main$3 from "./VcMdEditorContent.vue.mjs";
|
|
4
|
-
import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
4
|
+
import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';import '../../assets/components/VcMdEditor/VcMdEditorContent.css';/* empty css */
|
|
5
5
|
import { useVModel } from "@vueuse/core";
|
|
6
6
|
import { convertToUnit } from "../../utils/helpers.mjs";
|
|
7
7
|
import { markdown } from "@codemirror/lang-markdown";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, unref, toDisplayString, createBlock, createCommentVNode, nextTick } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../VcPopover/VcPopover.vue.mjs";
|
|
3
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/cascader-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/virtual-list.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';import '../../assets/components/VcPopover/VcPopover.css';/* empty css */
|
|
4
4
|
import { headingMenuItems, listMenuItems, advancedMenuItems } from "./mdEditor.config.mjs";
|
|
5
5
|
import { isGroupParameter } from "../../types/VcMdEditor.types.mjs";
|
|
6
6
|
import { ElCascaderPanel, ElTooltip } from "element-plus";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createBlock, withCtx, createElementVNode, createTextVNode, toDisplayString, resolveDynamicComponent, createCommentVNode, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createTextVNode, toDisplayString, resolveDynamicComponent, createCommentVNode, createVNode } from "vue";
|
|
2
2
|
import { confirmModalState } from "../../composables/useConfirmModal.mjs";
|
|
3
3
|
import _sfc_main$1 from "./VcModal.vue.mjs";
|
|
4
4
|
import '../../assets/components/VcButton/VcButton.css';import '../../assets/components/VcModal/VcModal.css';/* empty css */
|
|
@@ -7,12 +7,12 @@ import _sfc_main$2 from "../VcButton/VcButton.vue.mjs";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
const _hoisted_1 = { class: "w-full flex items-center justify-center" };
|
|
9
9
|
const _hoisted_2 = { class: "mx-1 text-lg font-bold md:font-medium text-center" };
|
|
10
|
-
const _hoisted_3 = {
|
|
11
|
-
const _hoisted_4 = { class: "w-64 text-base font-normal text-default-text text-center" };
|
|
12
|
-
const _hoisted_5 = {
|
|
10
|
+
const _hoisted_3 = {
|
|
13
11
|
class: "w-full flex justify-between items-center gap-4",
|
|
14
12
|
"data-test": "modal-action-buttons"
|
|
15
13
|
};
|
|
14
|
+
const CONTENT_WRAPPER_CLASS = "w-full flex flex-col items-center justify-center py-6";
|
|
15
|
+
const CONTENT_CLASS = "w-64 text-base font-normal text-default-text text-center";
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
__name: "VcConfirmModal",
|
|
18
18
|
props: {
|
|
@@ -42,6 +42,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
const renderContent = computed(() => {
|
|
43
43
|
return confirmModalState.value.renderContent;
|
|
44
44
|
});
|
|
45
|
+
const showMessage = computed(() => {
|
|
46
|
+
return confirmModalState.value.showMessage;
|
|
47
|
+
});
|
|
48
|
+
const contentWrapperClass = computed(() => {
|
|
49
|
+
return confirmModalState.value.contentWrapperClass || CONTENT_WRAPPER_CLASS;
|
|
50
|
+
});
|
|
51
|
+
const contentClass = computed(() => {
|
|
52
|
+
return confirmModalState.value.contentClass || CONTENT_CLASS;
|
|
53
|
+
});
|
|
54
|
+
const buttonSize = computed(() => {
|
|
55
|
+
return confirmModalState.value.buttonSize || "middle";
|
|
56
|
+
});
|
|
45
57
|
const type = computed(() => {
|
|
46
58
|
return confirmModalState.value.type;
|
|
47
59
|
});
|
|
@@ -111,8 +123,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
123
|
])
|
|
112
124
|
]),
|
|
113
125
|
footer: withCtx(() => [
|
|
114
|
-
createElementVNode("div",
|
|
126
|
+
createElementVNode("div", _hoisted_3, [
|
|
115
127
|
createVNode(_sfc_main$2, {
|
|
128
|
+
size: buttonSize.value,
|
|
116
129
|
icon: "vc-icon-close",
|
|
117
130
|
type: "outline",
|
|
118
131
|
color: "secondary",
|
|
@@ -123,10 +136,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
123
136
|
createTextVNode(toDisplayString(cancelLabel.value), 1)
|
|
124
137
|
]),
|
|
125
138
|
_: 1
|
|
126
|
-
}),
|
|
139
|
+
}, 8, ["size"]),
|
|
127
140
|
createVNode(_sfc_main$2, {
|
|
128
141
|
icon: buttonConfirmIcon.value,
|
|
129
142
|
color: buttonConfirmColor.value,
|
|
143
|
+
size: buttonSize.value,
|
|
130
144
|
"data-test-name": "button-confirm",
|
|
131
145
|
onClick: confirm
|
|
132
146
|
}, {
|
|
@@ -134,16 +148,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
148
|
createTextVNode(toDisplayString(confirmLabel.value), 1)
|
|
135
149
|
]),
|
|
136
150
|
_: 1
|
|
137
|
-
}, 8, ["icon", "color"])
|
|
151
|
+
}, 8, ["icon", "color", "size"])
|
|
138
152
|
])
|
|
139
153
|
]),
|
|
140
154
|
default: withCtx(() => [
|
|
141
|
-
createElementVNode("div",
|
|
142
|
-
|
|
143
|
-
|
|
155
|
+
createElementVNode("div", {
|
|
156
|
+
class: normalizeClass(contentWrapperClass.value)
|
|
157
|
+
}, [
|
|
158
|
+
createElementVNode("div", {
|
|
159
|
+
class: normalizeClass(contentClass.value)
|
|
160
|
+
}, [
|
|
161
|
+
createTextVNode(toDisplayString(showMessage.value ? message.value || defaultMessage.value : "") + " ", 1),
|
|
144
162
|
renderContent.value ? (openBlock(), createBlock(resolveDynamicComponent(renderContent.value), { key: 0 })) : createCommentVNode("", true)
|
|
145
|
-
])
|
|
146
|
-
])
|
|
163
|
+
], 2)
|
|
164
|
+
], 2)
|
|
147
165
|
]),
|
|
148
166
|
_: 1
|
|
149
167
|
}, 8, ["append-to", "visible"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { ElRadio } from "element-plus";
|
|
3
|
-
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcRadio/VcRadio.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, markRaw, h, watch, openBlock, createBlock, unref, mergeProps, isRef, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createVNode, createTextVNode, toDisplayString, createCommentVNode, renderList, createElementVNode, normalizeStyle, normalizeClass } from "vue";
|
|
2
2
|
import { ElSelect } from "element-plus";
|
|
3
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcSelect/VcSelect.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps } from "vue";
|
|
2
2
|
import { ElSlider } from "element-plus";
|
|
3
|
-
import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcSlider/VcSlider.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -42,7 +42,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
filterPrefixIconColor: { default: "" },
|
|
43
43
|
useTypes: { default: () => [] },
|
|
44
44
|
scrollHeight: { default: void 0 },
|
|
45
|
-
|
|
45
|
+
indent: { default: 18 },
|
|
46
|
+
clearFilterOnOptionsChange: { type: Boolean, default: true },
|
|
47
|
+
accordion: { type: Boolean, default: false },
|
|
48
|
+
checkStrictly: { type: Boolean, default: false }
|
|
46
49
|
},
|
|
47
50
|
emits: ["update:selectedKeys", "update:selectNode", "update:selectedNodes"],
|
|
48
51
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -322,6 +325,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
322
325
|
"filter-node-method": filterNodeFn,
|
|
323
326
|
props: elTreeProps.value,
|
|
324
327
|
"node-key": String(props.nodeKey),
|
|
328
|
+
"check-strictly": __props.checkStrictly,
|
|
329
|
+
accordion: __props.accordion,
|
|
330
|
+
indent: __props.indent,
|
|
325
331
|
"auto-expand-parent": "",
|
|
326
332
|
onCheck: handleCheck
|
|
327
333
|
}, {
|
|
@@ -345,7 +351,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
345
351
|
], 2))
|
|
346
352
|
]),
|
|
347
353
|
_: 3
|
|
348
|
-
}, 8, ["data", "empty-text", "show-checkbox", "default-expand-all", "default-expanded-keys", "default-checked-keys", "props", "node-key"])
|
|
354
|
+
}, 8, ["data", "empty-text", "show-checkbox", "default-expand-all", "default-expanded-keys", "default-checked-keys", "props", "node-key", "check-strictly", "accordion", "indent"])
|
|
349
355
|
], 4),
|
|
350
356
|
createVNode(VcLoading, {
|
|
351
357
|
active: __props.loading,
|
|
@@ -50,6 +50,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
50
|
useTypes: { default: () => [] },
|
|
51
51
|
returnedType: { default: "parentOnly" },
|
|
52
52
|
tagsSquare: { type: Boolean, default: false },
|
|
53
|
+
indent: { default: 18 },
|
|
54
|
+
accordion: { type: Boolean, default: false },
|
|
55
|
+
checkStrictly: { type: Boolean, default: false },
|
|
53
56
|
clearFilterOnOptionsChange: { type: Boolean, default: true },
|
|
54
57
|
id: {},
|
|
55
58
|
disabled: { type: Boolean },
|
|
@@ -330,6 +333,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
330
333
|
"default-checked-keys": checkedKeys.value,
|
|
331
334
|
"expanded-keys": checkedKeys.value,
|
|
332
335
|
"clear-filter-on-options-change": __props.clearFilterOnOptionsChange,
|
|
336
|
+
"check-strictly": __props.checkStrictly,
|
|
337
|
+
accordion: __props.accordion,
|
|
338
|
+
indent: __props.indent,
|
|
333
339
|
"onUpdate:selectedNodes": onSelectedNodes
|
|
334
340
|
}, createSlots({ _: 2 }, [
|
|
335
341
|
_ctx.$slots["option-label"] ? {
|
|
@@ -348,7 +354,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
348
354
|
]),
|
|
349
355
|
key: "1"
|
|
350
356
|
} : void 0
|
|
351
|
-
]), 1032, ["config", "options", "scroll-height", "empty-text", "node-key", "color", "loading", "use-types", "default-checked-keys", "expanded-keys", "clear-filter-on-options-change"])) : (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(emptyTextMessage.value), 1))
|
|
357
|
+
]), 1032, ["config", "options", "scroll-height", "empty-text", "node-key", "color", "loading", "use-types", "default-checked-keys", "expanded-keys", "clear-filter-on-options-change", "check-strictly", "accordion", "indent"])) : (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(emptyTextMessage.value), 1))
|
|
352
358
|
])
|
|
353
359
|
], 4)), [
|
|
354
360
|
[unref(ClickOutside), onClickOutside, inputFieldRef.value]
|
|
@@ -12,6 +12,10 @@ class ConfirmStateClass {
|
|
|
12
12
|
__publicField(this, "modalConfirmLabel");
|
|
13
13
|
__publicField(this, "modalCancelLabel");
|
|
14
14
|
__publicField(this, "renderContent");
|
|
15
|
+
__publicField(this, "showMessage");
|
|
16
|
+
__publicField(this, "contentWrapperClass");
|
|
17
|
+
__publicField(this, "contentClass");
|
|
18
|
+
__publicField(this, "buttonSize");
|
|
15
19
|
}
|
|
16
20
|
openModal(params) {
|
|
17
21
|
this.header = params.header || "";
|
|
@@ -20,6 +24,10 @@ class ConfirmStateClass {
|
|
|
20
24
|
this.renderContent = params.renderContent || void 0;
|
|
21
25
|
this.modalCancelLabel = params.modalCancelLabel;
|
|
22
26
|
this.modalConfirmLabel = params.modalConfirmLabel;
|
|
27
|
+
this.showMessage = params.hideMessage === void 0 ? true : !params.hideMessage;
|
|
28
|
+
this.contentClass = params.contentClass;
|
|
29
|
+
this.contentWrapperClass = params.contentWrapperClass;
|
|
30
|
+
this.buttonSize = params.buttonSize;
|
|
23
31
|
this.open = true;
|
|
24
32
|
}
|
|
25
33
|
closeModal() {
|
package/library/index.mjs.gz
CHANGED
|
Binary file
|
|
Binary file
|
package/library/plugin.mjs.gz
CHANGED
|
Binary file
|
package/library/style.css.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -8,6 +8,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
8
8
|
loading?: boolean | undefined;
|
|
9
9
|
options?: VcTreeNodeGenericType[] | undefined;
|
|
10
10
|
config: Config;
|
|
11
|
+
accordion?: boolean | undefined;
|
|
11
12
|
emptyText?: string | undefined;
|
|
12
13
|
filterPlaceholder?: string | undefined;
|
|
13
14
|
readonly "onUpdate:selectedKeys"?: ((payload: (string | number)[]) => any) | undefined;
|
|
@@ -21,7 +22,9 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
21
22
|
filterPrefixIcon?: TIcon | undefined;
|
|
22
23
|
filterPrefixIconColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
23
24
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
25
|
+
indent?: number | undefined;
|
|
24
26
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
27
|
+
checkStrictly?: boolean | undefined;
|
|
25
28
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
26
29
|
attrs: any;
|
|
27
30
|
slots: {
|
|
@@ -54,6 +57,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
54
57
|
loading?: boolean | undefined;
|
|
55
58
|
options?: VcTreeNodeGenericType[] | undefined;
|
|
56
59
|
config: Config;
|
|
60
|
+
accordion?: boolean | undefined;
|
|
57
61
|
emptyText?: string | undefined;
|
|
58
62
|
filterPlaceholder?: string | undefined;
|
|
59
63
|
readonly "onUpdate:selectedKeys"?: ((payload: (string | number)[]) => any) | undefined;
|
|
@@ -67,7 +71,9 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
67
71
|
filterPrefixIcon?: TIcon | undefined;
|
|
68
72
|
filterPrefixIconColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
69
73
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
74
|
+
indent?: number | undefined;
|
|
70
75
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
76
|
+
checkStrictly?: boolean | undefined;
|
|
71
77
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
72
78
|
expose(exposed: {
|
|
73
79
|
getCheckedNodes: (leafOnly?: boolean) => import("element-plus/es/components/tree/src/tree.type").TreeNodeData[];
|
|
@@ -104,6 +110,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
104
110
|
loading?: boolean | undefined;
|
|
105
111
|
options?: VcTreeNodeGenericType[] | undefined;
|
|
106
112
|
config: Config;
|
|
113
|
+
accordion?: boolean | undefined;
|
|
107
114
|
emptyText?: string | undefined;
|
|
108
115
|
filterPlaceholder?: string | undefined;
|
|
109
116
|
readonly "onUpdate:selectedKeys"?: ((payload: (string | number)[]) => any) | undefined;
|
|
@@ -117,7 +124,9 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
117
124
|
filterPrefixIcon?: TIcon | undefined;
|
|
118
125
|
filterPrefixIconColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
119
126
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
127
|
+
indent?: number | undefined;
|
|
120
128
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
129
|
+
checkStrictly?: boolean | undefined;
|
|
121
130
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
122
131
|
expose(exposed: {
|
|
123
132
|
getCheckedNodes: (leafOnly?: boolean) => import("element-plus/es/components/tree/src/tree.type").TreeNodeData[];
|
|
@@ -19,12 +19,15 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
19
19
|
prefixIcon?: import('../../types').TIcon | undefined;
|
|
20
20
|
prefixIconSize?: string | undefined;
|
|
21
21
|
config: Config;
|
|
22
|
+
accordion?: boolean | undefined;
|
|
22
23
|
emptyText?: string | undefined;
|
|
23
24
|
tagBorderless?: boolean | undefined;
|
|
24
25
|
tagColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
25
26
|
nodeKey?: keyof VcTreeNodeGenericType | undefined;
|
|
26
27
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
28
|
+
indent?: number | undefined;
|
|
27
29
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
30
|
+
checkStrictly?: boolean | undefined;
|
|
28
31
|
readonly "onOn-change"?: ((value: VcTreeNodeGenericType[]) => any) | undefined;
|
|
29
32
|
tagsLimit?: number | undefined;
|
|
30
33
|
returnedType?: ("all" | "parentOnly" | "leafOnly") | undefined;
|
|
@@ -472,12 +475,15 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
472
475
|
prefixIcon?: import('../../types').TIcon | undefined;
|
|
473
476
|
prefixIconSize?: string | undefined;
|
|
474
477
|
config: Config;
|
|
478
|
+
accordion?: boolean | undefined;
|
|
475
479
|
emptyText?: string | undefined;
|
|
476
480
|
tagBorderless?: boolean | undefined;
|
|
477
481
|
tagColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
478
482
|
nodeKey?: keyof VcTreeNodeGenericType | undefined;
|
|
479
483
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
484
|
+
indent?: number | undefined;
|
|
480
485
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
486
|
+
checkStrictly?: boolean | undefined;
|
|
481
487
|
readonly "onOn-change"?: ((value: VcTreeNodeGenericType[]) => any) | undefined;
|
|
482
488
|
tagsLimit?: number | undefined;
|
|
483
489
|
returnedType?: ("all" | "parentOnly" | "leafOnly") | undefined;
|
|
@@ -929,12 +935,15 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
929
935
|
prefixIcon?: import('../../types').TIcon | undefined;
|
|
930
936
|
prefixIconSize?: string | undefined;
|
|
931
937
|
config: Config;
|
|
938
|
+
accordion?: boolean | undefined;
|
|
932
939
|
emptyText?: string | undefined;
|
|
933
940
|
tagBorderless?: boolean | undefined;
|
|
934
941
|
tagColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
935
942
|
nodeKey?: keyof VcTreeNodeGenericType | undefined;
|
|
936
943
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
944
|
+
indent?: number | undefined;
|
|
937
945
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
946
|
+
checkStrictly?: boolean | undefined;
|
|
938
947
|
readonly "onOn-change"?: ((value: VcTreeNodeGenericType[]) => any) | undefined;
|
|
939
948
|
tagsLimit?: number | undefined;
|
|
940
949
|
returnedType?: ("all" | "parentOnly" | "leafOnly") | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Ref, VNode } from 'vue';
|
|
2
|
+
import { ButtonSize } from '../types';
|
|
2
3
|
declare global {
|
|
3
4
|
interface VcGlobalSingletons {
|
|
4
5
|
confirmModalState: Ref<ConfirmObjectType>;
|
|
@@ -11,6 +12,10 @@ type paramsType = {
|
|
|
11
12
|
renderContent?: VNode;
|
|
12
13
|
modalConfirmLabel?: string;
|
|
13
14
|
modalCancelLabel?: string;
|
|
15
|
+
contentWrapperClass?: string;
|
|
16
|
+
contentClass?: string;
|
|
17
|
+
buttonSize?: ButtonSize;
|
|
18
|
+
hideMessage?: boolean;
|
|
14
19
|
};
|
|
15
20
|
type ConfirmObjectType = {
|
|
16
21
|
open: boolean;
|
|
@@ -24,6 +29,10 @@ type ConfirmObjectType = {
|
|
|
24
29
|
modalCancelLabel?: string;
|
|
25
30
|
onClose?: () => void;
|
|
26
31
|
onConfirm?: () => void;
|
|
32
|
+
showMessage?: boolean;
|
|
33
|
+
contentWrapperClass?: string;
|
|
34
|
+
contentClass?: string;
|
|
35
|
+
buttonSize?: ButtonSize;
|
|
27
36
|
};
|
|
28
37
|
export declare const confirmModalState: Ref<ConfirmObjectType>;
|
|
29
38
|
declare const useConfirmModal: (params: paramsType) => Promise<boolean>;
|
|
Binary file
|