136 Commits

Author SHA1 Message Date
m0n02hz
55d8526808 Merge branch 'develop' of https://github.com/kfnawaz/plaidware-wms-web into feature/wms-55_develop 2022-03-11 02:35:52 +05:30
m0n02hz
c4d3190d5e [WMS-55] Implemented review comments
Implemented review comments, added loader on submission
2022-03-11 02:35:40 +05:30
Dikshajain39511
ceb9256f1b Feature/wms 70 (#93)
* Warehouse edit - Inventory hosted selector fix
* Update: Unique key fix

Co-authored-by: evdigitech <evdigitech@gmail.com>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-03-10 22:31:51 +05:30
bluestreamlds
8abe5ba900 Merge pull request #92 from kfnawaz/fix/WMS-83
Fix/wms 83
2022-03-10 10:58:39 +05:30
Llewellyn Dsouza
4d3b6ec9df Fixed: labels on widget dropdown select 2022-03-10 10:57:54 +05:30
Llewellyn Dsouza
b2c0c3f958 Update: item listing breadcrumbs 2022-03-10 10:40:36 +05:30
Llewellyn Dsouza
7561006ce0 Fixed: warehouse listing key 2022-03-09 12:53:42 +05:30
Dikshajain39511
7131e86792 Feature/wms 72 (#89)
* remove duplicates name validation
* popop made for inventory icon slug
* add item page:breadcrumb changes
* remove new
* Update: naming and redirections
* Removed: validation code

Co-authored-by: evdigitech <evdigitech@gmail.com>
2022-03-09 12:48:58 +05:30
bluestreamlds
cb71fe1a42 Merge pull request #86 from kfnawaz/fix/WMS-66
Fix/wms 66 - labelling functionality
2022-03-09 12:06:40 +05:30
Llewellyn Dsouza
787c91fe7a Merge branch 'develop' into fix/WMS-66 2022-03-09 12:06:08 +05:30
Llewellyn Dsouza
c62453e318 Added: filter button to location labelling 2022-03-09 12:04:55 +05:30
e17f4fb0b6 Merge pull request #87 from kfnawaz/feature/wms-55_develop
[WMS-55] Review Comments, more
2022-03-09 03:24:41 +05:30
m0n02hz
728406b452 [WMS-55] Review Comments, more
Permissions selected disabled and now dependent on role selection
added loader and alert message when table load fails
refactored
Removed default created, update by/at field values
Loaded data in roles table
Added 'edit-role' route
2022-03-09 03:23:58 +05:30
Llewellyn D'souza
30b4b5d7c2 fixed: unupdated state id for row
removed: unecessary dispatch action
Updated: label saga to listen to every dispatch
2022-03-08 17:47:36 +05:30
Llewellyn D'souza
51dc7c33c3 Update: increase gradient distance 2022-03-08 17:18:25 +05:30
Llewellyn D'souza
e75e270cdf Added: vertical and horizontal overflows 2022-03-08 16:51:31 +05:30
Llewellyn D'souza
913c1dbcf2 Removed: reset inventory after filter click 2022-03-08 16:45:07 +05:30
Llewellyn D'souza
940c1e704e Linted: dropdown 2022-03-08 16:11:55 +05:30
Llewellyn D'souza
0fb3f3bf55 Linted: search bar 2022-03-08 16:10:59 +05:30
Llewellyn D'souza
70cda3d3f2 Fixed: widget labelling 2022-03-08 16:10:35 +05:30
Llewellyn D'souza
75b6f2a88b Fixed: location labelling 2022-03-08 16:08:16 +05:30
Llewellyn D'souza
be258aea34 Fixed: dropdown component 2022-03-08 16:08:08 +05:30
Llewellyn Dsouza
ef4e3a2d9f Fix: eslint config 2022-03-08 08:03:20 +05:30
bluestreamlds
320ec7061c Merge pull request #84 from kfnawaz/feat/WMS-67
Feat/wms 67 - delete-confirmations-toasts
2022-03-07 18:17:55 +05:30
Llewellyn Dsouza
ae7e8547c3 Added: Toast messages for add, edit, delete 2022-03-07 18:14:50 +05:30
Llewellyn Dsouza
74199f6752 Added: Delete confirmations for widget families 2022-03-07 18:05:03 +05:30
Llewellyn Dsouza
54369ae9b7 Update: Delete confirmation for warehouse locations 2022-03-07 18:04:48 +05:30
87a890cd23 Merge pull request #83 from kfnawaz/feature/wms-55_develop
[WMS-55] Review comments
2022-03-06 06:45:15 +05:30
m0n02hz
95e05cb51c [WMS-55] Review comments 2022-03-06 06:44:33 +05:30
e87dbdeee6 Merge pull request #82 from kfnawaz/feature/wms-55_develop
[WMS-55] Review comments
2022-03-06 06:07:02 +05:30
m0n02hz
eb0e34fef5 [WMS-55] Review comments 2022-03-06 06:06:07 +05:30
61bfd87029 Merge pull request #80 from kfnawaz/feature/wms-55_develop
Feature/wms 55 develop
2022-03-06 01:18:20 +05:30
m0n02hz
1469e4ff5a [WMS-39] Role Page Added, date field bug fixed 2022-03-06 01:15:51 +05:30
m0n02hz
2f8d60049c Merge branch 'develop' of https://github.com/kfnawaz/plaidware-wms-web into feature/wms-55_develop 2022-03-06 01:12:28 +05:30
bluestreamlds
85947c18c2 Merge pull request #79 from kfnawaz/feat/delete-inventory
Feat/delete inventory
2022-03-04 18:39:00 +05:30
Llewellyn Dsouza
a22c3fcf42 Added: delete inventory 2022-03-04 18:28:41 +05:30
bluestreamlds
8cccf1f034 feat/delete-item-warehouse (#78)
Delete item
Delete warehouse
Delete confirmation messages
Bonus: Full cover image

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-03-04 16:27:53 +05:30
m0n02hz
5d2e29fc41 [WMS-55]
Image upload, better error handling, removed warnings,
fixed date field not rendering correct date during edit
2022-03-04 02:03:10 +05:30
bluestreamlds
5381f7d727 Fixes/minor (#77)
Breadcrumbs, images, icon slugs, notifications

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-03-04 01:59:51 +05:30
Llewellyn Dsouza
e2d3ccfb7e Fix: Merge (#71) 2022-03-03 22:34:30 +05:30
Dikshajain39511
fd8d0b1167 Feature/wms 52 (#71)
Labeling module

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
Co-authored-by: evdigitech <evdigitech@gmail.com>
2022-03-03 22:29:08 +05:30
Llewellyn Dsouza
a883212126 Fix: Build issues 2022-03-03 21:07:53 +05:30
bluestreamlds
7c9bc373d4 Merge pull request #76 from kfnawaz/feature/wms-55_develop
Added rewire lib to update webpack config
2022-03-03 19:27:28 +05:30
m0n02hz
f1a2210e16 Added rewire lib to update webpack config 2022-03-03 18:58:21 +05:30
m0n02hz
49684f6a3d Merge branch 'develop' of https://github.com/kfnawaz/plaidware-wms-web into feature/wms-55_develop 2022-03-03 04:18:17 +05:30
m0n02hz
213bff309c [WMS-55] User Create and Edit Final 2022-03-03 04:18:01 +05:30
Llewellyn Dsouza
9e389ba7ae Fix: Item List filter 2022-03-03 02:06:02 +05:30
bluestreamlds
429613ca82 feat/tem-listing-filters (#74)
* Updated: inventory form
* fix: item listing table content
* Added: filters

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
Co-authored-by: Sathishkumar Krishnan <satizkris@gmail.com>
2022-03-03 01:36:18 +05:30
bluestreamlds
e794421938 Fixes/items-and-images (#73)
* Fixed: warehouse preferred inventories upload
* Fix: item redux saga
* Item listing
* Added: add item
* Added: edit handler
* Update: add item
* Update: multi images
* Fix: multiple images
* Fix: item api mapping
* Update: added keys

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-03-02 23:09:36 +05:30
bluestreamlds
92e5325fdc fixed/ll-warehouse (#72)
* Added: single image upload
* Added: Warehouse image upload
* Added: key to tilebasic
* Updated: warehouse saga
* Fix: specs in warehouse edit
* Redirections
* Added: toasts
* Updated: image upload

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-03-02 12:25:34 +05:30
m0n02hz
c2b632e33b [WMS-55] Create/Edit User 2022-03-02 00:41:24 +05:30
bluestreamlds
315113630e Fixes/ll inventory (#70)
* inventory data changes
* update Inventory changes
* Fixed: removed unnecessary imports
* Disabled: cycle count
* Added: Inventory types sagas
* Fix: null check
* Updated: policies
* Fixed: formik values
* update: allow single image
* Update: Policies control
* Updated: new inventory add form
* Update: new inventory conditional render
* Update: populate formik fields
* Added: Validation
* Added: edit functionality, disabled fields
* Update: housekeeping
* Fix: iconslug and key
* Update: route handling
* Added: endpoints
* Added: widget nested page
* Added: sagas
* Added: redux handling
* Update: new product page functionality
* Added: inventory page functionality
* Fixed: form validation
* Fix: route handling
* Added: Add items button
* Added: Item list page
* Added: saga
* Added: Route handler
* Added: item redux
* Udpate: breadcrumbs
* Fixed: edit widget
* Fix: delete widget
* Added: item list table
* Update: Routing
* Update: dynamic headers
* Update: disabled edit
* Added: toastify and toast
* removed: nested table page
* Fixewd: switch and inventory form
* Update: data table
* Fixed: image upload
* Update: redux and widget
* Update: warehouse edit with selector

Co-authored-by: evdigitech <evdigitech@gmail.com>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-03-01 23:47:12 +05:30
bluestreamlds
af28c0b99c Fixes/ll inventory (#69)
* inventory data changes
* update Inventory changes
* Fixed: removed unnecessary imports
* Disabled: cycle count
* Added: Inventory types sagas
* Fix: null check
* Updated: policies
* Fixed: formik values
* update: allow single image
* Update: Policies control
* Updated: new inventory add form
* Update: new inventory conditional render
* Update: populate formik fields
* Added: Validation
* Added: edit functionality, disabled fields
* Update: housekeeping
* Fix: iconslug and key
* Update: route handling
* Added: endpoints
* Added: widget nested page
* Added: sagas
* Added: redux handling
* Update: new product page functionality
* Added: inventory page functionality
* Fixed: form validation
* Fix: route handling

Co-authored-by: evdigitech <evdigitech@gmail.com>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-03-01 03:18:16 +05:30
bluestreamlds
b3d7b0344a Fixes/overall (#67)
* Update: remove autofocus
* Update: Breadcrumbs functionality
* Update: removed validation for attributes
* Update: Field name
* Update: warehouse setup breadcrumbs
* Update: Inventory setup breadcrumbs
* Added: delete button to nested table

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-27 17:29:25 +05:30
Hiren Padsala
72f7297355 Fixture/widget lable (#66)
* Updated Widget label Ui and add Company logo from top of side nav
* update change for logo placement
* Updated: minor fixes
* Update: Center subtitle

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-27 15:20:26 +05:30
Llewellyn Dsouza
655627d38c Update: Breadcrumbs 2022-02-27 13:46:20 +05:30
bluestreamlds
d9053688bf Fixes/overall (#64)
* Update: remove autofocus
* Update: Breadcrumbs functionality
* Update: removed validation for attributes
* Update: Field name
* Update: warehouse setup breadcrumbs
* Update: Inventory setup breadcrumbs

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-27 13:29:38 +05:30
Llewellyn Dsouza
1fae3b7989 Merge branch 'fixes/overall' into develop 2022-02-27 12:11:03 +05:30
Llewellyn Dsouza
1f94e6d04c Update: New warehouse styles 2022-02-27 12:03:47 +05:30
evdigitech
14d7370ee3 Merge branch 'develop' of github.com:kfnawaz/plaidware-wms-web into develop 2022-02-27 11:48:18 +05:30
evdigitech
119e00dfef "Update:Breadcrumb information" 2022-02-27 11:47:54 +05:30
Llewellyn Dsouza
f4963901a6 Merge branch 'fixes/overall' into develop 2022-02-27 11:23:36 +05:30
Llewellyn Dsouza
430049df9d Merge Nested to Edit warehouse 2022-02-27 11:22:31 +05:30
evdigitech
49cc6658c6 "Update: Header bar information" 2022-02-27 11:20:21 +05:30
Llewellyn Dsouza
e172350f73 Update: Renamed Edit Warehouse Details Form 2022-02-27 11:06:13 +05:30
Llewellyn Dsouza
53495d9fde Removed: Configurator button 2022-02-27 10:58:27 +05:30
Llewellyn Dsouza
497a6608b4 Update: level form fields 2022-02-27 02:49:47 +05:30
Llewellyn Dsouza
0fbf04bf5a Update: add zone 2022-02-27 02:49:37 +05:30
Llewellyn Dsouza
63fdddae78 Removed: Settings, notification from header 2022-02-26 23:47:00 +05:30
Llewellyn Dsouza
2ad24e6bba Fix: Height of noncollapsable item in sidenav 2022-02-26 23:40:00 +05:30
Llewellyn Dsouza
1596dc1a39 Update: Sidebar standalone item 2022-02-26 23:28:19 +05:30
Llewellyn Dsouza
28ecd84bb8 Added: FSR logo 2022-02-26 22:47:32 +05:30
Llewellyn Dsouza
134f416beb Update: disabled menu items 2022-02-26 22:45:59 +05:30
bhavana-jain
8084b4005b Feature/logout (#63)
* Added Logout option on navbar
* fixed multipe menu click issue on navbar
* Update: Linted

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-26 08:08:46 +05:30
Llewellyn Dsouza
c9817273a5 Removed: Footer 2022-02-26 08:04:18 +05:30
bluestreamlds
2ce13ba312 Feature/wms 39 nestedtable (#62)
* Updated: routes
* Rewritten nested table logic
* Updated: page with sample data and removed unnecessary components
* Removed: footer
* Fix: initial selected null handler
* Added: styling
* Updated: Table/button styling
* Added: API responses
* Fix: dispatch parameters
* Update: disable dropdown when no children
* Update: better receiving of data
* Update: better click handling, row distribution
* Update: yay the add form works finally
* Added: navigation
* Fixed: add zone button
* Added some colours
* Added: positions for sublevel
* Fixed: null check
* Added: initial sublevel values
* Update: fixed add sublevel
* Removed: location edit in sublevel
* Fixed: sublevel locations
* Added: edit apis handler
* Added: dispatch
* Fix: handle type seperately
* Added: edit warehouse redux
* Removed: loggers
* Update: edit form payload method
* Fix: multiple requests

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-25 11:08:55 +05:30
Hiren Padsala
b606cecb24 complete design of create users (#61)
* complete design of create users
* Removed: package-lock.json
* Linted

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-25 10:17:24 +05:30
Dikshajain39511
302057a0a7 Feature/wms 56 (#59)
* create warehouse
* edit warehouse changes
* Update: linted and formatted
* add warehouse button
* user access changes
* basic table component changes
* Updated: eslint errors
* basic table component changes
* update: linted
* add New Product form api integrate
* add Inventory changes
* policies change
* add validation for widget
* Fixed: Image upload component
* Updated: Custom styling inputs

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-22 13:48:26 +05:30
bhavana-jain
68dca0dc34 Feature/wms 42 (#60)
* Added: transfer list component
* Updated: package.json
* Linted
* Udpated: removed width constrain
* create user role UI changes

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-21 12:33:46 +05:30
Llewellyn D'souza
e6186d7835 Removed: Footer and search bar 2022-02-16 13:13:31 +05:30
Dikshajain39511
243f4c5fa1 Feature/wms 50 (#57)
* create warehouse
* edit warehouse changes
* Update: linted and formatted
* add warehouse button
* user access changes
* basic table component changes
* Updated: eslint errors
* basic table component changes
* update: linted
* add New Product form api integrate
* add new product changes
* textarea changes
* Linted code
* Fix: image preview placeholder

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-16 11:54:27 +05:30
Hiren Padsala
fc5128aec1 feature/wms-36 complete design of widget label screen (#58)
* feature/wms-36 complete design of widget label screen
* Linted

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-16 10:43:23 +05:30
bhavana-jain
66443f85a1 Added transfer list component (fixed commit) (#56)
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-11 23:07:18 +05:30
Sathishkumar Krishnan
4c2df3fd2c Feat: List roles page (WMS-40) (#55)
* feat: list roles page with api integration
* Update: added dispatch on first load
2022-02-11 22:55:54 +05:30
bluestreamlds
ff9ea9c71c Feature/wms 63 - Image upload component (#54)
* Updated: Image component functionality
* Updated: Added accept type support
* Updated: Restrict based on multiple key

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-11 16:26:32 +05:30
Llewellyn D'souza
aa3e712ebe Udpate: Added createdAt, updatedAt rows 2022-02-11 15:43:18 +05:30
Llewellyn D'souza
a42fa2f1af Added: token expiry verification 2022-02-11 15:17:06 +05:30
Dikshajain39511
a4198afc1d Feature/wms 53 (#53)
* create warehouse
* edit warehouse changes
* Update: linted and formatted
* add warehouse button
* user access changes
* basic table component changes
* Updated: eslint errors
* basic table component changes
* update: linted

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-11 14:53:22 +05:30
Dikshajain39511
97b7d5a85e Merge pull request #52 from kfnawaz/feature/WMS-63
Fixed: Multiple select form component
2022-02-10 12:37:46 +05:30
Hiren Padsala
3d50583791 Feature/wms-39 Component design completed and Name is ChooseAvatar (#51)
* Feature/wms-39 Component design completed and  Name is ChooseAvatar
* Fixed: MUI import
* Removed: Unnecessary layout in component
* Linted and formatted

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-10 12:06:12 +05:30
Hiren Padsala
e79ae36f4f Fixed issue of code (#50)
* Fixed issue of code
* Fixed wms-34 comment as per jira ticket
* Updated: Linted and fixed import
* Renamed: File Component
* Added: route

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-10 11:54:16 +05:30
Llewellyn D'souza
c106412691 Fixed: Multiple select form component 2022-02-08 18:10:03 +05:30
Llewellyn Dsouza
e2d720c044 Updated: all page routes 2022-02-07 23:02:26 +05:30
bluestreamlds
27ff4e17db Feature/wms 62 (#47)
* create warehouse
* edit warehouse changes
* Update: linted and formatted
* add warehouse button
* Update: linted
* Added: icons
* Update: Hidden pre decoration
* Updated: breadcrumbs logic

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-07 22:53:05 +05:30
Dikshajain39511
d32a8892e3 Feature/wms 48 (#46)
* create warehouse
* edit warehouse changes
* Update: linted and formatted
* add warehouse button
* Update: linted

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-02-07 16:57:53 +05:30
bluestreamlds
1cc9a95e9f Feat/wms 49 (#45)
* Added: inventory home route
* Deleted: extra file
* Updated: linted
* Fixed: Tilegrid for tile component
* Integrated: tile component
* Fixed: routes
* Updated: Setup page order
* Added: redirect to inventory
* Fixed: add new inventory redirect
* Udpate: restructured code

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-04 15:36:54 +05:30
Llewellyn D'souza
6561755cb3 Linted: .eslintrc file 2022-02-04 15:06:09 +05:30
Talha Abbas
0fc8e2924f Feature/wms 33 (#31)
* Start the home page
* Created Setup Inventory Page
* delete useless files
* fixed a bug
* Add links for the sub actions
* fix naming
* Fix the tiles
* fix the path bug

Co-authored-by: bluestreamlds <85561356+bluestreamlds@users.noreply.github.com>
2022-02-04 13:55:25 +05:30
Llewellyn D'souza
be26d80906 Fixed: warehouse null check 2022-02-04 13:25:41 +05:30
bluestreamlds
5857706e89 Feat/wms 51 (#44)
* Added: icons
* Updated: routes
* Updated: Tilebasic component
* Updated: homepage component and styling
* Updated: Setup page styles and component
* Updated: Labelling home styles and components
* Fixed: missing footer
* Updated: reorder routes
* Fixed: tiles width for many items
* Fixed: warehouse missing path
* Fixed: setup screen icon sizes

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-04 13:19:03 +05:30
Hiren Padsala
b867a25974 fixed/wms-13 - Component update with code (#43)
* fixed/wms-13 - Component update with code
* Update: Linted with comment
2022-02-03 12:58:42 +05:30
bluestreamlds
48b3a25dd3 Merge pull request #41 from kfnawaz/feature/WMS_47
* warehouse api integration
* Updated: tile basic and icon

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
2022-02-02 15:17:19 +05:30
Llewellyn D'souza
3017ce1bae Updated: tile basic and icon 2022-02-02 15:12:52 +05:30
Dikshajain39511
9efde3d75f Merge branch 'develop' into feature/WMS_47 2022-02-02 14:52:34 +05:30
[Diksha]
6f99ba5541 warehouse api integration 2022-02-02 14:45:41 +05:30
bluestreamlds
5089501d40 Merge pull request #40 from kfnawaz/feature/WMS-57
* Added: 'hide' unnecessary navbar items
* Updated: homepage

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-02 13:55:43 +05:30
Llewellyn D'souza
599ff88a96 Updated: homepage 2022-02-02 12:55:03 +05:30
Llewellyn D'souza
5e52c90299 Added: 'hide' unnecessary navbar items 2022-02-02 12:45:35 +05:30
Talha Abbas
d2c2472e29 Feature/wms 5 (#32)
* Start the home page

* Fix the Tile and Tile Grid Component and also created the homePage

* Recreated the tile component with TileBasic

* fix the tile component

* Fixed: tile length sizing

* Rename page export

* Added: page to routes

* Renamed: sidenav title

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-01 15:02:48 +05:30
Hiren Padsala
384805865e Feature/wms-32 WareHouse details in table page completed (#39)
* Feature/wms-32 WareHouse details in table page completed

* Resolved: Box import

* Updated: .gitignore file

* Update: route component name

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-01 13:40:12 +05:30
Dikshajain39511
03a9dd5370 Feature/wms 44 (#37)
* add new/update inventory

* prop validation in imageupload component

* Linted

* add table to inventory page

* Renamed: ImageUpload - Index to index

* Resolved: route merge conflict

* Resolved: ImageUpload conflicts w/ warehouse page

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-01 13:26:22 +05:30
Dikshajain39511
ab4aa065fd Feature/wms 41 (#38)
* tileGrid page

* Updated: Tile component props

* TileBasic Component Changes

* Basic Tile Changes

* bug fix

* location form changes

* props pass to dropdown

* list users page

* user access changes

* user and access

* tabs changes

* Removed: Duplicate import

* Removed: extra tile component

* Resolved: Linter errors

* Undo: BasicTable conflict

* Resolved: PropTypes error

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-02-01 13:07:31 +05:30
Hiren Padsala
a99feeea7e feature/wms-30 completed design with single component (#36)
* feature/wms-30 completed design with single component
* Renamed, linted, fixed broken import

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-01-31 15:44:59 +05:30
Hiren Padsala
4666a1e3b9 feature/wms-28 Warehouse Setup Page Design completed (#35)
* feature/wms-28 Warehouse Setup Page Design completed
* Renamed, linted
2022-01-31 15:32:33 +05:30
Hiren Padsala
0e7952f83d Feature/Wms-14 Nested Table component design completed (#30)
* Feature/Wms-14 Nested Table component design completed
2022-01-31 15:25:12 +05:30
Llewellyn D'souza
0774fa19de Fix: merge error 2022-01-31 11:42:09 +05:30
Dikshajain39511
ab1d396287 Feature/wms 35 (#34)
Added: Location label form

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
Co-authored-by: bluestreamlds <85561356+bluestreamlds@users.noreply.github.com>
2022-01-31 11:31:25 +05:30
Dikshajain39511
a3732def15 Feature/wms 29 (#29)
* tileGrid page
* fixed: overlap issue

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-01-28 18:04:59 +05:30
Talha Abbas
129f1f1738 Feature/wms 15 (#21)
* completed the toggle component
* Delete: breadcrumbs changes
* Updated: file location and naming
* Fix naming and props errors

Co-authored-by: TalhaAbbas55 <talhaabbas556989@.com>
Co-authored-by: bluestreamlds <85561356+bluestreamlds@users.noreply.github.com>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-01-26 14:25:03 +05:30
Llewellyn Dsouza
9c3a0e5e47 Updated: prettier and vsCode configs 2022-01-26 11:39:41 +05:30
Talha Abbas
98754fd8ef feature/WMS-8-tile (#26)
* Recreated tile component with proper naming conventions
* Cleaned code, renamed variables, removed unnecessary code
* Added TODO note

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-01-26 10:43:17 +05:30
Talha Abbas
297e53f3a3 Feature/wms 10 (#19)
* Design the Breadcrumbs Component

* Updated: caret height
Renamed: icon component

Co-authored-by: TalhaAbbas55 <talhaabbas556989@.com>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-01-26 10:23:28 +05:30
Dikshajain39511
d45affb454 WMS-18 - Feature - Simple table (#28)
* Table ui changes
* Renamed: Root to TableContainer
* Linted code

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-01-26 10:02:19 +05:30
Dikshajain39511
923ad9b757 Feature/wms 17 (#27)
* added:locationLabel changes

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: bluestreamlds <85561356+bluestreamlds@users.noreply.github.com>
2022-01-25 14:16:08 +05:30
bluestreamlds
f6cf32cefe Merge pull request #24 from kfnawaz/feature/wms-16
Feature - wms16 Image upload component
2022-01-25 10:14:49 +05:30
bluestreamlds
2ed5e42560 Merge pull request #25 from kfnawaz/feature/wms-11
Feature/wms 11
2022-01-25 10:13:19 +05:30
hiren1212
9fad5bd5ac Feature - wms11 create component for table pagination 2022-01-24 23:47:45 +05:30
hiren1212
6bd82ba66b Feature - wms16 image upload component created 2022-01-24 22:55:41 +05:30
Dikshajain39511
491ae5aa24 Feature/wms 19 (#22)
* added:locationLabel changes
* Added: props to component

Co-authored-by: [Diksha] <[diksha39511@gmail.com]>
Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-01-24 16:21:10 +05:30
bluestreamlds
bfec74ae2f Feature - Header, sidebar, buttons, dropdown - wms-7,wms-9,wms-12,wms-20 (#18)
* sidebar and header design completed

* Feature - Button Component

* feature - create component for dropdown

* feature - made changes for style of Dropdown

* Fixed Search Icon import

* Linted

* Removed package lock

* Removed: index page style

* Removed: unused style.css file

Co-authored-by: hiren1212 <hirenpadsala12@gmail.com>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-01-22 14:52:51 +05:30
bluestreamlds
475d449bc8 Fix - hot reload issue (#14)
* Added: resolution for react-error-overlay
* Line endings changed to LF

Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-01-21 23:09:11 +05:30
Talha Abbas
2371e48790 Added: Widget list component (#13)
* Redesign the family-children heirarchy Component

* Added: mui styles - deprecated

* Renamed file, exports, removed console logs

Co-authored-by: TalhaAbbas55 <talhaabbas556989@.com>
Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
2022-01-21 22:50:10 +05:30
bluestreamlds
9c965b316f Feature - Scanner for Bar and QR code (#11)
* Added: code reader component

* Added: no device detected handler

* Update: ID hooking to video element

* Update: Defer stream start

* Linted

* Added: grant permissions

* Added: media device scan

* Removed loggers and cleanup

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-01-21 12:08:17 +05:30
bluestreamlds
5608782a02 Feature - 2D QR code generate component (#10)
* Added: zxing packages

* Added: qr code generate component

* Added: proptypes and defaults

* Update: damn line endings

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-01-20 17:55:16 +05:30
bluestreamlds
0a5fb912a7 Feature - 1D Barcode generate component (#9)
* Added: jsbarcode package

* Added: barcode component

* Added: proptypes

* Added: usage comments

* Added: Option to hide text, add custom text

* Update: package line endings

* Fix: minor rendering issue

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
2022-01-20 17:54:33 +05:30
bluestreamlds
f7a0bf64f2 Feature - Login integration (#7)
* Added: formik and validation schema

* Added: Validation schema

* Added: logout test integration

* Added: Enter key to submit

* Added: incorrect password error message

* Removed: logger

* Updated: logout initial state

Co-authored-by: Llewellyn D'souza <lledsouza2209@gmail.com>
Jira ticket ref: WMS-27
2022-01-20 10:08:50 +05:30
244 changed files with 50187 additions and 777 deletions

View File

@@ -3,60 +3,65 @@ module.exports = {
env: { env: {
browser: true, browser: true,
commonjs: true, commonjs: true,
es6: true, es6: true
}, },
extends: ["eslint:recommended", "plugin:react/recommended"], extends: ['eslint:recommended', 'plugin:react/recommended'],
parser: "babel-eslint", parser: '@babel/eslint-parser',
parserOptions: { parserOptions: {
requireConfigFile: false,
babelOptions: {
presets: ['@babel/preset-react']
},
ecmaFeatures: { ecmaFeatures: {
jsx: true, jsx: true,
modules: true, modules: true,
experimentalObjectRestSpread: true, experimentalObjectRestSpread: true
}, },
ecmaVersion: 2020, ecmaVersion: 2020,
sourceType: "module", sourceType: 'module'
}, },
plugins: ["react"], // plugins: ['react'],
rules: { rules: {
// general // general
indent: ["error", 2, { SwitchCase: 1, ignoredNodes: ["TemplateLiteral"] }], indent: ['warn', 2, { SwitchCase: 1, ignoredNodes: ['TemplateLiteral'] }],
"linebreak-style": ["error", "unix"], 'linebreak-style': ['error', 'unix'],
quotes: ["error", "single"], quotes: ['warn', 'single'],
semi: ["error", "always"], semi: ['warn', 'always'],
"comma-dangle": [ 'no-unused-vars': 'warn',
"error", 'comma-dangle': [
'warn',
{ {
arrays: "never", arrays: 'never',
objects: "never", objects: 'never',
imports: "never", imports: 'never',
exports: "never", exports: 'never',
functions: "ignore", functions: 'ignore'
}, }
], ],
"object-curly-spacing": ["error", "always"], 'object-curly-spacing': 'off',
"eol-last": ["error", "always"], 'eol-last': ['warn', 'always'],
"no-console": process.env.NODE_ENV === "production" ? "error" : "warn", 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'warn',
complexity: ["error", { max: 20 }], complexity: ['error', { max: 20 }],
eqeqeq: ["error", "always"], eqeqeq: ['warn', 'always'],
// react // react
"react/no-unescaped-entities": ["error", { forbid: [">", '"', "}"] }], 'react/no-unescaped-entities': ['error', { forbid: ['>', '"', '}'] }],
"react/prop-types": [2, { ignore: ["action", "dispatch", "nav", "navigation"] }], 'react/prop-types': [2, { ignore: ['action', 'dispatch', 'nav', 'navigation'] }],
"react/jsx-boolean-value": 2, 'react/jsx-boolean-value': 2,
"react/jsx-no-undef": 2, 'react/jsx-no-undef': 2,
"react/react-in-jsx-scope": "off", 'react/react-in-jsx-scope': 'off',
// allow jsx syntax in js files (for next.js project) // allow jsx syntax in js files (for next.js project)
"react/jsx-filename-extension": [1, { extensions: [".js", ".jsx"] }], //should add ".ts" if typescript project 'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }], //should add ".ts" if typescript project
"react/jsx-sort-props": [ 'react/jsx-sort-props': [
2, 2,
{ {
callbacksLast: true, callbacksLast: true,
shorthandFirst: true, shorthandFirst: true,
ignoreCase: true, ignoreCase: true,
noSortAlphabetically: true, noSortAlphabetically: true
}, }
], ],
"react/jsx-pascal-case": 2, 'react/jsx-pascal-case': 2,
"react/display-name": [0, { ignoreTranspilerName: false }], 'react/display-name': [0, { ignoreTranspilerName: false }]
}, },
// Map from global var to bool specifying if it can be redefined // Map from global var to bool specifying if it can be redefined
globals: { globals: {
@@ -91,11 +96,11 @@ module.exports = {
setInterval: false, setInterval: false,
setTimeout: false, setTimeout: false,
window: false, window: false,
XMLHttpRequest: false, XMLHttpRequest: false
}, },
settings: { settings: {
react: { react: {
version: require("./package.json").dependencies.react, version: require('./package.json').dependencies.react
}, }
}, }
}; };

3
.gitignore vendored
View File

@@ -1,7 +1,7 @@
# See https://help.github.com/ignore-files/ for more about ignoring files. # See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies # dependencies
/node_modules node_modules
.DS_Store .DS_Store
# testing # testing
@@ -25,3 +25,4 @@ yarn-error.log*
yarn.lock yarn.lock
commit.sh commit.sh
pnpm-lock.yaml

View File

@@ -4,5 +4,5 @@
"tabWidth": 2, "tabWidth": 2,
"semi": true, "semi": true,
"singleQuote": true, "singleQuote": true,
"endOfLine": "auto" "endOfLine": "lf"
} }

View File

@@ -1,4 +1,5 @@
{ {
"prettier.printWidth": 120, "prettier.printWidth": 120,
"prettier.singleQuote": true "prettier.singleQuote": true,
} "files.eol": "\n"
}

37415
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,108 +1,124 @@
{ {
"name": "wms", "name": "wms",
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"author": "Plaidware Solutions", "author": "Plaidware Solutions",
"engines": { "engines": {
"node": "14 || 15 || 16", "node": "14 || 15 || 16",
"npm": ">=6" "npm": ">=6"
}, },
"dependencies": { "dependencies": {
"@asseinfo/react-kanban": "2.2.0", "@asseinfo/react-kanban": "2.2.0",
"@emotion/cache": "11.4.0", "@emotion/cache": "11.4.0",
"@emotion/react": "11.4.1", "@emotion/react": "^11.4.1",
"@emotion/styled": "11.3.0", "@emotion/styled": "11.3.0",
"@fullcalendar/daygrid": "5.9.0", "@fullcalendar/daygrid": "5.9.0",
"@fullcalendar/interaction": "5.9.0", "@fullcalendar/interaction": "5.9.0",
"@fullcalendar/react": "5.9.0", "@fullcalendar/react": "5.9.0",
"@fullcalendar/timegrid": "5.9.0", "@fullcalendar/timegrid": "5.9.0",
"@mui/icons-material": "5.2.0", "@mui/icons-material": "5.1.1",
"@mui/material": "5.2.0", "@mui/lab": "^5.0.0-alpha.69",
"@mui/styled-engine": "5.2.0", "@mui/material": "5.1.1",
"@react-jvectormap/core": "1.0.0-alpha.7", "@mui/styled-engine": "5.1.1",
"@react-jvectormap/world": "1.0.0-alpha.4", "@mui/styles": "^5.1.1",
"@testing-library/jest-dom": "5.11.4", "@react-jvectormap/core": "1.0.0-alpha.7",
"@testing-library/react": "11.1.0", "@react-jvectormap/world": "1.0.0-alpha.4",
"@testing-library/user-event": "12.1.10", "@testing-library/jest-dom": "5.11.4",
"apisauce": "^2.1.5", "@testing-library/react": "11.1.0",
"chart.js": "3.4.1", "@testing-library/user-event": "12.1.10",
"chroma-js": "2.1.2", "@zxing/browser": "^0.0.10",
"dotenv": "^10.0.0", "@zxing/library": "^0.18.5",
"dropzone": "5.9.2", "apisauce": "^2.1.5",
"flatpickr": "4.6.9", "bootstrap": "^5.1.3",
"formik": "^2.2.9", "chart.js": "3.4.1",
"moment": "^2.29.1", "chroma-js": "2.1.2",
"prop-types": "15.7.2", "date-fns": "^2.28.0",
"ramda": "^0.27.2", "dotenv": "^10.0.0",
"react": "17.0.2", "dropzone": "5.9.2",
"react-chartjs-2": "3.0.4", "flatpickr": "4.6.9",
"react-dom": "17.0.2", "formik": "^2.2.9",
"react-flatpickr": "3.10.7", "jsbarcode": "^3.11.5",
"react-github-btn": "1.2.1", "jsonwebtoken": "^8.5.1",
"react-html-parser": "2.0.2", "moment": "^2.29.1",
"react-images-viewer": "1.6.7", "prop-types": "15.7.2",
"react-quill": "1.3.5", "ramda": "^0.27.2",
"react-redux": "^7.2.6", "react": "17.0.2",
"react-router-dom": "6.0.2", "react-chartjs-2": "3.0.4",
"react-scripts": "4.0.3", "react-dom": "17.0.2",
"react-table": "7.7.0", "react-flatpickr": "3.10.7",
"redux": "^4.1.2", "react-github-btn": "1.2.1",
"redux-persist": "^6.0.0", "react-redux": "^7.2.6",
"redux-saga": "^1.1.3", "react-router-dom": "6.0.2",
"reduxsauce": "^1.2.1", "react-scripts": "^5.0.0",
"seamless-immutable": "^7.1.4", "react-table": "7.7.0",
"stylis": "4.0.10", "react-toastify": "^8.2.0",
"stylis-plugin-rtl": "2.1.0", "redux": "^4.1.2",
"underscore": "^1.13.2", "redux-persist": "^6.0.0",
"uuid": "8.3.2", "redux-saga": "^1.1.3",
"web-vitals": "1.0.1", "reduxsauce": "^1.2.1",
"yup": "^0.32.11" "seamless-immutable": "^7.1.4",
}, "stylis": "4.0.10",
"scripts": { "stylis-plugin-rtl": "2.1.0",
"start": "react-scripts start", "underscore": "^1.13.2",
"build": "react-scripts build", "uuid": "8.3.2",
"test": "react-scripts test", "web-vitals": "1.0.1",
"eject": "react-scripts eject", "yup": "^0.32.11"
"install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start", },
"lint": "eslint ./src", "scripts": {
"lint:prod": "NODE_ENV=production eslint ./src", "start": "react-scripts start",
"fixcode": "eslint --fix ./src", "dev": "PORT=3001 react-scripts start",
"fixcode:prod": "NODE_ENV=production eslint --fix ./src" "build": "react-scripts build",
}, "test": "react-scripts test",
"lint-staged": { "eject": "react-scripts eject",
"app/**/*.js": [ "generate": "plop",
"yarn fixcode:prod" "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start",
] "lint": "eslint ./src",
}, "lint:prod": "NODE_ENV=production eslint ./src",
"husky": { "fixcode": "eslint --fix ./src",
"hooks": { "fixcode:prod": "NODE_ENV=production eslint --fix ./src"
"pre-commit": "lint-staged" },
} "lint-staged": {
}, "app/**/*.js": [
"browserslist": { "yarn fixcode:prod"
"production": [ ]
">0.2%", },
"not dead", "husky": {
"not op_mini all" "hooks": {
], "pre-commit": "lint-staged"
"development": [ }
"last 1 chrome version", },
"last 1 firefox version", "browserslist": {
"last 1 safari version" "production": [
] ">0.2%",
}, "not dead",
"devDependencies": { "not op_mini all"
"babel-eslint": "^10.1.0", ],
"eslint": "7.30.0", "development": [
"eslint-config-airbnb": "18.2.1", "last 1 chrome version",
"eslint-config-prettier": "8.3.0", "last 1 firefox version",
"eslint-plugin-import": "2.23.4", "last 1 safari version"
"eslint-plugin-jsx-a11y": "6.4.1", ]
"eslint-plugin-prettier": "3.4.0", },
"eslint-plugin-react": "7.24.0", "devDependencies": {
"eslint-plugin-react-hooks": "4.2.0", "@babel/core": "^7.17.5",
"husky": "^6.0.0", "@babel/eslint-parser": "^7.17.0",
"lint-staged": "^10.5.4", "@babel/preset-react": "^7.16.7",
"prettier": "2.3.2" "eslint": "^8.2.0",
} "eslint-config-airbnb": "^19.0.4",
} "eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-react": "^7.29.2",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"node-sass": "^7.0.1",
"plop": "^3.0.5",
"prettier": "2.3.2",
"sass-loader": "^12.6.0"
},
"resolutions": {
"react-error-overlay": "6.0.9"
}
}

View File

@@ -0,0 +1,3 @@
.c-{{pascalCase name}} {
}

View File

@@ -0,0 +1,17 @@
import React from "react";
import PropTypes from "prop-types";
import "./{{pascalCase name}}.component.scss";
const {{pascalCase name}} = props => {
return (
<div className="c-{{pascalCase name}}">
In Component {{pascalCase name}}
</div>
);
};
{{pascalCase name}}.propTypes = {
};
export default {{pascalCase name}};

View File

@@ -0,0 +1,8 @@
import React from "react";
import {{pascalCase name}} from "./{{pascalCase name}}";
describe("{{pascalCase name}}", () => {
it("renders without error", () => {
});
});

View File

@@ -0,0 +1,3 @@
import {{pascalCase name}} from "./{{pascalCase name}}.jsx";
export default {{pascalCase name}};

View File

@@ -0,0 +1,17 @@
import React from "react";
import PropTypes from "prop-types";
import "./{{pascalCase name}}.module.scss";
const {{pascalCase name}} = props => {
return (
<div className="c-{{pascalCase name}}">
In Page {{pascalCase name}}
</div>
);
};
{{pascalCase name}}.propTypes = {
};
export default {{pascalCase name}};

View File

@@ -0,0 +1,3 @@
.c-{{pascalCase name}} {
}

View File

@@ -0,0 +1,8 @@
import React from "react";
import {{pascalCase name}} from "./{{pascalCase name}}";
describe("{{pascalCase name}}", () => {
it("renders without error", () => {
});
});

View File

@@ -0,0 +1,16 @@
export const UPDATE_FORM_VALUES = "UPDATE_{{constantCase name}}_FORM_VALUES"
export const UPDATE_FORM_ERRORS = "UPDATE_{{constantCase name}}_FORM_ERRORS"
export const updateFormValues = (formValues) => {
return {
type: UPDATE_FORM_VALUES,
payload: formValues
}
}
export const updateFormErrors = (formErrors) => {
return {
type: UPDATE_FORM_ERRORS,
payload: formErrors
}
}

View File

@@ -0,0 +1,3 @@
import {{pascalCase name}} from "./{{pascalCase name}}.jsx";
export default {{pascalCase name}};

View File

@@ -0,0 +1,16 @@
import Immutable from "immutable"
import {UPDATE_FORM_ERRORS, UPDATE_FORM_VALUES} from "./actions"
const initialState = Immutable.Map()
const reducer = (state = initialState, action) => {
switch (action.type) {
case UPDATE_FORM_ERRORS:
case UPDATE_FORM_VALUES:
return state.mergeDeep(action.payload)
default:
return state
}
}
export default reducer

View File

@@ -0,0 +1,14 @@
import {createSelector} from "reselect"
import {createGetSelector} from "reselect-immutable-helpers"
const getData = ({data}) => data
export const get{{pascalCase name}} = createSelector(
getData,
(dataState) => {
return dataState.pages.{{camelCase name}}
}
)
export const getFormErrors = createGetSelector(get{{pascalCase name}}, "formErrors")
export const getFormValues = createGetSelector(get{{pascalCase name}}, "formValues")

5
plop-templates/hook.js.hbs Executable file
View File

@@ -0,0 +1,5 @@
const {{camelCase name}} = () => {
};
export default {{camelCase name}};

View File

@@ -0,0 +1,5 @@
/* PLOP_INJECT_IMPORT */
export {
/* PLOP_INJECT_EXPORT */
}

17
plop-templates/service.js.hbs Executable file
View File

@@ -0,0 +1,17 @@
const create{{pascalCase name}} = () => {
let examplePrivateVariable = 0
return {
getExamplePrivateVariable: () => {
return examplePrivateVariable
},
setExamplePrivateVariable: (n) => {
examplePrivateVariable = n
}
}
};
const singleton = create{{pascalCase name}}();
Object.freeze(singleton);
export default singleton;

210
plopfile.js Executable file
View File

@@ -0,0 +1,210 @@
module.exports = plop => {
plop.setGenerator('component', {
description: 'Create a component',
// User input prompts provided as arguments to the template
prompts: [
{
// Raw text input
type: 'input',
// Variable name for this input
name: 'name',
// Prompt to display on command line
message: 'What is your component name?'
}
],
actions: [
{
type: 'add',
// Plop will create directories for us if they do not exist
// so it's okay to add files in nested locations.
path: 'src/components/{{pascalCase name}}/{{pascalCase name}}.jsx',
templateFile:
'plop-templates/Component/Component.jsx.hbs'
},
{
type: 'add',
path: 'src/components/{{pascalCase name}}/{{pascalCase name}}.test.js',
templateFile:
'plop-templates/Component/Component.test.js.hbs'
},
{
type: 'add',
path:
'src/components/{{pascalCase name}}/{{pascalCase name}}.component.scss',
templateFile:
'plop-templates/Component/Component.component.scss.hbs'
},
{
type: 'add',
path: 'src/components/{{pascalCase name}}/index.js',
templateFile: 'plop-templates/Component/index.js.hbs'
},
{
// Adds an index.js file if it does not already exist
type: 'add',
path: 'src/components/index.js',
templateFile: 'plop-templates/injectable-index.js.hbs',
// If index.js already exists in this location, skip this action
skipIfExists: true
},
{
// Action type 'append' injects a template into an existing file
type: 'append',
path: 'src/components/index.js',
// Pattern tells plop where in the file to inject the template
pattern: '/* PLOP_INJECT_IMPORT */',
template: 'import {{pascalCase name}} from \'./{{pascalCase name}}\';'
},
{
type: 'append',
path: 'src/components/index.js',
pattern: '/* PLOP_INJECT_EXPORT */',
template: '\t{{pascalCase name}},'
}
]
});
plop.setGenerator('page', {
description: 'Create a page',
prompts: [
{
type: 'input',
name: 'name',
message: 'What is your page name?'
}
],
actions: [
{
type: 'add',
path: 'src/pages/{{pascalCase name}}/{{pascalCase name}}.jsx',
templateFile:
'plop-templates/Page/Page.jsx.hbs'
},
{
type: 'add',
path: 'src/pages/{{pascalCase name}}/{{pascalCase name}}.test.js',
templateFile:
'plop-templates/Page/Page.test.js.hbs'
},
{
type: 'add',
path:
'src/pages/{{pascalCase name}}/{{pascalCase name}}.module.scss',
templateFile:
'plop-templates/Page/Page.module.scss.hbs'
},
{
type: 'add',
path: 'src/pages/{{pascalCase name}}/reducer.js',
templateFile: 'plop-templates/Page/reducer.js.hbs',
skipIfExists: true
},
{
type: 'add',
path: 'src/pages/{{pascalCase name}}/selectors.js',
templateFile: 'plop-templates/Page/selectors.js.hbs',
skipIfExists: true
},
{
type: 'add',
path: 'src/pages/{{pascalCase name}}/actions.js',
templateFile: 'plop-templates/Page/actions.js.hbs',
skipIfExists: true
},
{
type: 'add',
path: 'src/pages/{{pascalCase name}}/index.js',
templateFile: 'plop-templates/Page/index.js.hbs'
},
{
type: 'add',
path: 'src/pages/index.js',
templateFile: 'plop-templates/injectable-index.js.hbs',
skipIfExists: true
},
{
type: 'append',
path: 'src/pages/index.js',
pattern: '/* PLOP_INJECT_IMPORT */',
template: 'import {{pascalCase name}} from \'./{{pascalCase name}}\';'
},
{
type: 'append',
path: 'src/pages/index.js',
pattern: '/* PLOP_INJECT_EXPORT */',
template: '\t{{pascalCase name}},'
}
]
});
plop.setGenerator('service', {
description: 'Create service',
prompts: [
{
type: 'input',
name: 'name',
message: 'What is your service name?'
}
],
actions: [
{
type: 'add',
path: 'src/services/{{camelCase name}}.js',
templateFile: 'plop-templates/service.js.hbs'
},
{
type: 'add',
path: 'src/services/index.js',
templateFile: 'plop-templates/injectable-index.js.hbs',
skipIfExists: true
},
{
type: 'append',
path: 'src/services/index.js',
pattern: '/* PLOP_INJECT_IMPORT */',
template: 'import {{camelCase name}} from \'./{{camelCase name}}\';'
},
{
type: 'append',
path: 'src/services/index.js',
pattern: '/* PLOP_INJECT_EXPORT */',
template: '\t{{camelCase name}},'
}
]
});
plop.setGenerator('hook', {
description: 'Create a custom react hook',
prompts: [
{
type: 'input',
name: 'name',
message: 'What is your hook name?'
}
],
actions: [
{
type: 'add',
path: 'src/hooks/{{camelCase name}}.js',
templateFile: 'plop-templates/hook.js.hbs'
},
{
type: 'add',
path: 'src/hooks/index.js',
templateFile: 'plop-templates/injectable-index.js.hbs',
skipIfExists: true
},
{
type: 'append',
path: 'src/hooks/index.js',
pattern: '/* PLOP_INJECT_IMPORT */',
template: 'import {{camelCase name}} from \'./{{camelCase name}}\';'
},
{
type: 'append',
path: 'src/hooks/index.js',
pattern: '/* PLOP_INJECT_EXPORT */',
template: '\t{{camelCase name}},'
}
]
});
};

BIN
public/images/avatar.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -22,7 +22,7 @@ Software.
<meta name="theme-color" content="#1A73E8" /> <meta name="theme-color" content="#1A73E8" />
<link rel="apple-touch-icon" sizes="76x76" href="%PUBLIC_URL%/apple-icon.png" /> <link rel="apple-touch-icon" sizes="76x76" href="%PUBLIC_URL%/apple-icon.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Material Dashboard 2 PRO React</title> <title>WMS - Plaidware</title>
<link <link
rel="stylesheet" rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"

View File

@@ -23,14 +23,14 @@ import LoginScreen from 'pages/authentication';
// @mui material components // @mui material components
import { ThemeProvider } from '@mui/material/styles'; import { ThemeProvider } from '@mui/material/styles';
import CssBaseline from '@mui/material/CssBaseline'; import CssBaseline from '@mui/material/CssBaseline';
import Icon from '@mui/material/Icon'; // import Icon from '@mui/material/Icon';
// Material Dashboard 2 PRO React components // Material Dashboard 2 PRO React components
import MDBox from 'components/MDBox'; // import MDBox from 'components/MDBox';
// Material Dashboard 2 PRO React example components // Material Dashboard 2 PRO React example components
import Sidenav from 'components/Sidenav'; import Sidenav from 'components/Sidenav';
import Configurator from 'components/Configurator'; // import Configurator from 'components/Configurator';
// Material Dashboard 2 PRO React themes // Material Dashboard 2 PRO React themes
import theme from 'assets/theme'; import theme from 'assets/theme';
@@ -39,11 +39,11 @@ import theme from 'assets/theme';
import themeDark from 'assets/theme-dark'; import themeDark from 'assets/theme-dark';
// Material Dashboard 2 PRO React contexts // Material Dashboard 2 PRO React contexts
import { useMaterialUIController, setMiniSidenav, setOpenConfigurator } from 'context'; import { useMaterialUIController, setMiniSidenav /*, setOpenConfigurator*/ } from 'context';
// Images // Images
import brandWhite from 'assets/images/logo-ct.png'; // import brandWhite from 'assets/images/logo-ct.png';
import brandDark from 'assets/images/logo-ct-dark.png'; // import brandDark from 'assets/images/logo-ct-dark.png';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/integration/react'; import { PersistGate } from 'redux-persist/integration/react';
@@ -52,6 +52,10 @@ import PublicRoutes from 'routes/PublicRoutes';
import reduxStore from './redux/Store'; import reduxStore from './redux/Store';
import { protectedRoutes as routes } from './routes/index'; import { protectedRoutes as routes } from './routes/index';
import PrivateRoute from './routes/PrivateRoute'; import PrivateRoute from './routes/PrivateRoute';
// import MDAlert from 'components/MDAlert';
import { ToastContainer } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
export default function App() { export default function App() {
const [controller, dispatch] = useMaterialUIController(); const [controller, dispatch] = useMaterialUIController();
@@ -59,10 +63,10 @@ export default function App() {
miniSidenav, miniSidenav,
direction, direction,
layout, layout,
openConfigurator, // openConfigurator,
sidenavColor, sidenavColor,
transparentSidenav, // transparentSidenav,
whiteSidenav, // whiteSidenav,
darkMode darkMode
} = controller; } = controller;
const [onMouseEnter, setOnMouseEnter] = useState(false); const [onMouseEnter, setOnMouseEnter] = useState(false);
@@ -85,7 +89,7 @@ export default function App() {
}; };
// Change the openConfigurator state // Change the openConfigurator state
const handleConfiguratorOpen = () => setOpenConfigurator(dispatch, !openConfigurator); // const handleConfiguratorOpen = () => setOpenConfigurator(dispatch, !openConfigurator);
// Setting the dir attribute for the body element // Setting the dir attribute for the body element
useEffect(() => { useEffect(() => {
@@ -116,29 +120,29 @@ export default function App() {
return null; return null;
}); });
const configsButton = ( // const configsButton = (
<MDBox // <MDBox
display="flex" // display="flex"
justifyContent="center" // justifyContent="center"
alignItems="center" // alignItems="center"
width="3.25rem" // width="3.25rem"
height="3.25rem" // height="3.25rem"
bgColor="white" // bgColor="white"
shadow="sm" // shadow="sm"
borderRadius="50%" // borderRadius="50%"
position="fixed" // position="fixed"
right="2rem" // right="2rem"
bottom="2rem" // bottom="2rem"
zIndex={99} // zIndex={99}
color="dark" // color="dark"
sx={{ cursor: 'pointer' }} // sx={{ cursor: 'pointer' }}
onClick={handleConfiguratorOpen} // onClick={handleConfiguratorOpen}
> // >
<Icon fontSize="small" color="inherit"> // <Icon fontSize="small" color="inherit">
settings // settings
</Icon> // </Icon>
</MDBox> // </MDBox>
); // );
return ( return (
<Provider store={reduxStore.store}> <Provider store={reduxStore.store}>
@@ -149,23 +153,25 @@ export default function App() {
<> <>
<Sidenav <Sidenav
color={sidenavColor} color={sidenavColor}
brand={(transparentSidenav && !darkMode) || whiteSidenav ? brandDark : brandWhite} // brand={(transparentSidenav && !darkMode) || whiteSidenav ? brandDark : brandWhite}
brandName="FSR" brandName="Plaidware"
routes={routes} routes={routes}
onMouseEnter={handleOnMouseEnter} onMouseEnter={handleOnMouseEnter}
onMouseLeave={handleOnMouseLeave} onMouseLeave={handleOnMouseLeave}
/> />
<Configurator /> {/* <Configurator /> */}
{configsButton} {/* {configsButton} */}
</> </>
)} )}
{layout === 'vr' && <Configurator />} {/* {layout === 'vr' && <Configurator />} */}
<Routes> <Routes>
<Route path="/" element={<PublicRoutes component={<LoginScreen />} />} /> <Route path="/" element={<PublicRoutes component={<LoginScreen />} />} />
{getRoutes(routes)} {getRoutes(routes)}
<Route path="*" element={<Navigate to="/" />} /> <Route path="*" element={<Navigate to="/" />} />
</Routes> </Routes>
{/* <MDAlert dismissible><span>Submitted Successfully!</span></MDAlert> */}
</ThemeProvider> </ThemeProvider>
<ToastContainer position="bottom-right" />
</PersistGate> </PersistGate>
</Provider> </Provider>
); );

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,192 @@
@font-face {
font-family: 'Averta';
src: url('./Averta-BoldItalic.eot');
src: url('./Averta-BoldItalic.eot?#iefix') format('embedded-opentype'),
url('./Averta-BoldItalic.woff2') format('woff2'),
url('./Averta-BoldItalic.woff') format('woff'),
url('./Averta-BoldItalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-Bold.eot');
src: url('./Averta-Bold.eot?#iefix') format('embedded-opentype'),
url('./Averta-Bold.woff2') format('woff2'),
url('./Averta-Bold.woff') format('woff'),
url('./Averta-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-Black.eot');
src: url('./Averta-Black.eot?#iefix') format('embedded-opentype'),
url('./Averta-Black.woff2') format('woff2'),
url('./Averta-Black.woff') format('woff'),
url('./Averta-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-BlackItalic.eot');
src: url('./Averta-BlackItalic.eot?#iefix') format('embedded-opentype'),
url('./Averta-BlackItalic.woff2') format('woff2'),
url('./Averta-BlackItalic.woff') format('woff'),
url('./Averta-BlackItalic.ttf') format('truetype');
font-weight: 900;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-ExtraBoldItalic.eot');
src: url('./Averta-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'),
url('./Averta-ExtraBoldItalic.woff2') format('woff2'),
url('./Averta-ExtraBoldItalic.woff') format('woff'),
url('./Averta-ExtraBoldItalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-ExtraBold.eot');
src: url('./Averta-ExtraBold.eot?#iefix') format('embedded-opentype'),
url('./Averta-ExtraBold.woff2') format('woff2'),
url('./Averta-ExtraBold.woff') format('woff'),
url('./Averta-ExtraBold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-ExtrathinItalic.eot');
src: url('./Averta-ExtrathinItalic.eot?#iefix') format('embedded-opentype'),
url('./Averta-ExtrathinItalic.woff2') format('woff2'),
url('./Averta-ExtrathinItalic.woff') format('woff'),
url('./Averta-ExtrathinItalic.ttf') format('truetype');
font-weight: 100;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-LightItalic.eot');
src: url('./Averta-LightItalic.eot?#iefix') format('embedded-opentype'),
url('./Averta-LightItalic.woff2') format('woff2'),
url('./Averta-LightItalic.woff') format('woff'),
url('./Averta-LightItalic.ttf') format('truetype');
font-weight: 300;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-Light.eot');
src: url('./Averta-Light.eot?#iefix') format('embedded-opentype'),
url('./Averta-Light.woff2') format('woff2'),
url('./Averta-Light.woff') format('woff'),
url('./Averta-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-Extrathin.eot');
src: url('./Averta-Extrathin.eot?#iefix') format('embedded-opentype'),
url('./Averta-Extrathin.woff2') format('woff2'),
url('./Averta-Extrathin.woff') format('woff'),
url('./Averta-Extrathin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-RegularItalic.eot');
src: url('./Averta-RegularItalic.eot?#iefix') format('embedded-opentype'),
url('./Averta-RegularItalic.woff2') format('woff2'),
url('./Averta-RegularItalic.woff') format('woff'),
url('./Averta-RegularItalic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-SemiboldItalic.eot');
src: url('./Averta-SemiboldItalic.eot?#iefix') format('embedded-opentype'),
url('./Averta-SemiboldItalic.woff2') format('woff2'),
url('./Averta-SemiboldItalic.woff') format('woff'),
url('./Averta-SemiboldItalic.ttf') format('truetype');
font-weight: 600;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-Semibold.eot');
src: url('./Averta-Semibold.eot?#iefix') format('embedded-opentype'),
url('./Averta-Semibold.woff2') format('woff2'),
url('./Averta-Semibold.woff') format('woff'),
url('./Averta-Semibold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-Thin.eot');
src: url('./Averta-Thin.eot?#iefix') format('embedded-opentype'),
url('./Averta-Thin.woff2') format('woff2'),
url('./Averta-Thin.woff') format('woff'),
url('./Averta-Thin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-Regular.eot');
src: url('./Averta-Regular.eot?#iefix') format('embedded-opentype'),
url('./Averta-Regular.woff2') format('woff2'),
url('./Averta-Regular.woff') format('woff'),
url('./Averta-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Averta';
src: url('./Averta-ThinItalic.eot');
src: url('./Averta-ThinItalic.eot?#iefix') format('embedded-opentype'),
url('./Averta-ThinItalic.woff2') format('woff2'),
url('./Averta-ThinItalic.woff') format('woff'),
url('./Averta-ThinItalic.ttf') format('truetype');
font-weight: 100;
font-style: italic;
font-display: swap;
}

View File

@@ -0,0 +1,28 @@
import PropTypes from 'prop-types';
const ArrowRightIcon = ({ width = 50, height = 24, color = '#007AFF', ...props }) => (
<svg
width={width}
height={height}
viewBox="0 0 18 18"
fill="none"
{...props}
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.8223 14.1148C10.6798 14.1148 10.5373 14.0623 10.4248 13.9498C10.2073 13.7323 10.2073 13.3723 10.4248 13.1548L14.5798 8.99984L10.4248 4.84484C10.2073 4.62734 10.2073 4.26734 10.4248 4.04984C10.6423 3.83234 11.0023 3.83234 11.2198 4.04984L15.7723 8.60234C15.9898 8.81984 15.9898 9.17984 15.7723 9.39734L11.2198 13.9498C11.1073 14.0623 10.9648 14.1148 10.8223 14.1148Z"
fill={color}
/>
<path
d="M15.2475 9.5625H2.625C2.3175 9.5625 2.0625 9.3075 2.0625 9C2.0625 8.6925 2.3175 8.4375 2.625 8.4375H15.2475C15.555 8.4375 15.81 8.6925 15.81 9C15.81 9.3075 15.555 9.5625 15.2475 9.5625Z"
fill={color}
/>
</svg>
);
export default ArrowRightIcon;
ArrowRightIcon.propTypes = {
width: PropTypes.string,
height: PropTypes.string,
color: PropTypes.string
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -0,0 +1,25 @@
import PropTypes from 'prop-types';
const CarretArrowRightIcon = ({ width = 24, height = 24, color = 'black', ...props }) => (
<svg
width={width}
height={height}
{...props}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.9101 20.67C8.7201 20.67 8.5301 20.6 8.3801 20.45C8.0901 20.16 8.0901 19.68 8.3801 19.39L14.9001 12.87C15.3801 12.39 15.3801 11.61 14.9001 11.13L8.3801 4.61002C8.0901 4.32002 8.0901 3.84002 8.3801 3.55002C8.6701 3.26002 9.1501 3.26002 9.4401 3.55002L15.9601 10.07C16.4701 10.58 16.7601 11.27 16.7601 12C16.7601 12.73 16.4801 13.42 15.9601 13.93L9.4401 20.45C9.2901 20.59 9.1001 20.67 8.9101 20.67Z"
fill={color}
/>
</svg>
);
export default CarretArrowRightIcon;
CarretArrowRightIcon.propTypes = {
width: PropTypes.string,
height: PropTypes.string,
color: PropTypes.string
};

View File

@@ -0,0 +1,9 @@
const Close = () => (
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.62646 1.375L1.37646 6.625" stroke="#202020" strokeLinecap="round" strokeLinejoin="round"/>
<path d="M1.37646 1.375L6.62646 6.625" stroke="#202020" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
);
export default Close;

View File

@@ -0,0 +1,19 @@
import React from 'react';
const CrossIcon = ({ width = 30, height = 30 }) => (
<svg width={width} height={height} viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<g opacity="0.5">
<circle cx="20" cy="20" r="20" fill="#C2C2C2"/>
<path d="M26.25 13.75L13.75 26.25" stroke='white' strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
<path d="M13.75 13.75L26.25 26.25" stroke='white' strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
</g>
</svg>
);
export default CrossIcon;
CrossIcon.propTypes = {
width: Number,
height: Number
};

View File

@@ -0,0 +1,35 @@
import PropTypes from 'prop-types';
const EquipmentIcon = ({ width = 96, height = 96, color = '#007aff', ...props }) => (
<svg
width={width}
height={height}
viewBox="0 0 96 96"
fill="none"
{...props}
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M47.9994 53.1999C47.4794 53.1999 46.9594 53.08 46.4794 52.8L11.1594 32.3601C9.71941 31.5201 9.23933 29.68 10.0793 28.24C10.9193 26.8 12.7193 26.3199 14.1993 27.1599L47.9994 46.72L81.5993 27.28C83.0394 26.44 84.8793 26.9601 85.7193 28.3601C86.5593 29.8001 86.0394 31.64 84.6394 32.48L49.5594 52.8C49.0394 53.04 48.5194 53.1999 47.9994 53.1999Z"
fill={color}
/>
<path
d="M48 89.4402C46.36 89.4402 45 88.0802 45 86.4402V50.1602C45 48.5202 46.36 47.1602 48 47.1602C49.64 47.1602 51 48.5202 51 50.1602V86.4402C51 88.0802 49.64 89.4402 48 89.4402Z"
fill={color}
/>
<path
d="M48.0005 91C44.4805 91 41.0005 90.2399 38.2405 88.7199L16.8805 76.8401C11.0805 73.6401 6.56055 65.92 6.56055 59.28V36.6799C6.56055 30.0399 11.0805 22.3601 16.8805 19.1201L38.2405 7.28C43.7205 4.24 52.2805 4.24 57.7605 7.28L79.1205 19.1599C84.9205 22.3599 89.4404 30.0799 89.4404 36.7199V59.32C89.4404 65.96 84.9205 73.6399 79.1205 76.8799L57.7605 88.7199C55.0005 90.2399 51.5205 91 48.0005 91ZM48.0005 11C45.4805 11 43.0005 11.52 41.1605 12.52L19.8005 24.3999C15.9605 26.5599 12.5605 32.2799 12.5605 36.7199V59.32C12.5605 63.72 15.9605 69.4799 19.8005 71.6399L41.1605 83.52C44.8005 85.56 51.2005 85.56 54.8405 83.52L76.2004 71.6399C80.0404 69.4799 83.4404 63.76 83.4404 59.32V36.7199C83.4404 32.3199 80.0404 26.5599 76.2004 24.3999L54.8405 12.52C53.0005 11.52 50.5205 11 48.0005 11Z"
fill={color}
/>
<path
d="M68.0007 55.9602C66.3607 55.9602 65.0007 54.6002 65.0007 52.9602V40.0803L28.5207 19.0403C27.0807 18.2003 26.6007 16.3602 27.4407 14.9602C28.2807 13.5202 30.0807 13.0401 31.5207 13.8801L69.4807 35.8003C70.4007 36.3203 71.0007 37.3201 71.0007 38.4001V53.0403C71.0007 54.6003 69.6407 55.9602 68.0007 55.9602Z"
fill={color}
/>
</svg>
);
export default EquipmentIcon;
EquipmentIcon.propTypes = {
width: PropTypes.string,
height: PropTypes.string,
color: PropTypes.string
};

Some files were not shown because too many files have changed in this diff Show More