@3squared/forge-ui-3 1.3.3 → 1.3.5
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 +1168 -1095
- package/dist/src/components/ForgeModal.vue.d.ts +3 -3
- package/dist/src/components/ForgeStatWidget.vue.d.ts +1 -1
- package/dist/src/components/file-uploader/utilities/utilities.d.ts +2 -0
- package/dist/src/types/forge-types.d.ts +1 -1
- package/package.json +5 -4
- package/src/types/forge-types.ts +1 -1
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 Ve from "primevue/dialog";
|
|
10
|
+
import ce from "primevue/inputtext";
|
|
11
|
+
import { vOnClickOutside as Se } 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
|
+
}, _i = {
|
|
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
|
+
}), ji = /* @__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"], Ci = /* @__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 Vi(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
|
+
}, Ti = /* @__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
|
|
1230
|
-
return
|
|
1231
|
-
onMaximize:
|
|
1228
|
+
return (n, j) => {
|
|
1229
|
+
const V = A, S = Ve;
|
|
1230
|
+
return p(), w(S, 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(V, {
|
|
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(V, {
|
|
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 }, Va = { "data-cy": "readonly-value" }, Sa = /* @__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
|
|
1320
|
-
var
|
|
1321
|
-
|
|
1319
|
+
const a = e, t = O(e, "modelValue"), i = T(!1), l = T(), o = () => {
|
|
1320
|
+
var V;
|
|
1321
|
+
i.value = !i.value, (V = l.value) == null || V.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 (
|
|
1345
|
-
const
|
|
1346
|
-
return
|
|
1347
|
-
id:
|
|
1343
|
+
const j = k(() => v.value.length > 0);
|
|
1344
|
+
return (V, S) => {
|
|
1345
|
+
const D = ce, M = A;
|
|
1346
|
+
return p(), x("div", {
|
|
1347
|
+
id: a.name
|
|
1348
1348
|
}, [
|
|
1349
|
-
|
|
1350
|
-
$(
|
|
1351
|
-
m("span",
|
|
1349
|
+
V.readonly ? (p(), x("div", Ca, [
|
|
1350
|
+
$(V.$slots, "default", {}, () => [
|
|
1351
|
+
m("span", Va, h(u(n)), 1)
|
|
1352
1352
|
])
|
|
1353
|
-
])) : (
|
|
1354
|
-
|
|
1355
|
-
H((
|
|
1356
|
-
$(
|
|
1357
|
-
class: B({ "is-invalid":
|
|
1353
|
+
])) : (p(), x("div", za, [
|
|
1354
|
+
i.value ? (p(), x("div", _a, [
|
|
1355
|
+
H((p(), x("div", ja, [
|
|
1356
|
+
$(V.$slots, "editor", {
|
|
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": S[0] || (S[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(Se), 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
|
+
$(V.$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"], Mi = /* @__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" }, Pi = /* @__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
|
-
|
|
1537
|
+
...l
|
|
1538
|
+
})), n = k(() => `forge-multiselect-${t.severity}`), j = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${V.value ? " multiselect__option--selected" : ""}`), V = k(() => v.value && !(v.value.multiple || !t.showSelectAll || v.value.async) ? !1 : l.modelValue.length === l.options.length), S = 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
|
+
V.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, S.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((Qt) => 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
|
-
checked:
|
|
1604
|
+
checked: V.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, S.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
|
+
}, Ra = /* @__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 == null || 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
|
+
}), Ha = { class: "d-flex justify-content-between pb-2" }, Wa = {
|
|
1735
1735
|
"data-cy": "title",
|
|
1736
1736
|
class: "my-auto"
|
|
1737
|
-
},
|
|
1737
|
+
}, Ya = {
|
|
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", Ha, [
|
|
1748
|
+
m("h3", Wa, h(a.title), 1),
|
|
1749
|
+
m("div", Ya, [
|
|
1750
|
+
$(t.$slots, "default")
|
|
1751
1751
|
])
|
|
1752
1752
|
]));
|
|
1753
1753
|
}
|
|
1754
|
-
}),
|
|
1754
|
+
}), Ga = { class: "d-flex" }, Ka = { "data-cy": "before-slot" }, Za = { class: "position-relative w-100" }, Ja = { "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
|
|
1924
|
-
return
|
|
1925
|
-
m("div",
|
|
1926
|
-
m("span",
|
|
1927
|
-
$(
|
|
1922
|
+
return (n, j) => {
|
|
1923
|
+
const V = Pe;
|
|
1924
|
+
return p(), x(q, null, [
|
|
1925
|
+
m("div", Ga, [
|
|
1926
|
+
m("span", Ka, [
|
|
1927
|
+
$(n.$slots, "before")
|
|
1928
1928
|
]),
|
|
1929
|
-
m("div",
|
|
1930
|
-
|
|
1929
|
+
m("div", Za, [
|
|
1930
|
+
f(V, 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] = (S) => t.value = S),
|
|
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", Ja, [
|
|
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
|
+
}), Xa = { 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", Xa, [
|
|
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
|
+
}), Qa = {
|
|
2075
2075
|
key: 1,
|
|
2076
2076
|
class: "d-flex flex-column w-100"
|
|
2077
|
-
},
|
|
2077
|
+
}, et = ["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,101 @@ 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, V = Ie, S = 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", Qa, [
|
|
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, et),
|
|
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(V, 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(S, 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 === "multiselect-preview" ? (p(), w(Ra, 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"])) : t.type === "datepicker" ? (p(), w(b, z({ key: 7 }, { ...t, ...v.$attrs }, {
|
|
2173
|
+
modelValue: a.value,
|
|
2174
|
+
"onUpdate:modelValue": n[8] || (n[8] = (y) => a.value = y),
|
|
2175
|
+
class: { "is-invalid": c.value }
|
|
2176
|
+
}), null, 16, ["modelValue", "class"])) : C("", !0)
|
|
2173
2177
|
], 2),
|
|
2174
2178
|
H(m("small", {
|
|
2175
2179
|
"data-cy": "error",
|
|
2176
2180
|
class: "invalid-feedback"
|
|
2177
|
-
}, h(
|
|
2178
|
-
[
|
|
2181
|
+
}, h(u(r)), 513), [
|
|
2182
|
+
[Y, c.value && t.type !== "multiselect" && t.type !== "datepicker"]
|
|
2179
2183
|
])
|
|
2180
2184
|
]));
|
|
2181
2185
|
};
|
|
2182
2186
|
}
|
|
2183
|
-
}),
|
|
2187
|
+
}), qi = /* @__PURE__ */ F({
|
|
2184
2188
|
__name: "ForgeChips",
|
|
2185
2189
|
props: {
|
|
2186
2190
|
chipSeverity: { default: "primary" },
|
|
@@ -2207,17 +2211,17 @@ const bt = { key: 0 }, ft = {
|
|
|
2207
2211
|
unstyled: { type: Boolean }
|
|
2208
2212
|
},
|
|
2209
2213
|
setup(e) {
|
|
2210
|
-
const
|
|
2211
|
-
initialValue:
|
|
2212
|
-
}),
|
|
2214
|
+
const a = e, { errors: t, value: i, errorMessage: l } = X(() => a.name, void 0, {
|
|
2215
|
+
initialValue: a.modelValue
|
|
2216
|
+
}), o = k(() => t.value.length > 0), r = k(() => ({
|
|
2213
2217
|
inputtoken: "list-unstyled",
|
|
2214
2218
|
input: "border-0",
|
|
2215
|
-
container: ({ props:
|
|
2219
|
+
container: ({ props: s }) => ({
|
|
2216
2220
|
class: [
|
|
2217
2221
|
"form-control mb-0 d-flex",
|
|
2218
2222
|
{
|
|
2219
|
-
disabled:
|
|
2220
|
-
"is-invalid":
|
|
2223
|
+
disabled: s.disabled,
|
|
2224
|
+
"is-invalid": o.value
|
|
2221
2225
|
}
|
|
2222
2226
|
]
|
|
2223
2227
|
}),
|
|
@@ -2225,36 +2229,36 @@ const bt = { key: 0 }, ft = {
|
|
|
2225
2229
|
class: [
|
|
2226
2230
|
"rounded px-2 py-1 me-2 text-white list-unstyled",
|
|
2227
2231
|
{
|
|
2228
|
-
"rounded-pill":
|
|
2229
|
-
"opacity-75":
|
|
2232
|
+
"rounded-pill": a.pill,
|
|
2233
|
+
"opacity-75": a.disabled
|
|
2230
2234
|
},
|
|
2231
2235
|
{
|
|
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":
|
|
2236
|
+
"bg-primary border-primary": a.chipSeverity === void 0 || a.chipSeverity === "primary",
|
|
2237
|
+
"bg-brand border-brand": a.chipSeverity === "brand",
|
|
2238
|
+
"bg-secondary border-secondary": a.chipSeverity === "secondary",
|
|
2239
|
+
"bg-success border-success": a.chipSeverity === "success",
|
|
2240
|
+
"bg-warning border-warning": a.chipSeverity === "warning",
|
|
2241
|
+
"bg-danger border-danger": a.chipSeverity === "danger",
|
|
2242
|
+
"bg-info border-info": a.chipSeverity === "info"
|
|
2239
2243
|
}
|
|
2240
2244
|
]
|
|
2241
2245
|
}
|
|
2242
2246
|
}));
|
|
2243
|
-
return (
|
|
2244
|
-
const c =
|
|
2245
|
-
return
|
|
2246
|
-
|
|
2247
|
+
return (s, d) => {
|
|
2248
|
+
const c = De;
|
|
2249
|
+
return p(), x(q, null, [
|
|
2250
|
+
f(c, z({ ...a, ...s.$attrs }, {
|
|
2247
2251
|
pt: r.value,
|
|
2248
|
-
"model-value":
|
|
2249
|
-
"onUpdate:modelValue":
|
|
2252
|
+
"model-value": u(i),
|
|
2253
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => de(i) ? i.value = v : null)
|
|
2250
2254
|
}), {
|
|
2251
2255
|
removetokenicon: g(({ removeCallback: v }) => [
|
|
2252
|
-
H(
|
|
2256
|
+
H(f(u(_), {
|
|
2253
2257
|
icon: "bi:x",
|
|
2254
2258
|
class: "cursor-pointer",
|
|
2255
2259
|
onClick: v
|
|
2256
2260
|
}, null, 8, ["onClick"]), [
|
|
2257
|
-
[
|
|
2261
|
+
[Y, !a.disabled]
|
|
2258
2262
|
])
|
|
2259
2263
|
]),
|
|
2260
2264
|
_: 1
|
|
@@ -2262,13 +2266,13 @@ const bt = { key: 0 }, ft = {
|
|
|
2262
2266
|
H(m("small", {
|
|
2263
2267
|
"data-cy": "error",
|
|
2264
2268
|
class: "text-invalid"
|
|
2265
|
-
}, h(
|
|
2266
|
-
[
|
|
2269
|
+
}, h(u(l)), 513), [
|
|
2270
|
+
[Y, o.value]
|
|
2267
2271
|
])
|
|
2268
2272
|
], 64);
|
|
2269
2273
|
};
|
|
2270
2274
|
}
|
|
2271
|
-
}),
|
|
2275
|
+
}), at = /* @__PURE__ */ F({
|
|
2272
2276
|
__name: "ForgeProgressBar",
|
|
2273
2277
|
props: {
|
|
2274
2278
|
severity: { default: "primary" },
|
|
@@ -2283,8 +2287,8 @@ const bt = { key: 0 }, ft = {
|
|
|
2283
2287
|
unstyled: { type: Boolean }
|
|
2284
2288
|
},
|
|
2285
2289
|
setup(e) {
|
|
2286
|
-
const
|
|
2287
|
-
switch (
|
|
2290
|
+
const a = e, t = k(() => a.striped ? "progress-bar-striped" : null), i = k(() => a.animate ? "progress-bar-animated" : null), l = k(() => {
|
|
2291
|
+
switch (a.severity) {
|
|
2288
2292
|
case "brand":
|
|
2289
2293
|
return "bg-brand";
|
|
2290
2294
|
case "secondary":
|
|
@@ -2302,17 +2306,17 @@ const bt = { key: 0 }, ft = {
|
|
|
2302
2306
|
default:
|
|
2303
2307
|
return "bg-primary";
|
|
2304
2308
|
}
|
|
2305
|
-
}),
|
|
2309
|
+
}), o = k(() => ({
|
|
2306
2310
|
root: {
|
|
2307
|
-
style:
|
|
2311
|
+
style: a.pixelWidth ? `width: ${a.pixelWidth}px` : ""
|
|
2308
2312
|
},
|
|
2309
2313
|
value: {
|
|
2310
|
-
class: [
|
|
2314
|
+
class: [l.value, t.value, i.value]
|
|
2311
2315
|
}
|
|
2312
2316
|
}));
|
|
2313
|
-
return (r,
|
|
2314
|
-
const
|
|
2315
|
-
return
|
|
2317
|
+
return (r, s) => {
|
|
2318
|
+
const d = Ue;
|
|
2319
|
+
return p(), w(d, z({ ...r.$attrs, ...a }, { pt: o.value }), {
|
|
2316
2320
|
default: g(() => [
|
|
2317
2321
|
$(r.$slots, "default")
|
|
2318
2322
|
]),
|
|
@@ -2320,26 +2324,26 @@ const bt = { key: 0 }, ft = {
|
|
|
2320
2324
|
}, 16, ["pt"]);
|
|
2321
2325
|
};
|
|
2322
2326
|
}
|
|
2323
|
-
}),
|
|
2327
|
+
}), tt = { class: "value text-white w-100 text-center" }, Ai = /* @__PURE__ */ F({
|
|
2324
2328
|
__name: "ForgeStatWidget",
|
|
2325
2329
|
props: {
|
|
2326
2330
|
size: { default: "md" },
|
|
2327
2331
|
severity: { default: "primary" }
|
|
2328
2332
|
},
|
|
2329
2333
|
setup(e) {
|
|
2330
|
-
const
|
|
2331
|
-
return (
|
|
2332
|
-
class: `d-flex shadow m-2 align-items-center widget--${
|
|
2334
|
+
const a = e;
|
|
2335
|
+
return (t, i) => (p(), x("div", z(t.$attrs, {
|
|
2336
|
+
class: `d-flex shadow m-2 align-items-center widget--${a.size} bg-${a.severity}`
|
|
2333
2337
|
}), [
|
|
2334
|
-
m("span",
|
|
2335
|
-
$(
|
|
2338
|
+
m("span", tt, [
|
|
2339
|
+
$(t.$slots, "default")
|
|
2336
2340
|
])
|
|
2337
2341
|
], 16));
|
|
2338
2342
|
}
|
|
2339
|
-
}),
|
|
2343
|
+
}), it = {
|
|
2340
2344
|
class: "d-flex flex-column align-items-center",
|
|
2341
2345
|
"data-cy": "stepper"
|
|
2342
|
-
},
|
|
2346
|
+
}, lt = { class: "d-flex align-items-center justify-content-center w-100" }, Ei = /* @__PURE__ */ F({
|
|
2343
2347
|
__name: "ForgeStepper",
|
|
2344
2348
|
props: {
|
|
2345
2349
|
currentStep: { default: 0 },
|
|
@@ -2354,22 +2358,22 @@ const bt = { key: 0 }, ft = {
|
|
|
2354
2358
|
unstyled: { type: Boolean }
|
|
2355
2359
|
},
|
|
2356
2360
|
emits: ["update:currentStep"],
|
|
2357
|
-
setup(e, { emit:
|
|
2358
|
-
const
|
|
2361
|
+
setup(e, { emit: a }) {
|
|
2362
|
+
const t = a, i = e, l = T(i.currentStep), o = () => {
|
|
2359
2363
|
do
|
|
2360
|
-
|
|
2361
|
-
while (
|
|
2362
|
-
|
|
2364
|
+
l.value--;
|
|
2365
|
+
while (i.model[l.value].disabled);
|
|
2366
|
+
t("update:currentStep", l.value);
|
|
2363
2367
|
}, r = () => {
|
|
2364
|
-
if (
|
|
2368
|
+
if (l.value < i.model.length - 1)
|
|
2365
2369
|
do
|
|
2366
|
-
|
|
2367
|
-
while (
|
|
2368
|
-
|
|
2369
|
-
},
|
|
2370
|
-
const c =
|
|
2371
|
-
return !(c <
|
|
2372
|
-
}),
|
|
2370
|
+
l.value++;
|
|
2371
|
+
while (i.model[l.value].disabled);
|
|
2372
|
+
t("update:currentStep", l.value);
|
|
2373
|
+
}, s = k(() => {
|
|
2374
|
+
const c = i.model.findIndex((v) => !v.disabled);
|
|
2375
|
+
return !(c < l.value && c > -1);
|
|
2376
|
+
}), d = k(() => ({
|
|
2373
2377
|
menuitem: (c) => ({
|
|
2374
2378
|
class: [{
|
|
2375
2379
|
"cursor-pointer": !c.context.disabled
|
|
@@ -2380,13 +2384,13 @@ const bt = { key: 0 }, ft = {
|
|
|
2380
2384
|
"d-flex align-items-center justify-content-center mb-2 step",
|
|
2381
2385
|
{
|
|
2382
2386
|
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 ===
|
|
2387
|
+
"bg-primary text-white": c.context.index === l.value && (i.severity === void 0 || i.severity === "primary"),
|
|
2388
|
+
"bg-brand text-white": c.context.index === l.value && i.severity === "brand",
|
|
2389
|
+
"bg-secondary text-white": c.context.index === l.value && i.severity === "secondary",
|
|
2390
|
+
"bg-success text-white": c.context.index === l.value && i.severity === "success",
|
|
2391
|
+
"bg-warning text-white": c.context.index === l.value && i.severity === "warning",
|
|
2392
|
+
"bg-danger text-white": c.context.index === l.value && i.severity === "danger",
|
|
2393
|
+
"bg-info text-white": c.context.index === l.value && i.severity === "info"
|
|
2390
2394
|
}
|
|
2391
2395
|
]
|
|
2392
2396
|
}),
|
|
@@ -2394,61 +2398,61 @@ const bt = { key: 0 }, ft = {
|
|
|
2394
2398
|
class: [
|
|
2395
2399
|
"h5",
|
|
2396
2400
|
{
|
|
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 ===
|
|
2401
|
+
"border-bottom border-2 border-primary": c.context.index === l.value && (i.severity === void 0 || i.severity === "primary"),
|
|
2402
|
+
"border-bottom border-2 border-brand": c.context.index === l.value && i.severity === "brand",
|
|
2403
|
+
"border-bottom border-2 border-secondary": c.context.index === l.value && i.severity === "secondary",
|
|
2404
|
+
"border-bottom border-2 border-success": c.context.index === l.value && i.severity === "success",
|
|
2405
|
+
"border-bottom border-2 border-warning": c.context.index === l.value && i.severity === "warning",
|
|
2406
|
+
"border-bottom border-2 border-danger": c.context.index === l.value && i.severity === "danger",
|
|
2407
|
+
"border-bottom border-2 border-info": c.context.index === l.value && i.severity === "info"
|
|
2404
2408
|
}
|
|
2405
2409
|
]
|
|
2406
2410
|
})
|
|
2407
2411
|
}));
|
|
2408
2412
|
return (c, v) => {
|
|
2409
|
-
const
|
|
2410
|
-
return
|
|
2411
|
-
m("div",
|
|
2412
|
-
|
|
2413
|
-
severity:
|
|
2414
|
-
disabled:
|
|
2415
|
-
onClick:
|
|
2413
|
+
const n = A, j = Ae, V = qe;
|
|
2414
|
+
return p(), x("div", it, [
|
|
2415
|
+
m("div", lt, [
|
|
2416
|
+
f(n, {
|
|
2417
|
+
severity: i.severity,
|
|
2418
|
+
disabled: s.value,
|
|
2419
|
+
onClick: o,
|
|
2416
2420
|
class: "rounded-circle py-2 me-4",
|
|
2417
2421
|
"data-cy": "back-button"
|
|
2418
2422
|
}, {
|
|
2419
2423
|
default: g(() => [
|
|
2420
|
-
|
|
2424
|
+
f(u(_), {
|
|
2421
2425
|
icon: "bi:chevron-left",
|
|
2422
2426
|
class: "mb-1"
|
|
2423
2427
|
})
|
|
2424
2428
|
]),
|
|
2425
2429
|
_: 1
|
|
2426
2430
|
}, 8, ["severity", "disabled"]),
|
|
2427
|
-
|
|
2428
|
-
"active-step":
|
|
2429
|
-
"onUpdate:activeStep": v[0] || (v[0] = (
|
|
2430
|
-
model:
|
|
2431
|
-
pt:
|
|
2431
|
+
f(j, {
|
|
2432
|
+
"active-step": l.value,
|
|
2433
|
+
"onUpdate:activeStep": v[0] || (v[0] = (S) => l.value = S),
|
|
2434
|
+
model: i.model,
|
|
2435
|
+
pt: d.value,
|
|
2432
2436
|
readonly: !1
|
|
2433
2437
|
}, null, 8, ["active-step", "model", "pt"])
|
|
2434
2438
|
]),
|
|
2435
|
-
|
|
2436
|
-
(
|
|
2437
|
-
key:
|
|
2439
|
+
f(V, { class: "m-4" }),
|
|
2440
|
+
(p(!0), x(q, null, W(i.model, (S, D) => (p(), x("div", {
|
|
2441
|
+
key: D,
|
|
2438
2442
|
class: "w-100"
|
|
2439
2443
|
}, [
|
|
2440
|
-
|
|
2444
|
+
D === l.value ? $(c.$slots, S.key ?? S.label, {
|
|
2441
2445
|
key: 0,
|
|
2442
2446
|
nextStep: r,
|
|
2443
|
-
previousStep:
|
|
2447
|
+
previousStep: o
|
|
2444
2448
|
}, () => [
|
|
2445
|
-
|
|
2449
|
+
f(re, {
|
|
2446
2450
|
severity: "info",
|
|
2447
2451
|
"data-cy": "alert"
|
|
2448
2452
|
}, {
|
|
2449
2453
|
default: g(() => [
|
|
2450
|
-
|
|
2451
|
-
|
|
2454
|
+
P(" Please add Slot Content for the key " + h(S.key ?? S.label) + " ", 1),
|
|
2455
|
+
f(n, {
|
|
2452
2456
|
severity: "primary",
|
|
2453
2457
|
label: "Next",
|
|
2454
2458
|
onClick: r,
|
|
@@ -2457,12 +2461,12 @@ const bt = { key: 0 }, ft = {
|
|
|
2457
2461
|
]),
|
|
2458
2462
|
_: 2
|
|
2459
2463
|
}, 1024)
|
|
2460
|
-
]) :
|
|
2464
|
+
]) : C("", !0)
|
|
2461
2465
|
]))), 128))
|
|
2462
2466
|
]);
|
|
2463
2467
|
};
|
|
2464
2468
|
}
|
|
2465
|
-
}),
|
|
2469
|
+
}), ot = { class: "p-4 text-wrap w-100" }, nt = { class: "p-4 text-wrap w-100" }, Li = /* @__PURE__ */ F({
|
|
2466
2470
|
__name: "ForgeTile",
|
|
2467
2471
|
props: {
|
|
2468
2472
|
severity: { default: "primary" },
|
|
@@ -2471,48 +2475,48 @@ const bt = { key: 0 }, ft = {
|
|
|
2471
2475
|
selected: { type: Boolean, default: !1 }
|
|
2472
2476
|
},
|
|
2473
2477
|
setup(e) {
|
|
2474
|
-
const
|
|
2475
|
-
return (
|
|
2476
|
-
const r =
|
|
2477
|
-
return
|
|
2478
|
+
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" : ""}`);
|
|
2479
|
+
return (l, o) => {
|
|
2480
|
+
const r = A;
|
|
2481
|
+
return a.clickable ? (p(), w(r, {
|
|
2478
2482
|
key: 0,
|
|
2479
|
-
class: B(["d-flex w-100 p-0 text-body",
|
|
2480
|
-
severity:
|
|
2483
|
+
class: B(["d-flex w-100 p-0 text-body", t.value]),
|
|
2484
|
+
severity: a.severity,
|
|
2481
2485
|
unstyled: "",
|
|
2482
2486
|
"data-cy": "button-tile"
|
|
2483
2487
|
}, {
|
|
2484
2488
|
default: g(() => [
|
|
2485
|
-
m("div",
|
|
2486
|
-
$(
|
|
2487
|
-
|
|
2489
|
+
m("div", ot, [
|
|
2490
|
+
$(l.$slots, "default", {}, () => [
|
|
2491
|
+
o[0] || (o[0] = P("Tile Content"))
|
|
2488
2492
|
])
|
|
2489
2493
|
])
|
|
2490
2494
|
]),
|
|
2491
2495
|
_: 3
|
|
2492
|
-
}, 8, ["severity", "class"])) : (
|
|
2496
|
+
}, 8, ["severity", "class"])) : (p(), x("div", {
|
|
2493
2497
|
key: 1,
|
|
2494
|
-
class: B(["d-flex w-100",
|
|
2498
|
+
class: B(["d-flex w-100", i.value]),
|
|
2495
2499
|
"data-cy": "tile"
|
|
2496
2500
|
}, [
|
|
2497
|
-
m("div",
|
|
2498
|
-
$(
|
|
2499
|
-
|
|
2501
|
+
m("div", nt, [
|
|
2502
|
+
$(l.$slots, "default", {}, () => [
|
|
2503
|
+
o[1] || (o[1] = P("Tile Content"))
|
|
2500
2504
|
])
|
|
2501
2505
|
])
|
|
2502
2506
|
], 2));
|
|
2503
2507
|
};
|
|
2504
2508
|
}
|
|
2505
2509
|
});
|
|
2506
|
-
function
|
|
2507
|
-
return e > 1 ? `${
|
|
2510
|
+
function te(e, a) {
|
|
2511
|
+
return e > 1 ? `${a}s` : a;
|
|
2508
2512
|
}
|
|
2509
|
-
const
|
|
2513
|
+
const st = {
|
|
2510
2514
|
class: "d-flex justify-content-start align-items-baseline",
|
|
2511
2515
|
"data-cy": "pagination-header"
|
|
2512
|
-
},
|
|
2516
|
+
}, rt = { class: "ms-2" }, pt = { key: 0 }, dt = {
|
|
2513
2517
|
class: "w-auto",
|
|
2514
2518
|
"data-cy": "total"
|
|
2515
|
-
},
|
|
2519
|
+
}, ct = /* @__PURE__ */ F({
|
|
2516
2520
|
__name: "ForgePaginationHeader",
|
|
2517
2521
|
props: {
|
|
2518
2522
|
total: {},
|
|
@@ -2520,33 +2524,33 @@ const Qt = {
|
|
|
2520
2524
|
perPage: { default: 10 }
|
|
2521
2525
|
},
|
|
2522
2526
|
emits: ["update:perPage"],
|
|
2523
|
-
setup(e, { emit:
|
|
2524
|
-
const
|
|
2525
|
-
|
|
2526
|
-
},
|
|
2527
|
-
const r = Math.ceil(
|
|
2528
|
-
return `${r} ${
|
|
2527
|
+
setup(e, { emit: a }) {
|
|
2528
|
+
const t = a, i = e, l = (r) => {
|
|
2529
|
+
t("update:perPage", r.value);
|
|
2530
|
+
}, o = k(() => {
|
|
2531
|
+
const r = Math.ceil(i.total / i.perPage);
|
|
2532
|
+
return `${r} ${te(r, "page")}`;
|
|
2529
2533
|
});
|
|
2530
|
-
return (r,
|
|
2531
|
-
|
|
2532
|
-
m("div",
|
|
2533
|
-
|
|
2534
|
-
options:
|
|
2535
|
-
"model-value":
|
|
2534
|
+
return (r, s) => (p(), x("div", st, [
|
|
2535
|
+
s[2] || (s[2] = P(" Number of results per page ")),
|
|
2536
|
+
m("div", rt, [
|
|
2537
|
+
f(u(se), {
|
|
2538
|
+
options: i.pageSizes,
|
|
2539
|
+
"model-value": i.perPage,
|
|
2536
2540
|
class: "page-size",
|
|
2537
|
-
onChange:
|
|
2541
|
+
onChange: s[0] || (s[0] = (d) => l(d))
|
|
2538
2542
|
}, null, 8, ["options", "model-value"])
|
|
2539
2543
|
]),
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
m("span",
|
|
2543
|
-
])) :
|
|
2544
|
+
i.total ? (p(), x("div", pt, [
|
|
2545
|
+
s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
|
|
2546
|
+
m("span", dt, h(i.total) + " " + h(u(te)(i.total, "result")) + " across " + h(o.value), 1)
|
|
2547
|
+
])) : C("", !0)
|
|
2544
2548
|
]));
|
|
2545
2549
|
}
|
|
2546
|
-
}),
|
|
2550
|
+
}), mt = { class: "position-relative" }, ut = { "data-cy": "above-table-slot" }, vt = { class: "d-flex w-100" }, ft = {
|
|
2547
2551
|
class: "mx-auto",
|
|
2548
2552
|
"data-cy": "empty-message"
|
|
2549
|
-
},
|
|
2553
|
+
}, xt = { class: "d-flex" }, bt = { class: "d-flex align-items-end mb-2" }, gt = { key: 0 }, yt = { class: "ms-auto" }, Ni = /* @__PURE__ */ F({
|
|
2550
2554
|
__name: "ForgeTable",
|
|
2551
2555
|
props: {
|
|
2552
2556
|
value: {},
|
|
@@ -2627,22 +2631,22 @@ const Qt = {
|
|
|
2627
2631
|
unstyled: { type: Boolean }
|
|
2628
2632
|
},
|
|
2629
2633
|
emits: ["update:filters", "update:tableContext", "sort", "page"],
|
|
2630
|
-
setup(e, { emit:
|
|
2631
|
-
const
|
|
2632
|
-
filters:
|
|
2634
|
+
setup(e, { emit: a }) {
|
|
2635
|
+
const t = a, i = e, l = T(), o = T([5, 10, 20, 50, 100]), r = T(5), s = T({
|
|
2636
|
+
filters: i.filters,
|
|
2633
2637
|
perPage: r.value,
|
|
2634
2638
|
page: 0,
|
|
2635
2639
|
sortDirection: "None",
|
|
2636
2640
|
sortField: "",
|
|
2637
|
-
total:
|
|
2638
|
-
}),
|
|
2639
|
-
const
|
|
2640
|
-
return `${
|
|
2641
|
+
total: i.totalRecords ?? i.value.length
|
|
2642
|
+
}), d = k(() => i.totalRecords ?? i.value.length), c = k(() => {
|
|
2643
|
+
const b = Math.ceil(d.value / r.value);
|
|
2644
|
+
return `${b} ${te(b, "page")}`;
|
|
2641
2645
|
}), v = k(() => ({
|
|
2642
2646
|
thead: () => ({
|
|
2643
2647
|
class: [
|
|
2644
2648
|
{
|
|
2645
|
-
"sticky-header":
|
|
2649
|
+
"sticky-header": i.stickyHeader
|
|
2646
2650
|
}
|
|
2647
2651
|
],
|
|
2648
2652
|
style: "position: "
|
|
@@ -2651,162 +2655,162 @@ const Qt = {
|
|
|
2651
2655
|
class: [
|
|
2652
2656
|
"spinner-border border-0",
|
|
2653
2657
|
{
|
|
2654
|
-
"text-brand":
|
|
2655
|
-
"text-primary":
|
|
2656
|
-
"text-success":
|
|
2657
|
-
"text-warning":
|
|
2658
|
-
"text-danger":
|
|
2659
|
-
"text-info":
|
|
2658
|
+
"text-brand": i.severity === "brand",
|
|
2659
|
+
"text-primary": i.severity === "primary",
|
|
2660
|
+
"text-success": i.severity === "success",
|
|
2661
|
+
"text-warning": i.severity === "warning",
|
|
2662
|
+
"text-danger": i.severity === "danger",
|
|
2663
|
+
"text-info": i.severity === "info"
|
|
2660
2664
|
}
|
|
2661
2665
|
]
|
|
2662
2666
|
})
|
|
2663
|
-
})),
|
|
2664
|
-
if (
|
|
2665
|
-
|
|
2667
|
+
})), n = () => {
|
|
2668
|
+
if (i.clearAll)
|
|
2669
|
+
i.clearAll();
|
|
2666
2670
|
else
|
|
2667
|
-
for (const
|
|
2668
|
-
typeof
|
|
2669
|
-
|
|
2670
|
-
},
|
|
2671
|
-
|
|
2672
|
-
},
|
|
2673
|
-
var
|
|
2674
|
-
|
|
2675
|
-
},
|
|
2676
|
-
|
|
2677
|
-
},
|
|
2678
|
-
|
|
2679
|
-
},
|
|
2680
|
-
|
|
2671
|
+
for (const b in i.filters)
|
|
2672
|
+
typeof i.filters[b] == "string" ? i.filters[b] = "" : i.filters[b].value = null;
|
|
2673
|
+
S(i.filters);
|
|
2674
|
+
}, j = () => {
|
|
2675
|
+
l.value.exportCSV();
|
|
2676
|
+
}, V = (b) => {
|
|
2677
|
+
var y;
|
|
2678
|
+
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);
|
|
2679
|
+
}, S = (b) => {
|
|
2680
|
+
s.value.filters = b, t("update:tableContext", s.value), t("update:filters", b);
|
|
2681
|
+
}, D = (b) => {
|
|
2682
|
+
s.value.page = b.page, t("update:tableContext", s.value), t("page", b);
|
|
2683
|
+
}, M = () => {
|
|
2684
|
+
s.value.perPage = r.value, t("update:tableContext", s.value);
|
|
2681
2685
|
};
|
|
2682
|
-
return
|
|
2683
|
-
|
|
2684
|
-
}, { deep: !0 }),
|
|
2685
|
-
m("span",
|
|
2686
|
-
$(
|
|
2686
|
+
return xe(() => i.filters, (b) => {
|
|
2687
|
+
s.value.filters = b, t("update:tableContext", s.value);
|
|
2688
|
+
}, { deep: !0 }), ne(() => t("update:tableContext", s.value)), (b, y) => (p(), x("div", mt, [
|
|
2689
|
+
m("span", ut, [
|
|
2690
|
+
$(b.$slots, "above-table")
|
|
2687
2691
|
]),
|
|
2688
|
-
|
|
2689
|
-
class: ["w-100", `${
|
|
2690
|
-
}, { ...
|
|
2692
|
+
f(u(Ee), z({
|
|
2693
|
+
class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
|
|
2694
|
+
}, { ...i, ...b.$attrs }, {
|
|
2691
2695
|
pt: v.value,
|
|
2692
2696
|
rows: r.value,
|
|
2693
|
-
"total-records":
|
|
2694
|
-
"filter-display":
|
|
2697
|
+
"total-records": d.value,
|
|
2698
|
+
"filter-display": i.filters ? "row" : void 0,
|
|
2695
2699
|
ref_key: "forgeTable",
|
|
2696
|
-
ref:
|
|
2700
|
+
ref: l,
|
|
2697
2701
|
"data-cy": "table",
|
|
2698
|
-
"onUpdate:filters":
|
|
2699
|
-
onSort:
|
|
2700
|
-
onPage:
|
|
2701
|
-
}),
|
|
2702
|
+
"onUpdate:filters": S,
|
|
2703
|
+
onSort: V,
|
|
2704
|
+
onPage: D
|
|
2705
|
+
}), oe({
|
|
2702
2706
|
empty: g(() => [
|
|
2703
|
-
m("div",
|
|
2704
|
-
m("h5",
|
|
2707
|
+
m("div", vt, [
|
|
2708
|
+
m("h5", ft, h(b.emptyMessage ?? "No items Found."), 1)
|
|
2705
2709
|
])
|
|
2706
2710
|
]),
|
|
2707
2711
|
header: g(() => [
|
|
2708
2712
|
m("div", {
|
|
2709
|
-
class: B(
|
|
2713
|
+
class: B(i.loading ? "opacity-50" : "")
|
|
2710
2714
|
}, [
|
|
2711
|
-
m("div",
|
|
2712
|
-
m("div",
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
total:
|
|
2716
|
-
"page-sizes":
|
|
2715
|
+
m("div", xt, [
|
|
2716
|
+
m("div", bt, [
|
|
2717
|
+
b.paginator && !b.legacyPaginationFooter ? (p(), x("span", gt, [
|
|
2718
|
+
f(ct, {
|
|
2719
|
+
total: d.value,
|
|
2720
|
+
"page-sizes": o.value,
|
|
2717
2721
|
"per-page": r.value,
|
|
2718
2722
|
"onUpdate:perPage": [
|
|
2719
|
-
|
|
2720
|
-
|
|
2723
|
+
y[0] || (y[0] = (R) => r.value = R),
|
|
2724
|
+
M
|
|
2721
2725
|
]
|
|
2722
2726
|
}, null, 8, ["total", "page-sizes", "per-page"])
|
|
2723
|
-
])) :
|
|
2727
|
+
])) : C("", !0)
|
|
2724
2728
|
]),
|
|
2725
|
-
m("div",
|
|
2726
|
-
|
|
2729
|
+
m("div", yt, [
|
|
2730
|
+
b.showClearButton ? (p(), w(u(A), {
|
|
2727
2731
|
key: 0,
|
|
2728
2732
|
outlined: "",
|
|
2729
|
-
class: B(
|
|
2730
|
-
onClick:
|
|
2733
|
+
class: B(b.showExporterButton ? "me-2" : ""),
|
|
2734
|
+
onClick: n,
|
|
2731
2735
|
"data-cy": "clear-all"
|
|
2732
2736
|
}, {
|
|
2733
2737
|
default: g(() => [
|
|
2734
|
-
|
|
2738
|
+
f(u(_), {
|
|
2735
2739
|
icon: "bi:funnel-fill",
|
|
2736
2740
|
width: "24",
|
|
2737
2741
|
height: "24"
|
|
2738
2742
|
}),
|
|
2739
|
-
|
|
2743
|
+
y[2] || (y[2] = P(" Clear "))
|
|
2740
2744
|
]),
|
|
2741
2745
|
_: 1
|
|
2742
|
-
}, 8, ["class"])) :
|
|
2743
|
-
|
|
2746
|
+
}, 8, ["class"])) : C("", !0),
|
|
2747
|
+
b.showExporterButton ? (p(), w(u(A), {
|
|
2744
2748
|
key: 1,
|
|
2745
2749
|
outlined: "",
|
|
2746
|
-
onClick:
|
|
2750
|
+
onClick: j,
|
|
2747
2751
|
"data-cy": "exporter"
|
|
2748
2752
|
}, {
|
|
2749
2753
|
default: g(() => [
|
|
2750
|
-
|
|
2754
|
+
f(u(_), {
|
|
2751
2755
|
icon: "typcn:export",
|
|
2752
2756
|
width: "24",
|
|
2753
2757
|
height: "24"
|
|
2754
2758
|
}),
|
|
2755
|
-
|
|
2759
|
+
y[3] || (y[3] = P(" Export "))
|
|
2756
2760
|
]),
|
|
2757
2761
|
_: 1
|
|
2758
|
-
})) :
|
|
2759
|
-
$(
|
|
2762
|
+
})) : C("", !0),
|
|
2763
|
+
$(b.$slots, "column-customiser")
|
|
2760
2764
|
])
|
|
2761
2765
|
])
|
|
2762
2766
|
], 2)
|
|
2763
2767
|
]),
|
|
2764
2768
|
default: g(() => [
|
|
2765
|
-
$(
|
|
2769
|
+
$(b.$slots, "default")
|
|
2766
2770
|
]),
|
|
2767
2771
|
_: 2
|
|
2768
2772
|
}, [
|
|
2769
|
-
|
|
2773
|
+
W(b.$slots, (R, Z) => ({
|
|
2770
2774
|
name: Z,
|
|
2771
|
-
fn: g((
|
|
2772
|
-
$(
|
|
2775
|
+
fn: g((pe) => [
|
|
2776
|
+
$(b.$slots, Z, ie(le(pe || {})))
|
|
2773
2777
|
])
|
|
2774
2778
|
})),
|
|
2775
|
-
|
|
2779
|
+
b.legacyPaginationFooter ? {
|
|
2776
2780
|
name: "paginatorstart",
|
|
2777
2781
|
fn: g(() => [
|
|
2778
2782
|
m("span", {
|
|
2779
|
-
class: B(["d-flex",
|
|
2783
|
+
class: B(["d-flex", i.loading ? "opacity-50" : ""]),
|
|
2780
2784
|
"data-cy": "legacy-page-size"
|
|
2781
2785
|
}, [
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
options:
|
|
2786
|
+
y[4] || (y[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
|
|
2787
|
+
f(u(se), {
|
|
2788
|
+
options: o.value,
|
|
2785
2789
|
modelValue: r.value,
|
|
2786
|
-
"onUpdate:modelValue":
|
|
2790
|
+
"onUpdate:modelValue": y[1] || (y[1] = (R) => r.value = R),
|
|
2787
2791
|
class: "ms-2",
|
|
2788
|
-
onClick:
|
|
2792
|
+
onClick: M
|
|
2789
2793
|
}, null, 8, ["options", "modelValue"])
|
|
2790
2794
|
], 2)
|
|
2791
2795
|
]),
|
|
2792
2796
|
key: "0"
|
|
2793
2797
|
} : void 0,
|
|
2794
|
-
|
|
2798
|
+
b.legacyPaginationFooter ? {
|
|
2795
2799
|
name: "paginatorend",
|
|
2796
2800
|
fn: g(() => [
|
|
2797
2801
|
m("span", {
|
|
2798
2802
|
"data-cy": "legacy-total",
|
|
2799
|
-
class: B(
|
|
2800
|
-
}, h(
|
|
2803
|
+
class: B(i.loading ? "opacity-50" : "")
|
|
2804
|
+
}, h(d.value) + " " + h(u(te)(d.value, "result")) + " across " + h(c.value), 3)
|
|
2801
2805
|
]),
|
|
2802
2806
|
key: "1"
|
|
2803
2807
|
} : void 0
|
|
2804
2808
|
]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
|
|
2805
2809
|
]));
|
|
2806
2810
|
}
|
|
2807
|
-
}),
|
|
2811
|
+
}), ht = { class: "d-flex position-relative" }, wt = { class: "d-flex w-100" }, Ri = /* @__PURE__ */ F({
|
|
2808
2812
|
__name: "ForgeFilterHeader",
|
|
2809
|
-
props: /* @__PURE__ */
|
|
2813
|
+
props: /* @__PURE__ */ N({
|
|
2810
2814
|
dataType: {},
|
|
2811
2815
|
dropdownOptions: {},
|
|
2812
2816
|
showClearButton: { type: Boolean, default: !1 },
|
|
@@ -2819,56 +2823,56 @@ const Qt = {
|
|
|
2819
2823
|
}),
|
|
2820
2824
|
emits: ["update:modelValue"],
|
|
2821
2825
|
setup(e) {
|
|
2822
|
-
const
|
|
2823
|
-
if (!
|
|
2824
|
-
return
|
|
2825
|
-
const r = (
|
|
2826
|
+
const a = O(e, "modelValue"), t = (l, o) => {
|
|
2827
|
+
if (!l || Array.isArray(l) && l.length === 0)
|
|
2828
|
+
return o;
|
|
2829
|
+
const r = (s) => {
|
|
2826
2830
|
var c;
|
|
2827
|
-
const
|
|
2828
|
-
(v) => e.optionValue ? v[e.optionValue] ===
|
|
2831
|
+
const d = (c = e.dropdownOptions) == null ? void 0 : c.find(
|
|
2832
|
+
(v) => e.optionValue ? v[e.optionValue] === s : Object.keys(v).every((n) => s.hasOwnProperty(n) && v[n] === s[n])
|
|
2829
2833
|
);
|
|
2830
|
-
return e.optionLabel ?
|
|
2834
|
+
return e.optionLabel ? d[e.optionLabel] : d;
|
|
2831
2835
|
};
|
|
2832
|
-
return Array.isArray(
|
|
2833
|
-
},
|
|
2834
|
-
e.clearFilter ? e.clearFilter() :
|
|
2836
|
+
return Array.isArray(l) ? l.map(r).join(", ") : r(l);
|
|
2837
|
+
}, i = () => {
|
|
2838
|
+
e.clearFilter ? e.clearFilter() : a.value = null;
|
|
2835
2839
|
};
|
|
2836
|
-
return (
|
|
2837
|
-
const r =
|
|
2838
|
-
return
|
|
2839
|
-
|
|
2840
|
+
return (l, o) => {
|
|
2841
|
+
const r = ge, s = A;
|
|
2842
|
+
return p(), x("div", ht, [
|
|
2843
|
+
l.dataType === "numeric" ? (p(), w(r, z({
|
|
2840
2844
|
key: 0,
|
|
2841
|
-
modelValue:
|
|
2842
|
-
"onUpdate:modelValue":
|
|
2843
|
-
},
|
|
2845
|
+
modelValue: a.value,
|
|
2846
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => a.value = d)
|
|
2847
|
+
}, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (p(), w(ke, z({
|
|
2844
2848
|
key: 1,
|
|
2845
|
-
modelValue:
|
|
2846
|
-
"onUpdate:modelValue":
|
|
2847
|
-
},
|
|
2849
|
+
modelValue: a.value,
|
|
2850
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => a.value = d)
|
|
2851
|
+
}, l.$attrs, {
|
|
2848
2852
|
"show-icon": !1,
|
|
2849
2853
|
"show-on-focus": !0
|
|
2850
|
-
}), null, 16, ["modelValue"])) :
|
|
2854
|
+
}), null, 16, ["modelValue"])) : l.dataType === "select" ? (p(), w(u(se), z({
|
|
2851
2855
|
key: 2,
|
|
2852
|
-
modelValue:
|
|
2853
|
-
"onUpdate:modelValue":
|
|
2854
|
-
},
|
|
2855
|
-
options:
|
|
2856
|
-
"option-value":
|
|
2857
|
-
"option-label":
|
|
2856
|
+
modelValue: a.value,
|
|
2857
|
+
"onUpdate:modelValue": o[2] || (o[2] = (d) => a.value = d)
|
|
2858
|
+
}, l.$attrs, {
|
|
2859
|
+
options: l.dropdownOptions,
|
|
2860
|
+
"option-value": l.optionValue,
|
|
2861
|
+
"option-label": l.optionLabel
|
|
2858
2862
|
}), {
|
|
2859
|
-
value: g(({ value:
|
|
2860
|
-
m("div",
|
|
2863
|
+
value: g(({ value: d, placeholder: c }) => [
|
|
2864
|
+
m("div", wt, [
|
|
2861
2865
|
m("span", {
|
|
2862
|
-
class: B({ "filter-placeholder":
|
|
2863
|
-
}, h(
|
|
2864
|
-
|
|
2866
|
+
class: B({ "filter-placeholder": d === null })
|
|
2867
|
+
}, h(t(d, c)), 3),
|
|
2868
|
+
l.showClearButton && a.value !== null ? (p(), w(s, {
|
|
2865
2869
|
key: 0,
|
|
2866
|
-
onClick:
|
|
2870
|
+
onClick: G(i, ["prevent"]),
|
|
2867
2871
|
size: "small",
|
|
2868
2872
|
class: "bg-transparent border-0 ms-auto p-0 pe-1"
|
|
2869
2873
|
}, {
|
|
2870
2874
|
default: g(() => [
|
|
2871
|
-
|
|
2875
|
+
f(u(_), {
|
|
2872
2876
|
icon: "bi:x",
|
|
2873
2877
|
width: "1rem",
|
|
2874
2878
|
height: "1rem",
|
|
@@ -2876,33 +2880,33 @@ const Qt = {
|
|
|
2876
2880
|
})
|
|
2877
2881
|
]),
|
|
2878
2882
|
_: 1
|
|
2879
|
-
})) :
|
|
2883
|
+
})) : C("", !0)
|
|
2880
2884
|
])
|
|
2881
2885
|
]),
|
|
2882
2886
|
_: 1
|
|
2883
|
-
}, 16, ["modelValue", "options", "option-value", "option-label"])) :
|
|
2887
|
+
}, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (p(), w(u(me), z({
|
|
2884
2888
|
key: 3,
|
|
2885
|
-
modelValue:
|
|
2886
|
-
"onUpdate:modelValue":
|
|
2887
|
-
},
|
|
2888
|
-
options:
|
|
2889
|
+
modelValue: a.value,
|
|
2890
|
+
"onUpdate:modelValue": o[3] || (o[3] = (d) => a.value = d)
|
|
2891
|
+
}, l.$attrs, {
|
|
2892
|
+
options: l.dropdownOptions,
|
|
2889
2893
|
showToggleAll: !1,
|
|
2890
|
-
"option-label":
|
|
2891
|
-
"option-value":
|
|
2894
|
+
"option-label": l.optionLabel,
|
|
2895
|
+
"option-value": l.optionValue,
|
|
2892
2896
|
filter: ""
|
|
2893
|
-
}), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (
|
|
2897
|
+
}), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (p(), w(u(ce), z({
|
|
2894
2898
|
key: 4,
|
|
2895
|
-
modelValue:
|
|
2896
|
-
"onUpdate:modelValue":
|
|
2897
|
-
},
|
|
2898
|
-
|
|
2899
|
+
modelValue: a.value,
|
|
2900
|
+
"onUpdate:modelValue": o[4] || (o[4] = (d) => a.value = d)
|
|
2901
|
+
}, l.$attrs), null, 16, ["modelValue"])),
|
|
2902
|
+
l.showClearButton && a.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (p(), w(s, {
|
|
2899
2903
|
key: 5,
|
|
2900
|
-
onClick:
|
|
2904
|
+
onClick: G(i, ["prevent"]),
|
|
2901
2905
|
size: "small",
|
|
2902
2906
|
class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
|
|
2903
2907
|
}, {
|
|
2904
2908
|
default: g(() => [
|
|
2905
|
-
|
|
2909
|
+
f(u(_), {
|
|
2906
2910
|
icon: "bi:x",
|
|
2907
2911
|
width: "1rem",
|
|
2908
2912
|
height: "1rem",
|
|
@@ -2910,58 +2914,123 @@ const Qt = {
|
|
|
2910
2914
|
})
|
|
2911
2915
|
]),
|
|
2912
2916
|
_: 1
|
|
2913
|
-
})) :
|
|
2917
|
+
})) : C("", !0)
|
|
2914
2918
|
]);
|
|
2915
2919
|
};
|
|
2916
2920
|
}
|
|
2917
|
-
});
|
|
2918
|
-
|
|
2919
|
-
const a = t.flatMap((n) => n.file);
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2921
|
+
}), 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"] };
|
|
2922
|
+
Object.freeze(ue);
|
|
2923
|
+
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"] };
|
|
2924
|
+
Object.freeze(ve);
|
|
2925
|
+
var L = function(e, a, t, i) {
|
|
2926
|
+
if (t === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
|
|
2927
|
+
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");
|
|
2928
|
+
return t === "m" ? i : t === "a" ? i.call(e) : i ? i.value : a.get(e);
|
|
2929
|
+
}, J, ee, K;
|
|
2930
|
+
class $e {
|
|
2931
|
+
constructor(...a) {
|
|
2932
|
+
J.set(this, /* @__PURE__ */ new Map()), ee.set(this, /* @__PURE__ */ new Map()), K.set(this, /* @__PURE__ */ new Map());
|
|
2933
|
+
for (const t of a)
|
|
2934
|
+
this.define(t);
|
|
2935
|
+
}
|
|
2936
|
+
define(a, t = !1) {
|
|
2937
|
+
for (let [i, l] of Object.entries(a)) {
|
|
2938
|
+
i = i.toLowerCase(), l = l.map((s) => s.toLowerCase()), L(this, K, "f").has(i) || L(this, K, "f").set(i, /* @__PURE__ */ new Set());
|
|
2939
|
+
const o = L(this, K, "f").get(i);
|
|
2940
|
+
let r = !0;
|
|
2941
|
+
for (let s of l) {
|
|
2942
|
+
const d = s.startsWith("*");
|
|
2943
|
+
if (s = d ? s.slice(1) : s, o == null || o.add(s), r && L(this, ee, "f").set(i, s), r = !1, d)
|
|
2944
|
+
continue;
|
|
2945
|
+
const c = L(this, J, "f").get(s);
|
|
2946
|
+
if (c && c != i && !t)
|
|
2947
|
+
throw new Error(`"${i} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);
|
|
2948
|
+
L(this, J, "f").set(s, i);
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2951
|
+
return this;
|
|
2952
|
+
}
|
|
2953
|
+
getType(a) {
|
|
2954
|
+
if (typeof a != "string")
|
|
2955
|
+
return null;
|
|
2956
|
+
const t = a.replace(/^.*[/\\]/, "").toLowerCase(), i = t.replace(/^.*\./, "").toLowerCase(), l = t.length < a.length;
|
|
2957
|
+
return !(i.length < t.length - 1) && l ? null : L(this, J, "f").get(i) ?? null;
|
|
2958
|
+
}
|
|
2959
|
+
getExtension(a) {
|
|
2960
|
+
var t;
|
|
2961
|
+
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);
|
|
2962
|
+
}
|
|
2963
|
+
getAllExtensions(a) {
|
|
2964
|
+
return typeof a != "string" ? null : L(this, K, "f").get(a.toLowerCase()) ?? null;
|
|
2965
|
+
}
|
|
2966
|
+
_freeze() {
|
|
2967
|
+
this.define = () => {
|
|
2968
|
+
throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
|
|
2969
|
+
}, Object.freeze(this);
|
|
2970
|
+
for (const a of L(this, K, "f").values())
|
|
2971
|
+
Object.freeze(a);
|
|
2972
|
+
return this;
|
|
2973
|
+
}
|
|
2974
|
+
_getTestState() {
|
|
2975
|
+
return {
|
|
2976
|
+
types: L(this, J, "f"),
|
|
2977
|
+
extensions: L(this, ee, "f")
|
|
2978
|
+
};
|
|
2979
|
+
}
|
|
2980
|
+
}
|
|
2981
|
+
J = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap();
|
|
2982
|
+
new $e(ve, ue)._freeze();
|
|
2983
|
+
function Be(e, a, t, i) {
|
|
2984
|
+
const l = a.flatMap((o) => o.file);
|
|
2985
|
+
return a = a.map((o) => ({ ...o, status: o.status == "Duplicate" ? "Not Uploaded" : o.status })), e.forEach((o) => {
|
|
2986
|
+
const r = l.findIndex((d) => d.name === o.name);
|
|
2987
|
+
let s = "Not Uploaded";
|
|
2988
|
+
r === -1 ? ((!t.includes(o.type) || !(o.size <= i)) && (s = t.includes(o.type) ? "InvalidFileSize" : "InvalidFileType"), a.unshift({
|
|
2989
|
+
file: o,
|
|
2990
|
+
status: s,
|
|
2926
2991
|
blobFileName: null
|
|
2927
|
-
})) :
|
|
2928
|
-
}),
|
|
2992
|
+
})) : a[r].status = "Duplicate";
|
|
2993
|
+
}), a;
|
|
2929
2994
|
}
|
|
2930
|
-
async function
|
|
2931
|
-
if (e === "Uploaded" &&
|
|
2995
|
+
async function kt(e, a) {
|
|
2996
|
+
if (e === "Uploaded" && a !== null)
|
|
2932
2997
|
try {
|
|
2933
|
-
await new
|
|
2934
|
-
} catch (
|
|
2935
|
-
if (
|
|
2998
|
+
await new ye(a).delete();
|
|
2999
|
+
} catch (t) {
|
|
3000
|
+
if (t !== "BlobNotFound") {
|
|
2936
3001
|
e = "DeleteFileFailed";
|
|
2937
3002
|
return;
|
|
2938
3003
|
}
|
|
2939
3004
|
}
|
|
2940
3005
|
}
|
|
2941
|
-
function
|
|
2942
|
-
const
|
|
2943
|
-
if (Math.abs(e) <
|
|
3006
|
+
function fe(e, a = !0, t = 1) {
|
|
3007
|
+
const i = a ? 1e3 : 1024;
|
|
3008
|
+
if (Math.abs(e) < i)
|
|
2944
3009
|
return e + " B";
|
|
2945
|
-
const
|
|
2946
|
-
let
|
|
2947
|
-
const r = 10 **
|
|
3010
|
+
const l = a ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
|
|
3011
|
+
let o = -1;
|
|
3012
|
+
const r = 10 ** t;
|
|
2948
3013
|
do
|
|
2949
|
-
e /=
|
|
2950
|
-
while (Math.round(Math.abs(e) * r) / r >=
|
|
2951
|
-
return e.toFixed(
|
|
3014
|
+
e /= i, ++o;
|
|
3015
|
+
while (Math.round(Math.abs(e) * r) / r >= i && o < l.length - 1);
|
|
3016
|
+
return e.toFixed(t) + " " + l[o];
|
|
2952
3017
|
}
|
|
2953
|
-
function
|
|
3018
|
+
function $t(e) {
|
|
2954
3019
|
return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
|
|
2955
3020
|
}
|
|
2956
|
-
function
|
|
3021
|
+
function Bt(e) {
|
|
2957
3022
|
return URL.createObjectURL(e);
|
|
2958
3023
|
}
|
|
2959
|
-
|
|
3024
|
+
function Ft() {
|
|
3025
|
+
const e = new $e(ve, ue);
|
|
3026
|
+
return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
|
|
3027
|
+
}
|
|
3028
|
+
const zt = { class: "d-flex justify-content-between" }, _t = ["accept", "disabled", "multiple"], jt = {
|
|
2960
3029
|
class: "text-break accepted-file-types-container",
|
|
2961
3030
|
id: "accepted-file-types-overlay"
|
|
2962
|
-
},
|
|
3031
|
+
}, Ct = /* @__PURE__ */ F({
|
|
2963
3032
|
__name: "UploadButton",
|
|
2964
|
-
props: /* @__PURE__ */
|
|
3033
|
+
props: /* @__PURE__ */ N({
|
|
2965
3034
|
acceptedFileTypes: {},
|
|
2966
3035
|
maxFileInput: {},
|
|
2967
3036
|
showDragDropArea: { type: Boolean }
|
|
@@ -2971,12 +3040,12 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
2971
3040
|
}),
|
|
2972
3041
|
emits: ["update:modelValue"],
|
|
2973
3042
|
setup(e) {
|
|
2974
|
-
const
|
|
2975
|
-
|
|
3043
|
+
const a = O(e, "modelValue"), t = T(), i = (r) => t.value.toggle(r), l = k(() => e.maxFileInput <= a.value.length), o = (r) => {
|
|
3044
|
+
a.value = Be(r, a.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
|
|
2976
3045
|
};
|
|
2977
|
-
return (r,
|
|
2978
|
-
const
|
|
2979
|
-
return
|
|
3046
|
+
return (r, s) => {
|
|
3047
|
+
const d = A;
|
|
3048
|
+
return p(), x("div", zt, [
|
|
2980
3049
|
$(r.$slots, "message"),
|
|
2981
3050
|
m("div", null, [
|
|
2982
3051
|
m("input", {
|
|
@@ -2984,60 +3053,60 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
2984
3053
|
type: "file",
|
|
2985
3054
|
class: "d-none",
|
|
2986
3055
|
accept: r.acceptedFileTypes.join(", "),
|
|
2987
|
-
disabled:
|
|
3056
|
+
disabled: l.value,
|
|
2988
3057
|
multiple: r.maxFileInput > 1,
|
|
2989
|
-
onInput:
|
|
2990
|
-
}, null, 40,
|
|
3058
|
+
onInput: s[0] || (s[0] = (c) => o([...c.target.files]))
|
|
3059
|
+
}, null, 40, _t),
|
|
2991
3060
|
m("label", {
|
|
2992
|
-
class: B([{ disabled:
|
|
3061
|
+
class: B([{ disabled: l.value }, "btn btn-primary"]),
|
|
2993
3062
|
id: "file-input-button",
|
|
2994
3063
|
for: "file-input"
|
|
2995
3064
|
}, [
|
|
2996
3065
|
$(r.$slots, "button-content", {}, () => [
|
|
2997
|
-
|
|
3066
|
+
f(u(_), {
|
|
2998
3067
|
icon: "bi:upload",
|
|
2999
3068
|
class: "me-2",
|
|
3000
3069
|
height: "20px",
|
|
3001
3070
|
width: "20px"
|
|
3002
3071
|
}),
|
|
3003
|
-
|
|
3072
|
+
s[1] || (s[1] = P(" Browse your computer "))
|
|
3004
3073
|
])
|
|
3005
3074
|
], 2)
|
|
3006
3075
|
]),
|
|
3007
|
-
r.showDragDropArea ? (
|
|
3076
|
+
r.showDragDropArea ? (p(), w(d, {
|
|
3008
3077
|
link: "",
|
|
3009
3078
|
class: "ms-auto",
|
|
3010
3079
|
key: r.acceptedFileTypes.length,
|
|
3011
3080
|
id: "accepted-file-types",
|
|
3012
|
-
onClick:
|
|
3081
|
+
onClick: i
|
|
3013
3082
|
}, {
|
|
3014
|
-
default: g(() =>
|
|
3015
|
-
|
|
3083
|
+
default: g(() => s[2] || (s[2] = [
|
|
3084
|
+
P("Accepted File Types")
|
|
3016
3085
|
])),
|
|
3017
3086
|
_: 1
|
|
3018
|
-
})) :
|
|
3019
|
-
|
|
3087
|
+
})) : C("", !0),
|
|
3088
|
+
f(u(he), {
|
|
3020
3089
|
ref_key: "acceptedFilesOverlay",
|
|
3021
|
-
ref:
|
|
3090
|
+
ref: t
|
|
3022
3091
|
}, {
|
|
3023
3092
|
default: g(() => [
|
|
3024
|
-
m("div",
|
|
3093
|
+
m("div", jt, h(r.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
|
|
3025
3094
|
]),
|
|
3026
3095
|
_: 1
|
|
3027
3096
|
}, 512)
|
|
3028
3097
|
]);
|
|
3029
3098
|
};
|
|
3030
3099
|
}
|
|
3031
|
-
}),
|
|
3100
|
+
}), Vt = {
|
|
3032
3101
|
key: 0,
|
|
3033
3102
|
class: "py-4 px-3",
|
|
3034
3103
|
id: "placeholder-message"
|
|
3035
|
-
},
|
|
3104
|
+
}, St = {
|
|
3036
3105
|
key: 1,
|
|
3037
3106
|
class: "d-flex flex-column"
|
|
3038
|
-
},
|
|
3107
|
+
}, Tt = /* @__PURE__ */ F({
|
|
3039
3108
|
__name: "DragDropArea",
|
|
3040
|
-
props: /* @__PURE__ */
|
|
3109
|
+
props: /* @__PURE__ */ N({
|
|
3041
3110
|
maxFileInput: {},
|
|
3042
3111
|
maxFileSize: {},
|
|
3043
3112
|
acceptedFileTypes: {}
|
|
@@ -3047,30 +3116,30 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3047
3116
|
}),
|
|
3048
3117
|
emits: ["update:modelValue"],
|
|
3049
3118
|
setup(e) {
|
|
3050
|
-
const
|
|
3051
|
-
|
|
3119
|
+
const a = O(e, "modelValue"), t = T(!1), i = k(() => e.maxFileInput <= a.value.length), l = (o) => {
|
|
3120
|
+
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
3121
|
};
|
|
3053
|
-
return (
|
|
3122
|
+
return (o, r) => (p(), x("div", {
|
|
3054
3123
|
id: "drag-drop-area",
|
|
3055
|
-
class: B(`${
|
|
3056
|
-
onDragleave: r[0] || (r[0] =
|
|
3057
|
-
onDragover: r[1] || (r[1] =
|
|
3058
|
-
onDrop:
|
|
3124
|
+
class: B(`${t.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
|
|
3125
|
+
onDragleave: r[0] || (r[0] = G((s) => t.value = !1, ["prevent"])),
|
|
3126
|
+
onDragover: r[1] || (r[1] = G((s) => t.value = !0, ["prevent"])),
|
|
3127
|
+
onDrop: G(l, ["prevent"])
|
|
3059
3128
|
}, [
|
|
3060
|
-
|
|
3061
|
-
|
|
3129
|
+
a.value.length === 0 ? (p(), x("div", Vt, [
|
|
3130
|
+
f(u(_), {
|
|
3062
3131
|
icon: "bi:upload",
|
|
3063
3132
|
class: "me-2",
|
|
3064
3133
|
height: "20px",
|
|
3065
3134
|
width: "20px"
|
|
3066
3135
|
}),
|
|
3067
|
-
r[2] || (r[2] =
|
|
3068
|
-
])) : (
|
|
3069
|
-
$(
|
|
3136
|
+
r[2] || (r[2] = P(" Drag and drop files here "))
|
|
3137
|
+
])) : (p(), x("div", St, [
|
|
3138
|
+
$(o.$slots, "default")
|
|
3070
3139
|
]))
|
|
3071
3140
|
], 34));
|
|
3072
3141
|
}
|
|
3073
|
-
}),
|
|
3142
|
+
}), Mt = { class: "d-flex align-items-center me-2" }, Pt = /* @__PURE__ */ F({
|
|
3074
3143
|
__name: "UploadStatus",
|
|
3075
3144
|
props: {
|
|
3076
3145
|
fileSize: {},
|
|
@@ -3079,12 +3148,12 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3079
3148
|
uploadStatus: {}
|
|
3080
3149
|
},
|
|
3081
3150
|
setup(e) {
|
|
3082
|
-
const
|
|
3151
|
+
const a = k(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), t = k(() => {
|
|
3083
3152
|
switch (e.uploadStatus) {
|
|
3084
3153
|
case "InvalidFileType":
|
|
3085
3154
|
return "Upload Failed: File type is not accepted.";
|
|
3086
3155
|
case "InvalidFileSize":
|
|
3087
|
-
return `Upload Failed: File size exceeds the ${
|
|
3156
|
+
return `Upload Failed: File size exceeds the ${fe(e.maxFileSize)} limit.`;
|
|
3088
3157
|
case "Aborted":
|
|
3089
3158
|
return "Upload Failed: User cancelled.";
|
|
3090
3159
|
case "DeleteFileFailed":
|
|
@@ -3095,43 +3164,43 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3095
3164
|
return "Upload Failed: Connection error, please try again.";
|
|
3096
3165
|
}
|
|
3097
3166
|
});
|
|
3098
|
-
return (
|
|
3099
|
-
|
|
3167
|
+
return (i, l) => (p(), x("div", Mt, [
|
|
3168
|
+
i.uploadStatus === "Uploading" ? (p(), w(at, {
|
|
3100
3169
|
key: 0,
|
|
3101
3170
|
pixelWidth: 200,
|
|
3102
3171
|
animate: "",
|
|
3103
3172
|
striped: ""
|
|
3104
3173
|
}, {
|
|
3105
3174
|
default: g(() => [
|
|
3106
|
-
|
|
3175
|
+
P(h((i.bytesUploaded / i.fileSize * 100).toFixed(0)) + "%", 1)
|
|
3107
3176
|
]),
|
|
3108
3177
|
_: 1
|
|
3109
|
-
})) :
|
|
3110
|
-
|
|
3178
|
+
})) : C("", !0),
|
|
3179
|
+
i.uploadStatus !== "Uploading" && i.uploadStatus !== "Not Uploaded" && i.uploadStatus !== "Uploaded" && i.uploadStatus !== "Preparing" ? (p(), w(re, {
|
|
3111
3180
|
key: 1,
|
|
3112
3181
|
id: "upload-status-alert",
|
|
3113
|
-
severity:
|
|
3182
|
+
severity: a.value,
|
|
3114
3183
|
class: "mb-0 w-75 ms-auto"
|
|
3115
3184
|
}, {
|
|
3116
3185
|
default: g(() => [
|
|
3117
|
-
|
|
3186
|
+
P(h(t.value), 1)
|
|
3118
3187
|
]),
|
|
3119
3188
|
_: 1
|
|
3120
|
-
}, 8, ["severity"])) :
|
|
3189
|
+
}, 8, ["severity"])) : C("", !0)
|
|
3121
3190
|
]));
|
|
3122
3191
|
}
|
|
3123
|
-
}),
|
|
3192
|
+
}), It = ["data-cy"], Ot = { class: "ms-3 d-flex flex-column" }, Dt = {
|
|
3124
3193
|
key: 1,
|
|
3125
3194
|
id: "file-name"
|
|
3126
|
-
},
|
|
3195
|
+
}, Ut = {
|
|
3127
3196
|
class: "text-black-50",
|
|
3128
3197
|
id: "file-type"
|
|
3129
|
-
},
|
|
3198
|
+
}, qt = {
|
|
3130
3199
|
class: "text-black-50",
|
|
3131
3200
|
id: "file-size"
|
|
3132
|
-
},
|
|
3201
|
+
}, At = { class: "ms-auto my-auto d-flex" }, Et = /* @__PURE__ */ F({
|
|
3133
3202
|
__name: "FileInfo",
|
|
3134
|
-
props: /* @__PURE__ */
|
|
3203
|
+
props: /* @__PURE__ */ N({
|
|
3135
3204
|
editableFileName: { type: Boolean },
|
|
3136
3205
|
acceptedFileTypes: {},
|
|
3137
3206
|
maxFileSize: {},
|
|
@@ -3146,57 +3215,61 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3146
3215
|
uploadStatus: { required: !0 },
|
|
3147
3216
|
uploadStatusModifiers: {}
|
|
3148
3217
|
}),
|
|
3149
|
-
emits: /* @__PURE__ */
|
|
3150
|
-
setup(e, { emit:
|
|
3151
|
-
const
|
|
3152
|
-
|
|
3218
|
+
emits: /* @__PURE__ */ N(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
|
|
3219
|
+
setup(e, { emit: a }) {
|
|
3220
|
+
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 : Ft().getType(t.value.name)), V = () => {
|
|
3221
|
+
t.value = new File([t.value], r.value, { type: t.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
|
|
3153
3222
|
}, S = async () => {
|
|
3154
|
-
if (!v.value || !
|
|
3155
|
-
|
|
3223
|
+
if (!v.value || !n.value) {
|
|
3224
|
+
l.value = v.value ? "InvalidFileSize" : "InvalidFileType";
|
|
3156
3225
|
return;
|
|
3157
3226
|
}
|
|
3158
|
-
|
|
3159
|
-
const [
|
|
3160
|
-
if (!
|
|
3161
|
-
|
|
3227
|
+
l.value = "Preparing", c.value = new AbortController();
|
|
3228
|
+
const [M, b] = await e.getFileUrlAction(t.value.name);
|
|
3229
|
+
if (!M) {
|
|
3230
|
+
l.value = "Failed";
|
|
3162
3231
|
return;
|
|
3163
3232
|
}
|
|
3164
3233
|
try {
|
|
3165
|
-
|
|
3166
|
-
const
|
|
3234
|
+
l.value = "Uploading";
|
|
3235
|
+
const y = new ye(M), R = {
|
|
3167
3236
|
abortSignal: c.value.signal,
|
|
3168
|
-
onProgress: (
|
|
3237
|
+
onProgress: (Z) => d.value = Z.loadedBytes,
|
|
3238
|
+
blobHTTPHeaders: {
|
|
3239
|
+
blobContentType: j.value,
|
|
3240
|
+
blobContentDisposition: `attachment; filename="${t.value.name}"`
|
|
3241
|
+
},
|
|
3169
3242
|
tags: { temp: "true" }
|
|
3170
3243
|
};
|
|
3171
|
-
await
|
|
3172
|
-
} catch (
|
|
3173
|
-
if (
|
|
3174
|
-
|
|
3244
|
+
await y.uploadData(t.value, R), s.value = M, l.value = "Uploaded", i.value = b;
|
|
3245
|
+
} catch (y) {
|
|
3246
|
+
if (y.name === "AbortError") {
|
|
3247
|
+
l.value = "Aborted";
|
|
3175
3248
|
return;
|
|
3176
3249
|
}
|
|
3177
|
-
|
|
3250
|
+
l.value = "Failed";
|
|
3178
3251
|
}
|
|
3179
|
-
},
|
|
3180
|
-
await
|
|
3252
|
+
}, D = async () => {
|
|
3253
|
+
await kt(l.value, s.value), o("deleted", t.value);
|
|
3181
3254
|
};
|
|
3182
|
-
return
|
|
3255
|
+
return ne(() => {
|
|
3183
3256
|
e.autoUploadToBlob && S();
|
|
3184
|
-
}), (
|
|
3185
|
-
const
|
|
3186
|
-
return
|
|
3257
|
+
}), (M, b) => {
|
|
3258
|
+
const y = A;
|
|
3259
|
+
return p(), x("div", {
|
|
3187
3260
|
class: "py-4 px-3 d-flex",
|
|
3188
|
-
"data-cy": `file-info-${
|
|
3261
|
+
"data-cy": `file-info-${t.value.name}`
|
|
3189
3262
|
}, [
|
|
3190
3263
|
m("div", null, [
|
|
3191
|
-
|
|
3264
|
+
u($t)(t.value.type) ? (p(), w(u(Le), {
|
|
3192
3265
|
key: 0,
|
|
3193
3266
|
id: "thumbnail-image",
|
|
3194
3267
|
"image-class": "image-file-thumbnail border",
|
|
3195
|
-
src:
|
|
3196
|
-
alt:
|
|
3268
|
+
src: u(Bt)(t.value),
|
|
3269
|
+
alt: t.value.name,
|
|
3197
3270
|
width: "75px",
|
|
3198
3271
|
preview: ""
|
|
3199
|
-
}, null, 8, ["src", "alt"])) : (
|
|
3272
|
+
}, null, 8, ["src", "alt"])) : (p(), w(u(_), {
|
|
3200
3273
|
key: 1,
|
|
3201
3274
|
id: "file-earmark",
|
|
3202
3275
|
icon: "bi:file-earmark",
|
|
@@ -3204,78 +3277,78 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3204
3277
|
width: "75px"
|
|
3205
3278
|
}))
|
|
3206
3279
|
]),
|
|
3207
|
-
m("div",
|
|
3280
|
+
m("div", Ot, [
|
|
3208
3281
|
m("div", null, [
|
|
3209
|
-
|
|
3282
|
+
M.editableFileName ? (p(), w(Sa, {
|
|
3210
3283
|
key: 0,
|
|
3211
3284
|
id: "edit-file-name",
|
|
3212
3285
|
modelValue: r.value,
|
|
3213
|
-
"onUpdate:modelValue":
|
|
3214
|
-
rules:
|
|
3215
|
-
name:
|
|
3286
|
+
"onUpdate:modelValue": b[0] || (b[0] = (R) => r.value = R),
|
|
3287
|
+
rules: M.customFileNameRules,
|
|
3288
|
+
name: t.value.name,
|
|
3216
3289
|
"complete-action": V
|
|
3217
|
-
}, null, 8, ["modelValue", "rules", "name"])) : (
|
|
3290
|
+
}, null, 8, ["modelValue", "rules", "name"])) : (p(), x("span", Dt, h(t.value.name), 1))
|
|
3218
3291
|
]),
|
|
3219
|
-
m("span",
|
|
3220
|
-
m("span",
|
|
3292
|
+
m("span", Ut, "File type: " + h(t.value.type.split("/").pop()), 1),
|
|
3293
|
+
m("span", qt, "File size: " + h(u(fe)(t.value.size)), 1)
|
|
3221
3294
|
]),
|
|
3222
|
-
m("div",
|
|
3223
|
-
(
|
|
3224
|
-
key:
|
|
3225
|
-
"file-size":
|
|
3226
|
-
"upload-status":
|
|
3227
|
-
"bytes-uploaded":
|
|
3228
|
-
"max-file-size":
|
|
3295
|
+
m("div", At, [
|
|
3296
|
+
(p(), w(Pt, {
|
|
3297
|
+
key: l.value,
|
|
3298
|
+
"file-size": t.value.size,
|
|
3299
|
+
"upload-status": l.value,
|
|
3300
|
+
"bytes-uploaded": d.value,
|
|
3301
|
+
"max-file-size": M.maxFileSize
|
|
3229
3302
|
}, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
|
|
3230
|
-
|
|
3303
|
+
l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (p(), w(y, {
|
|
3231
3304
|
key: 0,
|
|
3232
3305
|
link: "",
|
|
3233
3306
|
onClick: S
|
|
3234
3307
|
}, {
|
|
3235
3308
|
default: g(() => [
|
|
3236
|
-
|
|
3237
|
-
icon:
|
|
3309
|
+
f(u(_), {
|
|
3310
|
+
icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
|
|
3238
3311
|
}, null, 8, ["icon"])
|
|
3239
3312
|
]),
|
|
3240
3313
|
_: 1
|
|
3241
|
-
})) :
|
|
3242
|
-
|
|
3314
|
+
})) : C("", !0),
|
|
3315
|
+
l.value === "Uploading" ? (p(), w(y, {
|
|
3243
3316
|
key: 1,
|
|
3244
3317
|
link: "",
|
|
3245
|
-
onClick:
|
|
3318
|
+
onClick: b[1] || (b[1] = (R) => c.value.value.abort())
|
|
3246
3319
|
}, {
|
|
3247
3320
|
default: g(() => [
|
|
3248
|
-
|
|
3321
|
+
f(u(_), { icon: "bi:x-circle-fill" })
|
|
3249
3322
|
]),
|
|
3250
3323
|
_: 1
|
|
3251
|
-
})) : (
|
|
3324
|
+
})) : (p(), w(y, {
|
|
3252
3325
|
key: 2,
|
|
3253
3326
|
link: "",
|
|
3254
|
-
onClick:
|
|
3327
|
+
onClick: D,
|
|
3255
3328
|
id: "delete-button"
|
|
3256
3329
|
}, {
|
|
3257
3330
|
default: g(() => [
|
|
3258
|
-
|
|
3331
|
+
f(u(_), { icon: "bi:trash" })
|
|
3259
3332
|
]),
|
|
3260
3333
|
_: 1
|
|
3261
3334
|
}))
|
|
3262
3335
|
])
|
|
3263
|
-
], 8,
|
|
3336
|
+
], 8, It);
|
|
3264
3337
|
};
|
|
3265
3338
|
}
|
|
3266
|
-
}),
|
|
3339
|
+
}), Lt = { class: "d-flex justify-content-end mt-1" }, Nt = { id: "max-file-size" }, Rt = /* @__PURE__ */ F({
|
|
3267
3340
|
__name: "MaxFileSize",
|
|
3268
3341
|
props: {
|
|
3269
3342
|
maxFileSize: {}
|
|
3270
3343
|
},
|
|
3271
3344
|
setup(e) {
|
|
3272
|
-
return (
|
|
3273
|
-
m("div",
|
|
3345
|
+
return (a, t) => (p(), x("div", Lt, [
|
|
3346
|
+
m("div", Nt, "Max file size: " + h(u(fe)(a.maxFileSize)), 1)
|
|
3274
3347
|
]));
|
|
3275
3348
|
}
|
|
3276
|
-
}),
|
|
3349
|
+
}), Ht = { "data-cy": "file-uploader" }, Wt = { key: 0 }, Hi = /* @__PURE__ */ F({
|
|
3277
3350
|
__name: "ForgeFileUploader",
|
|
3278
|
-
props: /* @__PURE__ */
|
|
3351
|
+
props: /* @__PURE__ */ N({
|
|
3279
3352
|
acceptedFileTypes: {},
|
|
3280
3353
|
maxFileSize: {},
|
|
3281
3354
|
getFileUrlAction: {},
|
|
@@ -3290,46 +3363,46 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3290
3363
|
}),
|
|
3291
3364
|
emits: ["update:modelValue"],
|
|
3292
3365
|
setup(e) {
|
|
3293
|
-
const
|
|
3294
|
-
|
|
3366
|
+
const a = O(e, "modelValue"), t = e, i = (l) => {
|
|
3367
|
+
a.value = a.value.filter((o) => o.file != l);
|
|
3295
3368
|
};
|
|
3296
|
-
return (
|
|
3297
|
-
|
|
3298
|
-
modelValue:
|
|
3299
|
-
"onUpdate:modelValue":
|
|
3369
|
+
return (l, o) => (p(), x("div", Ht, [
|
|
3370
|
+
f(Ct, z(t, {
|
|
3371
|
+
modelValue: a.value,
|
|
3372
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => a.value = r)
|
|
3300
3373
|
}), null, 16, ["modelValue"]),
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
"max-file-input":
|
|
3304
|
-
"max-file-size":
|
|
3305
|
-
"accepted-file-types":
|
|
3306
|
-
modelValue:
|
|
3307
|
-
"onUpdate:modelValue":
|
|
3374
|
+
l.showDragDropArea ? (p(), x("div", Wt, [
|
|
3375
|
+
f(Tt, {
|
|
3376
|
+
"max-file-input": t.maxFileInput,
|
|
3377
|
+
"max-file-size": t.maxFileSize,
|
|
3378
|
+
"accepted-file-types": t.acceptedFileTypes,
|
|
3379
|
+
modelValue: a.value,
|
|
3380
|
+
"onUpdate:modelValue": o[1] || (o[1] = (r) => a.value = r)
|
|
3308
3381
|
}, {
|
|
3309
3382
|
default: g(() => [
|
|
3310
|
-
(
|
|
3311
|
-
(
|
|
3383
|
+
(p(!0), x(q, null, W(a.value, ({ file: r }, s) => (p(), x("span", null, [
|
|
3384
|
+
(p(), w(Et, z({
|
|
3312
3385
|
key: r.name,
|
|
3313
|
-
class:
|
|
3314
|
-
file:
|
|
3315
|
-
"onUpdate:file": (
|
|
3316
|
-
"blob-file-name":
|
|
3317
|
-
"onUpdate:blobFileName": (
|
|
3318
|
-
"upload-status":
|
|
3319
|
-
"onUpdate:uploadStatus": (
|
|
3386
|
+
class: s === a.value.length - 1 || a.value.length == 1 ? "" : "border-bottom",
|
|
3387
|
+
file: a.value[s].file,
|
|
3388
|
+
"onUpdate:file": (d) => a.value[s].file = d,
|
|
3389
|
+
"blob-file-name": a.value[s].blobFileName,
|
|
3390
|
+
"onUpdate:blobFileName": (d) => a.value[s].blobFileName = d,
|
|
3391
|
+
"upload-status": a.value[s].status,
|
|
3392
|
+
"onUpdate:uploadStatus": (d) => a.value[s].status = d,
|
|
3320
3393
|
ref_for: !0
|
|
3321
|
-
},
|
|
3394
|
+
}, t, { onDeleted: i }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
|
|
3322
3395
|
]))), 256))
|
|
3323
3396
|
]),
|
|
3324
3397
|
_: 1
|
|
3325
3398
|
}, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
|
|
3326
|
-
|
|
3327
|
-
"max-file-size":
|
|
3399
|
+
f(Rt, {
|
|
3400
|
+
"max-file-size": t.maxFileSize
|
|
3328
3401
|
}, null, 8, ["max-file-size"])
|
|
3329
|
-
])) :
|
|
3402
|
+
])) : C("", !0)
|
|
3330
3403
|
]));
|
|
3331
3404
|
}
|
|
3332
|
-
}),
|
|
3405
|
+
}), Yt = { class: "d-flex" }, Gt = { class: "me-3" }, Kt = { class: "ms-2" }, Zt = { class: "d-flex flex-column w-100" }, Jt = ["onClick"], Xt = ["for"], Wi = /* @__PURE__ */ F({
|
|
3333
3406
|
__name: "ForgeColumnCustomiser",
|
|
3334
3407
|
props: {
|
|
3335
3408
|
modelValue: { required: !0 },
|
|
@@ -3337,63 +3410,63 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3337
3410
|
},
|
|
3338
3411
|
emits: ["update:modelValue"],
|
|
3339
3412
|
setup(e) {
|
|
3340
|
-
const
|
|
3341
|
-
|
|
3342
|
-
},
|
|
3343
|
-
const c =
|
|
3344
|
-
c.selected = !c.selected,
|
|
3413
|
+
const a = O(e, "modelValue"), t = T(), i = T(!1), l = T([]), o = T([]), r = (d) => {
|
|
3414
|
+
t.value.toggle(d);
|
|
3415
|
+
}, s = (d) => {
|
|
3416
|
+
const c = o.value.find((v) => v.field === d);
|
|
3417
|
+
c.selected = !c.selected, a.value = o.value.filter((v) => v.selected);
|
|
3345
3418
|
};
|
|
3346
|
-
return
|
|
3347
|
-
|
|
3348
|
-
}), (
|
|
3349
|
-
|
|
3419
|
+
return ne(() => {
|
|
3420
|
+
l.value = [...a.value], o.value = [...a.value].map((d) => ({ ...d, selected: !0 }));
|
|
3421
|
+
}), (d, c) => (p(), x(q, null, [
|
|
3422
|
+
f(u(A), {
|
|
3350
3423
|
onClick: r,
|
|
3351
3424
|
class: "ms-2"
|
|
3352
3425
|
}, {
|
|
3353
3426
|
default: g(() => [
|
|
3354
|
-
m("div",
|
|
3355
|
-
m("div",
|
|
3356
|
-
|
|
3427
|
+
m("div", Yt, [
|
|
3428
|
+
m("div", Gt, [
|
|
3429
|
+
f(u(_), { icon: "bi:layout-three-columns" })
|
|
3357
3430
|
]),
|
|
3358
|
-
|
|
3359
|
-
m("div",
|
|
3360
|
-
|
|
3361
|
-
icon:
|
|
3431
|
+
P(" Columns (" + h(a.value.length ?? 0) + "/" + h(l.value.length ?? 0) + ") ", 1),
|
|
3432
|
+
m("div", Kt, [
|
|
3433
|
+
f(u(_), {
|
|
3434
|
+
icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
|
|
3362
3435
|
}, null, 8, ["icon"])
|
|
3363
3436
|
])
|
|
3364
3437
|
])
|
|
3365
3438
|
]),
|
|
3366
3439
|
_: 1
|
|
3367
3440
|
}),
|
|
3368
|
-
|
|
3441
|
+
f(u(he), {
|
|
3369
3442
|
ref_key: "columnCustomiserPanel",
|
|
3370
|
-
ref:
|
|
3443
|
+
ref: t,
|
|
3371
3444
|
class: "column-customiser",
|
|
3372
|
-
onHide: c[0] || (c[0] = () =>
|
|
3373
|
-
onShow: c[1] || (c[1] = () =>
|
|
3445
|
+
onHide: c[0] || (c[0] = () => i.value = !1),
|
|
3446
|
+
onShow: c[1] || (c[1] = () => i.value = !0)
|
|
3374
3447
|
}, {
|
|
3375
3448
|
default: g(() => [
|
|
3376
|
-
m("div",
|
|
3377
|
-
(
|
|
3449
|
+
m("div", Zt, [
|
|
3450
|
+
(p(!0), x(q, null, W(l.value, (v, n) => (p(), x("div", {
|
|
3378
3451
|
class: B(["d-flex cursor-pointer", {
|
|
3379
|
-
"border-top":
|
|
3380
|
-
"py-1":
|
|
3381
|
-
"pt-1":
|
|
3382
|
-
"pb-1":
|
|
3452
|
+
"border-top": n !== 0,
|
|
3453
|
+
"py-1": n !== 0 && l.value.length - 1 !== n,
|
|
3454
|
+
"pt-1": l.value.length - 1 === n,
|
|
3455
|
+
"pb-1": n === 0
|
|
3383
3456
|
}]),
|
|
3384
|
-
onClick: (
|
|
3457
|
+
onClick: (j) => s(v.field)
|
|
3385
3458
|
}, [
|
|
3386
|
-
|
|
3459
|
+
f(u(be), {
|
|
3387
3460
|
id: v.field,
|
|
3388
|
-
"model-value":
|
|
3461
|
+
"model-value": o.value.find((j) => j.field === v.field).selected,
|
|
3389
3462
|
binary: "",
|
|
3390
3463
|
class: "cursor-pointer"
|
|
3391
3464
|
}, null, 8, ["id", "model-value"]),
|
|
3392
3465
|
m("label", {
|
|
3393
3466
|
for: v.field,
|
|
3394
3467
|
class: "cursor-pointer"
|
|
3395
|
-
}, h(v.header), 9,
|
|
3396
|
-
], 10,
|
|
3468
|
+
}, h(v.header), 9, Xt)
|
|
3469
|
+
], 10, Jt))), 256))
|
|
3397
3470
|
])
|
|
3398
3471
|
]),
|
|
3399
3472
|
_: 1
|
|
@@ -3402,32 +3475,32 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
|
|
|
3402
3475
|
}
|
|
3403
3476
|
});
|
|
3404
3477
|
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
|
-
|
|
3478
|
+
_i as Bootstrap_PT,
|
|
3479
|
+
ji as ForgeActionButton,
|
|
3480
|
+
re as ForgeAlert,
|
|
3481
|
+
ya as ForgeCheckbox,
|
|
3482
|
+
qi as ForgeChips,
|
|
3483
|
+
Wi as ForgeColumnCustomiser,
|
|
3484
|
+
ke as ForgeDatepicker,
|
|
3485
|
+
Hi as ForgeFileUploader,
|
|
3486
|
+
Ri as ForgeFilterHeader,
|
|
3487
|
+
Di as ForgeForm,
|
|
3488
|
+
Ui as ForgeFormField,
|
|
3489
|
+
Sa as ForgeInlineEditor,
|
|
3490
|
+
Ci as ForgeLink,
|
|
3491
|
+
we as ForgeLoader,
|
|
3492
|
+
Ti as ForgeModal,
|
|
3493
|
+
Pi as ForgeMultiSelect,
|
|
3494
|
+
Ra as ForgeMultiSelectPreview,
|
|
3495
|
+
Mi as ForgeNavbar,
|
|
3496
|
+
Ii as ForgePageHeader,
|
|
3497
|
+
at as ForgeProgressBar,
|
|
3498
|
+
Oi as ForgeRemainingCharacters,
|
|
3499
|
+
Ai as ForgeStatWidget,
|
|
3500
|
+
Ei as ForgeStepper,
|
|
3501
|
+
Ni as ForgeTable,
|
|
3502
|
+
Li as ForgeTile,
|
|
3503
|
+
Si as convertToMultiSelectOption,
|
|
3504
|
+
Vi as enumToMultiSelectList,
|
|
3505
|
+
ka as parseError
|
|
3433
3506
|
};
|