@tekkare/auriga 0.1.116 → 0.1.118
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/module.json +1 -1
- package/dist/runtime/components/allIcons2.vue +271 -1
- package/dist/runtime/components/argActions.vue +8 -8
- package/dist/runtime/components/argComplexSelect.vue +48 -16
- package/dist/runtime/components/argDate.vue +12 -12
- package/dist/runtime/components/argDate.vue.d.ts +1 -1
- package/dist/runtime/components/argDropdownSelect.vue +5 -5
- package/dist/runtime/components/argFilterCard.vue +16 -3
- package/dist/runtime/components/argFilterCard.vue.d.ts +9 -0
- package/dist/runtime/components/argFooter.vue +13 -3
- package/dist/runtime/components/argIcon.vue +542 -2
- package/dist/runtime/components/argIcon.vue.d.ts +270 -0
- package/dist/runtime/components/argMainLayout.vue +1 -1
- package/dist/runtime/components/argMultipleSelect.vue +5 -5
- package/dist/runtime/components/argNoSavedScope.vue +7 -1
- package/dist/runtime/components/argNoSavedScope.vue.d.ts +3 -0
- package/dist/runtime/components/argNoSelectedScope.vue +19 -3
- package/dist/runtime/components/argNoSelectedScope.vue.d.ts +1 -1
- package/dist/runtime/components/argScopeChange.vue +51 -10
- package/dist/runtime/components/argScopeChange.vue.d.ts +31 -2
- package/dist/runtime/components/argScopeCriteria.vue +25 -5
- package/dist/runtime/components/argScopeCriteria.vue.d.ts +4 -0
- package/dist/runtime/components/argScopeCriteriaIndicator.vue +15 -3
- package/dist/runtime/components/argScopeHeader.vue +3 -1
- package/dist/runtime/components/argScopeManage.vue +34 -6
- package/dist/runtime/components/argScopeModal.vue +35 -5
- package/dist/runtime/components/argSidebar.vue +11 -4
- package/dist/runtime/components/argSourceCollapse.vue +4 -2
- package/dist/runtime/components/argToolbarSources.vue +12 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -670,7 +670,277 @@ export default defineComponent({
|
|
|
670
670
|
"SmileyAngry",
|
|
671
671
|
"SwimmingPool",
|
|
672
672
|
"SquareSplitHorizontal",
|
|
673
|
-
"DotOutline"
|
|
673
|
+
"DotOutline",
|
|
674
|
+
"OpenAiLogo",
|
|
675
|
+
"NotEquals",
|
|
676
|
+
"CigaretteSlash",
|
|
677
|
+
"Lectern",
|
|
678
|
+
"Lasso",
|
|
679
|
+
"CashRegister",
|
|
680
|
+
"ShippingContainer",
|
|
681
|
+
"FediverseLogo",
|
|
682
|
+
"PintGlass",
|
|
683
|
+
"DropSlash",
|
|
684
|
+
"CraneTower",
|
|
685
|
+
"FlipVertical",
|
|
686
|
+
"UserCircleDashed",
|
|
687
|
+
"TreasureChest",
|
|
688
|
+
"FileCpp",
|
|
689
|
+
"GpsSlash",
|
|
690
|
+
"CalendarDot",
|
|
691
|
+
"Tire",
|
|
692
|
+
"SecurityCamera",
|
|
693
|
+
"TumblrLogo",
|
|
694
|
+
"ThreeD",
|
|
695
|
+
"SkypeLogo",
|
|
696
|
+
"SupersetOf",
|
|
697
|
+
"StackMinus",
|
|
698
|
+
"Panorama",
|
|
699
|
+
"Mailbox",
|
|
700
|
+
"Cow",
|
|
701
|
+
"ColumnsPlusRight",
|
|
702
|
+
"MonitorArrowUp",
|
|
703
|
+
"RowsPlusTop",
|
|
704
|
+
"TipJar",
|
|
705
|
+
"Asclepius",
|
|
706
|
+
"HardHat",
|
|
707
|
+
"HandArrowDown",
|
|
708
|
+
"Windmill",
|
|
709
|
+
"FileMd",
|
|
710
|
+
"CalendarDots",
|
|
711
|
+
"Barn",
|
|
712
|
+
"Trolley",
|
|
713
|
+
"Beanie",
|
|
714
|
+
"MouseScroll",
|
|
715
|
+
"Tornado",
|
|
716
|
+
"Lego",
|
|
717
|
+
"RowsPlusBottom",
|
|
718
|
+
"Towel",
|
|
719
|
+
"Cricket",
|
|
720
|
+
"CaretLineDown",
|
|
721
|
+
"Empty",
|
|
722
|
+
"Island",
|
|
723
|
+
"City",
|
|
724
|
+
"BuildingApartment",
|
|
725
|
+
"FireTruck",
|
|
726
|
+
"FileTxt",
|
|
727
|
+
"LessThan",
|
|
728
|
+
"Joystick",
|
|
729
|
+
"Cigarette",
|
|
730
|
+
"ColumnsPlusLeft",
|
|
731
|
+
"DeviceRotate",
|
|
732
|
+
"CableCar",
|
|
733
|
+
"TrayArrowUp",
|
|
734
|
+
"HeadCircuit",
|
|
735
|
+
"CalendarSlash",
|
|
736
|
+
"PicnicTable",
|
|
737
|
+
"FileIni",
|
|
738
|
+
"TeaBag",
|
|
739
|
+
"PersonSimpleSnowboard",
|
|
740
|
+
"Sailboat",
|
|
741
|
+
"Farm",
|
|
742
|
+
"VectorThree",
|
|
743
|
+
"Clover",
|
|
744
|
+
"Hurricane",
|
|
745
|
+
"DeviceMobileSlash",
|
|
746
|
+
"HandWithdraw",
|
|
747
|
+
"Ambulance",
|
|
748
|
+
"MapPinSimple",
|
|
749
|
+
"Numpad",
|
|
750
|
+
"Bread",
|
|
751
|
+
"Blueprint",
|
|
752
|
+
"Seat",
|
|
753
|
+
"SteamLogo",
|
|
754
|
+
"TrayArrowDown",
|
|
755
|
+
"Popsicle",
|
|
756
|
+
"DropSimple",
|
|
757
|
+
"FileCSharp",
|
|
758
|
+
"HairDryer",
|
|
759
|
+
"Angle",
|
|
760
|
+
"LetterCircleP",
|
|
761
|
+
"Jar",
|
|
762
|
+
"PhoneList",
|
|
763
|
+
"Desk",
|
|
764
|
+
"CowboyHat",
|
|
765
|
+
"ThreadsLogo",
|
|
766
|
+
"ClockUser",
|
|
767
|
+
"SolarPanel",
|
|
768
|
+
"MapPinArea",
|
|
769
|
+
"CardsThree",
|
|
770
|
+
"ScanSmiley",
|
|
771
|
+
"Sphere",
|
|
772
|
+
"ApproximateEquals",
|
|
773
|
+
"CellTower",
|
|
774
|
+
"Seatbelt",
|
|
775
|
+
"BeachBall",
|
|
776
|
+
"PingPong",
|
|
777
|
+
"ListHeart",
|
|
778
|
+
"Gps",
|
|
779
|
+
"HandPeace",
|
|
780
|
+
"Bomb",
|
|
781
|
+
"MapPinPlus",
|
|
782
|
+
"TruckTrailer",
|
|
783
|
+
"PencilRuler",
|
|
784
|
+
"ChatSlash",
|
|
785
|
+
"NetworkX",
|
|
786
|
+
"Biohazard",
|
|
787
|
+
"MarkdownLogo",
|
|
788
|
+
"FileC",
|
|
789
|
+
"Scribble",
|
|
790
|
+
"MoneyWavy",
|
|
791
|
+
"SubsetProperOf",
|
|
792
|
+
"Rabbit",
|
|
793
|
+
"Ranking",
|
|
794
|
+
"ImageBroken",
|
|
795
|
+
"SolarRoof",
|
|
796
|
+
"Hospital",
|
|
797
|
+
"PersonSimpleSwim",
|
|
798
|
+
"TrolleySuitcase",
|
|
799
|
+
"MapPinSimpleLine",
|
|
800
|
+
"MouseLeftClick",
|
|
801
|
+
"FourK",
|
|
802
|
+
"Boules",
|
|
803
|
+
"TreeView",
|
|
804
|
+
"LetterCircleV",
|
|
805
|
+
"BoxArrowDown",
|
|
806
|
+
"NuclearPlant",
|
|
807
|
+
"FootballHelmet",
|
|
808
|
+
"Speedometer",
|
|
809
|
+
"FunnelX",
|
|
810
|
+
"FilePy",
|
|
811
|
+
"SprayBottle",
|
|
812
|
+
"SubsetOf",
|
|
813
|
+
"CrownCross",
|
|
814
|
+
"Onigiri",
|
|
815
|
+
"NotSupersetOf",
|
|
816
|
+
"HandArrowUp",
|
|
817
|
+
"NotMemberOf",
|
|
818
|
+
"Belt",
|
|
819
|
+
"MastodonLogo",
|
|
820
|
+
"LinktreeLogo",
|
|
821
|
+
"MouseMiddleClick",
|
|
822
|
+
"HandDeposit",
|
|
823
|
+
"Bulldozer",
|
|
824
|
+
"PhoneTransfer",
|
|
825
|
+
"Sock",
|
|
826
|
+
"UserCircleCheck",
|
|
827
|
+
"Oven",
|
|
828
|
+
"ExclamationMark",
|
|
829
|
+
"Yarn",
|
|
830
|
+
"CarBattery",
|
|
831
|
+
"BabyCarriage",
|
|
832
|
+
"CalendarStar",
|
|
833
|
+
"GreaterThan",
|
|
834
|
+
"UserSound",
|
|
835
|
+
"Golf",
|
|
836
|
+
"MusicNotesMinus",
|
|
837
|
+
"CompassRose",
|
|
838
|
+
"Tilde",
|
|
839
|
+
"MatrixLogo",
|
|
840
|
+
"Union",
|
|
841
|
+
"Racquet",
|
|
842
|
+
"FunnelSimpleX",
|
|
843
|
+
"RectangleDashed",
|
|
844
|
+
"GpsFix",
|
|
845
|
+
"MapPinSimpleArea",
|
|
846
|
+
"TextSubscript",
|
|
847
|
+
"ChatCenteredSlash",
|
|
848
|
+
"Network",
|
|
849
|
+
"Eyes",
|
|
850
|
+
"Memory",
|
|
851
|
+
"AirplaneTaxiing",
|
|
852
|
+
"PersonSimpleTaiChi",
|
|
853
|
+
"ChefHat",
|
|
854
|
+
"Acorn",
|
|
855
|
+
"WaveformSlash",
|
|
856
|
+
"Intersection",
|
|
857
|
+
"Resize",
|
|
858
|
+
"Highlighter",
|
|
859
|
+
"BuildingOffice",
|
|
860
|
+
"Crane",
|
|
861
|
+
"Dresser",
|
|
862
|
+
"Pipe",
|
|
863
|
+
"SealPercent",
|
|
864
|
+
"DiscoBall",
|
|
865
|
+
"StackPlus",
|
|
866
|
+
"PersonSimpleHike",
|
|
867
|
+
"Shovel",
|
|
868
|
+
"Meteor",
|
|
869
|
+
"Log",
|
|
870
|
+
"TriangleDashed",
|
|
871
|
+
"ChatTeardropSlash",
|
|
872
|
+
"LetterCircleH",
|
|
873
|
+
"BoxArrowUp",
|
|
874
|
+
"Visor",
|
|
875
|
+
"SpinnerBall",
|
|
876
|
+
"TextTSlash",
|
|
877
|
+
"BoxingGlove",
|
|
878
|
+
"LegoSmiley",
|
|
879
|
+
"LampPendant",
|
|
880
|
+
"LessThanOrEqual",
|
|
881
|
+
"CaretLineUp",
|
|
882
|
+
"QuestionMark",
|
|
883
|
+
"GlobeSimpleX",
|
|
884
|
+
"Tractor",
|
|
885
|
+
"Drone",
|
|
886
|
+
"AddressBookTabs",
|
|
887
|
+
"XLogo",
|
|
888
|
+
"JarLabel",
|
|
889
|
+
"GraphicsCard",
|
|
890
|
+
"Axe",
|
|
891
|
+
"Binary",
|
|
892
|
+
"PersonSimpleSki",
|
|
893
|
+
"PhonePause",
|
|
894
|
+
"LastfmLogo",
|
|
895
|
+
"LineVertical",
|
|
896
|
+
"Microscope",
|
|
897
|
+
"Cheers",
|
|
898
|
+
"Subway",
|
|
899
|
+
"TextSuperscript",
|
|
900
|
+
"CalendarMinus",
|
|
901
|
+
"PersonSimpleCircle",
|
|
902
|
+
"GlobeX",
|
|
903
|
+
"BowlingBall",
|
|
904
|
+
"VideoConference",
|
|
905
|
+
"CalendarHeart",
|
|
906
|
+
"Checkerboard",
|
|
907
|
+
"Avocado",
|
|
908
|
+
"SmileyMelting",
|
|
909
|
+
"ChatCircleSlash",
|
|
910
|
+
"WashingMachine",
|
|
911
|
+
"Cheese",
|
|
912
|
+
"CaretLineLeft",
|
|
913
|
+
"Invoice",
|
|
914
|
+
"FlagBannerFold",
|
|
915
|
+
"BowlSteam",
|
|
916
|
+
"UserCheck",
|
|
917
|
+
"CourtBasketball",
|
|
918
|
+
"MouseRightClick",
|
|
919
|
+
"GreaterThanOrEqual",
|
|
920
|
+
"SupersetProperOf",
|
|
921
|
+
"NetworkSlash",
|
|
922
|
+
"Pentagon",
|
|
923
|
+
"Screwdriver",
|
|
924
|
+
"StandardDefinition",
|
|
925
|
+
"SubtitlesSlash",
|
|
926
|
+
"VectorTwo",
|
|
927
|
+
"BookUser",
|
|
928
|
+
"Hockey",
|
|
929
|
+
"Building",
|
|
930
|
+
"HighDefinition",
|
|
931
|
+
"PipeWrench",
|
|
932
|
+
"BaseballHelmet",
|
|
933
|
+
"Orange",
|
|
934
|
+
"ReplitLogo",
|
|
935
|
+
"Cherries",
|
|
936
|
+
"PixLogo",
|
|
937
|
+
"FalloutShelter",
|
|
938
|
+
"MemberOf",
|
|
939
|
+
"CoffeeBean",
|
|
940
|
+
"FlipHorizontal",
|
|
941
|
+
"ListStar",
|
|
942
|
+
"NotSubsetOf",
|
|
943
|
+
"CaretLineRight"
|
|
674
944
|
];
|
|
675
945
|
const filteredIcon = computed(() => {
|
|
676
946
|
return iconNames.filter(
|
|
@@ -66,7 +66,7 @@ export default defineComponent({
|
|
|
66
66
|
type: String,
|
|
67
67
|
default: "en",
|
|
68
68
|
validator: (value) => {
|
|
69
|
-
return ["en", "fr"].includes(value);
|
|
69
|
+
return ["en", "fr", "es"].includes(value);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
},
|
|
@@ -76,25 +76,25 @@ export default defineComponent({
|
|
|
76
76
|
let finalText = "";
|
|
77
77
|
switch (props.actionType) {
|
|
78
78
|
case "cancel":
|
|
79
|
-
finalText = props.lang === "fr" ? "Annuler" : "Cancel";
|
|
79
|
+
finalText = props.lang === "fr" ? "Annuler" : props.lang === "es" ? "Anular" : "Cancel";
|
|
80
80
|
break;
|
|
81
81
|
case "scope":
|
|
82
|
-
finalText = props.lang === "fr" ? "Mon scope" : "My scope";
|
|
82
|
+
finalText = props.lang === "fr" ? "Mon scope" : props.lang === "es" ? "Mi scope" : "My scope";
|
|
83
83
|
break;
|
|
84
84
|
case "clear":
|
|
85
|
-
finalText = props.lang === "fr" ? "Tout supprimer" : "Clear All";
|
|
85
|
+
finalText = props.lang === "fr" ? "Tout supprimer" : props.lang === "es" ? "Borrar todo" : "Clear All";
|
|
86
86
|
break;
|
|
87
87
|
case "see-analysis":
|
|
88
|
-
finalText = props.lang === "fr" ? "Voir l'analyse" : "Go to analysis";
|
|
88
|
+
finalText = props.lang === "fr" ? "Voir l'analyse" : props.lang === "es" ? "Ver al an\xE1lisis" : "Go to analysis";
|
|
89
89
|
break;
|
|
90
90
|
case "save-analysis":
|
|
91
|
-
finalText = props.lang === "fr" ? "Sauvegarder et continuer " : "Save and continue";
|
|
91
|
+
finalText = props.lang === "fr" ? "Sauvegarder et continuer " : props.lang === "es" ? "Salvar y continuar" : "Save and continue";
|
|
92
92
|
break;
|
|
93
93
|
case "download":
|
|
94
|
-
finalText = props.lang === "fr" ? "Tout t\xE9l\xE9charger" : "Download all";
|
|
94
|
+
finalText = props.lang === "fr" ? "Tout t\xE9l\xE9charger" : props.lang === "es" ? "Ver al an\xE1lisis" : "Download all";
|
|
95
95
|
break;
|
|
96
96
|
case "close":
|
|
97
|
-
finalText = props.lang === "fr" ? "Fermer" : "Close";
|
|
97
|
+
finalText = props.lang === "fr" ? "Fermer" : props.lang === "es" ? "Cerrar" : "Close";
|
|
98
98
|
}
|
|
99
99
|
return finalText;
|
|
100
100
|
});
|
|
@@ -37,10 +37,16 @@
|
|
|
37
37
|
{{
|
|
38
38
|
!!select_placeholder
|
|
39
39
|
? `${select_placeholder} ${
|
|
40
|
-
lang === "fr"
|
|
40
|
+
lang === "fr"
|
|
41
|
+
? "sélection"
|
|
42
|
+
: lang === "es"
|
|
43
|
+
? "selección"
|
|
44
|
+
: "select"
|
|
41
45
|
}`
|
|
42
46
|
: lang === "fr"
|
|
43
47
|
? "Sélection"
|
|
48
|
+
: lang === "es"
|
|
49
|
+
? "Selección"
|
|
44
50
|
: "Select"
|
|
45
51
|
}}
|
|
46
52
|
</h1>
|
|
@@ -74,14 +80,26 @@
|
|
|
74
80
|
<div class="oip_select_complex_add_selection">
|
|
75
81
|
<div class="oip_select_complex_all_title">
|
|
76
82
|
<div class="oip_select_complex_all_tittle_left">
|
|
77
|
-
{{
|
|
83
|
+
{{
|
|
84
|
+
lang === "fr"
|
|
85
|
+
? "Disponible"
|
|
86
|
+
: lang === "es"
|
|
87
|
+
? "Disponible"
|
|
88
|
+
: "Available"
|
|
89
|
+
}}
|
|
78
90
|
</div>
|
|
79
91
|
<div
|
|
80
92
|
v-if="show_select_all"
|
|
81
93
|
class="oip_select_complex_all_tittle_right add"
|
|
82
94
|
@click="add_all_element"
|
|
83
95
|
>
|
|
84
|
-
{{
|
|
96
|
+
{{
|
|
97
|
+
lang === "fr"
|
|
98
|
+
? "Tout sélectionner"
|
|
99
|
+
: lang === "es"
|
|
100
|
+
? "Seleccionar todo"
|
|
101
|
+
: "Select all"
|
|
102
|
+
}}
|
|
85
103
|
</div>
|
|
86
104
|
<div
|
|
87
105
|
v-if="max_amount !== null"
|
|
@@ -90,6 +108,8 @@
|
|
|
90
108
|
{{
|
|
91
109
|
lng === "fr"
|
|
92
110
|
? `Maximum: ${max_amount} éléments`
|
|
111
|
+
: lang === "es"
|
|
112
|
+
? `Máximo: ${max_amount} artículos`
|
|
93
113
|
: `Maximum: ${max_amount} items`
|
|
94
114
|
}}
|
|
95
115
|
</div>
|
|
@@ -160,13 +180,25 @@
|
|
|
160
180
|
<div class="oip_select_complex_del_selection">
|
|
161
181
|
<div class="oip_select_complex_all_title">
|
|
162
182
|
<div class="oip_select_complex_all_tittle_left">
|
|
163
|
-
{{
|
|
183
|
+
{{
|
|
184
|
+
lang === "fr"
|
|
185
|
+
? "Sélectionné"
|
|
186
|
+
: lang === "es"
|
|
187
|
+
? "Selección"
|
|
188
|
+
: "Selected"
|
|
189
|
+
}}
|
|
164
190
|
</div>
|
|
165
191
|
<div
|
|
166
192
|
class="oip_select_complex_all_tittle_right del"
|
|
167
193
|
@click="del_all_element"
|
|
168
194
|
>
|
|
169
|
-
{{
|
|
195
|
+
{{
|
|
196
|
+
lang === "fr"
|
|
197
|
+
? "Tout effacer"
|
|
198
|
+
: lang === "es"
|
|
199
|
+
? "Borrar todo"
|
|
200
|
+
: "Clear all"
|
|
201
|
+
}}
|
|
170
202
|
</div>
|
|
171
203
|
</div>
|
|
172
204
|
<div class="oip_search_container">
|
|
@@ -207,11 +239,11 @@
|
|
|
207
239
|
</div>
|
|
208
240
|
</div>
|
|
209
241
|
<div v-if="need_apply" class="oip_select_complex_footer">
|
|
210
|
-
<arg-btn @click="cancel_function()" btnStyle="secondary"
|
|
211
|
-
|
|
212
|
-
>
|
|
242
|
+
<arg-btn @click="cancel_function()" btnStyle="secondary">{{
|
|
243
|
+
lang === "fr" ? "Annuler" : lang === "es" ? "Anular" : "Cancel"
|
|
244
|
+
}}</arg-btn>
|
|
213
245
|
<arg-btn @click="apply_function()" btnStyle="primary">{{
|
|
214
|
-
lang === "fr" ? "Apply" : "Appliquer"
|
|
246
|
+
lang === "fr" ? "Apply" : lang === "es" ? "Aplicar" : "Appliquer"
|
|
215
247
|
}}</arg-btn>
|
|
216
248
|
</div>
|
|
217
249
|
</div>
|
|
@@ -265,7 +297,7 @@ export default defineComponent({
|
|
|
265
297
|
type: String,
|
|
266
298
|
default: "en",
|
|
267
299
|
validator: (value) => {
|
|
268
|
-
return ["en", "fr"].includes(value);
|
|
300
|
+
return ["en", "fr", "es"].includes(value);
|
|
269
301
|
}
|
|
270
302
|
},
|
|
271
303
|
loader_text: { type: Array, default: null },
|
|
@@ -347,37 +379,37 @@ export default defineComponent({
|
|
|
347
379
|
);
|
|
348
380
|
const getEmptyMsg = computed(() => {
|
|
349
381
|
if (props.empty_msg === null) {
|
|
350
|
-
return props.lang === "fr" ? "Aucune S\xE9lection" : "No Selection";
|
|
382
|
+
return props.lang === "fr" ? "Aucune S\xE9lection" : props.lang === "es" ? "Ninguna selecci\xF3n" : "No Selection";
|
|
351
383
|
} else
|
|
352
384
|
return props.empty_msg;
|
|
353
385
|
});
|
|
354
386
|
const getLoaderText = computed(() => {
|
|
355
387
|
if (props.loader_text === null) {
|
|
356
|
-
return props.lang === "fr" ? ["Chargement...", "Veuillez patienter"] : ["Loading...", "Please wait"];
|
|
388
|
+
return props.lang === "fr" ? ["Chargement...", "Veuillez patienter"] : props.lang === "es" ? ["Cargando...", "Espere, por favor"] : ["Loading...", "Please wait"];
|
|
357
389
|
} else
|
|
358
390
|
return props.loader_text;
|
|
359
391
|
});
|
|
360
392
|
const getPlaceholderAdd = computed(() => {
|
|
361
393
|
if (props.search_placeholder_add === null) {
|
|
362
|
-
return props.lang === "fr" ? "Rechercher une option..." : "Search options...";
|
|
394
|
+
return props.lang === "fr" ? "Rechercher une option..." : props.lang === "es" ? "Buscar una opci\xF3n..." : "Search options...";
|
|
363
395
|
} else
|
|
364
396
|
return props.search_placeholder_add;
|
|
365
397
|
});
|
|
366
398
|
const getPlaceholderDel = computed(() => {
|
|
367
399
|
if (props.search_placeholder_del === null) {
|
|
368
|
-
return props.lang === "fr" ? "Rechercher
|
|
400
|
+
return props.lang === "fr" ? "Rechercher parmi les options selection\xE9es..." : props.lang === "es" ? "Buscar opciones seleccionadas..." : "Search selected options...";
|
|
369
401
|
} else
|
|
370
402
|
return props.search_placeholder_del;
|
|
371
403
|
});
|
|
372
404
|
const getMaxSelectMsg = computed(() => {
|
|
373
405
|
if (props.reach_max_msg === null) {
|
|
374
|
-
return props.lang === "fr" ? "Vous avez atteint le maximum d'\xE9l\xE9ments que vous pouvez s\xE9lectionner
|
|
406
|
+
return props.lang === "fr" ? "Vous avez atteint le maximum d'\xE9l\xE9ments que vous pouvez s\xE9lectionner" : props.lang === "es" ? "Ha alcanzado el n\xFAmero m\xE1ximo de elementos que puede seleccionar" : "You've reached the maximum amount of items you can select";
|
|
375
407
|
} else
|
|
376
408
|
return props.reach_max_msg;
|
|
377
409
|
});
|
|
378
410
|
const getEmptyContentMsg = computed(() => {
|
|
379
411
|
if (props.empty_content_msg === null) {
|
|
380
|
-
return props.lang === "fr" ? "Aucun contenu n'a \xE9t\xE9 trouv\xE9" : "No content was found";
|
|
412
|
+
return props.lang === "fr" ? "Aucun contenu n'a \xE9t\xE9 trouv\xE9" : props.lang === "es" ? "Ning\xFAn contenido encontrado" : "No content was found";
|
|
381
413
|
} else
|
|
382
414
|
return props.empty_content_msg;
|
|
383
415
|
});
|
|
@@ -28,40 +28,40 @@ export default defineComponent({
|
|
|
28
28
|
setup(props) {
|
|
29
29
|
function monthToString(month) {
|
|
30
30
|
if (month === 0) {
|
|
31
|
-
return props.lang === "fr" ? props.compact ? "Jan." : "Janvier" : props.compact ? "Jan" : "January";
|
|
31
|
+
return props.lang === "fr" ? props.compact ? "Jan." : "Janvier" : props.lang === "es" ? props.compact ? "Ene." : "Enero" : props.compact ? "Jan" : "January";
|
|
32
32
|
}
|
|
33
33
|
if (month === 1) {
|
|
34
|
-
return props.lang === "fr" ? props.compact ? "F\xE9v." : "F\xE9vrier" : props.compact ? "Feb." : "February";
|
|
34
|
+
return props.lang === "fr" ? props.compact ? "F\xE9v." : "F\xE9vrier" : props.lang === "es" ? props.compact ? "Feb." : "Febrero" : props.compact ? "Feb." : "February";
|
|
35
35
|
}
|
|
36
36
|
if (month === 2) {
|
|
37
|
-
return props.lang === "fr" ? props.compact ? "Mar." : "Mars" : props.compact ? "Mar." : "March";
|
|
37
|
+
return props.lang === "fr" ? props.compact ? "Mar." : "Mars" : props.lang === "es" ? props.compact ? "Mar." : "Marzo" : props.compact ? "Mar." : "March";
|
|
38
38
|
}
|
|
39
39
|
if (month === 3) {
|
|
40
|
-
return props.lang === "fr" ? props.compact ? "Avr." : "Avril" : props.compact ? "Apr." : "April";
|
|
40
|
+
return props.lang === "fr" ? props.compact ? "Avr." : "Avril" : props.lang === "es" ? props.compact ? "Abr." : "Abril" : props.compact ? "Apr." : "April";
|
|
41
41
|
}
|
|
42
42
|
if (month === 4) {
|
|
43
|
-
return props.lang === "fr" ? "Mai" : "May";
|
|
43
|
+
return props.lang === "fr" ? "Mai" : props.lang === "es" ? props.compact ? "May." : "Mayo" : "May";
|
|
44
44
|
}
|
|
45
45
|
if (month === 5) {
|
|
46
|
-
return props.lang === "fr" ? "Juin" : props.compact ? "Jun." : "June";
|
|
46
|
+
return props.lang === "fr" ? "Juin" : props.compact ? "Jun." : props.lang === "es" ? props.compact ? "Jun." : "Junio" : "June";
|
|
47
47
|
}
|
|
48
48
|
if (month === 6) {
|
|
49
|
-
return props.lang === "fr" ? props.compact ? "Juil." : "Juillet" : props.compact ? "Jul." : "July";
|
|
49
|
+
return props.lang === "fr" ? props.compact ? "Juil." : "Juillet" : props.lang === "es" ? props.compact ? "Jul." : "Julio" : props.compact ? "Jul." : "July";
|
|
50
50
|
}
|
|
51
51
|
if (month === 7) {
|
|
52
|
-
return props.lang === "fr" ? props.compact ? "Ao\xFB." : "Ao\xFBt" : props.compact ? "Aug." : "August";
|
|
52
|
+
return props.lang === "fr" ? props.compact ? "Ao\xFB." : "Ao\xFBt" : props.lang === "es" ? props.compact ? "Ago." : "Agosto" : props.compact ? "Aug." : "August";
|
|
53
53
|
}
|
|
54
54
|
if (month === 8) {
|
|
55
|
-
return props.lang === "fr" ? props.compact ? "Sep." : "Septembre" : props.compact ? "Sep." : "September";
|
|
55
|
+
return props.lang === "fr" ? props.compact ? "Sep." : "Septembre" : props.lang === "es" ? props.compact ? "Sep." : "Septiembre" : props.compact ? "Sep." : "September";
|
|
56
56
|
}
|
|
57
57
|
if (month === 9) {
|
|
58
|
-
return props.lang === "fr" ? props.compact ? "Oct." : "Octobre" : props.compact ? "Oct." : "October";
|
|
58
|
+
return props.lang === "fr" ? props.compact ? "Oct." : "Octobre" : props.lang === "es" ? props.compact ? "Oct." : "Octubre" : props.compact ? "Oct." : "October";
|
|
59
59
|
}
|
|
60
60
|
if (month === 10) {
|
|
61
|
-
return props.lang === "fr" ? props.compact ? "Nov." : "Novembre" : props.compact ? "Nov." : "November";
|
|
61
|
+
return props.lang === "fr" ? props.compact ? "Nov." : "Novembre" : props.lang === "es" ? props.compact ? "Nov." : "Noviembre" : props.compact ? "Nov." : "November";
|
|
62
62
|
}
|
|
63
63
|
if (month === 11) {
|
|
64
|
-
return props.lang === "fr" ? props.compact ? "D\xE9c." : "D\xE9cembre" : props.compact ? "Dec." : "December";
|
|
64
|
+
return props.lang === "fr" ? props.compact ? "D\xE9c." : "D\xE9cembre" : props.lang === "es" ? props.compact ? "Dic." : "Diciembre" : props.compact ? "Dec." : "December";
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
function formatDate(str) {
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
}, {
|
|
16
16
|
formatDate: (str: string | number) => string;
|
|
17
|
-
monthToString: (month: number) => "Jan." | "Janvier" | "Jan" | "January" | "Fév." | "Février" | "Feb." | "February" | "Mar." | "Mars" | "March" | "Avr." | "Avril" | "Apr." | "April" | "Mai" | "May" | "Juin" | "Jun." | "June" | "Juil." | "Juillet" | "Jul." | "July" | "Aoû." | "Août" | "Aug." | "August" | "Sep." | "Septembre" | "September" | "Oct." | "Octobre" | "October" | "Nov." | "Novembre" | "November" | "Déc." | "Décembre" | "Dec." | "December" | undefined;
|
|
17
|
+
monthToString: (month: number) => "Jan." | "Janvier" | "Ene." | "Enero" | "Jan" | "January" | "Fév." | "Février" | "Feb." | "Febrero" | "February" | "Mar." | "Mars" | "Marzo" | "March" | "Avr." | "Avril" | "Abr." | "Abril" | "Apr." | "April" | "Mai" | "May." | "Mayo" | "May" | "Juin" | "Jun." | "Junio" | "June" | "Juil." | "Juillet" | "Jul." | "Julio" | "July" | "Aoû." | "Août" | "Ago." | "Agosto" | "Aug." | "August" | "Sep." | "Septembre" | "Septiembre" | "September" | "Oct." | "Octobre" | "Octubre" | "October" | "Nov." | "Novembre" | "Noviembre" | "November" | "Déc." | "Décembre" | "Dic." | "Diciembre" | "Dec." | "December" | undefined;
|
|
18
18
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
rawDate: {
|
|
20
20
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -141,7 +141,7 @@ export default defineComponent({
|
|
|
141
141
|
type: String,
|
|
142
142
|
default: "en",
|
|
143
143
|
validator: (value) => {
|
|
144
|
-
return ["en", "fr"].includes(value);
|
|
144
|
+
return ["en", "fr", "es"].includes(value);
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
loader_text: { type: Array, default: null },
|
|
@@ -189,25 +189,25 @@ export default defineComponent({
|
|
|
189
189
|
);
|
|
190
190
|
const getEmptyMsg = computed(() => {
|
|
191
191
|
if (props.empty_msg === null) {
|
|
192
|
-
return props.lang === "fr" ? "Aucune S\xE9lection" : "No Selection";
|
|
192
|
+
return props.lang === "fr" ? "Aucune S\xE9lection" : props.lang === "es" ? "Ninguna selecci\xF3n" : "No Selection";
|
|
193
193
|
} else
|
|
194
194
|
return props.empty_msg;
|
|
195
195
|
});
|
|
196
196
|
const getLoaderText = computed(() => {
|
|
197
197
|
if (props.loader_text === null) {
|
|
198
|
-
return props.lang === "fr" ? ["Chargement...", "Veuillez patienter"] : ["Loading...", "Please wait"];
|
|
198
|
+
return props.lang === "fr" ? ["Chargement...", "Veuillez patienter"] : props.lang === "es" ? ["Cargando...", "Espera, por favor"] : ["Loading...", "Please wait"];
|
|
199
199
|
} else
|
|
200
200
|
return props.loader_text;
|
|
201
201
|
});
|
|
202
202
|
const getPlaceholder = computed(() => {
|
|
203
203
|
if (props.filter_placeholder === null) {
|
|
204
|
-
return props.lang === "fr" ? "Rechercher une option..." : "Search options...";
|
|
204
|
+
return props.lang === "fr" ? "Rechercher une option..." : props.lang === "es" ? "Buscar opciones" : "Search options...";
|
|
205
205
|
} else
|
|
206
206
|
return props.filter_placeholder;
|
|
207
207
|
});
|
|
208
208
|
const getEmptyContentMsg = computed(() => {
|
|
209
209
|
if (props.empty_content_msg === null) {
|
|
210
|
-
return props.lang === "fr" ? "Aucun contenu n'a \xE9t\xE9 trouv\xE9" : "No content was found";
|
|
210
|
+
return props.lang === "fr" ? "Aucun contenu n'a \xE9t\xE9 trouv\xE9" : props.lang === "es" ? "Ning\xFAn contenido encontrado" : "No content was found";
|
|
211
211
|
} else
|
|
212
212
|
return props.empty_content_msg;
|
|
213
213
|
});
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
>
|
|
7
7
|
<div class="oip_row v-center space-between full-width">
|
|
8
8
|
<div class="oip_row v-center gap-8">
|
|
9
|
-
<p class="filters_title">
|
|
9
|
+
<p class="filters_title">
|
|
10
|
+
{{
|
|
11
|
+
lang === "fr" ? "Filtres" : lang === "es" ? "Filtros" : "Filters"
|
|
12
|
+
}}
|
|
13
|
+
</p>
|
|
10
14
|
<div class="filters_amount">{{ filters_amount }}</div>
|
|
11
15
|
<p
|
|
12
16
|
v-if="haveSaveScope && filtersOpen"
|
|
@@ -18,15 +22,19 @@
|
|
|
18
22
|
? saveScopeMsg
|
|
19
23
|
: lang === "en"
|
|
20
24
|
? "Save scope"
|
|
25
|
+
: lang === "es"
|
|
26
|
+
? "Salvar un scope"
|
|
21
27
|
: "Sauvegarder un scope"
|
|
22
28
|
}}
|
|
23
29
|
</p>
|
|
24
|
-
<p class="filters_clear" @click="clear()">
|
|
30
|
+
<p v-if="haveClear" class="filters_clear" @click="clear()">
|
|
25
31
|
{{
|
|
26
32
|
clearMsg !== null
|
|
27
33
|
? clearMsg
|
|
28
34
|
: lang === "en"
|
|
29
35
|
? "Clear all"
|
|
36
|
+
: lang === "es"
|
|
37
|
+
? "Borrar todo"
|
|
30
38
|
: "Tout effacer"
|
|
31
39
|
}}
|
|
32
40
|
</p>
|
|
@@ -44,9 +52,13 @@
|
|
|
44
52
|
filtersOpen
|
|
45
53
|
? lang === "en"
|
|
46
54
|
? "Hide"
|
|
55
|
+
: lang === "es"
|
|
56
|
+
? "Ocultar"
|
|
47
57
|
: "Masquer"
|
|
48
58
|
: lang === "en"
|
|
49
59
|
? "Show"
|
|
60
|
+
: lang === "es"
|
|
61
|
+
? "Mostrar"
|
|
50
62
|
: "Afficher"
|
|
51
63
|
}}</span>
|
|
52
64
|
</div>
|
|
@@ -78,13 +90,14 @@ export default defineComponent({
|
|
|
78
90
|
props: {
|
|
79
91
|
filters_amount: { type: Number, default: 0 },
|
|
80
92
|
haveSaveScope: { type: Boolean, default: false },
|
|
93
|
+
haveClear: { type: Boolean, default: true },
|
|
81
94
|
clearMsg: { type: String, default: null },
|
|
82
95
|
saveScopeMsg: { type: String, default: null },
|
|
83
96
|
lang: {
|
|
84
97
|
type: String,
|
|
85
98
|
default: "en",
|
|
86
99
|
validator: (value) => {
|
|
87
|
-
return ["en", "fr"].includes(value);
|
|
100
|
+
return ["en", "fr", "es"].includes(value);
|
|
88
101
|
}
|
|
89
102
|
}
|
|
90
103
|
},
|