-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update ky, fix ag to svelte example, RestDataApi will look for q and do stringify if its an object * Fixed quick search * Fixed search * refactor select2 so uses same fomratter for displayFields * comment out select tests since we dont support * get tests working for jest and ts. revamp truthy and empty * add jest to the checks * remove the setup for now * get jest tests working and move critical tests in, all tests are in __tests__ * Select fixes (#643) * Fixed select with complex dataApiParams * Lint fix * esm to get mockserver working with imports * reverted ts, to slow. * fix and cleanup the listctrl dep (#644) * fix and cleanup the listctrl dep * should have a property that we pass to GRidCtrl for contextMenuClickAction * pass everything through with the gridOpts * fixed showSearchForm * more clean up * cleanup to get rid of extendFilters * removed a bunch of console logs * add init search to config * Filtering refactoring Co-authored-by: alexeyzvegintcev <[email protected]> * Grid remove listctrl dep (#645) * fix and cleanup the listctrl dep * should have a property that we pass to GRidCtrl for contextMenuClickAction * pass everything through with the gridOpts * fixed showSearchForm * more clean up * cleanup to get rid of extendFilters * removed a bunch of console logs * add init search to config * Filtering refactoring * get sort squared away * more lodash cleanup * fix for es6 * rename to restrictSearch * add start of the DataQuery class Co-authored-by: alexeyzvegintcev <[email protected]> * Grid remove listctrl dep (#646) * fix and cleanup the listctrl dep * should have a property that we pass to GRidCtrl for contextMenuClickAction * pass everything through with the gridOpts * fixed showSearchForm * more clean up * cleanup to get rid of extendFilters * removed a bunch of console logs * add init search to config * Filtering refactoring * get sort squared away * more lodash cleanup * fix for es6 * rename to restrictSearch * add start of the DataQuery class Co-authored-by: alexeyzvegintcev <[email protected]> * fixed foo bar * Grid fixes (#648) * Fixed cors issue for grids * Grid actions without listCtrl import * Custom toolbar actions * Fixed typo Co-authored-by: alexeyzvegintcev <[email protected]> * Datastore (#647) * added mixer and batch of tests * added getter * added ky type * get common stuff out on datastore * rename * removed grails from demo to cut down on noise * fix session store * working demos * working grids, select2 is broken * mostly working now * renames * simplify * out of chaos comes order * det names in order * fix oageView sub, add unsun for destroy * rm pwd * lint fix * added chip and fixed setting current item * fix bad comma * added chip css * hack to fix sub on addJson * add go to AppState and apiUrl * redo api to standardize key instead of endpoint * add some logging * more logging * remove pocs * Restrict apply grids (#651) * grids adde restrict search * gridList restrictSearch * Fixed grid toolbar (#652) * TEmp quick fix (#653) Co-authored-by: alexeyzvegintcev <[email protected]>
- Loading branch information
1 parent
01761b5
commit 719e74b
Showing
181 changed files
with
4,733 additions
and
9,012 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# This is for VSCode `REST Client` plugin. Use it, it rocks | ||
# @host = https://rcm-dev-api.9ci.io | ||
@host = http://localhost:8080 | ||
@base_url = {{host}}/api/ar/customer | ||
# @host = localhost:8080 | ||
@contentType = application/json | ||
# @token = dfasfasdfadfs | ||
|
||
|
||
# @name login | ||
POST {{host}}/api/login | ||
Content-Type: application/json | ||
|
||
{"username":"admin","password":"123F"} | ||
|
||
### | ||
@token = {{login.response.body.$.access_token}} | ||
|
||
### Get Customers### Get Customers | ||
GET {{base_url}}?max=20&page=1&sort=org.calc.totalDue | ||
Authorization: Bearer {{token}} | ||
|
||
### get customers query | ||
GET {{base_url}}?q=wal% | ||
|
||
### post/create and put/update | ||
|
||
# @name post_it | ||
POST {{base_url}} | ||
Content-Type: application/json | ||
|
||
{ | ||
"num": {{$randomInt 100 10000}}, | ||
"name": "Test" | ||
} | ||
|
||
### Get it | ||
|
||
@created_id = {{post_it.response.body.$.id}} | ||
|
||
GET {{base_url}}/{{created_id}} | ||
|
||
### update it | ||
|
||
PUT {{base_url}}/{{created_id}} | ||
|
||
{ | ||
"name": "TestUpdate" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<div > | ||
<gridz ng-if="$ctrl.isConfigured" grid-options="$ctrl.cfg.gridOptions" | ||
<gridz-datastore ng-if="$ctrl.isConfigured" grid-options="$ctrl.cfg.gridOptions" | ||
toolbar-options="$ctrl.cfg.toolbarOptions" | ||
grid-id="customerGrid" | ||
list-ctrl="$ctrl"> | ||
</gridz> | ||
</gridz-datastore> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<div > | ||
<gridz ng-if="$ctrl.isConfigured" grid-options="$ctrl.cfg.gridOptions" | ||
<gridz-datastore ng-if="$ctrl.isConfigured" grid-options="$ctrl.cfg.gridOptions" | ||
toolbar-options="$ctrl.cfg.toolbarOptions" | ||
grid-id="invoiceGrid" | ||
list-ctrl="$ctrl"> | ||
</gridz> | ||
</gridz-datastore> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.