dce-reactkit 3.2.2-beta.42 → 3.2.2-beta.46
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/cjs/index.js +241 -198
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +241 -198
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CSVDownloadButton.tsx +1 -1
- package/src/components/IntelliTable.tsx +74 -3
- package/src/components/LogReviewer.tsx +191 -188
package/dist/esm/index.js
CHANGED
|
@@ -2305,7 +2305,7 @@ const CSVDownloadButton = (props) => {
|
|
|
2305
2305
|
/* Main UI */
|
|
2306
2306
|
/*----------------------------------------*/
|
|
2307
2307
|
// Render the button
|
|
2308
|
-
return (React.createElement("a", { id: id, download: filename, href: `data:application/octet-stream,${csv}`, className: `CSVDownloadButton-button ${className !== null && className !== void 0 ? className : 'btn btn-secondary'}`, "aria-label": (ariaLabel
|
|
2308
|
+
return (React.createElement("a", { id: id, download: filename, href: `data:application/octet-stream,${encodeURIComponent(csv)}`, className: `CSVDownloadButton-button ${className !== null && className !== void 0 ? className : 'btn btn-secondary'}`, "aria-label": (ariaLabel
|
|
2309
2309
|
? `Click to download ${filename}`
|
|
2310
2310
|
: ariaLabel), style: style, onClick: onClick },
|
|
2311
2311
|
!children && (React.createElement(React.Fragment, null,
|
|
@@ -2337,6 +2337,10 @@ var ActionType$1;
|
|
|
2337
2337
|
ActionType["UpdateColumnVisibility"] = "update-column-visibility";
|
|
2338
2338
|
// Toggle the column visibility customization modal
|
|
2339
2339
|
ActionType["ToggleColVisCusModalVisibility"] = "toggle-col-vis-cus-modal-visibility";
|
|
2340
|
+
// Show all columns
|
|
2341
|
+
ActionType["ShowAllColumns"] = "show-all-columns";
|
|
2342
|
+
// Hide all columns
|
|
2343
|
+
ActionType["HideAllColumns"] = "hide-all-columns";
|
|
2340
2344
|
})(ActionType$1 || (ActionType$1 = {}));
|
|
2341
2345
|
/**
|
|
2342
2346
|
* Reducer that executes actions
|
|
@@ -2366,6 +2370,20 @@ const reducer$1 = (state, action) => {
|
|
|
2366
2370
|
case ActionType$1.ToggleColVisCusModalVisibility: {
|
|
2367
2371
|
return Object.assign(Object.assign({}, state), { columnVisibilityCustomizationModalVisible: !state.columnVisibilityCustomizationModalVisible });
|
|
2368
2372
|
}
|
|
2373
|
+
case ActionType$1.ShowAllColumns: {
|
|
2374
|
+
const { columnVisibilityMap } = state;
|
|
2375
|
+
Object.keys(columnVisibilityMap).forEach((param) => {
|
|
2376
|
+
columnVisibilityMap[param] = true;
|
|
2377
|
+
});
|
|
2378
|
+
return Object.assign(Object.assign({}, state), { columnVisibilityMap });
|
|
2379
|
+
}
|
|
2380
|
+
case ActionType$1.HideAllColumns: {
|
|
2381
|
+
const { columnVisibilityMap } = state;
|
|
2382
|
+
Object.keys(columnVisibilityMap).forEach((param) => {
|
|
2383
|
+
columnVisibilityMap[param] = false;
|
|
2384
|
+
});
|
|
2385
|
+
return Object.assign(Object.assign({}, state), { columnVisibilityMap });
|
|
2386
|
+
}
|
|
2369
2387
|
default: {
|
|
2370
2388
|
return state;
|
|
2371
2389
|
}
|
|
@@ -2386,8 +2404,10 @@ const IntelliTable = (props) => {
|
|
|
2386
2404
|
const data = ((props.data && props.data.length > 0)
|
|
2387
2405
|
? props.data
|
|
2388
2406
|
: [{ id: 'empty-row' }]);
|
|
2407
|
+
// Get CSV filename
|
|
2408
|
+
let filename = `${title}.csv`;
|
|
2389
2409
|
if (props.csvName) {
|
|
2390
|
-
(props.csvName.endsWith('.csv')
|
|
2410
|
+
filename = (props.csvName.endsWith('.csv')
|
|
2391
2411
|
? props.csvName
|
|
2392
2412
|
: `${props.csvName}.csv`);
|
|
2393
2413
|
}
|
|
@@ -2419,18 +2439,37 @@ const IntelliTable = (props) => {
|
|
|
2419
2439
|
if (columnVisibilityCustomizationModalVisible) {
|
|
2420
2440
|
// Create modal
|
|
2421
2441
|
modal = (React.createElement(Modal, { type: ModalType$1.Okay, title: "Choose columns to show:", onClose: () => {
|
|
2442
|
+
const noColumnsSelected = (Object.values(columnVisibilityMap)
|
|
2443
|
+
.every((isSelected) => {
|
|
2444
|
+
return !isSelected;
|
|
2445
|
+
}));
|
|
2446
|
+
if (noColumnsSelected) {
|
|
2447
|
+
return alert$1('Choose at least one column', 'To continue, you have to choose at least one column to show');
|
|
2448
|
+
}
|
|
2422
2449
|
dispatch({
|
|
2423
2450
|
type: ActionType$1.ToggleColVisCusModalVisibility,
|
|
2424
2451
|
});
|
|
2425
|
-
}, okayVariant: Variant$1.Light },
|
|
2426
|
-
|
|
2452
|
+
}, okayVariant: Variant$1.Light },
|
|
2453
|
+
columns.map((column) => {
|
|
2454
|
+
return (React.createElement(CheckboxButton, { key: column.param, id: `IntelliTable-${id}-toggle-visibility-${column.param}`, className: "mb-2", text: column.title, onChanged: (checked) => {
|
|
2455
|
+
dispatch({
|
|
2456
|
+
type: ActionType$1.UpdateColumnVisibility,
|
|
2457
|
+
param: column.param,
|
|
2458
|
+
visible: checked,
|
|
2459
|
+
});
|
|
2460
|
+
}, checked: columnVisibilityMap[column.param], ariaLabel: `show "${column.title}" column in the ${title} table`, checkedVariant: Variant$1.Light, uncheckedVariant: Variant$1.Secondary }));
|
|
2461
|
+
}),
|
|
2462
|
+
React.createElement("div", { className: "mt-3" }, "Or you can:"),
|
|
2463
|
+
React.createElement("button", { type: "button", id: `IntelliTable-${id}-select-all-columns`, className: "btn btn-secondary me-2", "aria-label": `show all columns in the ${title} table`, onClick: () => {
|
|
2464
|
+
dispatch({
|
|
2465
|
+
type: ActionType$1.ShowAllColumns,
|
|
2466
|
+
});
|
|
2467
|
+
} }, "Select All"),
|
|
2468
|
+
React.createElement("button", { type: "button", id: `IntelliTable-${id}-select-none-columns`, className: "btn btn-secondary", "aria-label": `hide all columns in the ${title} table`, onClick: () => {
|
|
2427
2469
|
dispatch({
|
|
2428
|
-
type: ActionType$1.
|
|
2429
|
-
param: column.param,
|
|
2430
|
-
visible: checked,
|
|
2470
|
+
type: ActionType$1.HideAllColumns,
|
|
2431
2471
|
});
|
|
2432
|
-
}
|
|
2433
|
-
})));
|
|
2472
|
+
} }, "Deselect All")));
|
|
2434
2473
|
}
|
|
2435
2474
|
/*----------------------------------------*/
|
|
2436
2475
|
/* Main UI */
|
|
@@ -2656,14 +2695,16 @@ const IntelliTable = (props) => {
|
|
|
2656
2695
|
})
|
|
2657
2696
|
.length);
|
|
2658
2697
|
// Build CSV
|
|
2659
|
-
const csv = genCSV(data, columns)
|
|
2698
|
+
const csv = genCSV(data, columns.filter((column) => {
|
|
2699
|
+
return columnVisibilityMap[column.param];
|
|
2700
|
+
}));
|
|
2660
2701
|
// Build main UI
|
|
2661
2702
|
return (React.createElement("div", { className: `IntelliTable-container-${id}` },
|
|
2662
2703
|
modal,
|
|
2663
2704
|
React.createElement("div", { className: "d-flex align-items-center justify-content-start" },
|
|
2664
2705
|
React.createElement("h3", { className: "m-0" }, title),
|
|
2665
2706
|
React.createElement("div", { className: "flex-grow-1 text-end" },
|
|
2666
|
-
React.createElement(CSVDownloadButton, { "aria-label": `download data as csv for ${title}`, id: `IntelliTable-${id}-download-as-csv`, filename:
|
|
2707
|
+
React.createElement(CSVDownloadButton, { "aria-label": `download data as csv for ${title}`, id: `IntelliTable-${id}-download-as-csv`, filename: filename, csv: csv }),
|
|
2667
2708
|
React.createElement("button", { type: "button", className: "btn btn-secondary ms-2", "aria-label": `show panel for customizing which columns show in table ${title}`, id: `IntelliTable-${id}-show-column-customization-modal`, onClick: () => {
|
|
2668
2709
|
dispatch({
|
|
2669
2710
|
type: ActionType$1.ToggleColVisCusModalVisibility,
|
|
@@ -2782,6 +2823,195 @@ const style = `
|
|
|
2782
2823
|
}
|
|
2783
2824
|
`;
|
|
2784
2825
|
/*------------------------------------------------------------------------*/
|
|
2826
|
+
/* Constants */
|
|
2827
|
+
/*------------------------------------------------------------------------*/
|
|
2828
|
+
const columns = [
|
|
2829
|
+
{
|
|
2830
|
+
title: 'First Name',
|
|
2831
|
+
param: 'userFirstName',
|
|
2832
|
+
type: ParamType$1.String,
|
|
2833
|
+
},
|
|
2834
|
+
{
|
|
2835
|
+
title: 'Last Name',
|
|
2836
|
+
param: 'userLastName',
|
|
2837
|
+
type: ParamType$1.String,
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
title: 'Email',
|
|
2841
|
+
param: 'userEmail',
|
|
2842
|
+
type: ParamType$1.String,
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
title: 'Canvas Id',
|
|
2846
|
+
param: 'userId',
|
|
2847
|
+
type: ParamType$1.Int,
|
|
2848
|
+
},
|
|
2849
|
+
{
|
|
2850
|
+
title: 'Student?',
|
|
2851
|
+
param: 'isLearner',
|
|
2852
|
+
type: ParamType$1.Boolean,
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
title: 'Teaching Staff?',
|
|
2856
|
+
param: 'isTTM',
|
|
2857
|
+
type: ParamType$1.Boolean,
|
|
2858
|
+
startsHidden: true,
|
|
2859
|
+
},
|
|
2860
|
+
{
|
|
2861
|
+
title: 'Admin?',
|
|
2862
|
+
param: 'isAdmin',
|
|
2863
|
+
type: ParamType$1.Boolean,
|
|
2864
|
+
startsHidden: true,
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
title: 'Course Canvas Id',
|
|
2868
|
+
param: 'courseId',
|
|
2869
|
+
type: ParamType$1.Int,
|
|
2870
|
+
startsHidden: true,
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
title: 'Course Name',
|
|
2874
|
+
param: 'courseName',
|
|
2875
|
+
type: ParamType$1.String,
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
title: 'Browser Name',
|
|
2879
|
+
param: 'browser.name',
|
|
2880
|
+
type: ParamType$1.String,
|
|
2881
|
+
startsHidden: true,
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
title: 'Browser Version',
|
|
2885
|
+
param: 'browser.version',
|
|
2886
|
+
type: ParamType$1.String,
|
|
2887
|
+
startsHidden: true,
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
title: 'OS',
|
|
2891
|
+
param: 'device.os',
|
|
2892
|
+
type: ParamType$1.String,
|
|
2893
|
+
startsHidden: true,
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
title: 'Mobile?',
|
|
2897
|
+
param: 'device.isMobile',
|
|
2898
|
+
type: ParamType$1.Boolean,
|
|
2899
|
+
startsHidden: true,
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
title: 'Year',
|
|
2903
|
+
param: 'year',
|
|
2904
|
+
type: ParamType$1.Int,
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
title: 'Month',
|
|
2908
|
+
param: 'month',
|
|
2909
|
+
type: ParamType$1.Int,
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
title: 'Day',
|
|
2913
|
+
param: 'day',
|
|
2914
|
+
type: ParamType$1.Int,
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
title: 'Hour',
|
|
2918
|
+
param: 'hour',
|
|
2919
|
+
type: ParamType$1.Int,
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
title: 'Minute',
|
|
2923
|
+
param: 'minute',
|
|
2924
|
+
type: ParamType$1.Int,
|
|
2925
|
+
startsHidden: true,
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
title: 'Timestamp',
|
|
2929
|
+
param: 'timestamp',
|
|
2930
|
+
type: ParamType$1.Int,
|
|
2931
|
+
startsHidden: true,
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
title: 'Context',
|
|
2935
|
+
param: 'context',
|
|
2936
|
+
type: ParamType$1.String,
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
title: 'Subcontext',
|
|
2940
|
+
param: 'subcontext',
|
|
2941
|
+
type: ParamType$1.String,
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
title: 'Tags',
|
|
2945
|
+
param: 'tags',
|
|
2946
|
+
type: ParamType$1.JSON,
|
|
2947
|
+
startsHidden: true,
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
title: 'Log Level',
|
|
2951
|
+
param: 'level',
|
|
2952
|
+
type: ParamType$1.String,
|
|
2953
|
+
startsHidden: true,
|
|
2954
|
+
},
|
|
2955
|
+
{
|
|
2956
|
+
title: 'Metadata',
|
|
2957
|
+
param: 'metadata',
|
|
2958
|
+
type: ParamType$1.JSON,
|
|
2959
|
+
startsHidden: true,
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
title: 'Source',
|
|
2963
|
+
param: 'source',
|
|
2964
|
+
type: ParamType$1.String,
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
title: 'Server Route Path',
|
|
2968
|
+
param: 'routePath',
|
|
2969
|
+
type: ParamType$1.String,
|
|
2970
|
+
startsHidden: true,
|
|
2971
|
+
},
|
|
2972
|
+
{
|
|
2973
|
+
title: 'Server Route Template',
|
|
2974
|
+
param: 'routeTemplate',
|
|
2975
|
+
type: ParamType$1.String,
|
|
2976
|
+
startsHidden: true,
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
title: 'Type',
|
|
2980
|
+
param: 'type',
|
|
2981
|
+
type: ParamType$1.String,
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
title: 'Error Message',
|
|
2985
|
+
param: 'errorMessage',
|
|
2986
|
+
type: ParamType$1.String,
|
|
2987
|
+
startsHidden: true,
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
title: 'Error Code',
|
|
2991
|
+
param: 'errorCode',
|
|
2992
|
+
type: ParamType$1.String,
|
|
2993
|
+
startsHidden: true,
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
title: 'Error Stack',
|
|
2997
|
+
param: 'errorStack',
|
|
2998
|
+
type: ParamType$1.String,
|
|
2999
|
+
startsHidden: true,
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
title: 'Action Target',
|
|
3003
|
+
param: 'target',
|
|
3004
|
+
type: ParamType$1.String,
|
|
3005
|
+
startsHidden: true,
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
title: 'Action Type',
|
|
3009
|
+
param: 'action',
|
|
3010
|
+
type: ParamType$1.String,
|
|
3011
|
+
startsHidden: true,
|
|
3012
|
+
},
|
|
3013
|
+
];
|
|
3014
|
+
/*------------------------------------------------------------------------*/
|
|
2785
3015
|
/* Static Functions */
|
|
2786
3016
|
/*------------------------------------------------------------------------*/
|
|
2787
3017
|
/**
|
|
@@ -3779,193 +4009,6 @@ const LogReviewer = (props) => {
|
|
|
3779
4009
|
/*----------------------------------------*/
|
|
3780
4010
|
/* Data */
|
|
3781
4011
|
/*----------------------------------------*/
|
|
3782
|
-
// Create data table
|
|
3783
|
-
const columns = [
|
|
3784
|
-
{
|
|
3785
|
-
title: 'First Name',
|
|
3786
|
-
param: 'userFirstName',
|
|
3787
|
-
type: ParamType$1.String,
|
|
3788
|
-
},
|
|
3789
|
-
{
|
|
3790
|
-
title: 'Last Name',
|
|
3791
|
-
param: 'userLastName',
|
|
3792
|
-
type: ParamType$1.String,
|
|
3793
|
-
},
|
|
3794
|
-
{
|
|
3795
|
-
title: 'Email',
|
|
3796
|
-
param: 'userEmail',
|
|
3797
|
-
type: ParamType$1.String,
|
|
3798
|
-
},
|
|
3799
|
-
{
|
|
3800
|
-
title: 'Canvas Id',
|
|
3801
|
-
param: 'userId',
|
|
3802
|
-
type: ParamType$1.Int,
|
|
3803
|
-
},
|
|
3804
|
-
{
|
|
3805
|
-
title: 'Student?',
|
|
3806
|
-
param: 'isLearner',
|
|
3807
|
-
type: ParamType$1.Boolean,
|
|
3808
|
-
},
|
|
3809
|
-
{
|
|
3810
|
-
title: 'Teaching Staff?',
|
|
3811
|
-
param: 'isTTM',
|
|
3812
|
-
type: ParamType$1.Boolean,
|
|
3813
|
-
startsHidden: true,
|
|
3814
|
-
},
|
|
3815
|
-
{
|
|
3816
|
-
title: 'Admin?',
|
|
3817
|
-
param: 'isAdmin',
|
|
3818
|
-
type: ParamType$1.Boolean,
|
|
3819
|
-
startsHidden: true,
|
|
3820
|
-
},
|
|
3821
|
-
{
|
|
3822
|
-
title: 'Course Canvas Id',
|
|
3823
|
-
param: 'courseId',
|
|
3824
|
-
type: ParamType$1.Int,
|
|
3825
|
-
startsHidden: true,
|
|
3826
|
-
},
|
|
3827
|
-
{
|
|
3828
|
-
title: 'Course Name',
|
|
3829
|
-
param: 'courseName',
|
|
3830
|
-
type: ParamType$1.String,
|
|
3831
|
-
},
|
|
3832
|
-
{
|
|
3833
|
-
title: 'Browser Name',
|
|
3834
|
-
param: 'browser.name',
|
|
3835
|
-
type: ParamType$1.String,
|
|
3836
|
-
startsHidden: true,
|
|
3837
|
-
},
|
|
3838
|
-
{
|
|
3839
|
-
title: 'Browser Version',
|
|
3840
|
-
param: 'browser.version',
|
|
3841
|
-
type: ParamType$1.String,
|
|
3842
|
-
startsHidden: true,
|
|
3843
|
-
},
|
|
3844
|
-
{
|
|
3845
|
-
title: 'OS',
|
|
3846
|
-
param: 'device.os',
|
|
3847
|
-
type: ParamType$1.String,
|
|
3848
|
-
startsHidden: true,
|
|
3849
|
-
},
|
|
3850
|
-
{
|
|
3851
|
-
title: 'Mobile?',
|
|
3852
|
-
param: 'device.isMobile',
|
|
3853
|
-
type: ParamType$1.Boolean,
|
|
3854
|
-
startsHidden: true,
|
|
3855
|
-
},
|
|
3856
|
-
{
|
|
3857
|
-
title: 'Year',
|
|
3858
|
-
param: 'year',
|
|
3859
|
-
type: ParamType$1.Int,
|
|
3860
|
-
},
|
|
3861
|
-
{
|
|
3862
|
-
title: 'Month',
|
|
3863
|
-
param: 'month',
|
|
3864
|
-
type: ParamType$1.Int,
|
|
3865
|
-
},
|
|
3866
|
-
{
|
|
3867
|
-
title: 'Day',
|
|
3868
|
-
param: 'day',
|
|
3869
|
-
type: ParamType$1.Int,
|
|
3870
|
-
},
|
|
3871
|
-
{
|
|
3872
|
-
title: 'Hour',
|
|
3873
|
-
param: 'hour',
|
|
3874
|
-
type: ParamType$1.Int,
|
|
3875
|
-
},
|
|
3876
|
-
{
|
|
3877
|
-
title: 'Minute',
|
|
3878
|
-
param: 'minute',
|
|
3879
|
-
type: ParamType$1.Int,
|
|
3880
|
-
startsHidden: true,
|
|
3881
|
-
},
|
|
3882
|
-
{
|
|
3883
|
-
title: 'Timestamp',
|
|
3884
|
-
param: 'timestamp',
|
|
3885
|
-
type: ParamType$1.Int,
|
|
3886
|
-
startsHidden: true,
|
|
3887
|
-
},
|
|
3888
|
-
{
|
|
3889
|
-
title: 'Context',
|
|
3890
|
-
param: 'context',
|
|
3891
|
-
type: ParamType$1.String,
|
|
3892
|
-
},
|
|
3893
|
-
{
|
|
3894
|
-
title: 'Subcontext',
|
|
3895
|
-
param: 'subcontext',
|
|
3896
|
-
type: ParamType$1.String,
|
|
3897
|
-
},
|
|
3898
|
-
{
|
|
3899
|
-
title: 'Tags',
|
|
3900
|
-
param: 'tags',
|
|
3901
|
-
type: ParamType$1.JSON,
|
|
3902
|
-
startsHidden: true,
|
|
3903
|
-
},
|
|
3904
|
-
{
|
|
3905
|
-
title: 'Log Level',
|
|
3906
|
-
param: 'level',
|
|
3907
|
-
type: ParamType$1.String,
|
|
3908
|
-
startsHidden: true,
|
|
3909
|
-
},
|
|
3910
|
-
{
|
|
3911
|
-
title: 'Metadata',
|
|
3912
|
-
param: 'metadata',
|
|
3913
|
-
type: ParamType$1.JSON,
|
|
3914
|
-
startsHidden: true,
|
|
3915
|
-
},
|
|
3916
|
-
{
|
|
3917
|
-
title: 'Source',
|
|
3918
|
-
param: 'source',
|
|
3919
|
-
type: ParamType$1.String,
|
|
3920
|
-
},
|
|
3921
|
-
{
|
|
3922
|
-
title: 'Server Route Path',
|
|
3923
|
-
param: 'routePath',
|
|
3924
|
-
type: ParamType$1.String,
|
|
3925
|
-
startsHidden: true,
|
|
3926
|
-
},
|
|
3927
|
-
{
|
|
3928
|
-
title: 'Server Route Template',
|
|
3929
|
-
param: 'routeTemplate',
|
|
3930
|
-
type: ParamType$1.String,
|
|
3931
|
-
startsHidden: true,
|
|
3932
|
-
},
|
|
3933
|
-
{
|
|
3934
|
-
title: 'Type',
|
|
3935
|
-
param: 'type',
|
|
3936
|
-
type: ParamType$1.String,
|
|
3937
|
-
},
|
|
3938
|
-
{
|
|
3939
|
-
title: 'Error Message',
|
|
3940
|
-
param: 'errorMessage',
|
|
3941
|
-
type: ParamType$1.String,
|
|
3942
|
-
startsHidden: true,
|
|
3943
|
-
},
|
|
3944
|
-
{
|
|
3945
|
-
title: 'Error Code',
|
|
3946
|
-
param: 'errorCode',
|
|
3947
|
-
type: ParamType$1.String,
|
|
3948
|
-
startsHidden: true,
|
|
3949
|
-
},
|
|
3950
|
-
{
|
|
3951
|
-
title: 'Error Stack',
|
|
3952
|
-
param: 'errorStack',
|
|
3953
|
-
type: ParamType$1.String,
|
|
3954
|
-
startsHidden: true,
|
|
3955
|
-
},
|
|
3956
|
-
{
|
|
3957
|
-
title: 'Action Target',
|
|
3958
|
-
param: 'target',
|
|
3959
|
-
type: ParamType$1.String,
|
|
3960
|
-
startsHidden: true,
|
|
3961
|
-
},
|
|
3962
|
-
{
|
|
3963
|
-
title: 'Action Type',
|
|
3964
|
-
param: 'action',
|
|
3965
|
-
type: ParamType$1.String,
|
|
3966
|
-
startsHidden: true,
|
|
3967
|
-
},
|
|
3968
|
-
];
|
|
3969
4012
|
// Nothing to show notice
|
|
3970
4013
|
const noLogsNotice = (logs.length === 0
|
|
3971
4014
|
? (React.createElement("div", { className: "alert alert-warning text-center mt-2" },
|