@3squared/forge-ui-3 1.3.3 → 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,98 +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:
|
|
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,
|
|
1683
1683
|
optionLabel: "label",
|
|
1684
|
-
placeholder:
|
|
1684
|
+
placeholder: l.multiselectPlaceholder,
|
|
1685
1685
|
"data-cy": "multiselect"
|
|
1686
1686
|
}), {
|
|
1687
1687
|
default: g(() => [
|
|
1688
|
-
(
|
|
1688
|
+
(p(!0), x(q, null, W(l.$slots, (d, c) => $(l.$slots, c, { slot: c })), 256))
|
|
1689
1689
|
]),
|
|
1690
1690
|
_: 3
|
|
1691
1691
|
}, 16, ["modelValue", "options", "placeholder"]),
|
|
1692
|
-
$(
|
|
1692
|
+
$(l.$slots, "after-multi-select")
|
|
1693
1693
|
], 2),
|
|
1694
1694
|
m("div", {
|
|
1695
|
-
class: B(
|
|
1695
|
+
class: B(l.orientation === "row" ? "col-12" : "col"),
|
|
1696
1696
|
"data-cy": "options-preview"
|
|
1697
1697
|
}, [
|
|
1698
1698
|
m("div", {
|
|
1699
|
-
style:
|
|
1699
|
+
style: _e({ height: l.height }),
|
|
1700
1700
|
class: "overflow-auto"
|
|
1701
1701
|
}, [
|
|
1702
|
-
m("div",
|
|
1703
|
-
|
|
1704
|
-
(
|
|
1705
|
-
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,
|
|
1706
1706
|
class: "p-2 item d-flex justify-content-between align-items-center"
|
|
1707
1707
|
}, [
|
|
1708
|
-
$(
|
|
1709
|
-
m("span",
|
|
1708
|
+
$(l.$slots, "list-item", { item: d }, () => [
|
|
1709
|
+
m("span", La, h(d.shortLabel ? d.shortLabel : d.label), 1)
|
|
1710
1710
|
]),
|
|
1711
|
-
|
|
1711
|
+
l.canRemoveItemFromPreview ? (p(), w(s, {
|
|
1712
1712
|
key: 0,
|
|
1713
1713
|
link: "",
|
|
1714
1714
|
class: "m-0 p-0 d-flex align-items-center",
|
|
1715
|
-
onClick: (c) =>
|
|
1715
|
+
onClick: (c) => i(d.id)
|
|
1716
1716
|
}, {
|
|
1717
1717
|
default: g(() => [
|
|
1718
|
-
|
|
1718
|
+
f(u(_), {
|
|
1719
1719
|
icon: "bi:x",
|
|
1720
1720
|
class: "close-icon",
|
|
1721
|
-
"data-cy": `close-icon-${
|
|
1721
|
+
"data-cy": `close-icon-${d.id}`
|
|
1722
1722
|
}, null, 8, ["data-cy"])
|
|
1723
1723
|
]),
|
|
1724
1724
|
_: 2
|
|
1725
|
-
}, 1032, ["onClick"])) :
|
|
1725
|
+
}, 1032, ["onClick"])) : C("", !0)
|
|
1726
1726
|
]))), 128)),
|
|
1727
|
-
|
|
1727
|
+
t.value.length === 0 ? (p(), x("div", Na, h(a.optionsPreviewEmptyText), 1)) : C("", !0)
|
|
1728
1728
|
])
|
|
1729
1729
|
], 4)
|
|
1730
1730
|
], 2)
|
|
1731
1731
|
], 2);
|
|
1732
1732
|
};
|
|
1733
1733
|
}
|
|
1734
|
-
}),
|
|
1734
|
+
}), Ra = { class: "d-flex justify-content-between pb-2" }, Ha = {
|
|
1735
1735
|
"data-cy": "title",
|
|
1736
1736
|
class: "my-auto"
|
|
1737
|
-
},
|
|
1737
|
+
}, Wa = {
|
|
1738
1738
|
"data-cy": "slot",
|
|
1739
1739
|
class: "d-flex align-items-center"
|
|
1740
|
-
},
|
|
1740
|
+
}, Ii = /* @__PURE__ */ F({
|
|
1741
1741
|
__name: "ForgePageHeader",
|
|
1742
1742
|
props: {
|
|
1743
1743
|
title: {}
|
|
1744
1744
|
},
|
|
1745
1745
|
setup(e) {
|
|
1746
|
-
const
|
|
1747
|
-
return (
|
|
1748
|
-
m("h3",
|
|
1749
|
-
m("div",
|
|
1750
|
-
$(
|
|
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")
|
|
1751
1751
|
])
|
|
1752
1752
|
]));
|
|
1753
1753
|
}
|
|
1754
|
-
}),
|
|
1754
|
+
}), Ya = { class: "d-flex" }, Ga = { "data-cy": "before-slot" }, Ka = { class: "position-relative w-100" }, Za = { "data-cy": "after-slot" }, ke = /* @__PURE__ */ F({
|
|
1755
1755
|
__name: "ForgeDatepicker",
|
|
1756
|
-
props: /* @__PURE__ */
|
|
1756
|
+
props: /* @__PURE__ */ N({
|
|
1757
1757
|
severity: { default: "primary" },
|
|
1758
1758
|
modelValue: {},
|
|
1759
1759
|
selectionMode: { default: "single" },
|
|
@@ -1824,37 +1824,37 @@ const bt = { key: 0 }, ft = {
|
|
|
1824
1824
|
}),
|
|
1825
1825
|
emits: ["update:modelValue"],
|
|
1826
1826
|
setup(e) {
|
|
1827
|
-
const
|
|
1828
|
-
initialValue:
|
|
1829
|
-
}),
|
|
1830
|
-
|
|
1831
|
-
}, c = k(() =>
|
|
1832
|
-
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 }) => ({
|
|
1833
1833
|
class: [
|
|
1834
|
-
`text-center date-${
|
|
1834
|
+
`text-center date-${a.severity === void 0 ? "primary" : a.severity}`,
|
|
1835
1835
|
{
|
|
1836
|
-
"cursor-pointer": !
|
|
1837
|
-
"pe-none":
|
|
1838
|
-
"text-white":
|
|
1836
|
+
"cursor-pointer": !n.disabled,
|
|
1837
|
+
"pe-none": n.disabled,
|
|
1838
|
+
"text-white": n.selected
|
|
1839
1839
|
},
|
|
1840
1840
|
// Severities
|
|
1841
1841
|
{
|
|
1842
|
-
selected:
|
|
1843
|
-
"text-primary": !
|
|
1844
|
-
"text-brand": !
|
|
1845
|
-
"text-secondary": !
|
|
1846
|
-
"text-success": !
|
|
1847
|
-
"text-warning": !
|
|
1848
|
-
"text-danger": !
|
|
1849
|
-
"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"
|
|
1850
1850
|
}
|
|
1851
1851
|
]
|
|
1852
1852
|
}),
|
|
1853
|
-
dayLabel: ({ context:
|
|
1853
|
+
dayLabel: ({ context: n }) => ({
|
|
1854
1854
|
class: [
|
|
1855
1855
|
// Disabled States
|
|
1856
1856
|
{
|
|
1857
|
-
"text-muted":
|
|
1857
|
+
"text-muted": n.disabled
|
|
1858
1858
|
}
|
|
1859
1859
|
]
|
|
1860
1860
|
}),
|
|
@@ -1863,13 +1863,13 @@ const bt = { key: 0 }, ft = {
|
|
|
1863
1863
|
class: [
|
|
1864
1864
|
"btn ms-auto",
|
|
1865
1865
|
{
|
|
1866
|
-
"btn-link text-primary":
|
|
1867
|
-
"btn-link text-brand":
|
|
1868
|
-
"btn-link text-secondary":
|
|
1869
|
-
"btn-link text-success":
|
|
1870
|
-
"btn-link text-warning":
|
|
1871
|
-
"btn-link text-danger":
|
|
1872
|
-
"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"
|
|
1873
1873
|
}
|
|
1874
1874
|
]
|
|
1875
1875
|
})
|
|
@@ -1879,106 +1879,106 @@ const bt = { key: 0 }, ft = {
|
|
|
1879
1879
|
class: [
|
|
1880
1880
|
"btn",
|
|
1881
1881
|
{
|
|
1882
|
-
"btn-link text-primary":
|
|
1883
|
-
"btn-link text-brand":
|
|
1884
|
-
"btn-link text-secondary":
|
|
1885
|
-
"btn-link text-success":
|
|
1886
|
-
"btn-link text-warning":
|
|
1887
|
-
"btn-link text-danger":
|
|
1888
|
-
"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"
|
|
1889
1889
|
}
|
|
1890
1890
|
]
|
|
1891
1891
|
})
|
|
1892
1892
|
},
|
|
1893
|
-
year: ({ context:
|
|
1893
|
+
year: ({ context: n }) => ({
|
|
1894
1894
|
class: [
|
|
1895
1895
|
"col-3 text-center cursor-pointer py-2",
|
|
1896
1896
|
{
|
|
1897
|
-
"text-primary": (
|
|
1898
|
-
"text-brand":
|
|
1899
|
-
"text-secondary":
|
|
1900
|
-
"text-success":
|
|
1901
|
-
"text-warning":
|
|
1902
|
-
"text-danger":
|
|
1903
|
-
"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()
|
|
1904
1904
|
}
|
|
1905
1905
|
]
|
|
1906
1906
|
}),
|
|
1907
|
-
month: ({ context:
|
|
1907
|
+
month: ({ context: n }) => ({
|
|
1908
1908
|
class: [
|
|
1909
1909
|
"col-3 text-center cursor-pointer py-2",
|
|
1910
1910
|
{
|
|
1911
|
-
"text-primary": (
|
|
1912
|
-
"text-brand":
|
|
1913
|
-
"text-secondary":
|
|
1914
|
-
"text-success":
|
|
1915
|
-
"text-warning":
|
|
1916
|
-
"text-danger":
|
|
1917
|
-
"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
|
|
1918
1918
|
}
|
|
1919
1919
|
]
|
|
1920
1920
|
})
|
|
1921
1921
|
}));
|
|
1922
|
-
return (
|
|
1923
|
-
const S =
|
|
1924
|
-
return
|
|
1925
|
-
m("div",
|
|
1926
|
-
m("span",
|
|
1927
|
-
$(
|
|
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")
|
|
1928
1928
|
]),
|
|
1929
|
-
m("div",
|
|
1930
|
-
|
|
1929
|
+
m("div", Ka, [
|
|
1930
|
+
f(S, z({ ...a, ...n.$attrs }, {
|
|
1931
1931
|
pt: v.value,
|
|
1932
|
-
modelValue:
|
|
1932
|
+
modelValue: t.value,
|
|
1933
1933
|
"onUpdate:modelValue": [
|
|
1934
|
-
|
|
1935
|
-
|
|
1934
|
+
j[0] || (j[0] = (V) => t.value = V),
|
|
1935
|
+
u(o)
|
|
1936
1936
|
],
|
|
1937
|
-
onBlur:
|
|
1937
|
+
onBlur: u(r),
|
|
1938
1938
|
"input-class": { "datepicker-invalid": c.value }
|
|
1939
1939
|
}), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "onBlur", "input-class"]),
|
|
1940
|
-
H(
|
|
1940
|
+
H(f(u(_), {
|
|
1941
1941
|
"data-cy": "icon",
|
|
1942
1942
|
icon: "bi:calendar4",
|
|
1943
1943
|
class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
|
|
1944
1944
|
}, null, 8, ["class"]), [
|
|
1945
|
-
[
|
|
1945
|
+
[Y, a.showIcon]
|
|
1946
1946
|
]),
|
|
1947
|
-
H(
|
|
1947
|
+
H(f(u(_), {
|
|
1948
1948
|
"data-cy": "icon",
|
|
1949
1949
|
icon: "bi:x",
|
|
1950
|
-
onClick:
|
|
1951
|
-
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"])
|
|
1952
1952
|
}, null, 8, ["class"]), [
|
|
1953
|
-
[
|
|
1953
|
+
[Y, a.modelValue]
|
|
1954
1954
|
])
|
|
1955
1955
|
]),
|
|
1956
|
-
m("span",
|
|
1957
|
-
$(
|
|
1956
|
+
m("span", Za, [
|
|
1957
|
+
$(n.$slots, "after")
|
|
1958
1958
|
])
|
|
1959
1959
|
]),
|
|
1960
1960
|
H(m("small", {
|
|
1961
1961
|
"data-cy": "error",
|
|
1962
1962
|
class: "text-invalid"
|
|
1963
|
-
}, h(
|
|
1964
|
-
[
|
|
1963
|
+
}, h(u(l)), 513), [
|
|
1964
|
+
[Y, c.value]
|
|
1965
1965
|
])
|
|
1966
1966
|
], 64);
|
|
1967
1967
|
};
|
|
1968
1968
|
}
|
|
1969
|
-
}),
|
|
1969
|
+
}), Oi = /* @__PURE__ */ F({
|
|
1970
1970
|
__name: "ForgeRemainingCharacters",
|
|
1971
1971
|
props: {
|
|
1972
1972
|
maxCount: { default: 300 },
|
|
1973
1973
|
currentCount: {}
|
|
1974
1974
|
},
|
|
1975
1975
|
setup(e) {
|
|
1976
|
-
const
|
|
1977
|
-
return (
|
|
1978
|
-
class: B(
|
|
1979
|
-
}, "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));
|
|
1980
1980
|
}
|
|
1981
|
-
}),
|
|
1981
|
+
}), Ja = { class: "d-flex justify-content-between" }, Di = /* @__PURE__ */ F({
|
|
1982
1982
|
__name: "ForgeForm",
|
|
1983
1983
|
props: {
|
|
1984
1984
|
onSubmit: {},
|
|
@@ -1990,93 +1990,93 @@ const bt = { key: 0 }, ft = {
|
|
|
1990
1990
|
hideCancel: { type: Boolean, default: !1 }
|
|
1991
1991
|
},
|
|
1992
1992
|
setup(e) {
|
|
1993
|
-
const
|
|
1993
|
+
const a = e, t = T(!1), i = T({
|
|
1994
1994
|
hasError: !1,
|
|
1995
1995
|
message: ""
|
|
1996
1996
|
});
|
|
1997
|
-
async function
|
|
1998
|
-
|
|
1997
|
+
async function l() {
|
|
1998
|
+
t.value = !0, i.value.hasError = !1;
|
|
1999
1999
|
try {
|
|
2000
|
-
await
|
|
2001
|
-
} catch (
|
|
2002
|
-
|
|
2000
|
+
await a.onSubmit();
|
|
2001
|
+
} catch (o) {
|
|
2002
|
+
i.value.hasError = !0, o.message && (i.value.message = o.message);
|
|
2003
2003
|
}
|
|
2004
|
-
|
|
2004
|
+
t.value = !1;
|
|
2005
2005
|
}
|
|
2006
|
-
return (
|
|
2007
|
-
const
|
|
2008
|
-
return
|
|
2006
|
+
return (o, r) => {
|
|
2007
|
+
const s = A;
|
|
2008
|
+
return p(), x("form", z(o.$attrs, {
|
|
2009
2009
|
novalidate: "",
|
|
2010
2010
|
class: "position-relative shadow-sm border p-4 bg-white",
|
|
2011
|
-
onSubmit:
|
|
2011
|
+
onSubmit: G(l, ["prevent"])
|
|
2012
2012
|
}), [
|
|
2013
|
-
|
|
2014
|
-
$(
|
|
2013
|
+
o.hideTitle ? C("", !0) : (p(), x(q, { key: 0 }, [
|
|
2014
|
+
$(o.$slots, "title", {}, () => [
|
|
2015
2015
|
m("h3", {
|
|
2016
|
-
class: B(
|
|
2016
|
+
class: B(o.titleClass),
|
|
2017
2017
|
"data-cy": "form-title"
|
|
2018
|
-
}, h(
|
|
2018
|
+
}, h(o.title), 3)
|
|
2019
2019
|
]),
|
|
2020
2020
|
r[1] || (r[1] = m("hr", null, null, -1))
|
|
2021
2021
|
], 64)),
|
|
2022
|
-
|
|
2022
|
+
i.value.hasError ? (p(), w(re, {
|
|
2023
2023
|
key: 1,
|
|
2024
2024
|
severity: "danger",
|
|
2025
2025
|
"data-cy": "error"
|
|
2026
2026
|
}, {
|
|
2027
2027
|
default: g(() => [
|
|
2028
|
-
$(
|
|
2029
|
-
error:
|
|
2028
|
+
$(o.$slots, "error", {
|
|
2029
|
+
error: i.value.message
|
|
2030
2030
|
}, () => [
|
|
2031
|
-
|
|
2031
|
+
P(h(i.value.message), 1)
|
|
2032
2032
|
])
|
|
2033
2033
|
]),
|
|
2034
2034
|
_: 3
|
|
2035
|
-
})) :
|
|
2036
|
-
$(
|
|
2037
|
-
m("div",
|
|
2038
|
-
$(
|
|
2039
|
-
|
|
2035
|
+
})) : C("", !0),
|
|
2036
|
+
$(o.$slots, "default"),
|
|
2037
|
+
m("div", Ja, [
|
|
2038
|
+
$(o.$slots, "cancel", {}, () => [
|
|
2039
|
+
o.hideCancel ? C("", !0) : (p(), w(s, {
|
|
2040
2040
|
key: 0,
|
|
2041
2041
|
"data-cy": "cancel-btn",
|
|
2042
2042
|
type: "reset",
|
|
2043
2043
|
severity: "secondary",
|
|
2044
2044
|
outlined: "",
|
|
2045
|
-
onClick: r[0] || (r[0] = (
|
|
2045
|
+
onClick: r[0] || (r[0] = (d) => o.$emit("cancel"))
|
|
2046
2046
|
}, {
|
|
2047
2047
|
default: g(() => [
|
|
2048
|
-
|
|
2048
|
+
P(h(o.cancelText), 1)
|
|
2049
2049
|
]),
|
|
2050
2050
|
_: 1
|
|
2051
2051
|
}))
|
|
2052
2052
|
]),
|
|
2053
|
-
$(
|
|
2054
|
-
|
|
2053
|
+
$(o.$slots, "submit", { submit: l }, () => [
|
|
2054
|
+
f(s, {
|
|
2055
2055
|
"data-cy": "submit-btn",
|
|
2056
2056
|
type: "submit",
|
|
2057
2057
|
severity: "primary",
|
|
2058
2058
|
class: "ms-auto"
|
|
2059
2059
|
}, {
|
|
2060
2060
|
default: g(() => [
|
|
2061
|
-
|
|
2061
|
+
P(h(o.submitText), 1)
|
|
2062
2062
|
]),
|
|
2063
2063
|
_: 1
|
|
2064
2064
|
})
|
|
2065
2065
|
])
|
|
2066
2066
|
]),
|
|
2067
|
-
|
|
2067
|
+
t.value ? (p(), w(we, {
|
|
2068
2068
|
key: 2,
|
|
2069
2069
|
"data-cy": "loading-spinner"
|
|
2070
|
-
})) :
|
|
2070
|
+
})) : C("", !0)
|
|
2071
2071
|
], 16);
|
|
2072
2072
|
};
|
|
2073
2073
|
}
|
|
2074
|
-
}),
|
|
2074
|
+
}), Xa = {
|
|
2075
2075
|
key: 1,
|
|
2076
2076
|
class: "d-flex flex-column w-100"
|
|
2077
|
-
},
|
|
2077
|
+
}, Qa = ["for"], Ui = /* @__PURE__ */ F({
|
|
2078
2078
|
__name: "ForgeFormField",
|
|
2079
|
-
props: /* @__PURE__ */
|
|
2079
|
+
props: /* @__PURE__ */ N({
|
|
2080
2080
|
name: {},
|
|
2081
2081
|
fieldLabelPosition: { default: "top" },
|
|
2082
2082
|
fieldLabel: {},
|
|
@@ -2090,97 +2090,97 @@ const bt = { key: 0 }, ft = {
|
|
|
2090
2090
|
}),
|
|
2091
2091
|
emits: ["update:modelValue"],
|
|
2092
2092
|
setup(e) {
|
|
2093
|
-
const
|
|
2094
|
-
|
|
2095
|
-
}, { errors:
|
|
2096
|
-
initialValue:
|
|
2097
|
-
}), c = k(() =>
|
|
2098
|
-
return
|
|
2099
|
-
|
|
2100
|
-
}, { immediate: !0 }), (v,
|
|
2101
|
-
const
|
|
2102
|
-
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({
|
|
2103
2103
|
key: 0,
|
|
2104
|
-
id:
|
|
2105
|
-
label:
|
|
2104
|
+
id: t.name,
|
|
2105
|
+
label: t.fieldLabel
|
|
2106
2106
|
}, v.$attrs, {
|
|
2107
|
-
name:
|
|
2108
|
-
modelValue:
|
|
2109
|
-
"onUpdate:modelValue":
|
|
2110
|
-
}), 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, [
|
|
2111
2111
|
m("div", {
|
|
2112
2112
|
"data-cy": "input-wrapper",
|
|
2113
|
-
class: B(["d-flex",
|
|
2113
|
+
class: B(["d-flex", t.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
|
|
2114
2114
|
}, [
|
|
2115
2115
|
m("label", {
|
|
2116
|
-
for:
|
|
2117
|
-
class: B(
|
|
2118
|
-
}, h(
|
|
2119
|
-
|
|
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({
|
|
2120
2120
|
key: 0,
|
|
2121
|
-
id:
|
|
2121
|
+
id: t.name
|
|
2122
2122
|
}, v.$attrs, {
|
|
2123
|
-
placeholder:
|
|
2123
|
+
placeholder: t.placeholder,
|
|
2124
2124
|
"input-class": { "is-invalid": c.value },
|
|
2125
2125
|
class: { "is-invalid": c.value },
|
|
2126
|
-
modelValue:
|
|
2127
|
-
"onUpdate:modelValue":
|
|
2128
|
-
onInput:
|
|
2129
|
-
}), 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({
|
|
2130
2130
|
key: 1,
|
|
2131
|
-
id:
|
|
2131
|
+
id: t.name
|
|
2132
2132
|
}, v.$attrs, {
|
|
2133
|
-
placeholder:
|
|
2133
|
+
placeholder: t.placeholder,
|
|
2134
2134
|
class: { "is-invalid": c.value },
|
|
2135
|
-
modelValue:
|
|
2136
|
-
"onUpdate:modelValue":
|
|
2137
|
-
onInput:
|
|
2138
|
-
onBlur:
|
|
2139
|
-
}), 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({
|
|
2140
2140
|
key: 2,
|
|
2141
|
-
id:
|
|
2141
|
+
id: t.name
|
|
2142
2142
|
}, v.$attrs, {
|
|
2143
|
-
placeholder:
|
|
2144
|
-
mask:
|
|
2143
|
+
placeholder: t.placeholder,
|
|
2144
|
+
mask: t.mask,
|
|
2145
2145
|
class: { "is-invalid": c.value },
|
|
2146
|
-
modelValue:
|
|
2147
|
-
"onUpdate:modelValue":
|
|
2148
|
-
onComplete:
|
|
2149
|
-
onBlur:
|
|
2150
|
-
}), 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({
|
|
2151
2151
|
key: 3,
|
|
2152
|
-
id:
|
|
2152
|
+
id: t.name
|
|
2153
2153
|
}, v.$attrs, {
|
|
2154
|
-
placeholder:
|
|
2154
|
+
placeholder: t.placeholder,
|
|
2155
2155
|
class: { "is-invalid": c.value },
|
|
2156
|
-
modelValue:
|
|
2157
|
-
"onUpdate:modelValue":
|
|
2158
|
-
onInput:
|
|
2159
|
-
onBlur:
|
|
2160
|
-
}), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) :
|
|
2161
|
-
modelValue:
|
|
2162
|
-
"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),
|
|
2163
2163
|
class: { "is-invalid": c.value }
|
|
2164
|
-
}), null, 16, ["modelValue", "class"])) :
|
|
2165
|
-
modelValue:
|
|
2166
|
-
"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),
|
|
2167
2167
|
class: { "is-invalid": c.value }
|
|
2168
|
-
}), null, 16, ["modelValue", "class"])) :
|
|
2169
|
-
modelValue:
|
|
2170
|
-
"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),
|
|
2171
2171
|
class: { "is-invalid": c.value }
|
|
2172
|
-
}), null, 16, ["modelValue", "class"])) :
|
|
2172
|
+
}), null, 16, ["modelValue", "class"])) : C("", !0)
|
|
2173
2173
|
], 2),
|
|
2174
2174
|
H(m("small", {
|
|
2175
2175
|
"data-cy": "error",
|
|
2176
2176
|
class: "invalid-feedback"
|
|
2177
|
-
}, h(
|
|
2178
|
-
[
|
|
2177
|
+
}, h(u(r)), 513), [
|
|
2178
|
+
[Y, c.value && t.type !== "multiselect" && t.type !== "datepicker"]
|
|
2179
2179
|
])
|
|
2180
2180
|
]));
|
|
2181
2181
|
};
|
|
2182
2182
|
}
|
|
2183
|
-
}),
|
|
2183
|
+
}), qi = /* @__PURE__ */ F({
|
|
2184
2184
|
__name: "ForgeChips",
|
|
2185
2185
|
props: {
|
|
2186
2186
|
chipSeverity: { default: "primary" },
|
|
@@ -2207,17 +2207,17 @@ const bt = { key: 0 }, ft = {
|
|
|
2207
2207
|
unstyled: { type: Boolean }
|
|
2208
2208
|
},
|
|
2209
2209
|
setup(e) {
|
|
2210
|
-
const
|
|
2211
|
-
initialValue:
|
|
2212
|
-
}),
|
|
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(() => ({
|
|
2213
2213
|
inputtoken: "list-unstyled",
|
|
2214
2214
|
input: "border-0",
|
|
2215
|
-
container: ({ props:
|
|
2215
|
+
container: ({ props: s }) => ({
|
|
2216
2216
|
class: [
|
|
2217
2217
|
"form-control mb-0 d-flex",
|
|
2218
2218
|
{
|
|
2219
|
-
disabled:
|
|
2220
|
-
"is-invalid":
|
|
2219
|
+
disabled: s.disabled,
|
|
2220
|
+
"is-invalid": o.value
|
|
2221
2221
|
}
|
|
2222
2222
|
]
|
|
2223
2223
|
}),
|
|
@@ -2225,36 +2225,36 @@ const bt = { key: 0 }, ft = {
|
|
|
2225
2225
|
class: [
|
|
2226
2226
|
"rounded px-2 py-1 me-2 text-white list-unstyled",
|
|
2227
2227
|
{
|
|
2228
|
-
"rounded-pill":
|
|
2229
|
-
"opacity-75":
|
|
2228
|
+
"rounded-pill": a.pill,
|
|
2229
|
+
"opacity-75": a.disabled
|
|
2230
2230
|
},
|
|
2231
2231
|
{
|
|
2232
|
-
"bg-primary border-primary":
|
|
2233
|
-
"bg-brand border-brand":
|
|
2234
|
-
"bg-secondary border-secondary":
|
|
2235
|
-
"bg-success border-success":
|
|
2236
|
-
"bg-warning border-warning":
|
|
2237
|
-
"bg-danger border-danger":
|
|
2238
|
-
"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"
|
|
2239
2239
|
}
|
|
2240
2240
|
]
|
|
2241
2241
|
}
|
|
2242
2242
|
}));
|
|
2243
|
-
return (
|
|
2244
|
-
const c =
|
|
2245
|
-
return
|
|
2246
|
-
|
|
2243
|
+
return (s, d) => {
|
|
2244
|
+
const c = De;
|
|
2245
|
+
return p(), x(q, null, [
|
|
2246
|
+
f(c, z({ ...a, ...s.$attrs }, {
|
|
2247
2247
|
pt: r.value,
|
|
2248
|
-
"model-value":
|
|
2249
|
-
"onUpdate:modelValue":
|
|
2248
|
+
"model-value": u(i),
|
|
2249
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => de(i) ? i.value = v : null)
|
|
2250
2250
|
}), {
|
|
2251
2251
|
removetokenicon: g(({ removeCallback: v }) => [
|
|
2252
|
-
H(
|
|
2252
|
+
H(f(u(_), {
|
|
2253
2253
|
icon: "bi:x",
|
|
2254
2254
|
class: "cursor-pointer",
|
|
2255
2255
|
onClick: v
|
|
2256
2256
|
}, null, 8, ["onClick"]), [
|
|
2257
|
-
[
|
|
2257
|
+
[Y, !a.disabled]
|
|
2258
2258
|
])
|
|
2259
2259
|
]),
|
|
2260
2260
|
_: 1
|
|
@@ -2262,13 +2262,13 @@ const bt = { key: 0 }, ft = {
|
|
|
2262
2262
|
H(m("small", {
|
|
2263
2263
|
"data-cy": "error",
|
|
2264
2264
|
class: "text-invalid"
|
|
2265
|
-
}, h(
|
|
2266
|
-
[
|
|
2265
|
+
}, h(u(l)), 513), [
|
|
2266
|
+
[Y, o.value]
|
|
2267
2267
|
])
|
|
2268
2268
|
], 64);
|
|
2269
2269
|
};
|
|
2270
2270
|
}
|
|
2271
|
-
}),
|
|
2271
|
+
}), et = /* @__PURE__ */ F({
|
|
2272
2272
|
__name: "ForgeProgressBar",
|
|
2273
2273
|
props: {
|
|
2274
2274
|
severity: { default: "primary" },
|
|
@@ -2283,8 +2283,8 @@ const bt = { key: 0 }, ft = {
|
|
|
2283
2283
|
unstyled: { type: Boolean }
|
|
2284
2284
|
},
|
|
2285
2285
|
setup(e) {
|
|
2286
|
-
const
|
|
2287
|
-
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) {
|
|
2288
2288
|
case "brand":
|
|
2289
2289
|
return "bg-brand";
|
|
2290
2290
|
case "secondary":
|
|
@@ -2302,17 +2302,17 @@ const bt = { key: 0 }, ft = {
|
|
|
2302
2302
|
default:
|
|
2303
2303
|
return "bg-primary";
|
|
2304
2304
|
}
|
|
2305
|
-
}),
|
|
2305
|
+
}), o = k(() => ({
|
|
2306
2306
|
root: {
|
|
2307
|
-
style:
|
|
2307
|
+
style: a.pixelWidth ? `width: ${a.pixelWidth}px` : ""
|
|
2308
2308
|
},
|
|
2309
2309
|
value: {
|
|
2310
|
-
class: [
|
|
2310
|
+
class: [l.value, t.value, i.value]
|
|
2311
2311
|
}
|
|
2312
2312
|
}));
|
|
2313
|
-
return (r,
|
|
2314
|
-
const
|
|
2315
|
-
return
|
|
2313
|
+
return (r, s) => {
|
|
2314
|
+
const d = Ue;
|
|
2315
|
+
return p(), w(d, z({ ...r.$attrs, ...a }, { pt: o.value }), {
|
|
2316
2316
|
default: g(() => [
|
|
2317
2317
|
$(r.$slots, "default")
|
|
2318
2318
|
]),
|
|
@@ -2320,26 +2320,26 @@ const bt = { key: 0 }, ft = {
|
|
|
2320
2320
|
}, 16, ["pt"]);
|
|
2321
2321
|
};
|
|
2322
2322
|
}
|
|
2323
|
-
}),
|
|
2323
|
+
}), at = { class: "value text-white w-100 text-center" }, Ai = /* @__PURE__ */ F({
|
|
2324
2324
|
__name: "ForgeStatWidget",
|
|
2325
2325
|
props: {
|
|
2326
2326
|
size: { default: "md" },
|
|
2327
2327
|
severity: { default: "primary" }
|
|
2328
2328
|
},
|
|
2329
2329
|
setup(e) {
|
|
2330
|
-
const
|
|
2331
|
-
return (
|
|
2332
|
-
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}`
|
|
2333
2333
|
}), [
|
|
2334
|
-
m("span",
|
|
2335
|
-
$(
|
|
2334
|
+
m("span", at, [
|
|
2335
|
+
$(t.$slots, "default")
|
|
2336
2336
|
])
|
|
2337
2337
|
], 16));
|
|
2338
2338
|
}
|
|
2339
|
-
}),
|
|
2339
|
+
}), tt = {
|
|
2340
2340
|
class: "d-flex flex-column align-items-center",
|
|
2341
2341
|
"data-cy": "stepper"
|
|
2342
|
-
},
|
|
2342
|
+
}, it = { class: "d-flex align-items-center justify-content-center w-100" }, Ei = /* @__PURE__ */ F({
|
|
2343
2343
|
__name: "ForgeStepper",
|
|
2344
2344
|
props: {
|
|
2345
2345
|
currentStep: { default: 0 },
|
|
@@ -2354,22 +2354,22 @@ const bt = { key: 0 }, ft = {
|
|
|
2354
2354
|
unstyled: { type: Boolean }
|
|
2355
2355
|
},
|
|
2356
2356
|
emits: ["update:currentStep"],
|
|
2357
|
-
setup(e, { emit:
|
|
2358
|
-
const
|
|
2357
|
+
setup(e, { emit: a }) {
|
|
2358
|
+
const t = a, i = e, l = T(i.currentStep), o = () => {
|
|
2359
2359
|
do
|
|
2360
|
-
|
|
2361
|
-
while (
|
|
2362
|
-
|
|
2360
|
+
l.value--;
|
|
2361
|
+
while (i.model[l.value].disabled);
|
|
2362
|
+
t("update:currentStep", l.value);
|
|
2363
2363
|
}, r = () => {
|
|
2364
|
-
if (
|
|
2364
|
+
if (l.value < i.model.length - 1)
|
|
2365
2365
|
do
|
|
2366
|
-
|
|
2367
|
-
while (
|
|
2368
|
-
|
|
2369
|
-
},
|
|
2370
|
-
const c =
|
|
2371
|
-
return !(c <
|
|
2372
|
-
}),
|
|
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(() => ({
|
|
2373
2373
|
menuitem: (c) => ({
|
|
2374
2374
|
class: [{
|
|
2375
2375
|
"cursor-pointer": !c.context.disabled
|
|
@@ -2380,13 +2380,13 @@ const bt = { key: 0 }, ft = {
|
|
|
2380
2380
|
"d-flex align-items-center justify-content-center mb-2 step",
|
|
2381
2381
|
{
|
|
2382
2382
|
inactive: c.context.disabled,
|
|
2383
|
-
"bg-primary text-white": c.context.index ===
|
|
2384
|
-
"bg-brand text-white": c.context.index ===
|
|
2385
|
-
"bg-secondary text-white": c.context.index ===
|
|
2386
|
-
"bg-success text-white": c.context.index ===
|
|
2387
|
-
"bg-warning text-white": c.context.index ===
|
|
2388
|
-
"bg-danger text-white": c.context.index ===
|
|
2389
|
-
"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"
|
|
2390
2390
|
}
|
|
2391
2391
|
]
|
|
2392
2392
|
}),
|
|
@@ -2394,61 +2394,61 @@ const bt = { key: 0 }, ft = {
|
|
|
2394
2394
|
class: [
|
|
2395
2395
|
"h5",
|
|
2396
2396
|
{
|
|
2397
|
-
"border-bottom border-2 border-primary": c.context.index ===
|
|
2398
|
-
"border-bottom border-2 border-brand": c.context.index ===
|
|
2399
|
-
"border-bottom border-2 border-secondary": c.context.index ===
|
|
2400
|
-
"border-bottom border-2 border-success": c.context.index ===
|
|
2401
|
-
"border-bottom border-2 border-warning": c.context.index ===
|
|
2402
|
-
"border-bottom border-2 border-danger": c.context.index ===
|
|
2403
|
-
"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"
|
|
2404
2404
|
}
|
|
2405
2405
|
]
|
|
2406
2406
|
})
|
|
2407
2407
|
}));
|
|
2408
2408
|
return (c, v) => {
|
|
2409
|
-
const
|
|
2410
|
-
return
|
|
2411
|
-
m("div",
|
|
2412
|
-
|
|
2413
|
-
severity:
|
|
2414
|
-
disabled:
|
|
2415
|
-
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,
|
|
2416
2416
|
class: "rounded-circle py-2 me-4",
|
|
2417
2417
|
"data-cy": "back-button"
|
|
2418
2418
|
}, {
|
|
2419
2419
|
default: g(() => [
|
|
2420
|
-
|
|
2420
|
+
f(u(_), {
|
|
2421
2421
|
icon: "bi:chevron-left",
|
|
2422
2422
|
class: "mb-1"
|
|
2423
2423
|
})
|
|
2424
2424
|
]),
|
|
2425
2425
|
_: 1
|
|
2426
2426
|
}, 8, ["severity", "disabled"]),
|
|
2427
|
-
|
|
2428
|
-
"active-step":
|
|
2429
|
-
"onUpdate:activeStep": v[0] || (v[0] = (
|
|
2430
|
-
model:
|
|
2431
|
-
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,
|
|
2432
2432
|
readonly: !1
|
|
2433
2433
|
}, null, 8, ["active-step", "model", "pt"])
|
|
2434
2434
|
]),
|
|
2435
|
-
|
|
2436
|
-
(
|
|
2437
|
-
key:
|
|
2435
|
+
f(S, { class: "m-4" }),
|
|
2436
|
+
(p(!0), x(q, null, W(i.model, (V, D) => (p(), x("div", {
|
|
2437
|
+
key: D,
|
|
2438
2438
|
class: "w-100"
|
|
2439
2439
|
}, [
|
|
2440
|
-
|
|
2440
|
+
D === l.value ? $(c.$slots, V.key ?? V.label, {
|
|
2441
2441
|
key: 0,
|
|
2442
2442
|
nextStep: r,
|
|
2443
|
-
previousStep:
|
|
2443
|
+
previousStep: o
|
|
2444
2444
|
}, () => [
|
|
2445
|
-
|
|
2445
|
+
f(re, {
|
|
2446
2446
|
severity: "info",
|
|
2447
2447
|
"data-cy": "alert"
|
|
2448
2448
|
}, {
|
|
2449
2449
|
default: g(() => [
|
|
2450
|
-
|
|
2451
|
-
|
|
2450
|
+
P(" Please add Slot Content for the key " + h(V.key ?? V.label) + " ", 1),
|
|
2451
|
+
f(n, {
|
|
2452
2452
|
severity: "primary",
|
|
2453
2453
|
label: "Next",
|
|
2454
2454
|
onClick: r,
|
|
@@ -2457,12 +2457,12 @@ const bt = { key: 0 }, ft = {
|
|
|
2457
2457
|
]),
|
|
2458
2458
|
_: 2
|
|
2459
2459
|
}, 1024)
|
|
2460
|
-
]) :
|
|
2460
|
+
]) : C("", !0)
|
|
2461
2461
|
]))), 128))
|
|
2462
2462
|
]);
|
|
2463
2463
|
};
|
|
2464
2464
|
}
|
|
2465
|
-
}),
|
|
2465
|
+
}), lt = { class: "p-4 text-wrap w-100" }, ot = { class: "p-4 text-wrap w-100" }, Li = /* @__PURE__ */ F({
|
|
2466
2466
|
__name: "ForgeTile",
|
|
2467
2467
|
props: {
|
|
2468
2468
|
severity: { default: "primary" },
|
|
@@ -2471,48 +2471,48 @@ const bt = { key: 0 }, ft = {
|
|
|
2471
2471
|
selected: { type: Boolean, default: !1 }
|
|
2472
2472
|
},
|
|
2473
2473
|
setup(e) {
|
|
2474
|
-
const
|
|
2475
|
-
return (
|
|
2476
|
-
const r =
|
|
2477
|
-
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, {
|
|
2478
2478
|
key: 0,
|
|
2479
|
-
class: B(["d-flex w-100 p-0 text-body",
|
|
2480
|
-
severity:
|
|
2479
|
+
class: B(["d-flex w-100 p-0 text-body", t.value]),
|
|
2480
|
+
severity: a.severity,
|
|
2481
2481
|
unstyled: "",
|
|
2482
2482
|
"data-cy": "button-tile"
|
|
2483
2483
|
}, {
|
|
2484
2484
|
default: g(() => [
|
|
2485
|
-
m("div",
|
|
2486
|
-
$(
|
|
2487
|
-
|
|
2485
|
+
m("div", lt, [
|
|
2486
|
+
$(l.$slots, "default", {}, () => [
|
|
2487
|
+
o[0] || (o[0] = P("Tile Content"))
|
|
2488
2488
|
])
|
|
2489
2489
|
])
|
|
2490
2490
|
]),
|
|
2491
2491
|
_: 3
|
|
2492
|
-
}, 8, ["severity", "class"])) : (
|
|
2492
|
+
}, 8, ["severity", "class"])) : (p(), x("div", {
|
|
2493
2493
|
key: 1,
|
|
2494
|
-
class: B(["d-flex w-100",
|
|
2494
|
+
class: B(["d-flex w-100", i.value]),
|
|
2495
2495
|
"data-cy": "tile"
|
|
2496
2496
|
}, [
|
|
2497
|
-
m("div",
|
|
2498
|
-
$(
|
|
2499
|
-
|
|
2497
|
+
m("div", ot, [
|
|
2498
|
+
$(l.$slots, "default", {}, () => [
|
|
2499
|
+
o[1] || (o[1] = P("Tile Content"))
|
|
2500
2500
|
])
|
|
2501
2501
|
])
|
|
2502
2502
|
], 2));
|
|
2503
2503
|
};
|
|
2504
2504
|
}
|
|
2505
2505
|
});
|
|
2506
|
-
function
|
|
2507
|
-
return e > 1 ? `${
|
|
2506
|
+
function te(e, a) {
|
|
2507
|
+
return e > 1 ? `${a}s` : a;
|
|
2508
2508
|
}
|
|
2509
|
-
const
|
|
2509
|
+
const nt = {
|
|
2510
2510
|
class: "d-flex justify-content-start align-items-baseline",
|
|
2511
2511
|
"data-cy": "pagination-header"
|
|
2512
|
-
},
|
|
2512
|
+
}, st = { class: "ms-2" }, rt = { key: 0 }, pt = {
|
|
2513
2513
|
class: "w-auto",
|
|
2514
2514
|
"data-cy": "total"
|
|
2515
|
-
},
|
|
2515
|
+
}, dt = /* @__PURE__ */ F({
|
|
2516
2516
|
__name: "ForgePaginationHeader",
|
|
2517
2517
|
props: {
|
|
2518
2518
|
total: {},
|
|
@@ -2520,33 +2520,33 @@ const Qt = {
|
|
|
2520
2520
|
perPage: { default: 10 }
|
|
2521
2521
|
},
|
|
2522
2522
|
emits: ["update:perPage"],
|
|
2523
|
-
setup(e, { emit:
|
|
2524
|
-
const
|
|
2525
|
-
|
|
2526
|
-
},
|
|
2527
|
-
const r = Math.ceil(
|
|
2528
|
-
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")}`;
|
|
2529
2529
|
});
|
|
2530
|
-
return (r,
|
|
2531
|
-
|
|
2532
|
-
m("div",
|
|
2533
|
-
|
|
2534
|
-
options:
|
|
2535
|
-
"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,
|
|
2536
2536
|
class: "page-size",
|
|
2537
|
-
onChange:
|
|
2537
|
+
onChange: s[0] || (s[0] = (d) => l(d))
|
|
2538
2538
|
}, null, 8, ["options", "model-value"])
|
|
2539
2539
|
]),
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
m("span",
|
|
2543
|
-
])) :
|
|
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)
|
|
2544
2544
|
]));
|
|
2545
2545
|
}
|
|
2546
|
-
}),
|
|
2546
|
+
}), ct = { class: "position-relative" }, mt = { "data-cy": "above-table-slot" }, ut = { class: "d-flex w-100" }, vt = {
|
|
2547
2547
|
class: "mx-auto",
|
|
2548
2548
|
"data-cy": "empty-message"
|
|
2549
|
-
},
|
|
2549
|
+
}, ft = { class: "d-flex" }, xt = { class: "d-flex align-items-end mb-2" }, bt = { key: 0 }, gt = { class: "ms-auto" }, Ni = /* @__PURE__ */ F({
|
|
2550
2550
|
__name: "ForgeTable",
|
|
2551
2551
|
props: {
|
|
2552
2552
|
value: {},
|
|
@@ -2627,22 +2627,22 @@ const Qt = {
|
|
|
2627
2627
|
unstyled: { type: Boolean }
|
|
2628
2628
|
},
|
|
2629
2629
|
emits: ["update:filters", "update:tableContext", "sort", "page"],
|
|
2630
|
-
setup(e, { emit:
|
|
2631
|
-
const
|
|
2632
|
-
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,
|
|
2633
2633
|
perPage: r.value,
|
|
2634
2634
|
page: 0,
|
|
2635
2635
|
sortDirection: "None",
|
|
2636
2636
|
sortField: "",
|
|
2637
|
-
total:
|
|
2638
|
-
}),
|
|
2639
|
-
const
|
|
2640
|
-
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")}`;
|
|
2641
2641
|
}), v = k(() => ({
|
|
2642
2642
|
thead: () => ({
|
|
2643
2643
|
class: [
|
|
2644
2644
|
{
|
|
2645
|
-
"sticky-header":
|
|
2645
|
+
"sticky-header": i.stickyHeader
|
|
2646
2646
|
}
|
|
2647
2647
|
],
|
|
2648
2648
|
style: "position: "
|
|
@@ -2651,162 +2651,162 @@ const Qt = {
|
|
|
2651
2651
|
class: [
|
|
2652
2652
|
"spinner-border border-0",
|
|
2653
2653
|
{
|
|
2654
|
-
"text-brand":
|
|
2655
|
-
"text-primary":
|
|
2656
|
-
"text-success":
|
|
2657
|
-
"text-warning":
|
|
2658
|
-
"text-danger":
|
|
2659
|
-
"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"
|
|
2660
2660
|
}
|
|
2661
2661
|
]
|
|
2662
2662
|
})
|
|
2663
|
-
})),
|
|
2664
|
-
if (
|
|
2665
|
-
|
|
2663
|
+
})), n = () => {
|
|
2664
|
+
if (i.clearAll)
|
|
2665
|
+
i.clearAll();
|
|
2666
2666
|
else
|
|
2667
|
-
for (const
|
|
2668
|
-
typeof
|
|
2669
|
-
|
|
2670
|
-
},
|
|
2671
|
-
|
|
2672
|
-
}, S = (
|
|
2673
|
-
var
|
|
2674
|
-
|
|
2675
|
-
},
|
|
2676
|
-
|
|
2677
|
-
},
|
|
2678
|
-
|
|
2679
|
-
},
|
|
2680
|
-
|
|
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);
|
|
2681
2681
|
};
|
|
2682
|
-
return
|
|
2683
|
-
|
|
2684
|
-
}, { deep: !0 }),
|
|
2685
|
-
m("span",
|
|
2686
|
-
$(
|
|
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")
|
|
2687
2687
|
]),
|
|
2688
|
-
|
|
2689
|
-
class: ["w-100", `${
|
|
2690
|
-
}, { ...
|
|
2688
|
+
f(u(Ee), z({
|
|
2689
|
+
class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
|
|
2690
|
+
}, { ...i, ...b.$attrs }, {
|
|
2691
2691
|
pt: v.value,
|
|
2692
2692
|
rows: r.value,
|
|
2693
|
-
"total-records":
|
|
2694
|
-
"filter-display":
|
|
2693
|
+
"total-records": d.value,
|
|
2694
|
+
"filter-display": i.filters ? "row" : void 0,
|
|
2695
2695
|
ref_key: "forgeTable",
|
|
2696
|
-
ref:
|
|
2696
|
+
ref: l,
|
|
2697
2697
|
"data-cy": "table",
|
|
2698
|
-
"onUpdate:filters":
|
|
2698
|
+
"onUpdate:filters": V,
|
|
2699
2699
|
onSort: S,
|
|
2700
|
-
onPage:
|
|
2701
|
-
}),
|
|
2700
|
+
onPage: D
|
|
2701
|
+
}), oe({
|
|
2702
2702
|
empty: g(() => [
|
|
2703
|
-
m("div",
|
|
2704
|
-
m("h5",
|
|
2703
|
+
m("div", ut, [
|
|
2704
|
+
m("h5", vt, h(b.emptyMessage ?? "No items Found."), 1)
|
|
2705
2705
|
])
|
|
2706
2706
|
]),
|
|
2707
2707
|
header: g(() => [
|
|
2708
2708
|
m("div", {
|
|
2709
|
-
class: B(
|
|
2709
|
+
class: B(i.loading ? "opacity-50" : "")
|
|
2710
2710
|
}, [
|
|
2711
|
-
m("div",
|
|
2712
|
-
m("div",
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
total:
|
|
2716
|
-
"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,
|
|
2717
2717
|
"per-page": r.value,
|
|
2718
2718
|
"onUpdate:perPage": [
|
|
2719
|
-
|
|
2720
|
-
|
|
2719
|
+
y[0] || (y[0] = (R) => r.value = R),
|
|
2720
|
+
M
|
|
2721
2721
|
]
|
|
2722
2722
|
}, null, 8, ["total", "page-sizes", "per-page"])
|
|
2723
|
-
])) :
|
|
2723
|
+
])) : C("", !0)
|
|
2724
2724
|
]),
|
|
2725
|
-
m("div",
|
|
2726
|
-
|
|
2725
|
+
m("div", gt, [
|
|
2726
|
+
b.showClearButton ? (p(), w(u(A), {
|
|
2727
2727
|
key: 0,
|
|
2728
2728
|
outlined: "",
|
|
2729
|
-
class: B(
|
|
2730
|
-
onClick:
|
|
2729
|
+
class: B(b.showExporterButton ? "me-2" : ""),
|
|
2730
|
+
onClick: n,
|
|
2731
2731
|
"data-cy": "clear-all"
|
|
2732
2732
|
}, {
|
|
2733
2733
|
default: g(() => [
|
|
2734
|
-
|
|
2734
|
+
f(u(_), {
|
|
2735
2735
|
icon: "bi:funnel-fill",
|
|
2736
2736
|
width: "24",
|
|
2737
2737
|
height: "24"
|
|
2738
2738
|
}),
|
|
2739
|
-
|
|
2739
|
+
y[2] || (y[2] = P(" Clear "))
|
|
2740
2740
|
]),
|
|
2741
2741
|
_: 1
|
|
2742
|
-
}, 8, ["class"])) :
|
|
2743
|
-
|
|
2742
|
+
}, 8, ["class"])) : C("", !0),
|
|
2743
|
+
b.showExporterButton ? (p(), w(u(A), {
|
|
2744
2744
|
key: 1,
|
|
2745
2745
|
outlined: "",
|
|
2746
|
-
onClick:
|
|
2746
|
+
onClick: j,
|
|
2747
2747
|
"data-cy": "exporter"
|
|
2748
2748
|
}, {
|
|
2749
2749
|
default: g(() => [
|
|
2750
|
-
|
|
2750
|
+
f(u(_), {
|
|
2751
2751
|
icon: "typcn:export",
|
|
2752
2752
|
width: "24",
|
|
2753
2753
|
height: "24"
|
|
2754
2754
|
}),
|
|
2755
|
-
|
|
2755
|
+
y[3] || (y[3] = P(" Export "))
|
|
2756
2756
|
]),
|
|
2757
2757
|
_: 1
|
|
2758
|
-
})) :
|
|
2759
|
-
$(
|
|
2758
|
+
})) : C("", !0),
|
|
2759
|
+
$(b.$slots, "column-customiser")
|
|
2760
2760
|
])
|
|
2761
2761
|
])
|
|
2762
2762
|
], 2)
|
|
2763
2763
|
]),
|
|
2764
2764
|
default: g(() => [
|
|
2765
|
-
$(
|
|
2765
|
+
$(b.$slots, "default")
|
|
2766
2766
|
]),
|
|
2767
2767
|
_: 2
|
|
2768
2768
|
}, [
|
|
2769
|
-
|
|
2769
|
+
W(b.$slots, (R, Z) => ({
|
|
2770
2770
|
name: Z,
|
|
2771
|
-
fn: g((
|
|
2772
|
-
$(
|
|
2771
|
+
fn: g((pe) => [
|
|
2772
|
+
$(b.$slots, Z, ie(le(pe || {})))
|
|
2773
2773
|
])
|
|
2774
2774
|
})),
|
|
2775
|
-
|
|
2775
|
+
b.legacyPaginationFooter ? {
|
|
2776
2776
|
name: "paginatorstart",
|
|
2777
2777
|
fn: g(() => [
|
|
2778
2778
|
m("span", {
|
|
2779
|
-
class: B(["d-flex",
|
|
2779
|
+
class: B(["d-flex", i.loading ? "opacity-50" : ""]),
|
|
2780
2780
|
"data-cy": "legacy-page-size"
|
|
2781
2781
|
}, [
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
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,
|
|
2785
2785
|
modelValue: r.value,
|
|
2786
|
-
"onUpdate:modelValue":
|
|
2786
|
+
"onUpdate:modelValue": y[1] || (y[1] = (R) => r.value = R),
|
|
2787
2787
|
class: "ms-2",
|
|
2788
|
-
onClick:
|
|
2788
|
+
onClick: M
|
|
2789
2789
|
}, null, 8, ["options", "modelValue"])
|
|
2790
2790
|
], 2)
|
|
2791
2791
|
]),
|
|
2792
2792
|
key: "0"
|
|
2793
2793
|
} : void 0,
|
|
2794
|
-
|
|
2794
|
+
b.legacyPaginationFooter ? {
|
|
2795
2795
|
name: "paginatorend",
|
|
2796
2796
|
fn: g(() => [
|
|
2797
2797
|
m("span", {
|
|
2798
2798
|
"data-cy": "legacy-total",
|
|
2799
|
-
class: B(
|
|
2800
|
-
}, h(
|
|
2799
|
+
class: B(i.loading ? "opacity-50" : "")
|
|
2800
|
+
}, h(d.value) + " " + h(u(te)(d.value, "result")) + " across " + h(c.value), 3)
|
|
2801
2801
|
]),
|
|
2802
2802
|
key: "1"
|
|
2803
2803
|
} : void 0
|
|
2804
2804
|
]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
|
|
2805
2805
|
]));
|
|
2806
2806
|
}
|
|
2807
|
-
}),
|
|
2807
|
+
}), yt = { class: "d-flex position-relative" }, ht = { class: "d-flex w-100" }, Ri = /* @__PURE__ */ F({
|
|
2808
2808
|
__name: "ForgeFilterHeader",
|
|
2809
|
-
props: /* @__PURE__ */
|
|
2809
|
+
props: /* @__PURE__ */ N({
|
|
2810
2810
|
dataType: {},
|
|
2811
2811
|
dropdownOptions: {},
|
|
2812
2812
|
showClearButton: { type: Boolean, default: !1 },
|
|
@@ -2819,56 +2819,56 @@ const Qt = {
|
|
|
2819
2819
|
}),
|
|
2820
2820
|
emits: ["update:modelValue"],
|
|
2821
2821
|
setup(e) {
|
|
2822
|
-
const
|
|
2823
|
-
if (!
|
|
2824
|
-
return
|
|
2825
|
-
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) => {
|
|
2826
2826
|
var c;
|
|
2827
|
-
const
|
|
2828
|
-
(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])
|
|
2829
2829
|
);
|
|
2830
|
-
return e.optionLabel ?
|
|
2830
|
+
return e.optionLabel ? d[e.optionLabel] : d;
|
|
2831
2831
|
};
|
|
2832
|
-
return Array.isArray(
|
|
2833
|
-
},
|
|
2834
|
-
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;
|
|
2835
2835
|
};
|
|
2836
|
-
return (
|
|
2837
|
-
const r =
|
|
2838
|
-
return
|
|
2839
|
-
|
|
2836
|
+
return (l, o) => {
|
|
2837
|
+
const r = ge, s = A;
|
|
2838
|
+
return p(), x("div", yt, [
|
|
2839
|
+
l.dataType === "numeric" ? (p(), w(r, z({
|
|
2840
2840
|
key: 0,
|
|
2841
|
-
modelValue:
|
|
2842
|
-
"onUpdate:modelValue":
|
|
2843
|
-
},
|
|
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({
|
|
2844
2844
|
key: 1,
|
|
2845
|
-
modelValue:
|
|
2846
|
-
"onUpdate:modelValue":
|
|
2847
|
-
},
|
|
2845
|
+
modelValue: a.value,
|
|
2846
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => a.value = d)
|
|
2847
|
+
}, l.$attrs, {
|
|
2848
2848
|
"show-icon": !1,
|
|
2849
2849
|
"show-on-focus": !0
|
|
2850
|
-
}), null, 16, ["modelValue"])) :
|
|
2850
|
+
}), null, 16, ["modelValue"])) : l.dataType === "select" ? (p(), w(u(se), z({
|
|
2851
2851
|
key: 2,
|
|
2852
|
-
modelValue:
|
|
2853
|
-
"onUpdate:modelValue":
|
|
2854
|
-
},
|
|
2855
|
-
options:
|
|
2856
|
-
"option-value":
|
|
2857
|
-
"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
|
|
2858
2858
|
}), {
|
|
2859
|
-
value: g(({ value:
|
|
2860
|
-
m("div",
|
|
2859
|
+
value: g(({ value: d, placeholder: c }) => [
|
|
2860
|
+
m("div", ht, [
|
|
2861
2861
|
m("span", {
|
|
2862
|
-
class: B({ "filter-placeholder":
|
|
2863
|
-
}, h(
|
|
2864
|
-
|
|
2862
|
+
class: B({ "filter-placeholder": d === null })
|
|
2863
|
+
}, h(t(d, c)), 3),
|
|
2864
|
+
l.showClearButton && a.value !== null ? (p(), w(s, {
|
|
2865
2865
|
key: 0,
|
|
2866
|
-
onClick:
|
|
2866
|
+
onClick: G(i, ["prevent"]),
|
|
2867
2867
|
size: "small",
|
|
2868
2868
|
class: "bg-transparent border-0 ms-auto p-0 pe-1"
|
|
2869
2869
|
}, {
|
|
2870
2870
|
default: g(() => [
|
|
2871
|
-
|
|
2871
|
+
f(u(_), {
|
|
2872
2872
|
icon: "bi:x",
|
|
2873
2873
|
width: "1rem",
|
|
2874
2874
|
height: "1rem",
|
|
@@ -2876,33 +2876,33 @@ const Qt = {
|
|
|
2876
2876
|
})
|
|
2877
2877
|
]),
|
|
2878
2878
|
_: 1
|
|
2879
|
-
})) :
|
|
2879
|
+
})) : C("", !0)
|
|
2880
2880
|
])
|
|
2881
2881
|
]),
|
|
2882
2882
|
_: 1
|
|
2883
|
-
}, 16, ["modelValue", "options", "option-value", "option-label"])) :
|
|
2883
|
+
}, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (p(), w(u(me), z({
|
|
2884
2884
|
key: 3,
|
|
2885
|
-
modelValue:
|
|
2886
|
-
"onUpdate:modelValue":
|
|
2887
|
-
},
|
|
2888
|
-
options:
|
|
2885
|
+
modelValue: a.value,
|
|
2886
|
+
"onUpdate:modelValue": o[3] || (o[3] = (d) => a.value = d)
|
|
2887
|
+
}, l.$attrs, {
|
|
2888
|
+
options: l.dropdownOptions,
|
|
2889
2889
|
showToggleAll: !1,
|
|
2890
|
-
"option-label":
|
|
2891
|
-
"option-value":
|
|
2890
|
+
"option-label": l.optionLabel,
|
|
2891
|
+
"option-value": l.optionValue,
|
|
2892
2892
|
filter: ""
|
|
2893
|
-
}), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (
|
|
2893
|
+
}), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (p(), w(u(ce), z({
|
|
2894
2894
|
key: 4,
|
|
2895
|
-
modelValue:
|
|
2896
|
-
"onUpdate:modelValue":
|
|
2897
|
-
},
|
|
2898
|
-
|
|
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, {
|
|
2899
2899
|
key: 5,
|
|
2900
|
-
onClick:
|
|
2900
|
+
onClick: G(i, ["prevent"]),
|
|
2901
2901
|
size: "small",
|
|
2902
2902
|
class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
|
|
2903
2903
|
}, {
|
|
2904
2904
|
default: g(() => [
|
|
2905
|
-
|
|
2905
|
+
f(u(_), {
|
|
2906
2906
|
icon: "bi:x",
|
|
2907
2907
|
width: "1rem",
|
|
2908
2908
|
height: "1rem",
|
|
@@ -2910,58 +2910,123 @@ const Qt = {
|
|
|
2910
2910
|
})
|
|
2911
2911
|
]),
|
|
2912
2912
|
_: 1
|
|
2913
|
-
})) :
|
|
2913
|
+
})) : C("", !0)
|
|
2914
2914
|
]);
|
|
2915
2915
|
};
|
|
2916
2916
|
}
|
|
2917
|
-
});
|
|
2918
|
-
|
|
2919
|
-
const a = t.flatMap((n) => n.file);
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
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,
|
|
2926
2987
|
blobFileName: null
|
|
2927
|
-
})) :
|
|
2928
|
-
}),
|
|
2988
|
+
})) : a[r].status = "Duplicate";
|
|
2989
|
+
}), a;
|
|
2929
2990
|
}
|
|
2930
|
-
async function
|
|
2931
|
-
if (e === "Uploaded" &&
|
|
2991
|
+
async function wt(e, a) {
|
|
2992
|
+
if (e === "Uploaded" && a !== null)
|
|
2932
2993
|
try {
|
|
2933
|
-
await new
|
|
2934
|
-
} catch (
|
|
2935
|
-
if (
|
|
2994
|
+
await new ye(a).delete();
|
|
2995
|
+
} catch (t) {
|
|
2996
|
+
if (t !== "BlobNotFound") {
|
|
2936
2997
|
e = "DeleteFileFailed";
|
|
2937
2998
|
return;
|
|
2938
2999
|
}
|
|
2939
3000
|
}
|
|
2940
3001
|
}
|
|
2941
|
-
function
|
|
2942
|
-
const
|
|
2943
|
-
if (Math.abs(e) <
|
|
3002
|
+
function fe(e, a = !0, t = 1) {
|
|
3003
|
+
const i = a ? 1e3 : 1024;
|
|
3004
|
+
if (Math.abs(e) < i)
|
|
2944
3005
|
return e + " B";
|
|
2945
|
-
const
|
|
2946
|
-
let
|
|
2947
|
-
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;
|
|
2948
3009
|
do
|
|
2949
|
-
e /=
|
|
2950
|
-
while (Math.round(Math.abs(e) * r) / r >=
|
|
2951
|
-
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];
|
|
2952
3013
|
}
|
|
2953
|
-
function
|
|
3014
|
+
function kt(e) {
|
|
2954
3015
|
return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
|
|
2955
3016
|
}
|
|
2956
|
-
function
|
|
3017
|
+
function $t(e) {
|
|
2957
3018
|
return URL.createObjectURL(e);
|
|
2958
3019
|
}
|
|
2959
|
-
|
|
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 = {
|
|
2960
3025
|
class: "text-break accepted-file-types-container",
|
|
2961
3026
|
id: "accepted-file-types-overlay"
|
|
2962
|
-
},
|
|
3027
|
+
}, jt = /* @__PURE__ */ F({
|
|
2963
3028
|
__name: "UploadButton",
|
|
2964
|
-
props: /* @__PURE__ */
|
|
3029
|
+
props: /* @__PURE__ */ N({
|
|
2965
3030
|
acceptedFileTypes: {},
|
|
2966
3031
|
maxFileInput: {},
|
|
2967
3032
|
showDragDropArea: { type: Boolean }
|
|
@@ -2971,12 +3036,12 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
2971
3036
|
}),
|
|
2972
3037
|
emits: ["update:modelValue"],
|
|
2973
3038
|
setup(e) {
|
|
2974
|
-
const
|
|
2975
|
-
|
|
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);
|
|
2976
3041
|
};
|
|
2977
|
-
return (r,
|
|
2978
|
-
const
|
|
2979
|
-
return
|
|
3042
|
+
return (r, s) => {
|
|
3043
|
+
const d = A;
|
|
3044
|
+
return p(), x("div", Ft, [
|
|
2980
3045
|
$(r.$slots, "message"),
|
|
2981
3046
|
m("div", null, [
|
|
2982
3047
|
m("input", {
|
|
@@ -2984,60 +3049,60 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
2984
3049
|
type: "file",
|
|
2985
3050
|
class: "d-none",
|
|
2986
3051
|
accept: r.acceptedFileTypes.join(", "),
|
|
2987
|
-
disabled:
|
|
3052
|
+
disabled: l.value,
|
|
2988
3053
|
multiple: r.maxFileInput > 1,
|
|
2989
|
-
onInput:
|
|
2990
|
-
}, null, 40,
|
|
3054
|
+
onInput: s[0] || (s[0] = (c) => o([...c.target.files]))
|
|
3055
|
+
}, null, 40, zt),
|
|
2991
3056
|
m("label", {
|
|
2992
|
-
class: B([{ disabled:
|
|
3057
|
+
class: B([{ disabled: l.value }, "btn btn-primary"]),
|
|
2993
3058
|
id: "file-input-button",
|
|
2994
3059
|
for: "file-input"
|
|
2995
3060
|
}, [
|
|
2996
3061
|
$(r.$slots, "button-content", {}, () => [
|
|
2997
|
-
|
|
3062
|
+
f(u(_), {
|
|
2998
3063
|
icon: "bi:upload",
|
|
2999
3064
|
class: "me-2",
|
|
3000
3065
|
height: "20px",
|
|
3001
3066
|
width: "20px"
|
|
3002
3067
|
}),
|
|
3003
|
-
|
|
3068
|
+
s[1] || (s[1] = P(" Browse your computer "))
|
|
3004
3069
|
])
|
|
3005
3070
|
], 2)
|
|
3006
3071
|
]),
|
|
3007
|
-
r.showDragDropArea ? (
|
|
3072
|
+
r.showDragDropArea ? (p(), w(d, {
|
|
3008
3073
|
link: "",
|
|
3009
3074
|
class: "ms-auto",
|
|
3010
3075
|
key: r.acceptedFileTypes.length,
|
|
3011
3076
|
id: "accepted-file-types",
|
|
3012
|
-
onClick:
|
|
3077
|
+
onClick: i
|
|
3013
3078
|
}, {
|
|
3014
|
-
default: g(() =>
|
|
3015
|
-
|
|
3079
|
+
default: g(() => s[2] || (s[2] = [
|
|
3080
|
+
P("Accepted File Types")
|
|
3016
3081
|
])),
|
|
3017
3082
|
_: 1
|
|
3018
|
-
})) :
|
|
3019
|
-
|
|
3083
|
+
})) : C("", !0),
|
|
3084
|
+
f(u(he), {
|
|
3020
3085
|
ref_key: "acceptedFilesOverlay",
|
|
3021
|
-
ref:
|
|
3086
|
+
ref: t
|
|
3022
3087
|
}, {
|
|
3023
3088
|
default: g(() => [
|
|
3024
|
-
m("div",
|
|
3089
|
+
m("div", _t, h(r.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
|
|
3025
3090
|
]),
|
|
3026
3091
|
_: 1
|
|
3027
3092
|
}, 512)
|
|
3028
3093
|
]);
|
|
3029
3094
|
};
|
|
3030
3095
|
}
|
|
3031
|
-
}),
|
|
3096
|
+
}), Ct = {
|
|
3032
3097
|
key: 0,
|
|
3033
3098
|
class: "py-4 px-3",
|
|
3034
3099
|
id: "placeholder-message"
|
|
3035
|
-
},
|
|
3100
|
+
}, St = {
|
|
3036
3101
|
key: 1,
|
|
3037
3102
|
class: "d-flex flex-column"
|
|
3038
|
-
},
|
|
3103
|
+
}, Vt = /* @__PURE__ */ F({
|
|
3039
3104
|
__name: "DragDropArea",
|
|
3040
|
-
props: /* @__PURE__ */
|
|
3105
|
+
props: /* @__PURE__ */ N({
|
|
3041
3106
|
maxFileInput: {},
|
|
3042
3107
|
maxFileSize: {},
|
|
3043
3108
|
acceptedFileTypes: {}
|
|
@@ -3047,30 +3112,30 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3047
3112
|
}),
|
|
3048
3113
|
emits: ["update:modelValue"],
|
|
3049
3114
|
setup(e) {
|
|
3050
|
-
const
|
|
3051
|
-
|
|
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);
|
|
3052
3117
|
};
|
|
3053
|
-
return (
|
|
3118
|
+
return (o, r) => (p(), x("div", {
|
|
3054
3119
|
id: "drag-drop-area",
|
|
3055
|
-
class: B(`${
|
|
3056
|
-
onDragleave: r[0] || (r[0] =
|
|
3057
|
-
onDragover: r[1] || (r[1] =
|
|
3058
|
-
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"])
|
|
3059
3124
|
}, [
|
|
3060
|
-
|
|
3061
|
-
|
|
3125
|
+
a.value.length === 0 ? (p(), x("div", Ct, [
|
|
3126
|
+
f(u(_), {
|
|
3062
3127
|
icon: "bi:upload",
|
|
3063
3128
|
class: "me-2",
|
|
3064
3129
|
height: "20px",
|
|
3065
3130
|
width: "20px"
|
|
3066
3131
|
}),
|
|
3067
|
-
r[2] || (r[2] =
|
|
3068
|
-
])) : (
|
|
3069
|
-
$(
|
|
3132
|
+
r[2] || (r[2] = P(" Drag and drop files here "))
|
|
3133
|
+
])) : (p(), x("div", St, [
|
|
3134
|
+
$(o.$slots, "default")
|
|
3070
3135
|
]))
|
|
3071
3136
|
], 34));
|
|
3072
3137
|
}
|
|
3073
|
-
}),
|
|
3138
|
+
}), Tt = { class: "d-flex align-items-center me-2" }, Mt = /* @__PURE__ */ F({
|
|
3074
3139
|
__name: "UploadStatus",
|
|
3075
3140
|
props: {
|
|
3076
3141
|
fileSize: {},
|
|
@@ -3079,12 +3144,12 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3079
3144
|
uploadStatus: {}
|
|
3080
3145
|
},
|
|
3081
3146
|
setup(e) {
|
|
3082
|
-
const
|
|
3147
|
+
const a = k(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), t = k(() => {
|
|
3083
3148
|
switch (e.uploadStatus) {
|
|
3084
3149
|
case "InvalidFileType":
|
|
3085
3150
|
return "Upload Failed: File type is not accepted.";
|
|
3086
3151
|
case "InvalidFileSize":
|
|
3087
|
-
return `Upload Failed: File size exceeds the ${
|
|
3152
|
+
return `Upload Failed: File size exceeds the ${fe(e.maxFileSize)} limit.`;
|
|
3088
3153
|
case "Aborted":
|
|
3089
3154
|
return "Upload Failed: User cancelled.";
|
|
3090
3155
|
case "DeleteFileFailed":
|
|
@@ -3095,43 +3160,43 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3095
3160
|
return "Upload Failed: Connection error, please try again.";
|
|
3096
3161
|
}
|
|
3097
3162
|
});
|
|
3098
|
-
return (
|
|
3099
|
-
|
|
3163
|
+
return (i, l) => (p(), x("div", Tt, [
|
|
3164
|
+
i.uploadStatus === "Uploading" ? (p(), w(et, {
|
|
3100
3165
|
key: 0,
|
|
3101
3166
|
pixelWidth: 200,
|
|
3102
3167
|
animate: "",
|
|
3103
3168
|
striped: ""
|
|
3104
3169
|
}, {
|
|
3105
3170
|
default: g(() => [
|
|
3106
|
-
|
|
3171
|
+
P(h((i.bytesUploaded / i.fileSize * 100).toFixed(0)) + "%", 1)
|
|
3107
3172
|
]),
|
|
3108
3173
|
_: 1
|
|
3109
|
-
})) :
|
|
3110
|
-
|
|
3174
|
+
})) : C("", !0),
|
|
3175
|
+
i.uploadStatus !== "Uploading" && i.uploadStatus !== "Not Uploaded" && i.uploadStatus !== "Uploaded" && i.uploadStatus !== "Preparing" ? (p(), w(re, {
|
|
3111
3176
|
key: 1,
|
|
3112
3177
|
id: "upload-status-alert",
|
|
3113
|
-
severity:
|
|
3178
|
+
severity: a.value,
|
|
3114
3179
|
class: "mb-0 w-75 ms-auto"
|
|
3115
3180
|
}, {
|
|
3116
3181
|
default: g(() => [
|
|
3117
|
-
|
|
3182
|
+
P(h(t.value), 1)
|
|
3118
3183
|
]),
|
|
3119
3184
|
_: 1
|
|
3120
|
-
}, 8, ["severity"])) :
|
|
3185
|
+
}, 8, ["severity"])) : C("", !0)
|
|
3121
3186
|
]));
|
|
3122
3187
|
}
|
|
3123
|
-
}),
|
|
3188
|
+
}), Pt = ["data-cy"], It = { class: "ms-3 d-flex flex-column" }, Ot = {
|
|
3124
3189
|
key: 1,
|
|
3125
3190
|
id: "file-name"
|
|
3126
|
-
},
|
|
3191
|
+
}, Dt = {
|
|
3127
3192
|
class: "text-black-50",
|
|
3128
3193
|
id: "file-type"
|
|
3129
|
-
},
|
|
3194
|
+
}, Ut = {
|
|
3130
3195
|
class: "text-black-50",
|
|
3131
3196
|
id: "file-size"
|
|
3132
|
-
},
|
|
3197
|
+
}, qt = { class: "ms-auto my-auto d-flex" }, At = /* @__PURE__ */ F({
|
|
3133
3198
|
__name: "FileInfo",
|
|
3134
|
-
props: /* @__PURE__ */
|
|
3199
|
+
props: /* @__PURE__ */ N({
|
|
3135
3200
|
editableFileName: { type: Boolean },
|
|
3136
3201
|
acceptedFileTypes: {},
|
|
3137
3202
|
maxFileSize: {},
|
|
@@ -3146,57 +3211,61 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3146
3211
|
uploadStatus: { required: !0 },
|
|
3147
3212
|
uploadStatusModifiers: {}
|
|
3148
3213
|
}),
|
|
3149
|
-
emits: /* @__PURE__ */
|
|
3150
|
-
setup(e, { emit:
|
|
3151
|
-
const
|
|
3152
|
-
|
|
3153
|
-
},
|
|
3154
|
-
if (!v.value || !
|
|
3155
|
-
|
|
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";
|
|
3156
3221
|
return;
|
|
3157
3222
|
}
|
|
3158
|
-
|
|
3159
|
-
const [
|
|
3160
|
-
if (!
|
|
3161
|
-
|
|
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";
|
|
3162
3227
|
return;
|
|
3163
3228
|
}
|
|
3164
3229
|
try {
|
|
3165
|
-
|
|
3166
|
-
const
|
|
3230
|
+
l.value = "Uploading";
|
|
3231
|
+
const y = new ye(M), R = {
|
|
3167
3232
|
abortSignal: c.value.signal,
|
|
3168
|
-
onProgress: (
|
|
3233
|
+
onProgress: (Z) => d.value = Z.loadedBytes,
|
|
3234
|
+
blobHTTPHeaders: {
|
|
3235
|
+
blobContentType: j.value,
|
|
3236
|
+
blobContentDisposition: `attachment; filename="${t.value.name}"`
|
|
3237
|
+
},
|
|
3169
3238
|
tags: { temp: "true" }
|
|
3170
3239
|
};
|
|
3171
|
-
await
|
|
3172
|
-
} catch (
|
|
3173
|
-
if (
|
|
3174
|
-
|
|
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";
|
|
3175
3244
|
return;
|
|
3176
3245
|
}
|
|
3177
|
-
|
|
3246
|
+
l.value = "Failed";
|
|
3178
3247
|
}
|
|
3179
|
-
},
|
|
3180
|
-
await
|
|
3248
|
+
}, D = async () => {
|
|
3249
|
+
await wt(l.value, s.value), o("deleted", t.value);
|
|
3181
3250
|
};
|
|
3182
|
-
return
|
|
3183
|
-
e.autoUploadToBlob &&
|
|
3184
|
-
}), (
|
|
3185
|
-
const
|
|
3186
|
-
return
|
|
3251
|
+
return ne(() => {
|
|
3252
|
+
e.autoUploadToBlob && V();
|
|
3253
|
+
}), (M, b) => {
|
|
3254
|
+
const y = A;
|
|
3255
|
+
return p(), x("div", {
|
|
3187
3256
|
class: "py-4 px-3 d-flex",
|
|
3188
|
-
"data-cy": `file-info-${
|
|
3257
|
+
"data-cy": `file-info-${t.value.name}`
|
|
3189
3258
|
}, [
|
|
3190
3259
|
m("div", null, [
|
|
3191
|
-
|
|
3260
|
+
u(kt)(t.value.type) ? (p(), w(u(Le), {
|
|
3192
3261
|
key: 0,
|
|
3193
3262
|
id: "thumbnail-image",
|
|
3194
3263
|
"image-class": "image-file-thumbnail border",
|
|
3195
|
-
src:
|
|
3196
|
-
alt:
|
|
3264
|
+
src: u($t)(t.value),
|
|
3265
|
+
alt: t.value.name,
|
|
3197
3266
|
width: "75px",
|
|
3198
3267
|
preview: ""
|
|
3199
|
-
}, null, 8, ["src", "alt"])) : (
|
|
3268
|
+
}, null, 8, ["src", "alt"])) : (p(), w(u(_), {
|
|
3200
3269
|
key: 1,
|
|
3201
3270
|
id: "file-earmark",
|
|
3202
3271
|
icon: "bi:file-earmark",
|
|
@@ -3204,78 +3273,78 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3204
3273
|
width: "75px"
|
|
3205
3274
|
}))
|
|
3206
3275
|
]),
|
|
3207
|
-
m("div",
|
|
3276
|
+
m("div", It, [
|
|
3208
3277
|
m("div", null, [
|
|
3209
|
-
|
|
3278
|
+
M.editableFileName ? (p(), w(Va, {
|
|
3210
3279
|
key: 0,
|
|
3211
3280
|
id: "edit-file-name",
|
|
3212
3281
|
modelValue: r.value,
|
|
3213
|
-
"onUpdate:modelValue":
|
|
3214
|
-
rules:
|
|
3215
|
-
name:
|
|
3216
|
-
"complete-action":
|
|
3217
|
-
}, 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))
|
|
3218
3287
|
]),
|
|
3219
|
-
m("span",
|
|
3220
|
-
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)
|
|
3221
3290
|
]),
|
|
3222
|
-
m("div",
|
|
3223
|
-
(
|
|
3224
|
-
key:
|
|
3225
|
-
"file-size":
|
|
3226
|
-
"upload-status":
|
|
3227
|
-
"bytes-uploaded":
|
|
3228
|
-
"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
|
|
3229
3298
|
}, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
|
|
3230
|
-
|
|
3299
|
+
l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (p(), w(y, {
|
|
3231
3300
|
key: 0,
|
|
3232
3301
|
link: "",
|
|
3233
|
-
onClick:
|
|
3302
|
+
onClick: V
|
|
3234
3303
|
}, {
|
|
3235
3304
|
default: g(() => [
|
|
3236
|
-
|
|
3237
|
-
icon:
|
|
3305
|
+
f(u(_), {
|
|
3306
|
+
icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
|
|
3238
3307
|
}, null, 8, ["icon"])
|
|
3239
3308
|
]),
|
|
3240
3309
|
_: 1
|
|
3241
|
-
})) :
|
|
3242
|
-
|
|
3310
|
+
})) : C("", !0),
|
|
3311
|
+
l.value === "Uploading" ? (p(), w(y, {
|
|
3243
3312
|
key: 1,
|
|
3244
3313
|
link: "",
|
|
3245
|
-
onClick:
|
|
3314
|
+
onClick: b[1] || (b[1] = (R) => c.value.value.abort())
|
|
3246
3315
|
}, {
|
|
3247
3316
|
default: g(() => [
|
|
3248
|
-
|
|
3317
|
+
f(u(_), { icon: "bi:x-circle-fill" })
|
|
3249
3318
|
]),
|
|
3250
3319
|
_: 1
|
|
3251
|
-
})) : (
|
|
3320
|
+
})) : (p(), w(y, {
|
|
3252
3321
|
key: 2,
|
|
3253
3322
|
link: "",
|
|
3254
|
-
onClick:
|
|
3323
|
+
onClick: D,
|
|
3255
3324
|
id: "delete-button"
|
|
3256
3325
|
}, {
|
|
3257
3326
|
default: g(() => [
|
|
3258
|
-
|
|
3327
|
+
f(u(_), { icon: "bi:trash" })
|
|
3259
3328
|
]),
|
|
3260
3329
|
_: 1
|
|
3261
3330
|
}))
|
|
3262
3331
|
])
|
|
3263
|
-
], 8,
|
|
3332
|
+
], 8, Pt);
|
|
3264
3333
|
};
|
|
3265
3334
|
}
|
|
3266
|
-
}),
|
|
3335
|
+
}), Et = { class: "d-flex justify-content-end mt-1" }, Lt = { id: "max-file-size" }, Nt = /* @__PURE__ */ F({
|
|
3267
3336
|
__name: "MaxFileSize",
|
|
3268
3337
|
props: {
|
|
3269
3338
|
maxFileSize: {}
|
|
3270
3339
|
},
|
|
3271
3340
|
setup(e) {
|
|
3272
|
-
return (
|
|
3273
|
-
m("div",
|
|
3341
|
+
return (a, t) => (p(), x("div", Et, [
|
|
3342
|
+
m("div", Lt, "Max file size: " + h(u(fe)(a.maxFileSize)), 1)
|
|
3274
3343
|
]));
|
|
3275
3344
|
}
|
|
3276
|
-
}),
|
|
3345
|
+
}), Rt = { "data-cy": "file-uploader" }, Ht = { key: 0 }, Hi = /* @__PURE__ */ F({
|
|
3277
3346
|
__name: "ForgeFileUploader",
|
|
3278
|
-
props: /* @__PURE__ */
|
|
3347
|
+
props: /* @__PURE__ */ N({
|
|
3279
3348
|
acceptedFileTypes: {},
|
|
3280
3349
|
maxFileSize: {},
|
|
3281
3350
|
getFileUrlAction: {},
|
|
@@ -3290,46 +3359,46 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3290
3359
|
}),
|
|
3291
3360
|
emits: ["update:modelValue"],
|
|
3292
3361
|
setup(e) {
|
|
3293
|
-
const
|
|
3294
|
-
|
|
3362
|
+
const a = O(e, "modelValue"), t = e, i = (l) => {
|
|
3363
|
+
a.value = a.value.filter((o) => o.file != l);
|
|
3295
3364
|
};
|
|
3296
|
-
return (
|
|
3297
|
-
|
|
3298
|
-
modelValue:
|
|
3299
|
-
"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)
|
|
3300
3369
|
}), null, 16, ["modelValue"]),
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
"max-file-input":
|
|
3304
|
-
"max-file-size":
|
|
3305
|
-
"accepted-file-types":
|
|
3306
|
-
modelValue:
|
|
3307
|
-
"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)
|
|
3308
3377
|
}, {
|
|
3309
3378
|
default: g(() => [
|
|
3310
|
-
(
|
|
3311
|
-
(
|
|
3379
|
+
(p(!0), x(q, null, W(a.value, ({ file: r }, s) => (p(), x("span", null, [
|
|
3380
|
+
(p(), w(At, z({
|
|
3312
3381
|
key: r.name,
|
|
3313
|
-
class:
|
|
3314
|
-
file:
|
|
3315
|
-
"onUpdate:file": (
|
|
3316
|
-
"blob-file-name":
|
|
3317
|
-
"onUpdate:blobFileName": (
|
|
3318
|
-
"upload-status":
|
|
3319
|
-
"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,
|
|
3320
3389
|
ref_for: !0
|
|
3321
|
-
},
|
|
3390
|
+
}, t, { onDeleted: i }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
|
|
3322
3391
|
]))), 256))
|
|
3323
3392
|
]),
|
|
3324
3393
|
_: 1
|
|
3325
3394
|
}, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
|
|
3326
|
-
|
|
3327
|
-
"max-file-size":
|
|
3395
|
+
f(Nt, {
|
|
3396
|
+
"max-file-size": t.maxFileSize
|
|
3328
3397
|
}, null, 8, ["max-file-size"])
|
|
3329
|
-
])) :
|
|
3398
|
+
])) : C("", !0)
|
|
3330
3399
|
]));
|
|
3331
3400
|
}
|
|
3332
|
-
}),
|
|
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({
|
|
3333
3402
|
__name: "ForgeColumnCustomiser",
|
|
3334
3403
|
props: {
|
|
3335
3404
|
modelValue: { required: !0 },
|
|
@@ -3337,63 +3406,63 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3337
3406
|
},
|
|
3338
3407
|
emits: ["update:modelValue"],
|
|
3339
3408
|
setup(e) {
|
|
3340
|
-
const
|
|
3341
|
-
|
|
3342
|
-
},
|
|
3343
|
-
const c =
|
|
3344
|
-
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);
|
|
3345
3414
|
};
|
|
3346
|
-
return
|
|
3347
|
-
|
|
3348
|
-
}), (
|
|
3349
|
-
|
|
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), {
|
|
3350
3419
|
onClick: r,
|
|
3351
3420
|
class: "ms-2"
|
|
3352
3421
|
}, {
|
|
3353
3422
|
default: g(() => [
|
|
3354
|
-
m("div",
|
|
3355
|
-
m("div",
|
|
3356
|
-
|
|
3423
|
+
m("div", Wt, [
|
|
3424
|
+
m("div", Yt, [
|
|
3425
|
+
f(u(_), { icon: "bi:layout-three-columns" })
|
|
3357
3426
|
]),
|
|
3358
|
-
|
|
3359
|
-
m("div",
|
|
3360
|
-
|
|
3361
|
-
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"
|
|
3362
3431
|
}, null, 8, ["icon"])
|
|
3363
3432
|
])
|
|
3364
3433
|
])
|
|
3365
3434
|
]),
|
|
3366
3435
|
_: 1
|
|
3367
3436
|
}),
|
|
3368
|
-
|
|
3437
|
+
f(u(he), {
|
|
3369
3438
|
ref_key: "columnCustomiserPanel",
|
|
3370
|
-
ref:
|
|
3439
|
+
ref: t,
|
|
3371
3440
|
class: "column-customiser",
|
|
3372
|
-
onHide: c[0] || (c[0] = () =>
|
|
3373
|
-
onShow: c[1] || (c[1] = () =>
|
|
3441
|
+
onHide: c[0] || (c[0] = () => i.value = !1),
|
|
3442
|
+
onShow: c[1] || (c[1] = () => i.value = !0)
|
|
3374
3443
|
}, {
|
|
3375
3444
|
default: g(() => [
|
|
3376
|
-
m("div",
|
|
3377
|
-
(
|
|
3445
|
+
m("div", Kt, [
|
|
3446
|
+
(p(!0), x(q, null, W(l.value, (v, n) => (p(), x("div", {
|
|
3378
3447
|
class: B(["d-flex cursor-pointer", {
|
|
3379
|
-
"border-top":
|
|
3380
|
-
"py-1":
|
|
3381
|
-
"pt-1":
|
|
3382
|
-
"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
|
|
3383
3452
|
}]),
|
|
3384
|
-
onClick: (
|
|
3453
|
+
onClick: (j) => s(v.field)
|
|
3385
3454
|
}, [
|
|
3386
|
-
|
|
3455
|
+
f(u(be), {
|
|
3387
3456
|
id: v.field,
|
|
3388
|
-
"model-value":
|
|
3457
|
+
"model-value": o.value.find((j) => j.field === v.field).selected,
|
|
3389
3458
|
binary: "",
|
|
3390
3459
|
class: "cursor-pointer"
|
|
3391
3460
|
}, null, 8, ["id", "model-value"]),
|
|
3392
3461
|
m("label", {
|
|
3393
3462
|
for: v.field,
|
|
3394
3463
|
class: "cursor-pointer"
|
|
3395
|
-
}, h(v.header), 9,
|
|
3396
|
-
], 10,
|
|
3464
|
+
}, h(v.header), 9, Jt)
|
|
3465
|
+
], 10, Zt))), 256))
|
|
3397
3466
|
])
|
|
3398
3467
|
]),
|
|
3399
3468
|
_: 1
|
|
@@ -3402,32 +3471,32 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3402
3471
|
}
|
|
3403
3472
|
});
|
|
3404
3473
|
export {
|
|
3405
|
-
|
|
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
|
-
|
|
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
|
|
3433
3502
|
};
|