@zl-ui-kit/components 0.25.2 → 0.25.5
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/components/ZlAppLayout/HeaderAside.css +1 -1
- package/dist/components/ZlAppLayout/Horizontal.css +1 -1
- package/dist/components/ZlAppLayout/Vertical.css +1 -1
- package/dist/components/ZlAppSlogan/index.css +1 -1
- package/dist/components/ZlAutoTooltip/index.css +1 -1
- package/dist/components/ZlAutoTooltip/index.vue.mjs +2 -2
- package/dist/components/ZlCheckAll/index.css +1 -1
- package/dist/components/ZlCheckAll/index.vue.mjs +1 -1
- package/dist/components/ZlCopy/index.css +1 -1
- package/dist/components/ZlCopy/index.vue.mjs +2 -2
- package/dist/components/ZlEmpty/index.css +1 -1
- package/dist/components/ZlEmpty/index.vue.mjs +2 -2
- package/dist/components/ZlFilePreview/FileFetchError.css +1 -1
- package/dist/components/ZlFilePreview/FileFetchError.vue.mjs +2 -2
- package/dist/components/ZlLayoutSwitch/index.css +1 -1
- package/dist/components/ZlLayoutSwitch/index.vue.mjs +2 -2
- package/dist/components/ZlLoading/index.css +1 -1
- package/dist/components/ZlLoading/index.vue.mjs +2 -2
- package/dist/components/ZlLogin/components/LoginForm.css +1 -1
- package/dist/components/ZlLogin/components/LoginForm.vue.mjs +1 -1
- package/dist/components/ZlLogin/components/SlideChecker.css +1 -1
- package/dist/components/ZlLogin/components/SlideChecker.vue.mjs +3 -3
- package/dist/components/ZlMenu/index.css +1 -1
- package/dist/components/ZlMenu/index.vue.d.ts +3 -0
- package/dist/components/ZlMenu/index.vue.mjs +22 -20
- package/dist/components/ZlPageContainer/index.css +1 -1
- package/dist/components/ZlPageContainer/index.vue.mjs +1 -1
- package/dist/components/ZlPagination/index.css +1 -1
- package/dist/components/ZlPagination/index.vue.mjs +1 -1
- package/dist/components/ZlSorter/ZlSorterList.css +1 -1
- package/dist/components/ZlSorter/ZlSorterList.vue.mjs +2 -2
- package/dist/components/ZlSorter/index.css +1 -1
- package/dist/components/ZlSorter/index.vue.mjs +1 -1
- package/dist/components/ZlStep/index.css +1 -1
- package/dist/components/ZlStep/index.vue.mjs +2 -2
- package/dist/components/ZlText/index.css +1 -1
- package/dist/components/ZlText/index.vue.mjs +2 -2
- package/dist/components/ZlUpload/index.css +1 -1
- package/dist/components/ZlUpload/index.vue.mjs +2 -2
- package/package.json +50 -50
- package/LICENSE +0 -21
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-layout-header-aside{height:100%;display:flex;flex-direction:column}.zl-layout-header-aside.collapsed .zl-layout-header-aside__aside{width:
|
|
1
|
+
.zl-layout-header-aside{height:100%;display:flex;flex-direction:column}.zl-layout-header-aside.collapsed .zl-layout-header-aside__aside{width:64px}.zl-layout-header-aside.collapsed .zl-layout-header-aside__aside__footer{padding-inline:8px}.zl-layout-header-aside__header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;background:var(--zl-layout-header-bg, var(--zl-layout-horizontal-header-bg, #fff));background-size:cover;background-position:center}.zl-layout-header-aside__logo{padding:10px 16px}.zl-layout-header-aside__user{flex:0 0 auto;padding-right:16px}.zl-layout-header-aside__body{flex:1;height:1px;display:flex}.zl-layout-header-aside__aside{flex:0 0 auto;width:220px;background:var(--zl-layout-aside-bg, var(--zl-fill-1, #f9fbfd));background-size:cover;background-position:center;display:flex;flex-direction:column;overflow:hidden;transition:width .2s cubic-bezier(.34,.69,.1,1)}.zl-layout-header-aside__aside__content{flex:1;height:1px;overflow-y:auto;overflow-x:hidden}.zl-layout-header-aside__aside__footer{padding:12px 16px;display:flex;justify-content:flex-end;flex-wrap:wrap-reverse;gap:8px;transition:padding .2s cubic-bezier(.34,.69,.1,1)}.zl-layout-header-aside__main{flex:1;width:1px;display:flex;flex-direction:column}.zl-layout-header-aside__breadcrumb{padding:10px 16px;border-bottom:1px solid var(--zl-border-2, #e3e9ef);line-height:24px;background-color:var(--zl-bg-1, #fff)}.zl-layout-header-aside__content{flex:1;padding:12px;height:1px;background:var(--zl-layout-content-bg, transparent);background-size:cover;background-position:center}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-layout-horizontal{height:100%;display:flex;flex-direction:column}.zl-layout-horizontal__header{display:flex;align-items:center;background:var(--zl-layout-horizontal-header-bg, #fff)}.zl-layout-horizontal__logo{padding:10px 16px}.zl-layout-horizontal__menu{flex:1;width:1px}.zl-layout-horizontal__user{flex:0 0 auto;padding-right:16px}.zl-layout-horizontal__main{display:flex;flex-direction:column;flex:1;height:1px;padding:12px;border-radius:var(--zl-radius-medium, 4px);overflow:hidden}.zl-layout-horizontal__tabs{padding:12px 16px;background-color:var(--zl-bg-1, #fff);border-radius:var(--zl-radius-medium, 4px) var(--zl-radius-medium, 4px) 0 0}
|
|
1
|
+
.zl-layout-horizontal{height:100%;display:flex;flex-direction:column}.zl-layout-horizontal__header{display:flex;align-items:center;background:var(--zl-layout-header-bg, var(--zl-layout-horizontal-header-bg, #fff));background-size:cover;background-position:center}.zl-layout-horizontal__logo{padding:10px 16px}.zl-layout-horizontal__menu{flex:1;width:1px}.zl-layout-horizontal__user{flex:0 0 auto;padding-right:16px}.zl-layout-horizontal__main{display:flex;flex-direction:column;flex:1;height:1px;padding:12px;border-radius:var(--zl-radius-medium, 4px);overflow:hidden;background:var(--zl-layout-content-bg, transparent);background-size:cover;background-position:center}.zl-layout-horizontal__tabs{padding:12px 16px;background-color:var(--zl-bg-1, #fff);border-radius:var(--zl-radius-medium, 4px) var(--zl-radius-medium, 4px) 0 0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-layout-vertical{height:100%;display:flex}.zl-layout-vertical.collapsed .zl-layout-vertical__aside{width:
|
|
1
|
+
.zl-layout-vertical{height:100%;display:flex}.zl-layout-vertical.collapsed .zl-layout-vertical__aside{width:64px}.zl-layout-vertical.collapsed .zl-layout-vertical__aside__header{padding-inline:10px}.zl-layout-vertical.collapsed .zl-layout-vertical__aside__footer{padding-inline:8px}.zl-layout-vertical__aside{flex:0 0 auto;width:220px;background:var(--zl-layout-aside-bg, var(--zl-fill-1, #f9fbfd));background-size:cover;background-position:center;display:flex;flex-direction:column;overflow:hidden;transition:width .2s cubic-bezier(.34,.69,.1,1)}.zl-layout-vertical__aside__header{padding:12px 16px;overflow:hidden;border-bottom:1px solid var(--zl-border-1, #eff4f9);transition:padding .2s cubic-bezier(.34,.69,.1,1)}.zl-layout-vertical__aside__content{flex:1;overflow-y:auto;overflow-x:hidden}.zl-layout-vertical__aside__footer{padding:12px 16px;display:flex;justify-content:flex-end;flex-wrap:wrap-reverse;gap:8px;transition:padding .2s cubic-bezier(.34,.69,.1,1)}.zl-layout-vertical__main{flex:1;width:1px;display:flex;flex-direction:column}.zl-layout-vertical__header{padding:10px 16px;border-bottom:1px solid var(--zl-border-2, #e3e9ef);line-height:24px;background:var(--zl-layout-header-bg, var(--zl-bg-1, #fff));background-size:cover;background-position:center;display:flex;justify-content:space-between}.zl-layout-vertical__content{flex:1;padding:12px;height:1px;background:var(--zl-layout-content-bg, transparent);background-size:cover;background-position:center}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.zl-app-slogan{width:100%;overflow:hidden;display:flex;align-items:center;gap:6px}.zl-app-slogan__logo{width:24px;aspect-ratio:1;object-fit:cover}.zl-app-slogan__logo--default{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background-color:var(--zl-primary-6, var(--el-color-primary));color:#fff;font-size:14px}.zl-app-slogan__text{white-space:nowrap;font-family:"PingFang TC",var(--zl-slogan-font-family, "PingFang SC", "Microsoft YaHei", sans-serif);color:var(--zl-
|
|
1
|
+
@charset "UTF-8";.zl-app-slogan{width:100%;overflow:hidden;display:flex;align-items:center;gap:6px}.zl-app-slogan__logo{width:24px;aspect-ratio:1;object-fit:cover}.zl-app-slogan__logo--default{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background-color:var(--zl-primary-6, var(--el-color-primary));color:#fff;font-size:14px}.zl-app-slogan__text{white-space:nowrap;font-family:"PingFang TC",var(--zl-slogan-font-family, "PingFang SC", "Microsoft YaHei", sans-serif);color:var(--zl-slogan-color, var(--zl-primary-6, var(--el-color-primary)));font-size:20px;font-weight:500;letter-spacing:1px;line-height:24px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-auto-tooltip[data-v-
|
|
1
|
+
.zl-auto-tooltip[data-v-ce4eb303]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ce4eb303"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-check[data-v-
|
|
1
|
+
.zl-check[data-v-32d89cdc]{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.zl-check__all[data-v-32d89cdc]{margin-bottom:4px}.zl-check[data-v-32d89cdc] .el-checkbox:not(.zl-check__all){padding:5px;background:var(--zl-primary-1, var(--el-color-primary-light-9, #e8f3ff))}.zl-check[data-v-32d89cdc] .el-checkbox:not(.zl-check__all):hover{background:var(--zl-fill-3, #e3e9ef)}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-32d89cdc"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-copy[data-v-
|
|
1
|
+
.zl-copy[data-v-1c32b385]{max-width:100%;display:inline-flex;align-items:center;gap:12px}.zl-copy__text[data-v-1c32b385]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1c32b385"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-empty[data-v-
|
|
1
|
+
.zl-empty[data-v-8addc696]{padding-block:5vw;display:flex;flex-direction:column;justify-content:center;align-items:center}.zl-empty__icon[data-v-8addc696]{width:128px;max-width:100%}.zl-empty__icon svg[data-v-8addc696]{width:100%}.zl-empty__text[data-v-8addc696]{margin-top:18px;font-size:14px;line-height:22px;color:var(--zl-text-3, var(--el-text-color-secondary, #79879c))}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8addc696"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-file-fetch-error[data-v-
|
|
1
|
+
.zl-file-fetch-error[data-v-3781f6e9]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--zl-text-3, var(--el-text-color-secondary));font-size:13px}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./FileFetchError2.vue.mjs";
|
|
2
2
|
import './FileFetchError.css';/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-3781f6e9"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=FileFetchError.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-layout-switch[data-v-
|
|
1
|
+
.zl-layout-switch[data-v-e4af4af4] .el-radio-button__inner{display:inline-flex;align-items:center;gap:4px;line-height:1;padding:8px 12px;font-size:14px}.zl-layout-switch__text[data-v-e4af4af4]{font-size:12px;line-height:1}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e4af4af4"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-loading[data-v-
|
|
1
|
+
.zl-loading[data-v-bd5f8439]{width:100%;height:100%;flex:1;min-width:1px;min-height:1px}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bd5f8439"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-login__action[data-v-
|
|
1
|
+
.zl-login__action[data-v-f2d3350c]{margin-top:15px}[data-v-f2d3350c] .el-form-item{margin-bottom:20px}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./LoginForm2.vue.mjs";
|
|
2
2
|
import './LoginForm.css';/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f2d3350c"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.slide-checker[data-v-
|
|
1
|
+
.slide-checker[data-v-e2067270]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:32px;background-color:var(--slider-check-bg-color);pointer-events:none;--slider-check-bg-color: var(--zl-fill-3);--slider-check-progress: 0px;--slider-check-success-color: var(--zl-success-6, var(--el-color-success));--slider-check-trigger-border-color: var(--slider-check-bg-color);--slider-check-trigger-color: var(--zl-text-3)}.slide-checker__progress[data-v-e2067270]{position:absolute;top:0;left:0;width:var(--slider-check-progress);background-color:var(--slider-check-success-color);height:100%;opacity:.2}.slide-checker__trigger[data-v-e2067270]{position:absolute;left:var(--slider-check-progress);top:0;height:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;background:var(--zl-bg-1, #fff);border:1px solid var(--slider-check-trigger-border-color);cursor:grab;pointer-events:auto;color:var(--slider-check-trigger-color)}.slide-checker__text[data-v-e2067270]{font-size:12px;color:var(--zl-text-3);user-select:none}.slide-checker.is-checked[data-v-e2067270]{--slider-check-bg-color: var(--slider-check-success-color)}.slide-checker.is-checked .slide-checker__text[data-v-e2067270]{color:#fff}.slide-checker.is-checked .slide-checker__trigger[data-v-e2067270]{border-color:transparent;color:var(--slider-check-success-color);pointer-events:none}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./SlideChecker2.vue.mjs";
|
|
2
2
|
import './SlideChecker.css';/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import e from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e2067270"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=SlideChecker.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
@charset "UTF-8";.zl-menu.el-menu{--el-menu-bg-color: transparent;--el-menu-text-color: var(--zl-menu-text-color, var(--zl-text-2));--el-menu-active-color: var(--zl-menu-active-color, var(--zl-menu-text-color, var(--zl-text-2)));--el-menu-hover-bg-color: var(--zl-menu-hover-bg, var(--zl-fill-2));border-right:none;background-color:transparent}.zl-menu.el-menu .el-menu-item,.zl-menu.el-menu .el-sub-menu__title{position:relative}.zl-menu.el-menu .el-menu-item .zl-icon,.zl-menu.el-menu .el-sub-menu__title .zl-icon{color:var(--zl-menu-icon-color, currentColor)}.zl-menu.el-menu .el-menu-item.is-active{background-color:var(--zl-menu-active-bg, var(--zl-menu-hover-bg, var(--zl-fill-2)))}.zl-menu.el-menu .el-menu-item.is-active .zl-icon{color:var(--el-menu-active-color)}.zl-menu.el-menu:not(.el-menu--horizontal) .el-menu-item.is-active:after{content:"";position:absolute;top:0;right:0;bottom:0;width:3px;background-color:var(--zl-menu-active-border-color, transparent)}.zl-menu.el-menu:not(.el-menu--horizontal){font-size:var(--zl-menu-font-size, 12px)}.zl-menu.el-menu:not(.el-menu--horizontal) .el-menu-item,.zl-menu.el-menu:not(.el-menu--horizontal) .el-sub-menu__title{height:var(--zl-menu-item-height, 36px);line-height:var(--zl-menu-item-height, 36px)}.zl-menu.el-menu.el-menu--horizontal .el-menu-item,.zl-menu.el-menu.el-menu--horizontal .el-sub-menu__title{height:44px;line-height:44px}
|
|
@@ -12,6 +12,8 @@ type __VLS_Props = {
|
|
|
12
12
|
defaultOpeneds?: string[];
|
|
13
13
|
/** 折叠动画(默认关闭,避免布局抖动) */
|
|
14
14
|
collapseTransition?: boolean;
|
|
15
|
+
/** 折叠后的宽度(px),需与侧栏折叠宽度一致,默认 64(EP 默认值) */
|
|
16
|
+
collapseWidth?: number;
|
|
15
17
|
/** 点击菜单项后的跳转回调(通常传 router.push),不传则只触发 select */
|
|
16
18
|
navigate?: (item: MenuOption) => void;
|
|
17
19
|
};
|
|
@@ -32,6 +34,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
32
34
|
uniqueOpened: boolean;
|
|
33
35
|
defaultOpeneds: string[];
|
|
34
36
|
collapseTransition: boolean;
|
|
37
|
+
collapseWidth: number;
|
|
35
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
39
|
export default _default;
|
|
37
40
|
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -1,58 +1,60 @@
|
|
|
1
|
-
import { defineComponent as p, useModel as
|
|
1
|
+
import { defineComponent as p, useModel as h, resolveComponent as v, openBlock as o, createBlock as c, withCtx as B, createElementBlock as g, Fragment as q, renderList as x, mergeModels as u } from "vue";
|
|
2
2
|
import M from "./ZlMenuItem.vue.mjs";
|
|
3
|
-
const
|
|
3
|
+
const w = /* @__PURE__ */ p({
|
|
4
4
|
name: "ZlMenu",
|
|
5
5
|
__name: "index",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ u({
|
|
7
7
|
items: { default: () => [] },
|
|
8
8
|
collapsed: { type: Boolean, default: !1 },
|
|
9
9
|
mode: { default: "vertical" },
|
|
10
10
|
uniqueOpened: { type: Boolean, default: !1 },
|
|
11
11
|
defaultOpeneds: { default: () => [] },
|
|
12
12
|
collapseTransition: { type: Boolean, default: !1 },
|
|
13
|
+
collapseWidth: { default: 64 },
|
|
13
14
|
navigate: {}
|
|
14
15
|
}, {
|
|
15
16
|
selected: { default: "" },
|
|
16
17
|
selectedModifiers: {}
|
|
17
18
|
}),
|
|
18
|
-
emits: /* @__PURE__ */
|
|
19
|
+
emits: /* @__PURE__ */ u(["select"], ["update:selected"]),
|
|
19
20
|
setup(e, { emit: f }) {
|
|
20
|
-
const d = e, i =
|
|
21
|
-
function s(
|
|
22
|
-
for (const
|
|
23
|
-
if (
|
|
24
|
-
const a =
|
|
21
|
+
const d = e, i = h(e, "selected"), m = f;
|
|
22
|
+
function s(l, t) {
|
|
23
|
+
for (const n of l) {
|
|
24
|
+
if (n.key === t) return n;
|
|
25
|
+
const a = n.children && s(n.children, t);
|
|
25
26
|
if (a) return a;
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
|
-
function
|
|
29
|
-
const t = s(d.items,
|
|
30
|
-
!t || t.disabled || (i.value =
|
|
29
|
+
function r(l) {
|
|
30
|
+
const t = s(d.items, l);
|
|
31
|
+
!t || t.disabled || (i.value = l, m("select", l, t), d.navigate?.(t));
|
|
31
32
|
}
|
|
32
|
-
return (
|
|
33
|
-
const
|
|
34
|
-
return o(),
|
|
33
|
+
return (l, t) => {
|
|
34
|
+
const n = v("el-menu");
|
|
35
|
+
return o(), c(n, {
|
|
35
36
|
class: "zl-menu",
|
|
36
37
|
"default-active": i.value,
|
|
37
38
|
collapse: e.collapsed,
|
|
39
|
+
"collapse-width": e.collapseWidth,
|
|
38
40
|
mode: e.mode,
|
|
39
41
|
"unique-opened": e.uniqueOpened,
|
|
40
42
|
"default-openeds": e.defaultOpeneds,
|
|
41
43
|
"collapse-transition": e.collapseTransition,
|
|
42
|
-
onSelect:
|
|
44
|
+
onSelect: r
|
|
43
45
|
}, {
|
|
44
|
-
default:
|
|
45
|
-
(o(!0), g(q, null, x(e.items, (a) => (o(),
|
|
46
|
+
default: B(() => [
|
|
47
|
+
(o(!0), g(q, null, x(e.items, (a) => (o(), c(M, {
|
|
46
48
|
key: a.key,
|
|
47
49
|
item: a
|
|
48
50
|
}, null, 8, ["item"]))), 128))
|
|
49
51
|
]),
|
|
50
52
|
_: 1
|
|
51
|
-
}, 8, ["default-active", "collapse", "mode", "unique-opened", "default-openeds", "collapse-transition"]);
|
|
53
|
+
}, 8, ["default-active", "collapse", "collapse-width", "mode", "unique-opened", "default-openeds", "collapse-transition"]);
|
|
52
54
|
};
|
|
53
55
|
}
|
|
54
56
|
});
|
|
55
57
|
export {
|
|
56
|
-
|
|
58
|
+
w as default
|
|
57
59
|
};
|
|
58
60
|
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-page-container[data-v-
|
|
1
|
+
.zl-page-container[data-v-b4bd4e1c]{display:flex;flex-direction:column;box-sizing:border-box;height:100%}.zl-page-container__header[data-v-b4bd4e1c]{display:flex;flex-shrink:0;gap:16px;align-items:center;margin-bottom:16px}.zl-page-container__main[data-v-b4bd4e1c]{flex:1;min-width:0}.zl-page-container__title[data-v-b4bd4e1c]{font-size:16px;font-weight:600;line-height:24px;color:var(--zl-text-1, #242e43)}.zl-page-container__description[data-v-b4bd4e1c]{margin-top:2px;font-size:13px;line-height:20px;color:var(--zl-text-3, #79879c)}.zl-page-container__extra[data-v-b4bd4e1c]{display:flex;flex-shrink:0;align-items:center;gap:8px}.zl-page-container__content[data-v-b4bd4e1c]{display:flex;flex:1;flex-direction:column;min-height:0;overflow:auto}.zl-page-container__content[data-v-b4bd4e1c]>*{flex:1 0 auto}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b4bd4e1c"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.zl-pagination[data-v-
|
|
1
|
+
@charset "UTF-8";.zl-pagination[data-v-e29f8a69]{padding:6px 16px;background-color:var(--zl-fill-1, #f9fbfd);justify-content:var(--zl-pagination-justify, flex-end)}.zl-pagination--left[data-v-e29f8a69]{--zl-pagination-justify: flex-start}.zl-pagination--center[data-v-e29f8a69]{--zl-pagination-justify: center}.zl-pagination--right[data-v-e29f8a69]{--zl-pagination-justify: flex-end}.zl-pagination--full[data-v-e29f8a69] .el-pagination__rightwrapper{flex:1;justify-content:flex-end}.zl-pagination--full[data-v-e29f8a69] .el-pager li.is-active{border:1px solid var(--zl-pagination-active-color, var(--el-color-primary));border-radius:var(--el-border-radius-base, 4px)}.zl-pagination__total-num[data-v-e29f8a69]{color:var(--zl-pagination-total-num-color, var(--el-color-primary))}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e29f8a69"]]);
|
|
5
5
|
export {
|
|
6
6
|
i as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-sorter-list[data-v-
|
|
1
|
+
.zl-sorter-list[data-v-ce1f37dd]{display:flex}.zl-sorter-list__separator[data-v-ce1f37dd]{margin:4px 2px;width:1px;background-color:var(--zl-border-2, #e3e9ef)}.zl-sorter-list__separator[data-v-ce1f37dd]:last-child{display:none}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./ZlSorterList2.vue.mjs";
|
|
2
2
|
import './ZlSorterList.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ce1f37dd"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=ZlSorterList.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-sorter[data-v-
|
|
1
|
+
.zl-sorter[data-v-769f5bf6]{display:inline-flex;align-items:center;cursor:pointer;gap:4px;font-size:12px;padding:1px 4px}.zl-sorter__label[data-v-769f5bf6]{color:var(--zl-text-2, #4d5e7d)}.zl-sorter__label.active[data-v-769f5bf6]{color:var(--zl-link-6, var(--el-color-primary, #3b82f6))}.zl-sorter__icon[data-v-769f5bf6]{display:inline-flex;flex-direction:column;font-size:8px;color:var(--zl-text-4, #b3c0cc)}.zl-sorter__icon .active[data-v-769f5bf6]{color:var(--zl-link-6, var(--el-color-primary, #3b82f6))}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-769f5bf6"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-step[data-v-
|
|
1
|
+
.zl-step[data-v-a165ee6c]{width:100%}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a165ee6c"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-text[data-v-
|
|
1
|
+
.zl-text[data-v-30209711]{display:inline-flex;font-size:12px;line-height:20px}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-30209711"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zl-upload[data-v-
|
|
1
|
+
.zl-upload[data-v-9fa4ae68]{width:100%}.zl-upload__trigger[data-v-9fa4ae68]{width:80px;height:80px;display:flex;align-items:center;justify-content:center;border:1px dashed var(--zl-border-3, var(--el-border-color));border-radius:6px;cursor:pointer}.zl-upload__trigger[data-v-9fa4ae68]:hover{border-color:var(--zl-primary-6, var(--el-color-primary))}.zl-upload__item[data-v-9fa4ae68]{display:flex;align-items:center;gap:8px;padding:4px 8px;width:100%}.zl-upload__item[data-v-9fa4ae68]:hover{background:var(--zl-fill-1, var(--el-fill-color-light))}.zl-upload__item-thumbnail[data-v-9fa4ae68]{height:32px;width:32px;object-fit:cover;cursor:pointer}.zl-upload__item-name[data-v-9fa4ae68]{flex:1;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zl-upload__item-op[data-v-9fa4ae68]{color:var(--zl-text-2)}.zl-upload__tip[data-v-9fa4ae68]{font-size:12px;color:var(--zl-text-3);line-height:18px;white-space:pre-wrap;word-break:break-all}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./index2.vue.mjs";
|
|
2
2
|
import './index.css';/* empty css */
|
|
3
3
|
import a from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ a(o, [["__scopeId", "data-v-9fa4ae68"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.vue.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zl-ui-kit/components",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ZL UI 业务组件库(Element Plus 体系,Zl 前缀)——首批:Icon/AutoTooltip/Tag/CornerTag/Text/Title/Copy/Empty/Pagination/DictTag",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,24 +34,31 @@
|
|
|
34
34
|
"*.scss",
|
|
35
35
|
"*.vue"
|
|
36
36
|
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "vite build",
|
|
39
|
+
"dev": "vite build --watch",
|
|
40
|
+
"typecheck": "vue-tsc --noEmit",
|
|
41
|
+
"lint": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint src --ext .ts",
|
|
42
|
+
"test:unit": "vitest run"
|
|
43
|
+
},
|
|
37
44
|
"dependencies": {
|
|
38
|
-
"@iconify/vue": "
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
+
"@iconify/vue": "catalog:",
|
|
46
|
+
"@zl-ui-kit/composables": "workspace:*",
|
|
47
|
+
"@zl-ui-kit/icons": "workspace:*",
|
|
48
|
+
"@zl-ui-kit/utils": "workspace:*",
|
|
49
|
+
"file-type": "catalog:",
|
|
50
|
+
"dt-sql-parser": "catalog:",
|
|
51
|
+
"sql-formatter": "catalog:"
|
|
45
52
|
},
|
|
46
53
|
"peerDependencies": {
|
|
47
|
-
"@vueuse/core": "
|
|
48
|
-
"element-plus": "
|
|
49
|
-
"vue": "
|
|
54
|
+
"@vueuse/core": "catalog:",
|
|
55
|
+
"element-plus": "catalog:",
|
|
56
|
+
"vue": "catalog:",
|
|
50
57
|
"monaco-editor": "^0.41.0",
|
|
51
|
-
"@vue-office/docx": "
|
|
52
|
-
"@vue-office/excel": "
|
|
53
|
-
"@vue-office/pdf": "
|
|
54
|
-
"@vue-office/pptx": "
|
|
58
|
+
"@vue-office/docx": "catalog:",
|
|
59
|
+
"@vue-office/excel": "catalog:",
|
|
60
|
+
"@vue-office/pdf": "catalog:",
|
|
61
|
+
"@vue-office/pptx": "catalog:",
|
|
55
62
|
"echarts": "^5.6.0 || ^6.0.0"
|
|
56
63
|
},
|
|
57
64
|
"peerDependenciesMeta": {
|
|
@@ -75,34 +82,34 @@
|
|
|
75
82
|
}
|
|
76
83
|
},
|
|
77
84
|
"devDependencies": {
|
|
78
|
-
"@
|
|
79
|
-
"@
|
|
80
|
-
"@
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
85
|
+
"@jichuang/eslint-config": "workspace:*",
|
|
86
|
+
"@jichuang/tsconfig": "workspace:*",
|
|
87
|
+
"@jichuang/vite-config": "workspace:*",
|
|
88
|
+
"@types/node": "catalog:",
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "catalog:",
|
|
90
|
+
"@typescript-eslint/parser": "catalog:",
|
|
91
|
+
"@vitejs/plugin-vue": "catalog:",
|
|
92
|
+
"@vueuse/core": "catalog:",
|
|
93
|
+
"@zl-ui-kit/theme": "workspace:*",
|
|
94
|
+
"cross-env": "catalog:",
|
|
95
|
+
"element-plus": "catalog:",
|
|
96
|
+
"eslint-plugin-vue": "catalog:",
|
|
97
|
+
"typescript": "catalog:",
|
|
98
|
+
"vite": "catalog:",
|
|
99
|
+
"vite-plugin-dts": "catalog:",
|
|
100
|
+
"vite-plugin-lib-inject-css": "catalog:",
|
|
101
|
+
"vitest": "catalog:",
|
|
102
|
+
"vue": "catalog:",
|
|
103
|
+
"vue-tsc": "catalog:",
|
|
93
104
|
"monaco-editor": "^0.41.0",
|
|
94
|
-
"dt-sql-parser": "
|
|
95
|
-
"sql-formatter": "
|
|
96
|
-
"file-type": "
|
|
97
|
-
"@vue-office/docx": "
|
|
98
|
-
"@vue-office/excel": "
|
|
99
|
-
"@vue-office/pdf": "
|
|
100
|
-
"@vue-office/pptx": "
|
|
101
|
-
"echarts": "
|
|
102
|
-
"@jichuang/eslint-config": "1.0.0",
|
|
103
|
-
"@jichuang/tsconfig": "1.0.0",
|
|
104
|
-
"@zl-ui-kit/theme": "0.25.2",
|
|
105
|
-
"@jichuang/vite-config": "1.0.0"
|
|
105
|
+
"dt-sql-parser": "catalog:",
|
|
106
|
+
"sql-formatter": "catalog:",
|
|
107
|
+
"file-type": "catalog:",
|
|
108
|
+
"@vue-office/docx": "catalog:",
|
|
109
|
+
"@vue-office/excel": "catalog:",
|
|
110
|
+
"@vue-office/pdf": "catalog:",
|
|
111
|
+
"@vue-office/pptx": "catalog:",
|
|
112
|
+
"echarts": "catalog:"
|
|
106
113
|
},
|
|
107
114
|
"repository": {
|
|
108
115
|
"type": "git",
|
|
@@ -118,12 +125,5 @@
|
|
|
118
125
|
"publishConfig": {
|
|
119
126
|
"access": "public",
|
|
120
127
|
"registry": "https://registry.npmjs.org/"
|
|
121
|
-
},
|
|
122
|
-
"scripts": {
|
|
123
|
-
"build": "vite build",
|
|
124
|
-
"dev": "vite build --watch",
|
|
125
|
-
"typecheck": "vue-tsc --noEmit",
|
|
126
|
-
"lint": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint src --ext .ts",
|
|
127
|
-
"test:unit": "vitest run"
|
|
128
128
|
}
|
|
129
|
-
}
|
|
129
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Vik05
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|