@annalib/anna-core 11.3.8 → 11.3.10
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/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +14 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +5 -4
- package/esm2020/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +1 -1
- package/esm2020/lib/anna-core.module.mjs +25 -5
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +360 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +306 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +542 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +3 -3
- package/esm2020/public-api.mjs +5 -1
- package/fesm2015/annalib-anna-core.mjs +1207 -13
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +1207 -13
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +3 -2
- package/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +3 -1
- package/lib/anna-core.module.d.ts +15 -11
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +70 -0
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.d.ts +68 -0
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +96 -0
- package/package.json +7 -7
- package/public-api.d.ts +4 -0
- package/src/lib/anna-common-scss/_customDropdown.scss +13 -1
- package/src/lib/anna-common-scss/_date-picker-form.scss +2 -2
- package/src/lib/anna-common-scss/_generic-table-common.scss +43 -18
- package/src/lib/anna-common-scss/_ng-select.scss +176 -0
- package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +0 -21
- package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +0 -28
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/***COMMON NG-SELECT STYLING FOR ALL SIZES **/
|
|
2
|
+
::ng-deep .ng-select {
|
|
3
|
+
& .ng-arrow,
|
|
4
|
+
& .ng-arrow:hover {
|
|
5
|
+
border-color: black transparent transparent !important;
|
|
6
|
+
opacity: 1 !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&.ng-select-opened .ng-arrow,
|
|
10
|
+
&.ng-select-opened .ng-arrow:hover {
|
|
11
|
+
border-color: transparent transparent black !important;
|
|
12
|
+
opacity: 1 !important;
|
|
13
|
+
padding-top: 2px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
& .ng-select-container {
|
|
17
|
+
border: 1px solid #b7b7b7 !important;
|
|
18
|
+
border-radius: 2px;
|
|
19
|
+
&:hover {
|
|
20
|
+
box-shadow: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.custom-error-ng-select .ng-select-container {
|
|
25
|
+
border: 1px solid #f86c6b;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.ng-select-disabled > .ng-select-container {
|
|
29
|
+
background-color: #bdbdbd;
|
|
30
|
+
opacity: 0.5;
|
|
31
|
+
cursor: not-allowed;
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
& .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
|
|
36
|
+
& .ng-option-label {
|
|
37
|
+
font-weight: normal !important;
|
|
38
|
+
}
|
|
39
|
+
&:hover {
|
|
40
|
+
background-color: #ebebeb;
|
|
41
|
+
color: #4a4a4a;
|
|
42
|
+
}
|
|
43
|
+
&:not(:hover){
|
|
44
|
+
background-color: #fff;
|
|
45
|
+
}
|
|
46
|
+
&.ng-option-selected {
|
|
47
|
+
background-color: #268bff;
|
|
48
|
+
color: #fff;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.ng-select-focused:not(.ng-select-opened) > .ng-select-container {
|
|
53
|
+
border-color: lightgray;
|
|
54
|
+
box-shadow: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/*****EXTRA SMALL NG STYLE******/
|
|
60
|
+
::ng-deep .ng-select.custom-xs-ng-select {
|
|
61
|
+
& .ng-select-container {
|
|
62
|
+
min-height: 22px !important;
|
|
63
|
+
font-size: 12px !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.ng-select-single .ng-select-container {
|
|
67
|
+
height: 22px !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
& .ng-dropdown-panel .scroll-host {
|
|
71
|
+
font-size: 12px !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
& .ng-arrow-wrapper {
|
|
75
|
+
padding-top: 2px !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.ng-select-opened,
|
|
79
|
+
&.ng-select-bottom,
|
|
80
|
+
&.ng-select-top {
|
|
81
|
+
& .ng-select-container {
|
|
82
|
+
padding-top: 6px !important;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
&.non-searchable {
|
|
86
|
+
&.ng-select-opened,
|
|
87
|
+
&.ng-select-bottom,
|
|
88
|
+
&.ng-select-top {
|
|
89
|
+
& .ng-select-container {
|
|
90
|
+
padding-top: 4px !important;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
& .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
|
|
95
|
+
padding: 3px 10px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**SMALL NG SELECT STYLE***/
|
|
100
|
+
::ng-deep .ng-select.custom-sm-ng-select {
|
|
101
|
+
& .ng-select-container {
|
|
102
|
+
min-height: 1.5625rem !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.ng-select-single .ng-select-container {
|
|
106
|
+
height: 1.5625rem !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.ng-select-opened,
|
|
110
|
+
&.ng-select-bottom,
|
|
111
|
+
&.ng-select-top {
|
|
112
|
+
& .ng-select-container {
|
|
113
|
+
padding-top: 8px !important;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
&.non-searchable {
|
|
117
|
+
&.ng-select-opened,
|
|
118
|
+
&.ng-select-bottom,
|
|
119
|
+
&.ng-select-top {
|
|
120
|
+
& .ng-select-container {
|
|
121
|
+
padding-top: 8px !important;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
& .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
|
|
126
|
+
padding: 4px 10px;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**MEDIUM NG SELECT STYLE***/
|
|
131
|
+
::ng-deep .ng-select.custom-md-ng-select {
|
|
132
|
+
& .ng-select-container {
|
|
133
|
+
min-height: 30px !important;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&.ng-select-single .ng-select-container {
|
|
137
|
+
height: 1.875rem !important;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**MEDIUM NG SELECT STYLE -2 !!! with 32px height !!!***/
|
|
142
|
+
::ng-deep .ng-select.custom-md-32-ng-select {
|
|
143
|
+
& .ng-select-container {
|
|
144
|
+
min-height: 32px !important;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&.ng-select-single .ng-select-container {
|
|
148
|
+
height: 32px !important;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**LARGE NG SELECT STYLE***/
|
|
153
|
+
::ng-deep .ng-select.custom-lg-ng-select {
|
|
154
|
+
& .ng-select-container {
|
|
155
|
+
min-height: 2.8125rem !important;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&.ng-select-single .ng-select-container {
|
|
159
|
+
height: 2.8125rem !important;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:host::ng-deep .custom-arrow.ng-select.ng-select-opened>.ng-select-container{
|
|
165
|
+
.ng-arrow{
|
|
166
|
+
border-width: 0 4px 4px;
|
|
167
|
+
position: relative;
|
|
168
|
+
bottom: 1px;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
:host::ng-deep .custom-arrow.ng-select .ng-arrow-wrapper .ng-arrow{
|
|
173
|
+
border-width: 4px 4px 2.5px;
|
|
174
|
+
position: relative;
|
|
175
|
+
bottom: 1px;
|
|
176
|
+
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@mixin anna-mat-radio() {
|
|
2
|
-
.mdc-radio__background {
|
|
3
|
-
width: var(--mat-radio-size);
|
|
4
|
-
height: var(--mat-radio-size);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.mdc-radio__inner-circle {
|
|
8
|
-
border-width: calc(var(--mat-radio-size)/2);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.mdc-form-field > label {
|
|
12
|
-
margin: 0 0 0 4px;
|
|
13
|
-
padding: 0;
|
|
14
|
-
top: -2px;
|
|
15
|
-
position: relative;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.mdc-radio--disabled + label {
|
|
19
|
-
color: var(--disabled-text-color) !important;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@mixin anna-mat-autocomplete(){
|
|
2
|
-
background-color: white;
|
|
3
|
-
padding: 0 !important;
|
|
4
|
-
box-shadow: 0 2px 4px -1px #0003, 0 4px 5px #00000024, 0 1px 10px #0000001f;
|
|
5
|
-
|
|
6
|
-
& .mat-mdc-option {
|
|
7
|
-
min-height: 30px;
|
|
8
|
-
height: 30px;
|
|
9
|
-
&:hover {
|
|
10
|
-
background-color: var(--dropdown-hover-color) !important;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
& .mdc-list-item__primary-text {
|
|
14
|
-
display: inline-block;
|
|
15
|
-
text-overflow: ellipsis;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
white-space: pre;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
& .mat-pseudo-checkbox {
|
|
21
|
-
display: none;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
& .mat-option {
|
|
26
|
-
background-color: var(--dropdown-hover-color) !important;
|
|
27
|
-
}
|
|
28
|
-
}
|