@teselagen/ui 0.4.8 → 0.4.10
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/AdvancedOptions.d.ts +7 -0
- package/AssignDefaultsModeContext.d.ts +25 -0
- package/AsyncValidateFieldSpinner/index.d.ts +3 -0
- package/BlueprintError/index.d.ts +3 -0
- package/BounceLoader/index.d.ts +4 -0
- package/CollapsibleCard/index.d.ts +12 -0
- package/DNALoader/index.d.ts +4 -0
- package/DataTable/CellDragHandle.d.ts +6 -0
- package/DataTable/DisabledLoadingComponent.d.ts +6 -0
- package/DataTable/DisplayOptions.d.ts +14 -0
- package/DataTable/FilterAndSortMenu.d.ts +9 -0
- package/DataTable/PagingTool.d.ts +2 -0
- package/DataTable/SearchBar.d.ts +9 -0
- package/DataTable/SortableColumns.d.ts +10 -0
- package/DataTable/TableFormTrackerContext.d.ts +7 -0
- package/DataTable/dataTableEnhancer.d.ts +12 -0
- package/DataTable/defaultFormatters.d.ts +6 -0
- package/DataTable/defaultProps.d.ts +43 -0
- package/DataTable/defaultValidators.d.ts +6 -0
- package/DataTable/editCellHelper.d.ts +10 -0
- package/DataTable/getCellVal.d.ts +1 -0
- package/DataTable/getVals.d.ts +1 -0
- package/DataTable/index.d.ts +8 -0
- package/DataTable/isTruthy.d.ts +1 -0
- package/DataTable/isValueEmpty.d.ts +1 -0
- package/DataTable/utils/computePresets.d.ts +1 -0
- package/DataTable/utils/convertSchema.d.ts +3 -0
- package/DataTable/utils/getIdOrCodeOrIndex.d.ts +2 -0
- package/DataTable/utils/getTableConfigFromStorage.d.ts +1 -0
- package/DataTable/utils/queryParams.d.ts +54 -0
- package/DataTable/utils/rowClick.d.ts +11 -0
- package/DataTable/utils/selection.d.ts +1 -0
- package/DataTable/utils/withSelectedEntities.d.ts +11 -0
- package/DataTable/utils/withTableParams.d.ts +49 -0
- package/DataTable/validateTableWideErrors.d.ts +6 -0
- package/DataTable/viewColumn.d.ts +12 -0
- package/DialogFooter/index.d.ts +23 -0
- package/DropdownButton.d.ts +9 -0
- package/FillWindow.d.ts +5 -0
- package/FormComponents/LoadingDots.d.ts +1 -0
- package/FormComponents/Uploader.d.ts +2 -0
- package/FormComponents/getNewName.d.ts +1 -0
- package/FormComponents/index.d.ts +152 -0
- package/FormComponents/itemUpload.d.ts +2 -0
- package/FormComponents/sortify.d.ts +2 -0
- package/FormComponents/tryToMatchSchemas.d.ts +17 -0
- package/FormComponents/utils.d.ts +2 -0
- package/HotkeysDialog/index.d.ts +1 -0
- package/InfoHelper/index.d.ts +19 -0
- package/IntentText/index.d.ts +5 -0
- package/Loading/index.d.ts +13 -0
- package/MatchHeaders.d.ts +16 -0
- package/MenuBar/index.d.ts +29 -0
- package/PromptUnsavedChanges/index.d.ts +6 -0
- package/ResizableDraggableDialog/index.d.ts +24 -0
- package/ScrollToTop/index.d.ts +5 -0
- package/SimpleStepViz.d.ts +4 -0
- package/TgSelect/index.d.ts +10 -0
- package/TgSuggest/index.d.ts +22 -0
- package/Timeline/TimelineEvent.d.ts +5 -0
- package/Timeline/index.d.ts +3 -0
- package/UploadCsvWizard.d.ts +4 -0
- package/autoTooltip.d.ts +1 -0
- package/constants.d.ts +1 -0
- package/customIcons.d.ts +19 -0
- package/enhancers/withDialog/index.d.ts +23 -0
- package/enhancers/withDialog/tg_modalState.d.ts +6 -0
- package/enhancers/withField.d.ts +4 -0
- package/enhancers/withFields.d.ts +1 -0
- package/enhancers/withLocalStorage.d.ts +1 -0
- package/index.cjs.js +1440 -1369
- package/index.d.ts +61 -0
- package/index.es.js +613 -542
- package/package.json +1 -2
- package/rerenderOnWindowResize.d.ts +1 -0
- package/showAppSpinner.d.ts +1 -0
- package/showConfirmationDialog/index.d.ts +10 -0
- package/showDialogOnDocBody.d.ts +1 -0
- package/src/CollapsibleCard/index.js +56 -80
- package/src/InfoHelper/index.js +70 -75
- package/src/Loading/index.js +60 -64
- package/src/Timeline/index.js +7 -15
- package/throwFormError.d.ts +1 -0
- package/toastr.d.ts +1 -0
- package/typeToCommonType.d.ts +6 -0
- package/useDialog.d.ts +10 -0
- package/utils/adHoc.d.ts +2 -0
- package/utils/basicHandleActionsWithFullState.d.ts +1 -0
- package/utils/browserUtils.d.ts +1 -0
- package/utils/combineReducersWithFullState.d.ts +1 -0
- package/utils/commandControls.d.ts +25 -0
- package/utils/commandUtils.d.ts +4 -0
- package/utils/determineBlackOrWhiteTextColor.d.ts +2 -0
- package/utils/getDayjsFormatter.d.ts +5 -0
- package/utils/getTextFromEl.d.ts +1 -0
- package/utils/handlerHelpers.d.ts +10 -0
- package/utils/hotkeyUtils.d.ts +6 -0
- package/utils/menuUtils.d.ts +23 -0
- package/utils/popoverOverflowModifiers.d.ts +13 -0
- package/utils/pureNoFunc.d.ts +2 -0
- package/utils/renderOnDoc.d.ts +2 -0
- package/utils/showProgressToast.d.ts +2 -0
- package/utils/tagUtils.d.ts +20 -0
- package/utils/tgFormValues.d.ts +3 -0
- package/utils/withSelectTableRecords.d.ts +1 -0
- package/utils/withStore.d.ts +2 -0
- package/wrapDialog.d.ts +2 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const AssignDefaultsModeContext: React.Context<{
|
|
2
|
+
inAssignDefaultsMode: boolean;
|
|
3
|
+
setAssignDefaultsMode: () => void;
|
|
4
|
+
}>;
|
|
5
|
+
export namespace workflowDefaultParamsObj {
|
|
6
|
+
let taskNumber: undefined;
|
|
7
|
+
let workflowDefinitionName: undefined;
|
|
8
|
+
let workflowDefinitionId: undefined;
|
|
9
|
+
let workflowRunName: undefined;
|
|
10
|
+
let workflowRunId: undefined;
|
|
11
|
+
let toolName: undefined;
|
|
12
|
+
let workflowToolTitle: undefined;
|
|
13
|
+
let workflowTaskCode: undefined;
|
|
14
|
+
}
|
|
15
|
+
export const WorkflowDefaultParamsContext: React.Context<{
|
|
16
|
+
taskNumber: undefined;
|
|
17
|
+
workflowDefinitionName: undefined;
|
|
18
|
+
workflowDefinitionId: undefined;
|
|
19
|
+
workflowRunName: undefined;
|
|
20
|
+
workflowRunId: undefined;
|
|
21
|
+
toolName: undefined;
|
|
22
|
+
workflowToolTitle: undefined;
|
|
23
|
+
workflowTaskCode: undefined;
|
|
24
|
+
}>;
|
|
25
|
+
import React from '../../../node_modules/react';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default function CollapsibleCard({ title, icon, openTitleElements, noCard, className, style, children, initialClosed, toggle, isOpen }: {
|
|
2
|
+
title: any;
|
|
3
|
+
icon: any;
|
|
4
|
+
openTitleElements: any;
|
|
5
|
+
noCard?: boolean | undefined;
|
|
6
|
+
className: any;
|
|
7
|
+
style: any;
|
|
8
|
+
children: any;
|
|
9
|
+
initialClosed?: boolean | undefined;
|
|
10
|
+
toggle: any;
|
|
11
|
+
isOpen: any;
|
|
12
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default class DisplayOptions extends React.Component<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
state: {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
searchTerms: {};
|
|
7
|
+
};
|
|
8
|
+
openPopover: () => void;
|
|
9
|
+
closePopover: () => void;
|
|
10
|
+
changeTableDensity: (e: any) => void;
|
|
11
|
+
toggleForcedHidden: (e: any) => any;
|
|
12
|
+
render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element | null;
|
|
13
|
+
}
|
|
14
|
+
import React from '../../../../node_modules/react';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default class FilterAndSortMenu extends React.Component<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
state: any;
|
|
4
|
+
handleFilterChange: (selectedFilter: any) => void;
|
|
5
|
+
handleFilterValueChange: (filterValue: any) => void;
|
|
6
|
+
handleFilterSubmit: () => any;
|
|
7
|
+
render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
import React from '../../../../node_modules/react';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default SearchBar;
|
|
2
|
+
declare function SearchBar({ reduxFormSearchInput, setSearchTerm, loading, searchMenuButton, disabled, autoFocusSearch }: {
|
|
3
|
+
reduxFormSearchInput: any;
|
|
4
|
+
setSearchTerm: any;
|
|
5
|
+
loading: any;
|
|
6
|
+
searchMenuButton: any;
|
|
7
|
+
disabled: any;
|
|
8
|
+
autoFocusSearch: any;
|
|
9
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default SortableColumns;
|
|
2
|
+
declare class SortableColumns extends React.Component<any, any, any> {
|
|
3
|
+
constructor(props: any);
|
|
4
|
+
constructor(props: any, context: any);
|
|
5
|
+
shouldCancelStart: (e: any) => boolean;
|
|
6
|
+
onSortEnd: (...args: any[]) => void;
|
|
7
|
+
onSortStart: () => void;
|
|
8
|
+
render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
import React from '../../../../node_modules/react';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|
|
3
|
+
export type options = {
|
|
4
|
+
/**
|
|
5
|
+
* Are we searching for 1 thing or many?
|
|
6
|
+
*/
|
|
7
|
+
isPlural: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* What the props come back on ( by default = modelName + 'Query')
|
|
10
|
+
*/
|
|
11
|
+
queryName: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export { noop as addFilters };
|
|
3
|
+
export let className: string;
|
|
4
|
+
export { noop as clearFilters };
|
|
5
|
+
export { noop as contextMenu };
|
|
6
|
+
export let disabled: boolean;
|
|
7
|
+
export let entities: never[];
|
|
8
|
+
export let extraClasses: string;
|
|
9
|
+
export let filters: never[];
|
|
10
|
+
export let isCopyable: boolean;
|
|
11
|
+
export { noop as isEntityDisabled };
|
|
12
|
+
export let isLoading: boolean;
|
|
13
|
+
export let isSimple: boolean;
|
|
14
|
+
export let isSingleSelect: boolean;
|
|
15
|
+
export let maxHeight: number;
|
|
16
|
+
export let noHeader: boolean;
|
|
17
|
+
export let noSelect: boolean;
|
|
18
|
+
export let noUserSelect: boolean;
|
|
19
|
+
export { noop as onDeselect };
|
|
20
|
+
export { noop as onMultiRowSelect };
|
|
21
|
+
export { noop as onRowClick };
|
|
22
|
+
export { noop as onRowSelect };
|
|
23
|
+
export { noop as onSingleRowSelect };
|
|
24
|
+
export let page: number;
|
|
25
|
+
export let pageSize: number;
|
|
26
|
+
export let reduxFormExpandedEntityIdMap: {};
|
|
27
|
+
export let reduxFormSearchInput: string;
|
|
28
|
+
export let reduxFormSelectedEntityIdMap: {};
|
|
29
|
+
export { noop as removeSingleFilter };
|
|
30
|
+
export let resized: never[];
|
|
31
|
+
export { noop as resizePersist };
|
|
32
|
+
export { noop as setFilter };
|
|
33
|
+
export { noop as setOrder };
|
|
34
|
+
export { noop as setPage };
|
|
35
|
+
export { noop as setPageSize };
|
|
36
|
+
export { noop as setSearchTerm };
|
|
37
|
+
export let showCount: boolean;
|
|
38
|
+
export let style: {};
|
|
39
|
+
export let withCheckboxes: boolean;
|
|
40
|
+
export let withSort: boolean;
|
|
41
|
+
}
|
|
42
|
+
export default _default;
|
|
43
|
+
import { noop } from "lodash-es";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export namespace defaultValidators {
|
|
2
|
+
function dropdown(newVal: any, field: any): "Please choose one of the accepted values" | undefined;
|
|
3
|
+
function dropdownMulti(newVal: any, field: any): "Please choose one of the accepted values" | undefined;
|
|
4
|
+
function number(newVal: any, field: any): "Must be a number" | undefined;
|
|
5
|
+
function string(newVal: any, field: any): false | "Please enter a value here" | undefined;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getCellVal(ent: any, path: any, col: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getVals(values: any): any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function isEntityClean(e: any): boolean;
|
|
2
|
+
export function removeCleanRows(reduxFormEntities: any, reduxFormCellValidation: any): {
|
|
3
|
+
entsToUse: any;
|
|
4
|
+
validationToUse: {};
|
|
5
|
+
};
|
|
6
|
+
export default WrappedDT;
|
|
7
|
+
declare const WrappedDT: any;
|
|
8
|
+
export const ConnectedPagingTool: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function isTruthy(v: any): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function isValueEmpty(val: any): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function computePresets(props?: {}): import("lodash").Dictionary<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function getTableConfigFromStorage(formName: any): string | null;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export function getMergedOpts(topLevel?: {}, instanceLevel?: {}): {
|
|
2
|
+
pageSize: any;
|
|
3
|
+
defaults: any;
|
|
4
|
+
formName: string;
|
|
5
|
+
};
|
|
6
|
+
export function getCurrentParamsFromUrl(location: any, isSimple: any): any;
|
|
7
|
+
export function setCurrentParamsOnUrl(newParams: any, replace: any, isSimple: any): void;
|
|
8
|
+
export function makeDataTableHandlers({ setNewParams, updateSearch, defaults, onlyOneFilter }: {
|
|
9
|
+
setNewParams: any;
|
|
10
|
+
updateSearch: any;
|
|
11
|
+
defaults: any;
|
|
12
|
+
onlyOneFilter: any;
|
|
13
|
+
}): {
|
|
14
|
+
setSearchTerm: (searchTerm: any, currentParams: any) => void;
|
|
15
|
+
addFilters: (newFilters: any, currentParams: any) => void;
|
|
16
|
+
clearFilters: (additionalFilterKeys?: any[]) => void;
|
|
17
|
+
removeSingleFilter: (filterOn: any, currentParams: any) => void;
|
|
18
|
+
setPageSize: (pageSize: any, currentParams: any) => void;
|
|
19
|
+
setPage: (page: any, currentParams: any) => void;
|
|
20
|
+
setOrder: (order: any, isRemove: any, shiftHeld: any, currentParams: any) => void;
|
|
21
|
+
setNewParams: any;
|
|
22
|
+
};
|
|
23
|
+
export function getQueryParams({ currentParams, urlConnected, defaults, schema, isInfinite, entities, isLocalCall, additionalFilter, additionalOrFilter, doNotCoercePageSize, noOrderError, isCodeModel, ownProps }: {
|
|
24
|
+
currentParams: any;
|
|
25
|
+
urlConnected: any;
|
|
26
|
+
defaults: any;
|
|
27
|
+
schema: any;
|
|
28
|
+
isInfinite: any;
|
|
29
|
+
entities: any;
|
|
30
|
+
isLocalCall: any;
|
|
31
|
+
additionalFilter: any;
|
|
32
|
+
additionalOrFilter: any;
|
|
33
|
+
doNotCoercePageSize: any;
|
|
34
|
+
noOrderError: any;
|
|
35
|
+
isCodeModel: any;
|
|
36
|
+
ownProps: any;
|
|
37
|
+
}): {
|
|
38
|
+
page: any;
|
|
39
|
+
pageSize: any;
|
|
40
|
+
order: any;
|
|
41
|
+
filters: any;
|
|
42
|
+
searchTerm: any;
|
|
43
|
+
} | {
|
|
44
|
+
variables: {
|
|
45
|
+
sort: never[];
|
|
46
|
+
};
|
|
47
|
+
errorParsingUrlString: unknown;
|
|
48
|
+
page: any;
|
|
49
|
+
pageSize: any;
|
|
50
|
+
order: any;
|
|
51
|
+
filters: any;
|
|
52
|
+
searchTerm: any;
|
|
53
|
+
};
|
|
54
|
+
export const defaultPageSizes: number[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default function rowClick(e: any, rowInfo: any, entities: any, props: any): void;
|
|
2
|
+
export function changeSelectedEntities({ idMap, entities, change }: {
|
|
3
|
+
idMap: any;
|
|
4
|
+
entities?: any[] | undefined;
|
|
5
|
+
change: any;
|
|
6
|
+
}): void;
|
|
7
|
+
export function finalizeSelection({ idMap, entities, props }: {
|
|
8
|
+
idMap: any;
|
|
9
|
+
entities: any;
|
|
10
|
+
props: any;
|
|
11
|
+
}): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getSelectedRowsFromEntities(entities: any, idMap: any): any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {*string} formName
|
|
3
|
+
* @param {*string} formName
|
|
4
|
+
* @param {*string} formName
|
|
5
|
+
* @param {*string} ...etc
|
|
6
|
+
* adds a new prop `${formName}SelectedEntities` eg sequenceTableSelectedEntities
|
|
7
|
+
*/
|
|
8
|
+
export default function withSelectedEntities(...formNames: any[]): import('../../../../../node_modules/react-redux').InferableComponentEnhancerWithProps<any, {}>;
|
|
9
|
+
export function getRecordsFromReduxForm(state: any, formName: any): any[];
|
|
10
|
+
export function getRecordsFromIdMap(idMap?: {}): any[];
|
|
11
|
+
export function getSelectedEntities(storeOrState: any, formName: any): any[];
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Note all these options can be passed at Design Time or at Runtime (like reduxForm())
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
*
|
|
6
|
+
* @param {compOrOpts} compOrOpts
|
|
7
|
+
* @typedef {object} compOrOpts
|
|
8
|
+
* @property {*string} formName - required unique identifier for the table
|
|
9
|
+
* @property {Object | Function} schema - The data table schema or a function returning it. The function wll be called with props as the argument.
|
|
10
|
+
* @property {boolean} urlConnected - whether the table should connect to/update the URL
|
|
11
|
+
* @property {boolean} withSelectedEntities - whether or not to pass the selected entities
|
|
12
|
+
* @property {boolean} isCodeModel - whether the model is keyed by code instead of id in the db
|
|
13
|
+
* @property {object} defaults - tableParam defaults such as pageSize, filter, etc
|
|
14
|
+
* @property {boolean} noOrderError - won't console an error if an order is not found on schema
|
|
15
|
+
*/
|
|
16
|
+
export default function withTableParams(compOrOpts: compOrOpts, pTopLevelOpts: any): any;
|
|
17
|
+
/**
|
|
18
|
+
* Note all these options can be passed at Design Time or at Runtime (like reduxForm())
|
|
19
|
+
*/
|
|
20
|
+
export type compOrOpts = {
|
|
21
|
+
/**
|
|
22
|
+
* } formName - required unique identifier for the table
|
|
23
|
+
*/
|
|
24
|
+
string: any;
|
|
25
|
+
/**
|
|
26
|
+
* - The data table schema or a function returning it. The function wll be called with props as the argument.
|
|
27
|
+
*/
|
|
28
|
+
schema: Object | Function;
|
|
29
|
+
/**
|
|
30
|
+
* - whether the table should connect to/update the URL
|
|
31
|
+
*/
|
|
32
|
+
urlConnected: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* - whether or not to pass the selected entities
|
|
35
|
+
*/
|
|
36
|
+
withSelectedEntities: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* - whether the model is keyed by code instead of id in the db
|
|
39
|
+
*/
|
|
40
|
+
isCodeModel: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* - tableParam defaults such as pageSize, filter, etc
|
|
43
|
+
*/
|
|
44
|
+
defaults: object;
|
|
45
|
+
/**
|
|
46
|
+
* - won't console an error if an order is not found on schema
|
|
47
|
+
*/
|
|
48
|
+
noOrderError: boolean;
|
|
49
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export namespace viewColumn {
|
|
2
|
+
let width: number;
|
|
3
|
+
let noEllipsis: boolean;
|
|
4
|
+
let hideInMenu: boolean;
|
|
5
|
+
let immovable: boolean;
|
|
6
|
+
let type: string;
|
|
7
|
+
function render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
export namespace openColumn {
|
|
10
|
+
export function render_1(val: any, record: any, rowInfo: any, props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
11
|
+
export { render_1 as render };
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default DialogFooter;
|
|
2
|
+
declare function DialogFooter({ hideModal, loading, submitting, onBackClick, style, onClick, secondaryAction, secondaryDisabled, secondaryNotMinimal, intent, secondaryIntent, backText, secondaryText, additionalButtons, className, secondaryClassName, text, disabled, containerClassname, noCancel }: {
|
|
3
|
+
hideModal: any;
|
|
4
|
+
loading: any;
|
|
5
|
+
submitting: any;
|
|
6
|
+
onBackClick: any;
|
|
7
|
+
style: any;
|
|
8
|
+
onClick?: ((...args: any[]) => void) | undefined;
|
|
9
|
+
secondaryAction: any;
|
|
10
|
+
secondaryDisabled: any;
|
|
11
|
+
secondaryNotMinimal: any;
|
|
12
|
+
intent?: "primary" | undefined;
|
|
13
|
+
secondaryIntent: any;
|
|
14
|
+
backText?: string | undefined;
|
|
15
|
+
secondaryText?: string | undefined;
|
|
16
|
+
additionalButtons: any;
|
|
17
|
+
className: any;
|
|
18
|
+
secondaryClassName?: string | undefined;
|
|
19
|
+
text?: string | undefined;
|
|
20
|
+
disabled: any;
|
|
21
|
+
containerClassname: any;
|
|
22
|
+
noCancel: any;
|
|
23
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default DropdownButton;
|
|
2
|
+
declare function DropdownButton({ disabled, menu, noRightIcon, popoverProps, className, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
disabled: any;
|
|
5
|
+
menu: any;
|
|
6
|
+
noRightIcon: any;
|
|
7
|
+
popoverProps: any;
|
|
8
|
+
className: any;
|
|
9
|
+
}): import('../../../node_modules/react/jsx-runtime').JSX.Element;
|
package/FillWindow.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function LoadingDots(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getNewName(list: any, targetName: any): any;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
export function generateField(component: any, opts: any): ({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
name: any;
|
|
4
|
+
isRequired: any;
|
|
5
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
6
|
+
noRedux: any;
|
|
7
|
+
}) => import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
8
|
+
export { fieldRequired };
|
|
9
|
+
export function renderBlueprintDateInput(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
10
|
+
export function renderBlueprintDateRangeInput(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
11
|
+
export function RenderBlueprintInput(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
12
|
+
export function renderBlueprintCheckbox(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
13
|
+
export function renderBlueprintSwitch(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
14
|
+
export function renderFileUpload(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
15
|
+
export class renderBlueprintTextarea extends React.Component<any, any, any> {
|
|
16
|
+
constructor(props: any);
|
|
17
|
+
constructor(props: any, context: any);
|
|
18
|
+
state: {
|
|
19
|
+
value: null;
|
|
20
|
+
isOpen: boolean;
|
|
21
|
+
};
|
|
22
|
+
allowEdit: () => void;
|
|
23
|
+
stopEdit: () => void;
|
|
24
|
+
updateVal: (e: any) => void;
|
|
25
|
+
handleValSubmit: () => void;
|
|
26
|
+
onKeyDown: (...args: any[]) => void;
|
|
27
|
+
render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
28
|
+
}
|
|
29
|
+
export function renderBlueprintEditableText(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
30
|
+
export function renderReactSelect(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
31
|
+
export function renderSuggest_old(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
32
|
+
export function renderSuggest(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
33
|
+
export function BPSelect({ value, onChange, ...rest }: {
|
|
34
|
+
[x: string]: any;
|
|
35
|
+
value: any;
|
|
36
|
+
onChange: any;
|
|
37
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
38
|
+
export function renderSelect(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
39
|
+
export function renderBlueprintNumericInput(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
40
|
+
export function renderBlueprintRadioGroup({ input, options, onFieldSubmit, ...rest }: {
|
|
41
|
+
[x: string]: any;
|
|
42
|
+
input: any;
|
|
43
|
+
options: any;
|
|
44
|
+
onFieldSubmit: any;
|
|
45
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
46
|
+
export class RenderReactColorPicker extends React.Component<any, any, any> {
|
|
47
|
+
constructor(props: any);
|
|
48
|
+
constructor(props: any, context: any);
|
|
49
|
+
handleChange: (color: any) => void;
|
|
50
|
+
render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
51
|
+
}
|
|
52
|
+
export function withAbstractWrapper(ComponentToWrap: any, opts?: {}): (props: any) => import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
53
|
+
export function InputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
54
|
+
[x: string]: any;
|
|
55
|
+
name: any;
|
|
56
|
+
isRequired: any;
|
|
57
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
58
|
+
noRedux: any;
|
|
59
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
60
|
+
export function FileUploadField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
61
|
+
[x: string]: any;
|
|
62
|
+
name: any;
|
|
63
|
+
isRequired: any;
|
|
64
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
65
|
+
noRedux: any;
|
|
66
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
67
|
+
export function DateInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
68
|
+
[x: string]: any;
|
|
69
|
+
name: any;
|
|
70
|
+
isRequired: any;
|
|
71
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
72
|
+
noRedux: any;
|
|
73
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
74
|
+
export function DateRangeInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
75
|
+
[x: string]: any;
|
|
76
|
+
name: any;
|
|
77
|
+
isRequired: any;
|
|
78
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
79
|
+
noRedux: any;
|
|
80
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
81
|
+
export function CheckboxField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
82
|
+
[x: string]: any;
|
|
83
|
+
name: any;
|
|
84
|
+
isRequired: any;
|
|
85
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
86
|
+
noRedux: any;
|
|
87
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
88
|
+
export function SwitchField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
89
|
+
[x: string]: any;
|
|
90
|
+
name: any;
|
|
91
|
+
isRequired: any;
|
|
92
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
93
|
+
noRedux: any;
|
|
94
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
95
|
+
export function TextareaField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
96
|
+
[x: string]: any;
|
|
97
|
+
name: any;
|
|
98
|
+
isRequired: any;
|
|
99
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
100
|
+
noRedux: any;
|
|
101
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
102
|
+
export function SuggestField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
103
|
+
[x: string]: any;
|
|
104
|
+
name: any;
|
|
105
|
+
isRequired: any;
|
|
106
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
107
|
+
noRedux: any;
|
|
108
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
109
|
+
export function EditableTextField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
110
|
+
[x: string]: any;
|
|
111
|
+
name: any;
|
|
112
|
+
isRequired: any;
|
|
113
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
114
|
+
noRedux: any;
|
|
115
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
116
|
+
export function NumericInputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
117
|
+
[x: string]: any;
|
|
118
|
+
name: any;
|
|
119
|
+
isRequired: any;
|
|
120
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
121
|
+
noRedux: any;
|
|
122
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
123
|
+
export function RadioGroupField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
124
|
+
[x: string]: any;
|
|
125
|
+
name: any;
|
|
126
|
+
isRequired: any;
|
|
127
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
128
|
+
noRedux: any;
|
|
129
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
130
|
+
export function ReactSelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
131
|
+
[x: string]: any;
|
|
132
|
+
name: any;
|
|
133
|
+
isRequired: any;
|
|
134
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
135
|
+
noRedux: any;
|
|
136
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
137
|
+
export function SelectField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
138
|
+
[x: string]: any;
|
|
139
|
+
name: any;
|
|
140
|
+
isRequired: any;
|
|
141
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
142
|
+
noRedux: any;
|
|
143
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
144
|
+
export function ReactColorField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
145
|
+
[x: string]: any;
|
|
146
|
+
name: any;
|
|
147
|
+
isRequired: any;
|
|
148
|
+
onFieldSubmit?: ((...args: any[]) => void) | undefined;
|
|
149
|
+
noRedux: any;
|
|
150
|
+
}): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
|
|
151
|
+
import { fieldRequired } from "./utils";
|
|
152
|
+
import React from '../../../../node_modules/react';
|