@pixstella/components 0.3.0 → 0.3.1
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/COPY-PASTE.md +109 -0
- package/README.md +9 -75
- package/dist/app/components/Dashboard/dashboardRegistry.cjs +1 -1
- package/dist/app/components/Dashboard/dashboardRegistry.mjs +202 -201
- package/dist/app/components/Table/DataTable.cjs +1 -1
- package/dist/app/components/Table/DataTable.mjs +46 -49
- package/dist/app/components/ai/ConfidenceSuggestions/ConfidenceSuggestions.cjs +1 -1
- package/dist/app/components/ai/ConfidenceSuggestions/ConfidenceSuggestions.mjs +53 -53
- package/dist/app/components/ai/ProposalCard/ProposalCard.cjs +1 -1
- package/dist/app/components/ai/ProposalCard/ProposalCard.mjs +227 -227
- package/dist/app/components/ai/ReviewTable/ReviewTable.cjs +1 -1
- package/dist/app/components/ai/ReviewTable/ReviewTable.mjs +81 -81
- package/dist/app/components/ai/SuggestionChecklist/SuggestionChecklist.cjs +1 -1
- package/dist/app/components/ai/SuggestionChecklist/SuggestionChecklist.mjs +15 -14
- package/dist/app/components/ui/AuthSection/AuthSection.cjs +1 -1
- package/dist/app/components/ui/AuthSection/AuthSection.mjs +19 -18
- package/dist/app/components/ui/Checkbox/Checkbox.cjs +1 -0
- package/dist/app/components/ui/Checkbox/Checkbox.css +1 -0
- package/dist/app/components/ui/Checkbox/Checkbox.mjs +87 -0
- package/dist/app/components/ui/DataGrid/DataGrid.cjs +1 -1
- package/dist/app/components/ui/DataGrid/DataGrid.mjs +196 -199
- package/dist/app/components/ui/PreviewConfirmDialog/PreviewConfirmDialog.cjs +1 -1
- package/dist/app/components/ui/PreviewConfirmDialog/PreviewConfirmDialog.mjs +47 -48
- package/dist/browser/pixstella.esm.js +70 -70
- package/dist/browser/pixstella.standalone.js +72 -72
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +32 -1
- package/dist/index.d.ts +32 -1
- package/dist/index.mjs +2886 -2884
- package/dist/registry/files/174512e8f294ad2f +101 -0
- package/dist/registry/files/4c7e419c8caf02c3 +119 -0
- package/dist/registry/files/{f23e788832b45fc0 → 67ac8b4abe3fc564} +2 -1
- package/dist/registry/files/{e84f443f3fc3f261 → 995feaa023211faf} +4 -8
- package/dist/registry/files/{5ba71aa83263995e → a27872a7d58aeb58} +4 -5
- package/dist/registry/files/{162078d04cb26276 → df919b524be27e88} +4 -5
- package/dist/registry/index.json +1 -1
- package/dist/styles.css +3 -0
- package/package.json +3 -10
|
@@ -93,200 +93,201 @@ import * as Ur from "../ui/CascadeSelect/CascadeSelect.mjs";
|
|
|
93
93
|
import * as zr from "../ui/ChangeTimeline/ChangeTimeline.mjs";
|
|
94
94
|
import * as Jr from "../ui/ChangedDot/ChangedDot.mjs";
|
|
95
95
|
import * as Qr from "../ui/ChatThread/ChatThread.mjs";
|
|
96
|
-
import * as Zr from "../ui/
|
|
97
|
-
import * as _r from "../ui/Checklist/
|
|
98
|
-
import * as $r from "../ui/
|
|
99
|
-
import * as Xr from "../ui/
|
|
100
|
-
import * as Yr from "../ui/
|
|
101
|
-
import * as rt from "../ui/
|
|
102
|
-
import * as tt from "../ui/
|
|
103
|
-
import * as ot from "../ui/
|
|
104
|
-
import * as at from "../ui/
|
|
105
|
-
import * as it from "../ui/CommandPalette/CommandPalette.mjs";
|
|
106
|
-
import * as et from "../ui/
|
|
107
|
-
import * as st from "../ui/
|
|
108
|
-
import * as mt from "../ui/
|
|
109
|
-
import * as nt from "../ui/
|
|
110
|
-
import * as pt from "../ui/
|
|
111
|
-
import * as ut from "../ui/
|
|
112
|
-
import * as lt from "../ui/
|
|
113
|
-
import * as ct from "../ui/
|
|
114
|
-
import * as Ct from "../ui/
|
|
115
|
-
import * as ft from "../ui/
|
|
116
|
-
import * as xt from "../ui/
|
|
117
|
-
import * as ht from "../ui/
|
|
118
|
-
import * as dt from "../ui/
|
|
119
|
-
import * as jt from "../ui/
|
|
120
|
-
import * as St from "../ui/
|
|
121
|
-
import * as Bt from "../ui/
|
|
122
|
-
import * as gt from "../ui/
|
|
123
|
-
import * as Pt from "../ui/
|
|
124
|
-
import * as Tt from "../ui/
|
|
125
|
-
import * as kt from "../ui/
|
|
126
|
-
import * as bt from "../ui/
|
|
127
|
-
import * as Mt from "../ui/
|
|
128
|
-
import * as At from "../ui/
|
|
129
|
-
import * as Ft from "../ui/
|
|
130
|
-
import * as Dt from "../ui/
|
|
131
|
-
import * as yt from "../ui/
|
|
132
|
-
import * as It from "../ui/
|
|
133
|
-
import * as vt from "../ui/
|
|
134
|
-
import * as Lt from "../ui/
|
|
135
|
-
import * as Rt from "../ui/
|
|
136
|
-
import * as Gt from "../ui/
|
|
137
|
-
import * as wt from "../ui/
|
|
138
|
-
import * as Nt from "../ui/
|
|
139
|
-
import * as Ht from "../ui/
|
|
140
|
-
import * as Wt from "../ui/
|
|
141
|
-
import * as Et from "../ui/
|
|
142
|
-
import * as Ot from "../ui/
|
|
143
|
-
import * as qt from "../ui/FlipBook/
|
|
144
|
-
import * as Vt from "../ui/
|
|
145
|
-
import * as Kt from "../ui/
|
|
146
|
-
import * as Ut from "../ui/
|
|
147
|
-
import * as zt from "../ui/Form/
|
|
148
|
-
import * as Jt from "../ui/
|
|
149
|
-
import * as Qt from "../ui/
|
|
150
|
-
import * as Zt from "../ui/
|
|
151
|
-
import * as _t from "../ui/
|
|
152
|
-
import * as $t from "../ui/
|
|
153
|
-
import * as Xt from "../ui/
|
|
154
|
-
import * as Yt from "../ui/
|
|
155
|
-
import * as ro from "../ui/
|
|
156
|
-
import * as to from "../ui/
|
|
157
|
-
import * as oo from "../ui/
|
|
158
|
-
import * as ao from "../ui/InboxLayout/
|
|
159
|
-
import * as io from "../ui/
|
|
160
|
-
import * as eo from "../ui/InboxList/
|
|
161
|
-
import * as so from "../ui/
|
|
162
|
-
import * as mo from "../ui/
|
|
163
|
-
import * as no from "../ui/
|
|
164
|
-
import * as po from "../ui/
|
|
165
|
-
import * as uo from "../ui/
|
|
166
|
-
import * as lo from "../ui/
|
|
167
|
-
import * as co from "../ui/
|
|
168
|
-
import * as Co from "../ui/
|
|
169
|
-
import * as fo from "../ui/
|
|
170
|
-
import * as xo from "../ui/
|
|
171
|
-
import * as ho from "../ui/
|
|
172
|
-
import * as jo from "../ui/
|
|
173
|
-
import * as So from "../ui/
|
|
174
|
-
import * as Bo from "../ui/
|
|
175
|
-
import * as go from "../ui/
|
|
176
|
-
import * as Po from "../ui/
|
|
177
|
-
import * as To from "../ui/MessageReader/
|
|
178
|
-
import * as ko from "../ui/
|
|
179
|
-
import * as bo from "../ui/
|
|
180
|
-
import * as Mo from "../ui/
|
|
181
|
-
import * as Ao from "../ui/
|
|
182
|
-
import * as Fo from "../ui/
|
|
183
|
-
import * as Do from "../ui/
|
|
184
|
-
import * as yo from "../ui/
|
|
185
|
-
import * as Io from "../ui/
|
|
186
|
-
import * as vo from "../ui/
|
|
187
|
-
import * as Lo from "../ui/
|
|
188
|
-
import * as Ro from "../ui/
|
|
189
|
-
import * as Go from "../ui/
|
|
190
|
-
import * as wo from "../ui/
|
|
191
|
-
import * as No from "../ui/
|
|
192
|
-
import * as Ho from "../ui/
|
|
193
|
-
import * as Wo from "../ui/
|
|
194
|
-
import * as Eo from "../ui/
|
|
195
|
-
import * as Oo from "../ui/
|
|
196
|
-
import * as qo from "../ui/
|
|
197
|
-
import * as Vo from "../ui/
|
|
198
|
-
import * as Ko from "../ui/
|
|
199
|
-
import * as Uo from "../ui/
|
|
200
|
-
import * as zo from "../ui/
|
|
201
|
-
import * as Jo from "../ui/
|
|
202
|
-
import * as Qo from "../ui/
|
|
203
|
-
import * as Zo from "../ui/
|
|
204
|
-
import * as _o from "../ui/
|
|
205
|
-
import * as $o from "../ui/
|
|
206
|
-
import * as Xo from "../ui/
|
|
207
|
-
import * as Yo from "../ui/
|
|
208
|
-
import * as ra from "../ui/
|
|
209
|
-
import * as ta from "../ui/
|
|
210
|
-
import * as oa from "../ui/
|
|
211
|
-
import * as aa from "../ui/
|
|
212
|
-
import * as ia from "../ui/
|
|
213
|
-
import * as ea from "../ui/
|
|
214
|
-
import * as sa from "../ui/
|
|
215
|
-
import * as ma from "../ui/
|
|
216
|
-
import * as na from "../ui/
|
|
217
|
-
import * as pa from "../ui/
|
|
218
|
-
import * as ua from "../ui/
|
|
219
|
-
import * as la from "../ui/
|
|
220
|
-
import * as ca from "../ui/
|
|
221
|
-
import * as Ca from "../ui/
|
|
222
|
-
import * as fa from "../ui/
|
|
223
|
-
import * as xa from "../ui/
|
|
224
|
-
import * as ha from "../ui/
|
|
225
|
-
import * as da from "../ui/
|
|
226
|
-
import * as ja from "../ui/
|
|
227
|
-
import * as Sa from "../ui/
|
|
228
|
-
import * as Ba from "../ui/
|
|
229
|
-
import * as ga from "../ui/
|
|
230
|
-
import * as Pa from "../ui/
|
|
231
|
-
import * as Ta from "../ui/
|
|
232
|
-
import * as ka from "../ui/
|
|
233
|
-
import * as ba from "../ui/SectionKit/
|
|
234
|
-
import * as Ma from "../ui/SectionKit/
|
|
235
|
-
import * as Aa from "../ui/
|
|
236
|
-
import * as Fa from "../ui/
|
|
237
|
-
import * as Da from "../ui/
|
|
238
|
-
import * as ya from "../ui/
|
|
239
|
-
import * as Ia from "../ui/
|
|
240
|
-
import * as va from "../ui/
|
|
241
|
-
import * as La from "../ui/
|
|
242
|
-
import * as Ra from "../ui/
|
|
243
|
-
import * as Ga from "../ui/
|
|
244
|
-
import * as wa from "../ui/
|
|
245
|
-
import * as Na from "../ui/
|
|
246
|
-
import * as Ha from "../ui/
|
|
247
|
-
import * as Wa from "../ui/
|
|
248
|
-
import * as Ea from "../ui/
|
|
249
|
-
import * as Oa from "../ui/
|
|
250
|
-
import * as qa from "../ui/
|
|
251
|
-
import * as Va from "../ui/
|
|
252
|
-
import * as Ka from "../ui/
|
|
253
|
-
import * as Ua from "../ui/
|
|
254
|
-
import * as za from "../ui/
|
|
255
|
-
import * as Ja from "../ui/
|
|
256
|
-
import * as Qa from "../ui/
|
|
257
|
-
import * as Za from "../ui/
|
|
258
|
-
import * as _a from "../ui/
|
|
259
|
-
import * as $a from "../ui/
|
|
260
|
-
import * as Xa from "../ui/
|
|
261
|
-
import * as Ya from "../ui/
|
|
262
|
-
import * as ri from "../ui/
|
|
263
|
-
import * as ti from "../ui/
|
|
264
|
-
import * as oi from "../ui/
|
|
265
|
-
import * as ai from "../ui/
|
|
266
|
-
import * as ii from "../ui/
|
|
267
|
-
import * as ei from "../ui/
|
|
268
|
-
import * as si from "../ui/
|
|
269
|
-
import * as mi from "../ui/
|
|
270
|
-
import * as ni from "../ui/
|
|
271
|
-
import * as pi from "../ui/
|
|
272
|
-
import * as ui from "../ui/
|
|
273
|
-
import * as li from "../ui/
|
|
274
|
-
import * as ci from "../ui/
|
|
275
|
-
import * as Ci from "../ui/
|
|
276
|
-
import * as fi from "../ui/
|
|
277
|
-
import * as xi from "../ui/
|
|
278
|
-
import * as hi from "../ui/
|
|
279
|
-
import * as di from "../ui/
|
|
280
|
-
import * as ji from "../ui/
|
|
281
|
-
import * as Si from "../ui/
|
|
282
|
-
import * as Bi from "../ui/
|
|
283
|
-
import * as gi from "../ui/
|
|
284
|
-
import * as Pi from "../ui/
|
|
285
|
-
import * as Ti from "../ui/
|
|
286
|
-
import * as ki from "../ui/
|
|
287
|
-
import bi from "../
|
|
288
|
-
import Mi from "../
|
|
289
|
-
|
|
96
|
+
import * as Zr from "../ui/Checkbox/Checkbox.mjs";
|
|
97
|
+
import * as _r from "../ui/Checklist/Checklist.mjs";
|
|
98
|
+
import * as $r from "../ui/Checklist/kitIcons.mjs";
|
|
99
|
+
import * as Xr from "../ui/Chip/Chip.mjs";
|
|
100
|
+
import * as Yr from "../ui/ChoiceGroup/ChoiceGroup.mjs";
|
|
101
|
+
import * as rt from "../ui/ClockCard/ClockCard.mjs";
|
|
102
|
+
import * as tt from "../ui/CloseButton/CloseButton.mjs";
|
|
103
|
+
import * as ot from "../ui/ColumnMapper/ColumnMapper.mjs";
|
|
104
|
+
import * as at from "../ui/Combobox/Combobox.mjs";
|
|
105
|
+
import * as it from "../ui/CommandPalette/CommandPalette.icons.mjs";
|
|
106
|
+
import * as et from "../ui/CommandPalette/CommandPalette.mjs";
|
|
107
|
+
import * as st from "../ui/ComposeDialog/ComposeDialog.mjs";
|
|
108
|
+
import * as mt from "../ui/ConfirmButton/ConfirmButton.mjs";
|
|
109
|
+
import * as nt from "../ui/ContentSection/ContentSection.mjs";
|
|
110
|
+
import * as pt from "../ui/ConversationList/ConversationList.mjs";
|
|
111
|
+
import * as ut from "../ui/CopyButton/CopyButton.mjs";
|
|
112
|
+
import * as lt from "../ui/CopyField/CopyField.mjs";
|
|
113
|
+
import * as ct from "../ui/CountUp/CountUp.mjs";
|
|
114
|
+
import * as Ct from "../ui/CounterTextarea/CounterTextarea.mjs";
|
|
115
|
+
import * as ft from "../ui/CreatableSelect/CreatableSelect.mjs";
|
|
116
|
+
import * as xt from "../ui/CredentialList/CredentialList.mjs";
|
|
117
|
+
import * as ht from "../ui/CtaBanner/CtaBanner.mjs";
|
|
118
|
+
import * as dt from "../ui/DashboardGrid/DashboardGrid.mjs";
|
|
119
|
+
import * as jt from "../ui/DataGrid/DataGrid.mjs";
|
|
120
|
+
import * as St from "../ui/DateField/DateField.mjs";
|
|
121
|
+
import * as Bt from "../ui/DatePicker/DatePicker.mjs";
|
|
122
|
+
import * as gt from "../ui/DateStrip/DateStrip.mjs";
|
|
123
|
+
import * as Pt from "../ui/DeltaPill/DeltaPill.mjs";
|
|
124
|
+
import * as Tt from "../ui/DescriptionList/DescriptionList.mjs";
|
|
125
|
+
import * as kt from "../ui/Dialog/Dialog.mjs";
|
|
126
|
+
import * as bt from "../ui/Doodles/Doodles.mjs";
|
|
127
|
+
import * as Mt from "../ui/Drawer/Drawer.mjs";
|
|
128
|
+
import * as At from "../ui/DropdownMenu/DropdownMenu.mjs";
|
|
129
|
+
import * as Ft from "../ui/EmptyLine/EmptyLine.mjs";
|
|
130
|
+
import * as Dt from "../ui/EmptyState/EmptyState.mjs";
|
|
131
|
+
import * as yt from "../ui/ErrorSection/ErrorSection.mjs";
|
|
132
|
+
import * as It from "../ui/EventCard/EventCard.mjs";
|
|
133
|
+
import * as vt from "../ui/EventTicket/EventTicket.mjs";
|
|
134
|
+
import * as Lt from "../ui/EyebrowHeading/EyebrowHeading.mjs";
|
|
135
|
+
import * as Rt from "../ui/FaqSection/FaqSection.mjs";
|
|
136
|
+
import * as Gt from "../ui/FeatureGrid/FeatureGrid.mjs";
|
|
137
|
+
import * as wt from "../ui/FeatureSplit/FeatureSplit.mjs";
|
|
138
|
+
import * as Nt from "../ui/FigureList/FigureList.mjs";
|
|
139
|
+
import * as Ht from "../ui/FileDropzone/FileDropzone.mjs";
|
|
140
|
+
import * as Wt from "../ui/FileProgress/FileProgress.mjs";
|
|
141
|
+
import * as Et from "../ui/FileRow/FileRow.mjs";
|
|
142
|
+
import * as Ot from "../ui/FilterBar/FilterBar.mjs";
|
|
143
|
+
import * as qt from "../ui/FlipBook/FlipBook.mjs";
|
|
144
|
+
import * as Vt from "../ui/FlipBook/FlipBookSamples.mjs";
|
|
145
|
+
import * as Kt from "../ui/FloatingActionButton/FloatingActionButton.mjs";
|
|
146
|
+
import * as Ut from "../ui/FooterSection/FooterSection.mjs";
|
|
147
|
+
import * as zt from "../ui/Form/Form.mjs";
|
|
148
|
+
import * as Jt from "../ui/Form/FormField.mjs";
|
|
149
|
+
import * as Qt from "../ui/FormDialog/FormDialog.mjs";
|
|
150
|
+
import * as Zt from "../ui/GlassCard/GlassCard.mjs";
|
|
151
|
+
import * as _t from "../ui/GradientText/GradientText.mjs";
|
|
152
|
+
import * as $t from "../ui/HeroSection/HeroSection.mjs";
|
|
153
|
+
import * as Xt from "../ui/HowItWorks/HowItWorks.mjs";
|
|
154
|
+
import * as Yt from "../ui/IconButton/IconButton.mjs";
|
|
155
|
+
import * as ro from "../ui/IconChoice/IconChoice.mjs";
|
|
156
|
+
import * as to from "../ui/IllustratedMap/IllustratedMap.mjs";
|
|
157
|
+
import * as oo from "../ui/Illustration/Illustration.mjs";
|
|
158
|
+
import * as ao from "../ui/InboxLayout/InboxLayout.mjs";
|
|
159
|
+
import * as io from "../ui/InboxLayout/demoMail.mjs";
|
|
160
|
+
import * as eo from "../ui/InboxList/InboxList.mjs";
|
|
161
|
+
import * as so from "../ui/InboxList/messagingIcons.mjs";
|
|
162
|
+
import * as mo from "../ui/InsightList/InsightList.mjs";
|
|
163
|
+
import * as no from "../ui/InspectionChecklist/InspectionChecklist.mjs";
|
|
164
|
+
import * as po from "../ui/InstallPrompt/InstallPrompt.mjs";
|
|
165
|
+
import * as uo from "../ui/IntegrationCard/IntegrationCard.mjs";
|
|
166
|
+
import * as lo from "../ui/IssueCard/IssueCard.mjs";
|
|
167
|
+
import * as co from "../ui/JournalNote/JournalNote.mjs";
|
|
168
|
+
import * as Co from "../ui/KanbanBoard/KanbanBoard.mjs";
|
|
169
|
+
import * as fo from "../ui/LauncherSheet/LauncherSheet.mjs";
|
|
170
|
+
import * as xo from "../ui/Lightbox/Lightbox.mjs";
|
|
171
|
+
import * as ho from "../ui/LikeButton/LikeButton.mjs";
|
|
172
|
+
import * as jo from "../ui/LogoCloud/LogoCloud.mjs";
|
|
173
|
+
import * as So from "../ui/MasonryGrid/MasonryGrid.mjs";
|
|
174
|
+
import * as Bo from "../ui/MatchCard/MatchCard.mjs";
|
|
175
|
+
import * as go from "../ui/MediaPlayer/MediaPlayer.mjs";
|
|
176
|
+
import * as Po from "../ui/MeshGradient/MeshGradient.mjs";
|
|
177
|
+
import * as To from "../ui/MessageReader/MessageReader.mjs";
|
|
178
|
+
import * as ko from "../ui/MessageReader/safeText.mjs";
|
|
179
|
+
import * as bo from "../ui/MfaRequiredScreen/MfaRequiredScreen.mjs";
|
|
180
|
+
import * as Mo from "../ui/MiniCalendar/MiniCalendar.mjs";
|
|
181
|
+
import * as Ao from "../ui/Money/Money.mjs";
|
|
182
|
+
import * as Fo from "../ui/MoneyInput/MoneyInput.mjs";
|
|
183
|
+
import * as Do from "../ui/MonthPlanner/MonthPlanner.mjs";
|
|
184
|
+
import * as yo from "../ui/MoreButton/MoreButton.mjs";
|
|
185
|
+
import * as Io from "../ui/NavIcon/NavIcon.mjs";
|
|
186
|
+
import * as vo from "../ui/NavTabs/NavTabs.mjs";
|
|
187
|
+
import * as Lo from "../ui/NavbarSection/NavbarSection.mjs";
|
|
188
|
+
import * as Ro from "../ui/NewsletterSection/NewsletterSection.mjs";
|
|
189
|
+
import * as Go from "../ui/NotificationStack/NotificationStack.mjs";
|
|
190
|
+
import * as wo from "../ui/Num/Num.mjs";
|
|
191
|
+
import * as No from "../ui/NumberStepper/NumberStepper.mjs";
|
|
192
|
+
import * as Ho from "../ui/OfflineQueue/OfflineQueue.mjs";
|
|
193
|
+
import * as Wo from "../ui/OnboardingCarousel/OnboardingCarousel.mjs";
|
|
194
|
+
import * as Eo from "../ui/OtpInput/OtpInput.mjs";
|
|
195
|
+
import * as Oo from "../ui/PageHeader/PageHeader.mjs";
|
|
196
|
+
import * as qo from "../ui/Panel/Panel.mjs";
|
|
197
|
+
import * as Vo from "../ui/PaymentInstructions/PaymentInstructions.mjs";
|
|
198
|
+
import * as Ko from "../ui/PermissionMatrix/PermissionMatrix.mjs";
|
|
199
|
+
import * as Uo from "../ui/PhoneFrame/PhoneFrame.mjs";
|
|
200
|
+
import * as zo from "../ui/PhotoHero/PhotoHero.mjs";
|
|
201
|
+
import * as Jo from "../ui/PhotoStack/PhotoStack.mjs";
|
|
202
|
+
import * as Qo from "../ui/PhotoStrip/PhotoStrip.mjs";
|
|
203
|
+
import * as Zo from "../ui/PlacePin/PlacePin.mjs";
|
|
204
|
+
import * as _o from "../ui/Polaroid/Polaroid.mjs";
|
|
205
|
+
import * as $o from "../ui/Popover/Popover.mjs";
|
|
206
|
+
import * as Xo from "../ui/PostageStamp/PostageStamp.mjs";
|
|
207
|
+
import * as Yo from "../ui/Pressable/Pressable.mjs";
|
|
208
|
+
import * as ra from "../ui/PreviewConfirmDialog/PreviewConfirmDialog.mjs";
|
|
209
|
+
import * as ta from "../ui/PricingCard/PricingCard.mjs";
|
|
210
|
+
import * as oa from "../ui/PricingSection/PricingSection.mjs";
|
|
211
|
+
import * as aa from "../ui/PricingToggle/PricingToggle.mjs";
|
|
212
|
+
import * as ia from "../ui/ProblemMarquee/ProblemMarquee.mjs";
|
|
213
|
+
import * as ea from "../ui/ProductCard/ProductCard.mjs";
|
|
214
|
+
import * as sa from "../ui/ProfileCard/ProfileCard.mjs";
|
|
215
|
+
import * as ma from "../ui/ProgressBar/ProgressBar.mjs";
|
|
216
|
+
import * as na from "../ui/ProgressButton/ProgressButton.mjs";
|
|
217
|
+
import * as pa from "../ui/ProgressCard/ProgressCard.mjs";
|
|
218
|
+
import * as ua from "../ui/QuickActions/QuickActions.mjs";
|
|
219
|
+
import * as la from "../ui/RangeSlider/RangeSlider.mjs";
|
|
220
|
+
import * as ca from "../ui/ReasonDialog/ReasonDialog.mjs";
|
|
221
|
+
import * as Ca from "../ui/RecordHeader/RecordHeader.mjs";
|
|
222
|
+
import * as fa from "../ui/RecoveryCodes/RecoveryCodes.mjs";
|
|
223
|
+
import * as xa from "../ui/ReminderList/ReminderList.mjs";
|
|
224
|
+
import * as ha from "../ui/RequirementsChecklist/RequirementsChecklist.mjs";
|
|
225
|
+
import * as da from "../ui/Reveal/Reveal.mjs";
|
|
226
|
+
import * as ja from "../ui/RichTextEditor/RichTextEditor.mjs";
|
|
227
|
+
import * as Sa from "../ui/RowCard/RowCard.mjs";
|
|
228
|
+
import * as Ba from "../ui/SavedViewsMenu/SavedViewsMenu.mjs";
|
|
229
|
+
import * as ga from "../ui/SceneArt/SceneArt.mjs";
|
|
230
|
+
import * as Pa from "../ui/ScheduleTable/ScheduleTable.mjs";
|
|
231
|
+
import * as Ta from "../ui/ScheduleTimeline/ScheduleTimeline.mjs";
|
|
232
|
+
import * as ka from "../ui/SeatMap/SeatMap.mjs";
|
|
233
|
+
import * as ba from "../ui/SectionKit/SectionArt.mjs";
|
|
234
|
+
import * as Ma from "../ui/SectionKit/SectionKit.mjs";
|
|
235
|
+
import * as Aa from "../ui/SectionKit/UiPreviews.mjs";
|
|
236
|
+
import * as Fa from "../ui/SegmentedControl/SegmentedControl.mjs";
|
|
237
|
+
import * as Da from "../ui/Select/Select.mjs";
|
|
238
|
+
import * as ya from "../ui/SettingsSection/SettingsSection.mjs";
|
|
239
|
+
import * as Ia from "../ui/SettingsShell/SettingsShell.mjs";
|
|
240
|
+
import * as va from "../ui/ShareLink/ShareLink.mjs";
|
|
241
|
+
import * as La from "../ui/SharedJournal/SharedJournal.mjs";
|
|
242
|
+
import * as Ra from "../ui/ShimmerButton/ShimmerButton.mjs";
|
|
243
|
+
import * as Ga from "../ui/ShortcutSheet/ShortcutSheet.mjs";
|
|
244
|
+
import * as wa from "../ui/SidebarNav/SidebarNav.mjs";
|
|
245
|
+
import * as Na from "../ui/Skeleton/Skeleton.mjs";
|
|
246
|
+
import * as Ha from "../ui/SolutionCards/SolutionCards.mjs";
|
|
247
|
+
import * as Wa from "../ui/SplitButton/SplitButton.mjs";
|
|
248
|
+
import * as Ea from "../ui/SplitPane/SplitPane.mjs";
|
|
249
|
+
import * as Oa from "../ui/SpotlightCard/SpotlightCard.mjs";
|
|
250
|
+
import * as qa from "../ui/StackedStatusBar/StackedStatusBar.mjs";
|
|
251
|
+
import * as Va from "../ui/StatStrip/StatStrip.mjs";
|
|
252
|
+
import * as Ka from "../ui/StatsBand/StatsBand.mjs";
|
|
253
|
+
import * as Ua from "../ui/StatsStrip/StatsStrip.mjs";
|
|
254
|
+
import * as za from "../ui/StatusBadge/StatusBadge.mjs";
|
|
255
|
+
import * as Ja from "../ui/StatusPill/StatusPill.mjs";
|
|
256
|
+
import * as Qa from "../ui/Stepper/Stepper.mjs";
|
|
257
|
+
import * as Za from "../ui/Sticker/Sticker.mjs";
|
|
258
|
+
import * as _a from "../ui/StoryCard/StoryCard.mjs";
|
|
259
|
+
import * as $a from "../ui/SwatchPicker/SwatchPicker.mjs";
|
|
260
|
+
import * as Xa from "../ui/TabsPanel/TabsPanel.mjs";
|
|
261
|
+
import * as Ya from "../ui/TagInput/TagInput.mjs";
|
|
262
|
+
import * as ri from "../ui/TeamSection/TeamSection.mjs";
|
|
263
|
+
import * as ti from "../ui/TemplateFiller/TemplateFiller.mjs";
|
|
264
|
+
import * as oi from "../ui/TestimonialCard/TestimonialCard.mjs";
|
|
265
|
+
import * as ai from "../ui/TestimonialMarquee/TestimonialMarquee.mjs";
|
|
266
|
+
import * as ii from "../ui/TestimonialsSection/TestimonialsSection.mjs";
|
|
267
|
+
import * as ei from "../ui/TextField/TextField.mjs";
|
|
268
|
+
import * as si from "../ui/ThreeWayMatchTable/ThreeWayMatchTable.mjs";
|
|
269
|
+
import * as mi from "../ui/TicketCard/TicketCard.mjs";
|
|
270
|
+
import * as ni from "../ui/Toast/Toast.mjs";
|
|
271
|
+
import * as pi from "../ui/ToggleButton/ToggleButton.mjs";
|
|
272
|
+
import * as ui from "../ui/Tooltip/Tooltip.mjs";
|
|
273
|
+
import * as li from "../ui/TopBar/TopBar.mjs";
|
|
274
|
+
import * as ci from "../ui/TotpSetup/TotpSetup.mjs";
|
|
275
|
+
import * as Ci from "../ui/Transition/Transition.mjs";
|
|
276
|
+
import * as fi from "../ui/TripItinerary/TripItinerary.mjs";
|
|
277
|
+
import * as xi from "../ui/TripRecap/TripRecap.mjs";
|
|
278
|
+
import * as hi from "../ui/UnitGrid/UnitGrid.mjs";
|
|
279
|
+
import * as di from "../ui/VerticalSlider/VerticalSlider.mjs";
|
|
280
|
+
import * as ji from "../ui/VoiceNote/VoiceNote.mjs";
|
|
281
|
+
import * as Si from "../ui/WalletCard/WalletCard.mjs";
|
|
282
|
+
import * as Bi from "../ui/WashiTape/WashiTape.mjs";
|
|
283
|
+
import * as gi from "../ui/WeatherBadge/WeatherBadge.mjs";
|
|
284
|
+
import * as Pi from "../ui/WeatherCard/WeatherCard.mjs";
|
|
285
|
+
import * as Ti from "../ui/WeekStrip/WeekStrip.mjs";
|
|
286
|
+
import * as ki from "../ui/Wizard/Wizard.mjs";
|
|
287
|
+
import * as bi from "../ui/WorkspaceSwitcher/WorkspaceSwitcher.mjs";
|
|
288
|
+
import Mi from "../Kpi/Kpi.mjs";
|
|
289
|
+
import Ai from "../SegmentedBar/SegmentedBar.mjs";
|
|
290
|
+
const Fi = /* @__PURE__ */ Object.assign({
|
|
290
291
|
"../ChartContainer/charts/ActivityRings/ActivityRings.jsx": n,
|
|
291
292
|
"../ChartContainer/charts/AnnotatedTimeline/AnnotatedTimeline.jsx": p,
|
|
292
293
|
"../ChartContainer/charts/ArcMeter/ArcMeter.jsx": u,
|
|
@@ -348,7 +349,7 @@ const Ai = /* @__PURE__ */ Object.assign({
|
|
|
348
349
|
"../ChartContainer/charts/Treemap/Treemap.jsx": cr,
|
|
349
350
|
"../ChartContainer/charts/TrendTiles/TrendTiles.jsx": Cr,
|
|
350
351
|
"../ChartContainer/charts/ZoneGauge/ZoneGauge.jsx": fr
|
|
351
|
-
}),
|
|
352
|
+
}), Di = /* @__PURE__ */ Object.assign({ "../ui/AccentHeadline/AccentHeadline.jsx": xr, "../ui/Accordion/Accordion.jsx": hr, "../ui/AchievementCard/AchievementCard.jsx": dr, "../ui/AddPhotos/AddPhotos.jsx": jr, "../ui/AgentList/AgentList.jsx": Sr, "../ui/Alert/Alert.jsx": Br, "../ui/AlertsBell/AlertsBell.jsx": gr, "../ui/AllocationSplitter/AllocationSplitter.jsx": Pr, "../ui/AppDownloadCTA/AppDownloadCTA.jsx": Tr, "../ui/AppShell/AppShell.jsx": kr, "../ui/AuthSection/AuthSection.jsx": br, "../ui/AvailabilityPicker/AvailabilityPicker.jsx": Mr, "../ui/AvatarStack/AvatarStack.jsx": Ar, "../ui/BackButton/BackButton.jsx": Fr, "../ui/BeforeAfterTable/BeforeAfterTable.jsx": Dr, "../ui/BentoFeatures/BentoFeatures.jsx": yr, "../ui/BentoGrid/BentoGrid.jsx": Ir, "../ui/BoardingPass/BoardingPass.jsx": vr, "../ui/Book3D/Book3D.jsx": Lr, "../ui/BookShowcase/BookShowcase.jsx": Rr, "../ui/BookViewer/BookViewer.jsx": Gr, "../ui/Bookshelf/Bookshelf.jsx": wr, "../ui/BorderBeam/BorderBeam.jsx": Nr, "../ui/BottomNav/BottomNav.jsx": Hr, "../ui/Breadcrumbs/Breadcrumbs.jsx": Wr, "../ui/BulkBar/BulkBar.jsx": Er, "../ui/Button/Button.jsx": Or, "../ui/Button/buttonIcons.jsx": qr, "../ui/ButtonGroup/ButtonGroup.jsx": Vr, "../ui/Calendar/Calendar.jsx": Kr, "../ui/CascadeSelect/CascadeSelect.jsx": Ur, "../ui/ChangeTimeline/ChangeTimeline.jsx": zr, "../ui/ChangedDot/ChangedDot.jsx": Jr, "../ui/ChatThread/ChatThread.jsx": Qr, "../ui/Checkbox/Checkbox.jsx": Zr, "../ui/Checklist/Checklist.jsx": _r, "../ui/Checklist/kitIcons.jsx": $r, "../ui/Chip/Chip.jsx": Xr, "../ui/ChoiceGroup/ChoiceGroup.jsx": Yr, "../ui/ClockCard/ClockCard.jsx": rt, "../ui/CloseButton/CloseButton.jsx": tt, "../ui/ColumnMapper/ColumnMapper.jsx": ot, "../ui/Combobox/Combobox.jsx": at, "../ui/CommandPalette/CommandPalette.icons.jsx": it, "../ui/CommandPalette/CommandPalette.jsx": et, "../ui/ComposeDialog/ComposeDialog.jsx": st, "../ui/ConfirmButton/ConfirmButton.jsx": mt, "../ui/ContentSection/ContentSection.jsx": nt, "../ui/ConversationList/ConversationList.jsx": pt, "../ui/CopyButton/CopyButton.jsx": ut, "../ui/CopyField/CopyField.jsx": lt, "../ui/CountUp/CountUp.jsx": ct, "../ui/CounterTextarea/CounterTextarea.jsx": Ct, "../ui/CreatableSelect/CreatableSelect.jsx": ft, "../ui/CredentialList/CredentialList.jsx": xt, "../ui/CtaBanner/CtaBanner.jsx": ht, "../ui/DashboardGrid/DashboardGrid.jsx": dt, "../ui/DataGrid/DataGrid.jsx": jt, "../ui/DateField/DateField.jsx": St, "../ui/DatePicker/DatePicker.jsx": Bt, "../ui/DateStrip/DateStrip.jsx": gt, "../ui/DeltaPill/DeltaPill.jsx": Pt, "../ui/DescriptionList/DescriptionList.jsx": Tt, "../ui/Dialog/Dialog.jsx": kt, "../ui/Doodles/Doodles.jsx": bt, "../ui/Drawer/Drawer.jsx": Mt, "../ui/DropdownMenu/DropdownMenu.jsx": At, "../ui/EmptyLine/EmptyLine.jsx": Ft, "../ui/EmptyState/EmptyState.jsx": Dt, "../ui/ErrorSection/ErrorSection.jsx": yt, "../ui/EventCard/EventCard.jsx": It, "../ui/EventTicket/EventTicket.jsx": vt, "../ui/EyebrowHeading/EyebrowHeading.jsx": Lt, "../ui/FaqSection/FaqSection.jsx": Rt, "../ui/FeatureGrid/FeatureGrid.jsx": Gt, "../ui/FeatureSplit/FeatureSplit.jsx": wt, "../ui/FigureList/FigureList.jsx": Nt, "../ui/FileDropzone/FileDropzone.jsx": Ht, "../ui/FileProgress/FileProgress.jsx": Wt, "../ui/FileRow/FileRow.jsx": Et, "../ui/FilterBar/FilterBar.jsx": Ot, "../ui/FlipBook/FlipBook.jsx": qt, "../ui/FlipBook/FlipBookSamples.jsx": Vt, "../ui/FloatingActionButton/FloatingActionButton.jsx": Kt, "../ui/FooterSection/FooterSection.jsx": Ut, "../ui/Form/Form.jsx": zt, "../ui/Form/FormField.jsx": Jt, "../ui/FormDialog/FormDialog.jsx": Qt, "../ui/GlassCard/GlassCard.jsx": Zt, "../ui/GradientText/GradientText.jsx": _t, "../ui/HeroSection/HeroSection.jsx": $t, "../ui/HowItWorks/HowItWorks.jsx": Xt, "../ui/IconButton/IconButton.jsx": Yt, "../ui/IconChoice/IconChoice.jsx": ro, "../ui/IllustratedMap/IllustratedMap.jsx": to, "../ui/Illustration/Illustration.jsx": oo, "../ui/InboxLayout/InboxLayout.jsx": ao, "../ui/InboxLayout/demoMail.jsx": io, "../ui/InboxList/InboxList.jsx": eo, "../ui/InboxList/messagingIcons.jsx": so, "../ui/InsightList/InsightList.jsx": mo, "../ui/InspectionChecklist/InspectionChecklist.jsx": no, "../ui/InstallPrompt/InstallPrompt.jsx": po, "../ui/IntegrationCard/IntegrationCard.jsx": uo, "../ui/IssueCard/IssueCard.jsx": lo, "../ui/JournalNote/JournalNote.jsx": co, "../ui/KanbanBoard/KanbanBoard.jsx": Co, "../ui/LauncherSheet/LauncherSheet.jsx": fo, "../ui/Lightbox/Lightbox.jsx": xo, "../ui/LikeButton/LikeButton.jsx": ho, "../ui/LogoCloud/LogoCloud.jsx": jo, "../ui/MasonryGrid/MasonryGrid.jsx": So, "../ui/MatchCard/MatchCard.jsx": Bo, "../ui/MediaPlayer/MediaPlayer.jsx": go, "../ui/MeshGradient/MeshGradient.jsx": Po, "../ui/MessageReader/MessageReader.jsx": To, "../ui/MessageReader/safeText.jsx": ko, "../ui/MfaRequiredScreen/MfaRequiredScreen.jsx": bo, "../ui/MiniCalendar/MiniCalendar.jsx": Mo, "../ui/Money/Money.jsx": Ao, "../ui/MoneyInput/MoneyInput.jsx": Fo, "../ui/MonthPlanner/MonthPlanner.jsx": Do, "../ui/MoreButton/MoreButton.jsx": yo, "../ui/NavIcon/NavIcon.jsx": Io, "../ui/NavTabs/NavTabs.jsx": vo, "../ui/NavbarSection/NavbarSection.jsx": Lo, "../ui/NewsletterSection/NewsletterSection.jsx": Ro, "../ui/NotificationStack/NotificationStack.jsx": Go, "../ui/Num/Num.jsx": wo, "../ui/NumberStepper/NumberStepper.jsx": No, "../ui/OfflineQueue/OfflineQueue.jsx": Ho, "../ui/OnboardingCarousel/OnboardingCarousel.jsx": Wo, "../ui/OtpInput/OtpInput.jsx": Eo, "../ui/PageHeader/PageHeader.jsx": Oo, "../ui/Panel/Panel.jsx": qo, "../ui/PaymentInstructions/PaymentInstructions.jsx": Vo, "../ui/PermissionMatrix/PermissionMatrix.jsx": Ko, "../ui/PhoneFrame/PhoneFrame.jsx": Uo, "../ui/PhotoHero/PhotoHero.jsx": zo, "../ui/PhotoStack/PhotoStack.jsx": Jo, "../ui/PhotoStrip/PhotoStrip.jsx": Qo, "../ui/PlacePin/PlacePin.jsx": Zo, "../ui/Polaroid/Polaroid.jsx": _o, "../ui/Popover/Popover.jsx": $o, "../ui/PostageStamp/PostageStamp.jsx": Xo, "../ui/Pressable/Pressable.jsx": Yo, "../ui/PreviewConfirmDialog/PreviewConfirmDialog.jsx": ra, "../ui/PricingCard/PricingCard.jsx": ta, "../ui/PricingSection/PricingSection.jsx": oa, "../ui/PricingToggle/PricingToggle.jsx": aa, "../ui/ProblemMarquee/ProblemMarquee.jsx": ia, "../ui/ProductCard/ProductCard.jsx": ea, "../ui/ProfileCard/ProfileCard.jsx": sa, "../ui/ProgressBar/ProgressBar.jsx": ma, "../ui/ProgressButton/ProgressButton.jsx": na, "../ui/ProgressCard/ProgressCard.jsx": pa, "../ui/QuickActions/QuickActions.jsx": ua, "../ui/RangeSlider/RangeSlider.jsx": la, "../ui/ReasonDialog/ReasonDialog.jsx": ca, "../ui/RecordHeader/RecordHeader.jsx": Ca, "../ui/RecoveryCodes/RecoveryCodes.jsx": fa, "../ui/ReminderList/ReminderList.jsx": xa, "../ui/RequirementsChecklist/RequirementsChecklist.jsx": ha, "../ui/Reveal/Reveal.jsx": da, "../ui/RichTextEditor/RichTextEditor.jsx": ja, "../ui/RowCard/RowCard.jsx": Sa, "../ui/SavedViewsMenu/SavedViewsMenu.jsx": Ba, "../ui/SceneArt/SceneArt.jsx": ga, "../ui/ScheduleTable/ScheduleTable.jsx": Pa, "../ui/ScheduleTimeline/ScheduleTimeline.jsx": Ta, "../ui/SeatMap/SeatMap.jsx": ka, "../ui/SectionKit/SectionArt.jsx": ba, "../ui/SectionKit/SectionKit.jsx": Ma, "../ui/SectionKit/UiPreviews.jsx": Aa, "../ui/SegmentedControl/SegmentedControl.jsx": Fa, "../ui/Select/Select.jsx": Da, "../ui/SettingsSection/SettingsSection.jsx": ya, "../ui/SettingsShell/SettingsShell.jsx": Ia, "../ui/ShareLink/ShareLink.jsx": va, "../ui/SharedJournal/SharedJournal.jsx": La, "../ui/ShimmerButton/ShimmerButton.jsx": Ra, "../ui/ShortcutSheet/ShortcutSheet.jsx": Ga, "../ui/SidebarNav/SidebarNav.jsx": wa, "../ui/Skeleton/Skeleton.jsx": Na, "../ui/SolutionCards/SolutionCards.jsx": Ha, "../ui/SplitButton/SplitButton.jsx": Wa, "../ui/SplitPane/SplitPane.jsx": Ea, "../ui/SpotlightCard/SpotlightCard.jsx": Oa, "../ui/StackedStatusBar/StackedStatusBar.jsx": qa, "../ui/StatStrip/StatStrip.jsx": Va, "../ui/StatsBand/StatsBand.jsx": Ka, "../ui/StatsStrip/StatsStrip.jsx": Ua, "../ui/StatusBadge/StatusBadge.jsx": za, "../ui/StatusPill/StatusPill.jsx": Ja, "../ui/Stepper/Stepper.jsx": Qa, "../ui/Sticker/Sticker.jsx": Za, "../ui/StoryCard/StoryCard.jsx": _a, "../ui/SwatchPicker/SwatchPicker.jsx": $a, "../ui/TabsPanel/TabsPanel.jsx": Xa, "../ui/TagInput/TagInput.jsx": Ya, "../ui/TeamSection/TeamSection.jsx": ri, "../ui/TemplateFiller/TemplateFiller.jsx": ti, "../ui/TestimonialCard/TestimonialCard.jsx": oi, "../ui/TestimonialMarquee/TestimonialMarquee.jsx": ai, "../ui/TestimonialsSection/TestimonialsSection.jsx": ii, "../ui/TextField/TextField.jsx": ei, "../ui/ThreeWayMatchTable/ThreeWayMatchTable.jsx": si, "../ui/TicketCard/TicketCard.jsx": mi, "../ui/Toast/Toast.jsx": ni, "../ui/ToggleButton/ToggleButton.jsx": pi, "../ui/Tooltip/Tooltip.jsx": ui, "../ui/TopBar/TopBar.jsx": li, "../ui/TotpSetup/TotpSetup.jsx": ci, "../ui/Transition/Transition.jsx": Ci, "../ui/TripItinerary/TripItinerary.jsx": fi, "../ui/TripRecap/TripRecap.jsx": xi, "../ui/UnitGrid/UnitGrid.jsx": hi, "../ui/VerticalSlider/VerticalSlider.jsx": di, "../ui/VoiceNote/VoiceNote.jsx": ji, "../ui/WalletCard/WalletCard.jsx": Si, "../ui/WashiTape/WashiTape.jsx": Bi, "../ui/WeatherBadge/WeatherBadge.jsx": gi, "../ui/WeatherCard/WeatherCard.jsx": Pi, "../ui/WeekStrip/WeekStrip.jsx": Ti, "../ui/Wizard/Wizard.jsx": ki, "../ui/WorkspaceSwitcher/WorkspaceSwitcher.jsx": bi });
|
|
352
353
|
function e(s) {
|
|
353
354
|
const o = {};
|
|
354
355
|
for (const [m, a] of Object.entries(s)) {
|
|
@@ -359,13 +360,13 @@ function e(s) {
|
|
|
359
360
|
}
|
|
360
361
|
return o;
|
|
361
362
|
}
|
|
362
|
-
const
|
|
363
|
-
...e(Ai),
|
|
363
|
+
const yi = {
|
|
364
364
|
...e(Fi),
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
...e(Di),
|
|
366
|
+
Kpi: Mi,
|
|
367
|
+
SegmentedBar: Ai
|
|
367
368
|
};
|
|
368
|
-
Object.keys(
|
|
369
|
+
Object.keys(yi).sort();
|
|
369
370
|
export {
|
|
370
|
-
|
|
371
|
+
yi as DASHBOARD_COMPONENTS
|
|
371
372
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),N=require("react"),w=require("./usePagination.cjs"),T=require("./useTableSelection.cjs"),f=require("../ui/IconButton/IconButton.cjs");;/* empty css */const W=require("../../icons/glyphs/ChevronLeft.cjs"),A=require("../../icons/glyphs/ChevronRight.cjs"),k=require("../ui/Checkbox/Checkbox.cjs");function z(t){return typeof t.header=="function"?t.header():t.header??""}function v(t){return{width:t.width,minWidth:t.minWidth,textAlign:t.align??"left"}}function B({rows:t,columns:d,getRowId:i,selectable:o=!1,activeRowId:g,onActiveRowChange:x,pageSize:h,pageSizeOptions:m=[10,25,50],emptyMessage:P="No data",className:C=""}){const r=h!=null&&h>0,[_,y]=N.useState(h??10),s=w.usePagination(t,r?_:0),u=r?s.pageItems:t,l=T.useTableSelection(u,i),j=typeof x=="function",c=N.useMemo(()=>o?[{id:"__select",width:"3rem",header:()=>e.jsx(k.Checkbox,{className:"dt-checkbox",checked:l.isAllSelected,indeterminate:l.isIndeterminate,onChange:l.toggleAll,"aria-label":"Select all"}),cell:a=>e.jsx("div",{onClick:n=>n.stopPropagation(),children:e.jsx(k.Checkbox,{className:"dt-checkbox",checked:l.isSelected(i(a)),onChange:()=>l.toggleRow(i(a)),"aria-label":"Select row"})})},...d]:d,[o,d,l,i]),S=a=>{j&&x(g===a?null:a)};return e.jsxs("div",{className:`data-table${r?" data-table--paginated":""} ${C}`.trim(),children:[e.jsx("div",{className:"data-table__scroll",children:e.jsxs("table",{className:"data-table__table",children:[e.jsx("colgroup",{children:c.map(a=>e.jsx("col",{style:{width:a.width??a.minWidth}},a.id))}),e.jsx("thead",{className:"data-table__head",children:e.jsx("tr",{children:c.map(a=>e.jsx("th",{className:"data-table__th",style:v(a),children:z(a)},a.id))})}),e.jsx("tbody",{children:u.length===0?e.jsx("tr",{children:e.jsx("td",{className:"data-table__empty",colSpan:c.length,children:P})}):u.map(a=>{const n=i(a),p=g===n,q=o&&l.isSelected(n);return e.jsx("tr",{className:["data-table__row",j&&"data-table__row--clickable",q&&"data-table__row--checked",p&&"data-table__row--active"].filter(Boolean).join(" "),onClick:()=>S(n),"aria-selected":p||void 0,children:c.map(b=>e.jsx("td",{className:"data-table__td",style:v(b),children:b.cell(a,l)},b.id))},n)})})]})}),r&&t.length>0&&e.jsxs("footer",{className:"data-table__pagination",children:[e.jsx("span",{className:"data-table__pagination-summary",children:t.length===0?"No rows":e.jsxs(e.Fragment,{children:[s.rangeStart,"–",s.rangeEnd," of ",e.jsx("strong",{children:s.totalItems})," rows"]})}),e.jsxs("div",{className:"data-table__pagination-actions",children:[m.length>1&&e.jsxs("label",{className:"data-table__page-size",children:[e.jsx("span",{children:"Rows per page"}),e.jsx("select",{value:_,onChange:a=>{y(Number(a.target.value)),s.goToPage(0)},children:m.map(a=>e.jsx("option",{value:a,children:a},a))})]}),s.totalPages>1&&e.jsxs("div",{className:"data-table__pagination-nav",children:[e.jsx(f.default,{size:"sm",tooltip:!1,icon:e.jsx(W.default,{trim:!0,size:14,strokeWidth:2.5}),label:"Previous page",className:"data-table__pagination-btn",onClick:s.goPrev,disabled:!s.canGoPrev}),e.jsxs("span",{className:"data-table__pagination-page",children:[s.pageIndex+1," / ",s.totalPages]}),e.jsx(f.default,{size:"sm",tooltip:!1,icon:e.jsx(A.default,{trim:!0,size:14,strokeWidth:2.5}),label:"Next page",className:"data-table__pagination-btn",onClick:s.goNext,disabled:!s.canGoNext})]})]})]})]})}exports.DataTable=B;
|