@ostack.tech/ui-exhibit 1.3.0-beta.2 → 1.3.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/LICENSE +202 -0
- package/README.md +5 -1
- package/dist/ostack-ui-exhibit.js +73 -43
- package/dist/ostack-ui-exhibit.js.map +1 -1
- package/dist/webapp/assets/index-CMsINKJZ.css +1 -0
- package/dist/webapp/assets/index-DLT-hjA2.js +1136 -0
- package/dist/webapp/index.html +2 -2
- package/package.json +5 -11
- package/types/sections/PaginationSection.d.ts +1 -0
- package/dist/webapp/assets/index-BLHQXNbF.js +0 -1136
- package/dist/webapp/assets/index-ESQuhIcZ.css +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c } from "react/compiler-runtime";
|
|
2
|
-
import { Alert, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Box, Button, ButtonGroup, Calendar, Checkbox, CheckboxGroup, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandMenu, CommandMenuDialog, CommandMenuGroup, CommandMenuItem, Container, ControlAddon, DataTable, DataTableContent, DataTableFilter, DataTablePagination, DataTableRowsPerPage, DateInput, DateRangeInput, DescriptionList, DescriptionListItem, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Feedback, Field, FieldGroup, FieldGroupBody, FieldGroupHeader, FieldGroupTitle, Heading, HelperText, IconButton, Input, Keybinds, Keyboard, Label, Link, Mark, MenuList, MenuListGroup, MenuListItem, NumericInput, Option, Output, Popover, PopoverContent, PopoverTrigger, Radio, RadioGroup, Root, Select, Spinner, Stack, Step, StepContent, StepList, Stepper, StepperFinishTrigger, StepperNextTrigger, StepperPreviousTrigger, Tab, TabContent, TabList, Table, TableBody, TableCell, TableColumn, TableFoot, TableHead, TableRow, Tabs, Tag, Text, TextArea, Tooltip, VisuallyHidden, useCssVars, useKeyboardShortcut, useToastManager } from "@ostack.tech/ui";
|
|
2
|
+
import { Alert, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Box, Button, ButtonGroup, Calendar, Checkbox, CheckboxGroup, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandMenu, CommandMenuDialog, CommandMenuGroup, CommandMenuItem, Container, ControlAddon, DataTable, DataTableContent, DataTableFilter, DataTablePagination, DataTableRowsPerPage, DateInput, DateRangeInput, DescriptionList, DescriptionListItem, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Feedback, Field, FieldGroup, FieldGroupBody, FieldGroupHeader, FieldGroupTitle, Heading, HelperText, IconButton, Input, Keybinds, Keyboard, Label, Link, Mark, MenuList, MenuListGroup, MenuListItem, NumericInput, Option, Output, Pagination, Popover, PopoverContent, PopoverTrigger, Radio, RadioGroup, Root, Select, Spinner, Stack, Step, StepContent, StepList, Stepper, StepperFinishTrigger, StepperNextTrigger, StepperPreviousTrigger, Tab, TabContent, TabList, Table, TableBody, TableCell, TableColumn, TableFoot, TableHead, TableRow, Tabs, Tag, Text, TextArea, Tooltip, VisuallyHidden, useCssVars, useKeyboardShortcut, useToastManager } from "@ostack.tech/ui";
|
|
3
3
|
import { enGB } from "@ostack.tech/ui/locales";
|
|
4
4
|
import { DEV } from "esm-env";
|
|
5
5
|
import { Fragment, createContext, useContext, useState } from "react";
|
|
@@ -36,7 +36,7 @@ function ExhibitGrid(t0) {
|
|
|
36
36
|
} else t5 = $[5];
|
|
37
37
|
let t6;
|
|
38
38
|
if ($[6] !== cols) {
|
|
39
|
-
t6 = Object.keys(cols).map(_temp$
|
|
39
|
+
t6 = Object.keys(cols).map(_temp$29);
|
|
40
40
|
$[6] = cols;
|
|
41
41
|
$[7] = t6;
|
|
42
42
|
} else t6 = $[7];
|
|
@@ -83,7 +83,7 @@ function ExhibitGrid(t0) {
|
|
|
83
83
|
} else t8 = $[16];
|
|
84
84
|
return t8;
|
|
85
85
|
}
|
|
86
|
-
function _temp$
|
|
86
|
+
function _temp$29(colLabel) {
|
|
87
87
|
return /* @__PURE__ */ jsx("div", {
|
|
88
88
|
className: "exhibit-grid-col-label",
|
|
89
89
|
children: colLabel
|
|
@@ -249,14 +249,14 @@ function AlertDialogSection() {
|
|
|
249
249
|
Outlined: "outlined",
|
|
250
250
|
Ghost: "ghost"
|
|
251
251
|
},
|
|
252
|
-
renderItem: _temp$
|
|
252
|
+
renderItem: _temp$28
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
$[0] = t0;
|
|
256
256
|
} else t0 = $[0];
|
|
257
257
|
return t0;
|
|
258
258
|
}
|
|
259
|
-
function _temp$
|
|
259
|
+
function _temp$28(t0) {
|
|
260
260
|
const { col, row } = t0;
|
|
261
261
|
return /* @__PURE__ */ jsxs(AlertDialog, { children: [/* @__PURE__ */ jsx(AlertDialogTrigger, { children: /* @__PURE__ */ jsx(Button, {
|
|
262
262
|
variant: row,
|
|
@@ -302,14 +302,14 @@ function AlertSection() {
|
|
|
302
302
|
Subtle: "subtle",
|
|
303
303
|
Outlined: "outlined"
|
|
304
304
|
},
|
|
305
|
-
renderItem: _temp$
|
|
305
|
+
renderItem: _temp$27
|
|
306
306
|
})
|
|
307
307
|
});
|
|
308
308
|
$[0] = t0;
|
|
309
309
|
} else t0 = $[0];
|
|
310
310
|
return t0;
|
|
311
311
|
}
|
|
312
|
-
function _temp$
|
|
312
|
+
function _temp$27(t0) {
|
|
313
313
|
const { col, row } = t0;
|
|
314
314
|
return /* @__PURE__ */ jsxs(Alert, {
|
|
315
315
|
variant: row,
|
|
@@ -344,14 +344,14 @@ function ButtonGroupSection() {
|
|
|
344
344
|
Outlined: "outlined",
|
|
345
345
|
Ghost: "ghost"
|
|
346
346
|
},
|
|
347
|
-
renderItem: _temp$
|
|
347
|
+
renderItem: _temp$26
|
|
348
348
|
})
|
|
349
349
|
});
|
|
350
350
|
$[0] = t0;
|
|
351
351
|
} else t0 = $[0];
|
|
352
352
|
return t0;
|
|
353
353
|
}
|
|
354
|
-
function _temp$
|
|
354
|
+
function _temp$26(t0) {
|
|
355
355
|
const { col, row } = t0;
|
|
356
356
|
return /* @__PURE__ */ jsxs(ButtonGroup, { children: [
|
|
357
357
|
/* @__PURE__ */ jsx(Button, {
|
|
@@ -400,14 +400,14 @@ function ButtonSection() {
|
|
|
400
400
|
Outlined: "outlined",
|
|
401
401
|
Ghost: "ghost"
|
|
402
402
|
},
|
|
403
|
-
renderItem: _temp$
|
|
403
|
+
renderItem: _temp$25
|
|
404
404
|
})
|
|
405
405
|
});
|
|
406
406
|
$[0] = t0;
|
|
407
407
|
} else t0 = $[0];
|
|
408
408
|
return t0;
|
|
409
409
|
}
|
|
410
|
-
function _temp$
|
|
410
|
+
function _temp$25(t0) {
|
|
411
411
|
const { col, row } = t0;
|
|
412
412
|
return /* @__PURE__ */ jsx(Button, {
|
|
413
413
|
icon: faBolt,
|
|
@@ -460,14 +460,14 @@ function CheckboxGroupSection() {
|
|
|
460
460
|
Invalid: "invalid",
|
|
461
461
|
Warned: "warned"
|
|
462
462
|
},
|
|
463
|
-
renderItem: _temp$
|
|
463
|
+
renderItem: _temp$24
|
|
464
464
|
})
|
|
465
465
|
});
|
|
466
466
|
$[0] = t0;
|
|
467
467
|
} else t0 = $[0];
|
|
468
468
|
return t0;
|
|
469
469
|
}
|
|
470
|
-
function _temp$
|
|
470
|
+
function _temp$24(t0) {
|
|
471
471
|
const { col, row } = t0;
|
|
472
472
|
return /* @__PURE__ */ jsxs(Field, { children: [
|
|
473
473
|
/* @__PURE__ */ jsx(Label, { children: "Toppings" }),
|
|
@@ -534,14 +534,14 @@ function CheckboxSection() {
|
|
|
534
534
|
Invalid: "invalid",
|
|
535
535
|
Warned: "warned"
|
|
536
536
|
},
|
|
537
|
-
renderItem: _temp$
|
|
537
|
+
renderItem: _temp$23
|
|
538
538
|
})
|
|
539
539
|
});
|
|
540
540
|
$[0] = t0;
|
|
541
541
|
} else t0 = $[0];
|
|
542
542
|
return t0;
|
|
543
543
|
}
|
|
544
|
-
function _temp$
|
|
544
|
+
function _temp$23(t0) {
|
|
545
545
|
const { col, row } = t0;
|
|
546
546
|
return /* @__PURE__ */ jsxs(Field, { children: [
|
|
547
547
|
/* @__PURE__ */ jsx(Checkbox, {
|
|
@@ -582,14 +582,14 @@ function CodeSection() {
|
|
|
582
582
|
Danger: "danger",
|
|
583
583
|
Warning: "warning"
|
|
584
584
|
},
|
|
585
|
-
renderItem: _temp$
|
|
585
|
+
renderItem: _temp$22
|
|
586
586
|
})
|
|
587
587
|
});
|
|
588
588
|
$[0] = t0;
|
|
589
589
|
} else t0 = $[0];
|
|
590
590
|
return t0;
|
|
591
591
|
}
|
|
592
|
-
function _temp$
|
|
592
|
+
function _temp$22(t0) {
|
|
593
593
|
const { col } = t0;
|
|
594
594
|
return /* @__PURE__ */ jsx(Code, {
|
|
595
595
|
color: col,
|
|
@@ -601,7 +601,7 @@ function CollapsibleSection() {
|
|
|
601
601
|
const $ = c(3);
|
|
602
602
|
let t0;
|
|
603
603
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
604
|
-
t0 = /* @__PURE__ */ jsx(CollapsibleTrigger, { children: _temp$
|
|
604
|
+
t0 = /* @__PURE__ */ jsx(CollapsibleTrigger, { children: _temp$21 });
|
|
605
605
|
$[0] = t0;
|
|
606
606
|
} else t0 = $[0];
|
|
607
607
|
let t1;
|
|
@@ -635,7 +635,7 @@ function CollapsibleSection() {
|
|
|
635
635
|
} else t2 = $[2];
|
|
636
636
|
return t2;
|
|
637
637
|
}
|
|
638
|
-
function _temp$
|
|
638
|
+
function _temp$21(open) {
|
|
639
639
|
return /* @__PURE__ */ jsxs(Button, {
|
|
640
640
|
icon: open ? faCaretUp : faCaretDown,
|
|
641
641
|
iconPlacement: "end",
|
|
@@ -1441,7 +1441,7 @@ function _temp2$1(t0) {
|
|
|
1441
1441
|
align: "right",
|
|
1442
1442
|
sortable: true,
|
|
1443
1443
|
filterable: true,
|
|
1444
|
-
format: _temp$
|
|
1444
|
+
format: _temp$20
|
|
1445
1445
|
}
|
|
1446
1446
|
},
|
|
1447
1447
|
rows: ROWS$1,
|
|
@@ -1465,7 +1465,7 @@ function _temp2$1(t0) {
|
|
|
1465
1465
|
})
|
|
1466
1466
|
});
|
|
1467
1467
|
}
|
|
1468
|
-
function _temp$
|
|
1468
|
+
function _temp$20(t0) {
|
|
1469
1469
|
const { value } = t0;
|
|
1470
1470
|
return value.toFixed(1);
|
|
1471
1471
|
}
|
|
@@ -1493,14 +1493,14 @@ function DateInputSection() {
|
|
|
1493
1493
|
Invalid: "invalid",
|
|
1494
1494
|
Warned: "warned"
|
|
1495
1495
|
},
|
|
1496
|
-
renderItem: _temp$
|
|
1496
|
+
renderItem: _temp$19
|
|
1497
1497
|
})
|
|
1498
1498
|
});
|
|
1499
1499
|
$[0] = t0;
|
|
1500
1500
|
} else t0 = $[0];
|
|
1501
1501
|
return t0;
|
|
1502
1502
|
}
|
|
1503
|
-
function _temp$
|
|
1503
|
+
function _temp$19(t0) {
|
|
1504
1504
|
const { col, row } = t0;
|
|
1505
1505
|
return /* @__PURE__ */ jsxs(Field, { children: [
|
|
1506
1506
|
/* @__PURE__ */ jsx(Label, { children: "Birthday" }),
|
|
@@ -1550,14 +1550,14 @@ function DateRangeInputSection() {
|
|
|
1550
1550
|
Invalid: "invalid",
|
|
1551
1551
|
Warned: "warned"
|
|
1552
1552
|
},
|
|
1553
|
-
renderItem: _temp$
|
|
1553
|
+
renderItem: _temp$18
|
|
1554
1554
|
})
|
|
1555
1555
|
});
|
|
1556
1556
|
$[0] = t0;
|
|
1557
1557
|
} else t0 = $[0];
|
|
1558
1558
|
return t0;
|
|
1559
1559
|
}
|
|
1560
|
-
function _temp$
|
|
1560
|
+
function _temp$18(t0) {
|
|
1561
1561
|
const { col, row } = t0;
|
|
1562
1562
|
return /* @__PURE__ */ jsxs(Field, { children: [
|
|
1563
1563
|
/* @__PURE__ */ jsx(Label, { children: "Time off" }),
|
|
@@ -1699,14 +1699,14 @@ function DialogSection() {
|
|
|
1699
1699
|
Outlined: "outlined",
|
|
1700
1700
|
Ghost: "ghost"
|
|
1701
1701
|
},
|
|
1702
|
-
renderItem: _temp$
|
|
1702
|
+
renderItem: _temp$17
|
|
1703
1703
|
})
|
|
1704
1704
|
});
|
|
1705
1705
|
$[0] = t0;
|
|
1706
1706
|
} else t0 = $[0];
|
|
1707
1707
|
return t0;
|
|
1708
1708
|
}
|
|
1709
|
-
function _temp$
|
|
1709
|
+
function _temp$17(t0) {
|
|
1710
1710
|
const { col, row } = t0;
|
|
1711
1711
|
return /* @__PURE__ */ jsxs(Dialog, { children: [/* @__PURE__ */ jsx(DialogTrigger, { children: /* @__PURE__ */ jsx(Button, {
|
|
1712
1712
|
variant: row,
|
|
@@ -1909,14 +1909,14 @@ function FieldGroupSection() {
|
|
|
1909
1909
|
Basic: "basic",
|
|
1910
1910
|
Code: "code"
|
|
1911
1911
|
},
|
|
1912
|
-
renderItem: _temp$
|
|
1912
|
+
renderItem: _temp$16
|
|
1913
1913
|
})
|
|
1914
1914
|
});
|
|
1915
1915
|
$[0] = t0;
|
|
1916
1916
|
} else t0 = $[0];
|
|
1917
1917
|
return t0;
|
|
1918
1918
|
}
|
|
1919
|
-
function _temp$
|
|
1919
|
+
function _temp$16(t0) {
|
|
1920
1920
|
const { col } = t0;
|
|
1921
1921
|
return /* @__PURE__ */ jsxs(FieldGroup, { children: [/* @__PURE__ */ jsx(FieldGroupHeader, {
|
|
1922
1922
|
code: col === "code" ? "1" : void 0,
|
|
@@ -1951,14 +1951,14 @@ function IconButtonSection() {
|
|
|
1951
1951
|
Outlined: "outlined",
|
|
1952
1952
|
Ghost: "ghost"
|
|
1953
1953
|
},
|
|
1954
|
-
renderItem: _temp$
|
|
1954
|
+
renderItem: _temp$15
|
|
1955
1955
|
})
|
|
1956
1956
|
});
|
|
1957
1957
|
$[0] = t0;
|
|
1958
1958
|
} else t0 = $[0];
|
|
1959
1959
|
return t0;
|
|
1960
1960
|
}
|
|
1961
|
-
function _temp$
|
|
1961
|
+
function _temp$15(t0) {
|
|
1962
1962
|
const { col, row } = t0;
|
|
1963
1963
|
return /* @__PURE__ */ jsx(IconButton, {
|
|
1964
1964
|
label: "Bloom",
|
|
@@ -1997,14 +1997,14 @@ function InputSection() {
|
|
|
1997
1997
|
Invalid: "invalid",
|
|
1998
1998
|
Warned: "warned"
|
|
1999
1999
|
},
|
|
2000
|
-
renderItem: _temp$
|
|
2000
|
+
renderItem: _temp$14
|
|
2001
2001
|
})
|
|
2002
2002
|
});
|
|
2003
2003
|
$[0] = t0;
|
|
2004
2004
|
} else t0 = $[0];
|
|
2005
2005
|
return t0;
|
|
2006
2006
|
}
|
|
2007
|
-
function _temp$
|
|
2007
|
+
function _temp$14(t0) {
|
|
2008
2008
|
const { col, row } = t0;
|
|
2009
2009
|
return /* @__PURE__ */ jsxs(Field, { children: [
|
|
2010
2010
|
/* @__PURE__ */ jsx(Label, {
|
|
@@ -2076,14 +2076,14 @@ function LinkSection() {
|
|
|
2076
2076
|
Warning: "warning",
|
|
2077
2077
|
External: "external"
|
|
2078
2078
|
},
|
|
2079
|
-
renderItem: _temp$
|
|
2079
|
+
renderItem: _temp$13
|
|
2080
2080
|
})
|
|
2081
2081
|
});
|
|
2082
2082
|
$[0] = t0;
|
|
2083
2083
|
} else t0 = $[0];
|
|
2084
2084
|
return t0;
|
|
2085
2085
|
}
|
|
2086
|
-
function _temp$
|
|
2086
|
+
function _temp$13(t0) {
|
|
2087
2087
|
const { col } = t0;
|
|
2088
2088
|
return /* @__PURE__ */ jsx(Link, {
|
|
2089
2089
|
href: col === "external" ? "https://www.wikipedia.org/" : "#",
|
|
@@ -2108,14 +2108,14 @@ function MarkSection() {
|
|
|
2108
2108
|
Danger: "danger",
|
|
2109
2109
|
Warning: "warning"
|
|
2110
2110
|
},
|
|
2111
|
-
renderItem: _temp$
|
|
2111
|
+
renderItem: _temp$12
|
|
2112
2112
|
})
|
|
2113
2113
|
});
|
|
2114
2114
|
$[0] = t0;
|
|
2115
2115
|
} else t0 = $[0];
|
|
2116
2116
|
return t0;
|
|
2117
2117
|
}
|
|
2118
|
-
function _temp$
|
|
2118
|
+
function _temp$12(t0) {
|
|
2119
2119
|
const { col } = t0;
|
|
2120
2120
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
2121
2121
|
"The deadline is ",
|
|
@@ -2139,14 +2139,14 @@ function MenuListSection() {
|
|
|
2139
2139
|
Subtle: "subtle",
|
|
2140
2140
|
Solid: "solid"
|
|
2141
2141
|
},
|
|
2142
|
-
renderItem: _temp$
|
|
2142
|
+
renderItem: _temp$11
|
|
2143
2143
|
})
|
|
2144
2144
|
});
|
|
2145
2145
|
$[0] = t0;
|
|
2146
2146
|
} else t0 = $[0];
|
|
2147
2147
|
return t0;
|
|
2148
2148
|
}
|
|
2149
|
-
function _temp$
|
|
2149
|
+
function _temp$11(t0) {
|
|
2150
2150
|
const { col } = t0;
|
|
2151
2151
|
return /* @__PURE__ */ jsxs(MenuList, {
|
|
2152
2152
|
variant: col,
|
|
@@ -2214,14 +2214,14 @@ function NumericInputSection() {
|
|
|
2214
2214
|
Invalid: "invalid",
|
|
2215
2215
|
Warned: "warned"
|
|
2216
2216
|
},
|
|
2217
|
-
renderItem: _temp$
|
|
2217
|
+
renderItem: _temp$10
|
|
2218
2218
|
})
|
|
2219
2219
|
});
|
|
2220
2220
|
$[0] = t0;
|
|
2221
2221
|
} else t0 = $[0];
|
|
2222
2222
|
return t0;
|
|
2223
2223
|
}
|
|
2224
|
-
function _temp$
|
|
2224
|
+
function _temp$10(t0) {
|
|
2225
2225
|
const { col, row } = t0;
|
|
2226
2226
|
return /* @__PURE__ */ jsxs(Field, { children: [
|
|
2227
2227
|
/* @__PURE__ */ jsx(Label, { children: "Income" }),
|
|
@@ -2274,14 +2274,14 @@ function OutputSection() {
|
|
|
2274
2274
|
Invalid: "invalid",
|
|
2275
2275
|
Warned: "warned"
|
|
2276
2276
|
},
|
|
2277
|
-
renderItem: _temp$
|
|
2277
|
+
renderItem: _temp$9
|
|
2278
2278
|
})
|
|
2279
2279
|
});
|
|
2280
2280
|
$[0] = t0;
|
|
2281
2281
|
} else t0 = $[0];
|
|
2282
2282
|
return t0;
|
|
2283
2283
|
}
|
|
2284
|
-
function _temp$
|
|
2284
|
+
function _temp$9(t0) {
|
|
2285
2285
|
const { col, row } = t0;
|
|
2286
2286
|
return /* @__PURE__ */ jsxs(Field, { children: [
|
|
2287
2287
|
/* @__PURE__ */ jsx(Label, { children: "Total" }),
|
|
@@ -2304,6 +2304,35 @@ function _temp$8(t0) {
|
|
|
2304
2304
|
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "A + B + C + D - E" })
|
|
2305
2305
|
] });
|
|
2306
2306
|
}
|
|
2307
|
+
// src/sections/PaginationSection.tsx
|
|
2308
|
+
function PaginationSection() {
|
|
2309
|
+
const $ = c(1);
|
|
2310
|
+
let t0;
|
|
2311
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2312
|
+
t0 = /* @__PURE__ */ jsx(ExhibitSection, {
|
|
2313
|
+
title: "Pagination",
|
|
2314
|
+
docsPage: "ostack-ui-disclosure-pagination",
|
|
2315
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
2316
|
+
cols: {
|
|
2317
|
+
Basic: "basic",
|
|
2318
|
+
Disabled: "disabled",
|
|
2319
|
+
Loading: "loading"
|
|
2320
|
+
},
|
|
2321
|
+
renderItem: _temp$8
|
|
2322
|
+
})
|
|
2323
|
+
});
|
|
2324
|
+
$[0] = t0;
|
|
2325
|
+
} else t0 = $[0];
|
|
2326
|
+
return t0;
|
|
2327
|
+
}
|
|
2328
|
+
function _temp$8(t0) {
|
|
2329
|
+
const { col } = t0;
|
|
2330
|
+
return /* @__PURE__ */ jsx(Pagination, {
|
|
2331
|
+
count: col === "loading" ? 0 : 50,
|
|
2332
|
+
disabled: col === "disabled",
|
|
2333
|
+
loading: col === "loading"
|
|
2334
|
+
});
|
|
2335
|
+
}
|
|
2307
2336
|
// src/sections/PopoverSection.tsx
|
|
2308
2337
|
function PopoverSection() {
|
|
2309
2338
|
const $ = c(3);
|
|
@@ -2973,6 +3002,7 @@ function ExhibitApp(t0) {
|
|
|
2973
3002
|
/* @__PURE__ */ jsx(MenuListSection, {}),
|
|
2974
3003
|
/* @__PURE__ */ jsx(NumericInputSection, {}),
|
|
2975
3004
|
/* @__PURE__ */ jsx(OutputSection, {}),
|
|
3005
|
+
/* @__PURE__ */ jsx(PaginationSection, {}),
|
|
2976
3006
|
/* @__PURE__ */ jsx(PopoverSection, {}),
|
|
2977
3007
|
/* @__PURE__ */ jsx(RadioGroupSection, {}),
|
|
2978
3008
|
/* @__PURE__ */ jsx(SelectSection, {}),
|