@3squared/forge-ui-3 2.14.2 → 2.15.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 +647 -624
- package/dist/index.d.ts +2 -1
- package/dist/src/components/ForgeConfirmPopup.vue.d.ts +15 -0
- package/package.json +3 -3
package/dist/esm/forge-ui-3.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Be from "primevue/message";
|
|
2
|
-
import { defineComponent as S, openBlock as
|
|
3
|
-
import { Icon as
|
|
2
|
+
import { defineComponent as S, openBlock as r, createBlock as b, normalizeProps as W, guardReactiveProps as G, withCtx as f, createElementVNode as m, normalizeClass as F, unref as u, createCommentVNode as C, createVNode as h, renderSlot as k, ref as P, createElementBlock as v, Fragment as A, mergeProps as _, renderList as E, mergeModels as R, useModel as N, computed as z, createTextVNode as M, toDisplayString as B, withDirectives as J, vShow as Z, createSlots as ae, onMounted as ne, isRef as Fe, withKeys as le, normalizeStyle as Se, withModifiers as X, watch as te, h as Ce, useTemplateRef as ze } from "vue";
|
|
3
|
+
import { Icon as j } from "@iconify/vue";
|
|
4
4
|
import q from "primevue/button";
|
|
5
5
|
import Te from "primevue/toast";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import _e from "primevue/autocomplete";
|
|
7
|
+
import je from "primevue/checkbox";
|
|
8
8
|
import { useField as oe } from "vee-validate";
|
|
9
9
|
import Pe from "primevue/progressspinner";
|
|
10
|
-
import
|
|
10
|
+
import Ie from "primevue/dialog";
|
|
11
11
|
import se from "primevue/inputtext";
|
|
12
12
|
import { vOnClickOutside as Me } from "@vueuse/components";
|
|
13
13
|
import Ve from "primevue/menubar";
|
|
@@ -31,7 +31,8 @@ import be from "primevue/popover";
|
|
|
31
31
|
import Ye from "primevue/image";
|
|
32
32
|
import Je from "primevue/panel";
|
|
33
33
|
import { ToggleButton as Ke } from "primevue";
|
|
34
|
-
|
|
34
|
+
import Ze from "primevue/confirmpopup";
|
|
35
|
+
const Xe = {
|
|
35
36
|
autoComplete: {
|
|
36
37
|
root: ({ props: e }) => ({
|
|
37
38
|
class: [
|
|
@@ -60,7 +61,7 @@ const Ze = {
|
|
|
60
61
|
}),
|
|
61
62
|
emptyMessage: "mx-3 my-2"
|
|
62
63
|
}
|
|
63
|
-
},
|
|
64
|
+
}, Qe = {
|
|
64
65
|
button: {
|
|
65
66
|
root: ({ props: e }) => ({
|
|
66
67
|
class: [
|
|
@@ -170,7 +171,7 @@ const Ze = {
|
|
|
170
171
|
})
|
|
171
172
|
}
|
|
172
173
|
}
|
|
173
|
-
},
|
|
174
|
+
}, et = {
|
|
174
175
|
checkbox: {
|
|
175
176
|
root: () => ({
|
|
176
177
|
class: ["form-check"]
|
|
@@ -185,7 +186,7 @@ const Ze = {
|
|
|
185
186
|
]
|
|
186
187
|
})
|
|
187
188
|
}
|
|
188
|
-
},
|
|
189
|
+
}, tt = {
|
|
189
190
|
select: {
|
|
190
191
|
root: ({ props: e }) => ({
|
|
191
192
|
class: [
|
|
@@ -235,7 +236,7 @@ const Ze = {
|
|
|
235
236
|
]
|
|
236
237
|
})
|
|
237
238
|
}
|
|
238
|
-
},
|
|
239
|
+
}, at = {
|
|
239
240
|
column: {
|
|
240
241
|
pcSortBadge: "ms-2 my-auto cursor-pointer",
|
|
241
242
|
headerCell: (e) => {
|
|
@@ -340,7 +341,7 @@ const Ze = {
|
|
|
340
341
|
]
|
|
341
342
|
})
|
|
342
343
|
}
|
|
343
|
-
},
|
|
344
|
+
}, it = {
|
|
344
345
|
inputtext: {
|
|
345
346
|
root: (e) => {
|
|
346
347
|
var t, a;
|
|
@@ -355,7 +356,7 @@ const Ze = {
|
|
|
355
356
|
};
|
|
356
357
|
}
|
|
357
358
|
}
|
|
358
|
-
},
|
|
359
|
+
}, lt = {
|
|
359
360
|
inputmask: {
|
|
360
361
|
root: () => ({
|
|
361
362
|
class: [
|
|
@@ -363,12 +364,12 @@ const Ze = {
|
|
|
363
364
|
]
|
|
364
365
|
})
|
|
365
366
|
}
|
|
366
|
-
},
|
|
367
|
+
}, nt = {
|
|
367
368
|
toggleSwitch: {
|
|
368
369
|
root: "form-check form-switch",
|
|
369
370
|
input: "form-check-input"
|
|
370
371
|
}
|
|
371
|
-
},
|
|
372
|
+
}, ot = {
|
|
372
373
|
tag: {
|
|
373
374
|
root: ({ props: e }) => ({
|
|
374
375
|
class: [
|
|
@@ -389,7 +390,7 @@ const Ze = {
|
|
|
389
390
|
]
|
|
390
391
|
})
|
|
391
392
|
}
|
|
392
|
-
},
|
|
393
|
+
}, st = {
|
|
393
394
|
textarea: {
|
|
394
395
|
root: () => ({
|
|
395
396
|
class: [
|
|
@@ -397,13 +398,13 @@ const Ze = {
|
|
|
397
398
|
]
|
|
398
399
|
})
|
|
399
400
|
}
|
|
400
|
-
},
|
|
401
|
+
}, rt = {
|
|
401
402
|
chip: {
|
|
402
403
|
root: "badge rounded-pill bg-primary-subtle text-primary d-inline-flex align-items-center border border-primary me-1 p-1",
|
|
403
404
|
label: "px-2 fs-6 fw-400",
|
|
404
405
|
removeIcon: "ms-auto my-auto"
|
|
405
406
|
}
|
|
406
|
-
},
|
|
407
|
+
}, dt = {
|
|
407
408
|
dialog: {
|
|
408
409
|
root: ({ parent: e }) => e.instance.$.type.name == "ConfirmDialog" ? {
|
|
409
410
|
class: ["modal modal-dialog modal-content h-auto m-0 modal-sm"]
|
|
@@ -462,7 +463,7 @@ const Ze = {
|
|
|
462
463
|
]
|
|
463
464
|
})
|
|
464
465
|
}
|
|
465
|
-
},
|
|
466
|
+
}, pt = {
|
|
466
467
|
popover: {
|
|
467
468
|
root: (e) => ({
|
|
468
469
|
class: [
|
|
@@ -476,7 +477,7 @@ const Ze = {
|
|
|
476
477
|
content: "d-flex position-relative",
|
|
477
478
|
closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
|
|
478
479
|
}
|
|
479
|
-
},
|
|
480
|
+
}, ct = {
|
|
480
481
|
message: {
|
|
481
482
|
root: ({ props: e }) => ({
|
|
482
483
|
class: [
|
|
@@ -506,7 +507,7 @@ const Ze = {
|
|
|
506
507
|
class: ["px-0 ms-2 btn d-flex"]
|
|
507
508
|
})
|
|
508
509
|
}
|
|
509
|
-
},
|
|
510
|
+
}, ut = {
|
|
510
511
|
// More PT options defined in ForgeStepper.
|
|
511
512
|
stepList: {
|
|
512
513
|
root: "d-flex mb-2 w-100"
|
|
@@ -534,7 +535,7 @@ const Ze = {
|
|
|
534
535
|
}),
|
|
535
536
|
separator: "border border-1 separator"
|
|
536
537
|
}
|
|
537
|
-
},
|
|
538
|
+
}, mt = {
|
|
538
539
|
tabList: {
|
|
539
540
|
root: () => ({
|
|
540
541
|
class: ["nav nav-tabs position-relative"]
|
|
@@ -559,7 +560,7 @@ const Ze = {
|
|
|
559
560
|
class: ["p-2"]
|
|
560
561
|
})
|
|
561
562
|
}
|
|
562
|
-
},
|
|
563
|
+
}, vt = {
|
|
563
564
|
// More PassThrough options defined in ForgeDatepicker.
|
|
564
565
|
datepicker: {
|
|
565
566
|
root: "d-inline-flex relative w-100",
|
|
@@ -634,7 +635,7 @@ const Ze = {
|
|
|
634
635
|
pcDecrementButton: { root: "btn btn-sm", label: "d-none" },
|
|
635
636
|
pcIncrementButton: { root: "btn btn-sm", label: "d-none" }
|
|
636
637
|
}
|
|
637
|
-
},
|
|
638
|
+
}, ft = {
|
|
638
639
|
multiselect: {
|
|
639
640
|
root: ({ props: e }) => ({
|
|
640
641
|
class: [
|
|
@@ -662,7 +663,7 @@ const Ze = {
|
|
|
662
663
|
class: "d-none"
|
|
663
664
|
})
|
|
664
665
|
}
|
|
665
|
-
},
|
|
666
|
+
}, gt = {
|
|
666
667
|
// More PassThrough options in component file.
|
|
667
668
|
progressbar: {
|
|
668
669
|
root: () => ({
|
|
@@ -672,7 +673,7 @@ const Ze = {
|
|
|
672
673
|
class: ["text-white m-1"]
|
|
673
674
|
})
|
|
674
675
|
}
|
|
675
|
-
},
|
|
676
|
+
}, bt = {
|
|
676
677
|
panel: {
|
|
677
678
|
root: "card w-100",
|
|
678
679
|
header: "h4 d-flex justify-content-between align-items-center fw-600 ms-4 me-3 my-2",
|
|
@@ -685,7 +686,7 @@ const Ze = {
|
|
|
685
686
|
},
|
|
686
687
|
contentContainer: "mt-2 mx-4 mb-4"
|
|
687
688
|
}
|
|
688
|
-
},
|
|
689
|
+
}, yt = {
|
|
689
690
|
// More PT options can be found in the ForgeTable file.
|
|
690
691
|
dataTable: {
|
|
691
692
|
root: "position-relative",
|
|
@@ -759,7 +760,7 @@ const Ze = {
|
|
|
759
760
|
]
|
|
760
761
|
})
|
|
761
762
|
}
|
|
762
|
-
},
|
|
763
|
+
}, xt = {
|
|
763
764
|
badge: {
|
|
764
765
|
root: ({ props: e }) => ({
|
|
765
766
|
class: [
|
|
@@ -781,7 +782,7 @@ const Ze = {
|
|
|
781
782
|
]
|
|
782
783
|
})
|
|
783
784
|
}
|
|
784
|
-
},
|
|
785
|
+
}, ht = {
|
|
785
786
|
// More PassThrough options in component file.
|
|
786
787
|
menubar: {
|
|
787
788
|
rootList: ({ instance: e }) => ({
|
|
@@ -862,7 +863,7 @@ const Ze = {
|
|
|
862
863
|
]
|
|
863
864
|
})
|
|
864
865
|
}
|
|
865
|
-
},
|
|
866
|
+
}, wt = {
|
|
866
867
|
tooltip: {
|
|
867
868
|
root: ({ context: e }) => ({
|
|
868
869
|
class: [
|
|
@@ -884,7 +885,7 @@ const Ze = {
|
|
|
884
885
|
class: ["tooltip-inner"]
|
|
885
886
|
}
|
|
886
887
|
}
|
|
887
|
-
},
|
|
888
|
+
}, kt = {
|
|
888
889
|
selectButton: {
|
|
889
890
|
root: () => ({
|
|
890
891
|
class: ["btn-group"]
|
|
@@ -902,7 +903,7 @@ const Ze = {
|
|
|
902
903
|
]
|
|
903
904
|
})
|
|
904
905
|
}
|
|
905
|
-
},
|
|
906
|
+
}, $t = {
|
|
906
907
|
splitbutton: {
|
|
907
908
|
root: () => ({
|
|
908
909
|
class: ["btn-group"]
|
|
@@ -948,7 +949,7 @@ const Ze = {
|
|
|
948
949
|
separator: "border-bottom"
|
|
949
950
|
}
|
|
950
951
|
}
|
|
951
|
-
},
|
|
952
|
+
}, Bt = {
|
|
952
953
|
progressspinner: {
|
|
953
954
|
spin: () => ({
|
|
954
955
|
class: [
|
|
@@ -956,7 +957,7 @@ const Ze = {
|
|
|
956
957
|
]
|
|
957
958
|
})
|
|
958
959
|
}
|
|
959
|
-
},
|
|
960
|
+
}, Ft = {
|
|
960
961
|
card: {
|
|
961
962
|
root: () => ({
|
|
962
963
|
class: ["card"]
|
|
@@ -980,11 +981,11 @@ const Ze = {
|
|
|
980
981
|
class: ["card-header"]
|
|
981
982
|
})
|
|
982
983
|
}
|
|
983
|
-
},
|
|
984
|
+
}, St = {
|
|
984
985
|
divider: {
|
|
985
986
|
root: "border-bottom w-100 m-1"
|
|
986
987
|
}
|
|
987
|
-
},
|
|
988
|
+
}, Ct = {
|
|
988
989
|
image: {
|
|
989
990
|
root: "position-relative d-inline-block",
|
|
990
991
|
previewMask: "preview-button",
|
|
@@ -997,7 +998,7 @@ const Ze = {
|
|
|
997
998
|
zoominbutton: "btn text-white",
|
|
998
999
|
closebutton: "btn text-white"
|
|
999
1000
|
}
|
|
1000
|
-
},
|
|
1001
|
+
}, zt = {
|
|
1001
1002
|
toast: {
|
|
1002
1003
|
message: () => ({
|
|
1003
1004
|
class: ["toast-container w-100 position-relative"]
|
|
@@ -1033,7 +1034,7 @@ const Ze = {
|
|
|
1033
1034
|
};
|
|
1034
1035
|
}
|
|
1035
1036
|
}
|
|
1036
|
-
},
|
|
1037
|
+
}, Tt = {
|
|
1037
1038
|
tree: {
|
|
1038
1039
|
node: "m-1",
|
|
1039
1040
|
nodeToggleButton: ({ context: e }) => ({
|
|
@@ -1065,7 +1066,7 @@ const Ze = {
|
|
|
1065
1066
|
pcFilterContainer: { root: "dropdown-item" },
|
|
1066
1067
|
filterIcon: "d-none"
|
|
1067
1068
|
}
|
|
1068
|
-
},
|
|
1069
|
+
}, _t = {
|
|
1069
1070
|
treeSelect: {
|
|
1070
1071
|
root: ({ props: e }) => ({
|
|
1071
1072
|
class: [
|
|
@@ -1139,7 +1140,7 @@ const Ze = {
|
|
|
1139
1140
|
]
|
|
1140
1141
|
})
|
|
1141
1142
|
}
|
|
1142
|
-
},
|
|
1143
|
+
}, Pt = {
|
|
1143
1144
|
accordionPanel: {
|
|
1144
1145
|
root: "card my-2"
|
|
1145
1146
|
},
|
|
@@ -1157,7 +1158,7 @@ const Ze = {
|
|
|
1157
1158
|
accordionContent: {
|
|
1158
1159
|
root: "mt-2 mx-4 mb-4"
|
|
1159
1160
|
}
|
|
1160
|
-
},
|
|
1161
|
+
}, It = {
|
|
1161
1162
|
// More PT options can be found in the ForgeTable file.
|
|
1162
1163
|
treetable: {
|
|
1163
1164
|
root: "position-relative",
|
|
@@ -1178,44 +1179,44 @@ const Ze = {
|
|
|
1178
1179
|
class: "table-overlay table-spinner"
|
|
1179
1180
|
})
|
|
1180
1181
|
}
|
|
1181
|
-
},
|
|
1182
|
-
...Ze,
|
|
1183
|
-
...yt,
|
|
1182
|
+
}, Ki = {
|
|
1184
1183
|
...Xe,
|
|
1185
|
-
...
|
|
1184
|
+
...xt,
|
|
1186
1185
|
...Qe,
|
|
1187
|
-
...st,
|
|
1188
|
-
...tt,
|
|
1189
|
-
...mt,
|
|
1190
|
-
...rt,
|
|
1191
1186
|
...Ft,
|
|
1192
1187
|
...et,
|
|
1193
|
-
...
|
|
1188
|
+
...rt,
|
|
1194
1189
|
...at,
|
|
1195
|
-
...it,
|
|
1196
|
-
...lt,
|
|
1197
|
-
...pt,
|
|
1198
1190
|
...vt,
|
|
1199
|
-
...xt,
|
|
1200
1191
|
...dt,
|
|
1192
|
+
...St,
|
|
1193
|
+
...tt,
|
|
1194
|
+
...Ct,
|
|
1195
|
+
...it,
|
|
1196
|
+
...lt,
|
|
1197
|
+
...nt,
|
|
1198
|
+
...ct,
|
|
1201
1199
|
...ft,
|
|
1202
|
-
|
|
1200
|
+
...ht,
|
|
1201
|
+
...pt,
|
|
1203
1202
|
...gt,
|
|
1204
|
-
...
|
|
1205
|
-
...kt,
|
|
1206
|
-
...ct,
|
|
1203
|
+
...Bt,
|
|
1207
1204
|
...bt,
|
|
1208
|
-
...
|
|
1205
|
+
...kt,
|
|
1206
|
+
...$t,
|
|
1209
1207
|
...ut,
|
|
1210
|
-
...
|
|
1208
|
+
...yt,
|
|
1211
1209
|
...ot,
|
|
1210
|
+
...mt,
|
|
1211
|
+
...zt,
|
|
1212
|
+
...st,
|
|
1212
1213
|
...jt,
|
|
1214
|
+
..._t,
|
|
1213
1215
|
...Tt,
|
|
1214
|
-
...zt,
|
|
1215
|
-
...It,
|
|
1216
1216
|
...Pt,
|
|
1217
|
+
...It,
|
|
1217
1218
|
directives: {
|
|
1218
|
-
...
|
|
1219
|
+
...wt
|
|
1219
1220
|
}
|
|
1220
1221
|
}, de = /* @__PURE__ */ S({
|
|
1221
1222
|
__name: "ForgeAlert",
|
|
@@ -1238,12 +1239,12 @@ const Ze = {
|
|
|
1238
1239
|
const t = e;
|
|
1239
1240
|
return (a, i) => {
|
|
1240
1241
|
const l = Be;
|
|
1241
|
-
return
|
|
1242
|
-
icon:
|
|
1242
|
+
return r(), b(l, W(G({ ...a.$attrs, ...t })), {
|
|
1243
|
+
icon: f(() => [
|
|
1243
1244
|
m("div", {
|
|
1244
1245
|
class: F(t.icon ? "me-2 pe-1" : "")
|
|
1245
1246
|
}, [
|
|
1246
|
-
t.icon ? (
|
|
1247
|
+
t.icon ? (r(), b(u(j), {
|
|
1247
1248
|
key: 0,
|
|
1248
1249
|
"data-cy": "message-icon",
|
|
1249
1250
|
icon: t.icon,
|
|
@@ -1252,17 +1253,17 @@ const Ze = {
|
|
|
1252
1253
|
}, null, 8, ["icon", "class"])) : C("", !0)
|
|
1253
1254
|
], 2)
|
|
1254
1255
|
]),
|
|
1255
|
-
closeicon:
|
|
1256
|
-
h(u(
|
|
1256
|
+
closeicon: f(() => [
|
|
1257
|
+
h(u(j), { icon: "bi:x" })
|
|
1257
1258
|
]),
|
|
1258
|
-
default:
|
|
1259
|
-
|
|
1259
|
+
default: f(() => [
|
|
1260
|
+
k(a.$slots, "default")
|
|
1260
1261
|
]),
|
|
1261
1262
|
_: 3
|
|
1262
1263
|
}, 16);
|
|
1263
1264
|
};
|
|
1264
1265
|
}
|
|
1265
|
-
}),
|
|
1266
|
+
}), Zi = /* @__PURE__ */ S({
|
|
1266
1267
|
__name: "ForgeActionButton",
|
|
1267
1268
|
props: {
|
|
1268
1269
|
action: {},
|
|
@@ -1282,8 +1283,8 @@ const Ze = {
|
|
|
1282
1283
|
};
|
|
1283
1284
|
return (l, n) => {
|
|
1284
1285
|
const o = q;
|
|
1285
|
-
return
|
|
1286
|
-
h(o,
|
|
1286
|
+
return r(), v(A, null, [
|
|
1287
|
+
h(o, _({ ...a, ...l.$attrs }, {
|
|
1287
1288
|
loading: t.value,
|
|
1288
1289
|
disabled: t.value || a.disabled,
|
|
1289
1290
|
onClick: i
|
|
@@ -1292,17 +1293,17 @@ const Ze = {
|
|
|
1292
1293
|
], 64);
|
|
1293
1294
|
};
|
|
1294
1295
|
}
|
|
1295
|
-
}),
|
|
1296
|
+
}), Xi = /* @__PURE__ */ S({
|
|
1296
1297
|
__name: "ForgeAutoComplete",
|
|
1297
1298
|
setup(e) {
|
|
1298
|
-
return (t, a) => (
|
|
1299
|
-
default:
|
|
1300
|
-
(
|
|
1299
|
+
return (t, a) => (r(), b(u(_e), _({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
|
|
1300
|
+
default: f(() => [
|
|
1301
|
+
(r(!0), v(A, null, E(t.$slots, (i, l) => k(t.$slots, l, { slot: l })), 256))
|
|
1301
1302
|
]),
|
|
1302
1303
|
_: 3
|
|
1303
1304
|
}, 16));
|
|
1304
1305
|
}
|
|
1305
|
-
}),
|
|
1306
|
+
}), Mt = { class: "d-flex flex-column" }, Vt = ["for"], ye = /* @__PURE__ */ S({
|
|
1306
1307
|
__name: "ForgeCheckbox",
|
|
1307
1308
|
props: /* @__PURE__ */ R({
|
|
1308
1309
|
label: { default: "" },
|
|
@@ -1346,32 +1347,32 @@ const Ze = {
|
|
|
1346
1347
|
}
|
|
1347
1348
|
), o = (p, c) => {
|
|
1348
1349
|
(t.disabled || t.readonly) && p.preventDefault(), t.name ? i(c) : a.value = c;
|
|
1349
|
-
}, s =
|
|
1350
|
+
}, s = z(() => l.value.length > 0);
|
|
1350
1351
|
return (p, c) => {
|
|
1351
|
-
const y =
|
|
1352
|
-
return
|
|
1353
|
-
m("div",
|
|
1352
|
+
const y = je;
|
|
1353
|
+
return r(), v("div", Mt, [
|
|
1354
|
+
m("div", _({
|
|
1354
1355
|
class: "d-flex",
|
|
1355
1356
|
"data-cy": "checkbox-container",
|
|
1356
|
-
onClick: c[2] || (c[2] = (
|
|
1357
|
+
onClick: c[2] || (c[2] = (d) => o(d, a.value))
|
|
1357
1358
|
}, { ...p.$attrs }), [
|
|
1358
|
-
h(y,
|
|
1359
|
+
h(y, _({ ...t }, {
|
|
1359
1360
|
binary: "",
|
|
1360
1361
|
modelValue: a.value,
|
|
1361
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
1362
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => a.value = d),
|
|
1362
1363
|
"input-id": t.name,
|
|
1363
1364
|
"input-class": { "is-invalid": s.value },
|
|
1364
1365
|
class: t.disabled || t.readonly ? "" : "cursor-pointer"
|
|
1365
1366
|
}), null, 16, ["modelValue", "input-id", "input-class", "class"]),
|
|
1366
1367
|
m("label", {
|
|
1367
1368
|
for: t.name,
|
|
1368
|
-
onClick: c[1] || (c[1] = (
|
|
1369
|
+
onClick: c[1] || (c[1] = (d) => o(d, !a.value)),
|
|
1369
1370
|
class: F([`${t.disabled || t.readonly ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
|
|
1370
1371
|
}, [
|
|
1371
|
-
|
|
1372
|
+
k(p.$slots, "default", {}, () => [
|
|
1372
1373
|
M(B(t.label), 1)
|
|
1373
1374
|
])
|
|
1374
|
-
], 10,
|
|
1375
|
+
], 10, Vt)
|
|
1375
1376
|
], 16),
|
|
1376
1377
|
J(m("small", {
|
|
1377
1378
|
"data-cy": "error",
|
|
@@ -1389,7 +1390,7 @@ const Ze = {
|
|
|
1389
1390
|
inLine: { type: Boolean, default: !1 }
|
|
1390
1391
|
},
|
|
1391
1392
|
setup(e) {
|
|
1392
|
-
const t = e, a =
|
|
1393
|
+
const t = e, a = z(() => ({
|
|
1393
1394
|
spin: () => ({
|
|
1394
1395
|
class: [
|
|
1395
1396
|
"spinner-border",
|
|
@@ -1401,7 +1402,7 @@ const Ze = {
|
|
|
1401
1402
|
}));
|
|
1402
1403
|
return (i, l) => {
|
|
1403
1404
|
const n = Pe;
|
|
1404
|
-
return
|
|
1405
|
+
return r(), v("div", {
|
|
1405
1406
|
class: F(i.inLine ? "" : "forge-loader")
|
|
1406
1407
|
}, [
|
|
1407
1408
|
h(n, {
|
|
@@ -1412,7 +1413,7 @@ const Ze = {
|
|
|
1412
1413
|
], 2);
|
|
1413
1414
|
};
|
|
1414
1415
|
}
|
|
1415
|
-
}),
|
|
1416
|
+
}), Dt = ["href", "target"], Qi = /* @__PURE__ */ S({
|
|
1416
1417
|
__name: "ForgeLink",
|
|
1417
1418
|
props: {
|
|
1418
1419
|
url: {},
|
|
@@ -1430,7 +1431,7 @@ const Ze = {
|
|
|
1430
1431
|
iconName: {}
|
|
1431
1432
|
},
|
|
1432
1433
|
setup(e) {
|
|
1433
|
-
const t =
|
|
1434
|
+
const t = z(() => ({
|
|
1434
1435
|
[`link-${e.severity}`]: e.severity,
|
|
1435
1436
|
[`link-underline-${e.underlineSeverity}`]: e.underlineSeverity,
|
|
1436
1437
|
[`link-opacity-${e.opacity}`]: e.opacity,
|
|
@@ -1439,21 +1440,21 @@ const Ze = {
|
|
|
1439
1440
|
[`link-underline-opacity-${e.underlineHoverOpacity ?? e.hoverOpacity}-hover`]: e.underlineHoverOpacity || e.hoverOpacity,
|
|
1440
1441
|
[`link-offset-${e.underlineOffset}`]: e.underlineOffset,
|
|
1441
1442
|
"icon-link icon-link-hover": e.animateIconOnHover
|
|
1442
|
-
})), a =
|
|
1443
|
+
})), a = z(() => ({
|
|
1443
1444
|
"order-2": e.positionIconEnd,
|
|
1444
1445
|
"me-1": !e.positionIconEnd && !e.animateIconOnHover,
|
|
1445
1446
|
"ms-1": e.positionIconEnd && !e.animateIconOnHover,
|
|
1446
1447
|
"ms-0": e.positionIconEnd && e.animateIconOnHover,
|
|
1447
1448
|
"me-0": e.animateIconOnHover
|
|
1448
1449
|
}));
|
|
1449
|
-
return (i, l) => (
|
|
1450
|
+
return (i, l) => (r(), v("a", {
|
|
1450
1451
|
id: "link",
|
|
1451
1452
|
class: F(["cursor-pointer d-flex text-break", t.value]),
|
|
1452
1453
|
href: i.url,
|
|
1453
1454
|
target: i.target
|
|
1454
1455
|
}, [
|
|
1455
|
-
|
|
1456
|
-
i.iconName ? (
|
|
1456
|
+
k(i.$slots, "default", {}, () => [
|
|
1457
|
+
i.iconName ? (r(), b(u(j), {
|
|
1457
1458
|
key: 0,
|
|
1458
1459
|
id: "link-icon",
|
|
1459
1460
|
icon: i.iconName,
|
|
@@ -1461,10 +1462,10 @@ const Ze = {
|
|
|
1461
1462
|
}, null, 8, ["icon", "class"])) : C("", !0),
|
|
1462
1463
|
M(" " + B(i.label), 1)
|
|
1463
1464
|
])
|
|
1464
|
-
], 10,
|
|
1465
|
+
], 10, Dt));
|
|
1465
1466
|
}
|
|
1466
1467
|
});
|
|
1467
|
-
function
|
|
1468
|
+
function Ot(e) {
|
|
1468
1469
|
const t = {
|
|
1469
1470
|
errorMessage: "",
|
|
1470
1471
|
errorDetails: []
|
|
@@ -1475,16 +1476,16 @@ function Dt(e) {
|
|
|
1475
1476
|
}
|
|
1476
1477
|
return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
|
|
1477
1478
|
}
|
|
1478
|
-
function
|
|
1479
|
+
function el(e, t) {
|
|
1479
1480
|
return e.map((a) => ({ id: a, label: t ? t(a) : `${a}` }));
|
|
1480
1481
|
}
|
|
1481
|
-
function
|
|
1482
|
+
function tl(e, t, a) {
|
|
1482
1483
|
return { id: e, label: t ?? e.toString(), shortLabel: a };
|
|
1483
1484
|
}
|
|
1484
|
-
const
|
|
1485
|
+
const Nt = { key: 0 }, At = {
|
|
1485
1486
|
class: "d-flex w-100",
|
|
1486
1487
|
"data-cy": "footer"
|
|
1487
|
-
},
|
|
1488
|
+
}, al = /* @__PURE__ */ S({
|
|
1488
1489
|
__name: "ForgeModal",
|
|
1489
1490
|
props: /* @__PURE__ */ R({
|
|
1490
1491
|
cancelText: { default: "Cancel" },
|
|
@@ -1561,20 +1562,20 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1561
1562
|
i.value = !0;
|
|
1562
1563
|
}, y = () => {
|
|
1563
1564
|
l.resetErrorOnClose && s(), a.value = !1;
|
|
1564
|
-
},
|
|
1565
|
+
}, d = async () => {
|
|
1565
1566
|
if (l.onConfirm) {
|
|
1566
1567
|
n.value = !0, o.value.hasError = !1;
|
|
1567
1568
|
try {
|
|
1568
|
-
const
|
|
1569
|
-
(
|
|
1570
|
-
} catch (
|
|
1569
|
+
const T = await l.onConfirm();
|
|
1570
|
+
(T || T == null) && y();
|
|
1571
|
+
} catch (T) {
|
|
1571
1572
|
o.value.hasError = !0;
|
|
1572
|
-
const D =
|
|
1573
|
+
const D = Ot(T);
|
|
1573
1574
|
o.value.header = D.errorMessage, o.value.message = D.errorDetails;
|
|
1574
1575
|
}
|
|
1575
1576
|
n.value = !1;
|
|
1576
1577
|
}
|
|
1577
|
-
},
|
|
1578
|
+
}, $ = z(() => ({
|
|
1578
1579
|
root: [
|
|
1579
1580
|
"modal modal-dialog modal-content h-auto m-0",
|
|
1580
1581
|
{
|
|
@@ -1591,15 +1592,15 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1591
1592
|
}
|
|
1592
1593
|
]
|
|
1593
1594
|
}));
|
|
1594
|
-
return (
|
|
1595
|
-
const O = q,
|
|
1596
|
-
return
|
|
1595
|
+
return (T, D) => {
|
|
1596
|
+
const O = q, U = Ie;
|
|
1597
|
+
return r(), b(U, _(l, {
|
|
1597
1598
|
onMaximize: c,
|
|
1598
1599
|
onUnmaximize: p,
|
|
1599
|
-
pt:
|
|
1600
|
+
pt: $.value
|
|
1600
1601
|
}), ae({
|
|
1601
|
-
closeicon:
|
|
1602
|
-
h(u(
|
|
1602
|
+
closeicon: f(() => [
|
|
1603
|
+
h(u(j), {
|
|
1603
1604
|
"data-cy": "close-icon",
|
|
1604
1605
|
icon: "bi:x-lg",
|
|
1605
1606
|
width: "18",
|
|
@@ -1607,8 +1608,8 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1607
1608
|
onClick: y
|
|
1608
1609
|
})
|
|
1609
1610
|
]),
|
|
1610
|
-
maximizeicon:
|
|
1611
|
-
h(u(
|
|
1611
|
+
maximizeicon: f(() => [
|
|
1612
|
+
h(u(j), {
|
|
1612
1613
|
"data-cy": "maximisable-icon",
|
|
1613
1614
|
icon: i.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
|
|
1614
1615
|
width: "16",
|
|
@@ -1617,38 +1618,38 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1617
1618
|
]),
|
|
1618
1619
|
_: 2
|
|
1619
1620
|
}, [
|
|
1620
|
-
|
|
1621
|
+
E(T.$slots, (x, w) => ({
|
|
1621
1622
|
name: w,
|
|
1622
|
-
fn:
|
|
1623
|
-
w !== "footer" ? (
|
|
1624
|
-
o.value.hasError ? (
|
|
1623
|
+
fn: f((I) => [
|
|
1624
|
+
w !== "footer" ? (r(), v(A, { key: 0 }, [
|
|
1625
|
+
o.value.hasError ? (r(), b(de, {
|
|
1625
1626
|
key: 0,
|
|
1626
1627
|
severity: "danger",
|
|
1627
1628
|
"data-cy": "error"
|
|
1628
1629
|
}, {
|
|
1629
|
-
default:
|
|
1630
|
+
default: f(() => [
|
|
1630
1631
|
m("p", {
|
|
1631
1632
|
class: F(o.value.message.length > 0 ? "my-auto" : "mb-0")
|
|
1632
1633
|
}, B(o.value.header), 3),
|
|
1633
|
-
o.value.message.length > 0 ? (
|
|
1634
|
-
(
|
|
1634
|
+
o.value.message.length > 0 ? (r(), v("ul", Nt, [
|
|
1635
|
+
(r(!0), v(A, null, E(o.value.message, (g) => (r(), v("li", { key: g }, B(g), 1))), 128))
|
|
1635
1636
|
])) : C("", !0)
|
|
1636
1637
|
]),
|
|
1637
1638
|
_: 1
|
|
1638
1639
|
})) : C("", !0)
|
|
1639
1640
|
], 64)) : C("", !0),
|
|
1640
|
-
|
|
1641
|
-
n.value ?
|
|
1641
|
+
k(T.$slots, w, W(G(I || {}))),
|
|
1642
|
+
n.value ? k(T.$slots, "loader", { key: 1 }, () => [
|
|
1642
1643
|
h(pe, { "data-cy": "loader" })
|
|
1643
1644
|
]) : C("", !0)
|
|
1644
1645
|
])
|
|
1645
1646
|
})),
|
|
1646
|
-
|
|
1647
|
+
T.showFooter ? {
|
|
1647
1648
|
name: "footer",
|
|
1648
|
-
fn:
|
|
1649
|
-
m("div",
|
|
1649
|
+
fn: f(() => [
|
|
1650
|
+
m("div", At, [
|
|
1650
1651
|
h(O, {
|
|
1651
|
-
label:
|
|
1652
|
+
label: T.cancelText,
|
|
1652
1653
|
class: F(l.cancelClass),
|
|
1653
1654
|
outlined: "",
|
|
1654
1655
|
onClick: y,
|
|
@@ -1656,9 +1657,9 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1656
1657
|
type: l.cancelButtonType
|
|
1657
1658
|
}, null, 8, ["label", "class", "type"]),
|
|
1658
1659
|
h(O, {
|
|
1659
|
-
label:
|
|
1660
|
+
label: T.submitText,
|
|
1660
1661
|
class: F([l.submitClass, "ms-auto"]),
|
|
1661
|
-
onClick:
|
|
1662
|
+
onClick: d,
|
|
1662
1663
|
id: "submit-button",
|
|
1663
1664
|
type: l.submitButtonType
|
|
1664
1665
|
}, null, 8, ["label", "class", "type"])
|
|
@@ -1669,7 +1670,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1669
1670
|
]), 1040, ["pt"]);
|
|
1670
1671
|
};
|
|
1671
1672
|
}
|
|
1672
|
-
}),
|
|
1673
|
+
}), Et = ["id"], Ut = { key: 0 }, qt = { key: 0 }, Lt = { class: "d-flex justify-content-between align-items-center position-relative" }, Rt = { key: 1 }, Ht = { "data-cy": "readonly-value" }, Wt = /* @__PURE__ */ S({
|
|
1673
1674
|
__name: "ForgeInlineEditor",
|
|
1674
1675
|
props: /* @__PURE__ */ R({
|
|
1675
1676
|
name: { default: "" },
|
|
@@ -1685,12 +1686,12 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1685
1686
|
emits: ["update:modelValue"],
|
|
1686
1687
|
setup(e) {
|
|
1687
1688
|
const t = e, a = N(e, "modelValue"), i = P(!1), l = P(), n = () => {
|
|
1688
|
-
var
|
|
1689
|
-
i.value = !i.value, (
|
|
1689
|
+
var T;
|
|
1690
|
+
i.value = !i.value, (T = l.value) == null || T.focus();
|
|
1690
1691
|
}, o = async () => {
|
|
1691
|
-
if (
|
|
1692
|
+
if ($.value)
|
|
1692
1693
|
return !1;
|
|
1693
|
-
if (a.value =
|
|
1694
|
+
if (a.value = d.value, t.completeAction)
|
|
1694
1695
|
try {
|
|
1695
1696
|
await t.completeAction.apply(this, t.params), i.value = !i.value;
|
|
1696
1697
|
} catch {
|
|
@@ -1701,47 +1702,47 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1701
1702
|
}, s = () => {
|
|
1702
1703
|
i.value = !i.value;
|
|
1703
1704
|
}, p = () => {
|
|
1704
|
-
|
|
1705
|
-
}, { errorMessage: c, errors: y, value:
|
|
1705
|
+
d.value = null;
|
|
1706
|
+
}, { errorMessage: c, errors: y, value: d } = oe(() => t.name, void 0, {
|
|
1706
1707
|
initialValue: a.value
|
|
1707
1708
|
});
|
|
1708
1709
|
ne(() => {
|
|
1709
|
-
|
|
1710
|
+
d.value = a.value;
|
|
1710
1711
|
});
|
|
1711
|
-
const
|
|
1712
|
-
return (
|
|
1713
|
-
const O = se,
|
|
1714
|
-
return
|
|
1712
|
+
const $ = z(() => y.value.length > 0);
|
|
1713
|
+
return (T, D) => {
|
|
1714
|
+
const O = se, U = q;
|
|
1715
|
+
return r(), v("div", {
|
|
1715
1716
|
id: t.name
|
|
1716
1717
|
}, [
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
m("span",
|
|
1718
|
+
T.readonly ? (r(), v("div", Rt, [
|
|
1719
|
+
k(T.$slots, "default", {}, () => [
|
|
1720
|
+
m("span", Ht, B(u(d)), 1)
|
|
1720
1721
|
])
|
|
1721
|
-
])) : (
|
|
1722
|
-
i.value ? (
|
|
1723
|
-
J((
|
|
1724
|
-
|
|
1725
|
-
class: F({ "is-invalid":
|
|
1722
|
+
])) : (r(), v("div", Ut, [
|
|
1723
|
+
i.value ? (r(), v("div", qt, [
|
|
1724
|
+
J((r(), v("div", Lt, [
|
|
1725
|
+
k(T.$slots, "editor", {
|
|
1726
|
+
class: F({ "is-invalid": $.value }),
|
|
1726
1727
|
editFinished: o,
|
|
1727
1728
|
cancel: s,
|
|
1728
|
-
val: u(
|
|
1729
|
+
val: u(d)
|
|
1729
1730
|
}, () => [
|
|
1730
1731
|
h(O, {
|
|
1731
|
-
modelValue: u(
|
|
1732
|
-
"onUpdate:modelValue": D[0] || (D[0] = (x) => Fe(
|
|
1732
|
+
modelValue: u(d),
|
|
1733
|
+
"onUpdate:modelValue": D[0] || (D[0] = (x) => Fe(d) ? d.value = x : null),
|
|
1733
1734
|
modelModifiers: { trim: !0 },
|
|
1734
1735
|
"data-cy": "input",
|
|
1735
1736
|
ref_key: "input",
|
|
1736
1737
|
ref: l,
|
|
1737
|
-
class: F({ "is-invalid":
|
|
1738
|
+
class: F({ "is-invalid": $.value }),
|
|
1738
1739
|
onKeydown: [
|
|
1739
1740
|
le(o, ["enter"]),
|
|
1740
1741
|
le(s, ["esc"])
|
|
1741
1742
|
]
|
|
1742
1743
|
}, null, 8, ["modelValue", "class"])
|
|
1743
1744
|
]),
|
|
1744
|
-
h(u(
|
|
1745
|
+
h(u(j), {
|
|
1745
1746
|
icon: "bi:x-circle",
|
|
1746
1747
|
class: "mx-2 cursor-pointer",
|
|
1747
1748
|
onClick: p,
|
|
@@ -1751,26 +1752,26 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1751
1752
|
])), [
|
|
1752
1753
|
[u(Me), o]
|
|
1753
1754
|
])
|
|
1754
|
-
])) : (
|
|
1755
|
+
])) : (r(), v("div", {
|
|
1755
1756
|
key: 1,
|
|
1756
1757
|
class: "d-flex text-muted",
|
|
1757
1758
|
onClick: n,
|
|
1758
1759
|
onFocus: n
|
|
1759
1760
|
}, [
|
|
1760
|
-
|
|
1761
|
+
k(T.$slots, "default", {}, () => [
|
|
1761
1762
|
m("div", {
|
|
1762
|
-
class: F(["pe-2 cursor-pointer", { "text-invalid":
|
|
1763
|
+
class: F(["pe-2 cursor-pointer", { "text-invalid": $.value }]),
|
|
1763
1764
|
"data-cy": "value"
|
|
1764
|
-
}, B(u(
|
|
1765
|
+
}, B(u(d) ? u(d) : "Click to edit"), 3)
|
|
1765
1766
|
]),
|
|
1766
|
-
h(
|
|
1767
|
+
h(U, {
|
|
1767
1768
|
link: "",
|
|
1768
1769
|
class: "p-0 m-0"
|
|
1769
1770
|
}, {
|
|
1770
|
-
default:
|
|
1771
|
-
h(u(
|
|
1771
|
+
default: f(() => [
|
|
1772
|
+
h(u(j), {
|
|
1772
1773
|
icon: "bi:pencil",
|
|
1773
|
-
class: F(
|
|
1774
|
+
class: F($.value ? "text-invalid" : "text-muted"),
|
|
1774
1775
|
"data-cy": "edit-icon",
|
|
1775
1776
|
onKeydown: le(n, ["enter"])
|
|
1776
1777
|
}, null, 8, ["class"])
|
|
@@ -1783,12 +1784,12 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1783
1784
|
"data-cy": "error",
|
|
1784
1785
|
class: "text-invalid"
|
|
1785
1786
|
}, B(u(c)), 513), [
|
|
1786
|
-
[Z,
|
|
1787
|
+
[Z, $.value]
|
|
1787
1788
|
])
|
|
1788
|
-
], 8,
|
|
1789
|
+
], 8, Et);
|
|
1789
1790
|
};
|
|
1790
1791
|
}
|
|
1791
|
-
}),
|
|
1792
|
+
}), Gt = ["href"], il = /* @__PURE__ */ S({
|
|
1792
1793
|
__name: "ForgeNavbar",
|
|
1793
1794
|
props: {
|
|
1794
1795
|
severity: { default: "light" },
|
|
@@ -1805,7 +1806,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1805
1806
|
unstyled: { type: Boolean }
|
|
1806
1807
|
},
|
|
1807
1808
|
setup(e) {
|
|
1808
|
-
const t = e, a =
|
|
1809
|
+
const t = e, a = z(() => ({
|
|
1809
1810
|
root: () => ({
|
|
1810
1811
|
class: [
|
|
1811
1812
|
"navbar container-fluid navbar-expand-lg",
|
|
@@ -1833,24 +1834,24 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1833
1834
|
]
|
|
1834
1835
|
})
|
|
1835
1836
|
}));
|
|
1836
|
-
return (i, l) => (
|
|
1837
|
+
return (i, l) => (r(), b(u(Ve), _({ ...t, ...i.$attrs }, {
|
|
1837
1838
|
pt: a.value,
|
|
1838
1839
|
"data-cy": "navbar"
|
|
1839
1840
|
}), ae({
|
|
1840
|
-
start:
|
|
1841
|
+
start: f(() => [
|
|
1841
1842
|
m("a", {
|
|
1842
1843
|
href: i.logoUrl,
|
|
1843
1844
|
class: "navbar-brand ms-3",
|
|
1844
1845
|
"data-cy": "logo"
|
|
1845
1846
|
}, [
|
|
1846
|
-
|
|
1847
|
+
k(i.$slots, "logo", {}, () => [
|
|
1847
1848
|
l[0] || (l[0] = M(" Logo "))
|
|
1848
1849
|
])
|
|
1849
|
-
], 8,
|
|
1850
|
+
], 8, Gt)
|
|
1850
1851
|
]),
|
|
1851
|
-
buttonicon:
|
|
1852
|
-
|
|
1853
|
-
h(u(
|
|
1852
|
+
buttonicon: f(() => [
|
|
1853
|
+
k(i.$slots, "buttonIcon", {}, () => [
|
|
1854
|
+
h(u(j), {
|
|
1854
1855
|
icon: "bi:list",
|
|
1855
1856
|
class: F(t.severity === "light" ? "text-black" : "text-white"),
|
|
1856
1857
|
height: "24",
|
|
@@ -1860,22 +1861,22 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1860
1861
|
]),
|
|
1861
1862
|
_: 2
|
|
1862
1863
|
}, [
|
|
1863
|
-
|
|
1864
|
+
E(i.$slots, (n, o) => ({
|
|
1864
1865
|
name: o,
|
|
1865
|
-
fn:
|
|
1866
|
-
|
|
1866
|
+
fn: f((s) => [
|
|
1867
|
+
k(i.$slots, o, W(G(s)))
|
|
1867
1868
|
])
|
|
1868
1869
|
}))
|
|
1869
1870
|
]), 1040, ["pt"]));
|
|
1870
1871
|
}
|
|
1871
|
-
}),
|
|
1872
|
+
}), Yt = { class: "border alternating-item-list" }, Jt = {
|
|
1872
1873
|
key: 0,
|
|
1873
1874
|
class: "p-2 border-top border-bottom",
|
|
1874
1875
|
"data-cy": "title"
|
|
1875
|
-
},
|
|
1876
|
+
}, Kt = { class: "d-inline-block" }, Zt = {
|
|
1876
1877
|
key: 1,
|
|
1877
1878
|
class: "p-2 item d-flex justify-content-between align-items-center"
|
|
1878
|
-
},
|
|
1879
|
+
}, Xt = /* @__PURE__ */ S({
|
|
1879
1880
|
__name: "ForgeMultiSelectPreview",
|
|
1880
1881
|
props: /* @__PURE__ */ R({
|
|
1881
1882
|
title: { default: "Selected Items" },
|
|
@@ -1896,7 +1897,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1896
1897
|
};
|
|
1897
1898
|
return (l, n) => {
|
|
1898
1899
|
const o = re, s = q;
|
|
1899
|
-
return
|
|
1900
|
+
return r(), v("div", {
|
|
1900
1901
|
class: F(l.orientation === "column" ? "row" : ""),
|
|
1901
1902
|
"data-cy": "multiselect-preview"
|
|
1902
1903
|
}, [
|
|
@@ -1904,7 +1905,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1904
1905
|
class: F(l.orientation === "row" ? "col-12 mb-1" : "col"),
|
|
1905
1906
|
"data-cy": "multiselect-container"
|
|
1906
1907
|
}, [
|
|
1907
|
-
h(o,
|
|
1908
|
+
h(o, _({
|
|
1908
1909
|
modelValue: a.value,
|
|
1909
1910
|
"onUpdate:modelValue": n[0] || (n[0] = (p) => a.value = p)
|
|
1910
1911
|
}, { ...l.$attrs }, {
|
|
@@ -1913,12 +1914,12 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1913
1914
|
placeholder: l.multiselectPlaceholder,
|
|
1914
1915
|
"data-cy": "multiselect"
|
|
1915
1916
|
}), {
|
|
1916
|
-
default:
|
|
1917
|
-
(
|
|
1917
|
+
default: f(() => [
|
|
1918
|
+
(r(!0), v(A, null, E(l.$slots, (p, c) => k(l.$slots, c, { slot: c })), 256))
|
|
1918
1919
|
]),
|
|
1919
1920
|
_: 3
|
|
1920
1921
|
}, 16, ["modelValue", "options", "placeholder"]),
|
|
1921
|
-
|
|
1922
|
+
k(l.$slots, "after-multi-select")
|
|
1922
1923
|
], 2),
|
|
1923
1924
|
m("div", {
|
|
1924
1925
|
class: F(l.orientation === "row" ? "col-12" : "col"),
|
|
@@ -1928,23 +1929,23 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1928
1929
|
style: Se({ height: l.height }),
|
|
1929
1930
|
class: "overflow-auto"
|
|
1930
1931
|
}, [
|
|
1931
|
-
m("div",
|
|
1932
|
-
l.title ? (
|
|
1933
|
-
(
|
|
1932
|
+
m("div", Yt, [
|
|
1933
|
+
l.title ? (r(), v("div", Jt, B(l.title), 1)) : C("", !0),
|
|
1934
|
+
(r(!0), v(A, null, E(a.value, (p) => (r(), v("div", {
|
|
1934
1935
|
key: p.id,
|
|
1935
1936
|
class: "p-2 item d-flex justify-content-between align-items-center"
|
|
1936
1937
|
}, [
|
|
1937
|
-
|
|
1938
|
-
m("span",
|
|
1938
|
+
k(l.$slots, "list-item", { item: p }, () => [
|
|
1939
|
+
m("span", Kt, B(p.shortLabel ? p.shortLabel : p.label), 1)
|
|
1939
1940
|
]),
|
|
1940
|
-
l.canRemoveItemFromPreview ? (
|
|
1941
|
+
l.canRemoveItemFromPreview ? (r(), b(s, {
|
|
1941
1942
|
key: 0,
|
|
1942
1943
|
link: "",
|
|
1943
1944
|
class: "m-0 p-0 d-flex align-items-center",
|
|
1944
1945
|
onClick: (c) => i(p.id)
|
|
1945
1946
|
}, {
|
|
1946
|
-
default:
|
|
1947
|
-
h(u(
|
|
1947
|
+
default: f(() => [
|
|
1948
|
+
h(u(j), {
|
|
1948
1949
|
icon: "bi:x",
|
|
1949
1950
|
class: "close-icon",
|
|
1950
1951
|
"data-cy": `close-icon-${p.id}`
|
|
@@ -1953,34 +1954,34 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1953
1954
|
_: 2
|
|
1954
1955
|
}, 1032, ["onClick"])) : C("", !0)
|
|
1955
1956
|
]))), 128)),
|
|
1956
|
-
a.value == null || a.value.length == 0 ? (
|
|
1957
|
+
a.value == null || a.value.length == 0 ? (r(), v("div", Zt, B(t.optionsPreviewEmptyText), 1)) : C("", !0)
|
|
1957
1958
|
])
|
|
1958
1959
|
], 4)
|
|
1959
1960
|
], 2)
|
|
1960
1961
|
], 2);
|
|
1961
1962
|
};
|
|
1962
1963
|
}
|
|
1963
|
-
}),
|
|
1964
|
+
}), Qt = { class: "d-flex justify-content-between pb-2" }, ea = {
|
|
1964
1965
|
"data-cy": "title",
|
|
1965
1966
|
class: "my-auto"
|
|
1966
|
-
},
|
|
1967
|
+
}, ta = {
|
|
1967
1968
|
"data-cy": "slot",
|
|
1968
1969
|
class: "d-flex align-items-center"
|
|
1969
|
-
},
|
|
1970
|
+
}, ll = /* @__PURE__ */ S({
|
|
1970
1971
|
__name: "ForgePageHeader",
|
|
1971
1972
|
props: {
|
|
1972
1973
|
title: {}
|
|
1973
1974
|
},
|
|
1974
1975
|
setup(e) {
|
|
1975
1976
|
const t = e;
|
|
1976
|
-
return (a, i) => (
|
|
1977
|
-
m("h3",
|
|
1978
|
-
m("div",
|
|
1979
|
-
|
|
1977
|
+
return (a, i) => (r(), v("div", Qt, [
|
|
1978
|
+
m("h3", ea, B(t.title), 1),
|
|
1979
|
+
m("div", ta, [
|
|
1980
|
+
k(a.$slots, "default")
|
|
1980
1981
|
])
|
|
1981
1982
|
]));
|
|
1982
1983
|
}
|
|
1983
|
-
}),
|
|
1984
|
+
}), aa = { class: "d-flex" }, ia = { "data-cy": "before-slot" }, la = { class: "position-relative w-100" }, na = { "data-cy": "after-slot" }, xe = /* @__PURE__ */ S({
|
|
1984
1985
|
__name: "ForgeDatepicker",
|
|
1985
1986
|
props: /* @__PURE__ */ R({
|
|
1986
1987
|
severity: { default: "primary" },
|
|
@@ -2059,34 +2060,34 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2059
2060
|
initialValue: a.value
|
|
2060
2061
|
}), p = () => {
|
|
2061
2062
|
s(null), a.value = null;
|
|
2062
|
-
}, c =
|
|
2063
|
-
dayCell: ({ context:
|
|
2063
|
+
}, c = z(() => i.value.length > 0), y = z(() => ({
|
|
2064
|
+
dayCell: ({ context: d }) => ({
|
|
2064
2065
|
class: [
|
|
2065
2066
|
`text-center date-${t.severity === void 0 ? "primary" : t.severity}`,
|
|
2066
2067
|
{
|
|
2067
|
-
"cursor-pointer": !
|
|
2068
|
-
"pe-none":
|
|
2069
|
-
"text-white":
|
|
2068
|
+
"cursor-pointer": !d.disabled,
|
|
2069
|
+
"pe-none": d.disabled,
|
|
2070
|
+
"text-white": d.selected
|
|
2070
2071
|
},
|
|
2071
2072
|
// Severities
|
|
2072
2073
|
{
|
|
2073
|
-
selected:
|
|
2074
|
-
"text-primary": !
|
|
2075
|
-
"text-brand": !
|
|
2076
|
-
"text-secondary": !
|
|
2077
|
-
"text-success": !
|
|
2078
|
-
"text-success-alternate": !
|
|
2079
|
-
"text-warning": !
|
|
2080
|
-
"text-danger": !
|
|
2081
|
-
"text-info": !
|
|
2074
|
+
selected: d.selected && !d.disabled,
|
|
2075
|
+
"text-primary": !d.selected && d.today && (t.severity === void 0 || t.severity === "primary"),
|
|
2076
|
+
"text-brand": !d.selected && d.today && t.severity === "brand",
|
|
2077
|
+
"text-secondary": !d.selected && d.today && t.severity === "secondary",
|
|
2078
|
+
"text-success": !d.selected && d.today && t.severity === "success",
|
|
2079
|
+
"text-success-alternate": !d.selected && d.today && t.severity === "success-alternate",
|
|
2080
|
+
"text-warning": !d.selected && d.today && t.severity === "warning",
|
|
2081
|
+
"text-danger": !d.selected && d.today && t.severity === "danger",
|
|
2082
|
+
"text-info": !d.selected && d.today && t.severity === "info"
|
|
2082
2083
|
}
|
|
2083
2084
|
]
|
|
2084
2085
|
}),
|
|
2085
|
-
dayLabel: ({ context:
|
|
2086
|
+
dayLabel: ({ context: d }) => ({
|
|
2086
2087
|
class: [
|
|
2087
2088
|
// Disabled States
|
|
2088
2089
|
{
|
|
2089
|
-
"text-muted":
|
|
2090
|
+
"text-muted": d.disabled
|
|
2090
2091
|
}
|
|
2091
2092
|
]
|
|
2092
2093
|
}),
|
|
@@ -2124,63 +2125,63 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2124
2125
|
]
|
|
2125
2126
|
})
|
|
2126
2127
|
},
|
|
2127
|
-
year: ({ context:
|
|
2128
|
+
year: ({ context: d }) => ({
|
|
2128
2129
|
class: [
|
|
2129
2130
|
"col-3 text-center cursor-pointer py-2",
|
|
2130
2131
|
{
|
|
2131
|
-
"text-primary": (t.severity === void 0 || t.severity === "primary") &&
|
|
2132
|
-
"text-brand": t.severity === "brand" &&
|
|
2133
|
-
"text-secondary": t.severity === "secondary" &&
|
|
2134
|
-
"text-success": t.severity === "success" &&
|
|
2135
|
-
"text-success-alternate": t.severity === "success-alternate" &&
|
|
2136
|
-
"text-warning": t.severity === "warning" &&
|
|
2137
|
-
"text-danger": t.severity === "danger" &&
|
|
2138
|
-
"text-info": t.severity === "info" &&
|
|
2132
|
+
"text-primary": (t.severity === void 0 || t.severity === "primary") && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
2133
|
+
"text-brand": t.severity === "brand" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
2134
|
+
"text-secondary": t.severity === "secondary" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
2135
|
+
"text-success": t.severity === "success" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
2136
|
+
"text-success-alternate": t.severity === "success-alternate" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
2137
|
+
"text-warning": t.severity === "warning" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
2138
|
+
"text-danger": t.severity === "danger" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
2139
|
+
"text-info": t.severity === "info" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear()
|
|
2139
2140
|
}
|
|
2140
2141
|
]
|
|
2141
2142
|
}),
|
|
2142
|
-
month: ({ context:
|
|
2143
|
+
month: ({ context: d }) => ({
|
|
2143
2144
|
class: [
|
|
2144
2145
|
"col-3 text-center cursor-pointer py-2",
|
|
2145
2146
|
{
|
|
2146
|
-
"text-primary": (t.severity === void 0 || t.severity === "primary") &&
|
|
2147
|
-
"text-brand": t.severity === "brand" &&
|
|
2148
|
-
"text-secondary": t.severity === "secondary" &&
|
|
2149
|
-
"text-success": t.severity === "success" &&
|
|
2150
|
-
"text-success-alternate": t.severity === "success-alternate" &&
|
|
2151
|
-
"text-warning": t.severity === "warning" &&
|
|
2152
|
-
"text-danger": t.severity === "danger" &&
|
|
2153
|
-
"text-info": t.severity === "info" &&
|
|
2147
|
+
"text-primary": (t.severity === void 0 || t.severity === "primary") && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
2148
|
+
"text-brand": t.severity === "brand" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
2149
|
+
"text-secondary": t.severity === "secondary" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
2150
|
+
"text-success": t.severity === "success" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
2151
|
+
"text-success-alternate": t.severity === "success-alternate" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
2152
|
+
"text-warning": t.severity === "warning" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
2153
|
+
"text-danger": t.severity === "danger" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
2154
|
+
"text-info": t.severity === "info" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
|
|
2154
2155
|
}
|
|
2155
2156
|
]
|
|
2156
2157
|
})
|
|
2157
2158
|
}));
|
|
2158
|
-
return (
|
|
2159
|
-
const
|
|
2160
|
-
return
|
|
2161
|
-
m("div",
|
|
2162
|
-
m("span",
|
|
2163
|
-
|
|
2159
|
+
return (d, $) => {
|
|
2160
|
+
const T = De;
|
|
2161
|
+
return r(), v(A, null, [
|
|
2162
|
+
m("div", aa, [
|
|
2163
|
+
m("span", ia, [
|
|
2164
|
+
k(d.$slots, "before")
|
|
2164
2165
|
]),
|
|
2165
|
-
m("div",
|
|
2166
|
-
h(
|
|
2166
|
+
m("div", la, [
|
|
2167
|
+
h(T, _({ ...t, ...d.$attrs }, {
|
|
2167
2168
|
pt: y.value,
|
|
2168
2169
|
modelValue: a.value,
|
|
2169
2170
|
"onUpdate:modelValue": [
|
|
2170
|
-
|
|
2171
|
+
$[0] || ($[0] = (D) => a.value = D),
|
|
2171
2172
|
u(n)
|
|
2172
2173
|
],
|
|
2173
|
-
onBlur:
|
|
2174
|
+
onBlur: $[1] || ($[1] = () => u(o)),
|
|
2174
2175
|
"input-class": { "datepicker-invalid": c.value }
|
|
2175
2176
|
}), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
|
|
2176
|
-
J(h(u(
|
|
2177
|
+
J(h(u(j), {
|
|
2177
2178
|
"data-cy": "icon",
|
|
2178
2179
|
icon: "bi:calendar4",
|
|
2179
2180
|
class: F(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
|
|
2180
2181
|
}, null, 8, ["class"]), [
|
|
2181
2182
|
[Z, t.showIcon]
|
|
2182
2183
|
]),
|
|
2183
|
-
J(h(u(
|
|
2184
|
+
J(h(u(j), {
|
|
2184
2185
|
"data-cy": "icon",
|
|
2185
2186
|
icon: "bi:x",
|
|
2186
2187
|
onClick: p,
|
|
@@ -2189,8 +2190,8 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2189
2190
|
[Z, t.modelValue]
|
|
2190
2191
|
])
|
|
2191
2192
|
]),
|
|
2192
|
-
m("span",
|
|
2193
|
-
|
|
2193
|
+
m("span", na, [
|
|
2194
|
+
k(d.$slots, "after")
|
|
2194
2195
|
])
|
|
2195
2196
|
]),
|
|
2196
2197
|
J(m("small", {
|
|
@@ -2202,19 +2203,19 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2202
2203
|
], 64);
|
|
2203
2204
|
};
|
|
2204
2205
|
}
|
|
2205
|
-
}),
|
|
2206
|
+
}), nl = /* @__PURE__ */ S({
|
|
2206
2207
|
__name: "ForgeRemainingCharacters",
|
|
2207
2208
|
props: {
|
|
2208
2209
|
maxCount: { default: 300 },
|
|
2209
2210
|
currentCount: {}
|
|
2210
2211
|
},
|
|
2211
2212
|
setup(e) {
|
|
2212
|
-
const t = e, a =
|
|
2213
|
-
return (i, l) => (
|
|
2213
|
+
const t = e, a = z(() => t.maxCount - t.currentCount);
|
|
2214
|
+
return (i, l) => (r(), v("div", {
|
|
2214
2215
|
class: F(a.value < 0 ? "text-danger" : "")
|
|
2215
2216
|
}, "Remaining characters: " + B(a.value), 3));
|
|
2216
2217
|
}
|
|
2217
|
-
}),
|
|
2218
|
+
}), oa = { class: "d-flex justify-content-between" }, ol = /* @__PURE__ */ S({
|
|
2218
2219
|
__name: "ForgeForm",
|
|
2219
2220
|
props: {
|
|
2220
2221
|
onSubmit: {},
|
|
@@ -2241,13 +2242,13 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2241
2242
|
}
|
|
2242
2243
|
return (n, o) => {
|
|
2243
2244
|
const s = q;
|
|
2244
|
-
return
|
|
2245
|
+
return r(), v("form", _(n.$attrs, {
|
|
2245
2246
|
novalidate: "",
|
|
2246
2247
|
class: "position-relative shadow-sm border p-4 bg-white",
|
|
2247
2248
|
onSubmit: X(l, ["prevent"])
|
|
2248
2249
|
}), [
|
|
2249
|
-
n.hideTitle ? C("", !0) : (
|
|
2250
|
-
|
|
2250
|
+
n.hideTitle ? C("", !0) : (r(), v(A, { key: 0 }, [
|
|
2251
|
+
k(n.$slots, "title", {}, () => [
|
|
2251
2252
|
m("h3", {
|
|
2252
2253
|
class: F(n.titleClass),
|
|
2253
2254
|
"data-cy": "form-title"
|
|
@@ -2255,13 +2256,13 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2255
2256
|
]),
|
|
2256
2257
|
o[1] || (o[1] = m("hr", null, null, -1))
|
|
2257
2258
|
], 64)),
|
|
2258
|
-
i.value.hasError ? (
|
|
2259
|
+
i.value.hasError ? (r(), b(de, {
|
|
2259
2260
|
key: 1,
|
|
2260
2261
|
severity: "danger",
|
|
2261
2262
|
"data-cy": "error"
|
|
2262
2263
|
}, {
|
|
2263
|
-
default:
|
|
2264
|
-
|
|
2264
|
+
default: f(() => [
|
|
2265
|
+
k(n.$slots, "error", {
|
|
2265
2266
|
error: i.value.message
|
|
2266
2267
|
}, () => [
|
|
2267
2268
|
M(B(i.value.message), 1)
|
|
@@ -2269,10 +2270,10 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2269
2270
|
]),
|
|
2270
2271
|
_: 3
|
|
2271
2272
|
})) : C("", !0),
|
|
2272
|
-
|
|
2273
|
-
m("div",
|
|
2274
|
-
|
|
2275
|
-
n.hideCancel ? C("", !0) : (
|
|
2273
|
+
k(n.$slots, "default"),
|
|
2274
|
+
m("div", oa, [
|
|
2275
|
+
k(n.$slots, "cancel", {}, () => [
|
|
2276
|
+
n.hideCancel ? C("", !0) : (r(), b(s, {
|
|
2276
2277
|
key: 0,
|
|
2277
2278
|
"data-cy": "cancel-btn",
|
|
2278
2279
|
type: "reset",
|
|
@@ -2280,40 +2281,40 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2280
2281
|
outlined: "",
|
|
2281
2282
|
onClick: o[0] || (o[0] = (p) => n.$emit("cancel"))
|
|
2282
2283
|
}, {
|
|
2283
|
-
default:
|
|
2284
|
+
default: f(() => [
|
|
2284
2285
|
M(B(n.cancelText), 1)
|
|
2285
2286
|
]),
|
|
2286
2287
|
_: 1
|
|
2287
2288
|
}))
|
|
2288
2289
|
]),
|
|
2289
|
-
|
|
2290
|
+
k(n.$slots, "submit", { submit: l }, () => [
|
|
2290
2291
|
h(s, {
|
|
2291
2292
|
"data-cy": "submit-btn",
|
|
2292
2293
|
type: "submit",
|
|
2293
2294
|
severity: "primary",
|
|
2294
2295
|
class: "ms-auto"
|
|
2295
2296
|
}, {
|
|
2296
|
-
default:
|
|
2297
|
+
default: f(() => [
|
|
2297
2298
|
M(B(n.submitText), 1)
|
|
2298
2299
|
]),
|
|
2299
2300
|
_: 1
|
|
2300
2301
|
})
|
|
2301
2302
|
])
|
|
2302
2303
|
]),
|
|
2303
|
-
a.value ? (
|
|
2304
|
+
a.value ? (r(), b(pe, {
|
|
2304
2305
|
key: 2,
|
|
2305
2306
|
"data-cy": "loading-spinner"
|
|
2306
2307
|
})) : C("", !0)
|
|
2307
2308
|
], 16);
|
|
2308
2309
|
};
|
|
2309
2310
|
}
|
|
2310
|
-
}),
|
|
2311
|
+
}), sa = {
|
|
2311
2312
|
key: 1,
|
|
2312
2313
|
class: "d-flex flex-column w-100"
|
|
2313
|
-
},
|
|
2314
|
+
}, ra = ["for"], da = {
|
|
2314
2315
|
key: 0,
|
|
2315
2316
|
class: "text-danger fw-600"
|
|
2316
|
-
},
|
|
2317
|
+
}, sl = /* @__PURE__ */ S({
|
|
2317
2318
|
__name: "ForgeFormField",
|
|
2318
2319
|
props: /* @__PURE__ */ R({
|
|
2319
2320
|
name: {},
|
|
@@ -2334,20 +2335,20 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2334
2335
|
a.type == "number" ? s(y.value) : s(y);
|
|
2335
2336
|
}, { errors: l, value: n, errorMessage: o, handleChange: s, handleBlur: p } = oe(() => a.name, void 0, {
|
|
2336
2337
|
initialValue: t.value
|
|
2337
|
-
}), c =
|
|
2338
|
+
}), c = z(() => l.value.length > 0);
|
|
2338
2339
|
return te(() => n.value, (y) => {
|
|
2339
2340
|
t.value = y;
|
|
2340
|
-
}, { immediate: !0 }), (y,
|
|
2341
|
-
const
|
|
2342
|
-
return a.type === "checkbox" ? (
|
|
2341
|
+
}, { immediate: !0 }), (y, d) => {
|
|
2342
|
+
const $ = Ne, T = Oe, D = se, O = ie, U = re, x = xe;
|
|
2343
|
+
return a.type === "checkbox" ? (r(), b(ye, _({
|
|
2343
2344
|
key: 0,
|
|
2344
2345
|
id: a.name,
|
|
2345
2346
|
label: a.fieldLabel
|
|
2346
2347
|
}, y.$attrs, {
|
|
2347
2348
|
name: a.name,
|
|
2348
2349
|
modelValue: t.value,
|
|
2349
|
-
"onUpdate:modelValue":
|
|
2350
|
-
}), null, 16, ["id", "label", "name", "modelValue"])) : (
|
|
2350
|
+
"onUpdate:modelValue": d[0] || (d[0] = (w) => t.value = w)
|
|
2351
|
+
}), null, 16, ["id", "label", "name", "modelValue"])) : (r(), v("div", sa, [
|
|
2351
2352
|
m("div", {
|
|
2352
2353
|
"data-cy": "input-wrapper",
|
|
2353
2354
|
class: F(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
|
|
@@ -2357,10 +2358,10 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2357
2358
|
class: F(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
|
|
2358
2359
|
}, [
|
|
2359
2360
|
M(B(a.fieldLabel) + " ", 1),
|
|
2360
|
-
y.required ? (
|
|
2361
|
-
], 10,
|
|
2362
|
-
|
|
2363
|
-
a.type === "number" ? (
|
|
2361
|
+
y.required ? (r(), v("span", da, "*")) : C("", !0)
|
|
2362
|
+
], 10, ra),
|
|
2363
|
+
k(y.$slots, "default", W(G({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
|
|
2364
|
+
a.type === "number" ? (r(), b(u(fe), _({
|
|
2364
2365
|
key: 0,
|
|
2365
2366
|
id: a.name
|
|
2366
2367
|
}, y.$attrs, {
|
|
@@ -2369,18 +2370,18 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2369
2370
|
class: { "is-invalid": c.value },
|
|
2370
2371
|
onInput: i,
|
|
2371
2372
|
modelValue: t.value,
|
|
2372
|
-
"onUpdate:modelValue":
|
|
2373
|
-
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (
|
|
2373
|
+
"onUpdate:modelValue": d[1] || (d[1] = (w) => t.value = w)
|
|
2374
|
+
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (r(), b($, _({
|
|
2374
2375
|
key: 1,
|
|
2375
2376
|
id: a.name
|
|
2376
2377
|
}, y.$attrs, {
|
|
2377
2378
|
placeholder: a.placeholder,
|
|
2378
2379
|
class: { "is-invalid": c.value },
|
|
2379
2380
|
modelValue: t.value,
|
|
2380
|
-
"onUpdate:modelValue":
|
|
2381
|
+
"onUpdate:modelValue": d[2] || (d[2] = (w) => t.value = w),
|
|
2381
2382
|
onInput: i,
|
|
2382
2383
|
onBlur: u(p)
|
|
2383
|
-
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (
|
|
2384
|
+
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (r(), b(T, _({
|
|
2384
2385
|
key: 2,
|
|
2385
2386
|
id: a.name
|
|
2386
2387
|
}, y.$attrs, {
|
|
@@ -2388,34 +2389,34 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2388
2389
|
mask: a.mask,
|
|
2389
2390
|
class: { "is-invalid": c.value },
|
|
2390
2391
|
modelValue: t.value,
|
|
2391
|
-
"onUpdate:modelValue":
|
|
2392
|
+
"onUpdate:modelValue": d[3] || (d[3] = (w) => t.value = w),
|
|
2392
2393
|
onComplete: i,
|
|
2393
2394
|
onBlur: u(p)
|
|
2394
|
-
}), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (
|
|
2395
|
+
}), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (r(), b(D, _({
|
|
2395
2396
|
key: 3,
|
|
2396
2397
|
id: a.name
|
|
2397
2398
|
}, y.$attrs, {
|
|
2398
2399
|
placeholder: a.placeholder,
|
|
2399
2400
|
class: { "is-invalid": c.value },
|
|
2400
2401
|
modelValue: t.value,
|
|
2401
|
-
"onUpdate:modelValue":
|
|
2402
|
+
"onUpdate:modelValue": d[4] || (d[4] = (w) => t.value = w),
|
|
2402
2403
|
onInput: i,
|
|
2403
2404
|
onBlur: u(p)
|
|
2404
|
-
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (
|
|
2405
|
+
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (r(), b(O, _({ key: 4 }, { ...a, ...y.$attrs }, {
|
|
2405
2406
|
modelValue: t.value,
|
|
2406
|
-
"onUpdate:modelValue":
|
|
2407
|
+
"onUpdate:modelValue": d[5] || (d[5] = (w) => t.value = w),
|
|
2407
2408
|
class: { "is-invalid": c.value }
|
|
2408
|
-
}), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (
|
|
2409
|
+
}), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (r(), b(U, _({ key: 5 }, { ...a, ...y.$attrs }, {
|
|
2409
2410
|
modelValue: t.value,
|
|
2410
|
-
"onUpdate:modelValue":
|
|
2411
|
+
"onUpdate:modelValue": d[6] || (d[6] = (w) => t.value = w),
|
|
2411
2412
|
class: { "is-invalid": c.value }
|
|
2412
|
-
}), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (
|
|
2413
|
+
}), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (r(), b(Xt, _({ key: 6 }, { ...a, ...y.$attrs }, {
|
|
2413
2414
|
modelValue: t.value,
|
|
2414
|
-
"onUpdate:modelValue":
|
|
2415
|
+
"onUpdate:modelValue": d[7] || (d[7] = (w) => t.value = w),
|
|
2415
2416
|
class: { "is-invalid": c.value }
|
|
2416
|
-
}), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (
|
|
2417
|
+
}), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (r(), b(x, _({ key: 7 }, { ...a, ...y.$attrs }, {
|
|
2417
2418
|
modelValue: t.value,
|
|
2418
|
-
"onUpdate:modelValue":
|
|
2419
|
+
"onUpdate:modelValue": d[8] || (d[8] = (w) => t.value = w),
|
|
2419
2420
|
class: { "is-invalid": c.value }
|
|
2420
2421
|
}), null, 16, ["modelValue", "class"])) : C("", !0)
|
|
2421
2422
|
])
|
|
@@ -2429,7 +2430,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2429
2430
|
]));
|
|
2430
2431
|
};
|
|
2431
2432
|
}
|
|
2432
|
-
}),
|
|
2433
|
+
}), rl = /* @__PURE__ */ S({
|
|
2433
2434
|
__name: "ForgeChip",
|
|
2434
2435
|
props: {
|
|
2435
2436
|
chipSeverity: { default: "primary" },
|
|
@@ -2445,7 +2446,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2445
2446
|
unstyled: { type: Boolean }
|
|
2446
2447
|
},
|
|
2447
2448
|
setup(e) {
|
|
2448
|
-
const t = e, a =
|
|
2449
|
+
const t = e, a = z(() => ({
|
|
2449
2450
|
root: [
|
|
2450
2451
|
"badge d-inline-flex align-items-center border me-1 p-1",
|
|
2451
2452
|
{
|
|
@@ -2465,15 +2466,15 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2465
2466
|
}));
|
|
2466
2467
|
return (i, l) => {
|
|
2467
2468
|
const n = Ae;
|
|
2468
|
-
return
|
|
2469
|
-
default:
|
|
2470
|
-
(
|
|
2469
|
+
return r(), b(n, _({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
|
|
2470
|
+
default: f(() => [
|
|
2471
|
+
(r(!0), v(A, null, E(i.$slots, (o, s) => k(i.$slots, s, { slot: s })), 256))
|
|
2471
2472
|
]),
|
|
2472
2473
|
_: 3
|
|
2473
2474
|
}, 16, ["pt"]);
|
|
2474
2475
|
};
|
|
2475
2476
|
}
|
|
2476
|
-
}),
|
|
2477
|
+
}), dl = /* @__PURE__ */ S({
|
|
2477
2478
|
__name: "ForgeProgressBar",
|
|
2478
2479
|
props: {
|
|
2479
2480
|
severity: { default: "primary" },
|
|
@@ -2489,7 +2490,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2489
2490
|
unstyled: { type: Boolean }
|
|
2490
2491
|
},
|
|
2491
2492
|
setup(e) {
|
|
2492
|
-
const t = e, a =
|
|
2493
|
+
const t = e, a = z(() => t.striped ? "progress-bar-striped" : null), i = z(() => t.animate ? "progress-bar-animated" : null), l = z(() => {
|
|
2493
2494
|
switch (t.severity) {
|
|
2494
2495
|
case "brand":
|
|
2495
2496
|
return "bg-brand";
|
|
@@ -2510,7 +2511,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2510
2511
|
default:
|
|
2511
2512
|
return "bg-primary";
|
|
2512
2513
|
}
|
|
2513
|
-
}), n =
|
|
2514
|
+
}), n = z(() => ({
|
|
2514
2515
|
root: {
|
|
2515
2516
|
style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
|
|
2516
2517
|
},
|
|
@@ -2520,16 +2521,16 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2520
2521
|
}));
|
|
2521
2522
|
return (o, s) => {
|
|
2522
2523
|
const p = Ee;
|
|
2523
|
-
return
|
|
2524
|
-
default:
|
|
2525
|
-
|
|
2524
|
+
return r(), b(p, _({ ...o.$attrs, ...t }, { pt: n.value }), {
|
|
2525
|
+
default: f(() => [
|
|
2526
|
+
k(o.$slots, "default")
|
|
2526
2527
|
]),
|
|
2527
2528
|
_: 3
|
|
2528
2529
|
}, 16, ["pt"]);
|
|
2529
2530
|
};
|
|
2530
2531
|
}
|
|
2531
2532
|
});
|
|
2532
|
-
var
|
|
2533
|
+
var pa = /* @__PURE__ */ S({
|
|
2533
2534
|
name: "VueDrawingCanvas",
|
|
2534
2535
|
props: {
|
|
2535
2536
|
strokeType: {
|
|
@@ -2844,9 +2845,9 @@ var da = /* @__PURE__ */ S({
|
|
|
2844
2845
|
const o = /(\r\n|\n\r|\n|\r)+/g, s = /\s+/g;
|
|
2845
2846
|
var p = t.split(o).filter((O) => O.length > 0);
|
|
2846
2847
|
for (let O = 0; O < p.length; O++) {
|
|
2847
|
-
for (var c = p[O].split(s).filter((
|
|
2848
|
-
var
|
|
2849
|
-
D > l &&
|
|
2848
|
+
for (var c = p[O].split(s).filter((U) => U.length > 0), y = "", d = 0; d < c.length; d++) {
|
|
2849
|
+
var $ = y + c[d] + " ", T = e.measureText($), D = T.width;
|
|
2850
|
+
D > l && d > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(y, a, i) : e.fillText(y, a, i), y = c[d] + " ", i += n) : y = $;
|
|
2850
2851
|
}
|
|
2851
2852
|
this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(y, a, i) : e.fillText(y, a, i), i += c.length > 0 ? n : 0;
|
|
2852
2853
|
}
|
|
@@ -2875,8 +2876,8 @@ var da = /* @__PURE__ */ S({
|
|
|
2875
2876
|
} else if (a.type === "Text") {
|
|
2876
2877
|
let i = a.fontStyle && a.fontStyle.font ? a.fontStyle.font : "20px serif", l = a.fontStyle && a.fontStyle.textAlign ? a.fontStyle.textAlign : "start", n = a.fontStyle && a.fontStyle.textBaseline ? a.fontStyle.textBaseline : "alphabetic", o = a.fontStyle && a.fontStyle.color ? a.fontStyle.color : "#000000";
|
|
2877
2878
|
if (t.font = i, t.textAlign = l, t.textBaseline = n, a.fontStyle && a.fontStyle.rotate) {
|
|
2878
|
-
let
|
|
2879
|
-
a.fontStyle && a.fontStyle.width ?
|
|
2879
|
+
let d, $;
|
|
2880
|
+
a.fontStyle && a.fontStyle.width ? d = a.x + Math.floor(a.fontStyle.width / 2) : d = a.x, a.fontStyle && a.fontStyle.lineHeight ? $ = a.y + Math.floor(a.fontStyle.lineHeight / 2) : $ = a.y, t.translate(d, $), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(d * -1, $ * -1);
|
|
2880
2881
|
}
|
|
2881
2882
|
a.fontStyle && a.fontStyle.drawType && a.fontStyle.drawType === "stroke" ? (t.strokeStyle = a.fontStyle.color, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.strokeText(a.source, a.x, a.y)) : (t.fillStyle = o, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.fillText(a.source, a.x, a.y));
|
|
2882
2883
|
let s = document.createElement("canvas"), p = s.getContext("2d"), c = this.outputWidth === void 0 ? this.width : this.outputWidth, y = this.outputHeight === void 0 ? this.height : this.outputHeight;
|
|
@@ -2919,7 +2920,7 @@ var da = /* @__PURE__ */ S({
|
|
|
2919
2920
|
});
|
|
2920
2921
|
}
|
|
2921
2922
|
});
|
|
2922
|
-
const
|
|
2923
|
+
const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1 gap-1" }, pl = /* @__PURE__ */ S({
|
|
2923
2924
|
__name: "ForgeScratchpad",
|
|
2924
2925
|
props: {
|
|
2925
2926
|
showClear: { type: Boolean, default: !0 },
|
|
@@ -2941,14 +2942,14 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
2941
2942
|
}, c = () => {
|
|
2942
2943
|
i("save", l.value.isEmpty());
|
|
2943
2944
|
};
|
|
2944
|
-
return (y,
|
|
2945
|
-
const
|
|
2946
|
-
return
|
|
2947
|
-
h(u(
|
|
2945
|
+
return (y, d) => {
|
|
2946
|
+
const $ = q;
|
|
2947
|
+
return r(), v("div", ca, [
|
|
2948
|
+
h(u(pa), _({
|
|
2948
2949
|
ref_key: "drawingCanvas",
|
|
2949
2950
|
ref: l,
|
|
2950
2951
|
image: n.value,
|
|
2951
|
-
"onUpdate:image":
|
|
2952
|
+
"onUpdate:image": d[0] || (d[0] = (T) => n.value = T),
|
|
2952
2953
|
"data-cy": "drawing-canvas",
|
|
2953
2954
|
class: "border canvas"
|
|
2954
2955
|
}, { ...y.$attrs }, {
|
|
@@ -2957,47 +2958,47 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
2957
2958
|
style: `height: ${y.height}px; width: ${y.width}px`,
|
|
2958
2959
|
"line-join": y.lineJoin
|
|
2959
2960
|
}), null, 16, ["image", "height", "width", "style", "line-join"]),
|
|
2960
|
-
m("div",
|
|
2961
|
-
a.showUndo ? (
|
|
2961
|
+
m("div", ua, [
|
|
2962
|
+
a.showUndo ? (r(), b($, {
|
|
2962
2963
|
key: 0,
|
|
2963
2964
|
onClick: p,
|
|
2964
2965
|
outlined: "",
|
|
2965
2966
|
"data-cy": "undo-button"
|
|
2966
2967
|
}, {
|
|
2967
|
-
default:
|
|
2968
|
+
default: f(() => d[1] || (d[1] = [
|
|
2968
2969
|
M("Undo")
|
|
2969
2970
|
])),
|
|
2970
2971
|
_: 1
|
|
2971
2972
|
})) : C("", !0),
|
|
2972
|
-
a.showRedo ? (
|
|
2973
|
+
a.showRedo ? (r(), b($, {
|
|
2973
2974
|
key: 1,
|
|
2974
2975
|
onClick: s,
|
|
2975
2976
|
outlined: "",
|
|
2976
2977
|
"data-cy": "redo-button"
|
|
2977
2978
|
}, {
|
|
2978
|
-
default:
|
|
2979
|
+
default: f(() => d[2] || (d[2] = [
|
|
2979
2980
|
M("Redo")
|
|
2980
2981
|
])),
|
|
2981
2982
|
_: 1
|
|
2982
2983
|
})) : C("", !0),
|
|
2983
|
-
a.showClear ? (
|
|
2984
|
+
a.showClear ? (r(), b($, {
|
|
2984
2985
|
key: 2,
|
|
2985
2986
|
onClick: o,
|
|
2986
2987
|
outlined: "",
|
|
2987
2988
|
"data-cy": "clear-button"
|
|
2988
2989
|
}, {
|
|
2989
|
-
default:
|
|
2990
|
+
default: f(() => d[3] || (d[3] = [
|
|
2990
2991
|
M("Clear")
|
|
2991
2992
|
])),
|
|
2992
2993
|
_: 1
|
|
2993
2994
|
})) : C("", !0),
|
|
2994
|
-
a.showSave ? (
|
|
2995
|
+
a.showSave ? (r(), b($, {
|
|
2995
2996
|
key: 3,
|
|
2996
2997
|
onClick: c,
|
|
2997
2998
|
class: "ms-auto",
|
|
2998
2999
|
"data-cy": "save-button"
|
|
2999
3000
|
}, {
|
|
3000
|
-
default:
|
|
3001
|
+
default: f(() => d[4] || (d[4] = [
|
|
3001
3002
|
M("Save")
|
|
3002
3003
|
])),
|
|
3003
3004
|
_: 1
|
|
@@ -3006,7 +3007,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3006
3007
|
]);
|
|
3007
3008
|
};
|
|
3008
3009
|
}
|
|
3009
|
-
}),
|
|
3010
|
+
}), ma = { class: "value text-white w-100 text-center" }, cl = /* @__PURE__ */ S({
|
|
3010
3011
|
__name: "ForgeStatWidget",
|
|
3011
3012
|
props: {
|
|
3012
3013
|
size: { default: "md" },
|
|
@@ -3014,15 +3015,15 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3014
3015
|
},
|
|
3015
3016
|
setup(e) {
|
|
3016
3017
|
const t = e;
|
|
3017
|
-
return (a, i) => (
|
|
3018
|
+
return (a, i) => (r(), v("div", _(a.$attrs, {
|
|
3018
3019
|
class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
|
|
3019
3020
|
}), [
|
|
3020
|
-
m("span",
|
|
3021
|
-
|
|
3021
|
+
m("span", ma, [
|
|
3022
|
+
k(a.$slots, "default")
|
|
3022
3023
|
])
|
|
3023
3024
|
], 16));
|
|
3024
3025
|
}
|
|
3025
|
-
}),
|
|
3026
|
+
}), va = { key: 0 }, ul = /* @__PURE__ */ S({
|
|
3026
3027
|
__name: "ForgeStepper",
|
|
3027
3028
|
props: {
|
|
3028
3029
|
currentStep: { default: 1 },
|
|
@@ -3040,7 +3041,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3040
3041
|
unstyled: { type: Boolean }
|
|
3041
3042
|
},
|
|
3042
3043
|
setup(e) {
|
|
3043
|
-
const t = e, a =
|
|
3044
|
+
const t = e, a = z(() => ({
|
|
3044
3045
|
header: {
|
|
3045
3046
|
class: [
|
|
3046
3047
|
"p-0 m-0 d-flex align-items-center border border-0 bg-transparent gap-1",
|
|
@@ -3069,18 +3070,18 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3069
3070
|
]
|
|
3070
3071
|
})
|
|
3071
3072
|
}));
|
|
3072
|
-
return (i, l) => (
|
|
3073
|
-
default:
|
|
3073
|
+
return (i, l) => (r(), b(u(qe), { value: i.currentStep }, {
|
|
3074
|
+
default: f(() => [
|
|
3074
3075
|
h(u(Le), null, {
|
|
3075
|
-
default:
|
|
3076
|
-
(
|
|
3076
|
+
default: f(() => [
|
|
3077
|
+
(r(!0), v(A, null, E(i.steps, (n) => (r(), b(u(Ue), _({
|
|
3077
3078
|
key: n.value,
|
|
3078
3079
|
value: n.value,
|
|
3079
3080
|
disabled: n.disabled,
|
|
3080
3081
|
ref_for: !0
|
|
3081
3082
|
}, { ...i.$attrs }, { pt: a.value }), {
|
|
3082
|
-
default:
|
|
3083
|
-
i.showStepLabel ? (
|
|
3083
|
+
default: f(() => [
|
|
3084
|
+
i.showStepLabel ? (r(), v("div", va, B(n.label), 1)) : C("", !0)
|
|
3084
3085
|
]),
|
|
3085
3086
|
_: 2
|
|
3086
3087
|
}, 1040, ["value", "disabled", "pt"]))), 128))
|
|
@@ -3088,13 +3089,13 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3088
3089
|
_: 1
|
|
3089
3090
|
}),
|
|
3090
3091
|
h(u(He), null, {
|
|
3091
|
-
default:
|
|
3092
|
-
(
|
|
3092
|
+
default: f(() => [
|
|
3093
|
+
(r(!0), v(A, null, E(i.steps, (n) => (r(), b(u(Re), {
|
|
3093
3094
|
key: n.value,
|
|
3094
3095
|
value: n.value
|
|
3095
3096
|
}, {
|
|
3096
|
-
default:
|
|
3097
|
-
|
|
3097
|
+
default: f(() => [
|
|
3098
|
+
k(i.$slots, "step" + n.value)
|
|
3098
3099
|
]),
|
|
3099
3100
|
_: 2
|
|
3100
3101
|
}, 1032, ["value"]))), 128))
|
|
@@ -3105,7 +3106,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3105
3106
|
_: 3
|
|
3106
3107
|
}, 8, ["value"]));
|
|
3107
3108
|
}
|
|
3108
|
-
}),
|
|
3109
|
+
}), fa = { class: "p-4 text-wrap w-100" }, ga = { class: "p-4 text-wrap w-100" }, ml = /* @__PURE__ */ S({
|
|
3109
3110
|
__name: "ForgeTile",
|
|
3110
3111
|
props: {
|
|
3111
3112
|
severity: { default: "primary" },
|
|
@@ -3114,31 +3115,31 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3114
3115
|
selected: { type: Boolean, default: !1 }
|
|
3115
3116
|
},
|
|
3116
3117
|
setup(e) {
|
|
3117
|
-
const t = e, a =
|
|
3118
|
+
const t = e, a = z(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), i = z(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
|
|
3118
3119
|
return (l, n) => {
|
|
3119
3120
|
const o = q;
|
|
3120
|
-
return t.clickable ? (
|
|
3121
|
+
return t.clickable ? (r(), b(o, {
|
|
3121
3122
|
key: 0,
|
|
3122
3123
|
class: F(["d-flex w-100 p-0 text-body", a.value]),
|
|
3123
3124
|
severity: t.severity,
|
|
3124
3125
|
unstyled: "",
|
|
3125
3126
|
"data-cy": "button-tile"
|
|
3126
3127
|
}, {
|
|
3127
|
-
default:
|
|
3128
|
-
m("div",
|
|
3129
|
-
|
|
3128
|
+
default: f(() => [
|
|
3129
|
+
m("div", fa, [
|
|
3130
|
+
k(l.$slots, "default", {}, () => [
|
|
3130
3131
|
n[0] || (n[0] = M("Tile Content"))
|
|
3131
3132
|
])
|
|
3132
3133
|
])
|
|
3133
3134
|
]),
|
|
3134
3135
|
_: 3
|
|
3135
|
-
}, 8, ["severity", "class"])) : (
|
|
3136
|
+
}, 8, ["severity", "class"])) : (r(), v("div", {
|
|
3136
3137
|
key: 1,
|
|
3137
3138
|
class: F(["d-flex w-100", i.value]),
|
|
3138
3139
|
"data-cy": "tile"
|
|
3139
3140
|
}, [
|
|
3140
|
-
m("div",
|
|
3141
|
-
|
|
3141
|
+
m("div", ga, [
|
|
3142
|
+
k(l.$slots, "default", {}, () => [
|
|
3142
3143
|
n[1] || (n[1] = M("Tile Content"))
|
|
3143
3144
|
])
|
|
3144
3145
|
])
|
|
@@ -3149,10 +3150,10 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3149
3150
|
function Q(e, t) {
|
|
3150
3151
|
return e > 1 ? `${t}s` : t;
|
|
3151
3152
|
}
|
|
3152
|
-
const
|
|
3153
|
+
const ba = {
|
|
3153
3154
|
class: "d-flex justify-content-start align-items-baseline",
|
|
3154
3155
|
"data-cy": "pagination-header"
|
|
3155
|
-
},
|
|
3156
|
+
}, ya = { class: "ms-2" }, xa = { key: 0 }, ha = {
|
|
3156
3157
|
class: "w-auto",
|
|
3157
3158
|
"data-cy": "total"
|
|
3158
3159
|
}, he = /* @__PURE__ */ S({
|
|
@@ -3166,13 +3167,13 @@ const ga = {
|
|
|
3166
3167
|
setup(e, { emit: t }) {
|
|
3167
3168
|
const a = t, i = e, l = (o) => {
|
|
3168
3169
|
a("update:perPage", o.value);
|
|
3169
|
-
}, n =
|
|
3170
|
+
}, n = z(() => {
|
|
3170
3171
|
const o = Math.ceil(i.total / i.perPage);
|
|
3171
3172
|
return `${o} ${Q(o, "page")}`;
|
|
3172
3173
|
});
|
|
3173
|
-
return (o, s) => (
|
|
3174
|
+
return (o, s) => (r(), v("div", ba, [
|
|
3174
3175
|
s[2] || (s[2] = M(" Number of results per page ")),
|
|
3175
|
-
m("div",
|
|
3176
|
+
m("div", ya, [
|
|
3176
3177
|
h(u(ie), {
|
|
3177
3178
|
options: i.pageSizes,
|
|
3178
3179
|
"model-value": i.perPage,
|
|
@@ -3180,16 +3181,16 @@ const ga = {
|
|
|
3180
3181
|
onChange: s[0] || (s[0] = (p) => l(p))
|
|
3181
3182
|
}, null, 8, ["options", "model-value"])
|
|
3182
3183
|
]),
|
|
3183
|
-
i.total ? (
|
|
3184
|
+
i.total ? (r(), v("div", xa, [
|
|
3184
3185
|
s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
|
|
3185
|
-
m("span",
|
|
3186
|
+
m("span", ha, B(i.total) + " " + B(u(Q)(i.total, "result")) + " across " + B(n.value), 1)
|
|
3186
3187
|
])) : C("", !0)
|
|
3187
3188
|
]));
|
|
3188
3189
|
}
|
|
3189
|
-
}),
|
|
3190
|
+
}), wa = { class: "position-relative" }, ka = { "data-cy": "above-table-slot" }, $a = { class: "d-flex w-100" }, Ba = {
|
|
3190
3191
|
class: "mx-auto",
|
|
3191
3192
|
"data-cy": "empty-message"
|
|
3192
|
-
},
|
|
3193
|
+
}, Fa = { class: "d-flex" }, Sa = { class: "d-flex align-items-end mb-2" }, Ca = { key: 0 }, za = { class: "ms-auto" }, vl = /* @__PURE__ */ S({
|
|
3193
3194
|
__name: "ForgeTable",
|
|
3194
3195
|
props: {
|
|
3195
3196
|
value: {},
|
|
@@ -3282,10 +3283,10 @@ const ga = {
|
|
|
3282
3283
|
sortDirection: "None",
|
|
3283
3284
|
sortField: "",
|
|
3284
3285
|
total: i.totalRecords ?? i.value.length
|
|
3285
|
-
}), p =
|
|
3286
|
+
}), p = z(() => i.totalRecords ?? i.value.length), c = z(() => {
|
|
3286
3287
|
const x = Math.ceil(p.value / o.value);
|
|
3287
3288
|
return `${x} ${Q(x, "page")}`;
|
|
3288
|
-
}), y =
|
|
3289
|
+
}), y = z(() => ({
|
|
3289
3290
|
thead: () => ({
|
|
3290
3291
|
class: [
|
|
3291
3292
|
{
|
|
@@ -3308,32 +3309,32 @@ const ga = {
|
|
|
3308
3309
|
}
|
|
3309
3310
|
]
|
|
3310
3311
|
})
|
|
3311
|
-
})),
|
|
3312
|
+
})), d = () => {
|
|
3312
3313
|
if (i.clearAll)
|
|
3313
3314
|
i.clearAll();
|
|
3314
3315
|
else
|
|
3315
3316
|
for (const x in i.filters)
|
|
3316
3317
|
typeof i.filters[x] == "string" ? i.filters[x] = "" : i.filters[x].value = null;
|
|
3317
3318
|
D(i.filters);
|
|
3318
|
-
},
|
|
3319
|
+
}, $ = () => {
|
|
3319
3320
|
l.value.exportCSV();
|
|
3320
|
-
},
|
|
3321
|
+
}, T = (x) => {
|
|
3321
3322
|
var w;
|
|
3322
3323
|
s.value.sortDirection = x.sortOrder === 1 ? "Asc" : x.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((w = x.sortField) == null ? void 0 : w.toString()) ?? "", a("update:tableContext", s.value), a("sort", x);
|
|
3323
3324
|
}, D = (x) => {
|
|
3324
3325
|
s.value.filters = x, a("update:tableContext", s.value), a("update:filters", x);
|
|
3325
3326
|
}, O = (x) => {
|
|
3326
3327
|
s.value.page = x.page, a("update:tableContext", s.value), a("page", x);
|
|
3327
|
-
},
|
|
3328
|
+
}, U = () => {
|
|
3328
3329
|
s.value.perPage = o.value, a("update:tableContext", s.value);
|
|
3329
3330
|
};
|
|
3330
3331
|
return te(() => i.filters, (x) => {
|
|
3331
3332
|
s.value.filters = x, a("update:tableContext", s.value);
|
|
3332
|
-
}, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (x, w) => (
|
|
3333
|
-
m("span",
|
|
3334
|
-
|
|
3333
|
+
}, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (x, w) => (r(), v("div", wa, [
|
|
3334
|
+
m("span", ka, [
|
|
3335
|
+
k(x.$slots, "above-table")
|
|
3335
3336
|
]),
|
|
3336
|
-
h(u(We),
|
|
3337
|
+
h(u(We), _({
|
|
3337
3338
|
class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
|
|
3338
3339
|
}, { ...i, ...x.$attrs }, {
|
|
3339
3340
|
pt: y.value,
|
|
@@ -3344,43 +3345,43 @@ const ga = {
|
|
|
3344
3345
|
ref: l,
|
|
3345
3346
|
"data-cy": "table",
|
|
3346
3347
|
"onUpdate:filters": D,
|
|
3347
|
-
onSort:
|
|
3348
|
+
onSort: T,
|
|
3348
3349
|
onPage: O,
|
|
3349
3350
|
showHeaders: ""
|
|
3350
3351
|
}), ae({
|
|
3351
|
-
empty:
|
|
3352
|
-
m("div",
|
|
3353
|
-
m("h5",
|
|
3352
|
+
empty: f(() => [
|
|
3353
|
+
m("div", $a, [
|
|
3354
|
+
m("h5", Ba, B(x.emptyMessage ?? "No items Found."), 1)
|
|
3354
3355
|
])
|
|
3355
3356
|
]),
|
|
3356
|
-
header:
|
|
3357
|
+
header: f(() => [
|
|
3357
3358
|
m("div", {
|
|
3358
3359
|
class: F(i.loading ? "opacity-50" : "")
|
|
3359
3360
|
}, [
|
|
3360
|
-
m("div",
|
|
3361
|
-
m("div",
|
|
3362
|
-
x.paginator && !x.legacyPaginationFooter ? (
|
|
3361
|
+
m("div", Fa, [
|
|
3362
|
+
m("div", Sa, [
|
|
3363
|
+
x.paginator && !x.legacyPaginationFooter ? (r(), v("span", Ca, [
|
|
3363
3364
|
h(he, {
|
|
3364
3365
|
total: p.value,
|
|
3365
3366
|
"page-sizes": n.value,
|
|
3366
3367
|
"per-page": o.value,
|
|
3367
3368
|
"onUpdate:perPage": [
|
|
3368
|
-
w[0] || (w[0] = (
|
|
3369
|
-
|
|
3369
|
+
w[0] || (w[0] = (I) => o.value = I),
|
|
3370
|
+
U
|
|
3370
3371
|
]
|
|
3371
3372
|
}, null, 8, ["total", "page-sizes", "per-page"])
|
|
3372
3373
|
])) : C("", !0)
|
|
3373
3374
|
]),
|
|
3374
|
-
m("div",
|
|
3375
|
-
x.showClearButton ? (
|
|
3375
|
+
m("div", za, [
|
|
3376
|
+
x.showClearButton ? (r(), b(u(q), {
|
|
3376
3377
|
key: 0,
|
|
3377
3378
|
outlined: "",
|
|
3378
3379
|
class: F(x.showExporterButton ? "me-2" : ""),
|
|
3379
|
-
onClick:
|
|
3380
|
+
onClick: d,
|
|
3380
3381
|
"data-cy": "clear-all"
|
|
3381
3382
|
}, {
|
|
3382
|
-
default:
|
|
3383
|
-
h(u(
|
|
3383
|
+
default: f(() => [
|
|
3384
|
+
h(u(j), {
|
|
3384
3385
|
icon: "bi:funnel-fill",
|
|
3385
3386
|
width: "24",
|
|
3386
3387
|
height: "24"
|
|
@@ -3389,14 +3390,14 @@ const ga = {
|
|
|
3389
3390
|
]),
|
|
3390
3391
|
_: 1
|
|
3391
3392
|
}, 8, ["class"])) : C("", !0),
|
|
3392
|
-
x.showExporterButton ? (
|
|
3393
|
+
x.showExporterButton ? (r(), b(u(q), {
|
|
3393
3394
|
key: 1,
|
|
3394
3395
|
outlined: "",
|
|
3395
|
-
onClick:
|
|
3396
|
+
onClick: $,
|
|
3396
3397
|
"data-cy": "exporter"
|
|
3397
3398
|
}, {
|
|
3398
|
-
default:
|
|
3399
|
-
h(u(
|
|
3399
|
+
default: f(() => [
|
|
3400
|
+
h(u(j), {
|
|
3400
3401
|
icon: "typcn:export",
|
|
3401
3402
|
width: "24",
|
|
3402
3403
|
height: "24"
|
|
@@ -3405,25 +3406,25 @@ const ga = {
|
|
|
3405
3406
|
]),
|
|
3406
3407
|
_: 1
|
|
3407
3408
|
})) : C("", !0),
|
|
3408
|
-
|
|
3409
|
+
k(x.$slots, "column-customiser")
|
|
3409
3410
|
])
|
|
3410
3411
|
])
|
|
3411
3412
|
], 2)
|
|
3412
3413
|
]),
|
|
3413
|
-
default:
|
|
3414
|
-
|
|
3414
|
+
default: f(() => [
|
|
3415
|
+
k(x.$slots, "default")
|
|
3415
3416
|
]),
|
|
3416
3417
|
_: 2
|
|
3417
3418
|
}, [
|
|
3418
|
-
|
|
3419
|
-
name:
|
|
3420
|
-
fn:
|
|
3421
|
-
|
|
3419
|
+
E(x.$slots, (I, g) => ({
|
|
3420
|
+
name: g,
|
|
3421
|
+
fn: f((V) => [
|
|
3422
|
+
k(x.$slots, g, W(G(V || {})))
|
|
3422
3423
|
])
|
|
3423
3424
|
})),
|
|
3424
3425
|
x.legacyPaginationFooter ? {
|
|
3425
3426
|
name: "paginatorstart",
|
|
3426
|
-
fn:
|
|
3427
|
+
fn: f(() => [
|
|
3427
3428
|
m("span", {
|
|
3428
3429
|
class: F(["d-flex", i.loading ? "opacity-50" : ""]),
|
|
3429
3430
|
"data-cy": "legacy-page-size"
|
|
@@ -3432,9 +3433,9 @@ const ga = {
|
|
|
3432
3433
|
h(u(ie), {
|
|
3433
3434
|
options: n.value,
|
|
3434
3435
|
modelValue: o.value,
|
|
3435
|
-
"onUpdate:modelValue": w[1] || (w[1] = (
|
|
3436
|
+
"onUpdate:modelValue": w[1] || (w[1] = (I) => o.value = I),
|
|
3436
3437
|
class: "ms-2",
|
|
3437
|
-
onClick:
|
|
3438
|
+
onClick: U
|
|
3438
3439
|
}, null, 8, ["options", "modelValue"])
|
|
3439
3440
|
], 2)
|
|
3440
3441
|
]),
|
|
@@ -3442,7 +3443,7 @@ const ga = {
|
|
|
3442
3443
|
} : void 0,
|
|
3443
3444
|
x.legacyPaginationFooter ? {
|
|
3444
3445
|
name: "paginatorend",
|
|
3445
|
-
fn:
|
|
3446
|
+
fn: f(() => [
|
|
3446
3447
|
m("span", {
|
|
3447
3448
|
"data-cy": "legacy-total",
|
|
3448
3449
|
class: F(i.loading ? "opacity-50" : "")
|
|
@@ -3453,7 +3454,7 @@ const ga = {
|
|
|
3453
3454
|
]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
|
|
3454
3455
|
]));
|
|
3455
3456
|
}
|
|
3456
|
-
}),
|
|
3457
|
+
}), Ta = { class: "position-relative" }, _a = { "data-cy": "above-table-slot" }, ja = { class: "d-flex" }, Pa = { class: "d-flex align-items-end mb-2" }, Ia = { key: 0 }, Ma = { class: "ms-auto" }, fl = /* @__PURE__ */ S({
|
|
3457
3458
|
__name: "ForgeTreeTable",
|
|
3458
3459
|
props: {
|
|
3459
3460
|
stripedRows: { type: Boolean, default: !1 },
|
|
@@ -3521,21 +3522,21 @@ const ga = {
|
|
|
3521
3522
|
sortDirection: "None",
|
|
3522
3523
|
sortField: "",
|
|
3523
3524
|
total: a.totalRecords ?? a.value.length
|
|
3524
|
-
}), c =
|
|
3525
|
-
const
|
|
3526
|
-
return `${
|
|
3527
|
-
}),
|
|
3525
|
+
}), c = z(() => a.totalRecords ?? a.value.length), y = z(() => {
|
|
3526
|
+
const g = Math.ceil(c.value / n.value);
|
|
3527
|
+
return `${g} ${Q(g, "page")}`;
|
|
3528
|
+
}), d = z(() => ({
|
|
3528
3529
|
root: "position-relative",
|
|
3529
|
-
table: (
|
|
3530
|
+
table: (g) => ({
|
|
3530
3531
|
class: [
|
|
3531
3532
|
"table position-relative",
|
|
3532
3533
|
{
|
|
3533
|
-
"table-striped":
|
|
3534
|
-
"table-hover":
|
|
3535
|
-
"table-bordered":
|
|
3536
|
-
"table-sm":
|
|
3537
|
-
"table-lg":
|
|
3538
|
-
"opacity-50":
|
|
3534
|
+
"table-striped": g.attrs.stripedRows,
|
|
3535
|
+
"table-hover": g.props.rowHover,
|
|
3536
|
+
"table-bordered": g.props.showGridlines,
|
|
3537
|
+
"table-sm": g.props.size === "small",
|
|
3538
|
+
"table-lg": g.props.size === "large",
|
|
3539
|
+
"opacity-50": g.props.loading
|
|
3539
3540
|
}
|
|
3540
3541
|
]
|
|
3541
3542
|
}),
|
|
@@ -3553,40 +3554,40 @@ const ga = {
|
|
|
3553
3554
|
}
|
|
3554
3555
|
]
|
|
3555
3556
|
}),
|
|
3556
|
-
row: ({ instance:
|
|
3557
|
+
row: ({ instance: g }) => [
|
|
3557
3558
|
{
|
|
3558
|
-
"parent-node":
|
|
3559
|
+
"parent-node": g.node.hasOwnProperty("children")
|
|
3559
3560
|
}
|
|
3560
3561
|
]
|
|
3561
3562
|
}));
|
|
3562
|
-
te(() => a.parentExpanderFullRow, (
|
|
3563
|
-
|
|
3563
|
+
te(() => a.parentExpanderFullRow, (g) => {
|
|
3564
|
+
g ? $() : T();
|
|
3564
3565
|
});
|
|
3565
|
-
const
|
|
3566
|
+
const $ = () => {
|
|
3566
3567
|
a.parentExpanderFullRow && setTimeout(
|
|
3567
3568
|
() => {
|
|
3568
|
-
const
|
|
3569
|
+
const g = Array.from(
|
|
3569
3570
|
document.querySelectorAll(".parent-node td.expander-cell")
|
|
3570
3571
|
);
|
|
3571
3572
|
Array.from(
|
|
3572
3573
|
document.querySelectorAll(".parent-node td")
|
|
3573
3574
|
).forEach((L) => {
|
|
3574
3575
|
L.classList.add("d-none");
|
|
3575
|
-
}),
|
|
3576
|
+
}), g.forEach((L) => {
|
|
3576
3577
|
L.setAttribute("colspan", a.totalColumns.toString()), L.classList.remove("d-none");
|
|
3577
3578
|
});
|
|
3578
3579
|
},
|
|
3579
3580
|
0
|
|
3580
3581
|
);
|
|
3581
|
-
},
|
|
3582
|
+
}, T = () => {
|
|
3582
3583
|
setTimeout(
|
|
3583
3584
|
() => {
|
|
3584
|
-
const
|
|
3585
|
+
const g = Array.from(
|
|
3585
3586
|
document.querySelectorAll(".parent-node td.expander-cell")
|
|
3586
3587
|
), V = Array.from(
|
|
3587
3588
|
document.querySelectorAll(".parent-node td")
|
|
3588
3589
|
);
|
|
3589
|
-
|
|
3590
|
+
g.forEach((L) => {
|
|
3590
3591
|
L.removeAttribute("colspan");
|
|
3591
3592
|
}), V.forEach((L) => {
|
|
3592
3593
|
L.classList.remove("d-none");
|
|
@@ -3598,54 +3599,54 @@ const ga = {
|
|
|
3598
3599
|
if (a.clearAll)
|
|
3599
3600
|
a.clearAll();
|
|
3600
3601
|
else
|
|
3601
|
-
for (const
|
|
3602
|
-
typeof a.filters[
|
|
3603
|
-
|
|
3604
|
-
}, O = (
|
|
3602
|
+
for (const g in a.filters)
|
|
3603
|
+
typeof a.filters[g] == "string" ? a.filters[g] = "" : a.filters[g].value = null;
|
|
3604
|
+
U(a.filters);
|
|
3605
|
+
}, O = (g) => {
|
|
3605
3606
|
var V;
|
|
3606
|
-
p.value.sortDirection =
|
|
3607
|
-
},
|
|
3608
|
-
p.value.filters =
|
|
3609
|
-
}, x = (
|
|
3610
|
-
p.value.page = s.value =
|
|
3607
|
+
p.value.sortDirection = g.sortOrder === 1 ? "Asc" : g.sortOrder === -1 ? "Desc" : "None", p.value.sortField = ((V = g.sortField) == null ? void 0 : V.toString()) ?? "", i("update:tableContext", p.value), i("sort", g), $();
|
|
3608
|
+
}, U = (g) => {
|
|
3609
|
+
p.value.filters = g, i("update:tableContext", p.value), i("update:filters", g), $();
|
|
3610
|
+
}, x = (g) => {
|
|
3611
|
+
p.value.page = s.value = g.page, I(), i("update:tableContext", p.value), i("page", g), $();
|
|
3611
3612
|
}, w = () => {
|
|
3612
|
-
p.value.perPage = n.value, s.value = 0, p.value.page = s.value = Math.floor(o.value / n.value),
|
|
3613
|
+
p.value.perPage = n.value, s.value = 0, p.value.page = s.value = Math.floor(o.value / n.value), I(), i("update:tableContext", p.value), $();
|
|
3613
3614
|
};
|
|
3614
|
-
te(() => a.filters, (
|
|
3615
|
-
p.value.filters =
|
|
3615
|
+
te(() => a.filters, (g) => {
|
|
3616
|
+
p.value.filters = g, i("update:tableContext", p.value);
|
|
3616
3617
|
}, { deep: !0 }), te(() => a.value, () => {
|
|
3617
|
-
|
|
3618
|
+
$();
|
|
3618
3619
|
}), ne(() => {
|
|
3619
|
-
|
|
3620
|
+
$(), i("update:tableContext", p.value);
|
|
3620
3621
|
});
|
|
3621
|
-
const
|
|
3622
|
+
const I = () => {
|
|
3622
3623
|
o.value = s.value * n.value;
|
|
3623
3624
|
};
|
|
3624
|
-
return (
|
|
3625
|
-
m("span",
|
|
3626
|
-
|
|
3625
|
+
return (g, V) => (r(), v("div", Ta, [
|
|
3626
|
+
m("span", _a, [
|
|
3627
|
+
k(g.$slots, "above-table")
|
|
3627
3628
|
]),
|
|
3628
|
-
h(u(Ge),
|
|
3629
|
+
h(u(Ge), _({
|
|
3629
3630
|
class: ["w-100", `${a.severity ? `forge-table-${a.severity}` : ""}`]
|
|
3630
|
-
}, { ...a, ...
|
|
3631
|
-
pt:
|
|
3631
|
+
}, { ...a, ...g.$attrs }, {
|
|
3632
|
+
pt: d.value,
|
|
3632
3633
|
"filter-display": a.filters ? "row" : void 0,
|
|
3633
|
-
rows:
|
|
3634
|
+
rows: g.paginator ? n.value : void 0,
|
|
3634
3635
|
"data-cy": "tree-table",
|
|
3635
|
-
"onUpdate:filters":
|
|
3636
|
+
"onUpdate:filters": U,
|
|
3636
3637
|
onSort: O,
|
|
3637
3638
|
onPage: x,
|
|
3638
|
-
onNodeExpand: V[2] || (V[2] = () =>
|
|
3639
|
+
onNodeExpand: V[2] || (V[2] = () => $()),
|
|
3639
3640
|
showHeaders: "",
|
|
3640
3641
|
first: o.value
|
|
3641
3642
|
}), ae({
|
|
3642
|
-
header:
|
|
3643
|
+
header: f(() => [
|
|
3643
3644
|
m("div", {
|
|
3644
3645
|
class: F(a.loading ? "opacity-50" : "")
|
|
3645
3646
|
}, [
|
|
3646
3647
|
m("div", ja, [
|
|
3647
|
-
m("div",
|
|
3648
|
-
|
|
3648
|
+
m("div", Pa, [
|
|
3649
|
+
g.paginator && !g.legacyPaginationFooter ? (r(), v("span", Ia, [
|
|
3649
3650
|
h(he, {
|
|
3650
3651
|
total: c.value,
|
|
3651
3652
|
"page-sizes": l.value,
|
|
@@ -3657,15 +3658,15 @@ const ga = {
|
|
|
3657
3658
|
}, null, 8, ["total", "page-sizes", "per-page"])
|
|
3658
3659
|
])) : C("", !0)
|
|
3659
3660
|
]),
|
|
3660
|
-
m("div",
|
|
3661
|
-
|
|
3661
|
+
m("div", Ma, [
|
|
3662
|
+
g.showClearButton ? (r(), b(u(q), {
|
|
3662
3663
|
key: 0,
|
|
3663
3664
|
outlined: "",
|
|
3664
3665
|
onClick: D,
|
|
3665
3666
|
"data-cy": "clear-all"
|
|
3666
3667
|
}, {
|
|
3667
|
-
default:
|
|
3668
|
-
h(u(
|
|
3668
|
+
default: f(() => [
|
|
3669
|
+
h(u(j), {
|
|
3669
3670
|
icon: "bi:funnel-fill",
|
|
3670
3671
|
width: "24",
|
|
3671
3672
|
height: "24"
|
|
@@ -3674,25 +3675,25 @@ const ga = {
|
|
|
3674
3675
|
]),
|
|
3675
3676
|
_: 1
|
|
3676
3677
|
})) : C("", !0),
|
|
3677
|
-
|
|
3678
|
+
k(g.$slots, "column-customiser")
|
|
3678
3679
|
])
|
|
3679
3680
|
])
|
|
3680
3681
|
], 2)
|
|
3681
3682
|
]),
|
|
3682
|
-
default:
|
|
3683
|
-
|
|
3683
|
+
default: f(() => [
|
|
3684
|
+
k(g.$slots, "default")
|
|
3684
3685
|
]),
|
|
3685
3686
|
_: 2
|
|
3686
3687
|
}, [
|
|
3687
|
-
|
|
3688
|
+
E(g.$slots, (L, ve) => ({
|
|
3688
3689
|
name: ve,
|
|
3689
|
-
fn:
|
|
3690
|
-
|
|
3690
|
+
fn: f(($e) => [
|
|
3691
|
+
k(g.$slots, ve, W(G($e || {})))
|
|
3691
3692
|
])
|
|
3692
3693
|
})),
|
|
3693
|
-
|
|
3694
|
+
g.legacyPaginationFooter ? {
|
|
3694
3695
|
name: "paginatorstart",
|
|
3695
|
-
fn:
|
|
3696
|
+
fn: f(() => [
|
|
3696
3697
|
m("span", {
|
|
3697
3698
|
class: F(["d-flex", a.loading ? "opacity-50" : ""]),
|
|
3698
3699
|
"data-cy": "legacy-page-size"
|
|
@@ -3709,9 +3710,9 @@ const ga = {
|
|
|
3709
3710
|
]),
|
|
3710
3711
|
key: "0"
|
|
3711
3712
|
} : void 0,
|
|
3712
|
-
|
|
3713
|
+
g.legacyPaginationFooter ? {
|
|
3713
3714
|
name: "paginatorend",
|
|
3714
|
-
fn:
|
|
3715
|
+
fn: f(() => [
|
|
3715
3716
|
m("span", {
|
|
3716
3717
|
"data-cy": "legacy-total",
|
|
3717
3718
|
class: F(a.loading ? "opacity-50" : "")
|
|
@@ -3722,7 +3723,7 @@ const ga = {
|
|
|
3722
3723
|
]), 1040, ["class", "pt", "filter-display", "rows", "first"])
|
|
3723
3724
|
]));
|
|
3724
3725
|
}
|
|
3725
|
-
}),
|
|
3726
|
+
}), Va = { class: "d-flex position-relative" }, Da = { class: "d-flex w-100" }, gl = /* @__PURE__ */ S({
|
|
3726
3727
|
__name: "ForgeFilterHeader",
|
|
3727
3728
|
props: /* @__PURE__ */ R({
|
|
3728
3729
|
dataType: {},
|
|
@@ -3743,7 +3744,7 @@ const ga = {
|
|
|
3743
3744
|
const o = (s) => {
|
|
3744
3745
|
var c;
|
|
3745
3746
|
const p = (c = e.dropdownOptions) == null ? void 0 : c.find(
|
|
3746
|
-
(y) => e.optionValue ? y[e.optionValue] === s : Object.keys(y).every((
|
|
3747
|
+
(y) => e.optionValue ? y[e.optionValue] === s : Object.keys(y).every((d) => s.hasOwnProperty(d) && y[d] === s[d])
|
|
3747
3748
|
);
|
|
3748
3749
|
return e.optionLabel ? p[e.optionLabel] : p;
|
|
3749
3750
|
};
|
|
@@ -3753,20 +3754,20 @@ const ga = {
|
|
|
3753
3754
|
};
|
|
3754
3755
|
return (l, n) => {
|
|
3755
3756
|
const o = fe, s = q;
|
|
3756
|
-
return
|
|
3757
|
-
l.dataType === "numeric" ? (
|
|
3757
|
+
return r(), v("div", Va, [
|
|
3758
|
+
l.dataType === "numeric" ? (r(), b(o, _({
|
|
3758
3759
|
key: 0,
|
|
3759
3760
|
modelValue: t.value,
|
|
3760
3761
|
"onUpdate:modelValue": n[0] || (n[0] = (p) => t.value = p),
|
|
3761
3762
|
modelModifiers: { trim: !0 }
|
|
3762
|
-
}, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (
|
|
3763
|
+
}, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (r(), b(xe, _({
|
|
3763
3764
|
key: 1,
|
|
3764
3765
|
modelValue: t.value,
|
|
3765
3766
|
"onUpdate:modelValue": n[1] || (n[1] = (p) => t.value = p)
|
|
3766
3767
|
}, l.$attrs, {
|
|
3767
3768
|
"show-icon": !1,
|
|
3768
3769
|
"show-on-focus": !0
|
|
3769
|
-
}), null, 16, ["modelValue"])) : l.dataType === "select" ? (
|
|
3770
|
+
}), null, 16, ["modelValue"])) : l.dataType === "select" ? (r(), b(u(ie), _({
|
|
3770
3771
|
key: 2,
|
|
3771
3772
|
modelValue: t.value,
|
|
3772
3773
|
"onUpdate:modelValue": n[2] || (n[2] = (p) => t.value = p)
|
|
@@ -3775,19 +3776,19 @@ const ga = {
|
|
|
3775
3776
|
"option-value": l.optionValue,
|
|
3776
3777
|
"option-label": l.optionLabel
|
|
3777
3778
|
}), {
|
|
3778
|
-
value:
|
|
3779
|
-
m("div",
|
|
3779
|
+
value: f(({ value: p, placeholder: c }) => [
|
|
3780
|
+
m("div", Da, [
|
|
3780
3781
|
m("span", {
|
|
3781
3782
|
class: F({ "filter-placeholder": p === null })
|
|
3782
3783
|
}, B(a(p, c)), 3),
|
|
3783
|
-
l.showClearButton && t.value !== null ? (
|
|
3784
|
+
l.showClearButton && t.value !== null ? (r(), b(s, {
|
|
3784
3785
|
key: 0,
|
|
3785
3786
|
onClick: X(i, ["prevent"]),
|
|
3786
3787
|
size: "small",
|
|
3787
3788
|
class: "bg-transparent border-0 ms-auto p-0 pe-1"
|
|
3788
3789
|
}, {
|
|
3789
|
-
default:
|
|
3790
|
-
h(u(
|
|
3790
|
+
default: f(() => [
|
|
3791
|
+
h(u(j), {
|
|
3791
3792
|
icon: "bi:x",
|
|
3792
3793
|
width: "1rem",
|
|
3793
3794
|
height: "1rem",
|
|
@@ -3799,7 +3800,7 @@ const ga = {
|
|
|
3799
3800
|
])
|
|
3800
3801
|
]),
|
|
3801
3802
|
_: 1
|
|
3802
|
-
}, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (
|
|
3803
|
+
}, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (r(), b(u(re), _({
|
|
3803
3804
|
key: 3,
|
|
3804
3805
|
modelValue: t.value,
|
|
3805
3806
|
"onUpdate:modelValue": n[3] || (n[3] = (p) => t.value = p)
|
|
@@ -3809,20 +3810,20 @@ const ga = {
|
|
|
3809
3810
|
"option-label": l.optionLabel,
|
|
3810
3811
|
"option-value": l.optionValue,
|
|
3811
3812
|
filter: ""
|
|
3812
|
-
}), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (
|
|
3813
|
+
}), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (r(), b(u(se), _({
|
|
3813
3814
|
key: 4,
|
|
3814
3815
|
modelValue: t.value,
|
|
3815
3816
|
"onUpdate:modelValue": n[4] || (n[4] = (p) => t.value = p),
|
|
3816
3817
|
modelModifiers: { trim: !0 }
|
|
3817
3818
|
}, l.$attrs), null, 16, ["modelValue"])),
|
|
3818
|
-
l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (
|
|
3819
|
+
l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (r(), b(s, {
|
|
3819
3820
|
key: 5,
|
|
3820
3821
|
onClick: X(i, ["prevent"]),
|
|
3821
3822
|
size: "small",
|
|
3822
3823
|
class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
|
|
3823
3824
|
}, {
|
|
3824
|
-
default:
|
|
3825
|
-
h(u(
|
|
3825
|
+
default: f(() => [
|
|
3826
|
+
h(u(j), {
|
|
3826
3827
|
icon: "bi:x",
|
|
3827
3828
|
width: "1rem",
|
|
3828
3829
|
height: "1rem",
|
|
@@ -4944,7 +4945,7 @@ class we {
|
|
|
4944
4945
|
}
|
|
4945
4946
|
}
|
|
4946
4947
|
K = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap();
|
|
4947
|
-
const
|
|
4948
|
+
const Oa = new we(ue, ce)._freeze();
|
|
4948
4949
|
function ke(e, t, a, i) {
|
|
4949
4950
|
const l = t.flatMap((n) => n.file);
|
|
4950
4951
|
return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
|
|
@@ -4957,7 +4958,7 @@ function ke(e, t, a, i) {
|
|
|
4957
4958
|
})) : t[o].status = "Duplicate";
|
|
4958
4959
|
}), t;
|
|
4959
4960
|
}
|
|
4960
|
-
async function
|
|
4961
|
+
async function Na(e, t) {
|
|
4961
4962
|
if (e === "Uploaded" && t !== null)
|
|
4962
4963
|
try {
|
|
4963
4964
|
await new ge(t).delete();
|
|
@@ -4980,20 +4981,20 @@ function me(e, t = !0, a = 1) {
|
|
|
4980
4981
|
while (Math.round(Math.abs(e) * o) / o >= i && n < l.length - 1);
|
|
4981
4982
|
return e.toFixed(a) + " " + l[n];
|
|
4982
4983
|
}
|
|
4983
|
-
function
|
|
4984
|
+
function Aa(e) {
|
|
4984
4985
|
return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
|
|
4985
4986
|
}
|
|
4986
|
-
function
|
|
4987
|
+
function Ea(e) {
|
|
4987
4988
|
return URL.createObjectURL(e);
|
|
4988
4989
|
}
|
|
4989
|
-
function
|
|
4990
|
+
function Ua() {
|
|
4990
4991
|
const e = new we(ue, ce);
|
|
4991
4992
|
return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
|
|
4992
4993
|
}
|
|
4993
|
-
const
|
|
4994
|
+
const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disabled", "multiple"], Ra = {
|
|
4994
4995
|
class: "text-break accepted-file-types-container",
|
|
4995
4996
|
id: "accepted-file-types-overlay"
|
|
4996
|
-
},
|
|
4997
|
+
}, Ha = /* @__PURE__ */ S({
|
|
4997
4998
|
__name: "UploadButton",
|
|
4998
4999
|
props: /* @__PURE__ */ R({
|
|
4999
5000
|
acceptedFileTypes: {},
|
|
@@ -5005,13 +5006,13 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5005
5006
|
}),
|
|
5006
5007
|
emits: ["update:modelValue"],
|
|
5007
5008
|
setup(e) {
|
|
5008
|
-
const t = N(e, "modelValue"), a = P(), i = (o) => a.value.toggle(o), l =
|
|
5009
|
+
const t = N(e, "modelValue"), a = P(), i = (o) => a.value.toggle(o), l = z(() => e.maxFileInput <= t.value.length), n = (o) => {
|
|
5009
5010
|
t.value = ke(o, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
|
|
5010
5011
|
};
|
|
5011
5012
|
return (o, s) => {
|
|
5012
5013
|
const p = q;
|
|
5013
|
-
return
|
|
5014
|
-
|
|
5014
|
+
return r(), v("div", qa, [
|
|
5015
|
+
k(o.$slots, "message"),
|
|
5015
5016
|
m("div", null, [
|
|
5016
5017
|
m("input", {
|
|
5017
5018
|
id: "file-input",
|
|
@@ -5021,14 +5022,14 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5021
5022
|
disabled: l.value,
|
|
5022
5023
|
multiple: o.maxFileInput > 1,
|
|
5023
5024
|
onInput: s[0] || (s[0] = (c) => n([...c.target.files]))
|
|
5024
|
-
}, null, 40,
|
|
5025
|
+
}, null, 40, La),
|
|
5025
5026
|
m("label", {
|
|
5026
5027
|
class: F([{ disabled: l.value }, "btn btn-primary"]),
|
|
5027
5028
|
id: "file-input-button",
|
|
5028
5029
|
for: "file-input"
|
|
5029
5030
|
}, [
|
|
5030
|
-
|
|
5031
|
-
h(u(
|
|
5031
|
+
k(o.$slots, "button-content", {}, () => [
|
|
5032
|
+
h(u(j), {
|
|
5032
5033
|
icon: "bi:upload",
|
|
5033
5034
|
class: "me-2",
|
|
5034
5035
|
height: "20px",
|
|
@@ -5038,14 +5039,14 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5038
5039
|
])
|
|
5039
5040
|
], 2)
|
|
5040
5041
|
]),
|
|
5041
|
-
o.showDragDropArea ? (
|
|
5042
|
+
o.showDragDropArea ? (r(), b(p, {
|
|
5042
5043
|
link: "",
|
|
5043
5044
|
class: "ms-auto",
|
|
5044
5045
|
key: o.acceptedFileTypes.length,
|
|
5045
5046
|
id: "accepted-file-types",
|
|
5046
5047
|
onClick: i
|
|
5047
5048
|
}, {
|
|
5048
|
-
default:
|
|
5049
|
+
default: f(() => s[2] || (s[2] = [
|
|
5049
5050
|
M("Accepted File Types")
|
|
5050
5051
|
])),
|
|
5051
5052
|
_: 1
|
|
@@ -5054,22 +5055,22 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5054
5055
|
ref_key: "acceptedFilesOverlay",
|
|
5055
5056
|
ref: a
|
|
5056
5057
|
}, {
|
|
5057
|
-
default:
|
|
5058
|
-
m("div",
|
|
5058
|
+
default: f(() => [
|
|
5059
|
+
m("div", Ra, B(o.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
|
|
5059
5060
|
]),
|
|
5060
5061
|
_: 1
|
|
5061
5062
|
}, 512)
|
|
5062
5063
|
]);
|
|
5063
5064
|
};
|
|
5064
5065
|
}
|
|
5065
|
-
}),
|
|
5066
|
+
}), Wa = {
|
|
5066
5067
|
key: 0,
|
|
5067
5068
|
class: "py-4 px-3",
|
|
5068
5069
|
id: "placeholder-message"
|
|
5069
|
-
},
|
|
5070
|
+
}, Ga = {
|
|
5070
5071
|
key: 1,
|
|
5071
5072
|
class: "d-flex flex-column"
|
|
5072
|
-
},
|
|
5073
|
+
}, Ya = /* @__PURE__ */ S({
|
|
5073
5074
|
__name: "DragDropArea",
|
|
5074
5075
|
props: /* @__PURE__ */ R({
|
|
5075
5076
|
maxFileInput: {},
|
|
@@ -5081,30 +5082,30 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5081
5082
|
}),
|
|
5082
5083
|
emits: ["update:modelValue"],
|
|
5083
5084
|
setup(e) {
|
|
5084
|
-
const t = N(e, "modelValue"), a = P(!1), i =
|
|
5085
|
+
const t = N(e, "modelValue"), a = P(!1), i = z(() => e.maxFileInput <= t.value.length), l = (n) => {
|
|
5085
5086
|
a.value = !1, n.dataTransfer.files.length > e.maxFileInput || i.value ? n.preventDefault() : t.value = ke([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((o) => o.fileType), e.maxFileSize);
|
|
5086
5087
|
};
|
|
5087
|
-
return (n, o) => (
|
|
5088
|
+
return (n, o) => (r(), v("div", {
|
|
5088
5089
|
id: "drag-drop-area",
|
|
5089
5090
|
class: F(`${a.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
|
|
5090
5091
|
onDragleave: o[0] || (o[0] = X((s) => a.value = !1, ["prevent"])),
|
|
5091
5092
|
onDragover: o[1] || (o[1] = X((s) => a.value = !0, ["prevent"])),
|
|
5092
5093
|
onDrop: X(l, ["prevent"])
|
|
5093
5094
|
}, [
|
|
5094
|
-
t.value.length === 0 ? (
|
|
5095
|
-
h(u(
|
|
5095
|
+
t.value.length === 0 ? (r(), v("div", Wa, [
|
|
5096
|
+
h(u(j), {
|
|
5096
5097
|
icon: "bi:upload",
|
|
5097
5098
|
class: "me-2",
|
|
5098
5099
|
height: "20px",
|
|
5099
5100
|
width: "20px"
|
|
5100
5101
|
}),
|
|
5101
5102
|
o[2] || (o[2] = M(" Drag and drop files here "))
|
|
5102
|
-
])) : (
|
|
5103
|
-
|
|
5103
|
+
])) : (r(), v("div", Ga, [
|
|
5104
|
+
k(n.$slots, "default")
|
|
5104
5105
|
]))
|
|
5105
5106
|
], 34));
|
|
5106
5107
|
}
|
|
5107
|
-
}),
|
|
5108
|
+
}), Ja = { class: "d-flex align-items-center me-2" }, Ka = /* @__PURE__ */ S({
|
|
5108
5109
|
__name: "UploadStatus",
|
|
5109
5110
|
props: {
|
|
5110
5111
|
fileSize: {},
|
|
@@ -5113,7 +5114,7 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5113
5114
|
uploadStatus: {}
|
|
5114
5115
|
},
|
|
5115
5116
|
setup(e) {
|
|
5116
|
-
const t = e, a =
|
|
5117
|
+
const t = e, a = z(() => t.uploadStatus === "Failed" || t.uploadStatus === "InvalidFileType" || t.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), i = z(() => {
|
|
5117
5118
|
switch (t.uploadStatus) {
|
|
5118
5119
|
case "InvalidFileType":
|
|
5119
5120
|
return "Upload Failed: File type is not accepted.";
|
|
@@ -5131,15 +5132,15 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5131
5132
|
});
|
|
5132
5133
|
return (l, n) => {
|
|
5133
5134
|
const o = pe;
|
|
5134
|
-
return
|
|
5135
|
-
t.uploadStatus === "Uploading" ? (
|
|
5136
|
-
t.uploadStatus !== "Uploading" && t.uploadStatus !== "Not Uploaded" && t.uploadStatus !== "Uploaded" && t.uploadStatus !== "Preparing" ? (
|
|
5135
|
+
return r(), v("div", Ja, [
|
|
5136
|
+
t.uploadStatus === "Uploading" ? (r(), b(o, { key: 0 })) : C("", !0),
|
|
5137
|
+
t.uploadStatus !== "Uploading" && t.uploadStatus !== "Not Uploaded" && t.uploadStatus !== "Uploaded" && t.uploadStatus !== "Preparing" ? (r(), b(de, {
|
|
5137
5138
|
key: 1,
|
|
5138
5139
|
id: "upload-status-alert",
|
|
5139
5140
|
severity: a.value,
|
|
5140
5141
|
class: "mb-0 w-75 ms-auto"
|
|
5141
5142
|
}, {
|
|
5142
|
-
default:
|
|
5143
|
+
default: f(() => [
|
|
5143
5144
|
M(B(i.value), 1)
|
|
5144
5145
|
]),
|
|
5145
5146
|
_: 1
|
|
@@ -5147,16 +5148,16 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5147
5148
|
]);
|
|
5148
5149
|
};
|
|
5149
5150
|
}
|
|
5150
|
-
}),
|
|
5151
|
+
}), Za = ["data-cy"], Xa = { class: "ms-3 d-flex flex-column" }, Qa = {
|
|
5151
5152
|
key: 1,
|
|
5152
5153
|
id: "file-name"
|
|
5153
|
-
},
|
|
5154
|
+
}, ei = {
|
|
5154
5155
|
class: "text-black-50",
|
|
5155
5156
|
id: "file-type"
|
|
5156
|
-
},
|
|
5157
|
+
}, ti = {
|
|
5157
5158
|
class: "text-black-50",
|
|
5158
5159
|
id: "file-size"
|
|
5159
|
-
},
|
|
5160
|
+
}, ai = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, ii = /* @__PURE__ */ S({
|
|
5160
5161
|
__name: "FileInfo",
|
|
5161
5162
|
props: /* @__PURE__ */ R({
|
|
5162
5163
|
editableFileName: { type: Boolean },
|
|
@@ -5175,13 +5176,13 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5175
5176
|
}),
|
|
5176
5177
|
emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
|
|
5177
5178
|
setup(e, { emit: t }) {
|
|
5178
|
-
const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), n = t, o = P(a.value.name), s = P(""), p = P(0), c = P(), y =
|
|
5179
|
+
const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), n = t, o = P(a.value.name), s = P(""), p = P(0), c = P(), y = z(() => e.acceptedFileTypes.some(({ fileType: x }) => x === a.value.type)), d = z(() => a.value.size <= e.maxFileSize), $ = z(() => a.value.type ? a.value.type : Ua().getType(a.value.name)), T = () => {
|
|
5179
5180
|
o.value != null && (D(), a.value = new File([a.value], o.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
|
|
5180
5181
|
}, D = () => {
|
|
5181
|
-
let x = o.value.split("."), w =
|
|
5182
|
-
x.length === 1 ?
|
|
5182
|
+
let x = o.value.split("."), w = Oa.getExtension($.value), I = o.value.split(".").pop();
|
|
5183
|
+
x.length === 1 ? I && I.length > 0 && (o.value = [o.value, w].join(".")) : x.length > 1 && I !== w && (o.value = o.value.replace(I, w));
|
|
5183
5184
|
}, O = async () => {
|
|
5184
|
-
if (!y.value || !
|
|
5185
|
+
if (!y.value || !d.value) {
|
|
5185
5186
|
l.value = y.value ? "InvalidFileSize" : "InvalidFileType";
|
|
5186
5187
|
return;
|
|
5187
5188
|
}
|
|
@@ -5193,44 +5194,44 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5193
5194
|
}
|
|
5194
5195
|
try {
|
|
5195
5196
|
l.value = "Uploading";
|
|
5196
|
-
const
|
|
5197
|
+
const I = new ge(x), g = {
|
|
5197
5198
|
abortSignal: c.value.signal,
|
|
5198
5199
|
onProgress: (V) => p.value = V.loadedBytes,
|
|
5199
5200
|
blobHTTPHeaders: {
|
|
5200
|
-
blobContentType:
|
|
5201
|
+
blobContentType: $.value,
|
|
5201
5202
|
blobContentDisposition: `attachment; filename="${a.value.name}"`
|
|
5202
5203
|
},
|
|
5203
5204
|
tags: { temp: "true" }
|
|
5204
5205
|
};
|
|
5205
|
-
await
|
|
5206
|
-
} catch (
|
|
5207
|
-
if (
|
|
5206
|
+
await I.uploadData(a.value, g), s.value = x, l.value = "Uploaded", i.value = w;
|
|
5207
|
+
} catch (I) {
|
|
5208
|
+
if (I.name === "AbortError") {
|
|
5208
5209
|
l.value = "Aborted";
|
|
5209
5210
|
return;
|
|
5210
5211
|
}
|
|
5211
5212
|
l.value = "Failed";
|
|
5212
5213
|
}
|
|
5213
|
-
},
|
|
5214
|
-
await
|
|
5214
|
+
}, U = async () => {
|
|
5215
|
+
await Na(l.value, s.value), n("deleted", a.value);
|
|
5215
5216
|
};
|
|
5216
5217
|
return ne(() => {
|
|
5217
5218
|
e.autoUploadToBlob && l.value != "Uploaded" && O();
|
|
5218
5219
|
}), (x, w) => {
|
|
5219
|
-
const
|
|
5220
|
-
return
|
|
5220
|
+
const I = q;
|
|
5221
|
+
return r(), v("div", {
|
|
5221
5222
|
class: "py-4 px-3 d-flex",
|
|
5222
5223
|
"data-cy": `file-info-${a.value.name}`
|
|
5223
5224
|
}, [
|
|
5224
5225
|
m("div", null, [
|
|
5225
|
-
u(
|
|
5226
|
+
u(Aa)(a.value.type) ? (r(), b(u(Ye), {
|
|
5226
5227
|
key: 0,
|
|
5227
5228
|
id: "thumbnail-image",
|
|
5228
5229
|
"image-class": "image-file-thumbnail border",
|
|
5229
|
-
src: u(
|
|
5230
|
+
src: u(Ea)(a.value),
|
|
5230
5231
|
alt: a.value.name,
|
|
5231
5232
|
width: "75px",
|
|
5232
5233
|
preview: ""
|
|
5233
|
-
}, null, 8, ["src", "alt"])) : (
|
|
5234
|
+
}, null, 8, ["src", "alt"])) : (r(), b(u(j), {
|
|
5234
5235
|
key: 1,
|
|
5235
5236
|
id: "file-earmark",
|
|
5236
5237
|
icon: "bi:file-earmark",
|
|
@@ -5238,78 +5239,78 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5238
5239
|
width: "75px"
|
|
5239
5240
|
}))
|
|
5240
5241
|
]),
|
|
5241
|
-
m("div",
|
|
5242
|
+
m("div", Xa, [
|
|
5242
5243
|
m("div", null, [
|
|
5243
|
-
x.editableFileName ? (
|
|
5244
|
+
x.editableFileName ? (r(), b(Wt, {
|
|
5244
5245
|
key: 0,
|
|
5245
5246
|
id: "edit-file-name",
|
|
5246
5247
|
modelValue: o.value,
|
|
5247
|
-
"onUpdate:modelValue": w[0] || (w[0] = (
|
|
5248
|
+
"onUpdate:modelValue": w[0] || (w[0] = (g) => o.value = g),
|
|
5248
5249
|
rules: x.customFileNameRules,
|
|
5249
5250
|
name: a.value.name,
|
|
5250
|
-
"complete-action":
|
|
5251
|
-
}, null, 8, ["modelValue", "rules", "name"])) : (
|
|
5251
|
+
"complete-action": T
|
|
5252
|
+
}, null, 8, ["modelValue", "rules", "name"])) : (r(), v("span", Qa, B(o.value), 1))
|
|
5252
5253
|
]),
|
|
5253
|
-
m("span",
|
|
5254
|
-
m("span",
|
|
5254
|
+
m("span", ei, "File type: " + B(a.value.type.split("/").pop()), 1),
|
|
5255
|
+
m("span", ti, "File size: " + B(u(me)(a.value.size)), 1)
|
|
5255
5256
|
]),
|
|
5256
|
-
m("div",
|
|
5257
|
-
(
|
|
5257
|
+
m("div", ai, [
|
|
5258
|
+
(r(), b(Ka, {
|
|
5258
5259
|
key: l.value,
|
|
5259
5260
|
"file-size": a.value.size,
|
|
5260
5261
|
"upload-status": l.value,
|
|
5261
5262
|
"bytes-uploaded": p.value,
|
|
5262
5263
|
"max-file-size": x.maxFileSize
|
|
5263
5264
|
}, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
|
|
5264
|
-
l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (
|
|
5265
|
+
l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (r(), b(I, {
|
|
5265
5266
|
key: 0,
|
|
5266
5267
|
link: "",
|
|
5267
5268
|
onClick: O
|
|
5268
5269
|
}, {
|
|
5269
|
-
default:
|
|
5270
|
-
h(u(
|
|
5270
|
+
default: f(() => [
|
|
5271
|
+
h(u(j), {
|
|
5271
5272
|
icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
|
|
5272
5273
|
}, null, 8, ["icon"])
|
|
5273
5274
|
]),
|
|
5274
5275
|
_: 1
|
|
5275
5276
|
})) : C("", !0),
|
|
5276
|
-
l.value === "Uploading" ? (
|
|
5277
|
+
l.value === "Uploading" ? (r(), b(I, {
|
|
5277
5278
|
key: 1,
|
|
5278
5279
|
link: "",
|
|
5279
|
-
onClick: w[1] || (w[1] = (
|
|
5280
|
+
onClick: w[1] || (w[1] = (g) => c.value.abort())
|
|
5280
5281
|
}, {
|
|
5281
|
-
default:
|
|
5282
|
-
h(u(
|
|
5282
|
+
default: f(() => [
|
|
5283
|
+
h(u(j), { icon: "bi:x-circle-fill" })
|
|
5283
5284
|
]),
|
|
5284
5285
|
_: 1
|
|
5285
|
-
})) : (
|
|
5286
|
+
})) : (r(), b(I, {
|
|
5286
5287
|
key: 2,
|
|
5287
5288
|
link: "",
|
|
5288
|
-
onClick:
|
|
5289
|
+
onClick: U,
|
|
5289
5290
|
id: "delete-button"
|
|
5290
5291
|
}, {
|
|
5291
|
-
default:
|
|
5292
|
-
h(u(
|
|
5292
|
+
default: f(() => [
|
|
5293
|
+
h(u(j), { icon: "bi:trash" })
|
|
5293
5294
|
]),
|
|
5294
5295
|
_: 1
|
|
5295
5296
|
}))
|
|
5296
5297
|
])
|
|
5297
|
-
], 8,
|
|
5298
|
+
], 8, Za);
|
|
5298
5299
|
};
|
|
5299
5300
|
}
|
|
5300
|
-
}),
|
|
5301
|
+
}), li = { class: "d-flex justify-content-end mt-1 gap-1" }, ni = { id: "max-file-size" }, oi = { id: "max-file-input" }, si = /* @__PURE__ */ S({
|
|
5301
5302
|
__name: "FileInputInfo",
|
|
5302
5303
|
props: {
|
|
5303
5304
|
maxFileSize: {},
|
|
5304
5305
|
maxFileInput: {}
|
|
5305
5306
|
},
|
|
5306
5307
|
setup(e) {
|
|
5307
|
-
return (t, a) => (
|
|
5308
|
-
m("div",
|
|
5309
|
-
m("div",
|
|
5308
|
+
return (t, a) => (r(), v("div", li, [
|
|
5309
|
+
m("div", ni, "Max file size: " + B(u(me)(t.maxFileSize)), 1),
|
|
5310
|
+
m("div", oi, "| Max file count: " + B(t.maxFileInput), 1)
|
|
5310
5311
|
]));
|
|
5311
5312
|
}
|
|
5312
|
-
}),
|
|
5313
|
+
}), ri = { "data-cy": "file-uploader" }, di = { key: 0 }, bl = /* @__PURE__ */ S({
|
|
5313
5314
|
__name: "ForgeFileUploader",
|
|
5314
5315
|
props: /* @__PURE__ */ R({
|
|
5315
5316
|
acceptedFileTypes: {},
|
|
@@ -5329,22 +5330,22 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5329
5330
|
const t = N(e, "modelValue"), a = e, i = (l) => {
|
|
5330
5331
|
t.value = t.value.filter((n) => n.file != l);
|
|
5331
5332
|
};
|
|
5332
|
-
return (l, n) => (
|
|
5333
|
-
h(
|
|
5333
|
+
return (l, n) => (r(), v("div", ri, [
|
|
5334
|
+
h(Ha, _(a, {
|
|
5334
5335
|
modelValue: t.value,
|
|
5335
5336
|
"onUpdate:modelValue": n[0] || (n[0] = (o) => t.value = o)
|
|
5336
5337
|
}), null, 16, ["modelValue"]),
|
|
5337
|
-
l.showDragDropArea ? (
|
|
5338
|
-
h(
|
|
5338
|
+
l.showDragDropArea ? (r(), v("div", di, [
|
|
5339
|
+
h(Ya, {
|
|
5339
5340
|
"max-file-input": a.maxFileInput,
|
|
5340
5341
|
"max-file-size": a.maxFileSize,
|
|
5341
5342
|
"accepted-file-types": a.acceptedFileTypes,
|
|
5342
5343
|
modelValue: t.value,
|
|
5343
5344
|
"onUpdate:modelValue": n[1] || (n[1] = (o) => t.value = o)
|
|
5344
5345
|
}, {
|
|
5345
|
-
default:
|
|
5346
|
-
(
|
|
5347
|
-
(
|
|
5346
|
+
default: f(() => [
|
|
5347
|
+
(r(!0), v(A, null, E(t.value, ({ file: o }, s) => (r(), v("div", null, [
|
|
5348
|
+
(r(), b(ii, _({
|
|
5348
5349
|
key: o.name,
|
|
5349
5350
|
class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
|
|
5350
5351
|
file: t.value[s].file,
|
|
@@ -5359,14 +5360,14 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5359
5360
|
]),
|
|
5360
5361
|
_: 1
|
|
5361
5362
|
}, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
|
|
5362
|
-
h(
|
|
5363
|
+
h(si, {
|
|
5363
5364
|
"max-file-size": a.maxFileSize,
|
|
5364
5365
|
"max-file-input": l.maxFileInput
|
|
5365
5366
|
}, null, 8, ["max-file-size", "max-file-input"])
|
|
5366
5367
|
])) : C("", !0)
|
|
5367
5368
|
]));
|
|
5368
5369
|
}
|
|
5369
|
-
}),
|
|
5370
|
+
}), pi = { class: "d-flex" }, ci = { class: "me-3" }, ui = { class: "ms-2" }, mi = { class: "d-flex flex-column w-100" }, yl = /* @__PURE__ */ S({
|
|
5370
5371
|
__name: "ForgeColumnCustomiser",
|
|
5371
5372
|
props: {
|
|
5372
5373
|
modelValue: { required: !0 },
|
|
@@ -5377,19 +5378,19 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5377
5378
|
const t = N(e, "modelValue"), a = P(), i = P(!1), l = (n) => {
|
|
5378
5379
|
a.value.toggle(n);
|
|
5379
5380
|
};
|
|
5380
|
-
return (n, o) => (
|
|
5381
|
+
return (n, o) => (r(), v(A, null, [
|
|
5381
5382
|
h(u(q), {
|
|
5382
5383
|
onClick: l,
|
|
5383
5384
|
class: "ms-2"
|
|
5384
5385
|
}, {
|
|
5385
|
-
default:
|
|
5386
|
-
m("div",
|
|
5387
|
-
m("div",
|
|
5388
|
-
h(u(
|
|
5386
|
+
default: f(() => [
|
|
5387
|
+
m("div", pi, [
|
|
5388
|
+
m("div", ci, [
|
|
5389
|
+
h(u(j), { icon: "bi:layout-three-columns" })
|
|
5389
5390
|
]),
|
|
5390
5391
|
M(" Columns (" + B(t.value.filter((s) => s.selected).length ?? 0) + "/" + B(t.value.length ?? 0) + ") ", 1),
|
|
5391
|
-
m("div",
|
|
5392
|
-
h(u(
|
|
5392
|
+
m("div", ui, [
|
|
5393
|
+
h(u(j), {
|
|
5393
5394
|
icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
|
|
5394
5395
|
}, null, 8, ["icon"])
|
|
5395
5396
|
])
|
|
@@ -5404,9 +5405,9 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5404
5405
|
onHide: o[0] || (o[0] = () => i.value = !1),
|
|
5405
5406
|
onShow: o[1] || (o[1] = () => i.value = !0)
|
|
5406
5407
|
}, {
|
|
5407
|
-
default:
|
|
5408
|
-
m("div",
|
|
5409
|
-
(
|
|
5408
|
+
default: f(() => [
|
|
5409
|
+
m("div", mi, [
|
|
5410
|
+
(r(!0), v(A, null, E(t.value, (s, p) => (r(), v("div", {
|
|
5410
5411
|
class: F(["d-flex cursor-pointer", {
|
|
5411
5412
|
"border-top": p !== 0,
|
|
5412
5413
|
"py-1": p !== 0 && t.value.length - 1 !== p,
|
|
@@ -5429,19 +5430,19 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5429
5430
|
}, 512)
|
|
5430
5431
|
], 64));
|
|
5431
5432
|
}
|
|
5432
|
-
}),
|
|
5433
|
+
}), xl = /* @__PURE__ */ S({
|
|
5433
5434
|
__name: "ForgePanel",
|
|
5434
5435
|
setup(e) {
|
|
5435
5436
|
return (t, a) => {
|
|
5436
5437
|
const i = Je;
|
|
5437
|
-
return
|
|
5438
|
-
toggleicon:
|
|
5439
|
-
l ? (
|
|
5438
|
+
return r(), b(i, W(G({ ...t.$attrs })), ae({
|
|
5439
|
+
toggleicon: f(({ collapsed: l }) => [
|
|
5440
|
+
l ? (r(), b(u(j), {
|
|
5440
5441
|
key: 0,
|
|
5441
5442
|
"data-cy": "message-icon",
|
|
5442
5443
|
icon: "bi:chevron-down"
|
|
5443
5444
|
})) : C("", !0),
|
|
5444
|
-
l ? C("", !0) : (
|
|
5445
|
+
l ? C("", !0) : (r(), b(u(j), {
|
|
5445
5446
|
key: 1,
|
|
5446
5447
|
"data-cy": "message-icon",
|
|
5447
5448
|
icon: "bi:chevron-up"
|
|
@@ -5449,22 +5450,22 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5449
5450
|
]),
|
|
5450
5451
|
_: 2
|
|
5451
5452
|
}, [
|
|
5452
|
-
|
|
5453
|
+
E(t.$slots, (l, n) => ({
|
|
5453
5454
|
name: n,
|
|
5454
|
-
fn:
|
|
5455
|
-
|
|
5455
|
+
fn: f((o) => [
|
|
5456
|
+
k(t.$slots, n, W(G(o)))
|
|
5456
5457
|
])
|
|
5457
5458
|
}))
|
|
5458
5459
|
]), 1040);
|
|
5459
5460
|
};
|
|
5460
5461
|
}
|
|
5461
|
-
}),
|
|
5462
|
+
}), vi = /* @__PURE__ */ S({
|
|
5462
5463
|
__name: "ForgeToggleButton",
|
|
5463
5464
|
props: {
|
|
5464
5465
|
severity: { default: "primary" }
|
|
5465
5466
|
},
|
|
5466
5467
|
setup(e) {
|
|
5467
|
-
const t = e, a =
|
|
5468
|
+
const t = e, a = z(() => ({
|
|
5468
5469
|
root: (i) => ({
|
|
5469
5470
|
class: [
|
|
5470
5471
|
"btn",
|
|
@@ -5485,15 +5486,15 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5485
5486
|
]
|
|
5486
5487
|
})
|
|
5487
5488
|
}));
|
|
5488
|
-
return (i, l) => (
|
|
5489
|
+
return (i, l) => (r(), b(u(Ke), _({ ...i.$attrs, ...t }, {
|
|
5489
5490
|
severity: t.severity,
|
|
5490
5491
|
pt: a.value
|
|
5491
5492
|
}), null, 16, ["severity", "pt"]));
|
|
5492
5493
|
}
|
|
5493
|
-
}),
|
|
5494
|
+
}), fi = {
|
|
5494
5495
|
class: "btn-group",
|
|
5495
5496
|
"data-cy": "forge-select-button"
|
|
5496
|
-
},
|
|
5497
|
+
}, hl = /* @__PURE__ */ S({
|
|
5497
5498
|
__name: "ForgeSelectButton",
|
|
5498
5499
|
props: /* @__PURE__ */ R({
|
|
5499
5500
|
options: {},
|
|
@@ -5523,8 +5524,8 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5523
5524
|
} else
|
|
5524
5525
|
a.value = a.value === n.value && t.allowEmpty ? null : n.value;
|
|
5525
5526
|
};
|
|
5526
|
-
return (n, o) => (
|
|
5527
|
-
(
|
|
5527
|
+
return (n, o) => (r(), v("div", fi, [
|
|
5528
|
+
(r(!0), v(A, null, E(n.options, (s, p) => (r(), b(vi, {
|
|
5528
5529
|
key: p,
|
|
5529
5530
|
onLabel: s.label,
|
|
5530
5531
|
offLabel: s.label,
|
|
@@ -5537,7 +5538,28 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5537
5538
|
}, null, 8, ["onLabel", "offLabel", "severity", "onChange", "defaultValue", "disabled", "data-cy", "invalid"]))), 128))
|
|
5538
5539
|
]));
|
|
5539
5540
|
}
|
|
5540
|
-
}),
|
|
5541
|
+
}), wl = /* @__PURE__ */ S({
|
|
5542
|
+
__name: "ForgeConfirmPopup",
|
|
5543
|
+
setup(e) {
|
|
5544
|
+
const t = z(() => ({
|
|
5545
|
+
root: [
|
|
5546
|
+
"card w-fit-content position-absolute"
|
|
5547
|
+
],
|
|
5548
|
+
footer: () => ({
|
|
5549
|
+
class: ["modal-footer gap-1 p-2"]
|
|
5550
|
+
}),
|
|
5551
|
+
content: "pt-2 px-2",
|
|
5552
|
+
pcRejectButton: { root: "btn btn-outline-primary btn-sm" },
|
|
5553
|
+
pcAcceptButton: { root: "btn btn-primary btn-sm" }
|
|
5554
|
+
}));
|
|
5555
|
+
return (a, i) => (r(), b(u(Ze), _({ pt: t.value }, { ...a.$attrs, ...a.$props }), {
|
|
5556
|
+
default: f(() => [
|
|
5557
|
+
(r(!0), v(A, null, E(a.$slots, (l, n) => k(a.$slots, n, { slot: n })), 256))
|
|
5558
|
+
]),
|
|
5559
|
+
_: 3
|
|
5560
|
+
}, 16, ["pt"]));
|
|
5561
|
+
}
|
|
5562
|
+
}), kl = () => ({
|
|
5541
5563
|
type: "component",
|
|
5542
5564
|
resolve: (e) => {
|
|
5543
5565
|
if (e.startsWith("Forge"))
|
|
@@ -5548,38 +5570,39 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5548
5570
|
}
|
|
5549
5571
|
});
|
|
5550
5572
|
export {
|
|
5551
|
-
|
|
5552
|
-
|
|
5573
|
+
Ki as Bootstrap_PT,
|
|
5574
|
+
Zi as ForgeActionButton,
|
|
5553
5575
|
de as ForgeAlert,
|
|
5554
|
-
|
|
5576
|
+
Xi as ForgeAutoComplete,
|
|
5555
5577
|
ye as ForgeCheckbox,
|
|
5556
|
-
|
|
5557
|
-
|
|
5578
|
+
rl as ForgeChip,
|
|
5579
|
+
yl as ForgeColumnCustomiser,
|
|
5580
|
+
wl as ForgeConfirmPopup,
|
|
5558
5581
|
xe as ForgeDatepicker,
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5582
|
+
bl as ForgeFileUploader,
|
|
5583
|
+
gl as ForgeFilterHeader,
|
|
5584
|
+
ol as ForgeForm,
|
|
5585
|
+
sl as ForgeFormField,
|
|
5586
|
+
Wt as ForgeInlineEditor,
|
|
5587
|
+
Qi as ForgeLink,
|
|
5565
5588
|
pe as ForgeLoader,
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5589
|
+
al as ForgeModal,
|
|
5590
|
+
Xt as ForgeMultiSelectPreview,
|
|
5591
|
+
il as ForgeNavbar,
|
|
5592
|
+
ll as ForgePageHeader,
|
|
5593
|
+
xl as ForgePanel,
|
|
5594
|
+
dl as ForgeProgressBar,
|
|
5595
|
+
nl as ForgeRemainingCharacters,
|
|
5596
|
+
kl as ForgeResolver,
|
|
5597
|
+
pl as ForgeScratchpad,
|
|
5598
|
+
hl as ForgeSelectButton,
|
|
5599
|
+
cl as ForgeStatWidget,
|
|
5600
|
+
ul as ForgeStepper,
|
|
5601
|
+
vl as ForgeTable,
|
|
5602
|
+
ml as ForgeTile,
|
|
5603
|
+
vi as ForgeToggleButton,
|
|
5604
|
+
fl as ForgeTreeTable,
|
|
5605
|
+
tl as convertToMultiSelectOption,
|
|
5606
|
+
el as enumToMultiSelectList,
|
|
5607
|
+
Ot as parseError
|
|
5585
5608
|
};
|