color-star-custom-components 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/IconRenderer.mjs +1 -1
- package/es/IconSelect.mjs +1 -1
- package/es/SearchBar.mjs +23 -23
- package/es/TreeShowSelect.mjs +1 -1
- package/es/assets/SearchBar.css +1 -1
- package/es/assets/TreeShowSelect.css +1 -1
- package/es/chunks/config.vx0Pd_KA.js +24 -0
- package/es/chunks/global.BAPub_Ki.js +1955 -0
- package/es/index.mjs +1 -1
- package/lib/IconRenderer.js +1 -1
- package/lib/IconSelect.js +1 -1
- package/lib/SearchBar.js +1 -1
- package/lib/TreeShowSelect.js +1 -1
- package/lib/assets/SearchBar.css +1 -1
- package/lib/assets/TreeShowSelect.css +1 -1
- package/lib/chunks/config.BQdizeHz.js +1 -0
- package/lib/chunks/global.DzBTkIU5.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/es/IconRenderer.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { w as s } from "./chunks/index.bCzIhWFw.js";
|
|
2
2
|
import { useCssVars as u, shallowRef as m, ref as f, watch as d, onMounted as p, createBlock as c, createCommentVNode as y, openBlock as l, unref as v, mergeProps as g, withCtx as b, resolveDynamicComponent as C } from "vue";
|
|
3
3
|
import { ElIcon as I } from "element-plus";
|
|
4
|
-
import { i, g as N } from "./chunks/config.
|
|
4
|
+
import { i, g as N } from "./chunks/config.vx0Pd_KA.js";
|
|
5
5
|
import { _ as h } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
6
|
import './assets/IconRenderer.css';const w = /* @__PURE__ */ Object.assign({
|
|
7
7
|
name: "IconRenderer"
|
package/es/IconSelect.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { w as M } from "./chunks/index.bCzIhWFw.js";
|
|
|
2
2
|
import { useCssVars as $, ref as r, shallowRef as F, computed as P, watch as x, onMounted as R, createBlock as i, openBlock as l, unref as u, withCtx as s, createElementVNode as k, createVNode as I, createElementBlock as d, createSlots as U, resolveDynamicComponent as h, Fragment as V, renderList as D, normalizeClass as j, createCommentVNode as T, createTextVNode as q, markRaw as z } from "vue";
|
|
3
3
|
import { ElPopover as G, ElInput as H, ElIcon as w } from "element-plus";
|
|
4
4
|
import { _ as J } from "./chunks/layout.CJWd6Qr3.js";
|
|
5
|
-
import { i as N, g as K, a as Q } from "./chunks/config.
|
|
5
|
+
import { i as N, g as K, a as Q } from "./chunks/config.vx0Pd_KA.js";
|
|
6
6
|
import { _ as W } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
7
|
import './assets/IconSelect.css';const X = { class: "icon-select-content flex flex-col overflow-hidden" }, Y = {
|
|
8
8
|
key: 0,
|
package/es/SearchBar.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as
|
|
2
|
-
import { renderSlot as
|
|
1
|
+
import { w as be } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { renderSlot as b, createElementBlock as $, openBlock as i, Fragment as F, renderList as E, createBlock as c, unref as t, withCtx as r, createTextVNode as V, toDisplayString as M, useCssVars as le, ref as p, computed as W, withModifiers as ke, normalizeClass as N, mergeProps as g, createCommentVNode as O, withKeys as ge, onMounted as we, watch as Ve, createElementVNode as w, createVNode as m, createSlots as x, normalizeProps as H, guardReactiveProps as K, normalizeStyle as Ce } from "vue";
|
|
3
3
|
import { ElButton as T, ElForm as De, ElFormItem as oe, ElInput as Z, ElDatePicker as $e, ElInputNumber as Ee, ElSwitch as xe, ElRadioGroup as We, ElRadio as Fe, ElCheckboxGroup as Me, ElCheckbox as Be, ElAutoResizer as _, ElPopover as Ue, ElIcon as ee, ElDrawer as Ie } from "element-plus";
|
|
4
4
|
import { IconMagnify as Le, IconCheck as Pe, IconUp as Se, IconDown as Ne, IconShrink as Oe } from "color-message-lingyun-vue";
|
|
5
5
|
import { operationConfigMap as D, emitsMap as f, labelPositionMap as P, componentType as v, dateParamsMap as Te, dateFormat as ae } from "color-star-custom-methods";
|
|
@@ -32,7 +32,7 @@ import './assets/SearchBar.css';const je = [
|
|
|
32
32
|
const C = B, u = (h) => {
|
|
33
33
|
C(f.operation, h);
|
|
34
34
|
};
|
|
35
|
-
return (h, n) => h.$slots.operation ?
|
|
35
|
+
return (h, n) => h.$slots.operation ? b(h.$slots, "operation", {
|
|
36
36
|
key: 0,
|
|
37
37
|
operationList: a.operationList
|
|
38
38
|
}) : (i(!0), $(F, { key: 1 }, E(a.operationList, (y) => (i(), c(t(T), {
|
|
@@ -111,7 +111,7 @@ import './assets/SearchBar.css';const je = [
|
|
|
111
111
|
emits: [f.change, f.enter],
|
|
112
112
|
setup(a, { expose: B }) {
|
|
113
113
|
le((n) => ({
|
|
114
|
-
|
|
114
|
+
v1bc7ee80: a.minWidth + "px"
|
|
115
115
|
}));
|
|
116
116
|
const C = a, u = p(null), h = W(() => C.isFilter ? "filter-form" : C.isFilterPreview ? "filter-preview-form" : C.fixedWidth ? "search-bar-form search-bar-form-fixed" : "search-bar-form");
|
|
117
117
|
return B({
|
|
@@ -137,7 +137,7 @@ import './assets/SearchBar.css';const je = [
|
|
|
137
137
|
[h.value]: !0,
|
|
138
138
|
"items-end display-grid": !a.isFilterPreview
|
|
139
139
|
}),
|
|
140
|
-
onSubmit: y[0] || (y[0] =
|
|
140
|
+
onSubmit: y[0] || (y[0] = ke(() => {
|
|
141
141
|
}, ["prevent", "stop"]))
|
|
142
142
|
}, {
|
|
143
143
|
default: r(() => [
|
|
@@ -153,7 +153,7 @@ import './assets/SearchBar.css';const je = [
|
|
|
153
153
|
]
|
|
154
154
|
}, { ref_for: !0 }, e), {
|
|
155
155
|
default: r(() => [
|
|
156
|
-
|
|
156
|
+
b(n.$slots, e.key, {
|
|
157
157
|
item: e,
|
|
158
158
|
formData: a.formData
|
|
159
159
|
}, () => [
|
|
@@ -178,8 +178,8 @@ import './assets/SearchBar.css';const je = [
|
|
|
178
178
|
modelValue: a.formData[e.key],
|
|
179
179
|
"onUpdate:modelValue": (l) => a.formData[e.key] = l
|
|
180
180
|
}, { ref_for: !0 }, {
|
|
181
|
-
...e,
|
|
182
|
-
...
|
|
181
|
+
...t(Te)[e.dateType],
|
|
182
|
+
...e
|
|
183
183
|
}, {
|
|
184
184
|
type: e.dateType,
|
|
185
185
|
format: e.format || t(ae).date,
|
|
@@ -256,12 +256,12 @@ import './assets/SearchBar.css';const je = [
|
|
|
256
256
|
]),
|
|
257
257
|
_: 2
|
|
258
258
|
}, 1040, ["label", "prop", "show-label", "class"]))), 128)),
|
|
259
|
-
|
|
259
|
+
b(n.$slots, "default", {}, void 0, !0)
|
|
260
260
|
]),
|
|
261
261
|
_: 3
|
|
262
262
|
}, 8, ["model", "label-width", "label-position", "inline", "rules", "class"]));
|
|
263
263
|
}
|
|
264
|
-
}), G = /* @__PURE__ */ ne(Ae, [["__scopeId", "data-v-
|
|
264
|
+
}), G = /* @__PURE__ */ ne(Ae, [["__scopeId", "data-v-79352bf5"]]), He = { class: "h-32 w-full" }, Ke = { class: "flex items-center justify-between pd-b-20" }, qe = { class: "text-right" }, Ge = { class: "drawer-header" }, Je = { class: "flex-1 pd-l-16 pd-r-16 overflow-y-auto" }, Qe = { class: "text-right border-top pd-t-16 pd-l-16 pd-r-16" }, Xe = /* @__PURE__ */ Object.assign({
|
|
265
265
|
name: "SearchBar"
|
|
266
266
|
}, {
|
|
267
267
|
__name: "layout",
|
|
@@ -415,8 +415,8 @@ import './assets/SearchBar.css';const je = [
|
|
|
415
415
|
default: r(() => [
|
|
416
416
|
w("div", He, [
|
|
417
417
|
m(t(_), null, {
|
|
418
|
-
default: r(({ width:
|
|
419
|
-
V(M(me(
|
|
418
|
+
default: r(({ width: k }) => [
|
|
419
|
+
V(M(me(k)), 1)
|
|
420
420
|
]),
|
|
421
421
|
_: 1
|
|
422
422
|
})
|
|
@@ -427,10 +427,10 @@ import './assets/SearchBar.css';const je = [
|
|
|
427
427
|
]),
|
|
428
428
|
_: 2
|
|
429
429
|
}, [
|
|
430
|
-
E(J.value, (
|
|
431
|
-
name:
|
|
430
|
+
E(J.value, (k) => ({
|
|
431
|
+
name: k.key,
|
|
432
432
|
fn: r((pe) => [
|
|
433
|
-
|
|
433
|
+
b(o.$slots, k.key, H(K(pe)), void 0, !0)
|
|
434
434
|
])
|
|
435
435
|
}))
|
|
436
436
|
]), 1032, ["items", "form-data", "rules", "label-width", "label-position", "show-label", "min-width", "is-filter-preview", "fixedWidth"])
|
|
@@ -506,8 +506,8 @@ import './assets/SearchBar.css';const je = [
|
|
|
506
506
|
}, x({ _: 2 }, [
|
|
507
507
|
E(I.value, (s) => ({
|
|
508
508
|
name: s.key,
|
|
509
|
-
fn: r((
|
|
510
|
-
|
|
509
|
+
fn: r((k) => [
|
|
510
|
+
b(o.$slots, s.key, H(K(k)), void 0, !0)
|
|
511
511
|
])
|
|
512
512
|
}))
|
|
513
513
|
]), 1032, ["items", "form-data", "min-width"]),
|
|
@@ -519,7 +519,7 @@ import './assets/SearchBar.css';const je = [
|
|
|
519
519
|
o.$slots.operation ? {
|
|
520
520
|
name: "operation",
|
|
521
521
|
fn: r(({ operationList: s }) => [
|
|
522
|
-
|
|
522
|
+
b(o.$slots, "operation", { operationList: s }, void 0, !0)
|
|
523
523
|
]),
|
|
524
524
|
key: "0"
|
|
525
525
|
} : void 0
|
|
@@ -547,7 +547,7 @@ import './assets/SearchBar.css';const je = [
|
|
|
547
547
|
o.$slots.operation ? {
|
|
548
548
|
name: "operation",
|
|
549
549
|
fn: r(({ operationList: s }) => [
|
|
550
|
-
|
|
550
|
+
b(o.$slots, "operation", { operationList: s }, void 0, !0)
|
|
551
551
|
]),
|
|
552
552
|
key: "0"
|
|
553
553
|
} : void 0
|
|
@@ -594,8 +594,8 @@ import './assets/SearchBar.css';const je = [
|
|
|
594
594
|
}, x({ _: 2 }, [
|
|
595
595
|
E(I.value, (s) => ({
|
|
596
596
|
name: s.key,
|
|
597
|
-
fn: r((
|
|
598
|
-
|
|
597
|
+
fn: r((k) => [
|
|
598
|
+
b(o.$slots, s.key, H(K(k)), void 0, !0)
|
|
599
599
|
])
|
|
600
600
|
}))
|
|
601
601
|
]), 1032, ["items", "form-data", "min-width"])
|
|
@@ -608,7 +608,7 @@ import './assets/SearchBar.css';const je = [
|
|
|
608
608
|
o.$slots.operation ? {
|
|
609
609
|
name: "operation",
|
|
610
610
|
fn: r(({ operationList: s }) => [
|
|
611
|
-
|
|
611
|
+
b(o.$slots, "operation", { operationList: s }, void 0, !0)
|
|
612
612
|
]),
|
|
613
613
|
key: "0"
|
|
614
614
|
} : void 0
|
|
@@ -619,7 +619,7 @@ import './assets/SearchBar.css';const je = [
|
|
|
619
619
|
}, 8, ["modelValue"])
|
|
620
620
|
], 2));
|
|
621
621
|
}
|
|
622
|
-
}), Ye = /* @__PURE__ */ ne(Xe, [["__scopeId", "data-v-3877c183"]]), ia =
|
|
622
|
+
}), Ye = /* @__PURE__ */ ne(Xe, [["__scopeId", "data-v-3877c183"]]), ia = be(Ye);
|
|
623
623
|
export {
|
|
624
624
|
ia as SearchBar,
|
|
625
625
|
ia as default
|
package/es/TreeShowSelect.mjs
CHANGED
|
@@ -99,7 +99,7 @@ import './assets/TreeShowSelect.css';const E = { class: "left-box w-50-percent f
|
|
|
99
99
|
_: 3
|
|
100
100
|
}));
|
|
101
101
|
}
|
|
102
|
-
}), K = /* @__PURE__ */ B($, [["__scopeId", "data-v-
|
|
102
|
+
}), K = /* @__PURE__ */ B($, [["__scopeId", "data-v-966c45c7"]]), W = P(K);
|
|
103
103
|
export {
|
|
104
104
|
W as TreeShowSelect,
|
|
105
105
|
W as default
|
package/es/assets/SearchBar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.filter-form[data-v-
|
|
1
|
+
.filter-form[data-v-79352bf5]{grid-template-columns:repeat(2,1fr);gap:10px}.filter-preview-form[data-v-79352bf5]{display:flex}.filter-preview-form .el-form-item[data-v-79352bf5]{width:var(--v1bc7ee80);margin-right:10px}.search-bar-form[data-v-79352bf5]{grid-template-columns:repeat(auto-fit,minmax(var(--v1bc7ee80),1fr));gap:10px}.search-bar-form.search-bar-form-fixed[data-v-79352bf5]{grid-template-columns:repeat(auto-fit,var(--v1bc7ee80))}.search-bar-form.search-bar-form-fixed.el-form--inline .el-form-item[data-v-79352bf5]{margin-bottom:18px}.search-bar-form.el-form--inline .el-form-item[data-v-79352bf5]{margin-right:0;margin-bottom:10px}.search-bar-form.el-form--inline .el-form-item.el-form-item--label-left[data-v-79352bf5]{display:flex;padding:0 14px;background:var(--neutral-color-18);border-radius:8px;border:1px solid var(--parting-line)}.search-bar-form.el-form--inline .el-form-item.el-form-item--label-left[data-v-79352bf5] .el-form-item__content{justify-content:end}.search-bar-form.el-form--inline.el-form--label-top[data-v-79352bf5]{display:grid}.search-bar-item--wide[data-v-79352bf5]{grid-column:span 2}.is-collapsed[data-v-3877c183]{max-height:var(--c43334b4)}.operation-buttons[data-v-3877c183]{width:var(--v002cf482);z-index:1}.h-32[data-v-3877c183]{height:32px}.drawer-header[data-v-3877c183]{display:flex;justify-content:space-between;align-items:center;width:100%}.drawer-header .shrink-button[data-v-3877c183]{margin-left:auto}.border-top[data-v-3877c183]{border-top:1px solid var(--parting-line)}[data-v-3877c183] .el-drawer__body{padding:16px 0;display:flex;flex-direction:column;overflow:hidden}.filter-form-popover[data-v-3877c183]{max-height:400px}[data-v-3877c183] .el-drawer__header{margin-bottom:0;padding:16px 16px 0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.w-50-percent[data-v-
|
|
1
|
+
.w-50-percent[data-v-966c45c7]{width:50%}.out-box[data-v-966c45c7]{border:1px solid var(--parting-line)}.out-box .head-box[data-v-966c45c7]{border-bottom:1px solid var(--parting-line)}.out-box .left-box[data-v-966c45c7]{border-right:1px solid var(--parting-line)}.out-box .selected-list .selected-item[data-v-966c45c7]{height:32px}.out-box .selected-list .selected-item[data-v-966c45c7]:hover{background:var(--primary-color-5)}.out-box .selected-list .virtual-scroller[data-v-966c45c7]{height:100%}.tree-select-list[data-v-966c45c7] .el-tree-node__content{margin-bottom:8px;padding:4px 0;height:32px;border-radius:8px}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
lingyun: "lingyun",
|
|
3
|
+
aibox: "aibox"
|
|
4
|
+
}, o = async (n) => {
|
|
5
|
+
switch (n) {
|
|
6
|
+
case a.lingyun:
|
|
7
|
+
return await import("./global.CCbNdFdD.js");
|
|
8
|
+
case a.aibox:
|
|
9
|
+
return await import("./global.BAPub_Ki.js");
|
|
10
|
+
}
|
|
11
|
+
return null;
|
|
12
|
+
}, i = async (n, r) => {
|
|
13
|
+
if (!r) return null;
|
|
14
|
+
try {
|
|
15
|
+
return (await o(n))[r] || null;
|
|
16
|
+
} catch (t) {
|
|
17
|
+
return console.warn(`Failed to load icon ${r} from ${n} library:`, t), null;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
o as a,
|
|
22
|
+
i as g,
|
|
23
|
+
a as i
|
|
24
|
+
};
|