@3squared/forge-ui-3 1.1.3 → 1.3.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 +571 -547
- package/dist/esm/style.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/src/components/ForgeMultiSelectPreview.vue.d.ts +18 -8
- package/dist/src/components/{ForgeMultiSelect.vue.d.ts → deprecated/ForgeMultiSelect.vue.d.ts} +1 -1
- package/dist/src/passthroughs/Fieldset.pt.d.ts +17 -0
- package/dist/src/passthroughs/Multiselect.pt.d.ts +3 -0
- package/dist/tests/component/fieldset/fieldset.cy.d.ts +1 -0
- package/package.json +13 -12
- package/src/styles/utilities/_variables.scss +24 -0
package/dist/esm/forge-ui-3.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import ge from "primevue/message";
|
|
2
|
-
import { defineComponent as F, openBlock as
|
|
2
|
+
import { defineComponent as F, openBlock as i, createBlock as w, normalizeProps as Q, guardReactiveProps as ee, withCtx as g, createElementVNode as m, normalizeClass as B, unref as p, createCommentVNode as C, createVNode as y, renderSlot as $, ref as P, createElementBlock as b, Fragment as N, mergeProps as V, mergeModels as R, useModel as U, computed as k, createTextVNode as O, toDisplayString as h, withDirectives as j, vShow as q, createSlots as te, renderList as H, onMounted as le, isRef as se, withKeys as J, useAttrs as he, withModifiers as Y, normalizeStyle as we, watch as ue } from "vue";
|
|
3
3
|
import { Icon as _ } from "@iconify/vue";
|
|
4
|
-
import
|
|
4
|
+
import L from "primevue/button";
|
|
5
5
|
import xe from "primevue/toast";
|
|
6
|
-
import
|
|
6
|
+
import ce from "primevue/checkbox";
|
|
7
7
|
import { useField as K } from "vee-validate";
|
|
8
8
|
import ke from "primevue/progressspinner";
|
|
9
9
|
import $e from "primevue/dialog";
|
|
@@ -11,21 +11,21 @@ import ie from "primevue/inputtext";
|
|
|
11
11
|
import { vOnClickOutside as Be } from "@vueuse/components";
|
|
12
12
|
import Fe from "primevue/menubar";
|
|
13
13
|
import _e from "vue-multiselect";
|
|
14
|
+
import re from "primevue/multiselect";
|
|
14
15
|
import Ve from "primevue/calendar";
|
|
15
16
|
import ae from "primevue/dropdown";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
17
|
+
import Ce from "primevue/inputmask";
|
|
18
|
+
import Se from "primevue/textarea";
|
|
19
|
+
import me from "primevue/inputnumber";
|
|
19
20
|
import Te from "primevue/chips";
|
|
20
21
|
import Pe from "primevue/progressbar";
|
|
21
22
|
import Me from "primevue/divider";
|
|
22
23
|
import Ie from "primevue/steps";
|
|
23
24
|
import ze from "primevue/datatable";
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
|
|
28
|
-
const Ue = {
|
|
25
|
+
import { BlockBlobClient as pe } from "@azure/storage-blob";
|
|
26
|
+
import ve from "primevue/overlaypanel";
|
|
27
|
+
import Oe from "primevue/image";
|
|
28
|
+
const De = {
|
|
29
29
|
button: {
|
|
30
30
|
root: ({ props: e }) => ({
|
|
31
31
|
class: [
|
|
@@ -116,7 +116,7 @@ const Ue = {
|
|
|
116
116
|
]
|
|
117
117
|
})
|
|
118
118
|
}
|
|
119
|
-
},
|
|
119
|
+
}, Ue = {
|
|
120
120
|
checkbox: {
|
|
121
121
|
root: () => ({
|
|
122
122
|
class: [
|
|
@@ -134,11 +134,11 @@ const Ue = {
|
|
|
134
134
|
]
|
|
135
135
|
})
|
|
136
136
|
}
|
|
137
|
-
},
|
|
137
|
+
}, Ae = {
|
|
138
138
|
dropdown: {
|
|
139
139
|
root: ({ props: e }) => ({
|
|
140
140
|
class: [
|
|
141
|
-
"form-
|
|
141
|
+
"form-select d-flex cursor-pointer position-relative",
|
|
142
142
|
{
|
|
143
143
|
disabled: e.disabled
|
|
144
144
|
}
|
|
@@ -146,7 +146,7 @@ const Ue = {
|
|
|
146
146
|
}),
|
|
147
147
|
trigger: ({ state: e }) => ({
|
|
148
148
|
class: [
|
|
149
|
-
"my-auto filter-trigger",
|
|
149
|
+
"d-none my-auto filter-trigger",
|
|
150
150
|
{
|
|
151
151
|
"rotate-180": e.overlayVisible
|
|
152
152
|
}
|
|
@@ -201,7 +201,7 @@ const Ue = {
|
|
|
201
201
|
]
|
|
202
202
|
})
|
|
203
203
|
}
|
|
204
|
-
},
|
|
204
|
+
}, Ne = {
|
|
205
205
|
column: {
|
|
206
206
|
sortBadge: "ms-2 my-auto cursor-pointer",
|
|
207
207
|
headerCell: (e) => {
|
|
@@ -317,7 +317,7 @@ const Ue = {
|
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
},
|
|
320
|
+
}, Ee = {
|
|
321
321
|
inputmask: {
|
|
322
322
|
root: () => ({
|
|
323
323
|
class: [
|
|
@@ -325,12 +325,12 @@ const Ue = {
|
|
|
325
325
|
]
|
|
326
326
|
})
|
|
327
327
|
}
|
|
328
|
-
},
|
|
328
|
+
}, Re = {
|
|
329
329
|
inputSwitch: {
|
|
330
330
|
root: "form-check form-switch",
|
|
331
331
|
input: "form-check-input"
|
|
332
332
|
}
|
|
333
|
-
},
|
|
333
|
+
}, je = {
|
|
334
334
|
textarea: {
|
|
335
335
|
root: () => ({
|
|
336
336
|
class: [
|
|
@@ -338,13 +338,13 @@ const Ue = {
|
|
|
338
338
|
]
|
|
339
339
|
})
|
|
340
340
|
}
|
|
341
|
-
},
|
|
341
|
+
}, He = {
|
|
342
342
|
// More PassThrough options in component file.
|
|
343
343
|
chips: {
|
|
344
344
|
root: "d-flex",
|
|
345
345
|
label: "pe-2"
|
|
346
346
|
}
|
|
347
|
-
},
|
|
347
|
+
}, qe = {
|
|
348
348
|
dialog: {
|
|
349
349
|
header: () => ({
|
|
350
350
|
class: ["modal-header"]
|
|
@@ -387,7 +387,7 @@ const Ue = {
|
|
|
387
387
|
]
|
|
388
388
|
})
|
|
389
389
|
}
|
|
390
|
-
},
|
|
390
|
+
}, Ye = {
|
|
391
391
|
overlaypanel: {
|
|
392
392
|
root: (e) => ({
|
|
393
393
|
class: [
|
|
@@ -401,7 +401,7 @@ const Ue = {
|
|
|
401
401
|
content: "d-flex position-relative",
|
|
402
402
|
closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
|
|
403
403
|
}
|
|
404
|
-
},
|
|
404
|
+
}, Ge = {
|
|
405
405
|
message: {
|
|
406
406
|
root: ({ props: e }) => ({
|
|
407
407
|
class: [
|
|
@@ -430,13 +430,13 @@ const Ue = {
|
|
|
430
430
|
class: ["px-0 ms-2 btn d-flex"]
|
|
431
431
|
})
|
|
432
432
|
}
|
|
433
|
-
},
|
|
433
|
+
}, Ke = {
|
|
434
434
|
// More PT options defined in ForgeStepper.
|
|
435
435
|
steps: {
|
|
436
436
|
root: "w-100 mx-2 line",
|
|
437
437
|
menu: "p-0 m-0 list-unstyled d-flex justify-content-between "
|
|
438
438
|
}
|
|
439
|
-
},
|
|
439
|
+
}, We = {
|
|
440
440
|
tabview: {
|
|
441
441
|
navContainer: () => ({
|
|
442
442
|
class: ["nav nav-tabs position-relative"]
|
|
@@ -474,7 +474,7 @@ const Ue = {
|
|
|
474
474
|
class: ["p-2"]
|
|
475
475
|
})
|
|
476
476
|
}
|
|
477
|
-
},
|
|
477
|
+
}, Ze = {
|
|
478
478
|
// More PassThrough options defined in ForgeDatepicker.
|
|
479
479
|
calendar: {
|
|
480
480
|
root: "d-inline-flex relative w-100",
|
|
@@ -547,11 +547,11 @@ const Ue = {
|
|
|
547
547
|
decrementButton: "btn btn-sm",
|
|
548
548
|
incrementButton: "btn btn-sm"
|
|
549
549
|
}
|
|
550
|
-
},
|
|
550
|
+
}, Je = {
|
|
551
551
|
multiselect: {
|
|
552
552
|
root: ({ props: e }) => ({
|
|
553
553
|
class: [
|
|
554
|
-
"form-
|
|
554
|
+
"form-select d-flex cursor-pointer position-relative w-100",
|
|
555
555
|
{
|
|
556
556
|
disabled: e.disabled
|
|
557
557
|
}
|
|
@@ -560,25 +560,28 @@ const Ue = {
|
|
|
560
560
|
panel: "dropdown-menu overflow-y-auto show",
|
|
561
561
|
list: "list-unstyled mb-0",
|
|
562
562
|
item: "dropdown-item d-flex cursor-pointer",
|
|
563
|
-
header: "d-flex",
|
|
563
|
+
header: "d-flex dropdown-item",
|
|
564
|
+
headerCheckbox: "dropdown-item ",
|
|
564
565
|
labelContainer: "w-100 me-2",
|
|
565
566
|
label: "w-100",
|
|
566
|
-
filterContainer: "d-flex w-100",
|
|
567
|
+
filterContainer: "d-flex w-100 cursor-pointer",
|
|
567
568
|
filterIcon: "d-none",
|
|
568
|
-
filterInput: "form-control form-control-sm
|
|
569
|
+
filterInput: "form-control form-control-sm",
|
|
569
570
|
closeButton: "d-none",
|
|
570
571
|
hiddenInput: "d-none",
|
|
572
|
+
token: "badge rounded-pill bg-primary-subtle text-primary d-inline-flex align-items-center border border-primary me-1 pt-1",
|
|
573
|
+
tokenLabel: "px-2 fs-6 fw-400",
|
|
571
574
|
emptymessage: "mx-3 my-2",
|
|
572
575
|
trigger: ({ state: e }) => ({
|
|
573
576
|
class: [
|
|
574
|
-
"ms-auto my-auto filter-trigger",
|
|
577
|
+
"d-none ms-auto my-auto filter-trigger",
|
|
575
578
|
{
|
|
576
579
|
"rotate-180": e.overlayVisible
|
|
577
580
|
}
|
|
578
581
|
]
|
|
579
582
|
})
|
|
580
583
|
}
|
|
581
|
-
},
|
|
584
|
+
}, Xe = {
|
|
582
585
|
// More PassThrough options in component file.
|
|
583
586
|
progressbar: {
|
|
584
587
|
root: () => ({
|
|
@@ -591,7 +594,7 @@ const Ue = {
|
|
|
591
594
|
class: ["text-white"]
|
|
592
595
|
})
|
|
593
596
|
}
|
|
594
|
-
},
|
|
597
|
+
}, Qe = {
|
|
595
598
|
// More PT options can be found in the ForgeTable file.
|
|
596
599
|
dataTable: {
|
|
597
600
|
datatable: "position-relative",
|
|
@@ -651,7 +654,7 @@ const Ue = {
|
|
|
651
654
|
]
|
|
652
655
|
})
|
|
653
656
|
}
|
|
654
|
-
},
|
|
657
|
+
}, et = {
|
|
655
658
|
badge: {
|
|
656
659
|
root: ({ props: e }) => ({
|
|
657
660
|
class: [
|
|
@@ -672,7 +675,7 @@ const Ue = {
|
|
|
672
675
|
]
|
|
673
676
|
})
|
|
674
677
|
}
|
|
675
|
-
},
|
|
678
|
+
}, tt = {
|
|
676
679
|
// More PassThrough options in component file.
|
|
677
680
|
menubar: {
|
|
678
681
|
menu: ({ instance: e }) => ({
|
|
@@ -742,7 +745,7 @@ const Ue = {
|
|
|
742
745
|
]
|
|
743
746
|
})
|
|
744
747
|
}
|
|
745
|
-
},
|
|
748
|
+
}, lt = {
|
|
746
749
|
tooltip: {
|
|
747
750
|
root: ({ context: e }) => ({
|
|
748
751
|
class: [
|
|
@@ -764,7 +767,7 @@ const Ue = {
|
|
|
764
767
|
class: ["tooltip-inner"]
|
|
765
768
|
}
|
|
766
769
|
}
|
|
767
|
-
},
|
|
770
|
+
}, at = {
|
|
768
771
|
selectbutton: {
|
|
769
772
|
root: () => ({
|
|
770
773
|
class: ["btn-group"]
|
|
@@ -782,7 +785,7 @@ const Ue = {
|
|
|
782
785
|
]
|
|
783
786
|
})
|
|
784
787
|
}
|
|
785
|
-
},
|
|
788
|
+
}, ot = {
|
|
786
789
|
progressspinner: {
|
|
787
790
|
spinner: () => ({
|
|
788
791
|
class: [
|
|
@@ -790,7 +793,7 @@ const Ue = {
|
|
|
790
793
|
]
|
|
791
794
|
})
|
|
792
795
|
}
|
|
793
|
-
},
|
|
796
|
+
}, nt = {
|
|
794
797
|
card: {
|
|
795
798
|
root: () => ({
|
|
796
799
|
class: ["card"]
|
|
@@ -814,11 +817,11 @@ const Ue = {
|
|
|
814
817
|
class: ["card-header"]
|
|
815
818
|
})
|
|
816
819
|
}
|
|
817
|
-
},
|
|
820
|
+
}, st = {
|
|
818
821
|
divider: {
|
|
819
822
|
root: "border-bottom w-100 m-1"
|
|
820
823
|
}
|
|
821
|
-
},
|
|
824
|
+
}, it = {
|
|
822
825
|
image: {
|
|
823
826
|
root: "position-relative d-inline-block",
|
|
824
827
|
button: "preview-button",
|
|
@@ -831,7 +834,7 @@ const Ue = {
|
|
|
831
834
|
zoominbutton: "btn text-white",
|
|
832
835
|
closebutton: "btn text-white"
|
|
833
836
|
}
|
|
834
|
-
},
|
|
837
|
+
}, rt = {
|
|
835
838
|
toast: {
|
|
836
839
|
message: () => ({
|
|
837
840
|
class: ["toast-container w-100 position-relative"]
|
|
@@ -869,35 +872,59 @@ const Ue = {
|
|
|
869
872
|
};
|
|
870
873
|
}
|
|
871
874
|
}
|
|
872
|
-
},
|
|
873
|
-
|
|
875
|
+
}, dt = {
|
|
876
|
+
fieldset: {
|
|
877
|
+
root: () => ({
|
|
878
|
+
class: [
|
|
879
|
+
"border rounded p-2 w-100"
|
|
880
|
+
]
|
|
881
|
+
}),
|
|
882
|
+
legend: () => ({
|
|
883
|
+
class: [
|
|
884
|
+
"float-none w-auto px-2 mb-0 fw-semibold fs-6 fieldset-legend"
|
|
885
|
+
]
|
|
886
|
+
}),
|
|
887
|
+
togglerIcon: () => ({
|
|
888
|
+
class: [
|
|
889
|
+
"me-1"
|
|
890
|
+
]
|
|
891
|
+
}),
|
|
892
|
+
toggleableContent: () => ({
|
|
893
|
+
class: [
|
|
894
|
+
"px-2"
|
|
895
|
+
]
|
|
896
|
+
})
|
|
897
|
+
}
|
|
898
|
+
}, ha = {
|
|
899
|
+
...et,
|
|
900
|
+
...De,
|
|
901
|
+
...nt,
|
|
874
902
|
...Ue,
|
|
903
|
+
...He,
|
|
904
|
+
...Ne,
|
|
905
|
+
...Ze,
|
|
906
|
+
...qe,
|
|
875
907
|
...st,
|
|
876
908
|
...Ae,
|
|
877
|
-
...qe,
|
|
878
|
-
...Ee,
|
|
879
|
-
...Je,
|
|
880
|
-
...Ye,
|
|
881
909
|
...it,
|
|
882
|
-
...Ne,
|
|
883
|
-
...rt,
|
|
884
910
|
...Le,
|
|
911
|
+
...Ee,
|
|
885
912
|
...Re,
|
|
886
|
-
...je,
|
|
887
|
-
...Ke,
|
|
888
|
-
...Xe,
|
|
889
|
-
...lt,
|
|
890
913
|
...Ge,
|
|
891
|
-
...
|
|
892
|
-
...
|
|
914
|
+
...Je,
|
|
915
|
+
...tt,
|
|
916
|
+
...Ye,
|
|
917
|
+
...Xe,
|
|
893
918
|
...ot,
|
|
919
|
+
...at,
|
|
920
|
+
...Ke,
|
|
921
|
+
...Qe,
|
|
894
922
|
...We,
|
|
895
|
-
...
|
|
896
|
-
...
|
|
923
|
+
...rt,
|
|
924
|
+
...je,
|
|
897
925
|
...dt,
|
|
898
|
-
...He,
|
|
899
926
|
directives: {
|
|
900
|
-
...
|
|
927
|
+
...lt
|
|
901
928
|
}
|
|
902
929
|
}, oe = /* @__PURE__ */ F({
|
|
903
930
|
__name: "ForgeAlert",
|
|
@@ -917,31 +944,31 @@ const Ue = {
|
|
|
917
944
|
const t = e;
|
|
918
945
|
return (l, o) => {
|
|
919
946
|
const a = ge;
|
|
920
|
-
return
|
|
921
|
-
messageicon:
|
|
947
|
+
return i(), w(a, Q(ee({ ...l.$attrs, ...t })), {
|
|
948
|
+
messageicon: g(() => [
|
|
922
949
|
m("div", {
|
|
923
950
|
class: B(t.icon ? "me-2 pe-1" : "")
|
|
924
951
|
}, [
|
|
925
|
-
t.icon ? (
|
|
952
|
+
t.icon ? (i(), w(p(_), {
|
|
926
953
|
key: 0,
|
|
927
954
|
"data-cy": "message-icon",
|
|
928
955
|
icon: t.icon,
|
|
929
956
|
class: B(`text-${t.severity}`),
|
|
930
957
|
height: 35
|
|
931
|
-
}, null, 8, ["icon", "class"])) :
|
|
958
|
+
}, null, 8, ["icon", "class"])) : C("", !0)
|
|
932
959
|
], 2)
|
|
933
960
|
]),
|
|
934
|
-
closeicon:
|
|
961
|
+
closeicon: g(() => [
|
|
935
962
|
y(p(_), { icon: "bi:x" })
|
|
936
963
|
]),
|
|
937
|
-
default:
|
|
964
|
+
default: g(() => [
|
|
938
965
|
$(l.$slots, "default")
|
|
939
966
|
]),
|
|
940
967
|
_: 3
|
|
941
968
|
}, 16);
|
|
942
969
|
};
|
|
943
970
|
}
|
|
944
|
-
}),
|
|
971
|
+
}), wa = /* @__PURE__ */ F({
|
|
945
972
|
__name: "ForgeActionButton",
|
|
946
973
|
props: {
|
|
947
974
|
action: {},
|
|
@@ -960,8 +987,8 @@ const Ue = {
|
|
|
960
987
|
t.value = !1;
|
|
961
988
|
};
|
|
962
989
|
return (a, n) => {
|
|
963
|
-
const d =
|
|
964
|
-
return
|
|
990
|
+
const d = L;
|
|
991
|
+
return i(), b(N, null, [
|
|
965
992
|
y(d, V({ ...l, ...a.$attrs }, {
|
|
966
993
|
loading: t.value,
|
|
967
994
|
disabled: t.value || l.disabled,
|
|
@@ -1008,31 +1035,31 @@ const Ue = {
|
|
|
1008
1035
|
type: "checkbox",
|
|
1009
1036
|
checkedValue: l.value
|
|
1010
1037
|
}
|
|
1011
|
-
), d = (
|
|
1012
|
-
t.name ? o(
|
|
1013
|
-
},
|
|
1014
|
-
return (
|
|
1015
|
-
const v =
|
|
1016
|
-
return
|
|
1038
|
+
), d = (r) => {
|
|
1039
|
+
t.name ? o(r) : l.value = r;
|
|
1040
|
+
}, u = k(() => a.value.length > 0);
|
|
1041
|
+
return (r, c) => {
|
|
1042
|
+
const v = ce;
|
|
1043
|
+
return i(), b("div", ut, [
|
|
1017
1044
|
m("div", V({
|
|
1018
1045
|
class: "d-flex cursor-pointer",
|
|
1019
1046
|
"data-cy": "checkbox-container",
|
|
1020
1047
|
onClick: c[2] || (c[2] = (s) => d(l.value))
|
|
1021
|
-
}, { ...
|
|
1048
|
+
}, { ...r.$attrs }), [
|
|
1022
1049
|
y(v, V({ ...t }, {
|
|
1023
1050
|
binary: "",
|
|
1024
1051
|
modelValue: l.value,
|
|
1025
1052
|
"onUpdate:modelValue": c[0] || (c[0] = (s) => l.value = s),
|
|
1026
1053
|
"input-id": t.name,
|
|
1027
|
-
"input-class": { "is-invalid":
|
|
1054
|
+
"input-class": { "is-invalid": u.value }
|
|
1028
1055
|
}), null, 16, ["modelValue", "input-id", "input-class"]),
|
|
1029
1056
|
m("label", {
|
|
1030
1057
|
for: t.name,
|
|
1031
1058
|
onClick: c[1] || (c[1] = (s) => d(!l.value)),
|
|
1032
|
-
class: B([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${
|
|
1059
|
+
class: B([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${u.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
|
|
1033
1060
|
}, [
|
|
1034
|
-
$(
|
|
1035
|
-
|
|
1061
|
+
$(r.$slots, "default", {}, () => [
|
|
1062
|
+
O(h(t.label), 1)
|
|
1036
1063
|
])
|
|
1037
1064
|
], 10, ct)
|
|
1038
1065
|
], 16),
|
|
@@ -1040,12 +1067,12 @@ const Ue = {
|
|
|
1040
1067
|
"data-cy": "error",
|
|
1041
1068
|
class: "text-invalid"
|
|
1042
1069
|
}, h(p(n)), 513), [
|
|
1043
|
-
[q,
|
|
1070
|
+
[q, u.value]
|
|
1044
1071
|
])
|
|
1045
1072
|
]);
|
|
1046
1073
|
};
|
|
1047
1074
|
}
|
|
1048
|
-
}), pt = { class: "forge-loader" },
|
|
1075
|
+
}), pt = { class: "forge-loader" }, ye = /* @__PURE__ */ F({
|
|
1049
1076
|
__name: "ForgeLoader",
|
|
1050
1077
|
props: {
|
|
1051
1078
|
severity: { default: "primary" }
|
|
@@ -1054,7 +1081,7 @@ const Ue = {
|
|
|
1054
1081
|
const t = e;
|
|
1055
1082
|
return (l, o) => {
|
|
1056
1083
|
const a = ke;
|
|
1057
|
-
return
|
|
1084
|
+
return i(), b("div", pt, [
|
|
1058
1085
|
y(a, {
|
|
1059
1086
|
"animation-duration": ".75",
|
|
1060
1087
|
class: B(`text-${t.severity === void 0 ? "primary" : t.severity}`)
|
|
@@ -1062,7 +1089,7 @@ const Ue = {
|
|
|
1062
1089
|
]);
|
|
1063
1090
|
};
|
|
1064
1091
|
}
|
|
1065
|
-
}), vt = ["href", "target"],
|
|
1092
|
+
}), vt = ["href", "target"], xa = /* @__PURE__ */ F({
|
|
1066
1093
|
__name: "ForgeLink",
|
|
1067
1094
|
props: {
|
|
1068
1095
|
url: {},
|
|
@@ -1096,20 +1123,20 @@ const Ue = {
|
|
|
1096
1123
|
"ms-0": e.positionIconEnd && e.animateIconOnHover,
|
|
1097
1124
|
"me-0": e.animateIconOnHover
|
|
1098
1125
|
}));
|
|
1099
|
-
return (o, a) => (
|
|
1126
|
+
return (o, a) => (i(), b("a", {
|
|
1100
1127
|
id: "link",
|
|
1101
1128
|
class: B(["cursor-pointer d-flex text-break", t.value]),
|
|
1102
1129
|
href: o.url,
|
|
1103
1130
|
target: o.target
|
|
1104
1131
|
}, [
|
|
1105
1132
|
$(o.$slots, "default", {}, () => [
|
|
1106
|
-
o.iconName ? (
|
|
1133
|
+
o.iconName ? (i(), w(p(_), {
|
|
1107
1134
|
key: 0,
|
|
1108
1135
|
id: "link-icon",
|
|
1109
1136
|
icon: o.iconName,
|
|
1110
1137
|
class: B(["bi my-auto", l.value])
|
|
1111
|
-
}, null, 8, ["icon", "class"])) :
|
|
1112
|
-
|
|
1138
|
+
}, null, 8, ["icon", "class"])) : C("", !0),
|
|
1139
|
+
O(" " + h(o.label), 1)
|
|
1113
1140
|
])
|
|
1114
1141
|
], 10, vt));
|
|
1115
1142
|
}
|
|
@@ -1125,16 +1152,16 @@ function yt(e) {
|
|
|
1125
1152
|
}
|
|
1126
1153
|
return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
|
|
1127
1154
|
}
|
|
1128
|
-
function
|
|
1155
|
+
function ka(e, t) {
|
|
1129
1156
|
return e.map((l) => ({ id: l, label: t ? t(l) : `${l}` }));
|
|
1130
1157
|
}
|
|
1131
|
-
function
|
|
1158
|
+
function $a(e, t, l) {
|
|
1132
1159
|
return { id: e, label: t ?? e.toString(), shortLabel: l };
|
|
1133
1160
|
}
|
|
1134
1161
|
const bt = { key: 0 }, ft = {
|
|
1135
1162
|
class: "d-flex w-100",
|
|
1136
1163
|
"data-cy": "footer"
|
|
1137
|
-
},
|
|
1164
|
+
}, Ba = /* @__PURE__ */ F({
|
|
1138
1165
|
__name: "ForgeModal",
|
|
1139
1166
|
props: /* @__PURE__ */ R({
|
|
1140
1167
|
cancelText: { default: "Cancel" },
|
|
@@ -1186,20 +1213,20 @@ const bt = { key: 0 }, ft = {
|
|
|
1186
1213
|
message: []
|
|
1187
1214
|
}), d = () => {
|
|
1188
1215
|
l.value = !1;
|
|
1189
|
-
}, i = () => {
|
|
1190
|
-
l.value = !0;
|
|
1191
1216
|
}, u = () => {
|
|
1217
|
+
l.value = !0;
|
|
1218
|
+
}, r = () => {
|
|
1192
1219
|
t.value = !1;
|
|
1193
1220
|
}, c = async () => {
|
|
1194
1221
|
if (o.onConfirm) {
|
|
1195
1222
|
a.value = !0, n.value.hasError = !1;
|
|
1196
1223
|
try {
|
|
1197
1224
|
const s = await o.onConfirm();
|
|
1198
|
-
(s || s == null) &&
|
|
1225
|
+
(s || s == null) && r();
|
|
1199
1226
|
} catch (s) {
|
|
1200
1227
|
n.value.hasError = !0;
|
|
1201
|
-
const
|
|
1202
|
-
n.value.header =
|
|
1228
|
+
const S = yt(s);
|
|
1229
|
+
n.value.header = S.errorMessage, n.value.message = S.errorDetails;
|
|
1203
1230
|
}
|
|
1204
1231
|
a.value = !1;
|
|
1205
1232
|
}
|
|
@@ -1214,23 +1241,23 @@ const bt = { key: 0 }, ft = {
|
|
|
1214
1241
|
}
|
|
1215
1242
|
]
|
|
1216
1243
|
}));
|
|
1217
|
-
return (s,
|
|
1218
|
-
const T =
|
|
1219
|
-
return
|
|
1220
|
-
onMaximize:
|
|
1244
|
+
return (s, S) => {
|
|
1245
|
+
const T = L, M = $e;
|
|
1246
|
+
return i(), w(M, V(o, {
|
|
1247
|
+
onMaximize: u,
|
|
1221
1248
|
onUnmaximize: d,
|
|
1222
1249
|
pt: v.value
|
|
1223
1250
|
}), te({
|
|
1224
|
-
closeicon:
|
|
1251
|
+
closeicon: g(() => [
|
|
1225
1252
|
y(p(_), {
|
|
1226
1253
|
"data-cy": "close-icon",
|
|
1227
1254
|
icon: "bi:x-lg",
|
|
1228
1255
|
width: "18",
|
|
1229
1256
|
height: "18",
|
|
1230
|
-
onClick:
|
|
1257
|
+
onClick: r
|
|
1231
1258
|
})
|
|
1232
1259
|
]),
|
|
1233
|
-
maximizeicon:
|
|
1260
|
+
maximizeicon: g(() => [
|
|
1234
1261
|
y(p(_), {
|
|
1235
1262
|
"data-cy": "maximisable-icon",
|
|
1236
1263
|
icon: l.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
|
|
@@ -1240,39 +1267,39 @@ const bt = { key: 0 }, ft = {
|
|
|
1240
1267
|
]),
|
|
1241
1268
|
_: 2
|
|
1242
1269
|
}, [
|
|
1243
|
-
H(s.$slots, (I,
|
|
1244
|
-
name:
|
|
1245
|
-
fn:
|
|
1246
|
-
n.value.hasError ? (
|
|
1270
|
+
H(s.$slots, (I, z) => ({
|
|
1271
|
+
name: z,
|
|
1272
|
+
fn: g((f) => [
|
|
1273
|
+
n.value.hasError ? (i(), w(oe, {
|
|
1247
1274
|
key: 0,
|
|
1248
1275
|
severity: "danger",
|
|
1249
1276
|
"data-cy": "error"
|
|
1250
1277
|
}, {
|
|
1251
|
-
default:
|
|
1278
|
+
default: g(() => [
|
|
1252
1279
|
m("p", {
|
|
1253
1280
|
class: B(n.value.message.length > 0 ? "my-auto" : "mb-0")
|
|
1254
1281
|
}, h(n.value.header), 3),
|
|
1255
|
-
n.value.message.length > 0 ? (
|
|
1256
|
-
(
|
|
1257
|
-
])) :
|
|
1282
|
+
n.value.message.length > 0 ? (i(), b("ul", bt, [
|
|
1283
|
+
(i(!0), b(N, null, H(n.value.message, (x) => (i(), b("li", { key: x }, h(x), 1))), 128))
|
|
1284
|
+
])) : C("", !0)
|
|
1258
1285
|
]),
|
|
1259
1286
|
_: 1
|
|
1260
|
-
})) :
|
|
1261
|
-
$(s.$slots,
|
|
1287
|
+
})) : C("", !0),
|
|
1288
|
+
$(s.$slots, z, Q(ee(f || {}))),
|
|
1262
1289
|
a.value ? $(s.$slots, "loader", { key: 1 }, () => [
|
|
1263
|
-
y(
|
|
1264
|
-
]) :
|
|
1290
|
+
y(ye, { "data-cy": "loader" })
|
|
1291
|
+
]) : C("", !0)
|
|
1265
1292
|
])
|
|
1266
1293
|
})),
|
|
1267
1294
|
s.showFooter ? {
|
|
1268
1295
|
name: "footer",
|
|
1269
|
-
fn:
|
|
1296
|
+
fn: g(() => [
|
|
1270
1297
|
m("div", ft, [
|
|
1271
1298
|
y(T, {
|
|
1272
1299
|
label: s.cancelText,
|
|
1273
1300
|
class: B(o.cancelClass),
|
|
1274
1301
|
outlined: "",
|
|
1275
|
-
onClick:
|
|
1302
|
+
onClick: r,
|
|
1276
1303
|
id: "cancel-button",
|
|
1277
1304
|
type: o.cancelButtonType
|
|
1278
1305
|
}, null, 8, ["label", "class", "type"]),
|
|
@@ -1309,7 +1336,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1309
1336
|
var T;
|
|
1310
1337
|
o.value = !o.value, (T = a.value) == null || T.focus();
|
|
1311
1338
|
}, d = async () => {
|
|
1312
|
-
if (
|
|
1339
|
+
if (S.value)
|
|
1313
1340
|
return !1;
|
|
1314
1341
|
if (l.value = s.value, t.completeAction)
|
|
1315
1342
|
try {
|
|
@@ -1319,9 +1346,9 @@ const bt = { key: 0 }, ft = {
|
|
|
1319
1346
|
}
|
|
1320
1347
|
else
|
|
1321
1348
|
o.value = !o.value;
|
|
1322
|
-
}, i = () => {
|
|
1323
|
-
o.value = !o.value;
|
|
1324
1349
|
}, u = () => {
|
|
1350
|
+
o.value = !o.value;
|
|
1351
|
+
}, r = () => {
|
|
1325
1352
|
s.value = null;
|
|
1326
1353
|
}, { errorMessage: c, errors: v, value: s } = K(() => t.name, void 0, {
|
|
1327
1354
|
initialValue: l.value
|
|
@@ -1329,23 +1356,23 @@ const bt = { key: 0 }, ft = {
|
|
|
1329
1356
|
le(() => {
|
|
1330
1357
|
s.value = l.value;
|
|
1331
1358
|
});
|
|
1332
|
-
const
|
|
1359
|
+
const S = k(() => v.value.length > 0);
|
|
1333
1360
|
return (T, M) => {
|
|
1334
|
-
const I = ie,
|
|
1335
|
-
return
|
|
1361
|
+
const I = ie, z = L;
|
|
1362
|
+
return i(), b("div", {
|
|
1336
1363
|
id: t.name
|
|
1337
1364
|
}, [
|
|
1338
|
-
T.readonly ? (
|
|
1365
|
+
T.readonly ? (i(), b("div", kt, [
|
|
1339
1366
|
$(T.$slots, "default", {}, () => [
|
|
1340
1367
|
m("span", $t, h(p(s)), 1)
|
|
1341
1368
|
])
|
|
1342
|
-
])) : (
|
|
1343
|
-
o.value ? (
|
|
1344
|
-
j((
|
|
1369
|
+
])) : (i(), b("div", ht, [
|
|
1370
|
+
o.value ? (i(), b("div", wt, [
|
|
1371
|
+
j((i(), b("div", xt, [
|
|
1345
1372
|
$(T.$slots, "editor", {
|
|
1346
|
-
class: B({ "is-invalid":
|
|
1373
|
+
class: B({ "is-invalid": S.value }),
|
|
1347
1374
|
editFinished: d,
|
|
1348
|
-
cancel:
|
|
1375
|
+
cancel: u,
|
|
1349
1376
|
val: p(s)
|
|
1350
1377
|
}, () => [
|
|
1351
1378
|
y(I, {
|
|
@@ -1353,26 +1380,26 @@ const bt = { key: 0 }, ft = {
|
|
|
1353
1380
|
ref_key: "input",
|
|
1354
1381
|
ref: a,
|
|
1355
1382
|
modelValue: p(s),
|
|
1356
|
-
"onUpdate:modelValue": M[0] || (M[0] = (
|
|
1383
|
+
"onUpdate:modelValue": M[0] || (M[0] = (f) => se(s) ? s.value = f : null),
|
|
1357
1384
|
modelModifiers: { trim: !0 },
|
|
1358
|
-
class: B({ "is-invalid":
|
|
1385
|
+
class: B({ "is-invalid": S.value }),
|
|
1359
1386
|
onKeydown: [
|
|
1360
1387
|
J(d, ["enter"]),
|
|
1361
|
-
J(
|
|
1388
|
+
J(u, ["esc"])
|
|
1362
1389
|
]
|
|
1363
1390
|
}, null, 8, ["modelValue", "class"])
|
|
1364
1391
|
]),
|
|
1365
1392
|
y(p(_), {
|
|
1366
1393
|
icon: "bi:x-circle",
|
|
1367
1394
|
class: "mx-2 cursor-pointer",
|
|
1368
|
-
onClick:
|
|
1369
|
-
onKeydown: J(
|
|
1395
|
+
onClick: r,
|
|
1396
|
+
onKeydown: J(r, ["enter"]),
|
|
1370
1397
|
"data-cy": "clear-icon"
|
|
1371
1398
|
})
|
|
1372
1399
|
])), [
|
|
1373
1400
|
[p(Be), d]
|
|
1374
1401
|
])
|
|
1375
|
-
])) : (
|
|
1402
|
+
])) : (i(), b("div", {
|
|
1376
1403
|
key: 1,
|
|
1377
1404
|
class: "d-flex text-muted",
|
|
1378
1405
|
onClick: n,
|
|
@@ -1380,18 +1407,18 @@ const bt = { key: 0 }, ft = {
|
|
|
1380
1407
|
}, [
|
|
1381
1408
|
$(T.$slots, "default", {}, () => [
|
|
1382
1409
|
m("div", {
|
|
1383
|
-
class: B(["pe-2 cursor-pointer", { "text-invalid":
|
|
1410
|
+
class: B(["pe-2 cursor-pointer", { "text-invalid": S.value }]),
|
|
1384
1411
|
"data-cy": "value"
|
|
1385
1412
|
}, h(p(s) ? p(s) : "Click to edit"), 3)
|
|
1386
1413
|
]),
|
|
1387
|
-
y(
|
|
1414
|
+
y(z, {
|
|
1388
1415
|
link: "",
|
|
1389
1416
|
class: "p-0 m-0"
|
|
1390
1417
|
}, {
|
|
1391
|
-
default:
|
|
1418
|
+
default: g(() => [
|
|
1392
1419
|
y(p(_), {
|
|
1393
1420
|
icon: "bi:pencil",
|
|
1394
|
-
class: B(
|
|
1421
|
+
class: B(S.value ? "text-invalid" : "text-muted"),
|
|
1395
1422
|
"data-cy": "edit-icon",
|
|
1396
1423
|
onKeydown: J(n, ["enter"])
|
|
1397
1424
|
}, null, 8, ["class"])
|
|
@@ -1404,12 +1431,12 @@ const bt = { key: 0 }, ft = {
|
|
|
1404
1431
|
"data-cy": "error",
|
|
1405
1432
|
class: "text-invalid"
|
|
1406
1433
|
}, h(p(c)), 513), [
|
|
1407
|
-
[q,
|
|
1434
|
+
[q, S.value]
|
|
1408
1435
|
])
|
|
1409
1436
|
], 8, gt);
|
|
1410
1437
|
};
|
|
1411
1438
|
}
|
|
1412
|
-
}), Ft = ["href"],
|
|
1439
|
+
}), Ft = ["href"], Fa = /* @__PURE__ */ F({
|
|
1413
1440
|
__name: "ForgeNavbar",
|
|
1414
1441
|
props: {
|
|
1415
1442
|
severity: { default: "light" },
|
|
@@ -1455,22 +1482,22 @@ const bt = { key: 0 }, ft = {
|
|
|
1455
1482
|
}));
|
|
1456
1483
|
return (o, a) => {
|
|
1457
1484
|
const n = Fe;
|
|
1458
|
-
return
|
|
1485
|
+
return i(), w(n, V({ ...t, ...o.$attrs }, {
|
|
1459
1486
|
pt: l.value,
|
|
1460
1487
|
"data-cy": "navbar"
|
|
1461
1488
|
}), te({
|
|
1462
|
-
start:
|
|
1489
|
+
start: g(() => [
|
|
1463
1490
|
m("a", {
|
|
1464
1491
|
href: o.logoUrl,
|
|
1465
1492
|
class: "navbar-brand ms-3",
|
|
1466
1493
|
"data-cy": "logo"
|
|
1467
1494
|
}, [
|
|
1468
1495
|
$(o.$slots, "logo", {}, () => [
|
|
1469
|
-
a[0] || (a[0] =
|
|
1496
|
+
a[0] || (a[0] = O(" Logo "))
|
|
1470
1497
|
])
|
|
1471
1498
|
], 8, Ft)
|
|
1472
1499
|
]),
|
|
1473
|
-
menubuttonicon:
|
|
1500
|
+
menubuttonicon: g(() => [
|
|
1474
1501
|
$(o.$slots, "menubuttonicon", {}, () => [
|
|
1475
1502
|
y(p(_), {
|
|
1476
1503
|
icon: "bi:list",
|
|
@@ -1482,16 +1509,16 @@ const bt = { key: 0 }, ft = {
|
|
|
1482
1509
|
]),
|
|
1483
1510
|
_: 2
|
|
1484
1511
|
}, [
|
|
1485
|
-
H(o.$slots, (d,
|
|
1486
|
-
name:
|
|
1487
|
-
fn:
|
|
1488
|
-
$(o.$slots,
|
|
1512
|
+
H(o.$slots, (d, u) => ({
|
|
1513
|
+
name: u,
|
|
1514
|
+
fn: g((r) => [
|
|
1515
|
+
$(o.$slots, u, Q(ee(r)))
|
|
1489
1516
|
])
|
|
1490
1517
|
}))
|
|
1491
1518
|
]), 1040, ["pt"]);
|
|
1492
1519
|
};
|
|
1493
1520
|
}
|
|
1494
|
-
}), _t = { class: "multiselect__caret" }, Vt = ["checked"],
|
|
1521
|
+
}), _t = { class: "multiselect__caret" }, Vt = ["checked"], Ct = ["data-cy"], St = ["checked"], Tt = { class: "my-auto ms-1" }, Pt = { class: "multiselect__tag d-inline-flex" }, Mt = { class: "my-auto" }, _a = /* @__PURE__ */ F({
|
|
1495
1522
|
__name: "ForgeMultiSelect",
|
|
1496
1523
|
props: {
|
|
1497
1524
|
severity: { default: "primary" },
|
|
@@ -1503,13 +1530,13 @@ const bt = { key: 0 }, ft = {
|
|
|
1503
1530
|
},
|
|
1504
1531
|
emits: ["update:modelValue"],
|
|
1505
1532
|
setup(e, { emit: t }) {
|
|
1506
|
-
const l = e, o = (
|
|
1533
|
+
const l = e, o = (E, D) => {
|
|
1507
1534
|
const A = {
|
|
1508
1535
|
...D,
|
|
1509
1536
|
$isDisabled: D.$isDisabled ?? !1
|
|
1510
1537
|
};
|
|
1511
|
-
|
|
1512
|
-
}, a = he(), n = t, { errors: d, value:
|
|
1538
|
+
E(A);
|
|
1539
|
+
}, a = he(), n = t, { errors: d, value: u, errorMessage: r } = K(() => l.name, void 0, {
|
|
1513
1540
|
initialValue: a.modelValue
|
|
1514
1541
|
}), c = P(!1), v = k(() => ({
|
|
1515
1542
|
multiple: !0,
|
|
@@ -1524,26 +1551,26 @@ const bt = { key: 0 }, ft = {
|
|
|
1524
1551
|
searchable: !!(a.searchable === null || a.searchable) && a.modelValue.length === a.options.length,
|
|
1525
1552
|
async: !1,
|
|
1526
1553
|
...a
|
|
1527
|
-
})), s = k(() => `forge-multiselect-${l.severity}`),
|
|
1528
|
-
|
|
1529
|
-
}, G = (
|
|
1530
|
-
n("update:modelValue", l.selectValue ?
|
|
1531
|
-
}, Z = (
|
|
1532
|
-
T.value ? x() : (
|
|
1554
|
+
})), s = k(() => `forge-multiselect-${l.severity}`), S = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${T.value ? " multiselect__option--selected" : ""}`), T = k(() => v.value && !(v.value.multiple || !l.showSelectAll || v.value.async) ? !1 : a.modelValue.length === a.options.length), M = k(() => d.value.length > 0), I = k(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (v.value.multiple ? a.modelValue.length > 0 : a.modelValue))), z = () => c.value = !0, f = () => c.value = !1, x = () => {
|
|
1555
|
+
u.value = v.value.multiple ? [] : null, n("update:modelValue", u.value);
|
|
1556
|
+
}, G = (E) => {
|
|
1557
|
+
n("update:modelValue", l.selectValue ? E.map((D) => D[l.selectValue]) : E);
|
|
1558
|
+
}, Z = (E) => a.modelValue !== null ? a.modelValue.some((D) => v.value.selectValue ? E[l.selectValue] === D : E.id === D.id && E.label === D.label) : !1, ne = () => {
|
|
1559
|
+
T.value ? x() : (u.value = [...a.options], n("update:modelValue", [...a.options]));
|
|
1533
1560
|
};
|
|
1534
|
-
return (
|
|
1561
|
+
return (E, D) => (i(), b(N, null, [
|
|
1535
1562
|
y(p(_e), V(v.value, {
|
|
1536
1563
|
class: [s.value, M.value ? "is-invalid" : ""],
|
|
1537
1564
|
"data-cy": "multiselect",
|
|
1538
1565
|
"onUpdate:modelValue": [
|
|
1539
1566
|
G,
|
|
1540
|
-
D[1] || (D[1] = (A) => se(
|
|
1567
|
+
D[1] || (D[1] = (A) => se(u) ? u.value = A : null)
|
|
1541
1568
|
],
|
|
1542
|
-
modelValue: p(
|
|
1569
|
+
modelValue: p(u)
|
|
1543
1570
|
}), te({
|
|
1544
|
-
caret:
|
|
1571
|
+
caret: g(({ toggle: A }) => [
|
|
1545
1572
|
m("div", _t, [
|
|
1546
|
-
I.value ? (
|
|
1573
|
+
I.value ? (i(), w(p(_), {
|
|
1547
1574
|
key: 0,
|
|
1548
1575
|
icon: "bi:x",
|
|
1549
1576
|
class: "my-auto text-black multiselect__clear",
|
|
@@ -1551,7 +1578,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1551
1578
|
"data-cy": "clear",
|
|
1552
1579
|
height: "18px",
|
|
1553
1580
|
width: "18px"
|
|
1554
|
-
})) :
|
|
1581
|
+
})) : C("", !0),
|
|
1555
1582
|
y(p(_), {
|
|
1556
1583
|
icon: "bi:chevron-down",
|
|
1557
1584
|
onClick: A,
|
|
@@ -1559,35 +1586,35 @@ const bt = { key: 0 }, ft = {
|
|
|
1559
1586
|
}, null, 8, ["onClick"])
|
|
1560
1587
|
])
|
|
1561
1588
|
]),
|
|
1562
|
-
tag:
|
|
1589
|
+
tag: g(({ option: A, remove: W }) => [
|
|
1563
1590
|
m("div", Pt, [
|
|
1564
1591
|
m("div", Mt, h(A.label), 1),
|
|
1565
1592
|
y(p(_), {
|
|
1566
1593
|
icon: "bi:x",
|
|
1567
1594
|
class: "my-auto multiselect__tag-icon",
|
|
1568
|
-
onMousedown: Y((
|
|
1595
|
+
onMousedown: Y((ql) => o(W, A), ["prevent", "stop"]),
|
|
1569
1596
|
height: "18px",
|
|
1570
1597
|
width: "18px"
|
|
1571
1598
|
}, null, 8, ["onMousedown"])
|
|
1572
1599
|
])
|
|
1573
1600
|
]),
|
|
1574
|
-
default:
|
|
1575
|
-
(
|
|
1601
|
+
default: g(() => [
|
|
1602
|
+
(i(!0), b(N, null, H(E.$slots, (A, W) => $(E.$slots, W, { slot: W })), 256))
|
|
1576
1603
|
]),
|
|
1577
1604
|
_: 2
|
|
1578
1605
|
}, [
|
|
1579
|
-
v.value.multiple &&
|
|
1606
|
+
v.value.multiple && E.showSelectAll && !v.value.async ? {
|
|
1580
1607
|
name: "beforeList",
|
|
1581
|
-
fn:
|
|
1608
|
+
fn: g(() => [
|
|
1582
1609
|
m("li", {
|
|
1583
1610
|
class: "multiselect__element",
|
|
1584
1611
|
onClick: ne,
|
|
1585
|
-
onMouseover:
|
|
1586
|
-
onMouseleave:
|
|
1612
|
+
onMouseover: z,
|
|
1613
|
+
onMouseleave: f,
|
|
1587
1614
|
"data-cy": "toggle-all"
|
|
1588
1615
|
}, [
|
|
1589
1616
|
m("div", {
|
|
1590
|
-
class: B(["d-flex py-1",
|
|
1617
|
+
class: B(["d-flex py-1", S.value])
|
|
1591
1618
|
}, [
|
|
1592
1619
|
m("input", {
|
|
1593
1620
|
checked: T.value,
|
|
@@ -1603,7 +1630,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1603
1630
|
} : void 0,
|
|
1604
1631
|
v.value.multiple ? {
|
|
1605
1632
|
name: "option",
|
|
1606
|
-
fn:
|
|
1633
|
+
fn: g(({ option: A }) => [
|
|
1607
1634
|
m("div", {
|
|
1608
1635
|
class: "d-flex py-1",
|
|
1609
1636
|
"data-cy": A.label
|
|
@@ -1613,9 +1640,9 @@ const bt = { key: 0 }, ft = {
|
|
|
1613
1640
|
name: "selected",
|
|
1614
1641
|
type: "checkbox",
|
|
1615
1642
|
class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
|
|
1616
|
-
}, null, 8,
|
|
1643
|
+
}, null, 8, St),
|
|
1617
1644
|
m("div", Tt, h(A[v.value.label]), 1)
|
|
1618
|
-
], 8,
|
|
1645
|
+
], 8, Ct)
|
|
1619
1646
|
]),
|
|
1620
1647
|
key: "1"
|
|
1621
1648
|
} : void 0
|
|
@@ -1623,19 +1650,16 @@ const bt = { key: 0 }, ft = {
|
|
|
1623
1650
|
j(m("small", {
|
|
1624
1651
|
"data-cy": "error",
|
|
1625
1652
|
class: "invalid-feedback"
|
|
1626
|
-
}, h(p(
|
|
1653
|
+
}, h(p(r)), 513), [
|
|
1627
1654
|
[q, M.value]
|
|
1628
1655
|
])
|
|
1629
1656
|
], 64));
|
|
1630
1657
|
}
|
|
1631
|
-
}), It = {
|
|
1632
|
-
key: 0,
|
|
1633
|
-
class: "pl-1"
|
|
1634
|
-
}, zt = { class: "border alternating-item-list" }, Ot = {
|
|
1658
|
+
}), It = { class: "border alternating-item-list" }, zt = {
|
|
1635
1659
|
key: 0,
|
|
1636
1660
|
class: "p-2 border-top border-bottom",
|
|
1637
1661
|
"data-cy": "title"
|
|
1638
|
-
},
|
|
1662
|
+
}, Ot = { class: "d-inline-block" }, Dt = {
|
|
1639
1663
|
key: 1,
|
|
1640
1664
|
class: "p-2 item d-flex justify-content-between align-items-center"
|
|
1641
1665
|
}, Va = /* @__PURE__ */ F({
|
|
@@ -1646,7 +1670,8 @@ const bt = { key: 0 }, ft = {
|
|
|
1646
1670
|
height: { default: "200px" },
|
|
1647
1671
|
options: {},
|
|
1648
1672
|
canRemoveItemFromPreview: { type: Boolean, default: !1 },
|
|
1649
|
-
optionsPreviewEmptyText: { default: "No Items Selected." }
|
|
1673
|
+
optionsPreviewEmptyText: { default: "No Items Selected." },
|
|
1674
|
+
multiselectPlaceholder: { default: "Select" }
|
|
1650
1675
|
}, {
|
|
1651
1676
|
modelValue: { default: [] },
|
|
1652
1677
|
modelModifiers: {}
|
|
@@ -1657,8 +1682,8 @@ const bt = { key: 0 }, ft = {
|
|
|
1657
1682
|
l.value = l.value.filter((n) => n.id !== a);
|
|
1658
1683
|
};
|
|
1659
1684
|
return (a, n) => {
|
|
1660
|
-
const d =
|
|
1661
|
-
return
|
|
1685
|
+
const d = re, u = L;
|
|
1686
|
+
return i(), b("div", {
|
|
1662
1687
|
class: B(a.orientation === "column" ? "row" : ""),
|
|
1663
1688
|
"data-cy": "multiselect-preview"
|
|
1664
1689
|
}, [
|
|
@@ -1666,23 +1691,21 @@ const bt = { key: 0 }, ft = {
|
|
|
1666
1691
|
class: B(a.orientation === "row" ? "col-12 mb-1" : "col"),
|
|
1667
1692
|
"data-cy": "multiselect-container"
|
|
1668
1693
|
}, [
|
|
1669
|
-
y(
|
|
1694
|
+
y(d, V({
|
|
1670
1695
|
modelValue: l.value,
|
|
1671
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
1672
|
-
|
|
1673
|
-
options: t.options
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
default: f(() => [
|
|
1682
|
-
(r(!0), b(N, null, H(a.$slots, (i, u) => $(a.$slots, u, { slot: u })), 256))
|
|
1696
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => l.value = r)
|
|
1697
|
+
}, { ...a.$attrs }, {
|
|
1698
|
+
options: t.options,
|
|
1699
|
+
display: "chip",
|
|
1700
|
+
optionLabel: "label",
|
|
1701
|
+
placeholder: a.multiselectPlaceholder,
|
|
1702
|
+
"data-cy": "multiselect"
|
|
1703
|
+
}), {
|
|
1704
|
+
default: g(() => [
|
|
1705
|
+
(i(!0), b(N, null, H(a.$slots, (r, c) => $(a.$slots, c, { slot: c })), 256))
|
|
1683
1706
|
]),
|
|
1684
1707
|
_: 3
|
|
1685
|
-
}, 16, ["modelValue", "
|
|
1708
|
+
}, 16, ["modelValue", "options", "placeholder"]),
|
|
1686
1709
|
$(a.$slots, "after-multi-select")
|
|
1687
1710
|
], 2),
|
|
1688
1711
|
m("div", {
|
|
@@ -1693,59 +1716,59 @@ const bt = { key: 0 }, ft = {
|
|
|
1693
1716
|
style: we({ height: a.height }),
|
|
1694
1717
|
class: "overflow-auto"
|
|
1695
1718
|
}, [
|
|
1696
|
-
m("div",
|
|
1697
|
-
a.title ? (
|
|
1698
|
-
(
|
|
1699
|
-
key:
|
|
1719
|
+
m("div", It, [
|
|
1720
|
+
a.title ? (i(), b("div", zt, h(a.title), 1)) : C("", !0),
|
|
1721
|
+
(i(!0), b(N, null, H(l.value, (r) => (i(), b("div", {
|
|
1722
|
+
key: r.id,
|
|
1700
1723
|
class: "p-2 item d-flex justify-content-between align-items-center"
|
|
1701
1724
|
}, [
|
|
1702
|
-
$(a.$slots, "list-item", { item:
|
|
1703
|
-
m("span",
|
|
1725
|
+
$(a.$slots, "list-item", { item: r }, () => [
|
|
1726
|
+
m("span", Ot, h(r.shortLabel ? r.shortLabel : r.label), 1)
|
|
1704
1727
|
]),
|
|
1705
|
-
a.canRemoveItemFromPreview ? (
|
|
1728
|
+
a.canRemoveItemFromPreview ? (i(), w(u, {
|
|
1706
1729
|
key: 0,
|
|
1707
1730
|
link: "",
|
|
1708
1731
|
class: "m-0 p-0 d-flex align-items-center",
|
|
1709
|
-
onClick: (
|
|
1732
|
+
onClick: (c) => o(r.id)
|
|
1710
1733
|
}, {
|
|
1711
|
-
default:
|
|
1734
|
+
default: g(() => [
|
|
1712
1735
|
y(p(_), {
|
|
1713
1736
|
icon: "bi:x",
|
|
1714
1737
|
class: "close-icon",
|
|
1715
|
-
"data-cy": `close-icon-${
|
|
1738
|
+
"data-cy": `close-icon-${r.id}`
|
|
1716
1739
|
}, null, 8, ["data-cy"])
|
|
1717
1740
|
]),
|
|
1718
1741
|
_: 2
|
|
1719
|
-
}, 1032, ["onClick"])) :
|
|
1742
|
+
}, 1032, ["onClick"])) : C("", !0)
|
|
1720
1743
|
]))), 128)),
|
|
1721
|
-
l.value.length === 0 ? (
|
|
1744
|
+
l.value.length === 0 ? (i(), b("div", Dt, h(t.optionsPreviewEmptyText), 1)) : C("", !0)
|
|
1722
1745
|
])
|
|
1723
1746
|
], 4)
|
|
1724
1747
|
], 2)
|
|
1725
1748
|
], 2);
|
|
1726
1749
|
};
|
|
1727
1750
|
}
|
|
1728
|
-
}),
|
|
1751
|
+
}), Ut = { class: "d-flex justify-content-between pb-2" }, At = {
|
|
1729
1752
|
"data-cy": "title",
|
|
1730
1753
|
class: "my-auto"
|
|
1731
|
-
},
|
|
1754
|
+
}, Nt = {
|
|
1732
1755
|
"data-cy": "slot",
|
|
1733
1756
|
class: "d-flex align-items-center"
|
|
1734
|
-
},
|
|
1757
|
+
}, Ca = /* @__PURE__ */ F({
|
|
1735
1758
|
__name: "ForgePageHeader",
|
|
1736
1759
|
props: {
|
|
1737
1760
|
title: {}
|
|
1738
1761
|
},
|
|
1739
1762
|
setup(e) {
|
|
1740
1763
|
const t = e;
|
|
1741
|
-
return (l, o) => (
|
|
1742
|
-
m("h3",
|
|
1743
|
-
m("div",
|
|
1764
|
+
return (l, o) => (i(), b("div", Ut, [
|
|
1765
|
+
m("h3", At, h(t.title), 1),
|
|
1766
|
+
m("div", Nt, [
|
|
1744
1767
|
$(l.$slots, "default")
|
|
1745
1768
|
])
|
|
1746
1769
|
]));
|
|
1747
1770
|
}
|
|
1748
|
-
}), Lt = { class: "d-flex" },
|
|
1771
|
+
}), Lt = { class: "d-flex" }, Et = { "data-cy": "before-slot" }, Rt = { class: "position-relative w-100" }, jt = { "data-cy": "after-slot" }, be = /* @__PURE__ */ F({
|
|
1749
1772
|
__name: "ForgeDatepicker",
|
|
1750
1773
|
props: /* @__PURE__ */ R({
|
|
1751
1774
|
severity: { default: "primary" },
|
|
@@ -1818,10 +1841,10 @@ const bt = { key: 0 }, ft = {
|
|
|
1818
1841
|
}),
|
|
1819
1842
|
emits: ["update:modelValue"],
|
|
1820
1843
|
setup(e) {
|
|
1821
|
-
const t = e, l = U(e, "modelValue"), { errors: o, errorMessage: a, handleChange: n, handleBlur: d, setValue:
|
|
1844
|
+
const t = e, l = U(e, "modelValue"), { errors: o, errorMessage: a, handleChange: n, handleBlur: d, setValue: u } = K(() => t.name, void 0, {
|
|
1822
1845
|
initialValue: l.value
|
|
1823
|
-
}),
|
|
1824
|
-
|
|
1846
|
+
}), r = () => {
|
|
1847
|
+
u(null), l.value = null;
|
|
1825
1848
|
}, c = k(() => o.value.length > 0), v = k(() => ({
|
|
1826
1849
|
day: ({ context: s }) => ({
|
|
1827
1850
|
class: [
|
|
@@ -1913,19 +1936,19 @@ const bt = { key: 0 }, ft = {
|
|
|
1913
1936
|
]
|
|
1914
1937
|
})
|
|
1915
1938
|
}));
|
|
1916
|
-
return (s,
|
|
1939
|
+
return (s, S) => {
|
|
1917
1940
|
const T = Ve;
|
|
1918
|
-
return
|
|
1941
|
+
return i(), b(N, null, [
|
|
1919
1942
|
m("div", Lt, [
|
|
1920
|
-
m("span",
|
|
1943
|
+
m("span", Et, [
|
|
1921
1944
|
$(s.$slots, "before")
|
|
1922
1945
|
]),
|
|
1923
|
-
m("div",
|
|
1946
|
+
m("div", Rt, [
|
|
1924
1947
|
y(T, V({ ...t, ...s.$attrs }, {
|
|
1925
1948
|
pt: v.value,
|
|
1926
1949
|
modelValue: l.value,
|
|
1927
1950
|
"onUpdate:modelValue": [
|
|
1928
|
-
|
|
1951
|
+
S[0] || (S[0] = (M) => l.value = M),
|
|
1929
1952
|
p(n)
|
|
1930
1953
|
],
|
|
1931
1954
|
onBlur: p(d),
|
|
@@ -1941,13 +1964,13 @@ const bt = { key: 0 }, ft = {
|
|
|
1941
1964
|
j(y(p(_), {
|
|
1942
1965
|
"data-cy": "icon",
|
|
1943
1966
|
icon: "bi:x",
|
|
1944
|
-
onClick:
|
|
1967
|
+
onClick: r,
|
|
1945
1968
|
class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", t.showIcon ? "datepicker-close-icon" : "me-2"])
|
|
1946
1969
|
}, null, 8, ["class"]), [
|
|
1947
1970
|
[q, t.modelValue]
|
|
1948
1971
|
])
|
|
1949
1972
|
]),
|
|
1950
|
-
m("span",
|
|
1973
|
+
m("span", jt, [
|
|
1951
1974
|
$(s.$slots, "after")
|
|
1952
1975
|
])
|
|
1953
1976
|
]),
|
|
@@ -1960,7 +1983,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1960
1983
|
], 64);
|
|
1961
1984
|
};
|
|
1962
1985
|
}
|
|
1963
|
-
}),
|
|
1986
|
+
}), Sa = /* @__PURE__ */ F({
|
|
1964
1987
|
__name: "ForgeRemainingCharacters",
|
|
1965
1988
|
props: {
|
|
1966
1989
|
maxCount: { default: 300 },
|
|
@@ -1968,11 +1991,11 @@ const bt = { key: 0 }, ft = {
|
|
|
1968
1991
|
},
|
|
1969
1992
|
setup(e) {
|
|
1970
1993
|
const t = e, l = k(() => t.maxCount - t.currentCount);
|
|
1971
|
-
return (o, a) => (
|
|
1994
|
+
return (o, a) => (i(), b("div", {
|
|
1972
1995
|
class: B(l.value < 0 ? "text-danger" : "")
|
|
1973
1996
|
}, "Remaining characters: " + h(l.value), 3));
|
|
1974
1997
|
}
|
|
1975
|
-
}),
|
|
1998
|
+
}), Ht = { class: "d-flex justify-content-between" }, Ta = /* @__PURE__ */ F({
|
|
1976
1999
|
__name: "ForgeForm",
|
|
1977
2000
|
props: {
|
|
1978
2001
|
onSubmit: {},
|
|
@@ -1998,13 +2021,13 @@ const bt = { key: 0 }, ft = {
|
|
|
1998
2021
|
l.value = !1;
|
|
1999
2022
|
}
|
|
2000
2023
|
return (n, d) => {
|
|
2001
|
-
const
|
|
2002
|
-
return
|
|
2024
|
+
const u = L;
|
|
2025
|
+
return i(), b("form", V(n.$attrs, {
|
|
2003
2026
|
novalidate: "",
|
|
2004
2027
|
class: "position-relative shadow-sm border p-4 bg-white",
|
|
2005
2028
|
onSubmit: Y(a, ["prevent"])
|
|
2006
2029
|
}), [
|
|
2007
|
-
n.hideTitle ?
|
|
2030
|
+
n.hideTitle ? C("", !0) : (i(), b(N, { key: 0 }, [
|
|
2008
2031
|
$(n.$slots, "title", {}, () => [
|
|
2009
2032
|
m("h3", {
|
|
2010
2033
|
class: B(n.titleClass),
|
|
@@ -2013,62 +2036,62 @@ const bt = { key: 0 }, ft = {
|
|
|
2013
2036
|
]),
|
|
2014
2037
|
d[1] || (d[1] = m("hr", null, null, -1))
|
|
2015
2038
|
], 64)),
|
|
2016
|
-
o.value.hasError ? (
|
|
2039
|
+
o.value.hasError ? (i(), w(oe, {
|
|
2017
2040
|
key: 1,
|
|
2018
2041
|
severity: "danger",
|
|
2019
2042
|
"data-cy": "error"
|
|
2020
2043
|
}, {
|
|
2021
|
-
default:
|
|
2044
|
+
default: g(() => [
|
|
2022
2045
|
$(n.$slots, "error", {
|
|
2023
2046
|
error: o.value.message
|
|
2024
2047
|
}, () => [
|
|
2025
|
-
|
|
2048
|
+
O(h(o.value.message), 1)
|
|
2026
2049
|
])
|
|
2027
2050
|
]),
|
|
2028
2051
|
_: 3
|
|
2029
|
-
})) :
|
|
2052
|
+
})) : C("", !0),
|
|
2030
2053
|
$(n.$slots, "default"),
|
|
2031
|
-
m("div",
|
|
2054
|
+
m("div", Ht, [
|
|
2032
2055
|
$(n.$slots, "cancel", {}, () => [
|
|
2033
|
-
n.hideCancel ?
|
|
2056
|
+
n.hideCancel ? C("", !0) : (i(), w(u, {
|
|
2034
2057
|
key: 0,
|
|
2035
2058
|
"data-cy": "cancel-btn",
|
|
2036
2059
|
type: "reset",
|
|
2037
2060
|
severity: "secondary",
|
|
2038
2061
|
outlined: "",
|
|
2039
|
-
onClick: d[0] || (d[0] = (
|
|
2062
|
+
onClick: d[0] || (d[0] = (r) => n.$emit("cancel"))
|
|
2040
2063
|
}, {
|
|
2041
|
-
default:
|
|
2042
|
-
|
|
2064
|
+
default: g(() => [
|
|
2065
|
+
O(h(n.cancelText), 1)
|
|
2043
2066
|
]),
|
|
2044
2067
|
_: 1
|
|
2045
2068
|
}))
|
|
2046
2069
|
]),
|
|
2047
2070
|
$(n.$slots, "submit", { submit: a }, () => [
|
|
2048
|
-
y(
|
|
2071
|
+
y(u, {
|
|
2049
2072
|
"data-cy": "submit-btn",
|
|
2050
2073
|
type: "submit",
|
|
2051
2074
|
severity: "primary",
|
|
2052
2075
|
class: "ms-auto"
|
|
2053
2076
|
}, {
|
|
2054
|
-
default:
|
|
2055
|
-
|
|
2077
|
+
default: g(() => [
|
|
2078
|
+
O(h(n.submitText), 1)
|
|
2056
2079
|
]),
|
|
2057
2080
|
_: 1
|
|
2058
2081
|
})
|
|
2059
2082
|
])
|
|
2060
2083
|
]),
|
|
2061
|
-
l.value ? (
|
|
2084
|
+
l.value ? (i(), w(ye, {
|
|
2062
2085
|
key: 2,
|
|
2063
2086
|
"data-cy": "loading-spinner"
|
|
2064
|
-
})) :
|
|
2087
|
+
})) : C("", !0)
|
|
2065
2088
|
], 16);
|
|
2066
2089
|
};
|
|
2067
2090
|
}
|
|
2068
|
-
}),
|
|
2091
|
+
}), qt = {
|
|
2069
2092
|
key: 1,
|
|
2070
2093
|
class: "d-flex flex-column w-100"
|
|
2071
|
-
},
|
|
2094
|
+
}, Yt = ["for"], Pa = /* @__PURE__ */ F({
|
|
2072
2095
|
__name: "ForgeFormField",
|
|
2073
2096
|
props: /* @__PURE__ */ R({
|
|
2074
2097
|
name: {},
|
|
@@ -2084,15 +2107,15 @@ const bt = { key: 0 }, ft = {
|
|
|
2084
2107
|
emits: ["update:modelValue"],
|
|
2085
2108
|
setup(e) {
|
|
2086
2109
|
const t = U(e, "modelValue"), l = e, o = (v) => {
|
|
2087
|
-
l.type == "number" ?
|
|
2088
|
-
}, { errors: a, value: n, errorMessage: d, handleChange:
|
|
2110
|
+
l.type == "number" ? u(v.value) : u(v);
|
|
2111
|
+
}, { errors: a, value: n, errorMessage: d, handleChange: u, handleBlur: r } = K(() => l.name, void 0, {
|
|
2089
2112
|
initialValue: t.value
|
|
2090
2113
|
}), c = k(() => a.value.length > 0);
|
|
2091
|
-
return
|
|
2114
|
+
return ue(() => n.value, (v) => {
|
|
2092
2115
|
t.value = v;
|
|
2093
2116
|
}, { immediate: !0 }), (v, s) => {
|
|
2094
|
-
const
|
|
2095
|
-
return l.type === "checkbox" ? (
|
|
2117
|
+
const S = Se, T = Ce, M = ie, I = ae, z = re, f = be;
|
|
2118
|
+
return l.type === "checkbox" ? (i(), w(mt, V({
|
|
2096
2119
|
key: 0,
|
|
2097
2120
|
id: l.name,
|
|
2098
2121
|
label: l.fieldLabel
|
|
@@ -2100,7 +2123,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2100
2123
|
name: l.name,
|
|
2101
2124
|
modelValue: t.value,
|
|
2102
2125
|
"onUpdate:modelValue": s[0] || (s[0] = (x) => t.value = x)
|
|
2103
|
-
}), null, 16, ["id", "label", "name", "modelValue"])) : (
|
|
2126
|
+
}), null, 16, ["id", "label", "name", "modelValue"])) : (i(), b("div", qt, [
|
|
2104
2127
|
m("div", {
|
|
2105
2128
|
"data-cy": "input-wrapper",
|
|
2106
2129
|
class: B(["d-flex", l.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
|
|
@@ -2108,8 +2131,8 @@ const bt = { key: 0 }, ft = {
|
|
|
2108
2131
|
m("label", {
|
|
2109
2132
|
for: l.name,
|
|
2110
2133
|
class: B(l.fieldLabelPosition === "top" ? "mb-1" : "me-2")
|
|
2111
|
-
}, h(l.fieldLabel), 11,
|
|
2112
|
-
l.type === "number" ? (
|
|
2134
|
+
}, h(l.fieldLabel), 11, Yt),
|
|
2135
|
+
l.type === "number" ? (i(), w(p(me), V({
|
|
2113
2136
|
key: 0,
|
|
2114
2137
|
id: l.name
|
|
2115
2138
|
}, v.$attrs, {
|
|
@@ -2119,7 +2142,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2119
2142
|
modelValue: t.value,
|
|
2120
2143
|
"onUpdate:modelValue": s[1] || (s[1] = (x) => t.value = x),
|
|
2121
2144
|
onInput: o
|
|
2122
|
-
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (
|
|
2145
|
+
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (i(), w(S, V({
|
|
2123
2146
|
key: 1,
|
|
2124
2147
|
id: l.name
|
|
2125
2148
|
}, v.$attrs, {
|
|
@@ -2128,8 +2151,8 @@ const bt = { key: 0 }, ft = {
|
|
|
2128
2151
|
modelValue: t.value,
|
|
2129
2152
|
"onUpdate:modelValue": s[2] || (s[2] = (x) => t.value = x),
|
|
2130
2153
|
onInput: o,
|
|
2131
|
-
onBlur: p(
|
|
2132
|
-
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (
|
|
2154
|
+
onBlur: p(r)
|
|
2155
|
+
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (i(), w(T, V({
|
|
2133
2156
|
key: 2,
|
|
2134
2157
|
id: l.name
|
|
2135
2158
|
}, v.$attrs, {
|
|
@@ -2139,8 +2162,8 @@ const bt = { key: 0 }, ft = {
|
|
|
2139
2162
|
modelValue: t.value,
|
|
2140
2163
|
"onUpdate:modelValue": s[3] || (s[3] = (x) => t.value = x),
|
|
2141
2164
|
onComplete: o,
|
|
2142
|
-
onBlur: p(
|
|
2143
|
-
}), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (
|
|
2165
|
+
onBlur: p(r)
|
|
2166
|
+
}), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (i(), w(M, V({
|
|
2144
2167
|
key: 3,
|
|
2145
2168
|
id: l.name
|
|
2146
2169
|
}, v.$attrs, {
|
|
@@ -2149,20 +2172,20 @@ const bt = { key: 0 }, ft = {
|
|
|
2149
2172
|
modelValue: t.value,
|
|
2150
2173
|
"onUpdate:modelValue": s[4] || (s[4] = (x) => t.value = x),
|
|
2151
2174
|
onInput: o,
|
|
2152
|
-
onBlur: p(
|
|
2153
|
-
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (
|
|
2175
|
+
onBlur: p(r)
|
|
2176
|
+
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (i(), w(I, V({ key: 4 }, { ...l, ...v.$attrs }, {
|
|
2154
2177
|
modelValue: t.value,
|
|
2155
2178
|
"onUpdate:modelValue": s[5] || (s[5] = (x) => t.value = x),
|
|
2156
2179
|
class: { "is-invalid": c.value }
|
|
2157
|
-
}), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (
|
|
2180
|
+
}), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (i(), w(z, V({ key: 5 }, { ...l, ...v.$attrs }, {
|
|
2158
2181
|
modelValue: t.value,
|
|
2159
2182
|
"onUpdate:modelValue": s[6] || (s[6] = (x) => t.value = x),
|
|
2160
2183
|
class: { "is-invalid": c.value }
|
|
2161
|
-
}), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (
|
|
2184
|
+
}), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (i(), w(f, V({ key: 6 }, { ...l, ...v.$attrs }, {
|
|
2162
2185
|
modelValue: t.value,
|
|
2163
2186
|
"onUpdate:modelValue": s[7] || (s[7] = (x) => t.value = x),
|
|
2164
2187
|
class: { "is-invalid": c.value }
|
|
2165
|
-
}), null, 16, ["modelValue", "class"])) :
|
|
2188
|
+
}), null, 16, ["modelValue", "class"])) : C("", !0)
|
|
2166
2189
|
], 2),
|
|
2167
2190
|
j(m("small", {
|
|
2168
2191
|
"data-cy": "error",
|
|
@@ -2205,11 +2228,11 @@ const bt = { key: 0 }, ft = {
|
|
|
2205
2228
|
}), n = k(() => l.value.length > 0), d = k(() => ({
|
|
2206
2229
|
inputtoken: "list-unstyled",
|
|
2207
2230
|
input: "border-0",
|
|
2208
|
-
container: ({ props:
|
|
2231
|
+
container: ({ props: u }) => ({
|
|
2209
2232
|
class: [
|
|
2210
2233
|
"form-control mb-0 d-flex",
|
|
2211
2234
|
{
|
|
2212
|
-
disabled:
|
|
2235
|
+
disabled: u.disabled,
|
|
2213
2236
|
"is-invalid": n.value
|
|
2214
2237
|
}
|
|
2215
2238
|
]
|
|
@@ -2233,15 +2256,15 @@ const bt = { key: 0 }, ft = {
|
|
|
2233
2256
|
]
|
|
2234
2257
|
}
|
|
2235
2258
|
}));
|
|
2236
|
-
return (
|
|
2259
|
+
return (u, r) => {
|
|
2237
2260
|
const c = Te;
|
|
2238
|
-
return
|
|
2239
|
-
y(c, V({ ...t, ...
|
|
2261
|
+
return i(), b(N, null, [
|
|
2262
|
+
y(c, V({ ...t, ...u.$attrs }, {
|
|
2240
2263
|
pt: d.value,
|
|
2241
2264
|
"model-value": p(o),
|
|
2242
|
-
"onUpdate:modelValue":
|
|
2265
|
+
"onUpdate:modelValue": r[0] || (r[0] = (v) => se(o) ? o.value = v : null)
|
|
2243
2266
|
}), {
|
|
2244
|
-
removetokenicon:
|
|
2267
|
+
removetokenicon: g(({ removeCallback: v }) => [
|
|
2245
2268
|
j(y(p(_), {
|
|
2246
2269
|
icon: "bi:x",
|
|
2247
2270
|
class: "cursor-pointer",
|
|
@@ -2261,7 +2284,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2261
2284
|
], 64);
|
|
2262
2285
|
};
|
|
2263
2286
|
}
|
|
2264
|
-
}),
|
|
2287
|
+
}), Gt = /* @__PURE__ */ F({
|
|
2265
2288
|
__name: "ForgeProgressBar",
|
|
2266
2289
|
props: {
|
|
2267
2290
|
severity: { default: "primary" },
|
|
@@ -2303,17 +2326,17 @@ const bt = { key: 0 }, ft = {
|
|
|
2303
2326
|
class: [a.value, l.value, o.value]
|
|
2304
2327
|
}
|
|
2305
2328
|
}));
|
|
2306
|
-
return (d,
|
|
2307
|
-
const
|
|
2308
|
-
return
|
|
2309
|
-
default:
|
|
2329
|
+
return (d, u) => {
|
|
2330
|
+
const r = Pe;
|
|
2331
|
+
return i(), w(r, V({ ...d.$attrs, ...t }, { pt: n.value }), {
|
|
2332
|
+
default: g(() => [
|
|
2310
2333
|
$(d.$slots, "default")
|
|
2311
2334
|
]),
|
|
2312
2335
|
_: 3
|
|
2313
2336
|
}, 16, ["pt"]);
|
|
2314
2337
|
};
|
|
2315
2338
|
}
|
|
2316
|
-
}),
|
|
2339
|
+
}), Kt = { class: "value text-white w-100 text-center" }, Ia = /* @__PURE__ */ F({
|
|
2317
2340
|
__name: "ForgeStatWidget",
|
|
2318
2341
|
props: {
|
|
2319
2342
|
size: { default: "md" },
|
|
@@ -2321,18 +2344,18 @@ const bt = { key: 0 }, ft = {
|
|
|
2321
2344
|
},
|
|
2322
2345
|
setup(e) {
|
|
2323
2346
|
const t = e;
|
|
2324
|
-
return (l, o) => (
|
|
2347
|
+
return (l, o) => (i(), b("div", V(l.$attrs, {
|
|
2325
2348
|
class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
|
|
2326
2349
|
}), [
|
|
2327
|
-
m("span",
|
|
2350
|
+
m("span", Kt, [
|
|
2328
2351
|
$(l.$slots, "default")
|
|
2329
2352
|
])
|
|
2330
2353
|
], 16));
|
|
2331
2354
|
}
|
|
2332
|
-
}),
|
|
2355
|
+
}), Wt = {
|
|
2333
2356
|
class: "d-flex flex-column align-items-center",
|
|
2334
2357
|
"data-cy": "stepper"
|
|
2335
|
-
},
|
|
2358
|
+
}, Zt = { class: "d-flex align-items-center justify-content-center w-100" }, za = /* @__PURE__ */ F({
|
|
2336
2359
|
__name: "ForgeStepper",
|
|
2337
2360
|
props: {
|
|
2338
2361
|
currentStep: { default: 0 },
|
|
@@ -2359,10 +2382,10 @@ const bt = { key: 0 }, ft = {
|
|
|
2359
2382
|
a.value++;
|
|
2360
2383
|
while (o.model[a.value].disabled);
|
|
2361
2384
|
l("update:currentStep", a.value);
|
|
2362
|
-
},
|
|
2385
|
+
}, u = k(() => {
|
|
2363
2386
|
const c = o.model.findIndex((v) => !v.disabled);
|
|
2364
2387
|
return !(c < a.value && c > -1);
|
|
2365
|
-
}),
|
|
2388
|
+
}), r = k(() => ({
|
|
2366
2389
|
menuitem: (c) => ({
|
|
2367
2390
|
class: [{
|
|
2368
2391
|
"cursor-pointer": !c.context.disabled
|
|
@@ -2399,17 +2422,17 @@ const bt = { key: 0 }, ft = {
|
|
|
2399
2422
|
})
|
|
2400
2423
|
}));
|
|
2401
2424
|
return (c, v) => {
|
|
2402
|
-
const s =
|
|
2403
|
-
return
|
|
2404
|
-
m("div",
|
|
2425
|
+
const s = L, S = Ie, T = Me;
|
|
2426
|
+
return i(), b("div", Wt, [
|
|
2427
|
+
m("div", Zt, [
|
|
2405
2428
|
y(s, {
|
|
2406
2429
|
severity: o.severity,
|
|
2407
|
-
disabled:
|
|
2430
|
+
disabled: u.value,
|
|
2408
2431
|
onClick: n,
|
|
2409
2432
|
class: "rounded-circle py-2 me-4",
|
|
2410
2433
|
"data-cy": "back-button"
|
|
2411
2434
|
}, {
|
|
2412
|
-
default:
|
|
2435
|
+
default: g(() => [
|
|
2413
2436
|
y(p(_), {
|
|
2414
2437
|
icon: "bi:chevron-left",
|
|
2415
2438
|
class: "mb-1"
|
|
@@ -2417,16 +2440,16 @@ const bt = { key: 0 }, ft = {
|
|
|
2417
2440
|
]),
|
|
2418
2441
|
_: 1
|
|
2419
2442
|
}, 8, ["severity", "disabled"]),
|
|
2420
|
-
y(
|
|
2443
|
+
y(S, {
|
|
2421
2444
|
"active-step": a.value,
|
|
2422
2445
|
"onUpdate:activeStep": v[0] || (v[0] = (M) => a.value = M),
|
|
2423
2446
|
model: o.model,
|
|
2424
|
-
pt:
|
|
2447
|
+
pt: r.value,
|
|
2425
2448
|
readonly: !1
|
|
2426
2449
|
}, null, 8, ["active-step", "model", "pt"])
|
|
2427
2450
|
]),
|
|
2428
2451
|
y(T, { class: "m-4" }),
|
|
2429
|
-
(
|
|
2452
|
+
(i(!0), b(N, null, H(o.model, (M, I) => (i(), b("div", {
|
|
2430
2453
|
key: I,
|
|
2431
2454
|
class: "w-100"
|
|
2432
2455
|
}, [
|
|
@@ -2439,8 +2462,8 @@ const bt = { key: 0 }, ft = {
|
|
|
2439
2462
|
severity: "info",
|
|
2440
2463
|
"data-cy": "alert"
|
|
2441
2464
|
}, {
|
|
2442
|
-
default:
|
|
2443
|
-
|
|
2465
|
+
default: g(() => [
|
|
2466
|
+
O(" Please add Slot Content for the key " + h(M.key ?? M.label) + " ", 1),
|
|
2444
2467
|
y(s, {
|
|
2445
2468
|
severity: "primary",
|
|
2446
2469
|
label: "Next",
|
|
@@ -2450,12 +2473,12 @@ const bt = { key: 0 }, ft = {
|
|
|
2450
2473
|
]),
|
|
2451
2474
|
_: 2
|
|
2452
2475
|
}, 1024)
|
|
2453
|
-
]) :
|
|
2476
|
+
]) : C("", !0)
|
|
2454
2477
|
]))), 128))
|
|
2455
2478
|
]);
|
|
2456
2479
|
};
|
|
2457
2480
|
}
|
|
2458
|
-
}),
|
|
2481
|
+
}), Jt = { class: "p-4 text-wrap w-100" }, Xt = { class: "p-4 text-wrap w-100" }, Oa = /* @__PURE__ */ F({
|
|
2459
2482
|
__name: "ForgeTile",
|
|
2460
2483
|
props: {
|
|
2461
2484
|
severity: { default: "primary" },
|
|
@@ -2466,30 +2489,30 @@ const bt = { key: 0 }, ft = {
|
|
|
2466
2489
|
setup(e) {
|
|
2467
2490
|
const t = e, l = k(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), o = k(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
|
|
2468
2491
|
return (a, n) => {
|
|
2469
|
-
const d =
|
|
2470
|
-
return t.clickable ? (
|
|
2492
|
+
const d = L;
|
|
2493
|
+
return t.clickable ? (i(), w(d, {
|
|
2471
2494
|
key: 0,
|
|
2472
2495
|
class: B(["d-flex w-100 p-0 text-body", l.value]),
|
|
2473
2496
|
severity: t.severity,
|
|
2474
2497
|
unstyled: "",
|
|
2475
2498
|
"data-cy": "button-tile"
|
|
2476
2499
|
}, {
|
|
2477
|
-
default:
|
|
2478
|
-
m("div",
|
|
2500
|
+
default: g(() => [
|
|
2501
|
+
m("div", Jt, [
|
|
2479
2502
|
$(a.$slots, "default", {}, () => [
|
|
2480
|
-
n[0] || (n[0] =
|
|
2503
|
+
n[0] || (n[0] = O("Tile Content"))
|
|
2481
2504
|
])
|
|
2482
2505
|
])
|
|
2483
2506
|
]),
|
|
2484
2507
|
_: 3
|
|
2485
|
-
}, 8, ["severity", "class"])) : (
|
|
2508
|
+
}, 8, ["severity", "class"])) : (i(), b("div", {
|
|
2486
2509
|
key: 1,
|
|
2487
2510
|
class: B(["d-flex w-100", o.value]),
|
|
2488
2511
|
"data-cy": "tile"
|
|
2489
2512
|
}, [
|
|
2490
|
-
m("div",
|
|
2513
|
+
m("div", Xt, [
|
|
2491
2514
|
$(a.$slots, "default", {}, () => [
|
|
2492
|
-
n[1] || (n[1] =
|
|
2515
|
+
n[1] || (n[1] = O("Tile Content"))
|
|
2493
2516
|
])
|
|
2494
2517
|
])
|
|
2495
2518
|
], 2));
|
|
@@ -2499,13 +2522,13 @@ const bt = { key: 0 }, ft = {
|
|
|
2499
2522
|
function X(e, t) {
|
|
2500
2523
|
return e > 1 ? `${t}s` : t;
|
|
2501
2524
|
}
|
|
2502
|
-
const
|
|
2525
|
+
const Qt = {
|
|
2503
2526
|
class: "d-flex justify-content-start align-items-baseline",
|
|
2504
2527
|
"data-cy": "pagination-header"
|
|
2505
|
-
},
|
|
2528
|
+
}, el = { class: "ms-2" }, tl = { key: 0 }, ll = {
|
|
2506
2529
|
class: "w-auto",
|
|
2507
2530
|
"data-cy": "total"
|
|
2508
|
-
},
|
|
2531
|
+
}, al = /* @__PURE__ */ F({
|
|
2509
2532
|
__name: "ForgePaginationHeader",
|
|
2510
2533
|
props: {
|
|
2511
2534
|
total: {},
|
|
@@ -2520,26 +2543,26 @@ const el = {
|
|
|
2520
2543
|
const d = Math.ceil(o.total / o.perPage);
|
|
2521
2544
|
return `${d} ${X(d, "page")}`;
|
|
2522
2545
|
});
|
|
2523
|
-
return (d,
|
|
2524
|
-
|
|
2525
|
-
m("div",
|
|
2546
|
+
return (d, u) => (i(), b("div", Qt, [
|
|
2547
|
+
u[2] || (u[2] = O(" Number of results per page ")),
|
|
2548
|
+
m("div", el, [
|
|
2526
2549
|
y(p(ae), {
|
|
2527
2550
|
options: o.pageSizes,
|
|
2528
2551
|
"model-value": o.perPage,
|
|
2529
2552
|
class: "page-size",
|
|
2530
|
-
onChange:
|
|
2553
|
+
onChange: u[0] || (u[0] = (r) => a(r))
|
|
2531
2554
|
}, null, 8, ["options", "model-value"])
|
|
2532
2555
|
]),
|
|
2533
|
-
o.total ? (
|
|
2534
|
-
|
|
2535
|
-
m("span",
|
|
2536
|
-
])) :
|
|
2556
|
+
o.total ? (i(), b("div", tl, [
|
|
2557
|
+
u[1] || (u[1] = m("span", { class: "mx-2" }, "|", -1)),
|
|
2558
|
+
m("span", ll, h(o.total) + " " + h(p(X)(o.total, "result")) + " across " + h(n.value), 1)
|
|
2559
|
+
])) : C("", !0)
|
|
2537
2560
|
]));
|
|
2538
2561
|
}
|
|
2539
|
-
}),
|
|
2562
|
+
}), ol = { class: "position-relative" }, nl = { "data-cy": "above-table-slot" }, sl = { class: "d-flex w-100" }, il = {
|
|
2540
2563
|
class: "mx-auto",
|
|
2541
2564
|
"data-cy": "empty-message"
|
|
2542
|
-
},
|
|
2565
|
+
}, rl = { class: "d-flex" }, dl = { class: "d-flex align-items-end mb-2" }, ul = { key: 0 }, cl = { class: "ms-auto" }, Da = /* @__PURE__ */ F({
|
|
2543
2566
|
__name: "ForgeTable",
|
|
2544
2567
|
props: {
|
|
2545
2568
|
value: {},
|
|
@@ -2621,16 +2644,16 @@ const el = {
|
|
|
2621
2644
|
},
|
|
2622
2645
|
emits: ["update:filters", "update:tableContext", "sort", "page"],
|
|
2623
2646
|
setup(e, { emit: t }) {
|
|
2624
|
-
const l = t, o = e, a = P(), n = P([10, 20, 50, 100]), d = P(20),
|
|
2647
|
+
const l = t, o = e, a = P(), n = P([10, 20, 50, 100]), d = P(20), u = P({
|
|
2625
2648
|
filters: o.filters,
|
|
2626
2649
|
perPage: d.value,
|
|
2627
2650
|
page: 0,
|
|
2628
2651
|
sortDirection: "None",
|
|
2629
2652
|
sortField: "",
|
|
2630
2653
|
total: o.totalRecords ?? o.value.length
|
|
2631
|
-
}),
|
|
2632
|
-
const
|
|
2633
|
-
return `${
|
|
2654
|
+
}), r = k(() => o.totalRecords ?? o.value.length), c = k(() => {
|
|
2655
|
+
const f = Math.ceil(r.value / d.value);
|
|
2656
|
+
return `${f} ${X(f, "page")}`;
|
|
2634
2657
|
}), v = k(() => ({
|
|
2635
2658
|
thead: () => ({
|
|
2636
2659
|
class: [
|
|
@@ -2657,33 +2680,33 @@ const el = {
|
|
|
2657
2680
|
if (o.clearAll)
|
|
2658
2681
|
o.clearAll();
|
|
2659
2682
|
else
|
|
2660
|
-
for (const
|
|
2661
|
-
typeof o.filters[
|
|
2683
|
+
for (const f in o.filters)
|
|
2684
|
+
typeof o.filters[f] == "string" ? o.filters[f] = "" : o.filters[f].value = null;
|
|
2662
2685
|
M(o.filters);
|
|
2663
|
-
},
|
|
2686
|
+
}, S = () => {
|
|
2664
2687
|
a.value.exportCSV();
|
|
2665
|
-
}, T = (
|
|
2688
|
+
}, T = (f) => {
|
|
2666
2689
|
var x;
|
|
2667
|
-
|
|
2668
|
-
}, M = (
|
|
2669
|
-
|
|
2670
|
-
}, I = (
|
|
2671
|
-
|
|
2672
|
-
},
|
|
2673
|
-
|
|
2690
|
+
u.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", u.value.sortField = ((x = f.sortField) == null ? void 0 : x.toString()) ?? "", l("update:tableContext", u.value), l("sort", f);
|
|
2691
|
+
}, M = (f) => {
|
|
2692
|
+
u.value.filters = f, l("update:tableContext", u.value), l("update:filters", f);
|
|
2693
|
+
}, I = (f) => {
|
|
2694
|
+
u.value.page = f.page, l("update:tableContext", u.value), l("page", f);
|
|
2695
|
+
}, z = () => {
|
|
2696
|
+
u.value.perPage = d.value, l("update:tableContext", u.value);
|
|
2674
2697
|
};
|
|
2675
|
-
return
|
|
2676
|
-
|
|
2677
|
-
}, { deep: !0 }), le(() => l("update:tableContext",
|
|
2678
|
-
m("span",
|
|
2679
|
-
$(
|
|
2698
|
+
return ue(() => o.filters, (f) => {
|
|
2699
|
+
u.value.filters = f, l("update:tableContext", u.value);
|
|
2700
|
+
}, { deep: !0 }), le(() => l("update:tableContext", u.value)), (f, x) => (i(), b("div", ol, [
|
|
2701
|
+
m("span", nl, [
|
|
2702
|
+
$(f.$slots, "above-table")
|
|
2680
2703
|
]),
|
|
2681
2704
|
y(p(ze), V({
|
|
2682
2705
|
class: ["w-100", `${o.severity ? `forge-table-${o.severity}` : ""}`]
|
|
2683
|
-
}, { ...o, ...
|
|
2706
|
+
}, { ...o, ...f.$attrs }, {
|
|
2684
2707
|
pt: v.value,
|
|
2685
2708
|
rows: d.value,
|
|
2686
|
-
"total-records":
|
|
2709
|
+
"total-records": r.value,
|
|
2687
2710
|
"filter-display": o.filters ? "row" : void 0,
|
|
2688
2711
|
ref_key: "forgeTable",
|
|
2689
2712
|
ref: a,
|
|
@@ -2692,82 +2715,82 @@ const el = {
|
|
|
2692
2715
|
onSort: T,
|
|
2693
2716
|
onPage: I
|
|
2694
2717
|
}), te({
|
|
2695
|
-
empty:
|
|
2696
|
-
m("div",
|
|
2697
|
-
m("h5",
|
|
2718
|
+
empty: g(() => [
|
|
2719
|
+
m("div", sl, [
|
|
2720
|
+
m("h5", il, h(f.emptyMessage ?? "No items Found."), 1)
|
|
2698
2721
|
])
|
|
2699
2722
|
]),
|
|
2700
|
-
header:
|
|
2723
|
+
header: g(() => [
|
|
2701
2724
|
m("div", {
|
|
2702
2725
|
class: B(o.loading ? "opacity-50" : "")
|
|
2703
2726
|
}, [
|
|
2704
|
-
m("div",
|
|
2705
|
-
m("div",
|
|
2706
|
-
|
|
2707
|
-
y(
|
|
2708
|
-
total:
|
|
2727
|
+
m("div", rl, [
|
|
2728
|
+
m("div", dl, [
|
|
2729
|
+
f.paginator && !f.legacyPaginationFooter ? (i(), b("span", ul, [
|
|
2730
|
+
y(al, {
|
|
2731
|
+
total: r.value,
|
|
2709
2732
|
"page-sizes": n.value,
|
|
2710
2733
|
"per-page": d.value,
|
|
2711
2734
|
"onUpdate:perPage": [
|
|
2712
2735
|
x[0] || (x[0] = (G) => d.value = G),
|
|
2713
|
-
|
|
2736
|
+
z
|
|
2714
2737
|
]
|
|
2715
2738
|
}, null, 8, ["total", "page-sizes", "per-page"])
|
|
2716
|
-
])) :
|
|
2739
|
+
])) : C("", !0)
|
|
2717
2740
|
]),
|
|
2718
|
-
m("div",
|
|
2719
|
-
|
|
2741
|
+
m("div", cl, [
|
|
2742
|
+
f.showClearButton ? (i(), w(p(L), {
|
|
2720
2743
|
key: 0,
|
|
2721
2744
|
outlined: "",
|
|
2722
|
-
class: B(
|
|
2745
|
+
class: B(f.showExporterButton ? "me-2" : ""),
|
|
2723
2746
|
onClick: s,
|
|
2724
2747
|
"data-cy": "clear-all"
|
|
2725
2748
|
}, {
|
|
2726
|
-
default:
|
|
2749
|
+
default: g(() => [
|
|
2727
2750
|
y(p(_), {
|
|
2728
2751
|
icon: "bi:funnel-fill",
|
|
2729
2752
|
width: "24",
|
|
2730
2753
|
height: "24"
|
|
2731
2754
|
}),
|
|
2732
|
-
x[2] || (x[2] =
|
|
2755
|
+
x[2] || (x[2] = O(" Clear "))
|
|
2733
2756
|
]),
|
|
2734
2757
|
_: 1
|
|
2735
|
-
}, 8, ["class"])) :
|
|
2736
|
-
|
|
2758
|
+
}, 8, ["class"])) : C("", !0),
|
|
2759
|
+
f.showExporterButton ? (i(), w(p(L), {
|
|
2737
2760
|
key: 1,
|
|
2738
2761
|
outlined: "",
|
|
2739
|
-
onClick:
|
|
2762
|
+
onClick: S,
|
|
2740
2763
|
"data-cy": "exporter"
|
|
2741
2764
|
}, {
|
|
2742
|
-
default:
|
|
2765
|
+
default: g(() => [
|
|
2743
2766
|
y(p(_), {
|
|
2744
2767
|
icon: "typcn:export",
|
|
2745
2768
|
width: "24",
|
|
2746
2769
|
height: "24"
|
|
2747
2770
|
}),
|
|
2748
|
-
x[3] || (x[3] =
|
|
2771
|
+
x[3] || (x[3] = O(" Export "))
|
|
2749
2772
|
]),
|
|
2750
2773
|
_: 1
|
|
2751
|
-
})) :
|
|
2752
|
-
$(
|
|
2774
|
+
})) : C("", !0),
|
|
2775
|
+
$(f.$slots, "column-customiser")
|
|
2753
2776
|
])
|
|
2754
2777
|
])
|
|
2755
2778
|
], 2)
|
|
2756
2779
|
]),
|
|
2757
|
-
default:
|
|
2758
|
-
$(
|
|
2780
|
+
default: g(() => [
|
|
2781
|
+
$(f.$slots, "default")
|
|
2759
2782
|
]),
|
|
2760
2783
|
_: 2
|
|
2761
2784
|
}, [
|
|
2762
|
-
H(
|
|
2785
|
+
H(f.$slots, (G, Z) => ({
|
|
2763
2786
|
name: Z,
|
|
2764
|
-
fn:
|
|
2765
|
-
$(
|
|
2787
|
+
fn: g((ne) => [
|
|
2788
|
+
$(f.$slots, Z, Q(ee(ne || {})))
|
|
2766
2789
|
])
|
|
2767
2790
|
})),
|
|
2768
|
-
|
|
2791
|
+
f.legacyPaginationFooter ? {
|
|
2769
2792
|
name: "paginatorstart",
|
|
2770
|
-
fn:
|
|
2793
|
+
fn: g(() => [
|
|
2771
2794
|
m("span", {
|
|
2772
2795
|
class: B(["d-flex", o.loading ? "opacity-50" : ""]),
|
|
2773
2796
|
"data-cy": "legacy-page-size"
|
|
@@ -2778,26 +2801,26 @@ const el = {
|
|
|
2778
2801
|
modelValue: d.value,
|
|
2779
2802
|
"onUpdate:modelValue": x[1] || (x[1] = (G) => d.value = G),
|
|
2780
2803
|
class: "ms-2",
|
|
2781
|
-
onClick:
|
|
2804
|
+
onClick: z
|
|
2782
2805
|
}, null, 8, ["options", "modelValue"])
|
|
2783
2806
|
], 2)
|
|
2784
2807
|
]),
|
|
2785
2808
|
key: "0"
|
|
2786
2809
|
} : void 0,
|
|
2787
|
-
|
|
2810
|
+
f.legacyPaginationFooter ? {
|
|
2788
2811
|
name: "paginatorend",
|
|
2789
|
-
fn:
|
|
2812
|
+
fn: g(() => [
|
|
2790
2813
|
m("span", {
|
|
2791
2814
|
"data-cy": "legacy-total",
|
|
2792
2815
|
class: B(o.loading ? "opacity-50" : "")
|
|
2793
|
-
}, h(
|
|
2816
|
+
}, h(r.value) + " " + h(p(X)(r.value, "result")) + " across " + h(c.value), 3)
|
|
2794
2817
|
]),
|
|
2795
2818
|
key: "1"
|
|
2796
2819
|
} : void 0
|
|
2797
2820
|
]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
|
|
2798
2821
|
]));
|
|
2799
2822
|
}
|
|
2800
|
-
}),
|
|
2823
|
+
}), ml = { class: "d-flex position-relative" }, pl = { class: "d-flex w-100" }, vl = { class: "d-flex w-100" }, Ua = /* @__PURE__ */ F({
|
|
2801
2824
|
__name: "ForgeFilterHeader",
|
|
2802
2825
|
props: /* @__PURE__ */ R({
|
|
2803
2826
|
dataType: {},
|
|
@@ -2815,52 +2838,52 @@ const el = {
|
|
|
2815
2838
|
const t = U(e, "modelValue"), l = (a, n) => {
|
|
2816
2839
|
if (!a || Array.isArray(a) && a.length === 0)
|
|
2817
2840
|
return n;
|
|
2818
|
-
const d = (
|
|
2841
|
+
const d = (u) => {
|
|
2819
2842
|
var c;
|
|
2820
|
-
const
|
|
2821
|
-
(v) => e.optionValue ? v[e.optionValue] ===
|
|
2843
|
+
const r = (c = e.dropdownOptions) == null ? void 0 : c.find(
|
|
2844
|
+
(v) => e.optionValue ? v[e.optionValue] === u : Object.keys(v).every((s) => u.hasOwnProperty(s) && v[s] === u[s])
|
|
2822
2845
|
);
|
|
2823
|
-
return e.optionLabel ?
|
|
2846
|
+
return e.optionLabel ? r[e.optionLabel] : r;
|
|
2824
2847
|
};
|
|
2825
2848
|
return Array.isArray(a) ? a.map(d).join(", ") : d(a);
|
|
2826
2849
|
}, o = () => {
|
|
2827
2850
|
e.clearFilter ? e.clearFilter() : t.value = null;
|
|
2828
2851
|
};
|
|
2829
2852
|
return (a, n) => {
|
|
2830
|
-
const d =
|
|
2831
|
-
return
|
|
2832
|
-
a.dataType === "numeric" ? (
|
|
2853
|
+
const d = me, u = L;
|
|
2854
|
+
return i(), b("div", ml, [
|
|
2855
|
+
a.dataType === "numeric" ? (i(), w(d, V({
|
|
2833
2856
|
key: 0,
|
|
2834
2857
|
modelValue: t.value,
|
|
2835
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
2836
|
-
}, a.$attrs), null, 16, ["modelValue"])) : a.dataType === "date" ? (
|
|
2858
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => t.value = r)
|
|
2859
|
+
}, a.$attrs), null, 16, ["modelValue"])) : a.dataType === "date" ? (i(), w(be, V({
|
|
2837
2860
|
key: 1,
|
|
2838
2861
|
modelValue: t.value,
|
|
2839
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
2862
|
+
"onUpdate:modelValue": n[1] || (n[1] = (r) => t.value = r)
|
|
2840
2863
|
}, a.$attrs, {
|
|
2841
2864
|
"show-icon": !1,
|
|
2842
2865
|
"show-on-focus": !0
|
|
2843
|
-
}), null, 16, ["modelValue"])) : a.dataType === "select" ? (
|
|
2866
|
+
}), null, 16, ["modelValue"])) : a.dataType === "select" ? (i(), w(p(ae), V({
|
|
2844
2867
|
key: 2,
|
|
2845
2868
|
modelValue: t.value,
|
|
2846
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
2869
|
+
"onUpdate:modelValue": n[2] || (n[2] = (r) => t.value = r)
|
|
2847
2870
|
}, a.$attrs, {
|
|
2848
2871
|
options: a.dropdownOptions,
|
|
2849
2872
|
"option-value": a.optionValue,
|
|
2850
2873
|
"option-label": a.optionLabel
|
|
2851
2874
|
}), {
|
|
2852
|
-
value:
|
|
2853
|
-
m("div",
|
|
2875
|
+
value: g(({ value: r, placeholder: c }) => [
|
|
2876
|
+
m("div", pl, [
|
|
2854
2877
|
m("span", {
|
|
2855
|
-
class: B({ "filter-placeholder":
|
|
2856
|
-
}, h(l(
|
|
2857
|
-
a.showClearButton && t.value !== null ? (
|
|
2878
|
+
class: B({ "filter-placeholder": r === null })
|
|
2879
|
+
}, h(l(r, c)), 3),
|
|
2880
|
+
a.showClearButton && t.value !== null ? (i(), w(u, {
|
|
2858
2881
|
key: 0,
|
|
2859
2882
|
onClick: Y(o, ["prevent"]),
|
|
2860
2883
|
size: "small",
|
|
2861
2884
|
class: "bg-transparent border-0 ms-auto p-0 pe-1"
|
|
2862
2885
|
}, {
|
|
2863
|
-
default:
|
|
2886
|
+
default: g(() => [
|
|
2864
2887
|
y(p(_), {
|
|
2865
2888
|
icon: "bi:x",
|
|
2866
2889
|
width: "1rem",
|
|
@@ -2869,33 +2892,34 @@ const el = {
|
|
|
2869
2892
|
})
|
|
2870
2893
|
]),
|
|
2871
2894
|
_: 1
|
|
2872
|
-
})) :
|
|
2895
|
+
})) : C("", !0)
|
|
2873
2896
|
])
|
|
2874
2897
|
]),
|
|
2875
2898
|
_: 1
|
|
2876
|
-
}, 16, ["modelValue", "options", "option-value", "option-label"])) : a.dataType === "multiselect" ? (
|
|
2899
|
+
}, 16, ["modelValue", "options", "option-value", "option-label"])) : a.dataType === "multiselect" ? (i(), w(p(re), V({
|
|
2877
2900
|
key: 3,
|
|
2878
2901
|
modelValue: t.value,
|
|
2879
|
-
"onUpdate:modelValue": n[3] || (n[3] = (
|
|
2902
|
+
"onUpdate:modelValue": n[3] || (n[3] = (r) => t.value = r)
|
|
2880
2903
|
}, a.$attrs, {
|
|
2881
2904
|
options: a.dropdownOptions,
|
|
2882
2905
|
showToggleAll: !1,
|
|
2883
2906
|
"option-label": a.optionLabel,
|
|
2884
2907
|
"option-value": a.optionValue,
|
|
2885
|
-
filter: ""
|
|
2908
|
+
filter: "",
|
|
2909
|
+
display: "chip"
|
|
2886
2910
|
}), {
|
|
2887
|
-
value:
|
|
2888
|
-
m("div",
|
|
2911
|
+
value: g(({ value: r, placeholder: c }) => [
|
|
2912
|
+
m("div", vl, [
|
|
2889
2913
|
m("span", {
|
|
2890
|
-
class: B({ "filter-placeholder": (
|
|
2891
|
-
}, h(l(
|
|
2892
|
-
a.showClearButton && (
|
|
2914
|
+
class: B({ "filter-placeholder": (r == null ? void 0 : r.length) === 0 || r === null })
|
|
2915
|
+
}, h(l(r, c)), 3),
|
|
2916
|
+
a.showClearButton && (r == null ? void 0 : r.length) > 0 ? (i(), w(u, {
|
|
2893
2917
|
key: 0,
|
|
2894
2918
|
onClick: Y(o, ["prevent"]),
|
|
2895
2919
|
size: "small",
|
|
2896
2920
|
class: "bg-transparent border-0 ms-auto p-0 pe-1"
|
|
2897
2921
|
}, {
|
|
2898
|
-
default:
|
|
2922
|
+
default: g(() => [
|
|
2899
2923
|
y(p(_), {
|
|
2900
2924
|
icon: "bi:x",
|
|
2901
2925
|
width: "1rem",
|
|
@@ -2904,22 +2928,22 @@ const el = {
|
|
|
2904
2928
|
})
|
|
2905
2929
|
]),
|
|
2906
2930
|
_: 1
|
|
2907
|
-
})) :
|
|
2931
|
+
})) : C("", !0)
|
|
2908
2932
|
])
|
|
2909
2933
|
]),
|
|
2910
2934
|
_: 1
|
|
2911
|
-
}, 16, ["modelValue", "options", "option-label", "option-value"])) : (
|
|
2935
|
+
}, 16, ["modelValue", "options", "option-label", "option-value"])) : (i(), w(p(ie), V({
|
|
2912
2936
|
key: 4,
|
|
2913
2937
|
modelValue: t.value,
|
|
2914
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
2938
|
+
"onUpdate:modelValue": n[4] || (n[4] = (r) => t.value = r)
|
|
2915
2939
|
}, a.$attrs), null, 16, ["modelValue"])),
|
|
2916
|
-
a.showClearButton && t.value !== null && a.dataType !== "select" && a.dataType !== "multiselect" && a.dataType !== "date" ? (
|
|
2940
|
+
a.showClearButton && t.value !== null && a.dataType !== "select" && a.dataType !== "multiselect" && a.dataType !== "date" ? (i(), w(u, {
|
|
2917
2941
|
key: 5,
|
|
2918
2942
|
onClick: Y(o, ["prevent"]),
|
|
2919
2943
|
size: "small",
|
|
2920
2944
|
class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
|
|
2921
2945
|
}, {
|
|
2922
|
-
default:
|
|
2946
|
+
default: g(() => [
|
|
2923
2947
|
y(p(_), {
|
|
2924
2948
|
icon: "bi:x",
|
|
2925
2949
|
width: "1rem",
|
|
@@ -2928,7 +2952,7 @@ const el = {
|
|
|
2928
2952
|
})
|
|
2929
2953
|
]),
|
|
2930
2954
|
_: 1
|
|
2931
|
-
})) :
|
|
2955
|
+
})) : C("", !0)
|
|
2932
2956
|
]);
|
|
2933
2957
|
};
|
|
2934
2958
|
}
|
|
@@ -2936,19 +2960,19 @@ const el = {
|
|
|
2936
2960
|
function fe(e, t, l, o) {
|
|
2937
2961
|
const a = t.flatMap((n) => n.file);
|
|
2938
2962
|
return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
|
|
2939
|
-
const d = a.findIndex((
|
|
2940
|
-
let
|
|
2941
|
-
d === -1 ? ((!l.includes(n.type) || !(n.size <= o)) && (
|
|
2963
|
+
const d = a.findIndex((r) => r.name === n.name);
|
|
2964
|
+
let u = "Not Uploaded";
|
|
2965
|
+
d === -1 ? ((!l.includes(n.type) || !(n.size <= o)) && (u = l.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
|
|
2942
2966
|
file: n,
|
|
2943
|
-
status:
|
|
2967
|
+
status: u,
|
|
2944
2968
|
blobFileName: null
|
|
2945
2969
|
})) : t[d].status = "Duplicate";
|
|
2946
2970
|
}), t;
|
|
2947
2971
|
}
|
|
2948
|
-
async function
|
|
2972
|
+
async function yl(e, t) {
|
|
2949
2973
|
if (e === "Uploaded" && t !== null)
|
|
2950
2974
|
try {
|
|
2951
|
-
await new
|
|
2975
|
+
await new pe(t).delete();
|
|
2952
2976
|
} catch (l) {
|
|
2953
2977
|
if (l !== "BlobNotFound") {
|
|
2954
2978
|
e = "DeleteFileFailed";
|
|
@@ -2956,7 +2980,7 @@ async function bl(e, t) {
|
|
|
2956
2980
|
}
|
|
2957
2981
|
}
|
|
2958
2982
|
}
|
|
2959
|
-
function
|
|
2983
|
+
function de(e, t = !0, l = 1) {
|
|
2960
2984
|
const o = t ? 1e3 : 1024;
|
|
2961
2985
|
if (Math.abs(e) < o)
|
|
2962
2986
|
return e + " B";
|
|
@@ -2968,16 +2992,16 @@ function re(e, t = !0, l = 1) {
|
|
|
2968
2992
|
while (Math.round(Math.abs(e) * d) / d >= o && n < a.length - 1);
|
|
2969
2993
|
return e.toFixed(l) + " " + a[n];
|
|
2970
2994
|
}
|
|
2971
|
-
function
|
|
2995
|
+
function bl(e) {
|
|
2972
2996
|
return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
|
|
2973
2997
|
}
|
|
2974
|
-
function
|
|
2998
|
+
function fl(e) {
|
|
2975
2999
|
return URL.createObjectURL(e);
|
|
2976
3000
|
}
|
|
2977
|
-
const
|
|
3001
|
+
const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disabled", "multiple"], wl = {
|
|
2978
3002
|
class: "text-break accepted-file-types-container",
|
|
2979
3003
|
id: "accepted-file-types-overlay"
|
|
2980
|
-
},
|
|
3004
|
+
}, xl = /* @__PURE__ */ F({
|
|
2981
3005
|
__name: "UploadButton",
|
|
2982
3006
|
props: /* @__PURE__ */ R({
|
|
2983
3007
|
acceptedFileTypes: {},
|
|
@@ -2990,11 +3014,11 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
2990
3014
|
emits: ["update:modelValue"],
|
|
2991
3015
|
setup(e) {
|
|
2992
3016
|
const t = U(e, "modelValue"), l = P(), o = (d) => l.value.toggle(d), a = k(() => e.maxFileInput <= t.value.length), n = (d) => {
|
|
2993
|
-
t.value = fe(d, t.value, e.acceptedFileTypes.map((
|
|
3017
|
+
t.value = fe(d, t.value, e.acceptedFileTypes.map((u) => u.fileType), e.maxFileInput);
|
|
2994
3018
|
};
|
|
2995
|
-
return (d,
|
|
2996
|
-
const
|
|
2997
|
-
return
|
|
3019
|
+
return (d, u) => {
|
|
3020
|
+
const r = L;
|
|
3021
|
+
return i(), b("div", gl, [
|
|
2998
3022
|
$(d.$slots, "message"),
|
|
2999
3023
|
m("div", null, [
|
|
3000
3024
|
m("input", {
|
|
@@ -3004,8 +3028,8 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3004
3028
|
accept: d.acceptedFileTypes.join(", "),
|
|
3005
3029
|
disabled: a.value,
|
|
3006
3030
|
multiple: d.maxFileInput > 1,
|
|
3007
|
-
onInput:
|
|
3008
|
-
}, null, 40,
|
|
3031
|
+
onInput: u[0] || (u[0] = (c) => n([...c.target.files]))
|
|
3032
|
+
}, null, 40, hl),
|
|
3009
3033
|
m("label", {
|
|
3010
3034
|
class: B([{ disabled: a.value }, "btn btn-primary"]),
|
|
3011
3035
|
id: "file-input-button",
|
|
@@ -3018,42 +3042,42 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3018
3042
|
height: "20px",
|
|
3019
3043
|
width: "20px"
|
|
3020
3044
|
}),
|
|
3021
|
-
|
|
3045
|
+
u[1] || (u[1] = O(" Browse your computer "))
|
|
3022
3046
|
])
|
|
3023
3047
|
], 2)
|
|
3024
3048
|
]),
|
|
3025
|
-
d.showDragDropArea ? (
|
|
3049
|
+
d.showDragDropArea ? (i(), w(r, {
|
|
3026
3050
|
link: "",
|
|
3027
3051
|
class: "ms-auto",
|
|
3028
3052
|
key: d.acceptedFileTypes.length,
|
|
3029
3053
|
id: "accepted-file-types",
|
|
3030
3054
|
onClick: o
|
|
3031
3055
|
}, {
|
|
3032
|
-
default:
|
|
3033
|
-
|
|
3056
|
+
default: g(() => u[2] || (u[2] = [
|
|
3057
|
+
O("Accepted File Types")
|
|
3034
3058
|
])),
|
|
3035
3059
|
_: 1
|
|
3036
|
-
})) :
|
|
3037
|
-
y(p(
|
|
3060
|
+
})) : C("", !0),
|
|
3061
|
+
y(p(ve), {
|
|
3038
3062
|
ref_key: "acceptedFilesOverlay",
|
|
3039
3063
|
ref: l
|
|
3040
3064
|
}, {
|
|
3041
|
-
default:
|
|
3042
|
-
m("div",
|
|
3065
|
+
default: g(() => [
|
|
3066
|
+
m("div", wl, h(d.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
|
|
3043
3067
|
]),
|
|
3044
3068
|
_: 1
|
|
3045
3069
|
}, 512)
|
|
3046
3070
|
]);
|
|
3047
3071
|
};
|
|
3048
3072
|
}
|
|
3049
|
-
}),
|
|
3073
|
+
}), kl = {
|
|
3050
3074
|
key: 0,
|
|
3051
3075
|
class: "py-4 px-3",
|
|
3052
3076
|
id: "placeholder-message"
|
|
3053
|
-
},
|
|
3077
|
+
}, $l = {
|
|
3054
3078
|
key: 1,
|
|
3055
3079
|
class: "d-flex flex-column"
|
|
3056
|
-
},
|
|
3080
|
+
}, Bl = /* @__PURE__ */ F({
|
|
3057
3081
|
__name: "DragDropArea",
|
|
3058
3082
|
props: /* @__PURE__ */ R({
|
|
3059
3083
|
maxFileInput: {},
|
|
@@ -3068,27 +3092,27 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3068
3092
|
const t = U(e, "modelValue"), l = P(!1), o = k(() => e.maxFileInput <= t.value.length), a = (n) => {
|
|
3069
3093
|
l.value = !1, n.dataTransfer.files.length > e.maxFileInput || o.value ? n.preventDefault() : t.value = fe([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((d) => d.fileType), e.maxFileSize);
|
|
3070
3094
|
};
|
|
3071
|
-
return (n, d) => (
|
|
3095
|
+
return (n, d) => (i(), b("div", {
|
|
3072
3096
|
id: "drag-drop-area",
|
|
3073
3097
|
class: B(`${l.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
|
|
3074
|
-
onDragleave: d[0] || (d[0] = Y((
|
|
3075
|
-
onDragover: d[1] || (d[1] = Y((
|
|
3098
|
+
onDragleave: d[0] || (d[0] = Y((u) => l.value = !1, ["prevent"])),
|
|
3099
|
+
onDragover: d[1] || (d[1] = Y((u) => l.value = !0, ["prevent"])),
|
|
3076
3100
|
onDrop: Y(a, ["prevent"])
|
|
3077
3101
|
}, [
|
|
3078
|
-
t.value.length === 0 ? (
|
|
3102
|
+
t.value.length === 0 ? (i(), b("div", kl, [
|
|
3079
3103
|
y(p(_), {
|
|
3080
3104
|
icon: "bi:upload",
|
|
3081
3105
|
class: "me-2",
|
|
3082
3106
|
height: "20px",
|
|
3083
3107
|
width: "20px"
|
|
3084
3108
|
}),
|
|
3085
|
-
d[2] || (d[2] =
|
|
3086
|
-
])) : (
|
|
3109
|
+
d[2] || (d[2] = O(" Drag and drop files here "))
|
|
3110
|
+
])) : (i(), b("div", $l, [
|
|
3087
3111
|
$(n.$slots, "default")
|
|
3088
3112
|
]))
|
|
3089
3113
|
], 34));
|
|
3090
3114
|
}
|
|
3091
|
-
}),
|
|
3115
|
+
}), Fl = { class: "d-flex align-items-center me-2" }, _l = /* @__PURE__ */ F({
|
|
3092
3116
|
__name: "UploadStatus",
|
|
3093
3117
|
props: {
|
|
3094
3118
|
fileSize: {},
|
|
@@ -3102,7 +3126,7 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3102
3126
|
case "InvalidFileType":
|
|
3103
3127
|
return "Upload Failed: File type is not accepted.";
|
|
3104
3128
|
case "InvalidFileSize":
|
|
3105
|
-
return `Upload Failed: File size exceeds the ${
|
|
3129
|
+
return `Upload Failed: File size exceeds the ${de(e.maxFileSize)} limit.`;
|
|
3106
3130
|
case "Aborted":
|
|
3107
3131
|
return "Upload Failed: User cancelled.";
|
|
3108
3132
|
case "DeleteFileFailed":
|
|
@@ -3113,41 +3137,41 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3113
3137
|
return "Upload Failed: Connection error, please try again.";
|
|
3114
3138
|
}
|
|
3115
3139
|
});
|
|
3116
|
-
return (o, a) => (
|
|
3117
|
-
o.uploadStatus === "Uploading" ? (
|
|
3140
|
+
return (o, a) => (i(), b("div", Fl, [
|
|
3141
|
+
o.uploadStatus === "Uploading" ? (i(), w(Gt, {
|
|
3118
3142
|
key: 0,
|
|
3119
3143
|
pixelWidth: 200,
|
|
3120
3144
|
animate: "",
|
|
3121
3145
|
striped: ""
|
|
3122
3146
|
}, {
|
|
3123
|
-
default:
|
|
3124
|
-
|
|
3147
|
+
default: g(() => [
|
|
3148
|
+
O(h((o.bytesUploaded / o.fileSize * 100).toFixed(0)) + "%", 1)
|
|
3125
3149
|
]),
|
|
3126
3150
|
_: 1
|
|
3127
|
-
})) :
|
|
3128
|
-
o.uploadStatus !== "Uploading" && o.uploadStatus !== "Not Uploaded" && o.uploadStatus !== "Uploaded" && o.uploadStatus !== "Preparing" ? (
|
|
3151
|
+
})) : C("", !0),
|
|
3152
|
+
o.uploadStatus !== "Uploading" && o.uploadStatus !== "Not Uploaded" && o.uploadStatus !== "Uploaded" && o.uploadStatus !== "Preparing" ? (i(), w(oe, {
|
|
3129
3153
|
key: 1,
|
|
3130
3154
|
id: "upload-status-alert",
|
|
3131
3155
|
severity: t.value,
|
|
3132
3156
|
class: "mb-0 w-75 ms-auto"
|
|
3133
3157
|
}, {
|
|
3134
|
-
default:
|
|
3135
|
-
|
|
3158
|
+
default: g(() => [
|
|
3159
|
+
O(h(l.value), 1)
|
|
3136
3160
|
]),
|
|
3137
3161
|
_: 1
|
|
3138
|
-
}, 8, ["severity"])) :
|
|
3162
|
+
}, 8, ["severity"])) : C("", !0)
|
|
3139
3163
|
]));
|
|
3140
3164
|
}
|
|
3141
|
-
}),
|
|
3165
|
+
}), Vl = ["data-cy"], Cl = { class: "ms-3 d-flex flex-column" }, Sl = {
|
|
3142
3166
|
key: 1,
|
|
3143
3167
|
id: "file-name"
|
|
3144
|
-
},
|
|
3168
|
+
}, Tl = {
|
|
3145
3169
|
class: "text-black-50",
|
|
3146
3170
|
id: "file-type"
|
|
3147
|
-
},
|
|
3171
|
+
}, Pl = {
|
|
3148
3172
|
class: "text-black-50",
|
|
3149
3173
|
id: "file-size"
|
|
3150
|
-
},
|
|
3174
|
+
}, Ml = { class: "ms-auto my-auto d-flex" }, Il = /* @__PURE__ */ F({
|
|
3151
3175
|
__name: "FileInfo",
|
|
3152
3176
|
props: /* @__PURE__ */ R({
|
|
3153
3177
|
editableFileName: { type: Boolean },
|
|
@@ -3166,7 +3190,7 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3166
3190
|
}),
|
|
3167
3191
|
emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
|
|
3168
3192
|
setup(e, { emit: t }) {
|
|
3169
|
-
const l = U(e, "file"), o = U(e, "blobFileName"), a = U(e, "uploadStatus"), n = t, d = P(l.value.name),
|
|
3193
|
+
const l = U(e, "file"), o = U(e, "blobFileName"), a = U(e, "uploadStatus"), n = t, d = P(l.value.name), u = P(""), r = P(0), c = P(), v = k(() => e.acceptedFileTypes.some(({ fileType: I }) => I === l.value.type)), s = k(() => l.value.size <= e.maxFileSize), S = () => {
|
|
3170
3194
|
l.value = new File([l.value], d.value, { type: l.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
|
|
3171
3195
|
}, T = async () => {
|
|
3172
3196
|
if (!v.value || !s.value) {
|
|
@@ -3174,47 +3198,47 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3174
3198
|
return;
|
|
3175
3199
|
}
|
|
3176
3200
|
a.value = "Preparing", c.value = new AbortController();
|
|
3177
|
-
const [I,
|
|
3201
|
+
const [I, z] = await e.getFileUrlAction(l.value.name);
|
|
3178
3202
|
if (!I) {
|
|
3179
3203
|
a.value = "Failed";
|
|
3180
3204
|
return;
|
|
3181
3205
|
}
|
|
3182
3206
|
try {
|
|
3183
3207
|
a.value = "Uploading";
|
|
3184
|
-
const
|
|
3208
|
+
const f = new pe(I), x = {
|
|
3185
3209
|
abortSignal: c.value.signal,
|
|
3186
|
-
onProgress: (G) =>
|
|
3210
|
+
onProgress: (G) => r.value = G.loadedBytes,
|
|
3187
3211
|
tags: { temp: "true" }
|
|
3188
3212
|
};
|
|
3189
|
-
await
|
|
3190
|
-
} catch (
|
|
3191
|
-
if (
|
|
3213
|
+
await f.uploadData(l.value, x), u.value = I, a.value = "Uploaded", o.value = z;
|
|
3214
|
+
} catch (f) {
|
|
3215
|
+
if (f.name === "AbortError") {
|
|
3192
3216
|
a.value = "Aborted";
|
|
3193
3217
|
return;
|
|
3194
3218
|
}
|
|
3195
3219
|
a.value = "Failed";
|
|
3196
3220
|
}
|
|
3197
3221
|
}, M = async () => {
|
|
3198
|
-
await
|
|
3222
|
+
await yl(a.value, u.value), n("deleted", l.value);
|
|
3199
3223
|
};
|
|
3200
3224
|
return le(() => {
|
|
3201
3225
|
e.autoUploadToBlob && T();
|
|
3202
|
-
}), (I,
|
|
3203
|
-
const
|
|
3204
|
-
return
|
|
3226
|
+
}), (I, z) => {
|
|
3227
|
+
const f = L;
|
|
3228
|
+
return i(), b("div", {
|
|
3205
3229
|
class: "py-4 px-3 d-flex",
|
|
3206
3230
|
"data-cy": `file-info-${l.value.name}`
|
|
3207
3231
|
}, [
|
|
3208
3232
|
m("div", null, [
|
|
3209
|
-
p(
|
|
3233
|
+
p(bl)(l.value.type) ? (i(), w(p(Oe), {
|
|
3210
3234
|
key: 0,
|
|
3211
3235
|
id: "thumbnail-image",
|
|
3212
3236
|
"image-class": "image-file-thumbnail border",
|
|
3213
|
-
src: p(
|
|
3237
|
+
src: p(fl)(l.value),
|
|
3214
3238
|
alt: l.value.name,
|
|
3215
3239
|
width: "75px",
|
|
3216
3240
|
preview: ""
|
|
3217
|
-
}, null, 8, ["src", "alt"])) : (
|
|
3241
|
+
}, null, 8, ["src", "alt"])) : (i(), w(p(_), {
|
|
3218
3242
|
key: 1,
|
|
3219
3243
|
id: "file-earmark",
|
|
3220
3244
|
icon: "bi:file-earmark",
|
|
@@ -3224,74 +3248,74 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3224
3248
|
]),
|
|
3225
3249
|
m("div", Cl, [
|
|
3226
3250
|
m("div", null, [
|
|
3227
|
-
I.editableFileName ? (
|
|
3251
|
+
I.editableFileName ? (i(), w(Bt, {
|
|
3228
3252
|
key: 0,
|
|
3229
3253
|
id: "edit-file-name",
|
|
3230
3254
|
modelValue: d.value,
|
|
3231
|
-
"onUpdate:modelValue":
|
|
3255
|
+
"onUpdate:modelValue": z[0] || (z[0] = (x) => d.value = x),
|
|
3232
3256
|
rules: I.customFileNameRules,
|
|
3233
3257
|
name: l.value.name,
|
|
3234
|
-
"complete-action":
|
|
3235
|
-
}, null, 8, ["modelValue", "rules", "name"])) : (
|
|
3258
|
+
"complete-action": S
|
|
3259
|
+
}, null, 8, ["modelValue", "rules", "name"])) : (i(), b("span", Sl, h(l.value.name), 1))
|
|
3236
3260
|
]),
|
|
3237
|
-
m("span",
|
|
3238
|
-
m("span",
|
|
3261
|
+
m("span", Tl, "File type: " + h(l.value.type.split("/").pop()), 1),
|
|
3262
|
+
m("span", Pl, "File size: " + h(p(de)(l.value.size)), 1)
|
|
3239
3263
|
]),
|
|
3240
|
-
m("div",
|
|
3241
|
-
(
|
|
3264
|
+
m("div", Ml, [
|
|
3265
|
+
(i(), w(_l, {
|
|
3242
3266
|
key: a.value,
|
|
3243
3267
|
"file-size": l.value.size,
|
|
3244
3268
|
"upload-status": a.value,
|
|
3245
|
-
"bytes-uploaded":
|
|
3269
|
+
"bytes-uploaded": r.value,
|
|
3246
3270
|
"max-file-size": I.maxFileSize
|
|
3247
3271
|
}, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
|
|
3248
|
-
a.value === "Not Uploaded" || a.value === "Failed" || a.value === "Duplicate" || a.value === "Aborted" ? (
|
|
3272
|
+
a.value === "Not Uploaded" || a.value === "Failed" || a.value === "Duplicate" || a.value === "Aborted" ? (i(), w(f, {
|
|
3249
3273
|
key: 0,
|
|
3250
3274
|
link: "",
|
|
3251
3275
|
onClick: T
|
|
3252
3276
|
}, {
|
|
3253
|
-
default:
|
|
3277
|
+
default: g(() => [
|
|
3254
3278
|
y(p(_), {
|
|
3255
3279
|
icon: a.value === "Not Uploaded" || a.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
|
|
3256
3280
|
}, null, 8, ["icon"])
|
|
3257
3281
|
]),
|
|
3258
3282
|
_: 1
|
|
3259
|
-
})) :
|
|
3260
|
-
a.value === "Uploading" ? (
|
|
3283
|
+
})) : C("", !0),
|
|
3284
|
+
a.value === "Uploading" ? (i(), w(f, {
|
|
3261
3285
|
key: 1,
|
|
3262
3286
|
link: "",
|
|
3263
|
-
onClick:
|
|
3287
|
+
onClick: z[1] || (z[1] = (x) => c.value.value.abort())
|
|
3264
3288
|
}, {
|
|
3265
|
-
default:
|
|
3289
|
+
default: g(() => [
|
|
3266
3290
|
y(p(_), { icon: "bi:x-circle-fill" })
|
|
3267
3291
|
]),
|
|
3268
3292
|
_: 1
|
|
3269
|
-
})) : (
|
|
3293
|
+
})) : (i(), w(f, {
|
|
3270
3294
|
key: 2,
|
|
3271
3295
|
link: "",
|
|
3272
3296
|
onClick: M,
|
|
3273
3297
|
id: "delete-button"
|
|
3274
3298
|
}, {
|
|
3275
|
-
default:
|
|
3299
|
+
default: g(() => [
|
|
3276
3300
|
y(p(_), { icon: "bi:trash" })
|
|
3277
3301
|
]),
|
|
3278
3302
|
_: 1
|
|
3279
3303
|
}))
|
|
3280
3304
|
])
|
|
3281
|
-
], 8,
|
|
3305
|
+
], 8, Vl);
|
|
3282
3306
|
};
|
|
3283
3307
|
}
|
|
3284
|
-
}),
|
|
3308
|
+
}), zl = { class: "d-flex justify-content-end mt-1" }, Ol = { id: "max-file-size" }, Dl = /* @__PURE__ */ F({
|
|
3285
3309
|
__name: "MaxFileSize",
|
|
3286
3310
|
props: {
|
|
3287
3311
|
maxFileSize: {}
|
|
3288
3312
|
},
|
|
3289
3313
|
setup(e) {
|
|
3290
|
-
return (t, l) => (
|
|
3291
|
-
m("div",
|
|
3314
|
+
return (t, l) => (i(), b("div", zl, [
|
|
3315
|
+
m("div", Ol, "Max file size: " + h(p(de)(t.maxFileSize)), 1)
|
|
3292
3316
|
]));
|
|
3293
3317
|
}
|
|
3294
|
-
}),
|
|
3318
|
+
}), Ul = { "data-cy": "file-uploader" }, Al = { key: 0 }, Aa = /* @__PURE__ */ F({
|
|
3295
3319
|
__name: "ForgeFileUploader",
|
|
3296
3320
|
props: /* @__PURE__ */ R({
|
|
3297
3321
|
acceptedFileTypes: {},
|
|
@@ -3311,43 +3335,43 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3311
3335
|
const t = U(e, "modelValue"), l = e, o = (a) => {
|
|
3312
3336
|
t.value = t.value.filter((n) => n.file != a);
|
|
3313
3337
|
};
|
|
3314
|
-
return (a, n) => (
|
|
3315
|
-
y(
|
|
3338
|
+
return (a, n) => (i(), b("div", Ul, [
|
|
3339
|
+
y(xl, V(l, {
|
|
3316
3340
|
modelValue: t.value,
|
|
3317
3341
|
"onUpdate:modelValue": n[0] || (n[0] = (d) => t.value = d)
|
|
3318
3342
|
}), null, 16, ["modelValue"]),
|
|
3319
|
-
a.showDragDropArea ? (
|
|
3320
|
-
y(
|
|
3343
|
+
a.showDragDropArea ? (i(), b("div", Al, [
|
|
3344
|
+
y(Bl, {
|
|
3321
3345
|
"max-file-input": l.maxFileInput,
|
|
3322
3346
|
"max-file-size": l.maxFileSize,
|
|
3323
3347
|
"accepted-file-types": l.acceptedFileTypes,
|
|
3324
3348
|
modelValue: t.value,
|
|
3325
3349
|
"onUpdate:modelValue": n[1] || (n[1] = (d) => t.value = d)
|
|
3326
3350
|
}, {
|
|
3327
|
-
default:
|
|
3328
|
-
(
|
|
3329
|
-
(
|
|
3351
|
+
default: g(() => [
|
|
3352
|
+
(i(!0), b(N, null, H(t.value, ({ file: d }, u) => (i(), b("span", null, [
|
|
3353
|
+
(i(), w(Il, V({
|
|
3330
3354
|
key: d.name,
|
|
3331
|
-
class:
|
|
3332
|
-
file: t.value[
|
|
3333
|
-
"onUpdate:file": (
|
|
3334
|
-
"blob-file-name": t.value[
|
|
3335
|
-
"onUpdate:blobFileName": (
|
|
3336
|
-
"upload-status": t.value[
|
|
3337
|
-
"onUpdate:uploadStatus": (
|
|
3355
|
+
class: u === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
|
|
3356
|
+
file: t.value[u].file,
|
|
3357
|
+
"onUpdate:file": (r) => t.value[u].file = r,
|
|
3358
|
+
"blob-file-name": t.value[u].blobFileName,
|
|
3359
|
+
"onUpdate:blobFileName": (r) => t.value[u].blobFileName = r,
|
|
3360
|
+
"upload-status": t.value[u].status,
|
|
3361
|
+
"onUpdate:uploadStatus": (r) => t.value[u].status = r,
|
|
3338
3362
|
ref_for: !0
|
|
3339
3363
|
}, l, { onDeleted: o }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
|
|
3340
3364
|
]))), 256))
|
|
3341
3365
|
]),
|
|
3342
3366
|
_: 1
|
|
3343
3367
|
}, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
|
|
3344
|
-
y(
|
|
3368
|
+
y(Dl, {
|
|
3345
3369
|
"max-file-size": l.maxFileSize
|
|
3346
3370
|
}, null, 8, ["max-file-size"])
|
|
3347
|
-
])) :
|
|
3371
|
+
])) : C("", !0)
|
|
3348
3372
|
]));
|
|
3349
3373
|
}
|
|
3350
|
-
}),
|
|
3374
|
+
}), Nl = { class: "d-flex" }, Ll = { class: "me-3" }, El = { class: "ms-2" }, Rl = { class: "d-flex flex-column w-100" }, jl = ["onClick"], Hl = ["for"], Na = /* @__PURE__ */ F({
|
|
3351
3375
|
__name: "ForgeColumnCustomiser",
|
|
3352
3376
|
props: {
|
|
3353
3377
|
modelValue: { required: !0 },
|
|
@@ -3355,26 +3379,26 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3355
3379
|
},
|
|
3356
3380
|
emits: ["update:modelValue"],
|
|
3357
3381
|
setup(e) {
|
|
3358
|
-
const t = U(e, "modelValue"), l = P(), o = P(!1), a = P([]), n = P([]), d = (
|
|
3359
|
-
l.value.toggle(
|
|
3360
|
-
},
|
|
3361
|
-
const c = n.value.find((v) => v.field ===
|
|
3382
|
+
const t = U(e, "modelValue"), l = P(), o = P(!1), a = P([]), n = P([]), d = (r) => {
|
|
3383
|
+
l.value.toggle(r);
|
|
3384
|
+
}, u = (r) => {
|
|
3385
|
+
const c = n.value.find((v) => v.field === r);
|
|
3362
3386
|
c.selected = !c.selected, t.value = n.value.filter((v) => v.selected);
|
|
3363
3387
|
};
|
|
3364
3388
|
return le(() => {
|
|
3365
|
-
a.value = [...t.value], n.value = [...t.value].map((
|
|
3366
|
-
}), (
|
|
3367
|
-
y(p(
|
|
3389
|
+
a.value = [...t.value], n.value = [...t.value].map((r) => ({ ...r, selected: !0 }));
|
|
3390
|
+
}), (r, c) => (i(), b(N, null, [
|
|
3391
|
+
y(p(L), {
|
|
3368
3392
|
onClick: d,
|
|
3369
3393
|
class: "ms-2"
|
|
3370
3394
|
}, {
|
|
3371
|
-
default:
|
|
3372
|
-
m("div",
|
|
3395
|
+
default: g(() => [
|
|
3396
|
+
m("div", Nl, [
|
|
3373
3397
|
m("div", Ll, [
|
|
3374
3398
|
y(p(_), { icon: "bi:layout-three-columns" })
|
|
3375
3399
|
]),
|
|
3376
|
-
|
|
3377
|
-
m("div",
|
|
3400
|
+
O(" Columns (" + h(t.value.length ?? 0) + "/" + h(a.value.length ?? 0) + ") ", 1),
|
|
3401
|
+
m("div", El, [
|
|
3378
3402
|
y(p(_), {
|
|
3379
3403
|
icon: o.value ? "bi:chevron-up" : "bi:chevron-down"
|
|
3380
3404
|
}, null, 8, ["icon"])
|
|
@@ -3383,35 +3407,35 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3383
3407
|
]),
|
|
3384
3408
|
_: 1
|
|
3385
3409
|
}),
|
|
3386
|
-
y(p(
|
|
3410
|
+
y(p(ve), {
|
|
3387
3411
|
ref_key: "columnCustomiserPanel",
|
|
3388
3412
|
ref: l,
|
|
3389
3413
|
class: "column-customiser",
|
|
3390
3414
|
onHide: c[0] || (c[0] = () => o.value = !1),
|
|
3391
3415
|
onShow: c[1] || (c[1] = () => o.value = !0)
|
|
3392
3416
|
}, {
|
|
3393
|
-
default:
|
|
3394
|
-
m("div",
|
|
3395
|
-
(
|
|
3417
|
+
default: g(() => [
|
|
3418
|
+
m("div", Rl, [
|
|
3419
|
+
(i(!0), b(N, null, H(a.value, (v, s) => (i(), b("div", {
|
|
3396
3420
|
class: B(["d-flex cursor-pointer", {
|
|
3397
3421
|
"border-top": s !== 0,
|
|
3398
3422
|
"py-1": s !== 0 && a.value.length - 1 !== s,
|
|
3399
3423
|
"pt-1": a.value.length - 1 === s,
|
|
3400
3424
|
"pb-1": s === 0
|
|
3401
3425
|
}]),
|
|
3402
|
-
onClick: (
|
|
3426
|
+
onClick: (S) => u(v.field)
|
|
3403
3427
|
}, [
|
|
3404
|
-
y(p(
|
|
3428
|
+
y(p(ce), {
|
|
3405
3429
|
id: v.field,
|
|
3406
|
-
"model-value": n.value.find((
|
|
3430
|
+
"model-value": n.value.find((S) => S.field === v.field).selected,
|
|
3407
3431
|
binary: "",
|
|
3408
3432
|
class: "cursor-pointer"
|
|
3409
3433
|
}, null, 8, ["id", "model-value"]),
|
|
3410
3434
|
m("label", {
|
|
3411
3435
|
for: v.field,
|
|
3412
3436
|
class: "cursor-pointer"
|
|
3413
|
-
}, h(v.header), 9,
|
|
3414
|
-
], 10,
|
|
3437
|
+
}, h(v.header), 9, Hl)
|
|
3438
|
+
], 10, jl))), 256))
|
|
3415
3439
|
])
|
|
3416
3440
|
]),
|
|
3417
3441
|
_: 1
|
|
@@ -3420,8 +3444,8 @@ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disable
|
|
|
3420
3444
|
}
|
|
3421
3445
|
});
|
|
3422
3446
|
export {
|
|
3423
|
-
|
|
3424
|
-
|
|
3447
|
+
ha as Bootstrap_PT,
|
|
3448
|
+
wa as ForgeActionButton,
|
|
3425
3449
|
oe as ForgeAlert,
|
|
3426
3450
|
mt as ForgeCheckbox,
|
|
3427
3451
|
Ma as ForgeChips,
|
|
@@ -3432,20 +3456,20 @@ export {
|
|
|
3432
3456
|
Ta as ForgeForm,
|
|
3433
3457
|
Pa as ForgeFormField,
|
|
3434
3458
|
Bt as ForgeInlineEditor,
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3459
|
+
xa as ForgeLink,
|
|
3460
|
+
ye as ForgeLoader,
|
|
3461
|
+
Ba as ForgeModal,
|
|
3462
|
+
_a as ForgeMultiSelect,
|
|
3439
3463
|
Va as ForgeMultiSelectPreview,
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3464
|
+
Fa as ForgeNavbar,
|
|
3465
|
+
Ca as ForgePageHeader,
|
|
3466
|
+
Gt as ForgeProgressBar,
|
|
3467
|
+
Sa as ForgeRemainingCharacters,
|
|
3444
3468
|
Ia as ForgeStatWidget,
|
|
3445
3469
|
za as ForgeStepper,
|
|
3446
3470
|
Da as ForgeTable,
|
|
3447
3471
|
Oa as ForgeTile,
|
|
3448
|
-
|
|
3449
|
-
|
|
3472
|
+
$a as convertToMultiSelectOption,
|
|
3473
|
+
ka as enumToMultiSelectList,
|
|
3450
3474
|
yt as parseError
|
|
3451
3475
|
};
|