1.0.41 • Published 3 years ago

etsoo-react v1.0.41

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

etsoo-react

The project was achieved and replaced with @etsoo/appscript (UI framework unrelated) and @etsoo/react (ReactJs related).

ETSOO TypeScript React components NPM package for SmartERP SaaS integration developed by GarryXiao (https://dev.to/garryxiao)

ESLint + AirbnbBase + Prettier, Jest(ts-jest) applied. About how to build a NPM package and CI/CD with Github action: https://dev.to/garryxiao/build-a-react-components-npm-package-and-ci-cd-with-github-action-1jm6

Installing

Using npm:

$ npm install etsoo-react

Using yarn:

$ yarn add etsoo-react

Structure

api - APIs related

apps - Application level components

bridges - Work with Electron

controllers - SmartERP related REST APIs

  • CustomerController - Customer entity API controller.
  • CustomerLoginController - Customer entity login related API controller.
  • EntityController - Common entity API controller.
  • UserController - User entity API controller.
  • UserLoginController - User entity login related API controller.

models - SmartERP related data models

mu - Custom Material-UI component

  • NotifierUI - Notifier state UI display.
  • SearchPage - Common search page.
  • StepperForm - Extends from Stepper for multiple steps form.

states - Custom React Context

  • CreateState - Common Context State creator.
  • LanguageState - Language labels, simple i18n solution.
  • NotifierState - Notifier state.
  • UserState - User state.

uses - Custom React hooks

  • useDimensions, useDimensions1 - Calculate element dimensions.
  • useFormValidator - Form validation, encapsulated from Yup (https://github.com/jquense/yup)
  • useTimeout - For window.setTimeout to merge actions.

views - SmartERP related data views

  • IViewFactory - View data transform factory.
  • LoginResultData - Login result data.
  • RawResult - Raw operation JSON result.

Sample

It's a real and live project: https://github.com/garryxiao/mapleleaf.

License

MIT

1.0.40

3 years ago

1.0.41

3 years ago

1.0.39

4 years ago

1.0.38

4 years ago

1.0.37

4 years ago

1.0.36

4 years ago

1.0.35

4 years ago

1.0.33

4 years ago

1.0.30

4 years ago

1.0.29

4 years ago

1.0.28

4 years ago

1.0.26

4 years ago

1.0.24

4 years ago

1.0.23

4 years ago

1.0.22

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago