jky-component-lib 0.0.75 → 0.0.77
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/dist/es/add-input/index.d.ts +1 -0
- package/dist/es/code-mirror-editor/index.d.ts +1 -0
- package/dist/es/components.d.ts +1 -0
- package/dist/es/components.js +4 -1
- package/dist/es/form/index.d.ts +1 -0
- package/dist/es/index.js +6 -0
- package/dist/es/menu/Menu.vue.js +2 -2
- package/dist/es/menu/MenuItem.vue.js +2 -2
- package/dist/es/menu/index.d.ts +1 -0
- package/dist/es/package.json.js +1 -1
- package/dist/es/page-header/index.d.ts +1 -0
- package/dist/es/page-layout/PageLayout.vue.d.ts +3 -2
- package/dist/es/page-layout/PageLayout.vue.js +45 -8
- package/dist/es/page-layout/index.d.ts +1 -0
- package/dist/es/page-table/PageTable.vue.d.ts +9 -9
- package/dist/es/page-table/index.d.ts +1 -0
- package/dist/es/rich-editor/index.d.ts +1 -0
- package/dist/es/style.css +57 -120
- package/dist/es/styles.css +1 -1
- package/dist/es/tabs/ContextMenu.vue.d.ts +30 -0
- package/dist/es/tabs/ContextMenu.vue.js +118 -0
- package/dist/es/tabs/ContextMenu.vue3.js +5 -0
- package/dist/es/tabs/Tabs.vue.d.ts +13 -0
- package/dist/es/tabs/Tabs.vue.js +132 -0
- package/dist/es/tabs/Tabs.vue3.js +5 -0
- package/dist/es/tabs/config.d.ts +2 -0
- package/dist/es/tabs/config.js +8 -0
- package/dist/es/tabs/createTabsGuard.d.ts +5 -0
- package/dist/es/tabs/createTabsGuard.js +18 -0
- package/dist/es/tabs/index.d.ts +7 -0
- package/dist/es/tabs/index.js +8 -0
- package/dist/es/tabs/style.css +43 -0
- package/dist/es/tabs/useTabsStore.d.ts +6 -0
- package/dist/es/tabs/useTabsStore.js +156 -0
- package/dist/lib/add-input/index.d.ts +1 -0
- package/dist/lib/code-mirror-editor/index.d.ts +1 -0
- package/dist/lib/components.d.ts +1 -0
- package/dist/lib/components.js +4 -1
- package/dist/lib/form/index.d.ts +1 -0
- package/dist/lib/index.js +6 -0
- package/dist/lib/menu/Menu.vue.js +2 -2
- package/dist/lib/menu/MenuItem.vue.js +2 -2
- package/dist/lib/menu/index.d.ts +1 -0
- package/dist/lib/package.json.js +1 -1
- package/dist/lib/page-header/index.d.ts +1 -0
- package/dist/lib/page-layout/PageLayout.vue.d.ts +3 -2
- package/dist/lib/page-layout/PageLayout.vue.js +44 -7
- package/dist/lib/page-layout/index.d.ts +1 -0
- package/dist/lib/page-table/PageTable.vue.d.ts +9 -9
- package/dist/lib/page-table/index.d.ts +1 -0
- package/dist/lib/rich-editor/index.d.ts +1 -0
- package/dist/lib/style.css +57 -120
- package/dist/lib/styles.css +1 -1
- package/dist/lib/tabs/ContextMenu.vue.d.ts +30 -0
- package/dist/lib/tabs/ContextMenu.vue.js +118 -0
- package/dist/lib/tabs/ContextMenu.vue3.js +5 -0
- package/dist/lib/tabs/Tabs.vue.d.ts +13 -0
- package/dist/lib/tabs/Tabs.vue.js +132 -0
- package/dist/lib/tabs/Tabs.vue3.js +5 -0
- package/dist/lib/tabs/config.d.ts +2 -0
- package/dist/lib/tabs/config.js +8 -0
- package/dist/lib/tabs/createTabsGuard.d.ts +5 -0
- package/dist/lib/tabs/createTabsGuard.js +18 -0
- package/dist/lib/tabs/index.d.ts +7 -0
- package/dist/lib/tabs/index.js +8 -0
- package/dist/lib/tabs/style.css +43 -0
- package/dist/lib/tabs/useTabsStore.d.ts +6 -0
- package/dist/lib/tabs/useTabsStore.js +156 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InstallWithSFC } from '../utils';
|
|
2
2
|
import { default as AddInput } from './AddInput.vue';
|
|
3
|
+
export type { AddInputEmits, AddInputItem, AddInputProps } from './types';
|
|
3
4
|
export declare const JkyAddInput: InstallWithSFC<typeof AddInput>;
|
|
4
5
|
export default JkyAddInput;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InstallWithSFC } from '../utils';
|
|
2
2
|
import { default as CodeMirrorEditor } from './CodeMirrorEditor.vue';
|
|
3
|
+
export type { CodeMirrorEditorEmits, CodeMirrorEditorProps } from './types';
|
|
3
4
|
export declare const JkyCodeMirrorEditor: InstallWithSFC<typeof CodeMirrorEditor>;
|
|
4
5
|
export default JkyCodeMirrorEditor;
|
package/dist/es/components.d.ts
CHANGED
package/dist/es/components.js
CHANGED
|
@@ -9,6 +9,7 @@ import { JkyPageLayout } from "./page-layout/index.js";
|
|
|
9
9
|
import { JkyPageTable } from "./page-table/index.js";
|
|
10
10
|
import { JkyRichEditor } from "./rich-editor/index.js";
|
|
11
11
|
import { JkySayHello } from "./say-hello/index.js";
|
|
12
|
+
import { JkyTabs } from "./tabs/index.js";
|
|
12
13
|
const components = [
|
|
13
14
|
JkySayHello,
|
|
14
15
|
JkyButton,
|
|
@@ -20,7 +21,8 @@ const components = [
|
|
|
20
21
|
JkyAddInput,
|
|
21
22
|
JkyRichEditor,
|
|
22
23
|
JkyPageTable,
|
|
23
|
-
JkyPageLayout
|
|
24
|
+
JkyPageLayout,
|
|
25
|
+
JkyTabs
|
|
24
26
|
];
|
|
25
27
|
export {
|
|
26
28
|
JkyAddInput,
|
|
@@ -34,5 +36,6 @@ export {
|
|
|
34
36
|
JkyPageTable,
|
|
35
37
|
JkyRichEditor,
|
|
36
38
|
JkySayHello,
|
|
39
|
+
JkyTabs,
|
|
37
40
|
components
|
|
38
41
|
};
|
package/dist/es/form/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InstallWithSFC } from '../utils';
|
|
2
2
|
import { default as Form } from './Form.vue';
|
|
3
|
+
export type { ComponentPropsMap, ComponentPropsType, DynamicComponentProps, FormComponentType, FormItemChildConfig, FormItemConfig, FormItemOption, FormItemProps, FormItemPropsContext, FormProps, FormValidateResult, GridConfig, HelpConfig, HelpType, ResponsiveBreakpoint, ResponsiveConfig, SelectTableComponentProps, SelectTableProps, StaticComponentProps, } from './types';
|
|
3
4
|
export declare const JkyForm: InstallWithSFC<typeof Form>;
|
|
4
5
|
export default JkyForm;
|
package/dist/es/index.js
CHANGED
|
@@ -13,6 +13,9 @@ import { JkyPageLayout } from "./page-layout/index.js";
|
|
|
13
13
|
import { JkyPageTable } from "./page-table/index.js";
|
|
14
14
|
import { JkyRichEditor } from "./rich-editor/index.js";
|
|
15
15
|
import { JkySayHello } from "./say-hello/index.js";
|
|
16
|
+
import { JkyTabs } from "./tabs/index.js";
|
|
17
|
+
import { createTabsGuard } from "./tabs/createTabsGuard.js";
|
|
18
|
+
import { createTabsStore } from "./tabs/useTabsStore.js";
|
|
16
19
|
const installer = createInstaller(components);
|
|
17
20
|
const install = installer.install;
|
|
18
21
|
const version = installer.version;
|
|
@@ -29,7 +32,10 @@ export {
|
|
|
29
32
|
JkyPageTable,
|
|
30
33
|
JkyRichEditor,
|
|
31
34
|
JkySayHello,
|
|
35
|
+
JkyTabs,
|
|
32
36
|
components,
|
|
37
|
+
createTabsGuard,
|
|
38
|
+
createTabsStore,
|
|
33
39
|
installer as default,
|
|
34
40
|
install,
|
|
35
41
|
version
|
package/dist/es/menu/Menu.vue.js
CHANGED
|
@@ -80,7 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
80
80
|
title: withCtx(() => [
|
|
81
81
|
item.icon ? (openBlock(), createElementBlock("span", {
|
|
82
82
|
key: 0,
|
|
83
|
-
class: normalizeClass([item.icon, "jky-menu-item__icon"])
|
|
83
|
+
class: normalizeClass([item.icon, "text-lg mr-1 jky-menu-item__icon"])
|
|
84
84
|
}, null, 2)) : createCommentVNode("", true),
|
|
85
85
|
item.title ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(item.title), 1)) : createCommentVNode("", true)
|
|
86
86
|
]),
|
|
@@ -104,7 +104,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
104
104
|
default: withCtx(() => [
|
|
105
105
|
item.icon ? (openBlock(), createElementBlock("span", {
|
|
106
106
|
key: 0,
|
|
107
|
-
class: normalizeClass([item.icon, "jky-menu-item__icon"])
|
|
107
|
+
class: normalizeClass([item.icon, "text-lg mr-1 jky-menu-item__icon"])
|
|
108
108
|
}, null, 2)) : createCommentVNode("", true),
|
|
109
109
|
item.title ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(item.title), 1)) : createCommentVNode("", true)
|
|
110
110
|
]),
|
|
@@ -30,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
title: withCtx(() => [
|
|
31
31
|
props.item.icon ? (openBlock(), createElementBlock("span", {
|
|
32
32
|
key: 0,
|
|
33
|
-
class: normalizeClass([props.item.icon, "jky-menu-item__icon"])
|
|
33
|
+
class: normalizeClass([props.item.icon, "text-lg mr-1 jky-menu-item__icon"])
|
|
34
34
|
}, null, 2)) : createCommentVNode("", true),
|
|
35
35
|
props.item.title ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(props.item.title), 1)) : createCommentVNode("", true)
|
|
36
36
|
]),
|
|
@@ -54,7 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
default: withCtx(() => [
|
|
55
55
|
props.item.icon ? (openBlock(), createElementBlock("span", {
|
|
56
56
|
key: 0,
|
|
57
|
-
class: normalizeClass([props.item.icon, "jky-menu-item__icon"])
|
|
57
|
+
class: normalizeClass([props.item.icon, "text-lg mr-1 jky-menu-item__icon"])
|
|
58
58
|
}, null, 2)) : createCommentVNode("", true),
|
|
59
59
|
props.item.title ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(props.item.title), 1)) : createCommentVNode("", true)
|
|
60
60
|
]),
|
package/dist/es/menu/index.d.ts
CHANGED
package/dist/es/package.json.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InstallWithSFC } from '../utils';
|
|
2
2
|
import { default as PageHeader } from './PageHeader.vue';
|
|
3
|
+
export type { PageHeaderPopoverMenuItem, PageHeaderPopoverMenuProps, PageHeaderProps, PageHeaderStatusIcon, PageHeaderUserDropdonItem, } from './types';
|
|
3
4
|
export declare const JkyPageHeader: InstallWithSFC<typeof PageHeader>;
|
|
4
5
|
export default JkyPageHeader;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { PageLayoutProps } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<PageLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PageLayoutProps> & Readonly<{}>, {
|
|
3
|
+
cachable: boolean;
|
|
4
|
+
roundTabs: boolean;
|
|
3
5
|
showTopMenu: boolean;
|
|
4
6
|
showSideMenu: boolean;
|
|
5
7
|
asideWidth: string;
|
|
6
8
|
asideWithScrollbar: boolean;
|
|
7
9
|
mainWithCard: boolean;
|
|
8
10
|
mainWithScrollbar: boolean;
|
|
9
|
-
cachable: boolean;
|
|
10
11
|
transitionName: string;
|
|
11
12
|
tabsWithCard: boolean;
|
|
12
13
|
cardPadding: string;
|
|
13
14
|
topMenuTrigger: "hover" | "click";
|
|
14
15
|
topMenuSingleLevel: boolean;
|
|
15
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
17
|
export default _default;
|
|
@@ -29,19 +29,24 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import { defineComponent,
|
|
32
|
+
import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, unref, withCtx, createElementVNode, createVNode, createCommentVNode, normalizeStyle, resolveDynamicComponent, Transition, KeepAlive } from "vue";
|
|
33
33
|
import { ElCard, ElAside, ElScrollbar } from "element-plus";
|
|
34
34
|
import { cloneDeep } from "lodash-es";
|
|
35
35
|
import { useRouter, useRoute, RouterView } from "vue-router";
|
|
36
36
|
import _sfc_main$1 from "../menu/Menu.vue.js";
|
|
37
37
|
/* empty css */
|
|
38
|
+
import _sfc_main$2 from "../tabs/Tabs.vue.js";
|
|
39
|
+
/* empty css */
|
|
40
|
+
import { createTabsStore } from "../tabs/useTabsStore.js";
|
|
38
41
|
const _hoisted_1 = { class: "w-full flex justify-center" };
|
|
39
42
|
const _hoisted_2 = { class: "flex flex-1 min-h-0 overflow-hidden gap-3" };
|
|
40
43
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
41
|
-
name: "JkyPageLayout"
|
|
44
|
+
name: "JkyPageLayout",
|
|
45
|
+
inheritAttrs: false
|
|
42
46
|
}), {
|
|
43
47
|
__name: "PageLayout",
|
|
44
48
|
props: {
|
|
49
|
+
roundTabs: { type: Boolean, default: true },
|
|
45
50
|
showTopMenu: { type: Boolean, default: true },
|
|
46
51
|
showSideMenu: { type: Boolean, default: true },
|
|
47
52
|
asideWidth: { default: "200px" },
|
|
@@ -54,7 +59,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
54
59
|
cachable: { type: Boolean, default: true },
|
|
55
60
|
transitionName: { default: "fade" },
|
|
56
61
|
className: {},
|
|
57
|
-
tabsWithCard: { type: Boolean, default:
|
|
62
|
+
tabsWithCard: { type: Boolean, default: false },
|
|
58
63
|
cardPadding: { default: "0px" },
|
|
59
64
|
topLevels: {},
|
|
60
65
|
sideLevels: {},
|
|
@@ -65,11 +70,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
65
70
|
const props = __props;
|
|
66
71
|
const router = useRouter();
|
|
67
72
|
const route = useRoute();
|
|
68
|
-
const
|
|
73
|
+
const { useTabsStore } = createTabsStore({
|
|
74
|
+
enableCache: props.cachable
|
|
75
|
+
});
|
|
76
|
+
const tabsStore = useTabsStore();
|
|
69
77
|
const activeTopMenu = ref("");
|
|
70
78
|
const activeSideMenu = ref("");
|
|
71
79
|
const routes = router.getRoutes();
|
|
72
|
-
const cacheInclude =
|
|
80
|
+
const cacheInclude = computed(() => {
|
|
81
|
+
return tabsStore.tabs.map((tab) => tab.name).filter(Boolean);
|
|
82
|
+
});
|
|
73
83
|
function buildMenuFromRoutes(routes2) {
|
|
74
84
|
const menuRoutes = routes2.filter((r) => {
|
|
75
85
|
var _a;
|
|
@@ -110,7 +120,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
110
120
|
return buildMenuFromRoutes(routes);
|
|
111
121
|
});
|
|
112
122
|
const topMenuData = computed(() => {
|
|
113
|
-
console.warn("topMenuData:", menuData.value, props, attrs);
|
|
114
123
|
if (props.topMenuSingleLevel) {
|
|
115
124
|
return cloneDeep(menuData.value).map((item) => {
|
|
116
125
|
const _a = item, { children } = _a, rest = __objRest(_a, ["children"]);
|
|
@@ -177,6 +186,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
177
186
|
router.push(index);
|
|
178
187
|
}
|
|
179
188
|
return (_ctx, _cache) => {
|
|
189
|
+
var _a;
|
|
180
190
|
const _component_ElAutoResizer = resolveComponent("ElAutoResizer");
|
|
181
191
|
return openBlock(), createElementBlock("div", {
|
|
182
192
|
class: normalizeClass(["jky-page-layout flex h-full w-full flex-col overflow-hidden gap-3", props.className])
|
|
@@ -240,6 +250,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
240
250
|
createElementVNode("div", {
|
|
241
251
|
class: normalizeClass(["jky-page-layout__main flex-1 flex flex-col min-w-0 overflow-hidden", props.mainClass])
|
|
242
252
|
}, [
|
|
253
|
+
props.tabsWithCard ? (openBlock(), createBlock(unref(ElCard), {
|
|
254
|
+
key: 0,
|
|
255
|
+
class: "jky-page-layout__tabs shrink-0 mb-3",
|
|
256
|
+
style: normalizeStyle({ "--el-card-padding": props.cardPadding })
|
|
257
|
+
}, {
|
|
258
|
+
default: withCtx(() => {
|
|
259
|
+
var _a2;
|
|
260
|
+
return [
|
|
261
|
+
createVNode(_sfc_main$2, {
|
|
262
|
+
store: unref(tabsStore),
|
|
263
|
+
round: (_a2 = props.roundTabs) != null ? _a2 : _ctx.$attrs["round-tabs"],
|
|
264
|
+
mode: "route",
|
|
265
|
+
cachable: props.cachable,
|
|
266
|
+
closable: true
|
|
267
|
+
}, null, 8, ["store", "round", "cachable"])
|
|
268
|
+
];
|
|
269
|
+
}),
|
|
270
|
+
_: 1
|
|
271
|
+
}, 8, ["style"])) : (openBlock(), createBlock(_sfc_main$2, {
|
|
272
|
+
key: 1,
|
|
273
|
+
class: "jky-page-layout__tabs shrink-0 mb-3",
|
|
274
|
+
store: unref(tabsStore),
|
|
275
|
+
mode: "route",
|
|
276
|
+
cachable: props.cachable,
|
|
277
|
+
round: (_a = props.roundTabs) != null ? _a : _ctx.$attrs["round-tabs"],
|
|
278
|
+
closable: true
|
|
279
|
+
}, null, 8, ["store", "cachable", "round"])),
|
|
243
280
|
(openBlock(), createBlock(resolveDynamicComponent(props.mainWithCard ? unref(ElCard) : "div"), {
|
|
244
281
|
class: normalizeClass(["jky-page-layout__content flex-1 min-h-0 overflow-hidden", props.contentClass]),
|
|
245
282
|
"body-class": props.mainWithScrollbar ? "" : "pb-0!"
|
|
@@ -256,7 +293,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
256
293
|
}, {
|
|
257
294
|
default: withCtx(() => [
|
|
258
295
|
(openBlock(), createBlock(KeepAlive, {
|
|
259
|
-
include: props.cachable ? cacheInclude : []
|
|
296
|
+
include: props.cachable ? cacheInclude.value : []
|
|
260
297
|
}, [
|
|
261
298
|
(openBlock(), createBlock(resolveDynamicComponent(Component), {
|
|
262
299
|
key: currentRoute.name,
|
|
@@ -279,7 +316,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
279
316
|
}, {
|
|
280
317
|
default: withCtx(() => [
|
|
281
318
|
(openBlock(), createBlock(KeepAlive, {
|
|
282
|
-
include: props.cachable ? cacheInclude : []
|
|
319
|
+
include: props.cachable ? cacheInclude.value : []
|
|
283
320
|
}, [
|
|
284
321
|
(openBlock(), createBlock(resolveDynamicComponent(Component), {
|
|
285
322
|
key: currentRoute.name,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InstallWithSFC } from '../utils';
|
|
2
2
|
import { default as PageLayout } from './PageLayout.vue';
|
|
3
|
+
export type { BreadcrumbConfig, PageLayoutProps } from './types';
|
|
3
4
|
export declare const JkyPageLayout: InstallWithSFC<typeof PageLayout>;
|
|
4
5
|
export default JkyPageLayout;
|
|
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
|
|
|
17
17
|
pageTableRef: HTMLDivElement;
|
|
18
18
|
formRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
19
19
|
modelValue: Record<string, any>;
|
|
20
|
-
} & import('../form
|
|
20
|
+
} & import('../form').FormProps> & Readonly<{
|
|
21
21
|
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
22
22
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
23
23
|
onReset?: (() => any) | undefined;
|
|
@@ -337,7 +337,7 @@ declare function __VLS_template(): {
|
|
|
337
337
|
}) => any;
|
|
338
338
|
}, import('vue').PublicProps, {
|
|
339
339
|
size: import('element-plus').ComponentSize;
|
|
340
|
-
grid: import('../form
|
|
340
|
+
grid: import('../form').GridConfig;
|
|
341
341
|
inline: boolean;
|
|
342
342
|
labelPosition: "left" | "right" | "top";
|
|
343
343
|
labelWidth: string | number;
|
|
@@ -460,7 +460,7 @@ declare function __VLS_template(): {
|
|
|
460
460
|
Defaults: {};
|
|
461
461
|
}, Readonly<{
|
|
462
462
|
modelValue: Record<string, any>;
|
|
463
|
-
} & import('../form
|
|
463
|
+
} & import('../form').FormProps> & Readonly<{
|
|
464
464
|
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
465
465
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
466
466
|
onReset?: (() => any) | undefined;
|
|
@@ -771,7 +771,7 @@ declare function __VLS_template(): {
|
|
|
771
771
|
}) | undefined>;
|
|
772
772
|
}, {}, {}, {}, {
|
|
773
773
|
size: import('element-plus').ComponentSize;
|
|
774
|
-
grid: import('../form
|
|
774
|
+
grid: import('../form').GridConfig;
|
|
775
775
|
inline: boolean;
|
|
776
776
|
labelPosition: "left" | "right" | "top";
|
|
777
777
|
labelWidth: string | number;
|
|
@@ -2960,7 +2960,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
2960
2960
|
border: boolean;
|
|
2961
2961
|
stripe: boolean;
|
|
2962
2962
|
emptyText: string;
|
|
2963
|
-
formProps: Partial<import('../form
|
|
2963
|
+
formProps: Partial<import('../form').FormProps>;
|
|
2964
2964
|
tableProps: Partial<import('element-plus').TableProps>;
|
|
2965
2965
|
paginationProps: Partial<import('element-plus').PaginationProps>;
|
|
2966
2966
|
autoSearchDelay: number;
|
|
@@ -2968,7 +2968,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
2968
2968
|
pageTableRef: HTMLDivElement;
|
|
2969
2969
|
formRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2970
2970
|
modelValue: Record<string, any>;
|
|
2971
|
-
} & import('../form
|
|
2971
|
+
} & import('../form').FormProps> & Readonly<{
|
|
2972
2972
|
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
2973
2973
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
2974
2974
|
onReset?: (() => any) | undefined;
|
|
@@ -3288,7 +3288,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
3288
3288
|
}) => any;
|
|
3289
3289
|
}, import('vue').PublicProps, {
|
|
3290
3290
|
size: import('element-plus').ComponentSize;
|
|
3291
|
-
grid: import('../form
|
|
3291
|
+
grid: import('../form').GridConfig;
|
|
3292
3292
|
inline: boolean;
|
|
3293
3293
|
labelPosition: "left" | "right" | "top";
|
|
3294
3294
|
labelWidth: string | number;
|
|
@@ -3411,7 +3411,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
3411
3411
|
Defaults: {};
|
|
3412
3412
|
}, Readonly<{
|
|
3413
3413
|
modelValue: Record<string, any>;
|
|
3414
|
-
} & import('../form
|
|
3414
|
+
} & import('../form').FormProps> & Readonly<{
|
|
3415
3415
|
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
3416
3416
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
3417
3417
|
onReset?: (() => any) | undefined;
|
|
@@ -3722,7 +3722,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
3722
3722
|
}) | undefined>;
|
|
3723
3723
|
}, {}, {}, {}, {
|
|
3724
3724
|
size: import('element-plus').ComponentSize;
|
|
3725
|
-
grid: import('../form
|
|
3725
|
+
grid: import('../form').GridConfig;
|
|
3726
3726
|
inline: boolean;
|
|
3727
3727
|
labelPosition: "left" | "right" | "top";
|
|
3728
3728
|
labelWidth: string | number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InstallWithSFC } from '../utils/types';
|
|
2
2
|
import { default as PageTable } from './PageTable.vue';
|
|
3
|
+
export type { ApiParamsGetter, FilterItemConfig, PageTableEmits, PageTableExpose, PageTableProps, PaginationConfig, TableApiFunction, TableApiResponse, TableColumnConfig, TableDataSource, TableResponseProps, ToolbarButtonConfig, ToolbarEmits, ToolbarProps, } from './types';
|
|
3
4
|
export declare const JkyPageTable: InstallWithSFC<typeof PageTable>;
|
|
4
5
|
export default JkyPageTable;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InstallWithSFC } from '../utils';
|
|
2
2
|
import { default as RichEditor } from './RichEditor.vue';
|
|
3
|
+
export type { RichEditorEmits, RichEditorProps } from './types';
|
|
3
4
|
export declare const JkyRichEditor: InstallWithSFC<typeof RichEditor>;
|
|
4
5
|
export default JkyRichEditor;
|