@fewangsit/wangsvue-fats 1.0.1-rc.0 → 1.0.1-rc.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/animation/index.es.js +50 -0
- package/approverinfo/index.es.js +6 -6
- package/assetinfo/index.es.js +160 -2
- package/backgroundimagecropper/{BackgroundImageCropper.es.js → index.es.js} +1 -1
- package/badge/index.es.js +7 -7
- package/badgegroup/index.es.js +7 -7
- package/basecalendar/{BaseCalendar.es.js → index.es.js} +6 -6
- package/basetree/index.es.js +14 -14
- package/breadcrumb/index.es.js +6 -6
- package/button/index.es.js +118 -2
- package/buttonaddbyscan/index.es.js +13 -13
- package/buttonbulkaction/index.es.js +184 -2
- package/buttoncopy/index.es.js +6 -6
- package/buttondownload/index.es.js +15 -15
- package/buttonfilter/index.es.js +6 -6
- package/buttonradio/index.es.js +2 -2
- package/buttonscan/index.es.js +414 -2
- package/buttonsearch/index.es.js +9 -9
- package/buttonsearchbyscan/index.es.js +7 -7
- package/buttonselecttree/index.es.js +22 -22
- package/buttonselectuser/index.es.js +25 -25
- package/buttonsync/index.es.js +12 -12
- package/buttontoggle/index.es.js +6 -6
- package/buttonviewlog/index.es.js +2 -2
- package/calendar/index.es.js +4 -4
- package/card/index.es.js +4 -4
- package/carousel/index.es.js +7 -7
- package/checkbox/index.es.js +2 -2
- package/codesnippet/{CodeSnippet.es.js → index.es.js} +1 -1
- package/codesnippetadapter/{CodeSnippetAdapter.es.js → index.es.js} +1 -1
- package/columnlist/{ColumnList.es.js → index.es.js} +8 -8
- package/config/defaultProps.es.js +133 -0
- package/config/index.es.js +10 -218
- package/config/locale.es.js +85 -0
- package/customcolumn/index.es.js +8 -8
- package/datatable/index.es.js +108 -107
- package/datepicker/index.es.js +138 -2
- package/daypicker/index.es.js +6 -6
- package/dialog/index.es.js +4 -4
- package/dialogassetnamedetail/index.es.js +11 -11
- package/dialogbasictransferlog/{DialogBasicTransferLog.es.js → index.es.js} +17 -17
- package/dialogconfirm/index.es.js +17 -17
- package/dialogdamagelog/index.es.js +14 -14
- package/dialogform/index.es.js +32 -32
- package/dialogfulltransferlog/{DialogFullTransferLog.es.js → index.es.js} +16 -16
- package/dialoglinkedasset/index.es.js +9 -9
- package/dialogprintqr/index.es.js +332 -2
- package/dialogreportdamage/index.es.js +12 -12
- package/dialogreportmissing/index.es.js +12 -12
- package/dialogreporttag/index.es.js +8 -8
- package/dialogselecttree/index.es.js +13 -13
- package/dialogselectuser/index.d.ts +2 -2
- package/dialogselectuser/index.es.js +18 -18
- package/dialogselectuserfilter/{DialogSelectUserFilter.es.js → index.es.js} +2 -2
- package/dialogtransferlog/index.es.js +9 -9
- package/directives/{focus/index.es.js → focus.es.js} +2 -2
- package/directives/index.es.js +2 -0
- package/directives/tooltip.es.js +1 -0
- package/disposalreport/index.es.js +8 -8
- package/disposalreportbulkaction/{DisposalReportBulkAction.es.js → index.es.js} +9 -8
- package/disposalreporttable/{DisposalReportTable.es.js → index.es.js} +16 -16
- package/disposalreporttablefilter/{DisposalReportTableFilter.es.js → index.es.js} +5 -5
- package/dropdown/index.es.js +37 -37
- package/editor/{Editor.es.js → index.es.js} +57 -57
- package/editorbutton/{EditorButton.es.js → index.es.js} +1 -1
- package/event-bus/index.es.js +4 -3
- package/event-bus/mitt.es.js +53 -0
- package/fieldwrapper/{FieldWrapper.es.js → index.es.js} +2 -2
- package/fileupload/index.es.js +13 -13
- package/filtercontainer/index.es.js +34 -34
- package/form/index.es.js +23 -23
- package/hardwaresync/{HardwareSync.es.js → index.es.js} +42 -42
- package/icon/index.es.js +4 -4
- package/image/index.es.js +14 -14
- package/imagecompressor/index.es.js +14 -14
- package/imageinputinfo/{ImageInputInfo.es.js → index.es.js} +2 -2
- package/inlinemessage/index.es.js +7 -7
- package/inputbadge/index.es.js +14 -14
- package/inputcurrency/index.es.js +147 -2
- package/inputemail/index.es.js +4 -4
- package/inputnumber/index.es.js +6 -6
- package/inputotp/index.es.js +1 -1
- package/inputpassword/index.es.js +10 -10
- package/inputphonenumber/index.es.js +28 -28
- package/inputrangenumber/index.es.js +9 -9
- package/inputsearch/index.es.js +2 -2
- package/inputtext/index.es.js +11 -11
- package/inputurl/index.es.js +5 -5
- package/invisiblefield/index.es.js +8 -8
- package/languagedropdownoption/{LanguageDropdownOption.es.js → index.es.js} +3 -3
- package/languageswitcher/index.es.js +7 -7
- package/litedropdown/index.es.js +10 -10
- package/loading/index.es.js +8 -8
- package/mentionlist/{MentionList.es.js → index.es.js} +4 -4
- package/menu/index.es.js +20 -19
- package/menuitem/{MenuItem.es.js → index.es.js} +1 -1
- package/multiselect/index.es.js +27 -27
- package/overlaypanel/index.es.js +6 -6
- package/package.json +1 -5
- package/paginator/index.es.js +11 -11
- package/plugins/VueHtmlToPaper.es.js +40 -0
- package/{animation/Animation.es.js → plugins/WangsVue.es.js} +38 -83
- package/plugins/basei18n.d.ts +103 -0
- package/plugins/basei18n.es.js +88 -0
- package/plugins/{formValidation/index.es.js → formValidation.es.js} +4 -4
- package/plugins/i18n.d.ts +5 -102
- package/plugins/i18n.es.js +6 -0
- package/stats.html +1 -1
- package/steps/index.es.js +4 -4
- package/tabmenu/index.es.js +1 -1
- package/tagtype/index.es.js +6 -6
- package/textarea/index.es.js +5 -5
- package/timeline/index.es.js +5 -5
- package/timelinecontentbytype/{TimelineContentByType.es.js → index.es.js} +9 -9
- package/toast/index.es.js +3 -3
- package/toggleswitch/index.es.js +2 -2
- package/transactionroles/index.es.js +2 -2
- package/tree/index.es.js +117 -107
- package/treenode/{TreeNode.es.js → index.es.js} +4 -4
- package/treesearchinput/{TreeSearchInput.es.js → index.es.js} +4 -4
- package/username/index.es.js +20 -20
- package/userwithicon/index.es.js +4 -4
- package/utils/baseToast.util.es.js +1 -1
- package/utils/date.util.es.js +2 -2
- package/utils/index.es.js +3 -36
- package/utils/role.util.es.js +2 -2
- package/validatormessage/index.es.js +4 -4
- package/vendor/highlight.js/es/core.es.js +1 -1
- package/vendor/lodash/_freeGlobal.es.js +1 -1
- package/vendor/simplebar-core/dist/index.es.js +1 -1
- package/wangsvue-fats.d.ts +1 -2
- package/wangsvue-fats.es.js +219 -256
- package/wangsvue-fats.system.js +56 -56
- package/approverinfo/package.json +0 -4
- package/assetinfo/AssetInfo.es.js +0 -179
- package/assetinfo/package.json +0 -4
- package/badge/package.json +0 -4
- package/badgegroup/package.json +0 -4
- package/basetree/package.json +0 -4
- package/breadcrumb/package.json +0 -4
- package/button/Button.es.js +0 -120
- package/button/package.json +0 -4
- package/buttonaddbyscan/package.json +0 -4
- package/buttonbulkaction/ButtonBulkAction.es.js +0 -238
- package/buttonbulkaction/package.json +0 -4
- package/buttoncopy/package.json +0 -4
- package/buttondownload/package.json +0 -4
- package/buttonfilter/package.json +0 -4
- package/buttonradio/package.json +0 -4
- package/buttonscan/ButtonScan.es.js +0 -416
- package/buttonscan/package.json +0 -4
- package/buttonsearch/package.json +0 -4
- package/buttonsearchbyscan/package.json +0 -4
- package/buttonselecttree/package.json +0 -4
- package/buttonselectuser/package.json +0 -4
- package/buttonsync/package.json +0 -4
- package/buttontoggle/package.json +0 -4
- package/buttonviewlog/package.json +0 -4
- package/calendar/package.json +0 -4
- package/card/package.json +0 -4
- package/carousel/package.json +0 -4
- package/checkbox/package.json +0 -4
- package/config/package.json +0 -4
- package/customcolumn/package.json +0 -4
- package/datatable/package.json +0 -4
- package/datepicker/DatePicker.es.js +0 -224
- package/datepicker/package.json +0 -4
- package/daypicker/package.json +0 -4
- package/dialog/package.json +0 -4
- package/dialogassetnamedetail/package.json +0 -4
- package/dialogconfirm/package.json +0 -4
- package/dialogdamagelog/package.json +0 -4
- package/dialogform/package.json +0 -4
- package/dialoglinkedasset/package.json +0 -4
- package/dialogprintqr/DialogPrintQR.es.js +0 -334
- package/dialogprintqr/package.json +0 -4
- package/dialogreportdamage/package.json +0 -4
- package/dialogreportmissing/package.json +0 -4
- package/dialogreporttag/package.json +0 -4
- package/dialogselecttree/package.json +0 -4
- package/dialogselectuser/package.json +0 -4
- package/dialogtransferlog/package.json +0 -4
- package/directives/focus/package.json +0 -4
- package/directives/tooltip/index.es.js +0 -4
- package/directives/tooltip/package.json +0 -4
- package/disposalreport/package.json +0 -4
- package/dropdown/package.json +0 -4
- package/event-bus/package.json +0 -4
- package/fileupload/package.json +0 -4
- package/filtercontainer/package.json +0 -4
- package/form/package.json +0 -4
- package/icon/package.json +0 -4
- package/image/package.json +0 -4
- package/imagecompressor/package.json +0 -4
- package/index.d.ts +0 -2
- package/inlinemessage/package.json +0 -4
- package/inputbadge/package.json +0 -4
- package/inputcurrency/InputCurrency.es.js +0 -150
- package/inputcurrency/helpers/index.es.js +0 -5
- package/inputcurrency/helpers/package.json +0 -4
- package/inputcurrency/package.json +0 -4
- package/inputemail/package.json +0 -4
- package/inputnumber/package.json +0 -4
- package/inputotp/package.json +0 -4
- package/inputpassword/package.json +0 -4
- package/inputphonenumber/package.json +0 -4
- package/inputrangenumber/package.json +0 -4
- package/inputsearch/package.json +0 -4
- package/inputtext/package.json +0 -4
- package/inputurl/package.json +0 -4
- package/invisiblefield/package.json +0 -4
- package/languageswitcher/package.json +0 -4
- package/litedropdown/package.json +0 -4
- package/loading/package.json +0 -4
- package/loading/store/index.es.js +0 -5
- package/loading/store/package.json +0 -4
- package/menu/package.json +0 -4
- package/multiselect/package.json +0 -4
- package/overlaypanel/package.json +0 -4
- package/paginator/package.json +0 -4
- package/plugins/formValidation/package.json +0 -4
- package/plugins/i18n/index.es.js +0 -8
- package/plugins/i18n/package.json +0 -4
- package/plugins/i18n-extension.d.ts +0 -4
- package/steps/package.json +0 -4
- package/tabmenu/package.json +0 -4
- package/tagtype/package.json +0 -4
- package/textarea/package.json +0 -4
- package/timeline/package.json +0 -4
- package/toast/package.json +0 -4
- package/toast/service/index.es.js +0 -5
- package/toast/service/package.json +0 -4
- package/toggleswitch/package.json +0 -4
- package/transactionroles/package.json +0 -4
- package/tree/package.json +0 -4
- package/username/package.json +0 -4
- package/userwithicon/package.json +0 -4
- package/utils/package.json +0 -4
- package/validatormessage/package.json +0 -4
- /package/inputgroup/{InputGroup.es.js → index.es.js} +0 -0
- /package/mentionsection/{MentionSection.es.js → index.es.js} +0 -0
- /package/multirow/{MultiRow.es.js → index.es.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as u, resolveDirective as f, createElementBlock as g, openBlock as h, normalizeClass as r, createVNode as o, withDirectives as v, unref as x } from "vue";
|
|
2
2
|
import { s as w } from "../vendor/primevue/inputtext/inputtext.esm.es.js";
|
|
3
|
-
import s from "../icon/index.es.js";
|
|
3
|
+
import { _ as s } from "../icon/index.es.js";
|
|
4
4
|
const _ = {
|
|
5
5
|
class: /* @__PURE__ */ r([
|
|
6
6
|
"relative w-full text-xs flex gap-1 py-[4.5px] px-2 items-center",
|
|
@@ -16,7 +16,7 @@ const _ = {
|
|
|
16
16
|
setup(i, { emit: c }) {
|
|
17
17
|
const n = i, d = c, m = (e) => {
|
|
18
18
|
e.key === "Enter" && e.preventDefault();
|
|
19
|
-
},
|
|
19
|
+
}, a = (e) => {
|
|
20
20
|
d("update:modelValue", e);
|
|
21
21
|
};
|
|
22
22
|
return (e, t) => {
|
|
@@ -31,7 +31,7 @@ const _ = {
|
|
|
31
31
|
"w-max grow h-auto !shadow-none !p-0 placeholder:text-general-200"
|
|
32
32
|
]),
|
|
33
33
|
"model-value": n.modelValue,
|
|
34
|
-
onInput: t[0] || (t[0] = (
|
|
34
|
+
onInput: t[0] || (t[0] = (l) => a(l.target.value)),
|
|
35
35
|
onKeydown: m,
|
|
36
36
|
autocomplete: "off",
|
|
37
37
|
placeholder: "Search"
|
|
@@ -43,7 +43,7 @@ const _ = {
|
|
|
43
43
|
"text-md w-4 h-4 shrink-0 !text-general-400",
|
|
44
44
|
{ hidden: !n.modelValue }
|
|
45
45
|
]),
|
|
46
|
-
onClick: t[1] || (t[1] = (
|
|
46
|
+
onClick: t[1] || (t[1] = (l) => a("")),
|
|
47
47
|
"data-wv-section": "reset-filter-icon",
|
|
48
48
|
icon: "close"
|
|
49
49
|
}, null, 8, ["class"])
|
package/username/index.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as A, computed as h, shallowRef as N, ref as H, resolveDirective as I, createElementBlock as u, openBlock as a, mergeProps as i, createBlock as d, withDirectives as M, createCommentVNode as P, withModifiers as F, unref as v, createTextVNode as U, toDisplayString as p, withCtx as R, createElementVNode as k, createVNode as q, normalizeProps as G, Fragment as J } from "vue";
|
|
2
2
|
import { t as K } from "../vendor/single-spa/lib/es2015/esm/single-spa.min.es.js";
|
|
3
|
-
import { u as L } from "../
|
|
3
|
+
import { u as L } from "../plugins/WangsVue.es.js";
|
|
4
4
|
import { m as Q } from "../utils/mergePropsWithDefaults.util.es.js";
|
|
5
|
-
import { g as
|
|
5
|
+
import { g as _ } from "../utils/object.util.es.js";
|
|
6
6
|
import { f as X } from "../utils/textFormatter.util.es.js";
|
|
7
7
|
import { s as $ } from "../vendor/primevue/skeleton/skeleton.esm.es.js";
|
|
8
|
-
import Y from "../icon/index.es.js";
|
|
9
|
-
import
|
|
10
|
-
import Z from "../overlaypanel/index.es.js";
|
|
11
|
-
const ee = { key: 0 }, me = /* @__PURE__ */
|
|
8
|
+
import { _ as Y } from "../icon/index.es.js";
|
|
9
|
+
import { _ as j } from "../image/index.es.js";
|
|
10
|
+
import { _ as Z } from "../overlaypanel/index.es.js";
|
|
11
|
+
const ee = { key: 0 }, me = /* @__PURE__ */ A({
|
|
12
12
|
__name: "UserName",
|
|
13
13
|
props: {
|
|
14
14
|
user: {},
|
|
@@ -21,13 +21,13 @@ const ee = { key: 0 }, me = /* @__PURE__ */ H({
|
|
|
21
21
|
profilePictureField: {},
|
|
22
22
|
getUserDetail: {}
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const r =
|
|
26
|
-
() =>
|
|
24
|
+
setup(z) {
|
|
25
|
+
const r = z, { locale: E, defaultProps: T } = L("UserName"), n = h(() => Q(r, T)), f = N(!1), s = N(), g = N(!1), w = H(), m = h(
|
|
26
|
+
() => _(
|
|
27
27
|
r.user ?? {},
|
|
28
28
|
n.value.userNameField
|
|
29
29
|
)
|
|
30
|
-
), D = h(() => n.value.formatUserName ? X(m.value) : m.value),
|
|
30
|
+
), D = h(() => n.value.formatUserName ? X(m.value) : m.value), W = async () => {
|
|
31
31
|
var t, e, y;
|
|
32
32
|
if (!s.value && r.fetchDetailOnPanelShow)
|
|
33
33
|
try {
|
|
@@ -42,7 +42,7 @@ const ee = { key: 0 }, me = /* @__PURE__ */ H({
|
|
|
42
42
|
else r.fetchDetailOnPanelShow || (s.value = r.user);
|
|
43
43
|
};
|
|
44
44
|
return (t, e) => {
|
|
45
|
-
const y =
|
|
45
|
+
const y = I("tooltip");
|
|
46
46
|
return Object.keys(r.user ?? {}).length < 1 ? (a(), u("span", ee, " - ")) : (a(), u("span", i({
|
|
47
47
|
key: 1,
|
|
48
48
|
onClick: e[4] || (e[4] = //@ts-ignore
|
|
@@ -54,10 +54,10 @@ const ee = { key: 0 }, me = /* @__PURE__ */ H({
|
|
|
54
54
|
"data-wv-name": "username",
|
|
55
55
|
"data-wv-section": "root"
|
|
56
56
|
}), [
|
|
57
|
-
n.value.type == "picture" ? (a(), d(
|
|
57
|
+
n.value.type == "picture" ? (a(), d(j, {
|
|
58
58
|
key: 0,
|
|
59
59
|
preview: m.value !== void 0,
|
|
60
|
-
src: v(
|
|
60
|
+
src: v(_)(
|
|
61
61
|
r.user ?? {},
|
|
62
62
|
n.value.profilePictureField
|
|
63
63
|
),
|
|
@@ -72,7 +72,7 @@ const ee = { key: 0 }, me = /* @__PURE__ */ H({
|
|
|
72
72
|
class: "text-general-300 text-base",
|
|
73
73
|
icon: "user"
|
|
74
74
|
})),
|
|
75
|
-
n.value.showUserName ?
|
|
75
|
+
n.value.showUserName ? M((a(), u("span", i({ key: 2 }, t.$preset.username.displayname({ props: r }), { "data-wv-section": "displayname" }), [
|
|
76
76
|
U(p(D.value), 1)
|
|
77
77
|
], 16)), [
|
|
78
78
|
[
|
|
@@ -87,14 +87,14 @@ const ee = { key: 0 }, me = /* @__PURE__ */ H({
|
|
|
87
87
|
ref_key: "miniProfile",
|
|
88
88
|
ref: w,
|
|
89
89
|
dismissable: !g.value,
|
|
90
|
-
onShow:
|
|
90
|
+
onShow: W
|
|
91
91
|
}, {
|
|
92
|
-
default:
|
|
92
|
+
default: R(() => {
|
|
93
93
|
var o, l, c, b, B, C, O, S;
|
|
94
94
|
return [
|
|
95
95
|
k("div", i(t.$preset.username.panel.contentwrapper, { "data-wv-section": "contentwrapper" }), [
|
|
96
96
|
k("div", i(t.$preset.username.panel.background, { "data-wv-section": "background" }), null, 16),
|
|
97
|
-
q(
|
|
97
|
+
q(j, {
|
|
98
98
|
src: ((o = s.value) == null ? void 0 : o.profilePicture) ?? ((l = s.value) == null ? void 0 : l.profilePictureBig),
|
|
99
99
|
width: 60,
|
|
100
100
|
onHide: e[1] || (e[1] = (V) => g.value = !1),
|
|
@@ -131,7 +131,7 @@ const ee = { key: 0 }, me = /* @__PURE__ */ H({
|
|
|
131
131
|
n.value.detailUserPath.replace("{userId}", (x = r.user) == null ? void 0 : x._id)
|
|
132
132
|
);
|
|
133
133
|
}, ["stop"]))
|
|
134
|
-
}, t.$preset.username.panel.userdetaillink, { "data-wv-section": "userdetaillink" }), p(v(
|
|
134
|
+
}, t.$preset.username.panel.userdetaillink, { "data-wv-section": "userdetaillink" }), p(v(E).detailUserAnchorText), 17))
|
|
135
135
|
], 16)
|
|
136
136
|
];
|
|
137
137
|
}),
|
|
@@ -142,5 +142,5 @@ const ee = { key: 0 }, me = /* @__PURE__ */ H({
|
|
|
142
142
|
}
|
|
143
143
|
});
|
|
144
144
|
export {
|
|
145
|
-
me as
|
|
145
|
+
me as _
|
|
146
146
|
};
|
package/userwithicon/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as r, createBlock as o, openBlock as n } from "vue";
|
|
2
|
-
import s from "../username/index.es.js";
|
|
2
|
+
import { _ as s } from "../username/index.es.js";
|
|
3
3
|
const m = /* @__PURE__ */ r({
|
|
4
4
|
__name: "UserWithIcon",
|
|
5
5
|
props: {
|
|
6
6
|
user: {}
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
return (e,
|
|
8
|
+
setup(p) {
|
|
9
|
+
return (e, t) => (n(), o(s, {
|
|
10
10
|
user: e.user,
|
|
11
11
|
type: "icon",
|
|
12
12
|
"user-name-field": "fullName"
|
|
@@ -14,5 +14,5 @@ const m = /* @__PURE__ */ r({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
17
|
-
m as
|
|
17
|
+
m as _
|
|
18
18
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as G } from "../
|
|
1
|
+
import { e as G } from "../event-bus/index.es.js";
|
|
2
2
|
import { u as M } from "../vendor/primevue/usetoast/usetoast.esm.es.js";
|
|
3
3
|
import { u as A } from "../vendor/lodash-es/uniqueId.es.js";
|
|
4
4
|
const w = ({ icons: i, template: r } = {}) => {
|
package/utils/date.util.es.js
CHANGED
package/utils/index.es.js
CHANGED
|
@@ -1,36 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { g as N, i as T } from "./object.util.es.js";
|
|
5
|
-
import { f as M, a as C } from "./date.util.es.js";
|
|
6
|
-
import { f as k } from "./textFormatter.util.es.js";
|
|
7
|
-
import { e as D } from "./exportToExcel.util.es.js";
|
|
8
|
-
import { g as K } from "./getStatusSeverity.util.es.js";
|
|
9
|
-
import { u as U } from "./toast.util.es.js";
|
|
10
|
-
export {
|
|
11
|
-
l as checkRouteAccess,
|
|
12
|
-
D as exportToExcel,
|
|
13
|
-
s as filterNodeKeys,
|
|
14
|
-
o as flattenTreeNodeChildren,
|
|
15
|
-
M as formatDate,
|
|
16
|
-
C as formatDateReadable,
|
|
17
|
-
k as formatUserName,
|
|
18
|
-
N as getNestedPropertyValue,
|
|
19
|
-
K as getStatusSeverity,
|
|
20
|
-
f as getSystemRole,
|
|
21
|
-
n as getTransactionRole,
|
|
22
|
-
p as getUserPlan,
|
|
23
|
-
i as hasAnyManagerRole,
|
|
24
|
-
m as hasAnyMonitoringReportRole,
|
|
25
|
-
g as hasApprovalRole,
|
|
26
|
-
R as hasManagerRole,
|
|
27
|
-
h as hasMonitoringReportRole,
|
|
28
|
-
x as hasStaffRole,
|
|
29
|
-
c as hasSystemRole,
|
|
30
|
-
d as hasTransactionRole,
|
|
31
|
-
T as isEmptyObject,
|
|
32
|
-
u as listenSidebarChanges,
|
|
33
|
-
t as parseNodeKeys,
|
|
34
|
-
S as unListenSidebarChanges,
|
|
35
|
-
U as useToast
|
|
36
|
-
};
|
|
1
|
+
import "../vendor/single-spa/lib/es2015/esm/single-spa.min.es.js";
|
|
2
|
+
import "../event-bus/index.es.js";
|
|
3
|
+
import "vue";
|
package/utils/role.util.es.js
CHANGED
|
@@ -56,13 +56,13 @@ const g = () => {
|
|
|
56
56
|
(a === "Admin" || e.path.includes("handover-confirmation")) && r ? o() : n("/not-found");
|
|
57
57
|
};
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
g as a,
|
|
60
60
|
c as b,
|
|
61
61
|
p as c,
|
|
62
62
|
m as d,
|
|
63
63
|
f as e,
|
|
64
64
|
u as f,
|
|
65
|
-
g,
|
|
65
|
+
s as g,
|
|
66
66
|
i as h,
|
|
67
67
|
R as i,
|
|
68
68
|
S as j,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const u = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as o, inject as t, withDirectives as a, createElementBlock as n, openBlock as m, mergeProps as p, unref as i, toDisplayString as l, vShow as c } from "vue";
|
|
2
|
+
const u = /* @__PURE__ */ o({
|
|
3
3
|
__name: "ValidatorMessage",
|
|
4
4
|
props: {
|
|
5
5
|
message: {}
|
|
6
6
|
},
|
|
7
7
|
setup(g) {
|
|
8
|
-
const r =
|
|
8
|
+
const r = t("preset", {}).validatormessage;
|
|
9
9
|
return (e, _) => {
|
|
10
10
|
var s;
|
|
11
11
|
return a((m(), n("small", p((s = i(r)) == null ? void 0 : s.root, { role: "alert" }), l(e.message), 17)), [
|
|
@@ -15,5 +15,5 @@ const u = /* @__PURE__ */ t({
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
export {
|
|
18
|
-
u as
|
|
18
|
+
u as _
|
|
19
19
|
};
|
package/wangsvue-fats.d.ts
CHANGED
|
@@ -21,8 +21,7 @@ export { useForm, useField } from './plugins/formValidation';
|
|
|
21
21
|
export type { FormContext } from './plugins/formValidation';
|
|
22
22
|
|
|
23
23
|
// Translation
|
|
24
|
-
export
|
|
25
|
-
export { default as i18n } from './plugins/i18n-extension';
|
|
24
|
+
export { default as i18n } from './plugins/i18n';
|
|
26
25
|
|
|
27
26
|
// Used for dialog print qr
|
|
28
27
|
export { default as VueHtmlToPaper } from './plugins/VueHtmlToPaper';
|