taiga-ui 2.43.0 → 2.46.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.
|
@@ -4,5 +4,5 @@ export interface ImportingModule {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const MAIN_MODULES: ReadonlyArray<ImportingModule>;
|
|
6
6
|
export declare const DIALOG_MODULES: ReadonlyArray<ImportingModule>;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ALERT_MODULES: ReadonlyArray<ImportingModule>;
|
|
8
8
|
export declare const SANITIZER_MODULES: ReadonlyArray<ImportingModule>;
|
package/ng-add/schema.d.ts
CHANGED
package/ng-add/schema.json
CHANGED
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"type": "confirmation"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
"
|
|
33
|
-
"description": "Setting up
|
|
32
|
+
"addAlertModule": {
|
|
33
|
+
"description": "Setting up alerts module",
|
|
34
34
|
"type": "boolean",
|
|
35
35
|
"default": true,
|
|
36
36
|
"x-prompt": {
|
|
37
|
-
"message": "Do you want to use Taiga UI
|
|
37
|
+
"message": "Do you want to use Taiga UI alerts?",
|
|
38
38
|
"type": "confirmation"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
@@ -23,7 +23,7 @@ function addTuiModules(mainModule, options, context) {
|
|
|
23
23
|
const modules = [
|
|
24
24
|
...modules_1.MAIN_MODULES,
|
|
25
25
|
...(options.addDialogsModule ? modules_1.DIALOG_MODULES : []),
|
|
26
|
-
...(options.
|
|
26
|
+
...(options.addAlertModule ? modules_1.ALERT_MODULES : []),
|
|
27
27
|
];
|
|
28
28
|
const mainModulePath = mainModule.getSourceFile().getFilePath();
|
|
29
29
|
modules.forEach(module => {
|