@exmg/exm-grid 1.1.36 → 1.1.37-alpha.31
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/.rollup.cache/root/repo/packages/exm-grid/dist/index.d.ts +14 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/index.js +14 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/search/exm-toolbar-search.d.ts +25 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/search/exm-toolbar-search.js +88 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-base-toolbar-styles-css.d.ts +1 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-base-toolbar-styles-css.js +98 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-common-styles-css.d.ts +1 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-common-styles-css.js +104 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-pagination-styles-css.d.ts +1 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-pagination-styles-css.js +104 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-setting-selection-list-styles-css.d.ts +1 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-setting-selection-list-styles-css.js +12 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-styles-css.d.ts +1 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-styles-css.js +414 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-base-toolbar.d.ts +23 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-base-toolbar.js +94 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-pagination.d.ts +37 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-pagination.js +153 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-setting-selection-list.d.ts +24 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-setting-selection-list.js +124 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-smart-toolbar.d.ts +31 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-smart-toolbar.js +138 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-toolbar-css.d.ts +1 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-toolbar-filters.d.ts +36 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-toolbar-filters.js +77 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-toolbar.d.ts +41 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid-toolbar.js +198 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid.d.ts +130 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/exm-grid.js +333 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/featrues/exm-column-sortable.d.ts +12 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/featrues/exm-column-sortable.js +50 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/featrues/exm-row-expandable.d.ts +9 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/featrues/exm-row-expandable.js +42 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/featrues/exm-row-selectable.d.ts +20 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/featrues/exm-row-selectable.js +204 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/featrues/exm-row-sortable.d.ts +9 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/featrues/exm-row-sortable.js +50 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/types/exm-grid-smart-toolbar-types.d.ts +17 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/types/exm-grid-smart-toolbar-types.js +6 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/types/exm-grid-toolbar-types.d.ts +55 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/types/exm-grid-toolbar-types.js +16 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/types/exm-grid-types.d.ts +15 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/utils/exm-query-selectors.d.ts +12 -0
- package/.rollup.cache/root/repo/packages/exm-grid/dist/table/utils/exm-query-selectors.js +37 -0
- package/dist/index.js +3 -3
- package/dist/search/exm-toolbar-search.js +6 -5
- package/dist/styles/exm-grid-base-toolbar-styles-css.js +5 -2
- package/dist/styles/exm-grid-common-styles-css.js +5 -2
- package/dist/styles/exm-grid-pagination-styles-css.js +5 -2
- package/dist/styles/exm-grid-setting-selection-list-styles-css.js +5 -2
- package/dist/styles/exm-grid-styles-css.js +5 -2
- package/dist/table/exm-grid-base-toolbar.js +5 -3
- package/dist/table/exm-grid-pagination.js +5 -3
- package/dist/table/exm-grid-setting-selection-list.js +5 -3
- package/dist/table/exm-grid-smart-toolbar.js +8 -6
- package/dist/table/exm-grid-toolbar-filters.js +6 -4
- package/dist/table/exm-grid-toolbar.js +6 -4
- package/dist/table/exm-grid.js +7 -5
- package/dist/table/featrues/exm-column-sortable.js +4 -2
- package/dist/table/featrues/exm-row-expandable.js +4 -2
- package/dist/table/featrues/exm-row-selectable.js +4 -2
- package/dist/table/featrues/exm-row-sortable.js +4 -2
- package/dist/table/types/exm-grid-smart-toolbar-types.js +5 -3
- package/dist/table/types/exm-grid-toolbar-types.js +9 -7
- package/dist/table/utils/exm-query-selectors.js +4 -2
- package/package.json +4 -4
- /package/{dist → .rollup.cache/root/repo/packages/exm-grid/dist}/table/exm-grid-toolbar-css.js +0 -0
- /package/{dist → .rollup.cache/root/repo/packages/exm-grid/dist}/table/types/exm-grid-types.js +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { EventDetailRowsOrderChanged, EventDetailRowsOrderUpdated, EventDetailSelectedRowsChange, EventDetailSortChange, SORT_DIRECTION, } from './table/types/exm-grid-types.js';
|
|
2
|
+
export { ExmGrid } from './table/exm-grid.js';
|
|
3
|
+
export { ExmGridPagination } from './table/exm-grid-pagination.js';
|
|
4
|
+
export { ExmGridBaseToolbar } from './table/exm-grid-base-toolbar.js';
|
|
5
|
+
export { ExmGridSmartToolbar } from './table/exm-grid-smart-toolbar.js';
|
|
6
|
+
export { ActionAmountSelectedItemsCondition, ActionConditionType, ActionWithCondition, BaseActionCondition, } from './table/types/exm-grid-smart-toolbar-types.js';
|
|
7
|
+
export { ExmGridToolbar } from './table/exm-grid-toolbar.js';
|
|
8
|
+
export { EventDetailGridToolbarSettingChanged, Action, Filter, FilterConfigType, FilterSingleSelectConfig, BaseFilterConfig, BaseSettingConfig, Setting, SettingConfigId, SettingConfigType, SettingSelectionListConfig, SettingSelectionListItem, } from './table/types/exm-grid-toolbar-types.js';
|
|
9
|
+
export { ToolbarSearch } from './search/exm-toolbar-search.js';
|
|
10
|
+
export { ExmGridToolbarFilters, EventSelectPayload } from './table/exm-grid-toolbar-filters.js';
|
|
11
|
+
export { style as gridStyles } from './styles/exm-grid-styles-css.js';
|
|
12
|
+
export { style as gridBaseToolbarStyles } from './styles/exm-grid-base-toolbar-styles-css.js';
|
|
13
|
+
export { style as gridCommonStyles } from './styles/exm-grid-common-styles-css.js';
|
|
14
|
+
export { style as gridPaginationStyles } from './styles/exm-grid-pagination-styles-css.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { ExmGrid } from './table/exm-grid.js';
|
|
2
|
+
export { ExmGridPagination } from './table/exm-grid-pagination.js';
|
|
3
|
+
export { ExmGridBaseToolbar } from './table/exm-grid-base-toolbar.js';
|
|
4
|
+
export { ExmGridSmartToolbar } from './table/exm-grid-smart-toolbar.js';
|
|
5
|
+
export { ActionConditionType, } from './table/types/exm-grid-smart-toolbar-types.js';
|
|
6
|
+
export { ExmGridToolbar } from './table/exm-grid-toolbar.js';
|
|
7
|
+
export { FilterConfigType, SettingConfigId, SettingConfigType, } from './table/types/exm-grid-toolbar-types.js';
|
|
8
|
+
export { ToolbarSearch } from './search/exm-toolbar-search.js';
|
|
9
|
+
export { ExmGridToolbarFilters } from './table/exm-grid-toolbar-filters.js';
|
|
10
|
+
export { style as gridStyles } from './styles/exm-grid-styles-css.js';
|
|
11
|
+
export { style as gridBaseToolbarStyles } from './styles/exm-grid-base-toolbar-styles-css.js';
|
|
12
|
+
export { style as gridCommonStyles } from './styles/exm-grid-common-styles-css.js';
|
|
13
|
+
export { style as gridPaginationStyles } from './styles/exm-grid-pagination-styles-css.js';
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ExmgElement } from '@exmg/lit-base/index.js';
|
|
2
|
+
import '@exmg/exm-search/exm-search.js';
|
|
3
|
+
import '@material/web/icon/icon.js';
|
|
4
|
+
import '@material/web/iconbutton/icon-button.js';
|
|
5
|
+
import '@material/web/focus/md-focus-ring.js';
|
|
6
|
+
export declare class ToolbarSearch extends ExmgElement {
|
|
7
|
+
private isSearch;
|
|
8
|
+
filterValue?: string | null;
|
|
9
|
+
placeHolder: string;
|
|
10
|
+
search?: HTMLInputElement;
|
|
11
|
+
static styles: import("lit").CSSResult[];
|
|
12
|
+
private debouncer;
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
_getValue(): string;
|
|
15
|
+
private handleKeyUp;
|
|
16
|
+
private notifyChange;
|
|
17
|
+
private handleInputBlur;
|
|
18
|
+
private hideSearch;
|
|
19
|
+
private showSearch;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'exm-toolbar-search': ToolbarSearch;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { css, html } from 'lit';
|
|
3
|
+
import { property, customElement, query, state } from 'lit/decorators.js';
|
|
4
|
+
import { ExmgElement } from '@exmg/lit-base/index.js';
|
|
5
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
6
|
+
import { async, debounce } from '@exmg/lit-base/index.js';
|
|
7
|
+
import '@exmg/exm-search/exm-search.js';
|
|
8
|
+
import '@material/web/icon/icon.js';
|
|
9
|
+
import '@material/web/iconbutton/icon-button.js';
|
|
10
|
+
import '@material/web/focus/md-focus-ring.js';
|
|
11
|
+
let ToolbarSearch = class ToolbarSearch extends ExmgElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.isSearch = false;
|
|
15
|
+
this.placeHolder = 'Search';
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
const classMapValues = {
|
|
19
|
+
search: this.isSearch,
|
|
20
|
+
};
|
|
21
|
+
return html `
|
|
22
|
+
<exm-search
|
|
23
|
+
class=${classMap(classMapValues)}
|
|
24
|
+
@click=${this.showSearch}
|
|
25
|
+
placeholder=${this.placeHolder}
|
|
26
|
+
value=${this.filterValue ? this.filterValue : ''}
|
|
27
|
+
onfocus="let value = this.value; this.value = null; this.value = value"
|
|
28
|
+
@search-value-change=${this.handleKeyUp}
|
|
29
|
+
@search-blur=${this.handleInputBlur}
|
|
30
|
+
></exm-search>
|
|
31
|
+
`;
|
|
32
|
+
}
|
|
33
|
+
_getValue() {
|
|
34
|
+
return this.filterValue || this.placeHolder;
|
|
35
|
+
}
|
|
36
|
+
handleKeyUp({ detail }) {
|
|
37
|
+
if (this.filterValue !== detail.value) {
|
|
38
|
+
this.filterValue = detail.value;
|
|
39
|
+
this.notifyChange();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
notifyChange() {
|
|
43
|
+
this.debouncer = debounce.Debouncer.debounce(this.debouncer, async.timeOut.after(200), () => {
|
|
44
|
+
this.dispatchEvent(new CustomEvent('exm-grid-toolbar-search-changed', {
|
|
45
|
+
bubbles: false,
|
|
46
|
+
composed: true,
|
|
47
|
+
detail: { value: this.filterValue },
|
|
48
|
+
}));
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
handleInputBlur() {
|
|
52
|
+
this.hideSearch();
|
|
53
|
+
}
|
|
54
|
+
hideSearch() {
|
|
55
|
+
this.isSearch = false;
|
|
56
|
+
}
|
|
57
|
+
showSearch() {
|
|
58
|
+
if (this.isSearch) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
this.isSearch = true;
|
|
62
|
+
setTimeout(() => this.shadowRoot.querySelector('#searchInput').focus(), 200);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
ToolbarSearch.styles = [
|
|
66
|
+
css `
|
|
67
|
+
:host {
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
`,
|
|
71
|
+
];
|
|
72
|
+
__decorate([
|
|
73
|
+
state()
|
|
74
|
+
], ToolbarSearch.prototype, "isSearch", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
property({ type: String })
|
|
77
|
+
], ToolbarSearch.prototype, "filterValue", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
property({ type: String })
|
|
80
|
+
], ToolbarSearch.prototype, "placeHolder", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
query('#searchInput')
|
|
83
|
+
], ToolbarSearch.prototype, "search", void 0);
|
|
84
|
+
ToolbarSearch = __decorate([
|
|
85
|
+
customElement('exm-toolbar-search')
|
|
86
|
+
], ToolbarSearch);
|
|
87
|
+
export { ToolbarSearch };
|
|
88
|
+
//# sourceMappingURL=exm-toolbar-search.js.map
|
package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-base-toolbar-styles-css.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const style: import("lit").CSSResult;
|
package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-base-toolbar-styles-css.js
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const style = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
-moz-osx-font-smoothing: grayscale;
|
|
6
|
+
-webkit-font-smoothing: antialiased;
|
|
7
|
+
font-family: Roboto, sans-serif;
|
|
8
|
+
font-family: var(--mdc-typography-font-family, Roboto, sans-serif);
|
|
9
|
+
border-top-left-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
|
|
10
|
+
border-top-right-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
|
|
11
|
+
--toolbar-bg-color: var(--exm-theme-table-toolbar-background-color, var(--md-sys-color-surface-container));
|
|
12
|
+
--toolbar-color: var(--exm-theme-table-toolbar-color, var(--md-sys-color-on-surface));
|
|
13
|
+
background-color: var(--toolbar-bg-color);
|
|
14
|
+
color: var(--toolbar-color);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.wrapper {
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-template-columns: 1fr auto auto auto;
|
|
20
|
+
align-items: center;
|
|
21
|
+
padding: 10px 16px 10px 16px;
|
|
22
|
+
overflow-x: var(--exm-theme-table-toolbar-overflow-x, initial);
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.wrapper.has-action {
|
|
27
|
+
grid-template-columns: auto 1fr auto auto auto;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.wrapper.active {
|
|
31
|
+
--active-toolbar-bg-color: var(--exm-theme-table-toolbar-active-bg-color, var(--md-sys-color-secondary-container));
|
|
32
|
+
--active-toolbar-color: var(--exm-theme-table-toolbar-active-color, var(--md-sys-color-on-secondary-container));
|
|
33
|
+
background-color: var(--active-toolbar-bg-color);
|
|
34
|
+
color: var(--active-toolbar-color);
|
|
35
|
+
border-top-left-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
|
|
36
|
+
border-top-right-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.wrapper.active .seperator.with-action-separator {
|
|
40
|
+
border-left: 1px solid var(--active-toolbar-color);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.wrapper.active .description {
|
|
44
|
+
color: var(--active-toolbar-color);
|
|
45
|
+
margin-left: 8px;
|
|
46
|
+
}
|
|
47
|
+
.wrapper .seperator {
|
|
48
|
+
min-height: 32px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.wrapper .seperator.with-action-separator {
|
|
52
|
+
border-left: 1px solid var(--active-toolbar-color);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.wrapper .description {
|
|
56
|
+
-moz-osx-font-smoothing: grayscale;
|
|
57
|
+
-webkit-font-smoothing: antialiased;
|
|
58
|
+
font-family: var(--mdc-typography-headline5-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));
|
|
59
|
+
font-size: var(--mdc-typography-headline5-font-size, 1.5rem);
|
|
60
|
+
line-height: var(--mdc-typography-headline5-line-height, 2rem);
|
|
61
|
+
font-weight: var(--mdc-typography-headline5-font-weight, 400);
|
|
62
|
+
letter-spacing: var(--mdc-typography-headline5-letter-spacing, normal);
|
|
63
|
+
text-decoration: var(--mdc-typography-headline5-text-decoration, inherit);
|
|
64
|
+
text-transform: var(--mdc-typography-headline5-text-transform, inherit);
|
|
65
|
+
color: var(--toolbar-color);
|
|
66
|
+
font-size: 1.25rem;
|
|
67
|
+
padding: 0;
|
|
68
|
+
height: 48px;
|
|
69
|
+
flex: 1;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.actions {
|
|
76
|
+
padding: 0 8px 0 0;
|
|
77
|
+
color: var(--mdc-theme-primary);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.filters {
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: row;
|
|
83
|
+
justify-content: flex-end;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.settings {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: row;
|
|
89
|
+
justify-content: flex-end;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@media (max-width: 500px) {
|
|
93
|
+
.wrapper .description {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
`;
|
|
98
|
+
//# sourceMappingURL=exm-grid-base-toolbar-styles-css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const style: import("lit").CSSResult;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const style = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
-moz-osx-font-smoothing: grayscale;
|
|
6
|
+
-webkit-font-smoothing: antialiased;
|
|
7
|
+
font-family: Roboto, sans-serif;
|
|
8
|
+
font-family: var(--mdc-typography-font-family, Roboto, sans-serif);
|
|
9
|
+
color: var(--exm-theme-table-pagination-color, var(--md-sys-color-on-surface));
|
|
10
|
+
border-bottom-left-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
|
|
11
|
+
border-bottom-right-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.wrapper {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex: 1;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: flex-end;
|
|
20
|
+
padding: 8px 10px;
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.wrapper .page-size {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
margin-right: 26px;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.wrapper .page-size .page-size-label {
|
|
32
|
+
margin-right: 10px;
|
|
33
|
+
-moz-osx-font-smoothing: grayscale;
|
|
34
|
+
-webkit-font-smoothing: antialiased;
|
|
35
|
+
font-family: Roboto, sans-serif;
|
|
36
|
+
font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));
|
|
37
|
+
font-size: 0.875rem;
|
|
38
|
+
font-size: var(--mdc-typography-body2-font-size, 0.875rem);
|
|
39
|
+
line-height: 1.25rem;
|
|
40
|
+
line-height: var(--mdc-typography-body2-line-height, 1.25rem);
|
|
41
|
+
font-weight: 400;
|
|
42
|
+
font-weight: var(--mdc-typography-body2-font-weight, 400);
|
|
43
|
+
letter-spacing: 0.0178571429em;
|
|
44
|
+
letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);
|
|
45
|
+
text-decoration: inherit;
|
|
46
|
+
text-decoration: var(--mdc-typography-body2-text-decoration, inherit);
|
|
47
|
+
text-transform: inherit;
|
|
48
|
+
text-transform: var(--mdc-typography-body2-text-transform, inherit);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.wrapper .page-range {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: row;
|
|
54
|
+
align-items: center;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.wrapper .page-range .page-range-label {
|
|
58
|
+
margin-right: 44px;
|
|
59
|
+
-moz-osx-font-smoothing: grayscale;
|
|
60
|
+
-webkit-font-smoothing: antialiased;
|
|
61
|
+
font-family: Roboto, sans-serif;
|
|
62
|
+
font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));
|
|
63
|
+
font-size: 0.875rem;
|
|
64
|
+
font-size: var(--mdc-typography-body2-font-size, 0.875rem);
|
|
65
|
+
line-height: 1.25rem;
|
|
66
|
+
line-height: var(--mdc-typography-body2-line-height, 1.25rem);
|
|
67
|
+
font-weight: 400;
|
|
68
|
+
font-weight: var(--mdc-typography-body2-font-weight, 400);
|
|
69
|
+
letter-spacing: 0.0178571429em;
|
|
70
|
+
letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);
|
|
71
|
+
text-decoration: inherit;
|
|
72
|
+
text-decoration: var(--mdc-typography-body2-text-decoration, inherit);
|
|
73
|
+
text-transform: inherit;
|
|
74
|
+
text-transform: var(--mdc-typography-body2-text-transform, inherit);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.wrapper .page-range .page-range-actions {
|
|
78
|
+
user-select: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media (max-width: 600px) {
|
|
82
|
+
.page-size-label {
|
|
83
|
+
display: none;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (max-width: 500px) {
|
|
88
|
+
.wrapper .page-size {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (max-width: 450px) {
|
|
94
|
+
.wrapper {
|
|
95
|
+
overflow-x: auto;
|
|
96
|
+
white-space: nowrap;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.wrapper .page-range {
|
|
100
|
+
min-width: 1px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
`;
|
|
104
|
+
//# sourceMappingURL=exm-grid-common-styles-css.js.map
|
package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-pagination-styles-css.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const style: import("lit").CSSResult;
|
package/.rollup.cache/root/repo/packages/exm-grid/dist/styles/exm-grid-pagination-styles-css.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const style = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
-moz-osx-font-smoothing: grayscale;
|
|
6
|
+
-webkit-font-smoothing: antialiased;
|
|
7
|
+
font-family: Roboto, sans-serif;
|
|
8
|
+
font-family: var(--mdc-typography-font-family, Roboto, sans-serif);
|
|
9
|
+
color: var(--exm-theme-table-pagination-color, var(--md-sys-color-on-surface));
|
|
10
|
+
border-bottom-left-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
|
|
11
|
+
border-bottom-right-radius: var(--exm-theme-table-radius, var(--exm-surface-border-radius, 16px));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.wrapper {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex: 1;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: flex-end;
|
|
20
|
+
padding: 8px 10px;
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.wrapper .page-size {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
margin-right: 26px;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.wrapper .page-size .page-size-label {
|
|
32
|
+
margin-right: 10px;
|
|
33
|
+
-moz-osx-font-smoothing: grayscale;
|
|
34
|
+
-webkit-font-smoothing: antialiased;
|
|
35
|
+
font-family: Roboto, sans-serif;
|
|
36
|
+
font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));
|
|
37
|
+
font-size: 0.875rem;
|
|
38
|
+
font-size: var(--mdc-typography-body2-font-size, 0.875rem);
|
|
39
|
+
line-height: 1.25rem;
|
|
40
|
+
line-height: var(--mdc-typography-body2-line-height, 1.25rem);
|
|
41
|
+
font-weight: 400;
|
|
42
|
+
font-weight: var(--mdc-typography-body2-font-weight, 400);
|
|
43
|
+
letter-spacing: 0.0178571429em;
|
|
44
|
+
letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);
|
|
45
|
+
text-decoration: inherit;
|
|
46
|
+
text-decoration: var(--mdc-typography-body2-text-decoration, inherit);
|
|
47
|
+
text-transform: inherit;
|
|
48
|
+
text-transform: var(--mdc-typography-body2-text-transform, inherit);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.wrapper .page-range {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: row;
|
|
54
|
+
align-items: center;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.wrapper .page-range .page-range-label {
|
|
58
|
+
margin-right: 44px;
|
|
59
|
+
-moz-osx-font-smoothing: grayscale;
|
|
60
|
+
-webkit-font-smoothing: antialiased;
|
|
61
|
+
font-family: Roboto, sans-serif;
|
|
62
|
+
font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));
|
|
63
|
+
font-size: 0.875rem;
|
|
64
|
+
font-size: var(--mdc-typography-body2-font-size, 0.875rem);
|
|
65
|
+
line-height: 1.25rem;
|
|
66
|
+
line-height: var(--mdc-typography-body2-line-height, 1.25rem);
|
|
67
|
+
font-weight: 400;
|
|
68
|
+
font-weight: var(--mdc-typography-body2-font-weight, 400);
|
|
69
|
+
letter-spacing: 0.0178571429em;
|
|
70
|
+
letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);
|
|
71
|
+
text-decoration: inherit;
|
|
72
|
+
text-decoration: var(--mdc-typography-body2-text-decoration, inherit);
|
|
73
|
+
text-transform: inherit;
|
|
74
|
+
text-transform: var(--mdc-typography-body2-text-transform, inherit);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.wrapper .page-range .page-range-actions {
|
|
78
|
+
user-select: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media (max-width: 600px) {
|
|
82
|
+
.page-size-label {
|
|
83
|
+
display: none;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (max-width: 500px) {
|
|
88
|
+
.wrapper .page-size {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (max-width: 450px) {
|
|
94
|
+
.wrapper {
|
|
95
|
+
overflow-x: auto;
|
|
96
|
+
white-space: nowrap;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.wrapper .page-range {
|
|
100
|
+
min-width: 1px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
`;
|
|
104
|
+
//# sourceMappingURL=exm-grid-pagination-styles-css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const style: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const style: import("lit").CSSResult;
|