@bsgoal/common 1.5.9 → 1.5.11
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/dist/index.mjs +22 -21
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/bsgoal-base-dialog/index.vue +10 -4
- package/src/components/bsgoal-base-link/demo.vue +44 -0
- package/src/components/bsgoal-base-link/index.vue +74 -0
- package/src/router/index.js +6 -1
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ var Ae = (e, s, l) => s in e ? $e(e, s, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
we.call(s, l) && Ae(e, l, s[l]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { computed as q, resolveComponent as h, openBlock as n, createElementBlock as A, createVNode as $, unref as u, withCtx as V, renderSlot as ae, createTextVNode as X, toDisplayString as H, ref as O, watchEffect as pe, createElementVNode as S, withDirectives as Q, createBlock as T, Fragment as z, renderList as W, createCommentVNode as M, nextTick as Ce, inject as Me, watch as ce, resolveDirective as De, normalizeClass as
|
|
12
|
+
import { computed as q, resolveComponent as h, openBlock as n, createElementBlock as A, createVNode as $, unref as u, withCtx as V, renderSlot as ae, createTextVNode as X, toDisplayString as H, ref as O, watchEffect as pe, createElementVNode as S, withDirectives as Q, createBlock as T, Fragment as z, renderList as W, createCommentVNode as M, nextTick as Ce, inject as Me, watch as ce, resolveDirective as De, normalizeClass as re, vShow as le, isProxy as Be, toRaw as Oe, provide as Se, useSlots as ke, createSlots as Ie } from "vue";
|
|
13
13
|
import { ElMessage as Fe } from "element-plus";
|
|
14
14
|
const t = {
|
|
15
15
|
INPUT: "text",
|
|
@@ -341,9 +341,9 @@ const ze = { class: "bsgoal-base-form" }, je = { class: "base_form" }, Pe = { ke
|
|
|
341
341
|
type: o = "text",
|
|
342
342
|
placeholder: _ = "",
|
|
343
343
|
readonly: Y = e.readonlys,
|
|
344
|
-
clearable:
|
|
345
|
-
rows:
|
|
346
|
-
min:
|
|
344
|
+
clearable: ie = !0,
|
|
345
|
+
rows: de = 2,
|
|
346
|
+
min: _e = 1,
|
|
347
347
|
max: ue = 10,
|
|
348
348
|
range: J = [],
|
|
349
349
|
format: G = "",
|
|
@@ -374,7 +374,7 @@ const ze = { class: "bsgoal-base-form" }, je = { class: "base_form" }, Pe = { ke
|
|
|
374
374
|
modelValue: c.value[v],
|
|
375
375
|
"onUpdate:modelValue": (m) => c.value[v] = m,
|
|
376
376
|
placeholder: p(o, P, _),
|
|
377
|
-
clearable:
|
|
377
|
+
clearable: ie,
|
|
378
378
|
onChange: (m) => D(o, v)
|
|
379
379
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : M("", !0),
|
|
380
380
|
o === u(t).INPUT_TEXT_AREA ? (n(), T(C, {
|
|
@@ -382,8 +382,8 @@ const ze = { class: "bsgoal-base-form" }, je = { class: "base_form" }, Pe = { ke
|
|
|
382
382
|
modelValue: c.value[v],
|
|
383
383
|
"onUpdate:modelValue": (m) => c.value[v] = m,
|
|
384
384
|
type: "textarea",
|
|
385
|
-
rows:
|
|
386
|
-
clearable:
|
|
385
|
+
rows: de,
|
|
386
|
+
clearable: ie,
|
|
387
387
|
placeholder: p(o, P, _),
|
|
388
388
|
onChange: (m) => D(o, v)
|
|
389
389
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : M("", !0),
|
|
@@ -391,7 +391,7 @@ const ze = { class: "bsgoal-base-form" }, je = { class: "base_form" }, Pe = { ke
|
|
|
391
391
|
key: 2,
|
|
392
392
|
modelValue: E.num,
|
|
393
393
|
"onUpdate:modelValue": b[0] || (b[0] = (m) => E.num = m),
|
|
394
|
-
min:
|
|
394
|
+
min: _e,
|
|
395
395
|
max: ue,
|
|
396
396
|
onChange: D
|
|
397
397
|
}, null, 8, ["modelValue", "min", "max"])) : M("", !0),
|
|
@@ -434,7 +434,7 @@ const ze = { class: "bsgoal-base-form" }, je = { class: "base_form" }, Pe = { ke
|
|
|
434
434
|
key: 5,
|
|
435
435
|
modelValue: c.value[v],
|
|
436
436
|
"onUpdate:modelValue": (m) => c.value[v] = m,
|
|
437
|
-
min:
|
|
437
|
+
min: _e,
|
|
438
438
|
max: ue,
|
|
439
439
|
onChange: (m) => D(o, v)
|
|
440
440
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : M("", !0),
|
|
@@ -1027,10 +1027,10 @@ const vt = {
|
|
|
1027
1027
|
},
|
|
1028
1028
|
setup(e) {
|
|
1029
1029
|
return (s, l) => (n(), A("div", {
|
|
1030
|
-
class:
|
|
1030
|
+
class: re(["bsgoal-base-line", { "bsgoal-base-line__vertical": e.vertical }])
|
|
1031
1031
|
}, [
|
|
1032
1032
|
S("div", {
|
|
1033
|
-
class:
|
|
1033
|
+
class: re(["base_line", { base_line__vertical: e.vertical }])
|
|
1034
1034
|
}, null, 2)
|
|
1035
1035
|
], 2));
|
|
1036
1036
|
}
|
|
@@ -1436,9 +1436,9 @@ const oa = { class: "bsgoal-base-search" }, ua = { class: "base_search" }, sa =
|
|
|
1436
1436
|
prop: o = "",
|
|
1437
1437
|
type: _ = "text",
|
|
1438
1438
|
placeholder: Y = "",
|
|
1439
|
-
readonly:
|
|
1440
|
-
clearable:
|
|
1441
|
-
rows:
|
|
1439
|
+
readonly: ie = !1,
|
|
1440
|
+
clearable: de = !0,
|
|
1441
|
+
rows: _e = 2,
|
|
1442
1442
|
min: ue = 1,
|
|
1443
1443
|
max: J = 10,
|
|
1444
1444
|
range: G = [],
|
|
@@ -1455,13 +1455,13 @@ const oa = { class: "bsgoal-base-search" }, ua = { class: "base_search" }, sa =
|
|
|
1455
1455
|
prop: o
|
|
1456
1456
|
}, {
|
|
1457
1457
|
default: V(() => [
|
|
1458
|
-
|
|
1458
|
+
ie ? (n(), A("div", sa, H(a.value[o]), 1)) : (n(), A(z, { key: 0 }, [
|
|
1459
1459
|
_ === u(t).INPUT ? (n(), T(f, {
|
|
1460
1460
|
key: 0,
|
|
1461
1461
|
modelValue: a.value[o],
|
|
1462
1462
|
"onUpdate:modelValue": (g) => a.value[o] = g,
|
|
1463
1463
|
placeholder: d(_, v, Y),
|
|
1464
|
-
clearable:
|
|
1464
|
+
clearable: de,
|
|
1465
1465
|
onChange: (g) => E(_, o)
|
|
1466
1466
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : M("", !0),
|
|
1467
1467
|
_ === u(t).INPUT_TEXT_AREA ? (n(), T(f, {
|
|
@@ -1469,8 +1469,8 @@ const oa = { class: "bsgoal-base-search" }, ua = { class: "base_search" }, sa =
|
|
|
1469
1469
|
modelValue: a.value[o],
|
|
1470
1470
|
"onUpdate:modelValue": (g) => a.value[o] = g,
|
|
1471
1471
|
type: "textarea",
|
|
1472
|
-
rows:
|
|
1473
|
-
clearable:
|
|
1472
|
+
rows: _e,
|
|
1473
|
+
clearable: de,
|
|
1474
1474
|
placeholder: d(_, v, Y),
|
|
1475
1475
|
onChange: (g) => E(_, o)
|
|
1476
1476
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : M("", !0),
|
|
@@ -1774,7 +1774,7 @@ const ga = { class: "bsgoal-base-tree-fold" }, fa = {
|
|
|
1774
1774
|
const c = h("el-icon");
|
|
1775
1775
|
return n(), A("div", ga, [
|
|
1776
1776
|
S("div", {
|
|
1777
|
-
class:
|
|
1777
|
+
class: re(["base_tree_fold", { "base_tree_fold--hide": !u(l) }]),
|
|
1778
1778
|
onClick: r
|
|
1779
1779
|
}, [
|
|
1780
1780
|
$(c, { color: "#fff" }, {
|
|
@@ -2008,6 +2008,7 @@ const Ta = { class: "bsgoal-base-dialog" }, Aa = { class: "base_dialog" }, Va =
|
|
|
2008
2008
|
modelValue: r.value,
|
|
2009
2009
|
"onUpdate:modelValue": p[0] || (p[0] = (w) => r.value = w),
|
|
2010
2010
|
"custom-class": "bsgoal_base_dialog_main",
|
|
2011
|
+
class: re({ "bsgoal-dialog__footer--conceal": !e.footer }),
|
|
2011
2012
|
width: u(c)
|
|
2012
2013
|
}, {
|
|
2013
2014
|
header: V(() => [
|
|
@@ -2036,13 +2037,13 @@ const Ta = { class: "bsgoal-base-dialog" }, Aa = { class: "base_dialog" }, Va =
|
|
|
2036
2037
|
]),
|
|
2037
2038
|
default: V(() => [
|
|
2038
2039
|
S("div", {
|
|
2039
|
-
class:
|
|
2040
|
+
class: re(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
|
|
2040
2041
|
}, [
|
|
2041
2042
|
ae(d.$slots, "default")
|
|
2042
2043
|
], 2)
|
|
2043
2044
|
]),
|
|
2044
2045
|
_: 3
|
|
2045
|
-
}, 8, ["modelValue", "width"])
|
|
2046
|
+
}, 8, ["modelValue", "class", "width"])
|
|
2046
2047
|
])
|
|
2047
2048
|
]);
|
|
2048
2049
|
};
|