@jsonforms/material-renderers 3.0.0-alpha.1 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/assets/js/search.json +1 -1
- package/docs/classes/combinatorproperties.html +2 -5
- package/docs/classes/materialanyofstringorenumcontrol.html +6 -9
- package/docs/classes/materialtablecontrol.html +4 -7
- package/docs/globals.html +878 -423
- package/docs/index.html +68 -59
- package/docs/interfaces/ajvprops.html +1 -4
- package/docs/interfaces/arraylayouttoolbarprops.html +5 -8
- package/docs/interfaces/categorizationstate.html +1 -4
- package/docs/interfaces/categorizationstepperstate.html +0 -3
- package/docs/interfaces/combinatorpropertiesprops.html +0 -3
- package/docs/interfaces/deletedialogprops.html +0 -3
- package/docs/interfaces/dispatchpropsofexpandpanel.html +3 -6
- package/docs/interfaces/emptytableprops.html +0 -3
- package/docs/interfaces/expandpanelprops.html +19 -22
- package/docs/interfaces/jsonformstheme.html +39 -49
- package/docs/interfaces/materialcategorizationlayoutrendererprops.html +5 -8
- package/docs/interfaces/materialcategorizationstepperlayoutrendererprops.html +1 -4
- package/docs/interfaces/materiallayoutrendererprops.html +0 -3
- package/docs/interfaces/materialtabletoolbarprops.html +9 -12
- package/docs/interfaces/muitextinputprops.html +2 -5
- package/docs/interfaces/nonemptycellcomponentprops.html +266 -0
- package/docs/interfaces/nonemptycellprops.html +0 -3
- package/docs/interfaces/nonemptyrowprops.html +80 -27
- package/docs/interfaces/ownoneofprops.html +0 -3
- package/docs/interfaces/ownpropsofexpandpanel.html +14 -17
- package/docs/interfaces/ownpropsofnonemptycell.html +0 -3
- package/docs/interfaces/statepropsofexpandpanel.html +16 -19
- package/docs/interfaces/tableheadercellprops.html +0 -3
- package/docs/interfaces/tablerowsprop.html +9 -12
- package/docs/interfaces/validationprops.html +2 -5
- package/docs/interfaces/withdeletedialogsupport.html +0 -3
- package/docs/interfaces/withinput.html +1 -4
- package/docs/interfaces/withoptionlabel.html +7 -7
- package/example/index.ts +7 -23
- package/lib/additional/ListWithDetailMasterItem.d.ts +3 -3
- package/lib/additional/MaterialLabelRenderer.d.ts +13 -13
- package/lib/additional/MaterialListWithDetailRenderer.d.ts +6 -6
- package/lib/additional/index.d.ts +4 -4
- package/lib/cells/CustomizableCells.d.ts +9 -9
- package/lib/cells/MaterialBooleanCell.d.ts +6 -6
- package/lib/cells/MaterialBooleanToggleCell.d.ts +6 -6
- package/lib/cells/MaterialDateCell.d.ts +6 -6
- package/lib/cells/MaterialEnumCell.d.ts +10 -10
- package/lib/cells/MaterialIntegerCell.d.ts +6 -6
- package/lib/cells/MaterialNumberCell.d.ts +10 -10
- package/lib/cells/MaterialNumberFormatCell.d.ts +10 -10
- package/lib/cells/MaterialOneOfEnumCell.d.ts +10 -10
- package/lib/cells/MaterialTextCell.d.ts +10 -10
- package/lib/cells/MaterialTimeCell.d.ts +6 -6
- package/lib/cells/index.d.ts +13 -13
- package/lib/complex/CombinatorProperties.d.ts +12 -12
- package/lib/complex/DeleteDialog.d.ts +11 -11
- package/lib/complex/MaterialAllOfRenderer.d.ts +6 -5
- package/lib/complex/MaterialAnyOfRenderer.d.ts +6 -5
- package/lib/complex/MaterialArrayControlRenderer.d.ts +5 -5
- package/lib/complex/MaterialEnumArrayRenderer.d.ts +6 -6
- package/lib/complex/MaterialObjectRenderer.d.ts +6 -5
- package/lib/complex/MaterialOneOfRenderer.d.ts +9 -8
- package/lib/complex/MaterialTableControl.d.ts +25 -10
- package/lib/complex/NoBorderTableCell.d.ts +3 -3
- package/lib/complex/TableToolbar.d.ts +15 -15
- package/lib/complex/ValidationIcon.d.ts +7 -11
- package/lib/complex/index.d.ts +19 -19
- package/lib/controls/MaterialAnyOfStringOrEnumControl.d.ts +9 -9
- package/lib/controls/MaterialBooleanControl.d.ts +6 -6
- package/lib/controls/MaterialBooleanToggleControl.d.ts +6 -6
- package/lib/controls/MaterialDateControl.d.ts +6 -9
- package/lib/controls/MaterialDateTimeControl.d.ts +6 -9
- package/lib/controls/MaterialEnumControl.d.ts +7 -6
- package/lib/controls/MaterialInputControl.d.ts +6 -9
- package/lib/controls/MaterialIntegerControl.d.ts +6 -6
- package/lib/controls/MaterialNativeControl.d.ts +6 -9
- package/lib/controls/MaterialNumberControl.d.ts +6 -6
- package/lib/controls/MaterialOneOfEnumControl.d.ts +7 -6
- package/lib/controls/MaterialOneOfRadioGroupControl.d.ts +6 -6
- package/lib/controls/MaterialRadioGroup.d.ts +3 -6
- package/lib/controls/MaterialRadioGroupControl.d.ts +6 -6
- package/lib/controls/MaterialSliderControl.d.ts +6 -9
- package/lib/controls/MaterialTextControl.d.ts +6 -6
- package/lib/controls/MaterialTimeControl.d.ts +6 -9
- package/lib/controls/index.d.ts +35 -35
- package/lib/index.d.ts +9 -9
- package/lib/jsonforms-react-material.cjs.js +1489 -0
- package/lib/jsonforms-react-material.cjs.js.map +1 -0
- package/lib/jsonforms-react-material.esm.js +1221 -0
- package/lib/jsonforms-react-material.esm.js.map +1 -0
- package/lib/layouts/ArrayToolbar.d.ts +9 -9
- package/lib/layouts/ExpandPanelRenderer.d.ts +51 -51
- package/lib/layouts/MaterialArrayLayout.d.ts +3 -13
- package/lib/layouts/MaterialArrayLayoutRenderer.d.ts +6 -6
- package/lib/layouts/MaterialCategorizationLayout.d.ts +17 -25
- package/lib/layouts/MaterialCategorizationStepperLayout.d.ts +13 -20
- package/lib/layouts/MaterialGroupLayout.d.ts +7 -7
- package/lib/layouts/MaterialHorizontalLayout.d.ts +10 -10
- package/lib/layouts/MaterialVerticalLayout.d.ts +10 -10
- package/lib/layouts/index.d.ts +6 -6
- package/lib/mui-controls/MuiAutocomplete.d.ts +9 -0
- package/lib/mui-controls/MuiCheckbox.d.ts +3 -3
- package/lib/mui-controls/MuiInputInteger.d.ts +3 -3
- package/lib/mui-controls/MuiInputNumber.d.ts +3 -3
- package/lib/mui-controls/MuiInputNumberFormat.d.ts +3 -3
- package/lib/mui-controls/MuiInputText.d.ts +9 -9
- package/lib/mui-controls/MuiInputTime.d.ts +3 -3
- package/lib/mui-controls/MuiSelect.d.ts +3 -3
- package/lib/mui-controls/MuiToggle.d.ts +3 -3
- package/lib/mui-controls/index.d.ts +7 -7
- package/lib/util/datejs.d.ts +3 -3
- package/lib/util/debounce.d.ts +1 -0
- package/lib/util/focus.d.ts +1 -0
- package/lib/util/index.d.ts +5 -3
- package/lib/util/layout.d.ts +15 -13
- package/lib/util/theme.d.ts +10 -10
- package/package.json +34 -28
- package/rollup.config.js +51 -0
- package/src/additional/ListWithDetailMasterItem.tsx +3 -6
- package/src/additional/MaterialLabelRenderer.tsx +1 -1
- package/src/additional/MaterialListWithDetailRenderer.tsx +1 -1
- package/src/cells/MaterialDateCell.tsx +1 -1
- package/src/cells/MaterialTimeCell.tsx +1 -0
- package/src/complex/CombinatorProperties.tsx +2 -2
- package/src/complex/DeleteDialog.tsx +2 -2
- package/src/complex/MaterialAllOfRenderer.tsx +3 -2
- package/src/complex/MaterialAnyOfRenderer.tsx +3 -2
- package/src/complex/MaterialArrayControlRenderer.tsx +1 -1
- package/src/complex/MaterialEnumArrayRenderer.tsx +4 -3
- package/src/complex/MaterialObjectRenderer.tsx +3 -2
- package/src/complex/MaterialOneOfRenderer.tsx +7 -7
- package/src/complex/MaterialTableControl.tsx +45 -37
- package/src/complex/NoBorderTableCell.tsx +10 -12
- package/src/complex/TableToolbar.tsx +9 -7
- package/src/complex/ValidationIcon.tsx +12 -19
- package/src/controls/MaterialAnyOfStringOrEnumControl.tsx +17 -14
- package/src/controls/MaterialBooleanControl.tsx +1 -1
- package/src/controls/MaterialBooleanToggleControl.tsx +1 -1
- package/src/controls/MaterialDateControl.tsx +87 -93
- package/src/controls/MaterialDateTimeControl.tsx +88 -96
- package/src/controls/MaterialEnumControl.tsx +12 -3
- package/src/controls/MaterialInputControl.tsx +65 -71
- package/src/controls/MaterialNativeControl.tsx +55 -59
- package/src/controls/MaterialOneOfEnumControl.tsx +13 -4
- package/src/controls/MaterialOneOfRadioGroupControl.tsx +4 -4
- package/src/controls/MaterialRadioGroup.tsx +73 -73
- package/src/controls/MaterialRadioGroupControl.tsx +1 -1
- package/src/controls/MaterialSliderControl.tsx +93 -88
- package/src/controls/MaterialTimeControl.tsx +87 -85
- package/src/layouts/ArrayToolbar.tsx +11 -7
- package/src/layouts/ExpandPanelRenderer.tsx +28 -32
- package/src/layouts/MaterialArrayLayout.tsx +73 -82
- package/src/layouts/MaterialArrayLayoutRenderer.tsx +1 -1
- package/src/layouts/MaterialCategorizationLayout.tsx +50 -67
- package/src/layouts/MaterialCategorizationStepperLayout.tsx +80 -88
- package/src/layouts/MaterialGroupLayout.tsx +1 -1
- package/src/{extended → mui-controls}/MuiAutocomplete.tsx +11 -9
- package/src/mui-controls/MuiCheckbox.tsx +2 -3
- package/src/mui-controls/MuiInputInteger.tsx +13 -10
- package/src/mui-controls/MuiInputNumber.tsx +10 -7
- package/src/mui-controls/MuiInputNumberFormat.tsx +9 -12
- package/src/mui-controls/MuiInputText.tsx +30 -21
- package/src/mui-controls/MuiInputTime.tsx +7 -5
- package/src/mui-controls/MuiSelect.tsx +4 -5
- package/src/mui-controls/MuiToggle.tsx +2 -3
- package/{lib/cells/MaterialNumberCell.js → src/util/debounce.ts} +20 -16
- package/{lib/util/index.js → src/util/focus.ts} +9 -7
- package/src/util/index.ts +2 -0
- package/src/util/layout.tsx +7 -8
- package/src/util/theme.ts +1 -1
- package/stats.html +3279 -0
- package/test/renderers/MaterialAllOfRenderer.test.tsx +1 -1
- package/test/renderers/MaterialAnyOfRenderer.test.tsx +15 -9
- package/test/renderers/MaterialAnyOfStringOrEnumControl.test.tsx +1 -1
- package/test/renderers/MaterialArrayControl.test.tsx +1 -1
- package/test/renderers/MaterialArrayLayout.test.tsx +39 -32
- package/test/renderers/MaterialBooleanCell.test.tsx +1 -1
- package/test/renderers/MaterialBooleanToggleCell.test.tsx +3 -2
- package/test/renderers/MaterialBooleanToggleControl.test.tsx +3 -2
- package/test/renderers/MaterialCategorizationLayout.test.tsx +76 -3
- package/test/renderers/MaterialCategorizationStepperLayout.test.tsx +79 -6
- package/test/renderers/MaterialDateCell.test.tsx +1 -1
- package/test/renderers/MaterialDateControl.test.tsx +5 -3
- package/test/renderers/MaterialDateTimeControl.test.tsx +5 -3
- package/test/renderers/MaterialEnumArrayRenderer.test.tsx +15 -7
- package/test/renderers/MaterialEnumCell.test.tsx +1 -1
- package/test/renderers/MaterialGroupLayout.test.tsx +1 -1
- package/test/renderers/MaterialInputControl.test.tsx +4 -4
- package/test/renderers/MaterialIntegerCell.test.tsx +42 -21
- package/test/renderers/MaterialLabelRenderer.test.tsx +1 -1
- package/test/renderers/MaterialLayouts.test.tsx +1 -1
- package/test/renderers/MaterialListWithDetailRenderer.test.tsx +2 -2
- package/test/renderers/MaterialNativeControl.test.tsx +2 -2
- package/test/renderers/MaterialNumberCell.test.tsx +46 -25
- package/test/renderers/MaterialObjectControl.test.tsx +1 -1
- package/test/renderers/MaterialOneOfEnumCell.test.tsx +1 -1
- package/test/renderers/MaterialOneOfRadioGroupControl.test.tsx +1 -1
- package/test/renderers/MaterialOneOfRenderer.test.tsx +17 -11
- package/test/renderers/MaterialRadioGroupControl.test.tsx +1 -1
- package/test/renderers/MaterialSliderControl.test.tsx +2 -2
- package/test/renderers/MaterialTextCell.test.tsx +47 -33
- package/test/renderers/MaterialTextControl.test.tsx +8 -4
- package/test/renderers/MaterialTimeCell.test.tsx +42 -21
- package/test/renderers/MaterialTimeControl.test.tsx +8 -6
- package/tsconfig.json +1 -2
- package/tsconfig.test.json +7 -0
- package/docs/classes/materialarraylayout.html +0 -777
- package/docs/classes/materialcategorizationlayoutrenderer.html +0 -786
- package/docs/classes/materialcategorizationstepperlayoutrenderer.html +0 -762
- package/docs/classes/materialdatecontrol.html +0 -825
- package/docs/classes/materialdatetimecontrol.html +0 -825
- package/docs/classes/materialinputcontrol.html +0 -825
- package/docs/classes/materialnativecontrol.html +0 -825
- package/docs/classes/materialradiogroup.html +0 -825
- package/docs/classes/materialslidercontrol.html +0 -825
- package/docs/classes/materialtimecontrol.html +0 -825
- package/docs/interfaces/materialarraylayoutstate.html +0 -157
- package/example/CustomAutocomplete.tsx +0 -54
- package/lib/additional/ListWithDetailMasterItem.js +0 -19
- package/lib/additional/ListWithDetailMasterItem.js.map +0 -1
- package/lib/additional/MaterialLabelRenderer.js +0 -47
- package/lib/additional/MaterialLabelRenderer.js.map +0 -1
- package/lib/additional/MaterialListWithDetailRenderer.js +0 -64
- package/lib/additional/MaterialListWithDetailRenderer.js.map +0 -1
- package/lib/additional/index.js +0 -34
- package/lib/additional/index.js.map +0 -1
- package/lib/cells/CustomizableCells.js +0 -45
- package/lib/cells/CustomizableCells.js.map +0 -1
- package/lib/cells/MaterialBooleanCell.js +0 -37
- package/lib/cells/MaterialBooleanCell.js.map +0 -1
- package/lib/cells/MaterialBooleanToggleCell.js +0 -38
- package/lib/cells/MaterialBooleanToggleCell.js.map +0 -1
- package/lib/cells/MaterialDateCell.js +0 -40
- package/lib/cells/MaterialDateCell.js.map +0 -1
- package/lib/cells/MaterialEnumCell.js +0 -39
- package/lib/cells/MaterialEnumCell.js.map +0 -1
- package/lib/cells/MaterialIntegerCell.js +0 -35
- package/lib/cells/MaterialIntegerCell.js.map +0 -1
- package/lib/cells/MaterialNumberCell.js.map +0 -1
- package/lib/cells/MaterialNumberFormatCell.js +0 -39
- package/lib/cells/MaterialNumberFormatCell.js.map +0 -1
- package/lib/cells/MaterialOneOfEnumCell.js +0 -39
- package/lib/cells/MaterialOneOfEnumCell.js.map +0 -1
- package/lib/cells/MaterialTextCell.js +0 -39
- package/lib/cells/MaterialTextCell.js.map +0 -1
- package/lib/cells/MaterialTimeCell.js +0 -35
- package/lib/cells/MaterialTimeCell.js.map +0 -1
- package/lib/cells/index.js +0 -60
- package/lib/cells/index.js.map +0 -1
- package/lib/complex/CombinatorProperties.js +0 -57
- package/lib/complex/CombinatorProperties.js.map +0 -1
- package/lib/complex/DeleteDialog.js +0 -41
- package/lib/complex/DeleteDialog.js.map +0 -1
- package/lib/complex/MaterialAllOfRenderer.js +0 -45
- package/lib/complex/MaterialAllOfRenderer.js.map +0 -1
- package/lib/complex/MaterialAnyOfRenderer.js +0 -49
- package/lib/complex/MaterialAnyOfRenderer.js.map +0 -1
- package/lib/complex/MaterialArrayControlRenderer.js +0 -55
- package/lib/complex/MaterialArrayControlRenderer.js.map +0 -1
- package/lib/complex/MaterialEnumArrayRenderer.js +0 -45
- package/lib/complex/MaterialEnumArrayRenderer.js.map +0 -1
- package/lib/complex/MaterialObjectRenderer.js +0 -49
- package/lib/complex/MaterialObjectRenderer.js.map +0 -1
- package/lib/complex/MaterialOneOfRenderer.js +0 -77
- package/lib/complex/MaterialOneOfRenderer.js.map +0 -1
- package/lib/complex/MaterialTableControl.js +0 -190
- package/lib/complex/MaterialTableControl.js.map +0 -1
- package/lib/complex/NoBorderTableCell.js +0 -41
- package/lib/complex/NoBorderTableCell.js.map +0 -1
- package/lib/complex/TableToolbar.js +0 -58
- package/lib/complex/TableToolbar.js.map +0 -1
- package/lib/complex/ValidationIcon.js +0 -48
- package/lib/complex/ValidationIcon.js.map +0 -1
- package/lib/complex/index.js +0 -47
- package/lib/complex/index.js.map +0 -1
- package/lib/controls/MaterialAnyOfStringOrEnumControl.js +0 -80
- package/lib/controls/MaterialAnyOfStringOrEnumControl.js.map +0 -1
- package/lib/controls/MaterialBooleanControl.js +0 -41
- package/lib/controls/MaterialBooleanControl.js.map +0 -1
- package/lib/controls/MaterialBooleanToggleControl.js +0 -41
- package/lib/controls/MaterialBooleanToggleControl.js.map +0 -1
- package/lib/controls/MaterialDateControl.js +0 -69
- package/lib/controls/MaterialDateControl.js.map +0 -1
- package/lib/controls/MaterialDateTimeControl.js +0 -71
- package/lib/controls/MaterialDateTimeControl.js.map +0 -1
- package/lib/controls/MaterialEnumControl.js +0 -36
- package/lib/controls/MaterialEnumControl.js.map +0 -1
- package/lib/controls/MaterialInputControl.js +0 -61
- package/lib/controls/MaterialInputControl.js.map +0 -1
- package/lib/controls/MaterialIntegerControl.js +0 -36
- package/lib/controls/MaterialIntegerControl.js.map +0 -1
- package/lib/controls/MaterialNativeControl.js +0 -55
- package/lib/controls/MaterialNativeControl.js.map +0 -1
- package/lib/controls/MaterialNumberControl.js +0 -36
- package/lib/controls/MaterialNumberControl.js.map +0 -1
- package/lib/controls/MaterialOneOfEnumControl.js +0 -36
- package/lib/controls/MaterialOneOfEnumControl.js.map +0 -1
- package/lib/controls/MaterialOneOfRadioGroupControl.js +0 -37
- package/lib/controls/MaterialOneOfRadioGroupControl.js.map +0 -1
- package/lib/controls/MaterialRadioGroup.js +0 -55
- package/lib/controls/MaterialRadioGroup.js.map +0 -1
- package/lib/controls/MaterialRadioGroupControl.js +0 -37
- package/lib/controls/MaterialRadioGroupControl.js.map +0 -1
- package/lib/controls/MaterialSliderControl.js +0 -74
- package/lib/controls/MaterialSliderControl.js.map +0 -1
- package/lib/controls/MaterialTextControl.js +0 -36
- package/lib/controls/MaterialTextControl.js.map +0 -1
- package/lib/controls/MaterialTimeControl.js +0 -66
- package/lib/controls/MaterialTimeControl.js.map +0 -1
- package/lib/controls/index.js +0 -91
- package/lib/controls/index.js.map +0 -1
- package/lib/extended/MaterialAutocompleteEnumControl.d.ts +0 -7
- package/lib/extended/MaterialAutocompleteEnumControl.js +0 -42
- package/lib/extended/MaterialAutocompleteEnumControl.js.map +0 -1
- package/lib/extended/MaterialAutocompleteOneOfEnumControl.d.ts +0 -7
- package/lib/extended/MaterialAutocompleteOneOfEnumControl.js +0 -42
- package/lib/extended/MaterialAutocompleteOneOfEnumControl.js.map +0 -1
- package/lib/extended/MuiAutocomplete.d.ts +0 -10
- package/lib/extended/MuiAutocomplete.js +0 -45
- package/lib/extended/MuiAutocomplete.js.map +0 -1
- package/lib/extended/index.d.ts +0 -10
- package/lib/extended/index.js +0 -48
- package/lib/extended/index.js.map +0 -1
- package/lib/index.js +0 -89
- package/lib/index.js.map +0 -1
- package/lib/jsonforms-material.js +0 -86
- package/lib/jsonforms-material.js.map +0 -1
- package/lib/layouts/ArrayToolbar.js +0 -27
- package/lib/layouts/ArrayToolbar.js.map +0 -1
- package/lib/layouts/ExpandPanelRenderer.js +0 -113
- package/lib/layouts/ExpandPanelRenderer.js.map +0 -1
- package/lib/layouts/MaterialArrayLayout.js +0 -66
- package/lib/layouts/MaterialArrayLayout.js.map +0 -1
- package/lib/layouts/MaterialArrayLayoutRenderer.js +0 -43
- package/lib/layouts/MaterialArrayLayoutRenderer.js.map +0 -1
- package/lib/layouts/MaterialCategorizationLayout.js +0 -88
- package/lib/layouts/MaterialCategorizationLayout.js.map +0 -1
- package/lib/layouts/MaterialCategorizationStepperLayout.js +0 -89
- package/lib/layouts/MaterialCategorizationStepperLayout.js.map +0 -1
- package/lib/layouts/MaterialGroupLayout.js +0 -52
- package/lib/layouts/MaterialGroupLayout.js.map +0 -1
- package/lib/layouts/MaterialHorizontalLayout.js +0 -51
- package/lib/layouts/MaterialHorizontalLayout.js.map +0 -1
- package/lib/layouts/MaterialVerticalLayout.js +0 -51
- package/lib/layouts/MaterialVerticalLayout.js.map +0 -1
- package/lib/layouts/index.js +0 -43
- package/lib/layouts/index.js.map +0 -1
- package/lib/mui-controls/MuiCheckbox.js +0 -40
- package/lib/mui-controls/MuiCheckbox.js.map +0 -1
- package/lib/mui-controls/MuiInputInteger.js +0 -41
- package/lib/mui-controls/MuiInputInteger.js.map +0 -1
- package/lib/mui-controls/MuiInputNumber.js +0 -41
- package/lib/mui-controls/MuiInputNumber.js.map +0 -1
- package/lib/mui-controls/MuiInputNumberFormat.js +0 -50
- package/lib/mui-controls/MuiInputNumberFormat.js.map +0 -1
- package/lib/mui-controls/MuiInputText.js +0 -64
- package/lib/mui-controls/MuiInputText.js.map +0 -1
- package/lib/mui-controls/MuiInputTime.js +0 -37
- package/lib/mui-controls/MuiInputTime.js.map +0 -1
- package/lib/mui-controls/MuiSelect.js +0 -38
- package/lib/mui-controls/MuiSelect.js.map +0 -1
- package/lib/mui-controls/MuiToggle.js +0 -39
- package/lib/mui-controls/MuiToggle.js.map +0 -1
- package/lib/mui-controls/index.js +0 -35
- package/lib/mui-controls/index.js.map +0 -1
- package/lib/util/datejs.js +0 -26
- package/lib/util/datejs.js.map +0 -1
- package/lib/util/index.js.map +0 -1
- package/lib/util/layout.js +0 -54
- package/lib/util/layout.js.map +0 -1
- package/lib/util/theme.js +0 -3
- package/lib/util/theme.js.map +0 -1
- package/src/extended/MaterialAutocompleteEnumControl.tsx +0 -55
- package/src/extended/MaterialAutocompleteOneOfEnumControl.tsx +0 -55
- package/src/extended/index.ts +0 -56
- package/webpack/webpack.build.js +0 -21
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ControlProps
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare abstract class MaterialInputControl extends Control<ControlProps & WithInput, ControlState> {
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ControlProps } from '@jsonforms/core';
|
|
3
|
+
export interface WithInput {
|
|
4
|
+
input: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const MaterialInputControl: (props: ControlProps & WithInput) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ControlProps, RankedTester } from '@jsonforms/core';
|
|
3
|
-
export declare const MaterialIntegerControl: (props: ControlProps) => JSX.Element;
|
|
4
|
-
export declare const materialIntegerControlTester: RankedTester;
|
|
5
|
-
declare const _default: React.ComponentType<import("
|
|
6
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControlProps, RankedTester } from '@jsonforms/core';
|
|
3
|
+
export declare const MaterialIntegerControl: (props: ControlProps) => JSX.Element;
|
|
4
|
+
export declare const materialIntegerControlTester: RankedTester;
|
|
5
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
|
|
6
|
+
export default _default;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ControlProps,
|
|
3
|
-
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const materialNativeControlTester: RankedTester;
|
|
8
|
-
declare const _default: React.ComponentType<import("../../../core/lib").OwnPropsOfControl>;
|
|
9
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControlProps, RankedTester } from '@jsonforms/core';
|
|
3
|
+
export declare const MaterialNativeControl: (props: ControlProps) => JSX.Element;
|
|
4
|
+
export declare const materialNativeControlTester: RankedTester;
|
|
5
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
|
|
6
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ControlProps, RankedTester } from '@jsonforms/core';
|
|
3
|
-
export declare const MaterialNumberControl: (props: ControlProps) => JSX.Element;
|
|
4
|
-
export declare const materialNumberControlTester: RankedTester;
|
|
5
|
-
declare const _default: React.ComponentType<import("
|
|
6
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControlProps, RankedTester } from '@jsonforms/core';
|
|
3
|
+
export declare const MaterialNumberControl: (props: ControlProps) => JSX.Element;
|
|
4
|
+
export declare const materialNumberControlTester: RankedTester;
|
|
5
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
|
|
6
|
+
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ControlProps, OwnPropsOfEnum, RankedTester } from '@jsonforms/core';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
declare const
|
|
6
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControlProps, OwnPropsOfEnum, RankedTester } from '@jsonforms/core';
|
|
3
|
+
import { WithOptionLabel } from '../mui-controls/MuiAutocomplete';
|
|
4
|
+
export declare const MaterialOneOfEnumControl: (props: ControlProps & OwnPropsOfEnum & WithOptionLabel) => JSX.Element;
|
|
5
|
+
export declare const materialOneOfEnumControlTester: RankedTester;
|
|
6
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl & OwnPropsOfEnum>;
|
|
7
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ControlProps, OwnPropsOfEnum, RankedTester } from '@jsonforms/core';
|
|
3
|
-
export declare const MaterialOneOfRadioGroupControl: (props: ControlProps & OwnPropsOfEnum) => JSX.Element;
|
|
4
|
-
export declare const materialOneOfRadioGroupControlTester: RankedTester;
|
|
5
|
-
declare const _default: React.ComponentType<import("
|
|
6
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControlProps, OwnPropsOfEnum, RankedTester } from '@jsonforms/core';
|
|
3
|
+
export declare const MaterialOneOfRadioGroupControl: (props: ControlProps & OwnPropsOfEnum) => JSX.Element;
|
|
4
|
+
export declare const materialOneOfRadioGroupControlTester: RankedTester;
|
|
5
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl & OwnPropsOfEnum>;
|
|
6
|
+
export default _default;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ControlProps,
|
|
3
|
-
|
|
4
|
-
export declare class MaterialRadioGroup extends Control<ControlProps & OwnPropsOfEnum, ControlState> {
|
|
5
|
-
render(): JSX.Element;
|
|
6
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ControlProps, OwnPropsOfEnum } from '@jsonforms/core';
|
|
3
|
+
export declare const MaterialRadioGroup: (props: ControlProps & OwnPropsOfEnum) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ControlProps, OwnPropsOfEnum, RankedTester } from '@jsonforms/core';
|
|
3
|
-
export declare const MaterialRadioGroupControl: (props: ControlProps & OwnPropsOfEnum) => JSX.Element;
|
|
4
|
-
export declare const materialRadioGroupControlTester: RankedTester;
|
|
5
|
-
declare const _default: React.ComponentType<import("
|
|
6
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControlProps, OwnPropsOfEnum, RankedTester } from '@jsonforms/core';
|
|
3
|
+
export declare const MaterialRadioGroupControl: (props: ControlProps & OwnPropsOfEnum) => JSX.Element;
|
|
4
|
+
export declare const materialRadioGroupControlTester: RankedTester;
|
|
5
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl & OwnPropsOfEnum>;
|
|
6
|
+
export default _default;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ControlProps,
|
|
3
|
-
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const materialSliderControlTester: RankedTester;
|
|
8
|
-
declare const _default: React.ComponentType<import("../../../core/lib").OwnPropsOfControl>;
|
|
9
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControlProps, RankedTester } from '@jsonforms/core';
|
|
3
|
+
export declare const MaterialSliderControl: (props: ControlProps) => JSX.Element;
|
|
4
|
+
export declare const materialSliderControlTester: RankedTester;
|
|
5
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
|
|
6
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ControlProps, RankedTester } from '@jsonforms/core';
|
|
3
|
-
export declare const MaterialTextControl: (props: ControlProps) => JSX.Element;
|
|
4
|
-
export declare const materialTextControlTester: RankedTester;
|
|
5
|
-
declare const _default: React.ComponentType<import("
|
|
6
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControlProps, RankedTester } from '@jsonforms/core';
|
|
3
|
+
export declare const MaterialTextControl: (props: ControlProps) => JSX.Element;
|
|
4
|
+
export declare const materialTextControlTester: RankedTester;
|
|
5
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
|
|
6
|
+
export default _default;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ControlProps,
|
|
3
|
-
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const materialTimeControlTester: RankedTester;
|
|
8
|
-
declare const _default: React.ComponentType<import("../../../core/lib").OwnPropsOfControl>;
|
|
9
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControlProps, RankedTester } from '@jsonforms/core';
|
|
3
|
+
export declare const MaterialTimeControl: (props: ControlProps) => JSX.Element;
|
|
4
|
+
export declare const materialTimeControlTester: RankedTester;
|
|
5
|
+
declare const _default: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
|
|
6
|
+
export default _default;
|
package/lib/controls/index.d.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import MaterialBooleanControl, { materialBooleanControlTester } from './MaterialBooleanControl';
|
|
3
|
-
import MaterialBooleanToggleControl, { materialBooleanToggleControlTester } from './MaterialBooleanToggleControl';
|
|
4
|
-
import MaterialEnumControl, { materialEnumControlTester } from './MaterialEnumControl';
|
|
5
|
-
import MaterialNativeControl, { materialNativeControlTester
|
|
6
|
-
import MaterialDateControl, { materialDateControlTester
|
|
7
|
-
import MaterialDateTimeControl, { materialDateTimeControlTester
|
|
8
|
-
import MaterialTimeControl, { materialTimeControlTester
|
|
9
|
-
import MaterialSliderControl, { materialSliderControlTester
|
|
10
|
-
import MaterialRadioGroupControl, { materialRadioGroupControlTester } from './MaterialRadioGroupControl';
|
|
11
|
-
import MaterialIntegerControl, { materialIntegerControlTester } from './MaterialIntegerControl';
|
|
12
|
-
import MaterialNumberControl, { materialNumberControlTester } from './MaterialNumberControl';
|
|
13
|
-
import MaterialTextControl, { materialTextControlTester } from './MaterialTextControl';
|
|
14
|
-
import MaterialAnyOfStringOrEnumControl, { materialAnyOfStringOrEnumControlTester, MaterialAnyOfStringOrEnumControl as MaterialAnyOfStringOrEnumControlUnwrapped } from './MaterialAnyOfStringOrEnumControl';
|
|
15
|
-
import MaterialOneOfEnumControl, { materialOneOfEnumControlTester } from './MaterialOneOfEnumControl';
|
|
16
|
-
import MaterialOneOfRadioGroupControl, { materialOneOfRadioGroupControlTester } from './MaterialOneOfRadioGroupControl';
|
|
17
|
-
export declare const Unwrapped: {
|
|
18
|
-
MaterialBooleanControl: ({ data, visible, label, id, enabled, uischema, schema, rootSchema, handleChange, errors, path, config }: import("
|
|
19
|
-
MaterialBooleanToggleControl: ({ data, visible, label, id, enabled, uischema, schema, rootSchema, handleChange, errors, path, config }: import("
|
|
20
|
-
MaterialEnumControl: (props: import("
|
|
21
|
-
MaterialNativeControl:
|
|
22
|
-
MaterialDateControl:
|
|
23
|
-
MaterialDateTimeControl:
|
|
24
|
-
MaterialTimeControl:
|
|
25
|
-
MaterialSliderControl:
|
|
26
|
-
MaterialRadioGroupControl: (props: import("
|
|
27
|
-
MaterialIntegerControl: (props: import("
|
|
28
|
-
MaterialNumberControl: (props: import("
|
|
29
|
-
MaterialTextControl: (props: import("
|
|
30
|
-
MaterialAnyOfStringOrEnumControl: typeof MaterialAnyOfStringOrEnumControlUnwrapped;
|
|
31
|
-
MaterialOneOfEnumControl: (props: import("
|
|
32
|
-
MaterialOneOfRadioGroupControl: (props: import("
|
|
33
|
-
};
|
|
34
|
-
export { MaterialBooleanControl, materialBooleanControlTester, MaterialBooleanToggleControl, materialBooleanToggleControlTester, MaterialEnumControl, materialEnumControlTester, MaterialNativeControl, materialNativeControlTester, MaterialDateControl, materialDateControlTester, MaterialDateTimeControl, materialDateTimeControlTester, MaterialTimeControl, materialTimeControlTester, MaterialSliderControl, materialSliderControlTester, MaterialRadioGroupControl, materialRadioGroupControlTester, MaterialIntegerControl, materialIntegerControlTester, MaterialNumberControl, materialNumberControlTester, MaterialTextControl, materialTextControlTester, MaterialAnyOfStringOrEnumControl, materialAnyOfStringOrEnumControlTester, MaterialOneOfEnumControl, materialOneOfEnumControlTester, MaterialOneOfRadioGroupControl, materialOneOfRadioGroupControlTester };
|
|
35
|
-
export * from './MaterialInputControl';
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import MaterialBooleanControl, { materialBooleanControlTester } from './MaterialBooleanControl';
|
|
3
|
+
import MaterialBooleanToggleControl, { materialBooleanToggleControlTester } from './MaterialBooleanToggleControl';
|
|
4
|
+
import MaterialEnumControl, { materialEnumControlTester } from './MaterialEnumControl';
|
|
5
|
+
import MaterialNativeControl, { materialNativeControlTester } from './MaterialNativeControl';
|
|
6
|
+
import MaterialDateControl, { materialDateControlTester } from './MaterialDateControl';
|
|
7
|
+
import MaterialDateTimeControl, { materialDateTimeControlTester } from './MaterialDateTimeControl';
|
|
8
|
+
import MaterialTimeControl, { materialTimeControlTester } from './MaterialTimeControl';
|
|
9
|
+
import MaterialSliderControl, { materialSliderControlTester } from './MaterialSliderControl';
|
|
10
|
+
import MaterialRadioGroupControl, { materialRadioGroupControlTester } from './MaterialRadioGroupControl';
|
|
11
|
+
import MaterialIntegerControl, { materialIntegerControlTester } from './MaterialIntegerControl';
|
|
12
|
+
import MaterialNumberControl, { materialNumberControlTester } from './MaterialNumberControl';
|
|
13
|
+
import MaterialTextControl, { materialTextControlTester } from './MaterialTextControl';
|
|
14
|
+
import MaterialAnyOfStringOrEnumControl, { materialAnyOfStringOrEnumControlTester, MaterialAnyOfStringOrEnumControl as MaterialAnyOfStringOrEnumControlUnwrapped } from './MaterialAnyOfStringOrEnumControl';
|
|
15
|
+
import MaterialOneOfEnumControl, { materialOneOfEnumControlTester } from './MaterialOneOfEnumControl';
|
|
16
|
+
import MaterialOneOfRadioGroupControl, { materialOneOfRadioGroupControlTester } from './MaterialOneOfRadioGroupControl';
|
|
17
|
+
export declare const Unwrapped: {
|
|
18
|
+
MaterialBooleanControl: ({ data, visible, label, id, enabled, uischema, schema, rootSchema, handleChange, errors, path, config }: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
19
|
+
MaterialBooleanToggleControl: ({ data, visible, label, id, enabled, uischema, schema, rootSchema, handleChange, errors, path, config }: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
20
|
+
MaterialEnumControl: (props: import("@jsonforms/core").ControlProps & import("@jsonforms/core").OwnPropsOfEnum & import("../mui-controls/MuiAutocomplete").WithOptionLabel) => JSX.Element;
|
|
21
|
+
MaterialNativeControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
22
|
+
MaterialDateControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
23
|
+
MaterialDateTimeControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
24
|
+
MaterialTimeControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
25
|
+
MaterialSliderControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
26
|
+
MaterialRadioGroupControl: (props: import("@jsonforms/core").ControlProps & import("@jsonforms/core").OwnPropsOfEnum) => JSX.Element;
|
|
27
|
+
MaterialIntegerControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
28
|
+
MaterialNumberControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
29
|
+
MaterialTextControl: (props: import("@jsonforms/core").ControlProps) => JSX.Element;
|
|
30
|
+
MaterialAnyOfStringOrEnumControl: typeof MaterialAnyOfStringOrEnumControlUnwrapped;
|
|
31
|
+
MaterialOneOfEnumControl: (props: import("@jsonforms/core").ControlProps & import("@jsonforms/core").OwnPropsOfEnum & import("../mui-controls/MuiAutocomplete").WithOptionLabel) => JSX.Element;
|
|
32
|
+
MaterialOneOfRadioGroupControl: (props: import("@jsonforms/core").ControlProps & import("@jsonforms/core").OwnPropsOfEnum) => JSX.Element;
|
|
33
|
+
};
|
|
34
|
+
export { MaterialBooleanControl, materialBooleanControlTester, MaterialBooleanToggleControl, materialBooleanToggleControlTester, MaterialEnumControl, materialEnumControlTester, MaterialNativeControl, materialNativeControlTester, MaterialDateControl, materialDateControlTester, MaterialDateTimeControl, materialDateTimeControlTester, MaterialTimeControl, materialTimeControlTester, MaterialSliderControl, materialSliderControlTester, MaterialRadioGroupControl, materialRadioGroupControlTester, MaterialIntegerControl, materialIntegerControlTester, MaterialNumberControl, materialNumberControlTester, MaterialTextControl, materialTextControlTester, MaterialAnyOfStringOrEnumControl, materialAnyOfStringOrEnumControlTester, MaterialOneOfEnumControl, materialOneOfEnumControlTester, MaterialOneOfRadioGroupControl, materialOneOfRadioGroupControlTester };
|
|
35
|
+
export * from './MaterialInputControl';
|
package/lib/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { JsonFormsCellRendererRegistryEntry, JsonFormsRendererRegistryEntry } from '@jsonforms/core';
|
|
2
|
-
export * from './complex';
|
|
3
|
-
export * from './controls';
|
|
4
|
-
export * from './layouts';
|
|
5
|
-
export * from './cells';
|
|
6
|
-
export * from './mui-controls';
|
|
7
|
-
export * from './util';
|
|
8
|
-
export declare const materialRenderers: JsonFormsRendererRegistryEntry[];
|
|
9
|
-
export declare const materialCells: JsonFormsCellRendererRegistryEntry[];
|
|
1
|
+
import { JsonFormsCellRendererRegistryEntry, JsonFormsRendererRegistryEntry } from '@jsonforms/core';
|
|
2
|
+
export * from './complex';
|
|
3
|
+
export * from './controls';
|
|
4
|
+
export * from './layouts';
|
|
5
|
+
export * from './cells';
|
|
6
|
+
export * from './mui-controls';
|
|
7
|
+
export * from './util';
|
|
8
|
+
export declare const materialRenderers: JsonFormsRendererRegistryEntry[];
|
|
9
|
+
export declare const materialCells: JsonFormsCellRendererRegistryEntry[];
|