@nuralyui/table 0.0.3 → 0.0.7
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/bundle.js +2351 -0
- package/package.json +16 -2
- package/react.js +2 -2
- package/react.js.map +1 -1
- package/table.component.d.ts +112 -12
- package/table.component.js +285 -136
- package/table.component.js.map +1 -1
- package/table.style.js +676 -2
- package/table.style.js.map +1 -1
- package/table.types.d.ts +60 -4
- package/table.types.js +0 -23
- package/table.types.js.map +1 -1
- package/components/hy-table-actions.d.ts +0 -10
- package/components/hy-table-actions.d.ts.map +0 -1
- package/components/hy-table-actions.js +0 -39
- package/components/hy-table-actions.js.map +0 -1
- package/components/hy-table-content.d.ts +0 -25
- package/components/hy-table-content.d.ts.map +0 -1
- package/components/hy-table-content.js +0 -168
- package/components/hy-table-content.js.map +0 -1
- package/components/hy-table-filter.d.ts +0 -11
- package/components/hy-table-filter.d.ts.map +0 -1
- package/components/hy-table-filter.js +0 -59
- package/components/hy-table-filter.js.map +0 -1
- package/components/hy-table-pagination.d.ts +0 -21
- package/components/hy-table-pagination.d.ts.map +0 -1
- package/components/hy-table-pagination.js +0 -111
- package/components/hy-table-pagination.js.map +0 -1
- package/components/table-actions.style.d.ts +0 -2
- package/components/table-actions.style.d.ts.map +0 -1
- package/components/table-actions.style.js +0 -31
- package/components/table-actions.style.js.map +0 -1
- package/components/table-actions.variables.d.ts +0 -2
- package/components/table-actions.variables.d.ts.map +0 -1
- package/components/table-actions.variables.js +0 -13
- package/components/table-actions.variables.js.map +0 -1
- package/components/table-content.style.d.ts +0 -2
- package/components/table-content.style.d.ts.map +0 -1
- package/components/table-content.style.js +0 -77
- package/components/table-content.style.js.map +0 -1
- package/components/table-content.variables.d.ts +0 -2
- package/components/table-content.variables.d.ts.map +0 -1
- package/components/table-content.variables.js +0 -29
- package/components/table-content.variables.js.map +0 -1
- package/components/table-filter.style.d.ts +0 -2
- package/components/table-filter.style.d.ts.map +0 -1
- package/components/table-filter.style.js +0 -39
- package/components/table-filter.style.js.map +0 -1
- package/components/table-filter.variables.d.ts +0 -2
- package/components/table-filter.variables.d.ts.map +0 -1
- package/components/table-filter.variables.js +0 -17
- package/components/table-filter.variables.js.map +0 -1
- package/components/table-pagination.style.d.ts +0 -2
- package/components/table-pagination.style.d.ts.map +0 -1
- package/components/table-pagination.style.js +0 -102
- package/components/table-pagination.style.js.map +0 -1
- package/components/table-pagination.variables.d.ts +0 -2
- package/components/table-pagination.variables.d.ts.map +0 -1
- package/components/table-pagination.variables.js +0 -17
- package/components/table-pagination.variables.js.map +0 -1
- package/demo/table-demo.d.ts +0 -17
- package/demo/table-demo.d.ts.map +0 -1
- package/demo/table-demo.js +0 -166
- package/demo/table-demo.js.map +0 -1
- package/index.d.ts.map +0 -1
- package/react.d.ts.map +0 -1
- package/table.component.d.ts.map +0 -1
- package/table.style.d.ts.map +0 -1
- package/table.types.d.ts.map +0 -1
- package/test/hy-table-actions_test.d.ts +0 -2
- package/test/hy-table-actions_test.d.ts.map +0 -1
- package/test/hy-table-actions_test.js +0 -32
- package/test/hy-table-actions_test.js.map +0 -1
- package/test/hy-table-content_test.d.ts +0 -2
- package/test/hy-table-content_test.d.ts.map +0 -1
- package/test/hy-table-content_test.js +0 -168
- package/test/hy-table-content_test.js.map +0 -1
- package/test/hy-table-filter_test.d.ts +0 -2
- package/test/hy-table-filter_test.d.ts.map +0 -1
- package/test/hy-table-filter_test.js +0 -80
- package/test/hy-table-filter_test.js.map +0 -1
- package/test/hy-table-pagination_test.d.ts +0 -2
- package/test/hy-table-pagination_test.d.ts.map +0 -1
- package/test/hy-table-pagination_test.js +0 -114
- package/test/hy-table-pagination_test.js.map +0 -1
- package/test/hy-table_test.d.ts +0 -2
- package/test/hy-table_test.d.ts.map +0 -1
- package/test/hy-table_test.js +0 -145
- package/test/hy-table_test.js.map +0 -1
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html, nothing } from 'lit';
|
|
8
|
-
import { customElement, property, state } from 'lit/decorators.js';
|
|
9
|
-
import { styles } from './table-pagination.style.js';
|
|
10
|
-
import { repeat } from 'lit/directives/repeat.js';
|
|
11
|
-
import { Sizes } from '../table.types.js';
|
|
12
|
-
let HyTablePagination = class HyTablePagination extends LitElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.enableNext = true;
|
|
16
|
-
this.enablePrevious = true;
|
|
17
|
-
}
|
|
18
|
-
willUpdate(_changedProperties) {
|
|
19
|
-
this.numberOfPages = Math.ceil(this.numberOfItems / this.selectedItemPerPage);
|
|
20
|
-
this.fromItem =
|
|
21
|
-
this.currentPage > 0 ? this.currentPage * this.selectedItemPerPage - this.selectedItemPerPage + 1 : 0;
|
|
22
|
-
this.toItem =
|
|
23
|
-
this.currentPage * this.selectedItemPerPage <= this.numberOfItems
|
|
24
|
-
? this.currentPage * this.selectedItemPerPage
|
|
25
|
-
: this.numberOfItems;
|
|
26
|
-
this.enableNext = this.toItem < this.numberOfItems;
|
|
27
|
-
this.enablePrevious = this.fromItem > 1;
|
|
28
|
-
}
|
|
29
|
-
_handleItemPerPageChange(itemPerPageEvent) {
|
|
30
|
-
this.selectedItemPerPage = +itemPerPageEvent.target.value;
|
|
31
|
-
this.dispatchEvent(new CustomEvent('item-per-page', { detail: { selectedItemPerPage: this.selectedItemPerPage } }));
|
|
32
|
-
}
|
|
33
|
-
_nextPage() {
|
|
34
|
-
this.currentPage++;
|
|
35
|
-
this.dispatchEvent(new CustomEvent('update-page', { detail: { page: this.currentPage } }));
|
|
36
|
-
}
|
|
37
|
-
_previousPage() {
|
|
38
|
-
this.currentPage--;
|
|
39
|
-
this.dispatchEvent(new CustomEvent('update-page', { detail: { page: this.currentPage } }));
|
|
40
|
-
}
|
|
41
|
-
render() {
|
|
42
|
-
return html `
|
|
43
|
-
<div class="pagination-container">
|
|
44
|
-
<div class="left-content">
|
|
45
|
-
<span class="select-details">
|
|
46
|
-
Items per page:
|
|
47
|
-
<select @change=${this._handleItemPerPageChange}>
|
|
48
|
-
${repeat(this.itemPerPage, (item) => html ` <option value=${item}>${item}</option> `)}
|
|
49
|
-
</select>
|
|
50
|
-
</span>
|
|
51
|
-
<span class="items-details"> ${this.fromItem} - ${this.toItem} of ${this.numberOfItems} items</span>
|
|
52
|
-
</div>
|
|
53
|
-
|
|
54
|
-
<div class="right-content">
|
|
55
|
-
<span class="page-details"> ${this.currentPage} of ${this.numberOfPages} pages </span>
|
|
56
|
-
<span class="icon-container">
|
|
57
|
-
<hy-icon
|
|
58
|
-
class="left-arrow"
|
|
59
|
-
data-enabled=${this.enablePrevious}
|
|
60
|
-
name="caret-left"
|
|
61
|
-
@click=${this.enablePrevious ? this._previousPage : nothing}
|
|
62
|
-
></hy-icon>
|
|
63
|
-
|
|
64
|
-
<hy-icon
|
|
65
|
-
class="right-arrow"
|
|
66
|
-
data-enabled=${this.enableNext}
|
|
67
|
-
name="caret-right"
|
|
68
|
-
@click=${this.enableNext ? this._nextPage : nothing}
|
|
69
|
-
></hy-icon>
|
|
70
|
-
</span>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
`;
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
HyTablePagination.styles = styles;
|
|
77
|
-
__decorate([
|
|
78
|
-
property()
|
|
79
|
-
], HyTablePagination.prototype, "numberOfItems", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
property()
|
|
82
|
-
], HyTablePagination.prototype, "itemPerPage", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
property()
|
|
85
|
-
], HyTablePagination.prototype, "selectedItemPerPage", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
property()
|
|
88
|
-
], HyTablePagination.prototype, "currentPage", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
property({ type: Sizes, reflect: true })
|
|
91
|
-
], HyTablePagination.prototype, "size", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
state()
|
|
94
|
-
], HyTablePagination.prototype, "numberOfPages", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
state()
|
|
97
|
-
], HyTablePagination.prototype, "fromItem", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
state()
|
|
100
|
-
], HyTablePagination.prototype, "toItem", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
state()
|
|
103
|
-
], HyTablePagination.prototype, "enableNext", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
state()
|
|
106
|
-
], HyTablePagination.prototype, "enablePrevious", void 0);
|
|
107
|
-
HyTablePagination = __decorate([
|
|
108
|
-
customElement('hy-table-pagination')
|
|
109
|
-
], HyTablePagination);
|
|
110
|
-
export { HyTablePagination };
|
|
111
|
-
//# sourceMappingURL=hy-table-pagination.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hy-table-pagination.js","sourceRoot":"","sources":["../../../../src/components/table/components/hy-table-pagination.ts"],"names":[],"mappings":"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","sourcesContent":["import {LitElement, PropertyValueMap, html, nothing} from 'lit';\nimport {customElement, property, state} from 'lit/decorators.js';\nimport {styles} from './table-pagination.style.js';\nimport {repeat} from 'lit/directives/repeat.js';\nimport {Sizes} from '../table.types.js';\n\n@customElement('hy-table-pagination')\nexport class HyTablePagination extends LitElement {\n @property()\n numberOfItems!: number;\n @property()\n itemPerPage!: number[];\n @property()\n selectedItemPerPage!: number;\n @property()\n currentPage!: number;\n @property({type: Sizes, reflect: true}) size!: Sizes;\n\n @state()\n numberOfPages!: number;\n @state()\n fromItem!: number;\n @state()\n toItem!: number;\n @state()\n enableNext = true;\n @state()\n enablePrevious = true;\n\n override willUpdate(_changedProperties: PropertyValueMap<this>): void {\n this.numberOfPages = Math.ceil(this.numberOfItems / this.selectedItemPerPage);\n this.fromItem =\n this.currentPage > 0 ? this.currentPage * this.selectedItemPerPage - this.selectedItemPerPage + 1 : 0;\n this.toItem =\n this.currentPage * this.selectedItemPerPage <= this.numberOfItems\n ? this.currentPage * this.selectedItemPerPage\n : this.numberOfItems;\n this.enableNext = this.toItem < this.numberOfItems;\n this.enablePrevious = this.fromItem > 1;\n }\n\n _handleItemPerPageChange(itemPerPageEvent: Event) {\n this.selectedItemPerPage = +(itemPerPageEvent.target as HTMLSelectElement).value;\n this.dispatchEvent(new CustomEvent('item-per-page', {detail: {selectedItemPerPage: this.selectedItemPerPage}}));\n }\n\n _nextPage() {\n this.currentPage++;\n this.dispatchEvent(new CustomEvent('update-page', {detail: {page: this.currentPage}}));\n }\n _previousPage() {\n this.currentPage--;\n this.dispatchEvent(new CustomEvent('update-page', {detail: {page: this.currentPage}}));\n }\n\n override render() {\n return html`\n <div class=\"pagination-container\">\n <div class=\"left-content\">\n <span class=\"select-details\">\n Items per page:\n <select @change=${this._handleItemPerPageChange}>\n ${repeat(this.itemPerPage, (item) => html` <option value=${item}>${item}</option> `)}\n </select>\n </span>\n <span class=\"items-details\"> ${this.fromItem} - ${this.toItem} of ${this.numberOfItems} items</span>\n </div>\n\n <div class=\"right-content\">\n <span class=\"page-details\"> ${this.currentPage} of ${this.numberOfPages} pages </span>\n <span class=\"icon-container\">\n <hy-icon\n class=\"left-arrow\"\n data-enabled=${this.enablePrevious}\n name=\"caret-left\"\n @click=${this.enablePrevious ? this._previousPage : nothing}\n ></hy-icon>\n\n <hy-icon\n class=\"right-arrow\"\n data-enabled=${this.enableNext}\n name=\"caret-right\"\n @click=${this.enableNext ? this._nextPage : nothing}\n ></hy-icon>\n </span>\n </div>\n </div>\n `;\n }\n static override styles = styles;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-actions.style.d.ts","sourceRoot":"","sources":["../../../../src/components/table/components/table-actions.style.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,MAAM,2BAAsC,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
import { styleVariables } from './table-actions.variables.js';
|
|
3
|
-
const tableActionsStyle = css `
|
|
4
|
-
.actions-container {
|
|
5
|
-
background-color: var(--hybrid-actions-background-color);
|
|
6
|
-
padding: 10px;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
color: var(--hybrid-actions-text-color);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.actions-container button {
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
border: none;
|
|
16
|
-
color: var(--hybrid-actions-text-color);
|
|
17
|
-
background-color: var(--hybrid-actions-background-color);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.actions-container {
|
|
21
|
-
padding: 10px;
|
|
22
|
-
}
|
|
23
|
-
:host([size='small']) .actions-container {
|
|
24
|
-
padding: 5px;
|
|
25
|
-
}
|
|
26
|
-
:host([size='large']) .actions-container {
|
|
27
|
-
padding: 15px;
|
|
28
|
-
}
|
|
29
|
-
`;
|
|
30
|
-
export const styles = [tableActionsStyle, styleVariables];
|
|
31
|
-
//# sourceMappingURL=table-actions.style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-actions.style.js","sourceRoot":"","sources":["../../../../src/components/table/components/table-actions.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAE5D,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B5B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC","sourcesContent":["import {css} from 'lit';\nimport {styleVariables} from './table-actions.variables.js';\n\nconst tableActionsStyle = css`\n .actions-container {\n background-color: var(--hybrid-actions-background-color);\n padding: 10px;\n box-sizing: border-box;\n display: flex;\n justify-content: space-between;\n color: var(--hybrid-actions-text-color);\n }\n\n .actions-container button {\n cursor: pointer;\n border: none;\n color: var(--hybrid-actions-text-color);\n background-color: var(--hybrid-actions-background-color);\n }\n\n .actions-container {\n padding: 10px;\n }\n :host([size='small']) .actions-container {\n padding: 5px;\n }\n :host([size='large']) .actions-container {\n padding: 15px;\n }\n`;\n\nexport const styles = [tableActionsStyle, styleVariables];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-actions.variables.d.ts","sourceRoot":"","sources":["../../../../src/components/table/components/table-actions.variables.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yBAU1B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
export const styleVariables = css `
|
|
3
|
-
:host {
|
|
4
|
-
--hybrid-actions-text-color: #ffffff;
|
|
5
|
-
--hybrid-actions-background-color: #0f62fe;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@media (prefers-color-scheme: dark) {
|
|
9
|
-
:host {
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
`;
|
|
13
|
-
//# sourceMappingURL=table-actions.variables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-actions.variables.js","sourceRoot":"","sources":["../../../../src/components/table/components/table-actions.variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;CAUhC,CAAC","sourcesContent":["import {css} from 'lit';\n\nexport const styleVariables = css`\n :host {\n --hybrid-actions-text-color: #ffffff;\n --hybrid-actions-background-color: #0f62fe;\n }\n\n @media (prefers-color-scheme: dark) {\n :host {\n }\n }\n`;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-content.style.d.ts","sourceRoot":"","sources":["../../../../src/components/table/components/table-content.style.ts"],"names":[],"mappings":"AA6EA,eAAO,MAAM,MAAM,2BAAsC,CAAC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
import { styleVariables } from './table-content.variables.js';
|
|
3
|
-
const tableContentStyle = css `
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
overflow: auto;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
input[type='checkbox'][data-indeterminate='true']::after {
|
|
10
|
-
width: 13px;
|
|
11
|
-
height: 13px;
|
|
12
|
-
background-color: var(--hybrid-table-input-color);
|
|
13
|
-
color: var(--hybrid-table-checkbox-some-checked-sign-color);
|
|
14
|
-
display: flex;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
align-items: center;
|
|
17
|
-
content: '-';
|
|
18
|
-
}
|
|
19
|
-
table {
|
|
20
|
-
width: 100%;
|
|
21
|
-
border-spacing: 0px;
|
|
22
|
-
color: var(--hybrid-table-text-color);
|
|
23
|
-
}
|
|
24
|
-
td {
|
|
25
|
-
text-align: center;
|
|
26
|
-
border-bottom: var(--hybrid-table-column-border);
|
|
27
|
-
}
|
|
28
|
-
th {
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
}
|
|
31
|
-
th span {
|
|
32
|
-
display: flex;
|
|
33
|
-
justify-content: center;
|
|
34
|
-
gap: 10px;
|
|
35
|
-
}
|
|
36
|
-
hy-icon {
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
align-items: center;
|
|
40
|
-
--hybrid-icon-color: var(--hybrid-table-text-color);
|
|
41
|
-
}
|
|
42
|
-
tr {
|
|
43
|
-
background-color: var(--hybrid-table-row-background-color);
|
|
44
|
-
}
|
|
45
|
-
tr:hover {
|
|
46
|
-
background-color: var(--hybrid-table-row-hover-background-color);
|
|
47
|
-
}
|
|
48
|
-
tr:first-child {
|
|
49
|
-
background-color: var(--hybrid-table-header-background-color);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
tr:has(:not(th) > input:checked) {
|
|
53
|
-
background-color: var(--hybrid-table-row-checked-background-color);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
td,
|
|
57
|
-
th {
|
|
58
|
-
padding: 10px;
|
|
59
|
-
}
|
|
60
|
-
input,
|
|
61
|
-
.expand-icon {
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
accent-color: var(--hybrid-table-input-color);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
:host([size='small']) td,
|
|
67
|
-
:host([size='small']) th {
|
|
68
|
-
padding: 5px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
:host([size='large']) td,
|
|
72
|
-
:host([size='large']) th {
|
|
73
|
-
padding: 15px;
|
|
74
|
-
}
|
|
75
|
-
`;
|
|
76
|
-
export const styles = [tableContentStyle, styleVariables];
|
|
77
|
-
//# sourceMappingURL=table-content.style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-content.style.js","sourceRoot":"","sources":["../../../../src/components/table/components/table-content.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAE5D,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwE5B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC","sourcesContent":["import {css} from 'lit';\nimport {styleVariables} from './table-content.variables.js';\n\nconst tableContentStyle = css`\n :host {\n display: block;\n overflow: auto;\n }\n\n input[type='checkbox'][data-indeterminate='true']::after {\n width: 13px;\n height: 13px;\n background-color: var(--hybrid-table-input-color);\n color: var(--hybrid-table-checkbox-some-checked-sign-color);\n display: flex;\n justify-content: center;\n align-items: center;\n content: '-';\n }\n table {\n width: 100%;\n border-spacing: 0px;\n color: var(--hybrid-table-text-color);\n }\n td {\n text-align: center;\n border-bottom: var(--hybrid-table-column-border);\n }\n th {\n cursor: pointer;\n }\n th span {\n display: flex;\n justify-content: center;\n gap: 10px;\n }\n hy-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n --hybrid-icon-color: var(--hybrid-table-text-color);\n }\n tr {\n background-color: var(--hybrid-table-row-background-color);\n }\n tr:hover {\n background-color: var(--hybrid-table-row-hover-background-color);\n }\n tr:first-child {\n background-color: var(--hybrid-table-header-background-color);\n }\n\n tr:has(:not(th) > input:checked) {\n background-color: var(--hybrid-table-row-checked-background-color);\n }\n\n td,\n th {\n padding: 10px;\n }\n input,\n .expand-icon {\n cursor: pointer;\n accent-color: var(--hybrid-table-input-color);\n }\n\n :host([size='small']) td,\n :host([size='small']) th {\n padding: 5px;\n }\n\n :host([size='large']) td,\n :host([size='large']) th {\n padding: 15px;\n }\n`;\n\nexport const styles = [tableContentStyle, styleVariables];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-content.variables.d.ts","sourceRoot":"","sources":["../../../../src/components/table/components/table-content.variables.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yBA0B1B,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
export const styleVariables = css `
|
|
3
|
-
:host {
|
|
4
|
-
--hybrid-table-text-color: #161616;
|
|
5
|
-
--hybrid-table-input-color: #161616;
|
|
6
|
-
--hybrid-table-column-border: 1px solid #e0e0e0;
|
|
7
|
-
--hybrid-table-row-background-color: #f4f4f4;
|
|
8
|
-
--hybrid-table-row-checked-background-color: #e5e5e5;
|
|
9
|
-
--hybrid-table-row-hover-background-color: #d3d3d3;
|
|
10
|
-
--hybrid-table-header-background-color: #e0e0e0;
|
|
11
|
-
--hybrid-table-checkbox-some-checked-background-color: #161616;
|
|
12
|
-
--hybrid-table-checkbox-some-checked-sign-color: #ffffff;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@media (prefers-color-scheme: dark) {
|
|
16
|
-
:host {
|
|
17
|
-
--hybrid-table-text-color: #f4f4f4;
|
|
18
|
-
--hybrid-table-input-color: #ffffff;
|
|
19
|
-
--hybrid-table-column-border: 1px solid #8d8d8d;
|
|
20
|
-
--hybrid-table-row-background-color: #393939;
|
|
21
|
-
--hybrid-table-header-background-color: #525252;
|
|
22
|
-
--hybrid-table-row-hover-background-color: #525252;
|
|
23
|
-
--hybrid-table-row-checked-background-color: #6f6f6f;
|
|
24
|
-
--hybrid-table-checkbox-some-checked-background-color: #ffffff;
|
|
25
|
-
--hybrid-table-checkbox-some-checked-sign-color: #161616;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
`;
|
|
29
|
-
//# sourceMappingURL=table-content.variables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-content.variables.js","sourceRoot":"","sources":["../../../../src/components/table/components/table-content.variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BhC,CAAC","sourcesContent":["import {css} from 'lit';\n\nexport const styleVariables = css`\n :host {\n --hybrid-table-text-color: #161616;\n --hybrid-table-input-color: #161616;\n --hybrid-table-column-border: 1px solid #e0e0e0;\n --hybrid-table-row-background-color: #f4f4f4;\n --hybrid-table-row-checked-background-color: #e5e5e5;\n --hybrid-table-row-hover-background-color: #d3d3d3;\n --hybrid-table-header-background-color: #e0e0e0;\n --hybrid-table-checkbox-some-checked-background-color: #161616;\n --hybrid-table-checkbox-some-checked-sign-color: #ffffff;\n }\n\n @media (prefers-color-scheme: dark) {\n :host {\n --hybrid-table-text-color: #f4f4f4;\n --hybrid-table-input-color: #ffffff;\n --hybrid-table-column-border: 1px solid #8d8d8d;\n --hybrid-table-row-background-color: #393939;\n --hybrid-table-header-background-color: #525252;\n --hybrid-table-row-hover-background-color: #525252;\n --hybrid-table-row-checked-background-color: #6f6f6f;\n --hybrid-table-checkbox-some-checked-background-color: #ffffff;\n --hybrid-table-checkbox-some-checked-sign-color: #161616;\n }\n }\n`;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-filter.style.d.ts","sourceRoot":"","sources":["../../../../src/components/table/components/table-filter.style.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAM,MAAM,2BAAsC,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
import { styleVariables } from './table-filter.variables.js';
|
|
3
|
-
const tableActionsStyle = css `
|
|
4
|
-
:host([showInput]) {
|
|
5
|
-
width: 100%;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.filter-container {
|
|
9
|
-
position: relative;
|
|
10
|
-
margin-bottom: 5px;
|
|
11
|
-
}
|
|
12
|
-
.filter-container input {
|
|
13
|
-
padding: 5px;
|
|
14
|
-
padding-left: 30px;
|
|
15
|
-
width: 100%;
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
background-color: var(--hybrid-filter-input-background-color);
|
|
18
|
-
color: var(--hybrid-filter-input-text-color);
|
|
19
|
-
}
|
|
20
|
-
input:focus {
|
|
21
|
-
outline-style: none;
|
|
22
|
-
border: var(--hybrid-filter-focused-input-border);
|
|
23
|
-
}
|
|
24
|
-
.icon-container {
|
|
25
|
-
height: 25px;
|
|
26
|
-
width: 35px;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
display: flex;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
align-items: center;
|
|
31
|
-
}
|
|
32
|
-
.search-icon {
|
|
33
|
-
position: absolute;
|
|
34
|
-
left: 10px;
|
|
35
|
-
top: 25%;
|
|
36
|
-
}
|
|
37
|
-
`;
|
|
38
|
-
export const styles = [tableActionsStyle, styleVariables];
|
|
39
|
-
//# sourceMappingURL=table-filter.style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-filter.style.js","sourceRoot":"","sources":["../../../../src/components/table/components/table-filter.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,cAAc,EAAC,MAAM,6BAA6B,CAAC;AAC3D,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC5B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC","sourcesContent":["import {css} from 'lit';\nimport {styleVariables} from './table-filter.variables.js';\nconst tableActionsStyle = css`\n :host([showInput]) {\n width: 100%;\n }\n\n .filter-container {\n position: relative;\n margin-bottom: 5px;\n }\n .filter-container input {\n padding: 5px;\n padding-left: 30px;\n width: 100%;\n box-sizing: border-box;\n background-color: var(--hybrid-filter-input-background-color);\n color: var(--hybrid-filter-input-text-color);\n }\n input:focus {\n outline-style: none;\n border: var(--hybrid-filter-focused-input-border);\n }\n .icon-container {\n height: 25px;\n width: 35px;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .search-icon {\n position: absolute;\n left: 10px;\n top: 25%;\n }\n`;\n\nexport const styles = [tableActionsStyle, styleVariables];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-filter.variables.d.ts","sourceRoot":"","sources":["../../../../src/components/table/components/table-filter.variables.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yBAc1B,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
export const styleVariables = css `
|
|
3
|
-
:host {
|
|
4
|
-
--hybrid-filter-input-background-color: #ffffff;
|
|
5
|
-
--hybrid-filter-input-text-color: #000000;
|
|
6
|
-
--hybrid-filter-focused-input-border: 1px solid #e0e0e0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@media (prefers-color-scheme: dark) {
|
|
10
|
-
:host {
|
|
11
|
-
--hybrid-filter-input-background-color: #393939;
|
|
12
|
-
--hybrid-filter-focused-input-border: 1px solid #393939;
|
|
13
|
-
--hybrid-filter-input-text-color: #c6c6c6;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
17
|
-
//# sourceMappingURL=table-filter.variables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-filter.variables.js","sourceRoot":"","sources":["../../../../src/components/table/components/table-filter.variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;CAchC,CAAC","sourcesContent":["import {css} from 'lit';\n\nexport const styleVariables = css`\n :host {\n --hybrid-filter-input-background-color: #ffffff;\n --hybrid-filter-input-text-color: #000000;\n --hybrid-filter-focused-input-border: 1px solid #e0e0e0;\n }\n\n @media (prefers-color-scheme: dark) {\n :host {\n --hybrid-filter-input-background-color: #393939;\n --hybrid-filter-focused-input-border: 1px solid #393939;\n --hybrid-filter-input-text-color: #c6c6c6;\n }\n }\n`;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-pagination.style.d.ts","sourceRoot":"","sources":["../../../../src/components/table/components/table-pagination.style.ts"],"names":[],"mappings":"AAsGA,eAAO,MAAM,MAAM,2BAAyC,CAAC"}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
import { styleVariables } from './table-pagination.variables.js';
|
|
3
|
-
const tablePaginationStyle = css `
|
|
4
|
-
.pagination-container {
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
background-color: var(--hybrid-pagination-background-color);
|
|
8
|
-
color: var(--hybrid-pagination-text-color);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.left-content {
|
|
12
|
-
display: flex;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
}
|
|
15
|
-
.left-content .items-details {
|
|
16
|
-
border-left: var(--hybrid-pagination-borders);
|
|
17
|
-
padding: 10px;
|
|
18
|
-
}
|
|
19
|
-
.right-arrow,
|
|
20
|
-
.left-arrow {
|
|
21
|
-
--hybrid-icon-color: var(--hybrid-pagination-text-color);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:host([size='small']) .left-content .items-details {
|
|
25
|
-
padding: 5px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
:host([size='large']) .left-content .items-details {
|
|
29
|
-
padding: 15px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.left-content .select-details {
|
|
33
|
-
padding: 10px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
:host([size='small']) .left-content .select-details {
|
|
37
|
-
padding: 5px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
:host([size='large']) .left-content .select-details {
|
|
41
|
-
padding: 15px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.right-content {
|
|
45
|
-
display: flex;
|
|
46
|
-
justify-content: space-between;
|
|
47
|
-
border-left: var(--hybrid-pagination-borders);
|
|
48
|
-
}
|
|
49
|
-
.right-content .icon-container {
|
|
50
|
-
display: flex;
|
|
51
|
-
justify-content: space-between;
|
|
52
|
-
border-left: var(--hybrid-pagination-borders);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.right-content .page-details {
|
|
56
|
-
padding: 10px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:host([size='small']) .right-content .page-details {
|
|
60
|
-
padding: 5px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
:host([size='large']) .right-content .page-details {
|
|
64
|
-
padding: 15px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.icon-container .left-arrow,
|
|
68
|
-
.icon-container .right-arrow {
|
|
69
|
-
padding: 10px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
:host([size='small']) .icon-container .left-arrow,
|
|
73
|
-
:host([size='small']) .icon-container .right-arrow {
|
|
74
|
-
padding: 5px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
:host([size='large']) .icon-container .left-arrow,
|
|
78
|
-
:host([size='large']) .icon-container .right-arrow {
|
|
79
|
-
padding: 15px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.icon-container .left-arrow {
|
|
83
|
-
border-right: var(--hybrid-pagination-borders);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
select {
|
|
87
|
-
border: none;
|
|
88
|
-
background-color: var(--hybrid-pagination-background-color);
|
|
89
|
-
cursor: pointer;
|
|
90
|
-
color: var(--hybrid-pagination-text-color);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
hy-icon[data-enabled='false'] {
|
|
94
|
-
cursor: not-allowed;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
hy-icon[data-enabled='true'] {
|
|
98
|
-
cursor: pointer;
|
|
99
|
-
}
|
|
100
|
-
`;
|
|
101
|
-
export const styles = [tablePaginationStyle, styleVariables];
|
|
102
|
-
//# sourceMappingURL=table-pagination.style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-pagination.style.js","sourceRoot":"","sources":["../../../../src/components/table/components/table-pagination.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,EAAC,cAAc,EAAC,MAAM,iCAAiC,CAAC;AAE/D,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiG/B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,oBAAoB,EAAE,cAAc,CAAC,CAAC","sourcesContent":["import {css} from 'lit';\nimport {styleVariables} from './table-pagination.variables.js';\n\nconst tablePaginationStyle = css`\n .pagination-container {\n display: flex;\n justify-content: space-between;\n background-color: var(--hybrid-pagination-background-color);\n color: var(--hybrid-pagination-text-color);\n }\n\n .left-content {\n display: flex;\n justify-content: space-between;\n }\n .left-content .items-details {\n border-left: var(--hybrid-pagination-borders);\n padding: 10px;\n }\n .right-arrow,\n .left-arrow {\n --hybrid-icon-color: var(--hybrid-pagination-text-color);\n }\n\n :host([size='small']) .left-content .items-details {\n padding: 5px;\n }\n\n :host([size='large']) .left-content .items-details {\n padding: 15px;\n }\n\n .left-content .select-details {\n padding: 10px;\n }\n\n :host([size='small']) .left-content .select-details {\n padding: 5px;\n }\n\n :host([size='large']) .left-content .select-details {\n padding: 15px;\n }\n\n .right-content {\n display: flex;\n justify-content: space-between;\n border-left: var(--hybrid-pagination-borders);\n }\n .right-content .icon-container {\n display: flex;\n justify-content: space-between;\n border-left: var(--hybrid-pagination-borders);\n }\n\n .right-content .page-details {\n padding: 10px;\n }\n\n :host([size='small']) .right-content .page-details {\n padding: 5px;\n }\n\n :host([size='large']) .right-content .page-details {\n padding: 15px;\n }\n\n .icon-container .left-arrow,\n .icon-container .right-arrow {\n padding: 10px;\n }\n\n :host([size='small']) .icon-container .left-arrow,\n :host([size='small']) .icon-container .right-arrow {\n padding: 5px;\n }\n\n :host([size='large']) .icon-container .left-arrow,\n :host([size='large']) .icon-container .right-arrow {\n padding: 15px;\n }\n\n .icon-container .left-arrow {\n border-right: var(--hybrid-pagination-borders);\n }\n\n select {\n border: none;\n background-color: var(--hybrid-pagination-background-color);\n cursor: pointer;\n color: var(--hybrid-pagination-text-color);\n }\n\n hy-icon[data-enabled='false'] {\n cursor: not-allowed;\n }\n\n hy-icon[data-enabled='true'] {\n cursor: pointer;\n }\n`;\n\nexport const styles = [tablePaginationStyle, styleVariables];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-pagination.variables.d.ts","sourceRoot":"","sources":["../../../../src/components/table/components/table-pagination.variables.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yBAc1B,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
export const styleVariables = css `
|
|
3
|
-
:host {
|
|
4
|
-
--hybrid-pagination-background-color: #f4f4f4;
|
|
5
|
-
--hybrid-pagination-text-color: #161616;
|
|
6
|
-
--hybrid-pagination-borders: 1px solid #e0e0e0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@media (prefers-color-scheme: dark) {
|
|
10
|
-
:host {
|
|
11
|
-
--hybrid-pagination-background-color: #393939;
|
|
12
|
-
--hybrid-pagination-text-color: #f4f4f4;
|
|
13
|
-
--hybrid-pagination-borders: 1px solid #8d8d8d;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
17
|
-
//# sourceMappingURL=table-pagination.variables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-pagination.variables.js","sourceRoot":"","sources":["../../../../src/components/table/components/table-pagination.variables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;CAchC,CAAC","sourcesContent":["import {css} from 'lit';\n\nexport const styleVariables = css`\n :host {\n --hybrid-pagination-background-color: #f4f4f4;\n --hybrid-pagination-text-color: #161616;\n --hybrid-pagination-borders: 1px solid #e0e0e0;\n }\n\n @media (prefers-color-scheme: dark) {\n :host {\n --hybrid-pagination-background-color: #393939;\n --hybrid-pagination-text-color: #f4f4f4;\n --hybrid-pagination-borders: 1px solid #8d8d8d;\n }\n }\n`;\n"]}
|
package/demo/table-demo.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class TableDemo extends LitElement {
|
|
3
|
-
headers: {
|
|
4
|
-
name: string;
|
|
5
|
-
key: string;
|
|
6
|
-
}[];
|
|
7
|
-
rows: {
|
|
8
|
-
id: number;
|
|
9
|
-
status: string;
|
|
10
|
-
priority: string;
|
|
11
|
-
title: string;
|
|
12
|
-
assignee: string;
|
|
13
|
-
}[];
|
|
14
|
-
static styles: import("lit").CSSResult[];
|
|
15
|
-
render(): import("lit").TemplateResult<1>;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=table-demo.d.ts.map
|
package/demo/table-demo.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-demo.d.ts","sourceRoot":"","sources":["../../../../src/components/table/demo/table-demo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAY,MAAM,KAAK,CAAC;AAG1C,qBAAa,SAAU,SAAQ,UAAU;IAEvC,OAAO;;;QAqBL;IAGF,IAAI;;;;;;QAyDF;IACF,OAAgB,MAAM,4BAOpB;IACO,MAAM;CAyDhB"}
|