@adaptabletools/adaptable 13.0.0-canary.0 → 13.0.0-canary.2
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/bundle.cjs.js +129 -129
- package/package.json +3 -3
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -0
- package/src/Api/Implementation/DashboardApiImpl.js +2 -3
- package/src/Strategy/Interface/IModule.d.ts +10 -10
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.d.ts +2 -2
- package/src/View/AdaptablePopover/index.d.ts +2 -2
- package/src/View/AdaptableView.d.ts +3 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/index.d.ts +1 -1
- package/src/View/ColorPicker.d.ts +1 -5
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +2 -2
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupPrompt.d.ts +1 -1
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/SettingsSection.d.ts +2 -2
- package/src/View/License/LicenseWatermark.d.ts +1 -1
- package/src/View/StateManagement/components/ClearButton.d.ts +1 -1
- package/src/View/StateManagement/components/LoadButton.d.ts +1 -1
- package/src/View/StatusBar/StatusBarPanel.d.ts +4 -4
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +3 -3
- package/src/View/Wizard/OnePageAdaptableWizard.js +2 -2
- package/src/View/Wizard/OnePageWizards.d.ts +3 -3
- package/src/View/Wizard/OnePageWizards.js +2 -2
- package/src/agGrid/Adaptable.d.ts +6 -0
- package/src/agGrid/Adaptable.js +31 -21
- package/src/agGrid/FilterWrapper.js +4 -5
- package/src/agGrid/FloatingFilterWrapper.js +3 -4
- package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -0
- package/src/agGrid/createAgStatusPanelComponent.js +3 -3
- package/src/components/CheckBox/index.d.ts +1 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Dialog/index.d.ts +4 -2
- package/src/components/Dialog/index.js +2 -2
- package/src/components/DropdownButton/index.d.ts +21 -4
- package/src/components/DropdownButton/index.js +5 -6
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +4 -2
- package/src/components/Loader/Loader.d.ts +2 -2
- package/src/components/Logo/index.d.ts +1 -1
- package/src/components/Modal/index.d.ts +1 -1
- package/src/components/PopupWithFooter.d.ts +2 -2
- package/src/components/ProgressIndicator/ProgressIndicator.d.ts +1 -1
- package/src/components/SelectList.d.ts +1 -1
- package/src/components/SimpleButton/index.d.ts +4 -5
- package/src/components/SimpleButton/index.js +3 -2
- package/src/components/StylePreview.d.ts +1 -1
- package/src/components/Tag/Tag.d.ts +1 -1
- package/src/components/Textarea/index.d.ts +6 -4
- package/src/components/ToggleButton/index.d.ts +1 -1
- package/src/components/WindowModal/WindowModal.d.ts +1 -1
- package/src/components/icons/index.d.ts +3 -2
- package/src/components/icons/layout.d.ts +2 -1
- package/src/components/utils/useContainerScrollObserver/index.d.ts +1 -1
- package/src/renderReactRoot.d.ts +3 -0
- package/src/renderReactRoot.js +54 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "13.0.0-canary.
|
|
3
|
+
"version": "13.0.0-canary.2",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"normalize.css": "^8.0.1",
|
|
40
40
|
"prop-types": "^15.6.2",
|
|
41
41
|
"re-resizable": "^6.9.1",
|
|
42
|
-
"react": "^16.8.0 || ^17.0.0",
|
|
42
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
43
43
|
"react-beautiful-dnd": "13.1.0",
|
|
44
44
|
"react-day-picker": "8.0.6",
|
|
45
|
-
"react-dom": "^16.8.0 || ^17.0.0",
|
|
45
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
46
46
|
"react-redux": "7.2.4",
|
|
47
47
|
"react-remove-scroll": "2.4.2",
|
|
48
48
|
"react-toastify": "9.0.7",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1663166834956;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
|
@@ -27,6 +27,7 @@ import { AdaptableFrameworkComponent } from '../AdaptableOptions/AdaptableFramew
|
|
|
27
27
|
import { IMetamodelService } from '../Utilities/Services/Interface/IMetamodelService';
|
|
28
28
|
import { ColumnValuesComparer } from '../AdaptableOptions/GeneralOptions';
|
|
29
29
|
import { IRowEditService } from '../Utilities/Services/Interface/IRowEditService';
|
|
30
|
+
import { RenderReactRootFn } from '../renderReactRoot';
|
|
30
31
|
/**
|
|
31
32
|
* The only interface for Adaptable
|
|
32
33
|
*
|
|
@@ -35,6 +36,8 @@ import { IRowEditService } from '../Utilities/Services/Interface/IRowEditService
|
|
|
35
36
|
* Should only be used internally as all external access is via the Api
|
|
36
37
|
*/
|
|
37
38
|
export interface IAdaptable {
|
|
39
|
+
supressReact18RenderWarning: boolean;
|
|
40
|
+
renderReactRoot: RenderReactRootFn;
|
|
38
41
|
api: AdaptableApi;
|
|
39
42
|
adaptableOptions: AdaptableOptions;
|
|
40
43
|
adaptableStore: IAdaptableStore;
|
|
@@ -6,8 +6,7 @@ const DashboardRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers
|
|
|
6
6
|
const ApiBase_1 = require("./ApiBase");
|
|
7
7
|
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
8
8
|
const isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
|
|
9
|
-
const
|
|
10
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
9
|
+
const React = tslib_1.__importStar(require("react"));
|
|
11
10
|
const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
|
|
12
11
|
class DashboardApiImpl extends ApiBase_1.ApiBase {
|
|
13
12
|
constructor() {
|
|
@@ -63,7 +62,7 @@ class DashboardApiImpl extends ApiBase_1.ApiBase {
|
|
|
63
62
|
setCustomToolbarContents(customToolbarName, contents) {
|
|
64
63
|
let contentsDiv = this.getCustomToolbarContentsDiv(customToolbarName);
|
|
65
64
|
if (contentsDiv) {
|
|
66
|
-
|
|
65
|
+
this.adaptable.renderReactRoot(React.createElement("div", { dangerouslySetInnerHTML: { __html: contents } }), contentsDiv);
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
getCustomToolbarByName(customToolbarName) {
|
|
@@ -34,17 +34,17 @@ export interface AdaptableObjectItemView {
|
|
|
34
34
|
/**
|
|
35
35
|
* Custom name for the property name
|
|
36
36
|
*/
|
|
37
|
-
label?: string | React.FunctionComponent<{
|
|
37
|
+
label?: string | React.FunctionComponent<React.PropsWithChildren<{
|
|
38
38
|
data: AdaptableObject | SuspendableObject;
|
|
39
|
-
}
|
|
39
|
+
}>>;
|
|
40
40
|
/**
|
|
41
41
|
* How the item is rendered.
|
|
42
42
|
* Defaults to tags.
|
|
43
43
|
* Important to be a component so react can detect if it is the same component.
|
|
44
44
|
*/
|
|
45
|
-
view?: React.FunctionComponent<{
|
|
45
|
+
view?: React.FunctionComponent<React.PropsWithChildren<{
|
|
46
46
|
data: AdaptableObject | SuspendableObject;
|
|
47
|
-
}
|
|
47
|
+
}>>;
|
|
48
48
|
/**
|
|
49
49
|
* Values used for the component.
|
|
50
50
|
* Could be later extended to include an 'onChange' prop.
|
|
@@ -59,7 +59,7 @@ export interface AdaptableObjectView {
|
|
|
59
59
|
/**
|
|
60
60
|
* Used to render expanded content
|
|
61
61
|
*/
|
|
62
|
-
expand?: React.FunctionComponent
|
|
62
|
+
expand?: React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
63
63
|
/**
|
|
64
64
|
* Reference to the underling object.
|
|
65
65
|
*/
|
|
@@ -77,10 +77,10 @@ export interface AdaptableObjectCompactView {
|
|
|
77
77
|
item: AdaptableObjectItemView;
|
|
78
78
|
abObject: AdaptableObject;
|
|
79
79
|
}
|
|
80
|
-
export declare type AdaptableModuleViewAction = React.FunctionComponent<{
|
|
80
|
+
export declare type AdaptableModuleViewAction = React.FunctionComponent<React.PropsWithChildren<{
|
|
81
81
|
data: AdaptableObject;
|
|
82
82
|
accessLevel: AccessLevel;
|
|
83
|
-
}
|
|
83
|
+
}>>;
|
|
84
84
|
export interface AdaptableModuleView {
|
|
85
85
|
/**
|
|
86
86
|
* List of actions.
|
|
@@ -98,9 +98,9 @@ export interface AdaptableModuleView {
|
|
|
98
98
|
getSuspendAllAction?: () => Redux.Action;
|
|
99
99
|
getUnSuspendAllAction?: () => Redux.Action;
|
|
100
100
|
getDeleteAllAction?: () => Redux.Action;
|
|
101
|
-
emptyView?: React.FunctionComponent<{
|
|
101
|
+
emptyView?: React.FunctionComponent<React.PropsWithChildren<{
|
|
102
102
|
module: IModule;
|
|
103
|
-
}
|
|
103
|
+
}>> | string;
|
|
104
104
|
newTooltipText?: string;
|
|
105
105
|
/**
|
|
106
106
|
* Specifieds the types of objects the module manages.
|
|
@@ -111,7 +111,7 @@ export interface AdaptableModuleView {
|
|
|
111
111
|
label?: string;
|
|
112
112
|
accessLevel?: AccessLevel;
|
|
113
113
|
}[];
|
|
114
|
-
getEditWizard?(abObject?: AdaptableObject): React.FunctionComponent<AdaptableOnePageWizardProps<AdaptableObject
|
|
114
|
+
getEditWizard?(abObject?: AdaptableObject): React.FunctionComponent<React.PropsWithChildren<AdaptableOnePageWizardProps<AdaptableObject>>>;
|
|
115
115
|
/**
|
|
116
116
|
* Specify status panel props.
|
|
117
117
|
* Can be extended to include custom rendereres.
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { AdaptableApi, AlertDefinition } from '../../../types';
|
|
3
3
|
export declare const getAlertBehaviourViewItems: (api: AdaptableApi) => {
|
|
4
4
|
name: string;
|
|
5
|
-
view: React.FunctionComponent<{
|
|
5
|
+
view: React.FunctionComponent<React.PropsWithChildren<{
|
|
6
6
|
data: AlertDefinition;
|
|
7
|
-
}
|
|
7
|
+
}>>;
|
|
8
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableMessageType } from '../../PredefinedConfig/Common/AdaptableMessageType';
|
|
3
|
-
export interface AdaptablePopoverProps extends React.ClassAttributes<AdaptablePopover
|
|
3
|
+
export interface AdaptablePopoverProps extends React.ClassAttributes<React.PropsWithChildren<AdaptablePopover>> {
|
|
4
4
|
headerText?: string;
|
|
5
5
|
showEvent?: string;
|
|
6
6
|
hideEvent?: string;
|
|
@@ -15,6 +15,6 @@ export interface AdaptablePopoverProps extends React.ClassAttributes<AdaptablePo
|
|
|
15
15
|
popoverMaxWidth?: number;
|
|
16
16
|
popupPadding?: number;
|
|
17
17
|
}
|
|
18
|
-
export declare class AdaptablePopover extends React.Component<AdaptablePopoverProps
|
|
18
|
+
export declare class AdaptablePopover extends React.Component<React.PropsWithChildren<AdaptablePopoverProps>, {}> {
|
|
19
19
|
render(): JSX.Element;
|
|
20
20
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IAdaptable } from '../AdaptableInterfaces/IAdaptable';
|
|
3
|
-
export declare const AdaptableApp:
|
|
3
|
+
export declare const AdaptableApp: React.FunctionComponent<{
|
|
4
4
|
Adaptable: IAdaptable;
|
|
5
|
-
}
|
|
5
|
+
}>;
|
package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export interface FinanceFormProps {
|
|
|
4
4
|
adaptableOptions: AdaptableOptions;
|
|
5
5
|
onChangeadAptableOptions: (adaptableOptions: AdaptableOptions) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const FinanceForm: React.FunctionComponent<FinanceFormProps
|
|
7
|
+
export declare const FinanceForm: React.FunctionComponent<React.PropsWithChildren<FinanceFormProps>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableWizardViewProps } from './Wizard';
|
|
3
|
-
declare const AdaptableWizardView: React.FunctionComponent<AdaptableWizardViewProps
|
|
3
|
+
declare const AdaptableWizardView: React.FunctionComponent<React.PropsWithChildren<AdaptableWizardViewProps>>;
|
|
4
4
|
export default AdaptableWizardView;
|
|
@@ -7,8 +7,4 @@ export declare type ColorPickerProps = Omit<HTMLProps<HTMLInputElement>, 'onChan
|
|
|
7
7
|
onChange: (color: string) => void;
|
|
8
8
|
value: string;
|
|
9
9
|
} & Omit<BoxProps, 'onChange'>;
|
|
10
|
-
export declare const ColorPicker: React.ForwardRefExoticComponent<Pick<
|
|
11
|
-
api: AdaptableApi;
|
|
12
|
-
onChange: (color: string) => void;
|
|
13
|
-
value: string;
|
|
14
|
-
} & Omit<BoxProps, "onChange">, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "alignSelf" | "backgroundColor" | "color" | "content" | "flex" | "fontSize" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "m" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "api" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "bg" | "css"> & React.RefAttributes<unknown>>;
|
|
10
|
+
export declare const ColorPicker: React.ForwardRefExoticComponent<Pick<ColorPickerProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "color" | "content" | "display" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "verticalAlign" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "m" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "api" | "bg" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "variant" | "tx" | "sx"> & React.RefAttributes<unknown>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableInputProps } from '../AdaptableInput';
|
|
3
3
|
export declare type AdaptableDateInputProps = AdaptableInputProps;
|
|
4
|
-
declare const AdaptableDateInput: React.ForwardRefExoticComponent<Pick<import("../../../components/Input").InputProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "alignSelf" | "backgroundColor" | "color" | "content" | "flex" | "fontSize" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "m" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "mt" | "
|
|
4
|
+
declare const AdaptableDateInput: React.ForwardRefExoticComponent<Pick<import("../../../components/Input").InputProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "color" | "content" | "display" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "verticalAlign" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "m" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bg" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "variant" | "tx" | "sx" | "placehoder"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
5
|
export default AdaptableDateInput;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SimpleButtonProps } from '../../../components/SimpleButton';
|
|
3
|
-
export declare const ButtonEdit: React.FunctionComponent<SimpleButtonProps
|
|
3
|
+
export declare const ButtonEdit: React.FunctionComponent<React.PropsWithChildren<SimpleButtonProps>>;
|
|
@@ -11,5 +11,5 @@ interface AdaptablePopupBodyProps {
|
|
|
11
11
|
onHide?: () => void;
|
|
12
12
|
api: AdaptableApi;
|
|
13
13
|
}
|
|
14
|
-
export declare const AdaptablePopupBody: React.FunctionComponent<AdaptablePopupBodyProps
|
|
14
|
+
export declare const AdaptablePopupBody: React.FunctionComponent<React.PropsWithChildren<AdaptablePopupBodyProps>>;
|
|
15
15
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const AdaptablePopupDialog: React.FunctionComponent<{
|
|
2
|
+
export declare const AdaptablePopupDialog: React.FunctionComponent<React.PropsWithChildren<{
|
|
3
3
|
baseClassName: string;
|
|
4
4
|
className: string;
|
|
5
5
|
friendlyName: string;
|
|
@@ -8,4 +8,4 @@ export declare const AdaptablePopupDialog: React.FunctionComponent<{
|
|
|
8
8
|
onHide: () => void;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
modalContainer?: string | HTMLElement;
|
|
11
|
-
}
|
|
11
|
+
}>>;
|
|
@@ -8,4 +8,4 @@ export interface AdaptablePopupModuleViewProps extends ModuleViewPopupProps<type
|
|
|
8
8
|
accessLevel: AccessLevel;
|
|
9
9
|
popupParams?: ModuleParams;
|
|
10
10
|
}
|
|
11
|
-
export declare const AdaptablePopupModuleView: React.FunctionComponent<AdaptablePopupModuleViewProps
|
|
11
|
+
export declare const AdaptablePopupModuleView: React.FunctionComponent<React.PropsWithChildren<AdaptablePopupModuleViewProps>>;
|
|
@@ -7,5 +7,5 @@ interface NavigationProps {
|
|
|
7
7
|
activeItem: string;
|
|
8
8
|
customSettingsPanels?: CustomSettingsPanel[];
|
|
9
9
|
}
|
|
10
|
-
export declare const Navigation: React.FunctionComponent<NavigationProps
|
|
10
|
+
export declare const Navigation: React.FunctionComponent<React.PropsWithChildren<NavigationProps>>;
|
|
11
11
|
export {};
|
|
@@ -8,4 +8,4 @@ export interface PanelWithButtonProps {
|
|
|
8
8
|
infoLink?: string;
|
|
9
9
|
infoLinkDisabled?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const PopupPanel: React.FunctionComponent<PanelWithButtonProps
|
|
11
|
+
export declare const PopupPanel: React.FunctionComponent<React.PropsWithChildren<PanelWithButtonProps>>;
|
|
@@ -3,5 +3,5 @@ import { SettingsPanelOptions } from '../../../../AdaptableOptions/SettingsPanel
|
|
|
3
3
|
interface TopBarProps {
|
|
4
4
|
icon: SettingsPanelOptions['icon'];
|
|
5
5
|
}
|
|
6
|
-
export declare const TopBar: React.FunctionComponent<TopBarProps
|
|
6
|
+
export declare const TopBar: React.FunctionComponent<React.PropsWithChildren<TopBarProps>>;
|
|
7
7
|
export default TopBar;
|
|
@@ -8,4 +8,4 @@ export interface AdaptablePopupPromptProps {
|
|
|
8
8
|
onConfirmActionCreator?: (inputText: string) => Action;
|
|
9
9
|
defaultValue?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const AdaptablePopupPrompt: React.FunctionComponent<AdaptablePopupPromptProps
|
|
11
|
+
export declare const AdaptablePopupPrompt: React.FunctionComponent<React.PropsWithChildren<AdaptablePopupPromptProps>>;
|
|
@@ -33,7 +33,7 @@ const AggregationsSectionSummary = () => {
|
|
|
33
33
|
let content = null;
|
|
34
34
|
if (entires.length) {
|
|
35
35
|
content = (React.createElement(FormLayout_1.default, null, entires.map(([columnId, aggregation]) => (React.createElement(FormLayout_1.FormRow, { key: columnId, label: adaptable.api.columnApi.getFriendlyNameFromColumnId(columnId) },
|
|
36
|
-
React.createElement(Tag_1.Tag, null, aggregation))))));
|
|
36
|
+
React.createElement(Tag_1.Tag, null, aggregation /* TODO fix for Bogdan */))))));
|
|
37
37
|
}
|
|
38
38
|
else {
|
|
39
39
|
content = React.createElement(Tag_1.Tag, null, "No Aggregations");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Layout } from '../../../../../types';
|
|
3
|
-
export declare const SettingsSectionSummary: React.FunctionComponent
|
|
3
|
+
export declare const SettingsSectionSummary: React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
4
4
|
interface SettingsSectionProps {
|
|
5
5
|
onChange: (data: Layout) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const SettingsSection: React.FunctionComponent<SettingsSectionProps
|
|
7
|
+
export declare const SettingsSection: React.FunctionComponent<React.PropsWithChildren<SettingsSectionProps>>;
|
|
8
8
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const LicenseWatermark: React.FunctionComponent
|
|
2
|
+
export declare const LicenseWatermark: React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
@@ -2,5 +2,5 @@ import * as React from 'react';
|
|
|
2
2
|
import { SimpleButtonProps } from '../../../components/SimpleButton';
|
|
3
3
|
interface ClearButtonProps extends SimpleButtonProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const ClearButton: React.FunctionComponent<ClearButtonProps
|
|
5
|
+
export declare const ClearButton: React.FunctionComponent<React.PropsWithChildren<ClearButtonProps>>;
|
|
6
6
|
export {};
|
|
@@ -3,5 +3,5 @@ import { SimpleButtonProps } from '../../../components/SimpleButton';
|
|
|
3
3
|
interface LoadButtonProps extends SimpleButtonProps {
|
|
4
4
|
onLoad: (json: any) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const LoadButton: React.FunctionComponent<LoadButtonProps
|
|
6
|
+
export declare const LoadButton: React.FunctionComponent<React.PropsWithChildren<LoadButtonProps>>;
|
|
7
7
|
export {};
|
|
@@ -15,7 +15,7 @@ import { FlexProps } from 'rebass';
|
|
|
15
15
|
*/
|
|
16
16
|
export interface StatusBarPanelProps extends Omit<FlexProps, 'content'> {
|
|
17
17
|
icon?: string;
|
|
18
|
-
content?: React.ReactNode | React.FunctionComponent
|
|
18
|
+
content?: React.ReactNode | React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
19
19
|
/**
|
|
20
20
|
* weather to trigger onAction when the wrapper is clicked
|
|
21
21
|
*/
|
|
@@ -24,14 +24,14 @@ export interface StatusBarPanelProps extends Omit<FlexProps, 'content'> {
|
|
|
24
24
|
* When specified this content will be rendered when the text
|
|
25
25
|
* is clicked.
|
|
26
26
|
*/
|
|
27
|
-
popover?: React.ReactNode | React.FunctionComponent
|
|
27
|
+
popover?: React.ReactNode | React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
28
28
|
popoverMinWidth?: number;
|
|
29
29
|
/**
|
|
30
30
|
* Allow to render custom content
|
|
31
31
|
*/
|
|
32
|
-
view?: React.FunctionComponent
|
|
32
|
+
view?: React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
33
33
|
onAction?: () => void;
|
|
34
|
-
extraActions?: React.FunctionComponent[];
|
|
34
|
+
extraActions?: React.FunctionComponent<React.PropsWithChildren<unknown>>[];
|
|
35
35
|
tooltip?: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
@@ -11,9 +11,9 @@ export declare type OnePageAdaptableWizardContextType<T> = {
|
|
|
11
11
|
api: AdaptableApi;
|
|
12
12
|
namedQuery: ExpressionEditorNamedQuery;
|
|
13
13
|
};
|
|
14
|
-
export declare const SummaryTag: React.FunctionComponent<TextProps
|
|
15
|
-
export declare const SummaryText: React.FunctionComponent<TextProps
|
|
16
|
-
export declare const FormDescriptionText: React.FunctionComponent<TextProps
|
|
14
|
+
export declare const SummaryTag: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
15
|
+
export declare const SummaryText: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
16
|
+
export declare const FormDescriptionText: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
17
17
|
export declare const OnePageAdaptableWizardContext: React.Context<OnePageAdaptableWizardContextType<any>>;
|
|
18
18
|
export declare function useOnePageAdaptableWizardContext<ENTITY>(): OnePageAdaptableWizardContextType<ENTITY>;
|
|
19
19
|
export interface OnePageAdaptableWizardSection<ENTITY> {
|
|
@@ -13,11 +13,11 @@ const Tabs_1 = require("../../components/Tabs");
|
|
|
13
13
|
const NamedQueryContext_1 = require("../../components/ExpressionEditor/NamedQueryContext");
|
|
14
14
|
const OnePageWizards_1 = require("./OnePageWizards");
|
|
15
15
|
const kebabCase_1 = tslib_1.__importDefault(require("lodash/kebabCase"));
|
|
16
|
-
const SummaryTag = (props) => React.createElement(rebass_1.Text, Object.assign({}, props));
|
|
16
|
+
const SummaryTag = (props) => (React.createElement(rebass_1.Text, Object.assign({}, props)));
|
|
17
17
|
exports.SummaryTag = SummaryTag;
|
|
18
18
|
const SummaryText = (props) => (React.createElement(rebass_1.Text, Object.assign({ fontSize: 2, mb: 3 }, props)));
|
|
19
19
|
exports.SummaryText = SummaryText;
|
|
20
|
-
const FormDescriptionText = (props) =>
|
|
20
|
+
const FormDescriptionText = (props) => React.createElement(rebass_1.Text, Object.assign({ fontSize: 2, mt: 1 }, props));
|
|
21
21
|
exports.FormDescriptionText = FormDescriptionText;
|
|
22
22
|
exports.OnePageAdaptableWizardContext = React.createContext({
|
|
23
23
|
data: null,
|
|
@@ -6,9 +6,9 @@ export declare type OnePageWizardContextType<T> = {
|
|
|
6
6
|
sections: (OnePageWizardSection<T> | '-')[];
|
|
7
7
|
setCurrentSection: (index: number) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const SummaryTag: React.FunctionComponent<TextProps
|
|
10
|
-
export declare const SummaryText: React.FunctionComponent<TextProps
|
|
11
|
-
export declare const FormDescriptionText: React.FunctionComponent<TextProps
|
|
9
|
+
export declare const SummaryTag: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
10
|
+
export declare const SummaryText: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
11
|
+
export declare const FormDescriptionText: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
12
12
|
export declare const OnePageWizardContext: React.Context<OnePageWizardContextType<any>>;
|
|
13
13
|
export declare function useOnePageWizardContext<ENTITY>(): OnePageWizardContextType<ENTITY>;
|
|
14
14
|
export declare type OnePageWizardSection<ENTITY> = {
|
|
@@ -14,11 +14,11 @@ const icons_1 = require("../../components/icons");
|
|
|
14
14
|
const ResizeObserver_1 = require("../../components/ResizeObserver");
|
|
15
15
|
const NamedQueryContext_1 = require("../../components/ExpressionEditor/NamedQueryContext");
|
|
16
16
|
const useKeyboardNavigation_1 = require("./useKeyboardNavigation");
|
|
17
|
-
const SummaryTag = (props) => React.createElement(rebass_1.Text, Object.assign({}, props));
|
|
17
|
+
const SummaryTag = (props) => (React.createElement(rebass_1.Text, Object.assign({}, props)));
|
|
18
18
|
exports.SummaryTag = SummaryTag;
|
|
19
19
|
const SummaryText = (props) => (React.createElement(rebass_1.Text, Object.assign({ fontSize: 2, mb: 3 }, props)));
|
|
20
20
|
exports.SummaryText = SummaryText;
|
|
21
|
-
const FormDescriptionText = (props) =>
|
|
21
|
+
const FormDescriptionText = (props) => React.createElement(rebass_1.Text, Object.assign({ fontSize: 2, mt: 1 }, props));
|
|
22
22
|
exports.FormDescriptionText = FormDescriptionText;
|
|
23
23
|
exports.OnePageWizardContext = React.createContext({
|
|
24
24
|
data: null,
|
|
@@ -35,8 +35,11 @@ import { CustomSort } from '../PredefinedConfig/CustomSortState';
|
|
|
35
35
|
import { ColumnValuesComparer } from '../AdaptableOptions/GeneralOptions';
|
|
36
36
|
import { IMetamodelService } from '../Utilities/Services/Interface/IMetamodelService';
|
|
37
37
|
import { IRowEditService } from '../Utilities/Services/Interface/IRowEditService';
|
|
38
|
+
import { RenderReactRootFn } from '../renderReactRoot';
|
|
38
39
|
declare type RuntimeConfig = {
|
|
39
40
|
waitForAgGrid?: boolean;
|
|
41
|
+
supressReact18RenderWarning?: boolean;
|
|
42
|
+
renderReactRoot?: RenderReactRootFn;
|
|
40
43
|
};
|
|
41
44
|
export declare class Adaptable implements IAdaptable {
|
|
42
45
|
api: AdaptableApi;
|
|
@@ -75,6 +78,7 @@ export declare class Adaptable implements IAdaptable {
|
|
|
75
78
|
private currentColumnDefs?;
|
|
76
79
|
private rowListeners;
|
|
77
80
|
private isCheckedColumnDataType;
|
|
81
|
+
private unmountReactRoot?;
|
|
78
82
|
get isLive(): boolean;
|
|
79
83
|
_on: (eventName: string, callback: EmitterCallback) => (() => void);
|
|
80
84
|
_onIncludeFired: (eventName: string, callback: EmitterCallback) => (() => void);
|
|
@@ -83,6 +87,8 @@ export declare class Adaptable implements IAdaptable {
|
|
|
83
87
|
private _adaptableReady;
|
|
84
88
|
isDestroyed: boolean;
|
|
85
89
|
private listenerKeydown;
|
|
90
|
+
supressReact18RenderWarning: boolean;
|
|
91
|
+
renderReactRoot: RenderReactRootFn;
|
|
86
92
|
private listenerFirstDataRendered;
|
|
87
93
|
private listenerPivotModeChanged;
|
|
88
94
|
private listenerPivotChanged;
|