@teach-in/react 1.2.0 → 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 +21 -21
- package/README.md +9 -9
- package/dist/chunk-3YOW5DEZ.mjs +45 -0
- package/dist/{chunk-QCLLPJMB.mjs → chunk-544SDU73.mjs} +2 -2
- package/dist/{chunk-2CEZXLZR.mjs → chunk-AFVGHUW2.mjs} +1 -1
- package/dist/{chunk-IU2JYI7W.mjs → chunk-CETCW7DS.mjs} +1 -1
- package/dist/{chunk-5FFWQB7D.mjs → chunk-JDFRAN4S.mjs} +2 -12
- package/dist/{chunk-KTWHCUYV.mjs → chunk-KTUGFQWJ.mjs} +1 -1
- package/dist/{chunk-46SKVFMZ.mjs → chunk-LJIVY6GU.mjs} +1 -1
- package/dist/{chunk-CKJ5U5Q4.mjs → chunk-NLHQDWUK.mjs} +1 -1
- package/dist/{chunk-R46SWVWL.mjs → chunk-R7LDL5CU.mjs} +1 -1
- package/dist/chunk-V2G5QHZZ.mjs +14 -0
- package/dist/{chunk-2ASQXBDD.mjs → chunk-WFNNN6WU.mjs} +1 -1
- package/dist/index.js +230 -575
- package/dist/index.mjs +125 -141
- package/dist/ui/data/index.mjs +8 -8
- package/dist/ui/feedback/index.mjs +14 -14
- package/dist/ui/form/index.js +106 -447
- package/dist/ui/form/index.mjs +21 -31
- package/dist/ui/form/rhf/fields/autocomplete-field.mjs +14 -20
- package/dist/ui/form/rhf/fields/checkbox-field.mjs +14 -20
- package/dist/ui/form/rhf/fields/date-picker-field.mjs +14 -20
- package/dist/ui/form/rhf/fields/email-field.js +10 -147
- package/dist/ui/form/rhf/fields/email-field.mjs +15 -21
- package/dist/ui/form/rhf/fields/index.d.ts +0 -1
- package/dist/ui/form/rhf/fields/index.js +102 -443
- package/dist/ui/form/rhf/fields/index.mjs +21 -31
- package/dist/ui/form/rhf/fields/input-field.js +6 -153
- package/dist/ui/form/rhf/fields/input-field.mjs +15 -21
- package/dist/ui/form/rhf/fields/radio-field.mjs +14 -20
- package/dist/ui/form/rhf/fields/select-field.js +26 -136
- package/dist/ui/form/rhf/fields/select-field.mjs +15 -21
- package/dist/ui/form/rhf/fields/switch-field.mjs +14 -20
- package/dist/ui/form/rhf/fields/text-field.js +10 -147
- package/dist/ui/form/rhf/fields/text-field.mjs +15 -21
- package/dist/ui/form/rhf/fields/textarea-field.mjs +14 -20
- package/dist/ui/form/rhf/index.js +102 -443
- package/dist/ui/form/rhf/index.mjs +21 -31
- package/dist/ui/format/index.mjs +3 -3
- package/dist/ui/index.js +230 -575
- package/dist/ui/index.mjs +125 -141
- package/dist/ui/inputs/checkbox/index.mjs +3 -3
- package/dist/ui/inputs/email/email.js +7 -144
- package/dist/ui/inputs/email/email.mjs +2 -4
- package/dist/ui/inputs/email/index.js +7 -144
- package/dist/ui/inputs/email/index.mjs +2 -4
- package/dist/ui/inputs/index.d.ts +0 -2
- package/dist/ui/inputs/index.js +56 -363
- package/dist/ui/inputs/index.mjs +25 -37
- package/dist/ui/inputs/input/index.js +3 -140
- package/dist/ui/inputs/input/index.mjs +1 -3
- package/dist/ui/inputs/input/input.d.ts +0 -1
- package/dist/ui/inputs/input/input.js +3 -140
- package/dist/ui/inputs/input/input.mjs +1 -3
- package/dist/ui/inputs/select/index.js +22 -132
- package/dist/ui/inputs/select/index.mjs +1 -3
- package/dist/ui/inputs/select/select.d.ts +0 -4
- package/dist/ui/inputs/select/select.js +22 -132
- package/dist/ui/inputs/select/select.mjs +1 -3
- package/dist/ui/inputs/text/index.js +7 -144
- package/dist/ui/inputs/text/index.mjs +2 -4
- package/dist/ui/inputs/text/text.js +7 -144
- package/dist/ui/inputs/text/text.mjs +2 -4
- package/dist/ui/layout/container/container.mjs +64 -71
- package/dist/ui/layout/container/index.mjs +64 -71
- package/dist/ui/layout/index.mjs +69 -76
- package/dist/ui/layout/page/index.mjs +3 -3
- package/dist/ui/layout/page/page-loading.mjs +3 -3
- package/dist/ui/layout/page/section-loading.mjs +3 -3
- package/dist/ui/navigation/index.mjs +5 -5
- package/dist/ui/overlays/index.mjs +4 -4
- package/dist/ui/provider/index.mjs +3 -3
- package/dist/ui/provider/ui-provider.mjs +3 -3
- package/dist/ui/theme/colors/common.mjs +3 -3
- package/dist/ui/theme/colors/index.mjs +6 -6
- package/dist/ui/theme/colors/semantic.mjs +4 -4
- package/dist/ui/theme/colors.mjs +6 -6
- package/dist/ui/theme/index.mjs +6 -6
- package/dist/ui/theme/theme.mjs +6 -6
- package/package.json +1 -1
- package/dist/chunk-2UHA3DYG.mjs +0 -62
- package/dist/chunk-C2VWADF5.mjs +0 -34
- package/dist/chunk-CUEG2BFV.mjs +0 -34
- package/dist/chunk-MCQGBAUS.mjs +0 -73
- package/dist/chunk-NSU66J5E.mjs +0 -59
- package/dist/chunk-SEJXJZSK.mjs +0 -64
- package/dist/chunk-TUIN5YJW.mjs +0 -33
- package/dist/chunk-UQAG7TKJ.mjs +0 -1
- package/dist/chunk-VXYV37IM.mjs +0 -74
- package/dist/ui/form/rhf/fields/search-field.d.ts +0 -10
- package/dist/ui/form/rhf/fields/search-field.js +0 -296
- package/dist/ui/form/rhf/fields/search-field.mjs +0 -37
- package/dist/ui/inputs/clear-button.d.ts +0 -5
- package/dist/ui/inputs/clear-button.js +0 -67
- package/dist/ui/inputs/clear-button.mjs +0 -8
- package/dist/ui/inputs/input/use-input.d.ts +0 -19
- package/dist/ui/inputs/input/use-input.js +0 -82
- package/dist/ui/inputs/input/use-input.mjs +0 -7
- package/dist/ui/inputs/search/index.d.ts +0 -1
- package/dist/ui/inputs/search/index.js +0 -270
- package/dist/ui/inputs/search/index.mjs +0 -13
- package/dist/ui/inputs/search/search.d.ts +0 -7
- package/dist/ui/inputs/search/search.js +0 -268
- package/dist/ui/inputs/search/search.mjs +0 -12
- package/dist/ui/inputs/search/use-search.d.ts +0 -12
- package/dist/ui/inputs/search/use-search.js +0 -57
- package/dist/ui/inputs/search/use-search.mjs +0 -7
- package/dist/ui/inputs/select/use-select.d.ts +0 -17
- package/dist/ui/inputs/select/use-select.js +0 -85
- package/dist/ui/inputs/select/use-select.mjs +0 -7
- package/dist/{chunk-IXPMUODA.mjs → chunk-5WDV3PDI.mjs} +6 -6
- /package/dist/{chunk-5RNCFTW5.mjs → chunk-CZEO3U25.mjs} +0 -0
- /package/dist/{chunk-PTCNYQVY.mjs → chunk-Q6JSJOU4.mjs} +0 -0
package/dist/ui/index.mjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Container
|
|
4
4
|
} from "../chunk-773RYGHT.mjs";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-JUIVZCH7.mjs";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "../chunk-
|
|
7
|
+
Flex
|
|
8
|
+
} from "../chunk-M5F723W7.mjs";
|
|
9
9
|
import "../chunk-NDQAHQFL.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Grid
|
|
@@ -30,21 +30,24 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
SectionLoading
|
|
32
32
|
} from "../chunk-25XG46X6.mjs";
|
|
33
|
+
import "../chunk-BGNMWHME.mjs";
|
|
34
|
+
import {
|
|
35
|
+
ScrollShadow
|
|
36
|
+
} from "../chunk-OZSO3C5Q.mjs";
|
|
37
|
+
import "../chunk-NVLF7L4R.mjs";
|
|
38
|
+
import {
|
|
39
|
+
Divider
|
|
40
|
+
} from "../chunk-VWGY6KWP.mjs";
|
|
33
41
|
import "../chunk-N7GOJBLM.mjs";
|
|
34
42
|
import {
|
|
35
43
|
Accordion,
|
|
36
44
|
AccordionItem
|
|
37
45
|
} from "../chunk-QUMDPADZ.mjs";
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import {
|
|
40
|
-
Flex
|
|
41
|
-
} from "../chunk-M5F723W7.mjs";
|
|
42
|
-
import "../chunk-NVLF7L4R.mjs";
|
|
46
|
+
import "../chunk-3N5UZODS.mjs";
|
|
43
47
|
import {
|
|
44
|
-
|
|
45
|
-
} from "../chunk-
|
|
48
|
+
UIProvider
|
|
49
|
+
} from "../chunk-FQUYFYMS.mjs";
|
|
46
50
|
import "../chunk-J3GK2CGQ.mjs";
|
|
47
|
-
import "../chunk-FKHR6G3R.mjs";
|
|
48
51
|
import "../chunk-AT6DX4DN.mjs";
|
|
49
52
|
import {
|
|
50
53
|
Navbar,
|
|
@@ -55,6 +58,11 @@ import {
|
|
|
55
58
|
NavbarMenuItem,
|
|
56
59
|
NavbarMenuToggle
|
|
57
60
|
} from "../chunk-SAYYLTIE.mjs";
|
|
61
|
+
import "../chunk-FKHR6G3R.mjs";
|
|
62
|
+
import {
|
|
63
|
+
BreadcrumbItem,
|
|
64
|
+
Breadcrumbs
|
|
65
|
+
} from "../chunk-TSD6GU35.mjs";
|
|
58
66
|
import "../chunk-25ISU6R3.mjs";
|
|
59
67
|
import {
|
|
60
68
|
Link
|
|
@@ -63,28 +71,23 @@ import "../chunk-MJTSZFLC.mjs";
|
|
|
63
71
|
import {
|
|
64
72
|
Tabs
|
|
65
73
|
} from "../chunk-ZSYIKEXW.mjs";
|
|
74
|
+
import "../chunk-UON5ACST.mjs";
|
|
75
|
+
import "../chunk-UT5RUCAT.mjs";
|
|
66
76
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import {
|
|
72
|
-
UIProvider
|
|
73
|
-
} from "../chunk-FQUYFYMS.mjs";
|
|
74
|
-
import "../chunk-Q6XJI7Q2.mjs";
|
|
75
|
-
import {
|
|
76
|
-
cn
|
|
77
|
-
} from "../chunk-LOMRTWX5.mjs";
|
|
78
|
-
import "../chunk-UNBE67YJ.mjs";
|
|
79
|
-
import "../chunk-57JRJHSH.mjs";
|
|
77
|
+
Popover
|
|
78
|
+
} from "../chunk-PSK7I7V4.mjs";
|
|
79
|
+
import "../chunk-ICRO6HS3.mjs";
|
|
80
|
+
import "../chunk-I5AMV7H7.mjs";
|
|
80
81
|
import {
|
|
81
|
-
|
|
82
|
-
} from "../chunk-
|
|
83
|
-
import "../chunk-PON4ZQKG.mjs";
|
|
82
|
+
Modal
|
|
83
|
+
} from "../chunk-T57H3CGO.mjs";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
Dropdown,
|
|
86
|
+
DropdownItem,
|
|
87
|
+
DropdownMenu,
|
|
88
|
+
DropdownSection,
|
|
89
|
+
DropdownTrigger
|
|
90
|
+
} from "../chunk-YNCISHAU.mjs";
|
|
88
91
|
import "../chunk-EVQFKHCM.mjs";
|
|
89
92
|
import "../chunk-XAW35UDV.mjs";
|
|
90
93
|
import {
|
|
@@ -92,60 +95,57 @@ import {
|
|
|
92
95
|
} from "../chunk-NBFOX367.mjs";
|
|
93
96
|
import {
|
|
94
97
|
theme
|
|
95
|
-
} from "../chunk-
|
|
98
|
+
} from "../chunk-WFNNN6WU.mjs";
|
|
96
99
|
import "../chunk-JWMPI5AZ.mjs";
|
|
97
|
-
import "../chunk-
|
|
98
|
-
import "../chunk-2CEZXLZR.mjs";
|
|
100
|
+
import "../chunk-544SDU73.mjs";
|
|
99
101
|
import "../chunk-EJQH6CYW.mjs";
|
|
100
|
-
import "../chunk-
|
|
102
|
+
import "../chunk-AFVGHUW2.mjs";
|
|
103
|
+
import "../chunk-5WDV3PDI.mjs";
|
|
104
|
+
import "../chunk-HOVAPYGJ.mjs";
|
|
101
105
|
import "../chunk-3LOCA2SP.mjs";
|
|
106
|
+
import "../chunk-LUERGYYZ.mjs";
|
|
102
107
|
import "../chunk-YBQFG6QJ.mjs";
|
|
103
108
|
import "../chunk-XKX5LFH7.mjs";
|
|
104
109
|
import "../chunk-SLB2JE3N.mjs";
|
|
105
110
|
import "../chunk-XYQVL4EX.mjs";
|
|
106
|
-
import "../chunk-HOVAPYGJ.mjs";
|
|
107
111
|
import "../chunk-2OPPNAW2.mjs";
|
|
108
112
|
import "../chunk-OW6U64MG.mjs";
|
|
109
|
-
import "../chunk-LUERGYYZ.mjs";
|
|
110
113
|
import "../chunk-VIPLRFPR.mjs";
|
|
111
|
-
import "../chunk-
|
|
112
|
-
import "../chunk-
|
|
113
|
-
import "../chunk-I5AMV7H7.mjs";
|
|
114
|
+
import "../chunk-UNBE67YJ.mjs";
|
|
115
|
+
import "../chunk-57JRJHSH.mjs";
|
|
114
116
|
import {
|
|
115
|
-
|
|
116
|
-
} from "../chunk-
|
|
117
|
-
import "../chunk-
|
|
117
|
+
Card
|
|
118
|
+
} from "../chunk-UFYLYN5Z.mjs";
|
|
119
|
+
import "../chunk-PON4ZQKG.mjs";
|
|
118
120
|
import {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
+
Bento,
|
|
122
|
+
bento
|
|
123
|
+
} from "../chunk-J3OZNLTZ.mjs";
|
|
124
|
+
import "../chunk-Q6XJI7Q2.mjs";
|
|
121
125
|
import {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
DropdownMenu,
|
|
125
|
-
DropdownSection,
|
|
126
|
-
DropdownTrigger
|
|
127
|
-
} from "../chunk-YNCISHAU.mjs";
|
|
126
|
+
cn
|
|
127
|
+
} from "../chunk-LOMRTWX5.mjs";
|
|
128
128
|
import "../chunk-VOG5HJID.mjs";
|
|
129
129
|
import "../chunk-FXXWSYJA.mjs";
|
|
130
|
-
import "../chunk-
|
|
130
|
+
import "../chunk-Q6JSJOU4.mjs";
|
|
131
|
+
import {
|
|
132
|
+
EmailField
|
|
133
|
+
} from "../chunk-R7LDL5CU.mjs";
|
|
131
134
|
import {
|
|
132
135
|
InputField
|
|
133
|
-
} from "../chunk-
|
|
136
|
+
} from "../chunk-JDFRAN4S.mjs";
|
|
134
137
|
import {
|
|
135
138
|
RadioField
|
|
136
139
|
} from "../chunk-W2A6C27Y.mjs";
|
|
137
|
-
import {
|
|
138
|
-
SearchField
|
|
139
|
-
} from "../chunk-CUEG2BFV.mjs";
|
|
140
140
|
import {
|
|
141
141
|
SelectField
|
|
142
|
-
} from "../chunk-
|
|
142
|
+
} from "../chunk-NLHQDWUK.mjs";
|
|
143
143
|
import {
|
|
144
144
|
SwitchField
|
|
145
145
|
} from "../chunk-EC3NSPHR.mjs";
|
|
146
146
|
import {
|
|
147
147
|
TextField
|
|
148
|
-
} from "../chunk-
|
|
148
|
+
} from "../chunk-CETCW7DS.mjs";
|
|
149
149
|
import {
|
|
150
150
|
TextareaField
|
|
151
151
|
} from "../chunk-V4HKGJYK.mjs";
|
|
@@ -158,14 +158,11 @@ import {
|
|
|
158
158
|
import {
|
|
159
159
|
DatePickerField
|
|
160
160
|
} from "../chunk-7GHK5XYK.mjs";
|
|
161
|
+
import "../chunk-CZEO3U25.mjs";
|
|
162
|
+
import "../chunk-5HK7HRTR.mjs";
|
|
161
163
|
import {
|
|
162
|
-
|
|
163
|
-
} from "../chunk-
|
|
164
|
-
import "../chunk-UQAG7TKJ.mjs";
|
|
165
|
-
import "../chunk-DUQFM3QS.mjs";
|
|
166
|
-
import {
|
|
167
|
-
Text
|
|
168
|
-
} from "../chunk-KTWHCUYV.mjs";
|
|
164
|
+
Textarea
|
|
165
|
+
} from "../chunk-HJUZTISD.mjs";
|
|
169
166
|
import "../chunk-LLP2PTPK.mjs";
|
|
170
167
|
import {
|
|
171
168
|
FavoriteSwitch
|
|
@@ -173,29 +170,6 @@ import {
|
|
|
173
170
|
import {
|
|
174
171
|
Switch
|
|
175
172
|
} from "../chunk-N3EAW6UO.mjs";
|
|
176
|
-
import "../chunk-5HK7HRTR.mjs";
|
|
177
|
-
import {
|
|
178
|
-
Textarea
|
|
179
|
-
} from "../chunk-HJUZTISD.mjs";
|
|
180
|
-
import "../chunk-V3KKDSQP.mjs";
|
|
181
|
-
import {
|
|
182
|
-
Email
|
|
183
|
-
} from "../chunk-46SKVFMZ.mjs";
|
|
184
|
-
import "../chunk-AQ3ISJKU.mjs";
|
|
185
|
-
import {
|
|
186
|
-
Select
|
|
187
|
-
} from "../chunk-VXYV37IM.mjs";
|
|
188
|
-
import "../chunk-2UHA3DYG.mjs";
|
|
189
|
-
import "../chunk-5RNCFTW5.mjs";
|
|
190
|
-
import {
|
|
191
|
-
Search
|
|
192
|
-
} from "../chunk-SEJXJZSK.mjs";
|
|
193
|
-
import "../chunk-C2VWADF5.mjs";
|
|
194
|
-
import "../chunk-UUKS7JYX.mjs";
|
|
195
|
-
import "../chunk-V2HNFTTX.mjs";
|
|
196
|
-
import {
|
|
197
|
-
DatePicker
|
|
198
|
-
} from "../chunk-IAJ6G633.mjs";
|
|
199
173
|
import "../chunk-RRA7GWP2.mjs";
|
|
200
174
|
import {
|
|
201
175
|
RadioGroup
|
|
@@ -203,25 +177,41 @@ import {
|
|
|
203
177
|
import {
|
|
204
178
|
Radio
|
|
205
179
|
} from "../chunk-2SNKT7I4.mjs";
|
|
180
|
+
import "../chunk-DUQFM3QS.mjs";
|
|
181
|
+
import {
|
|
182
|
+
Text
|
|
183
|
+
} from "../chunk-KTUGFQWJ.mjs";
|
|
184
|
+
import "../chunk-UUKS7JYX.mjs";
|
|
185
|
+
import {
|
|
186
|
+
Checkbox
|
|
187
|
+
} from "../chunk-N3QOXWJI.mjs";
|
|
188
|
+
import "../chunk-V3KKDSQP.mjs";
|
|
189
|
+
import {
|
|
190
|
+
Email
|
|
191
|
+
} from "../chunk-LJIVY6GU.mjs";
|
|
206
192
|
import "../chunk-ZRHEFEFS.mjs";
|
|
207
193
|
import {
|
|
208
194
|
Input
|
|
209
|
-
} from "../chunk-
|
|
210
|
-
import "../chunk-
|
|
195
|
+
} from "../chunk-V2G5QHZZ.mjs";
|
|
196
|
+
import "../chunk-AQ3ISJKU.mjs";
|
|
197
|
+
import {
|
|
198
|
+
Select
|
|
199
|
+
} from "../chunk-3YOW5DEZ.mjs";
|
|
211
200
|
import "../chunk-WYJW5NNA.mjs";
|
|
212
201
|
import {
|
|
213
202
|
Autocomplete
|
|
214
203
|
} from "../chunk-C3MURCMZ.mjs";
|
|
204
|
+
import "../chunk-V2HNFTTX.mjs";
|
|
205
|
+
import {
|
|
206
|
+
DatePicker
|
|
207
|
+
} from "../chunk-IAJ6G633.mjs";
|
|
215
208
|
import {
|
|
216
209
|
CheckboxGroup
|
|
217
210
|
} from "../chunk-C4PCTOGM.mjs";
|
|
218
|
-
import {
|
|
219
|
-
Checkbox
|
|
220
|
-
} from "../chunk-N3QOXWJI.mjs";
|
|
221
|
-
import {
|
|
222
|
-
ClearButton
|
|
223
|
-
} from "../chunk-TUIN5YJW.mjs";
|
|
224
211
|
import "../chunk-5N3SIZHF.mjs";
|
|
212
|
+
import {
|
|
213
|
+
Number
|
|
214
|
+
} from "../chunk-NZI5NBXF.mjs";
|
|
225
215
|
import {
|
|
226
216
|
Percent
|
|
227
217
|
} from "../chunk-CXAZBWS4.mjs";
|
|
@@ -249,42 +239,26 @@ import {
|
|
|
249
239
|
import {
|
|
250
240
|
Duration
|
|
251
241
|
} from "../chunk-4QSIBIUI.mjs";
|
|
252
|
-
import {
|
|
253
|
-
Number
|
|
254
|
-
} from "../chunk-NZI5NBXF.mjs";
|
|
255
242
|
import "../chunk-HZ5YAOU6.mjs";
|
|
256
243
|
import "../chunk-5UKTT75Y.mjs";
|
|
257
244
|
import {
|
|
258
245
|
Button
|
|
259
246
|
} from "../chunk-4BGIUXAF.mjs";
|
|
260
|
-
import "../chunk-
|
|
261
|
-
import "../chunk-KH4D2C2T.mjs";
|
|
262
|
-
import {
|
|
263
|
-
Pagination
|
|
264
|
-
} from "../chunk-O5T4GUJH.mjs";
|
|
265
|
-
import "../chunk-54FA62HL.mjs";
|
|
266
|
-
import {
|
|
267
|
-
Table,
|
|
268
|
-
TableBody,
|
|
269
|
-
TableCell,
|
|
270
|
-
TableColumn,
|
|
271
|
-
TableHeader,
|
|
272
|
-
TableRow,
|
|
273
|
-
getKeyValue
|
|
274
|
-
} from "../chunk-PKZZEODR.mjs";
|
|
275
|
-
import "../chunk-CTKWGSNJ.mjs";
|
|
276
|
-
import {
|
|
277
|
-
User
|
|
278
|
-
} from "../chunk-XHCXM5MU.mjs";
|
|
279
|
-
import "../chunk-UTZUYZZL.mjs";
|
|
247
|
+
import "../chunk-AR4IYKG5.mjs";
|
|
280
248
|
import {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
249
|
+
Toast,
|
|
250
|
+
ToastProvider,
|
|
251
|
+
addToast,
|
|
252
|
+
closeAll,
|
|
253
|
+
closeToast,
|
|
254
|
+
getToastQueue,
|
|
255
|
+
isToastClosing,
|
|
256
|
+
useToast
|
|
257
|
+
} from "../chunk-CA2EAK5M.mjs";
|
|
258
|
+
import "../chunk-WZDFBWUL.mjs";
|
|
284
259
|
import {
|
|
285
|
-
|
|
286
|
-
} from "../chunk-
|
|
287
|
-
import "../chunk-AR4IYKG5.mjs";
|
|
260
|
+
Spinner
|
|
261
|
+
} from "../chunk-ZXCQ73RT.mjs";
|
|
288
262
|
import "../chunk-3BST3PYD.mjs";
|
|
289
263
|
import {
|
|
290
264
|
Tooltip
|
|
@@ -300,26 +274,39 @@ import {
|
|
|
300
274
|
import {
|
|
301
275
|
Progress
|
|
302
276
|
} from "../chunk-JTPBZJ4S.mjs";
|
|
303
|
-
import "../chunk-WZDFBWUL.mjs";
|
|
304
|
-
import {
|
|
305
|
-
Spinner
|
|
306
|
-
} from "../chunk-ZXCQ73RT.mjs";
|
|
307
|
-
import {
|
|
308
|
-
Toast,
|
|
309
|
-
ToastProvider,
|
|
310
|
-
addToast,
|
|
311
|
-
closeAll,
|
|
312
|
-
closeToast,
|
|
313
|
-
getToastQueue,
|
|
314
|
-
isToastClosing,
|
|
315
|
-
useToast
|
|
316
|
-
} from "../chunk-CA2EAK5M.mjs";
|
|
317
277
|
import "../chunk-K3WTHFIG.mjs";
|
|
318
278
|
import {
|
|
319
279
|
Chip
|
|
320
280
|
} from "../chunk-EEGPGLDC.mjs";
|
|
321
281
|
import "../chunk-Q2ILWL7L.mjs";
|
|
322
282
|
import "../chunk-7BTEKEON.mjs";
|
|
283
|
+
import "../chunk-3C4DPNCD.mjs";
|
|
284
|
+
import "../chunk-54FA62HL.mjs";
|
|
285
|
+
import {
|
|
286
|
+
Table,
|
|
287
|
+
TableBody,
|
|
288
|
+
TableCell,
|
|
289
|
+
TableColumn,
|
|
290
|
+
TableHeader,
|
|
291
|
+
TableRow,
|
|
292
|
+
getKeyValue
|
|
293
|
+
} from "../chunk-PKZZEODR.mjs";
|
|
294
|
+
import "../chunk-UTZUYZZL.mjs";
|
|
295
|
+
import {
|
|
296
|
+
Avatar
|
|
297
|
+
} from "../chunk-IZEJE6V2.mjs";
|
|
298
|
+
import "../chunk-DRZAPJZH.mjs";
|
|
299
|
+
import {
|
|
300
|
+
Image
|
|
301
|
+
} from "../chunk-4N3FFVKQ.mjs";
|
|
302
|
+
import "../chunk-KH4D2C2T.mjs";
|
|
303
|
+
import {
|
|
304
|
+
Pagination
|
|
305
|
+
} from "../chunk-O5T4GUJH.mjs";
|
|
306
|
+
import "../chunk-CTKWGSNJ.mjs";
|
|
307
|
+
import {
|
|
308
|
+
User
|
|
309
|
+
} from "../chunk-XHCXM5MU.mjs";
|
|
323
310
|
import {
|
|
324
311
|
Form
|
|
325
312
|
} from "../chunk-A3AAC7PF.mjs";
|
|
@@ -342,7 +329,6 @@ export {
|
|
|
342
329
|
CheckboxGroup,
|
|
343
330
|
Chip,
|
|
344
331
|
CircularProgress,
|
|
345
|
-
ClearButton,
|
|
346
332
|
Container,
|
|
347
333
|
DatePicker,
|
|
348
334
|
DatePickerField,
|
|
@@ -391,8 +377,6 @@ export {
|
|
|
391
377
|
RadioGroup,
|
|
392
378
|
Root,
|
|
393
379
|
ScrollShadow,
|
|
394
|
-
Search,
|
|
395
|
-
SearchField,
|
|
396
380
|
Section,
|
|
397
381
|
SectionActions,
|
|
398
382
|
SectionHeader,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../../chunk-UUKS7JYX.mjs";
|
|
3
|
-
import {
|
|
4
|
-
CheckboxGroup
|
|
5
|
-
} from "../../../chunk-C4PCTOGM.mjs";
|
|
6
3
|
import {
|
|
7
4
|
Checkbox
|
|
8
5
|
} from "../../../chunk-N3QOXWJI.mjs";
|
|
6
|
+
import {
|
|
7
|
+
CheckboxGroup
|
|
8
|
+
} from "../../../chunk-C4PCTOGM.mjs";
|
|
9
9
|
export {
|
|
10
10
|
Checkbox,
|
|
11
11
|
CheckboxGroup
|
|
@@ -34,158 +34,21 @@ __export(email_exports, {
|
|
|
34
34
|
Email: () => Email
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(email_exports);
|
|
37
|
-
var
|
|
37
|
+
var import_react2 = __toESM(require("react"));
|
|
38
38
|
|
|
39
39
|
// src/ui/inputs/input/input.tsx
|
|
40
|
-
var import_react3 = __toESM(require("react"));
|
|
41
|
-
var import_input = require("@heroui/input");
|
|
42
|
-
var import_tailwind_variants = require("tailwind-variants");
|
|
43
|
-
|
|
44
|
-
// src/ui/inputs/clear-button.tsx
|
|
45
40
|
var import_react = __toESM(require("react"));
|
|
46
|
-
var
|
|
47
|
-
var import_lucide_react = require("lucide-react");
|
|
41
|
+
var import_input = require("@heroui/input");
|
|
48
42
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
49
|
-
var
|
|
50
|
-
|
|
51
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
52
|
-
import_button.Button,
|
|
53
|
-
{
|
|
54
|
-
ref,
|
|
55
|
-
isIconOnly: true,
|
|
56
|
-
"aria-label": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",
|
|
57
|
-
as: "span",
|
|
58
|
-
className: "opacity-0 transition-opacity group-hover:opacity-100",
|
|
59
|
-
color: "default",
|
|
60
|
-
radius: "full",
|
|
61
|
-
size: "sm",
|
|
62
|
-
tabIndex: 0,
|
|
63
|
-
variant: "light",
|
|
64
|
-
onPress: onClear,
|
|
65
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.XIcon, { className: "size-4 text-default-500" })
|
|
66
|
-
}
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
);
|
|
70
|
-
ClearButton.displayName = "TeachInUI.ClearButton";
|
|
71
|
-
|
|
72
|
-
// src/ui/inputs/input/use-input.ts
|
|
73
|
-
var import_react2 = require("react");
|
|
74
|
-
function useInput({
|
|
75
|
-
value,
|
|
76
|
-
defaultValue,
|
|
77
|
-
onValueChange,
|
|
78
|
-
onClear,
|
|
79
|
-
isReadOnly,
|
|
80
|
-
isClearable = true,
|
|
81
|
-
ref
|
|
82
|
-
}) {
|
|
83
|
-
const inputRef = (0, import_react2.useRef)(null);
|
|
84
|
-
const [internalValue, setInternalValue] = (0, import_react2.useState)(defaultValue != null ? defaultValue : "");
|
|
85
|
-
const isControlled = value !== void 0;
|
|
86
|
-
const currentValue = isControlled ? value : internalValue;
|
|
87
|
-
const hasValue = String(currentValue).length > 0;
|
|
88
|
-
const handleValueChange = (0, import_react2.useCallback)(
|
|
89
|
-
(newValue) => {
|
|
90
|
-
if (!isControlled) {
|
|
91
|
-
setInternalValue(newValue);
|
|
92
|
-
}
|
|
93
|
-
onValueChange == null ? void 0 : onValueChange(newValue);
|
|
94
|
-
},
|
|
95
|
-
[isControlled, onValueChange]
|
|
96
|
-
);
|
|
97
|
-
const handleClear = (0, import_react2.useCallback)(() => {
|
|
98
|
-
var _a;
|
|
99
|
-
onClear == null ? void 0 : onClear();
|
|
100
|
-
handleValueChange("");
|
|
101
|
-
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
|
102
|
-
}, [onClear, handleValueChange]);
|
|
103
|
-
const mergedRef = (0, import_react2.useCallback)(
|
|
104
|
-
(node) => {
|
|
105
|
-
inputRef.current = node;
|
|
106
|
-
if (typeof ref === "function") {
|
|
107
|
-
ref(node);
|
|
108
|
-
} else if (ref) {
|
|
109
|
-
ref.current = node;
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
[ref]
|
|
113
|
-
);
|
|
114
|
-
const showClearButton = hasValue && !isReadOnly && isClearable;
|
|
115
|
-
return {
|
|
116
|
-
inputRef,
|
|
117
|
-
currentValue,
|
|
118
|
-
hasValue,
|
|
119
|
-
handleValueChange,
|
|
120
|
-
handleClear,
|
|
121
|
-
mergedRef,
|
|
122
|
-
showClearButton
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// src/ui/inputs/input/input.tsx
|
|
127
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
128
|
-
var inputWrapperVariants = (0, import_tailwind_variants.tv)({
|
|
129
|
-
variants: {
|
|
130
|
-
variant: {
|
|
131
|
-
flat: "",
|
|
132
|
-
underlined: "",
|
|
133
|
-
bordered: "border-1",
|
|
134
|
-
faded: "border-1"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
43
|
+
var Input = import_react.default.forwardRef(({ ...props }, ref) => {
|
|
44
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_input.Input, { ref, ...props });
|
|
137
45
|
});
|
|
138
|
-
var Input = import_react3.default.forwardRef(
|
|
139
|
-
({
|
|
140
|
-
value,
|
|
141
|
-
defaultValue,
|
|
142
|
-
onClear,
|
|
143
|
-
onValueChange,
|
|
144
|
-
variant,
|
|
145
|
-
classNames,
|
|
146
|
-
endContent,
|
|
147
|
-
isReadOnly,
|
|
148
|
-
isClearable,
|
|
149
|
-
...props
|
|
150
|
-
}, ref) => {
|
|
151
|
-
const { currentValue, handleValueChange, handleClear, mergedRef, showClearButton } = useInput({
|
|
152
|
-
value,
|
|
153
|
-
defaultValue,
|
|
154
|
-
onValueChange,
|
|
155
|
-
onClear,
|
|
156
|
-
isReadOnly,
|
|
157
|
-
isClearable,
|
|
158
|
-
ref
|
|
159
|
-
});
|
|
160
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
161
|
-
import_input.Input,
|
|
162
|
-
{
|
|
163
|
-
ref: mergedRef,
|
|
164
|
-
classNames: {
|
|
165
|
-
...classNames,
|
|
166
|
-
inputWrapper: inputWrapperVariants({ variant }),
|
|
167
|
-
innerWrapper: "group"
|
|
168
|
-
},
|
|
169
|
-
defaultValue,
|
|
170
|
-
endContent: (endContent || showClearButton) && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
171
|
-
endContent,
|
|
172
|
-
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ClearButton, { onClear: handleClear })
|
|
173
|
-
] }),
|
|
174
|
-
isReadOnly,
|
|
175
|
-
value: currentValue,
|
|
176
|
-
variant,
|
|
177
|
-
onValueChange: handleValueChange,
|
|
178
|
-
...props
|
|
179
|
-
}
|
|
180
|
-
);
|
|
181
|
-
}
|
|
182
|
-
);
|
|
183
46
|
Input.displayName = "TeachInUI.Input";
|
|
184
47
|
|
|
185
48
|
// src/ui/inputs/email/email.tsx
|
|
186
|
-
var
|
|
187
|
-
var Email =
|
|
188
|
-
return /* @__PURE__ */ (0,
|
|
49
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
50
|
+
var Email = import_react2.default.forwardRef(({ ...props }, ref) => {
|
|
51
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Input, { ref, autoComplete: "email", type: "email", ...props });
|
|
189
52
|
});
|
|
190
53
|
Email.displayName = "TeachInUI.Email";
|
|
191
54
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Email
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-LJIVY6GU.mjs";
|
|
5
5
|
import "../../../chunk-ZRHEFEFS.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-NSU66J5E.mjs";
|
|
8
|
-
import "../../../chunk-TUIN5YJW.mjs";
|
|
6
|
+
import "../../../chunk-V2G5QHZZ.mjs";
|
|
9
7
|
export {
|
|
10
8
|
Email
|
|
11
9
|
};
|