@fewangsit/wangsvue-fats 1.0.1-alpha.68 → 1.0.1-alpha.69
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/animation/index.es.js +9 -8
- package/assetinfo/index.d.ts +5 -4
- package/assetinfo/index.es.js +113 -97
- package/backgroundimagecropper/index.es.js +14 -12
- package/button/index.es.js +58 -48
- package/buttonbulkaction/index.es.js +67 -59
- package/buttondownload/index.es.js +18 -18
- package/buttonradio/index.es.js +11 -11
- package/buttonscan/index.es.js +1 -1
- package/buttonsearch/index.es.js +14 -14
- package/buttonselectuser/index.es.js +29 -29
- package/checkbox/index.es.js +5 -5
- package/config/defaultProps.es.js +3 -4
- package/datatable/index.es.js +470 -465
- package/datepicker/index.es.js +17 -17
- package/daypicker/index.es.js +21 -21
- package/dialog/index.es.js +17 -15
- package/dialogbasictransferlog/index.es.js +89 -89
- package/dialogconfirm/index.es.js +33 -33
- package/dialogdamagelog/index.es.js +89 -89
- package/dialogform/index.es.js +16 -16
- package/dialogfulltransferlog/index.es.js +96 -96
- package/dialoglinkedasset/index.es.js +48 -48
- package/dialogprintqr/index.es.js +70 -70
- package/dialogreportdamage/index.es.js +57 -57
- package/dialogreportmissing/index.es.js +94 -86
- package/dialogselecttree/index.es.js +18 -16
- package/dialogselectuser/index.es.js +16 -16
- package/directives/index.d.ts +1 -0
- package/directives/index.es.js +1 -0
- package/directives/safeHtml.d.ts +16 -0
- package/directives/safeHtml.es.js +12 -0
- package/disposalreport/index.es.js +1 -1
- package/disposalreportbulkaction/index.es.js +40 -41
- package/disposalreportdialogselectasset/index.es.js +72 -72
- package/disposalreporttable/index.es.js +108 -108
- package/disposalreporttablefilter/index.es.js +16 -17
- package/dropdown/index.es.js +120 -117
- package/fieldwrapper/index.es.js +7 -7
- package/fileupload/index.es.js +35 -31
- package/hardwaresync/index.es.js +12 -12
- package/headercell/index.es.js +4 -4
- package/icon/index.es.js +26 -25
- package/imagecompressor/index.es.js +143 -143
- package/imageinputinfo/index.es.js +13 -13
- package/inlinemessage/index.es.js +12 -12
- package/inputbadge/index.es.js +42 -43
- package/inputnumber/index.es.js +7 -7
- package/inputpassword/index.es.js +9 -9
- package/inputrangenumber/index.es.js +16 -16
- package/inputsearch/index.es.js +18 -18
- package/inputtext/index.es.js +33 -33
- package/litedropdown/index.es.js +48 -40
- package/menuitem/index.es.js +27 -26
- package/multirow/index.es.js +16 -16
- package/multiselect/index.es.js +86 -83
- package/package.json +1 -1
- package/plugins/basei18n.d.ts +2 -2
- package/plugins/basei18n.es.js +48 -42
- package/stats.html +1 -1
- package/style.css +1 -1
- package/tabmenu/index.es.js +14 -9
- package/tagtype/index.es.js +33 -30
- package/textarea/index.es.js +3 -3
- package/toggledarkmode/store/index.d.ts +7 -0
- package/toggleswitch/index.es.js +3 -3
- package/treesearchinput/index.es.js +11 -11
- package/username/index.es.js +39 -39
- package/utils/baseToast.util.es.js +23 -22
- package/utils/index.es.js +1 -2
- package/utils/textFormatter.util.d.ts +32 -0
- package/utils/textFormatter.util.es.js +38 -10
- package/validatormessage/index.es.js +1 -1
- package/vendor/dompurify/dist/purify.es.es.js +553 -0
- package/wangsvue-fats.d.ts +2 -1
- package/wangsvue-fats.es.js +190 -186
- package/wangsvue-fats.esm.browser.js +17750 -17086
- package/wangsvue-fats.system.js +73 -72
package/headercell/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, createElementBlock as t, openBlock as o, normalizeClass as
|
|
1
|
+
import { defineComponent as n, createElementBlock as t, openBlock as o, normalizeClass as p, createElementVNode as r, normalizeProps as c, guardReactiveProps as i, createBlock as s, createCommentVNode as a, createTextVNode as d, toDisplayString as f } from "vue";
|
|
2
2
|
import { _ as l } from "../icon/index.es.js";
|
|
3
3
|
const m = ["colspan", "rowspan"], u = { class: "flex" }, k = /* @__PURE__ */ n({
|
|
4
4
|
__name: "HeaderCell",
|
|
@@ -11,13 +11,13 @@ const m = ["colspan", "rowspan"], u = { class: "flex" }, k = /* @__PURE__ */ n({
|
|
|
11
11
|
},
|
|
12
12
|
setup(y) {
|
|
13
13
|
return (e, h) => (o(), t("th", {
|
|
14
|
-
class:
|
|
14
|
+
class: p([e.col.headerClass, e.col.class]),
|
|
15
15
|
colspan: e.col.colspan,
|
|
16
16
|
rowspan: e.col.rowspan ?? e.defaultHeaderRowSpan
|
|
17
17
|
}, [
|
|
18
|
-
r("span",
|
|
18
|
+
r("span", c(i(e.preset.headercellcontent)), [
|
|
19
19
|
r("span", u, [
|
|
20
|
-
d(f(e.col.header) + " ", 1),
|
|
20
|
+
d(f(e.$t(e.col.header)) + " ", 1),
|
|
21
21
|
e.col.info ? (o(), s(l, {
|
|
22
22
|
key: 0,
|
|
23
23
|
info: e.col.info,
|
package/icon/index.es.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as m, computed as c, resolveDirective as f, createElementBlock as t, openBlock as r, Fragment as k, withDirectives as a, createCommentVNode as n, mergeProps as l } from "vue";
|
|
2
|
+
import { u as g } from "../plugins/basei18n.es.js";
|
|
3
|
+
const P = /* @__PURE__ */ m({
|
|
3
4
|
__name: "Icon",
|
|
4
5
|
props: {
|
|
5
6
|
icon: {},
|
|
@@ -8,9 +9,9 @@ const g = /* @__PURE__ */ c({
|
|
|
8
9
|
tooltipPos: { default: "bottom" },
|
|
9
10
|
class: { default: void 0 }
|
|
10
11
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
switch (
|
|
12
|
+
setup(p) {
|
|
13
|
+
const u = p, { t: d } = g(), v = (() => {
|
|
14
|
+
switch (u.severity) {
|
|
14
15
|
case "primary":
|
|
15
16
|
return "text-primary-500 dark:text-primary-300";
|
|
16
17
|
case "success":
|
|
@@ -24,51 +25,51 @@ const g = /* @__PURE__ */ c({
|
|
|
24
25
|
default:
|
|
25
26
|
return "inherit dark:inherit";
|
|
26
27
|
}
|
|
27
|
-
})(), o =
|
|
28
|
+
})(), o = c(() => [
|
|
28
29
|
"icon",
|
|
29
|
-
`ic-${
|
|
30
|
-
|
|
30
|
+
`ic-${u.icon}`,
|
|
31
|
+
v,
|
|
31
32
|
"cursor-pointer !shrink-0"
|
|
32
|
-
]);
|
|
33
|
-
return (e,
|
|
34
|
-
const
|
|
35
|
-
return r(), t(
|
|
36
|
-
e.tooltipPos === "top" ?
|
|
33
|
+
]), s = c(() => d(u.info));
|
|
34
|
+
return (e, y) => {
|
|
35
|
+
const i = f("tooltip");
|
|
36
|
+
return r(), t(k, null, [
|
|
37
|
+
e.tooltipPos === "top" ? a((r(), t("i", l({ key: 0 }, e.$attrs, {
|
|
37
38
|
class: [...o.value, e.$props.class]
|
|
38
39
|
}), null, 16)), [
|
|
39
40
|
[
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
i,
|
|
42
|
+
s.value,
|
|
42
43
|
void 0,
|
|
43
44
|
{ top: !0 }
|
|
44
45
|
]
|
|
45
46
|
]) : n("", !0),
|
|
46
|
-
e.tooltipPos === "bottom" ?
|
|
47
|
+
e.tooltipPos === "bottom" ? a((r(), t("i", l({ key: 1 }, e.$attrs, {
|
|
47
48
|
class: [...o.value, e.$props.class]
|
|
48
49
|
}), null, 16)), [
|
|
49
50
|
[
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
i,
|
|
52
|
+
s.value,
|
|
52
53
|
void 0,
|
|
53
54
|
{ bottom: !0 }
|
|
54
55
|
]
|
|
55
56
|
]) : n("", !0),
|
|
56
|
-
e.tooltipPos === "right" ?
|
|
57
|
+
e.tooltipPos === "right" ? a((r(), t("i", l({ key: 2 }, e.$attrs, {
|
|
57
58
|
class: [...o.value, e.$props.class]
|
|
58
59
|
}), null, 16)), [
|
|
59
60
|
[
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
i,
|
|
62
|
+
s.value,
|
|
62
63
|
void 0,
|
|
63
64
|
{ right: !0 }
|
|
64
65
|
]
|
|
65
66
|
]) : n("", !0),
|
|
66
|
-
e.tooltipPos === "left" ?
|
|
67
|
+
e.tooltipPos === "left" ? a((r(), t("i", l({ key: 3 }, e.$attrs, {
|
|
67
68
|
class: [...o.value, e.$props.class]
|
|
68
69
|
}), null, 16)), [
|
|
69
70
|
[
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
i,
|
|
72
|
+
s.value,
|
|
72
73
|
void 0,
|
|
73
74
|
{ left: !0 }
|
|
74
75
|
]
|
|
@@ -78,5 +79,5 @@ const g = /* @__PURE__ */ c({
|
|
|
78
79
|
}
|
|
79
80
|
});
|
|
80
81
|
export {
|
|
81
|
-
|
|
82
|
+
P as _
|
|
82
83
|
};
|