@3squared/forge-ui-3 1.3.2 → 1.3.4
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
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { defineComponent as F, openBlock as
|
|
3
|
-
import { Icon as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { useField as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { vOnClickOutside as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import { BlockBlobClient as
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
const
|
|
1
|
+
import Fe from "primevue/message";
|
|
2
|
+
import { defineComponent as F, openBlock as p, createBlock as w, normalizeProps as ie, guardReactiveProps as le, withCtx as g, createElementVNode as m, normalizeClass as B, unref as u, createCommentVNode as C, createVNode as f, renderSlot as $, ref as T, createElementBlock as x, Fragment as q, mergeProps as z, mergeModels as N, useModel as O, computed as k, createTextVNode as P, toDisplayString as h, withDirectives as H, vShow as Y, createSlots as oe, renderList as W, onMounted as ne, isRef as de, withKeys as ae, useAttrs as ze, withModifiers as G, normalizeStyle as _e, watch as xe } from "vue";
|
|
3
|
+
import { Icon as _ } from "@iconify/vue";
|
|
4
|
+
import A from "primevue/button";
|
|
5
|
+
import je from "primevue/toast";
|
|
6
|
+
import be from "primevue/checkbox";
|
|
7
|
+
import { useField as X } from "vee-validate";
|
|
8
|
+
import Ce from "primevue/progressspinner";
|
|
9
|
+
import Se from "primevue/dialog";
|
|
10
|
+
import ce from "primevue/inputtext";
|
|
11
|
+
import { vOnClickOutside as Ve } from "@vueuse/components";
|
|
12
|
+
import Te from "primevue/menubar";
|
|
13
|
+
import Me from "vue-multiselect";
|
|
14
|
+
import me from "primevue/multiselect";
|
|
15
|
+
import Pe from "primevue/calendar";
|
|
16
|
+
import se from "primevue/dropdown";
|
|
17
|
+
import Ie from "primevue/inputmask";
|
|
18
|
+
import Oe from "primevue/textarea";
|
|
19
|
+
import ge from "primevue/inputnumber";
|
|
20
|
+
import De from "primevue/chips";
|
|
21
|
+
import Ue from "primevue/progressbar";
|
|
22
|
+
import qe from "primevue/divider";
|
|
23
|
+
import Ae from "primevue/steps";
|
|
24
|
+
import Ee from "primevue/datatable";
|
|
25
|
+
import { BlockBlobClient as ye } from "@azure/storage-blob";
|
|
26
|
+
import he from "primevue/overlaypanel";
|
|
27
|
+
import Le from "primevue/image";
|
|
28
|
+
const Ne = {
|
|
29
29
|
button: {
|
|
30
30
|
root: ({ props: e }) => ({
|
|
31
31
|
class: [
|
|
@@ -116,7 +116,7 @@ const De = {
|
|
|
116
116
|
]
|
|
117
117
|
})
|
|
118
118
|
}
|
|
119
|
-
},
|
|
119
|
+
}, Re = {
|
|
120
120
|
checkbox: {
|
|
121
121
|
root: () => ({
|
|
122
122
|
class: [
|
|
@@ -134,7 +134,7 @@ const De = {
|
|
|
134
134
|
]
|
|
135
135
|
})
|
|
136
136
|
}
|
|
137
|
-
},
|
|
137
|
+
}, He = {
|
|
138
138
|
dropdown: {
|
|
139
139
|
root: ({ props: e }) => ({
|
|
140
140
|
class: [
|
|
@@ -184,18 +184,18 @@ const De = {
|
|
|
184
184
|
]
|
|
185
185
|
})
|
|
186
186
|
}
|
|
187
|
-
},
|
|
187
|
+
}, We = {
|
|
188
188
|
column: {
|
|
189
189
|
sortBadge: "ms-2 my-auto cursor-pointer",
|
|
190
190
|
headerCell: (e) => {
|
|
191
|
-
var
|
|
191
|
+
var a, t, i, l;
|
|
192
192
|
return {
|
|
193
193
|
class: [
|
|
194
194
|
"align-top",
|
|
195
195
|
{
|
|
196
196
|
"cursor-move": e.props.reorderableColumns,
|
|
197
|
-
"position-sticky": ((
|
|
198
|
-
"overflow-hidden position-relative bg-clip-padding": (
|
|
197
|
+
"position-sticky": ((a = e.column) == null ? void 0 : a.context.frozen) !== void 0 || ((t = e.column) == null ? void 0 : t.context.frozen) || ((i = e.column) == null ? void 0 : i.context.frozen) === "",
|
|
198
|
+
"overflow-hidden position-relative bg-clip-padding": (l = e.column) == null ? void 0 : l.context.resizable
|
|
199
199
|
}
|
|
200
200
|
]
|
|
201
201
|
};
|
|
@@ -210,10 +210,10 @@ const De = {
|
|
|
210
210
|
roweditorsavebutton: "btn",
|
|
211
211
|
roweditorcancelbutton: "btn",
|
|
212
212
|
bodyCell: (e) => {
|
|
213
|
-
var
|
|
213
|
+
var a;
|
|
214
214
|
return {
|
|
215
215
|
class: {
|
|
216
|
-
"position-sticky": ((
|
|
216
|
+
"position-sticky": ((a = e.column.props) == null ? void 0 : a.frozen) !== void 0,
|
|
217
217
|
"overflow-hidden text-nowrap": e.props.resizableColumns
|
|
218
218
|
}
|
|
219
219
|
};
|
|
@@ -248,13 +248,13 @@ const De = {
|
|
|
248
248
|
columnfilter: "d-flex w-100",
|
|
249
249
|
filterinput: "w-100",
|
|
250
250
|
filterRowItem: (e) => {
|
|
251
|
-
var
|
|
251
|
+
var a;
|
|
252
252
|
return {
|
|
253
253
|
class: [
|
|
254
254
|
"dropdown-item cursor-pointer",
|
|
255
255
|
{
|
|
256
256
|
//@ts-ignore
|
|
257
|
-
active: (
|
|
257
|
+
active: (a = e.column.context) == null ? void 0 : a.highlighted
|
|
258
258
|
}
|
|
259
259
|
]
|
|
260
260
|
};
|
|
@@ -285,22 +285,22 @@ const De = {
|
|
|
285
285
|
]
|
|
286
286
|
})
|
|
287
287
|
}
|
|
288
|
-
},
|
|
288
|
+
}, Ye = {
|
|
289
289
|
inputtext: {
|
|
290
290
|
root: (e) => {
|
|
291
|
-
var
|
|
291
|
+
var a, t;
|
|
292
292
|
return {
|
|
293
293
|
class: [
|
|
294
294
|
"form-control",
|
|
295
295
|
{
|
|
296
|
-
"form-control-lg": ((
|
|
297
|
-
"form-control-sm": ((
|
|
296
|
+
"form-control-lg": ((a = e.props.size) == null ? void 0 : a.toLowerCase()) == "large",
|
|
297
|
+
"form-control-sm": ((t = e.props.size) == null ? void 0 : t.toLowerCase()) == "small"
|
|
298
298
|
}
|
|
299
299
|
]
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
|
-
},
|
|
303
|
+
}, Ge = {
|
|
304
304
|
inputmask: {
|
|
305
305
|
root: () => ({
|
|
306
306
|
class: [
|
|
@@ -308,12 +308,12 @@ const De = {
|
|
|
308
308
|
]
|
|
309
309
|
})
|
|
310
310
|
}
|
|
311
|
-
},
|
|
311
|
+
}, Ke = {
|
|
312
312
|
inputSwitch: {
|
|
313
313
|
root: "form-check form-switch",
|
|
314
314
|
input: "form-check-input"
|
|
315
315
|
}
|
|
316
|
-
},
|
|
316
|
+
}, Ze = {
|
|
317
317
|
textarea: {
|
|
318
318
|
root: () => ({
|
|
319
319
|
class: [
|
|
@@ -321,13 +321,13 @@ const De = {
|
|
|
321
321
|
]
|
|
322
322
|
})
|
|
323
323
|
}
|
|
324
|
-
},
|
|
324
|
+
}, Je = {
|
|
325
325
|
// More PassThrough options in component file.
|
|
326
326
|
chips: {
|
|
327
327
|
root: "d-flex",
|
|
328
328
|
label: "pe-2"
|
|
329
329
|
}
|
|
330
|
-
},
|
|
330
|
+
}, Xe = {
|
|
331
331
|
dialog: {
|
|
332
332
|
header: () => ({
|
|
333
333
|
class: ["modal-header"]
|
|
@@ -370,7 +370,7 @@ const De = {
|
|
|
370
370
|
]
|
|
371
371
|
})
|
|
372
372
|
}
|
|
373
|
-
},
|
|
373
|
+
}, Qe = {
|
|
374
374
|
overlaypanel: {
|
|
375
375
|
root: (e) => ({
|
|
376
376
|
class: [
|
|
@@ -384,7 +384,7 @@ const De = {
|
|
|
384
384
|
content: "d-flex position-relative",
|
|
385
385
|
closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
|
|
386
386
|
}
|
|
387
|
-
},
|
|
387
|
+
}, ea = {
|
|
388
388
|
message: {
|
|
389
389
|
root: ({ props: e }) => ({
|
|
390
390
|
class: [
|
|
@@ -413,13 +413,13 @@ const De = {
|
|
|
413
413
|
class: ["px-0 ms-2 btn d-flex"]
|
|
414
414
|
})
|
|
415
415
|
}
|
|
416
|
-
},
|
|
416
|
+
}, aa = {
|
|
417
417
|
// More PT options defined in ForgeStepper.
|
|
418
418
|
steps: {
|
|
419
419
|
root: "w-100 mx-2 line",
|
|
420
420
|
menu: "p-0 m-0 list-unstyled d-flex justify-content-between "
|
|
421
421
|
}
|
|
422
|
-
},
|
|
422
|
+
}, ta = {
|
|
423
423
|
tabview: {
|
|
424
424
|
navContainer: () => ({
|
|
425
425
|
class: ["nav nav-tabs position-relative"]
|
|
@@ -442,13 +442,13 @@ const De = {
|
|
|
442
442
|
class: ["nav-item"]
|
|
443
443
|
}),
|
|
444
444
|
headerAction: (e) => {
|
|
445
|
-
var
|
|
445
|
+
var a;
|
|
446
446
|
return {
|
|
447
447
|
class: [
|
|
448
448
|
"nav-link cursor-pointer",
|
|
449
449
|
{
|
|
450
450
|
active: e.tabpanel.context.active,
|
|
451
|
-
disabled: (
|
|
451
|
+
disabled: (a = e.tabpanel.props) == null ? void 0 : a.disabled
|
|
452
452
|
}
|
|
453
453
|
]
|
|
454
454
|
};
|
|
@@ -457,7 +457,7 @@ const De = {
|
|
|
457
457
|
class: ["p-2"]
|
|
458
458
|
})
|
|
459
459
|
}
|
|
460
|
-
},
|
|
460
|
+
}, ia = {
|
|
461
461
|
// More PassThrough options defined in ForgeDatepicker.
|
|
462
462
|
calendar: {
|
|
463
463
|
root: "d-inline-flex relative w-100",
|
|
@@ -530,7 +530,7 @@ const De = {
|
|
|
530
530
|
decrementButton: "btn btn-sm",
|
|
531
531
|
incrementButton: "btn btn-sm"
|
|
532
532
|
}
|
|
533
|
-
},
|
|
533
|
+
}, la = {
|
|
534
534
|
multiselect: {
|
|
535
535
|
root: ({ props: e }) => ({
|
|
536
536
|
class: [
|
|
@@ -565,7 +565,7 @@ const De = {
|
|
|
565
565
|
]
|
|
566
566
|
})
|
|
567
567
|
}
|
|
568
|
-
},
|
|
568
|
+
}, oa = {
|
|
569
569
|
// More PassThrough options in component file.
|
|
570
570
|
progressbar: {
|
|
571
571
|
root: () => ({
|
|
@@ -578,7 +578,7 @@ const De = {
|
|
|
578
578
|
class: ["text-white"]
|
|
579
579
|
})
|
|
580
580
|
}
|
|
581
|
-
},
|
|
581
|
+
}, na = {
|
|
582
582
|
// More PT options can be found in the ForgeTable file.
|
|
583
583
|
dataTable: {
|
|
584
584
|
datatable: "position-relative",
|
|
@@ -613,12 +613,12 @@ const De = {
|
|
|
613
613
|
},
|
|
614
614
|
paginator: {
|
|
615
615
|
root: (e) => {
|
|
616
|
-
var
|
|
616
|
+
var a;
|
|
617
617
|
return {
|
|
618
618
|
class: [
|
|
619
619
|
"m-auto pagination justify-content-center",
|
|
620
620
|
{
|
|
621
|
-
"opacity-50": (
|
|
621
|
+
"opacity-50": (a = e.parent) == null ? void 0 : a.props.loading
|
|
622
622
|
}
|
|
623
623
|
]
|
|
624
624
|
};
|
|
@@ -638,7 +638,7 @@ const De = {
|
|
|
638
638
|
]
|
|
639
639
|
})
|
|
640
640
|
}
|
|
641
|
-
},
|
|
641
|
+
}, sa = {
|
|
642
642
|
badge: {
|
|
643
643
|
root: ({ props: e }) => ({
|
|
644
644
|
class: [
|
|
@@ -659,7 +659,7 @@ const De = {
|
|
|
659
659
|
]
|
|
660
660
|
})
|
|
661
661
|
}
|
|
662
|
-
},
|
|
662
|
+
}, ra = {
|
|
663
663
|
// More PassThrough options in component file.
|
|
664
664
|
menubar: {
|
|
665
665
|
menu: ({ instance: e }) => ({
|
|
@@ -678,14 +678,14 @@ const De = {
|
|
|
678
678
|
}
|
|
679
679
|
]
|
|
680
680
|
}),
|
|
681
|
-
action: ({ context: e, instance:
|
|
681
|
+
action: ({ context: e, instance: a }) => ({
|
|
682
682
|
class: [
|
|
683
683
|
{
|
|
684
684
|
active: e.active,
|
|
685
685
|
"nav-link": e.level === 0,
|
|
686
686
|
"dropdown-item": e.level > 0,
|
|
687
687
|
disabled: e.item.item.disabled,
|
|
688
|
-
"px-3":
|
|
688
|
+
"px-3": a.mobileActive
|
|
689
689
|
}
|
|
690
690
|
]
|
|
691
691
|
}),
|
|
@@ -729,7 +729,7 @@ const De = {
|
|
|
729
729
|
]
|
|
730
730
|
})
|
|
731
731
|
}
|
|
732
|
-
},
|
|
732
|
+
}, pa = {
|
|
733
733
|
tooltip: {
|
|
734
734
|
root: ({ context: e }) => ({
|
|
735
735
|
class: [
|
|
@@ -751,12 +751,12 @@ const De = {
|
|
|
751
751
|
class: ["tooltip-inner"]
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
},
|
|
754
|
+
}, da = {
|
|
755
755
|
selectbutton: {
|
|
756
756
|
root: () => ({
|
|
757
757
|
class: ["btn-group"]
|
|
758
758
|
}),
|
|
759
|
-
button: ({ context: e, props:
|
|
759
|
+
button: ({ context: e, props: a }) => ({
|
|
760
760
|
class: [
|
|
761
761
|
"btn",
|
|
762
762
|
{
|
|
@@ -764,12 +764,12 @@ const De = {
|
|
|
764
764
|
"btn-outline-primary": !e.active
|
|
765
765
|
},
|
|
766
766
|
{
|
|
767
|
-
"disabled w-auto":
|
|
767
|
+
"disabled w-auto": a.disabled || a.optionDisabled === e.option
|
|
768
768
|
}
|
|
769
769
|
]
|
|
770
770
|
})
|
|
771
771
|
}
|
|
772
|
-
},
|
|
772
|
+
}, ca = {
|
|
773
773
|
progressspinner: {
|
|
774
774
|
spinner: () => ({
|
|
775
775
|
class: [
|
|
@@ -777,7 +777,7 @@ const De = {
|
|
|
777
777
|
]
|
|
778
778
|
})
|
|
779
779
|
}
|
|
780
|
-
},
|
|
780
|
+
}, ma = {
|
|
781
781
|
card: {
|
|
782
782
|
root: () => ({
|
|
783
783
|
class: ["card"]
|
|
@@ -801,11 +801,11 @@ const De = {
|
|
|
801
801
|
class: ["card-header"]
|
|
802
802
|
})
|
|
803
803
|
}
|
|
804
|
-
},
|
|
804
|
+
}, ua = {
|
|
805
805
|
divider: {
|
|
806
806
|
root: "border-bottom w-100 m-1"
|
|
807
807
|
}
|
|
808
|
-
},
|
|
808
|
+
}, va = {
|
|
809
809
|
image: {
|
|
810
810
|
root: "position-relative d-inline-block",
|
|
811
811
|
button: "preview-button",
|
|
@@ -818,7 +818,7 @@ const De = {
|
|
|
818
818
|
zoominbutton: "btn text-white",
|
|
819
819
|
closebutton: "btn text-white"
|
|
820
820
|
}
|
|
821
|
-
},
|
|
821
|
+
}, fa = {
|
|
822
822
|
toast: {
|
|
823
823
|
message: () => ({
|
|
824
824
|
class: ["toast-container w-100 position-relative"]
|
|
@@ -842,21 +842,21 @@ const De = {
|
|
|
842
842
|
class: ["ps-1"]
|
|
843
843
|
}),
|
|
844
844
|
icon: ({ props: e }) => {
|
|
845
|
-
var
|
|
845
|
+
var a, t, i, l;
|
|
846
846
|
return {
|
|
847
847
|
class: [
|
|
848
848
|
"toast-icon",
|
|
849
849
|
{
|
|
850
|
-
"text-primary": ((
|
|
851
|
-
"text-success": ((
|
|
852
|
-
"text-danger": ((
|
|
853
|
-
"text-warning": ((
|
|
850
|
+
"text-primary": ((a = e.message) == null ? void 0 : a.severity) === "info",
|
|
851
|
+
"text-success": ((t = e.message) == null ? void 0 : t.severity) === "success",
|
|
852
|
+
"text-danger": ((i = e.message) == null ? void 0 : i.severity) === "error",
|
|
853
|
+
"text-warning": ((l = e.message) == null ? void 0 : l.severity) === "warn"
|
|
854
854
|
}
|
|
855
855
|
]
|
|
856
856
|
};
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
|
-
},
|
|
859
|
+
}, xa = {
|
|
860
860
|
fieldset: {
|
|
861
861
|
root: () => ({
|
|
862
862
|
class: [
|
|
@@ -879,38 +879,38 @@ const De = {
|
|
|
879
879
|
]
|
|
880
880
|
})
|
|
881
881
|
}
|
|
882
|
-
},
|
|
883
|
-
...
|
|
884
|
-
...De,
|
|
885
|
-
...nt,
|
|
886
|
-
...Ue,
|
|
887
|
-
...je,
|
|
882
|
+
}, zi = {
|
|
883
|
+
...sa,
|
|
888
884
|
...Ne,
|
|
889
|
-
...
|
|
890
|
-
...qe,
|
|
891
|
-
...st,
|
|
892
|
-
...Ae,
|
|
893
|
-
...it,
|
|
894
|
-
...Le,
|
|
895
|
-
...Ee,
|
|
885
|
+
...ma,
|
|
896
886
|
...Re,
|
|
897
|
-
...We,
|
|
898
887
|
...Je,
|
|
899
|
-
...
|
|
900
|
-
...
|
|
888
|
+
...We,
|
|
889
|
+
...ia,
|
|
901
890
|
...Xe,
|
|
902
|
-
...
|
|
903
|
-
...
|
|
891
|
+
...ua,
|
|
892
|
+
...He,
|
|
893
|
+
...va,
|
|
894
|
+
...Ye,
|
|
904
895
|
...Ge,
|
|
905
|
-
...Qe,
|
|
906
896
|
...Ke,
|
|
907
|
-
...
|
|
908
|
-
...
|
|
909
|
-
...
|
|
897
|
+
...ea,
|
|
898
|
+
...la,
|
|
899
|
+
...ra,
|
|
900
|
+
...Qe,
|
|
901
|
+
...oa,
|
|
902
|
+
...ca,
|
|
903
|
+
...da,
|
|
904
|
+
...aa,
|
|
905
|
+
...na,
|
|
906
|
+
...ta,
|
|
907
|
+
...fa,
|
|
908
|
+
...Ze,
|
|
909
|
+
...xa,
|
|
910
910
|
directives: {
|
|
911
|
-
...
|
|
911
|
+
...pa
|
|
912
912
|
}
|
|
913
|
-
},
|
|
913
|
+
}, re = /* @__PURE__ */ F({
|
|
914
914
|
__name: "ForgeAlert",
|
|
915
915
|
props: {
|
|
916
916
|
severity: { default: "primary" },
|
|
@@ -925,34 +925,34 @@ const De = {
|
|
|
925
925
|
unstyled: { type: Boolean }
|
|
926
926
|
},
|
|
927
927
|
setup(e) {
|
|
928
|
-
const
|
|
929
|
-
return (
|
|
930
|
-
const
|
|
931
|
-
return
|
|
928
|
+
const a = e;
|
|
929
|
+
return (t, i) => {
|
|
930
|
+
const l = Fe;
|
|
931
|
+
return p(), w(l, ie(le({ ...t.$attrs, ...a })), {
|
|
932
932
|
messageicon: g(() => [
|
|
933
933
|
m("div", {
|
|
934
|
-
class: B(
|
|
934
|
+
class: B(a.icon ? "me-2 pe-1" : "")
|
|
935
935
|
}, [
|
|
936
|
-
|
|
936
|
+
a.icon ? (p(), w(u(_), {
|
|
937
937
|
key: 0,
|
|
938
938
|
"data-cy": "message-icon",
|
|
939
|
-
icon:
|
|
940
|
-
class: B(`text-${
|
|
939
|
+
icon: a.icon,
|
|
940
|
+
class: B(`text-${a.severity}`),
|
|
941
941
|
height: 35
|
|
942
|
-
}, null, 8, ["icon", "class"])) :
|
|
942
|
+
}, null, 8, ["icon", "class"])) : C("", !0)
|
|
943
943
|
], 2)
|
|
944
944
|
]),
|
|
945
945
|
closeicon: g(() => [
|
|
946
|
-
|
|
946
|
+
f(u(_), { icon: "bi:x" })
|
|
947
947
|
]),
|
|
948
948
|
default: g(() => [
|
|
949
|
-
$(
|
|
949
|
+
$(t.$slots, "default")
|
|
950
950
|
]),
|
|
951
951
|
_: 3
|
|
952
952
|
}, 16);
|
|
953
953
|
};
|
|
954
954
|
}
|
|
955
|
-
}),
|
|
955
|
+
}), _i = /* @__PURE__ */ F({
|
|
956
956
|
__name: "ForgeActionButton",
|
|
957
957
|
props: {
|
|
958
958
|
action: {},
|
|
@@ -961,30 +961,30 @@ const De = {
|
|
|
961
961
|
params: { default: Array }
|
|
962
962
|
},
|
|
963
963
|
setup(e) {
|
|
964
|
-
const
|
|
965
|
-
|
|
964
|
+
const a = T(!1), t = e, i = async () => {
|
|
965
|
+
a.value = !0;
|
|
966
966
|
try {
|
|
967
|
-
await
|
|
968
|
-
} catch (
|
|
969
|
-
await
|
|
967
|
+
await t.action.apply(this, t.params);
|
|
968
|
+
} catch (l) {
|
|
969
|
+
await t.errorAction.apply(this, t.errorParams ? [...t.errorParams, l] : [l]);
|
|
970
970
|
}
|
|
971
|
-
|
|
971
|
+
a.value = !1;
|
|
972
972
|
};
|
|
973
|
-
return (
|
|
974
|
-
const r =
|
|
975
|
-
return
|
|
976
|
-
|
|
977
|
-
loading:
|
|
978
|
-
disabled:
|
|
979
|
-
onClick:
|
|
973
|
+
return (l, o) => {
|
|
974
|
+
const r = A;
|
|
975
|
+
return p(), x(q, null, [
|
|
976
|
+
f(r, z({ ...t, ...l.$attrs }, {
|
|
977
|
+
loading: a.value,
|
|
978
|
+
disabled: a.value || t.disabled,
|
|
979
|
+
onClick: i
|
|
980
980
|
}), null, 16, ["loading", "disabled"]),
|
|
981
|
-
|
|
981
|
+
f(u(je))
|
|
982
982
|
], 64);
|
|
983
983
|
};
|
|
984
984
|
}
|
|
985
|
-
}),
|
|
985
|
+
}), ba = { class: "d-flex flex-column" }, ga = ["for"], ya = /* @__PURE__ */ F({
|
|
986
986
|
__name: "ForgeCheckbox",
|
|
987
|
-
props: /* @__PURE__ */
|
|
987
|
+
props: /* @__PURE__ */ N({
|
|
988
988
|
label: { default: "" },
|
|
989
989
|
value: {},
|
|
990
990
|
modelValue: {},
|
|
@@ -1012,68 +1012,68 @@ const De = {
|
|
|
1012
1012
|
}),
|
|
1013
1013
|
emits: ["update:modelValue"],
|
|
1014
1014
|
setup(e) {
|
|
1015
|
-
const
|
|
1016
|
-
() =>
|
|
1015
|
+
const a = e, t = O(e, "modelValue"), { handleChange: i, errors: l, errorMessage: o } = X(
|
|
1016
|
+
() => a.name ?? "",
|
|
1017
1017
|
void 0,
|
|
1018
1018
|
{
|
|
1019
1019
|
type: "checkbox",
|
|
1020
|
-
checkedValue:
|
|
1020
|
+
checkedValue: t.value
|
|
1021
1021
|
}
|
|
1022
|
-
), r = (
|
|
1023
|
-
|
|
1024
|
-
},
|
|
1025
|
-
return (
|
|
1026
|
-
const v =
|
|
1027
|
-
return
|
|
1028
|
-
m("div",
|
|
1022
|
+
), r = (d) => {
|
|
1023
|
+
a.name ? i(d) : t.value = d;
|
|
1024
|
+
}, s = k(() => l.value.length > 0);
|
|
1025
|
+
return (d, c) => {
|
|
1026
|
+
const v = be;
|
|
1027
|
+
return p(), x("div", ba, [
|
|
1028
|
+
m("div", z({
|
|
1029
1029
|
class: "d-flex cursor-pointer",
|
|
1030
1030
|
"data-cy": "checkbox-container",
|
|
1031
|
-
onClick: c[2] || (c[2] = (
|
|
1032
|
-
}, { ...
|
|
1033
|
-
|
|
1031
|
+
onClick: c[2] || (c[2] = (n) => r(t.value))
|
|
1032
|
+
}, { ...d.$attrs }), [
|
|
1033
|
+
f(v, z({ ...a }, {
|
|
1034
1034
|
binary: "",
|
|
1035
|
-
modelValue:
|
|
1036
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
1037
|
-
"input-id":
|
|
1038
|
-
"input-class": { "is-invalid":
|
|
1035
|
+
modelValue: t.value,
|
|
1036
|
+
"onUpdate:modelValue": c[0] || (c[0] = (n) => t.value = n),
|
|
1037
|
+
"input-id": a.name,
|
|
1038
|
+
"input-class": { "is-invalid": s.value }
|
|
1039
1039
|
}), null, 16, ["modelValue", "input-id", "input-class"]),
|
|
1040
1040
|
m("label", {
|
|
1041
|
-
for:
|
|
1042
|
-
onClick: c[1] || (c[1] = (
|
|
1043
|
-
class: B([`${
|
|
1041
|
+
for: a.name,
|
|
1042
|
+
onClick: c[1] || (c[1] = (n) => r(!t.value)),
|
|
1043
|
+
class: B([`${a.disabled ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
|
|
1044
1044
|
}, [
|
|
1045
|
-
$(
|
|
1046
|
-
|
|
1045
|
+
$(d.$slots, "default", {}, () => [
|
|
1046
|
+
P(h(a.label), 1)
|
|
1047
1047
|
])
|
|
1048
|
-
], 10,
|
|
1048
|
+
], 10, ga)
|
|
1049
1049
|
], 16),
|
|
1050
1050
|
H(m("small", {
|
|
1051
1051
|
"data-cy": "error",
|
|
1052
1052
|
class: "text-invalid"
|
|
1053
|
-
}, h(
|
|
1054
|
-
[
|
|
1053
|
+
}, h(u(o)), 513), [
|
|
1054
|
+
[Y, s.value]
|
|
1055
1055
|
])
|
|
1056
1056
|
]);
|
|
1057
1057
|
};
|
|
1058
1058
|
}
|
|
1059
|
-
}),
|
|
1059
|
+
}), ha = { class: "forge-loader" }, we = /* @__PURE__ */ F({
|
|
1060
1060
|
__name: "ForgeLoader",
|
|
1061
1061
|
props: {
|
|
1062
1062
|
severity: { default: "primary" }
|
|
1063
1063
|
},
|
|
1064
1064
|
setup(e) {
|
|
1065
|
-
const
|
|
1066
|
-
return (
|
|
1067
|
-
const
|
|
1068
|
-
return
|
|
1069
|
-
|
|
1065
|
+
const a = e;
|
|
1066
|
+
return (t, i) => {
|
|
1067
|
+
const l = Ce;
|
|
1068
|
+
return p(), x("div", ha, [
|
|
1069
|
+
f(l, {
|
|
1070
1070
|
"animation-duration": ".75",
|
|
1071
|
-
class: B(`text-${
|
|
1071
|
+
class: B(`text-${a.severity === void 0 ? "primary" : a.severity}`)
|
|
1072
1072
|
}, null, 8, ["class"])
|
|
1073
1073
|
]);
|
|
1074
1074
|
};
|
|
1075
1075
|
}
|
|
1076
|
-
}),
|
|
1076
|
+
}), wa = ["href", "target"], ji = /* @__PURE__ */ F({
|
|
1077
1077
|
__name: "ForgeLink",
|
|
1078
1078
|
props: {
|
|
1079
1079
|
url: {},
|
|
@@ -1091,7 +1091,7 @@ const De = {
|
|
|
1091
1091
|
iconName: {}
|
|
1092
1092
|
},
|
|
1093
1093
|
setup(e) {
|
|
1094
|
-
const
|
|
1094
|
+
const a = k(() => ({
|
|
1095
1095
|
[`link-${e.severity}`]: e.severity,
|
|
1096
1096
|
[`link-underline-${e.underlineSeverity}`]: e.underlineSeverity,
|
|
1097
1097
|
[`link-opacity-${e.opacity}`]: e.opacity,
|
|
@@ -1100,54 +1100,54 @@ const De = {
|
|
|
1100
1100
|
[`link-underline-opacity-${e.underlineHoverOpacity ?? e.hoverOpacity}-hover`]: e.underlineHoverOpacity || e.hoverOpacity,
|
|
1101
1101
|
[`link-offset-${e.underlineOffset}`]: e.underlineOffset,
|
|
1102
1102
|
"icon-link icon-link-hover": e.animateIconOnHover
|
|
1103
|
-
})),
|
|
1103
|
+
})), t = k(() => ({
|
|
1104
1104
|
"order-2": e.positionIconEnd,
|
|
1105
1105
|
"me-1": !e.positionIconEnd && !e.animateIconOnHover,
|
|
1106
1106
|
"ms-1": e.positionIconEnd && !e.animateIconOnHover,
|
|
1107
1107
|
"ms-0": e.positionIconEnd && e.animateIconOnHover,
|
|
1108
1108
|
"me-0": e.animateIconOnHover
|
|
1109
1109
|
}));
|
|
1110
|
-
return (
|
|
1110
|
+
return (i, l) => (p(), x("a", {
|
|
1111
1111
|
id: "link",
|
|
1112
|
-
class: B(["cursor-pointer d-flex text-break",
|
|
1113
|
-
href:
|
|
1114
|
-
target:
|
|
1112
|
+
class: B(["cursor-pointer d-flex text-break", a.value]),
|
|
1113
|
+
href: i.url,
|
|
1114
|
+
target: i.target
|
|
1115
1115
|
}, [
|
|
1116
|
-
$(
|
|
1117
|
-
|
|
1116
|
+
$(i.$slots, "default", {}, () => [
|
|
1117
|
+
i.iconName ? (p(), w(u(_), {
|
|
1118
1118
|
key: 0,
|
|
1119
1119
|
id: "link-icon",
|
|
1120
|
-
icon:
|
|
1121
|
-
class: B(["bi my-auto",
|
|
1122
|
-
}, null, 8, ["icon", "class"])) :
|
|
1123
|
-
|
|
1120
|
+
icon: i.iconName,
|
|
1121
|
+
class: B(["bi my-auto", t.value])
|
|
1122
|
+
}, null, 8, ["icon", "class"])) : C("", !0),
|
|
1123
|
+
P(" " + h(i.label), 1)
|
|
1124
1124
|
])
|
|
1125
|
-
], 10,
|
|
1125
|
+
], 10, wa));
|
|
1126
1126
|
}
|
|
1127
1127
|
});
|
|
1128
|
-
function
|
|
1129
|
-
const
|
|
1128
|
+
function ka(e) {
|
|
1129
|
+
const a = {
|
|
1130
1130
|
errorMessage: "",
|
|
1131
1131
|
errorDetails: []
|
|
1132
1132
|
};
|
|
1133
|
-
if (e.exception && (
|
|
1134
|
-
const
|
|
1135
|
-
|
|
1133
|
+
if (e.exception && (a.errorMessage = e.exception), e.message && (Array.isArray(e.message) ? a.errorDetails = e.message : a.errorMessage = e.message), e.response) {
|
|
1134
|
+
const t = JSON.parse(e.response);
|
|
1135
|
+
t.errors && (a.errorDetails = Object.values(t.errors).flat()), t.message && (a.errorDetails = t.message);
|
|
1136
1136
|
}
|
|
1137
|
-
return
|
|
1137
|
+
return a.errorMessage === "" && a.errorDetails.length === 0 && (a.errorMessage = e), a;
|
|
1138
1138
|
}
|
|
1139
|
-
function
|
|
1140
|
-
return e.map((
|
|
1139
|
+
function Ci(e, a) {
|
|
1140
|
+
return e.map((t) => ({ id: t, label: a ? a(t) : `${t}` }));
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1143
|
-
return { id: e, label:
|
|
1142
|
+
function Si(e, a, t) {
|
|
1143
|
+
return { id: e, label: a ?? e.toString(), shortLabel: t };
|
|
1144
1144
|
}
|
|
1145
|
-
const
|
|
1145
|
+
const $a = { key: 0 }, Ba = {
|
|
1146
1146
|
class: "d-flex w-100",
|
|
1147
1147
|
"data-cy": "footer"
|
|
1148
|
-
},
|
|
1148
|
+
}, Vi = /* @__PURE__ */ F({
|
|
1149
1149
|
__name: "ForgeModal",
|
|
1150
|
-
props: /* @__PURE__ */
|
|
1150
|
+
props: /* @__PURE__ */ N({
|
|
1151
1151
|
cancelText: { default: "Cancel" },
|
|
1152
1152
|
submitText: { default: "Submit" },
|
|
1153
1153
|
showFooter: { type: Boolean, default: !0 },
|
|
@@ -1191,108 +1191,108 @@ const bt = { key: 0 }, ft = {
|
|
|
1191
1191
|
}),
|
|
1192
1192
|
emits: ["update:visible"],
|
|
1193
1193
|
setup(e) {
|
|
1194
|
-
const
|
|
1194
|
+
const a = O(e, "visible"), t = T(!1), i = e, l = T(!1), o = T({
|
|
1195
1195
|
hasError: !1,
|
|
1196
1196
|
header: "",
|
|
1197
1197
|
message: []
|
|
1198
1198
|
}), r = () => {
|
|
1199
|
-
l.value = !1;
|
|
1200
|
-
}, d = () => {
|
|
1201
|
-
l.value = !0;
|
|
1202
|
-
}, u = () => {
|
|
1203
1199
|
t.value = !1;
|
|
1200
|
+
}, s = () => {
|
|
1201
|
+
t.value = !0;
|
|
1202
|
+
}, d = () => {
|
|
1203
|
+
a.value = !1;
|
|
1204
1204
|
}, c = async () => {
|
|
1205
|
-
if (
|
|
1206
|
-
|
|
1205
|
+
if (i.onConfirm) {
|
|
1206
|
+
l.value = !0, o.value.hasError = !1;
|
|
1207
1207
|
try {
|
|
1208
|
-
const
|
|
1209
|
-
(
|
|
1210
|
-
} catch (
|
|
1211
|
-
|
|
1212
|
-
const
|
|
1213
|
-
|
|
1208
|
+
const n = await i.onConfirm();
|
|
1209
|
+
(n || n == null) && d();
|
|
1210
|
+
} catch (n) {
|
|
1211
|
+
o.value.hasError = !0;
|
|
1212
|
+
const j = ka(n);
|
|
1213
|
+
o.value.header = j.errorMessage, o.value.message = j.errorDetails;
|
|
1214
1214
|
}
|
|
1215
|
-
|
|
1215
|
+
l.value = !1;
|
|
1216
1216
|
}
|
|
1217
1217
|
}, v = k(() => ({
|
|
1218
1218
|
root: [
|
|
1219
1219
|
"modal modal-dialog modal-content h-auto m-0",
|
|
1220
1220
|
{
|
|
1221
|
-
"mw-100 vh-100 vw-100 top-0 start-0":
|
|
1222
|
-
"modal-sm":
|
|
1223
|
-
"modal-lg":
|
|
1224
|
-
"modal-xl":
|
|
1221
|
+
"mw-100 vh-100 vw-100 top-0 start-0": t.value,
|
|
1222
|
+
"modal-sm": i.size === "sm",
|
|
1223
|
+
"modal-lg": i.size === "lg",
|
|
1224
|
+
"modal-xl": i.size === "xl"
|
|
1225
1225
|
}
|
|
1226
1226
|
]
|
|
1227
1227
|
}));
|
|
1228
|
-
return (
|
|
1229
|
-
const S =
|
|
1230
|
-
return
|
|
1231
|
-
onMaximize:
|
|
1228
|
+
return (n, j) => {
|
|
1229
|
+
const S = A, V = Se;
|
|
1230
|
+
return p(), w(V, z(i, {
|
|
1231
|
+
onMaximize: s,
|
|
1232
1232
|
onUnmaximize: r,
|
|
1233
1233
|
pt: v.value
|
|
1234
|
-
}),
|
|
1234
|
+
}), oe({
|
|
1235
1235
|
closeicon: g(() => [
|
|
1236
|
-
|
|
1236
|
+
f(u(_), {
|
|
1237
1237
|
"data-cy": "close-icon",
|
|
1238
1238
|
icon: "bi:x-lg",
|
|
1239
1239
|
width: "18",
|
|
1240
1240
|
height: "18",
|
|
1241
|
-
onClick:
|
|
1241
|
+
onClick: d
|
|
1242
1242
|
})
|
|
1243
1243
|
]),
|
|
1244
1244
|
maximizeicon: g(() => [
|
|
1245
|
-
|
|
1245
|
+
f(u(_), {
|
|
1246
1246
|
"data-cy": "maximisable-icon",
|
|
1247
|
-
icon:
|
|
1247
|
+
icon: t.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
|
|
1248
1248
|
width: "16",
|
|
1249
1249
|
height: "16"
|
|
1250
1250
|
}, null, 8, ["icon"])
|
|
1251
1251
|
]),
|
|
1252
1252
|
_: 2
|
|
1253
1253
|
}, [
|
|
1254
|
-
|
|
1255
|
-
name:
|
|
1256
|
-
fn: g((
|
|
1257
|
-
|
|
1254
|
+
W(n.$slots, (D, M) => ({
|
|
1255
|
+
name: M,
|
|
1256
|
+
fn: g((b) => [
|
|
1257
|
+
o.value.hasError ? (p(), w(re, {
|
|
1258
1258
|
key: 0,
|
|
1259
1259
|
severity: "danger",
|
|
1260
1260
|
"data-cy": "error"
|
|
1261
1261
|
}, {
|
|
1262
1262
|
default: g(() => [
|
|
1263
1263
|
m("p", {
|
|
1264
|
-
class: B(
|
|
1265
|
-
}, h(
|
|
1266
|
-
|
|
1267
|
-
(
|
|
1268
|
-
])) :
|
|
1264
|
+
class: B(o.value.message.length > 0 ? "my-auto" : "mb-0")
|
|
1265
|
+
}, h(o.value.header), 3),
|
|
1266
|
+
o.value.message.length > 0 ? (p(), x("ul", $a, [
|
|
1267
|
+
(p(!0), x(q, null, W(o.value.message, (y) => (p(), x("li", { key: y }, h(y), 1))), 128))
|
|
1268
|
+
])) : C("", !0)
|
|
1269
1269
|
]),
|
|
1270
1270
|
_: 1
|
|
1271
|
-
})) :
|
|
1272
|
-
$(
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
]) :
|
|
1271
|
+
})) : C("", !0),
|
|
1272
|
+
$(n.$slots, M, ie(le(b || {}))),
|
|
1273
|
+
l.value ? $(n.$slots, "loader", { key: 1 }, () => [
|
|
1274
|
+
f(we, { "data-cy": "loader" })
|
|
1275
|
+
]) : C("", !0)
|
|
1276
1276
|
])
|
|
1277
1277
|
})),
|
|
1278
|
-
|
|
1278
|
+
n.showFooter ? {
|
|
1279
1279
|
name: "footer",
|
|
1280
1280
|
fn: g(() => [
|
|
1281
|
-
m("div",
|
|
1282
|
-
|
|
1283
|
-
label:
|
|
1284
|
-
class: B(
|
|
1281
|
+
m("div", Ba, [
|
|
1282
|
+
f(S, {
|
|
1283
|
+
label: n.cancelText,
|
|
1284
|
+
class: B(i.cancelClass),
|
|
1285
1285
|
outlined: "",
|
|
1286
|
-
onClick:
|
|
1286
|
+
onClick: d,
|
|
1287
1287
|
id: "cancel-button",
|
|
1288
|
-
type:
|
|
1288
|
+
type: i.cancelButtonType
|
|
1289
1289
|
}, null, 8, ["label", "class", "type"]),
|
|
1290
|
-
|
|
1291
|
-
label:
|
|
1292
|
-
class: B([
|
|
1290
|
+
f(S, {
|
|
1291
|
+
label: n.submitText,
|
|
1292
|
+
class: B([i.submitClass, "ms-auto"]),
|
|
1293
1293
|
onClick: c,
|
|
1294
1294
|
id: "submit-button",
|
|
1295
|
-
type:
|
|
1295
|
+
type: i.submitButtonType
|
|
1296
1296
|
}, null, 8, ["label", "class", "type"])
|
|
1297
1297
|
])
|
|
1298
1298
|
]),
|
|
@@ -1301,9 +1301,9 @@ const bt = { key: 0 }, ft = {
|
|
|
1301
1301
|
]), 1040, ["pt"]);
|
|
1302
1302
|
};
|
|
1303
1303
|
}
|
|
1304
|
-
}),
|
|
1304
|
+
}), Fa = ["id"], za = { key: 0 }, _a = { key: 0 }, ja = { class: "d-flex justify-content-between align-items-center position-relative" }, Ca = { key: 1 }, Sa = { "data-cy": "readonly-value" }, Va = /* @__PURE__ */ F({
|
|
1305
1305
|
__name: "ForgeInlineEditor",
|
|
1306
|
-
props: /* @__PURE__ */
|
|
1306
|
+
props: /* @__PURE__ */ N({
|
|
1307
1307
|
name: { default: "" },
|
|
1308
1308
|
completeAction: {},
|
|
1309
1309
|
errorAction: {},
|
|
@@ -1316,95 +1316,95 @@ const bt = { key: 0 }, ft = {
|
|
|
1316
1316
|
}),
|
|
1317
1317
|
emits: ["update:modelValue"],
|
|
1318
1318
|
setup(e) {
|
|
1319
|
-
const
|
|
1319
|
+
const a = e, t = O(e, "modelValue"), i = T(!1), l = T(), o = () => {
|
|
1320
1320
|
var S;
|
|
1321
|
-
|
|
1321
|
+
i.value = !i.value, (S = l.value) == null || S.focus();
|
|
1322
1322
|
}, r = async () => {
|
|
1323
|
-
if (
|
|
1323
|
+
if (j.value)
|
|
1324
1324
|
return !1;
|
|
1325
|
-
if (
|
|
1325
|
+
if (t.value = n.value, a.completeAction)
|
|
1326
1326
|
try {
|
|
1327
|
-
await
|
|
1327
|
+
await a.completeAction.apply(this, a.params), i.value = !i.value;
|
|
1328
1328
|
} catch {
|
|
1329
|
-
|
|
1329
|
+
a.errorAction && await a.errorAction.apply(this, a.errorParams);
|
|
1330
1330
|
}
|
|
1331
1331
|
else
|
|
1332
|
-
|
|
1332
|
+
i.value = !i.value;
|
|
1333
|
+
}, s = () => {
|
|
1334
|
+
i.value = !i.value;
|
|
1333
1335
|
}, d = () => {
|
|
1334
|
-
|
|
1335
|
-
},
|
|
1336
|
-
|
|
1337
|
-
}, { errorMessage: c, errors: v, value: s } = G(() => t.name, void 0, {
|
|
1338
|
-
initialValue: l.value
|
|
1336
|
+
n.value = null;
|
|
1337
|
+
}, { errorMessage: c, errors: v, value: n } = X(() => a.name, void 0, {
|
|
1338
|
+
initialValue: t.value
|
|
1339
1339
|
});
|
|
1340
|
-
|
|
1341
|
-
|
|
1340
|
+
ne(() => {
|
|
1341
|
+
n.value = t.value;
|
|
1342
1342
|
});
|
|
1343
|
-
const
|
|
1344
|
-
return (S,
|
|
1345
|
-
const
|
|
1346
|
-
return
|
|
1347
|
-
id:
|
|
1343
|
+
const j = k(() => v.value.length > 0);
|
|
1344
|
+
return (S, V) => {
|
|
1345
|
+
const D = ce, M = A;
|
|
1346
|
+
return p(), x("div", {
|
|
1347
|
+
id: a.name
|
|
1348
1348
|
}, [
|
|
1349
|
-
S.readonly ? (
|
|
1349
|
+
S.readonly ? (p(), x("div", Ca, [
|
|
1350
1350
|
$(S.$slots, "default", {}, () => [
|
|
1351
|
-
m("span",
|
|
1351
|
+
m("span", Sa, h(u(n)), 1)
|
|
1352
1352
|
])
|
|
1353
|
-
])) : (
|
|
1354
|
-
|
|
1355
|
-
H((
|
|
1353
|
+
])) : (p(), x("div", za, [
|
|
1354
|
+
i.value ? (p(), x("div", _a, [
|
|
1355
|
+
H((p(), x("div", ja, [
|
|
1356
1356
|
$(S.$slots, "editor", {
|
|
1357
|
-
class: B({ "is-invalid":
|
|
1357
|
+
class: B({ "is-invalid": j.value }),
|
|
1358
1358
|
editFinished: r,
|
|
1359
|
-
cancel:
|
|
1360
|
-
val:
|
|
1359
|
+
cancel: s,
|
|
1360
|
+
val: u(n)
|
|
1361
1361
|
}, () => [
|
|
1362
|
-
|
|
1362
|
+
f(D, {
|
|
1363
1363
|
"data-cy": "input",
|
|
1364
1364
|
ref_key: "input",
|
|
1365
|
-
ref:
|
|
1366
|
-
modelValue:
|
|
1367
|
-
"onUpdate:modelValue":
|
|
1365
|
+
ref: l,
|
|
1366
|
+
modelValue: u(n),
|
|
1367
|
+
"onUpdate:modelValue": V[0] || (V[0] = (b) => de(n) ? n.value = b : null),
|
|
1368
1368
|
modelModifiers: { trim: !0 },
|
|
1369
|
-
class: B({ "is-invalid":
|
|
1369
|
+
class: B({ "is-invalid": j.value }),
|
|
1370
1370
|
onKeydown: [
|
|
1371
|
-
|
|
1372
|
-
|
|
1371
|
+
ae(r, ["enter"]),
|
|
1372
|
+
ae(s, ["esc"])
|
|
1373
1373
|
]
|
|
1374
1374
|
}, null, 8, ["modelValue", "class"])
|
|
1375
1375
|
]),
|
|
1376
|
-
|
|
1376
|
+
f(u(_), {
|
|
1377
1377
|
icon: "bi:x-circle",
|
|
1378
1378
|
class: "mx-2 cursor-pointer",
|
|
1379
|
-
onClick:
|
|
1380
|
-
onKeydown:
|
|
1379
|
+
onClick: d,
|
|
1380
|
+
onKeydown: ae(d, ["enter"]),
|
|
1381
1381
|
"data-cy": "clear-icon"
|
|
1382
1382
|
})
|
|
1383
1383
|
])), [
|
|
1384
|
-
[
|
|
1384
|
+
[u(Ve), r]
|
|
1385
1385
|
])
|
|
1386
|
-
])) : (
|
|
1386
|
+
])) : (p(), x("div", {
|
|
1387
1387
|
key: 1,
|
|
1388
1388
|
class: "d-flex text-muted",
|
|
1389
|
-
onClick:
|
|
1390
|
-
onFocus:
|
|
1389
|
+
onClick: o,
|
|
1390
|
+
onFocus: o
|
|
1391
1391
|
}, [
|
|
1392
1392
|
$(S.$slots, "default", {}, () => [
|
|
1393
1393
|
m("div", {
|
|
1394
|
-
class: B(["pe-2 cursor-pointer", { "text-invalid":
|
|
1394
|
+
class: B(["pe-2 cursor-pointer", { "text-invalid": j.value }]),
|
|
1395
1395
|
"data-cy": "value"
|
|
1396
|
-
}, h(
|
|
1396
|
+
}, h(u(n) ? u(n) : "Click to edit"), 3)
|
|
1397
1397
|
]),
|
|
1398
|
-
|
|
1398
|
+
f(M, {
|
|
1399
1399
|
link: "",
|
|
1400
1400
|
class: "p-0 m-0"
|
|
1401
1401
|
}, {
|
|
1402
1402
|
default: g(() => [
|
|
1403
|
-
|
|
1403
|
+
f(u(_), {
|
|
1404
1404
|
icon: "bi:pencil",
|
|
1405
|
-
class: B(
|
|
1405
|
+
class: B(j.value ? "text-invalid" : "text-muted"),
|
|
1406
1406
|
"data-cy": "edit-icon",
|
|
1407
|
-
onKeydown:
|
|
1407
|
+
onKeydown: ae(o, ["enter"])
|
|
1408
1408
|
}, null, 8, ["class"])
|
|
1409
1409
|
]),
|
|
1410
1410
|
_: 1
|
|
@@ -1414,13 +1414,13 @@ const bt = { key: 0 }, ft = {
|
|
|
1414
1414
|
H(m("small", {
|
|
1415
1415
|
"data-cy": "error",
|
|
1416
1416
|
class: "text-invalid"
|
|
1417
|
-
}, h(
|
|
1418
|
-
[
|
|
1417
|
+
}, h(u(c)), 513), [
|
|
1418
|
+
[Y, j.value]
|
|
1419
1419
|
])
|
|
1420
|
-
], 8,
|
|
1420
|
+
], 8, Fa);
|
|
1421
1421
|
};
|
|
1422
1422
|
}
|
|
1423
|
-
}),
|
|
1423
|
+
}), Ta = ["href"], Ti = /* @__PURE__ */ F({
|
|
1424
1424
|
__name: "ForgeNavbar",
|
|
1425
1425
|
props: {
|
|
1426
1426
|
severity: { default: "light" },
|
|
@@ -1437,55 +1437,55 @@ const bt = { key: 0 }, ft = {
|
|
|
1437
1437
|
unstyled: { type: Boolean }
|
|
1438
1438
|
},
|
|
1439
1439
|
setup(e) {
|
|
1440
|
-
const
|
|
1440
|
+
const a = e, t = k(() => ({
|
|
1441
1441
|
root: () => ({
|
|
1442
1442
|
class: [
|
|
1443
1443
|
"navbar container-fluid navbar-expand-lg",
|
|
1444
1444
|
{
|
|
1445
|
-
"bg-light":
|
|
1446
|
-
"bg-dark":
|
|
1447
|
-
"bg-primary":
|
|
1448
|
-
"bg-brand":
|
|
1449
|
-
"bg-secondary":
|
|
1450
|
-
"bg-success":
|
|
1451
|
-
"bg-warning":
|
|
1452
|
-
"bg-danger":
|
|
1453
|
-
"bg-info":
|
|
1445
|
+
"bg-light": a.severity === "light",
|
|
1446
|
+
"bg-dark": a.severity === "dark",
|
|
1447
|
+
"bg-primary": a.severity === "primary",
|
|
1448
|
+
"bg-brand": a.severity === "brand",
|
|
1449
|
+
"bg-secondary": a.severity === "secondary",
|
|
1450
|
+
"bg-success": a.severity === "success",
|
|
1451
|
+
"bg-warning": a.severity === "warning",
|
|
1452
|
+
"bg-danger": a.severity === "danger",
|
|
1453
|
+
"bg-info": a.severity === "info"
|
|
1454
1454
|
},
|
|
1455
1455
|
{
|
|
1456
|
-
"navbar-light":
|
|
1457
|
-
"navbar-dark":
|
|
1456
|
+
"navbar-light": a.severity === "light",
|
|
1457
|
+
"navbar-dark": a.severity !== "light"
|
|
1458
1458
|
},
|
|
1459
1459
|
{
|
|
1460
|
-
"fixed-top":
|
|
1461
|
-
"fixed-bottom":
|
|
1462
|
-
"sticky-top":
|
|
1460
|
+
"fixed-top": a.position === "fixed-top",
|
|
1461
|
+
"fixed-bottom": a.position === "fixed-bottom",
|
|
1462
|
+
"sticky-top": a.position === "sticky-top"
|
|
1463
1463
|
}
|
|
1464
1464
|
]
|
|
1465
1465
|
})
|
|
1466
1466
|
}));
|
|
1467
|
-
return (
|
|
1468
|
-
const
|
|
1469
|
-
return
|
|
1470
|
-
pt:
|
|
1467
|
+
return (i, l) => {
|
|
1468
|
+
const o = Te;
|
|
1469
|
+
return p(), w(o, z({ ...a, ...i.$attrs }, {
|
|
1470
|
+
pt: t.value,
|
|
1471
1471
|
"data-cy": "navbar"
|
|
1472
|
-
}),
|
|
1472
|
+
}), oe({
|
|
1473
1473
|
start: g(() => [
|
|
1474
1474
|
m("a", {
|
|
1475
|
-
href:
|
|
1475
|
+
href: i.logoUrl,
|
|
1476
1476
|
class: "navbar-brand ms-3",
|
|
1477
1477
|
"data-cy": "logo"
|
|
1478
1478
|
}, [
|
|
1479
|
-
$(
|
|
1480
|
-
|
|
1479
|
+
$(i.$slots, "logo", {}, () => [
|
|
1480
|
+
l[0] || (l[0] = P(" Logo "))
|
|
1481
1481
|
])
|
|
1482
|
-
], 8,
|
|
1482
|
+
], 8, Ta)
|
|
1483
1483
|
]),
|
|
1484
1484
|
menubuttonicon: g(() => [
|
|
1485
|
-
$(
|
|
1486
|
-
|
|
1485
|
+
$(i.$slots, "menubuttonicon", {}, () => [
|
|
1486
|
+
f(u(_), {
|
|
1487
1487
|
icon: "bi:list",
|
|
1488
|
-
class: B(
|
|
1488
|
+
class: B(a.severity === "light" ? "text-black" : "text-white"),
|
|
1489
1489
|
height: "24",
|
|
1490
1490
|
"data-cy": "burger-icon"
|
|
1491
1491
|
}, null, 8, ["class"])
|
|
@@ -1493,16 +1493,16 @@ const bt = { key: 0 }, ft = {
|
|
|
1493
1493
|
]),
|
|
1494
1494
|
_: 2
|
|
1495
1495
|
}, [
|
|
1496
|
-
|
|
1497
|
-
name:
|
|
1498
|
-
fn: g((
|
|
1499
|
-
$(
|
|
1496
|
+
W(i.$slots, (r, s) => ({
|
|
1497
|
+
name: s,
|
|
1498
|
+
fn: g((d) => [
|
|
1499
|
+
$(i.$slots, s, ie(le(d)))
|
|
1500
1500
|
])
|
|
1501
1501
|
}))
|
|
1502
1502
|
]), 1040, ["pt"]);
|
|
1503
1503
|
};
|
|
1504
1504
|
}
|
|
1505
|
-
}),
|
|
1505
|
+
}), Ma = { class: "multiselect__caret" }, Pa = ["checked"], Ia = ["data-cy"], Oa = ["checked"], Da = { class: "my-auto ms-1" }, Ua = { class: "multiselect__tag d-inline-flex" }, qa = { class: "my-auto" }, Mi = /* @__PURE__ */ F({
|
|
1506
1506
|
__name: "ForgeMultiSelect",
|
|
1507
1507
|
props: {
|
|
1508
1508
|
severity: { default: "primary" },
|
|
@@ -1513,77 +1513,77 @@ const bt = { key: 0 }, ft = {
|
|
|
1513
1513
|
name: { default: "" }
|
|
1514
1514
|
},
|
|
1515
1515
|
emits: ["update:modelValue"],
|
|
1516
|
-
setup(e, { emit:
|
|
1517
|
-
const
|
|
1518
|
-
const
|
|
1519
|
-
...
|
|
1520
|
-
$isDisabled:
|
|
1516
|
+
setup(e, { emit: a }) {
|
|
1517
|
+
const t = e, i = (E, I) => {
|
|
1518
|
+
const U = {
|
|
1519
|
+
...I,
|
|
1520
|
+
$isDisabled: I.$isDisabled ?? !1
|
|
1521
1521
|
};
|
|
1522
|
-
E(
|
|
1523
|
-
},
|
|
1524
|
-
initialValue:
|
|
1525
|
-
}), c =
|
|
1522
|
+
E(U);
|
|
1523
|
+
}, l = ze(), o = a, { errors: r, value: s, errorMessage: d } = X(() => t.name, void 0, {
|
|
1524
|
+
initialValue: l.modelValue
|
|
1525
|
+
}), c = T(!1), v = k(() => ({
|
|
1526
1526
|
multiple: !0,
|
|
1527
1527
|
label: "label",
|
|
1528
1528
|
trackBy: "id",
|
|
1529
1529
|
showPointer: !c.value,
|
|
1530
|
-
placeholder:
|
|
1530
|
+
placeholder: l.searchable === null || l.searchable ? "Search" : "Select",
|
|
1531
1531
|
allowEmpty: !0,
|
|
1532
1532
|
selectValue: "",
|
|
1533
|
-
closeOnSelect: !!(
|
|
1534
|
-
clearOnSelect: !!(
|
|
1535
|
-
searchable: !!(
|
|
1533
|
+
closeOnSelect: !!(l.multiple === null || l.multiple),
|
|
1534
|
+
clearOnSelect: !!(l.multiple === null || l.multiple),
|
|
1535
|
+
searchable: !!(l.searchable === null || l.searchable) && l.modelValue.length === l.options.length,
|
|
1536
1536
|
async: !1,
|
|
1537
|
-
...
|
|
1538
|
-
})),
|
|
1539
|
-
|
|
1540
|
-
},
|
|
1541
|
-
|
|
1542
|
-
}, Z = (E) =>
|
|
1543
|
-
S.value ?
|
|
1537
|
+
...l
|
|
1538
|
+
})), n = k(() => `forge-multiselect-${t.severity}`), j = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${S.value ? " multiselect__option--selected" : ""}`), S = k(() => v.value && !(v.value.multiple || !t.showSelectAll || v.value.async) ? !1 : l.modelValue.length === l.options.length), V = k(() => r.value.length > 0), D = k(() => !!((l.allowEmpty == null || l.allowEmpty) && t.showClearSelection && (v.value.multiple ? l.modelValue.length > 0 : l.modelValue))), M = () => c.value = !0, b = () => c.value = !1, y = () => {
|
|
1539
|
+
s.value = v.value.multiple ? [] : null, o("update:modelValue", s.value);
|
|
1540
|
+
}, R = (E) => {
|
|
1541
|
+
o("update:modelValue", t.selectValue ? E.map((I) => I[t.selectValue]) : E);
|
|
1542
|
+
}, Z = (E) => l.modelValue !== null ? l.modelValue.some((I) => v.value.selectValue ? E[t.selectValue] === I : E.id === I.id && E.label === I.label) : !1, pe = () => {
|
|
1543
|
+
S.value ? y() : (s.value = [...l.options], o("update:modelValue", [...l.options]));
|
|
1544
1544
|
};
|
|
1545
|
-
return (E,
|
|
1546
|
-
|
|
1547
|
-
class: [
|
|
1545
|
+
return (E, I) => (p(), x(q, null, [
|
|
1546
|
+
f(u(Me), z(v.value, {
|
|
1547
|
+
class: [n.value, V.value ? "is-invalid" : ""],
|
|
1548
1548
|
"data-cy": "multiselect",
|
|
1549
1549
|
"onUpdate:modelValue": [
|
|
1550
|
-
|
|
1551
|
-
|
|
1550
|
+
R,
|
|
1551
|
+
I[1] || (I[1] = (U) => de(s) ? s.value = U : null)
|
|
1552
1552
|
],
|
|
1553
|
-
modelValue:
|
|
1554
|
-
}),
|
|
1555
|
-
caret: g(({ toggle:
|
|
1556
|
-
m("div",
|
|
1557
|
-
|
|
1553
|
+
modelValue: u(s)
|
|
1554
|
+
}), oe({
|
|
1555
|
+
caret: g(({ toggle: U }) => [
|
|
1556
|
+
m("div", Ma, [
|
|
1557
|
+
D.value ? (p(), w(u(_), {
|
|
1558
1558
|
key: 0,
|
|
1559
1559
|
icon: "bi:x",
|
|
1560
1560
|
class: "my-auto text-black multiselect__clear",
|
|
1561
|
-
onMousedown:
|
|
1561
|
+
onMousedown: I[0] || (I[0] = G((Q) => y(), ["prevent", "stop"])),
|
|
1562
1562
|
"data-cy": "clear",
|
|
1563
1563
|
height: "18px",
|
|
1564
1564
|
width: "18px"
|
|
1565
|
-
})) :
|
|
1566
|
-
|
|
1565
|
+
})) : C("", !0),
|
|
1566
|
+
f(u(_), {
|
|
1567
1567
|
icon: "bi:chevron-down",
|
|
1568
|
-
onClick:
|
|
1568
|
+
onClick: U,
|
|
1569
1569
|
class: "multiselect__arrow"
|
|
1570
1570
|
}, null, 8, ["onClick"])
|
|
1571
1571
|
])
|
|
1572
1572
|
]),
|
|
1573
|
-
tag: g(({ option:
|
|
1574
|
-
m("div",
|
|
1575
|
-
m("div",
|
|
1576
|
-
|
|
1573
|
+
tag: g(({ option: U, remove: Q }) => [
|
|
1574
|
+
m("div", Ua, [
|
|
1575
|
+
m("div", qa, h(U.label), 1),
|
|
1576
|
+
f(u(_), {
|
|
1577
1577
|
icon: "bi:x",
|
|
1578
1578
|
class: "my-auto multiselect__tag-icon",
|
|
1579
|
-
onMousedown:
|
|
1579
|
+
onMousedown: G((Xt) => i(Q, U), ["prevent", "stop"]),
|
|
1580
1580
|
height: "18px",
|
|
1581
1581
|
width: "18px"
|
|
1582
1582
|
}, null, 8, ["onMousedown"])
|
|
1583
1583
|
])
|
|
1584
1584
|
]),
|
|
1585
1585
|
default: g(() => [
|
|
1586
|
-
(
|
|
1586
|
+
(p(!0), x(q, null, W(E.$slots, (U, Q) => $(E.$slots, Q, { slot: Q })), 256))
|
|
1587
1587
|
]),
|
|
1588
1588
|
_: 2
|
|
1589
1589
|
}, [
|
|
@@ -1592,21 +1592,21 @@ const bt = { key: 0 }, ft = {
|
|
|
1592
1592
|
fn: g(() => [
|
|
1593
1593
|
m("li", {
|
|
1594
1594
|
class: "multiselect__element",
|
|
1595
|
-
onClick:
|
|
1596
|
-
onMouseover:
|
|
1597
|
-
onMouseleave:
|
|
1595
|
+
onClick: pe,
|
|
1596
|
+
onMouseover: M,
|
|
1597
|
+
onMouseleave: b,
|
|
1598
1598
|
"data-cy": "toggle-all"
|
|
1599
1599
|
}, [
|
|
1600
1600
|
m("div", {
|
|
1601
|
-
class: B(["d-flex py-1",
|
|
1601
|
+
class: B(["d-flex py-1", j.value])
|
|
1602
1602
|
}, [
|
|
1603
1603
|
m("input", {
|
|
1604
1604
|
checked: S.value,
|
|
1605
1605
|
name: "selected",
|
|
1606
1606
|
type: "checkbox",
|
|
1607
1607
|
class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
|
|
1608
|
-
}, null, 8,
|
|
1609
|
-
|
|
1608
|
+
}, null, 8, Pa),
|
|
1609
|
+
I[2] || (I[2] = m("div", { class: "my-auto ms-1" }, "Toggle all", -1))
|
|
1610
1610
|
], 2)
|
|
1611
1611
|
], 32)
|
|
1612
1612
|
]),
|
|
@@ -1614,19 +1614,19 @@ const bt = { key: 0 }, ft = {
|
|
|
1614
1614
|
} : void 0,
|
|
1615
1615
|
v.value.multiple ? {
|
|
1616
1616
|
name: "option",
|
|
1617
|
-
fn: g(({ option:
|
|
1617
|
+
fn: g(({ option: U }) => [
|
|
1618
1618
|
m("div", {
|
|
1619
1619
|
class: "d-flex py-1",
|
|
1620
|
-
"data-cy":
|
|
1620
|
+
"data-cy": U.label
|
|
1621
1621
|
}, [
|
|
1622
1622
|
m("input", {
|
|
1623
|
-
checked: Z(
|
|
1623
|
+
checked: Z(U),
|
|
1624
1624
|
name: "selected",
|
|
1625
1625
|
type: "checkbox",
|
|
1626
1626
|
class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
|
|
1627
|
-
}, null, 8,
|
|
1628
|
-
m("div",
|
|
1629
|
-
], 8,
|
|
1627
|
+
}, null, 8, Oa),
|
|
1628
|
+
m("div", Da, h(U[v.value.label]), 1)
|
|
1629
|
+
], 8, Ia)
|
|
1630
1630
|
]),
|
|
1631
1631
|
key: "1"
|
|
1632
1632
|
} : void 0
|
|
@@ -1634,21 +1634,21 @@ const bt = { key: 0 }, ft = {
|
|
|
1634
1634
|
H(m("small", {
|
|
1635
1635
|
"data-cy": "error",
|
|
1636
1636
|
class: "invalid-feedback"
|
|
1637
|
-
}, h(
|
|
1638
|
-
[
|
|
1637
|
+
}, h(u(d)), 513), [
|
|
1638
|
+
[Y, V.value]
|
|
1639
1639
|
])
|
|
1640
1640
|
], 64));
|
|
1641
1641
|
}
|
|
1642
|
-
}),
|
|
1642
|
+
}), Aa = { class: "border alternating-item-list" }, Ea = {
|
|
1643
1643
|
key: 0,
|
|
1644
1644
|
class: "p-2 border-top border-bottom",
|
|
1645
1645
|
"data-cy": "title"
|
|
1646
|
-
},
|
|
1646
|
+
}, La = { class: "d-inline-block" }, Na = {
|
|
1647
1647
|
key: 1,
|
|
1648
1648
|
class: "p-2 item d-flex justify-content-between align-items-center"
|
|
1649
|
-
},
|
|
1649
|
+
}, Pi = /* @__PURE__ */ F({
|
|
1650
1650
|
__name: "ForgeMultiSelectPreview",
|
|
1651
|
-
props: /* @__PURE__ */
|
|
1651
|
+
props: /* @__PURE__ */ N({
|
|
1652
1652
|
title: { default: "Selected Items" },
|
|
1653
1653
|
orientation: { default: "row" },
|
|
1654
1654
|
height: { default: "200px" },
|
|
@@ -1662,99 +1662,98 @@ const bt = { key: 0 }, ft = {
|
|
|
1662
1662
|
}),
|
|
1663
1663
|
emits: ["update:modelValue"],
|
|
1664
1664
|
setup(e) {
|
|
1665
|
-
const
|
|
1666
|
-
|
|
1665
|
+
const a = e, t = O(e, "modelValue"), i = (l) => {
|
|
1666
|
+
t.value = t.value.filter((o) => o.id !== l);
|
|
1667
1667
|
};
|
|
1668
|
-
return (
|
|
1669
|
-
const r =
|
|
1670
|
-
return
|
|
1671
|
-
class: B(
|
|
1668
|
+
return (l, o) => {
|
|
1669
|
+
const r = me, s = A;
|
|
1670
|
+
return p(), x("div", {
|
|
1671
|
+
class: B(l.orientation === "column" ? "row" : ""),
|
|
1672
1672
|
"data-cy": "multiselect-preview"
|
|
1673
1673
|
}, [
|
|
1674
1674
|
m("div", {
|
|
1675
|
-
class: B(
|
|
1675
|
+
class: B(l.orientation === "row" ? "col-12 mb-1" : "col"),
|
|
1676
1676
|
"data-cy": "multiselect-container"
|
|
1677
1677
|
}, [
|
|
1678
|
-
|
|
1679
|
-
modelValue:
|
|
1680
|
-
"onUpdate:modelValue":
|
|
1681
|
-
}, { ...
|
|
1682
|
-
options:
|
|
1683
|
-
display: "chip",
|
|
1678
|
+
f(r, z({
|
|
1679
|
+
modelValue: t.value,
|
|
1680
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => t.value = d)
|
|
1681
|
+
}, { ...l.$attrs }, {
|
|
1682
|
+
options: a.options,
|
|
1684
1683
|
optionLabel: "label",
|
|
1685
|
-
placeholder:
|
|
1684
|
+
placeholder: l.multiselectPlaceholder,
|
|
1686
1685
|
"data-cy": "multiselect"
|
|
1687
1686
|
}), {
|
|
1688
1687
|
default: g(() => [
|
|
1689
|
-
(
|
|
1688
|
+
(p(!0), x(q, null, W(l.$slots, (d, c) => $(l.$slots, c, { slot: c })), 256))
|
|
1690
1689
|
]),
|
|
1691
1690
|
_: 3
|
|
1692
1691
|
}, 16, ["modelValue", "options", "placeholder"]),
|
|
1693
|
-
$(
|
|
1692
|
+
$(l.$slots, "after-multi-select")
|
|
1694
1693
|
], 2),
|
|
1695
1694
|
m("div", {
|
|
1696
|
-
class: B(
|
|
1695
|
+
class: B(l.orientation === "row" ? "col-12" : "col"),
|
|
1697
1696
|
"data-cy": "options-preview"
|
|
1698
1697
|
}, [
|
|
1699
1698
|
m("div", {
|
|
1700
|
-
style:
|
|
1699
|
+
style: _e({ height: l.height }),
|
|
1701
1700
|
class: "overflow-auto"
|
|
1702
1701
|
}, [
|
|
1703
|
-
m("div",
|
|
1704
|
-
|
|
1705
|
-
(
|
|
1706
|
-
key:
|
|
1702
|
+
m("div", Aa, [
|
|
1703
|
+
l.title ? (p(), x("div", Ea, h(l.title), 1)) : C("", !0),
|
|
1704
|
+
(p(!0), x(q, null, W(t.value, (d) => (p(), x("div", {
|
|
1705
|
+
key: d.id,
|
|
1707
1706
|
class: "p-2 item d-flex justify-content-between align-items-center"
|
|
1708
1707
|
}, [
|
|
1709
|
-
$(
|
|
1710
|
-
m("span",
|
|
1708
|
+
$(l.$slots, "list-item", { item: d }, () => [
|
|
1709
|
+
m("span", La, h(d.shortLabel ? d.shortLabel : d.label), 1)
|
|
1711
1710
|
]),
|
|
1712
|
-
|
|
1711
|
+
l.canRemoveItemFromPreview ? (p(), w(s, {
|
|
1713
1712
|
key: 0,
|
|
1714
1713
|
link: "",
|
|
1715
1714
|
class: "m-0 p-0 d-flex align-items-center",
|
|
1716
|
-
onClick: (c) =>
|
|
1715
|
+
onClick: (c) => i(d.id)
|
|
1717
1716
|
}, {
|
|
1718
1717
|
default: g(() => [
|
|
1719
|
-
|
|
1718
|
+
f(u(_), {
|
|
1720
1719
|
icon: "bi:x",
|
|
1721
1720
|
class: "close-icon",
|
|
1722
|
-
"data-cy": `close-icon-${
|
|
1721
|
+
"data-cy": `close-icon-${d.id}`
|
|
1723
1722
|
}, null, 8, ["data-cy"])
|
|
1724
1723
|
]),
|
|
1725
1724
|
_: 2
|
|
1726
|
-
}, 1032, ["onClick"])) :
|
|
1725
|
+
}, 1032, ["onClick"])) : C("", !0)
|
|
1727
1726
|
]))), 128)),
|
|
1728
|
-
|
|
1727
|
+
t.value.length === 0 ? (p(), x("div", Na, h(a.optionsPreviewEmptyText), 1)) : C("", !0)
|
|
1729
1728
|
])
|
|
1730
1729
|
], 4)
|
|
1731
1730
|
], 2)
|
|
1732
1731
|
], 2);
|
|
1733
1732
|
};
|
|
1734
1733
|
}
|
|
1735
|
-
}),
|
|
1734
|
+
}), Ra = { class: "d-flex justify-content-between pb-2" }, Ha = {
|
|
1736
1735
|
"data-cy": "title",
|
|
1737
1736
|
class: "my-auto"
|
|
1738
|
-
},
|
|
1737
|
+
}, Wa = {
|
|
1739
1738
|
"data-cy": "slot",
|
|
1740
1739
|
class: "d-flex align-items-center"
|
|
1741
|
-
},
|
|
1740
|
+
}, Ii = /* @__PURE__ */ F({
|
|
1742
1741
|
__name: "ForgePageHeader",
|
|
1743
1742
|
props: {
|
|
1744
1743
|
title: {}
|
|
1745
1744
|
},
|
|
1746
1745
|
setup(e) {
|
|
1747
|
-
const
|
|
1748
|
-
return (
|
|
1749
|
-
m("h3",
|
|
1750
|
-
m("div",
|
|
1751
|
-
$(
|
|
1746
|
+
const a = e;
|
|
1747
|
+
return (t, i) => (p(), x("div", Ra, [
|
|
1748
|
+
m("h3", Ha, h(a.title), 1),
|
|
1749
|
+
m("div", Wa, [
|
|
1750
|
+
$(t.$slots, "default")
|
|
1752
1751
|
])
|
|
1753
1752
|
]));
|
|
1754
1753
|
}
|
|
1755
|
-
}),
|
|
1754
|
+
}), Ya = { class: "d-flex" }, Ga = { "data-cy": "before-slot" }, Ka = { class: "position-relative w-100" }, Za = { "data-cy": "after-slot" }, ke = /* @__PURE__ */ F({
|
|
1756
1755
|
__name: "ForgeDatepicker",
|
|
1757
|
-
props: /* @__PURE__ */
|
|
1756
|
+
props: /* @__PURE__ */ N({
|
|
1758
1757
|
severity: { default: "primary" },
|
|
1759
1758
|
modelValue: {},
|
|
1760
1759
|
selectionMode: { default: "single" },
|
|
@@ -1825,37 +1824,37 @@ const bt = { key: 0 }, ft = {
|
|
|
1825
1824
|
}),
|
|
1826
1825
|
emits: ["update:modelValue"],
|
|
1827
1826
|
setup(e) {
|
|
1828
|
-
const
|
|
1829
|
-
initialValue:
|
|
1830
|
-
}),
|
|
1831
|
-
|
|
1832
|
-
}, c = k(() =>
|
|
1833
|
-
day: ({ context:
|
|
1827
|
+
const a = e, t = O(e, "modelValue"), { errors: i, errorMessage: l, handleChange: o, handleBlur: r, setValue: s } = X(() => a.name, void 0, {
|
|
1828
|
+
initialValue: t.value
|
|
1829
|
+
}), d = () => {
|
|
1830
|
+
s(null), t.value = null;
|
|
1831
|
+
}, c = k(() => i.value.length > 0), v = k(() => ({
|
|
1832
|
+
day: ({ context: n }) => ({
|
|
1834
1833
|
class: [
|
|
1835
|
-
`text-center date-${
|
|
1834
|
+
`text-center date-${a.severity === void 0 ? "primary" : a.severity}`,
|
|
1836
1835
|
{
|
|
1837
|
-
"cursor-pointer": !
|
|
1838
|
-
"pe-none":
|
|
1839
|
-
"text-white":
|
|
1836
|
+
"cursor-pointer": !n.disabled,
|
|
1837
|
+
"pe-none": n.disabled,
|
|
1838
|
+
"text-white": n.selected
|
|
1840
1839
|
},
|
|
1841
1840
|
// Severities
|
|
1842
1841
|
{
|
|
1843
|
-
selected:
|
|
1844
|
-
"text-primary": !
|
|
1845
|
-
"text-brand": !
|
|
1846
|
-
"text-secondary": !
|
|
1847
|
-
"text-success": !
|
|
1848
|
-
"text-warning": !
|
|
1849
|
-
"text-danger": !
|
|
1850
|
-
"text-info": !
|
|
1842
|
+
selected: n.selected && !n.disabled,
|
|
1843
|
+
"text-primary": !n.selected && n.today && (a.severity === void 0 || a.severity === "primary"),
|
|
1844
|
+
"text-brand": !n.selected && n.today && a.severity === "brand",
|
|
1845
|
+
"text-secondary": !n.selected && n.today && a.severity === "secondary",
|
|
1846
|
+
"text-success": !n.selected && n.today && a.severity === "success",
|
|
1847
|
+
"text-warning": !n.selected && n.today && a.severity === "warning",
|
|
1848
|
+
"text-danger": !n.selected && n.today && a.severity === "danger",
|
|
1849
|
+
"text-info": !n.selected && n.today && a.severity === "info"
|
|
1851
1850
|
}
|
|
1852
1851
|
]
|
|
1853
1852
|
}),
|
|
1854
|
-
dayLabel: ({ context:
|
|
1853
|
+
dayLabel: ({ context: n }) => ({
|
|
1855
1854
|
class: [
|
|
1856
1855
|
// Disabled States
|
|
1857
1856
|
{
|
|
1858
|
-
"text-muted":
|
|
1857
|
+
"text-muted": n.disabled
|
|
1859
1858
|
}
|
|
1860
1859
|
]
|
|
1861
1860
|
}),
|
|
@@ -1864,13 +1863,13 @@ const bt = { key: 0 }, ft = {
|
|
|
1864
1863
|
class: [
|
|
1865
1864
|
"btn ms-auto",
|
|
1866
1865
|
{
|
|
1867
|
-
"btn-link text-primary":
|
|
1868
|
-
"btn-link text-brand":
|
|
1869
|
-
"btn-link text-secondary":
|
|
1870
|
-
"btn-link text-success":
|
|
1871
|
-
"btn-link text-warning":
|
|
1872
|
-
"btn-link text-danger":
|
|
1873
|
-
"btn-link text-info":
|
|
1866
|
+
"btn-link text-primary": a.severity === void 0 || a.severity === "primary",
|
|
1867
|
+
"btn-link text-brand": a.severity === "brand",
|
|
1868
|
+
"btn-link text-secondary": a.severity === "secondary",
|
|
1869
|
+
"btn-link text-success": a.severity === "success",
|
|
1870
|
+
"btn-link text-warning": a.severity === "warning",
|
|
1871
|
+
"btn-link text-danger": a.severity === "danger",
|
|
1872
|
+
"btn-link text-info": a.severity === "info"
|
|
1874
1873
|
}
|
|
1875
1874
|
]
|
|
1876
1875
|
})
|
|
@@ -1880,106 +1879,106 @@ const bt = { key: 0 }, ft = {
|
|
|
1880
1879
|
class: [
|
|
1881
1880
|
"btn",
|
|
1882
1881
|
{
|
|
1883
|
-
"btn-link text-primary":
|
|
1884
|
-
"btn-link text-brand":
|
|
1885
|
-
"btn-link text-secondary":
|
|
1886
|
-
"btn-link text-success":
|
|
1887
|
-
"btn-link text-warning":
|
|
1888
|
-
"btn-link text-danger":
|
|
1889
|
-
"btn-link text-info":
|
|
1882
|
+
"btn-link text-primary": a.severity === void 0 || a.severity === "primary",
|
|
1883
|
+
"btn-link text-brand": a.severity === "brand",
|
|
1884
|
+
"btn-link text-secondary": a.severity === "secondary",
|
|
1885
|
+
"btn-link text-success": a.severity === "success",
|
|
1886
|
+
"btn-link text-warning": a.severity === "warning",
|
|
1887
|
+
"btn-link text-danger": a.severity === "danger",
|
|
1888
|
+
"btn-link text-info": a.severity === "info"
|
|
1890
1889
|
}
|
|
1891
1890
|
]
|
|
1892
1891
|
})
|
|
1893
1892
|
},
|
|
1894
|
-
year: ({ context:
|
|
1893
|
+
year: ({ context: n }) => ({
|
|
1895
1894
|
class: [
|
|
1896
1895
|
"col-3 text-center cursor-pointer py-2",
|
|
1897
1896
|
{
|
|
1898
|
-
"text-primary": (
|
|
1899
|
-
"text-brand":
|
|
1900
|
-
"text-secondary":
|
|
1901
|
-
"text-success":
|
|
1902
|
-
"text-warning":
|
|
1903
|
-
"text-danger":
|
|
1904
|
-
"text-info":
|
|
1897
|
+
"text-primary": (a.severity === void 0 || a.severity === "primary") && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
1898
|
+
"text-brand": a.severity === "brand" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
1899
|
+
"text-secondary": a.severity === "secondary" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
1900
|
+
"text-success": a.severity === "success" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
1901
|
+
"text-warning": a.severity === "warning" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
1902
|
+
"text-danger": a.severity === "danger" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
|
|
1903
|
+
"text-info": a.severity === "info" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear()
|
|
1905
1904
|
}
|
|
1906
1905
|
]
|
|
1907
1906
|
}),
|
|
1908
|
-
month: ({ context:
|
|
1907
|
+
month: ({ context: n }) => ({
|
|
1909
1908
|
class: [
|
|
1910
1909
|
"col-3 text-center cursor-pointer py-2",
|
|
1911
1910
|
{
|
|
1912
|
-
"text-primary": (
|
|
1913
|
-
"text-brand":
|
|
1914
|
-
"text-secondary":
|
|
1915
|
-
"text-success":
|
|
1916
|
-
"text-warning":
|
|
1917
|
-
"text-danger":
|
|
1918
|
-
"text-info":
|
|
1911
|
+
"text-primary": (a.severity === void 0 || a.severity === "primary") && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
1912
|
+
"text-brand": a.severity === "brand" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
1913
|
+
"text-secondary": a.severity === "secondary" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
1914
|
+
"text-success": a.severity === "success" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
1915
|
+
"text-warning": a.severity === "warning" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
1916
|
+
"text-danger": a.severity === "danger" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
|
|
1917
|
+
"text-info": a.severity === "info" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
|
|
1919
1918
|
}
|
|
1920
1919
|
]
|
|
1921
1920
|
})
|
|
1922
1921
|
}));
|
|
1923
|
-
return (
|
|
1924
|
-
const S =
|
|
1925
|
-
return
|
|
1926
|
-
m("div",
|
|
1927
|
-
m("span",
|
|
1928
|
-
$(
|
|
1922
|
+
return (n, j) => {
|
|
1923
|
+
const S = Pe;
|
|
1924
|
+
return p(), x(q, null, [
|
|
1925
|
+
m("div", Ya, [
|
|
1926
|
+
m("span", Ga, [
|
|
1927
|
+
$(n.$slots, "before")
|
|
1929
1928
|
]),
|
|
1930
|
-
m("div",
|
|
1931
|
-
|
|
1929
|
+
m("div", Ka, [
|
|
1930
|
+
f(S, z({ ...a, ...n.$attrs }, {
|
|
1932
1931
|
pt: v.value,
|
|
1933
|
-
modelValue:
|
|
1932
|
+
modelValue: t.value,
|
|
1934
1933
|
"onUpdate:modelValue": [
|
|
1935
|
-
|
|
1936
|
-
|
|
1934
|
+
j[0] || (j[0] = (V) => t.value = V),
|
|
1935
|
+
u(o)
|
|
1937
1936
|
],
|
|
1938
|
-
onBlur:
|
|
1937
|
+
onBlur: u(r),
|
|
1939
1938
|
"input-class": { "datepicker-invalid": c.value }
|
|
1940
1939
|
}), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "onBlur", "input-class"]),
|
|
1941
|
-
H(
|
|
1940
|
+
H(f(u(_), {
|
|
1942
1941
|
"data-cy": "icon",
|
|
1943
1942
|
icon: "bi:calendar4",
|
|
1944
1943
|
class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
|
|
1945
1944
|
}, null, 8, ["class"]), [
|
|
1946
|
-
[
|
|
1945
|
+
[Y, a.showIcon]
|
|
1947
1946
|
]),
|
|
1948
|
-
H(
|
|
1947
|
+
H(f(u(_), {
|
|
1949
1948
|
"data-cy": "icon",
|
|
1950
1949
|
icon: "bi:x",
|
|
1951
|
-
onClick:
|
|
1952
|
-
class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white",
|
|
1950
|
+
onClick: d,
|
|
1951
|
+
class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", a.showIcon ? "datepicker-close-icon" : "me-2"])
|
|
1953
1952
|
}, null, 8, ["class"]), [
|
|
1954
|
-
[
|
|
1953
|
+
[Y, a.modelValue]
|
|
1955
1954
|
])
|
|
1956
1955
|
]),
|
|
1957
|
-
m("span",
|
|
1958
|
-
$(
|
|
1956
|
+
m("span", Za, [
|
|
1957
|
+
$(n.$slots, "after")
|
|
1959
1958
|
])
|
|
1960
1959
|
]),
|
|
1961
1960
|
H(m("small", {
|
|
1962
1961
|
"data-cy": "error",
|
|
1963
1962
|
class: "text-invalid"
|
|
1964
|
-
}, h(
|
|
1965
|
-
[
|
|
1963
|
+
}, h(u(l)), 513), [
|
|
1964
|
+
[Y, c.value]
|
|
1966
1965
|
])
|
|
1967
1966
|
], 64);
|
|
1968
1967
|
};
|
|
1969
1968
|
}
|
|
1970
|
-
}),
|
|
1969
|
+
}), Oi = /* @__PURE__ */ F({
|
|
1971
1970
|
__name: "ForgeRemainingCharacters",
|
|
1972
1971
|
props: {
|
|
1973
1972
|
maxCount: { default: 300 },
|
|
1974
1973
|
currentCount: {}
|
|
1975
1974
|
},
|
|
1976
1975
|
setup(e) {
|
|
1977
|
-
const
|
|
1978
|
-
return (
|
|
1979
|
-
class: B(
|
|
1980
|
-
}, "Remaining characters: " + h(
|
|
1976
|
+
const a = e, t = k(() => a.maxCount - a.currentCount);
|
|
1977
|
+
return (i, l) => (p(), x("div", {
|
|
1978
|
+
class: B(t.value < 0 ? "text-danger" : "")
|
|
1979
|
+
}, "Remaining characters: " + h(t.value), 3));
|
|
1981
1980
|
}
|
|
1982
|
-
}),
|
|
1981
|
+
}), Ja = { class: "d-flex justify-content-between" }, Di = /* @__PURE__ */ F({
|
|
1983
1982
|
__name: "ForgeForm",
|
|
1984
1983
|
props: {
|
|
1985
1984
|
onSubmit: {},
|
|
@@ -1991,93 +1990,93 @@ const bt = { key: 0 }, ft = {
|
|
|
1991
1990
|
hideCancel: { type: Boolean, default: !1 }
|
|
1992
1991
|
},
|
|
1993
1992
|
setup(e) {
|
|
1994
|
-
const
|
|
1993
|
+
const a = e, t = T(!1), i = T({
|
|
1995
1994
|
hasError: !1,
|
|
1996
1995
|
message: ""
|
|
1997
1996
|
});
|
|
1998
|
-
async function
|
|
1999
|
-
|
|
1997
|
+
async function l() {
|
|
1998
|
+
t.value = !0, i.value.hasError = !1;
|
|
2000
1999
|
try {
|
|
2001
|
-
await
|
|
2002
|
-
} catch (
|
|
2003
|
-
|
|
2000
|
+
await a.onSubmit();
|
|
2001
|
+
} catch (o) {
|
|
2002
|
+
i.value.hasError = !0, o.message && (i.value.message = o.message);
|
|
2004
2003
|
}
|
|
2005
|
-
|
|
2004
|
+
t.value = !1;
|
|
2006
2005
|
}
|
|
2007
|
-
return (
|
|
2008
|
-
const
|
|
2009
|
-
return
|
|
2006
|
+
return (o, r) => {
|
|
2007
|
+
const s = A;
|
|
2008
|
+
return p(), x("form", z(o.$attrs, {
|
|
2010
2009
|
novalidate: "",
|
|
2011
2010
|
class: "position-relative shadow-sm border p-4 bg-white",
|
|
2012
|
-
onSubmit:
|
|
2011
|
+
onSubmit: G(l, ["prevent"])
|
|
2013
2012
|
}), [
|
|
2014
|
-
|
|
2015
|
-
$(
|
|
2013
|
+
o.hideTitle ? C("", !0) : (p(), x(q, { key: 0 }, [
|
|
2014
|
+
$(o.$slots, "title", {}, () => [
|
|
2016
2015
|
m("h3", {
|
|
2017
|
-
class: B(
|
|
2016
|
+
class: B(o.titleClass),
|
|
2018
2017
|
"data-cy": "form-title"
|
|
2019
|
-
}, h(
|
|
2018
|
+
}, h(o.title), 3)
|
|
2020
2019
|
]),
|
|
2021
2020
|
r[1] || (r[1] = m("hr", null, null, -1))
|
|
2022
2021
|
], 64)),
|
|
2023
|
-
|
|
2022
|
+
i.value.hasError ? (p(), w(re, {
|
|
2024
2023
|
key: 1,
|
|
2025
2024
|
severity: "danger",
|
|
2026
2025
|
"data-cy": "error"
|
|
2027
2026
|
}, {
|
|
2028
2027
|
default: g(() => [
|
|
2029
|
-
$(
|
|
2030
|
-
error:
|
|
2028
|
+
$(o.$slots, "error", {
|
|
2029
|
+
error: i.value.message
|
|
2031
2030
|
}, () => [
|
|
2032
|
-
|
|
2031
|
+
P(h(i.value.message), 1)
|
|
2033
2032
|
])
|
|
2034
2033
|
]),
|
|
2035
2034
|
_: 3
|
|
2036
|
-
})) :
|
|
2037
|
-
$(
|
|
2038
|
-
m("div",
|
|
2039
|
-
$(
|
|
2040
|
-
|
|
2035
|
+
})) : C("", !0),
|
|
2036
|
+
$(o.$slots, "default"),
|
|
2037
|
+
m("div", Ja, [
|
|
2038
|
+
$(o.$slots, "cancel", {}, () => [
|
|
2039
|
+
o.hideCancel ? C("", !0) : (p(), w(s, {
|
|
2041
2040
|
key: 0,
|
|
2042
2041
|
"data-cy": "cancel-btn",
|
|
2043
2042
|
type: "reset",
|
|
2044
2043
|
severity: "secondary",
|
|
2045
2044
|
outlined: "",
|
|
2046
|
-
onClick: r[0] || (r[0] = (
|
|
2045
|
+
onClick: r[0] || (r[0] = (d) => o.$emit("cancel"))
|
|
2047
2046
|
}, {
|
|
2048
2047
|
default: g(() => [
|
|
2049
|
-
|
|
2048
|
+
P(h(o.cancelText), 1)
|
|
2050
2049
|
]),
|
|
2051
2050
|
_: 1
|
|
2052
2051
|
}))
|
|
2053
2052
|
]),
|
|
2054
|
-
$(
|
|
2055
|
-
|
|
2053
|
+
$(o.$slots, "submit", { submit: l }, () => [
|
|
2054
|
+
f(s, {
|
|
2056
2055
|
"data-cy": "submit-btn",
|
|
2057
2056
|
type: "submit",
|
|
2058
2057
|
severity: "primary",
|
|
2059
2058
|
class: "ms-auto"
|
|
2060
2059
|
}, {
|
|
2061
2060
|
default: g(() => [
|
|
2062
|
-
|
|
2061
|
+
P(h(o.submitText), 1)
|
|
2063
2062
|
]),
|
|
2064
2063
|
_: 1
|
|
2065
2064
|
})
|
|
2066
2065
|
])
|
|
2067
2066
|
]),
|
|
2068
|
-
|
|
2067
|
+
t.value ? (p(), w(we, {
|
|
2069
2068
|
key: 2,
|
|
2070
2069
|
"data-cy": "loading-spinner"
|
|
2071
|
-
})) :
|
|
2070
|
+
})) : C("", !0)
|
|
2072
2071
|
], 16);
|
|
2073
2072
|
};
|
|
2074
2073
|
}
|
|
2075
|
-
}),
|
|
2074
|
+
}), Xa = {
|
|
2076
2075
|
key: 1,
|
|
2077
2076
|
class: "d-flex flex-column w-100"
|
|
2078
|
-
},
|
|
2077
|
+
}, Qa = ["for"], Ui = /* @__PURE__ */ F({
|
|
2079
2078
|
__name: "ForgeFormField",
|
|
2080
|
-
props: /* @__PURE__ */
|
|
2079
|
+
props: /* @__PURE__ */ N({
|
|
2081
2080
|
name: {},
|
|
2082
2081
|
fieldLabelPosition: { default: "top" },
|
|
2083
2082
|
fieldLabel: {},
|
|
@@ -2091,97 +2090,97 @@ const bt = { key: 0 }, ft = {
|
|
|
2091
2090
|
}),
|
|
2092
2091
|
emits: ["update:modelValue"],
|
|
2093
2092
|
setup(e) {
|
|
2094
|
-
const
|
|
2095
|
-
|
|
2096
|
-
}, { errors:
|
|
2097
|
-
initialValue:
|
|
2098
|
-
}), c = k(() =>
|
|
2099
|
-
return
|
|
2100
|
-
|
|
2101
|
-
}, { immediate: !0 }), (v,
|
|
2102
|
-
const
|
|
2103
|
-
return
|
|
2093
|
+
const a = O(e, "modelValue"), t = e, i = (v) => {
|
|
2094
|
+
t.type == "number" ? s(v.value) : s(v);
|
|
2095
|
+
}, { errors: l, value: o, errorMessage: r, handleChange: s, handleBlur: d } = X(() => t.name, void 0, {
|
|
2096
|
+
initialValue: a.value
|
|
2097
|
+
}), c = k(() => l.value.length > 0);
|
|
2098
|
+
return xe(() => o.value, (v) => {
|
|
2099
|
+
a.value = v;
|
|
2100
|
+
}, { immediate: !0 }), (v, n) => {
|
|
2101
|
+
const j = Oe, S = Ie, V = ce, D = se, M = me, b = ke;
|
|
2102
|
+
return t.type === "checkbox" ? (p(), w(ya, z({
|
|
2104
2103
|
key: 0,
|
|
2105
|
-
id:
|
|
2106
|
-
label:
|
|
2104
|
+
id: t.name,
|
|
2105
|
+
label: t.fieldLabel
|
|
2107
2106
|
}, v.$attrs, {
|
|
2108
|
-
name:
|
|
2109
|
-
modelValue:
|
|
2110
|
-
"onUpdate:modelValue":
|
|
2111
|
-
}), null, 16, ["id", "label", "name", "modelValue"])) : (
|
|
2107
|
+
name: t.name,
|
|
2108
|
+
modelValue: a.value,
|
|
2109
|
+
"onUpdate:modelValue": n[0] || (n[0] = (y) => a.value = y)
|
|
2110
|
+
}), null, 16, ["id", "label", "name", "modelValue"])) : (p(), x("div", Xa, [
|
|
2112
2111
|
m("div", {
|
|
2113
2112
|
"data-cy": "input-wrapper",
|
|
2114
|
-
class: B(["d-flex",
|
|
2113
|
+
class: B(["d-flex", t.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
|
|
2115
2114
|
}, [
|
|
2116
2115
|
m("label", {
|
|
2117
|
-
for:
|
|
2118
|
-
class: B(
|
|
2119
|
-
}, h(
|
|
2120
|
-
|
|
2116
|
+
for: t.name,
|
|
2117
|
+
class: B(t.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + t.labelWidthClass)
|
|
2118
|
+
}, h(t.fieldLabel), 11, Qa),
|
|
2119
|
+
t.type === "number" ? (p(), w(u(ge), z({
|
|
2121
2120
|
key: 0,
|
|
2122
|
-
id:
|
|
2121
|
+
id: t.name
|
|
2123
2122
|
}, v.$attrs, {
|
|
2124
|
-
placeholder:
|
|
2123
|
+
placeholder: t.placeholder,
|
|
2125
2124
|
"input-class": { "is-invalid": c.value },
|
|
2126
2125
|
class: { "is-invalid": c.value },
|
|
2127
|
-
modelValue:
|
|
2128
|
-
"onUpdate:modelValue":
|
|
2129
|
-
onInput:
|
|
2130
|
-
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) :
|
|
2126
|
+
modelValue: a.value,
|
|
2127
|
+
"onUpdate:modelValue": n[1] || (n[1] = (y) => a.value = y),
|
|
2128
|
+
onInput: i
|
|
2129
|
+
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : t.type === "textarea" ? (p(), w(j, z({
|
|
2131
2130
|
key: 1,
|
|
2132
|
-
id:
|
|
2131
|
+
id: t.name
|
|
2133
2132
|
}, v.$attrs, {
|
|
2134
|
-
placeholder:
|
|
2133
|
+
placeholder: t.placeholder,
|
|
2135
2134
|
class: { "is-invalid": c.value },
|
|
2136
|
-
modelValue:
|
|
2137
|
-
"onUpdate:modelValue":
|
|
2138
|
-
onInput:
|
|
2139
|
-
onBlur:
|
|
2140
|
-
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) :
|
|
2135
|
+
modelValue: a.value,
|
|
2136
|
+
"onUpdate:modelValue": n[2] || (n[2] = (y) => a.value = y),
|
|
2137
|
+
onInput: i,
|
|
2138
|
+
onBlur: u(d)
|
|
2139
|
+
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : t.type === "mask" ? (p(), w(S, z({
|
|
2141
2140
|
key: 2,
|
|
2142
|
-
id:
|
|
2141
|
+
id: t.name
|
|
2143
2142
|
}, v.$attrs, {
|
|
2144
|
-
placeholder:
|
|
2145
|
-
mask:
|
|
2143
|
+
placeholder: t.placeholder,
|
|
2144
|
+
mask: t.mask,
|
|
2146
2145
|
class: { "is-invalid": c.value },
|
|
2147
|
-
modelValue:
|
|
2148
|
-
"onUpdate:modelValue":
|
|
2149
|
-
onComplete:
|
|
2150
|
-
onBlur:
|
|
2151
|
-
}), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) :
|
|
2146
|
+
modelValue: a.value,
|
|
2147
|
+
"onUpdate:modelValue": n[3] || (n[3] = (y) => a.value = y),
|
|
2148
|
+
onComplete: i,
|
|
2149
|
+
onBlur: u(d)
|
|
2150
|
+
}), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : t.type === "text" ? (p(), w(V, z({
|
|
2152
2151
|
key: 3,
|
|
2153
|
-
id:
|
|
2152
|
+
id: t.name
|
|
2154
2153
|
}, v.$attrs, {
|
|
2155
|
-
placeholder:
|
|
2154
|
+
placeholder: t.placeholder,
|
|
2156
2155
|
class: { "is-invalid": c.value },
|
|
2157
|
-
modelValue:
|
|
2158
|
-
"onUpdate:modelValue":
|
|
2159
|
-
onInput:
|
|
2160
|
-
onBlur:
|
|
2161
|
-
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) :
|
|
2162
|
-
modelValue:
|
|
2163
|
-
"onUpdate:modelValue":
|
|
2156
|
+
modelValue: a.value,
|
|
2157
|
+
"onUpdate:modelValue": n[4] || (n[4] = (y) => a.value = y),
|
|
2158
|
+
onInput: i,
|
|
2159
|
+
onBlur: u(d)
|
|
2160
|
+
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : t.type === "select" ? (p(), w(D, z({ key: 4 }, { ...t, ...v.$attrs }, {
|
|
2161
|
+
modelValue: a.value,
|
|
2162
|
+
"onUpdate:modelValue": n[5] || (n[5] = (y) => a.value = y),
|
|
2164
2163
|
class: { "is-invalid": c.value }
|
|
2165
|
-
}), null, 16, ["modelValue", "class"])) :
|
|
2166
|
-
modelValue:
|
|
2167
|
-
"onUpdate:modelValue":
|
|
2164
|
+
}), null, 16, ["modelValue", "class"])) : t.type === "multiselect" ? (p(), w(M, z({ key: 5 }, { ...t, ...v.$attrs }, {
|
|
2165
|
+
modelValue: a.value,
|
|
2166
|
+
"onUpdate:modelValue": n[6] || (n[6] = (y) => a.value = y),
|
|
2168
2167
|
class: { "is-invalid": c.value }
|
|
2169
|
-
}), null, 16, ["modelValue", "class"])) :
|
|
2170
|
-
modelValue:
|
|
2171
|
-
"onUpdate:modelValue":
|
|
2168
|
+
}), null, 16, ["modelValue", "class"])) : t.type === "datepicker" ? (p(), w(b, z({ key: 6 }, { ...t, ...v.$attrs }, {
|
|
2169
|
+
modelValue: a.value,
|
|
2170
|
+
"onUpdate:modelValue": n[7] || (n[7] = (y) => a.value = y),
|
|
2172
2171
|
class: { "is-invalid": c.value }
|
|
2173
|
-
}), null, 16, ["modelValue", "class"])) :
|
|
2172
|
+
}), null, 16, ["modelValue", "class"])) : C("", !0)
|
|
2174
2173
|
], 2),
|
|
2175
2174
|
H(m("small", {
|
|
2176
2175
|
"data-cy": "error",
|
|
2177
2176
|
class: "invalid-feedback"
|
|
2178
|
-
}, h(
|
|
2179
|
-
[
|
|
2177
|
+
}, h(u(r)), 513), [
|
|
2178
|
+
[Y, c.value && t.type !== "multiselect" && t.type !== "datepicker"]
|
|
2180
2179
|
])
|
|
2181
2180
|
]));
|
|
2182
2181
|
};
|
|
2183
2182
|
}
|
|
2184
|
-
}),
|
|
2183
|
+
}), qi = /* @__PURE__ */ F({
|
|
2185
2184
|
__name: "ForgeChips",
|
|
2186
2185
|
props: {
|
|
2187
2186
|
chipSeverity: { default: "primary" },
|
|
@@ -2208,17 +2207,17 @@ const bt = { key: 0 }, ft = {
|
|
|
2208
2207
|
unstyled: { type: Boolean }
|
|
2209
2208
|
},
|
|
2210
2209
|
setup(e) {
|
|
2211
|
-
const
|
|
2212
|
-
initialValue:
|
|
2213
|
-
}),
|
|
2210
|
+
const a = e, { errors: t, value: i, errorMessage: l } = X(() => a.name, void 0, {
|
|
2211
|
+
initialValue: a.modelValue
|
|
2212
|
+
}), o = k(() => t.value.length > 0), r = k(() => ({
|
|
2214
2213
|
inputtoken: "list-unstyled",
|
|
2215
2214
|
input: "border-0",
|
|
2216
|
-
container: ({ props:
|
|
2215
|
+
container: ({ props: s }) => ({
|
|
2217
2216
|
class: [
|
|
2218
2217
|
"form-control mb-0 d-flex",
|
|
2219
2218
|
{
|
|
2220
|
-
disabled:
|
|
2221
|
-
"is-invalid":
|
|
2219
|
+
disabled: s.disabled,
|
|
2220
|
+
"is-invalid": o.value
|
|
2222
2221
|
}
|
|
2223
2222
|
]
|
|
2224
2223
|
}),
|
|
@@ -2226,36 +2225,36 @@ const bt = { key: 0 }, ft = {
|
|
|
2226
2225
|
class: [
|
|
2227
2226
|
"rounded px-2 py-1 me-2 text-white list-unstyled",
|
|
2228
2227
|
{
|
|
2229
|
-
"rounded-pill":
|
|
2230
|
-
"opacity-75":
|
|
2228
|
+
"rounded-pill": a.pill,
|
|
2229
|
+
"opacity-75": a.disabled
|
|
2231
2230
|
},
|
|
2232
2231
|
{
|
|
2233
|
-
"bg-primary border-primary":
|
|
2234
|
-
"bg-brand border-brand":
|
|
2235
|
-
"bg-secondary border-secondary":
|
|
2236
|
-
"bg-success border-success":
|
|
2237
|
-
"bg-warning border-warning":
|
|
2238
|
-
"bg-danger border-danger":
|
|
2239
|
-
"bg-info border-info":
|
|
2232
|
+
"bg-primary border-primary": a.chipSeverity === void 0 || a.chipSeverity === "primary",
|
|
2233
|
+
"bg-brand border-brand": a.chipSeverity === "brand",
|
|
2234
|
+
"bg-secondary border-secondary": a.chipSeverity === "secondary",
|
|
2235
|
+
"bg-success border-success": a.chipSeverity === "success",
|
|
2236
|
+
"bg-warning border-warning": a.chipSeverity === "warning",
|
|
2237
|
+
"bg-danger border-danger": a.chipSeverity === "danger",
|
|
2238
|
+
"bg-info border-info": a.chipSeverity === "info"
|
|
2240
2239
|
}
|
|
2241
2240
|
]
|
|
2242
2241
|
}
|
|
2243
2242
|
}));
|
|
2244
|
-
return (
|
|
2245
|
-
const c =
|
|
2246
|
-
return
|
|
2247
|
-
|
|
2243
|
+
return (s, d) => {
|
|
2244
|
+
const c = De;
|
|
2245
|
+
return p(), x(q, null, [
|
|
2246
|
+
f(c, z({ ...a, ...s.$attrs }, {
|
|
2248
2247
|
pt: r.value,
|
|
2249
|
-
"model-value":
|
|
2250
|
-
"onUpdate:modelValue":
|
|
2248
|
+
"model-value": u(i),
|
|
2249
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => de(i) ? i.value = v : null)
|
|
2251
2250
|
}), {
|
|
2252
2251
|
removetokenicon: g(({ removeCallback: v }) => [
|
|
2253
|
-
H(
|
|
2252
|
+
H(f(u(_), {
|
|
2254
2253
|
icon: "bi:x",
|
|
2255
2254
|
class: "cursor-pointer",
|
|
2256
2255
|
onClick: v
|
|
2257
2256
|
}, null, 8, ["onClick"]), [
|
|
2258
|
-
[
|
|
2257
|
+
[Y, !a.disabled]
|
|
2259
2258
|
])
|
|
2260
2259
|
]),
|
|
2261
2260
|
_: 1
|
|
@@ -2263,13 +2262,13 @@ const bt = { key: 0 }, ft = {
|
|
|
2263
2262
|
H(m("small", {
|
|
2264
2263
|
"data-cy": "error",
|
|
2265
2264
|
class: "text-invalid"
|
|
2266
|
-
}, h(
|
|
2267
|
-
[
|
|
2265
|
+
}, h(u(l)), 513), [
|
|
2266
|
+
[Y, o.value]
|
|
2268
2267
|
])
|
|
2269
2268
|
], 64);
|
|
2270
2269
|
};
|
|
2271
2270
|
}
|
|
2272
|
-
}),
|
|
2271
|
+
}), et = /* @__PURE__ */ F({
|
|
2273
2272
|
__name: "ForgeProgressBar",
|
|
2274
2273
|
props: {
|
|
2275
2274
|
severity: { default: "primary" },
|
|
@@ -2284,8 +2283,8 @@ const bt = { key: 0 }, ft = {
|
|
|
2284
2283
|
unstyled: { type: Boolean }
|
|
2285
2284
|
},
|
|
2286
2285
|
setup(e) {
|
|
2287
|
-
const
|
|
2288
|
-
switch (
|
|
2286
|
+
const a = e, t = k(() => a.striped ? "progress-bar-striped" : null), i = k(() => a.animate ? "progress-bar-animated" : null), l = k(() => {
|
|
2287
|
+
switch (a.severity) {
|
|
2289
2288
|
case "brand":
|
|
2290
2289
|
return "bg-brand";
|
|
2291
2290
|
case "secondary":
|
|
@@ -2303,17 +2302,17 @@ const bt = { key: 0 }, ft = {
|
|
|
2303
2302
|
default:
|
|
2304
2303
|
return "bg-primary";
|
|
2305
2304
|
}
|
|
2306
|
-
}),
|
|
2305
|
+
}), o = k(() => ({
|
|
2307
2306
|
root: {
|
|
2308
|
-
style:
|
|
2307
|
+
style: a.pixelWidth ? `width: ${a.pixelWidth}px` : ""
|
|
2309
2308
|
},
|
|
2310
2309
|
value: {
|
|
2311
|
-
class: [
|
|
2310
|
+
class: [l.value, t.value, i.value]
|
|
2312
2311
|
}
|
|
2313
2312
|
}));
|
|
2314
|
-
return (r,
|
|
2315
|
-
const
|
|
2316
|
-
return
|
|
2313
|
+
return (r, s) => {
|
|
2314
|
+
const d = Ue;
|
|
2315
|
+
return p(), w(d, z({ ...r.$attrs, ...a }, { pt: o.value }), {
|
|
2317
2316
|
default: g(() => [
|
|
2318
2317
|
$(r.$slots, "default")
|
|
2319
2318
|
]),
|
|
@@ -2321,26 +2320,26 @@ const bt = { key: 0 }, ft = {
|
|
|
2321
2320
|
}, 16, ["pt"]);
|
|
2322
2321
|
};
|
|
2323
2322
|
}
|
|
2324
|
-
}),
|
|
2323
|
+
}), at = { class: "value text-white w-100 text-center" }, Ai = /* @__PURE__ */ F({
|
|
2325
2324
|
__name: "ForgeStatWidget",
|
|
2326
2325
|
props: {
|
|
2327
2326
|
size: { default: "md" },
|
|
2328
2327
|
severity: { default: "primary" }
|
|
2329
2328
|
},
|
|
2330
2329
|
setup(e) {
|
|
2331
|
-
const
|
|
2332
|
-
return (
|
|
2333
|
-
class: `d-flex shadow m-2 align-items-center widget--${
|
|
2330
|
+
const a = e;
|
|
2331
|
+
return (t, i) => (p(), x("div", z(t.$attrs, {
|
|
2332
|
+
class: `d-flex shadow m-2 align-items-center widget--${a.size} bg-${a.severity}`
|
|
2334
2333
|
}), [
|
|
2335
|
-
m("span",
|
|
2336
|
-
$(
|
|
2334
|
+
m("span", at, [
|
|
2335
|
+
$(t.$slots, "default")
|
|
2337
2336
|
])
|
|
2338
2337
|
], 16));
|
|
2339
2338
|
}
|
|
2340
|
-
}),
|
|
2339
|
+
}), tt = {
|
|
2341
2340
|
class: "d-flex flex-column align-items-center",
|
|
2342
2341
|
"data-cy": "stepper"
|
|
2343
|
-
},
|
|
2342
|
+
}, it = { class: "d-flex align-items-center justify-content-center w-100" }, Ei = /* @__PURE__ */ F({
|
|
2344
2343
|
__name: "ForgeStepper",
|
|
2345
2344
|
props: {
|
|
2346
2345
|
currentStep: { default: 0 },
|
|
@@ -2355,22 +2354,22 @@ const bt = { key: 0 }, ft = {
|
|
|
2355
2354
|
unstyled: { type: Boolean }
|
|
2356
2355
|
},
|
|
2357
2356
|
emits: ["update:currentStep"],
|
|
2358
|
-
setup(e, { emit:
|
|
2359
|
-
const
|
|
2357
|
+
setup(e, { emit: a }) {
|
|
2358
|
+
const t = a, i = e, l = T(i.currentStep), o = () => {
|
|
2360
2359
|
do
|
|
2361
|
-
|
|
2362
|
-
while (
|
|
2363
|
-
|
|
2360
|
+
l.value--;
|
|
2361
|
+
while (i.model[l.value].disabled);
|
|
2362
|
+
t("update:currentStep", l.value);
|
|
2364
2363
|
}, r = () => {
|
|
2365
|
-
if (
|
|
2364
|
+
if (l.value < i.model.length - 1)
|
|
2366
2365
|
do
|
|
2367
|
-
|
|
2368
|
-
while (
|
|
2369
|
-
|
|
2370
|
-
},
|
|
2371
|
-
const c =
|
|
2372
|
-
return !(c <
|
|
2373
|
-
}),
|
|
2366
|
+
l.value++;
|
|
2367
|
+
while (i.model[l.value].disabled);
|
|
2368
|
+
t("update:currentStep", l.value);
|
|
2369
|
+
}, s = k(() => {
|
|
2370
|
+
const c = i.model.findIndex((v) => !v.disabled);
|
|
2371
|
+
return !(c < l.value && c > -1);
|
|
2372
|
+
}), d = k(() => ({
|
|
2374
2373
|
menuitem: (c) => ({
|
|
2375
2374
|
class: [{
|
|
2376
2375
|
"cursor-pointer": !c.context.disabled
|
|
@@ -2381,13 +2380,13 @@ const bt = { key: 0 }, ft = {
|
|
|
2381
2380
|
"d-flex align-items-center justify-content-center mb-2 step",
|
|
2382
2381
|
{
|
|
2383
2382
|
inactive: c.context.disabled,
|
|
2384
|
-
"bg-primary text-white": c.context.index ===
|
|
2385
|
-
"bg-brand text-white": c.context.index ===
|
|
2386
|
-
"bg-secondary text-white": c.context.index ===
|
|
2387
|
-
"bg-success text-white": c.context.index ===
|
|
2388
|
-
"bg-warning text-white": c.context.index ===
|
|
2389
|
-
"bg-danger text-white": c.context.index ===
|
|
2390
|
-
"bg-info text-white": c.context.index ===
|
|
2383
|
+
"bg-primary text-white": c.context.index === l.value && (i.severity === void 0 || i.severity === "primary"),
|
|
2384
|
+
"bg-brand text-white": c.context.index === l.value && i.severity === "brand",
|
|
2385
|
+
"bg-secondary text-white": c.context.index === l.value && i.severity === "secondary",
|
|
2386
|
+
"bg-success text-white": c.context.index === l.value && i.severity === "success",
|
|
2387
|
+
"bg-warning text-white": c.context.index === l.value && i.severity === "warning",
|
|
2388
|
+
"bg-danger text-white": c.context.index === l.value && i.severity === "danger",
|
|
2389
|
+
"bg-info text-white": c.context.index === l.value && i.severity === "info"
|
|
2391
2390
|
}
|
|
2392
2391
|
]
|
|
2393
2392
|
}),
|
|
@@ -2395,61 +2394,61 @@ const bt = { key: 0 }, ft = {
|
|
|
2395
2394
|
class: [
|
|
2396
2395
|
"h5",
|
|
2397
2396
|
{
|
|
2398
|
-
"border-bottom border-2 border-primary": c.context.index ===
|
|
2399
|
-
"border-bottom border-2 border-brand": c.context.index ===
|
|
2400
|
-
"border-bottom border-2 border-secondary": c.context.index ===
|
|
2401
|
-
"border-bottom border-2 border-success": c.context.index ===
|
|
2402
|
-
"border-bottom border-2 border-warning": c.context.index ===
|
|
2403
|
-
"border-bottom border-2 border-danger": c.context.index ===
|
|
2404
|
-
"border-bottom border-2 border-info": c.context.index ===
|
|
2397
|
+
"border-bottom border-2 border-primary": c.context.index === l.value && (i.severity === void 0 || i.severity === "primary"),
|
|
2398
|
+
"border-bottom border-2 border-brand": c.context.index === l.value && i.severity === "brand",
|
|
2399
|
+
"border-bottom border-2 border-secondary": c.context.index === l.value && i.severity === "secondary",
|
|
2400
|
+
"border-bottom border-2 border-success": c.context.index === l.value && i.severity === "success",
|
|
2401
|
+
"border-bottom border-2 border-warning": c.context.index === l.value && i.severity === "warning",
|
|
2402
|
+
"border-bottom border-2 border-danger": c.context.index === l.value && i.severity === "danger",
|
|
2403
|
+
"border-bottom border-2 border-info": c.context.index === l.value && i.severity === "info"
|
|
2405
2404
|
}
|
|
2406
2405
|
]
|
|
2407
2406
|
})
|
|
2408
2407
|
}));
|
|
2409
2408
|
return (c, v) => {
|
|
2410
|
-
const
|
|
2411
|
-
return
|
|
2412
|
-
m("div",
|
|
2413
|
-
|
|
2414
|
-
severity:
|
|
2415
|
-
disabled:
|
|
2416
|
-
onClick:
|
|
2409
|
+
const n = A, j = Ae, S = qe;
|
|
2410
|
+
return p(), x("div", tt, [
|
|
2411
|
+
m("div", it, [
|
|
2412
|
+
f(n, {
|
|
2413
|
+
severity: i.severity,
|
|
2414
|
+
disabled: s.value,
|
|
2415
|
+
onClick: o,
|
|
2417
2416
|
class: "rounded-circle py-2 me-4",
|
|
2418
2417
|
"data-cy": "back-button"
|
|
2419
2418
|
}, {
|
|
2420
2419
|
default: g(() => [
|
|
2421
|
-
|
|
2420
|
+
f(u(_), {
|
|
2422
2421
|
icon: "bi:chevron-left",
|
|
2423
2422
|
class: "mb-1"
|
|
2424
2423
|
})
|
|
2425
2424
|
]),
|
|
2426
2425
|
_: 1
|
|
2427
2426
|
}, 8, ["severity", "disabled"]),
|
|
2428
|
-
|
|
2429
|
-
"active-step":
|
|
2430
|
-
"onUpdate:activeStep": v[0] || (v[0] = (
|
|
2431
|
-
model:
|
|
2432
|
-
pt:
|
|
2427
|
+
f(j, {
|
|
2428
|
+
"active-step": l.value,
|
|
2429
|
+
"onUpdate:activeStep": v[0] || (v[0] = (V) => l.value = V),
|
|
2430
|
+
model: i.model,
|
|
2431
|
+
pt: d.value,
|
|
2433
2432
|
readonly: !1
|
|
2434
2433
|
}, null, 8, ["active-step", "model", "pt"])
|
|
2435
2434
|
]),
|
|
2436
|
-
|
|
2437
|
-
(
|
|
2438
|
-
key:
|
|
2435
|
+
f(S, { class: "m-4" }),
|
|
2436
|
+
(p(!0), x(q, null, W(i.model, (V, D) => (p(), x("div", {
|
|
2437
|
+
key: D,
|
|
2439
2438
|
class: "w-100"
|
|
2440
2439
|
}, [
|
|
2441
|
-
|
|
2440
|
+
D === l.value ? $(c.$slots, V.key ?? V.label, {
|
|
2442
2441
|
key: 0,
|
|
2443
2442
|
nextStep: r,
|
|
2444
|
-
previousStep:
|
|
2443
|
+
previousStep: o
|
|
2445
2444
|
}, () => [
|
|
2446
|
-
|
|
2445
|
+
f(re, {
|
|
2447
2446
|
severity: "info",
|
|
2448
2447
|
"data-cy": "alert"
|
|
2449
2448
|
}, {
|
|
2450
2449
|
default: g(() => [
|
|
2451
|
-
|
|
2452
|
-
|
|
2450
|
+
P(" Please add Slot Content for the key " + h(V.key ?? V.label) + " ", 1),
|
|
2451
|
+
f(n, {
|
|
2453
2452
|
severity: "primary",
|
|
2454
2453
|
label: "Next",
|
|
2455
2454
|
onClick: r,
|
|
@@ -2458,12 +2457,12 @@ const bt = { key: 0 }, ft = {
|
|
|
2458
2457
|
]),
|
|
2459
2458
|
_: 2
|
|
2460
2459
|
}, 1024)
|
|
2461
|
-
]) :
|
|
2460
|
+
]) : C("", !0)
|
|
2462
2461
|
]))), 128))
|
|
2463
2462
|
]);
|
|
2464
2463
|
};
|
|
2465
2464
|
}
|
|
2466
|
-
}),
|
|
2465
|
+
}), lt = { class: "p-4 text-wrap w-100" }, ot = { class: "p-4 text-wrap w-100" }, Li = /* @__PURE__ */ F({
|
|
2467
2466
|
__name: "ForgeTile",
|
|
2468
2467
|
props: {
|
|
2469
2468
|
severity: { default: "primary" },
|
|
@@ -2472,48 +2471,48 @@ const bt = { key: 0 }, ft = {
|
|
|
2472
2471
|
selected: { type: Boolean, default: !1 }
|
|
2473
2472
|
},
|
|
2474
2473
|
setup(e) {
|
|
2475
|
-
const
|
|
2476
|
-
return (
|
|
2477
|
-
const r =
|
|
2478
|
-
return
|
|
2474
|
+
const a = e, t = k(() => `${a.severity === void 0 ? "tile-primary" : `tile-${a.severity}`} ${a.barPosition === "none" ? "" : `tile-bar-${a.barPosition}`} ${a.selected ? "selected" : ""}`), i = k(() => `${a.severity === void 0 ? "tile-primary border-primary" : `tile-${a.severity} border-${a.severity}`} ${a.barPosition === "none" ? "" : `tile-bar-${a.barPosition}`} ${a.selected ? "selected" : ""}`);
|
|
2475
|
+
return (l, o) => {
|
|
2476
|
+
const r = A;
|
|
2477
|
+
return a.clickable ? (p(), w(r, {
|
|
2479
2478
|
key: 0,
|
|
2480
|
-
class: B(["d-flex w-100 p-0 text-body",
|
|
2481
|
-
severity:
|
|
2479
|
+
class: B(["d-flex w-100 p-0 text-body", t.value]),
|
|
2480
|
+
severity: a.severity,
|
|
2482
2481
|
unstyled: "",
|
|
2483
2482
|
"data-cy": "button-tile"
|
|
2484
2483
|
}, {
|
|
2485
2484
|
default: g(() => [
|
|
2486
|
-
m("div",
|
|
2487
|
-
$(
|
|
2488
|
-
|
|
2485
|
+
m("div", lt, [
|
|
2486
|
+
$(l.$slots, "default", {}, () => [
|
|
2487
|
+
o[0] || (o[0] = P("Tile Content"))
|
|
2489
2488
|
])
|
|
2490
2489
|
])
|
|
2491
2490
|
]),
|
|
2492
2491
|
_: 3
|
|
2493
|
-
}, 8, ["severity", "class"])) : (
|
|
2492
|
+
}, 8, ["severity", "class"])) : (p(), x("div", {
|
|
2494
2493
|
key: 1,
|
|
2495
|
-
class: B(["d-flex w-100",
|
|
2494
|
+
class: B(["d-flex w-100", i.value]),
|
|
2496
2495
|
"data-cy": "tile"
|
|
2497
2496
|
}, [
|
|
2498
|
-
m("div",
|
|
2499
|
-
$(
|
|
2500
|
-
|
|
2497
|
+
m("div", ot, [
|
|
2498
|
+
$(l.$slots, "default", {}, () => [
|
|
2499
|
+
o[1] || (o[1] = P("Tile Content"))
|
|
2501
2500
|
])
|
|
2502
2501
|
])
|
|
2503
2502
|
], 2));
|
|
2504
2503
|
};
|
|
2505
2504
|
}
|
|
2506
2505
|
});
|
|
2507
|
-
function
|
|
2508
|
-
return e > 1 ? `${
|
|
2506
|
+
function te(e, a) {
|
|
2507
|
+
return e > 1 ? `${a}s` : a;
|
|
2509
2508
|
}
|
|
2510
|
-
const
|
|
2509
|
+
const nt = {
|
|
2511
2510
|
class: "d-flex justify-content-start align-items-baseline",
|
|
2512
2511
|
"data-cy": "pagination-header"
|
|
2513
|
-
},
|
|
2512
|
+
}, st = { class: "ms-2" }, rt = { key: 0 }, pt = {
|
|
2514
2513
|
class: "w-auto",
|
|
2515
2514
|
"data-cy": "total"
|
|
2516
|
-
},
|
|
2515
|
+
}, dt = /* @__PURE__ */ F({
|
|
2517
2516
|
__name: "ForgePaginationHeader",
|
|
2518
2517
|
props: {
|
|
2519
2518
|
total: {},
|
|
@@ -2521,33 +2520,33 @@ const Qt = {
|
|
|
2521
2520
|
perPage: { default: 10 }
|
|
2522
2521
|
},
|
|
2523
2522
|
emits: ["update:perPage"],
|
|
2524
|
-
setup(e, { emit:
|
|
2525
|
-
const
|
|
2526
|
-
|
|
2527
|
-
},
|
|
2528
|
-
const r = Math.ceil(
|
|
2529
|
-
return `${r} ${
|
|
2523
|
+
setup(e, { emit: a }) {
|
|
2524
|
+
const t = a, i = e, l = (r) => {
|
|
2525
|
+
t("update:perPage", r.value);
|
|
2526
|
+
}, o = k(() => {
|
|
2527
|
+
const r = Math.ceil(i.total / i.perPage);
|
|
2528
|
+
return `${r} ${te(r, "page")}`;
|
|
2530
2529
|
});
|
|
2531
|
-
return (r,
|
|
2532
|
-
|
|
2533
|
-
m("div",
|
|
2534
|
-
|
|
2535
|
-
options:
|
|
2536
|
-
"model-value":
|
|
2530
|
+
return (r, s) => (p(), x("div", nt, [
|
|
2531
|
+
s[2] || (s[2] = P(" Number of results per page ")),
|
|
2532
|
+
m("div", st, [
|
|
2533
|
+
f(u(se), {
|
|
2534
|
+
options: i.pageSizes,
|
|
2535
|
+
"model-value": i.perPage,
|
|
2537
2536
|
class: "page-size",
|
|
2538
|
-
onChange:
|
|
2537
|
+
onChange: s[0] || (s[0] = (d) => l(d))
|
|
2539
2538
|
}, null, 8, ["options", "model-value"])
|
|
2540
2539
|
]),
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
m("span",
|
|
2544
|
-
])) :
|
|
2540
|
+
i.total ? (p(), x("div", rt, [
|
|
2541
|
+
s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
|
|
2542
|
+
m("span", pt, h(i.total) + " " + h(u(te)(i.total, "result")) + " across " + h(o.value), 1)
|
|
2543
|
+
])) : C("", !0)
|
|
2545
2544
|
]));
|
|
2546
2545
|
}
|
|
2547
|
-
}),
|
|
2546
|
+
}), ct = { class: "position-relative" }, mt = { "data-cy": "above-table-slot" }, ut = { class: "d-flex w-100" }, vt = {
|
|
2548
2547
|
class: "mx-auto",
|
|
2549
2548
|
"data-cy": "empty-message"
|
|
2550
|
-
},
|
|
2549
|
+
}, ft = { class: "d-flex" }, xt = { class: "d-flex align-items-end mb-2" }, bt = { key: 0 }, gt = { class: "ms-auto" }, Ni = /* @__PURE__ */ F({
|
|
2551
2550
|
__name: "ForgeTable",
|
|
2552
2551
|
props: {
|
|
2553
2552
|
value: {},
|
|
@@ -2628,22 +2627,22 @@ const Qt = {
|
|
|
2628
2627
|
unstyled: { type: Boolean }
|
|
2629
2628
|
},
|
|
2630
2629
|
emits: ["update:filters", "update:tableContext", "sort", "page"],
|
|
2631
|
-
setup(e, { emit:
|
|
2632
|
-
const
|
|
2633
|
-
filters:
|
|
2630
|
+
setup(e, { emit: a }) {
|
|
2631
|
+
const t = a, i = e, l = T(), o = T([5, 10, 20, 50, 100]), r = T(5), s = T({
|
|
2632
|
+
filters: i.filters,
|
|
2634
2633
|
perPage: r.value,
|
|
2635
2634
|
page: 0,
|
|
2636
2635
|
sortDirection: "None",
|
|
2637
2636
|
sortField: "",
|
|
2638
|
-
total:
|
|
2639
|
-
}),
|
|
2640
|
-
const
|
|
2641
|
-
return `${
|
|
2637
|
+
total: i.totalRecords ?? i.value.length
|
|
2638
|
+
}), d = k(() => i.totalRecords ?? i.value.length), c = k(() => {
|
|
2639
|
+
const b = Math.ceil(d.value / r.value);
|
|
2640
|
+
return `${b} ${te(b, "page")}`;
|
|
2642
2641
|
}), v = k(() => ({
|
|
2643
2642
|
thead: () => ({
|
|
2644
2643
|
class: [
|
|
2645
2644
|
{
|
|
2646
|
-
"sticky-header":
|
|
2645
|
+
"sticky-header": i.stickyHeader
|
|
2647
2646
|
}
|
|
2648
2647
|
],
|
|
2649
2648
|
style: "position: "
|
|
@@ -2652,162 +2651,162 @@ const Qt = {
|
|
|
2652
2651
|
class: [
|
|
2653
2652
|
"spinner-border border-0",
|
|
2654
2653
|
{
|
|
2655
|
-
"text-brand":
|
|
2656
|
-
"text-primary":
|
|
2657
|
-
"text-success":
|
|
2658
|
-
"text-warning":
|
|
2659
|
-
"text-danger":
|
|
2660
|
-
"text-info":
|
|
2654
|
+
"text-brand": i.severity === "brand",
|
|
2655
|
+
"text-primary": i.severity === "primary",
|
|
2656
|
+
"text-success": i.severity === "success",
|
|
2657
|
+
"text-warning": i.severity === "warning",
|
|
2658
|
+
"text-danger": i.severity === "danger",
|
|
2659
|
+
"text-info": i.severity === "info"
|
|
2661
2660
|
}
|
|
2662
2661
|
]
|
|
2663
2662
|
})
|
|
2664
|
-
})),
|
|
2665
|
-
if (
|
|
2666
|
-
|
|
2663
|
+
})), n = () => {
|
|
2664
|
+
if (i.clearAll)
|
|
2665
|
+
i.clearAll();
|
|
2667
2666
|
else
|
|
2668
|
-
for (const
|
|
2669
|
-
typeof
|
|
2670
|
-
|
|
2671
|
-
},
|
|
2672
|
-
|
|
2673
|
-
}, S = (
|
|
2674
|
-
var
|
|
2675
|
-
|
|
2676
|
-
},
|
|
2677
|
-
|
|
2678
|
-
},
|
|
2679
|
-
|
|
2680
|
-
},
|
|
2681
|
-
|
|
2667
|
+
for (const b in i.filters)
|
|
2668
|
+
typeof i.filters[b] == "string" ? i.filters[b] = "" : i.filters[b].value = null;
|
|
2669
|
+
V(i.filters);
|
|
2670
|
+
}, j = () => {
|
|
2671
|
+
l.value.exportCSV();
|
|
2672
|
+
}, S = (b) => {
|
|
2673
|
+
var y;
|
|
2674
|
+
s.value.sortDirection = b.sortOrder === 1 ? "Asc" : b.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((y = b.sortField) == null ? void 0 : y.toString()) ?? "", t("update:tableContext", s.value), t("sort", b);
|
|
2675
|
+
}, V = (b) => {
|
|
2676
|
+
s.value.filters = b, t("update:tableContext", s.value), t("update:filters", b);
|
|
2677
|
+
}, D = (b) => {
|
|
2678
|
+
s.value.page = b.page, t("update:tableContext", s.value), t("page", b);
|
|
2679
|
+
}, M = () => {
|
|
2680
|
+
s.value.perPage = r.value, t("update:tableContext", s.value);
|
|
2682
2681
|
};
|
|
2683
|
-
return
|
|
2684
|
-
|
|
2685
|
-
}, { deep: !0 }),
|
|
2686
|
-
m("span",
|
|
2687
|
-
$(
|
|
2682
|
+
return xe(() => i.filters, (b) => {
|
|
2683
|
+
s.value.filters = b, t("update:tableContext", s.value);
|
|
2684
|
+
}, { deep: !0 }), ne(() => t("update:tableContext", s.value)), (b, y) => (p(), x("div", ct, [
|
|
2685
|
+
m("span", mt, [
|
|
2686
|
+
$(b.$slots, "above-table")
|
|
2688
2687
|
]),
|
|
2689
|
-
|
|
2690
|
-
class: ["w-100", `${
|
|
2691
|
-
}, { ...
|
|
2688
|
+
f(u(Ee), z({
|
|
2689
|
+
class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
|
|
2690
|
+
}, { ...i, ...b.$attrs }, {
|
|
2692
2691
|
pt: v.value,
|
|
2693
2692
|
rows: r.value,
|
|
2694
|
-
"total-records":
|
|
2695
|
-
"filter-display":
|
|
2693
|
+
"total-records": d.value,
|
|
2694
|
+
"filter-display": i.filters ? "row" : void 0,
|
|
2696
2695
|
ref_key: "forgeTable",
|
|
2697
|
-
ref:
|
|
2696
|
+
ref: l,
|
|
2698
2697
|
"data-cy": "table",
|
|
2699
|
-
"onUpdate:filters":
|
|
2698
|
+
"onUpdate:filters": V,
|
|
2700
2699
|
onSort: S,
|
|
2701
|
-
onPage:
|
|
2702
|
-
}),
|
|
2700
|
+
onPage: D
|
|
2701
|
+
}), oe({
|
|
2703
2702
|
empty: g(() => [
|
|
2704
|
-
m("div",
|
|
2705
|
-
m("h5",
|
|
2703
|
+
m("div", ut, [
|
|
2704
|
+
m("h5", vt, h(b.emptyMessage ?? "No items Found."), 1)
|
|
2706
2705
|
])
|
|
2707
2706
|
]),
|
|
2708
2707
|
header: g(() => [
|
|
2709
2708
|
m("div", {
|
|
2710
|
-
class: B(
|
|
2709
|
+
class: B(i.loading ? "opacity-50" : "")
|
|
2711
2710
|
}, [
|
|
2712
|
-
m("div",
|
|
2713
|
-
m("div",
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
total:
|
|
2717
|
-
"page-sizes":
|
|
2711
|
+
m("div", ft, [
|
|
2712
|
+
m("div", xt, [
|
|
2713
|
+
b.paginator && !b.legacyPaginationFooter ? (p(), x("span", bt, [
|
|
2714
|
+
f(dt, {
|
|
2715
|
+
total: d.value,
|
|
2716
|
+
"page-sizes": o.value,
|
|
2718
2717
|
"per-page": r.value,
|
|
2719
2718
|
"onUpdate:perPage": [
|
|
2720
|
-
|
|
2721
|
-
|
|
2719
|
+
y[0] || (y[0] = (R) => r.value = R),
|
|
2720
|
+
M
|
|
2722
2721
|
]
|
|
2723
2722
|
}, null, 8, ["total", "page-sizes", "per-page"])
|
|
2724
|
-
])) :
|
|
2723
|
+
])) : C("", !0)
|
|
2725
2724
|
]),
|
|
2726
|
-
m("div",
|
|
2727
|
-
|
|
2725
|
+
m("div", gt, [
|
|
2726
|
+
b.showClearButton ? (p(), w(u(A), {
|
|
2728
2727
|
key: 0,
|
|
2729
2728
|
outlined: "",
|
|
2730
|
-
class: B(
|
|
2731
|
-
onClick:
|
|
2729
|
+
class: B(b.showExporterButton ? "me-2" : ""),
|
|
2730
|
+
onClick: n,
|
|
2732
2731
|
"data-cy": "clear-all"
|
|
2733
2732
|
}, {
|
|
2734
2733
|
default: g(() => [
|
|
2735
|
-
|
|
2734
|
+
f(u(_), {
|
|
2736
2735
|
icon: "bi:funnel-fill",
|
|
2737
2736
|
width: "24",
|
|
2738
2737
|
height: "24"
|
|
2739
2738
|
}),
|
|
2740
|
-
|
|
2739
|
+
y[2] || (y[2] = P(" Clear "))
|
|
2741
2740
|
]),
|
|
2742
2741
|
_: 1
|
|
2743
|
-
}, 8, ["class"])) :
|
|
2744
|
-
|
|
2742
|
+
}, 8, ["class"])) : C("", !0),
|
|
2743
|
+
b.showExporterButton ? (p(), w(u(A), {
|
|
2745
2744
|
key: 1,
|
|
2746
2745
|
outlined: "",
|
|
2747
|
-
onClick:
|
|
2746
|
+
onClick: j,
|
|
2748
2747
|
"data-cy": "exporter"
|
|
2749
2748
|
}, {
|
|
2750
2749
|
default: g(() => [
|
|
2751
|
-
|
|
2750
|
+
f(u(_), {
|
|
2752
2751
|
icon: "typcn:export",
|
|
2753
2752
|
width: "24",
|
|
2754
2753
|
height: "24"
|
|
2755
2754
|
}),
|
|
2756
|
-
|
|
2755
|
+
y[3] || (y[3] = P(" Export "))
|
|
2757
2756
|
]),
|
|
2758
2757
|
_: 1
|
|
2759
|
-
})) :
|
|
2760
|
-
$(
|
|
2758
|
+
})) : C("", !0),
|
|
2759
|
+
$(b.$slots, "column-customiser")
|
|
2761
2760
|
])
|
|
2762
2761
|
])
|
|
2763
2762
|
], 2)
|
|
2764
2763
|
]),
|
|
2765
2764
|
default: g(() => [
|
|
2766
|
-
$(
|
|
2765
|
+
$(b.$slots, "default")
|
|
2767
2766
|
]),
|
|
2768
2767
|
_: 2
|
|
2769
2768
|
}, [
|
|
2770
|
-
|
|
2769
|
+
W(b.$slots, (R, Z) => ({
|
|
2771
2770
|
name: Z,
|
|
2772
|
-
fn: g((
|
|
2773
|
-
$(
|
|
2771
|
+
fn: g((pe) => [
|
|
2772
|
+
$(b.$slots, Z, ie(le(pe || {})))
|
|
2774
2773
|
])
|
|
2775
2774
|
})),
|
|
2776
|
-
|
|
2775
|
+
b.legacyPaginationFooter ? {
|
|
2777
2776
|
name: "paginatorstart",
|
|
2778
2777
|
fn: g(() => [
|
|
2779
2778
|
m("span", {
|
|
2780
|
-
class: B(["d-flex",
|
|
2779
|
+
class: B(["d-flex", i.loading ? "opacity-50" : ""]),
|
|
2781
2780
|
"data-cy": "legacy-page-size"
|
|
2782
2781
|
}, [
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
options:
|
|
2782
|
+
y[4] || (y[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
|
|
2783
|
+
f(u(se), {
|
|
2784
|
+
options: o.value,
|
|
2786
2785
|
modelValue: r.value,
|
|
2787
|
-
"onUpdate:modelValue":
|
|
2786
|
+
"onUpdate:modelValue": y[1] || (y[1] = (R) => r.value = R),
|
|
2788
2787
|
class: "ms-2",
|
|
2789
|
-
onClick:
|
|
2788
|
+
onClick: M
|
|
2790
2789
|
}, null, 8, ["options", "modelValue"])
|
|
2791
2790
|
], 2)
|
|
2792
2791
|
]),
|
|
2793
2792
|
key: "0"
|
|
2794
2793
|
} : void 0,
|
|
2795
|
-
|
|
2794
|
+
b.legacyPaginationFooter ? {
|
|
2796
2795
|
name: "paginatorend",
|
|
2797
2796
|
fn: g(() => [
|
|
2798
2797
|
m("span", {
|
|
2799
2798
|
"data-cy": "legacy-total",
|
|
2800
|
-
class: B(
|
|
2801
|
-
}, h(
|
|
2799
|
+
class: B(i.loading ? "opacity-50" : "")
|
|
2800
|
+
}, h(d.value) + " " + h(u(te)(d.value, "result")) + " across " + h(c.value), 3)
|
|
2802
2801
|
]),
|
|
2803
2802
|
key: "1"
|
|
2804
2803
|
} : void 0
|
|
2805
2804
|
]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
|
|
2806
2805
|
]));
|
|
2807
2806
|
}
|
|
2808
|
-
}),
|
|
2807
|
+
}), yt = { class: "d-flex position-relative" }, ht = { class: "d-flex w-100" }, Ri = /* @__PURE__ */ F({
|
|
2809
2808
|
__name: "ForgeFilterHeader",
|
|
2810
|
-
props: /* @__PURE__ */
|
|
2809
|
+
props: /* @__PURE__ */ N({
|
|
2811
2810
|
dataType: {},
|
|
2812
2811
|
dropdownOptions: {},
|
|
2813
2812
|
showClearButton: { type: Boolean, default: !1 },
|
|
@@ -2820,56 +2819,56 @@ const Qt = {
|
|
|
2820
2819
|
}),
|
|
2821
2820
|
emits: ["update:modelValue"],
|
|
2822
2821
|
setup(e) {
|
|
2823
|
-
const
|
|
2824
|
-
if (!
|
|
2825
|
-
return
|
|
2826
|
-
const r = (
|
|
2822
|
+
const a = O(e, "modelValue"), t = (l, o) => {
|
|
2823
|
+
if (!l || Array.isArray(l) && l.length === 0)
|
|
2824
|
+
return o;
|
|
2825
|
+
const r = (s) => {
|
|
2827
2826
|
var c;
|
|
2828
|
-
const
|
|
2829
|
-
(v) => e.optionValue ? v[e.optionValue] ===
|
|
2827
|
+
const d = (c = e.dropdownOptions) == null ? void 0 : c.find(
|
|
2828
|
+
(v) => e.optionValue ? v[e.optionValue] === s : Object.keys(v).every((n) => s.hasOwnProperty(n) && v[n] === s[n])
|
|
2830
2829
|
);
|
|
2831
|
-
return e.optionLabel ?
|
|
2830
|
+
return e.optionLabel ? d[e.optionLabel] : d;
|
|
2832
2831
|
};
|
|
2833
|
-
return Array.isArray(
|
|
2834
|
-
},
|
|
2835
|
-
e.clearFilter ? e.clearFilter() :
|
|
2832
|
+
return Array.isArray(l) ? l.map(r).join(", ") : r(l);
|
|
2833
|
+
}, i = () => {
|
|
2834
|
+
e.clearFilter ? e.clearFilter() : a.value = null;
|
|
2836
2835
|
};
|
|
2837
|
-
return (
|
|
2838
|
-
const r =
|
|
2839
|
-
return
|
|
2840
|
-
|
|
2836
|
+
return (l, o) => {
|
|
2837
|
+
const r = ge, s = A;
|
|
2838
|
+
return p(), x("div", yt, [
|
|
2839
|
+
l.dataType === "numeric" ? (p(), w(r, z({
|
|
2841
2840
|
key: 0,
|
|
2842
|
-
modelValue:
|
|
2843
|
-
"onUpdate:modelValue":
|
|
2844
|
-
},
|
|
2841
|
+
modelValue: a.value,
|
|
2842
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => a.value = d)
|
|
2843
|
+
}, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (p(), w(ke, z({
|
|
2845
2844
|
key: 1,
|
|
2846
|
-
modelValue:
|
|
2847
|
-
"onUpdate:modelValue":
|
|
2848
|
-
},
|
|
2845
|
+
modelValue: a.value,
|
|
2846
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => a.value = d)
|
|
2847
|
+
}, l.$attrs, {
|
|
2849
2848
|
"show-icon": !1,
|
|
2850
2849
|
"show-on-focus": !0
|
|
2851
|
-
}), null, 16, ["modelValue"])) :
|
|
2850
|
+
}), null, 16, ["modelValue"])) : l.dataType === "select" ? (p(), w(u(se), z({
|
|
2852
2851
|
key: 2,
|
|
2853
|
-
modelValue:
|
|
2854
|
-
"onUpdate:modelValue":
|
|
2855
|
-
},
|
|
2856
|
-
options:
|
|
2857
|
-
"option-value":
|
|
2858
|
-
"option-label":
|
|
2852
|
+
modelValue: a.value,
|
|
2853
|
+
"onUpdate:modelValue": o[2] || (o[2] = (d) => a.value = d)
|
|
2854
|
+
}, l.$attrs, {
|
|
2855
|
+
options: l.dropdownOptions,
|
|
2856
|
+
"option-value": l.optionValue,
|
|
2857
|
+
"option-label": l.optionLabel
|
|
2859
2858
|
}), {
|
|
2860
|
-
value: g(({ value:
|
|
2861
|
-
m("div",
|
|
2859
|
+
value: g(({ value: d, placeholder: c }) => [
|
|
2860
|
+
m("div", ht, [
|
|
2862
2861
|
m("span", {
|
|
2863
|
-
class: B({ "filter-placeholder":
|
|
2864
|
-
}, h(
|
|
2865
|
-
|
|
2862
|
+
class: B({ "filter-placeholder": d === null })
|
|
2863
|
+
}, h(t(d, c)), 3),
|
|
2864
|
+
l.showClearButton && a.value !== null ? (p(), w(s, {
|
|
2866
2865
|
key: 0,
|
|
2867
|
-
onClick:
|
|
2866
|
+
onClick: G(i, ["prevent"]),
|
|
2868
2867
|
size: "small",
|
|
2869
2868
|
class: "bg-transparent border-0 ms-auto p-0 pe-1"
|
|
2870
2869
|
}, {
|
|
2871
2870
|
default: g(() => [
|
|
2872
|
-
|
|
2871
|
+
f(u(_), {
|
|
2873
2872
|
icon: "bi:x",
|
|
2874
2873
|
width: "1rem",
|
|
2875
2874
|
height: "1rem",
|
|
@@ -2877,33 +2876,33 @@ const Qt = {
|
|
|
2877
2876
|
})
|
|
2878
2877
|
]),
|
|
2879
2878
|
_: 1
|
|
2880
|
-
})) :
|
|
2879
|
+
})) : C("", !0)
|
|
2881
2880
|
])
|
|
2882
2881
|
]),
|
|
2883
2882
|
_: 1
|
|
2884
|
-
}, 16, ["modelValue", "options", "option-value", "option-label"])) :
|
|
2883
|
+
}, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (p(), w(u(me), z({
|
|
2885
2884
|
key: 3,
|
|
2886
|
-
modelValue:
|
|
2887
|
-
"onUpdate:modelValue":
|
|
2888
|
-
},
|
|
2889
|
-
options:
|
|
2885
|
+
modelValue: a.value,
|
|
2886
|
+
"onUpdate:modelValue": o[3] || (o[3] = (d) => a.value = d)
|
|
2887
|
+
}, l.$attrs, {
|
|
2888
|
+
options: l.dropdownOptions,
|
|
2890
2889
|
showToggleAll: !1,
|
|
2891
|
-
"option-label":
|
|
2892
|
-
"option-value":
|
|
2890
|
+
"option-label": l.optionLabel,
|
|
2891
|
+
"option-value": l.optionValue,
|
|
2893
2892
|
filter: ""
|
|
2894
|
-
}), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (
|
|
2893
|
+
}), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (p(), w(u(ce), z({
|
|
2895
2894
|
key: 4,
|
|
2896
|
-
modelValue:
|
|
2897
|
-
"onUpdate:modelValue":
|
|
2898
|
-
},
|
|
2899
|
-
|
|
2895
|
+
modelValue: a.value,
|
|
2896
|
+
"onUpdate:modelValue": o[4] || (o[4] = (d) => a.value = d)
|
|
2897
|
+
}, l.$attrs), null, 16, ["modelValue"])),
|
|
2898
|
+
l.showClearButton && a.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (p(), w(s, {
|
|
2900
2899
|
key: 5,
|
|
2901
|
-
onClick:
|
|
2900
|
+
onClick: G(i, ["prevent"]),
|
|
2902
2901
|
size: "small",
|
|
2903
2902
|
class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
|
|
2904
2903
|
}, {
|
|
2905
2904
|
default: g(() => [
|
|
2906
|
-
|
|
2905
|
+
f(u(_), {
|
|
2907
2906
|
icon: "bi:x",
|
|
2908
2907
|
width: "1rem",
|
|
2909
2908
|
height: "1rem",
|
|
@@ -2911,58 +2910,123 @@ const Qt = {
|
|
|
2911
2910
|
})
|
|
2912
2911
|
]),
|
|
2913
2912
|
_: 1
|
|
2914
|
-
})) :
|
|
2913
|
+
})) : C("", !0)
|
|
2915
2914
|
]);
|
|
2916
2915
|
};
|
|
2917
2916
|
}
|
|
2918
|
-
});
|
|
2919
|
-
|
|
2920
|
-
const a = t.flatMap((n) => n.file);
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2917
|
+
}), ue = { "application/prs.cww": ["cww"], "application/prs.xsf+xml": ["xsf"], "application/vnd.1000minds.decision-model+xml": ["1km"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["*xfdf"], "application/vnd.age": ["age"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.keynote": ["key"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.numbers": ["numbers"], "application/vnd.apple.pages": ["pages"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.balsamiq.bmml+xml": ["bmml"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.citationstyles.style+xml": ["csl"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dbf": ["dbf"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["*fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mapbox-vector-tile": ["mvt"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["*stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["*mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.ac+xml": ["*ac"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openblox.game+xml": ["obgx"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openstreetmap.data+xml": ["osm"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.pwg-xhtml-print+xml": ["xhtm"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.rar": ["rar"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.software602.filler.form+xml": ["fo"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.syncml.dmddf+xml": ["ddf"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml", "uo"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": ["*dmg"], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": ["*bdoc"], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["*deb", "udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": ["*iso"], "application/x-iwork-keynote-sffkey": ["*key"], "application/x-iwork-numbers-sffnumbers": ["*numbers"], "application/x-iwork-pages-sffpages": ["*pages"], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-keepass2": ["kdbx"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["*prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": ["*exe"], "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": ["*prc", "*pdb"], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["*rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["*sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["*obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["*xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/x-aac": ["*aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": ["*m4a"], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": ["*ra"], "audio/x-wav": ["*wav"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "image/prs.btif": ["btif", "btf"], "image/prs.pti": ["pti"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.airzip.accelerator.azv": ["azv"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": ["*sub"], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.microsoft.icon": ["ico"], "image/vnd.ms-dds": ["dds"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.pco.b16": ["b16"], "image/vnd.tencent.tap": ["tap"], "image/vnd.valve.source.texture": ["vtf"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/vnd.zbrush.pcx": ["pcx"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["*ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": ["*bmp"], "image/x-pcx": ["*pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/vnd.wfa.wsc": ["wsc"], "model/vnd.cld": ["cld"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["mts"], "model/vnd.opengex": ["ogex"], "model/vnd.parasolid.transmit.binary": ["x_b"], "model/vnd.parasolid.transmit.text": ["x_t"], "model/vnd.pytha.pyox": ["pyo", "pyox"], "model/vnd.sap.vds": ["vds"], "model/vnd.usda": ["usda"], "model/vnd.usdz+zip": ["usdz"], "model/vnd.valve.source.compiled-map": ["bsp"], "model/vnd.vtu": ["vtu"], "text/prs.lines.tag": ["dsc"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.familysearch.gedcom": ["ged"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": ["*org"], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
|
|
2918
|
+
Object.freeze(ue);
|
|
2919
|
+
const ve = { "application/andrew-inset": ["ez"], "application/appinstaller": ["appinstaller"], "application/applixware": ["aw"], "application/appx": ["appx"], "application/appxbundle": ["appxbundle"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/automationml-aml+xml": ["aml"], "application/automationml-amlx+zip": ["amlx"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cpl+xml": ["cpl"], "application/cu-seeme": ["cu"], "application/cwl": ["cwl"], "application/dash+xml": ["mpd"], "application/dash-patch+xml": ["mpp"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/express": ["exp"], "application/fdf": ["fdf"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["*js"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/media-policy-dataset+xml": ["mpf"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"], "application/msix": ["msix"], "application/msixbundle": ["msixbundle"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-keys": ["asc"], "application/pgp-signature": ["sig", "*asc"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/sql": ["sql"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/trig": ["trig"], "application/ttml+xml": ["ttml"], "application/ubjson": ["ubj"], "application/urc-ressheet+xml": ["rsheet"], "application/urc-targetdesc+xml": ["td"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/watcherinfo+xml": ["wif"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xfdf": ["xfdf"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["*xsl", "xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/aac": ["adts", "aac"], "audio/adpcm": ["adp"], "audio/amr": ["amr"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx", "opus"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/avci": ["avci"], "image/avcs": ["avcs"], "image/avif": ["avif"], "image/bmp": ["bmp", "dib"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/dpx": ["dpx"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm", "jpgm"], "image/jpx": ["jpx", "jpf"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/ktx2": ["ktx2"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/jt": ["jt"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/prc": ["prc"], "model/step+xml": ["stpx"], "model/step+zip": ["stpz"], "model/step-xml+zip": ["stpxz"], "model/stl": ["stl"], "model/u3d": ["u3d"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/javascript": ["js", "mjs"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["md", "markdown"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/spdx": ["spdx"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/wgsl": ["wgsl"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/iso.segment": ["m4s"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "*jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] };
|
|
2920
|
+
Object.freeze(ve);
|
|
2921
|
+
var L = function(e, a, t, i) {
|
|
2922
|
+
if (t === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
|
|
2923
|
+
if (typeof a == "function" ? e !== a || !i : !a.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
2924
|
+
return t === "m" ? i : t === "a" ? i.call(e) : i ? i.value : a.get(e);
|
|
2925
|
+
}, J, ee, K;
|
|
2926
|
+
class $e {
|
|
2927
|
+
constructor(...a) {
|
|
2928
|
+
J.set(this, /* @__PURE__ */ new Map()), ee.set(this, /* @__PURE__ */ new Map()), K.set(this, /* @__PURE__ */ new Map());
|
|
2929
|
+
for (const t of a)
|
|
2930
|
+
this.define(t);
|
|
2931
|
+
}
|
|
2932
|
+
define(a, t = !1) {
|
|
2933
|
+
for (let [i, l] of Object.entries(a)) {
|
|
2934
|
+
i = i.toLowerCase(), l = l.map((s) => s.toLowerCase()), L(this, K, "f").has(i) || L(this, K, "f").set(i, /* @__PURE__ */ new Set());
|
|
2935
|
+
const o = L(this, K, "f").get(i);
|
|
2936
|
+
let r = !0;
|
|
2937
|
+
for (let s of l) {
|
|
2938
|
+
const d = s.startsWith("*");
|
|
2939
|
+
if (s = d ? s.slice(1) : s, o == null || o.add(s), r && L(this, ee, "f").set(i, s), r = !1, d)
|
|
2940
|
+
continue;
|
|
2941
|
+
const c = L(this, J, "f").get(s);
|
|
2942
|
+
if (c && c != i && !t)
|
|
2943
|
+
throw new Error(`"${i} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);
|
|
2944
|
+
L(this, J, "f").set(s, i);
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
return this;
|
|
2948
|
+
}
|
|
2949
|
+
getType(a) {
|
|
2950
|
+
if (typeof a != "string")
|
|
2951
|
+
return null;
|
|
2952
|
+
const t = a.replace(/^.*[/\\]/, "").toLowerCase(), i = t.replace(/^.*\./, "").toLowerCase(), l = t.length < a.length;
|
|
2953
|
+
return !(i.length < t.length - 1) && l ? null : L(this, J, "f").get(i) ?? null;
|
|
2954
|
+
}
|
|
2955
|
+
getExtension(a) {
|
|
2956
|
+
var t;
|
|
2957
|
+
return typeof a != "string" ? null : (a = (t = a == null ? void 0 : a.split) == null ? void 0 : t.call(a, ";")[0], (a && L(this, ee, "f").get(a.trim().toLowerCase())) ?? null);
|
|
2958
|
+
}
|
|
2959
|
+
getAllExtensions(a) {
|
|
2960
|
+
return typeof a != "string" ? null : L(this, K, "f").get(a.toLowerCase()) ?? null;
|
|
2961
|
+
}
|
|
2962
|
+
_freeze() {
|
|
2963
|
+
this.define = () => {
|
|
2964
|
+
throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
|
|
2965
|
+
}, Object.freeze(this);
|
|
2966
|
+
for (const a of L(this, K, "f").values())
|
|
2967
|
+
Object.freeze(a);
|
|
2968
|
+
return this;
|
|
2969
|
+
}
|
|
2970
|
+
_getTestState() {
|
|
2971
|
+
return {
|
|
2972
|
+
types: L(this, J, "f"),
|
|
2973
|
+
extensions: L(this, ee, "f")
|
|
2974
|
+
};
|
|
2975
|
+
}
|
|
2976
|
+
}
|
|
2977
|
+
J = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap();
|
|
2978
|
+
new $e(ve, ue)._freeze();
|
|
2979
|
+
function Be(e, a, t, i) {
|
|
2980
|
+
const l = a.flatMap((o) => o.file);
|
|
2981
|
+
return a = a.map((o) => ({ ...o, status: o.status == "Duplicate" ? "Not Uploaded" : o.status })), e.forEach((o) => {
|
|
2982
|
+
const r = l.findIndex((d) => d.name === o.name);
|
|
2983
|
+
let s = "Not Uploaded";
|
|
2984
|
+
r === -1 ? ((!t.includes(o.type) || !(o.size <= i)) && (s = t.includes(o.type) ? "InvalidFileSize" : "InvalidFileType"), a.unshift({
|
|
2985
|
+
file: o,
|
|
2986
|
+
status: s,
|
|
2927
2987
|
blobFileName: null
|
|
2928
|
-
})) :
|
|
2929
|
-
}),
|
|
2988
|
+
})) : a[r].status = "Duplicate";
|
|
2989
|
+
}), a;
|
|
2930
2990
|
}
|
|
2931
|
-
async function
|
|
2932
|
-
if (e === "Uploaded" &&
|
|
2991
|
+
async function wt(e, a) {
|
|
2992
|
+
if (e === "Uploaded" && a !== null)
|
|
2933
2993
|
try {
|
|
2934
|
-
await new
|
|
2935
|
-
} catch (
|
|
2936
|
-
if (
|
|
2994
|
+
await new ye(a).delete();
|
|
2995
|
+
} catch (t) {
|
|
2996
|
+
if (t !== "BlobNotFound") {
|
|
2937
2997
|
e = "DeleteFileFailed";
|
|
2938
2998
|
return;
|
|
2939
2999
|
}
|
|
2940
3000
|
}
|
|
2941
3001
|
}
|
|
2942
|
-
function
|
|
2943
|
-
const
|
|
2944
|
-
if (Math.abs(e) <
|
|
3002
|
+
function fe(e, a = !0, t = 1) {
|
|
3003
|
+
const i = a ? 1e3 : 1024;
|
|
3004
|
+
if (Math.abs(e) < i)
|
|
2945
3005
|
return e + " B";
|
|
2946
|
-
const
|
|
2947
|
-
let
|
|
2948
|
-
const r = 10 **
|
|
3006
|
+
const l = a ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
|
|
3007
|
+
let o = -1;
|
|
3008
|
+
const r = 10 ** t;
|
|
2949
3009
|
do
|
|
2950
|
-
e /=
|
|
2951
|
-
while (Math.round(Math.abs(e) * r) / r >=
|
|
2952
|
-
return e.toFixed(
|
|
3010
|
+
e /= i, ++o;
|
|
3011
|
+
while (Math.round(Math.abs(e) * r) / r >= i && o < l.length - 1);
|
|
3012
|
+
return e.toFixed(t) + " " + l[o];
|
|
2953
3013
|
}
|
|
2954
|
-
function
|
|
3014
|
+
function kt(e) {
|
|
2955
3015
|
return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
|
|
2956
3016
|
}
|
|
2957
|
-
function
|
|
3017
|
+
function $t(e) {
|
|
2958
3018
|
return URL.createObjectURL(e);
|
|
2959
3019
|
}
|
|
2960
|
-
|
|
3020
|
+
function Bt() {
|
|
3021
|
+
const e = new $e(ve, ue);
|
|
3022
|
+
return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
|
|
3023
|
+
}
|
|
3024
|
+
const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disabled", "multiple"], _t = {
|
|
2961
3025
|
class: "text-break accepted-file-types-container",
|
|
2962
3026
|
id: "accepted-file-types-overlay"
|
|
2963
|
-
},
|
|
3027
|
+
}, jt = /* @__PURE__ */ F({
|
|
2964
3028
|
__name: "UploadButton",
|
|
2965
|
-
props: /* @__PURE__ */
|
|
3029
|
+
props: /* @__PURE__ */ N({
|
|
2966
3030
|
acceptedFileTypes: {},
|
|
2967
3031
|
maxFileInput: {},
|
|
2968
3032
|
showDragDropArea: { type: Boolean }
|
|
@@ -2972,12 +3036,12 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
2972
3036
|
}),
|
|
2973
3037
|
emits: ["update:modelValue"],
|
|
2974
3038
|
setup(e) {
|
|
2975
|
-
const
|
|
2976
|
-
|
|
3039
|
+
const a = O(e, "modelValue"), t = T(), i = (r) => t.value.toggle(r), l = k(() => e.maxFileInput <= a.value.length), o = (r) => {
|
|
3040
|
+
a.value = Be(r, a.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
|
|
2977
3041
|
};
|
|
2978
|
-
return (r,
|
|
2979
|
-
const
|
|
2980
|
-
return
|
|
3042
|
+
return (r, s) => {
|
|
3043
|
+
const d = A;
|
|
3044
|
+
return p(), x("div", Ft, [
|
|
2981
3045
|
$(r.$slots, "message"),
|
|
2982
3046
|
m("div", null, [
|
|
2983
3047
|
m("input", {
|
|
@@ -2985,60 +3049,60 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
2985
3049
|
type: "file",
|
|
2986
3050
|
class: "d-none",
|
|
2987
3051
|
accept: r.acceptedFileTypes.join(", "),
|
|
2988
|
-
disabled:
|
|
3052
|
+
disabled: l.value,
|
|
2989
3053
|
multiple: r.maxFileInput > 1,
|
|
2990
|
-
onInput:
|
|
2991
|
-
}, null, 40,
|
|
3054
|
+
onInput: s[0] || (s[0] = (c) => o([...c.target.files]))
|
|
3055
|
+
}, null, 40, zt),
|
|
2992
3056
|
m("label", {
|
|
2993
|
-
class: B([{ disabled:
|
|
3057
|
+
class: B([{ disabled: l.value }, "btn btn-primary"]),
|
|
2994
3058
|
id: "file-input-button",
|
|
2995
3059
|
for: "file-input"
|
|
2996
3060
|
}, [
|
|
2997
3061
|
$(r.$slots, "button-content", {}, () => [
|
|
2998
|
-
|
|
3062
|
+
f(u(_), {
|
|
2999
3063
|
icon: "bi:upload",
|
|
3000
3064
|
class: "me-2",
|
|
3001
3065
|
height: "20px",
|
|
3002
3066
|
width: "20px"
|
|
3003
3067
|
}),
|
|
3004
|
-
|
|
3068
|
+
s[1] || (s[1] = P(" Browse your computer "))
|
|
3005
3069
|
])
|
|
3006
3070
|
], 2)
|
|
3007
3071
|
]),
|
|
3008
|
-
r.showDragDropArea ? (
|
|
3072
|
+
r.showDragDropArea ? (p(), w(d, {
|
|
3009
3073
|
link: "",
|
|
3010
3074
|
class: "ms-auto",
|
|
3011
3075
|
key: r.acceptedFileTypes.length,
|
|
3012
3076
|
id: "accepted-file-types",
|
|
3013
|
-
onClick:
|
|
3077
|
+
onClick: i
|
|
3014
3078
|
}, {
|
|
3015
|
-
default: g(() =>
|
|
3016
|
-
|
|
3079
|
+
default: g(() => s[2] || (s[2] = [
|
|
3080
|
+
P("Accepted File Types")
|
|
3017
3081
|
])),
|
|
3018
3082
|
_: 1
|
|
3019
|
-
})) :
|
|
3020
|
-
|
|
3083
|
+
})) : C("", !0),
|
|
3084
|
+
f(u(he), {
|
|
3021
3085
|
ref_key: "acceptedFilesOverlay",
|
|
3022
|
-
ref:
|
|
3086
|
+
ref: t
|
|
3023
3087
|
}, {
|
|
3024
3088
|
default: g(() => [
|
|
3025
|
-
m("div",
|
|
3089
|
+
m("div", _t, h(r.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
|
|
3026
3090
|
]),
|
|
3027
3091
|
_: 1
|
|
3028
3092
|
}, 512)
|
|
3029
3093
|
]);
|
|
3030
3094
|
};
|
|
3031
3095
|
}
|
|
3032
|
-
}),
|
|
3096
|
+
}), Ct = {
|
|
3033
3097
|
key: 0,
|
|
3034
3098
|
class: "py-4 px-3",
|
|
3035
3099
|
id: "placeholder-message"
|
|
3036
|
-
},
|
|
3100
|
+
}, St = {
|
|
3037
3101
|
key: 1,
|
|
3038
3102
|
class: "d-flex flex-column"
|
|
3039
|
-
},
|
|
3103
|
+
}, Vt = /* @__PURE__ */ F({
|
|
3040
3104
|
__name: "DragDropArea",
|
|
3041
|
-
props: /* @__PURE__ */
|
|
3105
|
+
props: /* @__PURE__ */ N({
|
|
3042
3106
|
maxFileInput: {},
|
|
3043
3107
|
maxFileSize: {},
|
|
3044
3108
|
acceptedFileTypes: {}
|
|
@@ -3048,30 +3112,30 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3048
3112
|
}),
|
|
3049
3113
|
emits: ["update:modelValue"],
|
|
3050
3114
|
setup(e) {
|
|
3051
|
-
const
|
|
3052
|
-
|
|
3115
|
+
const a = O(e, "modelValue"), t = T(!1), i = k(() => e.maxFileInput <= a.value.length), l = (o) => {
|
|
3116
|
+
t.value = !1, o.dataTransfer.files.length > e.maxFileInput || i.value ? o.preventDefault() : a.value = Be([...o.dataTransfer.files], a.value, e.acceptedFileTypes.map((r) => r.fileType), e.maxFileSize);
|
|
3053
3117
|
};
|
|
3054
|
-
return (
|
|
3118
|
+
return (o, r) => (p(), x("div", {
|
|
3055
3119
|
id: "drag-drop-area",
|
|
3056
|
-
class: B(`${
|
|
3057
|
-
onDragleave: r[0] || (r[0] =
|
|
3058
|
-
onDragover: r[1] || (r[1] =
|
|
3059
|
-
onDrop:
|
|
3120
|
+
class: B(`${t.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
|
|
3121
|
+
onDragleave: r[0] || (r[0] = G((s) => t.value = !1, ["prevent"])),
|
|
3122
|
+
onDragover: r[1] || (r[1] = G((s) => t.value = !0, ["prevent"])),
|
|
3123
|
+
onDrop: G(l, ["prevent"])
|
|
3060
3124
|
}, [
|
|
3061
|
-
|
|
3062
|
-
|
|
3125
|
+
a.value.length === 0 ? (p(), x("div", Ct, [
|
|
3126
|
+
f(u(_), {
|
|
3063
3127
|
icon: "bi:upload",
|
|
3064
3128
|
class: "me-2",
|
|
3065
3129
|
height: "20px",
|
|
3066
3130
|
width: "20px"
|
|
3067
3131
|
}),
|
|
3068
|
-
r[2] || (r[2] =
|
|
3069
|
-
])) : (
|
|
3070
|
-
$(
|
|
3132
|
+
r[2] || (r[2] = P(" Drag and drop files here "))
|
|
3133
|
+
])) : (p(), x("div", St, [
|
|
3134
|
+
$(o.$slots, "default")
|
|
3071
3135
|
]))
|
|
3072
3136
|
], 34));
|
|
3073
3137
|
}
|
|
3074
|
-
}),
|
|
3138
|
+
}), Tt = { class: "d-flex align-items-center me-2" }, Mt = /* @__PURE__ */ F({
|
|
3075
3139
|
__name: "UploadStatus",
|
|
3076
3140
|
props: {
|
|
3077
3141
|
fileSize: {},
|
|
@@ -3080,12 +3144,12 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3080
3144
|
uploadStatus: {}
|
|
3081
3145
|
},
|
|
3082
3146
|
setup(e) {
|
|
3083
|
-
const
|
|
3147
|
+
const a = k(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), t = k(() => {
|
|
3084
3148
|
switch (e.uploadStatus) {
|
|
3085
3149
|
case "InvalidFileType":
|
|
3086
3150
|
return "Upload Failed: File type is not accepted.";
|
|
3087
3151
|
case "InvalidFileSize":
|
|
3088
|
-
return `Upload Failed: File size exceeds the ${
|
|
3152
|
+
return `Upload Failed: File size exceeds the ${fe(e.maxFileSize)} limit.`;
|
|
3089
3153
|
case "Aborted":
|
|
3090
3154
|
return "Upload Failed: User cancelled.";
|
|
3091
3155
|
case "DeleteFileFailed":
|
|
@@ -3096,43 +3160,43 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3096
3160
|
return "Upload Failed: Connection error, please try again.";
|
|
3097
3161
|
}
|
|
3098
3162
|
});
|
|
3099
|
-
return (
|
|
3100
|
-
|
|
3163
|
+
return (i, l) => (p(), x("div", Tt, [
|
|
3164
|
+
i.uploadStatus === "Uploading" ? (p(), w(et, {
|
|
3101
3165
|
key: 0,
|
|
3102
3166
|
pixelWidth: 200,
|
|
3103
3167
|
animate: "",
|
|
3104
3168
|
striped: ""
|
|
3105
3169
|
}, {
|
|
3106
3170
|
default: g(() => [
|
|
3107
|
-
|
|
3171
|
+
P(h((i.bytesUploaded / i.fileSize * 100).toFixed(0)) + "%", 1)
|
|
3108
3172
|
]),
|
|
3109
3173
|
_: 1
|
|
3110
|
-
})) :
|
|
3111
|
-
|
|
3174
|
+
})) : C("", !0),
|
|
3175
|
+
i.uploadStatus !== "Uploading" && i.uploadStatus !== "Not Uploaded" && i.uploadStatus !== "Uploaded" && i.uploadStatus !== "Preparing" ? (p(), w(re, {
|
|
3112
3176
|
key: 1,
|
|
3113
3177
|
id: "upload-status-alert",
|
|
3114
|
-
severity:
|
|
3178
|
+
severity: a.value,
|
|
3115
3179
|
class: "mb-0 w-75 ms-auto"
|
|
3116
3180
|
}, {
|
|
3117
3181
|
default: g(() => [
|
|
3118
|
-
|
|
3182
|
+
P(h(t.value), 1)
|
|
3119
3183
|
]),
|
|
3120
3184
|
_: 1
|
|
3121
|
-
}, 8, ["severity"])) :
|
|
3185
|
+
}, 8, ["severity"])) : C("", !0)
|
|
3122
3186
|
]));
|
|
3123
3187
|
}
|
|
3124
|
-
}),
|
|
3188
|
+
}), Pt = ["data-cy"], It = { class: "ms-3 d-flex flex-column" }, Ot = {
|
|
3125
3189
|
key: 1,
|
|
3126
3190
|
id: "file-name"
|
|
3127
|
-
},
|
|
3191
|
+
}, Dt = {
|
|
3128
3192
|
class: "text-black-50",
|
|
3129
3193
|
id: "file-type"
|
|
3130
|
-
},
|
|
3194
|
+
}, Ut = {
|
|
3131
3195
|
class: "text-black-50",
|
|
3132
3196
|
id: "file-size"
|
|
3133
|
-
},
|
|
3197
|
+
}, qt = { class: "ms-auto my-auto d-flex" }, At = /* @__PURE__ */ F({
|
|
3134
3198
|
__name: "FileInfo",
|
|
3135
|
-
props: /* @__PURE__ */
|
|
3199
|
+
props: /* @__PURE__ */ N({
|
|
3136
3200
|
editableFileName: { type: Boolean },
|
|
3137
3201
|
acceptedFileTypes: {},
|
|
3138
3202
|
maxFileSize: {},
|
|
@@ -3147,57 +3211,61 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3147
3211
|
uploadStatus: { required: !0 },
|
|
3148
3212
|
uploadStatusModifiers: {}
|
|
3149
3213
|
}),
|
|
3150
|
-
emits: /* @__PURE__ */
|
|
3151
|
-
setup(e, { emit:
|
|
3152
|
-
const
|
|
3153
|
-
|
|
3154
|
-
},
|
|
3155
|
-
if (!v.value || !
|
|
3156
|
-
|
|
3214
|
+
emits: /* @__PURE__ */ N(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
|
|
3215
|
+
setup(e, { emit: a }) {
|
|
3216
|
+
const t = O(e, "file"), i = O(e, "blobFileName"), l = O(e, "uploadStatus"), o = a, r = T(t.value.name), s = T(""), d = T(0), c = T(), v = k(() => e.acceptedFileTypes.some(({ fileType: M }) => M === t.value.type)), n = k(() => t.value.size <= e.maxFileSize), j = k(() => t.value.type ? t.value.type : Bt().getType(t.value.name)), S = () => {
|
|
3217
|
+
t.value = new File([t.value], r.value, { type: t.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
|
|
3218
|
+
}, V = async () => {
|
|
3219
|
+
if (!v.value || !n.value) {
|
|
3220
|
+
l.value = v.value ? "InvalidFileSize" : "InvalidFileType";
|
|
3157
3221
|
return;
|
|
3158
3222
|
}
|
|
3159
|
-
|
|
3160
|
-
const [
|
|
3161
|
-
if (!
|
|
3162
|
-
|
|
3223
|
+
l.value = "Preparing", c.value = new AbortController();
|
|
3224
|
+
const [M, b] = await e.getFileUrlAction(t.value.name);
|
|
3225
|
+
if (!M) {
|
|
3226
|
+
l.value = "Failed";
|
|
3163
3227
|
return;
|
|
3164
3228
|
}
|
|
3165
3229
|
try {
|
|
3166
|
-
|
|
3167
|
-
const
|
|
3230
|
+
l.value = "Uploading";
|
|
3231
|
+
const y = new ye(M), R = {
|
|
3168
3232
|
abortSignal: c.value.signal,
|
|
3169
|
-
onProgress: (
|
|
3233
|
+
onProgress: (Z) => d.value = Z.loadedBytes,
|
|
3234
|
+
blobHTTPHeaders: {
|
|
3235
|
+
blobContentType: j.value,
|
|
3236
|
+
blobContentDisposition: `attachment; filename="${t.value.name}"`
|
|
3237
|
+
},
|
|
3170
3238
|
tags: { temp: "true" }
|
|
3171
3239
|
};
|
|
3172
|
-
await
|
|
3173
|
-
} catch (
|
|
3174
|
-
if (
|
|
3175
|
-
|
|
3240
|
+
await y.uploadData(t.value, R), s.value = M, l.value = "Uploaded", i.value = b;
|
|
3241
|
+
} catch (y) {
|
|
3242
|
+
if (y.name === "AbortError") {
|
|
3243
|
+
l.value = "Aborted";
|
|
3176
3244
|
return;
|
|
3177
3245
|
}
|
|
3178
|
-
|
|
3246
|
+
l.value = "Failed";
|
|
3179
3247
|
}
|
|
3180
|
-
},
|
|
3181
|
-
await
|
|
3248
|
+
}, D = async () => {
|
|
3249
|
+
await wt(l.value, s.value), o("deleted", t.value);
|
|
3182
3250
|
};
|
|
3183
|
-
return
|
|
3184
|
-
e.autoUploadToBlob &&
|
|
3185
|
-
}), (
|
|
3186
|
-
const
|
|
3187
|
-
return
|
|
3251
|
+
return ne(() => {
|
|
3252
|
+
e.autoUploadToBlob && V();
|
|
3253
|
+
}), (M, b) => {
|
|
3254
|
+
const y = A;
|
|
3255
|
+
return p(), x("div", {
|
|
3188
3256
|
class: "py-4 px-3 d-flex",
|
|
3189
|
-
"data-cy": `file-info-${
|
|
3257
|
+
"data-cy": `file-info-${t.value.name}`
|
|
3190
3258
|
}, [
|
|
3191
3259
|
m("div", null, [
|
|
3192
|
-
|
|
3260
|
+
u(kt)(t.value.type) ? (p(), w(u(Le), {
|
|
3193
3261
|
key: 0,
|
|
3194
3262
|
id: "thumbnail-image",
|
|
3195
3263
|
"image-class": "image-file-thumbnail border",
|
|
3196
|
-
src:
|
|
3197
|
-
alt:
|
|
3264
|
+
src: u($t)(t.value),
|
|
3265
|
+
alt: t.value.name,
|
|
3198
3266
|
width: "75px",
|
|
3199
3267
|
preview: ""
|
|
3200
|
-
}, null, 8, ["src", "alt"])) : (
|
|
3268
|
+
}, null, 8, ["src", "alt"])) : (p(), w(u(_), {
|
|
3201
3269
|
key: 1,
|
|
3202
3270
|
id: "file-earmark",
|
|
3203
3271
|
icon: "bi:file-earmark",
|
|
@@ -3205,78 +3273,78 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3205
3273
|
width: "75px"
|
|
3206
3274
|
}))
|
|
3207
3275
|
]),
|
|
3208
|
-
m("div",
|
|
3276
|
+
m("div", It, [
|
|
3209
3277
|
m("div", null, [
|
|
3210
|
-
|
|
3278
|
+
M.editableFileName ? (p(), w(Va, {
|
|
3211
3279
|
key: 0,
|
|
3212
3280
|
id: "edit-file-name",
|
|
3213
3281
|
modelValue: r.value,
|
|
3214
|
-
"onUpdate:modelValue":
|
|
3215
|
-
rules:
|
|
3216
|
-
name:
|
|
3217
|
-
"complete-action":
|
|
3218
|
-
}, null, 8, ["modelValue", "rules", "name"])) : (
|
|
3282
|
+
"onUpdate:modelValue": b[0] || (b[0] = (R) => r.value = R),
|
|
3283
|
+
rules: M.customFileNameRules,
|
|
3284
|
+
name: t.value.name,
|
|
3285
|
+
"complete-action": S
|
|
3286
|
+
}, null, 8, ["modelValue", "rules", "name"])) : (p(), x("span", Ot, h(t.value.name), 1))
|
|
3219
3287
|
]),
|
|
3220
|
-
m("span",
|
|
3221
|
-
m("span",
|
|
3288
|
+
m("span", Dt, "File type: " + h(t.value.type.split("/").pop()), 1),
|
|
3289
|
+
m("span", Ut, "File size: " + h(u(fe)(t.value.size)), 1)
|
|
3222
3290
|
]),
|
|
3223
|
-
m("div",
|
|
3224
|
-
(
|
|
3225
|
-
key:
|
|
3226
|
-
"file-size":
|
|
3227
|
-
"upload-status":
|
|
3228
|
-
"bytes-uploaded":
|
|
3229
|
-
"max-file-size":
|
|
3291
|
+
m("div", qt, [
|
|
3292
|
+
(p(), w(Mt, {
|
|
3293
|
+
key: l.value,
|
|
3294
|
+
"file-size": t.value.size,
|
|
3295
|
+
"upload-status": l.value,
|
|
3296
|
+
"bytes-uploaded": d.value,
|
|
3297
|
+
"max-file-size": M.maxFileSize
|
|
3230
3298
|
}, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
|
|
3231
|
-
|
|
3299
|
+
l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (p(), w(y, {
|
|
3232
3300
|
key: 0,
|
|
3233
3301
|
link: "",
|
|
3234
|
-
onClick:
|
|
3302
|
+
onClick: V
|
|
3235
3303
|
}, {
|
|
3236
3304
|
default: g(() => [
|
|
3237
|
-
|
|
3238
|
-
icon:
|
|
3305
|
+
f(u(_), {
|
|
3306
|
+
icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
|
|
3239
3307
|
}, null, 8, ["icon"])
|
|
3240
3308
|
]),
|
|
3241
3309
|
_: 1
|
|
3242
|
-
})) :
|
|
3243
|
-
|
|
3310
|
+
})) : C("", !0),
|
|
3311
|
+
l.value === "Uploading" ? (p(), w(y, {
|
|
3244
3312
|
key: 1,
|
|
3245
3313
|
link: "",
|
|
3246
|
-
onClick:
|
|
3314
|
+
onClick: b[1] || (b[1] = (R) => c.value.value.abort())
|
|
3247
3315
|
}, {
|
|
3248
3316
|
default: g(() => [
|
|
3249
|
-
|
|
3317
|
+
f(u(_), { icon: "bi:x-circle-fill" })
|
|
3250
3318
|
]),
|
|
3251
3319
|
_: 1
|
|
3252
|
-
})) : (
|
|
3320
|
+
})) : (p(), w(y, {
|
|
3253
3321
|
key: 2,
|
|
3254
3322
|
link: "",
|
|
3255
|
-
onClick:
|
|
3323
|
+
onClick: D,
|
|
3256
3324
|
id: "delete-button"
|
|
3257
3325
|
}, {
|
|
3258
3326
|
default: g(() => [
|
|
3259
|
-
|
|
3327
|
+
f(u(_), { icon: "bi:trash" })
|
|
3260
3328
|
]),
|
|
3261
3329
|
_: 1
|
|
3262
3330
|
}))
|
|
3263
3331
|
])
|
|
3264
|
-
], 8,
|
|
3332
|
+
], 8, Pt);
|
|
3265
3333
|
};
|
|
3266
3334
|
}
|
|
3267
|
-
}),
|
|
3335
|
+
}), Et = { class: "d-flex justify-content-end mt-1" }, Lt = { id: "max-file-size" }, Nt = /* @__PURE__ */ F({
|
|
3268
3336
|
__name: "MaxFileSize",
|
|
3269
3337
|
props: {
|
|
3270
3338
|
maxFileSize: {}
|
|
3271
3339
|
},
|
|
3272
3340
|
setup(e) {
|
|
3273
|
-
return (
|
|
3274
|
-
m("div",
|
|
3341
|
+
return (a, t) => (p(), x("div", Et, [
|
|
3342
|
+
m("div", Lt, "Max file size: " + h(u(fe)(a.maxFileSize)), 1)
|
|
3275
3343
|
]));
|
|
3276
3344
|
}
|
|
3277
|
-
}),
|
|
3345
|
+
}), Rt = { "data-cy": "file-uploader" }, Ht = { key: 0 }, Hi = /* @__PURE__ */ F({
|
|
3278
3346
|
__name: "ForgeFileUploader",
|
|
3279
|
-
props: /* @__PURE__ */
|
|
3347
|
+
props: /* @__PURE__ */ N({
|
|
3280
3348
|
acceptedFileTypes: {},
|
|
3281
3349
|
maxFileSize: {},
|
|
3282
3350
|
getFileUrlAction: {},
|
|
@@ -3291,46 +3359,46 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3291
3359
|
}),
|
|
3292
3360
|
emits: ["update:modelValue"],
|
|
3293
3361
|
setup(e) {
|
|
3294
|
-
const
|
|
3295
|
-
|
|
3362
|
+
const a = O(e, "modelValue"), t = e, i = (l) => {
|
|
3363
|
+
a.value = a.value.filter((o) => o.file != l);
|
|
3296
3364
|
};
|
|
3297
|
-
return (
|
|
3298
|
-
|
|
3299
|
-
modelValue:
|
|
3300
|
-
"onUpdate:modelValue":
|
|
3365
|
+
return (l, o) => (p(), x("div", Rt, [
|
|
3366
|
+
f(jt, z(t, {
|
|
3367
|
+
modelValue: a.value,
|
|
3368
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => a.value = r)
|
|
3301
3369
|
}), null, 16, ["modelValue"]),
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
"max-file-input":
|
|
3305
|
-
"max-file-size":
|
|
3306
|
-
"accepted-file-types":
|
|
3307
|
-
modelValue:
|
|
3308
|
-
"onUpdate:modelValue":
|
|
3370
|
+
l.showDragDropArea ? (p(), x("div", Ht, [
|
|
3371
|
+
f(Vt, {
|
|
3372
|
+
"max-file-input": t.maxFileInput,
|
|
3373
|
+
"max-file-size": t.maxFileSize,
|
|
3374
|
+
"accepted-file-types": t.acceptedFileTypes,
|
|
3375
|
+
modelValue: a.value,
|
|
3376
|
+
"onUpdate:modelValue": o[1] || (o[1] = (r) => a.value = r)
|
|
3309
3377
|
}, {
|
|
3310
3378
|
default: g(() => [
|
|
3311
|
-
(
|
|
3312
|
-
(
|
|
3379
|
+
(p(!0), x(q, null, W(a.value, ({ file: r }, s) => (p(), x("span", null, [
|
|
3380
|
+
(p(), w(At, z({
|
|
3313
3381
|
key: r.name,
|
|
3314
|
-
class:
|
|
3315
|
-
file:
|
|
3316
|
-
"onUpdate:file": (
|
|
3317
|
-
"blob-file-name":
|
|
3318
|
-
"onUpdate:blobFileName": (
|
|
3319
|
-
"upload-status":
|
|
3320
|
-
"onUpdate:uploadStatus": (
|
|
3382
|
+
class: s === a.value.length - 1 || a.value.length == 1 ? "" : "border-bottom",
|
|
3383
|
+
file: a.value[s].file,
|
|
3384
|
+
"onUpdate:file": (d) => a.value[s].file = d,
|
|
3385
|
+
"blob-file-name": a.value[s].blobFileName,
|
|
3386
|
+
"onUpdate:blobFileName": (d) => a.value[s].blobFileName = d,
|
|
3387
|
+
"upload-status": a.value[s].status,
|
|
3388
|
+
"onUpdate:uploadStatus": (d) => a.value[s].status = d,
|
|
3321
3389
|
ref_for: !0
|
|
3322
|
-
},
|
|
3390
|
+
}, t, { onDeleted: i }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
|
|
3323
3391
|
]))), 256))
|
|
3324
3392
|
]),
|
|
3325
3393
|
_: 1
|
|
3326
3394
|
}, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
|
|
3327
|
-
|
|
3328
|
-
"max-file-size":
|
|
3395
|
+
f(Nt, {
|
|
3396
|
+
"max-file-size": t.maxFileSize
|
|
3329
3397
|
}, null, 8, ["max-file-size"])
|
|
3330
|
-
])) :
|
|
3398
|
+
])) : C("", !0)
|
|
3331
3399
|
]));
|
|
3332
3400
|
}
|
|
3333
|
-
}),
|
|
3401
|
+
}), Wt = { class: "d-flex" }, Yt = { class: "me-3" }, Gt = { class: "ms-2" }, Kt = { class: "d-flex flex-column w-100" }, Zt = ["onClick"], Jt = ["for"], Wi = /* @__PURE__ */ F({
|
|
3334
3402
|
__name: "ForgeColumnCustomiser",
|
|
3335
3403
|
props: {
|
|
3336
3404
|
modelValue: { required: !0 },
|
|
@@ -3338,63 +3406,63 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3338
3406
|
},
|
|
3339
3407
|
emits: ["update:modelValue"],
|
|
3340
3408
|
setup(e) {
|
|
3341
|
-
const
|
|
3342
|
-
|
|
3343
|
-
},
|
|
3344
|
-
const c =
|
|
3345
|
-
c.selected = !c.selected,
|
|
3409
|
+
const a = O(e, "modelValue"), t = T(), i = T(!1), l = T([]), o = T([]), r = (d) => {
|
|
3410
|
+
t.value.toggle(d);
|
|
3411
|
+
}, s = (d) => {
|
|
3412
|
+
const c = o.value.find((v) => v.field === d);
|
|
3413
|
+
c.selected = !c.selected, a.value = o.value.filter((v) => v.selected);
|
|
3346
3414
|
};
|
|
3347
|
-
return
|
|
3348
|
-
|
|
3349
|
-
}), (
|
|
3350
|
-
|
|
3415
|
+
return ne(() => {
|
|
3416
|
+
l.value = [...a.value], o.value = [...a.value].map((d) => ({ ...d, selected: !0 }));
|
|
3417
|
+
}), (d, c) => (p(), x(q, null, [
|
|
3418
|
+
f(u(A), {
|
|
3351
3419
|
onClick: r,
|
|
3352
3420
|
class: "ms-2"
|
|
3353
3421
|
}, {
|
|
3354
3422
|
default: g(() => [
|
|
3355
|
-
m("div",
|
|
3356
|
-
m("div",
|
|
3357
|
-
|
|
3423
|
+
m("div", Wt, [
|
|
3424
|
+
m("div", Yt, [
|
|
3425
|
+
f(u(_), { icon: "bi:layout-three-columns" })
|
|
3358
3426
|
]),
|
|
3359
|
-
|
|
3360
|
-
m("div",
|
|
3361
|
-
|
|
3362
|
-
icon:
|
|
3427
|
+
P(" Columns (" + h(a.value.length ?? 0) + "/" + h(l.value.length ?? 0) + ") ", 1),
|
|
3428
|
+
m("div", Gt, [
|
|
3429
|
+
f(u(_), {
|
|
3430
|
+
icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
|
|
3363
3431
|
}, null, 8, ["icon"])
|
|
3364
3432
|
])
|
|
3365
3433
|
])
|
|
3366
3434
|
]),
|
|
3367
3435
|
_: 1
|
|
3368
3436
|
}),
|
|
3369
|
-
|
|
3437
|
+
f(u(he), {
|
|
3370
3438
|
ref_key: "columnCustomiserPanel",
|
|
3371
|
-
ref:
|
|
3439
|
+
ref: t,
|
|
3372
3440
|
class: "column-customiser",
|
|
3373
|
-
onHide: c[0] || (c[0] = () =>
|
|
3374
|
-
onShow: c[1] || (c[1] = () =>
|
|
3441
|
+
onHide: c[0] || (c[0] = () => i.value = !1),
|
|
3442
|
+
onShow: c[1] || (c[1] = () => i.value = !0)
|
|
3375
3443
|
}, {
|
|
3376
3444
|
default: g(() => [
|
|
3377
|
-
m("div",
|
|
3378
|
-
(
|
|
3445
|
+
m("div", Kt, [
|
|
3446
|
+
(p(!0), x(q, null, W(l.value, (v, n) => (p(), x("div", {
|
|
3379
3447
|
class: B(["d-flex cursor-pointer", {
|
|
3380
|
-
"border-top":
|
|
3381
|
-
"py-1":
|
|
3382
|
-
"pt-1":
|
|
3383
|
-
"pb-1":
|
|
3448
|
+
"border-top": n !== 0,
|
|
3449
|
+
"py-1": n !== 0 && l.value.length - 1 !== n,
|
|
3450
|
+
"pt-1": l.value.length - 1 === n,
|
|
3451
|
+
"pb-1": n === 0
|
|
3384
3452
|
}]),
|
|
3385
|
-
onClick: (
|
|
3453
|
+
onClick: (j) => s(v.field)
|
|
3386
3454
|
}, [
|
|
3387
|
-
|
|
3455
|
+
f(u(be), {
|
|
3388
3456
|
id: v.field,
|
|
3389
|
-
"model-value":
|
|
3457
|
+
"model-value": o.value.find((j) => j.field === v.field).selected,
|
|
3390
3458
|
binary: "",
|
|
3391
3459
|
class: "cursor-pointer"
|
|
3392
3460
|
}, null, 8, ["id", "model-value"]),
|
|
3393
3461
|
m("label", {
|
|
3394
3462
|
for: v.field,
|
|
3395
3463
|
class: "cursor-pointer"
|
|
3396
|
-
}, h(v.header), 9,
|
|
3397
|
-
], 10,
|
|
3464
|
+
}, h(v.header), 9, Jt)
|
|
3465
|
+
], 10, Zt))), 256))
|
|
3398
3466
|
])
|
|
3399
3467
|
]),
|
|
3400
3468
|
_: 1
|
|
@@ -3403,32 +3471,32 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3403
3471
|
}
|
|
3404
3472
|
});
|
|
3405
3473
|
export {
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3474
|
+
zi as Bootstrap_PT,
|
|
3475
|
+
_i as ForgeActionButton,
|
|
3476
|
+
re as ForgeAlert,
|
|
3477
|
+
ya as ForgeCheckbox,
|
|
3478
|
+
qi as ForgeChips,
|
|
3479
|
+
Wi as ForgeColumnCustomiser,
|
|
3480
|
+
ke as ForgeDatepicker,
|
|
3481
|
+
Hi as ForgeFileUploader,
|
|
3482
|
+
Ri as ForgeFilterHeader,
|
|
3483
|
+
Di as ForgeForm,
|
|
3484
|
+
Ui as ForgeFormField,
|
|
3485
|
+
Va as ForgeInlineEditor,
|
|
3486
|
+
ji as ForgeLink,
|
|
3487
|
+
we as ForgeLoader,
|
|
3488
|
+
Vi as ForgeModal,
|
|
3489
|
+
Mi as ForgeMultiSelect,
|
|
3490
|
+
Pi as ForgeMultiSelectPreview,
|
|
3491
|
+
Ti as ForgeNavbar,
|
|
3492
|
+
Ii as ForgePageHeader,
|
|
3493
|
+
et as ForgeProgressBar,
|
|
3494
|
+
Oi as ForgeRemainingCharacters,
|
|
3495
|
+
Ai as ForgeStatWidget,
|
|
3496
|
+
Ei as ForgeStepper,
|
|
3497
|
+
Ni as ForgeTable,
|
|
3498
|
+
Li as ForgeTile,
|
|
3499
|
+
Si as convertToMultiSelectOption,
|
|
3500
|
+
Ci as enumToMultiSelectList,
|
|
3501
|
+
ka as parseError
|
|
3434
3502
|
};
|