@meridianlabs/log-viewer 0.3.179 → 0.3.180

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 (48) hide show
  1. package/lib/app/appearance/icons.d.ts +1 -0
  2. package/lib/app/appearance/icons.d.ts.map +1 -1
  3. package/lib/app/log-view/tabs/SamplesTab.d.ts.map +1 -1
  4. package/lib/app/log-view/tabs/types.d.ts +1 -17
  5. package/lib/app/log-view/tabs/types.d.ts.map +1 -1
  6. package/lib/app/samples/SampleSummaryView.d.ts.map +1 -1
  7. package/lib/app/samples/SamplesTools.d.ts.map +1 -1
  8. package/lib/app/samples/descriptor/samplesDescriptor.d.ts.map +1 -1
  9. package/lib/app/samples/descriptor/types.d.ts +7 -11
  10. package/lib/app/samples/descriptor/types.d.ts.map +1 -1
  11. package/lib/app/samples/list/SampleList.d.ts +4 -5
  12. package/lib/app/samples/list/SampleList.d.ts.map +1 -1
  13. package/lib/app/samples/list/columns.d.ts +6 -0
  14. package/lib/app/samples/list/columns.d.ts.map +1 -0
  15. package/lib/app/samples/sample-tools/filters.d.ts.map +1 -1
  16. package/lib/app/samples/sample-tools/sample-filter/SampleFilter.d.ts.map +1 -1
  17. package/lib/app/samples/sample-tools/sample-filter/completions.d.ts.map +1 -1
  18. package/lib/app/samples/sample-tools/sample-filter/language.d.ts.map +1 -1
  19. package/lib/app/samples/sampleLimit.d.ts.map +1 -1
  20. package/lib/app/samples/status/sampleStatus.d.ts +13 -0
  21. package/lib/app/samples/status/sampleStatus.d.ts.map +1 -0
  22. package/lib/app/samples/transcript/SampleLimitEventView.d.ts.map +1 -1
  23. package/lib/app/samples-panel/samples-grid/SamplesGrid.d.ts.map +1 -1
  24. package/lib/app/types.d.ts +0 -2
  25. package/lib/app/types.d.ts.map +1 -1
  26. package/lib/constants.d.ts +0 -7
  27. package/lib/constants.d.ts.map +1 -1
  28. package/lib/index.js +1265 -1712
  29. package/lib/index.js.map +1 -1
  30. package/lib/state/hooks.d.ts +0 -2
  31. package/lib/state/hooks.d.ts.map +1 -1
  32. package/lib/state/logPolling.d.ts.map +1 -1
  33. package/lib/state/logSlice.d.ts +0 -2
  34. package/lib/state/logSlice.d.ts.map +1 -1
  35. package/lib/styles/index.css +79 -118
  36. package/package.json +7 -4
  37. package/lib/app/log-view/tabs/grouping.d.ts +0 -7
  38. package/lib/app/log-view/tabs/grouping.d.ts.map +0 -1
  39. package/lib/app/samples/list/SampleHeader.d.ts +0 -14
  40. package/lib/app/samples/list/SampleHeader.d.ts.map +0 -1
  41. package/lib/app/samples/list/SampleRow.d.ts +0 -17
  42. package/lib/app/samples/list/SampleRow.d.ts.map +0 -1
  43. package/lib/app/samples/list/SampleSeparator.d.ts +0 -9
  44. package/lib/app/samples/list/SampleSeparator.d.ts.map +0 -1
  45. package/lib/app/samples/sample-tools/EpochFilter.d.ts +0 -9
  46. package/lib/app/samples/sample-tools/EpochFilter.d.ts.map +0 -1
  47. package/lib/app/samples/sample-tools/SortFilter.d.ts +0 -18
  48. package/lib/app/samples/sample-tools/SortFilter.d.ts.map +0 -1
@@ -9,8 +9,6 @@ export declare const useScores: () => import('../app/types').ScoreLabel[];
9
9
  export declare const useEvalDescriptor: () => import('../app/samples/descriptor/types').EvalDescriptor | null | undefined;
10
10
  export declare const useSampleDescriptor: () => import('../app/samples/descriptor/samplesDescriptor').SamplesDescriptor | undefined;
11
11
  export declare const useFilteredSamples: () => SampleSummary[];
12
- export declare const useGroupBy: () => "none" | "sample" | "epoch";
13
- export declare const useGroupByOrder: () => "asc" | "desc";
14
12
  export declare const useSelectedSampleSummary: () => SampleSummary | undefined;
15
13
  export declare const useSampleData: () => {
16
14
  selectedSampleIdentifier: import('../app/types').SampleHandle | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/state/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAU,MAAM,eAAe,CAA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sourceRoot":"","sources":["../../src/state/logPolling.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAQrC,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,UAAU,EACrB,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,KAAK,IAAI;gCA0DX,MAAM;;yCAqGG,MAAM;;;EAwCnD"}
@@ -13,8 +13,6 @@ export interface LogSlice {
13
13
  setFilter: (filter: string) => void;
14
14
  setFilterError: (error: FilterError) => void;
15
15
  clearFilterError: () => void;
16
- setEpoch: (epoch: string) => void;
17
- setSort: (sort: string) => void;
18
16
  setSelectedScores: (scores: ScoreLabel[]) => void;
19
17
  setScores: (scores: ScoreLabel[]) => void;
20
18
  resetFiltering: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"logSlice.d.ts","sourceRoot":"","sources":["../../src/state/logSlice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,QAAQ,CAAC;IACd,UAAU,EAAE;QACV,YAAY,EAAE,CACZ,QAAQ,EAAE,MAAM,GAAG,MAAM,EACzB,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,KACZ,IAAI,CAAC;QACV,mBAAmB,EAAE,MAAM,IAAI,CAAC;QAGhC,qBAAqB,EAAE,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;QAGrD,uBAAuB,EAAE,MAAM,IAAI,CAAC;QAGpC,yBAAyB,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;QAC7D,2BAA2B,EAAE,MAAM,IAAI,CAAC;QAGx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AAE,MAAM,IAAI,CAAC;KACtC,CAAC;CACH;AAoBD,eAAO,MAAM,cAAc,GACzB,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,KAAK,IAAI,EAC9C,KAAK,MAAM,UAAU,EACrB,QAAQ,GAAG,KACV,CAAC,QAAQ,EAAE,MAAM,IAAI,CAqOvB,CAAC;AAGF,eAAO,MAAM,oBAAoB,GAC/B,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,KAAK,IAAI,SAO/C,CAAC"}
@@ -16303,15 +16303,6 @@ a._citationLink_1ggvf_9:hover {
16303
16303
  border-color: var(--bs-orange);
16304
16304
  color: var(--bs-body-bg);
16305
16305
  }
16306
- ._flex_1kye9_1 {
16307
- display: flex;
16308
- }
16309
-
16310
- ._label_1kye9_5 {
16311
- align-self: center;
16312
- margin-right: 0.3em;
16313
- margin-left: 0.2em;
16314
- }
16315
16306
  ._button_1bbut_1 {
16316
16307
  border: none;
16317
16308
  padding: 0;
@@ -16591,13 +16582,13 @@ button._segment_mhb7y_9 {
16591
16582
  cursor: pointer;
16592
16583
  }
16593
16584
 
16594
- ._gridWrapper_oveew_5 {
16585
+ ._gridWrapper_anqm2_5 {
16595
16586
  height: 100%;
16596
16587
  width: 100%;
16597
16588
  position: relative;
16598
16589
  }
16599
16590
 
16600
- ._gridContainer_oveew_11 {
16591
+ ._gridContainer_anqm2_11 {
16601
16592
  position: absolute;
16602
16593
  top: 0;
16603
16594
  left: 0;
@@ -16605,20 +16596,21 @@ button._segment_mhb7y_9 {
16605
16596
  bottom: 0;
16606
16597
  }
16607
16598
 
16608
- ._iconCell_oveew_19 {
16599
+ ._iconCell_anqm2_19 {
16609
16600
  display: flex;
16610
16601
  align-items: center;
16611
16602
  justify-content: center;
16603
+ gap: 2px;
16612
16604
  width: 100%;
16613
16605
  font-size: 0.95rem;
16614
16606
  color: var(--bs-gray-600);
16615
16607
  }
16616
16608
 
16617
- ._iconCell_oveew_19 .ii:before {
16609
+ ._iconCell_anqm2_19 .ii:before {
16618
16610
  background-color: var(--bs-gray-600);
16619
16611
  }
16620
16612
 
16621
- ._numberCell_oveew_32 {
16613
+ ._numberCell_anqm2_33 {
16622
16614
  display: flex;
16623
16615
  justify-content: flex-start;
16624
16616
  align-items: center;
@@ -16628,62 +16620,68 @@ button._segment_mhb7y_9 {
16628
16620
  overflow: visible;
16629
16621
  }
16630
16622
 
16631
- ._taskText_oveew_42 {
16623
+ ._taskText_anqm2_43 {
16632
16624
  overflow: hidden;
16633
16625
  text-overflow: ellipsis;
16634
16626
  white-space: nowrap;
16635
16627
  max-width: 100%;
16636
16628
  }
16637
16629
 
16638
- ._folder_oveew_49,
16639
- ._taskText_oveew_42 {
16630
+ ._folder_anqm2_50,
16631
+ ._taskText_anqm2_43 {
16640
16632
  color: var(--bs-link-color);
16641
16633
  font-size: 12.8px;
16642
16634
  }
16643
- ._nameCell_mdto2_1 {
16635
+
16636
+ ._fullWidthHeight_anqm2_56 {
16637
+ width: inherit;
16638
+ height: inherit;
16639
+ }
16640
+ ._nameCell_1jtud_1 {
16644
16641
  display: flex;
16645
16642
  align-items: center;
16646
16643
  min-width: 0;
16647
16644
  flex: 1;
16648
16645
  }
16649
16646
 
16650
- ._modelCell_mdto2_8 {
16647
+ ._modelCell_1jtud_8 {
16651
16648
  display: flex;
16652
16649
  align-items: center;
16653
16650
  min-width: 0;
16654
16651
  flex: 1;
16655
16652
  }
16656
16653
 
16657
- ._scoreCell_mdto2_15 {
16654
+ ._scoreCell_1jtud_15 {
16658
16655
  display: flex;
16659
16656
  align-items: center;
16660
16657
  font-size: 0.875rem;
16661
16658
  color: var(--bs-gray-600);
16662
16659
  }
16663
16660
 
16664
- ._error_mdto2_22 {
16661
+ ._error_1jtud_22 {
16665
16662
  color: var(--bs-danger);
16666
16663
  }
16667
16664
 
16668
- ._started_mdto2_26 {
16665
+ ._started_1jtud_26 {
16669
16666
  color: var(--bs-secondary);
16670
16667
  }
16671
16668
 
16672
- ._success_mdto2_30 {
16669
+ ._success_1jtud_30 {
16673
16670
  color: var(--bs-success);
16674
16671
  }
16675
16672
 
16676
- ._cancelled_mdto2_34 {
16673
+ ._cancelled_1jtud_34 {
16677
16674
  color: var(--bs-secondary);
16678
16675
  }
16679
16676
 
16680
- ._statusCell_mdto2_38 {
16677
+ ._statusCell_1jtud_38 {
16681
16678
  display: flex;
16682
16679
  align-items: center;
16683
16680
  justify-content: center;
16681
+ gap: 2px;
16684
16682
  }
16685
16683
 
16686
- ._dateCell_mdto2_44 {
16684
+ ._dateCell_1jtud_45 {
16687
16685
  display: flex;
16688
16686
  align-items: center;
16689
16687
  min-width: 0;
@@ -19099,15 +19097,6 @@ span.ap-marker-container:hover span.ap-marker {
19099
19097
  min-width: 300px;
19100
19098
  width: fit-content;
19101
19099
  }
19102
- ._container_15b4r_1 {
19103
- display: flex;
19104
- }
19105
-
19106
- ._label_15b4r_5 {
19107
- align-self: center;
19108
- margin-right: 0.3em;
19109
- margin-left: 0.2em;
19110
- }
19111
19100
  ._label_jbrqc_1 {
19112
19101
  align-self: center;
19113
19102
  margin-right: 0.3em;
@@ -19180,86 +19169,88 @@ span.ap-marker-container:hover span.ap-marker {
19180
19169
  ._bodyColorButton_uvlpz_54 {
19181
19170
  background-color: var(--bs-body-bg);
19182
19171
  }
19183
- ._grid_173xh_1 {
19184
- display: grid;
19185
- padding-top: 1em;
19186
- padding-bottom: 1em;
19187
- border-bottom: solid var(--bs-border-color) 1px;
19188
- cursor: pointer;
19189
- overflow-y: hidden;
19190
- padding-left: 0.5rem;
19172
+ ._statusCell_hunte_1 {
19173
+ display: flex;
19174
+ align-items: center;
19175
+ justify-content: center;
19191
19176
  }
19192
19177
 
19193
- ._selected_173xh_11 {
19194
- box-shadow: inset 0 0 0px 2px var(--bs-focus-ring-color);
19178
+ ._error_hunte_7 {
19179
+ color: var(--bs-danger);
19195
19180
  }
19196
19181
 
19197
- ._sampleLink_173xh_15:hover,
19198
- ._sampleRowLink_173xh_16:hover {
19199
- text-decoration: none;
19200
- color: inherit;
19201
- display: block;
19182
+ ._success_hunte_11 {
19183
+ color: var(--bs-success);
19202
19184
  }
19203
19185
 
19204
- ._sampleRowLink_173xh_16 {
19205
- text-decoration: none;
19206
- color: inherit;
19207
- display: block;
19186
+ ._cancelled_hunte_15 {
19187
+ color: var(--bs-secondary);
19188
+ }
19189
+ ._mainLayout_1s8x3_1 {
19190
+ display: flex;
19191
+ flex-direction: column;
19192
+ width: 100%;
19208
19193
  }
19209
19194
 
19210
- ._sampleLink_173xh_15 {
19211
- text-decoration: none;
19212
- color: inherit;
19213
- display: block;
19195
+ ._samplesListGrid_1s8x3_7 .ag-row {
19196
+ border-bottom: 1px solid var(--bs-border-color);
19214
19197
  }
19215
19198
 
19216
- ._disabledRow_173xh_34 {
19217
- cursor: not-allowed;
19218
- opacity: 0.7;
19199
+ ._samplesListGrid_1s8x3_7 .ag-row.ag-row-selected {
19200
+ box-shadow: inset 0 0 0 2px var(--bs-focus-ring-color);
19219
19201
  }
19220
19202
 
19221
- ._disabled_173xh_34 {
19222
- cursor: not-allowed;
19223
- opacity: 0.7;
19203
+ ._samplesListGrid_1s8x3_7 .ag-header-cell {
19204
+ padding: 0;
19205
+ }
19206
+ ._samplesListGrid_1s8x3_7 .ag-header-cell-label::before {
19207
+ content: "";
19208
+ flex: 0 1 var(--ag-cell-horizontal-padding);
19224
19209
  }
19225
19210
 
19226
- ._cell_173xh_44 {
19227
- padding-left: 0;
19228
- padding-right: 0;
19211
+ ._samplesListGrid_1s8x3_7 .ag-header-cell-text {
19212
+ font-size: var(--inspect-font-size-smallestest);
19213
+ text-transform: uppercase;
19214
+ letter-spacing: 0.05em;
19215
+ color: var(--bs-secondary-color);
19216
+ font-weight: 400;
19229
19217
  }
19230
19218
 
19231
- ._wrapAnywhere_173xh_49 {
19232
- word-wrap: anywhere;
19219
+ ._samplesListGrid_1s8x3_7 .ag-sort-order {
19220
+ font-size: var(--inspect-font-size-smallestest);
19221
+ align-self: center;
19222
+ margin-right: -10px;
19233
19223
  }
19234
19224
 
19235
- ._noLeft_173xh_53 {
19236
- padding-left: 0;
19225
+ ._samplesListGrid_1s8x3_7 .ag-cell {
19226
+ align-items: flex-start;
19227
+ padding-top: 0.5rem;
19228
+ padding-bottom: 0.5rem;
19229
+ white-space: normal;
19237
19230
  }
19238
19231
 
19239
- ._score_173xh_57 {
19240
- display: flex;
19241
- justify-self: center;
19232
+ ._cell_1s8x3_44 {
19233
+ line-height: var(--bs-body-line-height);
19242
19234
  }
19243
19235
 
19244
- ._centered_173xh_62 {
19245
- display: flex;
19246
- justify-content: center;
19236
+ ._wrapAnywhere_1s8x3_48 {
19237
+ overflow-wrap: break-word;
19247
19238
  }
19248
19239
 
19249
- ._error_173xh_67 {
19250
- display: flex;
19240
+ ._noLeft_1s8x3_52 {
19241
+ padding-left: 0;
19251
19242
  }
19252
19243
 
19253
- ._spinner_173xh_71 {
19254
- height: 1.4em;
19255
- width: 1.4em;
19256
- color: var(--bs-focus-ring-color);
19244
+ ._score_1s8x3_56 {
19245
+ text-align: center;
19246
+ overflow: hidden;
19247
+ text-overflow: ellipsis;
19248
+ white-space: nowrap;
19257
19249
  }
19258
- ._row_utdq5_1 {
19259
- padding: 0.25em 1em 0.25em 1em;
19260
- text-transform: uppercase;
19261
- font-weight: 600;
19262
- border-bottom: solid 1px var(--bs-border-color);
19250
+
19251
+ ._centered_1s8x3_63 {
19252
+ display: flex;
19253
+ justify-content: center;
19263
19254
  }
19264
19255
  ._footer_vkofn_1 {
19265
19256
  border-top: solid var(--bs-light-border-subtle) 1px;
@@ -19289,36 +19280,6 @@ span.ap-marker-container:hover span.ap-marker {
19289
19280
  margin-left: 0.1em;
19290
19281
  margin-top: -3px;
19291
19282
  }
19292
- ._header_1qnb6_1 {
19293
- padding-left: 0.5rem;
19294
- display: grid;
19295
- padding-bottom: 0.3em;
19296
- padding-top: 0.3em;
19297
- border-bottom: solid var(--bs-light-border-subtle) 1px;
19298
- }
19299
-
19300
- ._center_1qnb6_9 {
19301
- justify-self: center;
19302
- }
19303
-
19304
- ._shrinkable_1qnb6_13 {
19305
- min-width: 0;
19306
- max-width: 100%;
19307
- white-space: nowrap;
19308
- overflow: hidden;
19309
- text-overflow: ellipsis;
19310
- }
19311
- ._list_q79zq_1 {
19312
- flex: 1;
19313
- overflow-y: auto;
19314
- outline: none;
19315
- }
19316
-
19317
- ._mainLayout_q79zq_7 {
19318
- display: flex;
19319
- flex-direction: column;
19320
- width: 100%;
19321
- }
19322
19283
  ._panel_1yknn_1 {
19323
19284
  width: 100%;
19324
19285
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridianlabs/log-viewer",
3
- "version": "0.3.179",
3
+ "version": "0.3.180",
4
4
  "description": "Log viewer for inspect_ai logs.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -104,7 +104,7 @@
104
104
  "immer": "^10.2.0",
105
105
  "json5": "^2.2.3",
106
106
  "jsondiffpatch": "^0.7.2",
107
- "markdown-it": "^14.1.0",
107
+ "markdown-it": "^14.1.1",
108
108
  "markdown-it-mathjax3": "^4.3.2",
109
109
  "mathjax-full": "^3.2.2",
110
110
  "postcss-url": "^10.1.3",
@@ -112,7 +112,7 @@
112
112
  "react": "^19.2.1",
113
113
  "react-dom": "^19.2.1",
114
114
  "react-popper": "^2.3.0",
115
- "react-router-dom": "^7.12.0",
115
+ "react-router-dom": "^7.13.0",
116
116
  "react-virtuoso": "^4.18.0",
117
117
  "zustand": "^5.0.9"
118
118
  },
@@ -122,6 +122,9 @@
122
122
  "glob": "^10.5.0",
123
123
  "js-yaml": "^4.1.0",
124
124
  "brace-expansion": "^1.1.12",
125
- "@codemirror/state": "^6.5.4"
125
+ "@codemirror/state": "^6.5.4",
126
+ "lodash": ">=4.17.23",
127
+ "seroval": ">=1.4.1",
128
+ "seroval-plugins": ">=1.4.1"
126
129
  }
127
130
  }
@@ -1,7 +0,0 @@
1
- import { Epochs } from '../../../@types/log';
2
- import { ScoreLabel } from '../../../app/types';
3
- import { SampleSummary } from '../../../client/api/types';
4
- import { SamplesDescriptor } from '../../samples/descriptor/samplesDescriptor';
5
- import { ListItem } from './types';
6
- export declare const getSampleProcessor: (samples: SampleSummary[], epochs: Epochs, groupBy: "sample" | "epoch" | "none", groupByOrder: "asc" | "desc", sampleDescriptor: SamplesDescriptor, selectedScores: ScoreLabel[]) => ((sample: SampleSummary, index: number, previousSample?: SampleSummary) => ListItem[]);
7
- //# sourceMappingURL=grouping.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grouping.d.ts","sourceRoot":"","sources":["../../../../src/app/log-view/tabs/grouping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAqC,MAAM,SAAS,CAAC;AAEtE,eAAO,MAAM,kBAAkB,GAC7B,SAAS,aAAa,EAAE,EACxB,QAAQ,MAAM,EACd,SAAS,QAAQ,GAAG,OAAO,GAAG,MAAM,EACpC,cAAc,KAAK,GAAG,MAAM,EAC5B,kBAAkB,iBAAiB,EACnC,gBAAgB,UAAU,EAAE,KAC3B,CAAC,CACF,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,MAAM,EACb,cAAc,CAAC,EAAE,aAAa,KAC3B,QAAQ,EAAE,CAsBd,CAAC"}
@@ -1,14 +0,0 @@
1
- import { FC } from 'react';
2
- interface SampleHeaderProps {
3
- input?: boolean;
4
- target?: boolean;
5
- answer?: boolean;
6
- limit?: boolean;
7
- retries?: boolean;
8
- errors?: boolean;
9
- scoreLabels?: string[];
10
- gridColumnsTemplate: string;
11
- }
12
- export declare const SampleHeader: FC<SampleHeaderProps>;
13
- export {};
14
- //# sourceMappingURL=SampleHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SampleHeader.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/list/SampleHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,UAAU,iBAAiB;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAmC9C,CAAC"}
@@ -1,17 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- import { SampleSummary } from '../../../client/api/types';
3
- interface SampleRowProps {
4
- id: string;
5
- sample: SampleSummary;
6
- answer: string;
7
- completed: boolean;
8
- scoresRendered: ReactNode[];
9
- gridColumnsTemplate: string;
10
- height: number;
11
- selected: boolean;
12
- showSample: () => void;
13
- sampleUrl?: string;
14
- }
15
- export declare const SampleRow: FC<SampleRowProps>;
16
- export {};
17
- //# sourceMappingURL=SampleRow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SampleRow.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/list/SampleRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAU1D,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,aAAa,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,SAAS,EAAE,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAwJxC,CAAC"}
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
- interface SampleSeparatorProps {
3
- id: string;
4
- title: string;
5
- height: number;
6
- }
7
- export declare const SampleSeparator: FC<SampleSeparatorProps>;
8
- export {};
9
- //# sourceMappingURL=SampleSeparator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SampleSeparator.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/list/SampleSeparator.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAcpD,CAAC"}
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
- interface EpochFilterProps {
3
- epochs: number;
4
- epoch: string;
5
- setEpoch: (n: string) => void;
6
- }
7
- export declare const EpochFilter: FC<EpochFilterProps>;
8
- export {};
9
- //# sourceMappingURL=EpochFilter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EpochFilter.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/sample-tools/EpochFilter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAe,EAAE,EAAE,MAAM,OAAO,CAAC;AAGxC,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAwC5C,CAAC"}
@@ -1,18 +0,0 @@
1
- import { FC } from 'react';
2
- import { ScoreLabel } from '../../../app/types';
3
- import { SampleSummary } from '../../../client/api/types';
4
- import { SamplesDescriptor } from '../descriptor/samplesDescriptor';
5
- interface SortFilterProps {
6
- sort: string;
7
- setSort: (sort: string) => void;
8
- epochs: number;
9
- }
10
- export declare const SortFilter: FC<SortFilterProps>;
11
- export declare const byEpoch: (sort: string) => sort is "epoch-asc" | "epoch-desc";
12
- export declare const bySample: (sort: string) => sort is "sample-asc" | "sample-desc";
13
- /**
14
- * Sorts a list of samples
15
- */
16
- export declare const sortSamples: (sort: string, samples: SampleSummary[], samplesDescriptor: SamplesDescriptor, scores: ScoreLabel[]) => SampleSummary[];
17
- export {};
18
- //# sourceMappingURL=SortFilter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SortFilter.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/sample-tools/SortFilter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAe,EAAE,EAAe,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAU1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAGpE,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA6D1C,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,MAAM,MAAM,uCAEnC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,yCAEpC,CAAC;AAaF;;GAEG;AACH,eAAO,MAAM,WAAW,GACtB,MAAM,MAAM,EACZ,SAAS,aAAa,EAAE,EACxB,mBAAmB,iBAAiB,EACpC,QAAQ,UAAU,EAAE,KACnB,aAAa,EAgFf,CAAC"}