ng-jvx-multiselect 19.0.37 → 19.0.38
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 +359 -359
- package/_index.scss +1 -1
- package/fesm2022/ng-jvx-multiselect.mjs +9 -9
- package/fesm2022/ng-jvx-multiselect.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/chiplist/chip/chip.component.scss +32 -32
- package/src/lib/mixins.scss +6 -6
- package/src/lib/ng-jvx-multiselect.component.scss +172 -172
- package/src/lib/ng-jvx-option/ng-jvx-option.component.scss +32 -32
- package/src/lib/panel/panel.component.scss +11 -11
|
@@ -1,172 +1,172 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
$primary: var(--jvx-multiselect-primary);
|
|
4
|
-
$accent: var(--jvx-multiselect-accent);
|
|
5
|
-
$warn: var(--jvx-multiselect-warn);
|
|
6
|
-
ng-jvx-multiselect {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
width: 100%;
|
|
10
|
-
|
|
11
|
-
.ng-jvx-multiselect {
|
|
12
|
-
width: 100%;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
|
|
16
|
-
.ng-jvx-multiselect-value-container {
|
|
17
|
-
width: 100%;
|
|
18
|
-
display: flex;
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
position: relative;
|
|
21
|
-
justify-content: space-between;
|
|
22
|
-
align-items: center;
|
|
23
|
-
|
|
24
|
-
.ng-jvx-multiselect__placeholder {
|
|
25
|
-
height: 100%;
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
position: absolute;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ng-jvx-multiselect-value {
|
|
32
|
-
flex: 1 1 100%;
|
|
33
|
-
max-width: calc(100% - 28px);
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
.ng-jvx-multiselect__remove-button {
|
|
40
|
-
display: flex;
|
|
41
|
-
height: 100%;
|
|
42
|
-
align-items: center;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.ng-jvx-multiselect-arrow {
|
|
46
|
-
width: 24px;
|
|
47
|
-
padding-right: 4px;
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
height: 24px;
|
|
51
|
-
|
|
52
|
-
svg {
|
|
53
|
-
transition: transform 0.3s ease-in-out;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@keyframes lds-ring {
|
|
57
|
-
0% {
|
|
58
|
-
transform: rotate(0deg);
|
|
59
|
-
}
|
|
60
|
-
100% {
|
|
61
|
-
transform: rotate(360deg);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.lds-ring {
|
|
66
|
-
display: inline-block;
|
|
67
|
-
position: relative;
|
|
68
|
-
width: 24px;
|
|
69
|
-
height: 24px;
|
|
70
|
-
|
|
71
|
-
div {
|
|
72
|
-
box-sizing: border-box;
|
|
73
|
-
display: block;
|
|
74
|
-
position: absolute;
|
|
75
|
-
width: 6px;
|
|
76
|
-
height: 16px;
|
|
77
|
-
margin: 4px;
|
|
78
|
-
border: 2px solid;
|
|
79
|
-
border-radius: 50%;
|
|
80
|
-
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
81
|
-
border-color: #{$accent} transparent transparent transparent;
|
|
82
|
-
|
|
83
|
-
&:nth-child(1) {
|
|
84
|
-
animation-delay: -0.45s;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&:nth-child(2) {
|
|
88
|
-
animation-delay: -0.3s;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&:nth-child(3) {
|
|
92
|
-
animation-delay: -0.15s;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.is-open {
|
|
99
|
-
.ng-jvx-multiselect-arrow {
|
|
100
|
-
svg {
|
|
101
|
-
transform: rotate(180deg);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&.disabled {
|
|
109
|
-
pointer-events: none;
|
|
110
|
-
|
|
111
|
-
.ng-jvx-multiselect-arrow {
|
|
112
|
-
svg {
|
|
113
|
-
opacity: 0.3;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&.has-errors {
|
|
119
|
-
color: red;
|
|
120
|
-
|
|
121
|
-
.ng-jvx-multiselect-value {
|
|
122
|
-
&.single-value-container {
|
|
123
|
-
color: red;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&.multi-value-container {
|
|
127
|
-
width: 100%;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.ng-jvx-multiselect-arrow {
|
|
132
|
-
svg {
|
|
133
|
-
color: red;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.menu-list-container {
|
|
141
|
-
flex: 1 1 0;
|
|
142
|
-
max-height: 300px;
|
|
143
|
-
display: flex;
|
|
144
|
-
flex-direction: column;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.menu-footer {
|
|
148
|
-
//max-height: 30px;
|
|
149
|
-
overflow: hidden;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.cdk-overlay-pane {
|
|
153
|
-
.closeMenuButton {
|
|
154
|
-
height: 22px;
|
|
155
|
-
width: 22px;
|
|
156
|
-
background-color: #{$primary};
|
|
157
|
-
position: absolute;
|
|
158
|
-
top: -11px;
|
|
159
|
-
right: 11px;
|
|
160
|
-
border-radius: 100%;
|
|
161
|
-
cursor: pointer;
|
|
162
|
-
color: #fff;
|
|
163
|
-
z-index: 10;
|
|
164
|
-
|
|
165
|
-
svg {
|
|
166
|
-
fill: var(--jvx-multiselect-on-primary);
|
|
167
|
-
font-size: 15px;
|
|
168
|
-
height: 100%;
|
|
169
|
-
width: 100%;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
$primary: var(--jvx-multiselect-primary);
|
|
4
|
+
$accent: var(--jvx-multiselect-accent);
|
|
5
|
+
$warn: var(--jvx-multiselect-warn);
|
|
6
|
+
ng-jvx-multiselect {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
.ng-jvx-multiselect {
|
|
12
|
+
width: 100%;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
|
|
16
|
+
.ng-jvx-multiselect-value-container {
|
|
17
|
+
width: 100%;
|
|
18
|
+
display: flex;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
position: relative;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
.ng-jvx-multiselect__placeholder {
|
|
25
|
+
height: 100%;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
position: absolute;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ng-jvx-multiselect-value {
|
|
32
|
+
flex: 1 1 100%;
|
|
33
|
+
max-width: calc(100% - 28px);
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
.ng-jvx-multiselect__remove-button {
|
|
40
|
+
display: flex;
|
|
41
|
+
height: 100%;
|
|
42
|
+
align-items: center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ng-jvx-multiselect-arrow {
|
|
46
|
+
width: 24px;
|
|
47
|
+
padding-right: 4px;
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
height: 24px;
|
|
51
|
+
|
|
52
|
+
svg {
|
|
53
|
+
transition: transform 0.3s ease-in-out;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@keyframes lds-ring {
|
|
57
|
+
0% {
|
|
58
|
+
transform: rotate(0deg);
|
|
59
|
+
}
|
|
60
|
+
100% {
|
|
61
|
+
transform: rotate(360deg);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.lds-ring {
|
|
66
|
+
display: inline-block;
|
|
67
|
+
position: relative;
|
|
68
|
+
width: 24px;
|
|
69
|
+
height: 24px;
|
|
70
|
+
|
|
71
|
+
div {
|
|
72
|
+
box-sizing: border-box;
|
|
73
|
+
display: block;
|
|
74
|
+
position: absolute;
|
|
75
|
+
width: 6px;
|
|
76
|
+
height: 16px;
|
|
77
|
+
margin: 4px;
|
|
78
|
+
border: 2px solid;
|
|
79
|
+
border-radius: 50%;
|
|
80
|
+
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
81
|
+
border-color: #{$accent} transparent transparent transparent;
|
|
82
|
+
|
|
83
|
+
&:nth-child(1) {
|
|
84
|
+
animation-delay: -0.45s;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:nth-child(2) {
|
|
88
|
+
animation-delay: -0.3s;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&:nth-child(3) {
|
|
92
|
+
animation-delay: -0.15s;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.is-open {
|
|
99
|
+
.ng-jvx-multiselect-arrow {
|
|
100
|
+
svg {
|
|
101
|
+
transform: rotate(180deg);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&.disabled {
|
|
109
|
+
pointer-events: none;
|
|
110
|
+
|
|
111
|
+
.ng-jvx-multiselect-arrow {
|
|
112
|
+
svg {
|
|
113
|
+
opacity: 0.3;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&.has-errors {
|
|
119
|
+
color: red;
|
|
120
|
+
|
|
121
|
+
.ng-jvx-multiselect-value {
|
|
122
|
+
&.single-value-container {
|
|
123
|
+
color: red;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.multi-value-container {
|
|
127
|
+
width: 100%;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.ng-jvx-multiselect-arrow {
|
|
132
|
+
svg {
|
|
133
|
+
color: red;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.menu-list-container {
|
|
141
|
+
flex: 1 1 0;
|
|
142
|
+
max-height: 300px;
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-direction: column;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.menu-footer {
|
|
148
|
+
//max-height: 30px;
|
|
149
|
+
overflow: hidden;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.cdk-overlay-pane {
|
|
153
|
+
.closeMenuButton {
|
|
154
|
+
height: 22px;
|
|
155
|
+
width: 22px;
|
|
156
|
+
background-color: #{$primary};
|
|
157
|
+
position: absolute;
|
|
158
|
+
top: -11px;
|
|
159
|
+
right: 11px;
|
|
160
|
+
border-radius: 100%;
|
|
161
|
+
cursor: pointer;
|
|
162
|
+
color: #fff;
|
|
163
|
+
z-index: 10;
|
|
164
|
+
|
|
165
|
+
svg {
|
|
166
|
+
fill: var(--jvx-multiselect-on-primary);
|
|
167
|
+
font-size: 15px;
|
|
168
|
+
height: 100%;
|
|
169
|
+
width: 100%;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
$primary: var(--jvx-multiselect-primary);
|
|
4
|
-
$accent: var(--jvx-multiselect-accent);
|
|
5
|
-
$warn: var(--jvx-multiselect-warn);
|
|
6
|
-
ng-jvx-option {
|
|
7
|
-
.option-content{
|
|
8
|
-
min-height: 48px;
|
|
9
|
-
}
|
|
10
|
-
.ng-jvx-option {
|
|
11
|
-
padding: 0;
|
|
12
|
-
height: auto;
|
|
13
|
-
min-height: 48px;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
position: relative;
|
|
16
|
-
|
|
17
|
-
&.ng-jvx-single-selected-option {
|
|
18
|
-
|
|
19
|
-
.list-option-background {
|
|
20
|
-
position: absolute;
|
|
21
|
-
left: 0;
|
|
22
|
-
top: 0;
|
|
23
|
-
z-index: -1;
|
|
24
|
-
opacity: 0.45;
|
|
25
|
-
height: 100%;
|
|
26
|
-
width: 100%;
|
|
27
|
-
background-color: #{$primary};
|
|
28
|
-
background-opacity: .3;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
$primary: var(--jvx-multiselect-primary);
|
|
4
|
+
$accent: var(--jvx-multiselect-accent);
|
|
5
|
+
$warn: var(--jvx-multiselect-warn);
|
|
6
|
+
ng-jvx-option {
|
|
7
|
+
.option-content{
|
|
8
|
+
min-height: 48px;
|
|
9
|
+
}
|
|
10
|
+
.ng-jvx-option {
|
|
11
|
+
padding: 0;
|
|
12
|
+
height: auto;
|
|
13
|
+
min-height: 48px;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
position: relative;
|
|
16
|
+
|
|
17
|
+
&.ng-jvx-single-selected-option {
|
|
18
|
+
|
|
19
|
+
.list-option-background {
|
|
20
|
+
position: absolute;
|
|
21
|
+
left: 0;
|
|
22
|
+
top: 0;
|
|
23
|
+
z-index: -1;
|
|
24
|
+
opacity: 0.45;
|
|
25
|
+
height: 100%;
|
|
26
|
+
width: 100%;
|
|
27
|
+
background-color: #{$primary};
|
|
28
|
+
background-opacity: .3;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@use '@angular/cdk/overlay-prebuilt';
|
|
2
|
-
|
|
3
|
-
.ng-jvx-panel{
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);
|
|
7
|
-
background: var(--jvx-multiselect-panel-bg);
|
|
8
|
-
}
|
|
9
|
-
.ng-jvx-panel-overlay{
|
|
10
|
-
background-opacity: 0;
|
|
11
|
-
}
|
|
1
|
+
@use '@angular/cdk/overlay-prebuilt';
|
|
2
|
+
|
|
3
|
+
.ng-jvx-panel{
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);
|
|
7
|
+
background: var(--jvx-multiselect-panel-bg);
|
|
8
|
+
}
|
|
9
|
+
.ng-jvx-panel-overlay{
|
|
10
|
+
background-opacity: 0;
|
|
11
|
+
}
|