Commit Graph

227 Commits

Author SHA1 Message Date
Khafid Prayoga
ba6485a3e7 feat(division): wip tree select component
feat(division): update division list components and add mock api

- Replace patient API endpoint with division mock endpoint
- Simplify table columns and headers for division list
- Add mock API endpoint for division list with tree/flat format

feat(select-tree): add collapsible tree select component with lazy loading

Implement a tree select component with collapsible sections and lazy loading of child items. Includes:
- Collapsible component wrappers for Vue
- Command component wrappers for combobox functionality
- Tree select item component with loading states
- Example implementation in dev page

todo:
- scroll on overflow
- long text truncate possibly with tooltip
- more than > 5 depth of child
- mutate the children lazy
- integration backend for search based text and return  keys

feat(select-tree): add command-item component for tree selection

adjust hover bg-accent (remove state on-highlighted at styling) to avoid conflict on global component

refactor(select-tree): extract TreeItem interface to shared type file

Move TreeItem interface to a dedicated type file for better code organization and reusability. Update components to import the interface and add styling improvements to the tree-select component.

adjust text size for tree to sm

refactor(select-tree): rename tree-select-item to leaf and improve component

- Rename component to better reflect its purpose as a leaf node
- Improve UI with better spacing and hover states
- Simplify toggle logic using v-model
- Add checkmark icon for selected items

checkpoint

wip
2025-09-11 09:50:18 +07:00
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
64d432f75a enhance (lib): adjust libs 2025-09-11 00:56:36 +07:00
riefive
9d58eae1bf feat(sep): change to update value from datepicker 2025-09-10 15:48:48 +07:00
riefive
fb8fde65d5 feat(sep): update datepicker component 2025-09-10 15:19:40 +07:00
riefive
582bd67cbe feat(sep): modify form entry with calendar select 2025-09-10 14:37:54 +07:00
riefive
32544e9b0b feat(sep): modify form entry with support code input 2025-09-10 14:04:34 +07:00
riefive
1f335f671d feat(sep): modify form entry with radio input 2025-09-10 13:37:03 +07:00
riefive
93d13cf28c feat(sep): update form entry 2025-09-10 13:17:37 +07:00
riefive
93f5ba0092 feat(sep): add form entry 2025-09-10 12:56:34 +07:00
riefive
d9262b42f5 Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into fe-sep-38 2025-09-10 12:37:32 +07:00
sharedmaxchat
1f87d6f6a4 Merge pull request #42 from dikstub-rssa/fe-alat-kesehatan-26
Feat Equipment Tools: Update Form
2025-09-10 10:52:46 +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
riefive
e6442a0d31 feat(sep): add list component 2025-09-09 13:30:51 +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
riefive
d936529c4a fix: solve conflict 2025-09-08 14:40:28 +07:00
riefive
875fc92f53 refactor(tools): remove entry flow 2025-09-08 13:55:27 +07:00
riefive
8a4b4c06e9 refactor(tools): change content of tools 2025-09-08 13:50:38 +07:00
riefive
56389263ae refactor(tools): add modal form 2025-09-08 13:48:24 +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
Khafid Prayoga
97199cee3b feat(integration): adjust route pages based on sys conf 2025-09-08 10:57:16 +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
88577dbec5 🐛 fix (medicine-type): fix medicine type list display 2025-09-07 21:40:57 +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
4117b79365 feat (medicine): add medicine group model 2025-09-07 20:17:34 +07:00
Abizrh
210946922d feat (medicine): add medicine model and dto 2025-09-07 20:16:18 +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
Abizrh
6f4230da04 feat: register schemas and services 2025-09-07 20:08:03 +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
riefive
209f78df0a feat(material): change menu material to equipment 2025-09-04 14:56:23 +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