Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
a002c63
any type for OUTResultMaybeData
zerolethanh Jul 25, 2025
4b59141
add Form
zerolethanh Jul 27, 2025
90e69c2
update ignore
zerolethanh Jul 27, 2025
4453e5d
add EffectSchema
zerolethanh Jul 27, 2025
789ef98
fix run twice
zerolethanh Jul 27, 2025
ac1cd7a
add saveOnChange props
zerolethanh Jul 27, 2025
40aeb0e
update InputForm
zerolethanh Jul 28, 2025
8e9fe89
remove comment
zerolethanh Jul 28, 2025
06c607e
remove comment
zerolethanh Jul 28, 2025
0f6662b
add nativeComponentRegistry.tsx
zerolethanh Jul 28, 2025
af066e8
update
zerolethanh Jul 28, 2025
c9cfd76
update
zerolethanh Jul 28, 2025
73432a6
update no warning for radio type
zerolethanh Jul 28, 2025
7d0270c
Merge remote-tracking branch 'origin/classfunc' into classfunc
zerolethanh Jul 28, 2025
20822d8
add for render component Recursively
zerolethanh Jul 30, 2025
265e449
add seeMoreLink
zerolethanh Jul 30, 2025
6ff87f4
add PassthroughFields
zerolethanh Jul 30, 2025
0c39b05
update UI nestedObject
zerolethanh Jul 30, 2025
8aa96ee
catch all generation
zerolethanh Jul 30, 2025
8790d3a
fix catchall
zerolethanh Jul 30, 2025
ab0374b
fix for chrome extension
zerolethanh Jul 31, 2025
820fab1
simpler useFn.template.tsx
zerolethanh Jul 31, 2025
ec0452d
add successMessage?: React.ReactNode;
zerolethanh Aug 1, 2025
a3b10d1
add DataDisplayTable.tsx
zerolethanh Aug 2, 2025
163b02c
add TriggerSubmitComponent
zerolethanh Aug 2, 2025
e218b01
update for infiniteScroll
zerolethanh Aug 2, 2025
5edf012
add lastFiredData
zerolethanh Aug 3, 2025
f0c7131
update dataDisplayTable
zerolethanh Aug 3, 2025
b7e1f8b
add defaultConfig
zerolethanh Aug 3, 2025
33a0298
update form
zerolethanh Aug 3, 2025
f34268f
add option title for DataDisplayTable
zerolethanh Aug 3, 2025
38566c4
export endpoint
zerolethanh Aug 3, 2025
2109d60
add some settings for form and datatable
zerolethanh Aug 3, 2025
235bb76
update handleRefresh
zerolethanh Aug 6, 2025
5872780
darkmode
zerolethanh Aug 9, 2025
88b4e6a
darkmode
zerolethanh Aug 9, 2025
d5d2828
Merge remote-tracking branch 'origin/classfunc' into classfunc
zerolethanh Aug 9, 2025
b37be55
update form
zerolethanh Aug 9, 2025
865e898
show default response header for DataTable
zerolethanh Aug 12, 2025
5e5c372
DataPathFieldConfig as string
zerolethanh Aug 20, 2025
a469623
DataPathFieldConfig as string
zerolethanh Aug 20, 2025
4767a06
Merge remote-tracking branch 'origin/classfunc' into classfunc
zerolethanh Aug 20, 2025
3ded14b
Merge remote-tracking branch 'origin/classfunc' into classfunc
zerolethanh Aug 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions esbuild_out/index.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions esbuild_out/scripts/generateUses.script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ fs.copyFileSync(
path.resolve(templatesDir, `InfinityLoading.tsx`),
path.resolve(usesDir, `InfinityLoading.tsx`),
)
fs.copyFileSync(
path.resolve(templatesDir, `InputForm.module.css`),
path.resolve(usesDir, `InputForm.module.css`),
)
fs.copyFileSync(
path.resolve(templatesDir, `InputForm.tsx`),
path.resolve(usesDir, `InputForm.tsx`),
)
fs.copyFileSync(
path.resolve(templatesDir, `InputFormHelpers.tsx`),
path.resolve(usesDir, `InputFormHelpers.tsx`),
)
// fs.mkdirSync(
// path.resolve(usesDir, `InfiniteScrollers`),
// {recursive: true},
Expand Down
104 changes: 104 additions & 0 deletions esbuild_out/scripts/templates/InputForm.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
.formContainer {
width: 100%;
max-width: 2000px;
background-color: white;
padding: 2rem;
border-radius: 0.5rem;
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.form {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}

@media (min-width: 768px) {
.form {
grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 1024px) {
.form {
grid-template-columns: repeat(3, 1fr);
}
}

.formGroup {
display: flex;
flex-direction: column;
gap: 0.625rem;
}

.label {
font-size: 0.875rem;
font-weight: 600;
color: #1f2937;
}

.input {
width: 100%;
padding: 0.625rem 0.875rem;
border: 1px solid #D1D5DB;
border-radius: 0.375rem;
transition: border-color 0.2s, box-shadow 0.2s;
font-size: 1rem;
color: #111827;
}

.input::placeholder {
color: #9ca3af;
}

.input:focus {
outline: none;
border-color: #2563EB;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.description {
font-size: 0.875rem;
color: #4b5563;
margin-top: 0.25rem;
}

.description a {
color: #2563EB;
text-decoration: none;
}

.description a:hover {
text-decoration: underline;
}

.helperText {
font-size: 0.875rem;
color: #6B7280;
}

.errorMessage {
margin-top: 1rem;
color: #DC2626;
background-color: #FEE2E2;
padding: 0.75rem;
border-radius: 0.375rem;
grid-column: 1 / -1;
@apply break-all;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The @apply directive is specific to Tailwind CSS and is not standard CSS. This will cause a parsing error in browsers and will not work unless this CSS module is processed by a tool like PostCSS with the Tailwind CSS plugin.

If that build setup is not in place, you should replace this with standard CSS properties to ensure the styles are applied correctly.

Suggested change
@apply break-all;
word-break: break-all;

}

.fieldSet {
display: flex;
flex-direction: column;
gap: 0.75rem;
border: 1px solid #D1D5DB;
padding: 1rem;
border-radius: 0.375rem;
}

.optionLabel {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
}
Loading