@skyux/pages 7.0.0 → 7.1.0
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/documentation.json +1 -1
- package/package.json +8 -8
package/documentation.json
CHANGED
|
@@ -2188,7 +2188,7 @@
|
|
|
2188
2188
|
{
|
|
2189
2189
|
"fileName": "settings-modal.component.ts",
|
|
2190
2190
|
"filePath": "/projects/pages/documentation/code-examples/action-hub/settings-modal.component.ts",
|
|
2191
|
-
"rawContents": "import { Component, Inject } from '@angular/core';\nimport {
|
|
2191
|
+
"rawContents": "import { Component, Inject } from '@angular/core';\nimport {\n AbstractControl,\n UntypedFormBuilder,\n UntypedFormGroup,\n} from '@angular/forms';\nimport { SkyModalInstance } from '@skyux/modals';\n\n@Component({\n selector: 'app-settings-modal',\n templateUrl: './settings-modal.component.html',\n})\nexport class SettingsModalComponent {\n public form: UntypedFormGroup;\n public fields: string[] = [];\n\n constructor(\n fb: UntypedFormBuilder,\n public modal: SkyModalInstance,\n @Inject('modalTitle') public title: string\n ) {\n const controls: Record<string, AbstractControl> = {};\n for (let i = 1; i <= 5; i++) {\n const field = `${this.title} ${i}`;\n this.fields.push(field);\n controls[field] = fb.control('');\n }\n this.form = fb.group(controls);\n this.modal.closed.subscribe((args) => {\n if (args.reason === 'save') {\n console.log(this.form.value);\n }\n });\n }\n}\n"
|
|
2192
2192
|
}
|
|
2193
2193
|
]
|
|
2194
2194
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/pages",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"@angular/common": "^14.2.11",
|
|
36
36
|
"@angular/core": "^14.2.11",
|
|
37
37
|
"@angular/router": "^14.2.11",
|
|
38
|
-
"@skyux/core": "7.
|
|
39
|
-
"@skyux/i18n": "7.
|
|
40
|
-
"@skyux/indicators": "7.
|
|
41
|
-
"@skyux/layout": "7.
|
|
42
|
-
"@skyux/modals": "7.
|
|
43
|
-
"@skyux/router": "7.
|
|
44
|
-
"@skyux/theme": "7.
|
|
38
|
+
"@skyux/core": "7.1.0",
|
|
39
|
+
"@skyux/i18n": "7.1.0",
|
|
40
|
+
"@skyux/indicators": "7.1.0",
|
|
41
|
+
"@skyux/layout": "7.1.0",
|
|
42
|
+
"@skyux/modals": "7.1.0",
|
|
43
|
+
"@skyux/router": "7.1.0",
|
|
44
|
+
"@skyux/theme": "7.1.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"tslib": "^2.3.1"
|