@steroidsjs/core 3.0.32 → 3.0.33
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-autogen-result.json
CHANGED
|
@@ -16290,6 +16290,14 @@
|
|
|
16290
16290
|
"type": "IInputParams",
|
|
16291
16291
|
"example": null
|
|
16292
16292
|
},
|
|
16293
|
+
{
|
|
16294
|
+
"name": "itemProps",
|
|
16295
|
+
"decorators": [],
|
|
16296
|
+
"description": "",
|
|
16297
|
+
"required": true,
|
|
16298
|
+
"type": "any",
|
|
16299
|
+
"example": null
|
|
16300
|
+
},
|
|
16293
16301
|
{
|
|
16294
16302
|
"name": "itemView",
|
|
16295
16303
|
"decorators": [],
|
package/package.json
CHANGED
|
@@ -71,6 +71,7 @@ export interface ICheckboxTreeFieldViewProps extends IFieldWrapperOutputProps, P
|
|
|
71
71
|
size?: Size;
|
|
72
72
|
hasOnlyLeafCheckboxes?: boolean;
|
|
73
73
|
itemView: CustomView;
|
|
74
|
+
itemProps: CustomViewProps;
|
|
74
75
|
}
|
|
75
76
|
export declare const getNestedItemsIds: (item: any, groupAttribute: any, hasOnlyLeafCheckboxes?: boolean) => any[];
|
|
76
77
|
declare const _default: import("../../../ui/form/Field/fieldWrapper").FieldWrapperComponent<ICheckboxTreeFieldProps>;
|
|
@@ -131,9 +131,10 @@ function CheckboxTreeField(props) {
|
|
|
131
131
|
levelPadding: props.levelPadding,
|
|
132
132
|
hasOnlyLeafCheckboxes: props.hasOnlyLeafCheckboxes,
|
|
133
133
|
hasIconExpandOnly: props.hasIconExpandOnly,
|
|
134
|
-
itemView: TreeItemView
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
itemView: TreeItemView,
|
|
135
|
+
itemProps: props.itemProps
|
|
136
|
+
}); }, [treeItems, onItemSelect, selectedIds, renderCheckbox, props.size, props.levelPadding,
|
|
137
|
+
props.hasOnlyLeafCheckboxes, props.hasIconExpandOnly, props.itemProps, TreeItemView]);
|
|
137
138
|
return components.ui.renderView(props.view || 'form.CheckboxTreeFieldView', viewProps);
|
|
138
139
|
}
|
|
139
140
|
CheckboxTreeField.defaultProps = {
|