yc-pro-components 0.0.24 → 0.0.26
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 +76 -76
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +57 -57
- package/es/components/check-card-group/src/index.vue.d.ts +20 -20
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +39 -39
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +11 -11
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +31 -31
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +157 -138
- package/es/components/form/src/form-content.vue.d.ts +33 -29
- package/es/components/form/src/form-content.vue2.mjs +106 -96
- package/es/components/form/src/index.vue.d.ts +28 -25
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +4 -0
- package/es/components/form-item/index.d.ts +150 -150
- package/es/components/form-item/src/form-item.mjs +2 -1
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- package/es/components/form-item/src/index.vue2.mjs +22 -18
- 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 +16 -16
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +1175 -1040
- package/es/components/page/src/index.vue.d.ts +383 -338
- package/es/components/pagination/index.d.ts +38 -38
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/radio/index.d.ts +34 -34
- package/es/components/radio/src/index.vue.d.ts +26 -26
- package/es/components/render/index.d.ts +17 -17
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +494 -430
- package/es/components/search/src/index.vue.d.ts +143 -125
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +7 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +19 -19
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +38 -38
- package/es/components/table/src/index.vue.d.ts +7 -7
- package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue2.mjs +1 -0
- package/es/components/utils/index.d.ts +15 -15
- 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-dialog/src/index.vue2.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- package/es/components/yc-more-actions/index.d.ts +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +826 -736
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
- package/es/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/es/components/yc-plus-tree/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-tree/src/index.vue2.mjs +14 -6
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +3 -3
- package/index.css +54 -54
- package/index.js +160 -144
- package/index.min.css +3 -3
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +160 -144
- package/lib/components/check-card/index.d.ts +76 -76
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +57 -57
- package/lib/components/check-card-group/src/index.vue.d.ts +20 -20
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +39 -39
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +11 -11
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +31 -31
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +157 -138
- package/lib/components/form/src/form-content.vue.d.ts +33 -29
- package/lib/components/form/src/form-content.vue2.js +105 -95
- package/lib/components/form/src/index.vue.d.ts +28 -25
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +4 -0
- package/lib/components/form-item/index.d.ts +150 -150
- package/lib/components/form-item/src/form-item.js +2 -1
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/src/index.vue2.js +21 -17
- 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 +16 -16
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +1175 -1040
- package/lib/components/page/src/index.vue.d.ts +383 -338
- package/lib/components/pagination/index.d.ts +38 -38
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/radio/index.d.ts +34 -34
- package/lib/components/radio/src/index.vue.d.ts +26 -26
- package/lib/components/render/index.d.ts +17 -17
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +494 -430
- package/lib/components/search/src/index.vue.d.ts +143 -125
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +7 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +19 -19
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +38 -38
- package/lib/components/table/src/index.vue.d.ts +7 -7
- package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue2.js +1 -0
- package/lib/components/utils/index.d.ts +15 -15
- 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-dialog/src/index.vue2.js +1 -1
- package/lib/components/yc-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- package/lib/components/yc-more-actions/index.d.ts +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +826 -736
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/lib/components/yc-plus-tree/src/index.vue.js +1 -1
- package/lib/components/yc-plus-tree/src/index.vue2.js +13 -5
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +3 -3
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-dialog.css +1 -1
- package/theme-chalk/plus-display-item.css +1 -1
- package/theme-chalk/plus-form.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-table.css +1 -1
- package/theme-chalk/plus-yc-dialog.css +1 -1
- package/theme-chalk/plus-yc-drawer.css +1 -1
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/src/dialog.scss +45 -0
- package/theme-chalk/src/display-item.scss +1 -0
- package/theme-chalk/src/form.scss +20 -0
- package/theme-chalk/src/search.scss +125 -0
- package/theme-chalk/src/table.scss +10 -0
- package/theme-chalk/src/yc-dialog.scss +50 -0
- package/theme-chalk/src/yc-drawer.scss +1 -1
- package/theme-chalk/src/yc-plus-tree.scss +1 -0
|
@@ -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 YcPlusPageComponent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
8
|
+
var YcPlusPageComponent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-e1fa68a8"], ["__file", "index.vue"]]);
|
|
9
9
|
|
|
10
10
|
exports.default = YcPlusPageComponent;
|
|
@@ -229,17 +229,6 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
229
229
|
visibilityObserver = null;
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
|
-
const searchableFieldsCount = vue.computed(() => {
|
|
233
|
-
var _a;
|
|
234
|
-
if (!((_a = props.columns) == null ? void 0 : _a.length)) return 0;
|
|
235
|
-
return props.columns.filter((col) => col.hideInSearch !== true).length;
|
|
236
|
-
});
|
|
237
|
-
const getSpanByCount = (count) => {
|
|
238
|
-
if (count <= 3) {
|
|
239
|
-
return 6;
|
|
240
|
-
}
|
|
241
|
-
return 8;
|
|
242
|
-
};
|
|
243
232
|
const mergedSearch = vue.computed(() => {
|
|
244
233
|
if (!showSearch.value) {
|
|
245
234
|
return false;
|
|
@@ -250,8 +239,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
250
239
|
}
|
|
251
240
|
const defaultSearchConfig = {
|
|
252
241
|
hasUnfold: false,
|
|
253
|
-
|
|
254
|
-
colProps: { span: getSpanByCount(searchableFieldsCount.value) },
|
|
242
|
+
layout: "flex",
|
|
255
243
|
labelSuffix: "",
|
|
256
244
|
labelPosition: "right",
|
|
257
245
|
searchIcon: null,
|
|
@@ -261,8 +249,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
261
249
|
}
|
|
262
250
|
return {
|
|
263
251
|
hasUnfold: false,
|
|
264
|
-
|
|
265
|
-
colProps: { span: getSpanByCount(searchableFieldsCount.value) },
|
|
252
|
+
layout: "flex",
|
|
266
253
|
labelSuffix: "",
|
|
267
254
|
labelPosition: "right",
|
|
268
255
|
searchIcon: null,
|
|
@@ -51,6 +51,8 @@ interface Props {
|
|
|
51
51
|
onSearchChange?: (value: string | number) => void;
|
|
52
52
|
/** 卡片内边距,支持字符串(如 '20px')或数字(会自动添加 px),默认 16 */
|
|
53
53
|
padding?: string | number;
|
|
54
|
+
/** 搜索输入框自定义 class,会追加到默认的 'search-input' class 之后 */
|
|
55
|
+
searchInputClass?: string;
|
|
54
56
|
}
|
|
55
57
|
/**
|
|
56
58
|
* 复选框选中信息类型
|
|
@@ -85,6 +87,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
85
87
|
searchPageSize: number;
|
|
86
88
|
onSearchChange: undefined;
|
|
87
89
|
padding: number;
|
|
90
|
+
searchInputClass: undefined;
|
|
88
91
|
}>, {
|
|
89
92
|
/**
|
|
90
93
|
* 滚动到指定节点
|
|
@@ -159,6 +162,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
159
162
|
searchPageSize: number;
|
|
160
163
|
onSearchChange: undefined;
|
|
161
164
|
padding: number;
|
|
165
|
+
searchInputClass: undefined;
|
|
162
166
|
}>>> & {
|
|
163
167
|
onCheck?: ((data: TreeNodeData, checkedInfo: CheckedInfo) => any) | undefined;
|
|
164
168
|
"onNode-click"?: ((data: TreeNodeData, node: TreeNode) => any) | undefined;
|
|
@@ -179,7 +183,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
179
183
|
treeProps: TreePropsConfig;
|
|
180
184
|
draggable: boolean;
|
|
181
185
|
treeData: TreeNodeData[];
|
|
182
|
-
searchMode: "local" | "remote";
|
|
183
186
|
expandedKeys: (string | number)[];
|
|
184
187
|
nodeKey: string;
|
|
185
188
|
showNodeActions: ShowNodeActionsType;
|
|
@@ -190,9 +193,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
190
193
|
defaultCheckedKeys: (string | number)[];
|
|
191
194
|
sortableDragOptions: Partial<SortableDragOptions>;
|
|
192
195
|
sameLevelDragOnly: boolean;
|
|
196
|
+
searchMode: "local" | "remote";
|
|
193
197
|
searchLoadMore: TreeSearchLoadMoreFunction;
|
|
194
198
|
searchPageSize: number;
|
|
195
199
|
onSearchChange: (value: string | number) => void;
|
|
200
|
+
searchInputClass: string;
|
|
196
201
|
}, {}>, {
|
|
197
202
|
header?(_: {}): any;
|
|
198
203
|
"under-search-input"?(_: {}): any;
|
|
@@ -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-61e7209b"], ["__file", "index.vue"]]);
|
|
9
9
|
|
|
10
10
|
exports.default = YcPlusTreeComponent;
|
|
@@ -62,7 +62,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
62
62
|
searchLoadMore: { type: Function, default: void 0 },
|
|
63
63
|
searchPageSize: { default: 20 },
|
|
64
64
|
onSearchChange: { type: Function, default: void 0 },
|
|
65
|
-
padding: { default: 16 }
|
|
65
|
+
padding: { default: 16 },
|
|
66
|
+
searchInputClass: { default: void 0 }
|
|
66
67
|
},
|
|
67
68
|
emits: ["node-click", "action-click", "check", "add-node", "update-node", "update:expandedKeys", "node-expand", "node-collapse", "drag-start", "drag-end", "drag-update", "node-reorder"],
|
|
68
69
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -85,6 +86,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
85
86
|
const treeHeight = vue.ref(400);
|
|
86
87
|
const { getCdnUrl } = useYcConfig.useYcCdnUrl();
|
|
87
88
|
const treeMoreIconUrl = getCdnUrl("images", "tree_more.svg");
|
|
89
|
+
const searchInputClasses = vue.computed(() => {
|
|
90
|
+
const classes = ["search-input"];
|
|
91
|
+
if (props.searchInputClass) {
|
|
92
|
+
classes.push(props.searchInputClass);
|
|
93
|
+
}
|
|
94
|
+
return classes.join(" ");
|
|
95
|
+
});
|
|
88
96
|
const updateTreeHeight = () => {
|
|
89
97
|
if (treeContainerRef.value) {
|
|
90
98
|
const height = treeContainerRef.value.clientHeight;
|
|
@@ -679,8 +687,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
679
687
|
placeholder: _ctx.placeholder,
|
|
680
688
|
"prefix-icon": "Search",
|
|
681
689
|
clearable: "",
|
|
682
|
-
class:
|
|
683
|
-
}, null, 8, ["modelValue", "placeholder"])) : (vue.openBlock(), vue.createElementBlock(
|
|
690
|
+
class: vue.normalizeClass(searchInputClasses.value)
|
|
691
|
+
}, null, 8, ["modelValue", "placeholder", "class"])) : (vue.openBlock(), vue.createElementBlock(
|
|
684
692
|
vue.Fragment,
|
|
685
693
|
{ key: 1 },
|
|
686
694
|
[
|
|
@@ -697,8 +705,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
697
705
|
placeholder: _ctx.placeholder,
|
|
698
706
|
clearable: "",
|
|
699
707
|
filterable: "",
|
|
700
|
-
class:
|
|
701
|
-
}, null, 8, ["modelValue", "load-more", "page-size", "placeholder"])
|
|
708
|
+
class: vue.normalizeClass(searchInputClasses.value)
|
|
709
|
+
}, null, 8, ["modelValue", "load-more", "page-size", "placeholder", "class"])
|
|
702
710
|
],
|
|
703
711
|
2112
|
|
704
712
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -57,9 +57,9 @@ export declare const YcSegmentedWithInstall: SFCWithInstall<DefineComponent<{
|
|
|
57
57
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
58
58
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
59
59
|
}, {
|
|
60
|
-
modelValue: string | number;
|
|
61
60
|
disabled: boolean;
|
|
62
61
|
options: YcSegmentedOption[];
|
|
62
|
+
modelValue: string | number;
|
|
63
63
|
resize: boolean;
|
|
64
64
|
block: boolean;
|
|
65
65
|
}, {}>>;
|
|
@@ -65,9 +65,9 @@ declare const _default: DefineComponent<{
|
|
|
65
65
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
66
66
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
}, {
|
|
68
|
-
modelValue: string | number;
|
|
69
68
|
disabled: boolean;
|
|
70
69
|
options: YcSegmentedOption[];
|
|
70
|
+
modelValue: string | number;
|
|
71
71
|
resize: boolean;
|
|
72
72
|
block: boolean;
|
|
73
73
|
}, {}>;
|
|
@@ -47,11 +47,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
47
47
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
48
48
|
onChange?: ((value: SelectValueType) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
51
50
|
filterable: boolean;
|
|
52
51
|
disabled: boolean;
|
|
53
52
|
options: SelectOption[];
|
|
54
53
|
pageSize: number;
|
|
54
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
55
55
|
multiple: boolean;
|
|
56
56
|
clearable: boolean;
|
|
57
57
|
placeholder: string;
|
|
@@ -28,10 +28,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
28
28
|
onCancel?: (() => any) | undefined;
|
|
29
29
|
onConfirm?: (() => any) | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
title: string;
|
|
32
31
|
width: string | number;
|
|
33
32
|
content: string;
|
|
34
33
|
visible: boolean;
|
|
34
|
+
title: string;
|
|
35
35
|
status: StatusType;
|
|
36
36
|
cancelText: string;
|
|
37
37
|
confirmText: string;
|
|
@@ -5,14 +5,14 @@ import { default as YcTabsWithFilter } from './src/index.vue';
|
|
|
5
5
|
/** 带筛选按钮的 Tabs 组件 */
|
|
6
6
|
export declare const YcTabsWithFilterWithInstall: SFCWithInstall<{
|
|
7
7
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
8
|
-
filterText: {
|
|
9
|
-
type: PropType<string>;
|
|
10
|
-
default: undefined;
|
|
11
|
-
};
|
|
12
8
|
modelValue: {
|
|
13
9
|
type: PropType<string>;
|
|
14
10
|
required: true;
|
|
15
11
|
};
|
|
12
|
+
filterText: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
16
|
showFilter: {
|
|
17
17
|
type: PropType<boolean>;
|
|
18
18
|
default: boolean;
|
|
@@ -38,14 +38,14 @@ export declare const YcTabsWithFilterWithInstall: SFCWithInstall<{
|
|
|
38
38
|
"update:modelValue": (value: string) => void;
|
|
39
39
|
"filter-toggle": (visible: boolean) => void;
|
|
40
40
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
41
|
-
filterText: {
|
|
42
|
-
type: PropType<string>;
|
|
43
|
-
default: undefined;
|
|
44
|
-
};
|
|
45
41
|
modelValue: {
|
|
46
42
|
type: PropType<string>;
|
|
47
43
|
required: true;
|
|
48
44
|
};
|
|
45
|
+
filterText: {
|
|
46
|
+
type: PropType<string>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
49
|
showFilter: {
|
|
50
50
|
type: PropType<boolean>;
|
|
51
51
|
default: boolean;
|
|
@@ -79,14 +79,14 @@ export declare const YcTabsWithFilterWithInstall: SFCWithInstall<{
|
|
|
79
79
|
M: {};
|
|
80
80
|
Defaults: {};
|
|
81
81
|
}, Readonly< ExtractPropTypes<{
|
|
82
|
-
filterText: {
|
|
83
|
-
type: PropType<string>;
|
|
84
|
-
default: undefined;
|
|
85
|
-
};
|
|
86
82
|
modelValue: {
|
|
87
83
|
type: PropType<string>;
|
|
88
84
|
required: true;
|
|
89
85
|
};
|
|
86
|
+
filterText: {
|
|
87
|
+
type: PropType<string>;
|
|
88
|
+
default: undefined;
|
|
89
|
+
};
|
|
90
90
|
showFilter: {
|
|
91
91
|
type: PropType<boolean>;
|
|
92
92
|
default: boolean;
|
|
@@ -119,14 +119,14 @@ export declare const YcTabsWithFilterWithInstall: SFCWithInstall<{
|
|
|
119
119
|
__isTeleport?: undefined;
|
|
120
120
|
__isSuspense?: undefined;
|
|
121
121
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
122
|
-
filterText: {
|
|
123
|
-
type: PropType<string>;
|
|
124
|
-
default: undefined;
|
|
125
|
-
};
|
|
126
122
|
modelValue: {
|
|
127
123
|
type: PropType<string>;
|
|
128
124
|
required: true;
|
|
129
125
|
};
|
|
126
|
+
filterText: {
|
|
127
|
+
type: PropType<string>;
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
130
130
|
showFilter: {
|
|
131
131
|
type: PropType<boolean>;
|
|
132
132
|
default: boolean;
|