ling-yun-custom-components 0.0.55 → 0.0.57

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/AppIntro.mjs CHANGED
@@ -5,7 +5,7 @@ import { IconLook as J } from "color-message-lingyun-vue";
5
5
  import { C as H } from "./chunks/layout.DXw3haOP.js";
6
6
  import { C as K } from "./chunks/layout.BKJPyxR8.js";
7
7
  import { _ as V } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
8
- import { pageParams as Q, emitsMap as b } from "ling-yun-methods";
8
+ import { pageParams as Q, emitsMap as D } from "ling-yun-methods";
9
9
  import './assets/AppIntro.css';const t = {
10
10
  LISTING: 1,
11
11
  // 上架申请
@@ -15,7 +15,7 @@ import './assets/AppIntro.css';const t = {
15
15
  // 上线应用
16
16
  OFFLINE: 4
17
17
  // 下线应用
18
- }, k = {
18
+ }, b = {
19
19
  PENDING: 0,
20
20
  // 待审核
21
21
  APPROVED: 1,
@@ -37,16 +37,16 @@ import './assets/AppIntro.css';const t = {
37
37
  [t.DELISTING]: "下架申请",
38
38
  [t.ONLINE]: "上线应用",
39
39
  [t.OFFLINE]: "下线应用"
40
- }, D = {
41
- [k.PENDING]: {
40
+ }, k = {
41
+ [b.PENDING]: {
42
42
  type: "warning",
43
43
  text: "待审核"
44
44
  },
45
- [k.APPROVED]: {
45
+ [b.APPROVED]: {
46
46
  type: "primary",
47
47
  text: "已通过"
48
48
  },
49
- [k.REJECTED]: {
49
+ [b.REJECTED]: {
50
50
  type: "danger",
51
51
  text: "已驳回"
52
52
  }
@@ -259,7 +259,7 @@ import './assets/AppIntro.css';const t = {
259
259
  }, 8, ["modelValue"])
260
260
  ]));
261
261
  }
262
- }, pe = /* @__PURE__ */ V(ce, [["__scopeId", "data-v-f5af90d9"]]), me = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, fe = {
262
+ }, pe = /* @__PURE__ */ V(ce, [["__scopeId", "data-v-7bb24f99"]]), me = { class: "flex items-center flex-gap-row-nowrap-8 mg-b-12" }, fe = {
263
263
  class: "fz-14 weight-500",
264
264
  style: { color: "#1d2129" }
265
265
  }, ye = {
@@ -329,12 +329,12 @@ import './assets/AppIntro.css';const t = {
329
329
  d("div", me, [
330
330
  d("span", fe, h(o(W)[s.operationType] || "--"), 1),
331
331
  I(s.operationType) ? (l(), i(v, { key: 0 }, [
332
- o(D)[s.auditStatus] ? (l(), N(o(z), {
332
+ o(k)[s.auditStatus] ? (l(), N(o(z), {
333
333
  key: 0,
334
- type: o(D)[s.auditStatus].type
334
+ type: o(k)[s.auditStatus].type
335
335
  }, {
336
336
  default: p(() => [
337
- L(h(o(D)[s.auditStatus].text), 1)
337
+ L(h(o(k)[s.auditStatus].text), 1)
338
338
  ]),
339
339
  _: 2
340
340
  }, 1032, ["type"])) : f("", !0)
@@ -403,13 +403,13 @@ import './assets/AppIntro.css';const t = {
403
403
  }
404
404
  }
405
405
  },
406
- emits: [b.tabChange],
406
+ emits: [D.tabChange],
407
407
  setup(a, { emit: u }) {
408
408
  const y = u, I = g(w.INTRO), E = R(() => [
409
409
  { label: "应用介绍", value: w.INTRO },
410
410
  { label: "迭代时间轴", value: w.TIMELINE }
411
411
  ]), T = (r) => {
412
- y(b.tabChange, r);
412
+ y(D.tabChange, r);
413
413
  };
414
414
  return (r, e) => (l(), i("div", ve, [
415
415
  d("div", Te, [
@@ -9,7 +9,7 @@ const a = {
9
9
  try {
10
10
  switch (e) {
11
11
  case a.lingyun:
12
- const { icons: o } = await import("./chunks/global.C1Iy_saH.js");
12
+ const { icons: o } = await import("./chunks/global.E_yR-3k3.js");
13
13
  return o[n] || null;
14
14
  case a.aibox:
15
15
  const { icons: t } = await import("./chunks/global.C0RGZP_4.js");
package/es/IconSelect.mjs CHANGED
@@ -2,7 +2,7 @@ import { w as N } from "./chunks/index.bCzIhWFw.js";
2
2
  import { ref as p, computed as v, watch as E, createBlock as c, openBlock as o, unref as n, withCtx as i, createElementVNode as x, createVNode as r, createElementBlock as u, createCommentVNode as L, Fragment as b, renderList as j, normalizeClass as h, resolveDynamicComponent as V, createTextVNode as B } from "vue";
3
3
  import { ElPopover as M, ElInput as O, ElIcon as y } from "element-plus";
4
4
  import { IconSearch as T, IconAdd as U } from "color-message-lingyun-vue";
5
- import { icons as g } from "./chunks/global.C1Iy_saH.js";
5
+ import { icons as g } from "./chunks/global.E_yR-3k3.js";
6
6
  import { I as A } from "./chunks/layout.DBgjqaxe.js";
7
7
  import { emitsMap as k } from "ling-yun-methods";
8
8
  import { _ as D } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
@@ -1,27 +1,28 @@
1
1
  import { w as Be } from "./chunks/index.bCzIhWFw.js";
2
- import { useSlots as Ee, computed as m, ref as h, watch as oe, onMounted as Re, nextTick as ze, createElementBlock as E, openBlock as y, createElementVNode as S, createCommentVNode as R, unref as v, renderSlot as I, Fragment as Ne, createBlock as re, withCtx as j, createTextVNode as de, toDisplayString as Pe, createVNode as U, createSlots as Ae, renderList as We, normalizeProps as _e, guardReactiveProps as De, h as H } from "vue";
2
+ import { useSlots as Ee, computed as m, ref as h, watch as oe, onMounted as Re, nextTick as ze, createElementBlock as E, openBlock as y, createElementVNode as S, createCommentVNode as R, unref as v, renderSlot as I, Fragment as Ne, createBlock as re, withCtx as j, createTextVNode as de, toDisplayString as Pe, createVNode as U, createSlots as Ae, renderList as We, normalizeProps as De, guardReactiveProps as _e, h as H } from "vue";
3
3
  import { ElButton as ce, ElAutoResizer as Ie, ElTableV2 as je, ElCheckbox as Oe } from "element-plus";
4
4
  import { emitsMap as fe, paginationConfig as qe } from "ling-yun-methods";
5
5
  import { calculateScale as Ke } from "color-star-custom-methods";
6
6
  import { _ as Fe } from "./chunks/layout.BzQrppiO.js";
7
- import { _ as Ve } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
8
- import './assets/PaginationTable.css';const $e = { class: "flex h-full flex-col" }, Le = {
7
+ import { cloneDeep as Ve } from "lodash";
8
+ import { _ as $e } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
9
+ import './assets/PaginationTable.css';const Le = { class: "flex h-full flex-col" }, Me = {
9
10
  class: "w-full flex justify-between overflow-hidden",
10
11
  style: { height: "auto" }
11
- }, Me = {
12
+ }, Ue = {
12
13
  key: 0,
13
14
  class: "flex-1 overflow-hidden"
14
- }, Ue = {
15
+ }, He = {
15
16
  class: "flex",
16
17
  style: { width: "auto", gap: "10px" }
17
- }, He = {
18
+ }, Ge = {
18
19
  key: 1,
19
20
  class: "flex items-center mg-b-18"
20
- }, Ge = { class: "fz-12 text-74798c" }, Je = { class: "btn-group mg-l-12" }, Qe = { class: "w-full flex-1 overflow-hidden flex flex-col" }, Xe = { class: "flex-1 overflow-hidden TABLE-AREA" }, Ye = {
21
+ }, Je = { class: "fz-12 text-74798c" }, Qe = { class: "btn-group mg-l-12" }, Xe = { class: "w-full flex-1 overflow-hidden flex flex-col" }, Ye = { class: "flex-1 overflow-hidden TABLE-AREA" }, Ze = {
21
22
  key: 0,
22
23
  class: "flex justify-end mg-t-20",
23
24
  style: { height: "auto" }
24
- }, Ze = /* @__PURE__ */ Object.assign({
25
+ }, et = /* @__PURE__ */ Object.assign({
25
26
  name: "PaginationTable"
26
27
  }, {
27
28
  __name: "layout",
@@ -281,7 +282,7 @@ import './assets/PaginationTable.css';const $e = { class: "flex h-full flex-col"
281
282
  }, se = (e) => {
282
283
  e === "size" && (r.value[f.value] = 1), B(), x(fe.paginationChange, r.value);
283
284
  }, P = h(0), A = () => {
284
- let e = P.value, t = [...u.columns];
285
+ let e = P.value, t = Ve(u.columns);
285
286
  const l = 1 / Ke(), a = t.filter((n) => n.fixedWidth), s = t.filter((n) => !n.fixedWidth);
286
287
  let o = 0;
287
288
  a.forEach((n) => {
@@ -293,17 +294,17 @@ import './assets/PaginationTable.css';const $e = { class: "flex h-full flex-col"
293
294
  });
294
295
  const ue = [];
295
296
  if (t.forEach((n, W) => {
296
- let _;
297
+ let D;
297
298
  if (n.fixedWidth)
298
- _ = n.width || 100;
299
+ D = n.width || 100;
299
300
  else if (n.width && L > 0) {
300
- const D = n.width / L, M = c * D;
301
- _ = Math.max(M, n.width);
301
+ const _ = n.width / L, M = c * _;
302
+ D = Math.max(M, n.width);
302
303
  } else {
303
- const D = s.filter((M) => !M.width);
304
- _ = D.length > 0 ? c / D.length : c / s.length;
304
+ const _ = s.filter((M) => !M.width);
305
+ D = _.length > 0 ? c / _.length : c / s.length;
305
306
  }
306
- ue.push(_);
307
+ ue.push(D);
307
308
  }), t = t.map((n, W) => (n.width = ue[W] * l, w.value && Object.keys(w.value).length && w.value[n.key] && (n.sortable = !0), n)), T.value) {
308
309
  const n = g.value.find((W) => W.key === "selection");
309
310
  n && (g.value = [n, ...t]);
@@ -335,21 +336,21 @@ import './assets/PaginationTable.css';const $e = { class: "flex h-full flex-col"
335
336
  initBatchSelect: we,
336
337
  handleCancelSelect: V,
337
338
  handleResize: ie
338
- }), (e, t) => (y(), E("div", $e, [
339
- S("div", Le, [
340
- v(O)["filter-left"] ? (y(), E("div", Me, [
339
+ }), (e, t) => (y(), E("div", Le, [
340
+ S("div", Me, [
341
+ v(O)["filter-left"] ? (y(), E("div", Ue, [
341
342
  I(e.$slots, "filter-left", {}, void 0, !0)
342
343
  ])) : R("", !0),
343
- S("div", Ue, [
344
+ S("div", He, [
344
345
  p.hasBatchSelect && d.value.length ? (y(), E(Ne, { key: 0 }, [
345
- T.value ? (y(), E("div", He, [
346
- S("div", Ge, "已选" + Pe(i.value.length) + "条数据", 1),
346
+ T.value ? (y(), E("div", Ge, [
347
+ S("div", Je, "已选" + Pe(i.value.length) + "条数据", 1),
347
348
  S("div", {
348
349
  class: "fz-12 text-3b64ff mg-l-4 pointer",
349
350
  onClick: V
350
351
  }, "取消选择"),
351
352
  I(e.$slots, "btn-group", {}, () => [
352
- S("div", Je, [
353
+ S("div", Qe, [
353
354
  U(v(ce), {
354
355
  type: "danger",
355
356
  onClick: xe,
@@ -376,8 +377,8 @@ import './assets/PaginationTable.css';const $e = { class: "flex h-full flex-col"
376
377
  v(O)["filter-right"] ? I(e.$slots, "filter-right", { key: 1 }, void 0, !0) : R("", !0)
377
378
  ])
378
379
  ]),
379
- S("div", Qe, [
380
- S("div", Xe, [
380
+ S("div", Xe, [
381
+ S("div", Ye, [
381
382
  U(v(Ie), null, {
382
383
  default: j(({ width: l, height: a }) => [
383
384
  U(v(je), {
@@ -395,7 +396,7 @@ import './assets/PaginationTable.css';const $e = { class: "flex h-full flex-col"
395
396
  We(v(O), (s, o) => ({
396
397
  name: o,
397
398
  fn: j((c) => [
398
- I(e.$slots, o, _e(De(c)), void 0, !0)
399
+ I(e.$slots, o, De(_e(c)), void 0, !0)
399
400
  ])
400
401
  }))
401
402
  ]), 1032, ["expanded-row-keys", "expand-column-key", "columns", "data", "width", "height", "sort-state"])
@@ -403,7 +404,7 @@ import './assets/PaginationTable.css';const $e = { class: "flex h-full flex-col"
403
404
  _: 3
404
405
  })
405
406
  ]),
406
- p.isPagination && G.value > r.value[N.value] ? (y(), E("div", Ye, [
407
+ p.isPagination && G.value > r.value[N.value] ? (y(), E("div", Ze, [
407
408
  p.isPagination ? (y(), re(Fe, {
408
409
  key: 0,
409
410
  "current-page": r.value[f.value],
@@ -420,8 +421,8 @@ import './assets/PaginationTable.css';const $e = { class: "flex h-full flex-col"
420
421
  ])
421
422
  ]));
422
423
  }
423
- }), et = /* @__PURE__ */ Ve(Ze, [["__scopeId", "data-v-adcd3040"]]), ot = Be(et);
424
+ }), tt = /* @__PURE__ */ $e(et, [["__scopeId", "data-v-365abca5"]]), dt = Be(tt);
424
425
  export {
425
- ot as PaginationTable,
426
- ot as default
426
+ dt as PaginationTable,
427
+ dt as default
427
428
  };
package/es/SearchBar.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { w as a } from "./chunks/index.bCzIhWFw.js";
2
- import { S as r } from "./chunks/layout.BgLic7kd.js";
2
+ import { S as r } from "./chunks/layout.ChN1xJHg.js";
3
3
  const s = a(r);
4
4
  export {
5
5
  s as SearchBar,
@@ -1,7 +1,7 @@
1
1
  import { w as h } from "./chunks/index.bCzIhWFw.js";
2
2
  import { ref as P, computed as v, createBlock as x, openBlock as C, withCtx as I, createVNode as D, unref as f, isRef as b } from "vue";
3
3
  import { C as E } from "./chunks/layout.DXw3haOP.js";
4
- import { S as k } from "./chunks/layout.BgLic7kd.js";
4
+ import { S as k } from "./chunks/layout.ChN1xJHg.js";
5
5
  import { componentType as w, emitsMap as u, codeMap as y, messageSuccess as A, AESCrypto as M } from "ling-yun-methods";
6
6
  import { _ as S } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
7
  import './assets/UpdatePasswordDialog.css';const U = () => {
@@ -1 +1 @@
1
- .hover-overlay[data-v-f5af90d9]{background:#00000080}[data-v-3a2170d7] .el-timeline-item__timestamp{color:#86909c}[data-v-3a2170d7] .el-card{background:var(--neutral-color-18)}
1
+ .hover-overlay[data-v-7bb24f99]{background:#00000080}[data-v-3a2170d7] .el-timeline-item__timestamp{color:#86909c}[data-v-3a2170d7] .el-card{background:var(--neutral-color-18)}
@@ -1 +1 @@
1
- [data-v-adcd3040] .el-table-v2__header-cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
1
+ [data-v-365abca5] .el-table-v2__header-cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@@ -1 +1 @@
1
- .filter-form[data-v-b5708f35]{grid-template-columns:repeat(2,1fr);gap:10px}.filter-preview-form[data-v-b5708f35]{display:flex}.filter-preview-form .el-form-item[data-v-b5708f35]{width:var(--v65f9c9b2);margin-right:10px}.search-bar-form[data-v-b5708f35]{grid-template-columns:repeat(auto-fit,minmax(var(--v65f9c9b2),1fr));gap:10px}.search-bar-form.el-form--inline .el-form-item[data-v-b5708f35]{margin-right:0;margin-bottom:10px}.search-bar-form.el-form--inline .el-form-item.el-form-item--label-left[data-v-b5708f35]{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-b5708f35] .el-form-item__content{justify-content:end}.search-bar-form.el-form--inline.el-form--label-top[data-v-b5708f35]{display:grid}.search-bar-item--wide[data-v-b5708f35]{grid-column:span 2}.is-collapsed[data-v-663b89dc]{max-height:var(--v6f32bb87)}.operation-buttons[data-v-663b89dc]{width:var(--v8603bafe);z-index:1}.h-32[data-v-663b89dc]{height:32px}.drawer-header[data-v-663b89dc]{display:flex;justify-content:space-between;align-items:center;width:100%}.drawer-header .shrink-button[data-v-663b89dc]{margin-left:auto}.border-top[data-v-663b89dc]{border-top:1px solid var(--parting-line)}[data-v-663b89dc] .el-drawer__body{padding:16px 0;display:flex;flex-direction:column;overflow:hidden}.filter-form-popover[data-v-663b89dc]{max-height:400px}[data-v-663b89dc] .el-drawer__header{margin-bottom:0;padding:16px 16px 0}
1
+ .filter-form[data-v-125bfab7]{grid-template-columns:repeat(2,1fr);gap:10px}.filter-preview-form[data-v-125bfab7]{display:flex}.filter-preview-form .el-form-item[data-v-125bfab7]{width:var(--v4b15a536);margin-right:10px}.search-bar-form[data-v-125bfab7]{grid-template-columns:repeat(auto-fit,minmax(var(--v4b15a536),1fr));gap:10px}.search-bar-form.el-form--inline .el-form-item[data-v-125bfab7]{margin-right:0;margin-bottom:10px}.search-bar-form.el-form--inline .el-form-item.el-form-item--label-left[data-v-125bfab7]{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-125bfab7] .el-form-item__content{justify-content:end}.search-bar-form.el-form--inline.el-form--label-top[data-v-125bfab7]{display:grid}.search-bar-item--wide[data-v-125bfab7]{grid-column:span 2}.is-collapsed[data-v-663b89dc]{max-height:var(--v6f32bb87)}.operation-buttons[data-v-663b89dc]{width:var(--v8603bafe);z-index:1}.h-32[data-v-663b89dc]{height:32px}.drawer-header[data-v-663b89dc]{display:flex;justify-content:space-between;align-items:center;width:100%}.drawer-header .shrink-button[data-v-663b89dc]{margin-left:auto}.border-top[data-v-663b89dc]{border-top:1px solid var(--parting-line)}[data-v-663b89dc] .el-drawer__body{padding:16px 0;display:flex;flex-direction:column;overflow:hidden}.filter-form-popover[data-v-663b89dc]{max-height:400px}[data-v-663b89dc] .el-drawer__header{margin-bottom:0;padding:16px 16px 0}