@haiilo/catalyst 0.14.3 → 0.15.2

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 (65) hide show
  1. package/dist/catalyst/catalyst.esm.js +1 -1
  2. package/dist/catalyst/catalyst.esm.js.map +1 -1
  3. package/dist/catalyst/index.cdn.js +17 -12
  4. package/dist/catalyst/p-7fff102c.entry.js +12 -0
  5. package/dist/catalyst/p-7fff102c.entry.js.map +1 -0
  6. package/dist/cjs/{cat-alert_22.cjs.entry.js → cat-alert_24.cjs.entry.js} +2234 -19
  7. package/dist/cjs/cat-alert_24.cjs.entry.js.map +1 -0
  8. package/dist/cjs/catalyst.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/collection-manifest.json +2 -0
  11. package/dist/collection/components/cat-badge/cat-badge.css +5 -5
  12. package/dist/collection/components/cat-button/cat-button.css +4 -0
  13. package/dist/collection/components/cat-checkbox/cat-checkbox.css +1 -0
  14. package/dist/collection/components/cat-input/cat-input.css +1 -0
  15. package/dist/collection/components/cat-scrollable/cat-scrollable.css +0 -1
  16. package/dist/collection/components/cat-select-remote/cat-select-remote.css +210 -0
  17. package/dist/collection/components/cat-select-remote/cat-select-remote.js +818 -0
  18. package/dist/collection/components/cat-select-remote/cat-select-remote.js.map +1 -0
  19. package/dist/collection/components/cat-select-remote-test/cat-select-remote-test.js +1288 -0
  20. package/dist/collection/components/cat-select-remote-test/cat-select-remote-test.js.map +1 -0
  21. package/dist/collection/index.cdn.js +17 -12
  22. package/dist/collection/index.js.map +1 -1
  23. package/dist/components/cat-badge.js +1 -1
  24. package/dist/components/cat-badge.js.map +1 -1
  25. package/dist/components/cat-button2.js +1 -1
  26. package/dist/components/cat-button2.js.map +1 -1
  27. package/dist/components/cat-checkbox.js +1 -115
  28. package/dist/components/cat-checkbox.js.map +1 -1
  29. package/dist/components/cat-checkbox2.js +119 -0
  30. package/dist/components/cat-checkbox2.js.map +1 -0
  31. package/dist/components/cat-input.js +1 -1
  32. package/dist/components/cat-input.js.map +1 -1
  33. package/dist/components/cat-scrollable.js +1 -1355
  34. package/dist/components/cat-scrollable.js.map +1 -1
  35. package/dist/components/cat-scrollable2.js +1359 -0
  36. package/dist/components/cat-scrollable2.js.map +1 -0
  37. package/dist/components/cat-select-remote-test.d.ts +11 -0
  38. package/dist/components/cat-select-remote-test.js +1368 -0
  39. package/dist/components/cat-select-remote-test.js.map +1 -0
  40. package/dist/components/cat-select-remote.d.ts +11 -0
  41. package/dist/components/cat-select-remote.js +8 -0
  42. package/dist/components/cat-select-remote.js.map +1 -0
  43. package/dist/components/cat-select-remote2.js +987 -0
  44. package/dist/components/cat-select-remote2.js.map +1 -0
  45. package/dist/components/cat-skeleton.js +1 -71
  46. package/dist/components/cat-skeleton.js.map +1 -1
  47. package/dist/components/cat-skeleton2.js +75 -0
  48. package/dist/components/cat-skeleton2.js.map +1 -0
  49. package/dist/components/index.d.ts +2 -0
  50. package/dist/components/index.js +2 -0
  51. package/dist/components/index.js.map +1 -1
  52. package/dist/esm/{cat-alert_22.entry.js → cat-alert_24.entry.js} +2233 -20
  53. package/dist/esm/cat-alert_24.entry.js.map +1 -0
  54. package/dist/esm/catalyst.js +1 -1
  55. package/dist/esm/loader.js +1 -1
  56. package/dist/types/components/cat-select-remote/autosize.d.ts +1 -0
  57. package/dist/types/components/cat-select-remote/cat-select-remote.d.ts +164 -0
  58. package/dist/types/components/cat-select-remote-test/cat-select-remote-test.d.ts +6 -0
  59. package/dist/types/components.d.ts +149 -0
  60. package/dist/types/index.d.ts +3 -0
  61. package/package.json +5 -4
  62. package/dist/catalyst/p-45547af1.entry.js +0 -12
  63. package/dist/catalyst/p-45547af1.entry.js.map +0 -1
  64. package/dist/cjs/cat-alert_22.cjs.entry.js.map +0 -1
  65. package/dist/esm/cat-alert_22.entry.js.map +0 -1
@@ -0,0 +1,1368 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$8 } from './cat-button2.js';
3
+ import { d as defineCustomElement$7 } from './cat-checkbox2.js';
4
+ import { d as defineCustomElement$6 } from './cat-icon2.js';
5
+ import { o as operate, c as createOperatorSubscriber, n as noop, m as map, a as mergeMap, d as defineCustomElement$5 } from './cat-scrollable2.js';
6
+ import { c as concat, t as take, a as asyncScheduler, b as timer, o as of, d as defineCustomElement$4 } from './cat-select-remote2.js';
7
+ import { d as defineCustomElement$3 } from './cat-skeleton2.js';
8
+ import { d as defineCustomElement$2 } from './cat-spinner2.js';
9
+
10
+ function ignoreElements() {
11
+ return operate((source, subscriber) => {
12
+ source.subscribe(createOperatorSubscriber(subscriber, noop));
13
+ });
14
+ }
15
+
16
+ function mapTo(value) {
17
+ return map(() => value);
18
+ }
19
+
20
+ function delayWhen(delayDurationSelector, subscriptionDelay) {
21
+ if (subscriptionDelay) {
22
+ return (source) => concat(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));
23
+ }
24
+ return mergeMap((value, index) => delayDurationSelector(value, index).pipe(take(1), mapTo(value)));
25
+ }
26
+
27
+ function delay(due, scheduler = asyncScheduler) {
28
+ const duration = timer(due, scheduler);
29
+ return delayWhen(() => duration);
30
+ }
31
+
32
+ const CatSelectRemoteTest$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
33
+ constructor() {
34
+ super();
35
+ this.__registerHost();
36
+ this.__attachShadow();
37
+ }
38
+ componentDidLoad() {
39
+ var _a, _b;
40
+ (_a = this.multipleSelect) === null || _a === void 0 ? void 0 : _a.connect({
41
+ resolve: (ids) => {
42
+ console.info(`Resolving data... (${ids.join(', ')})`);
43
+ return of(ids.map(id => ({
44
+ id,
45
+ firstName: 'John',
46
+ lastName: `Doe (${id})`,
47
+ desc: 'resolved'
48
+ }))).pipe(delay(500));
49
+ },
50
+ retrieve: (term, page) => {
51
+ console.info(`Retrieving data... ("${term}", ${page})`);
52
+ return term === 'no'
53
+ ? of({ last: true, content: [], totalElements: 0 })
54
+ : of({
55
+ last: false,
56
+ totalElements: 10000,
57
+ content: Array.from({ length: 10 }, (_, i) => ({
58
+ id: '' + (i + page * 10),
59
+ firstName: 'John',
60
+ lastName: `Doe (${i + page * 10})`,
61
+ desc: `"${term}": page ${page}`
62
+ }))
63
+ }).pipe(delay(500));
64
+ },
65
+ render: (user) => ({
66
+ label: `${user.firstName} ${user.lastName}`,
67
+ description: user.desc
68
+ })
69
+ });
70
+ (_b = this.singleSelect) === null || _b === void 0 ? void 0 : _b.connect({
71
+ resolve: (ids) => {
72
+ console.info(`Resolving data... (${ids.join(', ')})`);
73
+ return of(ids.map(id => countries.find(value => value.id === id))).pipe(delay(500));
74
+ },
75
+ retrieve: (term, page) => {
76
+ console.info(`Retrieving data... ("${term}", ${page})`);
77
+ const filter = countries.filter(value => {
78
+ var _a;
79
+ return value.country.toLowerCase().indexOf(term.toLowerCase()) === 0 ||
80
+ ((_a = value.capital) === null || _a === void 0 ? void 0 : _a.toLowerCase().indexOf(term.toLowerCase())) === 0;
81
+ });
82
+ const slice = filter.slice(page * 10, page * 10 + 10);
83
+ return of({
84
+ last: slice.length < 10,
85
+ totalElements: filter.length,
86
+ content: slice
87
+ }).pipe(delay(500));
88
+ },
89
+ render: (country) => ({
90
+ label: country.country,
91
+ description: country.capital || 'No capital'
92
+ })
93
+ });
94
+ }
95
+ render() {
96
+ return (h(Host, { style: { display: 'flex', flexDirection: 'column' } }, h("cat-select-remote", { label: "Multiple Select", hint: "This is a hint!", ref: el => (this.multipleSelect = el), value: ['1'], placeholder: "Hello World", onCatChange: e => console.log('Multiple', e), onCatBlur: e => console.log('Multiple blur', e), multiple: true, clearable: true }, h("span", { slot: "hint" }, "Searching for \"no\" -", '>', " no options are returned!")), h("cat-select-remote", { label: "Single Select", hint: "This is a hint!", ref: el => (this.singleSelect = el), value: '1', placeholder: "Search for a country or capital", onCatChange: e => console.log('Single', e), onCatBlur: e => console.log('Single blur', e), clearable: true })));
97
+ }
98
+ }, [1, "cat-select-remote-test"]);
99
+ const countries = [
100
+ {
101
+ id: '0',
102
+ country: 'Afghanistan Extra extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large ',
103
+ capital: 'Kabul'
104
+ },
105
+ {
106
+ id: '1',
107
+ country: 'Albania',
108
+ capital: 'Tirana'
109
+ },
110
+ {
111
+ id: '2',
112
+ country: 'Algeria',
113
+ capital: 'Alger'
114
+ },
115
+ {
116
+ id: '3',
117
+ country: 'American Samoa',
118
+ capital: 'Fagatogo'
119
+ },
120
+ {
121
+ id: '4',
122
+ country: 'Andorra',
123
+ capital: 'Andorra la Vella'
124
+ },
125
+ {
126
+ id: '5',
127
+ country: 'Angola',
128
+ capital: 'Luanda'
129
+ },
130
+ {
131
+ id: '6',
132
+ country: 'Anguilla',
133
+ capital: 'The Valley'
134
+ },
135
+ {
136
+ id: '7',
137
+ country: 'Antarctica'
138
+ },
139
+ {
140
+ id: '8',
141
+ country: 'Antigua and Barbuda',
142
+ capital: "Saint John's"
143
+ },
144
+ {
145
+ id: '9',
146
+ country: 'Argentina',
147
+ capital: 'Buenos Aires'
148
+ },
149
+ {
150
+ id: '10',
151
+ country: 'Armenia',
152
+ capital: 'Yerevan'
153
+ },
154
+ {
155
+ id: '11',
156
+ country: 'Aruba',
157
+ capital: 'Oranjestad'
158
+ },
159
+ {
160
+ id: '12',
161
+ country: 'Australia',
162
+ capital: 'Canberra'
163
+ },
164
+ {
165
+ id: '13',
166
+ country: 'Austria',
167
+ capital: 'Wien'
168
+ },
169
+ {
170
+ id: '14',
171
+ country: 'Azerbaijan',
172
+ capital: 'Baku'
173
+ },
174
+ {
175
+ id: '15',
176
+ country: 'Bahamas',
177
+ capital: 'Nassau'
178
+ },
179
+ {
180
+ id: '16',
181
+ country: 'Bahrain',
182
+ capital: 'al-Manama'
183
+ },
184
+ {
185
+ id: '17',
186
+ country: 'Bangladesh',
187
+ capital: 'Dhaka'
188
+ },
189
+ {
190
+ id: '18',
191
+ country: 'Barbados',
192
+ capital: 'Bridgetown'
193
+ },
194
+ {
195
+ id: '19',
196
+ country: 'Belarus',
197
+ capital: 'Minsk'
198
+ },
199
+ {
200
+ id: '20',
201
+ country: 'Belgium',
202
+ capital: 'Bruxelles [Brussel]'
203
+ },
204
+ {
205
+ id: '21',
206
+ country: 'Belize',
207
+ capital: 'Belmopan'
208
+ },
209
+ {
210
+ id: '22',
211
+ country: 'Benin',
212
+ capital: 'Porto-Novo'
213
+ },
214
+ {
215
+ id: '23',
216
+ country: 'Bermuda',
217
+ capital: 'Hamilton'
218
+ },
219
+ {
220
+ id: '24',
221
+ country: 'Bhutan',
222
+ capital: 'Thimphu'
223
+ },
224
+ {
225
+ id: '25',
226
+ country: 'Bolivia',
227
+ capital: 'La Paz'
228
+ },
229
+ {
230
+ id: '26',
231
+ country: 'Bosnia and Herzegovina',
232
+ capital: 'Sarajevo'
233
+ },
234
+ {
235
+ id: '27',
236
+ country: 'Botswana',
237
+ capital: 'Gaborone'
238
+ },
239
+ {
240
+ id: '28',
241
+ country: 'Bouvet Island'
242
+ },
243
+ {
244
+ id: '29',
245
+ country: 'Brazil',
246
+ capital: 'Brasília'
247
+ },
248
+ {
249
+ id: '30',
250
+ country: 'British Indian Ocean Territory'
251
+ },
252
+ {
253
+ id: '31',
254
+ country: 'Brunei',
255
+ capital: 'Bandar Seri Begawan'
256
+ },
257
+ {
258
+ id: '32',
259
+ country: 'Bulgaria',
260
+ capital: 'Sofia'
261
+ },
262
+ {
263
+ id: '33',
264
+ country: 'Burkina Faso',
265
+ capital: 'Ouagadougou'
266
+ },
267
+ {
268
+ id: '34',
269
+ country: 'Burundi',
270
+ capital: 'Bujumbura'
271
+ },
272
+ {
273
+ id: '35',
274
+ country: 'Cambodia',
275
+ capital: 'Phnom Penh'
276
+ },
277
+ {
278
+ id: '36',
279
+ country: 'Cameroon',
280
+ capital: 'Yaound'
281
+ },
282
+ {
283
+ id: '37',
284
+ country: 'Canada',
285
+ capital: 'Ottawa'
286
+ },
287
+ {
288
+ id: '38',
289
+ country: 'Cape Verde',
290
+ capital: 'Praia'
291
+ },
292
+ {
293
+ id: '39',
294
+ country: 'Cayman Islands',
295
+ capital: 'George Town'
296
+ },
297
+ {
298
+ id: '40',
299
+ country: 'Central African Republic',
300
+ capital: 'Bangui'
301
+ },
302
+ {
303
+ id: '41',
304
+ country: 'Chad',
305
+ capital: "N'Djam"
306
+ },
307
+ {
308
+ id: '42',
309
+ country: 'Chile',
310
+ capital: 'Santiago de Chile'
311
+ },
312
+ {
313
+ id: '43',
314
+ country: 'China',
315
+ capital: 'Peking'
316
+ },
317
+ {
318
+ id: '44',
319
+ country: 'Christmas Island',
320
+ capital: 'Flying Fish Cove'
321
+ },
322
+ {
323
+ id: '45',
324
+ country: 'Cocos (Keeling) Islands',
325
+ capital: 'West Island'
326
+ },
327
+ {
328
+ id: '46',
329
+ country: 'Colombia',
330
+ capital: 'Santaf'
331
+ },
332
+ {
333
+ id: '47',
334
+ country: 'Comoros',
335
+ capital: 'Moroni'
336
+ },
337
+ {
338
+ id: '48',
339
+ country: 'Congo',
340
+ capital: 'Brazzaville'
341
+ },
342
+ {
343
+ id: '49',
344
+ country: 'Cook Islands',
345
+ capital: 'Avarua'
346
+ },
347
+ {
348
+ id: '50',
349
+ country: 'Costa Rica',
350
+ capital: 'San José'
351
+ },
352
+ {
353
+ id: '51',
354
+ country: 'Croatia',
355
+ capital: 'Zagreb'
356
+ },
357
+ {
358
+ id: '52',
359
+ country: 'Cuba',
360
+ capital: 'La Habana'
361
+ },
362
+ {
363
+ id: '53',
364
+ country: 'Cyprus',
365
+ capital: 'Nicosia'
366
+ },
367
+ {
368
+ id: '54',
369
+ country: 'Czech Republic',
370
+ capital: 'Praha'
371
+ },
372
+ {
373
+ id: '55',
374
+ country: 'Denmark',
375
+ capital: 'Copenhagen'
376
+ },
377
+ {
378
+ id: '56',
379
+ country: 'Djibouti',
380
+ capital: 'Djibouti'
381
+ },
382
+ {
383
+ id: '57',
384
+ country: 'Dominica',
385
+ capital: 'Roseau'
386
+ },
387
+ {
388
+ id: '58',
389
+ country: 'Dominican Republic',
390
+ capital: 'Santo Domingo de Guzm'
391
+ },
392
+ {
393
+ id: '59',
394
+ country: 'East Timor',
395
+ capital: 'Dili'
396
+ },
397
+ {
398
+ id: '60',
399
+ country: 'Ecuador',
400
+ capital: 'Quito'
401
+ },
402
+ {
403
+ id: '61',
404
+ country: 'Egypt',
405
+ capital: 'Cairo'
406
+ },
407
+ {
408
+ id: '62',
409
+ country: 'El Salvador',
410
+ capital: 'San Salvador'
411
+ },
412
+ {
413
+ id: '63',
414
+ country: 'England',
415
+ capital: 'London'
416
+ },
417
+ {
418
+ id: '64',
419
+ country: 'Equatorial Guinea',
420
+ capital: 'Malabo'
421
+ },
422
+ {
423
+ id: '65',
424
+ country: 'Eritrea',
425
+ capital: 'Asmara'
426
+ },
427
+ {
428
+ id: '66',
429
+ country: 'Estonia',
430
+ capital: 'Tallinn'
431
+ },
432
+ {
433
+ id: '67',
434
+ country: 'Ethiopia',
435
+ capital: 'Addis Abeba'
436
+ },
437
+ {
438
+ id: '68',
439
+ country: 'Falkland Islands',
440
+ capital: 'Stanley'
441
+ },
442
+ {
443
+ id: '69',
444
+ country: 'Faroe Islands',
445
+ capital: 'Tórshavn'
446
+ },
447
+ {
448
+ id: '70',
449
+ country: 'Fiji Islands',
450
+ capital: 'Suva'
451
+ },
452
+ {
453
+ id: '71',
454
+ country: 'Finland',
455
+ capital: 'Helsinki [Helsingfors]'
456
+ },
457
+ {
458
+ id: '72',
459
+ country: 'France',
460
+ capital: 'Paris'
461
+ },
462
+ {
463
+ id: '73',
464
+ country: 'French Guiana',
465
+ capital: 'Cayenne'
466
+ },
467
+ {
468
+ id: '74',
469
+ country: 'French Polynesia',
470
+ capital: 'Papeete'
471
+ },
472
+ {
473
+ id: '75',
474
+ country: 'French Southern territories'
475
+ },
476
+ {
477
+ id: '76',
478
+ country: 'Gabon',
479
+ capital: 'Libreville'
480
+ },
481
+ {
482
+ id: '77',
483
+ country: 'Gambia',
484
+ capital: 'Banjul'
485
+ },
486
+ {
487
+ id: '78',
488
+ country: 'Georgia',
489
+ capital: 'Tbilisi'
490
+ },
491
+ {
492
+ id: '79',
493
+ country: 'Germany',
494
+ capital: 'Berlin'
495
+ },
496
+ {
497
+ id: '80',
498
+ country: 'Ghana',
499
+ capital: 'Accra'
500
+ },
501
+ {
502
+ id: '81',
503
+ country: 'Gibraltar',
504
+ capital: 'Gibraltar'
505
+ },
506
+ {
507
+ id: '82',
508
+ country: 'Greece',
509
+ capital: 'Athenai'
510
+ },
511
+ {
512
+ id: '83',
513
+ country: 'Greenland',
514
+ capital: 'Nuuk'
515
+ },
516
+ {
517
+ id: '84',
518
+ country: 'Grenada',
519
+ capital: "Saint George's"
520
+ },
521
+ {
522
+ id: '85',
523
+ country: 'Guadeloupe',
524
+ capital: 'Basse-Terre'
525
+ },
526
+ {
527
+ id: '86',
528
+ country: 'Guam',
529
+ capital: 'Aga'
530
+ },
531
+ {
532
+ id: '87',
533
+ country: 'Guatemala',
534
+ capital: 'Ciudad de Guatemala'
535
+ },
536
+ {
537
+ id: '88',
538
+ country: 'Guinea',
539
+ capital: 'Conakry'
540
+ },
541
+ {
542
+ id: '89',
543
+ country: 'Guinea-Bissau',
544
+ capital: 'Bissau'
545
+ },
546
+ {
547
+ id: '90',
548
+ country: 'Guyana',
549
+ capital: 'Georgetown'
550
+ },
551
+ {
552
+ id: '91',
553
+ country: 'Haiti',
554
+ capital: 'Port-au-Prince'
555
+ },
556
+ {
557
+ id: '92',
558
+ country: 'Heard Island and McDonald Islands'
559
+ },
560
+ {
561
+ id: '93',
562
+ country: 'Holy See (Vatican City State)',
563
+ capital: 'Citt'
564
+ },
565
+ {
566
+ id: '94',
567
+ country: 'Honduras',
568
+ capital: 'Tegucigalpa'
569
+ },
570
+ {
571
+ id: '95',
572
+ country: 'Hong Kong',
573
+ capital: 'Victoria'
574
+ },
575
+ {
576
+ id: '96',
577
+ country: 'Hungary',
578
+ capital: 'Budapest'
579
+ },
580
+ {
581
+ id: '97',
582
+ country: 'Iceland',
583
+ capital: 'Reykjavík'
584
+ },
585
+ {
586
+ id: '98',
587
+ country: 'India',
588
+ capital: 'New Delhi'
589
+ },
590
+ {
591
+ id: '99',
592
+ country: 'Indonesia',
593
+ capital: 'Jakarta'
594
+ },
595
+ {
596
+ id: '100',
597
+ country: 'Iran',
598
+ capital: 'Tehran'
599
+ },
600
+ {
601
+ id: '101',
602
+ country: 'Iraq',
603
+ capital: 'Baghdad'
604
+ },
605
+ {
606
+ id: '102',
607
+ country: 'Ireland',
608
+ capital: 'Dublin'
609
+ },
610
+ {
611
+ id: '103',
612
+ country: 'Israel',
613
+ capital: 'Jerusalem'
614
+ },
615
+ {
616
+ id: '104',
617
+ country: 'Italy',
618
+ capital: 'Roma'
619
+ },
620
+ {
621
+ id: '105',
622
+ country: 'Ivory Coast',
623
+ capital: 'Yamoussoukro'
624
+ },
625
+ {
626
+ id: '106',
627
+ country: 'Jamaica',
628
+ capital: 'Kingston'
629
+ },
630
+ {
631
+ id: '107',
632
+ country: 'Japan',
633
+ capital: 'Tokyo'
634
+ },
635
+ {
636
+ id: '108',
637
+ country: 'Jordan',
638
+ capital: 'Amman'
639
+ },
640
+ {
641
+ id: '109',
642
+ country: 'Kazakhstan',
643
+ capital: 'Astana'
644
+ },
645
+ {
646
+ id: '110',
647
+ country: 'Kenya',
648
+ capital: 'Nairobi'
649
+ },
650
+ {
651
+ id: '111',
652
+ country: 'Kiribati',
653
+ capital: 'Bairiki'
654
+ },
655
+ {
656
+ id: '112',
657
+ country: 'Kuwait',
658
+ capital: 'Kuwait'
659
+ },
660
+ {
661
+ id: '113',
662
+ country: 'Kyrgyzstan',
663
+ capital: 'Bishkek'
664
+ },
665
+ {
666
+ id: '114',
667
+ country: 'Laos',
668
+ capital: 'Vientiane'
669
+ },
670
+ {
671
+ id: '115',
672
+ country: 'Latvia',
673
+ capital: 'Riga'
674
+ },
675
+ {
676
+ id: '116',
677
+ country: 'Lebanon',
678
+ capital: 'Beirut'
679
+ },
680
+ {
681
+ id: '117',
682
+ country: 'Lesotho',
683
+ capital: 'Maseru'
684
+ },
685
+ {
686
+ id: '118',
687
+ country: 'Liberia',
688
+ capital: 'Monrovia'
689
+ },
690
+ {
691
+ id: '119',
692
+ country: 'Libyan Arab Jamahiriya',
693
+ capital: 'Tripoli'
694
+ },
695
+ {
696
+ id: '120',
697
+ country: 'Liechtenstein',
698
+ capital: 'Vaduz'
699
+ },
700
+ {
701
+ id: '121',
702
+ country: 'Lithuania',
703
+ capital: 'Vilnius'
704
+ },
705
+ {
706
+ id: '122',
707
+ country: 'Luxembourg',
708
+ capital: 'Luxembourg [Luxemburg/L'
709
+ },
710
+ {
711
+ id: '123',
712
+ country: 'Macao',
713
+ capital: 'Macao'
714
+ },
715
+ {
716
+ id: '124',
717
+ country: 'North Macedonia',
718
+ capital: 'Skopje'
719
+ },
720
+ {
721
+ id: '125',
722
+ country: 'Madagascar',
723
+ capital: 'Antananarivo'
724
+ },
725
+ {
726
+ id: '126',
727
+ country: 'Malawi',
728
+ capital: 'Lilongwe'
729
+ },
730
+ {
731
+ id: '127',
732
+ country: 'Malaysia',
733
+ capital: 'Kuala Lumpur'
734
+ },
735
+ {
736
+ id: '128',
737
+ country: 'Maldives',
738
+ capital: 'Male'
739
+ },
740
+ {
741
+ id: '129',
742
+ country: 'Mali',
743
+ capital: 'Bamako'
744
+ },
745
+ {
746
+ id: '130',
747
+ country: 'Malta',
748
+ capital: 'Valletta'
749
+ },
750
+ {
751
+ id: '131',
752
+ country: 'Marshall Islands',
753
+ capital: 'Dalap-Uliga-Darrit'
754
+ },
755
+ {
756
+ id: '132',
757
+ country: 'Martinique',
758
+ capital: 'Fort-de-France'
759
+ },
760
+ {
761
+ id: '133',
762
+ country: 'Mauritania',
763
+ capital: 'Nouakchott'
764
+ },
765
+ {
766
+ id: '134',
767
+ country: 'Mauritius',
768
+ capital: 'Port-Louis'
769
+ },
770
+ {
771
+ id: '135',
772
+ country: 'Mayotte',
773
+ capital: 'Mamoutzou'
774
+ },
775
+ {
776
+ id: '136',
777
+ country: 'Mexico',
778
+ capital: 'Ciudad de M'
779
+ },
780
+ {
781
+ id: '137',
782
+ country: 'Micronesia, Federated States of',
783
+ capital: 'Palikir'
784
+ },
785
+ {
786
+ id: '138',
787
+ country: 'Moldova',
788
+ capital: 'Chisinau'
789
+ },
790
+ {
791
+ id: '139',
792
+ country: 'Monaco',
793
+ capital: 'Monaco-Ville'
794
+ },
795
+ {
796
+ id: '140',
797
+ country: 'Mongolia',
798
+ capital: 'Ulan Bator'
799
+ },
800
+ {
801
+ id: '141',
802
+ country: 'Montenegro',
803
+ capital: 'Podgorica'
804
+ },
805
+ {
806
+ id: '142',
807
+ country: 'Montserrat',
808
+ capital: 'Plymouth'
809
+ },
810
+ {
811
+ id: '143',
812
+ country: 'Morocco',
813
+ capital: 'Rabat'
814
+ },
815
+ {
816
+ id: '144',
817
+ country: 'Mozambique',
818
+ capital: 'Maputo'
819
+ },
820
+ {
821
+ id: '145',
822
+ country: 'Myanmar',
823
+ capital: 'Rangoon (Yangon)'
824
+ },
825
+ {
826
+ id: '146',
827
+ country: 'Namibia',
828
+ capital: 'Windhoek'
829
+ },
830
+ {
831
+ id: '147',
832
+ country: 'Nauru',
833
+ capital: 'Yaren'
834
+ },
835
+ {
836
+ id: '148',
837
+ country: 'Nepal',
838
+ capital: 'Kathmandu'
839
+ },
840
+ {
841
+ id: '149',
842
+ country: 'Netherlands',
843
+ capital: 'Amsterdam'
844
+ },
845
+ {
846
+ id: '150',
847
+ country: 'Netherlands Antilles',
848
+ capital: 'Willemstad'
849
+ },
850
+ {
851
+ id: '151',
852
+ country: 'New Caledonia',
853
+ capital: 'Noum'
854
+ },
855
+ {
856
+ id: '152',
857
+ country: 'New Zealand',
858
+ capital: 'Wellington'
859
+ },
860
+ {
861
+ id: '153',
862
+ country: 'Nicaragua',
863
+ capital: 'Managua'
864
+ },
865
+ {
866
+ id: '154',
867
+ country: 'Niger',
868
+ capital: 'Niamey'
869
+ },
870
+ {
871
+ id: '155',
872
+ country: 'Nigeria',
873
+ capital: 'Abuja'
874
+ },
875
+ {
876
+ id: '156',
877
+ country: 'Niue',
878
+ capital: 'Alofi'
879
+ },
880
+ {
881
+ id: '157',
882
+ country: 'Norfolk Island',
883
+ capital: 'Kingston'
884
+ },
885
+ {
886
+ id: '158',
887
+ country: 'North Korea',
888
+ capital: 'Pyongyang'
889
+ },
890
+ {
891
+ id: '159',
892
+ country: 'Northern Ireland',
893
+ capital: 'Belfast'
894
+ },
895
+ {
896
+ id: '160',
897
+ country: 'Northern Mariana Islands',
898
+ capital: 'Garapan'
899
+ },
900
+ {
901
+ id: '161',
902
+ country: 'Norway',
903
+ capital: 'Oslo'
904
+ },
905
+ {
906
+ id: '162',
907
+ country: 'Oman',
908
+ capital: 'Masqat'
909
+ },
910
+ {
911
+ id: '163',
912
+ country: 'Pakistan',
913
+ capital: 'Islamabad'
914
+ },
915
+ {
916
+ id: '164',
917
+ country: 'Palau',
918
+ capital: 'Koror'
919
+ },
920
+ {
921
+ id: '165',
922
+ country: 'Palestine',
923
+ capital: 'Gaza'
924
+ },
925
+ {
926
+ id: '166',
927
+ country: 'Panama',
928
+ capital: 'Ciudad de Panamá'
929
+ },
930
+ {
931
+ id: '167',
932
+ country: 'Papua New Guinea',
933
+ capital: 'Port Moresby'
934
+ },
935
+ {
936
+ id: '168',
937
+ country: 'Paraguay',
938
+ capital: 'Asunción'
939
+ },
940
+ {
941
+ id: '169',
942
+ country: 'Peru',
943
+ capital: 'Lima'
944
+ },
945
+ {
946
+ id: '170',
947
+ country: 'Philippines',
948
+ capital: 'Manila'
949
+ },
950
+ {
951
+ id: '171',
952
+ country: 'Pitcairn',
953
+ capital: 'Adamstown'
954
+ },
955
+ {
956
+ id: '172',
957
+ country: 'Poland',
958
+ capital: 'Warszawa'
959
+ },
960
+ {
961
+ id: '173',
962
+ country: 'Portugal',
963
+ capital: 'Lisboa'
964
+ },
965
+ {
966
+ id: '174',
967
+ country: 'Puerto Rico',
968
+ capital: 'San Juan'
969
+ },
970
+ {
971
+ id: '175',
972
+ country: 'Qatar',
973
+ capital: 'Doha'
974
+ },
975
+ {
976
+ id: '176',
977
+ country: 'Reunion',
978
+ capital: 'Saint-Denis'
979
+ },
980
+ {
981
+ id: '177',
982
+ country: 'Romania',
983
+ capital: 'Bucuresti'
984
+ },
985
+ {
986
+ id: '178',
987
+ country: 'Russian Federation',
988
+ capital: 'Moscow'
989
+ },
990
+ {
991
+ id: '179',
992
+ country: 'Rwanda',
993
+ capital: 'Kigali'
994
+ },
995
+ {
996
+ id: '180',
997
+ country: 'Saint Helena',
998
+ capital: 'Jamestown'
999
+ },
1000
+ {
1001
+ id: '181',
1002
+ country: 'Saint Kitts and Nevis',
1003
+ capital: 'Basseterre'
1004
+ },
1005
+ {
1006
+ id: '182',
1007
+ country: 'Saint Lucia',
1008
+ capital: 'Castries'
1009
+ },
1010
+ {
1011
+ id: '183',
1012
+ country: 'Saint Pierre and Miquelon',
1013
+ capital: 'Saint-Pierre'
1014
+ },
1015
+ {
1016
+ id: '184',
1017
+ country: 'Saint Vincent and the Grenadines',
1018
+ capital: 'Kingstown'
1019
+ },
1020
+ {
1021
+ id: '185',
1022
+ country: 'Samoa',
1023
+ capital: 'Apia'
1024
+ },
1025
+ {
1026
+ id: '186',
1027
+ country: 'San Marino',
1028
+ capital: 'San Marino'
1029
+ },
1030
+ {
1031
+ id: '187',
1032
+ country: 'Sao Tome and Principe',
1033
+ capital: 'São Tomé'
1034
+ },
1035
+ {
1036
+ id: '188',
1037
+ country: 'Saudi Arabia',
1038
+ capital: 'Riyadh'
1039
+ },
1040
+ {
1041
+ id: '189',
1042
+ country: 'Scotland',
1043
+ capital: 'Edinburgh'
1044
+ },
1045
+ {
1046
+ id: '190',
1047
+ country: 'Senegal',
1048
+ capital: 'Dakar'
1049
+ },
1050
+ {
1051
+ id: '191',
1052
+ country: 'Serbia',
1053
+ capital: 'Belgrade'
1054
+ },
1055
+ {
1056
+ id: '192',
1057
+ country: 'Seychelles',
1058
+ capital: 'Victoria'
1059
+ },
1060
+ {
1061
+ id: '193',
1062
+ country: 'Sierra Leone',
1063
+ capital: 'Freetown'
1064
+ },
1065
+ {
1066
+ id: '194',
1067
+ country: 'Singapore',
1068
+ capital: 'Singapore'
1069
+ },
1070
+ {
1071
+ id: '195',
1072
+ country: 'Slovakia',
1073
+ capital: 'Bratislava'
1074
+ },
1075
+ {
1076
+ id: '196',
1077
+ country: 'Slovenia',
1078
+ capital: 'Ljubljana'
1079
+ },
1080
+ {
1081
+ id: '197',
1082
+ country: 'Solomon Islands',
1083
+ capital: 'Honiara'
1084
+ },
1085
+ {
1086
+ id: '198',
1087
+ country: 'Somalia',
1088
+ capital: 'Mogadishu'
1089
+ },
1090
+ {
1091
+ id: '199',
1092
+ country: 'South Africa',
1093
+ capital: 'Pretoria'
1094
+ },
1095
+ {
1096
+ id: '200',
1097
+ country: 'South Georgia and the South Sandwich Islands'
1098
+ },
1099
+ {
1100
+ id: '201',
1101
+ country: 'South Korea',
1102
+ capital: 'Seoul'
1103
+ },
1104
+ {
1105
+ id: '202',
1106
+ country: 'South Sudan',
1107
+ capital: 'Juba'
1108
+ },
1109
+ {
1110
+ id: '203',
1111
+ country: 'Spain',
1112
+ capital: 'Madrid'
1113
+ },
1114
+ {
1115
+ id: '204',
1116
+ country: 'Sri Lanka',
1117
+ capital: 'Colombo, Sri Jayawardenepura Kotte'
1118
+ },
1119
+ {
1120
+ id: '205',
1121
+ country: 'Sudan',
1122
+ capital: 'Khartum'
1123
+ },
1124
+ {
1125
+ id: '206',
1126
+ country: 'Suriname',
1127
+ capital: 'Paramaribo'
1128
+ },
1129
+ {
1130
+ id: '207',
1131
+ country: 'Svalbard and Jan Mayen',
1132
+ capital: 'Longyearbyen'
1133
+ },
1134
+ {
1135
+ id: '208',
1136
+ country: 'Swaziland',
1137
+ capital: 'Mbabane'
1138
+ },
1139
+ {
1140
+ id: '209',
1141
+ country: 'Sweden',
1142
+ capital: 'Stockholm'
1143
+ },
1144
+ {
1145
+ id: '210',
1146
+ country: 'Switzerland',
1147
+ capital: 'Bern'
1148
+ },
1149
+ {
1150
+ id: '211',
1151
+ country: 'Syria',
1152
+ capital: 'Damascus'
1153
+ },
1154
+ {
1155
+ id: '212',
1156
+ country: 'Tajikistan',
1157
+ capital: 'Dushanbe'
1158
+ },
1159
+ {
1160
+ id: '213',
1161
+ country: 'Tanzania',
1162
+ capital: 'Dodoma'
1163
+ },
1164
+ {
1165
+ id: '214',
1166
+ country: 'Thailand',
1167
+ capital: 'Bangkok'
1168
+ },
1169
+ {
1170
+ id: '215',
1171
+ country: 'The Democratic Republic of Congo',
1172
+ capital: 'Kinshasa'
1173
+ },
1174
+ {
1175
+ id: '216',
1176
+ country: 'Togo',
1177
+ capital: 'Lomé'
1178
+ },
1179
+ {
1180
+ id: '217',
1181
+ country: 'Tokelau',
1182
+ capital: 'Fakaofo'
1183
+ },
1184
+ {
1185
+ id: '218',
1186
+ country: 'Tonga',
1187
+ capital: "Nuku'alofa"
1188
+ },
1189
+ {
1190
+ id: '219',
1191
+ country: 'Trinidad and Tobago',
1192
+ capital: 'Port-of-Spain'
1193
+ },
1194
+ {
1195
+ id: '220',
1196
+ country: 'Tunisia',
1197
+ capital: 'Tunis'
1198
+ },
1199
+ {
1200
+ id: '221',
1201
+ country: 'Turkey',
1202
+ capital: 'Ankara'
1203
+ },
1204
+ {
1205
+ id: '222',
1206
+ country: 'Turkmenistan',
1207
+ capital: 'Ashgabat'
1208
+ },
1209
+ {
1210
+ id: '223',
1211
+ country: 'Turks and Caicos Islands',
1212
+ capital: 'Cockburn Town'
1213
+ },
1214
+ {
1215
+ id: '224',
1216
+ country: 'Tuvalu',
1217
+ capital: 'Funafuti'
1218
+ },
1219
+ {
1220
+ id: '225',
1221
+ country: 'Uganda',
1222
+ capital: 'Kampala'
1223
+ },
1224
+ {
1225
+ id: '226',
1226
+ country: 'Ukraine',
1227
+ capital: 'Kyiv'
1228
+ },
1229
+ {
1230
+ id: '227',
1231
+ country: 'United Arab Emirates',
1232
+ capital: 'Abu Dhabi'
1233
+ },
1234
+ {
1235
+ id: '228',
1236
+ country: 'United Kingdom',
1237
+ capital: 'London'
1238
+ },
1239
+ {
1240
+ id: '229',
1241
+ country: 'United States',
1242
+ capital: 'Washington'
1243
+ },
1244
+ {
1245
+ id: '230',
1246
+ country: 'United States Minor Outlying Islands'
1247
+ },
1248
+ {
1249
+ id: '231',
1250
+ country: 'Uruguay',
1251
+ capital: 'Montevideo'
1252
+ },
1253
+ {
1254
+ id: '232',
1255
+ country: 'Uzbekistan',
1256
+ capital: 'Toskent'
1257
+ },
1258
+ {
1259
+ id: '233',
1260
+ country: 'Vanuatu',
1261
+ capital: 'Port-Vila'
1262
+ },
1263
+ {
1264
+ id: '234',
1265
+ country: 'Venezuela',
1266
+ capital: 'Caracas'
1267
+ },
1268
+ {
1269
+ id: '235',
1270
+ country: 'Vietnam',
1271
+ capital: 'Hanoi'
1272
+ },
1273
+ {
1274
+ id: '236',
1275
+ country: 'Virgin Islands, British',
1276
+ capital: 'Road Town'
1277
+ },
1278
+ {
1279
+ id: '237',
1280
+ country: 'Virgin Islands, U.S.',
1281
+ capital: 'Charlotte Amalie'
1282
+ },
1283
+ {
1284
+ id: '238',
1285
+ country: 'Wales',
1286
+ capital: 'Cardiff'
1287
+ },
1288
+ {
1289
+ id: '239',
1290
+ country: 'Wallis and Futuna',
1291
+ capital: 'Mata-Utu'
1292
+ },
1293
+ {
1294
+ id: '240',
1295
+ country: 'Western Sahara',
1296
+ capital: 'El-Aai'
1297
+ },
1298
+ {
1299
+ id: '241',
1300
+ country: 'Yemen',
1301
+ capital: 'Sanaa'
1302
+ },
1303
+ {
1304
+ id: '242',
1305
+ country: 'Zambia',
1306
+ capital: 'Lusaka'
1307
+ },
1308
+ {
1309
+ id: '243',
1310
+ country: 'Zimbabwe',
1311
+ capital: 'Harare'
1312
+ }
1313
+ ];
1314
+ function defineCustomElement$1() {
1315
+ if (typeof customElements === "undefined") {
1316
+ return;
1317
+ }
1318
+ const components = ["cat-select-remote-test", "cat-button", "cat-checkbox", "cat-icon", "cat-scrollable", "cat-select-remote", "cat-skeleton", "cat-spinner"];
1319
+ components.forEach(tagName => { switch (tagName) {
1320
+ case "cat-select-remote-test":
1321
+ if (!customElements.get(tagName)) {
1322
+ customElements.define(tagName, CatSelectRemoteTest$1);
1323
+ }
1324
+ break;
1325
+ case "cat-button":
1326
+ if (!customElements.get(tagName)) {
1327
+ defineCustomElement$8();
1328
+ }
1329
+ break;
1330
+ case "cat-checkbox":
1331
+ if (!customElements.get(tagName)) {
1332
+ defineCustomElement$7();
1333
+ }
1334
+ break;
1335
+ case "cat-icon":
1336
+ if (!customElements.get(tagName)) {
1337
+ defineCustomElement$6();
1338
+ }
1339
+ break;
1340
+ case "cat-scrollable":
1341
+ if (!customElements.get(tagName)) {
1342
+ defineCustomElement$5();
1343
+ }
1344
+ break;
1345
+ case "cat-select-remote":
1346
+ if (!customElements.get(tagName)) {
1347
+ defineCustomElement$4();
1348
+ }
1349
+ break;
1350
+ case "cat-skeleton":
1351
+ if (!customElements.get(tagName)) {
1352
+ defineCustomElement$3();
1353
+ }
1354
+ break;
1355
+ case "cat-spinner":
1356
+ if (!customElements.get(tagName)) {
1357
+ defineCustomElement$2();
1358
+ }
1359
+ break;
1360
+ } });
1361
+ }
1362
+
1363
+ const CatSelectRemoteTest = CatSelectRemoteTest$1;
1364
+ const defineCustomElement = defineCustomElement$1;
1365
+
1366
+ export { CatSelectRemoteTest, defineCustomElement };
1367
+
1368
+ //# sourceMappingURL=cat-select-remote-test.js.map