@blueskyproject/tiled 0.0.1
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/LICENSE +32 -0
- package/README.md +123 -0
- package/dist/app/App.d.ts +3 -0
- package/dist/app/App.d.ts.map +1 -0
- package/dist/assets/icons.d.ts +77 -0
- package/dist/assets/icons.d.ts.map +1 -0
- package/dist/components/Button.d.ts +22 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/ButtonCopyToClipboard.d.ts +7 -0
- package/dist/components/ButtonCopyToClipboard.d.ts.map +1 -0
- package/dist/components/InputSlider.d.ts +32 -0
- package/dist/components/InputSlider.d.ts.map +1 -0
- package/dist/components/Tiled/PreviewAwkward.d.ts +1 -0
- package/dist/components/Tiled/PreviewAwkward.d.ts.map +1 -0
- package/dist/components/Tiled/PreviewNDArray.d.ts +9 -0
- package/dist/components/Tiled/PreviewNDArray.d.ts.map +1 -0
- package/dist/components/Tiled/PreviewTable.d.ts +8 -0
- package/dist/components/Tiled/PreviewTable.d.ts.map +1 -0
- package/dist/components/Tiled/StartupScreen.d.ts +8 -0
- package/dist/components/Tiled/StartupScreen.d.ts.map +1 -0
- package/dist/components/Tiled/Tiled.d.ts +19 -0
- package/dist/components/Tiled/Tiled.d.ts.map +1 -0
- package/dist/components/Tiled/TiledBody.d.ts +6 -0
- package/dist/components/Tiled/TiledBody.d.ts.map +1 -0
- package/dist/components/Tiled/TiledColumn.d.ts +13 -0
- package/dist/components/Tiled/TiledColumn.d.ts.map +1 -0
- package/dist/components/Tiled/TiledColumns.d.ts +10 -0
- package/dist/components/Tiled/TiledColumns.d.ts.map +1 -0
- package/dist/components/Tiled/TiledContainer.d.ts +13 -0
- package/dist/components/Tiled/TiledContainer.d.ts.map +1 -0
- package/dist/components/Tiled/TiledFooter.d.ts +7 -0
- package/dist/components/Tiled/TiledFooter.d.ts.map +1 -0
- package/dist/components/Tiled/TiledHeader.d.ts +15 -0
- package/dist/components/Tiled/TiledHeader.d.ts.map +1 -0
- package/dist/components/Tiled/TiledPreview.d.ts +11 -0
- package/dist/components/Tiled/TiledPreview.d.ts.map +1 -0
- package/dist/components/Tiled/TiledPreviewDisplay.d.ts +4 -0
- package/dist/components/Tiled/TiledPreviewDisplay.d.ts.map +1 -0
- package/dist/components/Tiled/TiledPreviewMetadata.d.ts +7 -0
- package/dist/components/Tiled/TiledPreviewMetadata.d.ts.map +1 -0
- package/dist/components/Tiled/apiClient.d.ts +8 -0
- package/dist/components/Tiled/apiClient.d.ts.map +1 -0
- package/dist/components/Tiled/icons.d.ts +8 -0
- package/dist/components/Tiled/icons.d.ts.map +1 -0
- package/dist/components/Tiled/sampleData.d.ts +4 -0
- package/dist/components/Tiled/sampleData.d.ts.map +1 -0
- package/dist/components/Tiled/types.d.ts +118 -0
- package/dist/components/Tiled/types.d.ts.map +1 -0
- package/dist/components/Tiled/useTiled.d.ts +23 -0
- package/dist/components/Tiled/useTiled.d.ts.map +1 -0
- package/dist/components/Tiled/utils.d.ts +17 -0
- package/dist/components/Tiled/utils.d.ts.map +1 -0
- package/dist/finchFavicon.ico +0 -0
- package/dist/images/als_logo_wheel.png +0 -0
- package/dist/images/finchBannerSmall.png +0 -0
- package/dist/images/finchBannerSmallDarkmode.png +0 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/mockServiceWorker.js +307 -0
- package/dist/stories/Tiled.stories.d.ts +17 -0
- package/dist/stories/Tiled.stories.d.ts.map +1 -0
- package/dist/tiled.css +1 -0
- package/dist/tiled.es.js +7980 -0
- package/dist/tiled.umd.js +53 -0
- package/dist/vite.svg +1 -0
- package/package.json +109 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Web Based Beamline Control System (Bluesky Web) Copyright (c) 2024, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
|
|
2
|
+
|
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
|
4
|
+
modification, are permitted provided that the following conditions are met:
|
|
5
|
+
|
|
6
|
+
(1) Redistributions of source code must retain the above copyright notice,
|
|
7
|
+
this list of conditions and the following disclaimer.
|
|
8
|
+
|
|
9
|
+
(2) Redistributions in binary form must reproduce the above copyright
|
|
10
|
+
notice, this list of conditions and the following disclaimer in the
|
|
11
|
+
documentation and/or other materials provided with the distribution.
|
|
12
|
+
|
|
13
|
+
(3) Neither the name of the University of California, Lawrence Berkeley
|
|
14
|
+
National Laboratory, U.S. Dept. of Energy nor the names of its contributors
|
|
15
|
+
may be used to endorse or promote products derived from this software
|
|
16
|
+
without specific prior written permission.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
20
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
21
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
22
|
+
|
|
23
|
+
You are under no obligation whatsoever to provide any bug fixes, patches,
|
|
24
|
+
or upgrades to the features, functionality or performance of the source
|
|
25
|
+
code ("Enhancements") to anyone; however, if you choose to make your
|
|
26
|
+
Enhancements available either publicly, or directly to Lawrence Berkeley
|
|
27
|
+
National Laboratory, without imposing a separate written license agreement
|
|
28
|
+
for such Enhancements, then you hereby grant the following license: a
|
|
29
|
+
non-exclusive, royalty-free perpetual license to install, use, modify,
|
|
30
|
+
prepare derivative works, incorporate into other computer software,
|
|
31
|
+
distribute, and sublicense such enhancements or derivative works thereof,
|
|
32
|
+
in binary and source code form.
|
package/README.md
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
|
|
2
|
+
# Tiled Viewer
|
|
3
|
+
|
|
4
|
+
A React Tiled Viewer component that can access a Bluesky Tiled server using an api key or auth bearer token. The component can accept a callback function that is run when a user selects an item.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Installation
|
|
9
|
+
Once you have your own React app setup, install the component in the root project directory with:
|
|
10
|
+
```
|
|
11
|
+
npm install @blueskyproject/tiled
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Example usage:
|
|
15
|
+
```js
|
|
16
|
+
//App.tsx
|
|
17
|
+
import { Tiled } from '@blueskyproject/tiled';
|
|
18
|
+
import '@blueskyproject/tiled/style.css';
|
|
19
|
+
|
|
20
|
+
function App() {
|
|
21
|
+
return (
|
|
22
|
+
<Tiled tiledBaseUrl='http://customUrl:port/api/v1' />
|
|
23
|
+
)
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Providing a callback function
|
|
28
|
+
```js
|
|
29
|
+
//App.tsx
|
|
30
|
+
import { Tiled } from '@blueskyproject/tiled';
|
|
31
|
+
import '@blueskyproject/tiled/style.css';
|
|
32
|
+
|
|
33
|
+
const printLinks = (links) => {
|
|
34
|
+
console.log({links});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function App() {
|
|
38
|
+
return (
|
|
39
|
+
<Tiled tiledBaseUrl='http://customUrl:port/api/v1' onSelect={printLinks}/>
|
|
40
|
+
)
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
You will only need to import '@blueskyproject/tiled/style.css' once.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
Hint: To quickly check the props that a component takes on typescript apps, press 'ctrl+space' when clicked inside a component.
|
|
49
|
+
|
|
50
|
+
# Bluesky Requirements
|
|
51
|
+
Components in this library require network access to the Bluesky Queue Server, Tiled, and Ophyd-Websocket. The components are designed to work out of the box with the default ports for each service.
|
|
52
|
+
|
|
53
|
+
Specific paths/ports can be set at runtime with environment variables, or alternatively passed in as props to components that need them.
|
|
54
|
+
|
|
55
|
+
Documentation for env variables in progress.
|
|
56
|
+
|
|
57
|
+
https://github.com/bluesky/bluesky-queueserver
|
|
58
|
+
|
|
59
|
+
https://github.com/bluesky/tiled
|
|
60
|
+
|
|
61
|
+
https://github.com/bluesky/ophyd-websocket
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
# Installation - Developer
|
|
65
|
+
To check out the project without creating your own React app, or for development, you can pull down the repo and install with npm.
|
|
66
|
+
|
|
67
|
+
New to React? Make sure you have [npm installed first](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
|
|
68
|
+
|
|
69
|
+
## Clone repo and install
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
git clone https://github.com/bluesky/tiled-viewer-react.git
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
cd finch
|
|
77
|
+
npm install
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Run the dev servers
|
|
81
|
+
To start up the react app:
|
|
82
|
+
```
|
|
83
|
+
npm run dev
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
[localhost:5173](http://localhost:5173)
|
|
87
|
+
|
|
88
|
+
To start up the storybook server:
|
|
89
|
+
```
|
|
90
|
+
npm run storybook
|
|
91
|
+
```
|
|
92
|
+
[localhost:6006](http://localhost:6006)
|
|
93
|
+
|
|
94
|
+
# Developer Scripts
|
|
95
|
+
|
|
96
|
+
## Updating the NPM Package
|
|
97
|
+
Future configuration will likely support automatic npm builds through gh actions, but currently manual updates are required.
|
|
98
|
+
|
|
99
|
+
First commit any changes so your working tree is clean
|
|
100
|
+
|
|
101
|
+
Then increment the package version as appropriate
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
npm version patch
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Run the build
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
npm run build
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Publish (token required the first time)
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
npm publish
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
To verify what you're about to publish, you can check out the /dist folder.
|
|
120
|
+
|
|
121
|
+
The build can be viewed at [https://www.npmjs.com/package/@blueskyproject/tiled](https://www.npmjs.com/package/@blueskyproject/tiled).
|
|
122
|
+
|
|
123
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/app/App.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAInB,iBAAS,GAAG,4CAMX;AAED,eAAe,GAAG,CAAA"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
declare const tailwindIcons: {
|
|
2
|
+
arrowsPointingOut: import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
arrowsPointingIn: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
arrowDownTray: import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
arrowTopRight: import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
arrowUturnLeft: import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
arrowRefresh: import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
arrowLongLeft: import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
adjustmentsVertical: import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
chatBubbleOvalEllipsisLeft: import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
chevronDown: import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
chevronLeft: import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
chevronRight: import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
chevronUp: import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
checkmarkInCircle: import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
circleStack: import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
clipBoardDocument: import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
clipBoardDocumentCheck: import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
clipboardDocumentList: import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
clock: import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
cloud: import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
codeBracket: import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
cog: import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
commandLine: import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
documentCharBar: import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
exclamationTriangle: import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
fingerprint: import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
home: import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
leftArrow: import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
leftArrowBox: import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
lightning: import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
locked: import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
minus: import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
plus: import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
presentationChart: import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
rightArrow: import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
queueList: import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
rectangleGroup: import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
trash: import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
unlocked: import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
user: import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
userCircle: import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
users: import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
videoCamera: import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
xCircle: import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
};
|
|
47
|
+
declare const customIcons: {
|
|
48
|
+
rectangles: import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
waitingRoom: import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
};
|
|
51
|
+
declare const phosphorIcons: {
|
|
52
|
+
eye: import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
eyeSlash: import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
camera: import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
cameraSlash: import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
aperture: import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
plugs: import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
plugsConnected: import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
chartPolar: import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
};
|
|
61
|
+
declare const deviceIcons: {
|
|
62
|
+
linearStage: import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
stepperMotor: import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
beamstopX: import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
beamstopY: import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
sampleHolderX: import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
sampleHolderY: import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
};
|
|
69
|
+
declare const controllerIcons: {
|
|
70
|
+
leftArrowMinus: import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
rightArrowPlus: import("react/jsx-runtime").JSX.Element;
|
|
72
|
+
};
|
|
73
|
+
declare const beamlineIcons: {
|
|
74
|
+
mono: import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
};
|
|
76
|
+
export { tailwindIcons, phosphorIcons, customIcons, deviceIcons, controllerIcons, beamlineIcons };
|
|
77
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/assets/icons.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6ClB,CAAC;AAEF,QAAA,MAAM,WAAW;;;CAmBhB,CAAC;AAEF,QAAA,MAAM,aAAa;;;;;;;;;CASlB,CAAA;AAED,QAAA,MAAM,WAAW;;;;;;;CAkFhB,CAAA;AAED,QAAA,MAAM,eAAe;;;CAqCpB,CAAA;AAED,QAAA,MAAM,aAAa;;CAwBlB,CAAA;AAGD,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type ButtonProps = {
|
|
2
|
+
/** callback function on click */
|
|
3
|
+
cb?: Function;
|
|
4
|
+
/** text inside button */
|
|
5
|
+
text?: string;
|
|
6
|
+
/** Tailwind ClassName */
|
|
7
|
+
bgColor?: `bg-${string}`;
|
|
8
|
+
/** Tailwind ClassName */
|
|
9
|
+
hoverBgColor?: `hover:bg-${string}`;
|
|
10
|
+
/** Tailwind ClassName */
|
|
11
|
+
textColor?: `text-${string}`;
|
|
12
|
+
/** Extra Tailwind ClassNames applied to button component */
|
|
13
|
+
styles?: string;
|
|
14
|
+
/** Boolean that prevents the user from clicking or causing hover effects when true */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** How large is the button */
|
|
17
|
+
size?: 'small' | 'medium' | 'large';
|
|
18
|
+
/** Should the button style default to hollow color with black text? */
|
|
19
|
+
isSecondary?: boolean;
|
|
20
|
+
};
|
|
21
|
+
export default function Button({ cb, text, bgColor, hoverBgColor, textColor, styles, disabled, size, isSecondary, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACtB,iCAAiC;IACjC,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,MAAM,EAAE,CAAC;IACzB,yBAAyB;IACzB,YAAY,CAAC,EAAE,YAAY,MAAM,EAAE,CAAC;IACpC,yBAAyB;IACzB,SAAS,CAAC,EAAE,QAAQ,MAAM,EAAE,CAAC;IAC7B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sFAAsF;IACtF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC3B,EAAa,EACb,IAAS,EACT,OAAsB,EACtB,YAAiC,EACjC,SAAwB,EACxB,MAAW,EACX,QAAgB,EAChB,IAAa,EACb,WAAW,EACX,GAAG,KAAK,EACX,EAAE,WAAW,2CAyCb"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type ButtonCopyToClipboardProps = {
|
|
2
|
+
copyText: string;
|
|
3
|
+
cb?: Function;
|
|
4
|
+
size?: 'small' | 'medium' | 'large';
|
|
5
|
+
};
|
|
6
|
+
export default function ButtonCopyToClipboard({ copyText, cb, size, ...props }: ButtonCopyToClipboardProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=ButtonCopyToClipboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonCopyToClipboard.d.ts","sourceRoot":"","sources":["../../src/components/ButtonCopyToClipboard.tsx"],"names":[],"mappings":"AAUA,MAAM,MAAM,0BAA0B,GAAG;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;CACtC,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC1C,QAAQ,EACR,EAAE,EACF,IAAa,EACb,GAAG,KAAK,EACX,EAAE,0BAA0B,2CA+B5B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type InputSliderProps = {
|
|
2
|
+
/** Slider label */
|
|
3
|
+
label?: string;
|
|
4
|
+
/** Lowest possible value */
|
|
5
|
+
min: number;
|
|
6
|
+
/** Greatest possible value */
|
|
7
|
+
max: number;
|
|
8
|
+
/** Current value of slider */
|
|
9
|
+
value: number;
|
|
10
|
+
/** Unit type */
|
|
11
|
+
units?: string;
|
|
12
|
+
/** An extra unit label underneath the min/max tickmark value */
|
|
13
|
+
shorthandUnits?: string;
|
|
14
|
+
/**Should we show the input box on the right of the slider? */
|
|
15
|
+
showSideInput?: boolean;
|
|
16
|
+
/** An array representing where vertical tick marks should be */
|
|
17
|
+
marks?: number[];
|
|
18
|
+
/** The spacing between snap points for the slider thumb, defaults to 1 */
|
|
19
|
+
step?: number;
|
|
20
|
+
/** Should the input bar be filled up with blue color up to the thumb? */
|
|
21
|
+
showFill?: boolean;
|
|
22
|
+
/**Tailwind ClassName */
|
|
23
|
+
width?: `w-${string}`;
|
|
24
|
+
/** How big should the text and tick marks be? */
|
|
25
|
+
size?: 'small' | 'medium' | 'large';
|
|
26
|
+
/** A function that is called with the newest value */
|
|
27
|
+
onChange?: (value: number) => void;
|
|
28
|
+
/** Tailwind ClassNames applied to parent container */
|
|
29
|
+
styles?: string;
|
|
30
|
+
};
|
|
31
|
+
export default function InputSlider({ label, min, max, value, units, shorthandUnits, marks, step, showFill, size, width, showSideInput, onChange, styles, ...props }: InputSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
//# sourceMappingURL=InputSlider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputSlider.d.ts","sourceRoot":"","sources":["../../src/components/InputSlider.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,8BAA8B;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yEAAyE;IACzE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wBAAwB;IACxB,KAAK,CAAC,EAAE,KAAK,MAAM,EAAE,CAAA;IACrB,iDAAiD;IACjD,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,sDAAsD;IACtD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,KAAK,EACL,GAAG,EACH,GAAG,EACH,KAAK,EACL,KAAK,EACL,cAAc,EACd,KAAK,EACL,IAAM,EACN,QAAc,EACd,IAAa,EACb,KAAc,EACd,aAAkB,EAClB,QAAQ,EACR,MAAW,EACX,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAoIlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=PreviewAwkward.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewAwkward.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/PreviewAwkward.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TiledSearchItem, ArrayStructure } from './types';
|
|
2
|
+
type PreviewNDArrayProps = {
|
|
3
|
+
arrayItem: TiledSearchItem<ArrayStructure>;
|
|
4
|
+
url?: string;
|
|
5
|
+
isFullWidth?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export default function PreviewNDArray({ arrayItem, url, isFullWidth, }: PreviewNDArrayProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=PreviewNDArray.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewNDArray.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/PreviewNDArray.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAU,MAAM,SAAS,CAAC;AAMlE,KAAK,mBAAmB,GAAG;IACvB,SAAS,EAAE,eAAe,CAAC,cAAc,CAAC,CAAC;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACnC,SAAS,EACT,GAAG,EACH,WAAW,GACd,EAAE,mBAAmB,2CAqErB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TiledSearchItem, TableStructure } from './types';
|
|
2
|
+
type PreviewTableProps = {
|
|
3
|
+
tableItem: TiledSearchItem<TableStructure>;
|
|
4
|
+
url?: string;
|
|
5
|
+
};
|
|
6
|
+
export default function PreviewTable({ tableItem, url }: PreviewTableProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=PreviewTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewTable.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/PreviewTable.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAiB,MAAM,SAAS,CAAC;AAKzE,KAAK,iBAAiB,GAAG;IACrB,SAAS,EAAE,eAAe,CAAC,cAAc,CAAC,CAAC;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,iBAAiB,2CA6GzE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type StartupScreenProps = {
|
|
2
|
+
url: string | undefined;
|
|
3
|
+
handleUrlChange: Function;
|
|
4
|
+
handleSubmit: Function;
|
|
5
|
+
};
|
|
6
|
+
export default function StartupScreen({ url, handleUrlChange, handleSubmit, ...props }: StartupScreenProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=StartupScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StartupScreen.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/StartupScreen.tsx"],"names":[],"mappings":"AAKA,KAAK,kBAAkB,GAAG;IACtB,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,eAAe,EAAE,QAAQ,CAAC;IAC1B,YAAY,EAAE,QAAQ,CAAA;CACzB,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAClC,GAAG,EACH,eAAe,EACf,YAAY,EACZ,GAAG,KAAK,EACX,EAAE,kBAAkB,2CAkDpB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TiledItemLinks } from './types';
|
|
2
|
+
export type TiledProps = {
|
|
3
|
+
onSelectCallback?: (links: TiledItemLinks) => void;
|
|
4
|
+
apiKey?: string;
|
|
5
|
+
bearerToken?: string;
|
|
6
|
+
size?: 'small' | 'medium' | 'large';
|
|
7
|
+
closeOnSelect?: boolean;
|
|
8
|
+
isPopup?: boolean;
|
|
9
|
+
enableStartupScreen?: boolean;
|
|
10
|
+
tiledBaseUrl?: string;
|
|
11
|
+
backgroundClassName?: string;
|
|
12
|
+
singleColumnMode?: boolean;
|
|
13
|
+
contentClassName?: string;
|
|
14
|
+
isFullWidth?: boolean;
|
|
15
|
+
isButtonMode?: boolean;
|
|
16
|
+
buttonModeText?: string;
|
|
17
|
+
};
|
|
18
|
+
export default function Tiled({ onSelectCallback, apiKey, bearerToken, size, closeOnSelect, isPopup, enableStartupScreen, tiledBaseUrl, backgroundClassName, contentClassName, singleColumnMode, isFullWidth, isButtonMode, buttonModeText, ...props }: TiledProps): import("react/jsx-runtime").JSX.Element | undefined;
|
|
19
|
+
//# sourceMappingURL=Tiled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tiled.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/Tiled.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAA;AAGpB,OAAO,EAAE,cAAc,EAAoC,MAAM,SAAS,CAAC;AAI3E,MAAM,MAAM,UAAU,GAAG;IACrB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC1B,gBAAgB,EAChB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,aAAmB,EACnB,OAAO,EACP,mBAAyB,EACzB,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,gBAAsB,EACtB,WAAiB,EACjB,YAAkB,EAClB,cAA4B,EAC5B,GAAG,KAAK,EACX,EAAE,UAAU,uDAyFZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TiledBody.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/TiledBody.tsx"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAC;AAErB,KAAK,cAAc,GAAG;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAA;AAgBG,QAAA,MAAM,SAAS,2GAqBjB,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TiledSearchItem, TiledStructures, Breadcrumb } from './types';
|
|
2
|
+
type TiledColumnProps = {
|
|
3
|
+
data: TiledSearchItem<TiledStructures>[];
|
|
4
|
+
onItemClick: Function;
|
|
5
|
+
index: number;
|
|
6
|
+
breadcrumbs: Breadcrumb[];
|
|
7
|
+
handleSelectClick?: Function;
|
|
8
|
+
className?: string;
|
|
9
|
+
showTooltip?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare function TiledColumn({ data, index, onItemClick, breadcrumbs, handleSelectClick, className, showTooltip }: TiledColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=TiledColumn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TiledColumn.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/TiledColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKvE,KAAK,gBAAgB,GAAG;IACpB,IAAI,EAAE,eAAe,CAAC,eAAe,CAAC,EAAE,CAAC;IACzC,WAAW,EAAE,QAAQ,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AA4BF,wBAAgB,WAAW,CAAE,EAAC,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,EAAE,WAAgB,EAAC,EAAE,gBAAgB,2CAiDrI"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TiledSearchResult, Breadcrumb } from './types';
|
|
2
|
+
type TiledColumnsProps = {
|
|
3
|
+
columns: TiledSearchResult[];
|
|
4
|
+
onItemClick: Function;
|
|
5
|
+
breadcrumbs: Breadcrumb[];
|
|
6
|
+
handleSelectClick?: Function;
|
|
7
|
+
};
|
|
8
|
+
export default function TiledColumns({ columns, onItemClick, breadcrumbs, handleSelectClick, ...props }: TiledColumnsProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=TiledColumns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TiledColumns.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/TiledColumns.tsx"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAA;AACpB,OAAO,EAAC,iBAAiB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGvD,KAAK,iBAAiB,GAAG;IACrB,OAAO,EAAC,iBAAiB,EAAE,CAAC;IAC5B,WAAW,EAAE,QAAQ,CAAC;IACtB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;CAChC,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACjC,OAAO,EACP,WAAkB,EAClB,WAAW,EACX,iBAAiB,EACjB,GAAG,KAAK,EACX,EAAE,iBAAiB,2CAgBnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TiledSearchItem, TiledStructures } from './types';
|
|
2
|
+
type TiledContainerProps = {
|
|
3
|
+
url: string | undefined;
|
|
4
|
+
handleSelectClick: (item: TiledSearchItem<TiledStructures>) => void;
|
|
5
|
+
singleColumnMode?: boolean;
|
|
6
|
+
handleExpandClick: Function;
|
|
7
|
+
isExpanded: boolean;
|
|
8
|
+
apiKey?: string;
|
|
9
|
+
bearerToken?: string;
|
|
10
|
+
};
|
|
11
|
+
export default function TiledContainer({ url, handleSelectClick, singleColumnMode, handleExpandClick, isExpanded, apiKey, bearerToken, ...props }: TiledContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=TiledContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TiledContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/TiledContainer.tsx"],"names":[],"mappings":"AAQA,OAAO,aAAa,CAAA;AAGpB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI3D,KAAK,mBAAmB,GAAG;IACvB,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,iBAAiB,EAAE,CAAC,IAAI,EAAE,eAAe,CAAC,eAAe,CAAC,KAAM,IAAI,CAAC;IACrE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,EAAE,QAAQ,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACnC,GAAG,EACH,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EACV,MAAM,EACN,WAAW,EACX,GAAG,KAAK,EACX,EAAE,mBAAmB,2CAyDrB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Breadcrumb } from './types';
|
|
2
|
+
type TiledFooterProps = {
|
|
3
|
+
breadcrumbs?: Breadcrumb[];
|
|
4
|
+
};
|
|
5
|
+
export default function TiledFooter({ breadcrumbs, ...props }: TiledFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=TiledFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TiledFooter.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/TiledFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAG,MAAM,SAAS,CAAA;AAErC,KAAK,gBAAgB,GAAG;IACpB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;CAC7B,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAChC,WAAW,EACX,GAAG,KAAK,EACX,EAAE,gBAAgB,2CAoClB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Breadcrumb } from './types';
|
|
2
|
+
type TiledHeaderProps = {
|
|
3
|
+
breadcrumbs?: Breadcrumb[];
|
|
4
|
+
onLeftArrowClick?: Function;
|
|
5
|
+
onRightArrowClick?: Function;
|
|
6
|
+
onHomeClick?: Function;
|
|
7
|
+
imageUrl?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
secondaryTitle?: string;
|
|
10
|
+
handleExpandClick: Function;
|
|
11
|
+
isExpanded: boolean;
|
|
12
|
+
};
|
|
13
|
+
export default function TiledHeader({ breadcrumbs, onLeftArrowClick, onRightArrowClick, onHomeClick, imageUrl, title, secondaryTitle, handleExpandClick, isExpanded, ...props }: TiledHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=TiledHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TiledHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/TiledHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AASrC,KAAK,gBAAgB,GAAG;IACpB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,QAAQ,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC;CACvB,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAChC,WAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,QAAoB,EACpB,KAAa,EACb,cAAyB,EACzB,iBAAiB,EACjB,UAAU,EACV,GAAG,KAAK,EACX,EAAE,gBAAgB,2CAuClB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PreviewSize, TiledSearchItem, ArrayStructure, TableStructure } from './types';
|
|
2
|
+
type TiledPreviewProps = {
|
|
3
|
+
previewItem: TiledSearchItem<ArrayStructure> | TiledSearchItem<TableStructure>;
|
|
4
|
+
previewSize: PreviewSize;
|
|
5
|
+
handleSelectClick?: Function;
|
|
6
|
+
url?: string;
|
|
7
|
+
scrollContainerRef: React.RefObject<HTMLDivElement>;
|
|
8
|
+
};
|
|
9
|
+
export default function TiledPreview({ previewItem, handleSelectClick, previewSize, url, scrollContainerRef, ...props }: TiledPreviewProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=TiledPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TiledPreview.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/TiledPreview.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAsC,MAAM,SAAS,CAAC;AAK3H,KAAK,iBAAiB,GAAG;IACrB,WAAW,EAAE,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,CAAA;IAC9E,WAAW,EAAE,WAAW,CAAC;IACzB,iBAAiB,CAAC,EAAC,QAAQ,CAAC;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kBAAkB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAEvD,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACjC,WAAW,EACX,iBAAiB,EACjB,WAAoB,EACpB,GAAG,EACH,kBAAkB,EAClB,GAAG,KAAK,EACX,EAAE,iBAAiB,2CAiCnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TiledPreviewDisplay.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/TiledPreviewDisplay.tsx"],"names":[],"mappings":"AAAA,KAAK,wBAAwB,GAAG,EAE/B,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EACxC,GAAG,KAAK,EACX,EAAE,wBAAwB,2CAM1B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ArrayStructure, TableStructure, TiledSearchItem } from './types';
|
|
2
|
+
type TiledPreviewMetadataProps = {
|
|
3
|
+
item: TiledSearchItem<ArrayStructure> | TiledSearchItem<TableStructure>;
|
|
4
|
+
};
|
|
5
|
+
export default function TiledPreviewMetadata({ item, ...props }: TiledPreviewMetadataProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=TiledPreviewMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TiledPreviewMetadata.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/TiledPreviewMetadata.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1E,KAAK,yBAAyB,GAAG;IAC7B,IAAI,EAAE,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,CAAE;CAC5E,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EACzC,IAAI,EACJ,GAAG,KAAK,EACX,EAAE,yBAAyB,2CAkC3B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TiledSearchResult } from './types';
|
|
2
|
+
declare const getDefaultTiledUrl: () => string;
|
|
3
|
+
declare const setBearerToken: (token: string) => void;
|
|
4
|
+
declare const getSearchResults: (searchPath?: string, url?: string, cb?: (res: TiledSearchResult) => void, mock?: boolean) => Promise<TiledSearchResult | null>;
|
|
5
|
+
declare const getFirstSearchWithApiKey: (apiKey: string, searchPath?: string, url?: string, cb?: (res: TiledSearchResult) => void, mock?: boolean) => Promise<TiledSearchResult | null>;
|
|
6
|
+
declare const getTableData: (searchPath: string, partition: number, url?: string, cb?: (parsedData: any) => void) => Promise<any>;
|
|
7
|
+
export { getSearchResults, getDefaultTiledUrl, getTableData, getFirstSearchWithApiKey, setBearerToken };
|
|
8
|
+
//# sourceMappingURL=apiClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiClient.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/apiClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAM5C,QAAA,MAAM,kBAAkB,cAavB,CAAC;AAeF,QAAA,MAAM,cAAc,UAAU,MAAM,SAMnC,CAAC;AAMF,QAAA,MAAM,gBAAgB,gBAAsB,MAAM,QAAO,MAAM,OAAM,CAAC,GAAG,EAAC,iBAAiB,KAAG,IAAI,SAAQ,OAAO,KAAE,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAgBlJ,CAAC;AAEF,QAAA,MAAM,wBAAwB,WAAiB,MAAM,eAAc,MAAM,QAAO,MAAM,OAAM,CAAC,GAAG,EAAC,iBAAiB,KAAG,IAAI,SAAS,OAAO,KAAE,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAe1K,CAAC;AAEF,QAAA,MAAM,YAAY,eAAoB,MAAM,aAAY,MAAM,QAAO,MAAM,OAAM,CAAC,UAAU,EAAC,GAAG,KAAG,IAAI,iBAkBtG,CAAA;AAgLD,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,YAAY,EAAE,wBAAwB,EAAE,cAAc,EAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const tiledStructureIcons: {
|
|
2
|
+
folder: import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
brackestSqaure: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
table: import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
question: import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export { tiledStructureIcons };
|
|
8
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/icons.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,mBAAmB;;;;;CAKxB,CAAA;AACD,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleData.d.ts","sourceRoot":"","sources":["../../../src/components/Tiled/sampleData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,QAAA,MAAM,qBAAqB,EAAC,iBAiqB3B,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|