color-star-custom-components 0.0.8 → 0.0.10

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.
@@ -1,7 +1,7 @@
1
1
  import { w as s } from "./chunks/index.bCzIhWFw.js";
2
2
  import { shallowRef as u, ref as m, watch as f, onMounted as d, createBlock as l, createCommentVNode as p, openBlock as c, unref as y, mergeProps as v, withCtx as g, resolveDynamicComponent as b } from "vue";
3
3
  import { ElIcon as N } from "element-plus";
4
- import { i, g as h } from "./chunks/config.ERg0IgVD.js";
4
+ import { i, g as h } from "./chunks/config.DuuYqasP.js";
5
5
  const w = /* @__PURE__ */ Object.assign({
6
6
  name: "IconRenderer"
7
7
  }, {
package/es/IconSelect.mjs CHANGED
@@ -2,7 +2,7 @@ import { w as M } from "./chunks/index.bCzIhWFw.js";
2
2
  import { ref as r, shallowRef as $, computed as F, watch as _, onMounted as P, createBlock as c, openBlock as l, unref as u, withCtx as i, createElementVNode as C, createVNode as I, createElementBlock as d, createSlots as R, resolveDynamicComponent as h, Fragment as V, renderList as U, normalizeClass as j, createCommentVNode as D, createTextVNode as T, markRaw as z } from "vue";
3
3
  import { ElPopover as q, ElInput as G, ElIcon as w } from "element-plus";
4
4
  import { _ as H } from "./chunks/layout.CJWd6Qr3.js";
5
- import { i as N, g as J, a as K } from "./chunks/config.ERg0IgVD.js";
5
+ import { i as N, g as J, a as K } from "./chunks/config.DuuYqasP.js";
6
6
  import { _ as Q } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
7
  import './assets/IconSelect.css';const W = { class: "icon-select-content flex flex-col overflow-hidden" }, X = {
8
8
  key: 0,
@@ -1,9 +1,9 @@
1
- import { w as g } from "./chunks/index.bCzIhWFw.js";
2
- import { useAttrs as w, ref as u, computed as y, watch as k, createBlock as P, openBlock as C, unref as n, withCtx as T, createElementVNode as o, normalizeStyle as z, toDisplayString as p, createVNode as m, mergeProps as D } from "vue";
1
+ import { w as V } from "./chunks/index.bCzIhWFw.js";
2
+ import { useAttrs as g, ref as u, computed as k, watch as y, createBlock as P, openBlock as C, unref as n, withCtx as T, createElementVNode as o, normalizeStyle as z, toDisplayString as p, createVNode as m, mergeProps as D } from "vue";
3
3
  import { ElAutoResizer as L } from "element-plus";
4
4
  import { T as f } from "./chunks/layout.DQ1xjWEm.js";
5
5
  import { _ as R } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
6
- import './assets/TreeShowSelect.css';const j = { class: "left-box w-50-percent flex flex-col" }, A = { class: "head-box fz-14 pd-t-8 pd-b-8 pd-l-12 pd-r-12 mg-b-8 text-202434" }, B = { class: "pd-r-12 pd-l-12 flex-1" }, E = { class: "right-box w-50-percent flex flex-col" }, H = { class: "head-box fz-14 pd-t-8 pd-b-8 pd-l-12 pd-r-12 mg-b-8 text-202434" }, I = { class: "pd-r-12 pd-l-12 flex-1 selected-list overflow-y-auto pd-t-8" }, O = /* @__PURE__ */ Object.assign({
6
+ import './assets/TreeShowSelect.css';const j = { class: "left-box w-50-percent flex flex-col overflow-hidden" }, A = { class: "head-box fz-14 pd-t-8 pd-b-8 pd-l-12 pd-r-12 mg-b-8 text-202434" }, B = { class: "pd-r-12 pd-l-12 flex-1 overflow-hidden" }, E = { class: "right-box w-50-percent flex flex-col overflow-hidden" }, H = { class: "head-box fz-14 pd-t-8 pd-b-8 pd-l-12 pd-r-12 mg-b-8 text-202434" }, I = { class: "pd-r-12 pd-l-12 flex-1 selected-list overflow-hidden pd-t-8" }, O = /* @__PURE__ */ Object.assign({
7
7
  name: "TreeShowSelect"
8
8
  }, {
9
9
  __name: "layout",
@@ -15,8 +15,8 @@ import './assets/TreeShowSelect.css';const j = { class: "left-box w-50-percent f
15
15
  }
16
16
  },
17
17
  emits: ["getCheckedNode"],
18
- setup(h, { emit: _ }) {
19
- const v = h, x = _, s = w(), d = u(), b = y(() => s.treeProps ? s.treeProps : { value: "id", label: "label", children: "children" }), i = (e) => String(e).includes("%") ? e : e + "px", t = u([]), N = (e) => {
18
+ setup(h, { emit: v }) {
19
+ const _ = h, x = v, s = g(), d = u(), b = k(() => s.treeProps ? s.treeProps : { value: "id", label: "label", children: "children" }), i = (e) => String(e).includes("%") ? e : e + "px", t = u([]), w = (e) => {
20
20
  const { selectedNode: l, selectedValue: r, selectedParentNodes: a } = e;
21
21
  t.value = l, x("getCheckedNode", {
22
22
  selectedValue: r,
@@ -25,21 +25,21 @@ import './assets/TreeShowSelect.css';const j = { class: "left-box w-50-percent f
25
25
  // // 选中节点的集合
26
26
  selectedParentNodes: a
27
27
  });
28
- }, S = (e) => {
28
+ }, N = (e) => {
29
29
  d.value?.setNodeCheckStatus(e[b.value.value], !1);
30
- }, V = (e) => {
30
+ }, S = (e) => {
31
31
  t.value = e || [];
32
32
  };
33
- return k(
34
- () => v.modelValue,
33
+ return y(
34
+ () => _.modelValue,
35
35
  (e) => {
36
- V(e);
36
+ S(e);
37
37
  },
38
38
  { immediate: !0, deep: !0 }
39
39
  ), (e, l) => (C(), P(n(L), null, {
40
40
  default: T(({ width: r, height: a }) => [
41
41
  o("div", {
42
- class: "out-box flex radius-8 text-202434",
42
+ class: "out-box flex radius-8 text-202434 overflow-hidden",
43
43
  style: z({
44
44
  width: i(r),
45
45
  height: i(a)
@@ -53,7 +53,7 @@ import './assets/TreeShowSelect.css';const j = { class: "left-box w-50-percent f
53
53
  "onUpdate:modelValue": l[0] || (l[0] = (c) => t.value = c),
54
54
  ref_key: "treeRef",
55
55
  ref: d
56
- }, n(s), { onHandleCheck: N }), null, 16, ["modelValue"])
56
+ }, n(s), { onHandleCheck: w }), null, 16, ["modelValue"])
57
57
  ])
58
58
  ]),
59
59
  o("div", E, [
@@ -66,7 +66,7 @@ import './assets/TreeShowSelect.css';const j = { class: "left-box w-50-percent f
66
66
  treeProps: n(s).treeProps,
67
67
  treeList: t.value,
68
68
  isListMode: !0,
69
- onHandleDeleteNode: S
69
+ onHandleDeleteNode: N
70
70
  }, null, 8, ["modelValue", "treeProps", "treeList"])
71
71
  ])
72
72
  ])
@@ -75,7 +75,7 @@ import './assets/TreeShowSelect.css';const j = { class: "left-box w-50-percent f
75
75
  _: 1
76
76
  }));
77
77
  }
78
- }), U = /* @__PURE__ */ R(O, [["__scopeId", "data-v-c9c32c81"]]), J = g(U);
78
+ }), U = /* @__PURE__ */ R(O, [["__scopeId", "data-v-95352dab"]]), J = V(U);
79
79
  export {
80
80
  J as TreeShowSelect,
81
81
  J as default
@@ -1 +1 @@
1
- .w-50-percent[data-v-c9c32c81]{width:50%}.out-box[data-v-c9c32c81]{border:1px solid var(--parting-line)}.out-box .head-box[data-v-c9c32c81]{border-bottom:1px solid var(--parting-line)}.out-box .left-box[data-v-c9c32c81]{border-right:1px solid var(--parting-line)}.out-box .selected-list .selected-item[data-v-c9c32c81]{height:32px}.out-box .selected-list .selected-item[data-v-c9c32c81]:hover{background:var(--primary-color-5)}.out-box .selected-list .virtual-scroller[data-v-c9c32c81]{height:100%}.tree-select-list[data-v-c9c32c81] .el-tree-node__content{margin-bottom:8px;padding:4px 0;height:32px;border-radius:8px}
1
+ .w-50-percent[data-v-95352dab]{width:50%}.out-box[data-v-95352dab]{border:1px solid var(--parting-line)}.out-box .head-box[data-v-95352dab]{border-bottom:1px solid var(--parting-line)}.out-box .left-box[data-v-95352dab]{border-right:1px solid var(--parting-line)}.out-box .selected-list .selected-item[data-v-95352dab]{height:32px}.out-box .selected-list .selected-item[data-v-95352dab]:hover{background:var(--primary-color-5)}.out-box .selected-list .virtual-scroller[data-v-95352dab]{height:100%}.tree-select-list[data-v-95352dab] .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.1glMEkh7.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
+ };
@@ -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.Bum9j34S.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
+ };
@@ -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.BZukPf_s.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
+ };
@@ -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.ChiJSpBx.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
+ };