0.1.20 • Published 4 years ago

@swtss/batg-innov-com-react v0.1.20

Weekly downloads
3
License
ISC
Repository
-
Last release
4 years ago

The project that provides the common framework for all of our final projects, basically it includes the core components that are used in multiple React clients.
ALERT: Be sure in the top level of a project using these components imports "babel-polyfill"

Objects contained within: 1.) Security a.) lib/auth/AuthService - Basic tool for authenticating the webservices (either dev/production) and managing the token and retrieving roles b.) lib/auth/components 1.) lib/auth/components/AccountManagementModal - 2.) lib/auth/components/AccountRequestEntry - 3.) lib/auth/components/ExtendLoginModal - 4.) lib/auth/components/LoginForm - <LoginForm loginCallback={function(options)} auth={Auth_Service} /> 5.) lib/auth/components/LoginRequestForm - <LoginRequestForm requestCallback={function(options)} auth={Auth_Service} /> 2.) Datalayer a.) lib/controller/AbstractDBController - Basic tool for connecting to the webservices (either dev/production) b.) lib/controller/GenericAfscController - c.) lib/controller/GenericClassController - d.) lib/controller/GenericCourseController - e.) lib/controller/GenericLookupController - f.) lib/controller/GenericReportController - g.) lib/controller/GenericStudentController - h.) lib/controller/controller - generic object for handling referential integrity, ie ensuring that this project and the main project (pipeline, med, etc) use the same controller (and that this project has controllers at all). Must be called with a .use call passing along the AuthService at a minimum otherwise all of the components that are apart of this project won't be able to work. 3.) Components a.) lib/components 1.) b.) lib/components/dropdowns 1.) <AfscDropdown className={style name} value={starting value} /> 2.) <LookupDropdown className={style name} table={value for 'table' column} column={'column' column to query} value={starting value} /> 3.) <FiscalYearDropdown className={style name} value={starting value} /> 4.) 4.) Report Tool a.) lib/reports/ReportTool - 5.) Utils a.) lib/util/WorkBook -

To install in a new project: npm install -s @swtss/batg-innov-com-react

To work on this project at the same time as working on the client use the npm link command, 1.) In the folder for this project run: a.) npm link b.) npm run build //This builds the project c.) NOTE: the build script currently doesn't copy over any css, you will need to do this manually 2.) In the folder for the client project a.) npm link @swtss/batg-innov-com-react

0.1.20

4 years ago

0.1.19

4 years ago

0.1.17

4 years ago

0.1.16

4 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7-g

5 years ago

0.1.7-f

5 years ago

0.1.7-e

5 years ago

0.1.7-d

5 years ago

0.1.7-c

5 years ago

0.1.7-b

5 years ago

0.1.7-a

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago