@malloydata/malloy-explorer 0.0.257-dev250410160631
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +8 -0
- package/.github/workflows/prerelease.yaml +28 -0
- package/.github/workflows/test.yaml +26 -0
- package/.node-version +1 -0
- package/.prettierrc.js +8 -0
- package/.vscode/extensions.json +6 -0
- package/@flowtypes/components/MalloyExplorerProvider.flow.js +13 -0
- package/@flowtypes/components/QueryPanel/QueryActionBar.flow.js +10 -0
- package/@flowtypes/components/QueryPanel/QueryEditor.flow.js +9 -0
- package/@flowtypes/components/ResultPanel/ResultPanel.flow.js +14 -0
- package/@flowtypes/components/ResultPanel/SubmittedQuery.flow.js +32 -0
- package/@flowtypes/components/SourcePanel/SourcePanel.flow.js +9 -0
- package/@flowtypes/contexts/ExplorerPanelsContext.flow.js +6 -0
- package/@flowtypes/index.flow.js +18 -0
- package/CONTRIBUTING.md +44 -0
- package/LICENSE +9 -0
- package/README.md +23 -0
- package/babel.config.mjs +35 -0
- package/dist/cjs/index.cjs +30740 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/esm/index.js +30723 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/malloy-explorer.css +422 -0
- package/dist/types/components/ErrorElement.d.ts +18 -0
- package/dist/types/components/FieldHoverCard.d.ts +13 -0
- package/dist/types/components/FieldToken.d.ts +19 -0
- package/dist/types/components/Label.d.ts +5 -0
- package/dist/types/components/MalloyExplorerProvider.d.ts +11 -0
- package/dist/types/components/QueryPanel/AddMenu/AddAggregate.d.ts +6 -0
- package/dist/types/components/QueryPanel/AddMenu/AddEmptyNest.d.ts +6 -0
- package/dist/types/components/QueryPanel/AddMenu/AddFieldItem.d.ts +15 -0
- package/dist/types/components/QueryPanel/AddMenu/AddGroupBy.d.ts +6 -0
- package/dist/types/components/QueryPanel/AddMenu/AddItem.d.ts +9 -0
- package/dist/types/components/QueryPanel/AddMenu/AddLimit.d.ts +6 -0
- package/dist/types/components/QueryPanel/AddMenu/AddMenu.d.ts +6 -0
- package/dist/types/components/QueryPanel/AddMenu/AddOrderBy.d.ts +6 -0
- package/dist/types/components/QueryPanel/AddMenu/AddView.d.ts +7 -0
- package/dist/types/components/QueryPanel/AddMenu/AddWhere.d.ts +6 -0
- package/dist/types/components/QueryPanel/AddMenu/FieldList.d.ts +11 -0
- package/dist/types/components/QueryPanel/AddMenu/FieldMenu.d.ts +10 -0
- package/dist/types/components/QueryPanel/AddMenu/ValueList.d.ts +10 -0
- package/dist/types/components/QueryPanel/AddMenu/colors.stylex.d.ts +7 -0
- package/dist/types/components/QueryPanel/AddMenu/hooks/useSearch.d.ts +10 -0
- package/dist/types/components/QueryPanel/AddMenu/styles.d.ts +34 -0
- package/dist/types/components/QueryPanel/FieldHover.d.ts +10 -0
- package/dist/types/components/QueryPanel/LiteralValueEditor.d.ts +9 -0
- package/dist/types/components/QueryPanel/Operations.d.ts +6 -0
- package/dist/types/components/QueryPanel/Parameters.d.ts +8 -0
- package/dist/types/components/QueryPanel/Query.d.ts +8 -0
- package/dist/types/components/QueryPanel/QueryActionBar.d.ts +11 -0
- package/dist/types/components/QueryPanel/QueryEditor.d.ts +15 -0
- package/dist/types/components/QueryPanel/QueryPanel.d.ts +10 -0
- package/dist/types/components/QueryPanel/Source.d.ts +8 -0
- package/dist/types/components/QueryPanel/View.d.ts +6 -0
- package/dist/types/components/QueryPanel/ViewDefinition.d.ts +6 -0
- package/dist/types/components/QueryPanel/Visualization.d.ts +7 -0
- package/dist/types/components/QueryPanel/VisualizationIcon.d.ts +5 -0
- package/dist/types/components/QueryPanel/index.d.ts +3 -0
- package/dist/types/components/QueryPanel/operations/AggregateOperations.d.ts +7 -0
- package/dist/types/components/QueryPanel/operations/ClearButton.d.ts +4 -0
- package/dist/types/components/QueryPanel/operations/GroupByOperations.d.ts +7 -0
- package/dist/types/components/QueryPanel/operations/LimitOperation.d.ts +7 -0
- package/dist/types/components/QueryPanel/operations/NestOperation.d.ts +7 -0
- package/dist/types/components/QueryPanel/operations/OperationActionTitle.d.ts +12 -0
- package/dist/types/components/QueryPanel/operations/OrderByOperations.d.ts +7 -0
- package/dist/types/components/QueryPanel/operations/WhereOperations.d.ts +7 -0
- package/dist/types/components/QueryPanel/operations/hover.stylex.d.ts +17 -0
- package/dist/types/components/ResultPanel/BookmarkedView.d.ts +7 -0
- package/dist/types/components/ResultPanel/EmptyQueryDisplay.d.ts +6 -0
- package/dist/types/components/ResultPanel/ResultDisplay.d.ts +6 -0
- package/dist/types/components/ResultPanel/ResultPanel.d.ts +14 -0
- package/dist/types/components/ResultPanel/SubmittedQuery.d.ts +28 -0
- package/dist/types/components/ResultPanel/ViewAttributeTable.d.ts +9 -0
- package/dist/types/components/ResultPanel/Visualization.d.ts +5 -0
- package/dist/types/components/ResultPanel/index.d.ts +1 -0
- package/dist/types/components/SourcePanel/AddFieldDropdownMenu.d.ts +13 -0
- package/dist/types/components/SourcePanel/FieldGroupList.d.ts +10 -0
- package/dist/types/components/SourcePanel/FieldTokenWithActions.d.ts +7 -0
- package/dist/types/components/SourcePanel/NestFieldDropdownMenu.d.ts +12 -0
- package/dist/types/components/SourcePanel/OperationDropdownMenuItems.d.ts +10 -0
- package/dist/types/components/SourcePanel/SearchResultList.d.ts +8 -0
- package/dist/types/components/SourcePanel/SourcePanel.d.ts +7 -0
- package/dist/types/components/SourcePanel/field-token.stylex.d.ts +3 -0
- package/dist/types/components/SourcePanel/hooks/useNestOperations.d.ts +9 -0
- package/dist/types/components/SourcePanel/hooks/useOperations.d.ts +8 -0
- package/dist/types/components/SourcePanel/index.d.ts +1 -0
- package/dist/types/components/SourcePanel/utils.d.ts +24 -0
- package/dist/types/components/TopValuesTable.d.ts +7 -0
- package/dist/types/components/filters/BooleanFilterToken.d.ts +11 -0
- package/dist/types/components/filters/DateTimeFilterToken.d.ts +12 -0
- package/dist/types/components/filters/NumberFilterToken.d.ts +13 -0
- package/dist/types/components/filters/PillInput.d.ts +18 -0
- package/dist/types/components/filters/StringFilterToken.d.ts +14 -0
- package/dist/types/components/filters/index.d.ts +0 -0
- package/dist/types/components/hooks/useClickOutside.d.ts +1 -0
- package/dist/types/components/primitives/Badge.d.ts +37 -0
- package/dist/types/components/primitives/BadgeForField.d.ts +6 -0
- package/dist/types/components/primitives/Banner.d.ts +36 -0
- package/dist/types/components/primitives/Button.d.ts +92 -0
- package/dist/types/components/primitives/Card.d.ts +12 -0
- package/dist/types/components/primitives/CodeBlock.d.ts +26 -0
- package/dist/types/components/primitives/CollapsibleListItem.d.ts +16 -0
- package/dist/types/components/primitives/CollapsiblePanel.d.ts +13 -0
- package/dist/types/components/primitives/DOMElement.d.ts +5 -0
- package/dist/types/components/primitives/DatePicker.d.ts +9 -0
- package/dist/types/components/primitives/Divider.d.ts +24 -0
- package/dist/types/components/primitives/DropdownMenu.d.ts +33 -0
- package/dist/types/components/primitives/ErrorIcon.d.ts +8 -0
- package/dist/types/components/primitives/Icon.d.ts +57 -0
- package/dist/types/components/primitives/List.d.ts +9 -0
- package/dist/types/components/primitives/ListItem.d.ts +21 -0
- package/dist/types/components/primitives/NumberInput.d.ts +10 -0
- package/dist/types/components/primitives/Popover.d.ts +19 -0
- package/dist/types/components/primitives/ResizeBar.d.ts +7 -0
- package/dist/types/components/primitives/ScrollableArea.d.ts +9 -0
- package/dist/types/components/primitives/SelectDropdown.d.ts +31 -0
- package/dist/types/components/primitives/Spinner.d.ts +22 -0
- package/dist/types/components/primitives/TextInput.d.ts +54 -0
- package/dist/types/components/primitives/badge.stylex.d.ts +6 -0
- package/dist/types/components/primitives/button.stylex.d.ts +6 -0
- package/dist/types/components/primitives/colors.stylex.d.ts +39 -0
- package/dist/types/components/primitives/dropdown-menu.stylex.d.ts +9 -0
- package/dist/types/components/primitives/index.d.ts +22 -0
- package/dist/types/components/primitives/scrollable-area.stylex.d.ts +6 -0
- package/dist/types/components/primitives/styles.d.ts +74 -0
- package/dist/types/components/primitives/syntax_highlighting/malloyGrammar.d.ts +279 -0
- package/dist/types/components/primitives/syntax_highlighting/syntaxHighlighter.d.ts +6 -0
- package/dist/types/components/primitives/syntax_highlighting/transformers/lineNumberTransformer.d.ts +3 -0
- package/dist/types/components/primitives/syntax_highlighting/transformers/lineSpacingTransformer.d.ts +8 -0
- package/dist/types/components/primitives/syntax_highlighting/transformers/transformers.d.ts +8 -0
- package/dist/types/components/primitives/tokens/EditableToken.d.ts +50 -0
- package/dist/types/components/primitives/tokens/SelectorToken.d.ts +18 -0
- package/dist/types/components/primitives/tokens/Token.d.ts +49 -0
- package/dist/types/components/primitives/tokens/TokenGroup.d.ts +21 -0
- package/dist/types/components/primitives/tokens/styles.d.ts +45 -0
- package/dist/types/components/primitives/tokens/token.stylex.d.ts +6 -0
- package/dist/types/components/primitives/tokens/types.d.ts +5 -0
- package/dist/types/components/primitives/utils/icon.d.ts +388 -0
- package/dist/types/components/styles.d.ts +66 -0
- package/dist/types/components/utils/fields.d.ts +9 -0
- package/dist/types/components/utils/icon.d.ts +7 -0
- package/dist/types/components/utils/renderer.d.ts +6 -0
- package/dist/types/components/utils/segment.d.ts +6 -0
- package/dist/types/contexts/ExplorerPanelsContext.d.ts +11 -0
- package/dist/types/contexts/QueryEditorContext.d.ts +25 -0
- package/dist/types/hooks/useQueryBuilder.d.ts +3 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/types/error.d.ts +8 -0
- package/eslint.config.mjs +156 -0
- package/index.html +19 -0
- package/package.json +109 -0
- package/postcss.config.mjs +20 -0
- package/scripts/env.d.ts +3 -0
- package/scripts/gen_flow.ts +38 -0
- package/scripts/malloy-packages.ts +17 -0
- package/scripts/tsconfig.json +8 -0
- package/tsconfig.json +16 -0
- package/vite.config.mts +65 -0
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@layer priority1, priority2, priority3, priority4, priority5, priority6;
|
|
9
|
+
|
|
10
|
+
@layer priority1{
|
|
11
|
+
:root, .xugude9{--x1mq821i:white;--xz6dflh:rgba(0, 0, 0, 0.10);--x4a29vv:#0000000D;--xhoywqa:#050505;--x1qcfjts:#A4B0BC;}
|
|
12
|
+
:root, .x16bcggl{--x1rtpqm4:rgba(10, 19, 23, 0.2);--xwmj25p:rgba(121, 82, 255, 0.2);--x1f95ebd:rgba(36, 187, 94, 0.2);--x1jva6ta:rgba(3, 167, 215, 0.2);--x1yr7ch6:rgba(241, 244, 247, 1);--x1bs2mf7:rgba(0, 130, 251, 0.2);--xwj8cgu:rgba(11, 153, 31, 0.2);--xhsum04:rgba(226, 164, 0, 0.2);--x19gk0g3:rgba(227, 25, 59, 0.2);--xrbis2b:rgba(204, 211, 219, 1);--x1eayp21:rgba(230, 235, 239, 1);}
|
|
13
|
+
:root, .x182du4u{--x231nev:rgba(10, 19, 23, 1);--x1i3blw4:rgba(78, 96, 111, 1);--x16ir2n5:rgba(164, 176, 188, 1);--x883cce:rgba(0, 100, 224, 1);--xy3jzoq:rgba(255, 255, 255, 1);--x7qnfvx:rgba(10, 19, 23, 1);--x3ib3qi:rgba(62, 6, 151, 1);--xndhcph:rgba(9, 68, 31, 1);--xkotp7t:rgba(1, 73, 117, 1);--xf25c1a:rgba(66, 133, 244, 1);}
|
|
14
|
+
:root, .xacbved{--x8s4nhd:rgba(10, 19, 23, 1);--x130oqjo:rgba(78, 96, 111, 1);--xwh4rgx:rgba(164, 176, 188, 1);--x1gq6bli:rgba(255, 255, 255, 1);--x1jphivy:rgba(10, 19, 23, 1);--x6i1qgk:rgba(121, 82, 255, 1);--x1css67u:rgba(7, 109, 41, 1);--x1fea1fg:rgba(2, 141, 193, 1);--xz9tc12:rgba(233, 175, 8, 1);--x1dryxz7:rgba(0, 100, 224, 1);--x176ansx:rgba(13, 134, 38, 1);--xbq1dnb:rgba(227, 25, 59, 1);}
|
|
15
|
+
:root, .x18uf1kx{--xnfhokh:none;}
|
|
16
|
+
:root, .x11fl7i8{--xvpnzvp:none;}
|
|
17
|
+
.x1kml4x5{--x10mhzaa:var(--x1f95ebd)}
|
|
18
|
+
.xad4tin{--x10mhzaa:var(--x1jva6ta)}
|
|
19
|
+
.xks5dn{--x10mhzaa:var(--x1rtpqm4)}
|
|
20
|
+
.x1tyul3j{--x10mhzaa:var(--xwmj25p)}
|
|
21
|
+
.x1h2g7i5{--x13n7235:var(--x231nev)}
|
|
22
|
+
.xczu9b2{--x13n7235:var(--x3ib3qi)}
|
|
23
|
+
.x1bs7jmk{--x13n7235:var(--xkotp7t)}
|
|
24
|
+
.xmegd9k{--x13n7235:var(--xndhcph)}
|
|
25
|
+
.xnsg3p3{--x1by112x:0}
|
|
26
|
+
.x1oehr1x{--x1hmjrsb:var(--x8s4nhd)}
|
|
27
|
+
.x1yt8b3q{--x1hpdckv:var(--x231nev)}
|
|
28
|
+
.x1pkzr6p{--x1hpdckv:var(--xy3jzoq)}
|
|
29
|
+
.xk1lq4m{--x1ltarg1:var(--x231nev)}
|
|
30
|
+
.x1o7vzae{--x1ojyoay:var(--x231nev)}
|
|
31
|
+
.xy223b3{--x1ojyoay:var(--x3ib3qi)}
|
|
32
|
+
.xl8y1r8{--x1ojyoay:var(--xkotp7t)}
|
|
33
|
+
.x1wr82ew{--x1ojyoay:var(--xndhcph)}
|
|
34
|
+
.x5iroqq{--x5m5edj:var(--x1i3blw4)}
|
|
35
|
+
.xptr99q{--xnfhokh:block}
|
|
36
|
+
.xns1ryh{--xnfhokh:none}
|
|
37
|
+
.xyi2mce{--xri8z08:0}
|
|
38
|
+
.x1drv5w1{--xvpnzvp:none}
|
|
39
|
+
.x1y4nrm4{--xvygx4q:var(--x1css67u)}
|
|
40
|
+
.x19ikys9{--xvygx4q:var(--x1fea1fg)}
|
|
41
|
+
.xmze62h{--xvygx4q:var(--x6i1qgk)}
|
|
42
|
+
.x1fxap63{--xvygx4q:var(--x8s4nhd)}
|
|
43
|
+
.x1e3pbrw{--xxo3nik:var(--x1gq6bli)}
|
|
44
|
+
.xabpwcq{--xxo3nik:var(--x8s4nhd)}
|
|
45
|
+
@keyframes xqng64z-B{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}
|
|
46
|
+
.x13e98y7:is([data-disabled]){--x1hmjrsb:var(--xwh4rgx)}
|
|
47
|
+
.x3xebm:is([data-disabled]){--x1ltarg1:var(--x16ir2n5)}
|
|
48
|
+
.x14ov2gu:is([data-disabled]){--x5m5edj:var(--x16ir2n5)}
|
|
49
|
+
.x1qsp6z6:disabled{--x1hpdckv:var(--x1i3blw4)}
|
|
50
|
+
.x1qvbi22:disabled{--x1hpdckv:var(--xy3jzoq)}
|
|
51
|
+
.xnq1u5:disabled{--xxo3nik:var(--x1gq6bli)}
|
|
52
|
+
.x1xxiibd:disabled{--xxo3nik:var(--xwh4rgx)}
|
|
53
|
+
.xgc9sve:hover{--x1by112x:.3}
|
|
54
|
+
.x1vq4ne1:hover{--xnfhokh:block}
|
|
55
|
+
.xhhm8h2:hover{--xri8z08:.3}
|
|
56
|
+
.x18d642k:hover{--xvpnzvp:inline-flex}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@layer priority2{
|
|
60
|
+
.x1o4sr5b{background:#0A1317}
|
|
61
|
+
.x3j5mvw{background:#D0D3D7}
|
|
62
|
+
.xo6guvx{background:#fff}
|
|
63
|
+
.x17eh757{background:#FFFFFF}
|
|
64
|
+
.xhcrij8{background:rgba(0,100,224,1)}
|
|
65
|
+
.x1xnbgy5{background:rgba(204,211,219,1)}
|
|
66
|
+
.xgqa5hp{background:rgba(230,235,239,1)}
|
|
67
|
+
.xzy8d55{background:rgba(255,255,255,.5)}
|
|
68
|
+
.xotlr4g{background:rgba(255,255,255,1)}
|
|
69
|
+
.x1md70p1{background:transparent}
|
|
70
|
+
.x60vm6v{background:var(--x10mhzaa)}
|
|
71
|
+
.x1cbdwf8{background:var(--x1eayp21)}
|
|
72
|
+
.x82tljd{background:var(--x1mq821i)}
|
|
73
|
+
.xzkdzjc{border:1px solid #CCD3DB}
|
|
74
|
+
.x8fuzfi{border:1px solid #efefef}
|
|
75
|
+
.x1dc9p4k{border:1px solid red}
|
|
76
|
+
.x520xni{border:1px solid rgba(204,211,219,1)}
|
|
77
|
+
.xvckdp7{border:1px solid rgba(230,235,239,1)}
|
|
78
|
+
.xfj9a5l{border:1px solid transparent}
|
|
79
|
+
.x1vspu6z{border:1px solid var(--malloy-composer-form-background,#efefef)}
|
|
80
|
+
.xss3vti{border:1px solid var(--malloy-composer-form-border,#ececed)}
|
|
81
|
+
.xv3vvaf{border:1px solid var(--malloy-composer-form-focus,#4285f4)}
|
|
82
|
+
.x15q0wj1{border:1px solid var(--malloy-composer-menu-border,#ececed)}
|
|
83
|
+
.x1gs6z28{border:none}
|
|
84
|
+
.x15r89dc{grid-area:1 / 1}
|
|
85
|
+
.x1ghz6dp{margin:0}
|
|
86
|
+
.xnfbntj{margin:5px 0}
|
|
87
|
+
.x16zck5j{margin:5px}
|
|
88
|
+
.xkib98w{margin:8px}
|
|
89
|
+
.x1bpp3o7{margin:auto}
|
|
90
|
+
.x1p3i4rr{padding:0 10px}
|
|
91
|
+
.xwp4ipm{padding:0 24px 24px 24px}
|
|
92
|
+
.xehqz9p{padding:0 4px}
|
|
93
|
+
.x1l4tkcb{padding:0 8px 8px 8px}
|
|
94
|
+
.x1717udv{padding:0}
|
|
95
|
+
.x1b4vry6{padding:10px 0}
|
|
96
|
+
.xc7ga6q{padding:12px}
|
|
97
|
+
.x1tamke2{padding:16px}
|
|
98
|
+
.x1e41zw8{padding:1px 5px}
|
|
99
|
+
.xfvt8nb{padding:2px 12px 2px 6px}
|
|
100
|
+
.xbsehbd{padding:2px 3px}
|
|
101
|
+
.xxzb6uj{padding:2px 4px}
|
|
102
|
+
.x195ery5{padding:3.75px 7px}
|
|
103
|
+
.x1gqu590{padding:3px 10px}
|
|
104
|
+
.x92jh8x{padding:4px 0 8px 0}
|
|
105
|
+
.xztvwtv{padding:4px 0}
|
|
106
|
+
.x1fut7tt{padding:4px 12px 12px 12px}
|
|
107
|
+
.xdqdrvq{padding:4px 8px}
|
|
108
|
+
.xfawy5m{padding:4px}
|
|
109
|
+
.x17qkr04{padding:5px 0}
|
|
110
|
+
.x36usyh{padding:5px 10px}
|
|
111
|
+
.x14odnwx{padding:5px}
|
|
112
|
+
.x153ncpu{padding:8px 12px}
|
|
113
|
+
.xe8ttls{padding:8px}
|
|
114
|
+
.x1bw6wve:is([data-highlighted]){background:rgba(0,0,0,.05)}
|
|
115
|
+
.xamyxth:is([data-state="checked"]){background:rgba(0,130,251,.2)}
|
|
116
|
+
.xejs3c0:is([data-highlighted]):is([data-state="checked"]){background:rgba(0,130,251,.3)}
|
|
117
|
+
.x14hn1a8:hover{background:rgba(0,0,0,.05)}
|
|
118
|
+
.x1uceoyp:hover{background:rgba(221,226,232,1)}
|
|
119
|
+
.x1vdl2d1:hover{background:rgba(4,87,203,1)}
|
|
120
|
+
.xwghvya:active{background:rgba(0,0,0,.1)}
|
|
121
|
+
.x1u4cpcs:active{background:rgba(0,76,188,1)}
|
|
122
|
+
.x1cncicd:active{background:rgba(204,211,219,1)}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@layer priority3{
|
|
126
|
+
.x1akygb0{border-color:none}
|
|
127
|
+
.x1y5yj0f{border-color:rgb(0,100,224)}
|
|
128
|
+
.x10bk7bj{border-color:var(--malloy-composer-focus,#c3d7f7)}
|
|
129
|
+
.xhsgddw{border-color:var(--xrbis2b)}
|
|
130
|
+
.x11zuszs{border-radius:0 0 10px 10px}
|
|
131
|
+
.x19ctu66{border-radius:0 4px 4px 0}
|
|
132
|
+
.xq516e8{border-radius:10px 10px 0 0}
|
|
133
|
+
.x1q4ynmn{border-radius:10px}
|
|
134
|
+
.x4pepcl{border-radius:12px}
|
|
135
|
+
.x18zih8k{border-radius:3px}
|
|
136
|
+
.xtah5vv{border-radius:4px 0 0 4px}
|
|
137
|
+
.x12oqio5{border-radius:4px}
|
|
138
|
+
.x1f96onm{border-radius:50px}
|
|
139
|
+
.x1sxf85j{border-radius:5px}
|
|
140
|
+
.x1kogg8i{border-radius:6px}
|
|
141
|
+
.xur7f20{border-radius:8px}
|
|
142
|
+
.x10hpsqq{border-radius:9999px}
|
|
143
|
+
.x1pjcqnp{border-radius:inherit}
|
|
144
|
+
.x1roky18{border-right:1px solid rgba(204,211,219,1)}
|
|
145
|
+
.xng3xce{border-style:none}
|
|
146
|
+
.x1y0btm7{border-style:solid}
|
|
147
|
+
.x77krkw{border-top:1px solid var(--malloy-composer-form-border,#ececec)}
|
|
148
|
+
.xc342km{border-width:0}
|
|
149
|
+
.xmkeg23{border-width:1px}
|
|
150
|
+
.x98rzlu{flex:1}
|
|
151
|
+
.x883omv{gap:10px}
|
|
152
|
+
.xou54vl{gap:16px}
|
|
153
|
+
.x12mrbbr{gap:1px}
|
|
154
|
+
.x1665zp3{gap:24px}
|
|
155
|
+
.x195vfkc{gap:2px}
|
|
156
|
+
.x1ed6fcf{gap:3px}
|
|
157
|
+
.x1jnr06f{gap:4px}
|
|
158
|
+
.x1nejdyq{gap:5px}
|
|
159
|
+
.x167g77z{gap:8px}
|
|
160
|
+
.x1a2a7pz{outline:none}
|
|
161
|
+
.xysyzu8{overflow:auto}
|
|
162
|
+
.xb3r6kr{overflow:hidden}
|
|
163
|
+
.x1rea2x4{overflow:visible}
|
|
164
|
+
.x14znju7{transition:opacity .5s ease}
|
|
165
|
+
.x1fxp9ov:hover{border-color:var(--malloy-composer-focus,#c3d7f7)}
|
|
166
|
+
.xetl2wx:focus{border-color:#4285F4}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@layer priority4{
|
|
170
|
+
.x6s0dn4{align-items:center}
|
|
171
|
+
.x1cy8zhl{align-items:flex-start}
|
|
172
|
+
.x7a106z{align-items:start}
|
|
173
|
+
.x7v9bd0{animation-duration:.75s}
|
|
174
|
+
.xa4qsjk{animation-iteration-count:infinite}
|
|
175
|
+
.x1ka1v4i{animation-name:xqng64z-B}
|
|
176
|
+
.x1esw782{animation-timing-function:linear}
|
|
177
|
+
.xlp1x4z{backface-visibility:hidden}
|
|
178
|
+
.xgmb8sa{background-color:#E6EBEF}
|
|
179
|
+
.x1dr8pv1{background-color:#F1F4F7}
|
|
180
|
+
.x83z2og{background-color:#fff}
|
|
181
|
+
.xy9rfsq{background-color:rgba(230,235,239,1)}
|
|
182
|
+
.x1jmk7v{background-color:rgba(37,54,63,1)}
|
|
183
|
+
.xjbqb8w{background-color:transparent}
|
|
184
|
+
.x1jjku57{background-color:var(--malloy-composer-form-disabledBackground,#f6f6f6)}
|
|
185
|
+
.x6wxqrg{background-color:var(--malloy-composer-form-focusBackground,#f0f6ff)}
|
|
186
|
+
.x12azwz9{background-color:var(--malloy-composer-menu-background,white)}
|
|
187
|
+
.xd578ro{background-color:var(--x19gk0g3)}
|
|
188
|
+
.xslq0ya{background-color:var(--x1bs2mf7)}
|
|
189
|
+
.x1xu70n7{background-color:var(--x1yr7ch6)}
|
|
190
|
+
.x8sbvz5{background-color:var(--xhsum04)}
|
|
191
|
+
.x12yqf51{background-color:var(--xwj8cgu)}
|
|
192
|
+
.x12peec7{background-color:white}
|
|
193
|
+
.x1mwwwfo{border-collapse:collapse}
|
|
194
|
+
html:not([dir='rtl']) .xy8678h{box-shadow:-1px 0 0 0 #C8CCD2 inset}
|
|
195
|
+
html[dir='rtl'] .xy8678h{box-shadow:1px 0 0 0 #C8CCD2 inset}
|
|
196
|
+
html:not([dir='rtl']) .xn8fsvk{box-shadow:0 0 0 1px rgb(0,100,224) inset,0 0 0 3px rgba(1,113,227,.3) inset}
|
|
197
|
+
html[dir='rtl'] .xn8fsvk{box-shadow:0 0 0 1px rgb(0,100,224) inset, 0 0 0 3px rgba(1,113,227,.3) inset}
|
|
198
|
+
html:not([dir='rtl']) .x1kmqopl{box-shadow:0 0 5px 0 rgba(0,0,0,.1),0 0 1px 0 rgba(0,0,0,.1)}
|
|
199
|
+
html[dir='rtl'] .x1kmqopl{box-shadow:0 0 5px 0 rgba(0,0,0,.1), 0 0 1px 0 rgba(0,0,0,.1)}
|
|
200
|
+
html:not([dir='rtl']) .x5n1uv4{box-shadow:0 1px 2px 0 rgba(0,0,0,.1),0 2px 12px 0 rgba(0,0,0,.1)}
|
|
201
|
+
html[dir='rtl'] .x5n1uv4{box-shadow:0 1px 2px 0 rgba(0,0,0,.1), 0 2px 12px 0 rgba(0,0,0,.1)}
|
|
202
|
+
.x1a3rnpv{box-shadow:0 1px 5px 1px #0000001a}
|
|
203
|
+
html:not([dir='rtl']) .x17fq3gk{box-shadow:0 2px 12px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.1)}
|
|
204
|
+
html[dir='rtl'] .x17fq3gk{box-shadow:0 2px 12px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.1)}
|
|
205
|
+
.xqxh4ib{box-shadow:0 2px 12px 0 var(--xz6dflh)}
|
|
206
|
+
.x1gnnqk1{box-shadow:none}
|
|
207
|
+
.xg48p7p{box-shadow:rgba(1,113,227,.3) 0 0 0 3px inset}
|
|
208
|
+
.x9f619{box-sizing:border-box}
|
|
209
|
+
.xayvuls{color:#000000}
|
|
210
|
+
.x1aejobo{color:#0064E0}
|
|
211
|
+
.x1v5ugh9{color:#505050}
|
|
212
|
+
.x358b0h{color:#909090}
|
|
213
|
+
.x1e2nbdu{color:red}
|
|
214
|
+
.xkfrnou{color:rgba(0,100,224,1)}
|
|
215
|
+
.xj5j7qc{color:rgba(100,118,133,1)}
|
|
216
|
+
.x1rs82da{color:rgba(221,226,232,1)}
|
|
217
|
+
.x183j0n7{color:rgba(228,230,235,1)}
|
|
218
|
+
.x1dhlylr{color:rgba(5,5,5,1)}
|
|
219
|
+
.x19co3pv{color:transparent}
|
|
220
|
+
.x1pc1dlx{color:var(--malloy-composer-form-foreground,#5f6368)}
|
|
221
|
+
.x1ix50r8{color:var(--x130oqjo)}
|
|
222
|
+
.x1who0hs{color:var(--x13n7235)}
|
|
223
|
+
.x1ec2rqw{color:var(--x176ansx)}
|
|
224
|
+
.x37o5tv{color:var(--x1css67u)}
|
|
225
|
+
.xsvyuik{color:var(--x1dryxz7)}
|
|
226
|
+
.x1g7xnis{color:var(--x1fea1fg)}
|
|
227
|
+
.x1e7xs8y{color:var(--x1gq6bli)}
|
|
228
|
+
.xsqtsp7{color:var(--x1hmjrsb)}
|
|
229
|
+
.x1rc6qj5{color:var(--x1hpdckv)}
|
|
230
|
+
.x12ohj93{color:var(--x1i3blw4)}
|
|
231
|
+
.x1ioycd5{color:var(--x1jphivy)}
|
|
232
|
+
.x4rf6rh{color:var(--x1ltarg1)}
|
|
233
|
+
.xs91gf4{color:var(--x1ojyoay)}
|
|
234
|
+
.x17b97tg{color:var(--x1qcfjts)}
|
|
235
|
+
.x9kkmgx{color:var(--x231nev)}
|
|
236
|
+
.x5he5j3{color:var(--x3ib3qi)}
|
|
237
|
+
.x13fn403{color:var(--x5m5edj)}
|
|
238
|
+
.x17g7fvs{color:var(--x6i1qgk)}
|
|
239
|
+
.x1mesv65{color:var(--x8s4nhd)}
|
|
240
|
+
.xa7fge6{color:var(--xbq1dnb)}
|
|
241
|
+
.x1cbpihi{color:var(--xf25c1a)}
|
|
242
|
+
.xbewn8e{color:var(--xhoywqa)}
|
|
243
|
+
.x703muk{color:var(--xvygx4q)}
|
|
244
|
+
.xzky6v4{color:var(--xwh4rgx)}
|
|
245
|
+
.x1gs57g{color:var(--xxo3nik)}
|
|
246
|
+
.x1t95teg{color:var(--xz9tc12)}
|
|
247
|
+
.xt0e3qv{cursor:default}
|
|
248
|
+
.x7eptgl{cursor:ew-resize}
|
|
249
|
+
.x1ipiool{cursor:initial}
|
|
250
|
+
.x1ypdohk{cursor:pointer}
|
|
251
|
+
.x1lliihq{display:block}
|
|
252
|
+
.x78zum5{display:flex}
|
|
253
|
+
.xrvj5dj{display:grid}
|
|
254
|
+
.x1rg5ohu{display:inline-block}
|
|
255
|
+
.x3nfvp2{display:inline-flex}
|
|
256
|
+
.xwz0xwf{display:inline-grid}
|
|
257
|
+
.x10hdgi0{display:var(--xnfhokh)}
|
|
258
|
+
.xhrcx4l{display:var(--xvpnzvp)}
|
|
259
|
+
.xdt5ytf{flex-direction:column}
|
|
260
|
+
.x1q0g3np{flex-direction:row}
|
|
261
|
+
.x1iyjqo2{flex-grow:1}
|
|
262
|
+
.x2lah0s{flex-shrink:0}
|
|
263
|
+
.xozqiw3{flex-wrap:nowrap}
|
|
264
|
+
.x1a02dak{flex-wrap:wrap}
|
|
265
|
+
.x6icuqf{font-family:sans-serif}
|
|
266
|
+
.x1rj5sg5{font-family:SF Pro Text,-apple-system,system-ui,sans-serif}
|
|
267
|
+
.x12xrqmb{font-family:var(--malloy-composer-fontFamily,sans-serif)}
|
|
268
|
+
.xfifm61{font-size:12px}
|
|
269
|
+
.xif65rj{font-size:14px}
|
|
270
|
+
.x1j61zf2{font-size:16px}
|
|
271
|
+
.xmhiqyu{font-size:var(--malloy-composer-fontSize,14px)}
|
|
272
|
+
.x64z8l9{font-size:var(--malloy-composer-menu-fontSize,14px)}
|
|
273
|
+
.xo1l8bm{font-weight:400}
|
|
274
|
+
.x1s688f{font-weight:600}
|
|
275
|
+
.x1xlr1w8{font-weight:700}
|
|
276
|
+
.x117nqv4{font-weight:bold}
|
|
277
|
+
.x1fcty0u{font-weight:normal}
|
|
278
|
+
.x1mt1orb{grid-auto-flow:column}
|
|
279
|
+
.xl56j7k{justify-content:center}
|
|
280
|
+
.x13a6bvl{justify-content:flex-end}
|
|
281
|
+
.x1nhvcw1{justify-content:flex-start}
|
|
282
|
+
.x1rfj78v{justify-content:left}
|
|
283
|
+
.x1l1ennw{justify-content:space-around}
|
|
284
|
+
.x1qughib{justify-content:space-between}
|
|
285
|
+
.xlqzeqv{justify-content:start}
|
|
286
|
+
.x11e9jwx{leading-trim:both}
|
|
287
|
+
.x1gu5id8{letter-spacing:-0.24px}
|
|
288
|
+
.x12oo3zp{letter-spacing:0}
|
|
289
|
+
.xwxc2jc{line-height:1.8}
|
|
290
|
+
.x1d3mw78{line-height:16px}
|
|
291
|
+
.x1fc57z9{line-height:20px}
|
|
292
|
+
.x1o2sk6j{line-height:24px}
|
|
293
|
+
.x1vqud6w{opacity:70%}
|
|
294
|
+
.x18ekxfu{opacity:var(--x1by112x)}
|
|
295
|
+
.x16eqb94{opacity:var(--xri8z08)}
|
|
296
|
+
.x47corl{pointer-events:none}
|
|
297
|
+
.x10l6tqk{position:absolute}
|
|
298
|
+
.x1n2onr6{position:relative}
|
|
299
|
+
.x2b8uid{text-align:center}
|
|
300
|
+
.xdpxx8g{text-align:left}
|
|
301
|
+
.x1vqy1sf{text-edge:cap}
|
|
302
|
+
.xlyipyv{text-overflow:ellipsis}
|
|
303
|
+
.x6mezaz{text-transform:none}
|
|
304
|
+
.x1fuxgwz{transform:scale(1.33)}
|
|
305
|
+
.x87ps6o{user-select:none}
|
|
306
|
+
.xxymvpz{vertical-align:middle}
|
|
307
|
+
.x1n8ftqi{vertical-align:text-top}
|
|
308
|
+
.x16dsc37{vertical-align:top}
|
|
309
|
+
.xlshs6z{visibility:hidden}
|
|
310
|
+
.xnpuxes{visibility:visible}
|
|
311
|
+
.xuxw1ft{white-space:nowrap}
|
|
312
|
+
.x1so62im{will-change:transform}
|
|
313
|
+
.x1vjfegm{z-index:1}
|
|
314
|
+
.xhtitgo{z-index:2}
|
|
315
|
+
.x1si8mmd:is([data-state='active']){background-color:var(--x1bs2mf7)}
|
|
316
|
+
.x1ntwlsx:is([data-disabled]){color:var(--x1qcfjts)}
|
|
317
|
+
.x1ravo3:is([data-state='active']){color:var(--x883cce)}
|
|
318
|
+
.x5ezrf1:is([data-disabled]){cursor:not-allowed}
|
|
319
|
+
.x1uifvsu:is([data-state='active']){font-weight:700}
|
|
320
|
+
.x1s07b3s:disabled{cursor:not-allowed}
|
|
321
|
+
.x1haqvef:hover{background-color:#DDE2E8}
|
|
322
|
+
.xjg9ulk:hover{background-color:#efefef}
|
|
323
|
+
.xt89l8w:hover{background-color:var(--malloy-composer-form-focusBackground,#f0f6ff)}
|
|
324
|
+
.xqbbf0h:hover{background-color:var(--x4a29vv)}
|
|
325
|
+
.xk1e6ed:hover{box-shadow:rgba(204,211,219,.3) 0 0 0 3px inset}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@layer priority5{
|
|
329
|
+
.xqtp20y{height:0}
|
|
330
|
+
.x5yr21d{height:100%}
|
|
331
|
+
.xpyat2d{height:100px}
|
|
332
|
+
.xn866dk{height:136px}
|
|
333
|
+
.x1v9usgg{height:14px}
|
|
334
|
+
.xwrnneb{height:16.5px}
|
|
335
|
+
.xlup9mm{height:16px}
|
|
336
|
+
.xmix8c7{height:18px}
|
|
337
|
+
.xjm9jq1{height:1px}
|
|
338
|
+
.x1m3v4wt{height:200px}
|
|
339
|
+
.xk2yuxw{height:209.5px}
|
|
340
|
+
.x1qx5ct2{height:20px}
|
|
341
|
+
.xxk0z11{height:24px}
|
|
342
|
+
.x1fgtraw{height:28px}
|
|
343
|
+
.x1gnnpzl{height:30px}
|
|
344
|
+
.xc9qbxq{height:36px}
|
|
345
|
+
.xng8ra{height:60px}
|
|
346
|
+
.xdk7pt{height:8px}
|
|
347
|
+
.xlo07zb{height:90px}
|
|
348
|
+
.xt7dq6l{height:auto}
|
|
349
|
+
.xu96u03{left:0}
|
|
350
|
+
.x12nagc{margin-bottom:4px}
|
|
351
|
+
.xu06os2{margin-bottom:5px}
|
|
352
|
+
.x1e56ztr{margin-bottom:8px}
|
|
353
|
+
.xj3b58b{margin-left:0}
|
|
354
|
+
.x1tpqehw{margin-left:12px}
|
|
355
|
+
.xq1n1xh{margin-left:16px}
|
|
356
|
+
.x1iog12x{margin-left:4px}
|
|
357
|
+
.xet2fuk{margin-left:8px}
|
|
358
|
+
.x1yf7rl7{margin-right:0}
|
|
359
|
+
.x1xmf6yo{margin-top:8px}
|
|
360
|
+
.x1rvw3h8{max-height:136px}
|
|
361
|
+
.x1hkcv85{max-height:200px}
|
|
362
|
+
.x1t2cwa7{max-height:248px}
|
|
363
|
+
.xuyqlj2{max-height:300px}
|
|
364
|
+
.x1phlbz0{max-height:400px}
|
|
365
|
+
.x3d5gib{max-height:50vh}
|
|
366
|
+
.x1kbvuzt{max-height:var(--radix-tooltip-content-available-height)}
|
|
367
|
+
.xqyhut4{max-width:16.5px}
|
|
368
|
+
.xxc7z9f{max-width:360px}
|
|
369
|
+
.xmcgfsh{max-width:60px}
|
|
370
|
+
.x1mnxie6{min-width:13.5px}
|
|
371
|
+
.x4x6u8j{min-width:16.5px}
|
|
372
|
+
.xt4ypqs{min-width:20px}
|
|
373
|
+
.xfvyar9{min-width:60px}
|
|
374
|
+
.x1onzeue{min-width:95px}
|
|
375
|
+
.x1odjw0f{overflow-y:auto}
|
|
376
|
+
.x18d9i69{padding-bottom:0}
|
|
377
|
+
.xx6bls6{padding-bottom:20px}
|
|
378
|
+
.xjkvuk6{padding-bottom:4px}
|
|
379
|
+
.xwib8y2{padding-bottom:8px}
|
|
380
|
+
.xf18ygs{padding-left:12px}
|
|
381
|
+
.x6wrskw{padding-left:4px}
|
|
382
|
+
.x163pfp{padding-left:8px}
|
|
383
|
+
.xmzs88n{padding-right:4px}
|
|
384
|
+
.xy13l1i{padding-right:8px}
|
|
385
|
+
.x1nn3v0j{padding-top:2px}
|
|
386
|
+
.x1iorvi4{padding-top:4px}
|
|
387
|
+
.x123j3cw{padding-top:5px}
|
|
388
|
+
.x1y1aw1k{padding-top:8px}
|
|
389
|
+
.x1bkpikb{right:-2px}
|
|
390
|
+
.x3m8u43{right:0}
|
|
391
|
+
.x13vifvy{top:0}
|
|
392
|
+
.xnalus7{width:0}
|
|
393
|
+
.xh8yej3{width:100%}
|
|
394
|
+
.x6jxa94{width:14px}
|
|
395
|
+
.xjxf2f8{width:16.5px}
|
|
396
|
+
.x1kky2od{width:16px}
|
|
397
|
+
.x1xp8n7a{width:18px}
|
|
398
|
+
.x1i1rx1s{width:1px}
|
|
399
|
+
.xw4jnvo{width:20px}
|
|
400
|
+
.xvy4d1p{width:24px}
|
|
401
|
+
.x1f1nlb9{width:25%}
|
|
402
|
+
.xgd8bvy{width:28px}
|
|
403
|
+
.xbl57os{width:323px}
|
|
404
|
+
.xxsgkw5{width:350px}
|
|
405
|
+
.x1ftt334{width:5px}
|
|
406
|
+
.x1247r65{width:60px}
|
|
407
|
+
.x1xc55vz{width:8px}
|
|
408
|
+
.xm6i5cn{width:90%}
|
|
409
|
+
.x10lvyaf{width:calc(100% - 12px)}
|
|
410
|
+
.x1rxuhir{width:calc(100% - 22px)}
|
|
411
|
+
.x112rgfc{width:calc(100% - 40)}
|
|
412
|
+
.xnq0rdo{width:min-content}
|
|
413
|
+
.x1g65f5b{width:var(--radix-tooltip-trigger-width)}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
@layer priority6{
|
|
417
|
+
.x1njml60::placeholder{color:rgba(78,96,111,1)}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
div[data-radix-popper-content-wrapper] {
|
|
421
|
+
z-index: 100 !important;
|
|
422
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
export interface ErrorBoundaryProps {
|
|
4
|
+
children: ReactElement | ReactElement[];
|
|
5
|
+
fallback: ReactElement | ReactElement[];
|
|
6
|
+
}
|
|
7
|
+
interface ErrorBoundaryState {
|
|
8
|
+
hasError: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class ErrorElement extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
11
|
+
constructor(props: ErrorBoundaryProps);
|
|
12
|
+
static getDerivedStateFromError(_error: Error): {
|
|
13
|
+
hasError: boolean;
|
|
14
|
+
};
|
|
15
|
+
componentDidCatch(error: Error, info: unknown): void;
|
|
16
|
+
render(): React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | React.ReactElement<unknown, string | React.JSXElementConstructor<any>>[];
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FieldInfo } from '@malloydata/malloy-interfaces';
|
|
2
|
+
interface FieldHoverCardProps {
|
|
3
|
+
/**
|
|
4
|
+
* The field information associated with the field token.
|
|
5
|
+
*/
|
|
6
|
+
field: FieldInfo;
|
|
7
|
+
/**
|
|
8
|
+
* The different items in the path to the field.
|
|
9
|
+
*/
|
|
10
|
+
path: string[];
|
|
11
|
+
}
|
|
12
|
+
export declare function FieldHoverCard({ field, path }: FieldHoverCardProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FieldInfo } from '@malloydata/malloy-interfaces';
|
|
3
|
+
import { Token } from './primitives';
|
|
4
|
+
interface FieldTokenProps extends React.ComponentProps<typeof Token> {
|
|
5
|
+
/**
|
|
6
|
+
* The field information associated with the token.
|
|
7
|
+
*/
|
|
8
|
+
field: FieldInfo;
|
|
9
|
+
/**
|
|
10
|
+
* Optional hover actions to render when the token is hovered.
|
|
11
|
+
*/
|
|
12
|
+
hoverActions?: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* The controlled visible state of the hover actions.
|
|
15
|
+
*/
|
|
16
|
+
hoverActionsVisible?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export default function FieldToken({ field, hoverActions, hoverActionsVisible, ...props }: FieldTokenProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import * as Malloy from '@malloydata/malloy-interfaces';
|
|
3
|
+
import { SearchValueMapResult } from '../contexts/QueryEditorContext';
|
|
4
|
+
export interface MalloyExplorerProviderProps {
|
|
5
|
+
source: Malloy.SourceInfo;
|
|
6
|
+
query?: Malloy.Query;
|
|
7
|
+
setQuery?: (query: Malloy.Query | undefined) => void;
|
|
8
|
+
children: ReactNode | ReactNode[];
|
|
9
|
+
topValues?: SearchValueMapResult[];
|
|
10
|
+
}
|
|
11
|
+
export declare function MalloyExplorerProvider({ source, query, setQuery, children, topValues, }: MalloyExplorerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ASTQuery, ASTSegmentViewDefinition } from '@malloydata/malloy-query-builder';
|
|
2
|
+
export interface AddAggregateProps {
|
|
3
|
+
rootQuery: ASTQuery;
|
|
4
|
+
segment: ASTSegmentViewDefinition;
|
|
5
|
+
}
|
|
6
|
+
export declare function AddAggregate({ rootQuery, segment }: AddAggregateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ASTQuery, ASTSegmentViewDefinition } from '@malloydata/malloy-query-builder';
|
|
2
|
+
export interface AddEmptyNestProps {
|
|
3
|
+
rootQuery: ASTQuery;
|
|
4
|
+
segment: ASTSegmentViewDefinition;
|
|
5
|
+
}
|
|
6
|
+
export declare function AddEmptyNest({ rootQuery, segment }: AddEmptyNestProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Malloy from '@malloydata/malloy-interfaces';
|
|
2
|
+
import { ASTSegmentViewDefinition } from '@malloydata/malloy-query-builder';
|
|
3
|
+
import { FieldInfo } from '@malloydata/malloy-interfaces';
|
|
4
|
+
import { IconType } from '../../primitives';
|
|
5
|
+
export interface AddGroupByProps {
|
|
6
|
+
label: string;
|
|
7
|
+
icon: IconType;
|
|
8
|
+
segment: ASTSegmentViewDefinition;
|
|
9
|
+
fields: FieldInfo[];
|
|
10
|
+
onClick(field: FieldInfo, path: string[]): void;
|
|
11
|
+
types: Array<'dimension' | 'measure' | 'view'>;
|
|
12
|
+
filter?: (segment: ASTSegmentViewDefinition, field: Malloy.FieldInfo, path: string[]) => boolean;
|
|
13
|
+
disabledMessage?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function AddFieldItem({ segment, fields, icon, label, onClick, types, filter, disabledMessage, }: AddGroupByProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ASTQuery, ASTSegmentViewDefinition } from '@malloydata/malloy-query-builder';
|
|
2
|
+
export interface AddGroupByProps {
|
|
3
|
+
rootQuery: ASTQuery;
|
|
4
|
+
segment: ASTSegmentViewDefinition;
|
|
5
|
+
}
|
|
6
|
+
export declare function AddGroupBy({ rootQuery, segment }: AddGroupByProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export interface AddItemProps {
|
|
3
|
+
icon?: ReactElement;
|
|
4
|
+
label: string;
|
|
5
|
+
detail?: ReactElement;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
disable?: () => boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function AddItem({ icon, label, detail, disable, onClick }: AddItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ASTQuery, ASTSegmentViewDefinition } from '@malloydata/malloy-query-builder';
|
|
2
|
+
export interface AddLimitProps {
|
|
3
|
+
rootQuery: ASTQuery;
|
|
4
|
+
segment: ASTSegmentViewDefinition;
|
|
5
|
+
}
|
|
6
|
+
export declare function AddLimit({ rootQuery, segment }: AddLimitProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ASTQuery, ASTSegmentViewDefinition } from '@malloydata/malloy-query-builder';
|
|
2
|
+
export interface AddEmptyNestProps {
|
|
3
|
+
rootQuery: ASTQuery;
|
|
4
|
+
segment: ASTSegmentViewDefinition;
|
|
5
|
+
}
|
|
6
|
+
export declare function AddOrderBy({ rootQuery, segment }: AddEmptyNestProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ASTQuery, ASTSegmentViewDefinition, ASTView } from '@malloydata/malloy-query-builder';
|
|
2
|
+
export interface AddViewProps {
|
|
3
|
+
rootQuery: ASTQuery;
|
|
4
|
+
view: ASTQuery | ASTView;
|
|
5
|
+
segment: ASTSegmentViewDefinition;
|
|
6
|
+
}
|
|
7
|
+
export declare function AddView({ rootQuery, view, segment }: AddViewProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ASTQuery, ASTSegmentViewDefinition } from '@malloydata/malloy-query-builder';
|
|
2
|
+
export interface AddWhereProps {
|
|
3
|
+
rootQuery: ASTQuery;
|
|
4
|
+
segment: ASTSegmentViewDefinition;
|
|
5
|
+
}
|
|
6
|
+
export declare function AddWhere({ rootQuery, segment }: AddWhereProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as Malloy from '@malloydata/malloy-interfaces';
|
|
2
|
+
import { ASTSegmentViewDefinition } from '@malloydata/malloy-query-builder';
|
|
3
|
+
export interface FieldListProps {
|
|
4
|
+
segment: ASTSegmentViewDefinition;
|
|
5
|
+
fields: Malloy.FieldInfo[];
|
|
6
|
+
search: string;
|
|
7
|
+
onClick: (field: Malloy.FieldInfo, path: string[]) => void;
|
|
8
|
+
types: Array<'dimension' | 'measure' | 'view'>;
|
|
9
|
+
filter?: (segment: ASTSegmentViewDefinition, field: Malloy.FieldInfo, path: string[]) => boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function FieldList({ segment, fields, onClick, search, types, filter, }: FieldListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as Malloy from '@malloydata/malloy-interfaces';
|
|
2
|
+
import { ASTSegmentViewDefinition } from '@malloydata/malloy-query-builder';
|
|
3
|
+
export interface FieldMenuProps {
|
|
4
|
+
segment: ASTSegmentViewDefinition;
|
|
5
|
+
fields: Array<Malloy.FieldInfo>;
|
|
6
|
+
types: Array<'dimension' | 'measure' | 'view'>;
|
|
7
|
+
filter?: (segment: ASTSegmentViewDefinition, field: Malloy.FieldInfo, path: string[]) => boolean;
|
|
8
|
+
onClick: (field: Malloy.FieldInfo, path: string[]) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function FieldMenu({ segment, fields, types, filter, onClick, }: FieldMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SearchIndexResult } from './hooks/useSearch';
|
|
2
|
+
export interface FieldListProps {
|
|
3
|
+
search: string;
|
|
4
|
+
onClick: (value: SearchIndexResult) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function ValueList({ onClick, search }: FieldListProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export interface ValueProps {
|
|
8
|
+
value: SearchIndexResult;
|
|
9
|
+
}
|
|
10
|
+
export declare function Value({ value }: ValueProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface SearchIndexResult {
|
|
2
|
+
fieldName: string;
|
|
3
|
+
fieldValue: string | null;
|
|
4
|
+
fieldType: string;
|
|
5
|
+
weight: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function useSearch(searchTerm: string, fieldPath?: string): {
|
|
8
|
+
searchResults: SearchIndexResult[] | undefined;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
};
|