@singularsystems/neo-core 1.3.1 → 1.3.3
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IModelBase, IPropertyInstance } from '../Model/';
|
|
2
2
|
import { ValidationDisplayMode } from '../Validation/Misc';
|
|
3
3
|
import List from '../Model/List';
|
|
4
|
+
import { IColumnWidthBreakpoints } from "./BootstrapTypes";
|
|
4
5
|
export interface IFormContextOptions {
|
|
5
6
|
/** The validation display mode to apply to all controls. */
|
|
6
7
|
validationDisplayMode?: ValidationDisplayMode;
|
|
@@ -10,6 +11,8 @@ export interface IFormContextOptions {
|
|
|
10
11
|
allDisabled?: boolean;
|
|
11
12
|
/** True if all labels should be hidden. */
|
|
12
13
|
suppressLabels?: boolean;
|
|
14
|
+
/** Number of columns labels of InlineFormGroups should use. */
|
|
15
|
+
labelSizes?: IColumnWidthBreakpoints;
|
|
13
16
|
}
|
|
14
17
|
export interface IFormOptions<T extends IModelBase> extends IFormContextOptions {
|
|
15
18
|
/** Model to use for validating. onSubmit will not be called if the model is invalid. */
|
package/dist/Routing/IRoute.d.ts
CHANGED
|
@@ -12,10 +12,15 @@ export interface IRoute {
|
|
|
12
12
|
anyRoles?: string[];
|
|
13
13
|
/** Match on exact path? Set this to true if this is a parent route which has sub routes. */
|
|
14
14
|
exact?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
/**
|
|
16
|
+
* Path which will be used for links on a menu component.
|
|
17
|
+
* If you specify parameters here, you must also specify `basePath`.
|
|
18
|
+
*/
|
|
18
19
|
path?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Base path without parameters. Only necessary if `path` contains parameters.
|
|
22
|
+
*/
|
|
23
|
+
basePath?: string;
|
|
19
24
|
/** Component to display in route view on master page */
|
|
20
25
|
component?: any;
|
|
21
26
|
/** True if this item should be displayed in it's childrens' breadcrumbs. Only applies if name, path and component are also specified. */
|