@tekkare/auriga 0.1.11 → 0.1.13

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.
Files changed (40) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/allFlags.vue +245 -0
  3. package/dist/runtime/components/allFlags.vue.d.ts +8 -0
  4. package/dist/runtime/components/argActions.vue +19 -5
  5. package/dist/runtime/components/argActions.vue.d.ts +9 -0
  6. package/dist/runtime/components/argChartTableCard.vue +12 -2
  7. package/dist/runtime/components/argChartTableCard.vue.d.ts +22 -1
  8. package/dist/runtime/components/argComplexSelect.vue +12 -5
  9. package/dist/runtime/components/argComplexSelect.vue.d.ts +3 -0
  10. package/dist/runtime/components/argDate.vue +12 -12
  11. package/dist/runtime/components/argDate.vue.d.ts +3 -3
  12. package/dist/runtime/components/argDropdownSelect.vue +20 -4
  13. package/dist/runtime/components/argErrors.vue +2 -1
  14. package/dist/runtime/components/argErrors.vue.d.ts +2 -0
  15. package/dist/runtime/components/argFilterCard.vue +2 -2
  16. package/dist/runtime/components/argFlag.vue +447 -217
  17. package/dist/runtime/components/argFlag.vue.d.ts +4 -4
  18. package/dist/runtime/components/argHeader.vue +1 -1
  19. package/dist/runtime/components/argHybridChart.vue +2 -2
  20. package/dist/runtime/components/argInfoBar.vue +0 -62
  21. package/dist/runtime/components/argMainLayout.vue +2 -6
  22. package/dist/runtime/components/argMultipleSelect.vue +1 -1
  23. package/dist/runtime/components/argNoSavedScope.vue +90 -0
  24. package/dist/runtime/components/argNoSavedScope.vue.d.ts +29 -0
  25. package/dist/runtime/components/argNumberInput.vue +4 -4
  26. package/dist/runtime/components/argScopeHeader.vue +11 -24
  27. package/dist/runtime/components/argScopeHeader.vue.d.ts +11 -7
  28. package/dist/runtime/components/argScopeLayout.vue +8 -5
  29. package/dist/runtime/components/argSearchInput.vue +10 -6
  30. package/dist/runtime/components/argSearchInput.vue.d.ts +4 -6
  31. package/dist/runtime/components/argSidebar.vue +4 -2
  32. package/dist/runtime/components/argSimpleInput.vue +6 -1
  33. package/dist/runtime/components/argSimpleInput.vue.d.ts +8 -0
  34. package/dist/runtime/components/argSourceContainer.vue +34 -0
  35. package/dist/runtime/components/argSourceContainer.vue.d.ts +2 -0
  36. package/dist/runtime/components/argTable.vue +42 -9
  37. package/dist/runtime/components/argTable.vue.d.ts +14 -2
  38. package/dist/runtime/components/argTipsBox.vue +1 -0
  39. package/dist/runtime/components/argTutoModal.vue +10 -6
  40. package/package.json +2 -1
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.11"
7
+ "version": "0.1.13"
8
8
  }
@@ -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;
@@ -1,14 +1,15 @@
1
1
  <template>
2
2
  <div
3
- :class="
3
+ :class="[
4
+ disable ? 'disable' : '',
4
5
  actionType === 'download' || actionType === 'see-analysis'
5
6
  ? 'download_action'
6
7
  : actionType === 'cancel' || actionType === 'close'
7
8
  ? 'cancel_action'
8
9
  : actionType === 'scope' || actionType === 'save-analysis'
9
10
  ? 'scope_action'
10
- : ''
11
- "
11
+ : '',
12
+ ]"
12
13
  @click="sendAction()"
13
14
  >
14
15
  <p v-if="!customize">{{ getActionText }}</p>
@@ -22,7 +23,7 @@ import {
22
23
  defineComponent
23
24
  } from "vue";
24
25
  export default defineComponent({
25
- name: "argMultipleSelect",
26
+ name: "argActions",
26
27
  props: {
27
28
  actionType: {
28
29
  type: String,
@@ -36,6 +37,10 @@ export default defineComponent({
36
37
  type: Boolean,
37
38
  default: false
38
39
  },
40
+ disable: {
41
+ type: Boolean,
42
+ default: false
43
+ },
39
44
  lang: {
40
45
  type: String,
41
46
  default: "en",
@@ -144,7 +149,7 @@ export default defineComponent({
144
149
  justify-content: center;
145
150
  align-items: center;
146
151
  gap: var(--s, 8px);
147
- border-radius: 8px;
152
+ border-radius: 16px;
148
153
  background: var(--primary-primary, #2176ff);
149
154
  font-size: 14px;
150
155
  font-style: normal;
@@ -152,4 +157,13 @@ export default defineComponent({
152
157
  line-height: normal;
153
158
  color: var(--pure-white);
154
159
  }
160
+
161
+ .scope_action.disable {
162
+ background: var(--dividers) !important;
163
+ color: var(--wild-blue-yonder) !important;
164
+ }
165
+
166
+ .download_action.disable {
167
+ color: var(--wild-blue-yonder) !important;
168
+ }
155
169
  </style>
@@ -11,6 +11,10 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
14
+ disable: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
14
18
  lang: {
15
19
  type: StringConstructor;
16
20
  default: string;
@@ -32,6 +36,10 @@ declare const _default: import("vue").DefineComponent<{
32
36
  type: BooleanConstructor;
33
37
  default: boolean;
34
38
  };
39
+ disable: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
35
43
  lang: {
36
44
  type: StringConstructor;
37
45
  default: string;
@@ -47,6 +55,7 @@ declare const _default: import("vue").DefineComponent<{
47
55
  }, {
48
56
  customText: string;
49
57
  customize: boolean;
58
+ disable: boolean;
50
59
  lang: string;
51
60
  }, {}>;
52
61
  export default _default;
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <div class="oip_table_card">
3
3
  <div class="table_card_header">
4
- <slot name="Chart" />
4
+ <slot :name="haveChart ? 'Chart' : 'Title'" />
5
5
  </div>
6
- <slot name="Table" />
6
+ <slot v-if="haveTable" name="Table" />
7
7
  </div>
8
8
  </template>
9
9
 
@@ -19,6 +19,16 @@ import {
19
19
 
20
20
  export default defineComponent({
21
21
  name: "argChartTableCard",
22
+ props: {
23
+ haveChart: {
24
+ type: Boolean,
25
+ default: true,
26
+ },
27
+ haveTable: {
28
+ type: Boolean,
29
+ default: true,
30
+ },
31
+ },
22
32
  });
23
33
  </script>
24
34
 
@@ -1,2 +1,23 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ haveChart: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ haveTable: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ }, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ haveChart: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ haveTable: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ }>>, {
20
+ haveChart: boolean;
21
+ haveTable: boolean;
22
+ }, {}>;
2
23
  export default _default;
@@ -8,7 +8,7 @@
8
8
  :show_amount="show_amount"
9
9
  :amount_value="del_table.length"
10
10
  id="simple-select-complex"
11
- @click="changeDisplay()"
11
+ @click.stop="changeDisplay()"
12
12
  :class="isDisplay ? 'open' : ''"
13
13
  >
14
14
  <span
@@ -37,7 +37,10 @@
37
37
  }}
38
38
  </h1>
39
39
  </div>
40
- <div v-if="!!smart_selection_table" class="oip_select_complex_smart">
40
+ <div
41
+ v-if="smart_selection_table !== null"
42
+ class="oip_select_complex_smart"
43
+ >
41
44
  <h2 class="oip_select_complex_smart_title">Smart Selection</h2>
42
45
  <div class="oip_select_complex_smart_selection">
43
46
  <!-- Tags -->
@@ -207,7 +210,11 @@ export default defineComponent({
207
210
  search_placeholder: { type: String, default: "Search" },
208
211
  need_apply: { type: Boolean, default: false },
209
212
  select_placeholder: { type: String, required: false },
210
- smart_selection_table: { type: Array, required: false },
213
+ smart_selection_table: {
214
+ type: Array || null,
215
+ required: false,
216
+ default: null
217
+ },
211
218
  return_value: { type: Boolean, default: false },
212
219
  disabled: { type: Boolean, default: false },
213
220
  already_selected: {
@@ -329,7 +336,7 @@ export default defineComponent({
329
336
  });
330
337
  function changeInput() {
331
338
  setTimeout(() => {
332
- emit("changeAddInputValue", searchNameAdd);
339
+ emit("changeAddInputValue", searchNameAdd.value);
333
340
  }, 500);
334
341
  }
335
342
  function isInViewport(el) {
@@ -342,7 +349,7 @@ export default defineComponent({
342
349
  if (isDisplay.value === true) {
343
350
  setTimeout(() => {
344
351
  document?.addEventListener("click", close);
345
- }, 100);
352
+ }, 200);
346
353
  }
347
354
  const elem = document?.getElementById("select_complex");
348
355
  const simpleElem = document?.getElementById("simple_select_complex");
@@ -31,6 +31,7 @@ declare const _default: import("vue").DefineComponent<{
31
31
  smart_selection_table: {
32
32
  type: ArrayConstructor;
33
33
  required: false;
34
+ default: null;
34
35
  };
35
36
  return_value: {
36
37
  type: BooleanConstructor;
@@ -152,6 +153,7 @@ declare const _default: import("vue").DefineComponent<{
152
153
  smart_selection_table: {
153
154
  type: ArrayConstructor;
154
155
  required: false;
156
+ default: null;
155
157
  };
156
158
  return_value: {
157
159
  type: BooleanConstructor;
@@ -218,6 +220,7 @@ declare const _default: import("vue").DefineComponent<{
218
220
  loading: boolean;
219
221
  search_placeholder: string;
220
222
  need_apply: boolean;
223
+ smart_selection_table: unknown[];
221
224
  return_value: boolean;
222
225
  disabled: boolean;
223
226
  already_selected: string[];
@@ -17,7 +17,7 @@ export default defineComponent({
17
17
  type: String,
18
18
  default: "en"
19
19
  },
20
- short: {
20
+ compact: {
21
21
  type: Boolean,
22
22
  default: false
23
23
  }
@@ -25,40 +25,40 @@ export default defineComponent({
25
25
  setup(props) {
26
26
  function monthToString(month) {
27
27
  if (month === 0) {
28
- return props.lang === "fr" ? props.short ? "Jan." : "Janvier" : props.short ? "Jan" : "January";
28
+ return props.lang === "fr" ? props.compact ? "Jan." : "Janvier" : props.compact ? "Jan" : "January";
29
29
  }
30
30
  if (month === 1) {
31
- return props.lang === "fr" ? props.short ? "F\xE9v." : "F\xE9vrier" : props.short ? "Feb." : "February";
31
+ return props.lang === "fr" ? props.compact ? "F\xE9v." : "F\xE9vrier" : props.compact ? "Feb." : "February";
32
32
  }
33
33
  if (month === 2) {
34
- return props.lang === "fr" ? props.short ? "Mar." : "Mars" : props.short ? "Mar." : "March";
34
+ return props.lang === "fr" ? props.compact ? "Mar." : "Mars" : props.compact ? "Mar." : "March";
35
35
  }
36
36
  if (month === 3) {
37
- return props.lang === "fr" ? props.short ? "Avr." : "Avril" : props.short ? "Apr." : "April";
37
+ return props.lang === "fr" ? props.compact ? "Avr." : "Avril" : props.compact ? "Apr." : "April";
38
38
  }
39
39
  if (month === 4) {
40
40
  return props.lang === "fr" ? "Mai" : "May";
41
41
  }
42
42
  if (month === 5) {
43
- return props.lang === "fr" ? "Juin" : props.short ? "Jun." : "June";
43
+ return props.lang === "fr" ? "Juin" : props.compact ? "Jun." : "June";
44
44
  }
45
45
  if (month === 6) {
46
- return props.lang === "fr" ? props.short ? "Juil." : "Juillet" : props.short ? "Jul." : "July";
46
+ return props.lang === "fr" ? props.compact ? "Juil." : "Juillet" : props.compact ? "Jul." : "July";
47
47
  }
48
48
  if (month === 7) {
49
- return props.lang === "fr" ? props.short ? "Ao\xFB." : "Ao\xFBt" : props.short ? "Aug." : "August";
49
+ return props.lang === "fr" ? props.compact ? "Ao\xFB." : "Ao\xFBt" : props.compact ? "Aug." : "August";
50
50
  }
51
51
  if (month === 8) {
52
- return props.lang === "fr" ? props.short ? "Sep." : "Septembre" : props.short ? "Sep." : "September";
52
+ return props.lang === "fr" ? props.compact ? "Sep." : "Septembre" : props.compact ? "Sep." : "September";
53
53
  }
54
54
  if (month === 9) {
55
- return props.lang === "fr" ? props.short ? "Oct." : "Octobre" : props.short ? "Oct." : "October";
55
+ return props.lang === "fr" ? props.compact ? "Oct." : "Octobre" : props.compact ? "Oct." : "October";
56
56
  }
57
57
  if (month === 10) {
58
- return props.lang === "fr" ? props.short ? "Nov." : "Novembre" : props.short ? "Nov." : "November";
58
+ return props.lang === "fr" ? props.compact ? "Nov." : "Novembre" : props.compact ? "Nov." : "November";
59
59
  }
60
60
  if (month === 11) {
61
- return props.lang === "fr" ? props.short ? "D\xE9c." : "D\xE9cembre" : props.short ? "Dec." : "December";
61
+ return props.lang === "fr" ? props.compact ? "D\xE9c." : "D\xE9cembre" : props.compact ? "Dec." : "December";
62
62
  }
63
63
  }
64
64
  function formatDate(str) {
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
- short: {
10
+ compact: {
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
@@ -23,12 +23,12 @@ declare const _default: import("vue").DefineComponent<{
23
23
  type: StringConstructor;
24
24
  default: string;
25
25
  };
26
- short: {
26
+ compact: {
27
27
  type: BooleanConstructor;
28
28
  default: boolean;
29
29
  };
30
30
  }>>, {
31
31
  lang: string;
32
- short: boolean;
32
+ compact: boolean;
33
33
  }, {}>;
34
34
  export default _default;
@@ -11,14 +11,30 @@
11
11
  <arg-tooltip
12
12
  class="full_width"
13
13
  :disable="
14
- selected_item !== null ? true : !isEllipsisActive ? true : false
14
+ selected_item !== null && selected_item !== undefined
15
+ ? true
16
+ : !isEllipsisActive
17
+ ? true
18
+ : false
19
+ "
20
+ :tooltipText="
21
+ selected_item !== null && selected_item !== undefined
22
+ ? selected_item
23
+ : ''
15
24
  "
16
- :tooltipText="selected_item !== null ? selected_item : ''"
17
25
  >
18
26
  <span
19
- :class="selected_item !== null ? '' : 'oip_empty_select'"
27
+ :class="
28
+ selected_item !== null && selected_item !== undefined
29
+ ? ''
30
+ : 'oip_empty_select'
31
+ "
20
32
  :id="`label_${selected_item}`"
21
- >{{ selected_item === null ? empty_msg : selected_item }}</span
33
+ >{{
34
+ selected_item === null || selected_item === undefined
35
+ ? empty_msg
36
+ : selected_item
37
+ }}</span
22
38
  >
23
39
  </arg-tooltip>
24
40
  </arg-simple-label>
@@ -24,7 +24,8 @@ export default defineComponent({
24
24
  props: {
25
25
  errorType: {
26
26
  type: String,
27
- default: "result"
27
+ default: "result",
28
+ required: true
28
29
  },
29
30
  errorTitle: {
30
31
  type: String,
@@ -2,6 +2,7 @@ declare const _default: import("vue").DefineComponent<{
2
2
  errorType: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
+ required: true;
5
6
  };
6
7
  errorTitle: {
7
8
  type: StringConstructor;
@@ -32,6 +33,7 @@ declare const _default: import("vue").DefineComponent<{
32
33
  errorType: {
33
34
  type: StringConstructor;
34
35
  default: string;
36
+ required: true;
35
37
  };
36
38
  errorTitle: {
37
39
  type: StringConstructor;
@@ -80,8 +80,8 @@ export default defineComponent({
80
80
  backdrop-filter: blur(12px);
81
81
  transition: all ease 0.7s;
82
82
  cursor: pointer;
83
- z-index: 98;
84
- width: calc(100% - 32px);
83
+ z-index: 91;
84
+ width: calc(100% - 48px);
85
85
  }
86
86
 
87
87
  .filter_card {