@tekkare/auriga 0.1.10 → 0.1.12
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/allFlags.vue +245 -0
- package/dist/runtime/components/allFlags.vue.d.ts +8 -0
- package/dist/runtime/components/argActions.vue +11 -6
- package/dist/runtime/components/argActions.vue.d.ts +12 -3
- package/dist/runtime/components/argChart.vue +109 -167
- package/dist/runtime/components/argChart.vue.d.ts +1 -1
- package/dist/runtime/components/argChartTableCard.vue +12 -2
- package/dist/runtime/components/argChartTableCard.vue.d.ts +22 -1
- package/dist/runtime/components/argComplexSelect.vue +1 -1
- package/dist/runtime/components/argDate.vue +77 -0
- package/dist/runtime/components/argDate.vue.d.ts +34 -0
- package/dist/runtime/components/argErrors.vue +168 -0
- package/dist/runtime/components/argErrors.vue.d.ts +56 -0
- package/dist/runtime/components/argFilterCard.vue +1 -0
- package/dist/runtime/components/argFlag.vue +447 -217
- package/dist/runtime/components/argFlag.vue.d.ts +4 -4
- package/dist/runtime/components/argHybridChart.vue +277 -0
- package/dist/runtime/components/argHybridChart.vue.d.ts +48 -0
- package/dist/runtime/components/argMainLayout.vue +1 -0
- package/dist/runtime/components/argMenuLink.vue +43 -15
- package/dist/runtime/components/argMenuLink.vue.d.ts +15 -4
- package/dist/runtime/components/argNumberInput.vue +223 -0
- package/dist/runtime/components/argNumberInput.vue.d.ts +57 -0
- package/dist/runtime/components/argSearchInput.vue +1 -2
- package/dist/runtime/components/argSearchInput.vue.d.ts +0 -2
- package/dist/runtime/components/argSimpleChart.vue +123 -0
- package/dist/runtime/components/argSimpleChart.vue.d.ts +32 -0
- package/dist/runtime/components/argSimpleInput.vue +99 -0
- package/dist/runtime/components/argSimpleInput.vue.d.ts +48 -0
- package/dist/runtime/components/argSmallAreaChart.vue +138 -0
- package/dist/runtime/components/argSmallAreaChart.vue.d.ts +122 -0
- package/dist/runtime/components/argSourceContainer.vue +34 -0
- package/dist/runtime/components/argSourceContainer.vue.d.ts +2 -0
- package/dist/runtime/components/argStyle.vue +8 -0
- package/dist/runtime/components/argTable.vue +45 -8
- package/dist/runtime/components/argTable.vue.d.ts +14 -2
- package/dist/runtime/components/argTags.vue +6 -4
- package/dist/runtime/components/argTrendIndicator.vue +82 -0
- package/dist/runtime/components/argTrendIndicator.vue.d.ts +23 -0
- package/dist/runtime/components/argTutoModal.vue +186 -0
- package/dist/runtime/components/argTutoModal.vue.d.ts +41 -0
- package/package.json +2 -1
package/dist/module.json
CHANGED
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="display: flex; flex-wrap: wrap; gap: 50px">
|
|
3
|
+
<div v-for="(c, index) in countries" :key="index">
|
|
4
|
+
<center>
|
|
5
|
+
<arg-flag :iso="c.iso" height="40" />
|
|
6
|
+
<p><strong>ISO</strong> : {{ c.iso }}</p>
|
|
7
|
+
<p style="font-size: 10px"><strong>Slug</strong> : {{ c.slug }}</p>
|
|
8
|
+
</center>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<script>
|
|
13
|
+
import {
|
|
14
|
+
defineComponent
|
|
15
|
+
} from "vue";
|
|
16
|
+
import argFlag from "./argFlag.vue";
|
|
17
|
+
export default defineComponent({
|
|
18
|
+
name: "allFlags",
|
|
19
|
+
components: { argFlag },
|
|
20
|
+
setup() {
|
|
21
|
+
const countries = [
|
|
22
|
+
{ iso: "AL", slug: "albania", name: "Albania" },
|
|
23
|
+
{ iso: "AR", slug: "argentina", name: "Argentina" },
|
|
24
|
+
{ iso: "AU", slug: "australia", name: "Australia" },
|
|
25
|
+
{ iso: "AT", slug: "austria", name: "Austria" },
|
|
26
|
+
{ iso: "BH", slug: "bahrain", name: "Bahrain" },
|
|
27
|
+
{ iso: "BD", slug: "bangladesh", name: "Bangladesh" },
|
|
28
|
+
{ iso: "BY", slug: "belarus", name: "Belarus" },
|
|
29
|
+
{ iso: "BE", slug: "belgium", name: "Belgium" },
|
|
30
|
+
{ iso: "BJ", slug: "benin", name: "Benin" },
|
|
31
|
+
{ iso: "BO", slug: "bolivia", name: "Bolivia" },
|
|
32
|
+
{
|
|
33
|
+
iso: "BA",
|
|
34
|
+
slug: "bosnia-and-herzegovina",
|
|
35
|
+
name: "Bosnia and Herzegovina"
|
|
36
|
+
},
|
|
37
|
+
{ iso: "BW", slug: "botswana", name: "Botswana" },
|
|
38
|
+
{ iso: "BR", slug: "brazil", name: "Brazil" },
|
|
39
|
+
{ iso: "BG", slug: "bulgaria", name: "Bulgaria" },
|
|
40
|
+
{ iso: "BF", slug: "burkina-faso", name: "Burkina Faso" },
|
|
41
|
+
{ iso: "CM", slug: "cameroon", name: "Cameroon" },
|
|
42
|
+
{ iso: "CA", slug: "canada", name: "Canada" },
|
|
43
|
+
{ iso: "CL", slug: "chile", name: "Chile" },
|
|
44
|
+
{ iso: "CN", slug: "china", name: "China" },
|
|
45
|
+
{ iso: "CO", slug: "colombia", name: "Colombia" },
|
|
46
|
+
{ iso: "CR", slug: "costa-rica", name: "Costa Rica" },
|
|
47
|
+
{ iso: "CI", slug: "ivory-coast", name: "Ivory Coast" },
|
|
48
|
+
{ iso: "HR", slug: "croatia", name: "Croatia" },
|
|
49
|
+
{ iso: "CZ", slug: "czech-republic", name: "Czech Republic" },
|
|
50
|
+
{ iso: "DK", slug: "denmark", name: "Denmark" },
|
|
51
|
+
{ iso: "DO", slug: "dominican-republic", name: "Dominican Republic" },
|
|
52
|
+
{ iso: "CD", slug: "democratic-republic-of-congo", name: "DR Congo" },
|
|
53
|
+
{ iso: "EC", slug: "ecuador", name: "Ecuador" },
|
|
54
|
+
{ iso: "EG", slug: "egypt", name: "Egypt" },
|
|
55
|
+
{ iso: "SV", slug: "el-savador", name: "El Salvador" },
|
|
56
|
+
{ iso: "EE", slug: "estonia", name: "Estonia" },
|
|
57
|
+
{ iso: "ET", slug: "ethiopia", name: "Ethiopia" },
|
|
58
|
+
{ iso: "FI", slug: "finland", name: "Finland" },
|
|
59
|
+
{ iso: "FR", slug: "france", name: "France" },
|
|
60
|
+
{ iso: "GE", slug: "georgia", name: "Georgia" },
|
|
61
|
+
{ iso: "DE", slug: "germany", name: "Germany" },
|
|
62
|
+
{ iso: "GH", slug: "ghana", name: "Ghana" },
|
|
63
|
+
{ iso: "GR", slug: "greece", name: "Greece" },
|
|
64
|
+
{ iso: "GT", slug: "guatemala", name: "Guatemala" },
|
|
65
|
+
{ iso: "HT", slug: "haiti", name: "Haiti" },
|
|
66
|
+
{ iso: "HU", slug: "hungary", name: "Hungary" },
|
|
67
|
+
{ iso: "IS", slug: "iceland", name: "Iceland" },
|
|
68
|
+
{ iso: "IN", slug: "india", name: "India" },
|
|
69
|
+
{ iso: "ID", slug: "indonesia", name: "Indonesia" },
|
|
70
|
+
{ iso: "IE", slug: "ireland", name: "Ireland" },
|
|
71
|
+
{ iso: "IL", slug: "israel", name: "Israel" },
|
|
72
|
+
{ iso: "IT", slug: "italy", name: "Italy" },
|
|
73
|
+
{ iso: "JM", slug: "jamaica", name: "Jamaica" },
|
|
74
|
+
{ iso: "JP", slug: "japan", name: "Japan" },
|
|
75
|
+
{ iso: "JO", slug: "jordan", name: "Jordan" },
|
|
76
|
+
{ iso: "KZ", slug: "kazakhstan", name: "Kazakhstan" },
|
|
77
|
+
{ iso: "KE", slug: "kenya", name: "Kenya" },
|
|
78
|
+
{ iso: "KR", slug: "south-korea", name: "Korea" },
|
|
79
|
+
{ iso: "KG", slug: "kyrgyzstan", name: "Kyrgyzstan" },
|
|
80
|
+
{ iso: "LV", slug: "latvia", name: "Latvia" },
|
|
81
|
+
{ iso: "LB", slug: "lebanon", name: "Lebanon" },
|
|
82
|
+
{ iso: "MK", slug: "republic-of-macedonia", name: "Macedonia" },
|
|
83
|
+
{ iso: "MW", slug: "malawi", name: "Malawi" },
|
|
84
|
+
{ iso: "MY", slug: "malaysia", name: "Malaysia" },
|
|
85
|
+
{ iso: "ML", slug: "mali", name: "Mali" },
|
|
86
|
+
{ iso: "MU", slug: "mauritius", name: "Mauritius" },
|
|
87
|
+
{ iso: "MX", slug: "mexico", name: "Mexico" },
|
|
88
|
+
{ iso: "MD", slug: "moldova", name: "Moldova" },
|
|
89
|
+
{ iso: "ME", slug: "montenegro", name: "Montenegro" },
|
|
90
|
+
{ iso: "MA", slug: "morocco", name: "Morocco" },
|
|
91
|
+
{ iso: "MZ", slug: "mozambique", name: "Mozambique" },
|
|
92
|
+
{ iso: "MM", slug: "myanmar", name: "Myanmar" },
|
|
93
|
+
{ iso: "NL", slug: "netherlands", name: "Netherlands" },
|
|
94
|
+
{ iso: "NZ", slug: "new-zealand", name: "New Zealand" },
|
|
95
|
+
{ iso: "NG", slug: "nigeria", name: "Nigeria" },
|
|
96
|
+
{ iso: "NO", slug: "norway", name: "Norway" },
|
|
97
|
+
{ iso: "PK", slug: "pakistan", name: "Pakistan" },
|
|
98
|
+
{ iso: "PS", slug: "palestine", name: "Palestine" },
|
|
99
|
+
{ iso: "PA", slug: "panama", name: "Panama" },
|
|
100
|
+
{ iso: "PY", slug: "paraguay", name: "Paraguay" },
|
|
101
|
+
{ iso: "PE", slug: "peru", name: "Peru" },
|
|
102
|
+
{ iso: "PH", slug: "philippines", name: "Philippines" },
|
|
103
|
+
{ iso: "PL", slug: "republic-of-poland", name: "Poland" },
|
|
104
|
+
{ iso: "PT", slug: "portugal", name: "Portugal" },
|
|
105
|
+
{ iso: "QA", slug: "qatar", name: "Qatar" },
|
|
106
|
+
{ iso: "RU", slug: "russia", name: "Russia" },
|
|
107
|
+
{ iso: "RW", slug: "rwanda", name: "Rwanda" },
|
|
108
|
+
{ iso: "LC", slug: "st-lucia", name: "Saint Lucia" },
|
|
109
|
+
{ iso: "SA", slug: "saudi-arabia", name: "Saudi Arabia" },
|
|
110
|
+
{ iso: "SN", slug: "senegal", name: "Senegal" },
|
|
111
|
+
{ iso: "RS", slug: "serbia", name: "Serbia" },
|
|
112
|
+
{ iso: "SL", slug: "sierra-leone", name: "Sierra Leone" },
|
|
113
|
+
{ iso: "SG", slug: "singapore", name: "Singapore" },
|
|
114
|
+
{ iso: "SK", slug: "slovakia", name: "Slovakia" },
|
|
115
|
+
{ iso: "ZA", slug: "south-africa", name: "South Africa" },
|
|
116
|
+
{ iso: "ES", slug: "spain", name: "Spain" },
|
|
117
|
+
{ iso: "SZ", slug: "swaziland", name: "Swaziland" },
|
|
118
|
+
{ iso: "SE", slug: "sweden", name: "Sweden" },
|
|
119
|
+
{ iso: "CH", slug: "switzerland", name: "Switzerland" },
|
|
120
|
+
{ iso: "TJ", slug: "tajikistan", name: "Tajikistan" },
|
|
121
|
+
{ iso: "TZ", slug: "tanzania", name: "Tanzania" },
|
|
122
|
+
{ iso: "TH", slug: "thailand", name: "Thailand" },
|
|
123
|
+
{ iso: "TG", slug: "togo", name: "Togo" },
|
|
124
|
+
{ iso: "TT", slug: "trinidad-and-tobago", name: "Trinidad and Tobago" },
|
|
125
|
+
{ iso: "TN", slug: "tunisia", name: "Tunisia" },
|
|
126
|
+
{ iso: "TR", slug: "turkey", name: "Turkey" },
|
|
127
|
+
{ iso: "UG", slug: "uganda", name: "Uganda" },
|
|
128
|
+
{ iso: "UA", slug: "ukraine", name: "Ukraine" },
|
|
129
|
+
{ iso: "AE", slug: "united-arab-emirates", name: "United Arab Emirates" },
|
|
130
|
+
{ iso: "GB", slug: "uk", name: "UK" },
|
|
131
|
+
{ iso: "US", slug: "usa", name: "USA" },
|
|
132
|
+
{ iso: "UY", slug: "uruguay", name: "Uruguay" },
|
|
133
|
+
{ iso: "VE", slug: "venezuela", name: "Venezuela" },
|
|
134
|
+
{ iso: "VN", slug: "vietnam", name: "Vietnam" },
|
|
135
|
+
{ iso: "YE", slug: "yemen", name: "Yemen" },
|
|
136
|
+
{ iso: "ZM", slug: "zambia", name: "Zambia" },
|
|
137
|
+
{ iso: "ZW", slug: "zimbabwe", name: "Zimbabwe" },
|
|
138
|
+
{ iso: "GB-ENG", slug: "england", name: "England" },
|
|
139
|
+
{ iso: "GB-NIR", slug: "northern-ireland", name: "Northern Ireland" },
|
|
140
|
+
{ iso: "GB-SCT", slug: "scotland", name: "Scotland" },
|
|
141
|
+
{ iso: "AD", slug: "andorra", name: "Andorra" },
|
|
142
|
+
{ iso: "AF", slug: "afghanistan", name: "Afghanistan" },
|
|
143
|
+
{ iso: "AG", slug: "antigua-and-barbuda", name: "Antigua and Barbuda" },
|
|
144
|
+
{ iso: "AM", slug: "armenia", name: "Armenia" },
|
|
145
|
+
{ iso: "AN", slug: "netherlands-antilles", name: "Netherlands Antilles" },
|
|
146
|
+
{ iso: "AO", slug: "angola", name: "Angola" },
|
|
147
|
+
{ iso: "AW", slug: "aruba", name: "Aruba" },
|
|
148
|
+
{ iso: "AZ", slug: "azerbaijan", name: "Azerbaijan" },
|
|
149
|
+
{ iso: "BB", slug: "barbados", name: "Barbados" },
|
|
150
|
+
{ iso: "BI", slug: "burundi", name: "Burundi" },
|
|
151
|
+
{ iso: "BN", slug: "brunei", name: "Brunei" },
|
|
152
|
+
{ iso: "BS", slug: "bahamas", name: "Bahamas" },
|
|
153
|
+
{ iso: "BT", slug: "bhutan", name: "Bhutan" },
|
|
154
|
+
{ iso: "BV", slug: "bouvet-island", name: "Bouvet Island" },
|
|
155
|
+
{ iso: "BZ", slug: "belize", name: "Belize" },
|
|
156
|
+
{
|
|
157
|
+
iso: "CF",
|
|
158
|
+
slug: "central-african-republic",
|
|
159
|
+
name: "Central African Republic"
|
|
160
|
+
},
|
|
161
|
+
{ iso: "CG", slug: "congo", name: "Congo" },
|
|
162
|
+
{ iso: "CU", slug: "cuba", name: "Cuba" },
|
|
163
|
+
{ iso: "CV", slug: "cabo-verde", name: "Cabo Verde" },
|
|
164
|
+
{ iso: "CW", slug: "curacao", name: "Cura\xE7ao" },
|
|
165
|
+
{ iso: "CY", slug: "cyprus", name: "Cyprus" },
|
|
166
|
+
{ iso: "DJ", slug: "djibouti", name: "Djibouti" },
|
|
167
|
+
{ iso: "DM", slug: "dominica", name: "Dominica" },
|
|
168
|
+
{ iso: "ER", slug: "eritrea", name: "Eritrea" },
|
|
169
|
+
{ iso: "FJ", slug: "fiji", name: "Fiji" },
|
|
170
|
+
{ iso: "FM", slug: "micronesia", name: "Micronesia" },
|
|
171
|
+
{ iso: "GA", slug: "gabon", name: "Gabon" },
|
|
172
|
+
{ iso: "GB-WLS", slug: "wales", name: "Wales" },
|
|
173
|
+
{ iso: "GD", slug: "grenada", name: "Grenada" },
|
|
174
|
+
{ iso: "GM", slug: "gambia", name: "Gambia" },
|
|
175
|
+
{ iso: "GN", slug: "guinea", name: "Guinea" },
|
|
176
|
+
{ iso: "GQ", slug: "equatorial-guinea", name: "Equatorial Guinea" },
|
|
177
|
+
{ iso: "GW", slug: "guinea-bissau", name: "Guinea-Bissau" },
|
|
178
|
+
{ iso: "GY", slug: "guyana", name: "Guyana" },
|
|
179
|
+
{ iso: "HK", slug: "hong-kong", name: "Hong Kong" },
|
|
180
|
+
{ iso: "HN", slug: "honduras", name: "Honduras" },
|
|
181
|
+
{ iso: "IQ", slug: "iraq", name: "Iraq" },
|
|
182
|
+
{ iso: "IR", slug: "iran", name: "Iran" },
|
|
183
|
+
{ iso: "KH", slug: "cambodia", name: "Cambodia" },
|
|
184
|
+
{ iso: "KI", slug: "kiribati", name: "Kiribati" },
|
|
185
|
+
{ iso: "KM", slug: "comoros", name: "Comoros" },
|
|
186
|
+
{ iso: "KP", slug: "north-korea", name: "North Korea" },
|
|
187
|
+
{ iso: "KW", slug: "kuwait", name: "Kuwait" },
|
|
188
|
+
{ iso: "LA", slug: "lao", name: "Lao" },
|
|
189
|
+
{ iso: "LI", slug: "liechtenstein", name: "Liechtenstein" },
|
|
190
|
+
{ iso: "LK", slug: "sri-lanka", name: "Sri Lanka" },
|
|
191
|
+
{ iso: "LR", slug: "liberia", name: "Liberia" },
|
|
192
|
+
{ iso: "WS", slug: "samoa", name: "Samoa" },
|
|
193
|
+
{ iso: "VU", slug: "vanuatu", name: "Vanuatu" },
|
|
194
|
+
{ iso: "VI", slug: "us-virgin-islands", name: "US Virgin Islands" },
|
|
195
|
+
{
|
|
196
|
+
iso: "VC",
|
|
197
|
+
slug: "saint-vincent-and-the-grenadines",
|
|
198
|
+
name: "Saint Vincent and the Grenadines"
|
|
199
|
+
},
|
|
200
|
+
{ iso: "TV", slug: "tuvalu", name: "Tuvalu" },
|
|
201
|
+
{ iso: "TO", slug: "tonga", name: "Tonga" },
|
|
202
|
+
{ iso: "TM", slug: "turkmenistan", name: "Turkmenistan" },
|
|
203
|
+
{ iso: "TL", slug: "timor-leste", name: "Timor-Leste" },
|
|
204
|
+
{ iso: "TD", slug: "chad", name: "Chad" },
|
|
205
|
+
{ iso: "SY", slug: "syrian-arab-republic", name: "Syrian Arab Republic" },
|
|
206
|
+
{ iso: "SX", slug: "sint-maarten", name: "Sint Maarten" },
|
|
207
|
+
{
|
|
208
|
+
iso: "ST",
|
|
209
|
+
slug: "sao-tome-and-principe",
|
|
210
|
+
name: "Sao Tome and Principe"
|
|
211
|
+
},
|
|
212
|
+
{ iso: "SS", slug: "south-sudan", name: "South Sudan" },
|
|
213
|
+
{ iso: "SR", slug: "suriname", name: "Suriname" },
|
|
214
|
+
{ iso: "SO", slug: "somalia", name: "Somalia" },
|
|
215
|
+
{ iso: "SM", slug: "san-marino", name: "San Marino" },
|
|
216
|
+
{ iso: "SI", slug: "slovenia", name: "Slovenia" },
|
|
217
|
+
{ iso: "SD", slug: "sudan", name: "Sudan" },
|
|
218
|
+
{ iso: "SC", slug: "seychelles", name: "Seychelles" },
|
|
219
|
+
{ iso: "SB", slug: "solomon-islands", name: "Solomon Islands" },
|
|
220
|
+
{ iso: "RO", slug: "romania", name: "Romania" },
|
|
221
|
+
{ iso: "PW", slug: "palau", name: "Palau" },
|
|
222
|
+
{ iso: "PG", slug: "papua-new-guinea", name: "Papua New Guinea" },
|
|
223
|
+
{ iso: "OM", slug: "oman", name: "Oman" },
|
|
224
|
+
{ iso: "NR", slug: "nauru", name: "Nauru" },
|
|
225
|
+
{ iso: "NI", slug: "nicaragua", name: "Nicaragua" },
|
|
226
|
+
{ iso: "NE", slug: "niger", name: "Niger" },
|
|
227
|
+
{ iso: "NA", slug: "namibia", name: "Namibia" },
|
|
228
|
+
{ iso: "MV", slug: "maldives", name: "Maldives" },
|
|
229
|
+
{ iso: "MT", slug: "malta", name: "Malta" },
|
|
230
|
+
{ iso: "MR", slug: "mauritania", name: "Mauritania" },
|
|
231
|
+
{ iso: "MN", slug: "mongolia", name: "Mongolia" },
|
|
232
|
+
{ iso: "MH", slug: "marshall-islands", name: "Marshall Islands" },
|
|
233
|
+
{ iso: "MG", slug: "madagascar", name: "Madagascar" },
|
|
234
|
+
{ iso: "MC", slug: "monaco", name: "Monaco" },
|
|
235
|
+
{ iso: "LY", slug: "libya", name: "Libya" },
|
|
236
|
+
{ iso: "LU", slug: "luxembourg", name: "Luxembourg" },
|
|
237
|
+
{ iso: "LT", slug: "lithuania", name: "Lithuania" },
|
|
238
|
+
{ iso: "LS", slug: "lesotho", name: "Lesotho" }
|
|
239
|
+
];
|
|
240
|
+
return {
|
|
241
|
+
countries
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
</script>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
countries: {
|
|
3
|
+
iso: string;
|
|
4
|
+
slug: string;
|
|
5
|
+
name: string;
|
|
6
|
+
}[];
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
8
|
+
export default _default;
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"
|
|
12
12
|
@click="sendAction()"
|
|
13
13
|
>
|
|
14
|
-
<p>{{ getActionText }}</p>
|
|
14
|
+
<p v-if="!customize">{{ getActionText }}</p>
|
|
15
|
+
<slot v-else name="custom" />
|
|
15
16
|
</div>
|
|
16
17
|
</template>
|
|
17
18
|
|
|
@@ -27,10 +28,14 @@ export default defineComponent({
|
|
|
27
28
|
type: String,
|
|
28
29
|
required: true
|
|
29
30
|
},
|
|
30
|
-
|
|
31
|
+
customText: {
|
|
31
32
|
type: String,
|
|
32
33
|
default: null
|
|
33
34
|
},
|
|
35
|
+
customize: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
34
39
|
lang: {
|
|
35
40
|
type: String,
|
|
36
41
|
default: "en",
|
|
@@ -49,7 +54,7 @@ export default defineComponent({
|
|
|
49
54
|
],
|
|
50
55
|
setup(props, { emit }) {
|
|
51
56
|
const getActionText = computed(() => {
|
|
52
|
-
if (!props.
|
|
57
|
+
if (!props.customText) {
|
|
53
58
|
let finalText = "";
|
|
54
59
|
switch (props.actionType) {
|
|
55
60
|
case "cancel":
|
|
@@ -62,7 +67,7 @@ export default defineComponent({
|
|
|
62
67
|
finalText = props.lang === "fr" ? "Voir l'analyse" : "Go to analysis";
|
|
63
68
|
break;
|
|
64
69
|
case "save-analysis":
|
|
65
|
-
finalText = props.lang === "fr" ? "
|
|
70
|
+
finalText = props.lang === "fr" ? "Sauvegarder et continuer " : "Save and continue";
|
|
66
71
|
break;
|
|
67
72
|
case "download":
|
|
68
73
|
finalText = props.lang === "fr" ? "Tout t\xE9l\xE9charger" : "Download all";
|
|
@@ -72,7 +77,7 @@ export default defineComponent({
|
|
|
72
77
|
}
|
|
73
78
|
return finalText;
|
|
74
79
|
} else
|
|
75
|
-
return props.
|
|
80
|
+
return props.customText;
|
|
76
81
|
});
|
|
77
82
|
function sendAction() {
|
|
78
83
|
switch (props.actionType) {
|
|
@@ -129,7 +134,7 @@ export default defineComponent({
|
|
|
129
134
|
}
|
|
130
135
|
|
|
131
136
|
.cancel_action:hover {
|
|
132
|
-
background:
|
|
137
|
+
background: rgb(237, 237, 243, 65%) !important;
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
.scope_action {
|
|
@@ -3,10 +3,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
customText: {
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: null;
|
|
9
9
|
};
|
|
10
|
+
customize: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
10
14
|
lang: {
|
|
11
15
|
type: StringConstructor;
|
|
12
16
|
default: string;
|
|
@@ -20,10 +24,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
24
|
type: StringConstructor;
|
|
21
25
|
required: true;
|
|
22
26
|
};
|
|
23
|
-
|
|
27
|
+
customText: {
|
|
24
28
|
type: StringConstructor;
|
|
25
29
|
default: null;
|
|
26
30
|
};
|
|
31
|
+
customize: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
27
35
|
lang: {
|
|
28
36
|
type: StringConstructor;
|
|
29
37
|
default: string;
|
|
@@ -37,7 +45,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
45
|
onOnSeeAnalysis?: ((...args: any[]) => any) | undefined;
|
|
38
46
|
onOnSaveAnalysis?: ((...args: any[]) => any) | undefined;
|
|
39
47
|
}, {
|
|
40
|
-
|
|
48
|
+
customText: string;
|
|
49
|
+
customize: boolean;
|
|
41
50
|
lang: string;
|
|
42
51
|
}, {}>;
|
|
43
52
|
export default _default;
|