@har-analyzer/components 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/dist/components.js +30283 -0
- package/dist/index.css +1 -0
- package/dist/lib/components/har-analyzer/index.d.ts +6 -0
- package/dist/lib/components/har-analyzer/index.d.ts.map +1 -0
- package/dist/lib/components/har-entries-viewer/content-type-filter.d.ts +8 -0
- package/dist/lib/components/har-entries-viewer/content-type-filter.d.ts.map +1 -0
- package/dist/lib/components/har-entries-viewer/errors-filter.d.ts +7 -0
- package/dist/lib/components/har-entries-viewer/errors-filter.d.ts.map +1 -0
- package/dist/lib/components/har-entries-viewer/index.d.ts +8 -0
- package/dist/lib/components/har-entries-viewer/index.d.ts.map +1 -0
- package/dist/lib/components/har-entries-viewer/list-har-entries.d.ts +10 -0
- package/dist/lib/components/har-entries-viewer/list-har-entries.d.ts.map +1 -0
- package/dist/lib/components/har-entry-viewer/content-viewer.d.ts +8 -0
- package/dist/lib/components/har-entry-viewer/content-viewer.d.ts.map +1 -0
- package/dist/lib/components/har-entry-viewer/headers-viewer.d.ts +7 -0
- package/dist/lib/components/har-entry-viewer/headers-viewer.d.ts.map +1 -0
- package/dist/lib/components/har-entry-viewer/index.d.ts +6 -0
- package/dist/lib/components/har-entry-viewer/index.d.ts.map +1 -0
- package/dist/lib/components/har-entry-viewer/list-items.d.ts +10 -0
- package/dist/lib/components/har-entry-viewer/list-items.d.ts.map +1 -0
- package/dist/lib/components/har-entry-viewer/payload-viewer.d.ts +7 -0
- package/dist/lib/components/har-entry-viewer/payload-viewer.d.ts.map +1 -0
- package/dist/lib/components/har-entry-viewer/response-viewer.d.ts +7 -0
- package/dist/lib/components/har-entry-viewer/response-viewer.d.ts.map +1 -0
- package/dist/lib/components/har-file-uploader/file-upload-error.d.ts +6 -0
- package/dist/lib/components/har-file-uploader/file-upload-error.d.ts.map +1 -0
- package/dist/lib/components/har-file-uploader/index.d.ts +6 -0
- package/dist/lib/components/har-file-uploader/index.d.ts.map +1 -0
- package/dist/lib/components/shared/collapsible-section.d.ts +6 -0
- package/dist/lib/components/shared/collapsible-section.d.ts.map +1 -0
- package/dist/lib/components/shared/enhanced-table.d.ts +47 -0
- package/dist/lib/components/shared/enhanced-table.d.ts.map +1 -0
- package/dist/lib/components/shared/enhanced-top-navigation.d.ts +8 -0
- package/dist/lib/components/shared/enhanced-top-navigation.d.ts.map +1 -0
- package/dist/lib/components/shared/horizontal-gap.d.ts +7 -0
- package/dist/lib/components/shared/horizontal-gap.d.ts.map +1 -0
- package/dist/lib/components/shared/simple-app-layout.d.ts +11 -0
- package/dist/lib/components/shared/simple-app-layout.d.ts.map +1 -0
- package/dist/lib/components/shared/simple-app-preferences/content-width-switcher.d.ts +2 -0
- package/dist/lib/components/shared/simple-app-preferences/content-width-switcher.d.ts.map +1 -0
- package/dist/lib/components/shared/simple-app-preferences/index.d.ts +2 -0
- package/dist/lib/components/shared/simple-app-preferences/index.d.ts.map +1 -0
- package/dist/lib/components/shared/simple-app-preferences/theme-switcher.d.ts +2 -0
- package/dist/lib/components/shared/simple-app-preferences/theme-switcher.d.ts.map +1 -0
- package/dist/lib/components/shared/vertical-gap.d.ts +7 -0
- package/dist/lib/components/shared/vertical-gap.d.ts.map +1 -0
- package/dist/lib/hooks/app-content-width.d.ts +2 -0
- package/dist/lib/hooks/app-content-width.d.ts.map +1 -0
- package/dist/lib/hooks/local-storage.d.ts +2 -0
- package/dist/lib/hooks/local-storage.d.ts.map +1 -0
- package/dist/lib/hooks/split-panel-preferences.d.ts +4 -0
- package/dist/lib/hooks/split-panel-preferences.d.ts.map +1 -0
- package/dist/lib/hooks/table-preferences.d.ts +10 -0
- package/dist/lib/hooks/table-preferences.d.ts.map +1 -0
- package/dist/lib/hooks/theme.d.ts +2 -0
- package/dist/lib/hooks/theme.d.ts.map +1 -0
- package/dist/lib/index.d.ts +5 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/utils/common.d.ts +3 -0
- package/dist/lib/utils/common.d.ts.map +1 -0
- package/dist/lib/utils/content-type.d.ts +5 -0
- package/dist/lib/utils/content-type.d.ts.map +1 -0
- package/dist/lib/utils/date.d.ts +3 -0
- package/dist/lib/utils/date.d.ts.map +1 -0
- package/dist/lib/utils/file-upload.d.ts +4 -0
- package/dist/lib/utils/file-upload.d.ts.map +1 -0
- package/dist/lib/utils/har.d.ts +18 -0
- package/dist/lib/utils/har.d.ts.map +1 -0
- package/package.json +54 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-analyzer/index.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,gBAAgB;IAChC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAgCtE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ContentTypeGroup } from '../../utils/content-type';
|
|
2
|
+
interface ContentTypeFilterProps {
|
|
3
|
+
contentTypeFilters: ContentTypeGroup[];
|
|
4
|
+
onChange: (contentTypeFilters: ContentTypeGroup[]) => void;
|
|
5
|
+
}
|
|
6
|
+
export default function ContentTypeFilter({ contentTypeFilters, onChange }: ContentTypeFilterProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=content-type-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-type-filter.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entries-viewer/content-type-filter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AASlF,UAAU,sBAAsB;IAC/B,kBAAkB,EAAE,gBAAgB,EAAE,CAAC;IACvC,QAAQ,EAAE,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,KAAK,IAAI,CAAC;CAC3D;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CAkBjG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface ErrorsFilterProps {
|
|
2
|
+
shouldFilterErrors: boolean;
|
|
3
|
+
onChange: (shouldFilterErrors: boolean) => void;
|
|
4
|
+
}
|
|
5
|
+
export default function ErrorsFilter({ shouldFilterErrors, onChange }: ErrorsFilterProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=errors-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors-filter.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entries-viewer/errors-filter.tsx"],"names":[],"mappings":"AAKA,UAAU,iBAAiB;IAC1B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,OAAO,KAAK,IAAI,CAAC;CAChD;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CAcvF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HAREntry, HarContent } from '../../utils/har';
|
|
2
|
+
export interface HAREntriesViewerProps {
|
|
3
|
+
harFileName?: string;
|
|
4
|
+
harContent?: HarContent;
|
|
5
|
+
onChange: (selectedHAREntry: HAREntry) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function HAREntriesViewer({ harFileName, harContent, onChange }: HAREntriesViewerProps): import("react/jsx-runtime").JSX.Element | undefined;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entries-viewer/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAKN,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,MAAM,aAAa,CAAC;AAKrB,MAAM,WAAW,qBAAqB;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,EAAE,CAAC,gBAAgB,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC/C;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,qBAAqB,uDA4CpG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HAREntry } from '../../utils/har';
|
|
2
|
+
interface ListHAREntriesProps {
|
|
3
|
+
harEntries: HAREntry[];
|
|
4
|
+
requestHeaders: string[];
|
|
5
|
+
responseHeaders: string[];
|
|
6
|
+
onChange: (selectedHAREntry: HAREntry) => void;
|
|
7
|
+
}
|
|
8
|
+
export default function ListHAREntries({ harEntries, requestHeaders, responseHeaders, onChange }: ListHAREntriesProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=list-har-entries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-har-entries.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entries-viewer/list-har-entries.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,EAAmB,MAAM,aAAa,CAAC;AAgI7D,UAAU,mBAAmB;IAC5B,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,EAAE,CAAC,gBAAgB,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC/C;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CA0BpH"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface ContentViewerProps {
|
|
2
|
+
content: string;
|
|
3
|
+
encoding?: string;
|
|
4
|
+
mimeType?: string;
|
|
5
|
+
}
|
|
6
|
+
export default function ContentViewer({ content, encoding, mimeType }: ContentViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=content-viewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-viewer.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entry-viewer/content-viewer.tsx"],"names":[],"mappings":"AAKA,UAAU,kBAAkB;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAsCxF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HAREntry } from '../../utils/har';
|
|
2
|
+
interface HeadersViewerProps {
|
|
3
|
+
harEntry: HAREntry;
|
|
4
|
+
}
|
|
5
|
+
export default function HeadersViewer({ harEntry }: HeadersViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=headers-viewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headers-viewer.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entry-viewer/headers-viewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG5C,UAAU,kBAAkB;IAC3B,QAAQ,EAAE,QAAQ,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAwBrE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entry-viewer/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAM5C,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE,QAAQ,CAAC;CACnB;AACD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CA2BvE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface ListItemsProps {
|
|
2
|
+
title: string;
|
|
3
|
+
items: {
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}[];
|
|
7
|
+
}
|
|
8
|
+
export default function ListItems({ title, items }: ListItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=list-items.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-items.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entry-viewer/list-items.tsx"],"names":[],"mappings":"AAIA,UAAU,cAAc;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACzC;AACD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,KAAK,EAAE,KAAU,EAAE,EAAE,cAAc,2CAYtE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HAREntry } from '../../utils/har';
|
|
2
|
+
interface PayloadViewerProps {
|
|
3
|
+
harEntry: HAREntry;
|
|
4
|
+
}
|
|
5
|
+
export default function PayloadViewer({ harEntry }: PayloadViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=payload-viewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload-viewer.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entry-viewer/payload-viewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C,UAAU,kBAAkB;IAC3B,QAAQ,EAAE,QAAQ,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAYrE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HAREntry } from '../../utils/har';
|
|
2
|
+
interface ResponseViewerProps {
|
|
3
|
+
harEntry: HAREntry;
|
|
4
|
+
}
|
|
5
|
+
export default function ResponseViewer({ harEntry }: ResponseViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=response-viewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-viewer.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-entry-viewer/response-viewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG5C,UAAU,mBAAmB;IAC5B,QAAQ,EAAE,QAAQ,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CAUvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-upload-error.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-file-uploader/file-upload-error.tsx"],"names":[],"mappings":"AAEA,UAAU,oBAAoB;IAC7B,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,2CAQvE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HarContent } from '../../utils/har';
|
|
2
|
+
export interface HARFileUploaderProps {
|
|
3
|
+
onChange: (harContent: HarContent, harFileName?: string) => void;
|
|
4
|
+
}
|
|
5
|
+
export default function HARFileUploader({ onChange }: HARFileUploaderProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/har-file-uploader/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAyB,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAGrE,MAAM,WAAW,oBAAoB;IACpC,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,WAAW,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAsCzE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type CollapsibleSectionProps = React.PropsWithChildren<{
|
|
2
|
+
title: string;
|
|
3
|
+
}>;
|
|
4
|
+
export default function CollapsibleSection({ title, children }: CollapsibleSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=collapsible-section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapsible-section.d.ts","sourceRoot":"","sources":["../../../../lib/components/shared/collapsible-section.tsx"],"names":[],"mappings":"AAGA,KAAK,uBAAuB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACtD,KAAK,EAAE,MAAM,CAAC;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,uBAAuB,2CAOtF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
interface BaseColumnDefinition {
|
|
2
|
+
header: string;
|
|
3
|
+
width?: number;
|
|
4
|
+
isVisibleByDefault?: boolean;
|
|
5
|
+
isSortable?: boolean;
|
|
6
|
+
}
|
|
7
|
+
type DefaultColumnDefinition<TItem> = {
|
|
8
|
+
type?: 'string';
|
|
9
|
+
cell: (item: TItem) => {
|
|
10
|
+
value: string;
|
|
11
|
+
content?: React.ReactNode;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
type NumericColumnDefinition<TItem> = {
|
|
15
|
+
type: 'number';
|
|
16
|
+
cell: (item: TItem) => {
|
|
17
|
+
value: number;
|
|
18
|
+
content?: React.ReactNode;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type DateColumnDefinition<TItem> = {
|
|
22
|
+
type: 'date';
|
|
23
|
+
cell: (item: TItem) => {
|
|
24
|
+
value: Date;
|
|
25
|
+
content?: React.ReactNode;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type ListColumnDefinition<TItem> = {
|
|
29
|
+
type: 'list';
|
|
30
|
+
cell: (item: TItem) => {
|
|
31
|
+
value: string[];
|
|
32
|
+
content?: React.ReactNode;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type EnhancedColumnDefinition<TItem> = BaseColumnDefinition & (DefaultColumnDefinition<TItem> | NumericColumnDefinition<TItem> | DateColumnDefinition<TItem> | ListColumnDefinition<TItem>);
|
|
36
|
+
export type EnhancedTableColumnsDefinition<TItem> = Record<string, EnhancedColumnDefinition<TItem>>;
|
|
37
|
+
interface EnhancedTableProps<TItem> {
|
|
38
|
+
id: string;
|
|
39
|
+
items: TItem[];
|
|
40
|
+
columnsDefinition: EnhancedTableColumnsDefinition<TItem>;
|
|
41
|
+
empty?: React.ReactNode;
|
|
42
|
+
selectionType?: 'single' | 'multi';
|
|
43
|
+
onSelectionChange?: (selectedItems: TItem[]) => void;
|
|
44
|
+
}
|
|
45
|
+
export default function EnhancedTable<TItem>({ id, items: originalItems, columnsDefinition: enhancedColumnDefinitions, empty, selectionType, onSelectionChange, }: EnhancedTableProps<TItem>): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=enhanced-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhanced-table.d.ts","sourceRoot":"","sources":["../../../../lib/components/shared/enhanced-table.tsx"],"names":[],"mappings":"AAUA,UAAU,oBAAoB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,KAAK,uBAAuB,CAAC,KAAK,IAAI;IACrC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KAC1B,CAAC;CACF,CAAC;AAEF,KAAK,uBAAuB,CAAC,KAAK,IAAI;IACrC,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KAC1B,CAAC;CACF,CAAC;AAEF,KAAK,oBAAoB,CAAC,KAAK,IAAI;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK;QACtB,KAAK,EAAE,IAAI,CAAC;QACZ,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KAC1B,CAAC;CACF,CAAC;AAEF,KAAK,oBAAoB,CAAC,KAAK,IAAI;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK;QACtB,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KAC1B,CAAC;CACF,CAAC;AAEF,KAAK,wBAAwB,CAAC,KAAK,IAAI,oBAAoB,GAC1D,CACG,uBAAuB,CAAC,KAAK,CAAC,GAC9B,uBAAuB,CAAC,KAAK,CAAC,GAC9B,oBAAoB,CAAC,KAAK,CAAC,GAC3B,oBAAoB,CAAC,KAAK,CAAC,CAC7B,CAAC;AAEH,MAAM,MAAM,8BAA8B,CAAC,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAmIpG,UAAU,kBAAkB,CAAC,KAAK;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,EAAE,CAAC;IACf,iBAAiB,EAAE,8BAA8B,CAAC,KAAK,CAAC,CAAC;IACzD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IACnC,iBAAiB,CAAC,EAAE,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;CACrD;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,EAC5C,EAAE,EACF,KAAK,EAAE,aAAa,EACpB,iBAAiB,EAAE,yBAAyB,EAC5C,KAAK,EACL,aAAa,EACb,iBAAiB,GACjB,EAAE,kBAAkB,CAAC,KAAK,CAAC,2CA2F3B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const ENHANCED_TOP_NAVIGATION_ID = "top-navigation";
|
|
2
|
+
export interface EnhancedTopNavigationProps {
|
|
3
|
+
logo?: React.ReactNode;
|
|
4
|
+
appName: string;
|
|
5
|
+
utilities?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default function EnhancedTopNavigation({ logo, appName, utilities }: EnhancedTopNavigationProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=enhanced-top-navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhanced-top-navigation.d.ts","sourceRoot":"","sources":["../../../../lib/components/shared/enhanced-top-navigation.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B,mBAAmB,CAAC;AAI3D,MAAM,WAAW,0BAA0B;IAC1C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AACD,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,0BAA0B,2CAsBrG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SpaceBetweenProps } from '@cloudscape-design/components/space-between';
|
|
2
|
+
type HorizontalGapProps = Omit<SpaceBetweenProps, 'size' | 'direction'> & {
|
|
3
|
+
size?: SpaceBetweenProps['size'];
|
|
4
|
+
};
|
|
5
|
+
export default function HorizontalGap({ children, ...props }: HorizontalGapProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=horizontal-gap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"horizontal-gap.d.ts","sourceRoot":"","sources":["../../../../lib/components/shared/horizontal-gap.tsx"],"names":[],"mappings":"AAAA,OAAqB,EAAE,KAAK,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAEnG,KAAK,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,WAAW,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC;AAE/G,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAM/E"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface SimpleAppLayoutProps {
|
|
2
|
+
logo?: React.ReactNode;
|
|
3
|
+
appName: string;
|
|
4
|
+
content: React.ReactNode;
|
|
5
|
+
splitPanelTitle?: string;
|
|
6
|
+
splitPanelContent?: React.ReactNode;
|
|
7
|
+
isSplitPanelOpen?: boolean;
|
|
8
|
+
onSplitPanelToggle?: (isOpen: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
export default function SimpleAppLayout({ logo, appName, content, splitPanelTitle, splitPanelContent, isSplitPanelOpen, onSplitPanelToggle, }: SimpleAppLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=simple-app-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simple-app-layout.d.ts","sourceRoot":"","sources":["../../../../lib/components/shared/simple-app-layout.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,oBAAoB;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACvC,IAAI,EACJ,OAAO,EACP,OAAO,EACP,eAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GAClB,EAAE,oBAAoB,2CAwBtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-width-switcher.d.ts","sourceRoot":"","sources":["../../../../../lib/components/shared/simple-app-preferences/content-width-switcher.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,oBAAoB,4CAQ3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/components/shared/simple-app-preferences/index.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,oBAAoB,4CA6B3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-switcher.d.ts","sourceRoot":"","sources":["../../../../../lib/components/shared/simple-app-preferences/theme-switcher.tsx"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,aAAa,4CAapC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SpaceBetweenProps } from '@cloudscape-design/components/space-between';
|
|
2
|
+
type VerticalGapProps = Omit<SpaceBetweenProps, 'size' | 'direction'> & {
|
|
3
|
+
size?: SpaceBetweenProps['size'];
|
|
4
|
+
};
|
|
5
|
+
export default function VerticalGap({ children, ...props }: VerticalGapProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=vertical-gap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vertical-gap.d.ts","sourceRoot":"","sources":["../../../../lib/components/shared/vertical-gap.tsx"],"names":[],"mappings":"AAAA,OAAqB,EAAE,KAAK,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAEnG,KAAK,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,WAAW,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC;AAE7G,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAM3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-content-width.d.ts","sourceRoot":"","sources":["../../../lib/hooks/app-content-width.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,kBAAkB,iEAEzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../../lib/hooks/local-storage.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,CAAC,EAAE,eAAe,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,0DAIlF"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AppLayoutProps } from '@cloudscape-design/components/app-layout';
|
|
2
|
+
export declare function useSplitPanelSize(): import('use-local-storage-state').LocalStorageState<number>;
|
|
3
|
+
export declare function useSplitPanelPreferences(): import('use-local-storage-state').LocalStorageState<AppLayoutProps.SplitPanelPreferences>;
|
|
4
|
+
//# sourceMappingURL=split-panel-preferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split-panel-preferences.d.ts","sourceRoot":"","sources":["../../../lib/hooks/split-panel-preferences.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAG/E,wBAAgB,iBAAiB,gEAEhC;AAED,wBAAgB,wBAAwB,8FAEvC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CollectionPreferencesProps } from '@cloudscape-design/components/collection-preferences';
|
|
2
|
+
export declare function useTablePreferences(tableId: string, defaultPreferences: CollectionPreferencesProps.Preferences): import('use-local-storage-state').LocalStorageState<CollectionPreferencesProps.Preferences<any>>;
|
|
3
|
+
export declare function useTablePreferredColumnWidths(tableId: string, defaultWidths?: {
|
|
4
|
+
id: string;
|
|
5
|
+
width?: number;
|
|
6
|
+
}[]): import('use-local-storage-state').LocalStorageState<{
|
|
7
|
+
id: string;
|
|
8
|
+
width?: number;
|
|
9
|
+
}[]>;
|
|
10
|
+
//# sourceMappingURL=table-preferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-preferences.d.ts","sourceRoot":"","sources":["../../../lib/hooks/table-preferences.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAGvG,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,0BAA0B,CAAC,WAAW,oGAE9G;AAED,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,GAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,EAAO;QAA/B,MAAM;YAAU,MAAM;KAEzG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../lib/hooks/theme.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,QAAQ,iEAE/B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as HarAnalyzer } from './components/har-analyzer';
|
|
2
|
+
export { default as HAREntriesViewer } from './components/har-entries-viewer';
|
|
3
|
+
export { default as HAREntryViewer } from './components/har-entry-viewer';
|
|
4
|
+
export { default as HARFileUploader } from './components/har-file-uploader';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../lib/utils/common.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAEnE;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAEpF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const CONTENT_TYPE_GROUPS: readonly [...("JSON" | "XML" | "JS" | "CSS" | "HTML" | "Doc" | "Img" | "Font" | "Media")[], "Other"];
|
|
2
|
+
export type ContentTypeGroup = (typeof CONTENT_TYPE_GROUPS)[number];
|
|
3
|
+
export declare function getContentTypeGroup(mimeType?: string): ContentTypeGroup;
|
|
4
|
+
export declare function getSyntaxHighlight(mimeType?: string): ((code: string) => import('react').ReactNode) | undefined;
|
|
5
|
+
//# sourceMappingURL=content-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-type.d.ts","sourceRoot":"","sources":["../../../lib/utils/content-type.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,mBAAmB,sGAA2E,CAAC;AAE5G,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAYvE;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,CAAC,EAAE,MAAM,6DAOnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../lib/utils/date.ts"],"names":[],"mappings":"AAQA,wBAAgB,2BAA2B,WAE1C;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,UAYzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-upload.d.ts","sourceRoot":"","sources":["../../../lib/utils/file-upload.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,SAAS,CAAC;AAavC,wBAAgB,cAAc,CAAC,KAAK,EAAE,IAAI,EAAE,YAY3C;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,oBAyBtD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Har } from 'har-format';
|
|
2
|
+
import { ContentTypeGroup } from './content-type.js';
|
|
3
|
+
export type HarContent = Har;
|
|
4
|
+
export declare function getHARContentFromFile(fileContent: unknown): HarContent;
|
|
5
|
+
export declare function getEntriesFromHAR(harContent?: Har): import('har-format').Entry[];
|
|
6
|
+
type HAREntryWithoutError = ReturnType<typeof getEntriesFromHAR>[number];
|
|
7
|
+
type HARResponseWithError = HAREntryWithoutError['response'] & {
|
|
8
|
+
_error?: string;
|
|
9
|
+
};
|
|
10
|
+
export type HAREntry = Omit<HAREntryWithoutError, 'response'> & {
|
|
11
|
+
response: HARResponseWithError;
|
|
12
|
+
};
|
|
13
|
+
export declare function getHAREntriesFilteredByContentType(harEntries: HAREntry[], contentTypeFilters: ContentTypeGroup[]): HAREntry[];
|
|
14
|
+
export declare function isErrorResponse(harEntry: HAREntry): boolean;
|
|
15
|
+
export declare function getHAREntriesWithErrorResponse(harEntries: HAREntry[]): HAREntry[];
|
|
16
|
+
export declare function getUniqueHeaderNames(harEntries: HAREntry[], type: 'request' | 'response'): string[];
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=har.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"har.d.ts","sourceRoot":"","sources":["../../../lib/utils/har.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,gBAAgB,EAAuB,MAAM,mBAAmB,CAAC;AAE/E,MAAM,MAAM,UAAU,GAAG,GAAG,CAAC;AAE7B,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,OAAO,GAAG,UAAU,CAmBtE;AAED,wBAAgB,iBAAiB,CAAC,UAAU,CAAC,EAAE,GAAG,gCAEjD;AAED,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AACzE,KAAK,oBAAoB,GAAG,oBAAoB,CAAC,UAAU,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACnF,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,GAAG;IAC/D,QAAQ,EAAE,oBAAoB,CAAC;CAC/B,CAAC;AAEF,wBAAgB,kCAAkC,CAAC,UAAU,EAAE,QAAQ,EAAE,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,cAYhH;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,QAAQ,WAGjD;AAED,wBAAgB,8BAA8B,CAAC,UAAU,EAAE,QAAQ,EAAE,cAEpE;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,GAAG,UAAU,YASxF"}
|
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@har-analyzer/components",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Reusable React components for HAR Analyzer",
|
|
5
|
+
"author": "Allan Joshua",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/theallanjoshua/har-analyzer.git",
|
|
10
|
+
"directory": "packages/components"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/theallanjoshua/har-analyzer#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/theallanjoshua/har-analyzer/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"har",
|
|
18
|
+
"har analyzer",
|
|
19
|
+
"har file",
|
|
20
|
+
"har file viewer"
|
|
21
|
+
],
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"type": "module",
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"main": "dist/components.js",
|
|
30
|
+
"types": "dist/lib/index.d.ts",
|
|
31
|
+
"scripts": {
|
|
32
|
+
"lint": "biome check",
|
|
33
|
+
"dev": "concurrently -k \"tsc --emitDeclarationOnly --watch\" \"vite build --watch\"",
|
|
34
|
+
"build": "tsc && vite build",
|
|
35
|
+
"prepublishOnly": "pnpm run lint && pnpm run build"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"buffer": "^6.0.3",
|
|
39
|
+
"date-fns": "^4.1.0",
|
|
40
|
+
"date-fns-tz": "^3.2.0",
|
|
41
|
+
"pretty-bytes": "^7.0.0",
|
|
42
|
+
"react-error-boundary": "^6.0.0",
|
|
43
|
+
"use-local-storage-state": "^19.5.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@cloudscape-design/code-view": "^3.0.66",
|
|
47
|
+
"@cloudscape-design/collection-hooks": "^1.0.73",
|
|
48
|
+
"@cloudscape-design/components": "^3.0.1022",
|
|
49
|
+
"@cloudscape-design/design-tokens": "^3.0.59",
|
|
50
|
+
"@cloudscape-design/global-styles": "^1.0.44",
|
|
51
|
+
"react": "^19.1.0",
|
|
52
|
+
"react-dom": "^19.1.0"
|
|
53
|
+
}
|
|
54
|
+
}
|