geekplus-digital-ui 0.1.42 → 0.2.1
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/components/copy/index.js +1 -1
- package/components/copy/src/{copy.js → copy.vue.js} +2 -2
- package/components/editor/index.js +1 -1
- package/components/editor/src/{code-collapse.js → code-collapse.vue.js} +6 -6
- package/components/editor/src/code-collapse.vue_vue_type_style_index_0_scoped_04a8d31f_lang.css +1 -0
- package/components/editor/src/{editor2.js → editor.vue.js} +8 -8
- package/components/editor/src/editor.vue_vue_type_style_index_0_scoped_125d5f42_lang.css +1 -0
- package/components/fold-text/index.js +1 -1
- package/components/fold-text/src/{fold-text.js → fold-text.vue.js} +7 -7
- package/components/fold-text/src/fold-text.vue_vue_type_style_index_0_scoped_f460d6d5_lang.css +1 -0
- package/components/icon/index.js +1 -1
- package/components/icon/src/{icon.js → icon.vue.js} +1 -1
- package/components/icon-tip/index.js +1 -1
- package/components/icon-tip/src/{icon-tip.js → icon-tip.vue.js} +4 -4
- package/components/icon-tip/src/icon-tip.vue_vue_type_style_index_0_scoped_fd7f9264_lang.css +1 -0
- package/components/icons/filter-list-light.vue.d.ts +2 -0
- package/components/icons/filter-list-light.vue.js +16 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +4 -2
- package/components/inline-edit/index.js +1 -1
- package/components/inline-edit/src/{inline-edit.js → inline-edit.vue.js} +4 -4
- package/components/inline-edit/src/inline-edit.vue_vue_type_style_index_0_scoped_b066ddcd_lang.css +1 -0
- package/components/search-form/index.js +1 -1
- package/components/search-form/src/{search-form.js → search-form.vue.js} +6 -6
- package/components/search-form/src/search-form.vue_vue_type_style_index_0_scoped_ff9cbf76_lang.css +1 -0
- package/components/search-item/index.js +1 -1
- package/components/search-item/src/{search-item.js → search-item.vue.js} +4 -4
- package/components/search-item/src/search-item.vue_vue_type_style_index_0_scoped_a37eaef0_lang.css +1 -0
- package/components/table/index.d.ts +120 -0
- package/components/table/index.js +5 -0
- package/components/table/src/table-filter.vue.d.ts +2 -0
- package/components/table/src/table-filter.vue.js +131 -0
- package/components/table/src/table-filter.vue_vue_type_style_index_0_scoped_70a03e33_lang.css +1 -0
- package/components/table/src/table-wrapper.vue.d.ts +7 -0
- package/components/table/src/table-wrapper.vue.js +53 -0
- package/components/table/src/table.vue.d.ts +54 -0
- package/components/table/src/table.vue.js +166 -0
- package/components/table/src/table.vue_vue_type_style_index_0_scoped_a6c85ac1_lang.css +1 -0
- package/components/upload/index.js +1 -1
- package/components/upload/src/{upload.js → upload.vue.js} +24 -24
- package/components/upload/src/upload.vue_vue_type_style_index_0_scoped_aef1e5b2_lang.css +1 -0
- package/components/upload/src/upload.vue_vue_type_style_index_1_lang.css +1 -1
- package/index.js +5 -4
- package/locale/lang/en.d.ts +9 -0
- package/locale/lang/en.js +8 -0
- package/locale/lang/ja.d.ts +9 -0
- package/locale/lang/ja.js +8 -0
- package/locale/lang/ko.d.ts +9 -0
- package/locale/lang/ko.js +8 -0
- package/locale/lang/zh-cn.d.ts +9 -0
- package/locale/lang/zh-cn.js +8 -0
- package/locale/lang/zh-tw.d.ts +9 -0
- package/locale/lang/zh-tw.js +8 -0
- package/package.json +36 -34
- package/skills/use-geekplus-digital-ui/SKILL.md +245 -129
- package/components/editor/src/code-collapse.vue_vue_type_style_index_0_scoped_44e188d6_lang.css +0 -1
- package/components/editor/src/editor.vue_vue_type_style_index_0_scoped_9103e51e_lang.css +0 -1
- package/components/fold-text/src/fold-text.vue_vue_type_style_index_0_scoped_cc699234_lang.css +0 -1
- package/components/icon-tip/src/icon-tip.vue_vue_type_style_index_0_scoped_fe982c8e_lang.css +0 -1
- package/components/inline-edit/src/inline-edit.vue_vue_type_style_index_0_scoped_fc1016d4_lang.css +0 -1
- package/components/search-form/src/search-form.vue_vue_type_style_index_0_scoped_cea05b8f_lang.css +0 -1
- package/components/search-item/src/search-item.vue_vue_type_style_index_0_scoped_27c41622_lang.css +0 -1
- package/components/upload/src/upload.vue_vue_type_style_index_0_scoped_c4e16833_lang.css +0 -1
- /package/components/icons/{angle-down-light.js → angle-down-light.vue.js} +0 -0
- /package/components/icons/{angle-up-light.js → angle-up-light.vue.js} +0 -0
- /package/components/icons/{circle-exclamation-solid.js → circle-exclamation-solid.vue.js} +0 -0
- /package/components/icons/{circle-play-light.js → circle-play-light.vue.js} +0 -0
- /package/components/icons/{circle-xmark-light.js → circle-xmark-light.vue.js} +0 -0
- /package/components/icons/{copy-light.js → copy-light.vue.js} +0 -0
- /package/components/icons/{download-light.js → download-light.vue.js} +0 -0
- /package/components/icons/{eye-light.js → eye-light.vue.js} +0 -0
- /package/components/icons/{file-light.js → file-light.vue.js} +0 -0
- /package/components/icons/{image-light.js → image-light.vue.js} +0 -0
- /package/components/icons/{plus-light.js → plus-light.vue.js} +0 -0
- /package/components/icons/{trash-light.js → trash-light.vue.js} +0 -0
package/components/copy/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useLocale as e } from "../../../hooks/use-locale/index.js";
|
|
2
2
|
import "../../../hooks/index.js";
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
import n from "../../icons/copy-light.js";
|
|
5
|
-
import './copy.vue_vue_type_style_index_0_scoped_80dabae9_lang.css';/* empty css
|
|
4
|
+
import n from "../../icons/copy-light.vue.js";
|
|
5
|
+
import './copy.vue_vue_type_style_index_0_scoped_80dabae9_lang.css';/* empty css */
|
|
6
6
|
import r from "../../icon/index.js";
|
|
7
7
|
import "../../index.js";
|
|
8
8
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, normalizeClass as l, normalizeStyle as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderSlot as h, toRef as g, unref as _, useTemplateRef as v, withCtx as y, withModifiers as b } from "vue";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useLocale as e } from "../../../hooks/use-locale/index.js";
|
|
2
2
|
import "../../../hooks/index.js";
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
import n from "../../icons/angle-down-light.js";
|
|
5
|
-
import r from "../../icons/angle-up-light.js";
|
|
6
|
-
import './code-collapse.
|
|
4
|
+
import n from "../../icons/angle-down-light.vue.js";
|
|
5
|
+
import r from "../../icons/angle-up-light.vue.js";
|
|
6
|
+
import './code-collapse.vue_vue_type_style_index_0_scoped_04a8d31f_lang.css';/* empty css */
|
|
7
7
|
import i from "../../icon/index.js";
|
|
8
8
|
import "../../index.js";
|
|
9
9
|
import { computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, openBlock as u, ref as d, toDisplayString as f, unref as p, useTemplateRef as m, withCtx as h } from "vue";
|
|
@@ -19,7 +19,7 @@ var g = ["open"], _ = /* @__PURE__ */ t({
|
|
|
19
19
|
b.value = e.target.open;
|
|
20
20
|
};
|
|
21
21
|
return _({ contentRef: y }), (e, a) => (u(), s("details", {
|
|
22
|
-
class: "code-collapse",
|
|
22
|
+
class: "d-code-collapse",
|
|
23
23
|
open: t.initialOpen,
|
|
24
24
|
onToggle: C
|
|
25
25
|
}, [c("summary", null, [c("span", null, f(S.value), 1), l(p(i), null, {
|
|
@@ -28,9 +28,9 @@ var g = ["open"], _ = /* @__PURE__ */ t({
|
|
|
28
28
|
})]), c("div", {
|
|
29
29
|
ref_key: "contentRef",
|
|
30
30
|
ref: y,
|
|
31
|
-
class: "code-
|
|
31
|
+
class: "d-code-collapse__content"
|
|
32
32
|
}, null, 512)], 40, g));
|
|
33
33
|
}
|
|
34
|
-
}, [["__scopeId", "data-v-
|
|
34
|
+
}, [["__scopeId", "data-v-04a8d31f"]]);
|
|
35
35
|
//#endregion
|
|
36
36
|
export { _ as default };
|
package/components/editor/src/code-collapse.vue_vue_type_style_index_0_scoped_04a8d31f_lang.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-code-collapse[data-v-04a8d31f]{border:1px solid var(--el-border-color);background:var(--el-bg-color-overlay);border-radius:4px;overflow:hidden}.d-code-collapse summary[data-v-04a8d31f]{cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--el-text-color-primary);justify-content:flex-end;align-items:center;gap:4px;padding:8px 12px;line-height:normal;list-style:none;display:flex}.d-code-collapse[data-v-04a8d31f] pre code{border:none;border-radius:0;margin:0}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useLocale as e } from "../../../hooks/use-locale/index.js";
|
|
2
2
|
import "../../../hooks/index.js";
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
import './editor.
|
|
5
|
-
import n from "./code-collapse.js";
|
|
6
|
-
/* empty css
|
|
4
|
+
import './editor.vue_vue_type_style_index_0_scoped_125d5f42_lang.css';import './editor.css';/* empty css */
|
|
5
|
+
import n from "./code-collapse.vue.js";
|
|
6
|
+
/* empty css */
|
|
7
7
|
import { computed as r, createApp as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, nextTick as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, openBlock as p, ref as m, shallowRef as h, unref as g, vShow as _, watch as v, withDirectives as y } from "vue";
|
|
8
8
|
import { ElImageViewer as ee, useFormItem as b } from "element-plus";
|
|
9
9
|
import { i18nChangeLanguage as x } from "@wangeditor-next/editor";
|
|
@@ -139,11 +139,11 @@ var w = "<p><br></p>", T = /* @__PURE__ */ t(/* @__PURE__ */ Object.assign({ nam
|
|
|
139
139
|
}, { immediate: !0 }), f(() => {
|
|
140
140
|
$(), k.value?.destroy?.();
|
|
141
141
|
}), T({ editorRef: k }), (e, n) => (p(), s("div", { class: u(["d-editor", {
|
|
142
|
-
"
|
|
143
|
-
"
|
|
142
|
+
"is-border": t.border,
|
|
143
|
+
"is-disabled": t.disabled
|
|
144
144
|
}]) }, [
|
|
145
145
|
y(c(g(C), {
|
|
146
|
-
class: "
|
|
146
|
+
class: "d-editor__toolbar",
|
|
147
147
|
editor: k.value,
|
|
148
148
|
"default-config": t.toolbarConfig,
|
|
149
149
|
mode: t.mode
|
|
@@ -153,7 +153,7 @@ var w = "<p><br></p>", T = /* @__PURE__ */ t(/* @__PURE__ */ Object.assign({ nam
|
|
|
153
153
|
"mode"
|
|
154
154
|
]), [[_, t.showToolbar && !t.disabled]]),
|
|
155
155
|
c(g(S), {
|
|
156
|
-
class: "
|
|
156
|
+
class: "d-editor__content",
|
|
157
157
|
style: d(se.value),
|
|
158
158
|
"model-value": A.value,
|
|
159
159
|
"default-config": oe.value,
|
|
@@ -177,6 +177,6 @@ var w = "<p><br></p>", T = /* @__PURE__ */ t(/* @__PURE__ */ Object.assign({ nam
|
|
|
177
177
|
}, null, 8, ["url-list", "initial-index"])) : o("", !0)
|
|
178
178
|
], 2));
|
|
179
179
|
}
|
|
180
|
-
}), [["__scopeId", "data-v-
|
|
180
|
+
}), [["__scopeId", "data-v-125d5f42"]]);
|
|
181
181
|
//#endregion
|
|
182
182
|
export { T as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-editor[data-v-125d5f42]{width:100%}.d-editor.w-e-full-screen-container[data-v-125d5f42]{z-index:1000}.d-editor .d-editor__toolbar[data-v-125d5f42]{border-bottom:1px solid var(--el-border-color)}.d-editor .d-editor__toolbar[data-v-125d5f42] .w-e-toolbar{border-radius:4px}.d-editor .d-editor__toolbar[data-v-125d5f42] .w-e-drop-panel{z-index:100}.d-editor .d-editor__content[data-v-125d5f42]{min-height:var(--minHeight);background:var(--el-fill-color-blank);border-radius:4px}.d-editor .d-editor__content[data-v-125d5f42] p[id^=w-e-element-paragraph-]{margin:10px 0}.d-editor .d-editor__content[data-v-125d5f42] .w-e-text-placeholder{font-size:14px;font-style:normal;line-height:normal;top:11px}.d-editor .d-editor__content[data-v-125d5f42] .w-e-image-container{width:500px}.d-editor .d-editor__content[data-v-125d5f42] pre code{text-shadow:none}.d-editor.is-disabled[data-v-125d5f42]:not(.is-border) div[id^=w-e-textarea-]{padding:0}.d-editor.is-disabled[data-v-125d5f42]:not(.is-border) p[id^=w-e-element-paragraph-]:first-child{margin-top:0}.d-editor.is-disabled[data-v-125d5f42]:not(.is-border) p[id^=w-e-element-paragraph-]:last-child{margin-bottom:0}.is-border[data-v-125d5f42]{border:1px solid var(--el-border-color);background:var(--el-bg-color);border-radius:4px;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.is-border[data-v-125d5f42]:hover{border-color:var(--el-text-color-disabled)}.is-disabled .d-editor__content[data-v-125d5f42] img{cursor:zoom-in}.el-form-item.is-error .is-border[data-v-125d5f42]{border:1px solid var(--el-color-danger)}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useLocale as e } from "../../../hooks/use-locale/index.js";
|
|
2
2
|
import "../../../hooks/index.js";
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
import n from "../../icons/angle-down-light.js";
|
|
5
|
-
import r from "../../icons/angle-up-light.js";
|
|
6
|
-
import './fold-text.
|
|
4
|
+
import n from "../../icons/angle-down-light.vue.js";
|
|
5
|
+
import r from "../../icons/angle-up-light.vue.js";
|
|
6
|
+
import './fold-text.vue_vue_type_style_index_0_scoped_f460d6d5_lang.css';/* empty css */
|
|
7
7
|
import i from "../../icon/index.js";
|
|
8
8
|
import "../../index.js";
|
|
9
9
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, normalizeClass as d, normalizeStyle as f, onMounted as p, openBlock as m, ref as h, renderSlot as g, toDisplayString as _, unref as v, useTemplateRef as y, withCtx as b } from "vue";
|
|
@@ -12,7 +12,7 @@ import { ElLink as S } from "element-plus";
|
|
|
12
12
|
//#region packages/components/fold-text/src/fold-text.vue
|
|
13
13
|
var C = { class: "d-fold-text" }, w = {
|
|
14
14
|
key: 0,
|
|
15
|
-
class: "
|
|
15
|
+
class: "d-fold-text__link"
|
|
16
16
|
}, T = /* @__PURE__ */ t(/* @__PURE__ */ Object.assign({ name: "DFoldText" }, {
|
|
17
17
|
__name: "fold-text",
|
|
18
18
|
props: {
|
|
@@ -26,7 +26,7 @@ var C = { class: "d-fold-text" }, w = {
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
setup(t) {
|
|
29
|
-
let T = t, E = y("textRef"), D = h(!1), O = h(!1), { t: k } = e(), A = a(() => ({ "
|
|
29
|
+
let T = t, E = y("textRef"), D = h(!1), O = h(!1), { t: k } = e(), A = a(() => ({ "is-clamped": !O.value && T.lineClamp }));
|
|
30
30
|
return p(() => {
|
|
31
31
|
x(E, () => {
|
|
32
32
|
!O.value && E.value && (D.value = E.value.scrollHeight > E.value.clientHeight);
|
|
@@ -34,7 +34,7 @@ var C = { class: "d-fold-text" }, w = {
|
|
|
34
34
|
}), (e, a) => (m(), c("div", C, [l("div", {
|
|
35
35
|
ref_key: "textRef",
|
|
36
36
|
ref: E,
|
|
37
|
-
class: d(["
|
|
37
|
+
class: d(["d-fold-text__content", A.value]),
|
|
38
38
|
style: f({ "-webkit-line-clamp": t.lineClamp })
|
|
39
39
|
}, [g(e.$slots, "default", {}, void 0, !0)], 6), t.showFold && D.value ? (m(), c("div", w, [O.value ? (m(), o(v(S), {
|
|
40
40
|
key: 0,
|
|
@@ -60,6 +60,6 @@ var C = { class: "d-fold-text" }, w = {
|
|
|
60
60
|
_: 1
|
|
61
61
|
}))])) : s("", !0)]));
|
|
62
62
|
}
|
|
63
|
-
}), [["__scopeId", "data-v-
|
|
63
|
+
}), [["__scopeId", "data-v-f460d6d5"]]);
|
|
64
64
|
//#endregion
|
|
65
65
|
export { T as default };
|
package/components/fold-text/src/fold-text.vue_vue_type_style_index_0_scoped_f460d6d5_lang.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-fold-text[data-v-f460d6d5]{overflow-wrap:break-word;flex-direction:column;display:flex}.d-fold-text .d-fold-text__content[data-v-f460d6d5]{white-space:pre-wrap}.d-fold-text .d-fold-text__content.is-clamped[data-v-f460d6d5]{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.d-fold-text .d-fold-text__link[data-v-f460d6d5]{display:flex}.d-fold-text .d-fold-text__link[data-v-f460d6d5] .el-link__inner{gap:4px}
|
package/components/icon/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
-
import './icon.vue_vue_type_style_index_0_scoped_29c845ca_lang.css';/* empty css
|
|
2
|
+
import './icon.vue_vue_type_style_index_0_scoped_29c845ca_lang.css';/* empty css */
|
|
3
3
|
import { createElementBlock as t, openBlock as n, renderSlot as r } from "vue";
|
|
4
4
|
//#region packages/components/icon/src/icon.vue
|
|
5
5
|
var i = { class: "d-icon" }, a = /* @__PURE__ */ e(/* @__PURE__ */ Object.assign({ name: "DIcon" }, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import t from "../../icon/index.js";
|
|
3
|
-
import n from "../../icons/circle-exclamation-solid.js";
|
|
4
|
-
import './icon-tip.
|
|
3
|
+
import n from "../../icons/circle-exclamation-solid.vue.js";
|
|
4
|
+
import './icon-tip.vue_vue_type_style_index_0_scoped_fd7f9264_lang.css';/* empty css */
|
|
5
5
|
import "../../index.js";
|
|
6
6
|
import { createBlock as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, mergeProps as c, normalizeClass as l, openBlock as u, renderSlot as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
|
|
7
7
|
import { ElLink as h, ElTooltip as g } from "element-plus";
|
|
8
8
|
//#region packages/components/icon-tip/src/icon-tip.vue
|
|
9
|
-
var _ = { class: "
|
|
9
|
+
var _ = { class: "d-icon-tip__content" }, v = /* @__PURE__ */ e(/* @__PURE__ */ Object.assign({ name: "DIconTip" }, {
|
|
10
10
|
__name: "icon-tip",
|
|
11
11
|
props: {
|
|
12
12
|
content: { type: String },
|
|
@@ -47,6 +47,6 @@ var _ = { class: "tip-content" }, v = /* @__PURE__ */ e(/* @__PURE__ */ Object.a
|
|
|
47
47
|
_: 3
|
|
48
48
|
}, 8, ["placement"]));
|
|
49
49
|
}
|
|
50
|
-
}), [["__scopeId", "data-v-
|
|
50
|
+
}), [["__scopeId", "data-v-fd7f9264"]]);
|
|
51
51
|
//#endregion
|
|
52
52
|
export { v as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-icon-tip .d-icon-tip__content[data-v-fd7f9264]{white-space:pre-wrap}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
|
+
//#region packages/components/icons/filter-list-light.vue
|
|
4
|
+
var i = {}, a = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
viewBox: "0 0 576 512"
|
|
7
|
+
};
|
|
8
|
+
function o(e, i) {
|
|
9
|
+
return r(), t("svg", a, [...i[0] ||= [n("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
d: "M233.4 203.3L340.7 96 43.3 96 150.6 203.3c6 6 9.4 14.1 9.4 22.6l0 114.7 64 64 0-178.7c0-8.5 3.4-16.6 9.4-22.6zM377 105l-121 121 0 198.1c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-80-80c-4.5-4.5-7-10.6-7-17L128 225.9 7 105C.2 98.1-1.9 87.8 1.8 78.8S14.3 64 24 64l336 0c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2zm87-41l64 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zM336 240l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 176l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"
|
|
12
|
+
}, null, -1)]]);
|
|
13
|
+
}
|
|
14
|
+
var s = /* @__PURE__ */ e(i, [["render", o]]);
|
|
15
|
+
//#endregion
|
|
16
|
+
export { s as default };
|
package/components/index.d.ts
CHANGED
package/components/index.js
CHANGED
|
@@ -8,8 +8,9 @@ import o from "./inline-edit/index.js";
|
|
|
8
8
|
import s from "./upload/index.js";
|
|
9
9
|
import c from "./search-form/index.js";
|
|
10
10
|
import l from "./search-item/index.js";
|
|
11
|
+
import u from "./table/index.js";
|
|
11
12
|
//#region packages/components/index.js
|
|
12
|
-
var
|
|
13
|
+
var d = /* @__PURE__ */ e({
|
|
13
14
|
DCopy: () => t,
|
|
14
15
|
DEditor: () => n,
|
|
15
16
|
DFoldText: () => r,
|
|
@@ -18,7 +19,8 @@ var u = /* @__PURE__ */ e({
|
|
|
18
19
|
DInlineEdit: () => o,
|
|
19
20
|
DSearchForm: () => c,
|
|
20
21
|
DSearchItem: () => l,
|
|
22
|
+
DTable: () => u,
|
|
21
23
|
DUpload: () => s
|
|
22
24
|
});
|
|
23
25
|
//#endregion
|
|
24
|
-
export { t as DCopy, n as DEditor, r as DFoldText, i as DIcon, a as DIconTip, o as DInlineEdit, c as DSearchForm, l as DSearchItem, s as DUpload,
|
|
26
|
+
export { t as DCopy, n as DEditor, r as DFoldText, i as DIcon, a as DIconTip, o as DInlineEdit, c as DSearchForm, l as DSearchItem, u as DTable, s as DUpload, d as components_exports };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
-
import './inline-edit.
|
|
2
|
+
import './inline-edit.vue_vue_type_style_index_0_scoped_b066ddcd_lang.css';/* empty css */
|
|
3
3
|
import { isFunction as t } from "lodash-es";
|
|
4
4
|
import { createElementBlock as n, nextTick as r, normalizeClass as i, openBlock as a, ref as o, renderSlot as s, useTemplateRef as c } from "vue";
|
|
5
5
|
import { onClickOutside as l } from "@vueuse/core";
|
|
@@ -64,14 +64,14 @@ var u = "input:not([disabled]), textarea:not([disabled]), [contenteditable=\"tru
|
|
|
64
64
|
key: 0,
|
|
65
65
|
ref_key: "editorRef",
|
|
66
66
|
ref: _,
|
|
67
|
-
class: "
|
|
67
|
+
class: "d-inline-edit__editor"
|
|
68
68
|
}, [s(e.$slots, "editor", {}, void 0, !0)], 512)) : (a(), n("div", {
|
|
69
69
|
key: 1,
|
|
70
|
-
class: i(["
|
|
70
|
+
class: i(["d-inline-edit__text", { "is-hoverable": !m.disabled }]),
|
|
71
71
|
onClick: T,
|
|
72
72
|
onDblclick: E
|
|
73
73
|
}, [s(e.$slots, "default", {}, void 0, !0)], 34))], 512));
|
|
74
74
|
}
|
|
75
|
-
}), [["__scopeId", "data-v-
|
|
75
|
+
}), [["__scopeId", "data-v-b066ddcd"]]);
|
|
76
76
|
//#endregion
|
|
77
77
|
export { d as default };
|
package/components/inline-edit/src/inline-edit.vue_vue_type_style_index_0_scoped_b066ddcd_lang.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-inline-edit .is-hoverable[data-v-b066ddcd]{cursor:text;border-radius:4px}.d-inline-edit .is-hoverable[data-v-b066ddcd]:hover{box-shadow:0 0 0 1px var(--el-border-color) inset}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useLocale as e } from "../../../hooks/use-locale/index.js";
|
|
2
2
|
import "../../../hooks/index.js";
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
import n from "../../icons/angle-down-light.js";
|
|
5
|
-
import r from "../../icons/angle-up-light.js";
|
|
4
|
+
import n from "../../icons/angle-down-light.vue.js";
|
|
5
|
+
import r from "../../icons/angle-up-light.vue.js";
|
|
6
6
|
import i from "../../icon/index.js";
|
|
7
|
-
import './search-form.
|
|
7
|
+
import './search-form.vue_vue_type_style_index_0_scoped_ff9cbf76_lang.css';/* empty css */
|
|
8
8
|
import "../../index.js";
|
|
9
9
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, normalizeClass as p, normalizeStyle as m, openBlock as h, provide as g, ref as _, renderSlot as v, toDisplayString as y, unref as b, useTemplateRef as x, withCtx as S, withKeys as C } from "vue";
|
|
10
10
|
import { useResizeObserver as w } from "@vueuse/core";
|
|
@@ -58,12 +58,12 @@ var D = /* @__PURE__ */ t(/* @__PURE__ */ Object.assign({ name: "DSearchForm" },
|
|
|
58
58
|
}, [u("div", {
|
|
59
59
|
ref_key: "rowRef",
|
|
60
60
|
ref: j,
|
|
61
|
-
class: "search-
|
|
61
|
+
class: "d-search-form__row"
|
|
62
62
|
}, [f(b(E), { gutter: 12 }, {
|
|
63
63
|
default: S(() => [v(e.$slots, "default", { isOpen: M.value }, void 0, !0)]),
|
|
64
64
|
_: 3
|
|
65
65
|
})], 512), u("div", {
|
|
66
|
-
class: "search-
|
|
66
|
+
class: "d-search-form__btns",
|
|
67
67
|
style: m(B.value)
|
|
68
68
|
}, [
|
|
69
69
|
f(b(T), {
|
|
@@ -106,6 +106,6 @@ var D = /* @__PURE__ */ t(/* @__PURE__ */ Object.assign({ name: "DSearchForm" },
|
|
|
106
106
|
}))], 64)) : c("", !0)
|
|
107
107
|
], 4)], 38));
|
|
108
108
|
}
|
|
109
|
-
}), [["__scopeId", "data-v-
|
|
109
|
+
}), [["__scopeId", "data-v-ff9cbf76"]]);
|
|
110
110
|
//#endregion
|
|
111
111
|
export { D as default };
|
package/components/search-form/src/search-form.vue_vue_type_style_index_0_scoped_ff9cbf76_lang.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-search-form[data-v-ff9cbf76]{align-items:flex-start;gap:12px;display:flex;overflow:hidden}.d-search-form.is-open[data-v-ff9cbf76]{overflow:visible}.d-search-form .d-search-form__row[data-v-ff9cbf76]{flex:1}.d-search-form .d-search-form__row[data-v-ff9cbf76] .el-row{flex-wrap:wrap;gap:12px 0}.d-search-form .d-search-form__btns[data-v-ff9cbf76]{flex-shrink:0;align-items:center;gap:12px;display:flex;position:relative}.d-search-form .d-search-form__btns[data-v-ff9cbf76] .el-button{margin:0}.d-search-form .d-search-form__btns[data-v-ff9cbf76] .el-button .d-icon{margin-left:4px}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
-
import './search-item.
|
|
2
|
+
import './search-item.vue_vue_type_style_index_0_scoped_a37eaef0_lang.css';/* empty css */
|
|
3
3
|
import { computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, inject as o, onMounted as s, onUnmounted as c, openBlock as l, renderSlot as u, toDisplayString as d, toRef as f, unref as p, withCtx as m } from "vue";
|
|
4
4
|
import { ElCol as h } from "element-plus";
|
|
5
5
|
//#region packages/components/search-item/src/search-item.vue
|
|
6
6
|
var g = {
|
|
7
7
|
key: 0,
|
|
8
|
-
class: "
|
|
9
|
-
}, _ = { class: "
|
|
8
|
+
class: "d-search-item__label"
|
|
9
|
+
}, _ = { class: "d-search-item__content" }, v = /* @__PURE__ */ e(/* @__PURE__ */ Object.assign({ name: "DSearchItem" }, {
|
|
10
10
|
__name: "search-item",
|
|
11
11
|
props: {
|
|
12
12
|
label: {
|
|
@@ -40,6 +40,6 @@ var g = {
|
|
|
40
40
|
_: 3
|
|
41
41
|
}, 8, ["span"]));
|
|
42
42
|
}
|
|
43
|
-
}), [["__scopeId", "data-v-
|
|
43
|
+
}), [["__scopeId", "data-v-a37eaef0"]]);
|
|
44
44
|
//#endregion
|
|
45
45
|
export { v as default };
|
package/components/search-item/src/search-item.vue_vue_type_style_index_0_scoped_a37eaef0_lang.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-search-item .d-search-item__label[data-v-a37eaef0]{text-overflow:ellipsis;white-space:nowrap;height:32px;line-height:32px;overflow:hidden}.d-search-item .d-search-item__content[data-v-a37eaef0] .el-select,.d-search-item .d-search-item__content[data-v-a37eaef0] .el-input,.d-search-item .d-search-item__content[data-v-a37eaef0] .el-date-editor{width:100%}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
export const DTable: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
3
|
+
tableContext: {
|
|
4
|
+
columnList: import('vue').Ref<never[], never[]>;
|
|
5
|
+
checkedKeys: import('vue').Ref<never[], never[]>;
|
|
6
|
+
columnOrder: import('vue').Ref<never[], never[]>;
|
|
7
|
+
saveConfig: () => void;
|
|
8
|
+
readonly storageKey: string;
|
|
9
|
+
};
|
|
10
|
+
saveConfig: () => void;
|
|
11
|
+
$emit: (event: "page-change", ...args: any[]) => void;
|
|
12
|
+
showTip: boolean;
|
|
13
|
+
filterable: boolean;
|
|
14
|
+
total: number;
|
|
15
|
+
pageSizes: unknown[];
|
|
16
|
+
pageLayout: string;
|
|
17
|
+
showPage: boolean;
|
|
18
|
+
autoHeight: boolean;
|
|
19
|
+
availableHeight: number;
|
|
20
|
+
heightContainer: string;
|
|
21
|
+
storageKey?: string | undefined;
|
|
22
|
+
$props: {
|
|
23
|
+
readonly showTip?: boolean | undefined;
|
|
24
|
+
readonly filterable?: boolean | undefined;
|
|
25
|
+
readonly total?: number | undefined;
|
|
26
|
+
readonly pageSizes?: unknown[] | undefined;
|
|
27
|
+
readonly pageLayout?: string | undefined;
|
|
28
|
+
readonly showPage?: boolean | undefined;
|
|
29
|
+
readonly autoHeight?: boolean | undefined;
|
|
30
|
+
readonly availableHeight?: number | undefined;
|
|
31
|
+
readonly heightContainer?: string | undefined;
|
|
32
|
+
readonly storageKey?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
35
|
+
tableAreaRef: HTMLDivElement;
|
|
36
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
37
|
+
P: {};
|
|
38
|
+
B: {};
|
|
39
|
+
D: {};
|
|
40
|
+
C: {};
|
|
41
|
+
M: {};
|
|
42
|
+
Defaults: {};
|
|
43
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
44
|
+
tableContext: {
|
|
45
|
+
columnList: import('vue').Ref<never[], never[]>;
|
|
46
|
+
checkedKeys: import('vue').Ref<never[], never[]>;
|
|
47
|
+
columnOrder: import('vue').Ref<never[], never[]>;
|
|
48
|
+
saveConfig: () => void;
|
|
49
|
+
readonly storageKey: string;
|
|
50
|
+
};
|
|
51
|
+
saveConfig: () => void;
|
|
52
|
+
$emit: (event: "page-change", ...args: any[]) => void;
|
|
53
|
+
showTip: boolean;
|
|
54
|
+
filterable: boolean;
|
|
55
|
+
total: number;
|
|
56
|
+
pageSizes: unknown[];
|
|
57
|
+
pageLayout: string;
|
|
58
|
+
showPage: boolean;
|
|
59
|
+
autoHeight: boolean;
|
|
60
|
+
availableHeight: number;
|
|
61
|
+
heightContainer: string;
|
|
62
|
+
storageKey?: string | undefined;
|
|
63
|
+
$props: {
|
|
64
|
+
readonly showTip?: boolean | undefined;
|
|
65
|
+
readonly filterable?: boolean | undefined;
|
|
66
|
+
readonly total?: number | undefined;
|
|
67
|
+
readonly pageSizes?: unknown[] | undefined;
|
|
68
|
+
readonly pageLayout?: string | undefined;
|
|
69
|
+
readonly showPage?: boolean | undefined;
|
|
70
|
+
readonly autoHeight?: boolean | undefined;
|
|
71
|
+
readonly availableHeight?: number | undefined;
|
|
72
|
+
readonly heightContainer?: string | undefined;
|
|
73
|
+
readonly storageKey?: string | undefined;
|
|
74
|
+
};
|
|
75
|
+
}, {}, {}, {}, {}>;
|
|
76
|
+
__isFragment?: never;
|
|
77
|
+
__isTeleport?: never;
|
|
78
|
+
__isSuspense?: never;
|
|
79
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
80
|
+
tableContext: {
|
|
81
|
+
columnList: import('vue').Ref<never[], never[]>;
|
|
82
|
+
checkedKeys: import('vue').Ref<never[], never[]>;
|
|
83
|
+
columnOrder: import('vue').Ref<never[], never[]>;
|
|
84
|
+
saveConfig: () => void;
|
|
85
|
+
readonly storageKey: string;
|
|
86
|
+
};
|
|
87
|
+
saveConfig: () => void;
|
|
88
|
+
$emit: (event: "page-change", ...args: any[]) => void;
|
|
89
|
+
showTip: boolean;
|
|
90
|
+
filterable: boolean;
|
|
91
|
+
total: number;
|
|
92
|
+
pageSizes: unknown[];
|
|
93
|
+
pageLayout: string;
|
|
94
|
+
showPage: boolean;
|
|
95
|
+
autoHeight: boolean;
|
|
96
|
+
availableHeight: number;
|
|
97
|
+
heightContainer: string;
|
|
98
|
+
storageKey?: string | undefined;
|
|
99
|
+
$props: {
|
|
100
|
+
readonly showTip?: boolean | undefined;
|
|
101
|
+
readonly filterable?: boolean | undefined;
|
|
102
|
+
readonly total?: number | undefined;
|
|
103
|
+
readonly pageSizes?: unknown[] | undefined;
|
|
104
|
+
readonly pageLayout?: string | undefined;
|
|
105
|
+
readonly showPage?: boolean | undefined;
|
|
106
|
+
readonly autoHeight?: boolean | undefined;
|
|
107
|
+
readonly availableHeight?: number | undefined;
|
|
108
|
+
readonly heightContainer?: string | undefined;
|
|
109
|
+
readonly storageKey?: string | undefined;
|
|
110
|
+
};
|
|
111
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
112
|
+
$slots: {
|
|
113
|
+
toolbar?(_: {}): any;
|
|
114
|
+
default?(_: {
|
|
115
|
+
tableHeight: undefined;
|
|
116
|
+
}): any;
|
|
117
|
+
pagination?(_: {}): any;
|
|
118
|
+
};
|
|
119
|
+
});
|
|
120
|
+
export default DTable;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|