@digital-realty/ix-grid 1.0.6
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 +21 -0
- package/README.md +62 -0
- package/demo/columns.js +65 -0
- package/demo/contacts.js +292 -0
- package/demo/index.html +92 -0
- package/dist/IxGrid.d.ts +46 -0
- package/dist/IxGrid.js +227 -0
- package/dist/IxGrid.js.map +1 -0
- package/dist/components/IxGridColumnFilter.d.ts +20 -0
- package/dist/components/IxGridColumnFilter.js +133 -0
- package/dist/components/IxGridColumnFilter.js.map +1 -0
- package/dist/components/IxGridRowFilter.d.ts +37 -0
- package/dist/components/IxGridRowFilter.js +317 -0
- package/dist/components/IxGridRowFilter.js.map +1 -0
- package/dist/components/IxPagination.d.ts +13 -0
- package/dist/components/IxPagination.js +93 -0
- package/dist/components/IxPagination.js.map +1 -0
- package/dist/components/grid-column-filter-styles.d.ts +1 -0
- package/dist/components/grid-column-filter-styles.js +71 -0
- package/dist/components/grid-column-filter-styles.js.map +1 -0
- package/dist/components/grid-row-filter-styles.d.ts +1 -0
- package/dist/components/grid-row-filter-styles.js +414 -0
- package/dist/components/grid-row-filter-styles.js.map +1 -0
- package/dist/components/pagination-styles.d.ts +1 -0
- package/dist/components/pagination-styles.js +33 -0
- package/dist/components/pagination-styles.js.map +1 -0
- package/dist/grid-view-styles.d.ts +1 -0
- package/dist/grid-view-styles.js +265 -0
- package/dist/grid-view-styles.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/ix-grid-copy.d.ts +10 -0
- package/dist/ix-grid-copy.js +11 -0
- package/dist/ix-grid-copy.js.map +1 -0
- package/dist/ix-grid.d.ts +1 -0
- package/dist/ix-grid.js +3 -0
- package/dist/ix-grid.js.map +1 -0
- package/dist/test/ix-grid-column-filter.test.d.ts +1 -0
- package/dist/test/ix-grid-column-filter.test.js +36 -0
- package/dist/test/ix-grid-column-filter.test.js.map +1 -0
- package/dist/test/ix-grid-row-filter.test.d.ts +1 -0
- package/dist/test/ix-grid-row-filter.test.js +37 -0
- package/dist/test/ix-grid-row-filter.test.js.map +1 -0
- package/dist/test/ix-grid.test.d.ts +1 -0
- package/dist/test/ix-grid.test.js +43 -0
- package/dist/test/ix-grid.test.js.map +1 -0
- package/dist/test/ix-pagination.test.d.ts +1 -0
- package/dist/test/ix-pagination.test.js +28 -0
- package/dist/test/ix-pagination.test.js.map +1 -0
- package/package.json +95 -0
- package/src/IxGrid.ts +229 -0
- package/src/components/IxGridColumnFilter.ts +144 -0
- package/src/components/IxGridRowFilter.ts +352 -0
- package/src/components/IxPagination.ts +85 -0
- package/src/components/grid-column-filter-styles.ts +71 -0
- package/src/components/grid-row-filter-styles.ts +414 -0
- package/src/components/pagination-styles.ts +33 -0
- package/src/grid-view-styles.ts +265 -0
- package/src/index.ts +1 -0
- package/src/ix-grid-copy.ts +10 -0
- package/src/ix-grid.ts +3 -0
- package/src/test/ix-grid-column-filter.test.ts +47 -0
- package/src/test/ix-grid-row-filter.test.ts +48 -0
- package/src/test/ix-grid.test.ts +50 -0
- package/src/test/ix-pagination.test.ts +33 -0
- package/tsconfig.json +22 -0
- package/web-dev-server.config.mjs +27 -0
- package/web-test-runner.config.mjs +43 -0
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const IxGridRowFilterStyles = css `
|
|
3
|
+
.filter {
|
|
4
|
+
margin-left: -15px;
|
|
5
|
+
align-items: center;
|
|
6
|
+
font-size: 17px;
|
|
7
|
+
width: 75px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.grid-menu {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.grid-menu button {
|
|
16
|
+
gap: 0.5rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
ix-icon-button {
|
|
20
|
+
--md-icon-button-icon-color: rgb(20, 86, 224);
|
|
21
|
+
--md-icon-button-icon-size: 28px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.grid-menu button .filter {
|
|
25
|
+
font-family: 'Red Hat Display', sans-serif;
|
|
26
|
+
font-weight: 700;
|
|
27
|
+
font-style: normal;
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
line-height: 18.52px;
|
|
30
|
+
letter-spacing: 1.25px;
|
|
31
|
+
margin-top: 2px;
|
|
32
|
+
}
|
|
33
|
+
.filter-form {
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
padding: 9px;
|
|
36
|
+
font-family: 'Open Sans', sans-serif;
|
|
37
|
+
color: #5d6d82;
|
|
38
|
+
}
|
|
39
|
+
.filter-form-column {
|
|
40
|
+
display: inline-block;
|
|
41
|
+
vertical-align: middle;
|
|
42
|
+
}
|
|
43
|
+
.filter-remove span {
|
|
44
|
+
margin-right: 0px;
|
|
45
|
+
color: #5d6d82;
|
|
46
|
+
}
|
|
47
|
+
.filter-dropdown-content {
|
|
48
|
+
position: absolute;
|
|
49
|
+
display: inline;
|
|
50
|
+
right: 0;
|
|
51
|
+
top: 78%;
|
|
52
|
+
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
|
53
|
+
z-index: 3;
|
|
54
|
+
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
55
|
+
border-radius: 12px;
|
|
56
|
+
box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px,
|
|
57
|
+
rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;
|
|
58
|
+
background-color: #ffffff;
|
|
59
|
+
}
|
|
60
|
+
.filter-form input,
|
|
61
|
+
.filter-form select,
|
|
62
|
+
.filter-form option {
|
|
63
|
+
border-radius: 0px;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
letter-spacing: 1.44px;
|
|
66
|
+
line-height: 1.4375em;
|
|
67
|
+
box-sizing: content-box;
|
|
68
|
+
background: none;
|
|
69
|
+
height: 1.4375em;
|
|
70
|
+
margin: 0px;
|
|
71
|
+
animation-name: mui-auto-fill-cancel;
|
|
72
|
+
animation-duration: 10ms;
|
|
73
|
+
border: none;
|
|
74
|
+
border-image: initial;
|
|
75
|
+
font-size: 16px;
|
|
76
|
+
box-sizing: border-box;
|
|
77
|
+
cursor: text;
|
|
78
|
+
user-select: none;
|
|
79
|
+
color: currentcolor;
|
|
80
|
+
-webkit-tap-highlight-color: transparent;
|
|
81
|
+
display: block;
|
|
82
|
+
min-width: 0px;
|
|
83
|
+
width: 100%;
|
|
84
|
+
font-family: 'Open Sans', sans-serif;
|
|
85
|
+
height: 25px;
|
|
86
|
+
border-bottom: 1px solid black;
|
|
87
|
+
}
|
|
88
|
+
.filter-form option {
|
|
89
|
+
-webkit-tap-highlight-color: #9ca6b2;
|
|
90
|
+
}
|
|
91
|
+
.filter-form input:hover,
|
|
92
|
+
.filter-form select:hover {
|
|
93
|
+
outline: none !important;
|
|
94
|
+
border-bottom: 2px solid black;
|
|
95
|
+
}
|
|
96
|
+
.filter-form input:focus,
|
|
97
|
+
.filter-form select:focus {
|
|
98
|
+
outline: none !important;
|
|
99
|
+
border-bottom: 2px solid #1456e0;
|
|
100
|
+
}
|
|
101
|
+
.filter-form select:focus {
|
|
102
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
103
|
+
}
|
|
104
|
+
.form-group {
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-direction: column;
|
|
107
|
+
align-items: baseline;
|
|
108
|
+
height: 54px;
|
|
109
|
+
justify-content: flex-end;
|
|
110
|
+
font-family: 'Open Sans', sans-serif;
|
|
111
|
+
}
|
|
112
|
+
.form-group label {
|
|
113
|
+
font-family: 'Open Sans', sans-serif;
|
|
114
|
+
font-style: normal;
|
|
115
|
+
font-weight: 400;
|
|
116
|
+
font-size: 16px;
|
|
117
|
+
line-height: 1.4375em;
|
|
118
|
+
letter-spacing: 0.44px;
|
|
119
|
+
padding: 0px;
|
|
120
|
+
color: #092241;
|
|
121
|
+
display: block;
|
|
122
|
+
transform-origin: left top;
|
|
123
|
+
white-space: nowrap;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
text-overflow: ellipsis;
|
|
126
|
+
max-width: 133%;
|
|
127
|
+
transform: translate(0px, -1.5px) scale(0.75);
|
|
128
|
+
transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
|
|
129
|
+
transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
|
|
130
|
+
max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
|
|
131
|
+
}
|
|
132
|
+
.filter-form-group label span {
|
|
133
|
+
font-family: 'Open Sans', sans-serif;
|
|
134
|
+
font-style: normal;
|
|
135
|
+
font-weight: 400;
|
|
136
|
+
font-size: 16px;
|
|
137
|
+
line-height: 1.4375em;
|
|
138
|
+
letter-spacing: 0.44px;
|
|
139
|
+
padding: 0px;
|
|
140
|
+
color: #092241;
|
|
141
|
+
display: block;
|
|
142
|
+
transform-origin: left top;
|
|
143
|
+
white-space: nowrap;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
text-overflow: ellipsis;
|
|
146
|
+
max-width: 133%;
|
|
147
|
+
transform: translate(0px, -1.5px) scale(0.75);
|
|
148
|
+
transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
|
|
149
|
+
transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
|
|
150
|
+
max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
|
|
151
|
+
}
|
|
152
|
+
.filter-form-group label:focus-within span {
|
|
153
|
+
color: #1456e0;
|
|
154
|
+
}
|
|
155
|
+
.filter-form-group {
|
|
156
|
+
display: flex;
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
align-items: baseline;
|
|
159
|
+
height: 54px;
|
|
160
|
+
justify-content: flex-end;
|
|
161
|
+
font-family: 'Open Sans', sans-serif;
|
|
162
|
+
}
|
|
163
|
+
option {
|
|
164
|
+
font-weight: normal;
|
|
165
|
+
display: block;
|
|
166
|
+
min-height: 1.2em;
|
|
167
|
+
padding: 0px 2px 1px;
|
|
168
|
+
white-space: nowrap;
|
|
169
|
+
}
|
|
170
|
+
.add-filter-button .add {
|
|
171
|
+
margin-right: 0px;
|
|
172
|
+
margin-left: -6px;
|
|
173
|
+
}
|
|
174
|
+
.filter-footer {
|
|
175
|
+
margin-top: auto;
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: left;
|
|
178
|
+
padding: 0px;
|
|
179
|
+
font-family: 'Red Hat Display', sans-serif;
|
|
180
|
+
font-weight: 700;
|
|
181
|
+
font-style: normal;
|
|
182
|
+
font-size: 14px;
|
|
183
|
+
line-height: 18.52px;
|
|
184
|
+
letter-spacing: 1.25px;
|
|
185
|
+
text-transform: uppercase;
|
|
186
|
+
width: 100%;
|
|
187
|
+
}
|
|
188
|
+
.filter-footer button {
|
|
189
|
+
align-items: center !important;
|
|
190
|
+
margin-left: 0px;
|
|
191
|
+
}
|
|
192
|
+
.filter-footer .add {
|
|
193
|
+
display: inline-flex;
|
|
194
|
+
-webkit-box-align: center;
|
|
195
|
+
align-items: center;
|
|
196
|
+
-webkit-box-pack: center;
|
|
197
|
+
justify-content: center;
|
|
198
|
+
position: relative;
|
|
199
|
+
box-sizing: border-box;
|
|
200
|
+
-webkit-tap-highlight-color: transparent;
|
|
201
|
+
outline: 0px;
|
|
202
|
+
border: 0px;
|
|
203
|
+
margin: 0px;
|
|
204
|
+
cursor: pointer;
|
|
205
|
+
user-select: none;
|
|
206
|
+
vertical-align: middle;
|
|
207
|
+
appearance: none;
|
|
208
|
+
text-decoration: none;
|
|
209
|
+
font-weight: 700;
|
|
210
|
+
font-style: normal;
|
|
211
|
+
font-size: 14px;
|
|
212
|
+
line-height: 18.52px;
|
|
213
|
+
letter-spacing: 1.25px;
|
|
214
|
+
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
215
|
+
box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
216
|
+
border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
217
|
+
color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
218
|
+
box-shadow: none;
|
|
219
|
+
min-height: 36px;
|
|
220
|
+
}
|
|
221
|
+
.filter-footer .clear {
|
|
222
|
+
margin-left: auto !important;
|
|
223
|
+
}
|
|
224
|
+
.form-group .close {
|
|
225
|
+
user-select: none;
|
|
226
|
+
width: 1em;
|
|
227
|
+
height: 1em;
|
|
228
|
+
display: inline-block;
|
|
229
|
+
fill: currentcolor;
|
|
230
|
+
flex-shrink: 0;
|
|
231
|
+
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
232
|
+
font-size: 1.25rem;
|
|
233
|
+
font-weight: lighter;
|
|
234
|
+
}
|
|
235
|
+
.no-display {
|
|
236
|
+
display: none;
|
|
237
|
+
}
|
|
238
|
+
.filter-local-operator-empty {
|
|
239
|
+
width: 54px;
|
|
240
|
+
border: none;
|
|
241
|
+
}
|
|
242
|
+
.grid-menu span.filter-superscript {
|
|
243
|
+
display: flex;
|
|
244
|
+
align-items: center;
|
|
245
|
+
justify-content: center;
|
|
246
|
+
position: relative;
|
|
247
|
+
font-size: 0.75rem;
|
|
248
|
+
padding: 0;
|
|
249
|
+
height: 16px;
|
|
250
|
+
width: 16px;
|
|
251
|
+
border-radius: 50%;
|
|
252
|
+
background-color: #1456e0;
|
|
253
|
+
color: #ffffff;
|
|
254
|
+
position: absolute;
|
|
255
|
+
top: 0;
|
|
256
|
+
left: 1.6rem;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.filterlist {
|
|
260
|
+
width: 40px;
|
|
261
|
+
}
|
|
262
|
+
.filterColumnField {
|
|
263
|
+
width: 150px;
|
|
264
|
+
}
|
|
265
|
+
.filterValueField {
|
|
266
|
+
width: 190px;
|
|
267
|
+
}
|
|
268
|
+
.filterOperatorField {
|
|
269
|
+
width: 120px;
|
|
270
|
+
}
|
|
271
|
+
.add-filter-button.disabled {
|
|
272
|
+
opacity: 0.5;
|
|
273
|
+
cursor: not-allowed;
|
|
274
|
+
}
|
|
275
|
+
select:hover {
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
}
|
|
278
|
+
input:hover {
|
|
279
|
+
cursor: text;
|
|
280
|
+
}
|
|
281
|
+
.tooltip-container {
|
|
282
|
+
position: relative;
|
|
283
|
+
display: inline-block;
|
|
284
|
+
}
|
|
285
|
+
.tool-tip {
|
|
286
|
+
color: #ffffff;
|
|
287
|
+
overflow-wrap: break-word;
|
|
288
|
+
border-radius: 3px;
|
|
289
|
+
background-color: #071454;
|
|
290
|
+
padding: 5px 8px;
|
|
291
|
+
font-family: 'Open Sans', sans-serif;
|
|
292
|
+
font-weight: 400;
|
|
293
|
+
font-style: normal;
|
|
294
|
+
font-size: 12px;
|
|
295
|
+
line-height: 16px;
|
|
296
|
+
letter-spacing: 0.4px;
|
|
297
|
+
position: absolute;
|
|
298
|
+
top: 42px;
|
|
299
|
+
right: 0;
|
|
300
|
+
z-index: 3;
|
|
301
|
+
white-space: nowrap;
|
|
302
|
+
display: none;
|
|
303
|
+
}
|
|
304
|
+
.filter-button:hover ~ .tool-tip {
|
|
305
|
+
display: block;
|
|
306
|
+
}
|
|
307
|
+
.tool-tip li {
|
|
308
|
+
margin-left: -21px;
|
|
309
|
+
color: #ffffff;
|
|
310
|
+
overflow-wrap: break-word;
|
|
311
|
+
border-radius: 3px;
|
|
312
|
+
font-family: 'Open Sans', sans-serif;
|
|
313
|
+
font-weight: 400;
|
|
314
|
+
font-style: normal;
|
|
315
|
+
font-size: 12px;
|
|
316
|
+
line-height: 16px;
|
|
317
|
+
letter-spacing: 0.4px;
|
|
318
|
+
max-width: 250px;
|
|
319
|
+
min-width: 200px;
|
|
320
|
+
white-space: wrap;
|
|
321
|
+
}
|
|
322
|
+
.tool-tip p {
|
|
323
|
+
margin: 0;
|
|
324
|
+
padding: 0;
|
|
325
|
+
font-family: 'Open Sans', sans-serif;
|
|
326
|
+
font-weight: 400;
|
|
327
|
+
font-style: normal;
|
|
328
|
+
font-size: 12px;
|
|
329
|
+
line-height: 16px;
|
|
330
|
+
letter-spacing: 0.4px;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.add-filter-button {
|
|
334
|
+
display: inline-flex;
|
|
335
|
+
-webkit-box-align: center;
|
|
336
|
+
align-items: center;
|
|
337
|
+
-webkit-box-pack: center;
|
|
338
|
+
justify-content: center;
|
|
339
|
+
position: relative;
|
|
340
|
+
box-sizing: border-box;
|
|
341
|
+
-webkit-tap-highlight-color: transparent;
|
|
342
|
+
outline: 0px;
|
|
343
|
+
border: 0px;
|
|
344
|
+
margin: 0px;
|
|
345
|
+
cursor: pointer;
|
|
346
|
+
user-select: none;
|
|
347
|
+
vertical-align: middle;
|
|
348
|
+
appearance: none;
|
|
349
|
+
text-decoration: none;
|
|
350
|
+
font-family: 'Red Hat Display', sans-serif;
|
|
351
|
+
font-weight: 700;
|
|
352
|
+
font-style: normal;
|
|
353
|
+
font-size: 14px;
|
|
354
|
+
line-height: 18.52px;
|
|
355
|
+
letter-spacing: 1.25px;
|
|
356
|
+
text-transform: uppercase;
|
|
357
|
+
color: #ffffff;
|
|
358
|
+
min-width: 64px;
|
|
359
|
+
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
360
|
+
box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
361
|
+
border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
362
|
+
color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
363
|
+
box-shadow: none;
|
|
364
|
+
min-height: 36px;
|
|
365
|
+
border-radius: 100px;
|
|
366
|
+
background-color: unset;
|
|
367
|
+
}
|
|
368
|
+
.add-filter-button:disabled,
|
|
369
|
+
.clear:disabled {
|
|
370
|
+
opacity: 0.25;
|
|
371
|
+
cursor: not-allowed;
|
|
372
|
+
}
|
|
373
|
+
button {
|
|
374
|
+
-webkit-box-align: center;
|
|
375
|
+
-webkit-box-pack: center;
|
|
376
|
+
justify-content: center;
|
|
377
|
+
position: relative;
|
|
378
|
+
box-sizing: border-box;
|
|
379
|
+
-webkit-tap-highlight-color: transparent;
|
|
380
|
+
outline: 0px;
|
|
381
|
+
border: 0px;
|
|
382
|
+
margin: 0px;
|
|
383
|
+
cursor: pointer;
|
|
384
|
+
user-select: none;
|
|
385
|
+
vertical-align: middle;
|
|
386
|
+
appearance: none;
|
|
387
|
+
text-decoration: none;
|
|
388
|
+
font-family: 'Red Hat Display', sans-serif;
|
|
389
|
+
font-weight: 700;
|
|
390
|
+
font-style: normal;
|
|
391
|
+
font-size: 14px;
|
|
392
|
+
line-height: 18.52px;
|
|
393
|
+
letter-spacing: 1.25px;
|
|
394
|
+
text-transform: uppercase;
|
|
395
|
+
color: #ffffff;
|
|
396
|
+
min-width: 64px;
|
|
397
|
+
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
398
|
+
box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
399
|
+
border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
400
|
+
color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
401
|
+
box-shadow: none;
|
|
402
|
+
min-height: 36px;
|
|
403
|
+
border-radius: 100px;
|
|
404
|
+
background-color: unset;
|
|
405
|
+
}
|
|
406
|
+
button.filter-button {
|
|
407
|
+
padding-inline: 0;
|
|
408
|
+
}
|
|
409
|
+
.grid-menu button {
|
|
410
|
+
align-items: center;
|
|
411
|
+
display: flex;
|
|
412
|
+
}
|
|
413
|
+
`;
|
|
414
|
+
//# sourceMappingURL=grid-row-filter-styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-row-filter-styles.js","sourceRoot":"","sources":["../../src/components/grid-row-filter-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ZvC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const IxGridRowFilterStyles = css`\n .filter {\n margin-left: -15px;\n align-items: center;\n font-size: 17px;\n width: 75px;\n }\n\n .grid-menu {\n display: flex;\n align-items: center;\n }\n\n .grid-menu button {\n gap: 0.5rem;\n }\n\n ix-icon-button {\n --md-icon-button-icon-color: rgb(20, 86, 224);\n --md-icon-button-icon-size: 28px;\n }\n\n .grid-menu button .filter {\n font-family: 'Red Hat Display', sans-serif;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 18.52px;\n letter-spacing: 1.25px;\n margin-top: 2px;\n }\n .filter-form {\n white-space: nowrap;\n padding: 9px;\n font-family: 'Open Sans', sans-serif;\n color: #5d6d82;\n }\n .filter-form-column {\n display: inline-block;\n vertical-align: middle;\n }\n .filter-remove span {\n margin-right: 0px;\n color: #5d6d82;\n }\n .filter-dropdown-content {\n position: absolute;\n display: inline;\n right: 0;\n top: 78%;\n box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);\n z-index: 3;\n transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n border-radius: 12px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px,\n rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;\n background-color: #ffffff;\n }\n .filter-form input,\n .filter-form select,\n .filter-form option {\n border-radius: 0px;\n cursor: pointer;\n letter-spacing: 1.44px;\n line-height: 1.4375em;\n box-sizing: content-box;\n background: none;\n height: 1.4375em;\n margin: 0px;\n animation-name: mui-auto-fill-cancel;\n animation-duration: 10ms;\n border: none;\n border-image: initial;\n font-size: 16px;\n box-sizing: border-box;\n cursor: text;\n user-select: none;\n color: currentcolor;\n -webkit-tap-highlight-color: transparent;\n display: block;\n min-width: 0px;\n width: 100%;\n font-family: 'Open Sans', sans-serif;\n height: 25px;\n border-bottom: 1px solid black;\n }\n .filter-form option {\n -webkit-tap-highlight-color: #9ca6b2;\n }\n .filter-form input:hover,\n .filter-form select:hover {\n outline: none !important;\n border-bottom: 2px solid black;\n }\n .filter-form input:focus,\n .filter-form select:focus {\n outline: none !important;\n border-bottom: 2px solid #1456e0;\n }\n .filter-form select:focus {\n background-color: rgba(0, 0, 0, 0.05);\n }\n .form-group {\n display: flex;\n flex-direction: column;\n align-items: baseline;\n height: 54px;\n justify-content: flex-end;\n font-family: 'Open Sans', sans-serif;\n }\n .form-group label {\n font-family: 'Open Sans', sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 1.4375em;\n letter-spacing: 0.44px;\n padding: 0px;\n color: #092241;\n display: block;\n transform-origin: left top;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 133%;\n transform: translate(0px, -1.5px) scale(0.75);\n transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,\n transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,\n max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;\n }\n .filter-form-group label span {\n font-family: 'Open Sans', sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 1.4375em;\n letter-spacing: 0.44px;\n padding: 0px;\n color: #092241;\n display: block;\n transform-origin: left top;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 133%;\n transform: translate(0px, -1.5px) scale(0.75);\n transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,\n transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,\n max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;\n }\n .filter-form-group label:focus-within span {\n color: #1456e0;\n }\n .filter-form-group {\n display: flex;\n flex-direction: column;\n align-items: baseline;\n height: 54px;\n justify-content: flex-end;\n font-family: 'Open Sans', sans-serif;\n }\n option {\n font-weight: normal;\n display: block;\n min-height: 1.2em;\n padding: 0px 2px 1px;\n white-space: nowrap;\n }\n .add-filter-button .add {\n margin-right: 0px;\n margin-left: -6px;\n }\n .filter-footer {\n margin-top: auto;\n display: flex;\n align-items: left;\n padding: 0px;\n font-family: 'Red Hat Display', sans-serif;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 18.52px;\n letter-spacing: 1.25px;\n text-transform: uppercase;\n width: 100%;\n }\n .filter-footer button {\n align-items: center !important;\n margin-left: 0px;\n }\n .filter-footer .add {\n display: inline-flex;\n -webkit-box-align: center;\n align-items: center;\n -webkit-box-pack: center;\n justify-content: center;\n position: relative;\n box-sizing: border-box;\n -webkit-tap-highlight-color: transparent;\n outline: 0px;\n border: 0px;\n margin: 0px;\n cursor: pointer;\n user-select: none;\n vertical-align: middle;\n appearance: none;\n text-decoration: none;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 18.52px;\n letter-spacing: 1.25px;\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n box-shadow: none;\n min-height: 36px;\n }\n .filter-footer .clear {\n margin-left: auto !important;\n }\n .form-group .close {\n user-select: none;\n width: 1em;\n height: 1em;\n display: inline-block;\n fill: currentcolor;\n flex-shrink: 0;\n transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n font-size: 1.25rem;\n font-weight: lighter;\n }\n .no-display {\n display: none;\n }\n .filter-local-operator-empty {\n width: 54px;\n border: none;\n }\n .grid-menu span.filter-superscript {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n font-size: 0.75rem;\n padding: 0;\n height: 16px;\n width: 16px;\n border-radius: 50%;\n background-color: #1456e0;\n color: #ffffff;\n position: absolute;\n top: 0;\n left: 1.6rem;\n }\n\n .filterlist {\n width: 40px;\n }\n .filterColumnField {\n width: 150px;\n }\n .filterValueField {\n width: 190px;\n }\n .filterOperatorField {\n width: 120px;\n }\n .add-filter-button.disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n select:hover {\n cursor: pointer;\n }\n input:hover {\n cursor: text;\n }\n .tooltip-container {\n position: relative;\n display: inline-block;\n }\n .tool-tip {\n color: #ffffff;\n overflow-wrap: break-word;\n border-radius: 3px;\n background-color: #071454;\n padding: 5px 8px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 0.4px;\n position: absolute;\n top: 42px;\n right: 0;\n z-index: 3;\n white-space: nowrap;\n display: none;\n }\n .filter-button:hover ~ .tool-tip {\n display: block;\n }\n .tool-tip li {\n margin-left: -21px;\n color: #ffffff;\n overflow-wrap: break-word;\n border-radius: 3px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 0.4px;\n max-width: 250px;\n min-width: 200px;\n white-space: wrap;\n }\n .tool-tip p {\n margin: 0;\n padding: 0;\n font-family: 'Open Sans', sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 0.4px;\n }\n\n .add-filter-button {\n display: inline-flex;\n -webkit-box-align: center;\n align-items: center;\n -webkit-box-pack: center;\n justify-content: center;\n position: relative;\n box-sizing: border-box;\n -webkit-tap-highlight-color: transparent;\n outline: 0px;\n border: 0px;\n margin: 0px;\n cursor: pointer;\n user-select: none;\n vertical-align: middle;\n appearance: none;\n text-decoration: none;\n font-family: 'Red Hat Display', sans-serif;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 18.52px;\n letter-spacing: 1.25px;\n text-transform: uppercase;\n color: #ffffff;\n min-width: 64px;\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n box-shadow: none;\n min-height: 36px;\n border-radius: 100px;\n background-color: unset;\n }\n .add-filter-button:disabled,\n .clear:disabled {\n opacity: 0.25;\n cursor: not-allowed;\n }\n button {\n -webkit-box-align: center;\n -webkit-box-pack: center;\n justify-content: center;\n position: relative;\n box-sizing: border-box;\n -webkit-tap-highlight-color: transparent;\n outline: 0px;\n border: 0px;\n margin: 0px;\n cursor: pointer;\n user-select: none;\n vertical-align: middle;\n appearance: none;\n text-decoration: none;\n font-family: 'Red Hat Display', sans-serif;\n font-weight: 700;\n font-style: normal;\n font-size: 14px;\n line-height: 18.52px;\n letter-spacing: 1.25px;\n text-transform: uppercase;\n color: #ffffff;\n min-width: 64px;\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n box-shadow: none;\n min-height: 36px;\n border-radius: 100px;\n background-color: unset;\n }\n button.filter-button {\n padding-inline: 0;\n }\n .grid-menu button {\n align-items: center;\n display: flex;\n }\n`;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PaginationStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const PaginationStyles = css `
|
|
3
|
+
.pagination {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: end;
|
|
7
|
+
gap: 1rem;
|
|
8
|
+
font-size: 12px;
|
|
9
|
+
margin: 1rem;
|
|
10
|
+
}
|
|
11
|
+
.pagination-nav {
|
|
12
|
+
display: flex;
|
|
13
|
+
}
|
|
14
|
+
ix-select {
|
|
15
|
+
--md-outlined-field-bottom-space: 2px;
|
|
16
|
+
--md-outlined-field-top-space: 2px;
|
|
17
|
+
--md-outlined-button-outline-color: var(--md-sys-color-primary);
|
|
18
|
+
--md-outlined-select-text-field-outline-color: #ddd;
|
|
19
|
+
--md-menu-container-color: #fff;
|
|
20
|
+
--md-filled-select-text-field-active-indicator-height: 0px;
|
|
21
|
+
--md-filled-select-text-field-hover-indicator-height: 0px;
|
|
22
|
+
--md-filled-field-hover-active-indicator-height: 0px;
|
|
23
|
+
--md-filled-field-focus-active-indicator-height: 0px;
|
|
24
|
+
--md-sys-typescale-body-large-font: 'Open Sans', sans-serif;
|
|
25
|
+
--md-ref-typeface-plain: 'Open Sans', sans-serif;
|
|
26
|
+
--md-filled-field-content-size: 14px;
|
|
27
|
+
--md-sys-typescale-body-large-size: 14px;
|
|
28
|
+
--md-filled-field-bottom-space: 4px;
|
|
29
|
+
--md-filled-field-top-space: 4px;
|
|
30
|
+
--md-filled-field-container-color: #fff;
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
//# sourceMappingURL=pagination-styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination-styles.js","sourceRoot":"","sources":["../../src/components/pagination-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BlC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const PaginationStyles = css`\n .pagination {\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 1rem;\n font-size: 12px;\n margin: 1rem;\n }\n .pagination-nav {\n display: flex;\n }\n ix-select {\n --md-outlined-field-bottom-space: 2px;\n --md-outlined-field-top-space: 2px;\n --md-outlined-button-outline-color: var(--md-sys-color-primary);\n --md-outlined-select-text-field-outline-color: #ddd;\n --md-menu-container-color: #fff;\n --md-filled-select-text-field-active-indicator-height: 0px;\n --md-filled-select-text-field-hover-indicator-height: 0px;\n --md-filled-field-hover-active-indicator-height: 0px;\n --md-filled-field-focus-active-indicator-height: 0px;\n --md-sys-typescale-body-large-font: 'Open Sans', sans-serif;\n --md-ref-typeface-plain: 'Open Sans', sans-serif;\n --md-filled-field-content-size: 14px;\n --md-sys-typescale-body-large-size: 14px;\n --md-filled-field-bottom-space: 4px;\n --md-filled-field-top-space: 4px;\n --md-filled-field-container-color: #fff;\n }\n`;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IxGridViewStyles: import("lit").CSSResult;
|