@keyblade/pro-components 1.9.0 → 1.11.0

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.
@@ -159,8 +159,8 @@ declare const ProLayout: {
159
159
  onCollapse?: ((collapsed: boolean) => any) | undefined;
160
160
  onKeepAliveIncludeChange?: ((keepAliveInclude: string[]) => any) | undefined;
161
161
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
162
- collapse: (collapsed: boolean) => true;
163
- keepAliveIncludeChange: (keepAliveInclude: string[]) => true;
162
+ collapse: (collapsed: boolean) => void;
163
+ keepAliveIncludeChange: (keepAliveInclude: string[]) => void;
164
164
  }, string, {
165
165
  title: string;
166
166
  tabsSize: "small" | "mini" | "medium" | "large";
@@ -360,8 +360,8 @@ declare const ProLayout: {
360
360
  onCollapse?: ((collapsed: boolean) => any) | undefined;
361
361
  onKeepAliveIncludeChange?: ((keepAliveInclude: string[]) => any) | undefined;
362
362
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
363
- collapse: (collapsed: boolean) => true;
364
- keepAliveIncludeChange: (keepAliveInclude: string[]) => true;
363
+ collapse: (collapsed: boolean) => void;
364
+ keepAliveIncludeChange: (keepAliveInclude: string[]) => void;
365
365
  }, string, {
366
366
  title: string;
367
367
  tabsSize: "small" | "mini" | "medium" | "large";
@@ -96,10 +96,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
96
96
  default: boolean;
97
97
  };
98
98
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
99
- /** 收缩事件 */
100
- collapse: (collapsed: boolean) => true;
101
- /** keepAlive改变事件 */
102
- keepAliveIncludeChange: (keepAliveInclude: string[]) => true;
99
+ collapse: (collapsed: boolean) => void;
100
+ keepAliveIncludeChange: (keepAliveInclude: string[]) => void;
103
101
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
104
102
  /**
105
103
  * 布局模式
@@ -1,4 +1 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
1
+
@@ -88,7 +88,7 @@ declare const ProMenu: {
88
88
  }>> & {
89
89
  "onMenu-item-click"?: ((key: string) => any) | undefined;
90
90
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
91
- 'menu-item-click': (key: string) => true;
91
+ "menu-item-click": (key: string) => void;
92
92
  }, string, {
93
93
  mode: "horizontal" | "vertical";
94
94
  }, {}, string, {}> & {
@@ -156,7 +156,7 @@ declare const ProMenu: {
156
156
  }>> & {
157
157
  "onMenu-item-click"?: ((key: string) => any) | undefined;
158
158
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
159
- 'menu-item-click': (key: string) => true;
159
+ "menu-item-click": (key: string) => void;
160
160
  }, string, {
161
161
  mode: "horizontal" | "vertical";
162
162
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  required: true;
20
20
  };
21
21
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
- 'menu-item-click': (key: string) => true;
22
+ "menu-item-click": (key: string) => void;
23
23
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
24
  mode: {
25
25
  type: PropType<"horizontal" | "vertical">;
@@ -1,4 +1 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
1
+
@@ -93,8 +93,8 @@ declare const ProReuseTabs: {
93
93
  "onTab-click"?: ((key: string) => any) | undefined;
94
94
  "onTab-delete"?: ((key: string) => any) | undefined;
95
95
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
96
- 'tab-click': (key: string) => true;
97
- 'tab-delete': (key: string) => true;
96
+ "tab-click": (key: string) => void;
97
+ "tab-delete": (key: string) => void;
98
98
  }, string, {
99
99
  tabs: import("./interface").IProTab[];
100
100
  tabsSize: "small" | "mini" | "medium" | "large";
@@ -173,8 +173,8 @@ declare const ProReuseTabs: {
173
173
  "onTab-click"?: ((key: string) => any) | undefined;
174
174
  "onTab-delete"?: ((key: string) => any) | undefined;
175
175
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
176
- 'tab-click': (key: string) => true;
177
- 'tab-delete': (key: string) => true;
176
+ "tab-click": (key: string) => void;
177
+ "tab-delete": (key: string) => void;
178
178
  }, string, {
179
179
  tabs: import("./interface").IProTab[];
180
180
  tabsSize: "small" | "mini" | "medium" | "large";
@@ -23,8 +23,8 @@ declare const _default: import("vue").DefineComponent<{
23
23
  default: boolean;
24
24
  };
25
25
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
- 'tab-click': (key: string) => true;
27
- 'tab-delete': (key: string) => true;
26
+ "tab-click": (key: string) => void;
27
+ "tab-delete": (key: string) => void;
28
28
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  tabs: {
30
30
  type: PropType<IProTab[]>;
@@ -1,4 +1 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
1
+
package/es/style.css CHANGED
@@ -1 +1 @@
1
- .keyblade-pro-page-header{background:var(--color-bg-2);padding:16px 32px}.keyblade-pro-page-header .keyblade-pro-page-header-section-breadcrumb .arco-breadcrumb-item:first-child{padding-left:0}.keyblade-pro-page-header .keyblade-pro-page-header-title.arco-typography{padding-top:4px;margin-top:0}.keyblade-pro-layout{width:100%;height:100%}.keyblade-pro-layout .keyblade-pro-layout-header{position:fixed;top:0;left:0;width:100%;height:var(--c299e954);z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background-color:var(--color-bg-2);border-bottom:1px solid var(--color-border);transition:all .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-header-left{cursor:pointer;display:flex;align-items:center}.keyblade-pro-layout .keyblade-pro-layout-header-left-logo-img{width:28px;height:28px}.keyblade-pro-layout .keyblade-pro-layout-header-left-logo-title.arco-typography{margin:0;font-size:18px}.keyblade-pro-layout .keyblade-pro-layout-header-center{flex:1}.keyblade-pro-layout .keyblade-pro-layout-sider{padding-top:var(--c299e954);position:fixed;top:0;left:0;z-index:99;height:100%;transition:all .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-sider-content{position:relative;height:100%;overflow:auto}.keyblade-pro-layout .keyblade-pro-layout-sider-collapse-btn.arco-btn{position:absolute;right:12px;bottom:12px}.keyblade-pro-layout .keyblade-pro-layout-body{padding-top:var(--c299e954);padding-left:var(--5c2d09d7);min-height:100vh;overflow-y:hidden;background-color:var(--color-fill-2);transition:padding .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-body-affix .arco-affix{z-index:98}.keyblade-pro-layout .keyblade-pro-layout-body-footer{display:flex;align-items:center;justify-content:center;height:40px;color:var(--color-text-2);text-align:center}.keyblade-pro-layout .keyblade-pro-layout-body-collapsed{padding-left:var(--4313bece)}.keyblade-pro-layout-side .keyblade-pro-layout-header{z-index:98;left:var(--5c2d09d7);width:calc(100% - var(--5c2d09d7))}.keyblade-pro-layout-side .keyblade-pro-layout-header-collapsed{left:var(--4313bece);width:calc(100% - var(--4313bece))}.keyblade-pro-layout-side .keyblade-pro-layout-sider{padding-top:0}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo{position:relative;display:flex;align-items:center;padding:16px;cursor:pointer;transition:padding .3s cubic-bezier(.645,.045,.355,1)}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo-img{width:28px;height:28px}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo-title.arco-typography{margin:0;font-size:18px}.keyblade-pro-layout-side .keyblade-pro-layout-sider-collapsed .keyblade-pro-layout-sider-content-logo{padding:16px 10px}.keyblade-pro-menu .keyblade-pro-menu-item-img{width:14px;height:auto}.keyblade-pro-reuse-tabs{position:relative;background-color:var(--color-bg-2);padding:4px 20px}.keyblade-pro-page-container .keyblade-pro-page-container-content{padding:20px}
1
+ .keyblade-pro-page-container .keyblade-pro-page-container-content{padding:20px}.keyblade-pro-reuse-tabs{position:relative;background-color:var(--color-bg-2);padding:4px 20px}.keyblade-pro-menu .keyblade-pro-menu-item-img{width:14px;height:auto}.keyblade-pro-layout{width:100%;height:100%}.keyblade-pro-layout .keyblade-pro-layout-header{position:fixed;top:0;left:0;width:100%;height:var(--c299e954);z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background-color:var(--color-bg-2);border-bottom:1px solid var(--color-border);transition:all .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-header-left{cursor:pointer;display:flex;align-items:center}.keyblade-pro-layout .keyblade-pro-layout-header-left-logo-img{width:28px;height:28px}.keyblade-pro-layout .keyblade-pro-layout-header-left-logo-title.arco-typography{margin:0;font-size:18px}.keyblade-pro-layout .keyblade-pro-layout-header-center{flex:1}.keyblade-pro-layout .keyblade-pro-layout-sider{padding-top:var(--c299e954);position:fixed;top:0;left:0;z-index:99;height:100%;transition:all .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-sider-content{position:relative;height:100%;overflow:auto}.keyblade-pro-layout .keyblade-pro-layout-sider-collapse-btn.arco-btn{position:absolute;right:12px;bottom:12px}.keyblade-pro-layout .keyblade-pro-layout-body{padding-top:var(--c299e954);padding-left:var(--5c2d09d7);min-height:100vh;overflow-y:hidden;background-color:var(--color-fill-2);transition:padding .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-body-affix .arco-affix{z-index:98}.keyblade-pro-layout .keyblade-pro-layout-body-footer{display:flex;align-items:center;justify-content:center;height:40px;color:var(--color-text-2);text-align:center}.keyblade-pro-layout .keyblade-pro-layout-body-collapsed{padding-left:var(--4313bece)}.keyblade-pro-layout-side .keyblade-pro-layout-header{z-index:98;left:var(--5c2d09d7);width:calc(100% - var(--5c2d09d7))}.keyblade-pro-layout-side .keyblade-pro-layout-header-collapsed{left:var(--4313bece);width:calc(100% - var(--4313bece))}.keyblade-pro-layout-side .keyblade-pro-layout-sider{padding-top:0}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo{position:relative;display:flex;align-items:center;padding:16px;cursor:pointer;transition:padding .3s cubic-bezier(.645,.045,.355,1)}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo-img{width:28px;height:28px}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo-title.arco-typography{margin:0;font-size:18px}.keyblade-pro-layout-side .keyblade-pro-layout-sider-collapsed .keyblade-pro-layout-sider-content-logo{padding:16px 10px}.keyblade-pro-page-header{background:var(--color-bg-2);padding:16px 32px}.keyblade-pro-page-header .keyblade-pro-page-header-section-breadcrumb .arco-breadcrumb-item:first-child{padding-left:0}.keyblade-pro-page-header .keyblade-pro-page-header-title.arco-typography{padding-top:4px;margin-top:0}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@keyblade/pro-components",
3
3
  "description": "KeyBlade Pro Components",
4
4
  "author": "yangshuai <704807396@qq.com>",
5
- "version": "1.9.0",
5
+ "version": "1.11.0",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",
@@ -20,9 +20,9 @@
20
20
  "*.css"
21
21
  ],
22
22
  "dependencies": {
23
- "@arco-design/web-vue": "^2.50.0",
23
+ "@arco-design/web-vue": "^2.53.3",
24
24
  "vue-router": "^4.2.4",
25
- "@vueuse/core": "^10.3.0"
25
+ "@vueuse/core": "^10.7.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "vue": "^3.3.4"