@nova-ui/bits 20.0.10 → 20.0.12
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/README.md +32 -32
- package/fesm2022/nova-ui-bits.mjs +569 -359
- package/fesm2022/nova-ui-bits.mjs.map +1 -1
- package/index.d.ts +50 -13
- package/package.json +18 -18
- package/sdk/atoms/atom.js +2 -2
- package/sdk/atoms/atom.js.map +1 -1
- package/sdk/atoms/atoms/base-select-v2.atom.js.map +1 -1
- package/sdk/atoms/atoms/chips.atom.js.map +1 -1
- package/sdk/atoms/atoms/datepicker.atom.js.map +1 -1
- package/sdk/atoms/atoms/expander.atom.js +2 -2
- package/sdk/atoms/atoms/expander.atom.js.map +1 -1
- package/sdk/atoms/atoms/menu-popup.atom.js +1 -1
- package/sdk/atoms/atoms/menu-popup.atom.js.map +1 -1
- package/sdk/atoms/atoms/paginator.atom.js +1 -1
- package/sdk/atoms/atoms/paginator.atom.js.map +1 -1
- package/sdk/atoms/atoms/switch.atom.js +1 -1
- package/sdk/atoms/atoms/switch.atom.js.map +1 -1
- package/sdk/atoms/atoms/table.atom.js +1 -1
- package/sdk/atoms/atoms/table.atom.js.map +1 -1
- package/sdk/atoms/atoms/toolbar.atom.js.map +1 -1
- package/sdk/atoms/atoms/tree.atom.js.map +1 -1
- package/sdk/atoms/helpers.js +2 -2
- package/sdk/atoms/helpers.js.map +1 -1
- package/sdk/atoms-playwright/components/chips/chips.atom.js +10 -5
- package/sdk/atoms-playwright/components/chips/chips.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/convenience/time-frame-bar/time-frame-bar.atom.d.ts +21 -0
- package/sdk/atoms-playwright/components/convenience/time-frame-bar/time-frame-bar.atom.js +68 -0
- package/sdk/atoms-playwright/components/convenience/time-frame-bar/time-frame-bar.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/progress/progress.atom.d.ts +6 -0
- package/sdk/atoms-playwright/components/progress/progress.atom.js +18 -1
- package/sdk/atoms-playwright/components/progress/progress.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/public_api.d.ts +1 -0
- package/sdk/atoms-playwright/components/public_api.js +1 -0
- package/sdk/atoms-playwright/components/public_api.js.map +1 -1
- package/sdk/atoms-playwright/components/spinner/spinner.atom.d.ts +1 -0
- package/sdk/atoms-playwright/components/spinner/spinner.atom.js +17 -0
- package/sdk/atoms-playwright/components/spinner/spinner.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/table/table.atom.js +1 -1
- package/sdk/atoms-playwright/components/table/table.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/time-frame-picker/quick-picker.atom.d.ts +8 -0
- package/sdk/atoms-playwright/components/time-frame-picker/quick-picker.atom.js +45 -0
- package/sdk/atoms-playwright/components/time-frame-picker/quick-picker.atom.js.map +1 -0
- package/sdk/atoms-playwright/components/time-frame-picker/time-frame-picker.atom.d.ts +9 -0
- package/sdk/atoms-playwright/components/time-frame-picker/time-frame-picker.atom.js +34 -0
- package/sdk/atoms-playwright/components/time-frame-picker/time-frame-picker.atom.js.map +1 -0
- package/sdk/atoms-playwright/setup.d.ts +1 -1
- package/sdk/atoms-playwright/setup.js +7 -4
- package/sdk/atoms-playwright/setup.js.map +1 -1
- package/sdk/atoms-playwright/virtual-camera/Camera.d.ts +1 -0
- package/sdk/atoms-playwright/virtual-camera/Camera.js +28 -0
- package/sdk/atoms-playwright/virtual-camera/Camera.js.map +1 -1
- package/sdk/atoms-playwright/virtual-camera/camera-engine.js +1 -0
- package/sdk/atoms-playwright/virtual-camera/camera-engine.js.map +1 -1
- package/sdk/atoms-playwright/virtual-camera/eyes-lens.js +11 -2
- package/sdk/atoms-playwright/virtual-camera/eyes-lens.js.map +1 -1
- package/sdk/schematics/collection.json +17 -17
- package/sdk/schematics/filter-group/schema.json +42 -42
- package/sdk/schematics/filtered-view/schema.json +128 -128
- package/sdk/schematics/layout/schema.json +62 -62
- package/sdk/schematics/list/schema.json +114 -114
- package/sdk/schematics/migration.json +2 -2
- package/sdk/schematics/ng-add/index.js +4 -4
- package/sdk/schematics/ng-add/index.js.map +1 -1
- package/sdk/schematics/ng-add/index.spec.js +1 -1
- package/sdk/schematics/ng-add/index.spec.js.map +1 -1
- package/sdk/schematics/ng-add/schema.json +21 -21
- package/sdk/schematics/ng-update/schema.json +12 -12
- package/sdk/schematics/table/schema.json +106 -106
- package/sdk/schematics/utility/schematics-helper.js +1 -1
- package/sdk/schematics/utility/schematics-helper.js.map +1 -1
- package/sdk/schematics/utility/workspace.js +1 -1
- package/sdk/schematics/utility/workspace.js.map +1 -1
|
@@ -9,13 +9,22 @@ export class EyesLens {
|
|
|
9
9
|
async takeSnapshot(label) {
|
|
10
10
|
await this.ensureDir();
|
|
11
11
|
const filePath = this.buildFilePath(label);
|
|
12
|
-
|
|
12
|
+
// CI uploads these PNGs to Percy, so infinite CSS animations (spinners, progress bars) must be frozen here
|
|
13
|
+
const buffer = await this.page.screenshot({
|
|
14
|
+
fullPage: false,
|
|
15
|
+
animations: "disabled",
|
|
16
|
+
caret: "hide",
|
|
17
|
+
});
|
|
13
18
|
await fs.promises.writeFile(filePath, buffer);
|
|
14
19
|
}
|
|
15
20
|
async takeFullScreenSnapshot(label) {
|
|
16
21
|
await this.ensureDir();
|
|
17
22
|
const filePath = this.buildFilePath(label);
|
|
18
|
-
const buffer = await this.page.screenshot({
|
|
23
|
+
const buffer = await this.page.screenshot({
|
|
24
|
+
fullPage: true,
|
|
25
|
+
animations: "disabled",
|
|
26
|
+
caret: "hide",
|
|
27
|
+
});
|
|
19
28
|
await fs.promises.writeFile(filePath, buffer);
|
|
20
29
|
}
|
|
21
30
|
async cameraON() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eyes-lens.js","sourceRoot":"","sources":["../../../../e2e/virtual-camera/eyes-lens.ts"],"names":[],"mappings":"AAAA,yDAAyD;AAEzD,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AAMzB,MAAM,OAAO,QAAQ;IAGjB,YAAsB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description": "
|
|
6
|
-
"factory": "./
|
|
7
|
-
"schema": "./
|
|
4
|
+
"filter-group": {
|
|
5
|
+
"description": "Create a Filter Group",
|
|
6
|
+
"factory": "./filter-group/index",
|
|
7
|
+
"schema": "./filter-group/schema.json"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
10
|
-
"description": "Create a
|
|
11
|
-
"factory": "./
|
|
12
|
-
"schema": "./
|
|
9
|
+
"filtered-view": {
|
|
10
|
+
"description": "Create a Filtered View",
|
|
11
|
+
"factory": "./filtered-view/index",
|
|
12
|
+
"schema": "./filtered-view/schema.json"
|
|
13
13
|
},
|
|
14
14
|
"layout": {
|
|
15
15
|
"description": "Create a layout",
|
|
16
16
|
"factory": "./layout/index",
|
|
17
17
|
"schema": "./layout/schema.json"
|
|
18
18
|
},
|
|
19
|
-
"filtered-view": {
|
|
20
|
-
"description": "Create a Filtered View",
|
|
21
|
-
"factory": "./filtered-view/index",
|
|
22
|
-
"schema": "./filtered-view/schema.json"
|
|
23
|
-
},
|
|
24
19
|
"list": {
|
|
25
20
|
"description": "Create a list",
|
|
26
21
|
"factory": "./list/index",
|
|
27
22
|
"schema": "./list/schema.json"
|
|
28
23
|
},
|
|
29
|
-
"
|
|
30
|
-
"description": "
|
|
31
|
-
"factory": "./
|
|
32
|
-
"schema": "./
|
|
24
|
+
"ng-add": {
|
|
25
|
+
"description": "Installs and configures the bits library.",
|
|
26
|
+
"factory": "./ng-add/index",
|
|
27
|
+
"schema": "./ng-add/schema.json"
|
|
28
|
+
},
|
|
29
|
+
"table": {
|
|
30
|
+
"description": "Create a table",
|
|
31
|
+
"factory": "./table/index",
|
|
32
|
+
"schema": "./table/schema.json"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -3,71 +3,71 @@
|
|
|
3
3
|
"$schema": "http://json-schema.org/schema",
|
|
4
4
|
"additionalProperties": true,
|
|
5
5
|
"properties": {
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"visible": false
|
|
6
|
+
"export": {
|
|
7
|
+
"default": false,
|
|
8
|
+
"description": "When true, the declaring NgModule exports this component",
|
|
9
|
+
"type": "boolean"
|
|
11
10
|
},
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"description": "
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
"flat": {
|
|
12
|
+
"default": false,
|
|
13
|
+
"description": "When true, creates the new files at the top level of the current project",
|
|
14
|
+
"type": "boolean"
|
|
15
|
+
},
|
|
16
|
+
"lintFix": {
|
|
17
|
+
"default": false,
|
|
18
|
+
"description": "When true, applies lint fixes after generating the component",
|
|
19
|
+
"type": "boolean"
|
|
20
|
+
},
|
|
21
|
+
"module": {
|
|
22
|
+
"alias": "m",
|
|
23
|
+
"description": "The declaring NgModule",
|
|
24
|
+
"type": "string"
|
|
18
25
|
},
|
|
19
26
|
"name": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"description": "The name of the component",
|
|
22
27
|
"$default": {
|
|
23
28
|
"$source": "argv",
|
|
24
29
|
"index": 0
|
|
25
30
|
},
|
|
31
|
+
"description": "The name of the component",
|
|
32
|
+
"type": "string",
|
|
26
33
|
"x-prompt": "What name would you like to use for the component?"
|
|
27
34
|
},
|
|
28
|
-
"
|
|
35
|
+
"path": {
|
|
36
|
+
"description": "The path at which to create the component file, relative to the current workspace. Default is a folder with the same name as the component in the project root.",
|
|
37
|
+
"format": "path",
|
|
29
38
|
"type": "string",
|
|
30
|
-
"
|
|
39
|
+
"visible": false
|
|
40
|
+
},
|
|
41
|
+
"prefix": {
|
|
31
42
|
"alias": "p",
|
|
43
|
+
"description": "The prefix to apply to the generated component selector",
|
|
32
44
|
"oneOf": [
|
|
33
45
|
{
|
|
34
46
|
"maxLength": 0
|
|
35
47
|
},
|
|
36
48
|
{
|
|
37
|
-
"
|
|
38
|
-
"
|
|
49
|
+
"format": "html-selector",
|
|
50
|
+
"minLength": 1
|
|
39
51
|
}
|
|
40
|
-
]
|
|
41
|
-
|
|
42
|
-
"flat": {
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"description": "When true, creates the new files at the top level of the current project",
|
|
45
|
-
"default": false
|
|
52
|
+
],
|
|
53
|
+
"type": "string"
|
|
46
54
|
},
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
55
|
+
"project": {
|
|
56
|
+
"$default": {
|
|
57
|
+
"$source": "projectName"
|
|
58
|
+
},
|
|
59
|
+
"description": "The name of the project",
|
|
60
|
+
"type": "string"
|
|
51
61
|
},
|
|
52
62
|
"selector": {
|
|
53
|
-
"
|
|
63
|
+
"description": "The HTML selector to use for this component",
|
|
54
64
|
"format": "html-selector",
|
|
55
|
-
"
|
|
56
|
-
},
|
|
57
|
-
"module": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "The declaring NgModule",
|
|
60
|
-
"alias": "m"
|
|
65
|
+
"type": "string"
|
|
61
66
|
},
|
|
62
|
-
"
|
|
63
|
-
"type": "boolean",
|
|
64
|
-
"default": false,
|
|
65
|
-
"description": "When true, the declaring NgModule exports this component"
|
|
66
|
-
},
|
|
67
|
-
"lintFix": {
|
|
68
|
-
"type": "boolean",
|
|
67
|
+
"skipImport": {
|
|
69
68
|
"default": false,
|
|
70
|
-
"description": "When true,
|
|
69
|
+
"description": "When true, does not import this component into the owning NgModule",
|
|
70
|
+
"type": "boolean"
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"required": ["name"],
|
|
@@ -3,153 +3,136 @@
|
|
|
3
3
|
"$schema": "http://json-schema.org/schema",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"properties": {
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"visible": false
|
|
6
|
+
"chips": {
|
|
7
|
+
"default": true,
|
|
8
|
+
"description": "When true, incorporates chips for filter groups",
|
|
9
|
+
"type": "boolean"
|
|
11
10
|
},
|
|
12
|
-
"
|
|
11
|
+
"dataSource": {
|
|
12
|
+
"default": "serverSide",
|
|
13
|
+
"enum": ["clientSide", "serverSide", "custom", "none"],
|
|
13
14
|
"type": "string",
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
"x-prompt": {
|
|
16
|
+
"items": [
|
|
17
|
+
{
|
|
18
|
+
"label": "The generated data source will retrieve data locally from a client side source.",
|
|
19
|
+
"value": "clientSide"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"label": "The generated data source will retrieve data remotely from a server side API.",
|
|
23
|
+
"value": "serverSide"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"label": "No data source will be generated, allowing you to create one from scratch.",
|
|
27
|
+
"value": "custom"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"label": "No data source will be generated and no accommodations for a data source, e.g. sorting or search, will be added to the generated code.",
|
|
31
|
+
"value": "none"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"message": "What is the source of your data?",
|
|
35
|
+
"type": "list"
|
|
17
36
|
}
|
|
18
37
|
},
|
|
38
|
+
"enableSearch": {
|
|
39
|
+
"default": true,
|
|
40
|
+
"description": "When true, enables the search functionality to the list",
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
"enableSort": {
|
|
44
|
+
"default": true,
|
|
45
|
+
"description": "When true, enables the search functionality to the list",
|
|
46
|
+
"type": "boolean"
|
|
47
|
+
},
|
|
48
|
+
"export": {
|
|
49
|
+
"default": false,
|
|
50
|
+
"description": "When true, the declaring NgModule exports this component",
|
|
51
|
+
"type": "boolean"
|
|
52
|
+
},
|
|
53
|
+
"flat": {
|
|
54
|
+
"default": false,
|
|
55
|
+
"description": "When true, creates the new files at the top level of the current project",
|
|
56
|
+
"type": "boolean"
|
|
57
|
+
},
|
|
58
|
+
"lintFix": {
|
|
59
|
+
"default": false,
|
|
60
|
+
"description": "When true, applies lint fixes after generating the component",
|
|
61
|
+
"type": "boolean"
|
|
62
|
+
},
|
|
63
|
+
"module": {
|
|
64
|
+
"alias": "m",
|
|
65
|
+
"description": "The declaring NgModule",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
19
68
|
"name": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"description": "The name of the component",
|
|
22
69
|
"$default": {
|
|
23
70
|
"$source": "argv",
|
|
24
71
|
"index": 0
|
|
25
72
|
},
|
|
73
|
+
"description": "The name of the component",
|
|
74
|
+
"type": "string",
|
|
26
75
|
"x-prompt": "What name would you like to use for the component?"
|
|
27
76
|
},
|
|
28
|
-
"
|
|
77
|
+
"pagingMode": {
|
|
78
|
+
"default": "virtualScroll",
|
|
79
|
+
"description": "Paging mode to be used",
|
|
80
|
+
"enum": ["none", "pagination", "virtualScroll"],
|
|
29
81
|
"type": "string",
|
|
30
|
-
"
|
|
82
|
+
"x-prompt": {
|
|
83
|
+
"items": [
|
|
84
|
+
{ "label": "Pagination", "value": "pagination" },
|
|
85
|
+
{ "label": "Virtual Scroll", "value": "virtualScroll" },
|
|
86
|
+
{ "label": "None", "value": "none" }
|
|
87
|
+
],
|
|
88
|
+
"message": "What paging mode would you like the filtered result to use?",
|
|
89
|
+
"type": "list"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"path": {
|
|
93
|
+
"description": "The path at which to create the component file, relative to the current workspace. Default is a folder with the same name as the component in the project root.",
|
|
94
|
+
"format": "path",
|
|
95
|
+
"type": "string",
|
|
96
|
+
"visible": false
|
|
97
|
+
},
|
|
98
|
+
"prefix": {
|
|
31
99
|
"alias": "p",
|
|
100
|
+
"description": "The prefix to apply to the generated component selector",
|
|
32
101
|
"oneOf": [
|
|
33
102
|
{
|
|
34
103
|
"maxLength": 0
|
|
35
104
|
},
|
|
36
105
|
{
|
|
37
|
-
"
|
|
38
|
-
"
|
|
106
|
+
"format": "html-selector",
|
|
107
|
+
"minLength": 1
|
|
39
108
|
}
|
|
40
|
-
]
|
|
41
|
-
|
|
42
|
-
"flat": {
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"description": "When true, creates the new files at the top level of the current project",
|
|
45
|
-
"default": false
|
|
46
|
-
},
|
|
47
|
-
"skipImport": {
|
|
48
|
-
"type": "boolean",
|
|
49
|
-
"description": "When true, does not import this component into the owning NgModule",
|
|
50
|
-
"default": false
|
|
51
|
-
},
|
|
52
|
-
"selector": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"format": "html-selector",
|
|
55
|
-
"description": "The HTML selector to use for this component"
|
|
56
|
-
},
|
|
57
|
-
"module": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "The declaring NgModule",
|
|
60
|
-
"alias": "m"
|
|
61
|
-
},
|
|
62
|
-
"export": {
|
|
63
|
-
"type": "boolean",
|
|
64
|
-
"default": false,
|
|
65
|
-
"description": "When true, the declaring NgModule exports this component"
|
|
66
|
-
},
|
|
67
|
-
"lintFix": {
|
|
68
|
-
"type": "boolean",
|
|
69
|
-
"default": false,
|
|
70
|
-
"description": "When true, applies lint fixes after generating the component"
|
|
71
|
-
},
|
|
72
|
-
"chips": {
|
|
73
|
-
"type": "boolean",
|
|
74
|
-
"default": true,
|
|
75
|
-
"description": "When true, incorporates chips for filter groups"
|
|
109
|
+
],
|
|
110
|
+
"type": "string"
|
|
76
111
|
},
|
|
77
112
|
"presentationType": {
|
|
78
|
-
"description": "Presentation type to be used for the filter results",
|
|
79
|
-
"type": "string",
|
|
80
113
|
"default": "list",
|
|
114
|
+
"description": "Presentation type to be used for the filter results",
|
|
81
115
|
"enum": ["list", "table"],
|
|
82
|
-
"x-prompt": {
|
|
83
|
-
"message": "Which presentation type would you like to use for the filter results?",
|
|
84
|
-
"type": "list",
|
|
85
|
-
"items": [
|
|
86
|
-
{ "value": "list", "label": "List" },
|
|
87
|
-
{ "value": "table", "label": "Table" }
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"pagingMode": {
|
|
92
|
-
"description": "Paging mode to be used",
|
|
93
116
|
"type": "string",
|
|
94
|
-
"default": "virtualScroll",
|
|
95
|
-
"enum": ["none", "pagination", "virtualScroll"],
|
|
96
117
|
"x-prompt": {
|
|
97
|
-
"message": "What paging mode would you like the filtered result to use?",
|
|
98
|
-
"type": "list",
|
|
99
118
|
"items": [
|
|
100
|
-
{ "
|
|
101
|
-
{ "
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
"dataSource": {
|
|
107
|
-
"type": "string",
|
|
108
|
-
"default": "serverSide",
|
|
109
|
-
"enum": ["clientSide", "serverSide", "custom", "none"],
|
|
110
|
-
"x-prompt": {
|
|
111
|
-
"message": "What is the source of your data?",
|
|
112
|
-
"type": "list",
|
|
113
|
-
"items": [
|
|
114
|
-
{
|
|
115
|
-
"value": "clientSide",
|
|
116
|
-
"label": "The generated data source will retrieve data locally from a client side source."
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"value": "serverSide",
|
|
120
|
-
"label": "The generated data source will retrieve data remotely from a server side API."
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"value": "custom",
|
|
124
|
-
"label": "No data source will be generated, allowing you to create one from scratch."
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"value": "none",
|
|
128
|
-
"label": "No data source will be generated and no accommodations for a data source, e.g. sorting or search, will be added to the generated code."
|
|
129
|
-
}
|
|
130
|
-
]
|
|
119
|
+
{ "label": "List", "value": "list" },
|
|
120
|
+
{ "label": "Table", "value": "table" }
|
|
121
|
+
],
|
|
122
|
+
"message": "Which presentation type would you like to use for the filter results?",
|
|
123
|
+
"type": "list"
|
|
131
124
|
}
|
|
132
125
|
},
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"type": "boolean",
|
|
140
|
-
"description": "When true, enables the search functionality to the list",
|
|
141
|
-
"default": true
|
|
142
|
-
},
|
|
143
|
-
"virtualScrollStrategy": {
|
|
144
|
-
"type": "string",
|
|
145
|
-
"default": "standard",
|
|
146
|
-
"description": "Strategy used for the virtual scroll",
|
|
147
|
-
"enum": ["standard", "custom"]
|
|
126
|
+
"project": {
|
|
127
|
+
"$default": {
|
|
128
|
+
"$source": "projectName"
|
|
129
|
+
},
|
|
130
|
+
"description": "The name of the project",
|
|
131
|
+
"type": "string"
|
|
148
132
|
},
|
|
149
133
|
"selectionMode": {
|
|
150
|
-
"description": "Selection mode to be used for the list",
|
|
151
|
-
"type": "string",
|
|
152
134
|
"default": "none",
|
|
135
|
+
"description": "Selection mode to be used for the list",
|
|
153
136
|
"enum": [
|
|
154
137
|
"none",
|
|
155
138
|
"multi",
|
|
@@ -158,27 +141,44 @@
|
|
|
158
141
|
"radio",
|
|
159
142
|
"radioWithNonRequiredSelection"
|
|
160
143
|
],
|
|
144
|
+
"type": "string",
|
|
161
145
|
"x-prompt": {
|
|
162
|
-
"message": "What selection mode would you like to use?",
|
|
163
|
-
"type": "list",
|
|
164
146
|
"items": [
|
|
165
|
-
{ "
|
|
166
|
-
{ "
|
|
167
|
-
{ "
|
|
147
|
+
{ "label": "None (Selection Disabled)", "value": "none" },
|
|
148
|
+
{ "label": "Multi-Select (Checkboxes)", "value": "multi" },
|
|
149
|
+
{ "label": "Radio Buttons", "value": "radio" },
|
|
168
150
|
{
|
|
169
|
-
"
|
|
170
|
-
"
|
|
151
|
+
"label": "Radio Buttons with Deselection Allowed",
|
|
152
|
+
"value": "radioWithNonRequiredSelection"
|
|
171
153
|
},
|
|
172
154
|
{
|
|
173
|
-
"
|
|
174
|
-
"
|
|
155
|
+
"label": "Single-Select with No Radio Buttons",
|
|
156
|
+
"value": "singleWithRequiredSelection"
|
|
175
157
|
},
|
|
176
158
|
{
|
|
177
|
-
"
|
|
178
|
-
"
|
|
159
|
+
"label": "Single-Select with No Radio Buttons and Deselection Allowed",
|
|
160
|
+
"value": "single"
|
|
179
161
|
}
|
|
180
|
-
]
|
|
162
|
+
],
|
|
163
|
+
"message": "What selection mode would you like to use?",
|
|
164
|
+
"type": "list"
|
|
181
165
|
}
|
|
166
|
+
},
|
|
167
|
+
"selector": {
|
|
168
|
+
"description": "The HTML selector to use for this component",
|
|
169
|
+
"format": "html-selector",
|
|
170
|
+
"type": "string"
|
|
171
|
+
},
|
|
172
|
+
"skipImport": {
|
|
173
|
+
"default": false,
|
|
174
|
+
"description": "When true, does not import this component into the owning NgModule",
|
|
175
|
+
"type": "boolean"
|
|
176
|
+
},
|
|
177
|
+
"virtualScrollStrategy": {
|
|
178
|
+
"default": "standard",
|
|
179
|
+
"description": "Strategy used for the virtual scroll",
|
|
180
|
+
"enum": ["standard", "custom"],
|
|
181
|
+
"type": "string"
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
"required": ["name", "prefix", "presentationType"],
|