yc-pro-components 0.0.73 → 0.0.75
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 +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +30 -30
- package/es/components/date-picker/src/index.vue.d.ts +22 -22
- 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 +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +68 -68
- package/es/components/drawer-form/src/index.vue.d.ts +16 -16
- package/es/components/form/index.d.ts +71 -71
- package/es/components/form/src/form-content.vue.d.ts +21 -21
- package/es/components/form/src/index.vue.d.ts +19 -19
- package/es/components/form-item/index.d.ts +69 -69
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- package/es/components/form-item/src/index.vue2.mjs +2 -2
- 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 +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +533 -533
- package/es/components/page/src/index.vue.d.ts +181 -181
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +243 -243
- package/es/components/search/src/index.vue.d.ts +73 -73
- package/es/components/search/src/index.vue2.mjs +11 -3
- 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 +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-config-provider/src/index.vue2.mjs +7 -3
- package/es/components/yc-config-provider/src/type.d.ts +9 -0
- package/es/components/yc-config-provider/src/type.mjs +3 -0
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +18 -6
- package/es/components/yc-drawer/store.d.ts +2 -0
- package/es/components/yc-drawer/store.mjs +10 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- 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 +361 -361
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- 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/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +244 -244
- package/es/index.css +10 -9
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +4464 -4429
- package/index.min.css +2 -1
- package/index.min.js +13 -13
- package/index.min.mjs +13 -13
- package/index.mjs +4464 -4429
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +30 -30
- package/lib/components/date-picker/src/index.vue.d.ts +22 -22
- 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 +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +68 -68
- package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
- package/lib/components/form/index.d.ts +71 -71
- package/lib/components/form/src/form-content.vue.d.ts +21 -21
- package/lib/components/form/src/index.vue.d.ts +19 -19
- package/lib/components/form-item/index.d.ts +69 -69
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/src/index.vue2.js +2 -2
- 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 +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +533 -533
- package/lib/components/page/src/index.vue.d.ts +181 -181
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +243 -243
- package/lib/components/search/src/index.vue.d.ts +73 -73
- package/lib/components/search/src/index.vue2.js +10 -2
- 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 +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-config-provider/src/index.vue2.js +7 -3
- package/lib/components/yc-config-provider/src/type.d.ts +9 -0
- package/lib/components/yc-config-provider/src/type.js +3 -0
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +16 -4
- package/lib/components/yc-drawer/store.d.ts +2 -0
- package/lib/components/yc-drawer/store.js +11 -0
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- 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 +361 -361
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- 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/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +244 -244
- package/lib/index.css +11 -10
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- 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
|
@@ -6,14 +6,14 @@ import { default as YcDownloadDialog } from './src/index.vue';
|
|
|
6
6
|
/** 批量导入下载对话框组件 */
|
|
7
7
|
export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
8
8
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
|
-
title: {
|
|
10
|
-
type: PropType<string>;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
9
|
modelValue: {
|
|
14
10
|
type: PropType<boolean>;
|
|
15
11
|
default: boolean;
|
|
16
12
|
};
|
|
13
|
+
title: {
|
|
14
|
+
type: PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
17
|
templateUrl: {
|
|
18
18
|
type: PropType<string>;
|
|
19
19
|
};
|
|
@@ -50,14 +50,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
50
50
|
"upload-error": (error: any, file: any) => void;
|
|
51
51
|
"download-template": () => void;
|
|
52
52
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
53
|
-
title: {
|
|
54
|
-
type: PropType<string>;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
53
|
modelValue: {
|
|
58
54
|
type: PropType<boolean>;
|
|
59
55
|
default: boolean;
|
|
60
56
|
};
|
|
57
|
+
title: {
|
|
58
|
+
type: PropType<string>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
61
|
templateUrl: {
|
|
62
62
|
type: PropType<string>;
|
|
63
63
|
};
|
|
@@ -87,8 +87,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
87
87
|
"onUpload-error"?: ((error: any, file: any) => any) | undefined;
|
|
88
88
|
"onDownload-template"?: (() => any) | undefined;
|
|
89
89
|
}, {
|
|
90
|
-
title: string;
|
|
91
90
|
modelValue: boolean;
|
|
91
|
+
title: string;
|
|
92
92
|
templateText: string;
|
|
93
93
|
uploadAction: string;
|
|
94
94
|
}, true, {}, {}, {
|
|
@@ -99,14 +99,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
99
99
|
M: {};
|
|
100
100
|
Defaults: {};
|
|
101
101
|
}, Readonly< ExtractPropTypes<{
|
|
102
|
-
title: {
|
|
103
|
-
type: PropType<string>;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
102
|
modelValue: {
|
|
107
103
|
type: PropType<boolean>;
|
|
108
104
|
default: boolean;
|
|
109
105
|
};
|
|
106
|
+
title: {
|
|
107
|
+
type: PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
110
|
templateUrl: {
|
|
111
111
|
type: PropType<string>;
|
|
112
112
|
};
|
|
@@ -138,8 +138,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
138
138
|
}, {
|
|
139
139
|
fetchUploadRecords: () => Promise<void>;
|
|
140
140
|
}, {}, {}, {}, {
|
|
141
|
-
title: string;
|
|
142
141
|
modelValue: boolean;
|
|
142
|
+
title: string;
|
|
143
143
|
templateText: string;
|
|
144
144
|
uploadAction: string;
|
|
145
145
|
}>;
|
|
@@ -147,14 +147,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
147
147
|
__isTeleport?: undefined;
|
|
148
148
|
__isSuspense?: undefined;
|
|
149
149
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
150
|
-
title: {
|
|
151
|
-
type: PropType<string>;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
150
|
modelValue: {
|
|
155
151
|
type: PropType<boolean>;
|
|
156
152
|
default: boolean;
|
|
157
153
|
};
|
|
154
|
+
title: {
|
|
155
|
+
type: PropType<string>;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
158
|
templateUrl: {
|
|
159
159
|
type: PropType<string>;
|
|
160
160
|
};
|
|
@@ -191,8 +191,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
191
191
|
"upload-error": (error: any, file: any) => void;
|
|
192
192
|
"download-template": () => void;
|
|
193
193
|
}, string, {
|
|
194
|
-
title: string;
|
|
195
194
|
modelValue: boolean;
|
|
195
|
+
title: string;
|
|
196
196
|
templateText: string;
|
|
197
197
|
uploadAction: string;
|
|
198
198
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -24,8 +24,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
24
24
|
"onUpload-error"?: ((error: any, file: any) => any) | undefined;
|
|
25
25
|
"onDownload-template"?: (() => any) | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
title: string;
|
|
28
27
|
modelValue: boolean;
|
|
28
|
+
title: string;
|
|
29
29
|
templateText: string;
|
|
30
30
|
uploadAction: string;
|
|
31
31
|
}, {}>, {
|
|
@@ -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 YcDrawerComponent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
8
|
+
var YcDrawerComponent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-eb9ddafc"], ["__file", "index.vue"]]);
|
|
9
9
|
|
|
10
10
|
exports.default = YcDrawerComponent;
|
|
@@ -8,7 +8,8 @@ var ElementPlusIconsVue = require('@element-plus/icons-vue');
|
|
|
8
8
|
var store = require('../store.js');
|
|
9
9
|
var dict = require('../../../constants/dict.js');
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const import_meta = {};
|
|
12
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-eb9ddafc"), n = n(), vue.popScopeId(), n);
|
|
12
13
|
const _hoisted_1 = { class: "custom-drawer-header" };
|
|
13
14
|
const _hoisted_2 = { class: "header-content" };
|
|
14
15
|
const _hoisted_3 = ["id"];
|
|
@@ -26,6 +27,17 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
27
|
},
|
|
27
28
|
__name: "index",
|
|
28
29
|
setup(__props) {
|
|
30
|
+
const shouldRender = store.claimDrawerInstance();
|
|
31
|
+
if (!shouldRender && import_meta.env.DEV) {
|
|
32
|
+
console.warn(
|
|
33
|
+
"[YcDrawer] Multiple <YcDrawer /> instances detected. Only the first instance renders drawers. Remove duplicate <YcDrawer /> from your component \u2014 it only needs to be placed once in the root App."
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
vue.onUnmounted(() => {
|
|
37
|
+
if (shouldRender) {
|
|
38
|
+
store.releaseDrawerInstance();
|
|
39
|
+
}
|
|
40
|
+
});
|
|
29
41
|
const DictStoreProvider = vue.defineComponent({
|
|
30
42
|
name: "DictStoreProvider",
|
|
31
43
|
props: {
|
|
@@ -114,9 +126,9 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
114
126
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
115
127
|
const _component_el_popconfirm = vue.resolveComponent("el-popconfirm");
|
|
116
128
|
const _component_el_drawer = vue.resolveComponent("el-drawer");
|
|
117
|
-
return vue.openBlock(true), vue.createElementBlock(
|
|
129
|
+
return vue.unref(shouldRender) ? (vue.openBlock(true), vue.createElementBlock(
|
|
118
130
|
vue.Fragment,
|
|
119
|
-
|
|
131
|
+
{ key: 0 },
|
|
120
132
|
vue.renderList(vue.unref(store.drawerStore), (options, index) => {
|
|
121
133
|
return vue.openBlock(), vue.createBlock(_component_el_drawer, vue.mergeProps({ key: index }, options, {
|
|
122
134
|
modelValue: options.visible,
|
|
@@ -253,7 +265,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
253
265
|
}),
|
|
254
266
|
128
|
|
255
267
|
/* KEYED_FRAGMENT */
|
|
256
|
-
);
|
|
268
|
+
)) : vue.createCommentVNode("v-if", true);
|
|
257
269
|
};
|
|
258
270
|
}
|
|
259
271
|
});
|
|
@@ -2342,6 +2342,8 @@ export declare const drawerStore: Ref<{
|
|
|
2342
2342
|
zIndex?: number | undefined;
|
|
2343
2343
|
headerAriaLevel?: string | undefined;
|
|
2344
2344
|
}[]>;
|
|
2345
|
+
export declare function claimDrawerInstance(): boolean;
|
|
2346
|
+
export declare function releaseDrawerInstance(): void;
|
|
2345
2347
|
/** 打开抽屉 */
|
|
2346
2348
|
export declare const addDrawer: (options: DrawerOptions) => void;
|
|
2347
2349
|
/** 关闭抽屉 */
|
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
|
|
5
5
|
const drawerStore = vue.ref([]);
|
|
6
|
+
let _hasActiveInstance = false;
|
|
7
|
+
function claimDrawerInstance() {
|
|
8
|
+
if (_hasActiveInstance) return false;
|
|
9
|
+
_hasActiveInstance = true;
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
function releaseDrawerInstance() {
|
|
13
|
+
_hasActiveInstance = false;
|
|
14
|
+
}
|
|
6
15
|
const addDrawer = (options) => {
|
|
7
16
|
const open = () => drawerStore.value.push(Object.assign(options, { visible: true }));
|
|
8
17
|
if (options == null ? void 0 : options.openDelay) {
|
|
@@ -38,7 +47,9 @@ const closeAllDrawer = () => {
|
|
|
38
47
|
};
|
|
39
48
|
|
|
40
49
|
exports.addDrawer = addDrawer;
|
|
50
|
+
exports.claimDrawerInstance = claimDrawerInstance;
|
|
41
51
|
exports.closeAllDrawer = closeAllDrawer;
|
|
42
52
|
exports.closeDrawer = closeDrawer;
|
|
43
53
|
exports.drawerStore = drawerStore;
|
|
54
|
+
exports.releaseDrawerInstance = releaseDrawerInstance;
|
|
44
55
|
exports.updateDrawer = updateDrawer;
|
|
@@ -5,12 +5,12 @@ import { default as YcFormContainerHeaderComponent } from './src/index.vue';
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export type YcFormContainerHeaderInstance = InstanceType<typeof YcFormContainerHeaderComponent>;
|
|
7
7
|
export declare const YcFormContainerHeader: DefineComponent<{
|
|
8
|
-
|
|
8
|
+
class: {
|
|
9
9
|
type: PropType<string>;
|
|
10
|
-
required: true;
|
|
11
10
|
};
|
|
12
|
-
|
|
11
|
+
title: {
|
|
13
12
|
type: PropType<string>;
|
|
13
|
+
required: true;
|
|
14
14
|
};
|
|
15
15
|
titleColor: {
|
|
16
16
|
type: PropType<string>;
|
|
@@ -21,12 +21,12 @@ export declare const YcFormContainerHeader: DefineComponent<{
|
|
|
21
21
|
default: undefined;
|
|
22
22
|
};
|
|
23
23
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
24
|
-
|
|
24
|
+
class: {
|
|
25
25
|
type: PropType<string>;
|
|
26
|
-
required: true;
|
|
27
26
|
};
|
|
28
|
-
|
|
27
|
+
title: {
|
|
29
28
|
type: PropType<string>;
|
|
29
|
+
required: true;
|
|
30
30
|
};
|
|
31
31
|
titleColor: {
|
|
32
32
|
type: PropType<string>;
|
|
@@ -41,12 +41,12 @@ export declare const YcFormContainerHeader: DefineComponent<{
|
|
|
41
41
|
gradientColors: GradientColors;
|
|
42
42
|
}, {}>;
|
|
43
43
|
export declare const ReFormContainerHeader: DefineComponent<{
|
|
44
|
-
|
|
44
|
+
class: {
|
|
45
45
|
type: PropType<string>;
|
|
46
|
-
required: true;
|
|
47
46
|
};
|
|
48
|
-
|
|
47
|
+
title: {
|
|
49
48
|
type: PropType<string>;
|
|
49
|
+
required: true;
|
|
50
50
|
};
|
|
51
51
|
titleColor: {
|
|
52
52
|
type: PropType<string>;
|
|
@@ -57,12 +57,12 @@ export declare const ReFormContainerHeader: DefineComponent<{
|
|
|
57
57
|
default: undefined;
|
|
58
58
|
};
|
|
59
59
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
60
|
-
|
|
60
|
+
class: {
|
|
61
61
|
type: PropType<string>;
|
|
62
|
-
required: true;
|
|
63
62
|
};
|
|
64
|
-
|
|
63
|
+
title: {
|
|
65
64
|
type: PropType<string>;
|
|
65
|
+
required: true;
|
|
66
66
|
};
|
|
67
67
|
titleColor: {
|
|
68
68
|
type: PropType<string>;
|
|
@@ -5,22 +5,22 @@ import { default as YcMoreActionsComponent } from './src/index.vue';
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export type YcMoreActionsInstance = InstanceType<typeof YcMoreActionsComponent>;
|
|
7
7
|
export declare const YcMoreActions: DefineComponent<{
|
|
8
|
-
|
|
9
|
-
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
trigger: {
|
|
13
|
-
type: PropType<"hover" | "click" | "contextmenu">;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
disabled: {
|
|
8
|
+
showArrow: {
|
|
17
9
|
type: PropType<boolean>;
|
|
18
10
|
default: boolean;
|
|
19
11
|
};
|
|
20
|
-
|
|
12
|
+
disabled: {
|
|
21
13
|
type: PropType<boolean>;
|
|
22
14
|
default: boolean;
|
|
23
15
|
};
|
|
16
|
+
trigger: {
|
|
17
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
placement: {
|
|
21
|
+
type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
24
|
context: {
|
|
25
25
|
type: PropType<object | Record<string, unknown> | null>;
|
|
26
26
|
};
|
|
@@ -54,22 +54,22 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
54
54
|
"visible-change": (visible: boolean) => void;
|
|
55
55
|
"action-click": (key: string, context?: unknown) => void;
|
|
56
56
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
57
|
-
|
|
58
|
-
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
trigger: {
|
|
62
|
-
type: PropType<"hover" | "click" | "contextmenu">;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
disabled: {
|
|
57
|
+
showArrow: {
|
|
66
58
|
type: PropType<boolean>;
|
|
67
59
|
default: boolean;
|
|
68
60
|
};
|
|
69
|
-
|
|
61
|
+
disabled: {
|
|
70
62
|
type: PropType<boolean>;
|
|
71
63
|
default: boolean;
|
|
72
64
|
};
|
|
65
|
+
trigger: {
|
|
66
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
placement: {
|
|
70
|
+
type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
73
|
context: {
|
|
74
74
|
type: PropType<object | Record<string, unknown> | null>;
|
|
75
75
|
};
|
|
@@ -103,10 +103,10 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
103
103
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
104
104
|
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
105
105
|
}, {
|
|
106
|
-
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
107
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
108
|
-
disabled: boolean;
|
|
109
106
|
showArrow: boolean;
|
|
107
|
+
disabled: boolean;
|
|
108
|
+
trigger: "click" | "hover" | "contextmenu";
|
|
109
|
+
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
110
110
|
stopPropagation: boolean;
|
|
111
111
|
actions: MoreActionItem[];
|
|
112
112
|
triggerButton: TriggerButtonProps;
|
|
@@ -114,22 +114,22 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
114
114
|
dropdownStyle: Record<string, string | number>;
|
|
115
115
|
}, {}>;
|
|
116
116
|
export declare const ReMoreActions: DefineComponent<{
|
|
117
|
-
|
|
118
|
-
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
trigger: {
|
|
122
|
-
type: PropType<"hover" | "click" | "contextmenu">;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
disabled: {
|
|
117
|
+
showArrow: {
|
|
126
118
|
type: PropType<boolean>;
|
|
127
119
|
default: boolean;
|
|
128
120
|
};
|
|
129
|
-
|
|
121
|
+
disabled: {
|
|
130
122
|
type: PropType<boolean>;
|
|
131
123
|
default: boolean;
|
|
132
124
|
};
|
|
125
|
+
trigger: {
|
|
126
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
placement: {
|
|
130
|
+
type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
133
|
context: {
|
|
134
134
|
type: PropType<object | Record<string, unknown> | null>;
|
|
135
135
|
};
|
|
@@ -163,22 +163,22 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
163
163
|
"visible-change": (visible: boolean) => void;
|
|
164
164
|
"action-click": (key: string, context?: unknown) => void;
|
|
165
165
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
166
|
-
|
|
167
|
-
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
168
|
-
default: string;
|
|
169
|
-
};
|
|
170
|
-
trigger: {
|
|
171
|
-
type: PropType<"hover" | "click" | "contextmenu">;
|
|
172
|
-
default: string;
|
|
173
|
-
};
|
|
174
|
-
disabled: {
|
|
166
|
+
showArrow: {
|
|
175
167
|
type: PropType<boolean>;
|
|
176
168
|
default: boolean;
|
|
177
169
|
};
|
|
178
|
-
|
|
170
|
+
disabled: {
|
|
179
171
|
type: PropType<boolean>;
|
|
180
172
|
default: boolean;
|
|
181
173
|
};
|
|
174
|
+
trigger: {
|
|
175
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
placement: {
|
|
179
|
+
type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
182
|
context: {
|
|
183
183
|
type: PropType<object | Record<string, unknown> | null>;
|
|
184
184
|
};
|
|
@@ -212,10 +212,10 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
212
212
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
213
213
|
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
216
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
217
|
-
disabled: boolean;
|
|
218
215
|
showArrow: boolean;
|
|
216
|
+
disabled: boolean;
|
|
217
|
+
trigger: "click" | "hover" | "contextmenu";
|
|
218
|
+
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
219
219
|
stopPropagation: boolean;
|
|
220
220
|
actions: MoreActionItem[];
|
|
221
221
|
triggerButton: TriggerButtonProps;
|
|
@@ -38,10 +38,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
38
38
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
39
39
|
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
42
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
43
|
-
disabled: boolean;
|
|
44
41
|
showArrow: boolean;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
trigger: "click" | "hover" | "contextmenu";
|
|
44
|
+
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
45
45
|
stopPropagation: boolean;
|
|
46
46
|
actions: MoreActionItem[];
|
|
47
47
|
triggerButton: TriggerButtonProps;
|