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 +12 -12
- package/es/IconRenderer.mjs +1 -1
- package/es/IconSelect.mjs +1 -1
- package/es/PaginationTable.mjs +31 -30
- package/es/SearchBar.mjs +1 -1
- package/es/UpdatePasswordDialog.mjs +1 -1
- package/es/assets/AppIntro.css +1 -1
- package/es/assets/PaginationTable.css +1 -1
- package/es/assets/layout3.css +1 -1
- package/es/chunks/{global.C1Iy_saH.js → global.BN3x8LRV.js} +1348 -729
- package/es/chunks/global.E_yR-3k3.js +9854 -0
- package/es/chunks/layout.ChN1xJHg.js +601 -0
- package/lib/AppIntro.js +1 -1
- package/lib/IconRenderer.js +1 -1
- package/lib/IconSelect.js +1 -1
- package/lib/PaginationTable.js +1 -1
- package/lib/SearchBar.js +1 -1
- package/lib/UpdatePasswordDialog.js +1 -1
- package/lib/assets/AppIntro.css +1 -1
- package/lib/assets/PaginationTable.css +1 -1
- package/lib/assets/layout3.css +1 -1
- package/lib/chunks/global.D0m66zzb.js +1 -0
- package/lib/chunks/global.DH9s3Z8E.js +1 -0
- package/lib/chunks/layout.CTTLDiMA.js +1 -0
- package/package.json +5 -4
- package/lib/chunks/global.XouT1lGG.js +0 -1
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
41
|
-
[
|
|
40
|
+
}, k = {
|
|
41
|
+
[b.PENDING]: {
|
|
42
42
|
type: "warning",
|
|
43
43
|
text: "待审核"
|
|
44
44
|
},
|
|
45
|
-
[
|
|
45
|
+
[b.APPROVED]: {
|
|
46
46
|
type: "primary",
|
|
47
47
|
text: "已通过"
|
|
48
48
|
},
|
|
49
|
-
[
|
|
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-
|
|
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(
|
|
332
|
+
o(k)[s.auditStatus] ? (l(), N(o(z), {
|
|
333
333
|
key: 0,
|
|
334
|
-
type: o(
|
|
334
|
+
type: o(k)[s.auditStatus].type
|
|
335
335
|
}, {
|
|
336
336
|
default: p(() => [
|
|
337
|
-
L(h(o(
|
|
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: [
|
|
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(
|
|
412
|
+
y(D.tabChange, r);
|
|
413
413
|
};
|
|
414
414
|
return (r, e) => (l(), i("div", ve, [
|
|
415
415
|
d("div", Te, [
|
package/es/IconRenderer.mjs
CHANGED
|
@@ -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.
|
|
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.
|
|
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";
|
package/es/PaginationTable.mjs
CHANGED
|
@@ -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
|
|
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 {
|
|
8
|
-
import
|
|
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
|
-
},
|
|
12
|
+
}, Ue = {
|
|
12
13
|
key: 0,
|
|
13
14
|
class: "flex-1 overflow-hidden"
|
|
14
|
-
},
|
|
15
|
+
}, He = {
|
|
15
16
|
class: "flex",
|
|
16
17
|
style: { width: "auto", gap: "10px" }
|
|
17
|
-
},
|
|
18
|
+
}, Ge = {
|
|
18
19
|
key: 1,
|
|
19
20
|
class: "flex items-center mg-b-18"
|
|
20
|
-
},
|
|
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
|
-
},
|
|
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 =
|
|
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
|
-
|
|
299
|
+
D = n.width || 100;
|
|
299
300
|
else if (n.width && L > 0) {
|
|
300
|
-
const
|
|
301
|
-
|
|
301
|
+
const _ = n.width / L, M = c * _;
|
|
302
|
+
D = Math.max(M, n.width);
|
|
302
303
|
} else {
|
|
303
|
-
const
|
|
304
|
-
|
|
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",
|
|
339
|
-
S("div",
|
|
340
|
-
v(O)["filter-left"] ? (y(), E("div",
|
|
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",
|
|
344
|
+
S("div", He, [
|
|
344
345
|
p.hasBatchSelect && d.value.length ? (y(), E(Ne, { key: 0 }, [
|
|
345
|
-
T.value ? (y(), E("div",
|
|
346
|
-
S("div",
|
|
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",
|
|
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",
|
|
380
|
-
S("div",
|
|
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(
|
|
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",
|
|
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
|
-
}),
|
|
424
|
+
}), tt = /* @__PURE__ */ $e(et, [["__scopeId", "data-v-365abca5"]]), dt = Be(tt);
|
|
424
425
|
export {
|
|
425
|
-
|
|
426
|
-
|
|
426
|
+
dt as PaginationTable,
|
|
427
|
+
dt as default
|
|
427
428
|
};
|
package/es/SearchBar.mjs
CHANGED
|
@@ -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.
|
|
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 = () => {
|
package/es/assets/AppIntro.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.hover-overlay[data-v-
|
|
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-
|
|
1
|
+
[data-v-365abca5] .el-table-v2__header-cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
package/es/assets/layout3.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.filter-form[data-v-
|
|
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}
|