Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
3a07de3
dynamic rows for TextField based on ux config
zackatbrightbeam Jul 23, 2024
7acc4fa
add BasicEntityCheckBoxField component
zackatbrightbeam Jul 23, 2024
13f088b
Add BasicEntityRadioGroupField component
zackatbrightbeam Jul 23, 2024
838769a
Add BasicEntityAutocompleteField component
zackatbrightbeam Jul 25, 2024
aea72fb
Refactor BasicEntityAutocompleteField component
zackatbrightbeam Jul 25, 2024
8216588
Remove unnecessary code from BasicEntityAutocompleteField
zackatbrightbeam Jul 25, 2024
2375bb5
adjust gubu shape for BasicEntityAutocompleteField
zackatbrightbeam Jul 25, 2024
3d7db08
add BasicEntitySliderField component
zackatbrightbeam Jul 25, 2024
cf3e7ac
Add more customization options to BasicEntitySliderField
zackatbrightbeam Jul 25, 2024
96a45f1
minor change to onChange params
zackatbrightbeam Jul 25, 2024
9ade7be
change variable name to avoid confusion with other BasicEntityField c…
zackatbrightbeam Jul 25, 2024
d80ae75
add comment to resolveOptions in BasicEntityAutocompleteField
zackatbrightbeam Jul 25, 2024
6bd7ed8
update gubu shape for BasicEntitySliderField
zackatbrightbeam Jul 25, 2024
94e0f03
update gubu shape on BasicEntityAutocompleteField
zackatbrightbeam Jul 25, 2024
fd7ef67
Tie getOptionLabel to model
zackatbrightbeam Jul 25, 2024
d978152
Remove unused Checkbox and Box imports in BasicEntityRadioGroupField
zackatbrightbeam Jul 25, 2024
0c2bd07
Add Gubu validation to RadioGroup cmp
zackatbrightbeam Jul 25, 2024
9671259
Update BasicEntityRadioGroupField to use unique keys for FormLabel an…
zackatbrightbeam Jul 25, 2024
13bdb3e
Add key prop to Controller cmp
zackatbrightbeam Jul 25, 2024
2ac4b85
Update BasicEntitySliderField component with key attributes
zackatbrightbeam Jul 25, 2024
f64e350
Refactor BasicEntityAutocompleteField component
zackatbrightbeam Jul 25, 2024
8d24db6
Refactor BasicEntityRadioGroupField component to use unique keys for …
zackatbrightbeam Jul 25, 2024
e6c963b
Add Gubu validation to CheckBox component
zackatbrightbeam Jul 25, 2024
a392872
Adjust components keys to be unique
zackatbrightbeam Jul 25, 2024
55fdf38
Add Gubu validation to BasicEntityTextField
zackatbrightbeam Jul 25, 2024
9b6190b
Remove unnecessary prop
zackatbrightbeam Jul 25, 2024
ae7c337
Remove unnecessary prop in Gubu shape
zackatbrightbeam Jul 25, 2024
149e511
Remove unnecessary prop in Gubu shape
zackatbrightbeam Jul 25, 2024
680ea74
Remove unnecessary prop in Gubu shape
zackatbrightbeam Jul 25, 2024
3a7fd83
Update orientation prop to use direction field from field.ux object
zackatbrightbeam Jul 25, 2024
06d2aec
Simplified marks prop to be always object
zackatbrightbeam Jul 25, 2024
865cb9b
Refactor BasicEntityAutocompleteField component
zackatbrightbeam Jul 25, 2024
ea83f31
Refactor BasicEntityCheckBoxField component
zackatbrightbeam Jul 25, 2024
956e242
Merge branch 'zb-basic-entity-checkbox-field-01' into zb-add-basic-en…
zackatbrightbeam Jul 25, 2024
a8b2212
Merge branch 'zb-basic-entity-autocomplete-field-01' into zb-add-basi…
zackatbrightbeam Jul 25, 2024
7386f96
Merge branch 'zb-basic-entity-slider-field-01' into zb-add-basic-enti…
zackatbrightbeam Jul 25, 2024
359c6c3
Merge branch 'zb-basic-entity-radio-group-field-01' into zb-add-basic…
zackatbrightbeam Jul 25, 2024
3fbff1c
feat: Add support for CheckBox, Autocomplete, Slider, and RadioGroup …
zackatbrightbeam Jul 25, 2024
10210f4
Update dist folder files
zackatbrightbeam Jul 25, 2024
404d2ec
Add Skip option to kind field in BasicEntity fields
zackatbrightbeam Jul 25, 2024
c3c7b90
Add BasicEntityDateField, BasicEntityTextField, BasicEntityTimeField,…
zackatbrightbeam Jul 25, 2024
9049caf
Refactor BasicEntityRadioGroupField component and resolve options in …
zackatbrightbeam Jul 25, 2024
3e6fead
Refactor BasicEntityCheckBoxField component and add BasicEntityRating…
zackatbrightbeam Jul 26, 2024
8a7aaf9
Rename BasicEntityCheckBoxField to temp name
zackatbrightbeam Jul 26, 2024
ee2fc39
Rename BasicEntityCheckboxField from temp name
zackatbrightbeam Jul 26, 2024
d401b23
Rename BasicEntityCheckBoxField.d.ts to BasicEntityCheckboxField.d.ts
zackbraksa Jul 26, 2024
bac6145
Format code with standard-prettier
zackatbrightbeam Jul 26, 2024
d5c0aeb
Reformat code with vscode prettier
zackatbrightbeam Jul 26, 2024
dd7d944
Reformat code with vscode prettier
zackatbrightbeam Jul 26, 2024
655e82f
Merge branch 'zb-add-basic-entity-fields-01' of github.com:voxgig/mod…
zackatbrightbeam Jul 26, 2024
7575a42
Revert formatting of BasicEntityEdit
zackatbrightbeam Jul 26, 2024
1372834
Add BasicEntityButtonField component
zackatbrightbeam Jul 28, 2024
34cf554
Add BasicEntityButtonGroupField component
zackatbrightbeam Jul 28, 2024
669a533
Update Gubu validation for most BasicEntity fields
zackatbrightbeam Jul 28, 2024
389206e
Add BasicEntitySelectField component
zackatbrightbeam Jul 28, 2024
1c813f4
Add BasicEntityToggleButtonField component
zackatbrightbeam Jul 29, 2024
dd414cc
Add BasicEntitySwitchField component
zackatbrightbeam Jul 29, 2024
b08433c
Update disabled and field.ux.props on BasicEntity fields
zackatbrightbeam Jul 29, 2024
39a0bf6
Update ButtonGroup field to custom handle click
zackatbrightbeam Jul 29, 2024
fc2949b
Update ButtonField wiht custom click handler
zackatbrightbeam Jul 29, 2024
a3a2438
Update ButtonGroup field to handle custom click
zackatbrightbeam Jul 29, 2024
b071649
Minor refactoring of BasicEntity fields
zackatbrightbeam Jul 29, 2024
2595a75
Move field.ux.props to main component in BasicEntityCheckboxField
zackatbrightbeam Jul 29, 2024
52dc13f
Merge remote-tracking branch 'origin/main' into zb-add-basic-entity-f…
zackatbrightbeam Jul 29, 2024
a4bc770
Update BasicEntityAutocompleteField to use field.cat object
zackatbrightbeam Jul 29, 2024
c4f6ec0
Refactor BasicEntityToggleButtonField to use field.cat model spec
zackatbrightbeam Jul 29, 2024
db277be
Remove `valid` prop from BasicEntityAutocompleteField Gubu validation
zackatbrightbeam Jul 29, 2024
537a516
Refactor BasicEntityAutocompleteField to use resolveCategories and re…
zackatbrightbeam Jul 29, 2024
0ca672d
Refactor BasicEntityRadioGroupField to make use of field.cat and reso…
zackatbrightbeam Jul 29, 2024
d65b22c
Refactor BasicEntitySelectField to make use of field.cat and resolveC…
zackatbrightbeam Jul 29, 2024
f411d93
Refactor BasicEntityAutocompleteField to improve code readability and…
zackatbrightbeam Jul 29, 2024
8e82f1e
Refactor BasicEntitySelectField to use resolveCategories and resolveV…
zackatbrightbeam Jul 29, 2024
4cf008b
Debug and refactor BasicEntitySelectField
zackatbrightbeam Jul 30, 2024
a339051
Refactor BasicEntityRadioGroupField for simplicity
zackatbrightbeam Jul 30, 2024
e32d1de
Refactor BasicEntityAutocompleteField for simplicity
zackatbrightbeam Jul 30, 2024
b5efade
Refactor BasicEntitySelectField for simplicity
zackatbrightbeam Jul 30, 2024
28857c6
Add key to FormLabel in BasicEntityRatingField
zackatbrightbeam Jul 30, 2024
744c7fb
Refactor BasicEntityTextBoxField to include error handling
zackatbrightbeam Jul 30, 2024
b4f6f49
Refactor BasicEntityAutocompleteField to include error handling and i…
zackatbrightbeam Jul 30, 2024
d15fa6b
Refactor BasicEntityCheckboxField to include error handling and impro…
zackatbrightbeam Jul 30, 2024
e13de89
Refactor BasicEntityDateField to include error handling and improve c…
zackatbrightbeam Jul 30, 2024
217b3b7
Refactor BasicEntityRadioGroupField to include error handling and imp…
zackatbrightbeam Jul 30, 2024
6d50194
Refactor BasicEntityTimeField to include error handling and improve c…
zackatbrightbeam Jul 30, 2024
5ef841f
Refactor BasicEntitySwitchField to fix error handling and remove unus…
zackatbrightbeam Jul 30, 2024
fdb7c5c
Refactor BasicEntitySliderField to include error handling and improve…
zackatbrightbeam Jul 30, 2024
c9f9368
Refactor BasicEntityToggleButtonField to include error handling and i…
zackatbrightbeam Jul 30, 2024
a69cae9
Refactor BasicEntityDateTimeField to include error handling and impro…
zackatbrightbeam Jul 30, 2024
e2f5af3
Refactor BasicEntityDateTimeField to remove unused import and improve…
zackatbrightbeam Jul 30, 2024
b89cbb9
Refactor BasicEntityRatingField to remove unused import and improve c…
zackatbrightbeam Jul 30, 2024
5fc7311
Refactor BasicEntitySelectField to include error handling and improve…
zackatbrightbeam Jul 30, 2024
472a82a
Add VxgBasicEntityFieldPlugin
zackatbrightbeam Jul 31, 2024
ab18ca2
Update edit and save modifiers to transform data
zackatbrightbeam Aug 1, 2024
9c04760
Add plugin for BasicEntityField
zackatbrightbeam Aug 1, 2024
ad1dd75
Specify function name on seneca msg def
zackatbrightbeam Aug 1, 2024
66259ce
Refactor react-hook-form Controller to useController
zackatbrightbeam Aug 1, 2024
d640433
Merge branch 'zb-extend-modify-edit-01' into zb-add-basic-entity-fiel…
zackatbrightbeam Aug 1, 2024
e3110e4
Remove unnecessary code
zackatbrightbeam Aug 1, 2024
2d8014b
Fix hook issue and move modify:edit to BasicEntityEditPlugin
zackatbrightbeam Aug 1, 2024
57edfd4
Refactor BasicEntityEdit to improve code readability and remove conso…
zackatbrightbeam Aug 1, 2024
327d05b
Pass spec.name dynamically when defining seneca overrides
zackatbrightbeam Aug 1, 2024
13ccbd8
Remove console logs
zackatbrightbeam Aug 1, 2024
2973643
Transform values in BasicEntityAutocompleteField onChange handler
zackatbrightbeam Aug 1, 2024
a20f544
Transform values in BasicEntitySelectField onChange handler
zackatbrightbeam Aug 1, 2024
440704a
Remove navigation to edit view in VxgBasicLedPlugin
zackatbrightbeam Aug 1, 2024
6254056
Move React login from plugin back to component
zackatbrightbeam Aug 1, 2024
2a200ce
Add new tests for plugins
zackatbrightbeam Aug 2, 2024
25358fe
Remove unnecessary code from BasicEntityAutocompleteField
zackatbrightbeam Aug 2, 2024
a749efc
Simplify returned value from modify:edit actions
zackatbrightbeam Aug 2, 2024
388b3f9
Move modify:save to VxgBasicEntityEditPlugin
zackatbrightbeam Aug 2, 2024
8a66bc3
Remove unnecessary code
zackatbrightbeam Aug 7, 2024
99ba0ca
Refactor resolveValue and resolveDefault to use util's resvalue and r…
zackatbrightbeam Aug 7, 2024
c345b1b
Update dist files
zackatbrightbeam Aug 7, 2024
7e449a8
Add `cid` to BasicEntityEdit and BasicEntityField to make plugins tag…
zackatbrightbeam Aug 7, 2024
a0cf67e
chore: Add unique identifier to BasicLed component
zackatbrightbeam Aug 7, 2024
2b4e135
chore: Use uniqueIdRef.current to avoid name clashes in BasicLed comp…
zackatbrightbeam Aug 7, 2024
0aad8cf
chore: Refactor BasicEntityEdit to use useSanitizedId for generating …
zackatbrightbeam Aug 8, 2024
d9027b5
Change model spec from mui.X to ux.props.X
zackatbrightbeam Aug 8, 2024
19e62f6
Refactor BasicLedHead component to use BasicAlert for displaying alerts
zackatbrightbeam Aug 8, 2024
a9481c1
Cosmetic and minor changes
zackatbrightbeam Aug 8, 2024
164102d
Add alert object to prepareApp viewState
zackatbrightbeam Aug 8, 2024
5592699
Set viewState alert object on save:item
zackatbrightbeam Aug 8, 2024
bb44f42
Clean up unnecessary code
zackatbrightbeam Aug 8, 2024
e2ebd77
Add unit tests for all plugins
zackatbrightbeam Aug 12, 2024
1fa8f5a
Use cid as unique way to tag plugins in BasicEntityEdit
zackatbrightbeam Aug 12, 2024
b798bb1
Refactor input field resolve functions
zackatbrightbeam Aug 12, 2024
2c2738f
Update dist files
zackatbrightbeam Aug 12, 2024
814ed03
Add support for custom input field
zackatbrightbeam Aug 12, 2024
cea0703
Fix BasicEntityRadioGroupField
zackatbrightbeam Aug 12, 2024
a651a05
Add console.log to makeResolver
zackatbrightbeam Aug 13, 2024
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
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"endOfLine": "lf"
}
2 changes: 1 addition & 1 deletion dist-plain/lib/VxgBasicAdminPlugin.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
declare function VxgBasicAdminPlugin(this: any): void;
export { VxgBasicAdminPlugin, };
export { VxgBasicAdminPlugin };
25 changes: 14 additions & 11 deletions dist-plain/lib/VxgBasicAdminPlugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist-plain/lib/VxgBasicAdminPlugin.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions dist-plain/lib/VxgBasicAuthPlugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist-plain/lib/VxgBasicAuthPlugin.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions dist-plain/lib/VxgBasicEntityEditPlugin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ declare function VxgBasicEntityEditPlugin(this: any, options: any): {
slot: any;
fields: any;
};
util: {
resolveMarks: (marks: any) => any;
dateTimeFromUTC: (utc: number, tz?: string) => any;
localTimeToUTC: (timeString: string, tz?: string) => number;
localDateTimeToUTC: (dateOrDateTimeString: string, tz?: string) => number;
};
};
};
export { VxgBasicEntityEditPlugin };
Loading