@svgrid/grid-wc 2.6.2 → 3.0.0
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/dist/GridMenus-DpmS1pzo.js +1121 -0
- package/dist/SvDateRangeInput-u4ibte8S.js +196 -0
- package/dist/SvDateTimePicker-DVFiDxUq.js +765 -0
- package/dist/{dismissable-xj_k_fnZ.js → SvField-ChCI-O2O.js} +44 -84
- package/dist/{SvGrid.helpers-CgUd39VT.js → SvGrid.helpers-BdVDtjUm.js} +37 -11
- package/dist/SvGridCellEditor-DvsQyE9a.js +550 -0
- package/dist/{SvGridChart-BztTavvw.js → SvGridChart-yK5Zv85y.js} +158 -158
- package/dist/{SvGridChartPanel-Ca5HWIZ3.js → SvGridChartPanel-B38_VjXM.js} +52 -52
- package/dist/{SvGridChartView-AcWj_tcs.js → SvGridChartView-ScXTF6t-.js} +4 -4
- package/dist/{SvGridDropdown-BXqvR1cs.js → SvGridDropdown-DnAESFDu.js} +29 -29
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs +358 -0
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs.map +1 -0
- package/dist/angular/package.json +25 -0
- package/dist/angular/types/svgrid-grid-wc-angular.d.ts +161 -0
- package/dist/{client-DoXxrq8q.js → client-DjwUji8D.js} +1 -1
- package/dist/column-resize-DvCRUrN3.js +101 -0
- package/dist/date-format-CPHqTHN6.js +1127 -0
- package/dist/dismissable-DvhBKm3q.js +41 -0
- package/dist/react/index.d.ts +313 -0
- package/dist/react/index.js +72 -0
- package/dist/{row-drag-touch-Ddaa-QeB.js → row-drag-touch-CycRR65n.js} +12 -10
- package/dist/row-resize-D-8s3cqT.js +94 -0
- package/dist/shadow/GridMenus-DpmS1pzo.js +1121 -0
- package/dist/shadow/SvDateRangeInput-u4ibte8S.js +196 -0
- package/dist/shadow/SvDateTimePicker-DVFiDxUq.js +765 -0
- package/dist/shadow/SvField-ChCI-O2O.js +146 -0
- package/dist/shadow/SvGrid.helpers-BdVDtjUm.js +135 -0
- package/dist/shadow/SvGridCellEditor-DvsQyE9a.js +550 -0
- package/dist/shadow/SvGridChart-yK5Zv85y.js +1199 -0
- package/dist/shadow/SvGridChartPanel-B38_VjXM.js +584 -0
- package/dist/shadow/SvGridChartView-ScXTF6t-.js +50 -0
- package/dist/shadow/SvGridDropdown-DnAESFDu.js +256 -0
- package/dist/shadow/cell-formatting-C0OsDmi_.js +86 -0
- package/dist/shadow/chart-uvs3sFJA.js +1220 -0
- package/dist/shadow/client-DjwUji8D.js +2960 -0
- package/dist/shadow/column-resize-DvCRUrN3.js +101 -0
- package/dist/shadow/date-format-CPHqTHN6.js +1127 -0
- package/dist/shadow/dismissable-DvhBKm3q.js +41 -0
- package/dist/shadow/editor-contract-peBDxir_.js +22 -0
- package/dist/shadow/editor-registry-DxGKqcvx.js +24 -0
- package/dist/shadow/export-format-C8kZGZfz.js +161 -0
- package/dist/shadow/popover-WsGlvtQv.js +69 -0
- package/dist/shadow/row-drag-touch-CycRR65n.js +93 -0
- package/dist/shadow/row-resize-D-8s3cqT.js +94 -0
- package/dist/shadow/sv-grid-shadow-element.d.ts +246 -0
- package/dist/shadow/sv-grid-shadow-element.js +10175 -0
- package/dist/{svelte-virtualizer.svelte-CFoYP2Ls.js → shadow/svelte-virtualizer.svelte-DZ9UcyfT.js} +35 -30
- package/dist/shadow/validate-CgmAtX1A.js +75 -0
- package/dist/sv-grid-element.d.ts +246 -0
- package/dist/sv-grid-element.js +3655 -2620
- package/dist/svelte-virtualizer.svelte-DZ9UcyfT.js +527 -0
- package/dist/validate-CgmAtX1A.js +75 -0
- package/dist/vue/index.d.ts +147 -0
- package/dist/vue/index.js +72 -0
- package/package.json +71 -6
- package/dist/GridMenus-CU_-Ks4f.js +0 -1001
- package/dist/SvDateTimePicker-Ch1Vug8H.js +0 -1885
- package/dist/SvGridCellEditor-CBJUbAsR.js +0 -523
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED by scripts/generate-wrappers.mjs - DO NOT EDIT.
|
|
3
|
+
* Regenerate: pnpm --filter @svgrid/grid-wc generate:wrappers
|
|
4
|
+
*
|
|
5
|
+
* Type declarations for the custom elements.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The custom element's own surface. Complex props (columns, data, configs)
|
|
10
|
+
* are `unknown` here rather than wrong: their real types are generic over
|
|
11
|
+
* the feature set and the row type, which cannot be reproduced outside
|
|
12
|
+
* `@svgrid/grid`. Import them from there when you want them checked.
|
|
13
|
+
*/
|
|
14
|
+
export interface SvGridElement extends HTMLElement {
|
|
15
|
+
/** property only - an attribute cannot hold this */
|
|
16
|
+
data: readonly unknown[]
|
|
17
|
+
/** property only - an attribute cannot hold this */
|
|
18
|
+
columns: readonly unknown[]
|
|
19
|
+
/** property only - an attribute cannot hold this */
|
|
20
|
+
board: unknown
|
|
21
|
+
/** property only - an attribute cannot hold this */
|
|
22
|
+
scheduler: unknown
|
|
23
|
+
/** property only - an attribute cannot hold this */
|
|
24
|
+
chart: unknown
|
|
25
|
+
/** property only - an attribute cannot hold this */
|
|
26
|
+
pivot: unknown
|
|
27
|
+
/** attribute `pivot-mode` */
|
|
28
|
+
pivotMode: boolean
|
|
29
|
+
/** attribute `context-menu` */
|
|
30
|
+
contextMenu: boolean
|
|
31
|
+
/** attribute `selection-bar` */
|
|
32
|
+
selectionBar: boolean
|
|
33
|
+
/** property only - an attribute cannot hold this */
|
|
34
|
+
features: unknown
|
|
35
|
+
/** attribute `sortable` */
|
|
36
|
+
sortable: boolean
|
|
37
|
+
/** attribute `filterable` */
|
|
38
|
+
filterable: boolean
|
|
39
|
+
/** attribute `editable` */
|
|
40
|
+
editable: boolean
|
|
41
|
+
/** property only - an attribute cannot hold this */
|
|
42
|
+
treeData: unknown
|
|
43
|
+
/** attribute `groupable` */
|
|
44
|
+
groupable: boolean
|
|
45
|
+
/** property only - an attribute cannot hold this */
|
|
46
|
+
groupBy: readonly unknown[]
|
|
47
|
+
/** property only - an attribute cannot hold this */
|
|
48
|
+
expanded: unknown
|
|
49
|
+
/** attribute `group-footers` */
|
|
50
|
+
groupFooters: boolean
|
|
51
|
+
/** attribute `grand-total-row` */
|
|
52
|
+
grandTotalRow: boolean
|
|
53
|
+
/** attribute `group-display-mode` */
|
|
54
|
+
groupDisplayMode: string
|
|
55
|
+
/** attribute `auto-group-column-header` */
|
|
56
|
+
autoGroupColumnHeader: string
|
|
57
|
+
/** attribute `auto-group-column-width` */
|
|
58
|
+
autoGroupColumnWidth: number
|
|
59
|
+
/** attribute `pageable` */
|
|
60
|
+
pageable: boolean
|
|
61
|
+
/** attribute `loading` */
|
|
62
|
+
loading: boolean
|
|
63
|
+
/** attribute `loading-overlay` */
|
|
64
|
+
loadingOverlay: boolean
|
|
65
|
+
/** attribute `loading-skeleton-rows` */
|
|
66
|
+
loadingSkeletonRows: number
|
|
67
|
+
/** attribute `error` */
|
|
68
|
+
error: string | null
|
|
69
|
+
/** attribute `empty-message` */
|
|
70
|
+
emptyMessage: string
|
|
71
|
+
/** property only - an attribute cannot hold this */
|
|
72
|
+
localization: unknown
|
|
73
|
+
/** attribute `show-global-filter` */
|
|
74
|
+
showGlobalFilter: boolean
|
|
75
|
+
/** attribute `show-column-filters` */
|
|
76
|
+
showColumnFilters: boolean
|
|
77
|
+
/** attribute `filter-mode` */
|
|
78
|
+
filterMode: "row" | "menu" | "global" | "none"
|
|
79
|
+
/** attribute `show-grouping-controls` */
|
|
80
|
+
showGroupingControls: boolean
|
|
81
|
+
/** attribute `show-row-selection` */
|
|
82
|
+
showRowSelection: boolean
|
|
83
|
+
/** attribute `show-pagination` */
|
|
84
|
+
showPagination: boolean
|
|
85
|
+
/** attribute `page-size` */
|
|
86
|
+
pageSize: number
|
|
87
|
+
/** property only - an attribute cannot hold this */
|
|
88
|
+
pageSizeOptions: readonly unknown[]
|
|
89
|
+
/** attribute `pagination-position` */
|
|
90
|
+
paginationPosition: "top" | "bottom" | "both"
|
|
91
|
+
/** attribute `external-pagination` */
|
|
92
|
+
externalPagination: boolean
|
|
93
|
+
/** attribute `row-count` */
|
|
94
|
+
rowCount: number
|
|
95
|
+
/** attribute `page-index` */
|
|
96
|
+
pageIndex: number
|
|
97
|
+
/** attribute `virtualization` */
|
|
98
|
+
virtualization: boolean
|
|
99
|
+
/** attribute `row-height` */
|
|
100
|
+
rowHeight: number
|
|
101
|
+
/** attribute `auto-row-height` */
|
|
102
|
+
autoRowHeight: boolean
|
|
103
|
+
/** attribute `row-resize` */
|
|
104
|
+
rowResize: boolean
|
|
105
|
+
/** attribute `header-height` */
|
|
106
|
+
headerHeight: number
|
|
107
|
+
/** attribute `overscan` */
|
|
108
|
+
overscan: number
|
|
109
|
+
/** attribute `container-height` */
|
|
110
|
+
containerHeight: string
|
|
111
|
+
/** attribute `column-virtualization` */
|
|
112
|
+
columnVirtualization: boolean
|
|
113
|
+
/** attribute `column-overscan` */
|
|
114
|
+
columnOverscan: number
|
|
115
|
+
/** attribute `column-width` */
|
|
116
|
+
columnWidth: number
|
|
117
|
+
/** property only - an attribute cannot hold this */
|
|
118
|
+
initialColumnPinning: unknown
|
|
119
|
+
/** attribute `fit-columns` */
|
|
120
|
+
fitColumns: boolean
|
|
121
|
+
/** attribute `column-resize` */
|
|
122
|
+
columnResize: boolean
|
|
123
|
+
/** attribute `responsive` */
|
|
124
|
+
responsive: boolean
|
|
125
|
+
/** attribute `show-filter-menu` */
|
|
126
|
+
showFilterMenu: boolean
|
|
127
|
+
/** attribute `show-filter-row` */
|
|
128
|
+
showFilterRow: boolean
|
|
129
|
+
/** attribute `enable-cell-selection` */
|
|
130
|
+
enableCellSelection: boolean
|
|
131
|
+
/** attribute `move-cells` */
|
|
132
|
+
moveCells: boolean
|
|
133
|
+
/** attribute `enable-row-hover` */
|
|
134
|
+
enableRowHover: boolean
|
|
135
|
+
/** attribute `copy-headers-to-clipboard` */
|
|
136
|
+
copyHeadersToClipboard: boolean
|
|
137
|
+
/** property only - an attribute cannot hold this */
|
|
138
|
+
processCellForClipboard: unknown
|
|
139
|
+
/** attribute `enable-inline-editing` */
|
|
140
|
+
enableInlineEditing: boolean
|
|
141
|
+
/** attribute `full-row-editing` */
|
|
142
|
+
fullRowEditing: boolean
|
|
143
|
+
/** attribute `enable-row-summaries` */
|
|
144
|
+
enableRowSummaries: boolean
|
|
145
|
+
/** attribute `summary` */
|
|
146
|
+
summary: boolean
|
|
147
|
+
/** attribute `status-bar` */
|
|
148
|
+
statusBar: boolean
|
|
149
|
+
/** attribute `tool-panel` */
|
|
150
|
+
toolPanel: boolean
|
|
151
|
+
/** attribute `charting` */
|
|
152
|
+
charting: boolean
|
|
153
|
+
/** attribute `column-menu-tabs` */
|
|
154
|
+
columnMenuTabs: boolean
|
|
155
|
+
/** attribute `tool-panel-default-open` */
|
|
156
|
+
toolPanelDefaultOpen: boolean
|
|
157
|
+
/** attribute `tool-panel-default-tab` */
|
|
158
|
+
toolPanelDefaultTab: "columns" | "filters"
|
|
159
|
+
/** attribute `selection-mode` */
|
|
160
|
+
selectionMode: "row" | "cell" | "both" | "none"
|
|
161
|
+
/** attribute `show-row-numbers` */
|
|
162
|
+
showRowNumbers: boolean
|
|
163
|
+
/** attribute `zebra-rows` */
|
|
164
|
+
zebraRows: boolean
|
|
165
|
+
/** attribute `row-number-width` */
|
|
166
|
+
rowNumberWidth: number
|
|
167
|
+
/** attribute `external-sort` */
|
|
168
|
+
externalSort: boolean
|
|
169
|
+
/** property only - an attribute cannot hold this */
|
|
170
|
+
initialSorting: readonly unknown[]
|
|
171
|
+
/** property only - an attribute cannot hold this */
|
|
172
|
+
initialAdvancedFilter: unknown
|
|
173
|
+
/** attribute `external-filter` */
|
|
174
|
+
externalFilter: boolean
|
|
175
|
+
/** property only - an attribute cannot hold this */
|
|
176
|
+
getRowId: unknown
|
|
177
|
+
/** property only - an attribute cannot hold this */
|
|
178
|
+
rowClass: unknown
|
|
179
|
+
/** property only - an attribute cannot hold this */
|
|
180
|
+
notes: unknown
|
|
181
|
+
/** attribute `editable-comments` */
|
|
182
|
+
editableComments: boolean
|
|
183
|
+
/** property only - an attribute cannot hold this */
|
|
184
|
+
conditionalFormats: readonly unknown[]
|
|
185
|
+
/** attribute `conditional-stat-scope` */
|
|
186
|
+
conditionalStatScope: "filtered" | "visible" | "all"
|
|
187
|
+
/** property only - an attribute cannot hold this */
|
|
188
|
+
isDetailRow: unknown
|
|
189
|
+
/** property only - an attribute cannot hold this */
|
|
190
|
+
serverGroup: unknown
|
|
191
|
+
/** property only - an attribute cannot hold this */
|
|
192
|
+
serverFilterValues: unknown
|
|
193
|
+
/** property only - an attribute cannot hold this */
|
|
194
|
+
pinnedTopRows: readonly unknown[]
|
|
195
|
+
/** property only - an attribute cannot hold this */
|
|
196
|
+
pinnedBottomRows: readonly unknown[]
|
|
197
|
+
/** attribute `enable-column-reorder` */
|
|
198
|
+
enableColumnReorder: boolean
|
|
199
|
+
/** property only - an attribute cannot hold this */
|
|
200
|
+
columnOrder: readonly unknown[]
|
|
201
|
+
/** attribute `infer-column-types` */
|
|
202
|
+
inferColumnTypes: boolean
|
|
203
|
+
/** attribute `row-drag-managed` */
|
|
204
|
+
rowDragManaged: boolean
|
|
205
|
+
/** attribute `row-drag-group` */
|
|
206
|
+
rowDragGroup: string
|
|
207
|
+
/** attribute `aligned-grid-group` */
|
|
208
|
+
alignedGridGroup: string
|
|
209
|
+
/** attribute `filter-locale` */
|
|
210
|
+
filterLocale: string
|
|
211
|
+
|
|
212
|
+
/** The grid api. Present once `apiready` has fired. */
|
|
213
|
+
readonly api: unknown
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
declare global {
|
|
217
|
+
interface HTMLElementTagNameMap {
|
|
218
|
+
'sv-grid': SvGridElement
|
|
219
|
+
'sv-grid-shadow': SvGridElement
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
interface HTMLElementEventMap {
|
|
223
|
+
pivotmodechange: CustomEvent<unknown>
|
|
224
|
+
expandedchange: CustomEvent<unknown>
|
|
225
|
+
paginationchange: CustomEvent<unknown>
|
|
226
|
+
apiready: CustomEvent<unknown>
|
|
227
|
+
rowselectionchange: CustomEvent<unknown>
|
|
228
|
+
cellselectionchange: CustomEvent<unknown>
|
|
229
|
+
sortingchange: CustomEvent<unknown>
|
|
230
|
+
advancedfilterchange: CustomEvent<unknown>
|
|
231
|
+
filterschange: CustomEvent<unknown>
|
|
232
|
+
notechange: CustomEvent<unknown>
|
|
233
|
+
cellvaluechange: CustomEvent<unknown>
|
|
234
|
+
activecellchange: CustomEvent<unknown>
|
|
235
|
+
cellclick: CustomEvent<unknown>
|
|
236
|
+
rowclick: CustomEvent<unknown>
|
|
237
|
+
celldoubleclick: CustomEvent<unknown>
|
|
238
|
+
rowdoubleclick: CustomEvent<unknown>
|
|
239
|
+
scrollbottomreached: CustomEvent<unknown>
|
|
240
|
+
columnorderchange: CustomEvent<unknown>
|
|
241
|
+
rowdragend: CustomEvent<unknown>
|
|
242
|
+
selectionchange: CustomEvent<unknown>
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export {}
|