angular-multiselect3 10.0.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/LICENSE +20 -0
- package/README.md +306 -0
- package/esm2022/angular-multiselect.mjs +5 -0
- package/esm2022/lib/clickOutside.mjs +58 -0
- package/esm2022/lib/list-filter.mjs +59 -0
- package/esm2022/lib/menu-item.mjs +352 -0
- package/esm2022/lib/multiselect.component.mjs +1038 -0
- package/esm2022/lib/multiselect.interface.mjs +2 -0
- package/esm2022/lib/multiselect.model.mjs +9 -0
- package/esm2022/lib/multiselect.service.mjs +28 -0
- package/esm2022/lib/virtual-scroll/defaultoptions.mjs +2 -0
- package/esm2022/lib/virtual-scroll/idimension.mjs +2 -0
- package/esm2022/lib/virtual-scroll/ipageinfo.mjs +2 -0
- package/esm2022/lib/virtual-scroll/iviewport.mjs +2 -0
- package/esm2022/lib/virtual-scroll/virtual-scroll.mjs +1162 -0
- package/esm2022/lib/virtual-scroll/wrapgroupdimension.mjs +2 -0
- package/esm2022/lib/virtual-scroll/wrapgroupdimensions.mjs +2 -0
- package/esm2022/public_api.mjs +7 -0
- package/fesm2022/angular-multiselect.mjs +2689 -0
- package/fesm2022/angular-multiselect.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/clickOutside.d.ts +17 -0
- package/lib/list-filter.d.ts +12 -0
- package/lib/menu-item.d.ts +36 -0
- package/lib/multiselect.component.d.ts +134 -0
- package/lib/multiselect.interface.d.ts +34 -0
- package/lib/multiselect.model.d.ts +5 -0
- package/lib/multiselect.service.d.ts +11 -0
- package/lib/virtual-scroll/defaultoptions.d.ts +11 -0
- package/lib/virtual-scroll/idimension.d.ts +12 -0
- package/lib/virtual-scroll/ipageinfo.d.ts +9 -0
- package/lib/virtual-scroll/iviewport.d.ts +5 -0
- package/lib/virtual-scroll/virtual-scroll.d.ts +132 -0
- package/lib/virtual-scroll/wrapgroupdimension.d.ts +5 -0
- package/lib/virtual-scroll/wrapgroupdimensions.d.ts +7 -0
- package/package.json +37 -0
- package/public_api.d.ts +6 -0
- package/themes/dark.theme.scss +113 -0
- package/themes/default.theme.css +107 -0
- package/themes/default.theme.scss +155 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
|
|
2
|
+
$default-color: #ffffff;
|
|
3
|
+
$base-color: #0079FE;
|
|
4
|
+
$btn-background: #fff;
|
|
5
|
+
$btn-border: #ccc;
|
|
6
|
+
$btn-text-color: #333;
|
|
7
|
+
$btn-arrow: #333;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
$token-background: $base-color;
|
|
11
|
+
$token-text-color: #fff;
|
|
12
|
+
$token-remove-color: #fff;
|
|
13
|
+
|
|
14
|
+
$box-shadow-color: #959595;
|
|
15
|
+
$list-hover-background: #f5f5f5;
|
|
16
|
+
$label-color: #000;
|
|
17
|
+
$selected-background: #e9f4ff;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
.mat-toolbar {
|
|
22
|
+
background: $default-color;
|
|
23
|
+
}
|
|
24
|
+
.c-btn{
|
|
25
|
+
background: $btn-background;
|
|
26
|
+
border: 1px solid $btn-border;
|
|
27
|
+
color: $btn-text-color;
|
|
28
|
+
}
|
|
29
|
+
.selected-list{
|
|
30
|
+
.c-list{
|
|
31
|
+
.c-token{
|
|
32
|
+
background: $token-background;
|
|
33
|
+
.c-label{
|
|
34
|
+
color: $token-text-color;
|
|
35
|
+
}
|
|
36
|
+
.c-remove {
|
|
37
|
+
svg {
|
|
38
|
+
fill: $token-remove-color;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.c-angle-down, .c-angle-up{
|
|
45
|
+
svg {
|
|
46
|
+
fill: $btn-arrow;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
.dropdown-list{
|
|
51
|
+
ul{
|
|
52
|
+
li:hover{
|
|
53
|
+
background: $list-hover-background;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.arrow-up, .arrow-down {
|
|
58
|
+
border-bottom: 15px solid #fff;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.arrow-2{
|
|
62
|
+
border-bottom: 15px solid #ccc;
|
|
63
|
+
}
|
|
64
|
+
.list-area{
|
|
65
|
+
border: 1px solid #ccc;
|
|
66
|
+
background: #fff;
|
|
67
|
+
box-shadow: 0px 1px 5px $box-shadow-color;
|
|
68
|
+
}
|
|
69
|
+
.select-all{
|
|
70
|
+
border-bottom: 1px solid #ccc;
|
|
71
|
+
}
|
|
72
|
+
.list-filter{
|
|
73
|
+
border-bottom: 1px solid #ccc;
|
|
74
|
+
.c-search{
|
|
75
|
+
svg {
|
|
76
|
+
fill: #888;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.c-clear {
|
|
80
|
+
svg {
|
|
81
|
+
fill: #888;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.pure-checkbox {
|
|
87
|
+
input[type="checkbox"]:focus + label:before, input[type="checkbox"]:hover + label:before{
|
|
88
|
+
border-color: $base-color;
|
|
89
|
+
background-color: #f2f2f2;
|
|
90
|
+
}
|
|
91
|
+
input[type="checkbox"] + label{
|
|
92
|
+
color: $label-color;
|
|
93
|
+
}
|
|
94
|
+
input[type="checkbox"] + label:before{
|
|
95
|
+
color: $base-color;
|
|
96
|
+
border: 1px solid $base-color;
|
|
97
|
+
}
|
|
98
|
+
input[type="checkbox"] + label:after{
|
|
99
|
+
background-color: $base-color;
|
|
100
|
+
}
|
|
101
|
+
input[type="checkbox"]:disabled + label:before{
|
|
102
|
+
border-color: #cccccc;
|
|
103
|
+
}
|
|
104
|
+
input[type="checkbox"]:disabled:checked + label:before{
|
|
105
|
+
background-color: #cccccc;
|
|
106
|
+
}
|
|
107
|
+
input[type="checkbox"] + label:after{
|
|
108
|
+
border-color: #ffffff;
|
|
109
|
+
}
|
|
110
|
+
input[type="radio"]:checked + label:before{
|
|
111
|
+
background-color: white;
|
|
112
|
+
}
|
|
113
|
+
input[type="checkbox"]:checked + label:before{
|
|
114
|
+
background: $base-color;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
.single-select-mode .pure-checkbox {
|
|
118
|
+
input[type="checkbox"]:focus + label:before, input[type="checkbox"]:hover + label:before{
|
|
119
|
+
border-color: $base-color;
|
|
120
|
+
background-color: #f2f2f2;
|
|
121
|
+
}
|
|
122
|
+
input[type="checkbox"] + label{
|
|
123
|
+
color: $label-color;
|
|
124
|
+
}
|
|
125
|
+
input[type="checkbox"] + label:before{
|
|
126
|
+
color: transparent !important;
|
|
127
|
+
border: 0px solid $base-color;
|
|
128
|
+
}
|
|
129
|
+
input[type="checkbox"] + label:after{
|
|
130
|
+
background-color: transparent !important;
|
|
131
|
+
}
|
|
132
|
+
input[type="checkbox"]:disabled + label:before{
|
|
133
|
+
border-color: #cccccc;
|
|
134
|
+
}
|
|
135
|
+
input[type="checkbox"]:disabled:checked + label:before{
|
|
136
|
+
background-color: #cccccc;
|
|
137
|
+
}
|
|
138
|
+
input[type="checkbox"] + label:after{
|
|
139
|
+
border-color: $base-color;
|
|
140
|
+
}
|
|
141
|
+
input[type="radio"]:checked + label:before{
|
|
142
|
+
background-color: white;
|
|
143
|
+
}
|
|
144
|
+
input[type="checkbox"]:checked + label:before{
|
|
145
|
+
background: none !important;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
.selected-item{
|
|
149
|
+
background: $selected-background;
|
|
150
|
+
}
|
|
151
|
+
.btn-iceblue {
|
|
152
|
+
background: $base-color;
|
|
153
|
+
border: 1px solid $btn-border;
|
|
154
|
+
color: #fff;
|
|
155
|
+
}
|