@coolon/angular-ui-powerups 13.0.3 → 13.0.4
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/esm2020/lib/components/forms/abstract-list-input.component.mjs +8 -8
- package/esm2020/lib/components/forms/abstract-value-input.component.mjs +2 -2
- package/fesm2015/coolon-angular-ui-powerups.mjs +4 -4
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +4 -4
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/forms/abstract-list-input.component.d.ts +4 -4
- package/lib/components/forms/abstract-value-input.component.d.ts +2 -2
- package/package.json +1 -1
- package/schematics/bootstrap-app/templates/src/app/app.component.ts.template +1 -2
- package/schematics/bootstrap-app/templates/src/styles.scss.template +59 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { Form, MutableListModel } from
|
|
3
|
-
import { AbstractInputComponent } from
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { ConvertedFormListModel, Form, MutableListModel } from "@coolon/pectin";
|
|
3
|
+
import { AbstractInputComponent } from "./abstract-input.component";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AbstractListInputComponent<T> extends AbstractInputComponent<T[]> implements OnInit {
|
|
6
|
-
listModel: Form.ListModelBase<T> | MutableListModel<T>;
|
|
6
|
+
listModel: Form.ListModelBase<T> | ConvertedFormListModel<T, any> | MutableListModel<T>;
|
|
7
7
|
/**
|
|
8
8
|
* A backing model for all our @Input() valueModel properties which should be defined as follows.
|
|
9
9
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { Form, Guard, MutableValueModel } from
|
|
2
|
+
import { ConvertedFormValueModel, Form, Guard, MutableValueModel } from "@coolon/pectin";
|
|
3
3
|
import { AbstractInputComponent } from './abstract-input.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AbstractValueInputComponent<T> extends AbstractInputComponent<T> implements OnInit {
|
|
6
|
-
valueModel: Form.ValueModelBase<T> | MutableValueModel<T>;
|
|
6
|
+
valueModel: Form.ValueModelBase<T> | ConvertedFormValueModel<T, any> | MutableValueModel<T>;
|
|
7
7
|
/**
|
|
8
8
|
* A backing model for all our @Input() valueModel properties which should be defined as follows.
|
|
9
9
|
*
|
package/package.json
CHANGED
|
@@ -1,13 +1,66 @@
|
|
|
1
|
-
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use '@angular/material/theming';
|
|
2
4
|
|
|
3
|
-
@use
|
|
4
|
-
@use "@coolon/angular-ui-powerups/assets/styles" as aup;
|
|
5
|
+
@use "node_modules/@coolon/angular-ui-powerups/assets/styles" as aup;
|
|
5
6
|
@use "./styles/global-variables";
|
|
6
7
|
|
|
7
|
-
$
|
|
8
|
-
|
|
8
|
+
$success-palette: (
|
|
9
|
+
50 : #e4feea,
|
|
10
|
+
100 : #bbfdcc,
|
|
11
|
+
200 : #8efbaa,
|
|
12
|
+
300 : #61f987,
|
|
13
|
+
400 : #3ff86e,
|
|
14
|
+
500 : #1df754,
|
|
15
|
+
600 : #1af64d,
|
|
16
|
+
700 : #15f543,
|
|
17
|
+
800 : #11f33a,
|
|
18
|
+
900 : #0af129,
|
|
19
|
+
A100 : #ffffff,
|
|
20
|
+
A200 : #e7ffea,
|
|
21
|
+
A400 : #b4ffbc,
|
|
22
|
+
A700 : #9bffa5,
|
|
23
|
+
contrast: (
|
|
24
|
+
50 : #000000,
|
|
25
|
+
100 : #000000,
|
|
26
|
+
200 : #000000,
|
|
27
|
+
300 : #000000,
|
|
28
|
+
400 : #000000,
|
|
29
|
+
500 : #000000,
|
|
30
|
+
600 : #000000,
|
|
31
|
+
700 : #000000,
|
|
32
|
+
800 : #000000,
|
|
33
|
+
900 : #000000,
|
|
34
|
+
A100 : #000000,
|
|
35
|
+
A200 : #000000,
|
|
36
|
+
A400 : #000000,
|
|
37
|
+
A700 : #000000,
|
|
38
|
+
)
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
$typography: mat.define-typography-config();
|
|
42
|
+
|
|
43
|
+
$primary: mat.define-palette(mat.$indigo-palette);
|
|
44
|
+
$accent: mat.define-palette(mat.$yellow-palette);
|
|
45
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
46
|
+
$success: mat.define-palette($success-palette);
|
|
47
|
+
|
|
48
|
+
$theme: mat.define-light-theme((
|
|
49
|
+
color: (
|
|
50
|
+
primary: $primary,
|
|
51
|
+
accent: $accent,
|
|
52
|
+
warn: $warn,
|
|
53
|
+
)
|
|
54
|
+
));
|
|
55
|
+
|
|
56
|
+
$background: map.get($theme, background);
|
|
57
|
+
$foreground: map.get($theme, foreground);
|
|
58
|
+
|
|
59
|
+
@include mat.core($typography);
|
|
60
|
+
@include mat.all-component-themes($theme);
|
|
61
|
+
|
|
62
|
+
@include aup.apply-light-theme($theme, $typography);
|
|
9
63
|
|
|
10
|
-
@include aup.apply-light-theme($primary, $accent);
|
|
11
64
|
|
|
12
65
|
@import "./assets/fonts/material-design-icons/material-icons.css";
|
|
13
66
|
|
|
@@ -30,4 +83,3 @@ body {
|
|
|
30
83
|
body > *:first-child {
|
|
31
84
|
flex: 1;
|
|
32
85
|
}
|
|
33
|
-
|