yc-pro-components 0.0.3 → 0.0.4
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/es/components/check-card/index.d.ts +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +19 -19
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/dialog-form/index.d.ts +7 -7
- package/es/components/dialog-form/src/index.vue.d.ts +7 -7
- package/es/components/display-item/index.d.ts +21 -21
- package/es/components/display-item/src/index.vue.d.ts +21 -21
- package/es/components/drawer-form/index.d.ts +26 -26
- package/es/components/drawer-form/src/index.vue.d.ts +8 -8
- package/es/components/form/index.d.ts +14 -14
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +14 -14
- package/es/components/form-item/index.d.ts +32 -32
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +9 -9
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +220 -220
- package/es/components/page/src/index.vue.d.ts +78 -78
- package/es/components/radio/index.d.ts +25 -25
- package/es/components/radio/src/index.vue.d.ts +25 -25
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +49 -49
- package/es/components/search/src/index.vue.d.ts +21 -21
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +21 -21
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +203 -203
- package/es/components/yc-plus-tree/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-tree/src/index.vue2.mjs +10 -8
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +90 -90
- package/es/index.css +1 -1
- package/index.css +50 -43
- package/index.js +15 -13
- package/index.min.css +1 -1
- package/index.min.js +3 -3
- package/index.min.mjs +4 -4
- package/index.mjs +15 -13
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +19 -19
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/dialog-form/index.d.ts +7 -7
- package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
- package/lib/components/display-item/index.d.ts +21 -21
- package/lib/components/display-item/src/index.vue.d.ts +21 -21
- package/lib/components/drawer-form/index.d.ts +26 -26
- package/lib/components/drawer-form/src/index.vue.d.ts +8 -8
- package/lib/components/form/index.d.ts +14 -14
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +14 -14
- package/lib/components/form-item/index.d.ts +32 -32
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +9 -9
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +220 -220
- package/lib/components/page/src/index.vue.d.ts +78 -78
- package/lib/components/radio/index.d.ts +25 -25
- package/lib/components/radio/src/index.vue.d.ts +25 -25
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +49 -49
- package/lib/components/search/src/index.vue.d.ts +21 -21
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +21 -21
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +203 -203
- package/lib/components/yc-plus-tree/src/index.vue.js +1 -1
- package/lib/components/yc-plus-tree/src/index.vue2.js +10 -8
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +90 -90
- package/lib/index.css +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var index_vue_vue_type_script_setup_true_lang = require('./index.vue2.js');
|
|
6
6
|
var _pluginVue_exportHelper = require('../../../_virtual/_plugin-vue_export-helper.js');
|
|
7
7
|
|
|
8
|
-
var YcPlusTreeComponent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
8
|
+
var YcPlusTreeComponent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-fa0eccd0"], ["__file", "index.vue"]]);
|
|
9
9
|
|
|
10
10
|
exports.default = YcPlusTreeComponent;
|
|
@@ -31,7 +31,8 @@ const _hoisted_3 = {
|
|
|
31
31
|
};
|
|
32
32
|
const _hoisted_4 = { class: "node-label" };
|
|
33
33
|
const _hoisted_5 = ["innerHTML"];
|
|
34
|
-
const _hoisted_6 = {
|
|
34
|
+
const _hoisted_6 = { class: "action-icon-wrapper" };
|
|
35
|
+
const _hoisted_7 = {
|
|
35
36
|
key: 0,
|
|
36
37
|
style: { "padding": "0 12px" }
|
|
37
38
|
};
|
|
@@ -784,7 +785,6 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
784
785
|
shouldShowNodeActions(data, node) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
785
786
|
key: 0,
|
|
786
787
|
class: "node-actions",
|
|
787
|
-
style: { "display": "flex", "flex-shrink": "0", "align-items": "center", "margin-right": "8px", "margin-left": "auto" },
|
|
788
788
|
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
789
789
|
}, ["stop"]))
|
|
790
790
|
}, [
|
|
@@ -812,7 +812,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
812
812
|
vue.Fragment,
|
|
813
813
|
{ key: _actionIdx },
|
|
814
814
|
[
|
|
815
|
-
action.type === "divider" && (!action.visible || action.visible(data)) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
815
|
+
action.type === "divider" && (!action.visible || action.visible(data)) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
816
816
|
vue.createVNode(_component_el_divider, { class: "dropdown-divider" })
|
|
817
817
|
])) : action.type === "action" && (!action.visible || action.visible(data)) ? (vue.openBlock(), vue.createBlock(_component_el_dropdown_item, {
|
|
818
818
|
key: 1,
|
|
@@ -846,11 +846,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
846
846
|
)
|
|
847
847
|
]),
|
|
848
848
|
default: vue.withCtx(() => [
|
|
849
|
-
vue.
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
849
|
+
vue.createElementVNode("span", _hoisted_6, [
|
|
850
|
+
vue.createVNode(vue.unref(index$3.default), {
|
|
851
|
+
src: vue.unref(treeMoreIconUrl),
|
|
852
|
+
size: 16,
|
|
853
|
+
class: "action-icon"
|
|
854
|
+
}, null, 8, ["src"])
|
|
855
|
+
])
|
|
854
856
|
]),
|
|
855
857
|
_: 2
|
|
856
858
|
/* DYNAMIC */
|
|
@@ -47,11 +47,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
47
47
|
onChange?: ((value: SelectValueType) => any) | undefined;
|
|
48
48
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
disabled: boolean;
|
|
51
50
|
filterable: boolean;
|
|
51
|
+
disabled: boolean;
|
|
52
52
|
options: SelectOption[];
|
|
53
53
|
pageSize: number;
|
|
54
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
54
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
55
55
|
multiple: boolean;
|
|
56
56
|
clearable: boolean;
|
|
57
57
|
placeholder: string;
|
|
@@ -28,9 +28,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
28
28
|
onCancel?: (() => any) | undefined;
|
|
29
29
|
onConfirm?: (() => any) | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
content: string;
|
|
32
31
|
title: string;
|
|
33
32
|
width: string | number;
|
|
33
|
+
content: string;
|
|
34
34
|
visible: boolean;
|
|
35
35
|
status: StatusType;
|
|
36
36
|
cancelText: string;
|
|
@@ -18,9 +18,9 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
18
18
|
}>>>, {
|
|
19
19
|
size: string | number;
|
|
20
20
|
color: string;
|
|
21
|
-
opacity: number;
|
|
22
21
|
preserveColor: boolean;
|
|
23
22
|
grayscale: boolean;
|
|
23
|
+
opacity: number;
|
|
24
24
|
customFilter: string;
|
|
25
25
|
}, {}>;
|
|
26
26
|
export default _default;
|
|
@@ -9,7 +9,7 @@ interface TippyOptions {
|
|
|
9
9
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
10
10
|
/** 行数限制 */
|
|
11
11
|
lineClamp: {
|
|
12
|
-
type: (
|
|
12
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
13
13
|
};
|
|
14
14
|
/** Tippy 配置 */
|
|
15
15
|
tippyProps: {
|
|
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
|
19
19
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
20
20
|
/** 行数限制 */
|
|
21
21
|
lineClamp: {
|
|
22
|
-
type: (
|
|
22
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
23
23
|
};
|
|
24
24
|
/** Tippy 配置 */
|
|
25
25
|
tippyProps: {
|