@digital-realty/ix-grid 1.3.2 → 1.4.1-alpha.2

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.
Files changed (71) hide show
  1. package/dist/IxGrid.js +1 -1
  2. package/dist/IxGrid.js.map +1 -1
  3. package/dist/components/IxGridRowFilter.js +1 -1
  4. package/dist/components/IxGridRowFilter.js.map +1 -1
  5. package/dist/ix-grid.min.js +1 -1
  6. package/package.json +6 -6
  7. package/rollup.config.mjs +36 -2
  8. package/src/IxGrid.d.ts +148 -0
  9. package/src/IxGrid.js +784 -0
  10. package/src/IxGrid.js.map +1 -0
  11. package/src/IxGrid.ts +1 -1
  12. package/src/IxGridNav.d.ts +2 -0
  13. package/src/IxGridNav.js +8 -0
  14. package/src/IxGridNav.js.map +1 -0
  15. package/src/components/IxGridColumnFilter.d.ts +35 -0
  16. package/src/components/IxGridColumnFilter.js +249 -0
  17. package/src/components/IxGridColumnFilter.js.map +1 -0
  18. package/src/components/IxGridDownloadMenu.d.ts +17 -0
  19. package/src/components/IxGridDownloadMenu.js +98 -0
  20. package/src/components/IxGridDownloadMenu.js.map +1 -0
  21. package/src/components/IxGridNav.d.ts +16 -0
  22. package/src/components/IxGridNav.js +103 -0
  23. package/src/components/IxGridNav.js.map +1 -0
  24. package/src/components/IxGridNoRows.d.ts +10 -0
  25. package/src/components/IxGridNoRows.js +74 -0
  26. package/src/components/IxGridNoRows.js.map +1 -0
  27. package/src/components/IxGridRowFilter.d.ts +55 -0
  28. package/src/components/IxGridRowFilter.js +441 -0
  29. package/src/components/IxGridRowFilter.js.map +1 -0
  30. package/src/components/IxGridRowFilter.ts +1 -1
  31. package/src/components/IxPagination.d.ts +14 -0
  32. package/src/components/IxPagination.js +107 -0
  33. package/src/components/IxPagination.js.map +1 -0
  34. package/src/components/grid-column-filter-styles.d.ts +1 -0
  35. package/src/components/grid-column-filter-styles.js +89 -0
  36. package/src/components/grid-column-filter-styles.js.map +1 -0
  37. package/src/components/grid-row-filter-styles.d.ts +1 -0
  38. package/src/components/grid-row-filter-styles.js +311 -0
  39. package/src/components/grid-row-filter-styles.js.map +1 -0
  40. package/src/components/ix-grid-no-rows.d.ts +1 -0
  41. package/src/components/ix-grid-no-rows.js +2 -0
  42. package/src/components/ix-grid-no-rows.js.map +1 -0
  43. package/src/components/pagination-styles.d.ts +1 -0
  44. package/src/components/pagination-styles.js +84 -0
  45. package/src/components/pagination-styles.js.map +1 -0
  46. package/src/grid-view-styles.d.ts +1 -0
  47. package/src/grid-view-styles.js +283 -0
  48. package/src/grid-view-styles.js.map +1 -0
  49. package/src/index.d.ts +3 -0
  50. package/src/index.js +3 -0
  51. package/src/index.js.map +1 -0
  52. package/src/ix-grid-copy.d.ts +12 -0
  53. package/src/ix-grid-copy.js +12 -0
  54. package/src/ix-grid-copy.js.map +1 -0
  55. package/src/ix-grid-nav.d.ts +1 -0
  56. package/src/ix-grid-nav.js +2 -0
  57. package/src/ix-grid-nav.js.map +1 -0
  58. package/src/ix-grid-no-rows.d.ts +1 -0
  59. package/src/ix-grid-no-rows.js +2 -0
  60. package/src/ix-grid-no-rows.js.map +1 -0
  61. package/src/ix-grid.d.ts +1 -0
  62. package/src/ix-grid.js +2 -0
  63. package/src/ix-grid.js.map +1 -0
  64. package/src/models/IxGridDownloadMenuItemModel.d.ts +7 -0
  65. package/src/models/IxGridDownloadMenuItemModel.js +1 -0
  66. package/src/models/IxGridDownloadMenuItemModel.js.map +1 -0
  67. package/src/test/ix-grid-column-filter.test.js +41 -0
  68. package/src/test/ix-grid-row-filter.test.js +281 -0
  69. package/src/test/ix-grid.test.js +391 -0
  70. package/src/test/ix-pagination.test.js +58 -0
  71. package/web-test-runner.config.mjs +1 -1
@@ -0,0 +1,89 @@
1
+ import { css } from 'lit';
2
+ export const IxGridColumnFilterStyles = css `
3
+ .dropdown-content {
4
+ position: absolute;
5
+ background-color: var(--clr-surface-container-lowest, #fff);
6
+ min-width: 160px;
7
+ box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
8
+ z-index: 9;
9
+ -webkit-box-align: center;
10
+ align-items: center;
11
+ cursor: pointer;
12
+ vertical-align: middle;
13
+ -webkit-tap-highlight-color: transparent;
14
+ padding: 10px;
15
+ width: 247px;
16
+ left: -100px;
17
+ border-radius: 16px;
18
+ }
19
+
20
+ .dropdown-content > div {
21
+ margin: 0px;
22
+ color: var(--clr-on-surface, #092241);
23
+ font-family: var(--text-small-font, sans-serif);
24
+ font-size: var(--text-small-size, 0.875rem);
25
+ letter-spacing: var(--text-small-letter-spacing, 0.0275em);
26
+ line-height: var(--text-small-line-height, 1.42857143em);
27
+ font-weight: var(--text-small-weight, normal);
28
+ text-decoration: var(--text-small-decoration, none);
29
+ text-transform: var(--text-small-transform, none);
30
+ display: block;
31
+ cursor: pointer;
32
+ }
33
+
34
+ .dropdown-content span:hover {
35
+ background-color: #f1f1f1;
36
+ }
37
+
38
+ .dropdown-content label {
39
+ display: flex;
40
+ align-items: center;
41
+ }
42
+
43
+ .dropdown-content label.dragOrigin {
44
+ background: #ff000017;
45
+ outline: 1px #ff9d9d dashed;
46
+ }
47
+
48
+ .dropdown-content label p {
49
+ width: 158px;
50
+ }
51
+
52
+ .dropdown-content label .draggable {
53
+ font-size: 24px;
54
+ cursor: move; /* fallback if grab cursor is unsupported */
55
+ cursor: grab;
56
+ cursor: -moz-grab;
57
+ cursor: -webkit-grab;
58
+ }
59
+
60
+ .dropdown-content label .draggable path {
61
+ fill: var(--clr-primary, #1456e0);
62
+ }
63
+
64
+ .active {
65
+ position: absolute;
66
+ right: 8px;
67
+ top: 8px;
68
+ height: 8px;
69
+ width: 8px;
70
+ background-color: var(--clr-critical, #db0028);
71
+ border-radius: 50%;
72
+ }
73
+
74
+ ix-switch {
75
+ padding: 0 0 0 6px;
76
+ display: flex;
77
+ width: 48px;
78
+ }
79
+
80
+ .list {
81
+ position: relative;
82
+ }
83
+
84
+ @media only screen and (max-width: 840px) {
85
+ .dropdown-content {
86
+ left: 0;
87
+ }
88
+ }
89
+ `;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-column-filter-styles.js","sourceRoot":"","sources":["grid-column-filter-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuF1C,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const IxGridColumnFilterStyles = css`\n .dropdown-content {\n position: absolute;\n background-color: var(--clr-surface-container-lowest, #fff);\n min-width: 160px;\n box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);\n z-index: 9;\n -webkit-box-align: center;\n align-items: center;\n cursor: pointer;\n vertical-align: middle;\n -webkit-tap-highlight-color: transparent;\n padding: 10px;\n width: 247px;\n left: -100px;\n border-radius: 16px;\n }\n\n .dropdown-content > div {\n margin: 0px;\n color: var(--clr-on-surface, #092241);\n font-family: var(--text-small-font, sans-serif);\n font-size: var(--text-small-size, 0.875rem);\n letter-spacing: var(--text-small-letter-spacing, 0.0275em);\n line-height: var(--text-small-line-height, 1.42857143em);\n font-weight: var(--text-small-weight, normal);\n text-decoration: var(--text-small-decoration, none);\n text-transform: var(--text-small-transform, none);\n display: block;\n cursor: pointer;\n }\n\n .dropdown-content span:hover {\n background-color: #f1f1f1;\n }\n\n .dropdown-content label {\n display: flex;\n align-items: center;\n }\n\n .dropdown-content label.dragOrigin {\n background: #ff000017;\n outline: 1px #ff9d9d dashed;\n }\n\n .dropdown-content label p {\n width: 158px;\n }\n\n .dropdown-content label .draggable {\n font-size: 24px;\n cursor: move; /* fallback if grab cursor is unsupported */\n cursor: grab;\n cursor: -moz-grab;\n cursor: -webkit-grab;\n }\n\n .dropdown-content label .draggable path {\n fill: var(--clr-primary, #1456e0);\n }\n\n .active {\n position: absolute;\n right: 8px;\n top: 8px;\n height: 8px;\n width: 8px;\n background-color: var(--clr-critical, #db0028);\n border-radius: 50%;\n }\n\n ix-switch {\n padding: 0 0 0 6px;\n display: flex;\n width: 48px;\n }\n\n .list {\n position: relative;\n }\n\n @media only screen and (max-width: 840px) {\n .dropdown-content {\n left: 0;\n }\n }\n`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const IxGridRowFilterStyles: import("lit").CSSResult;
@@ -0,0 +1,311 @@
1
+ import { css } from 'lit';
2
+ export const IxGridRowFilterStyles = css `
3
+ .slot-wrap {
4
+ display: flex;
5
+ }
6
+
7
+ .slot-wrap ix-icon {
8
+ --ix-icon-font-size: 24px;
9
+ color: var(--clr-primary, #1456e0);
10
+ margin-right: 5px;
11
+ }
12
+
13
+ .grid-menu ix-button .filter {
14
+ margin-top: 2px;
15
+ }
16
+
17
+ .filter-form {
18
+ white-space: nowrap;
19
+ padding: 9px;
20
+ color: var(--clr-on-surface-variant, #092241b3);
21
+ }
22
+
23
+ .filter-form-column {
24
+ display: inline-block;
25
+ vertical-align: middle;
26
+ }
27
+
28
+ .filter-remove span {
29
+ margin-right: 0px;
30
+ color: var(--clr-on-surface-variant, #092241b3);
31
+ }
32
+
33
+ .filter-dropdown-content {
34
+ position: absolute;
35
+ display: inline;
36
+ right: 0;
37
+ top: 78%;
38
+ box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
39
+ z-index: 3;
40
+ transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
41
+ border-radius: 12px;
42
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px,
43
+ rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;
44
+ background-color: #ffffff;
45
+ z-index: 10;
46
+ }
47
+
48
+ .filter-form input,
49
+ .filter-form select,
50
+ .filter-form option {
51
+ font-family: var(--text-default-font, sans-serif);
52
+ font-size: var(--text-default-size, 16px);
53
+ letter-spacing: var(--text-default-letter-spacing, 0.0275em);
54
+ line-height: var(--text-default-line-height, 1.75em);
55
+ font-weight: var(--text-default-weight, normal);
56
+ text-transform: var(--text-default-decoration, none);
57
+ text-decoration: var(--text-default-transform, none);
58
+ border-radius: 0px;
59
+ cursor: pointer;
60
+ box-sizing: content-box;
61
+ background: none;
62
+ height: 1.4375em;
63
+ margin: 0px;
64
+ animation-name: mui-auto-fill-cancel;
65
+ animation-duration: 10ms;
66
+ border: none;
67
+ border-image: initial;
68
+ box-sizing: border-box;
69
+ cursor: text;
70
+ user-select: none;
71
+ color: currentcolor;
72
+ -webkit-tap-highlight-color: transparent;
73
+ display: block;
74
+ min-width: 0px;
75
+ width: 100%;
76
+ height: 25px;
77
+ border-bottom: 1px solid black;
78
+ }
79
+
80
+ .filter-form option {
81
+ -webkit-tap-highlight-color: #9ca6b2;
82
+ }
83
+
84
+ .filter-form input:hover,
85
+ .filter-form select:hover {
86
+ outline: none !important;
87
+ border-bottom: 2px solid black;
88
+ }
89
+
90
+ .filter-form input:focus,
91
+ .filter-form select:focus {
92
+ outline: none !important;
93
+ border-bottom: 2px solid #1456e0;
94
+ }
95
+
96
+ .filter-form select:focus {
97
+ background-color: rgba(0, 0, 0, 0.05);
98
+ }
99
+
100
+ .form-group {
101
+ display: flex;
102
+ flex-direction: column;
103
+ align-items: baseline;
104
+ height: 54px;
105
+ justify-content: flex-end;
106
+ font-family: var(--text-default-font, sans-serif);
107
+ }
108
+
109
+ .form-group label {
110
+ font-family: var(--text-default-font, sans-serif);
111
+ font-size: var(--text-default-size, 16px);
112
+ letter-spacing: var(--text-default-letter-spacing, 0.0275em);
113
+ line-height: var(--text-default-line-height, 1.75em);
114
+ font-weight: var(--text-default-weight, normal);
115
+ text-transform: var(--text-default-decoration, none);
116
+ text-decoration: var(--text-default-transform, none);
117
+ padding: 0px;
118
+ color: #092241;
119
+ display: block;
120
+ transform-origin: left top;
121
+ white-space: nowrap;
122
+ overflow: hidden;
123
+ text-overflow: ellipsis;
124
+ max-width: 133%;
125
+ transform: translate(0px, -1.5px) scale(0.75);
126
+ transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
127
+ transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
128
+ max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
129
+ }
130
+
131
+ .filter-form-group label span {
132
+ font-family: var(--text-default-font, sans-serif);
133
+ font-size: var(--text-default-size, 16px);
134
+ letter-spacing: var(--text-default-letter-spacing, 0.0275em);
135
+ line-height: var(--text-default-line-height, 1.75em);
136
+ font-weight: var(--text-default-weight, normal);
137
+ text-transform: var(--text-default-decoration, none);
138
+ text-decoration: var(--text-default-transform, none);
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
+
153
+ .filter-form-group label:focus-within span {
154
+ color: #1456e0;
155
+ }
156
+
157
+ .filter-form-group {
158
+ display: flex;
159
+ flex-direction: column;
160
+ align-items: baseline;
161
+ height: 54px;
162
+ justify-content: flex-end;
163
+ font-family: var(--text-default-font, sans-serif);
164
+ }
165
+
166
+ option {
167
+ font-weight: normal;
168
+ display: block;
169
+ min-height: 1.2em;
170
+ padding: 0px 2px 1px;
171
+ white-space: nowrap;
172
+ }
173
+
174
+ .filter-footer {
175
+ padding: 9px;
176
+ display: flex;
177
+ justify-content: space-between;
178
+ }
179
+
180
+ .no-display {
181
+ display: none;
182
+ }
183
+
184
+ .filter-local-operator-empty {
185
+ width: 54px;
186
+ border: none;
187
+ }
188
+
189
+ .grid-menu span.filter-superscript {
190
+ position: absolute;
191
+ top: 6px;
192
+ left: 14px;
193
+ z-index: 1;
194
+ display: flex;
195
+ align-items: center;
196
+ justify-content: center;
197
+ font-family: var(--text-caption-font, sans-serif);
198
+ font-size: var(--text-caption-size, 0.75rem);
199
+ letter-spacing: var(--text-caption-letter-spacing, 0.03333333em);
200
+ line-height: var(--text-caption-line-height, 1.33333333em);
201
+ font-weight: var(--text-caption-weight, normal);
202
+ text-transform: var(--text-caption-transform, none);
203
+ text-decoration: var(--text-caption-decoration, none);
204
+ padding: 0;
205
+ height: 16px;
206
+ width: 16px;
207
+ border-radius: 50%;
208
+ background-color: var(--clr-primary, #1456e0);
209
+ color: var(--clr-on-primary, #fff);
210
+ }
211
+
212
+ .filterlist {
213
+ width: 40px;
214
+ }
215
+
216
+ .filterColumnField {
217
+ width: 150px;
218
+ }
219
+
220
+ .filterValueField {
221
+ width: 190px;
222
+ }
223
+
224
+ .filterOperatorField {
225
+ width: 120px;
226
+ }
227
+
228
+ .form-group-operator-label {
229
+ width: 100%;
230
+ }
231
+
232
+ .filter-form .filterOperatorInput {
233
+ min-width: 96px;
234
+ }
235
+
236
+ select:hover {
237
+ cursor: pointer;
238
+ }
239
+
240
+ input:hover {
241
+ cursor: text;
242
+ }
243
+
244
+ .tooltip-container {
245
+ position: relative;
246
+ display: inline-block;
247
+ }
248
+
249
+ .tool-tip {
250
+ color: var(--clr-on-secondary, #fff);
251
+ overflow-wrap: break-word;
252
+ border-radius: 3px;
253
+ background-color: var(--clr-secondary, #071454);
254
+ padding: 5px 8px;
255
+ font-family: var(--text-caption-font, sans-serif);
256
+ font-size: var(--text-caption-size, 0.75rem);
257
+ letter-spacing: var(--text-caption-letter-spacing, 0.03333333em);
258
+ line-height: var(--text-caption-line-height, 1.33333333em);
259
+ font-weight: var(--text-caption-weight, normal);
260
+ text-transform: var(--text-caption-transform, none);
261
+ text-decoration: var(--text-caption-decoration, none);
262
+
263
+ position: absolute;
264
+ top: 42px;
265
+ right: 0;
266
+ z-index: 3;
267
+ white-space: nowrap;
268
+ display: none;
269
+ }
270
+
271
+ .filter-button:hover ~ .tool-tip {
272
+ display: block;
273
+ }
274
+
275
+ .tool-tip li {
276
+ margin-left: -21px;
277
+ overflow-wrap: break-word;
278
+ border-radius: 3px;
279
+ max-width: 250px;
280
+ min-width: 200px;
281
+ white-space: wrap;
282
+ }
283
+
284
+ .tool-tip p {
285
+ margin: 0;
286
+ padding: 0;
287
+ }
288
+
289
+ .grid-menu ix-button {
290
+ align-items: center;
291
+ display: flex;
292
+ }
293
+
294
+ @media only screen and (max-width: 840px) {
295
+ .filter-dropdown-content {
296
+ right: inherit;
297
+ top: 0;
298
+ }
299
+ }
300
+
301
+ @media only screen and (max-width: 600px) {
302
+ .grid-menu ix-button .filter {
303
+ display: none;
304
+ }
305
+ .grid-menu ix-button {
306
+ --md-text-button-leading-space: 6px;
307
+ --md-text-button-trailing-space: 0;
308
+ margin-left: 4px;
309
+ }
310
+ }
311
+ `;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-row-filter-styles.js","sourceRoot":"","sources":["grid-row-filter-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqTvC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const IxGridRowFilterStyles = css`\n .slot-wrap {\n display: flex;\n }\n\n .slot-wrap ix-icon {\n --ix-icon-font-size: 24px;\n color: var(--clr-primary, #1456e0);\n margin-right: 5px;\n }\n\n .grid-menu ix-button .filter {\n margin-top: 2px;\n }\n\n .filter-form {\n white-space: nowrap;\n padding: 9px;\n color: var(--clr-on-surface-variant, #092241b3);\n }\n\n .filter-form-column {\n display: inline-block;\n vertical-align: middle;\n }\n\n .filter-remove span {\n margin-right: 0px;\n color: var(--clr-on-surface-variant, #092241b3);\n }\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 z-index: 10;\n }\n\n .filter-form input,\n .filter-form select,\n .filter-form option {\n font-family: var(--text-default-font, sans-serif);\n font-size: var(--text-default-size, 16px);\n letter-spacing: var(--text-default-letter-spacing, 0.0275em);\n line-height: var(--text-default-line-height, 1.75em);\n font-weight: var(--text-default-weight, normal);\n text-transform: var(--text-default-decoration, none);\n text-decoration: var(--text-default-transform, none);\n border-radius: 0px;\n cursor: pointer;\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 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 height: 25px;\n border-bottom: 1px solid black;\n }\n\n .filter-form option {\n -webkit-tap-highlight-color: #9ca6b2;\n }\n\n .filter-form input:hover,\n .filter-form select:hover {\n outline: none !important;\n border-bottom: 2px solid black;\n }\n\n .filter-form input:focus,\n .filter-form select:focus {\n outline: none !important;\n border-bottom: 2px solid #1456e0;\n }\n\n .filter-form select:focus {\n background-color: rgba(0, 0, 0, 0.05);\n }\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: var(--text-default-font, sans-serif);\n }\n\n .form-group label {\n font-family: var(--text-default-font, sans-serif);\n font-size: var(--text-default-size, 16px);\n letter-spacing: var(--text-default-letter-spacing, 0.0275em);\n line-height: var(--text-default-line-height, 1.75em);\n font-weight: var(--text-default-weight, normal);\n text-transform: var(--text-default-decoration, none);\n text-decoration: var(--text-default-transform, none);\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\n .filter-form-group label span {\n font-family: var(--text-default-font, sans-serif);\n font-size: var(--text-default-size, 16px);\n letter-spacing: var(--text-default-letter-spacing, 0.0275em);\n line-height: var(--text-default-line-height, 1.75em);\n font-weight: var(--text-default-weight, normal);\n text-transform: var(--text-default-decoration, none);\n text-decoration: var(--text-default-transform, none);\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\n .filter-form-group label:focus-within span {\n color: #1456e0;\n }\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: var(--text-default-font, sans-serif);\n }\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\n .filter-footer {\n padding: 9px;\n display: flex;\n justify-content: space-between;\n }\n\n .no-display {\n display: none;\n }\n\n .filter-local-operator-empty {\n width: 54px;\n border: none;\n }\n\n .grid-menu span.filter-superscript {\n position: absolute;\n top: 6px;\n left: 14px;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: var(--text-caption-font, sans-serif);\n font-size: var(--text-caption-size, 0.75rem);\n letter-spacing: var(--text-caption-letter-spacing, 0.03333333em);\n line-height: var(--text-caption-line-height, 1.33333333em);\n font-weight: var(--text-caption-weight, normal);\n text-transform: var(--text-caption-transform, none);\n text-decoration: var(--text-caption-decoration, none);\n padding: 0;\n height: 16px;\n width: 16px;\n border-radius: 50%;\n background-color: var(--clr-primary, #1456e0);\n color: var(--clr-on-primary, #fff);\n }\n\n .filterlist {\n width: 40px;\n }\n\n .filterColumnField {\n width: 150px;\n }\n\n .filterValueField {\n width: 190px;\n }\n\n .filterOperatorField {\n width: 120px;\n }\n\n .form-group-operator-label {\n width: 100%;\n }\n\n .filter-form .filterOperatorInput {\n min-width: 96px;\n }\n\n select:hover {\n cursor: pointer;\n }\n\n input:hover {\n cursor: text;\n }\n\n .tooltip-container {\n position: relative;\n display: inline-block;\n }\n\n .tool-tip {\n color: var(--clr-on-secondary, #fff);\n overflow-wrap: break-word;\n border-radius: 3px;\n background-color: var(--clr-secondary, #071454);\n padding: 5px 8px;\n font-family: var(--text-caption-font, sans-serif);\n font-size: var(--text-caption-size, 0.75rem);\n letter-spacing: var(--text-caption-letter-spacing, 0.03333333em);\n line-height: var(--text-caption-line-height, 1.33333333em);\n font-weight: var(--text-caption-weight, normal);\n text-transform: var(--text-caption-transform, none);\n text-decoration: var(--text-caption-decoration, none);\n\n position: absolute;\n top: 42px;\n right: 0;\n z-index: 3;\n white-space: nowrap;\n display: none;\n }\n\n .filter-button:hover ~ .tool-tip {\n display: block;\n }\n\n .tool-tip li {\n margin-left: -21px;\n overflow-wrap: break-word;\n border-radius: 3px;\n max-width: 250px;\n min-width: 200px;\n white-space: wrap;\n }\n\n .tool-tip p {\n margin: 0;\n padding: 0;\n }\n\n .grid-menu ix-button {\n align-items: center;\n display: flex;\n }\n\n @media only screen and (max-width: 840px) {\n .filter-dropdown-content {\n right: inherit;\n top: 0;\n }\n }\n\n @media only screen and (max-width: 600px) {\n .grid-menu ix-button .filter {\n display: none;\n }\n .grid-menu ix-button {\n --md-text-button-leading-space: 6px;\n --md-text-button-trailing-space: 0;\n margin-left: 4px;\n }\n }\n`;\n"]}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { IxGridNoRows } from './IxGridNoRows.js';
2
+ window.customElements.define('ix-grid-no-rows', IxGridNoRows);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ix-grid-no-rows.js","sourceRoot":"","sources":["ix-grid-no-rows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC","sourcesContent":["import { IxGridNoRows } from './IxGridNoRows.js';\n\nwindow.customElements.define('ix-grid-no-rows', IxGridNoRows);\n"]}
@@ -0,0 +1 @@
1
+ export declare const PaginationStyles: import("lit").CSSResult;
@@ -0,0 +1,84 @@
1
+ import { css } from 'lit';
2
+ export const PaginationStyles = css `
3
+ :host {
4
+ --md-filled-select-text-field-input-text-size: var(
5
+ --ix-filled-select-text-field-input-text-size,
6
+ 12px
7
+ );
8
+ }
9
+
10
+ .pagination {
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: end;
14
+ gap: 0;
15
+ font-family: var(--text-caption-font, sans-serif);
16
+ font-size: var(--text-caption-size, 0.75rem);
17
+ letter-spacing: var(--text-caption-letter-spacing, 0.03333333em);
18
+ line-height: var(--text-caption-line-height, 1.33333333em);
19
+ font-weight: var(--text-caption-weight, normal);
20
+ text-transform: var(--text-caption-transform, none);
21
+ text-decoration: var(--text-caption-decoration, none);
22
+ margin: 1.25rem 0.5rem 1.25rem 1rem;
23
+ }
24
+
25
+ .pagination > div {
26
+ display: flex;
27
+ align-items: center;
28
+ gap: 0.5rem;
29
+ }
30
+
31
+ .pagination p {
32
+ margin: 0;
33
+ }
34
+
35
+ .pagination-nav {
36
+ display: flex;
37
+ margin-left: 1.5rem;
38
+ height: 1.5rem;
39
+ gap: 0.5rem;
40
+ }
41
+
42
+ .pagination-nav > ix-icon-button {
43
+ margin-top: -0.5rem;
44
+ }
45
+
46
+ .rows-per-page {
47
+ color: var(--clr-on-surface, #092241);
48
+ }
49
+
50
+ ix-select {
51
+ --md-menu-container-color: var(--bg-surface-container-lowest, #fff);
52
+ --md-filled-select-text-field-container-color: var(
53
+ --bg-surface-container-lowest,
54
+ #fff
55
+ );
56
+ --md-filled-select-text-field-active-indicator-height: 0px;
57
+ --md-filled-select-text-field-hover-indicator-height: 0px;
58
+ --md-filled-field-hover-active-indicator-height: 0px;
59
+ --md-filled-field-focus-active-indicator-height: 0px;
60
+ --md-filled-field-bottom-space: 4px;
61
+ --md-filled-field-top-space: 4px;
62
+
63
+ --md-filled-select-text-field-focus-trailing-icon-color: var(
64
+ --clr-primary,
65
+ #1456e0
66
+ );
67
+ --md-filled-select-text-field-focus-active-indicator-color: var(
68
+ --md-filled-select-text-field-focus-trailing-icon-color
69
+ );
70
+ }
71
+
72
+ ix-select-option {
73
+ --md-menu-item-selected-container-color: rgba(20, 86, 224, 0.1);
74
+ }
75
+
76
+ @media only screen and (max-width: 600px) {
77
+ .pagination {
78
+ justify-content: space-between;
79
+ }
80
+ .pagination > div {
81
+ gap: 0;
82
+ }
83
+ }
84
+ `;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination-styles.js","sourceRoot":"","sources":["pagination-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFlC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const PaginationStyles = css`\n :host {\n --md-filled-select-text-field-input-text-size: var(\n --ix-filled-select-text-field-input-text-size,\n 12px\n );\n }\n\n .pagination {\n display: flex;\n align-items: center;\n justify-content: end;\n gap: 0;\n font-family: var(--text-caption-font, sans-serif);\n font-size: var(--text-caption-size, 0.75rem);\n letter-spacing: var(--text-caption-letter-spacing, 0.03333333em);\n line-height: var(--text-caption-line-height, 1.33333333em);\n font-weight: var(--text-caption-weight, normal);\n text-transform: var(--text-caption-transform, none);\n text-decoration: var(--text-caption-decoration, none);\n margin: 1.25rem 0.5rem 1.25rem 1rem;\n }\n\n .pagination > div {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n }\n\n .pagination p {\n margin: 0;\n }\n\n .pagination-nav {\n display: flex;\n margin-left: 1.5rem;\n height: 1.5rem;\n gap: 0.5rem;\n }\n\n .pagination-nav > ix-icon-button {\n margin-top: -0.5rem;\n }\n\n .rows-per-page {\n color: var(--clr-on-surface, #092241);\n }\n\n ix-select {\n --md-menu-container-color: var(--bg-surface-container-lowest, #fff);\n --md-filled-select-text-field-container-color: var(\n --bg-surface-container-lowest,\n #fff\n );\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-filled-field-bottom-space: 4px;\n --md-filled-field-top-space: 4px;\n\n --md-filled-select-text-field-focus-trailing-icon-color: var(\n --clr-primary,\n #1456e0\n );\n --md-filled-select-text-field-focus-active-indicator-color: var(\n --md-filled-select-text-field-focus-trailing-icon-color\n );\n }\n\n ix-select-option {\n --md-menu-item-selected-container-color: rgba(20, 86, 224, 0.1);\n }\n\n @media only screen and (max-width: 600px) {\n .pagination {\n justify-content: space-between;\n }\n .pagination > div {\n gap: 0;\n }\n }\n`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const IxGridViewStyles: import("lit").CSSResult;