@3squared/forge-ui-3 0.10.2 → 0.11.0
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/esm/forge-ui-3.js +326 -317
- package/dist/index.d.ts +1 -0
- package/dist/src/helpers/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/esm/forge-ui-3.js
CHANGED
|
@@ -16,8 +16,8 @@ import ne from "primevue/dropdown";
|
|
|
16
16
|
import Ce from "primevue/inputmask";
|
|
17
17
|
import Te from "primevue/textarea";
|
|
18
18
|
import me from "primevue/inputnumber";
|
|
19
|
-
import
|
|
20
|
-
import
|
|
19
|
+
import Me from "primevue/chips";
|
|
20
|
+
import Pe from "primevue/progressbar";
|
|
21
21
|
import Ie from "primevue/divider";
|
|
22
22
|
import ze from "primevue/steps";
|
|
23
23
|
import Oe from "primevue/datatable";
|
|
@@ -191,13 +191,13 @@ const Ae = {
|
|
|
191
191
|
column: {
|
|
192
192
|
sortBadge: "ms-2 my-auto cursor-pointer",
|
|
193
193
|
headerCell: (e) => {
|
|
194
|
-
var t,
|
|
194
|
+
var t, l, a, o;
|
|
195
195
|
return {
|
|
196
196
|
class: [
|
|
197
197
|
{
|
|
198
198
|
"cursor-move": e.props.reorderableColumns,
|
|
199
|
-
"position-sticky": ((t = e.column) == null ? void 0 : t.context.frozen) !== void 0 || ((
|
|
200
|
-
"overflow-hidden position-relative bg-clip-padding": (
|
|
199
|
+
"position-sticky": ((t = e.column) == null ? void 0 : t.context.frozen) !== void 0 || ((l = e.column) == null ? void 0 : l.context.frozen) || ((a = e.column) == null ? void 0 : a.context.frozen) === "",
|
|
200
|
+
"overflow-hidden position-relative bg-clip-padding": (o = e.column) == null ? void 0 : o.context.resizable
|
|
201
201
|
}
|
|
202
202
|
]
|
|
203
203
|
};
|
|
@@ -286,13 +286,13 @@ const Ae = {
|
|
|
286
286
|
}, Re = {
|
|
287
287
|
inputtext: {
|
|
288
288
|
root: (e) => {
|
|
289
|
-
var t,
|
|
289
|
+
var t, l;
|
|
290
290
|
return {
|
|
291
291
|
class: [
|
|
292
292
|
"form-control",
|
|
293
293
|
{
|
|
294
294
|
"form-control-lg": ((t = e.props.size) == null ? void 0 : t.toLowerCase()) == "large",
|
|
295
|
-
"form-control-sm": ((
|
|
295
|
+
"form-control-sm": ((l = e.props.size) == null ? void 0 : l.toLowerCase()) == "small"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
};
|
|
@@ -836,15 +836,15 @@ const Ae = {
|
|
|
836
836
|
class: ["ps-1"]
|
|
837
837
|
}),
|
|
838
838
|
icon: ({ props: e }) => {
|
|
839
|
-
var t,
|
|
839
|
+
var t, l, a, o;
|
|
840
840
|
return {
|
|
841
841
|
class: [
|
|
842
842
|
"toast-icon",
|
|
843
843
|
{
|
|
844
844
|
"text-primary": ((t = e.message) == null ? void 0 : t.severity) === "info",
|
|
845
|
-
"text-success": ((
|
|
845
|
+
"text-success": ((l = e.message) == null ? void 0 : l.severity) === "success",
|
|
846
846
|
"text-danger": ((a = e.message) == null ? void 0 : a.severity) === "error",
|
|
847
|
-
"text-warning": ((
|
|
847
|
+
"text-warning": ((o = e.message) == null ? void 0 : o.severity) === "warn"
|
|
848
848
|
}
|
|
849
849
|
]
|
|
850
850
|
};
|
|
@@ -896,9 +896,9 @@ const Ae = {
|
|
|
896
896
|
},
|
|
897
897
|
setup(e) {
|
|
898
898
|
const t = e;
|
|
899
|
-
return (
|
|
900
|
-
const
|
|
901
|
-
return i(), h(
|
|
899
|
+
return (l, a) => {
|
|
900
|
+
const o = he;
|
|
901
|
+
return i(), h(o, ee(te({ ...l.$attrs, ...t })), {
|
|
902
902
|
messageicon: b(() => [
|
|
903
903
|
m("div", {
|
|
904
904
|
class: _(t.icon ? "me-2 pe-1" : "")
|
|
@@ -916,7 +916,7 @@ const Ae = {
|
|
|
916
916
|
f(p(T), { icon: "bi:x" })
|
|
917
917
|
]),
|
|
918
918
|
default: b(() => [
|
|
919
|
-
B(
|
|
919
|
+
B(l.$slots, "default")
|
|
920
920
|
]),
|
|
921
921
|
_: 3
|
|
922
922
|
}, 16);
|
|
@@ -931,21 +931,21 @@ const Ae = {
|
|
|
931
931
|
params: { default: Array }
|
|
932
932
|
},
|
|
933
933
|
setup(e) {
|
|
934
|
-
const t = I(!1),
|
|
934
|
+
const t = I(!1), l = e, a = async () => {
|
|
935
935
|
t.value = !0;
|
|
936
936
|
try {
|
|
937
|
-
await
|
|
938
|
-
} catch (
|
|
939
|
-
await
|
|
937
|
+
await l.action.apply(this, l.params);
|
|
938
|
+
} catch (o) {
|
|
939
|
+
await l.errorAction.apply(this, l.errorParams ? [...l.errorParams, o] : [o]);
|
|
940
940
|
}
|
|
941
941
|
t.value = !1;
|
|
942
942
|
};
|
|
943
|
-
return (
|
|
943
|
+
return (o, n) => {
|
|
944
944
|
const d = L;
|
|
945
945
|
return i(), y(N, null, [
|
|
946
|
-
f(d, C({ ...
|
|
946
|
+
f(d, C({ ...l, ...o.$attrs }, {
|
|
947
947
|
loading: t.value,
|
|
948
|
-
disabled: t.value ||
|
|
948
|
+
disabled: t.value || l.disabled,
|
|
949
949
|
onClick: a
|
|
950
950
|
}), null, 16, ["loading", "disabled"]),
|
|
951
951
|
f(p(xe))
|
|
@@ -979,14 +979,14 @@ const Ae = {
|
|
|
979
979
|
},
|
|
980
980
|
emits: ["update:modelValue"],
|
|
981
981
|
setup(e, { emit: t }) {
|
|
982
|
-
const
|
|
982
|
+
const l = t, a = e, { checked: o, handleChange: n, setValue: d, errors: u, errorMessage: c } = K(() => a.name ?? a.label, void 0, {
|
|
983
983
|
type: "checkbox",
|
|
984
984
|
checkedValue: !0
|
|
985
985
|
}), r = (v) => {
|
|
986
|
-
a.disabled || (n(v),
|
|
986
|
+
a.disabled || (n(v), l("update:modelValue", !a.modelValue));
|
|
987
987
|
};
|
|
988
988
|
ae(() => {
|
|
989
|
-
a.value !== void 0 && a.value !== (
|
|
989
|
+
a.value !== void 0 && a.value !== (o == null ? void 0 : o.value) ? d(a.value) : a.modelValue !== void 0 && a.modelValue !== (o == null ? void 0 : o.value) && d(a.modelValue);
|
|
990
990
|
}), re(() => a.value, (v) => {
|
|
991
991
|
d(v);
|
|
992
992
|
});
|
|
@@ -1001,8 +1001,8 @@ const Ae = {
|
|
|
1001
1001
|
f(F, C({
|
|
1002
1002
|
id: a.name
|
|
1003
1003
|
}, { ...a }, {
|
|
1004
|
-
modelValue: p(
|
|
1005
|
-
"onUpdate:modelValue": x[0] || (x[0] = (
|
|
1004
|
+
modelValue: p(o),
|
|
1005
|
+
"onUpdate:modelValue": x[0] || (x[0] = (M) => le(o) ? o.value = M : null),
|
|
1006
1006
|
"input-class": { "is-invalid": s.value },
|
|
1007
1007
|
onChange: r
|
|
1008
1008
|
}), {
|
|
@@ -1037,10 +1037,10 @@ const Ae = {
|
|
|
1037
1037
|
},
|
|
1038
1038
|
setup(e) {
|
|
1039
1039
|
const t = e;
|
|
1040
|
-
return (
|
|
1041
|
-
const
|
|
1040
|
+
return (l, a) => {
|
|
1041
|
+
const o = $e;
|
|
1042
1042
|
return i(), y("div", pt, [
|
|
1043
|
-
f(
|
|
1043
|
+
f(o, {
|
|
1044
1044
|
"animation-duration": ".75",
|
|
1045
1045
|
class: _(`text-${t.severity === void 0 ? "primary" : t.severity}`)
|
|
1046
1046
|
}, null, 8, ["class"])
|
|
@@ -1074,14 +1074,14 @@ const Ae = {
|
|
|
1074
1074
|
[`link-underline-opacity-${e.underlineHoverOpacity ?? e.hoverOpacity}-hover`]: e.underlineHoverOpacity || e.hoverOpacity,
|
|
1075
1075
|
[`link-offset-${e.underlineOffset}`]: e.underlineOffset,
|
|
1076
1076
|
"icon-link icon-link-hover": e.animateIconOnHover
|
|
1077
|
-
})),
|
|
1077
|
+
})), l = k(() => ({
|
|
1078
1078
|
"order-2": e.positionIconEnd,
|
|
1079
1079
|
"me-1": !e.positionIconEnd && !e.animateIconOnHover,
|
|
1080
1080
|
"ms-1": e.positionIconEnd && !e.animateIconOnHover,
|
|
1081
1081
|
"ms-0": e.positionIconEnd && e.animateIconOnHover,
|
|
1082
1082
|
"me-0": e.animateIconOnHover
|
|
1083
1083
|
}));
|
|
1084
|
-
return (a,
|
|
1084
|
+
return (a, o) => (i(), y("a", {
|
|
1085
1085
|
id: "link",
|
|
1086
1086
|
class: _(["cursor-pointer d-flex", t.value]),
|
|
1087
1087
|
href: a.url,
|
|
@@ -1092,7 +1092,7 @@ const Ae = {
|
|
|
1092
1092
|
key: 0,
|
|
1093
1093
|
id: "link-icon",
|
|
1094
1094
|
icon: a.iconName,
|
|
1095
|
-
class: _(["bi my-auto",
|
|
1095
|
+
class: _(["bi my-auto", l.value])
|
|
1096
1096
|
}, null, 8, ["icon", "class"])) : S("", !0),
|
|
1097
1097
|
O(" " + w(a.label), 1)
|
|
1098
1098
|
])
|
|
@@ -1105,15 +1105,21 @@ function yt(e) {
|
|
|
1105
1105
|
errorDetails: []
|
|
1106
1106
|
};
|
|
1107
1107
|
if (e.exception && (t.errorMessage = e.exception), e.message && (Array.isArray(e.message) ? t.errorDetails = e.message : t.errorMessage = e.message), e.response) {
|
|
1108
|
-
const
|
|
1109
|
-
|
|
1108
|
+
const l = JSON.parse(e.response);
|
|
1109
|
+
l.errors && (t.errorDetails = Object.values(l.errors).flat()), l.message && (t.errorDetails = l.message);
|
|
1110
1110
|
}
|
|
1111
1111
|
return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
|
|
1112
1112
|
}
|
|
1113
|
+
function vl(e, t) {
|
|
1114
|
+
return e.map((l) => ({ id: l, label: t ? t(l) : `${l}` }));
|
|
1115
|
+
}
|
|
1116
|
+
function yl(e, t, l) {
|
|
1117
|
+
return { id: e, label: t ?? e.toString(), shortLabel: l };
|
|
1118
|
+
}
|
|
1113
1119
|
const bt = { key: 0 }, ft = {
|
|
1114
1120
|
class: "d-flex w-100",
|
|
1115
1121
|
"data-cy": "footer"
|
|
1116
|
-
},
|
|
1122
|
+
}, bl = /* @__PURE__ */ V({
|
|
1117
1123
|
__name: "ForgeModal",
|
|
1118
1124
|
props: /* @__PURE__ */ j({
|
|
1119
1125
|
cancelText: { default: "Cancel" },
|
|
@@ -1158,19 +1164,19 @@ const bt = { key: 0 }, ft = {
|
|
|
1158
1164
|
}),
|
|
1159
1165
|
emits: ["update:visible"],
|
|
1160
1166
|
setup(e) {
|
|
1161
|
-
const t = E(e, "visible"),
|
|
1167
|
+
const t = E(e, "visible"), l = I(!1), a = e, o = I(!1), n = I({
|
|
1162
1168
|
hasError: !1,
|
|
1163
1169
|
header: "",
|
|
1164
1170
|
message: []
|
|
1165
1171
|
}), d = () => {
|
|
1166
|
-
|
|
1172
|
+
l.value = !1;
|
|
1167
1173
|
}, u = () => {
|
|
1168
|
-
|
|
1174
|
+
l.value = !0;
|
|
1169
1175
|
}, c = () => {
|
|
1170
1176
|
t.value = !1;
|
|
1171
1177
|
}, r = async () => {
|
|
1172
1178
|
if (a.onConfirm) {
|
|
1173
|
-
|
|
1179
|
+
o.value = !0, n.value.hasError = !1;
|
|
1174
1180
|
try {
|
|
1175
1181
|
const v = await a.onConfirm();
|
|
1176
1182
|
(v || v == null) && c();
|
|
@@ -1179,19 +1185,19 @@ const bt = { key: 0 }, ft = {
|
|
|
1179
1185
|
const x = yt(v);
|
|
1180
1186
|
n.value.header = x.errorMessage, n.value.message = x.errorDetails;
|
|
1181
1187
|
}
|
|
1182
|
-
|
|
1188
|
+
o.value = !1;
|
|
1183
1189
|
}
|
|
1184
1190
|
}, s = k(() => ({
|
|
1185
1191
|
root: [
|
|
1186
1192
|
"modal modal-dialog modal-content h-auto m-0",
|
|
1187
1193
|
{
|
|
1188
|
-
"mw-100 vh-100 vw-100 top-0 start-0":
|
|
1194
|
+
"mw-100 vh-100 vw-100 top-0 start-0": l.value
|
|
1189
1195
|
}
|
|
1190
1196
|
]
|
|
1191
1197
|
}));
|
|
1192
1198
|
return (v, x) => {
|
|
1193
|
-
const F = L,
|
|
1194
|
-
return i(), h(
|
|
1199
|
+
const F = L, M = Be;
|
|
1200
|
+
return i(), h(M, C(a, {
|
|
1195
1201
|
onMaximize: u,
|
|
1196
1202
|
onUnmaximize: d,
|
|
1197
1203
|
pt: s.value
|
|
@@ -1208,14 +1214,14 @@ const bt = { key: 0 }, ft = {
|
|
|
1208
1214
|
maximizeicon: b(() => [
|
|
1209
1215
|
f(p(T), {
|
|
1210
1216
|
"data-cy": "maximisable-icon",
|
|
1211
|
-
icon:
|
|
1217
|
+
icon: l.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
|
|
1212
1218
|
width: "16",
|
|
1213
1219
|
height: "16"
|
|
1214
1220
|
}, null, 8, ["icon"])
|
|
1215
1221
|
]),
|
|
1216
1222
|
_: 2
|
|
1217
1223
|
}, [
|
|
1218
|
-
q(v.$slots, (
|
|
1224
|
+
q(v.$slots, (P, z) => ({
|
|
1219
1225
|
name: z,
|
|
1220
1226
|
fn: b((g) => [
|
|
1221
1227
|
n.value.hasError ? (i(), h(se, {
|
|
@@ -1234,7 +1240,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1234
1240
|
_: 1
|
|
1235
1241
|
})) : S("", !0),
|
|
1236
1242
|
B(v.$slots, z, ee(te(g || {}))),
|
|
1237
|
-
|
|
1243
|
+
o.value ? B(v.$slots, "loader", { key: 1 }, () => [
|
|
1238
1244
|
f(ye, { "data-cy": "loader" })
|
|
1239
1245
|
]) : S("", !0)
|
|
1240
1246
|
])
|
|
@@ -1280,13 +1286,13 @@ const bt = { key: 0 }, ft = {
|
|
|
1280
1286
|
}),
|
|
1281
1287
|
emits: ["update:modelValue"],
|
|
1282
1288
|
setup(e) {
|
|
1283
|
-
const t = e,
|
|
1289
|
+
const t = e, l = E(e, "modelValue"), a = I(!1), o = I(), n = () => {
|
|
1284
1290
|
var F;
|
|
1285
|
-
a.value = !a.value, (F =
|
|
1291
|
+
a.value = !a.value, (F = o.value) == null || F.focus();
|
|
1286
1292
|
}, d = async () => {
|
|
1287
1293
|
if (x.value)
|
|
1288
1294
|
return !1;
|
|
1289
|
-
if (
|
|
1295
|
+
if (l.value = v.value, t.completeAction)
|
|
1290
1296
|
try {
|
|
1291
1297
|
await t.completeAction.apply(this, t.params), a.value = !a.value;
|
|
1292
1298
|
} catch {
|
|
@@ -1299,14 +1305,14 @@ const bt = { key: 0 }, ft = {
|
|
|
1299
1305
|
}, c = () => {
|
|
1300
1306
|
v.value = null;
|
|
1301
1307
|
}, { errorMessage: r, errors: s, value: v } = K(() => t.name, void 0, {
|
|
1302
|
-
initialValue:
|
|
1308
|
+
initialValue: l.value
|
|
1303
1309
|
});
|
|
1304
1310
|
ae(() => {
|
|
1305
|
-
v.value =
|
|
1311
|
+
v.value = l.value;
|
|
1306
1312
|
});
|
|
1307
1313
|
const x = k(() => s.value.length > 0);
|
|
1308
|
-
return (F,
|
|
1309
|
-
const
|
|
1314
|
+
return (F, M) => {
|
|
1315
|
+
const P = de, z = L;
|
|
1310
1316
|
return i(), y("div", {
|
|
1311
1317
|
id: t.name
|
|
1312
1318
|
}, [
|
|
@@ -1323,12 +1329,12 @@ const bt = { key: 0 }, ft = {
|
|
|
1323
1329
|
cancel: u,
|
|
1324
1330
|
val: p(v)
|
|
1325
1331
|
}, () => [
|
|
1326
|
-
f(
|
|
1332
|
+
f(P, {
|
|
1327
1333
|
"data-cy": "input",
|
|
1328
1334
|
ref_key: "input",
|
|
1329
|
-
ref:
|
|
1335
|
+
ref: o,
|
|
1330
1336
|
modelValue: p(v),
|
|
1331
|
-
"onUpdate:modelValue":
|
|
1337
|
+
"onUpdate:modelValue": M[0] || (M[0] = (g) => le(v) ? v.value = g : null),
|
|
1332
1338
|
modelModifiers: { trim: !0 },
|
|
1333
1339
|
class: _({ "is-invalid": x.value }),
|
|
1334
1340
|
onKeydown: [
|
|
@@ -1384,7 +1390,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1384
1390
|
], 8, gt);
|
|
1385
1391
|
};
|
|
1386
1392
|
}
|
|
1387
|
-
}), Ft = ["href"],
|
|
1393
|
+
}), Ft = ["href"], fl = /* @__PURE__ */ V({
|
|
1388
1394
|
__name: "ForgeNavbar",
|
|
1389
1395
|
props: {
|
|
1390
1396
|
severity: { default: "light" },
|
|
@@ -1401,7 +1407,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1401
1407
|
unstyled: { type: Boolean }
|
|
1402
1408
|
},
|
|
1403
1409
|
setup(e) {
|
|
1404
|
-
const t = e,
|
|
1410
|
+
const t = e, l = k(() => ({
|
|
1405
1411
|
root: () => ({
|
|
1406
1412
|
class: [
|
|
1407
1413
|
"navbar container-fluid navbar-expand-lg",
|
|
@@ -1428,10 +1434,10 @@ const bt = { key: 0 }, ft = {
|
|
|
1428
1434
|
]
|
|
1429
1435
|
})
|
|
1430
1436
|
}));
|
|
1431
|
-
return (a,
|
|
1437
|
+
return (a, o) => {
|
|
1432
1438
|
const n = _e;
|
|
1433
1439
|
return i(), h(n, C({ ...t, ...a.$attrs }, {
|
|
1434
|
-
pt:
|
|
1440
|
+
pt: l.value,
|
|
1435
1441
|
"data-cy": "navbar"
|
|
1436
1442
|
}), oe({
|
|
1437
1443
|
start: b(() => [
|
|
@@ -1478,39 +1484,39 @@ const bt = { key: 0 }, ft = {
|
|
|
1478
1484
|
},
|
|
1479
1485
|
emits: ["update:modelValue"],
|
|
1480
1486
|
setup(e, { emit: t }) {
|
|
1481
|
-
const
|
|
1487
|
+
const l = e, a = (U, D) => {
|
|
1482
1488
|
const J = {
|
|
1483
1489
|
...D,
|
|
1484
1490
|
$isDisabled: D.$isDisabled ?? !1
|
|
1485
1491
|
};
|
|
1486
1492
|
U(J);
|
|
1487
|
-
},
|
|
1488
|
-
initialValue:
|
|
1493
|
+
}, o = ce(), n = t, { errors: d, value: u, errorMessage: c } = K(() => l.name, void 0, {
|
|
1494
|
+
initialValue: o.modelValue
|
|
1489
1495
|
}), r = I(!1), s = k(() => ({
|
|
1490
1496
|
multiple: !0,
|
|
1491
1497
|
label: "label",
|
|
1492
1498
|
trackBy: "id",
|
|
1493
1499
|
showPointer: !r.value,
|
|
1494
|
-
placeholder:
|
|
1500
|
+
placeholder: o.searchable === null || o.searchable ? "Search" : "Select",
|
|
1495
1501
|
allowEmpty: !0,
|
|
1496
1502
|
selectValue: "",
|
|
1497
|
-
closeOnSelect: !!(
|
|
1498
|
-
clearOnSelect: !!(
|
|
1499
|
-
searchable: !!(
|
|
1503
|
+
closeOnSelect: !!(o.multiple === null || o.multiple),
|
|
1504
|
+
clearOnSelect: !!(o.multiple === null || o.multiple),
|
|
1505
|
+
searchable: !!(o.searchable === null || o.searchable) && o.modelValue.length === o.options.length,
|
|
1500
1506
|
async: !1,
|
|
1501
|
-
...
|
|
1502
|
-
})), v = k(() => `forge-multiselect-${
|
|
1507
|
+
...o
|
|
1508
|
+
})), v = k(() => `forge-multiselect-${l.severity}`), x = k(() => `multiselect__option ${r.value ? " multiselect__option--highlight" : ""} ${F.value ? " multiselect__option--selected" : ""}`), F = k(() => s.value && !(s.value.multiple || !l.showSelectAll || s.value.async) ? !1 : o.modelValue.length === o.options.length), M = k(() => d.value.length > 0), P = k(() => !!((o.allowEmpty == null || o.allowEmpty) && l.showClearSelection && (s.value.multiple ? o.modelValue.length > 0 : o.modelValue))), z = () => r.value = !0, g = () => r.value = !1, $ = () => {
|
|
1503
1509
|
u.value = s.value.multiple ? [] : null, n("update:modelValue", u.value);
|
|
1504
1510
|
}, G = (U) => {
|
|
1505
|
-
n("update:modelValue",
|
|
1506
|
-
}, Z = (U) =>
|
|
1507
|
-
F.value ? $() : (u.value = [...
|
|
1511
|
+
n("update:modelValue", l.selectValue ? U.map((D) => D[l.selectValue]) : U);
|
|
1512
|
+
}, Z = (U) => o.modelValue !== null ? o.modelValue.some((D) => s.value.selectValue ? U[l.selectValue] === D : U.id === D.id && U.label === D.label) : !1, ie = () => {
|
|
1513
|
+
F.value ? $() : (u.value = [...o.options], n("update:modelValue", [...o.options]));
|
|
1508
1514
|
};
|
|
1509
1515
|
return (U, D) => {
|
|
1510
1516
|
const J = ve;
|
|
1511
1517
|
return i(), y(N, null, [
|
|
1512
1518
|
f(p(Ve), C(s.value, {
|
|
1513
|
-
class: [v.value,
|
|
1519
|
+
class: [v.value, M.value ? "is-invalid" : ""],
|
|
1514
1520
|
"data-cy": "multiselect",
|
|
1515
1521
|
"onUpdate:modelValue": [
|
|
1516
1522
|
G,
|
|
@@ -1519,7 +1525,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1519
1525
|
modelValue: p(u)
|
|
1520
1526
|
}), oe({
|
|
1521
1527
|
caret: b(({ toggle: A }) => [
|
|
1522
|
-
|
|
1528
|
+
P.value ? (i(), h(p(T), {
|
|
1523
1529
|
key: 0,
|
|
1524
1530
|
icon: "bi:x",
|
|
1525
1531
|
class: "my-auto multiselect__clear-icon",
|
|
@@ -1599,22 +1605,22 @@ const bt = { key: 0 }, ft = {
|
|
|
1599
1605
|
"data-cy": "error",
|
|
1600
1606
|
class: "invalid-feedback"
|
|
1601
1607
|
}, w(p(c)), 513), [
|
|
1602
|
-
[H,
|
|
1608
|
+
[H, M.value]
|
|
1603
1609
|
])
|
|
1604
1610
|
], 64);
|
|
1605
1611
|
};
|
|
1606
1612
|
}
|
|
1607
|
-
}),
|
|
1613
|
+
}), Mt = {
|
|
1608
1614
|
key: 0,
|
|
1609
1615
|
class: "pl-1"
|
|
1610
|
-
},
|
|
1616
|
+
}, Pt = { class: "border alternating-item-list" }, It = {
|
|
1611
1617
|
key: 0,
|
|
1612
1618
|
class: "p-2 border-top border-bottom",
|
|
1613
1619
|
"data-cy": "title"
|
|
1614
1620
|
}, zt = { class: "d-inline-block" }, Ot = {
|
|
1615
1621
|
key: 1,
|
|
1616
1622
|
class: "p-2 item d-flex justify-content-between align-items-center"
|
|
1617
|
-
},
|
|
1623
|
+
}, gl = /* @__PURE__ */ V({
|
|
1618
1624
|
__name: "ForgeMultiSelectPreview",
|
|
1619
1625
|
props: {
|
|
1620
1626
|
title: { default: "Selected Items" },
|
|
@@ -1625,8 +1631,8 @@ const bt = { key: 0 }, ft = {
|
|
|
1625
1631
|
},
|
|
1626
1632
|
emits: ["update:modelValue"],
|
|
1627
1633
|
setup(e, { emit: t }) {
|
|
1628
|
-
const
|
|
1629
|
-
|
|
1634
|
+
const l = e, a = ce(), o = t, n = k(() => `${a.modelValue.length} selected`), d = k(() => a.modelValue.length), u = (r) => {
|
|
1635
|
+
o("update:modelValue", r);
|
|
1630
1636
|
}, c = (r) => {
|
|
1631
1637
|
u(a.modelValue.filter((s) => s.id !== r));
|
|
1632
1638
|
};
|
|
@@ -1647,13 +1653,13 @@ const bt = { key: 0 }, ft = {
|
|
|
1647
1653
|
],
|
|
1648
1654
|
modelValue: r.$attrs.modelValue,
|
|
1649
1655
|
"limit-text": n.value,
|
|
1650
|
-
options:
|
|
1656
|
+
options: l.options
|
|
1651
1657
|
}, {
|
|
1652
1658
|
tag: b(() => [
|
|
1653
1659
|
O(w(""))
|
|
1654
1660
|
]),
|
|
1655
1661
|
selection: b(() => [
|
|
1656
|
-
r.$attrs.modelValue.length > 0 ? (i(), y("span",
|
|
1662
|
+
r.$attrs.modelValue.length > 0 ? (i(), y("span", Mt, w(d.value) + " items selected", 1)) : S("", !0)
|
|
1657
1663
|
]),
|
|
1658
1664
|
default: b(() => [
|
|
1659
1665
|
(i(!0), y(N, null, q(r.$slots, (x, F) => B(r.$slots, F, { slot: F })), 256))
|
|
@@ -1670,7 +1676,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1670
1676
|
style: we({ height: r.height }),
|
|
1671
1677
|
class: "overflow-auto"
|
|
1672
1678
|
}, [
|
|
1673
|
-
m("div",
|
|
1679
|
+
m("div", Pt, [
|
|
1674
1680
|
r.title ? (i(), y("div", It, w(r.title), 1)) : S("", !0),
|
|
1675
1681
|
(i(!0), y(N, null, q(r.$attrs.modelValue, (x) => (i(), y("div", {
|
|
1676
1682
|
key: x.id,
|
|
@@ -1708,21 +1714,21 @@ const bt = { key: 0 }, ft = {
|
|
|
1708
1714
|
}, At = {
|
|
1709
1715
|
"data-cy": "slot",
|
|
1710
1716
|
class: "d-flex align-items-center"
|
|
1711
|
-
},
|
|
1717
|
+
}, hl = /* @__PURE__ */ V({
|
|
1712
1718
|
__name: "ForgePageHeader",
|
|
1713
1719
|
props: {
|
|
1714
1720
|
title: {}
|
|
1715
1721
|
},
|
|
1716
1722
|
setup(e) {
|
|
1717
1723
|
const t = e;
|
|
1718
|
-
return (
|
|
1724
|
+
return (l, a) => (i(), y("div", Dt, [
|
|
1719
1725
|
m("h3", Ut, w(t.title), 1),
|
|
1720
1726
|
m("div", At, [
|
|
1721
|
-
B(
|
|
1727
|
+
B(l.$slots, "default")
|
|
1722
1728
|
])
|
|
1723
1729
|
]));
|
|
1724
1730
|
}
|
|
1725
|
-
}), Nt = { class: "d-flex" }, Et = { "data-cy": "before-slot" }, Lt = { class: "position-relative" }, Rt = { "data-cy": "after-slot" }, fe = /* @__PURE__ */ V({
|
|
1731
|
+
}), Nt = { class: "d-flex" }, Et = { "data-cy": "before-slot" }, Lt = { class: "position-relative w-100" }, Rt = { "data-cy": "after-slot" }, fe = /* @__PURE__ */ V({
|
|
1726
1732
|
__name: "ForgeDatepicker",
|
|
1727
1733
|
props: /* @__PURE__ */ j({
|
|
1728
1734
|
severity: { default: "primary" },
|
|
@@ -1795,10 +1801,10 @@ const bt = { key: 0 }, ft = {
|
|
|
1795
1801
|
}),
|
|
1796
1802
|
emits: ["update:modelValue"],
|
|
1797
1803
|
setup(e) {
|
|
1798
|
-
const t = e,
|
|
1799
|
-
initialValue:
|
|
1804
|
+
const t = e, l = E(e, "modelValue"), { errors: a, errorMessage: o, handleChange: n, handleBlur: d } = K(() => t.name, void 0, {
|
|
1805
|
+
initialValue: l.value
|
|
1800
1806
|
}), u = () => {
|
|
1801
|
-
|
|
1807
|
+
l.value = null;
|
|
1802
1808
|
}, c = k(() => a.value.length > 0), r = k(() => ({
|
|
1803
1809
|
day: ({ context: s }) => ({
|
|
1804
1810
|
class: [
|
|
@@ -1900,9 +1906,9 @@ const bt = { key: 0 }, ft = {
|
|
|
1900
1906
|
m("div", Lt, [
|
|
1901
1907
|
f(x, C({ ...t, ...s.$attrs }, {
|
|
1902
1908
|
pt: r.value,
|
|
1903
|
-
modelValue:
|
|
1909
|
+
modelValue: l.value,
|
|
1904
1910
|
"onUpdate:modelValue": [
|
|
1905
|
-
v[0] || (v[0] = (F) =>
|
|
1911
|
+
v[0] || (v[0] = (F) => l.value = F),
|
|
1906
1912
|
p(n)
|
|
1907
1913
|
],
|
|
1908
1914
|
onBlur: p(d),
|
|
@@ -1931,25 +1937,25 @@ const bt = { key: 0 }, ft = {
|
|
|
1931
1937
|
R(m("small", {
|
|
1932
1938
|
"data-cy": "error",
|
|
1933
1939
|
class: "text-invalid"
|
|
1934
|
-
}, w(p(
|
|
1940
|
+
}, w(p(o)), 513), [
|
|
1935
1941
|
[H, c.value]
|
|
1936
1942
|
])
|
|
1937
1943
|
], 64);
|
|
1938
1944
|
};
|
|
1939
1945
|
}
|
|
1940
|
-
}),
|
|
1946
|
+
}), wl = /* @__PURE__ */ V({
|
|
1941
1947
|
__name: "ForgeRemainingCharacters",
|
|
1942
1948
|
props: {
|
|
1943
1949
|
maxCount: { default: 300 },
|
|
1944
1950
|
currentCount: {}
|
|
1945
1951
|
},
|
|
1946
1952
|
setup(e) {
|
|
1947
|
-
const t = e,
|
|
1948
|
-
return (a,
|
|
1949
|
-
class: _(
|
|
1950
|
-
}, "Remaining characters: " + w(
|
|
1953
|
+
const t = e, l = k(() => t.maxCount - t.currentCount);
|
|
1954
|
+
return (a, o) => (i(), y("div", {
|
|
1955
|
+
class: _(l.value < 0 ? "text-danger" : "")
|
|
1956
|
+
}, "Remaining characters: " + w(l.value), 3));
|
|
1951
1957
|
}
|
|
1952
|
-
}), jt = /* @__PURE__ */ m("hr", null, null, -1), Ht = { class: "d-flex justify-content-between" },
|
|
1958
|
+
}), jt = /* @__PURE__ */ m("hr", null, null, -1), Ht = { class: "d-flex justify-content-between" }, xl = /* @__PURE__ */ V({
|
|
1953
1959
|
__name: "ForgeForm",
|
|
1954
1960
|
props: {
|
|
1955
1961
|
onSubmit: {},
|
|
@@ -1961,25 +1967,25 @@ const bt = { key: 0 }, ft = {
|
|
|
1961
1967
|
hideCancel: { type: Boolean, default: !1 }
|
|
1962
1968
|
},
|
|
1963
1969
|
setup(e) {
|
|
1964
|
-
const t = e,
|
|
1970
|
+
const t = e, l = I(!1), a = I({
|
|
1965
1971
|
hasError: !1,
|
|
1966
1972
|
message: ""
|
|
1967
1973
|
});
|
|
1968
|
-
async function
|
|
1969
|
-
|
|
1974
|
+
async function o() {
|
|
1975
|
+
l.value = !0, a.value.hasError = !1;
|
|
1970
1976
|
try {
|
|
1971
1977
|
await t.onSubmit();
|
|
1972
1978
|
} catch (n) {
|
|
1973
1979
|
a.value.hasError = !0, n.message && (a.value.message = n.message);
|
|
1974
1980
|
}
|
|
1975
|
-
|
|
1981
|
+
l.value = !1;
|
|
1976
1982
|
}
|
|
1977
1983
|
return (n, d) => {
|
|
1978
1984
|
const u = L;
|
|
1979
1985
|
return i(), y("form", C(n.$attrs, {
|
|
1980
1986
|
novalidate: "",
|
|
1981
1987
|
class: "position-relative shadow-sm border p-4 bg-white",
|
|
1982
|
-
onSubmit: Y(
|
|
1988
|
+
onSubmit: Y(o, ["prevent"])
|
|
1983
1989
|
}), [
|
|
1984
1990
|
n.hideTitle ? S("", !0) : (i(), y(N, { key: 0 }, [
|
|
1985
1991
|
B(n.$slots, "title", {}, () => [
|
|
@@ -2021,7 +2027,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2021
2027
|
_: 1
|
|
2022
2028
|
}))
|
|
2023
2029
|
]),
|
|
2024
|
-
B(n.$slots, "submit", { submit:
|
|
2030
|
+
B(n.$slots, "submit", { submit: o }, () => [
|
|
2025
2031
|
f(u, {
|
|
2026
2032
|
"data-cy": "submit-btn",
|
|
2027
2033
|
type: "submit",
|
|
@@ -2035,7 +2041,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2035
2041
|
})
|
|
2036
2042
|
])
|
|
2037
2043
|
]),
|
|
2038
|
-
|
|
2044
|
+
l.value ? (i(), h(ye, {
|
|
2039
2045
|
key: 2,
|
|
2040
2046
|
"data-cy": "loading-spinner"
|
|
2041
2047
|
})) : S("", !0)
|
|
@@ -2045,7 +2051,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2045
2051
|
}), Yt = {
|
|
2046
2052
|
key: 1,
|
|
2047
2053
|
class: "d-flex flex-column w-100"
|
|
2048
|
-
}, qt = ["for"],
|
|
2054
|
+
}, qt = ["for"], kl = /* @__PURE__ */ V({
|
|
2049
2055
|
__name: "ForgeFormField",
|
|
2050
2056
|
props: /* @__PURE__ */ j({
|
|
2051
2057
|
name: {},
|
|
@@ -2059,78 +2065,78 @@ const bt = { key: 0 }, ft = {
|
|
|
2059
2065
|
}),
|
|
2060
2066
|
emits: ["update:modelValue"],
|
|
2061
2067
|
setup(e) {
|
|
2062
|
-
const t = E(e, "modelValue"),
|
|
2063
|
-
|
|
2064
|
-
}, { errors:
|
|
2068
|
+
const t = E(e, "modelValue"), l = e, a = (s) => {
|
|
2069
|
+
l.type == "number" ? u(s.value) : u(s);
|
|
2070
|
+
}, { errors: o, value: n, errorMessage: d, handleChange: u, handleBlur: c } = K(() => l.name, void 0, {
|
|
2065
2071
|
initialValue: t.value
|
|
2066
|
-
}), r = k(() =>
|
|
2072
|
+
}), r = k(() => o.value.length > 0);
|
|
2067
2073
|
return re(() => n.value, (s) => {
|
|
2068
2074
|
t.value = s;
|
|
2069
2075
|
}, { immediate: !0 }), (s, v) => {
|
|
2070
|
-
const x = Te, F = Ce,
|
|
2071
|
-
return
|
|
2076
|
+
const x = Te, F = Ce, M = de, P = ne, z = be, g = fe;
|
|
2077
|
+
return l.type === "checkbox" ? (i(), h(ve, C({
|
|
2072
2078
|
key: 0,
|
|
2073
|
-
id:
|
|
2074
|
-
label:
|
|
2079
|
+
id: l.name,
|
|
2080
|
+
label: l.fieldLabel
|
|
2075
2081
|
}, s.$attrs, {
|
|
2076
|
-
name:
|
|
2082
|
+
name: l.name,
|
|
2077
2083
|
modelValue: t.value,
|
|
2078
2084
|
"onUpdate:modelValue": v[0] || (v[0] = ($) => t.value = $)
|
|
2079
2085
|
}), null, 16, ["id", "label", "name", "modelValue"])) : (i(), y("div", Yt, [
|
|
2080
2086
|
m("label", {
|
|
2081
|
-
for:
|
|
2087
|
+
for: l.name,
|
|
2082
2088
|
class: "mb-1"
|
|
2083
|
-
}, w(
|
|
2084
|
-
|
|
2089
|
+
}, w(l.fieldLabel), 9, qt),
|
|
2090
|
+
l.type === "number" ? (i(), h(p(me), C({
|
|
2085
2091
|
key: 0,
|
|
2086
|
-
id:
|
|
2092
|
+
id: l.name
|
|
2087
2093
|
}, s.$attrs, {
|
|
2088
|
-
placeholder:
|
|
2094
|
+
placeholder: l.placeholder,
|
|
2089
2095
|
"input-class": { "is-invalid": r.value },
|
|
2090
2096
|
class: { "is-invalid": r.value },
|
|
2091
2097
|
modelValue: t.value,
|
|
2092
2098
|
"onUpdate:modelValue": v[1] || (v[1] = ($) => t.value = $),
|
|
2093
2099
|
onInput: a
|
|
2094
|
-
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) :
|
|
2100
|
+
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (i(), h(x, C({
|
|
2095
2101
|
key: 1,
|
|
2096
|
-
id:
|
|
2102
|
+
id: l.name
|
|
2097
2103
|
}, s.$attrs, {
|
|
2098
|
-
placeholder:
|
|
2104
|
+
placeholder: l.placeholder,
|
|
2099
2105
|
class: { "is-invalid": r.value },
|
|
2100
2106
|
modelValue: t.value,
|
|
2101
2107
|
"onUpdate:modelValue": v[2] || (v[2] = ($) => t.value = $),
|
|
2102
2108
|
onInput: a,
|
|
2103
2109
|
onBlur: p(c)
|
|
2104
|
-
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) :
|
|
2110
|
+
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (i(), h(F, C({
|
|
2105
2111
|
key: 2,
|
|
2106
|
-
id:
|
|
2112
|
+
id: l.name
|
|
2107
2113
|
}, s.$attrs, {
|
|
2108
|
-
placeholder:
|
|
2109
|
-
mask:
|
|
2114
|
+
placeholder: l.placeholder,
|
|
2115
|
+
mask: l.mask,
|
|
2110
2116
|
class: { "is-invalid": r.value },
|
|
2111
2117
|
modelValue: t.value,
|
|
2112
2118
|
"onUpdate:modelValue": v[3] || (v[3] = ($) => t.value = $),
|
|
2113
2119
|
onComplete: a,
|
|
2114
2120
|
onBlur: p(c)
|
|
2115
|
-
}), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) :
|
|
2121
|
+
}), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (i(), h(M, C({
|
|
2116
2122
|
key: 3,
|
|
2117
|
-
id:
|
|
2123
|
+
id: l.name
|
|
2118
2124
|
}, s.$attrs, {
|
|
2119
|
-
placeholder:
|
|
2125
|
+
placeholder: l.placeholder,
|
|
2120
2126
|
class: { "is-invalid": r.value },
|
|
2121
2127
|
modelValue: t.value,
|
|
2122
2128
|
"onUpdate:modelValue": v[4] || (v[4] = ($) => t.value = $),
|
|
2123
2129
|
onInput: a,
|
|
2124
2130
|
onBlur: p(c)
|
|
2125
|
-
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) :
|
|
2131
|
+
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (i(), h(P, C({ key: 4 }, { ...l, ...s.$attrs }, {
|
|
2126
2132
|
modelValue: t.value,
|
|
2127
2133
|
"onUpdate:modelValue": v[5] || (v[5] = ($) => t.value = $),
|
|
2128
2134
|
class: { "is-invalid": r.value }
|
|
2129
|
-
}), null, 16, ["modelValue", "class"])) :
|
|
2135
|
+
}), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (i(), h(z, C({ key: 5 }, { ...l, ...s.$attrs }, {
|
|
2130
2136
|
modelValue: t.value,
|
|
2131
2137
|
"onUpdate:modelValue": v[6] || (v[6] = ($) => t.value = $),
|
|
2132
2138
|
class: { "is-invalid": r.value }
|
|
2133
|
-
}), null, 16, ["modelValue", "class"])) :
|
|
2139
|
+
}), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (i(), h(g, C({ key: 6 }, { ...l, ...s.$attrs }, {
|
|
2134
2140
|
modelValue: t.value,
|
|
2135
2141
|
"onUpdate:modelValue": v[7] || (v[7] = ($) => t.value = $),
|
|
2136
2142
|
class: { "is-invalid": r.value }
|
|
@@ -2139,12 +2145,12 @@ const bt = { key: 0 }, ft = {
|
|
|
2139
2145
|
"data-cy": "error",
|
|
2140
2146
|
class: "invalid-feedback"
|
|
2141
2147
|
}, w(p(d)), 513), [
|
|
2142
|
-
[H, r.value &&
|
|
2148
|
+
[H, r.value && l.type !== "multiselect" && l.type !== "datepicker"]
|
|
2143
2149
|
])
|
|
2144
2150
|
]));
|
|
2145
2151
|
};
|
|
2146
2152
|
}
|
|
2147
|
-
}),
|
|
2153
|
+
}), $l = /* @__PURE__ */ V({
|
|
2148
2154
|
__name: "ForgeChips",
|
|
2149
2155
|
props: {
|
|
2150
2156
|
chipSeverity: { default: "primary" },
|
|
@@ -2171,9 +2177,9 @@ const bt = { key: 0 }, ft = {
|
|
|
2171
2177
|
unstyled: { type: Boolean }
|
|
2172
2178
|
},
|
|
2173
2179
|
setup(e) {
|
|
2174
|
-
const t = e, { errors:
|
|
2180
|
+
const t = e, { errors: l, value: a, errorMessage: o } = K(() => t.name, void 0, {
|
|
2175
2181
|
initialValue: t.modelValue
|
|
2176
|
-
}), n = k(() =>
|
|
2182
|
+
}), n = k(() => l.value.length > 0), d = k(() => ({
|
|
2177
2183
|
inputtoken: "list-unstyled",
|
|
2178
2184
|
input: "border-0",
|
|
2179
2185
|
container: ({ props: u }) => ({
|
|
@@ -2205,7 +2211,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2205
2211
|
}
|
|
2206
2212
|
}));
|
|
2207
2213
|
return (u, c) => {
|
|
2208
|
-
const r =
|
|
2214
|
+
const r = Me;
|
|
2209
2215
|
return i(), y(N, null, [
|
|
2210
2216
|
f(r, C({ ...t, ...u.$attrs }, {
|
|
2211
2217
|
pt: d.value,
|
|
@@ -2226,7 +2232,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2226
2232
|
R(m("small", {
|
|
2227
2233
|
"data-cy": "error",
|
|
2228
2234
|
class: "text-invalid"
|
|
2229
|
-
}, w(p(
|
|
2235
|
+
}, w(p(o)), 513), [
|
|
2230
2236
|
[H, n.value]
|
|
2231
2237
|
])
|
|
2232
2238
|
], 64);
|
|
@@ -2247,7 +2253,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2247
2253
|
unstyled: { type: Boolean }
|
|
2248
2254
|
},
|
|
2249
2255
|
setup(e) {
|
|
2250
|
-
const t = e,
|
|
2256
|
+
const t = e, l = k(() => t.striped ? "progress-bar-striped" : null), a = k(() => t.animate ? "progress-bar-animated" : null), o = k(() => {
|
|
2251
2257
|
switch (t.severity) {
|
|
2252
2258
|
case "brand":
|
|
2253
2259
|
return "bg-brand";
|
|
@@ -2271,11 +2277,11 @@ const bt = { key: 0 }, ft = {
|
|
|
2271
2277
|
style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
|
|
2272
2278
|
},
|
|
2273
2279
|
value: {
|
|
2274
|
-
class: [
|
|
2280
|
+
class: [o.value, l.value, a.value]
|
|
2275
2281
|
}
|
|
2276
2282
|
}));
|
|
2277
2283
|
return (d, u) => {
|
|
2278
|
-
const c =
|
|
2284
|
+
const c = Pe;
|
|
2279
2285
|
return i(), h(c, C({ ...d.$attrs, ...t }, { pt: n.value }), {
|
|
2280
2286
|
default: b(() => [
|
|
2281
2287
|
B(d.$slots, "default")
|
|
@@ -2284,7 +2290,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2284
2290
|
}, 16, ["pt"]);
|
|
2285
2291
|
};
|
|
2286
2292
|
}
|
|
2287
|
-
}), Kt = { class: "value text-white w-100 text-center" },
|
|
2293
|
+
}), Kt = { class: "value text-white w-100 text-center" }, Bl = /* @__PURE__ */ V({
|
|
2288
2294
|
__name: "ForgeStatWidget",
|
|
2289
2295
|
props: {
|
|
2290
2296
|
size: { default: "md" },
|
|
@@ -2292,18 +2298,18 @@ const bt = { key: 0 }, ft = {
|
|
|
2292
2298
|
},
|
|
2293
2299
|
setup(e) {
|
|
2294
2300
|
const t = e;
|
|
2295
|
-
return (
|
|
2301
|
+
return (l, a) => (i(), y("div", C(l.$attrs, {
|
|
2296
2302
|
class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
|
|
2297
2303
|
}), [
|
|
2298
2304
|
m("span", Kt, [
|
|
2299
|
-
B(
|
|
2305
|
+
B(l.$slots, "default")
|
|
2300
2306
|
])
|
|
2301
2307
|
], 16));
|
|
2302
2308
|
}
|
|
2303
2309
|
}), Wt = {
|
|
2304
2310
|
class: "d-flex flex-column align-items-center",
|
|
2305
2311
|
"data-cy": "stepper"
|
|
2306
|
-
}, Zt = { class: "d-flex align-items-center justify-content-center w-100" },
|
|
2312
|
+
}, Zt = { class: "d-flex align-items-center justify-content-center w-100" }, Fl = /* @__PURE__ */ V({
|
|
2307
2313
|
__name: "ForgeStepper",
|
|
2308
2314
|
props: {
|
|
2309
2315
|
currentStep: { default: 0 },
|
|
@@ -2319,20 +2325,20 @@ const bt = { key: 0 }, ft = {
|
|
|
2319
2325
|
},
|
|
2320
2326
|
emits: ["update:currentStep"],
|
|
2321
2327
|
setup(e, { emit: t }) {
|
|
2322
|
-
const
|
|
2328
|
+
const l = t, a = e, o = I(a.currentStep), n = () => {
|
|
2323
2329
|
do
|
|
2324
|
-
|
|
2325
|
-
while (a.model[
|
|
2326
|
-
|
|
2330
|
+
o.value--;
|
|
2331
|
+
while (a.model[o.value].disabled);
|
|
2332
|
+
l("update:currentStep", o.value);
|
|
2327
2333
|
}, d = () => {
|
|
2328
|
-
if (
|
|
2334
|
+
if (o.value < a.model.length - 1)
|
|
2329
2335
|
do
|
|
2330
|
-
|
|
2331
|
-
while (a.model[
|
|
2332
|
-
|
|
2336
|
+
o.value++;
|
|
2337
|
+
while (a.model[o.value].disabled);
|
|
2338
|
+
l("update:currentStep", o.value);
|
|
2333
2339
|
}, u = k(() => {
|
|
2334
2340
|
const r = a.model.findIndex((s) => !s.disabled);
|
|
2335
|
-
return !(r <
|
|
2341
|
+
return !(r < o.value && r > -1);
|
|
2336
2342
|
}), c = k(() => ({
|
|
2337
2343
|
menuitem: (r) => ({
|
|
2338
2344
|
class: [{
|
|
@@ -2344,13 +2350,13 @@ const bt = { key: 0 }, ft = {
|
|
|
2344
2350
|
"d-flex align-items-center justify-content-center mb-2 step",
|
|
2345
2351
|
{
|
|
2346
2352
|
inactive: r.context.disabled,
|
|
2347
|
-
"bg-primary text-white": r.context.index ===
|
|
2348
|
-
"bg-brand text-white": r.context.index ===
|
|
2349
|
-
"bg-secondary text-white": r.context.index ===
|
|
2350
|
-
"bg-success text-white": r.context.index ===
|
|
2351
|
-
"bg-warning text-white": r.context.index ===
|
|
2352
|
-
"bg-danger text-white": r.context.index ===
|
|
2353
|
-
"bg-info text-white": r.context.index ===
|
|
2353
|
+
"bg-primary text-white": r.context.index === o.value && (a.severity === void 0 || a.severity === "primary"),
|
|
2354
|
+
"bg-brand text-white": r.context.index === o.value && a.severity === "brand",
|
|
2355
|
+
"bg-secondary text-white": r.context.index === o.value && a.severity === "secondary",
|
|
2356
|
+
"bg-success text-white": r.context.index === o.value && a.severity === "success",
|
|
2357
|
+
"bg-warning text-white": r.context.index === o.value && a.severity === "warning",
|
|
2358
|
+
"bg-danger text-white": r.context.index === o.value && a.severity === "danger",
|
|
2359
|
+
"bg-info text-white": r.context.index === o.value && a.severity === "info"
|
|
2354
2360
|
}
|
|
2355
2361
|
]
|
|
2356
2362
|
}),
|
|
@@ -2358,13 +2364,13 @@ const bt = { key: 0 }, ft = {
|
|
|
2358
2364
|
class: [
|
|
2359
2365
|
"h5",
|
|
2360
2366
|
{
|
|
2361
|
-
"border-bottom border-2 border-primary": r.context.index ===
|
|
2362
|
-
"border-bottom border-2 border-brand": r.context.index ===
|
|
2363
|
-
"border-bottom border-2 border-secondary": r.context.index ===
|
|
2364
|
-
"border-bottom border-2 border-success": r.context.index ===
|
|
2365
|
-
"border-bottom border-2 border-warning": r.context.index ===
|
|
2366
|
-
"border-bottom border-2 border-danger": r.context.index ===
|
|
2367
|
-
"border-bottom border-2 border-info": r.context.index ===
|
|
2367
|
+
"border-bottom border-2 border-primary": r.context.index === o.value && (a.severity === void 0 || a.severity === "primary"),
|
|
2368
|
+
"border-bottom border-2 border-brand": r.context.index === o.value && a.severity === "brand",
|
|
2369
|
+
"border-bottom border-2 border-secondary": r.context.index === o.value && a.severity === "secondary",
|
|
2370
|
+
"border-bottom border-2 border-success": r.context.index === o.value && a.severity === "success",
|
|
2371
|
+
"border-bottom border-2 border-warning": r.context.index === o.value && a.severity === "warning",
|
|
2372
|
+
"border-bottom border-2 border-danger": r.context.index === o.value && a.severity === "danger",
|
|
2373
|
+
"border-bottom border-2 border-info": r.context.index === o.value && a.severity === "info"
|
|
2368
2374
|
}
|
|
2369
2375
|
]
|
|
2370
2376
|
})
|
|
@@ -2389,19 +2395,19 @@ const bt = { key: 0 }, ft = {
|
|
|
2389
2395
|
_: 1
|
|
2390
2396
|
}, 8, ["severity", "disabled"]),
|
|
2391
2397
|
f(x, {
|
|
2392
|
-
"active-step":
|
|
2393
|
-
"onUpdate:activeStep": s[0] || (s[0] = (
|
|
2398
|
+
"active-step": o.value,
|
|
2399
|
+
"onUpdate:activeStep": s[0] || (s[0] = (M) => o.value = M),
|
|
2394
2400
|
model: a.model,
|
|
2395
2401
|
pt: c.value,
|
|
2396
2402
|
readonly: !1
|
|
2397
2403
|
}, null, 8, ["active-step", "model", "pt"])
|
|
2398
2404
|
]),
|
|
2399
2405
|
f(F),
|
|
2400
|
-
(i(!0), y(N, null, q(a.model, (
|
|
2401
|
-
key:
|
|
2406
|
+
(i(!0), y(N, null, q(a.model, (M, P) => (i(), y("div", {
|
|
2407
|
+
key: P,
|
|
2402
2408
|
class: "w-100"
|
|
2403
2409
|
}, [
|
|
2404
|
-
|
|
2410
|
+
P === o.value ? B(r.$slots, M.key ?? M.label, {
|
|
2405
2411
|
key: 0,
|
|
2406
2412
|
nextStep: d,
|
|
2407
2413
|
previousStep: n
|
|
@@ -2411,7 +2417,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2411
2417
|
"data-cy": "alert"
|
|
2412
2418
|
}, {
|
|
2413
2419
|
default: b(() => [
|
|
2414
|
-
O(" Please add Slot Content for the key " + w(
|
|
2420
|
+
O(" Please add Slot Content for the key " + w(M.key ?? M.label) + " ", 1),
|
|
2415
2421
|
f(v, {
|
|
2416
2422
|
severity: "primary",
|
|
2417
2423
|
label: "Next",
|
|
@@ -2426,7 +2432,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2426
2432
|
]);
|
|
2427
2433
|
};
|
|
2428
2434
|
}
|
|
2429
|
-
}), Jt = { class: "p-4 text-wrap w-100" }, Xt = { class: "p-4 text-wrap w-100" },
|
|
2435
|
+
}), Jt = { class: "p-4 text-wrap w-100" }, Xt = { class: "p-4 text-wrap w-100" }, _l = /* @__PURE__ */ V({
|
|
2430
2436
|
__name: "ForgeTile",
|
|
2431
2437
|
props: {
|
|
2432
2438
|
severity: { default: "primary" },
|
|
@@ -2435,19 +2441,19 @@ const bt = { key: 0 }, ft = {
|
|
|
2435
2441
|
selected: { type: Boolean, default: !1 }
|
|
2436
2442
|
},
|
|
2437
2443
|
setup(e) {
|
|
2438
|
-
const t = e,
|
|
2439
|
-
return (
|
|
2444
|
+
const t = e, l = k(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), a = k(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
|
|
2445
|
+
return (o, n) => {
|
|
2440
2446
|
const d = L;
|
|
2441
2447
|
return t.clickable ? (i(), h(d, {
|
|
2442
2448
|
key: 0,
|
|
2443
|
-
class: _(["d-flex w-100 p-0 text-body",
|
|
2449
|
+
class: _(["d-flex w-100 p-0 text-body", l.value]),
|
|
2444
2450
|
severity: t.severity,
|
|
2445
2451
|
unstyled: "",
|
|
2446
2452
|
"data-cy": "button-tile"
|
|
2447
2453
|
}, {
|
|
2448
2454
|
default: b(() => [
|
|
2449
2455
|
m("div", Jt, [
|
|
2450
|
-
B(
|
|
2456
|
+
B(o.$slots, "default", {}, () => [
|
|
2451
2457
|
O("Tile Content")
|
|
2452
2458
|
])
|
|
2453
2459
|
])
|
|
@@ -2459,7 +2465,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2459
2465
|
"data-cy": "tile"
|
|
2460
2466
|
}, [
|
|
2461
2467
|
m("div", Xt, [
|
|
2462
|
-
B(
|
|
2468
|
+
B(o.$slots, "default", {}, () => [
|
|
2463
2469
|
O("Tile Content")
|
|
2464
2470
|
])
|
|
2465
2471
|
])
|
|
@@ -2485,8 +2491,8 @@ const Qt = {
|
|
|
2485
2491
|
},
|
|
2486
2492
|
emits: ["update:perPage"],
|
|
2487
2493
|
setup(e, { emit: t }) {
|
|
2488
|
-
const
|
|
2489
|
-
|
|
2494
|
+
const l = t, a = e, o = (d) => {
|
|
2495
|
+
l("update:perPage", d.value);
|
|
2490
2496
|
}, n = k(() => {
|
|
2491
2497
|
const d = Math.ceil(a.total / a.perPage);
|
|
2492
2498
|
return `${d} ${Q(d, "page")}`;
|
|
@@ -2497,7 +2503,7 @@ const Qt = {
|
|
|
2497
2503
|
f(p(ne), {
|
|
2498
2504
|
options: a.pageSizes,
|
|
2499
2505
|
"model-value": a.perPage,
|
|
2500
|
-
onChange: u[0] || (u[0] = (c) =>
|
|
2506
|
+
onChange: u[0] || (u[0] = (c) => o(c))
|
|
2501
2507
|
}, null, 8, ["options", "model-value"])
|
|
2502
2508
|
]),
|
|
2503
2509
|
a.total ? (i(), y("div", ta, [
|
|
@@ -2506,7 +2512,7 @@ const Qt = {
|
|
|
2506
2512
|
])) : S("", !0)
|
|
2507
2513
|
]));
|
|
2508
2514
|
}
|
|
2509
|
-
}), na = { class: "position-relative" }, sa = { "data-cy": "above-table-slot" }, ia = { class: "d-flex" }, ra = { class: "d-flex align-items-end mb-2" }, da = { key: 0 }, ua = { class: "ms-auto" }, ca = /* @__PURE__ */ m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1),
|
|
2515
|
+
}), na = { class: "position-relative" }, sa = { "data-cy": "above-table-slot" }, ia = { class: "d-flex" }, ra = { class: "d-flex align-items-end mb-2" }, da = { key: 0 }, ua = { class: "ms-auto" }, ca = /* @__PURE__ */ m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1), Vl = /* @__PURE__ */ V({
|
|
2510
2516
|
__name: "ForgeTable",
|
|
2511
2517
|
props: {
|
|
2512
2518
|
value: {},
|
|
@@ -2586,7 +2592,7 @@ const Qt = {
|
|
|
2586
2592
|
},
|
|
2587
2593
|
emits: ["update:filters", "update:tableContext", "sort", "page"],
|
|
2588
2594
|
setup(e, { emit: t }) {
|
|
2589
|
-
const
|
|
2595
|
+
const l = t, a = e, o = I(), n = I([10, 20, 50, 100]), d = I(20), u = I({
|
|
2590
2596
|
filters: a.filters,
|
|
2591
2597
|
perPage: d.value,
|
|
2592
2598
|
page: 0,
|
|
@@ -2621,22 +2627,22 @@ const Qt = {
|
|
|
2621
2627
|
})), v = () => {
|
|
2622
2628
|
for (const g in a.filters)
|
|
2623
2629
|
typeof a.filters[g] == "string" ? a.filters[g] = "" : a.filters[g].value = null;
|
|
2624
|
-
|
|
2630
|
+
M(a.filters);
|
|
2625
2631
|
}, x = () => {
|
|
2626
|
-
|
|
2632
|
+
o.value.exportCSV();
|
|
2627
2633
|
}, F = (g) => {
|
|
2628
2634
|
var $;
|
|
2629
|
-
u.value.sortDirection = g.sortOrder === 1 ? "Asc" : g.sortOrder === -1 ? "Desc" : "None", u.value.sortField = (($ = g.sortField) == null ? void 0 : $.toString()) ?? "",
|
|
2630
|
-
}, P = (g) => {
|
|
2631
|
-
u.value.filters = g, o("update:tableContext", u.value), o("update:filters", g);
|
|
2635
|
+
u.value.sortDirection = g.sortOrder === 1 ? "Asc" : g.sortOrder === -1 ? "Desc" : "None", u.value.sortField = (($ = g.sortField) == null ? void 0 : $.toString()) ?? "", l("update:tableContext", u.value), l("sort", g);
|
|
2632
2636
|
}, M = (g) => {
|
|
2633
|
-
u.value.
|
|
2637
|
+
u.value.filters = g, l("update:tableContext", u.value), l("update:filters", g);
|
|
2638
|
+
}, P = (g) => {
|
|
2639
|
+
u.value.page = g.page, l("update:tableContext", u.value), l("page", g);
|
|
2634
2640
|
}, z = () => {
|
|
2635
|
-
u.value.perPage = d.value,
|
|
2641
|
+
u.value.perPage = d.value, l("update:tableContext", u.value);
|
|
2636
2642
|
};
|
|
2637
2643
|
return re(() => a.filters, (g) => {
|
|
2638
|
-
u.value.filters = g,
|
|
2639
|
-
}, { deep: !0 }), ae(() =>
|
|
2644
|
+
u.value.filters = g, l("update:tableContext", u.value);
|
|
2645
|
+
}, { deep: !0 }), ae(() => l("update:tableContext", u.value)), (g, $) => (i(), y("div", na, [
|
|
2640
2646
|
m("span", sa, [
|
|
2641
2647
|
B(g.$slots, "above-table")
|
|
2642
2648
|
]),
|
|
@@ -2648,11 +2654,11 @@ const Qt = {
|
|
|
2648
2654
|
"total-records": c.value,
|
|
2649
2655
|
"filter-display": a.filters ? "row" : void 0,
|
|
2650
2656
|
ref_key: "forgeTable",
|
|
2651
|
-
ref:
|
|
2657
|
+
ref: o,
|
|
2652
2658
|
"data-cy": "table",
|
|
2653
|
-
"onUpdate:filters":
|
|
2659
|
+
"onUpdate:filters": M,
|
|
2654
2660
|
onSort: F,
|
|
2655
|
-
onPage:
|
|
2661
|
+
onPage: P
|
|
2656
2662
|
}), oe({
|
|
2657
2663
|
header: b(() => [
|
|
2658
2664
|
m("div", {
|
|
@@ -2753,7 +2759,7 @@ const Qt = {
|
|
|
2753
2759
|
]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
|
|
2754
2760
|
]));
|
|
2755
2761
|
}
|
|
2756
|
-
}), ma = { class: "d-flex position-relative" }, pa = { class: "d-flex w-100" }, va = { class: "d-flex w-100" },
|
|
2762
|
+
}), ma = { class: "d-flex position-relative" }, pa = { class: "d-flex w-100" }, va = { class: "d-flex w-100" }, Sl = /* @__PURE__ */ V({
|
|
2757
2763
|
__name: "ForgeFilterHeader",
|
|
2758
2764
|
props: /* @__PURE__ */ j({
|
|
2759
2765
|
dataType: {},
|
|
@@ -2768,8 +2774,8 @@ const Qt = {
|
|
|
2768
2774
|
}),
|
|
2769
2775
|
emits: ["update:modelValue"],
|
|
2770
2776
|
setup(e) {
|
|
2771
|
-
const t = E(e, "modelValue"),
|
|
2772
|
-
if (!
|
|
2777
|
+
const t = E(e, "modelValue"), l = (o, n) => {
|
|
2778
|
+
if (!o || Array.isArray(o) && o.length === 0)
|
|
2773
2779
|
return n;
|
|
2774
2780
|
const d = (u) => {
|
|
2775
2781
|
var r;
|
|
@@ -2778,39 +2784,39 @@ const Qt = {
|
|
|
2778
2784
|
);
|
|
2779
2785
|
return e.optionLabel ? c[e.optionLabel] : c;
|
|
2780
2786
|
};
|
|
2781
|
-
return Array.isArray(
|
|
2787
|
+
return Array.isArray(o) ? o.map(d).join(", ") : d(o);
|
|
2782
2788
|
}, a = () => {
|
|
2783
2789
|
e.clearFilter ? e.clearFilter() : t.value = null;
|
|
2784
2790
|
};
|
|
2785
|
-
return (
|
|
2791
|
+
return (o, n) => {
|
|
2786
2792
|
const d = me, u = L;
|
|
2787
2793
|
return i(), y("div", ma, [
|
|
2788
|
-
|
|
2794
|
+
o.dataType === "numeric" ? (i(), h(d, C({
|
|
2789
2795
|
key: 0,
|
|
2790
2796
|
modelValue: t.value,
|
|
2791
2797
|
"onUpdate:modelValue": n[0] || (n[0] = (c) => t.value = c)
|
|
2792
|
-
},
|
|
2798
|
+
}, o.$attrs), null, 16, ["modelValue"])) : o.dataType === "date" ? (i(), h(fe, C({
|
|
2793
2799
|
key: 1,
|
|
2794
2800
|
modelValue: t.value,
|
|
2795
2801
|
"onUpdate:modelValue": n[1] || (n[1] = (c) => t.value = c)
|
|
2796
|
-
},
|
|
2802
|
+
}, o.$attrs, {
|
|
2797
2803
|
"show-icon": !1,
|
|
2798
2804
|
"show-on-focus": !0
|
|
2799
|
-
}), null, 16, ["modelValue"])) :
|
|
2805
|
+
}), null, 16, ["modelValue"])) : o.dataType === "select" ? (i(), h(p(ne), C({
|
|
2800
2806
|
key: 2,
|
|
2801
2807
|
modelValue: t.value,
|
|
2802
2808
|
"onUpdate:modelValue": n[2] || (n[2] = (c) => t.value = c)
|
|
2803
|
-
},
|
|
2804
|
-
options:
|
|
2805
|
-
"option-value":
|
|
2806
|
-
"option-label":
|
|
2809
|
+
}, o.$attrs, {
|
|
2810
|
+
options: o.dropdownOptions,
|
|
2811
|
+
"option-value": o.optionValue,
|
|
2812
|
+
"option-label": o.optionLabel
|
|
2807
2813
|
}), {
|
|
2808
2814
|
value: b(({ value: c, placeholder: r }) => [
|
|
2809
2815
|
m("div", pa, [
|
|
2810
2816
|
m("span", {
|
|
2811
2817
|
class: _({ "filter-placeholder": c === null })
|
|
2812
|
-
}, w(
|
|
2813
|
-
|
|
2818
|
+
}, w(l(c, r)), 3),
|
|
2819
|
+
o.showClearButton && t.value !== null ? (i(), h(u, {
|
|
2814
2820
|
key: 0,
|
|
2815
2821
|
onClick: Y(a, ["prevent"]),
|
|
2816
2822
|
size: "small",
|
|
@@ -2829,23 +2835,23 @@ const Qt = {
|
|
|
2829
2835
|
])
|
|
2830
2836
|
]),
|
|
2831
2837
|
_: 1
|
|
2832
|
-
}, 16, ["modelValue", "options", "option-value", "option-label"])) :
|
|
2838
|
+
}, 16, ["modelValue", "options", "option-value", "option-label"])) : o.dataType === "multiselect" ? (i(), h(p(De), C({
|
|
2833
2839
|
key: 3,
|
|
2834
2840
|
modelValue: t.value,
|
|
2835
2841
|
"onUpdate:modelValue": n[3] || (n[3] = (c) => t.value = c)
|
|
2836
|
-
},
|
|
2837
|
-
options:
|
|
2842
|
+
}, o.$attrs, {
|
|
2843
|
+
options: o.dropdownOptions,
|
|
2838
2844
|
showToggleAll: !1,
|
|
2839
|
-
"option-label":
|
|
2840
|
-
"option-value":
|
|
2845
|
+
"option-label": o.optionLabel,
|
|
2846
|
+
"option-value": o.optionValue,
|
|
2841
2847
|
filter: ""
|
|
2842
2848
|
}), {
|
|
2843
2849
|
value: b(({ value: c, placeholder: r }) => [
|
|
2844
2850
|
m("div", va, [
|
|
2845
2851
|
m("span", {
|
|
2846
2852
|
class: _({ "filter-placeholder": (c == null ? void 0 : c.length) === 0 || c === null })
|
|
2847
|
-
}, w(
|
|
2848
|
-
|
|
2853
|
+
}, w(l(c, r)), 3),
|
|
2854
|
+
o.showClearButton && (c == null ? void 0 : c.length) > 0 ? (i(), h(u, {
|
|
2849
2855
|
key: 0,
|
|
2850
2856
|
onClick: Y(a, ["prevent"]),
|
|
2851
2857
|
size: "small",
|
|
@@ -2868,8 +2874,8 @@ const Qt = {
|
|
|
2868
2874
|
key: 4,
|
|
2869
2875
|
modelValue: t.value,
|
|
2870
2876
|
"onUpdate:modelValue": n[4] || (n[4] = (c) => t.value = c)
|
|
2871
|
-
},
|
|
2872
|
-
|
|
2877
|
+
}, o.$attrs), null, 16, ["modelValue"])),
|
|
2878
|
+
o.showClearButton && t.value !== null && o.dataType !== "select" && o.dataType !== "multiselect" && o.dataType !== "date" ? (i(), h(u, {
|
|
2873
2879
|
key: 5,
|
|
2874
2880
|
onClick: Y(a, ["prevent"]),
|
|
2875
2881
|
size: "small",
|
|
@@ -2889,12 +2895,12 @@ const Qt = {
|
|
|
2889
2895
|
};
|
|
2890
2896
|
}
|
|
2891
2897
|
});
|
|
2892
|
-
function ge(e, t,
|
|
2893
|
-
const
|
|
2898
|
+
function ge(e, t, l, a) {
|
|
2899
|
+
const o = t.flatMap((n) => n.file);
|
|
2894
2900
|
return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
|
|
2895
|
-
const d =
|
|
2901
|
+
const d = o.findIndex((c) => c.name === n.name);
|
|
2896
2902
|
let u = "Not Uploaded";
|
|
2897
|
-
d === -1 ? ((!
|
|
2903
|
+
d === -1 ? ((!l.includes(n.type) || !(n.size <= a)) && (u = l.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
|
|
2898
2904
|
file: n,
|
|
2899
2905
|
status: u,
|
|
2900
2906
|
blobFileName: null
|
|
@@ -2905,24 +2911,24 @@ async function ya(e, t) {
|
|
|
2905
2911
|
if (e === "Uploaded" && t !== null)
|
|
2906
2912
|
try {
|
|
2907
2913
|
await new pe(t).delete();
|
|
2908
|
-
} catch (
|
|
2909
|
-
if (
|
|
2914
|
+
} catch (l) {
|
|
2915
|
+
if (l !== "BlobNotFound") {
|
|
2910
2916
|
e = "DeleteFileFailed";
|
|
2911
2917
|
return;
|
|
2912
2918
|
}
|
|
2913
2919
|
}
|
|
2914
2920
|
}
|
|
2915
|
-
function ue(e, t = !0,
|
|
2921
|
+
function ue(e, t = !0, l = 1) {
|
|
2916
2922
|
const a = t ? 1e3 : 1024;
|
|
2917
2923
|
if (Math.abs(e) < a)
|
|
2918
2924
|
return e + " B";
|
|
2919
|
-
const
|
|
2925
|
+
const o = t ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
|
|
2920
2926
|
let n = -1;
|
|
2921
|
-
const d = 10 **
|
|
2927
|
+
const d = 10 ** l;
|
|
2922
2928
|
do
|
|
2923
2929
|
e /= a, ++n;
|
|
2924
|
-
while (Math.round(Math.abs(e) * d) / d >= a && n <
|
|
2925
|
-
return e.toFixed(
|
|
2930
|
+
while (Math.round(Math.abs(e) * d) / d >= a && n < o.length - 1);
|
|
2931
|
+
return e.toFixed(l) + " " + o[n];
|
|
2926
2932
|
}
|
|
2927
2933
|
function ba(e) {
|
|
2928
2934
|
return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
|
|
@@ -2942,27 +2948,27 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
2942
2948
|
}),
|
|
2943
2949
|
emits: ["update:modelValue"],
|
|
2944
2950
|
setup(e) {
|
|
2945
|
-
const t = E(e, "modelValue"),
|
|
2946
|
-
t.value = ge(
|
|
2951
|
+
const t = E(e, "modelValue"), l = k(() => e.maxFileInput <= t.value.length), a = (o) => {
|
|
2952
|
+
t.value = ge(o, t.value, e.acceptedFileTypes, e.maxFileInput);
|
|
2947
2953
|
};
|
|
2948
|
-
return (
|
|
2949
|
-
B(
|
|
2954
|
+
return (o, n) => (i(), y("div", ga, [
|
|
2955
|
+
B(o.$slots, "message"),
|
|
2950
2956
|
m("div", null, [
|
|
2951
2957
|
m("input", {
|
|
2952
2958
|
id: "file-input",
|
|
2953
2959
|
type: "file",
|
|
2954
2960
|
class: "d-none",
|
|
2955
|
-
accept:
|
|
2956
|
-
disabled:
|
|
2957
|
-
multiple:
|
|
2961
|
+
accept: o.acceptedFileTypes.join(", "),
|
|
2962
|
+
disabled: l.value,
|
|
2963
|
+
multiple: o.maxFileInput > 1,
|
|
2958
2964
|
onInput: n[0] || (n[0] = (d) => a([...d.target.files]))
|
|
2959
2965
|
}, null, 40, ha),
|
|
2960
2966
|
m("label", {
|
|
2961
|
-
class: _([{ disabled:
|
|
2967
|
+
class: _([{ disabled: l.value }, "btn btn-primary"]),
|
|
2962
2968
|
id: "file-input-button",
|
|
2963
2969
|
for: "file-input"
|
|
2964
2970
|
}, [
|
|
2965
|
-
B(
|
|
2971
|
+
B(o.$slots, "button-content", {}, () => [
|
|
2966
2972
|
f(p(T), {
|
|
2967
2973
|
icon: "bi:upload",
|
|
2968
2974
|
class: "me-2",
|
|
@@ -2973,11 +2979,11 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
2973
2979
|
])
|
|
2974
2980
|
], 2)
|
|
2975
2981
|
]),
|
|
2976
|
-
|
|
2982
|
+
o.showDragDropArea ? (i(), y("div", {
|
|
2977
2983
|
class: "ms-auto",
|
|
2978
|
-
key:
|
|
2984
|
+
key: o.acceptedFileTypes.length,
|
|
2979
2985
|
id: "accepted-file-types"
|
|
2980
|
-
}, "Accepted File Types: " + w(
|
|
2986
|
+
}, "Accepted File Types: " + w(o.acceptedFileTypes.map((d) => d.split("/").pop()).join(", ")), 1)) : S("", !0)
|
|
2981
2987
|
]));
|
|
2982
2988
|
}
|
|
2983
2989
|
}), xa = {
|
|
@@ -2999,15 +3005,15 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
2999
3005
|
}),
|
|
3000
3006
|
emits: ["update:modelValue"],
|
|
3001
3007
|
setup(e) {
|
|
3002
|
-
const t = E(e, "modelValue"),
|
|
3003
|
-
|
|
3008
|
+
const t = E(e, "modelValue"), l = I(!1), a = k(() => e.maxFileInput <= t.value.length), o = (n) => {
|
|
3009
|
+
l.value = !1, n.dataTransfer.files.length > e.maxFileInput || a.value ? n.preventDefault() : t.value = ge([...n.dataTransfer.files], t.value, e.acceptedFileTypes, e.maxFileSize);
|
|
3004
3010
|
};
|
|
3005
3011
|
return (n, d) => (i(), y("div", {
|
|
3006
3012
|
id: "drag-drop-area",
|
|
3007
|
-
class: _(`${
|
|
3008
|
-
onDragleave: d[0] || (d[0] = Y((u) =>
|
|
3009
|
-
onDragover: d[1] || (d[1] = Y((u) =>
|
|
3010
|
-
onDrop: Y(
|
|
3013
|
+
class: _(`${l.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
|
|
3014
|
+
onDragleave: d[0] || (d[0] = Y((u) => l.value = !1, ["prevent"])),
|
|
3015
|
+
onDragover: d[1] || (d[1] = Y((u) => l.value = !0, ["prevent"])),
|
|
3016
|
+
onDrop: Y(o, ["prevent"])
|
|
3011
3017
|
}, [
|
|
3012
3018
|
t.value.length === 0 ? (i(), y("div", xa, [
|
|
3013
3019
|
f(p(T), {
|
|
@@ -3031,7 +3037,7 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3031
3037
|
uploadStatus: {}
|
|
3032
3038
|
},
|
|
3033
3039
|
setup(e) {
|
|
3034
|
-
const t = k(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"),
|
|
3040
|
+
const t = k(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), l = k(() => {
|
|
3035
3041
|
switch (e.uploadStatus) {
|
|
3036
3042
|
case "InvalidFileType":
|
|
3037
3043
|
return "Upload Failed: File type is not accepted.";
|
|
@@ -3047,7 +3053,7 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3047
3053
|
return "Upload Failed: Connection error, please try again.";
|
|
3048
3054
|
}
|
|
3049
3055
|
});
|
|
3050
|
-
return (a,
|
|
3056
|
+
return (a, o) => (i(), y("div", Ba, [
|
|
3051
3057
|
a.uploadStatus === "Uploading" ? (i(), h(Gt, {
|
|
3052
3058
|
key: 0,
|
|
3053
3059
|
pixelWidth: 200,
|
|
@@ -3066,7 +3072,7 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3066
3072
|
class: "mb-0 w-75 ms-auto"
|
|
3067
3073
|
}, {
|
|
3068
3074
|
default: b(() => [
|
|
3069
|
-
O(w(
|
|
3075
|
+
O(w(l.value), 1)
|
|
3070
3076
|
]),
|
|
3071
3077
|
_: 1
|
|
3072
3078
|
}, 8, ["severity"])) : S("", !0)
|
|
@@ -3081,7 +3087,7 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3081
3087
|
}, Ta = {
|
|
3082
3088
|
class: "text-black-50",
|
|
3083
3089
|
id: "file-size"
|
|
3084
|
-
},
|
|
3090
|
+
}, Ma = { class: "ms-auto my-auto d-flex" }, Pa = /* @__PURE__ */ V({
|
|
3085
3091
|
__name: "FileInfo",
|
|
3086
3092
|
props: /* @__PURE__ */ j({
|
|
3087
3093
|
editableFileName: { type: Boolean },
|
|
@@ -3100,52 +3106,52 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3100
3106
|
}),
|
|
3101
3107
|
emits: /* @__PURE__ */ j(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
|
|
3102
3108
|
setup(e, { emit: t }) {
|
|
3103
|
-
const
|
|
3104
|
-
|
|
3109
|
+
const l = E(e, "file"), a = E(e, "blobFileName"), o = E(e, "uploadStatus"), n = t, d = I(l.value.name), u = I(""), c = I(0), r = I(), s = k(() => e.acceptedFileTypes.includes(l.value.type)), v = k(() => l.value.size <= e.maxFileSize), x = () => {
|
|
3110
|
+
l.value = new File([l.value], d.value, { type: l.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
|
|
3105
3111
|
}, F = async () => {
|
|
3106
3112
|
if (!s.value || !v.value) {
|
|
3107
|
-
|
|
3113
|
+
o.value = s.value ? "InvalidFileSize" : "InvalidFileType";
|
|
3108
3114
|
return;
|
|
3109
3115
|
}
|
|
3110
|
-
|
|
3111
|
-
const [
|
|
3112
|
-
if (!
|
|
3113
|
-
|
|
3116
|
+
o.value = "Preparing", r.value = new AbortController();
|
|
3117
|
+
const [P, z] = await e.getFileUrlAction(l.value.name);
|
|
3118
|
+
if (!P) {
|
|
3119
|
+
o.value = "Failed";
|
|
3114
3120
|
return;
|
|
3115
3121
|
}
|
|
3116
3122
|
try {
|
|
3117
|
-
|
|
3118
|
-
const g = new pe(
|
|
3123
|
+
o.value = "Uploading";
|
|
3124
|
+
const g = new pe(P), $ = {
|
|
3119
3125
|
abortSignal: r.value.signal,
|
|
3120
3126
|
onProgress: (G) => c.value = G.loadedBytes,
|
|
3121
3127
|
tags: { temp: "true" }
|
|
3122
3128
|
};
|
|
3123
|
-
await g.uploadData(
|
|
3129
|
+
await g.uploadData(l.value, $), u.value = P, o.value = "Uploaded", a.value = z;
|
|
3124
3130
|
} catch (g) {
|
|
3125
3131
|
if (g.name === "AbortError") {
|
|
3126
|
-
|
|
3132
|
+
o.value = "Aborted";
|
|
3127
3133
|
return;
|
|
3128
3134
|
}
|
|
3129
|
-
|
|
3135
|
+
o.value = "Failed";
|
|
3130
3136
|
}
|
|
3131
|
-
},
|
|
3132
|
-
await ya(
|
|
3137
|
+
}, M = async () => {
|
|
3138
|
+
await ya(o.value, u.value), n("deleted", l.value);
|
|
3133
3139
|
};
|
|
3134
3140
|
return ae(() => {
|
|
3135
3141
|
e.autoUploadToBlob && F();
|
|
3136
|
-
}), (
|
|
3142
|
+
}), (P, z) => {
|
|
3137
3143
|
const g = L;
|
|
3138
3144
|
return i(), y("div", {
|
|
3139
3145
|
class: "py-4 px-3 d-flex",
|
|
3140
|
-
"data-cy": `file-info-${
|
|
3146
|
+
"data-cy": `file-info-${l.value.name}`
|
|
3141
3147
|
}, [
|
|
3142
3148
|
m("div", null, [
|
|
3143
|
-
p(ba)(
|
|
3149
|
+
p(ba)(l.value.type) ? (i(), h(p(Ue), {
|
|
3144
3150
|
key: 0,
|
|
3145
3151
|
id: "thumbnail-image",
|
|
3146
3152
|
"image-class": "image-file-thumbnail border",
|
|
3147
|
-
src: p(fa)(
|
|
3148
|
-
alt:
|
|
3153
|
+
src: p(fa)(l.value),
|
|
3154
|
+
alt: l.value.name,
|
|
3149
3155
|
width: "75px",
|
|
3150
3156
|
preview: ""
|
|
3151
3157
|
}, null, 8, ["src", "alt"])) : (i(), h(p(T), {
|
|
@@ -3158,40 +3164,40 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3158
3164
|
]),
|
|
3159
3165
|
m("div", Va, [
|
|
3160
3166
|
m("div", null, [
|
|
3161
|
-
|
|
3167
|
+
P.editableFileName ? (i(), h(Bt, {
|
|
3162
3168
|
key: 0,
|
|
3163
3169
|
id: "edit-file-name",
|
|
3164
3170
|
modelValue: d.value,
|
|
3165
3171
|
"onUpdate:modelValue": z[0] || (z[0] = ($) => d.value = $),
|
|
3166
|
-
rules:
|
|
3167
|
-
name:
|
|
3172
|
+
rules: P.customFileNameRules,
|
|
3173
|
+
name: l.value.name,
|
|
3168
3174
|
"complete-action": x
|
|
3169
|
-
}, null, 8, ["modelValue", "rules", "name"])) : (i(), y("span", Sa, w(
|
|
3175
|
+
}, null, 8, ["modelValue", "rules", "name"])) : (i(), y("span", Sa, w(l.value.name), 1))
|
|
3170
3176
|
]),
|
|
3171
|
-
m("span", Ca, "File type: " + w(
|
|
3172
|
-
m("span", Ta, "File size: " + w(p(ue)(
|
|
3177
|
+
m("span", Ca, "File type: " + w(l.value.type.split("/").pop()), 1),
|
|
3178
|
+
m("span", Ta, "File size: " + w(p(ue)(l.value.size)), 1)
|
|
3173
3179
|
]),
|
|
3174
|
-
m("div",
|
|
3180
|
+
m("div", Ma, [
|
|
3175
3181
|
(i(), h(Fa, {
|
|
3176
|
-
key:
|
|
3177
|
-
"file-size":
|
|
3178
|
-
"upload-status":
|
|
3182
|
+
key: o.value,
|
|
3183
|
+
"file-size": l.value.size,
|
|
3184
|
+
"upload-status": o.value,
|
|
3179
3185
|
"bytes-uploaded": c.value,
|
|
3180
|
-
"max-file-size":
|
|
3186
|
+
"max-file-size": P.maxFileSize
|
|
3181
3187
|
}, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
|
|
3182
|
-
|
|
3188
|
+
o.value === "Not Uploaded" || o.value === "Failed" || o.value === "Duplicate" || o.value === "Aborted" ? (i(), h(g, {
|
|
3183
3189
|
key: 0,
|
|
3184
3190
|
link: "",
|
|
3185
3191
|
onClick: F
|
|
3186
3192
|
}, {
|
|
3187
3193
|
default: b(() => [
|
|
3188
3194
|
f(p(T), {
|
|
3189
|
-
icon:
|
|
3195
|
+
icon: o.value === "Not Uploaded" || o.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
|
|
3190
3196
|
}, null, 8, ["icon"])
|
|
3191
3197
|
]),
|
|
3192
3198
|
_: 1
|
|
3193
3199
|
})) : S("", !0),
|
|
3194
|
-
|
|
3200
|
+
o.value === "Uploading" ? (i(), h(g, {
|
|
3195
3201
|
key: 1,
|
|
3196
3202
|
link: "",
|
|
3197
3203
|
onClick: z[1] || (z[1] = ($) => r.value.value.abort())
|
|
@@ -3203,7 +3209,7 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3203
3209
|
})) : (i(), h(g, {
|
|
3204
3210
|
key: 2,
|
|
3205
3211
|
link: "",
|
|
3206
|
-
onClick:
|
|
3212
|
+
onClick: M,
|
|
3207
3213
|
id: "delete-button"
|
|
3208
3214
|
}, {
|
|
3209
3215
|
default: b(() => [
|
|
@@ -3221,11 +3227,11 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3221
3227
|
maxFileSize: {}
|
|
3222
3228
|
},
|
|
3223
3229
|
setup(e) {
|
|
3224
|
-
return (t,
|
|
3230
|
+
return (t, l) => (i(), y("div", Ia, [
|
|
3225
3231
|
m("div", za, "Max file size: " + w(p(ue)(t.maxFileSize)), 1)
|
|
3226
3232
|
]));
|
|
3227
3233
|
}
|
|
3228
|
-
}), Da = { "data-cy": "file-uploader" }, Ua = { key: 0 },
|
|
3234
|
+
}), Da = { "data-cy": "file-uploader" }, Ua = { key: 0 }, Cl = /* @__PURE__ */ V({
|
|
3229
3235
|
__name: "ForgeFileUploader",
|
|
3230
3236
|
props: /* @__PURE__ */ j({
|
|
3231
3237
|
acceptedFileTypes: {},
|
|
@@ -3242,25 +3248,25 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3242
3248
|
}),
|
|
3243
3249
|
emits: ["update:modelValue"],
|
|
3244
3250
|
setup(e) {
|
|
3245
|
-
const t = E(e, "modelValue"),
|
|
3246
|
-
t.value = t.value.filter((n) => n.file !=
|
|
3251
|
+
const t = E(e, "modelValue"), l = e, a = (o) => {
|
|
3252
|
+
t.value = t.value.filter((n) => n.file != o);
|
|
3247
3253
|
};
|
|
3248
|
-
return (
|
|
3249
|
-
f(wa, C(
|
|
3254
|
+
return (o, n) => (i(), y("div", Da, [
|
|
3255
|
+
f(wa, C(l, {
|
|
3250
3256
|
modelValue: t.value,
|
|
3251
3257
|
"onUpdate:modelValue": n[0] || (n[0] = (d) => t.value = d)
|
|
3252
3258
|
}), null, 16, ["modelValue"]),
|
|
3253
|
-
|
|
3259
|
+
o.showDragDropArea ? (i(), y("div", Ua, [
|
|
3254
3260
|
f($a, {
|
|
3255
|
-
"max-file-input":
|
|
3256
|
-
"max-file-size":
|
|
3257
|
-
"accepted-file-types":
|
|
3261
|
+
"max-file-input": l.maxFileInput,
|
|
3262
|
+
"max-file-size": l.maxFileSize,
|
|
3263
|
+
"accepted-file-types": l.acceptedFileTypes,
|
|
3258
3264
|
modelValue: t.value,
|
|
3259
3265
|
"onUpdate:modelValue": n[1] || (n[1] = (d) => t.value = d)
|
|
3260
3266
|
}, {
|
|
3261
3267
|
default: b(() => [
|
|
3262
3268
|
(i(!0), y(N, null, q(t.value, ({ file: d }, u) => (i(), y("span", null, [
|
|
3263
|
-
(i(), h(
|
|
3269
|
+
(i(), h(Pa, C({
|
|
3264
3270
|
key: d.name,
|
|
3265
3271
|
class: u === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
|
|
3266
3272
|
file: t.value[u].file,
|
|
@@ -3270,13 +3276,13 @@ const ga = { class: "d-flex justify-content-between" }, ha = ["accept", "disable
|
|
|
3270
3276
|
"upload-status": t.value[u].status,
|
|
3271
3277
|
"onUpdate:uploadStatus": (c) => t.value[u].status = c,
|
|
3272
3278
|
ref_for: !0
|
|
3273
|
-
},
|
|
3279
|
+
}, l, { onDeleted: a }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
|
|
3274
3280
|
]))), 256))
|
|
3275
3281
|
]),
|
|
3276
3282
|
_: 1
|
|
3277
3283
|
}, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
|
|
3278
3284
|
f(Oa, {
|
|
3279
|
-
"max-file-size":
|
|
3285
|
+
"max-file-size": l.maxFileSize
|
|
3280
3286
|
}, null, 8, ["max-file-size"])
|
|
3281
3287
|
])) : S("", !0)
|
|
3282
3288
|
]));
|
|
@@ -3287,24 +3293,27 @@ export {
|
|
|
3287
3293
|
ml as ForgeActionButton,
|
|
3288
3294
|
se as ForgeAlert,
|
|
3289
3295
|
ve as ForgeCheckbox,
|
|
3290
|
-
|
|
3296
|
+
$l as ForgeChips,
|
|
3291
3297
|
fe as ForgeDatepicker,
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3298
|
+
Cl as ForgeFileUploader,
|
|
3299
|
+
Sl as ForgeFilterHeader,
|
|
3300
|
+
xl as ForgeForm,
|
|
3301
|
+
kl as ForgeFormField,
|
|
3296
3302
|
Bt as ForgeInlineEditor,
|
|
3297
3303
|
pl as ForgeLink,
|
|
3298
3304
|
ye as ForgeLoader,
|
|
3299
|
-
|
|
3305
|
+
bl as ForgeModal,
|
|
3300
3306
|
be as ForgeMultiSelect,
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3307
|
+
gl as ForgeMultiSelectPreview,
|
|
3308
|
+
fl as ForgeNavbar,
|
|
3309
|
+
hl as ForgePageHeader,
|
|
3304
3310
|
Gt as ForgeProgressBar,
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3311
|
+
wl as ForgeRemainingCharacters,
|
|
3312
|
+
Bl as ForgeStatWidget,
|
|
3313
|
+
Fl as ForgeStepper,
|
|
3314
|
+
Vl as ForgeTable,
|
|
3315
|
+
_l as ForgeTile,
|
|
3316
|
+
yl as convertToMultiSelectOption,
|
|
3317
|
+
vl as enumToMultiSelectList,
|
|
3318
|
+
yt as parseError
|
|
3310
3319
|
};
|