Commit Graph

138 Commits

Author SHA1 Message Date
Abizrh
a68f6b9eb0 🐛 fix (employee): fix user entry component on employee add page 2025-09-11 01:00:16 +07:00
Abizrh
8762424e2e feat (app): add person form 2025-09-11 00:59:54 +07:00
Abizrh
053a540638 enhance (pub): adjust form label 2025-09-11 00:57:12 +07:00
Abizrh
938278a7a2 Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/user 2025-09-09 15:08:20 +07:00
Abizrh
a208bbad9c Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/user 2025-09-08 15:23:51 +07:00
riefive
0ae612af72 fix: solve conflict 2025-09-08 14:41:26 +07:00
Khafid Prayoga
b436737f62 Merge branch 'dev' into refactor/mv-flow-to-content 2025-09-08 13:41:33 +07:00
riefive
bb74662f15 refactor(equipment): change submit flow 2025-09-08 13:14:24 +07:00
riefive
9cb8dd9caf refactor(equipment): add modal form to component list 2025-09-08 13:09:55 +07:00
Khafid Prayoga
cae8ca73fd refactor(tools-equipment): replace flow components with content components
- Update device and material pages to use Content prefixed components instead of Flow
- Add new content components for device and material list/entry functionality
- Maintain same functionality while improving component naming consistency
2025-09-08 11:17:47 +07:00
Khafid Prayoga
b0938a2eb6 feat(org-src): replace flow components with content components and add list views
Add new content components for unit, division, and installation with list views, entry forms, and validation schemas. Replace Flow*List components with Content*List components in org-src pages. Includes pagination, search functionality, and CRUD operations for each entity type.
2025-09-08 11:09:35 +07:00
riefive
354ed82df1 fix: solve conflict at material entry 2025-09-08 10:30:26 +07:00
Munawwirul Jamal
2b41d5f163 Merge pull request #34 from dikstub-rssa/30-fe---item-itemprice
Feat Item, Item Price and Rename flow > content
2025-09-08 08:53:15 +07:00
Munawwirul Jamal
8e52689726 Merge pull request #32 from dikstub-rssa/feat/equipment-device
Feat Equipment Device
2025-09-08 08:51:52 +07:00
Munawwirul Jamal
bc8c6b8033 Merge pull request #20 from dikstub-rssa/feat/org-src
feat/org src implement entry form for division, unit, and installation
2025-09-08 08:48:43 +07:00
Abizrh
263f9dbc7f ⚠️ refactor (components): rename flow components to content 2025-09-07 22:58:18 +07:00
Abizrh
cdebdb8995 feat (item): add item and item price modules 2025-09-07 22:50:15 +07:00
Abizrh
3d329cb106 Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into 23-fe---medicine-source 2025-09-07 21:39:49 +07:00
Abizrh
e640a6d44c feat (medicine-method): implement medicine method fetching 2025-09-07 20:43:14 +07:00
Abizrh
c3c9154d0e ⚠️ refactor (medicine-method): simplify entry form and list configuration 2025-09-07 20:37:24 +07:00
Abizrh
eb9c918141 ⚠️ refactor (medicine-group): simplify entry form and list configuration 2025-09-07 20:34:22 +07:00
Abizrh
302bcb3e2a feat (medicine): implement medicine entry form and list 2025-09-07 20:09:31 +07:00
Abizrh
e9cbb09bc5 feat (pub): add base modal 2025-09-07 20:08:43 +07:00
riefive
5a7fe0e2d6 fix: resolve conflict at sys.json 2025-09-06 15:11:28 +07:00
riefive
ffa4a7d191 refactor(material): modify validation uom and item 2025-09-04 16:21:10 +07:00
Khafid Prayoga
d9a675be05 refactor(composables): extract pagination logic into usePaginatedList composable
- Remove duplicate schema.query.ts files from unit, division, and installation components
- Create new usePaginatedList composable to centralize pagination logic
- Update list.vue components to use the new composable
- Maintain same functionality while reducing code duplication
2025-09-04 16:19:51 +07:00
riefive
21d087e496 refactor(material): add zod validation for stock field as number and display error message after submit in 2025-09-04 15:55:32 +07:00
Khafid Prayoga
39d96e7b24 feat(unit): implement unit management flow with list and form components
- Add schema validation and default query params for unit management
- Create list view with pagination, search, and delete functionality
- Implement form entry with validation for creating/editing units
- Replace placeholder content with functional unit list component
- Remove unused unit add page and update page titles
2025-09-04 13:17:06 +07:00
Khafid Prayoga
3dbc1b8fd1 refactor(pagination): move pagination info display to component and improve layout
- Consolidate pagination info display logic in pagination component
- Remove duplicate computed properties from list components
- Improve pagination layout with better spacing and responsiveness
- Add skeleton loading support to data tables
2025-09-04 11:26:58 +07:00
Abizrh
bdc3e837f9 enhance (appsidebar): improve sidebar navigation spacing and appearance 2025-09-03 22:11:58 +07:00
Abizrh
38e40416d3 feat (medicine): add medicine management modules 2025-09-03 20:33:19 +07:00
Khafid Prayoga
4c0312e487 feat(installation): implement installation list with pagination and search
refactor(installation): move form schema and configuration to separate files
fix(installation): update page title and content display
2025-09-03 17:00:49 +07:00
Khafid Prayoga
646c7b6d73 fix(flow): prevent outside click on division form dialog
Add prevent-outside prop to Dialog component to avoid accidental closure
2025-09-03 16:07:39 +07:00
riefive
0435371e1c feat (device): update entry form of device 2025-09-03 15:47:07 +07:00
riefive
81fa38275a feat (material): update validation with error label 2025-09-03 15:41:55 +07:00
riefive
3c74a123ac feat (material): update validation of attribute stock 2025-09-03 15:39:06 +07:00
riefive
06a26c8b07 feat: add RBAC role-based access control and permission checks to device index page 2025-09-03 15:34:59 +07:00
Khafid Prayoga
a3905dd9b9 feat(data-table): add skeletonSize prop to customize loading rows
Add optional skeletonSize prop to control the number of skeleton rows displayed during loading. Defaults to 5 if not provided.
2025-09-03 15:34:11 +07:00
Khafid Prayoga
a9c286bd0a feat(division): impl division list+entry
feat(form): add accessibility improvements to form components

- Add labelFor prop to Label component for better form element association
- Enhance Combobox with ARIA attributes for better screen reader support
- Update form fields with proper IDs and label associations

feat(pagination): adjust button width based on page number length

Add dynamic button sizing for pagination items to accommodate different digit lengths (1-99, 100-999, 1000+). This improves visual consistency when displaying varying page numbers.

feat(modal): add reusable dialog component and refactor division form

- Create new Dialog.vue component with configurable size and outside click prevention
- Replace inline dialog implementation in division list with new Dialog component
- Fix formatting in entry-form.vue

feat(data-table): add click handling for action cells

Implement handleActionCellClick function to manage click events on action cells, triggering dropdown buttons when clicked outside interactive elements. Add cursor-pointer class and click handler to action cells for better UX.

refactor(custom-ui): centralize action event strings in types

Replace hardcoded action event strings with constants from types.ts to improve maintainability and reduce potential typos

feat(confirmation): add reusable confirmation modal components

- Implement base confirmation.vue component with customizable props
- Create record-specific record-confirmation.vue for data operations
- Add comprehensive README.md documentation for usage
- Integrate confirmation flow in division list component

refactor(components): move dialog component to base directory and update imports

The dialog component was moved from custom-ui/modal to base/modal to better reflect its shared usage across the application. All import paths referencing the old location have been updated accordingly.

refactor(select): reorganize imports and adjust conditional formatting

- Reorder imports in Select.vue for better organization
- Adjust logical operator formatting in SelectContent.vue for consistency
2025-09-03 15:13:44 +07:00
riefive
6afa968b7b feat (material): update logic validate 2025-09-03 12:50:41 +07:00
riefive
e5d995b9ee feat (material): add zod validation for stock field to ensure number input in entry-form 2025-09-03 12:23:21 +07:00
Khafid Prayoga
b6d30eb154 refactor(division): extract entry form to separate component and improve form handling
- Move form logic from list component to dedicated entry-form component
- Implement proper form submission and cancellation handlers
- Add type safety with DivisionFormData interface
- Improve form validation using vee-validate
- Refresh data after successful form submission
2025-09-02 16:49:19 +07:00
Khafid Prayoga
add19f33a2 feat(data-table): add size prop to action components
Add size prop configuration to action components in data table to allow consistent sizing. Update dropdown action component to accept size prop with default value.
2025-09-02 16:25:32 +07:00
Khafid Prayoga
664849e15b feat(division): add form dialog for creating new division
- Implement dialog form with validation schema for division creation
- Add combobox component for parent division selection
- Include form submission handling with reset and error states
- a11y
2025-09-02 16:14:40 +07:00
mrifai-cata
da9830e16d feat (material): modify entry form of materiak 2025-09-02 15:59:02 +07:00
mrifai-cata
7e4444a427 feat (material): add form material 2025-09-02 14:04:33 +07:00
mrifai-cata
f29c9abad8 feat (material): add list material 2025-09-02 13:58:10 +07:00
Khafid Prayoga
132068fcde feat(division): implement division list with pagination and search
- Add schema validation for query parameters
- Create pagination component with type definitions
- Implement division list view with search functionality
- Add data table configuration for division listing
- Handle pagination state and URL synchronization
2025-09-01 15:08:55 +07:00
Khafid Prayoga
b1b324e688 refactor(data-table): improve type safety and component rendering
- Replace generic 'any' types with specific type imports for better type safety
- Add optional chaining for funcComponent to prevent potential runtime errors
- Update funcHtml and funcParsed to include rowIndex parameter in callbacks
2025-09-01 11:35:02 +07:00
Abizrh
f5209154ee feat (form): add stacked layout option for form fields 2025-08-31 17:21:23 +07:00