sp-component 0.0.2 → 0.0.3

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 (114) hide show
  1. package/dist/components/accordion/sp-accordion-item.css.js +1 -1
  2. package/dist/components/accordion/sp-accordion.css.js +1 -1
  3. package/dist/components/alert/sp-alert.css.js +1 -1
  4. package/dist/components/autocomplete/sp-autocomplete.css.js +1 -1
  5. package/dist/components/autocomplete/sp-autocomplete.template.d.ts.map +1 -1
  6. package/dist/components/autocomplete/sp-autocomplete.template.js +14 -13
  7. package/dist/components/avatar/sp-avatar.css.js +1 -1
  8. package/dist/components/badge/sp-badge.css.js +1 -1
  9. package/dist/components/badge/sp-badge.d.ts +2 -0
  10. package/dist/components/badge/sp-badge.d.ts.map +1 -1
  11. package/dist/components/badge/sp-badge.js +34 -31
  12. package/dist/components/breadcrumb/sp-breadcrumb-item.css.js +1 -1
  13. package/dist/components/breadcrumb/sp-breadcrumb.css.js +1 -1
  14. package/dist/components/button/sp-button.css.js +1 -1
  15. package/dist/components/calendar/sp-calendar-date-picker.css.js +1 -1
  16. package/dist/components/calendar/sp-calendar.css.js +1 -1
  17. package/dist/components/calendar/sp-calendar.d.ts +1 -0
  18. package/dist/components/calendar/sp-calendar.d.ts.map +1 -1
  19. package/dist/components/calendar/sp-calendar.js +29 -29
  20. package/dist/components/card/sp-card.css.js +1 -1
  21. package/dist/components/card/sp-card.template.d.ts.map +1 -1
  22. package/dist/components/card/sp-card.template.js +25 -16
  23. package/dist/components/carousel/sp-carousel-slide.css.js +2 -2
  24. package/dist/components/carousel/sp-carousel.css.js +1 -1
  25. package/dist/components/checkbox/sp-checkbox.css.js +1 -1
  26. package/dist/components/checkbox-group/sp-checkbox-group.css.js +1 -1
  27. package/dist/components/color-picker/sp-color-picker.css.js +1 -1
  28. package/dist/components/color-picker/sp-color-picker.template.d.ts.map +1 -1
  29. package/dist/components/color-picker/sp-color-picker.template.js +15 -14
  30. package/dist/components/combobox/sp-combobox.css.js +1 -1
  31. package/dist/components/combobox/sp-combobox.d.ts.map +1 -1
  32. package/dist/components/combobox/sp-combobox.js +26 -20
  33. package/dist/components/command-palette/sp-command-palette.css.js +1 -1
  34. package/dist/components/confirm-dialog/sp-confirm-dialog.css.js +1 -1
  35. package/dist/components/copy-button/sp-copy-button.css.js +1 -1
  36. package/dist/components/divider/sp-divider.css.js +1 -1
  37. package/dist/components/drawer/sp-drawer.css.js +1 -1
  38. package/dist/components/drawer/sp-drawer.d.ts +4 -0
  39. package/dist/components/drawer/sp-drawer.d.ts.map +1 -1
  40. package/dist/components/drawer/sp-drawer.js +78 -69
  41. package/dist/components/empty-state/sp-empty-state.css.js +1 -1
  42. package/dist/components/file-upload/sp-file-upload.css.js +1 -1
  43. package/dist/components/form-field/sp-form-field.css.js +1 -1
  44. package/dist/components/gallery/sp-gallery.css.js +1 -1
  45. package/dist/components/icon/sp-icon.css.js +2 -2
  46. package/dist/components/input/sp-input.css.js +1 -1
  47. package/dist/components/kbd/sp-kbd.css.js +1 -1
  48. package/dist/components/menu/sp-menu-item.css.js +1 -1
  49. package/dist/components/menu/sp-menu.css.js +1 -1
  50. package/dist/components/menu/sp-menu.d.ts +1 -0
  51. package/dist/components/menu/sp-menu.d.ts.map +1 -1
  52. package/dist/components/menu/sp-menu.js +33 -33
  53. package/dist/components/modal/sp-modal.css.js +1 -1
  54. package/dist/components/modal/sp-modal.d.ts +2 -0
  55. package/dist/components/modal/sp-modal.d.ts.map +1 -1
  56. package/dist/components/modal/sp-modal.js +60 -51
  57. package/dist/components/navbar/sp-navbar.css.js +2 -2
  58. package/dist/components/number-input/sp-number-input.css.js +1 -1
  59. package/dist/components/number-input/sp-number-input.d.ts.map +1 -1
  60. package/dist/components/number-input/sp-number-input.js +55 -52
  61. package/dist/components/otp-input/sp-otp-input.css.js +1 -1
  62. package/dist/components/pagination/sp-pagination.css.js +1 -1
  63. package/dist/components/popover/sp-popover.css.js +1 -1
  64. package/dist/components/progress-bar/sp-progress-bar.css.js +1 -1
  65. package/dist/components/radio/sp-radio-group.css.js +1 -1
  66. package/dist/components/radio/sp-radio.css.js +1 -1
  67. package/dist/components/radio/sp-radio.d.ts +1 -0
  68. package/dist/components/radio/sp-radio.d.ts.map +1 -1
  69. package/dist/components/radio/sp-radio.js +19 -16
  70. package/dist/components/rating/sp-rating.css.js +2 -2
  71. package/dist/components/scroll-area/sp-scroll-area.css.js +1 -1
  72. package/dist/components/scroll-area/sp-scroll-area.d.ts +1 -0
  73. package/dist/components/scroll-area/sp-scroll-area.d.ts.map +1 -1
  74. package/dist/components/scroll-area/sp-scroll-area.js +43 -44
  75. package/dist/components/select/sp-select.css.js +1 -1
  76. package/dist/components/sidebar/sp-sidebar.css.js +1 -1
  77. package/dist/components/skeleton/sp-skeleton.css.js +1 -1
  78. package/dist/components/slider/sp-slider.css.js +1 -1
  79. package/dist/components/spinner/sp-spinner.css.js +1 -1
  80. package/dist/components/split-panel/sp-split-panel.css.js +1 -1
  81. package/dist/components/stat/sp-stat.css.js +1 -1
  82. package/dist/components/stepper/sp-stepper.css.js +1 -1
  83. package/dist/components/switch/sp-switch.css.js +1 -1
  84. package/dist/components/table/sp-table.css.js +1 -1
  85. package/dist/components/table/sp-table.d.ts +80 -17
  86. package/dist/components/table/sp-table.d.ts.map +1 -1
  87. package/dist/components/table/sp-table.js +237 -82
  88. package/dist/components/table/sp-table.template.d.ts.map +1 -1
  89. package/dist/components/table/sp-table.template.js +337 -67
  90. package/dist/components/table/sp-table.types.d.ts +22 -0
  91. package/dist/components/table/sp-table.types.d.ts.map +1 -1
  92. package/dist/components/tabs/sp-tab.css.js +2 -2
  93. package/dist/components/tabs/sp-tabs.css.js +1 -1
  94. package/dist/components/tag/sp-tag.css.js +1 -1
  95. package/dist/components/tag-input/sp-tag-input.css.js +2 -2
  96. package/dist/components/textarea/sp-textarea.css.js +1 -1
  97. package/dist/components/time-picker/sp-time-picker.css.js +1 -1
  98. package/dist/components/timeline/sp-timeline.css.js +1 -1
  99. package/dist/components/toast/sp-toast.css.js +1 -1
  100. package/dist/components/toast/sp-toast.d.ts +1 -0
  101. package/dist/components/toast/sp-toast.d.ts.map +1 -1
  102. package/dist/components/toast/sp-toast.js +32 -33
  103. package/dist/components/toast-stack/sp-toast-stack.css.js +1 -1
  104. package/dist/components/tooltip/sp-tooltip.css.js +2 -2
  105. package/dist/components/tree/sp-tree-item.css.js +1 -1
  106. package/dist/components/tree/sp-tree.css.js +2 -2
  107. package/dist/components/visually-hidden/sp-visually-hidden.css.js +2 -2
  108. package/dist/config.d.ts +28 -0
  109. package/dist/config.d.ts.map +1 -0
  110. package/dist/config.js +44 -0
  111. package/dist/index.d.ts +2 -0
  112. package/dist/index.d.ts.map +1 -1
  113. package/dist/index.js +2 -0
  114. package/package.json +13 -9
@@ -1,92 +1,247 @@
1
- import { unsafeCSS as c, LitElement as y } from "lit";
2
- import { property as s, state as h, customElement as d } from "lit/decorators.js";
3
- import u from "./sp-table.css.js";
4
- import { tableTemplate as f } from "./sp-table.template.js";
5
- var m = Object.defineProperty, b = Object.getOwnPropertyDescriptor, t = (o, r, i, a) => {
6
- for (var p = a > 1 ? void 0 : a ? b(r, i) : r, l = o.length - 1, n; l >= 0; l--)
7
- (n = o[l]) && (p = (a ? n(r, i, p) : n(p)) || p);
8
- return a && p && m(r, i, p), p;
1
+ import { unsafeCSS as u, LitElement as g } from "lit";
2
+ import { property as l, state as p, customElement as f } from "lit/decorators.js";
3
+ import y from "./sp-table.css.js";
4
+ import { tableTemplate as m } from "./sp-table.template.js";
5
+ var S = Object.defineProperty, b = Object.getOwnPropertyDescriptor, i = (t, e, s, o) => {
6
+ for (var a = o > 1 ? void 0 : o ? b(e, s) : e, h = t.length - 1, n; h >= 0; h--)
7
+ (n = t[h]) && (a = (o ? n(e, s, a) : n(a)) || a);
8
+ return o && a && S(e, s, a), a;
9
9
  };
10
- let e = class extends y {
10
+ let r = class extends g {
11
11
  constructor() {
12
- super(...arguments), this.columns = [], this.data = [], this.loading = !1, this.bordered = !1, this.striped = !1, this.hoverable = !0, this.compact = !1, this.emptyText = "No data available", this.sortKey = "", this.sortDirection = "none", this.stickyHeader = !1, this.selectable = !1, this.caption = "", this.selectedRows = /* @__PURE__ */ new Set(), this._handleRowSelect = (o, r) => {
13
- const i = new Set(this.selectedRows);
14
- r ? i.add(o) : i.delete(o), this.selectedRows = i, this.dispatchEvent(
15
- new CustomEvent("sp-selection-change", {
16
- detail: { indices: Array.from(i) },
17
- bubbles: !0,
18
- composed: !0
19
- })
20
- );
21
- }, this._handleSelectAll = (o) => {
22
- const r = o ? new Set(this.data.map((i, a) => a)) : /* @__PURE__ */ new Set();
23
- this.selectedRows = r, this.dispatchEvent(
24
- new CustomEvent("sp-selection-change", {
25
- detail: { indices: Array.from(r) },
26
- bubbles: !0,
27
- composed: !0
28
- })
29
- );
30
- }, this._handleSort = (o) => {
31
- o.sortable && (this.sortKey === o.key ? (this.sortDirection = this.sortDirection === "asc" ? "desc" : this.sortDirection === "desc" ? "none" : "asc", this.sortDirection === "none" && (this.sortKey = "")) : (this.sortKey = o.key, this.sortDirection = "asc"), this.dispatchEvent(
32
- new CustomEvent("sp-sort", {
33
- detail: { key: this.sortKey, direction: this.sortDirection },
34
- bubbles: !0,
35
- composed: !0
36
- })
12
+ super(...arguments), this.columns = [], this.data = [], this.loading = !1, this.bordered = !1, this.striped = !1, this.hoverable = !0, this.compact = !1, this.emptyText = "No data available", this.sortKey = "", this.sortDirection = "none", this.stickyHeader = !1, this.selectable = !1, this.caption = "", this.reorderable = !1, this.searchable = !1, this.pageSize = 0, this.pageSizeOptions = [10, 25, 50, 100], this.actions = [], this.virtual = !1, this.rowHeight = 48, this.maxHeight = "400px", this.selectedRows = /* @__PURE__ */ new Set(), this._columnOrder = [], this._hiddenCols = /* @__PURE__ */ new Set(), this._filters = {}, this._globalSearch = "", this._page = 1, this._showColPicker = !1, this._dragOverIndex = -1, this._dragFromIndex = -1, this._openFilterCol = null, this._scrollTop = 0, this._containerH = 400, this._onVirtualScroll = (t) => {
13
+ this._scrollTop = t.target.scrollTop;
14
+ }, this._handlePageSizeChange = (t) => {
15
+ this.pageSize = t, this._page = 1, this.selectedRows = /* @__PURE__ */ new Set(), this._emit("sp-page-size-change", { pageSize: t });
16
+ }, this._handleRowSelect = (t, e) => {
17
+ const s = new Set(this.selectedRows);
18
+ e ? s.add(t) : s.delete(t), this.selectedRows = s, this._emit("sp-selection-change", { indices: Array.from(s) });
19
+ }, this._handleSelectAll = (t) => {
20
+ const e = t ? this._pagedData.map((s, o) => o) : [];
21
+ this.selectedRows = new Set(e), this._emit("sp-selection-change", { indices: e });
22
+ }, this._handleSort = (t) => {
23
+ t.sortable && (this.sortKey === t.key ? (this.sortDirection = this.sortDirection === "asc" ? "desc" : this.sortDirection === "desc" ? "none" : "asc", this.sortDirection === "none" && (this.sortKey = "")) : (this.sortKey = t.key, this.sortDirection = "asc"), this._page = 1, this._emit("sp-sort", { key: this.sortKey, direction: this.sortDirection }));
24
+ }, this._handleDragStart = (t, e) => {
25
+ this._dragFromIndex = e, t.dataTransfer && (t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", String(e)));
26
+ }, this._handleDragOver = (t, e) => {
27
+ t.preventDefault(), t.dataTransfer && (t.dataTransfer.dropEffect = "move"), this._dragOverIndex = e;
28
+ }, this._handleDragLeave = () => {
29
+ this._dragOverIndex = -1;
30
+ }, this._handleDrop = (t, e) => {
31
+ var d, _;
32
+ if (t.preventDefault(), this._dragOverIndex = -1, this._dragFromIndex === -1 || this._dragFromIndex === e) return;
33
+ const s = [...this._columnOrder], o = this._orderedColumns, a = (d = o[this._dragFromIndex]) == null ? void 0 : d.key, h = (_ = o[e]) == null ? void 0 : _.key;
34
+ if (!a || !h) return;
35
+ const n = s.indexOf(a), c = s.indexOf(h);
36
+ n === -1 || c === -1 || (s.splice(n, 1), s.splice(c, 0, a), this._columnOrder = s, this._dragFromIndex = -1, this._emit("sp-column-reorder", { order: s }));
37
+ }, this._handleDragEnd = () => {
38
+ this._dragFromIndex = -1, this._dragOverIndex = -1;
39
+ }, this._toggleFilterCol = (t) => {
40
+ this._openFilterCol = this._openFilterCol === t ? null : t;
41
+ }, this._handleFilter = (t, e) => {
42
+ this._filters = { ...this._filters, [t]: e }, this._page = 1, this.selectedRows = /* @__PURE__ */ new Set();
43
+ }, this._handleGlobalSearch = (t) => {
44
+ this._globalSearch = t, this._page = 1, this.selectedRows = /* @__PURE__ */ new Set();
45
+ }, this._clearFilters = () => {
46
+ this._filters = {}, this._globalSearch = "", this._page = 1, this.selectedRows = /* @__PURE__ */ new Set();
47
+ }, this._toggleColumn = (t) => {
48
+ const e = new Set(this._hiddenCols);
49
+ e.has(t) ? e.delete(t) : e.add(t), this._hiddenCols = e;
50
+ }, this._goToPage = (t) => {
51
+ this._page = Math.max(1, Math.min(t, this._totalPages)), this.selectedRows = /* @__PURE__ */ new Set();
52
+ }, this._handleAction = (t, e, s) => {
53
+ t.onClick(e, s), this._emit("sp-row-action", { action: t.label, row: e, index: s });
54
+ };
55
+ }
56
+ // ── Lifecycle ─────────────────────────────────────────────
57
+ firstUpdated() {
58
+ this.virtual && this._setupVirtualScroll();
59
+ }
60
+ updated(t) {
61
+ if (t.has("columns")) {
62
+ const e = this._columnOrder, s = this.columns.map((n) => n.key), o = e.filter((n) => s.includes(n)), a = s.filter((n) => !o.includes(n));
63
+ this._columnOrder = [...o, ...a];
64
+ const h = new Set(this._hiddenCols);
65
+ this.columns.forEach((n) => {
66
+ n.hidden && h.add(n.key);
67
+ }), this._hiddenCols = h, this._page = 1;
68
+ }
69
+ t.has("data") && (this._page = 1, this.selectedRows = /* @__PURE__ */ new Set()), t.has("virtual") && this.virtual && this._setupVirtualScroll();
70
+ }
71
+ disconnectedCallback() {
72
+ var t;
73
+ super.disconnectedCallback(), (t = this._resizeObs) == null || t.disconnect();
74
+ }
75
+ _setupVirtualScroll() {
76
+ const t = this.renderRoot.querySelector(".sp-table-wrapper");
77
+ t && (this._containerH = t.clientHeight || 400, this._resizeObs = new ResizeObserver((e) => {
78
+ var o;
79
+ const s = (o = e[0]) == null ? void 0 : o.contentRect.height;
80
+ s && s > 0 && (this._containerH = s);
81
+ }), this._resizeObs.observe(t));
82
+ }
83
+ // ── Derived getters ───────────────────────────────────────
84
+ get _orderedColumns() {
85
+ if (!this._columnOrder.length) return this.columns;
86
+ const t = new Map(this.columns.map((e) => [e.key, e]));
87
+ return this._columnOrder.map((e) => t.get(e)).filter(Boolean);
88
+ }
89
+ get _visibleColumns() {
90
+ return this._orderedColumns.filter((t) => !this._hiddenCols.has(t.key));
91
+ }
92
+ get _filteredData() {
93
+ let t = this.data;
94
+ const e = this._globalSearch.trim().toLowerCase();
95
+ e && (t = t.filter(
96
+ (s) => Object.values(s).some((o) => String(o ?? "").toLowerCase().includes(e))
97
+ ));
98
+ for (const [s, o] of Object.entries(this._filters)) {
99
+ const a = o.trim().toLowerCase();
100
+ a && (t = t.filter(
101
+ (h) => String(h[s] ?? "").toLowerCase().includes(a)
37
102
  ));
103
+ }
104
+ if (this.sortKey && this.sortDirection !== "none") {
105
+ const s = this.sortDirection === "asc" ? 1 : -1;
106
+ t = [...t].sort((o, a) => {
107
+ const h = String(o[this.sortKey] ?? ""), n = String(a[this.sortKey] ?? "");
108
+ return h.localeCompare(n, void 0, { numeric: !0, sensitivity: "base" }) * s;
109
+ });
110
+ }
111
+ return t;
112
+ }
113
+ get _pagedData() {
114
+ if (this.virtual) return this._filteredData;
115
+ if (!this.pageSize) return this._filteredData;
116
+ const t = (this._page - 1) * this.pageSize;
117
+ return this._filteredData.slice(t, t + this.pageSize);
118
+ }
119
+ get _totalPages() {
120
+ return this.pageSize ? Math.max(1, Math.ceil(this._filteredData.length / this.pageSize)) : 1;
121
+ }
122
+ get _virtualSlice() {
123
+ const t = this._filteredData, e = t.length, s = this.rowHeight, o = 3, a = Math.max(0, Math.floor(this._scrollTop / s) - o), h = Math.ceil((this._containerH || 400) / s) + o * 2, n = Math.min(e, a + h);
124
+ return {
125
+ rows: t.slice(a, n),
126
+ startIndex: a,
127
+ topPad: a * s,
128
+ bottomPad: Math.max(0, (e - n) * s)
38
129
  };
39
130
  }
131
+ get _hasActiveFilters() {
132
+ return !!this._globalSearch.trim() || Object.values(this._filters).some((t) => !!t.trim());
133
+ }
134
+ // ── Helpers ───────────────────────────────────────────────
135
+ _emit(t, e) {
136
+ this.dispatchEvent(new CustomEvent(t, { detail: e, bubbles: !0, composed: !0 }));
137
+ }
40
138
  render() {
41
- return f.call(this);
139
+ return m.call(this);
42
140
  }
43
141
  };
44
- e.styles = c(u);
45
- t([
46
- s({ type: Array })
47
- ], e.prototype, "columns", 2);
48
- t([
49
- s({ type: Array })
50
- ], e.prototype, "data", 2);
51
- t([
52
- s({ type: Boolean, reflect: !0 })
53
- ], e.prototype, "loading", 2);
54
- t([
55
- s({ type: Boolean, reflect: !0 })
56
- ], e.prototype, "bordered", 2);
57
- t([
58
- s({ type: Boolean, reflect: !0 })
59
- ], e.prototype, "striped", 2);
60
- t([
61
- s({ type: Boolean, reflect: !0 })
62
- ], e.prototype, "hoverable", 2);
63
- t([
64
- s({ type: Boolean, reflect: !0 })
65
- ], e.prototype, "compact", 2);
66
- t([
67
- s({ type: String })
68
- ], e.prototype, "emptyText", 2);
69
- t([
70
- s({ type: String })
71
- ], e.prototype, "sortKey", 2);
72
- t([
73
- s({ type: String })
74
- ], e.prototype, "sortDirection", 2);
75
- t([
76
- s({ type: Boolean, reflect: !0, attribute: "sticky-header" })
77
- ], e.prototype, "stickyHeader", 2);
78
- t([
79
- s({ type: Boolean, reflect: !0 })
80
- ], e.prototype, "selectable", 2);
81
- t([
82
- s({ type: String })
83
- ], e.prototype, "caption", 2);
84
- t([
85
- h()
86
- ], e.prototype, "selectedRows", 2);
87
- e = t([
88
- d("sp-table")
89
- ], e);
142
+ r.styles = u(y);
143
+ i([
144
+ l({ type: Array })
145
+ ], r.prototype, "columns", 2);
146
+ i([
147
+ l({ type: Array })
148
+ ], r.prototype, "data", 2);
149
+ i([
150
+ l({ type: Boolean, reflect: !0 })
151
+ ], r.prototype, "loading", 2);
152
+ i([
153
+ l({ type: Boolean, reflect: !0 })
154
+ ], r.prototype, "bordered", 2);
155
+ i([
156
+ l({ type: Boolean, reflect: !0 })
157
+ ], r.prototype, "striped", 2);
158
+ i([
159
+ l({ type: Boolean, reflect: !0 })
160
+ ], r.prototype, "hoverable", 2);
161
+ i([
162
+ l({ type: Boolean, reflect: !0 })
163
+ ], r.prototype, "compact", 2);
164
+ i([
165
+ l({ type: String })
166
+ ], r.prototype, "emptyText", 2);
167
+ i([
168
+ l({ type: String })
169
+ ], r.prototype, "sortKey", 2);
170
+ i([
171
+ l({ type: String })
172
+ ], r.prototype, "sortDirection", 2);
173
+ i([
174
+ l({ type: Boolean, reflect: !0, attribute: "sticky-header" })
175
+ ], r.prototype, "stickyHeader", 2);
176
+ i([
177
+ l({ type: Boolean, reflect: !0 })
178
+ ], r.prototype, "selectable", 2);
179
+ i([
180
+ l({ type: String })
181
+ ], r.prototype, "caption", 2);
182
+ i([
183
+ l({ type: Boolean, reflect: !0 })
184
+ ], r.prototype, "reorderable", 2);
185
+ i([
186
+ l({ type: Boolean, reflect: !0 })
187
+ ], r.prototype, "searchable", 2);
188
+ i([
189
+ l({ type: Number, attribute: "page-size" })
190
+ ], r.prototype, "pageSize", 2);
191
+ i([
192
+ l({ type: Array, attribute: "page-size-options" })
193
+ ], r.prototype, "pageSizeOptions", 2);
194
+ i([
195
+ l({ type: Array })
196
+ ], r.prototype, "actions", 2);
197
+ i([
198
+ l({ type: Boolean, reflect: !0 })
199
+ ], r.prototype, "virtual", 2);
200
+ i([
201
+ l({ type: Number, attribute: "row-height" })
202
+ ], r.prototype, "rowHeight", 2);
203
+ i([
204
+ l({ type: String, attribute: "max-height" })
205
+ ], r.prototype, "maxHeight", 2);
206
+ i([
207
+ p()
208
+ ], r.prototype, "selectedRows", 2);
209
+ i([
210
+ p()
211
+ ], r.prototype, "_columnOrder", 2);
212
+ i([
213
+ p()
214
+ ], r.prototype, "_hiddenCols", 2);
215
+ i([
216
+ p()
217
+ ], r.prototype, "_filters", 2);
218
+ i([
219
+ p()
220
+ ], r.prototype, "_globalSearch", 2);
221
+ i([
222
+ p()
223
+ ], r.prototype, "_page", 2);
224
+ i([
225
+ p()
226
+ ], r.prototype, "_showColPicker", 2);
227
+ i([
228
+ p()
229
+ ], r.prototype, "_dragOverIndex", 2);
230
+ i([
231
+ p()
232
+ ], r.prototype, "_dragFromIndex", 2);
233
+ i([
234
+ p()
235
+ ], r.prototype, "_openFilterCol", 2);
236
+ i([
237
+ p()
238
+ ], r.prototype, "_scrollTop", 2);
239
+ i([
240
+ p()
241
+ ], r.prototype, "_containerH", 2);
242
+ r = i([
243
+ f("sp-table")
244
+ ], r);
90
245
  export {
91
- e as SpTableComponent
246
+ r as SpTableComponent
92
247
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sp-table.template.d.ts","sourceRoot":"","sources":["../../../src/components/table/sp-table.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,wBAAgB,aAAa,CAAC,IAAI,EAAE,gBAAgB,GAAG,cAAc,CA4HpE"}
1
+ {"version":3,"file":"sp-table.template.d.ts","sourceRoot":"","sources":["../../../src/components/table/sp-table.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,wBAAgB,aAAa,CAAC,IAAI,EAAE,gBAAgB,GAAG,cAAc,CA8apE"}