@elixir-cloud/service-registry 2.0.0-alpha.28

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 (53) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +12 -0
  3. package/dist/chunks/chunk.2GTT6OBC.js +558 -0
  4. package/dist/chunks/chunk.422CUO5Q.js +329 -0
  5. package/dist/chunks/chunk.5EYXDARO.js +23 -0
  6. package/dist/chunks/chunk.EDOYU2FL.js +1 -0
  7. package/dist/chunks/chunk.FSZTY25R.js +10 -0
  8. package/dist/chunks/chunk.G7EXF7Y5.js +24 -0
  9. package/dist/chunks/chunk.KXF7UXMG.js +477 -0
  10. package/dist/chunks/chunk.L4ERSGP3.js +59 -0
  11. package/dist/chunks/chunk.P4Y7MKRA.js +1 -0
  12. package/dist/chunks/chunk.SWMR6FP7.js +97 -0
  13. package/dist/chunks/chunk.TWJOFBJX.js +517 -0
  14. package/dist/chunks/chunk.UMP3GNBP.js +10 -0
  15. package/dist/chunks/chunk.WHWUXFA2.js +12 -0
  16. package/dist/components/index.d.ts +2 -0
  17. package/dist/components/index.js +10 -0
  18. package/dist/components/service/index.d.ts +8 -0
  19. package/dist/components/service/index.js +6 -0
  20. package/dist/components/service/service.d.ts +39 -0
  21. package/dist/components/service/service.js +5 -0
  22. package/dist/components/service/tw-styles.d.ts +1 -0
  23. package/dist/components/service/tw-styles.js +2 -0
  24. package/dist/components/services/index.d.ts +8 -0
  25. package/dist/components/services/index.js +6 -0
  26. package/dist/components/services/services.d.ts +46 -0
  27. package/dist/components/services/services.js +5 -0
  28. package/dist/components/services/tw-styles.d.ts +1 -0
  29. package/dist/components/services/tw-styles.js +2 -0
  30. package/dist/custom-elements.json +538 -0
  31. package/dist/events/ecc-service-changed.d.ts +6 -0
  32. package/dist/events/ecc-service-selected.d.ts +6 -0
  33. package/dist/events/ecc-services-changed.d.ts +6 -0
  34. package/dist/events/ecc-services-selected.d.ts +6 -0
  35. package/dist/events/index.d.ts +4 -0
  36. package/dist/global.d.ts +4 -0
  37. package/dist/index.d.ts +1 -0
  38. package/dist/index.js +10 -0
  39. package/dist/providers/index.d.ts +3 -0
  40. package/dist/providers/index.js +3 -0
  41. package/dist/providers/rest-sr-provider.d.ts +30 -0
  42. package/dist/providers/rest-sr-provider.js +2 -0
  43. package/dist/providers/sr-provider.d.ts +58 -0
  44. package/dist/providers/sr-provider.js +1 -0
  45. package/dist/react/index.d.ts +2 -0
  46. package/dist/react/index.js +9 -0
  47. package/dist/react/service/index.d.ts +18 -0
  48. package/dist/react/service/index.js +6 -0
  49. package/dist/react/services/index.d.ts +23 -0
  50. package/dist/react/services/index.js +6 -0
  51. package/dist/vscode.html-custom-data.json +28 -0
  52. package/dist/web-types.json +105 -0
  53. package/package.json +76 -0
@@ -0,0 +1,517 @@
1
+ import { css } from 'lit';
2
+
3
+ // src/components/service/tw-styles.ts
4
+ var ComponentStyles = css` /*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */
5
+ @layer properties;
6
+ @layer theme, base, components, utilities;
7
+ @layer theme {
8
+ :root, :host {
9
+ --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
10
+ "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
11
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
12
+ "Courier New", monospace;
13
+ --spacing: 0.25rem;
14
+ --text-sm: 0.875rem;
15
+ --text-sm--line-height: calc(1.25 / 0.875);
16
+ --text-base: 1rem;
17
+ --text-base--line-height: calc(1.5 / 1);
18
+ --text-xl: 1.25rem;
19
+ --text-xl--line-height: calc(1.75 / 1.25);
20
+ --font-weight-bold: 700;
21
+ --default-font-family: var(--font-sans);
22
+ --default-mono-font-family: var(--font-mono);
23
+ }
24
+ }
25
+ @layer base {
26
+ *, ::after, ::before, ::backdrop, ::file-selector-button {
27
+ box-sizing: border-box;
28
+ margin: 0;
29
+ padding: 0;
30
+ border: 0 solid;
31
+ }
32
+ html, :host {
33
+ line-height: 1.5;
34
+ -webkit-text-size-adjust: 100%;
35
+ tab-size: 4;
36
+ font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
37
+ font-feature-settings: var(--default-font-feature-settings, normal);
38
+ font-variation-settings: var(--default-font-variation-settings, normal);
39
+ -webkit-tap-highlight-color: transparent;
40
+ }
41
+ hr {
42
+ height: 0;
43
+ color: inherit;
44
+ border-top-width: 1px;
45
+ }
46
+ abbr:where([title]) {
47
+ -webkit-text-decoration: underline dotted;
48
+ text-decoration: underline dotted;
49
+ }
50
+ h1, h2, h3, h4, h5, h6 {
51
+ font-size: inherit;
52
+ font-weight: inherit;
53
+ }
54
+ a {
55
+ color: inherit;
56
+ -webkit-text-decoration: inherit;
57
+ text-decoration: inherit;
58
+ }
59
+ b, strong {
60
+ font-weight: bolder;
61
+ }
62
+ code, kbd, samp, pre {
63
+ font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
64
+ font-feature-settings: var(--default-mono-font-feature-settings, normal);
65
+ font-variation-settings: var(--default-mono-font-variation-settings, normal);
66
+ font-size: 1em;
67
+ }
68
+ small {
69
+ font-size: 80%;
70
+ }
71
+ sub, sup {
72
+ font-size: 75%;
73
+ line-height: 0;
74
+ position: relative;
75
+ vertical-align: baseline;
76
+ }
77
+ sub {
78
+ bottom: -0.25em;
79
+ }
80
+ sup {
81
+ top: -0.5em;
82
+ }
83
+ table {
84
+ text-indent: 0;
85
+ border-color: inherit;
86
+ border-collapse: collapse;
87
+ }
88
+ :-moz-focusring {
89
+ outline: auto;
90
+ }
91
+ progress {
92
+ vertical-align: baseline;
93
+ }
94
+ summary {
95
+ display: list-item;
96
+ }
97
+ ol, ul, menu {
98
+ list-style: none;
99
+ }
100
+ img, svg, video, canvas, audio, iframe, embed, object {
101
+ display: block;
102
+ vertical-align: middle;
103
+ }
104
+ img, video {
105
+ max-width: 100%;
106
+ height: auto;
107
+ }
108
+ button, input, select, optgroup, textarea, ::file-selector-button {
109
+ font: inherit;
110
+ font-feature-settings: inherit;
111
+ font-variation-settings: inherit;
112
+ letter-spacing: inherit;
113
+ color: inherit;
114
+ border-radius: 0;
115
+ background-color: transparent;
116
+ opacity: 1;
117
+ }
118
+ :where(select:is([multiple], [size])) optgroup {
119
+ font-weight: bolder;
120
+ }
121
+ :where(select:is([multiple], [size])) optgroup option {
122
+ padding-inline-start: 20px;
123
+ }
124
+ ::file-selector-button {
125
+ margin-inline-end: 4px;
126
+ }
127
+ ::placeholder {
128
+ opacity: 1;
129
+ }
130
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
131
+ ::placeholder {
132
+ color: currentcolor;
133
+ @supports (color: color-mix(in lab, red, red)) {
134
+ color: color-mix(in oklab, currentcolor 50%, transparent);
135
+ }
136
+ }
137
+ }
138
+ textarea {
139
+ resize: vertical;
140
+ }
141
+ ::-webkit-search-decoration {
142
+ -webkit-appearance: none;
143
+ }
144
+ ::-webkit-date-and-time-value {
145
+ min-height: 1lh;
146
+ text-align: inherit;
147
+ }
148
+ ::-webkit-datetime-edit {
149
+ display: inline-flex;
150
+ }
151
+ ::-webkit-datetime-edit-fields-wrapper {
152
+ padding: 0;
153
+ }
154
+ ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
155
+ padding-block: 0;
156
+ }
157
+ :-moz-ui-invalid {
158
+ box-shadow: none;
159
+ }
160
+ button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
161
+ appearance: button;
162
+ }
163
+ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
164
+ height: auto;
165
+ }
166
+ [hidden]:where(:not([hidden="until-found"])) {
167
+ display: none !important;
168
+ }
169
+ }
170
+ @layer utilities {
171
+ .static {
172
+ position: static;
173
+ }
174
+ .mt-2 {
175
+ margin-top: calc(var(--spacing) * 2);
176
+ }
177
+ .mt-4 {
178
+ margin-top: calc(var(--spacing) * 4);
179
+ }
180
+ .mb-6 {
181
+ margin-bottom: calc(var(--spacing) * 6);
182
+ }
183
+ .flex {
184
+ display: flex;
185
+ }
186
+ .w-3\\.5 {
187
+ width: calc(var(--spacing) * 3.5);
188
+ }
189
+ .w-full {
190
+ width: 100%;
191
+ }
192
+ .flex-col {
193
+ flex-direction: column;
194
+ }
195
+ .flex-row {
196
+ flex-direction: row;
197
+ }
198
+ .flex-wrap {
199
+ flex-wrap: wrap;
200
+ }
201
+ .items-center {
202
+ align-items: center;
203
+ }
204
+ .justify-between {
205
+ justify-content: space-between;
206
+ }
207
+ .gap-1 {
208
+ gap: calc(var(--spacing) * 1);
209
+ }
210
+ .gap-2 {
211
+ gap: calc(var(--spacing) * 2);
212
+ }
213
+ .gap-3 {
214
+ gap: calc(var(--spacing) * 3);
215
+ }
216
+ .gap-4 {
217
+ gap: calc(var(--spacing) * 4);
218
+ }
219
+ .space-y-4 {
220
+ :where(& > :not(:last-child)) {
221
+ --tw-space-y-reverse: 0;
222
+ margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
223
+ margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
224
+ }
225
+ }
226
+ .space-y-6 {
227
+ :where(& > :not(:last-child)) {
228
+ --tw-space-y-reverse: 0;
229
+ margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
230
+ margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
231
+ }
232
+ }
233
+ .truncate {
234
+ overflow: hidden;
235
+ text-overflow: ellipsis;
236
+ white-space: nowrap;
237
+ }
238
+ .rounded-md {
239
+ border-radius: calc(var(--radius) - 2px);
240
+ }
241
+ .border {
242
+ border-style: var(--tw-border-style);
243
+ border-width: 1px;
244
+ }
245
+ .border-destructive {
246
+ border-color: var(--destructive);
247
+ }
248
+ .bg-destructive\\/10 {
249
+ background-color: var(--destructive);
250
+ @supports (color: color-mix(in lab, red, red)) {
251
+ background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
252
+ }
253
+ }
254
+ .p-4 {
255
+ padding: calc(var(--spacing) * 4);
256
+ }
257
+ .font-mono {
258
+ font-family: var(--font-mono);
259
+ }
260
+ .text-base {
261
+ font-size: var(--text-base);
262
+ line-height: var(--tw-leading, var(--text-base--line-height));
263
+ }
264
+ .text-sm {
265
+ font-size: var(--text-sm);
266
+ line-height: var(--tw-leading, var(--text-sm--line-height));
267
+ }
268
+ .text-xl {
269
+ font-size: var(--text-xl);
270
+ line-height: var(--tw-leading, var(--text-xl--line-height));
271
+ }
272
+ .font-bold {
273
+ --tw-font-weight: var(--font-weight-bold);
274
+ font-weight: var(--font-weight-bold);
275
+ }
276
+ .break-all {
277
+ word-break: break-all;
278
+ }
279
+ .text-destructive-foreground {
280
+ color: var(--destructive-foreground);
281
+ }
282
+ .text-muted-foreground {
283
+ color: var(--muted-foreground);
284
+ }
285
+ .text-primary {
286
+ color: var(--primary);
287
+ }
288
+ .outline {
289
+ outline-style: var(--tw-outline-style);
290
+ outline-width: 1px;
291
+ }
292
+ .hover\\:text-primary\\/80 {
293
+ &:hover {
294
+ @media (hover: hover) {
295
+ color: var(--primary);
296
+ @supports (color: color-mix(in lab, red, red)) {
297
+ color: color-mix(in oklab, var(--primary) 80%, transparent);
298
+ }
299
+ }
300
+ }
301
+ }
302
+ .hover\\:underline {
303
+ &:hover {
304
+ @media (hover: hover) {
305
+ text-decoration-line: underline;
306
+ }
307
+ }
308
+ }
309
+ .md\\:flex-row {
310
+ @media (width >= 48rem) {
311
+ flex-direction: row;
312
+ }
313
+ }
314
+ .md\\:items-center {
315
+ @media (width >= 48rem) {
316
+ align-items: center;
317
+ }
318
+ }
319
+ .part\\:mb-3 {
320
+ &::part(base) {
321
+ margin-bottom: calc(var(--spacing) * 3);
322
+ }
323
+ }
324
+ .part\\:h-4 {
325
+ &::part(base) {
326
+ height: calc(var(--spacing) * 4);
327
+ }
328
+ }
329
+ .part\\:h-6 {
330
+ &::part(base) {
331
+ height: calc(var(--spacing) * 6);
332
+ }
333
+ }
334
+ .part\\:h-10 {
335
+ &::part(base) {
336
+ height: calc(var(--spacing) * 10);
337
+ }
338
+ }
339
+ .part\\:w-3\\/4 {
340
+ &::part(base) {
341
+ width: calc(3/4 * 100%);
342
+ }
343
+ }
344
+ .part\\:w-20 {
345
+ &::part(base) {
346
+ width: calc(var(--spacing) * 20);
347
+ }
348
+ }
349
+ .part\\:w-24 {
350
+ &::part(base) {
351
+ width: calc(var(--spacing) * 24);
352
+ }
353
+ }
354
+ .part\\:w-32 {
355
+ &::part(base) {
356
+ width: calc(var(--spacing) * 32);
357
+ }
358
+ }
359
+ .part\\:w-40 {
360
+ &::part(base) {
361
+ width: calc(var(--spacing) * 40);
362
+ }
363
+ }
364
+ .part\\:w-48 {
365
+ &::part(base) {
366
+ width: calc(var(--spacing) * 48);
367
+ }
368
+ }
369
+ .part\\:w-64 {
370
+ &::part(base) {
371
+ width: calc(var(--spacing) * 64);
372
+ }
373
+ }
374
+ .part\\:w-full {
375
+ &::part(base) {
376
+ width: 100%;
377
+ }
378
+ }
379
+ }
380
+ @property --tw-animation-delay {
381
+ syntax: "*";
382
+ inherits: false;
383
+ initial-value: 0s;
384
+ }
385
+ @property --tw-animation-direction {
386
+ syntax: "*";
387
+ inherits: false;
388
+ initial-value: normal;
389
+ }
390
+ @property --tw-animation-duration {
391
+ syntax: "*";
392
+ inherits: false;
393
+ }
394
+ @property --tw-animation-fill-mode {
395
+ syntax: "*";
396
+ inherits: false;
397
+ initial-value: none;
398
+ }
399
+ @property --tw-animation-iteration-count {
400
+ syntax: "*";
401
+ inherits: false;
402
+ initial-value: 1;
403
+ }
404
+ @property --tw-enter-opacity {
405
+ syntax: "*";
406
+ inherits: false;
407
+ initial-value: 1;
408
+ }
409
+ @property --tw-enter-rotate {
410
+ syntax: "*";
411
+ inherits: false;
412
+ initial-value: 0;
413
+ }
414
+ @property --tw-enter-scale {
415
+ syntax: "*";
416
+ inherits: false;
417
+ initial-value: 1;
418
+ }
419
+ @property --tw-enter-translate-x {
420
+ syntax: "*";
421
+ inherits: false;
422
+ initial-value: 0;
423
+ }
424
+ @property --tw-enter-translate-y {
425
+ syntax: "*";
426
+ inherits: false;
427
+ initial-value: 0;
428
+ }
429
+ @property --tw-exit-opacity {
430
+ syntax: "*";
431
+ inherits: false;
432
+ initial-value: 1;
433
+ }
434
+ @property --tw-exit-rotate {
435
+ syntax: "*";
436
+ inherits: false;
437
+ initial-value: 0;
438
+ }
439
+ @property --tw-exit-scale {
440
+ syntax: "*";
441
+ inherits: false;
442
+ initial-value: 1;
443
+ }
444
+ @property --tw-exit-translate-x {
445
+ syntax: "*";
446
+ inherits: false;
447
+ initial-value: 0;
448
+ }
449
+ @property --tw-exit-translate-y {
450
+ syntax: "*";
451
+ inherits: false;
452
+ initial-value: 0;
453
+ }
454
+ @layer base {
455
+ * {
456
+ border-color: var(--border);
457
+ outline-color: var(--ring);
458
+ @supports (color: color-mix(in lab, red, red)) {
459
+ outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
460
+ }
461
+ }
462
+ body {
463
+ background-color: var(--background);
464
+ color: var(--foreground);
465
+ }
466
+ }
467
+ :host {
468
+ font-family: inherit;
469
+ line-height: inherit;
470
+ }
471
+ @property --tw-space-y-reverse {
472
+ syntax: "*";
473
+ inherits: false;
474
+ initial-value: 0;
475
+ }
476
+ @property --tw-border-style {
477
+ syntax: "*";
478
+ inherits: false;
479
+ initial-value: solid;
480
+ }
481
+ @property --tw-font-weight {
482
+ syntax: "*";
483
+ inherits: false;
484
+ }
485
+ @property --tw-outline-style {
486
+ syntax: "*";
487
+ inherits: false;
488
+ initial-value: solid;
489
+ }
490
+ @layer properties {
491
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
492
+ *, ::before, ::after, ::backdrop {
493
+ --tw-space-y-reverse: 0;
494
+ --tw-border-style: solid;
495
+ --tw-font-weight: initial;
496
+ --tw-outline-style: solid;
497
+ --tw-animation-delay: 0s;
498
+ --tw-animation-direction: normal;
499
+ --tw-animation-duration: initial;
500
+ --tw-animation-fill-mode: none;
501
+ --tw-animation-iteration-count: 1;
502
+ --tw-enter-opacity: 1;
503
+ --tw-enter-rotate: 0;
504
+ --tw-enter-scale: 1;
505
+ --tw-enter-translate-x: 0;
506
+ --tw-enter-translate-y: 0;
507
+ --tw-exit-opacity: 1;
508
+ --tw-exit-rotate: 0;
509
+ --tw-exit-scale: 1;
510
+ --tw-exit-translate-x: 0;
511
+ --tw-exit-translate-y: 0;
512
+ }
513
+ }
514
+ }
515
+ `;
516
+
517
+ export { ComponentStyles };
@@ -0,0 +1,10 @@
1
+ import { service_default } from './chunk.KXF7UXMG.js';
2
+
3
+ // src/components/service/index.ts
4
+ customElements.define(
5
+ "ecc-client-ga4gh-service-registry-service",
6
+ service_default
7
+ );
8
+ var service_default2 = service_default;
9
+
10
+ export { service_default2 as service_default };
@@ -0,0 +1,12 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __decorateClass = (decorators, target, key, kind) => {
4
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
5
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
6
+ if (decorator = decorators[i])
7
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8
+ if (kind && result) __defProp(target, key, result);
9
+ return result;
10
+ };
11
+
12
+ export { __decorateClass };
@@ -0,0 +1,2 @@
1
+ import "./services/index.js";
2
+ import "./service/index.js";
@@ -0,0 +1,10 @@
1
+ import '../chunks/chunk.EDOYU2FL.js';
2
+ import '../chunks/chunk.FSZTY25R.js';
3
+ import '../chunks/chunk.422CUO5Q.js';
4
+ import '../chunks/chunk.2GTT6OBC.js';
5
+ import '../chunks/chunk.UMP3GNBP.js';
6
+ import '../chunks/chunk.KXF7UXMG.js';
7
+ import '../chunks/chunk.TWJOFBJX.js';
8
+ import '../chunks/chunk.SWMR6FP7.js';
9
+ import '../chunks/chunk.L4ERSGP3.js';
10
+ import '../chunks/chunk.WHWUXFA2.js';
@@ -0,0 +1,8 @@
1
+ import ECCClientGa4ghServiceRegistryService from "./service.js";
2
+ export * from "./service.js";
3
+ export default ECCClientGa4ghServiceRegistryService;
4
+ declare global {
5
+ interface HTMLElementTagNameMap {
6
+ "ecc-client-ga4gh-service-registry-service": ECCClientGa4ghServiceRegistryService;
7
+ }
8
+ }
@@ -0,0 +1,6 @@
1
+ export { service_default as default } from '../../chunks/chunk.UMP3GNBP.js';
2
+ export { ECCClientGa4ghServiceRegistryService } from '../../chunks/chunk.KXF7UXMG.js';
3
+ import '../../chunks/chunk.TWJOFBJX.js';
4
+ import '../../chunks/chunk.SWMR6FP7.js';
5
+ import '../../chunks/chunk.L4ERSGP3.js';
6
+ import '../../chunks/chunk.WHWUXFA2.js';
@@ -0,0 +1,39 @@
1
+ import { LitElement } from "lit";
2
+ import { ServiceRegistryProvider } from "../../providers/sr-provider.js";
3
+ import "@elixir-cloud/design/components/table/index.js";
4
+ import "@elixir-cloud/design/components/button/index.js";
5
+ import "@elixir-cloud/design/components/badge/index.js";
6
+ import "@elixir-cloud/design/components/skeleton/index.js";
7
+ import "@elixir-cloud/design/components/card/index.js";
8
+ import "@elixir-cloud/design/components/tabs/index.js";
9
+ import "@elixir-cloud/design/components/separator/index.js";
10
+ /**
11
+ * @summary This component is used to display details for a single service from Service Registry API.
12
+ * @since 1.0.0
13
+ *
14
+ * @property {string} baseUrl - Base URL of the Service Registry instance
15
+ * @property {string} serviceId - ID of the service to display
16
+ * @property {ServiceRegistryProvider} provider - Custom data provider (optional, overrides baseUrl)
17
+ *
18
+ * @fires ecc-service-changed - Fired when service data changes
19
+ */
20
+ export declare class ECCClientGa4ghServiceRegistryService extends LitElement {
21
+ static styles: import("lit").CSSResult[];
22
+ baseUrl: string;
23
+ serviceId: string;
24
+ provider?: ServiceRegistryProvider;
25
+ private service;
26
+ private loading;
27
+ private error;
28
+ private _provider;
29
+ protected firstUpdated(): Promise<void>;
30
+ protected updated(changedProperties: Map<PropertyKey, unknown>): void;
31
+ private loadData;
32
+ private static formatDate;
33
+ private static getTypeVariant;
34
+ private renderServiceHeader;
35
+ private renderServiceContent;
36
+ static renderLoading(): import("lit").TemplateResult<1>;
37
+ render(): import("lit").TemplateResult<1>;
38
+ }
39
+ export default ECCClientGa4ghServiceRegistryService;
@@ -0,0 +1,5 @@
1
+ export { ECCClientGa4ghServiceRegistryService, service_default as default } from '../../chunks/chunk.KXF7UXMG.js';
2
+ import '../../chunks/chunk.TWJOFBJX.js';
3
+ import '../../chunks/chunk.SWMR6FP7.js';
4
+ import '../../chunks/chunk.L4ERSGP3.js';
5
+ import '../../chunks/chunk.WHWUXFA2.js';
@@ -0,0 +1 @@
1
+ export declare const ComponentStyles: import("lit").CSSResult;
@@ -0,0 +1,2 @@
1
+ export { ComponentStyles } from '../../chunks/chunk.TWJOFBJX.js';
2
+ import '../../chunks/chunk.WHWUXFA2.js';
@@ -0,0 +1,8 @@
1
+ import { ECCClientGa4ghServiceRegistryServices } from "./services.js";
2
+ export * from "./services.js";
3
+ export default ECCClientGa4ghServiceRegistryServices;
4
+ declare global {
5
+ interface HTMLElementTagNameMap {
6
+ "ecc-client-ga4gh-service-registry-services": ECCClientGa4ghServiceRegistryServices;
7
+ }
8
+ }
@@ -0,0 +1,6 @@
1
+ export { services_default as default } from '../../chunks/chunk.FSZTY25R.js';
2
+ export { ECCClientGa4ghServiceRegistryServices } from '../../chunks/chunk.422CUO5Q.js';
3
+ import '../../chunks/chunk.2GTT6OBC.js';
4
+ import '../../chunks/chunk.SWMR6FP7.js';
5
+ import '../../chunks/chunk.L4ERSGP3.js';
6
+ import '../../chunks/chunk.WHWUXFA2.js';
@@ -0,0 +1,46 @@
1
+ import { LitElement } from "lit";
2
+ import { ServiceRegistryProvider } from "../../providers/sr-provider.js";
3
+ import "@elixir-cloud/design/components/table/index.js";
4
+ import "@elixir-cloud/design/components/button/index.js";
5
+ import "@elixir-cloud/design/components/input/index.js";
6
+ import "@elixir-cloud/design/components/select/index.js";
7
+ import "@elixir-cloud/design/components/label/index.js";
8
+ import "@elixir-cloud/design/components/pagination/index.js";
9
+ import "@elixir-cloud/design/components/badge/index.js";
10
+ import "@elixir-cloud/design/components/skeleton/index.js";
11
+ /**
12
+ * @summary This component is used to display data from Service Registry API.
13
+ * @since 1.0.0
14
+ *
15
+ * @property {string} baseUrl - Base URL of the Service Registry instance
16
+ * @property {boolean} filter - Determines if the service filter field should be rendered
17
+ * @property {boolean} search - Determines if the search field should be rendered
18
+ * @property {ServiceRegistryProvider} provider - Custom data provider (optional, overrides baseUrl)
19
+ *
20
+ * @fires ecc-services-changed - Fired when services data changes
21
+ * @fires ecc-service-selected - Fired when a service is clicked
22
+ */
23
+ export declare class ECCClientGa4ghServiceRegistryServices extends LitElement {
24
+ static styles: import("lit").CSSResult[];
25
+ baseUrl: string;
26
+ filter: boolean;
27
+ search: boolean;
28
+ provider?: ServiceRegistryProvider;
29
+ private searchQuery;
30
+ private services;
31
+ private loading;
32
+ private error;
33
+ private serviceTypes;
34
+ private searchTimeout;
35
+ private _provider;
36
+ protected firstUpdated(): Promise<void>;
37
+ protected updated(changedProperties: Map<PropertyKey, unknown>): void;
38
+ private loadServiceTypes;
39
+ private loadData;
40
+ private handleSearch;
41
+ private filterServices;
42
+ private handleViewDetails;
43
+ private static renderSkeletonRows;
44
+ private static getServiceTypeVariant;
45
+ render(): import("lit").TemplateResult<1>;
46
+ }
@@ -0,0 +1,5 @@
1
+ export { ECCClientGa4ghServiceRegistryServices } from '../../chunks/chunk.422CUO5Q.js';
2
+ import '../../chunks/chunk.2GTT6OBC.js';
3
+ import '../../chunks/chunk.SWMR6FP7.js';
4
+ import '../../chunks/chunk.L4ERSGP3.js';
5
+ import '../../chunks/chunk.WHWUXFA2.js';
@@ -0,0 +1 @@
1
+ export declare const ComponentStyles: import("lit").CSSResult;