Skip to content

Commit

Permalink
feat: Update window redefinition with develop (#1277)
Browse files Browse the repository at this point in the history
* Remove duplicated series (#981)

* Fix Pos (#977)

* Fixe POs

* fixes Currency

* delete comment

Co-authored-by: elsiosanchez <[email protected]>

* sopporte a reversar transsaccion (#979)

Co-authored-by: elsiosanchez <[email protected]>

* search in the process audit by user (#980)

Co-authored-by: elsiosanchez <[email protected]>

* Supporte Pin Point Of Sales (#978)

* Fixe POs

* fixes Currency

* Supporte Pin Point Of  Sales

* focus ping

Co-authored-by: elsiosanchez <[email protected]>

* dashboard (#983)

* fixing dashboard errors (#985)

Co-authored-by: elsiosanchez <[email protected]>

* Add support to list document type service (#986)

* Switching from document type (#987)

* Switching from document type

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* check-price (#988)

* product information (#992)

* Support workflow activities (#972)

* support workflow activities

* minimal changes

* add Workflows and services

* add state semantics

* rename fille

* add info the node

Co-authored-by: elsiosanchez <[email protected]>

* guide component (#995)

* Add activity notifications (#997)

Co-authored-by: elsiosanchez <[email protected]>

* Add guide (#1002)

Co-authored-by: elsiosanchez <[email protected]>

* flujo de trabajo y actividades (#1005)

* feat: Update to element-ui 2.15.3 (#1004)

* fix: Tab name style. (#1003)

* fix: Tab name style.

* fix tooltip text.

* feat: Improve documentation deploy. (#1007)

* feature: Improve documentation deploy.

* minimal changes.

* support Upload Excel (#991)

* support Upload Excel

* change button

* Adjust cell contents according to formatting type

Co-authored-by: elsiosanchez <[email protected]>

* Fixing error when searching for product (#1009)

* Fixing error when searching for product

* Reducing calls to the Api

Co-authored-by: elsiosanchez <[email protected]>

* Add packages lock for project (#1013)

* feat: Push docker image github package registry. (#1014)

* feat: Push docker image github package registry.

* Docker image in Github Package

* change npm ci to npm i

* Add docker file.

* remove docs lock files

* feat: Add support docker hub continuous delivery. (#1016)

* feat: Add support docker hub continuous delivery.

* remove comments

* Fixed syntax errors and deleting console.log (#1012)

* Overdrawn Invoice

* rename computed

* add service Overdrawn Invoice

* Duplicate key error and deleting console.log

* fixe minor errors

* add params to router

* fixe pin

* fixe Price Checking

* fix constants

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add github secret org name (#1017)

* fix: Docker image files. (#1019)

* Fix Overdrawn Invoice (#1018)

Co-authored-by: elsiosanchez <[email protected]>

* Adjust the product information pop-up window. (#1025)

Co-authored-by: elsiosanchez <[email protected]>

* Intuitive output on the point-of-sale product search panel (#1024)

* Intuitive output on the point-of-sale product search panel

* Update index.vue

Co-authored-by: elsiosanchez <[email protected]>

* adding converted currency symbol (#1026)

Co-authored-by: elsiosanchez <[email protected]>

* Support Attachment (#1008)

* Support Attachment

* adjust size

Co-authored-by: elsiosanchez <[email protected]>

* support Product Configuration (#969)

* support Product Configuration

* paint flowchart dynamically

* minimal changes Workflow

* remove comment

Co-authored-by: elsiosanchez <[email protected]>

* Change readme for run (#1028)

* Support Assign PO-Invoice-Receipt-Invoice (#960)

* setting up initial structure

* add service

Co-authored-by: elsiosanchez <[email protected]>

* Support for the Read Weight form (From Scale) (#945)

* Support Get Weight

* changing the position of the buttons

Co-authored-by: elsiosanchez <[email protected]>

* Update README.md

* Update README.es.md

* fix point-of-sale options (#1036)

* fix point-of-sale options

* minimal change

Co-authored-by: elsiosanchez <[email protected]>

* fix: Documentation tag view not fixed. (#1040)

* Click incremented POS line quantities (#1050)

* Add functionality to the quantity increment and decrement button

* Validate minimum quantity

Co-authored-by: elsiosanchez <[email protected]>

* infinite loop in product table (#1043)

* infinite loop in product table

* Show suggestions when input gets focus

Co-authored-by: elsiosanchez <[email protected]>

* Improve the display when recording the location (#1051)

Co-authored-by: elsiosanchez <[email protected]>

* Error starting section (#1052)

Co-authored-by: elsiosanchez <[email protected]>

* Display order footer do not display data if no order is mounted (#1053)

Co-authored-by: elsiosanchez <[email protected]>

* Lock Order Complete (#1057)

Co-authored-by: elsiosanchez <[email protected]>

* Amount converted to payment (#1066)

* Correcting total amount converted in the payment

* minimal changes

* delete console

Co-authored-by: elsiosanchez <[email protected]>

* Error creating order (#1063)

* fixe new orden

* delete comment

Co-authored-by: elsiosanchez <[email protected]>

* feat: Push docker image with commit. (#1071)

* feat: Push docker image with commit.

* only use develop as main branch.

* fixe discount (#1069)

Co-authored-by: elsiosanchez <[email protected]>

* Pagination of tables (#1070)

Co-authored-by: elsiosanchez <[email protected]>

* Add converted order total (#1072)

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add docker image to main branches. (#1081)

* Changing service of creating business partner by point of sale (#1083)

Co-authored-by: elsiosanchez <[email protected]>

* validate terminal configurator (#1082)

* Add validation for the pin according to the configuration of the terminal of the point of sale

* validate advisor options

* validate terminal configurator

* add pin to Return Order

* remove console

Co-authored-by: elsiosanchez <[email protected]>

* List Orders to be invoiced (#1080)

* List Orders to be invoiced

* minimla changes

* fixe style

Co-authored-by: elsiosanchez <[email protected]>

* - Validate POS options (#1085)

- Fixe Delete Line Service

Co-authored-by: elsiosanchez <[email protected]>

* Modify dimensions of the order to be invoiced table (#1087)

* Modify dimensions of the order to be invoiced table

* add traslate

Co-authored-by: elsiosanchez <[email protected]>

* Add daily limit and limit per transaction (#1089)

Co-authored-by: elsiosanchez <[email protected]>

* Add function for number formatting in decimals (#1088)

* Add function for number formatting in decimals

* minimal changes

* rename function

Co-authored-by: elsiosanchez <[email protected]>

* Error adding payment (#1091)

Co-authored-by: elsiosanchez <[email protected]>

* Select a sales order (#1090)

Co-authored-by: elsiosanchez <[email protected]>

* Support for payment types in the return of funds (#1096)

* Support for payment types in the return of funds

* renaming the file

Co-authored-by: elsiosanchez <[email protected]>

* Support for zelle payment types in the return of funds (#1097)

Co-authored-by: elsiosanchez <[email protected]>

* Support for cash payment types in the return of funds (#1101)

Co-authored-by: elsiosanchez <[email protected]>

* error when adding payment (#1099)

Co-authored-by: elsiosanchez <[email protected]>

* Payment method not supported (#1098)

Co-authored-by: elsiosanchez <[email protected]>

* Validation when the order is complete (#1094)

Co-authored-by: elsiosanchez <[email protected]>

* Support for Gift Card payment types in the return of funds (#1103)

* Add different types of cards for return

* minimal changes

* Support for Gift Carts payment types in the return of funds

* translate

* minimal changes

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fix: Load window for the first time (#1095)

* Add image at the point of sale (#1104)

* add image to pos

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Change document type at the point of sale (#1108)

Co-authored-by: elsiosanchez <[email protected]>

* show price base the info product (#1106)

* show price base the info product

* fixe style

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Support Maximum Allowable Reimbursement (#1110)

* Support Maximum Allowable Reimbursement

* remove   console

Co-authored-by: elsiosanchez <[email protected]>

* validate refund (#1109)

* validate refund

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fixe translation (#1111)

Co-authored-by: elsiosanchez <[email protected]>

* change the tender type service (#1113)

* change the tender type service

* display of the fields

Co-authored-by: elsiosanchez <[email protected]>

* Correcting point of sale style (#1114)

* Correcting point of sale style

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Bugfix/close pin (#1115)

* Correcting point of sale style

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Add service create a customer account (#1117)

Co-authored-by: elsiosanchez <[email protected]>

* Close pin dialog (#1121)

Co-authored-by: elsiosanchez <[email protected]>

* change in the order converting the business partner into a customer (#1124)

Co-authored-by: elsiosanchez <[email protected]>

* Add service create a customer accountChanging the position of the bus… (#1118)

* Add service create a customer accountChanging the position of the business partner

* change positiion

* minimal changes

* fast order

Co-authored-by: elsiosanchez <[email protected]>

* Load the fields in the options (#1120)

* Load the fields with only one of the payment types in the return.

* remove console

* remove console

Co-authored-by: elsiosanchez <[email protected]>

* change service currency (#1125)

* change service the currency

* defaul config

Co-authored-by: elsiosanchez <[email protected]>

* Feature/add service print ticket (#1126)

* Support print ticket service

* rename dispacht

Co-authored-by: elsiosanchez <[email protected]>

* Enter for product line options section (#1127)

Co-authored-by: elsiosanchez <[email protected]>

* Fix image size for a better visualization (#1128)

Co-authored-by: elsiosanchez <[email protected]>

* associate type of payment (#1129)

* associate type of payment

* minimal change

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* change cash back (#1130)

change cash back

Co-authored-by: elsiosanchez <[email protected]>

* Default payment rule (#1131)

Co-authored-by: elsiosanchez <[email protected]>

* Remove popover from converted amount (#1132)

Co-authored-by: elsiosanchez <[email protected]>

* Fixing Refund Errors (#1133)

* fixe refund

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fix: Docker compose up. (#1134)

* Customer support at the Point of Sale (#1136)

* Support Edtit Customer

* minimal changes

* minimal changes

* close ppover

* change the style by 2 columns

Co-authored-by: elsiosanchez <[email protected]>

* validate payment method (#1137)

Co-authored-by: elsiosanchez <[email protected]>

* Display returns (#1140)

Co-authored-by: elsiosanchez <[email protected]>

* select the content of the field by clicking on it (#1141)

* select the content of the field by clicking on it

* add NextTick

Co-authored-by: elsiosanchez <[email protected]>

* Default option on return (#1142)

Co-authored-by: elsiosanchez <[email protected]>

* support customer bank account (#1143)

Co-authored-by: elsiosanchez <[email protected]>

* Changing color of the confirm button in the return panel (#1144)

Co-authored-by: elsiosanchez <[email protected]>

* Add Discount Amount and iba Amount columns (#1145)

Co-authored-by: elsiosanchez <[email protected]>

* validate order limit (#1146)

Co-authored-by: elsiosanchez <[email protected]>

* Search the conversion rate by order date (#1148)

* Search the conversion rate by order date

* minimal changes

* validate type document

* rename funtion

Co-authored-by: elsiosanchez <[email protected]>

* process order with open balance (#1149)

Co-authored-by: elsiosanchez <[email protected]>

* currency depending on payment (#1150)

Co-authored-by: elsiosanchez <[email protected]>

* rate display in order header (#1151)

* rate display in order header

* No conversion rate to date

* remove comment

Co-authored-by: elsiosanchez <[email protected]>

* Do not modify the template business partner (#1152)

* Do not modify the template business partner

* rename isTemplateOfCustomer

Co-authored-by: elsiosanchez <[email protected]>

* add price formatting to the order history table (#1154)

Co-authored-by: elsiosanchez <[email protected]>

* Upload Image to Product Information (#1153)

* Upload Image to Product Information

* add product image as gallery

Co-authored-by: elsiosanchez <[email protected]>

* Add price format to the return (#1155)

Co-authored-by: elsiosanchez <[email protected]>

* calculate the total tax of the order (#1157)

Co-authored-by: elsiosanchez <[email protected]>

* Add product code in the price viewer (#1156)

Co-authored-by: elsiosanchez <[email protected]>

* Revert "calculate the total tax of the order (#1157)" (#1158)

This reverts commit dbacfe7.

* update order when adding a payment (#1160)

Co-authored-by: elsiosanchez <[email protected]>

* Change return card style (#1161)

Co-authored-by: elsiosanchez <[email protected]>

* display payments according to payment methods (#1163)

Co-authored-by: elsiosanchez <[email protected]>

* Order history (#1164)

Co-authored-by: elsiosanchez <[email protected]>

* Remove discount (#1165)

Co-authored-by: elsiosanchez <[email protected]>

* Disable the currency field (#1162)

* Disable the currency field

* minimal changes

* change discount

* translations

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fixed rate in the amount (#1169)

Co-authored-by: elsiosanchez <[email protected]>

* Send all business partner data (#1180)

Co-authored-by: elsiosanchez <[email protected]>

* Validate return (#1171)

Co-authored-by: elsiosanchez <[email protected]>

* Keeping the focus when selecting a product (#1174)

Co-authored-by: elsiosanchez <[email protected]>

* Validate pin when creating an order (#1176)

* Error when opening the collection with a new order

* Validate pin when creating an order

Co-authored-by: elsiosanchez <[email protected]>

* Add focus when creating a new order (#1177)

Co-authored-by: elsiosanchez <[email protected]>

* In the business partner forms, pressing Enter should apply the same action as the ok button. (#1178)

Co-authored-by: elsiosanchez <[email protected]>

* Remove console (#1179)

Co-authored-by: elsiosanchez <[email protected]>

* Validate fields before adding payment (#1181)

Co-authored-by: elsiosanchez <[email protected]>

* Transfer payment method fields (#1182)

Co-authored-by: elsiosanchez <[email protected]>

* proposal for return cards (#1183)

Co-authored-by: elsiosanchez <[email protected]>

* Error when opening the collection with a new order (#1175)

Co-authored-by: elsiosanchez <[email protected]>

* Error when declaring or calling 'dispatch' (#1186)

Co-authored-by: elsiosanchez <[email protected]>

* Add image to the collection (#1184)

Co-authored-by: elsiosanchez <[email protected]>

* Add missing service parameters (#1185)

Co-authored-by: elsiosanchez <[email protected]>

* calculating the tax on discounting (#1187)

Co-authored-by: elsiosanchez <[email protected]>

* Error when creating new order by pos options panel (#1188)

Co-authored-by: elsiosanchez <[email protected]>

* Change point of sale order history filters (#1170)

* Change point of sale order history filters

* Adjust size

Co-authored-by: elsiosanchez <[email protected]>

* validate before adding a payment (#1189)

Co-authored-by: elsiosanchez <[email protected]>

* display the amount of tax and discount in the Point of Sale currency (#1191)

Co-authored-by: elsiosanchez <[email protected]>

* Add shipping address (#1192)

Co-authored-by: elsiosanchez <[email protected]>

* Bugfix/displaye amount convertion (#1193)

* show converted amount on the payment card

* Send Message

Co-authored-by: elsiosanchez <[email protected]>

* Validate that a Business Partner cannot be modified after collections have been recorded (#1196)

Co-authored-by: elsiosanchez <[email protected]>

* remove the zip code field in the search (#1197)

Co-authored-by: elsiosanchez <[email protected]>

* Add date field for search (#1198)

Co-authored-by: elsiosanchez <[email protected]>

* loop in the product search (#1199)

* loop in the product search

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Separate billing address and shipping address panel (#1202)

Co-authored-by: elsiosanchez <[email protected]>

* Add focus when deleting line (#1204)

Co-authored-by: elsiosanchez <[email protected]>

* Notify when you do not get the business partner (#1200)

Co-authored-by: elsiosanchez <[email protected]>

* Process order without completing the return process (#1205)

Co-authored-by: elsiosanchez <[email protected]>

* Indicate when you are loading the order history (#1206)

* Indicate when you are loading the order history

* find page

Co-authored-by: elsiosanchez <[email protected]>

* Process payments with no conversion rate (#1207)

Co-authored-by: elsiosanchez <[email protected]>

* Remove ID column from the business partner table (#1209)

* Remove ID column in business partner table

* set the waiting time for the search for a business partner

Co-authored-by: elsiosanchez <[email protected]>

* Add user to profile (#1203)

* Add user to profile

* add user

* remove console

* remove console

* change style

* delete console

* add image

Co-authored-by: elsiosanchez <[email protected]>

* Search by price list and current warehouse (#1201)

* Search by price list and current warehouse

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Validate that no business partner can be modified template (#1219)

Co-authored-by: elsiosanchez <[email protected]>

* Search for payments for the current order (#1220)

Co-authored-by: elsiosanchez <[email protected]>

* Current payment currency (#1221)

Co-authored-by: elsiosanchez <[email protected]>

* change the way you update line (#1224)

Co-authored-by: elsiosanchez <[email protected]>

* amount of tax per line (#1222)

Co-authored-by: elsiosanchez <[email protected]>

* add confirmation and cancel buttons in the product list (#1218)

Co-authored-by: elsiosanchez <[email protected]>

* Add confirm and cancel button when searching for orders (#1217)

Co-authored-by: elsiosanchez <[email protected]>

* Add confirm and cancel button in business partner search engine (#1216)

Co-authored-by: elsiosanchez <[email protected]>

* Product Search combo box ordered by value (#1225)

* #1059

* Product Search window ordered by Value or by Name #1058

Co-authored-by: elsiosanchez <[email protected]>

* Open Create, Search and Update Record panel with a single click (#1227)

Co-authored-by: elsiosanchez <[email protected]>

* Add Focus in the product search (#1228)

Co-authored-by: elsiosanchez <[email protected]>

* Support Confirm Delivery (#1226)

* Support Confirm Delivery

* minimal changes

* add buttom the remove

Co-authored-by: elsiosanchez <[email protected]>

* Support Scan Products (#1230)

Co-authored-by: elsiosanchez <[email protected]>

* Correct Payment Form Selection (#1231)

Co-authored-by: elsiosanchez <[email protected]>

* Error in Change Dialog Display (#1232)

Co-authored-by: elsiosanchez <[email protected]>

* support create a customer (#1233)

Co-authored-by: elsiosanchez <[email protected]>

* Support for action buttons in mobile mode (#1236)

Co-authored-by: elsiosanchez <[email protected]>

* Search by code Value (#1234)

Co-authored-by: elsiosanchez <[email protected]>

* Error when selecting cancel invoice with difference (#1235)

Co-authored-by: elsiosanchez <[email protected]>

* Create customer without address (#1237)

* Create customer without address

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Modify the Name of the Columns in the UI (#1238)

* Modify the Name of the Columns in the UI

* add column % Tax

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Error when canceling the order with different currency (#1239)

Co-authored-by: elsiosanchez <[email protected]>

* Does not allow to return to the previous document type (#1240)

Co-authored-by: elsiosanchez <[email protected]>

* Does not update price list (#1241)

Co-authored-by: elsiosanchez <[email protected]>

* Quick Point of Sales Options: should collapse after selection (#1242)

Co-authored-by: elsiosanchez <[email protected]>

* Sort Column Names in the UI (#1243)

Co-authored-by: elsiosanchez <[email protected]>

* fix: Change deprecated addRoutes to addRoute. (#1244)

* Sequence Increase when Changing Price List (#1248)

Co-authored-by: elsiosanchez <[email protected]>

* Add ID number in Business Partner field (#1249)

* Add ID number in Business Partner field

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* sort of the product table columns (#1251)

Co-authored-by: elsiosanchez <[email protected]>

* Place read-only edit business partner icon after completing the order. (#1252)

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add support for Yarn only. (#1256)

* feat: Add support for yarn only.

* add yarn version in pull request template.

* Revert "feat: Add support for Yarn only. (#1256)" (#1257)

This reverts commit 0721850.

* Revert "fix: Change deprecated addRoutes to addRoute. (#1244)" (#1258)

This reverts commit 951762d.

* feat: Add support to yarn. (#1261)

* feat: Add support to yarn.

* fix dependabot alerts.

* fix: Change deprecated addRoutes to addRoute. (#1262)

* feat: Add plop template Composition-API component. (#1263)

* feat: Add plop template Composition-API component.

* fix path templates.

* Change style of the Mobile UI column view (#1246)

* Change style of the Mobile UI column view

* minimal chages

Co-authored-by: elsiosanchez <[email protected]>

* Default Search in the To Be Billed form (#1250)

* Default Search in the To Be Billed form

* change name field

Co-authored-by: elsiosanchez <[email protected]>

* when consulting product information when applying discount (#1259)

Co-authored-by: elsiosanchez <[email protected]>

* Validate Discount and Tax Banners (#1260)

Co-authored-by: elsiosanchez <[email protected]>

* When using different currencies to collect on an order (#1264)

* When using different currencies to collect on an order

* display the currency in which the product is searched for

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Process payments with no conversion rate (#1266)

Co-authored-by: elsiosanchez <[email protected]>

* Browser 404 error when selecting an entry from the path #1060 (#1267)

Co-authored-by: elsiosanchez <[email protected]>

* Fixes #1042 (#1268)

Co-authored-by: elsiosanchez <[email protected]>

* Status and New Order buttons same dimensions and font size #1056 (#1269)

Co-authored-by: elsiosanchez <[email protected]>

* upgrade axios version (#1272)

* update axios version

* add yarn lock

Co-authored-by: elsiosanchez <[email protected]>

* fixe yarn (#1273)

Co-authored-by: elsiosanchez <[email protected]>

* fix: Github action with dependencies integrity. (#1276)

Co-authored-by: Yamel Senih <[email protected]>
Co-authored-by: Elsio Sanchez <[email protected]>
Co-authored-by: elsiosanchez <[email protected]>
Co-authored-by: TaniaLucena <[email protected]>
  • Loading branch information
5 people authored Oct 12, 2021
1 parent 37cd1ab commit 71f89e4
Show file tree
Hide file tree
Showing 83 changed files with 5,083 additions and 1,906 deletions.
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ A clear and concise description of what you expected to happen.
- Your OS:
- Web Browser:
- Node.js version:
- adempiere-vue version:
- Yarn version:
- adempiere-vue version: <!-- 4.4.0. -->

#### Additional context
Add any other context about the problem here.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'yarn'

- name: Set tag version into config file
run: sed -i "s|releaseNoForDocumentation|${{ github.event.release.tag_name }}|g" config/default.json

- name: Install packages
run: npm ci
- name: Run test
run: npm test
run: yarn ci

- name: Compile dist
run: npm run build:prod --if-present
run: yarn build:prod

- name: Upload dist app
uses: actions/upload-artifact@v2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'yarn'

- name: Set tag version into config file
run: sed -i "s|releaseNoForDocumentation|${{ github.event.release.tag_name }}|g" config/default.json

- name: Install packages
run: npm ci
- name: Run test
run: npm test
run: yarn ci

- name: Compile dist
run: npm run build:prod --if-present
run: yarn build:prod

- name: Upload dist app
uses: actions/upload-artifact@v2
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ config/certs/*.pem
.classpath
.project

.talismanrc
.talismanrc

package-lock.json
16 changes: 8 additions & 8 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ git clone -b develop [email protected]:adempiere/adempiere-vue.git
cd adempiere-vue

# instale las dependencias
npm install
yarn install

# corra el proyecto como desarrollador
npm run dev
yarn dev
```

Automáticamente se abrirá el siguiente enlace en su navegador http://localhost:9527
Expand All @@ -269,26 +269,26 @@ Automáticamente se abrirá el siguiente enlace en su navegador http://localhost

```bash
# Construcción para entornos de prueba
npm run build:stage
yarn build:stage

# Construcción para entornos de producción
npm run build:prod
yarn build:prod
```

## Avanzado

```bash
# Vista previa con efectos de entorno
npm run preview
yarn preview

# Vista previa con efectos + análisis de recursos estáticos
npm run preview -- --report
yarn preview --report

# Chequeo de formato de código
npm run lint
yarn lint

# Chequeo de formato de código y auto-corrección
npm run lint -- --fix
yarn lint --fix
```

Vaya a [Documentación](https://adempiere.github.io/adempiere-vue/es/guide/essentials/deploy.html#compilar) para mayor información.
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ git clone -b develop [email protected]:adempiere/adempiere-vue-.git
cd adempiere-vue

# install dependency
npm install
yarn install

# develop
npm run dev
yarn dev
```

This will automatically open http://localhost:9527
Expand All @@ -287,26 +287,26 @@ This will automatically open http://localhost:9527

```bash
# build for test environment
npm run build:stage
yarn build:stage

# build for production environment
npm run build:prod
yarn build:prod
```

## Advanced

```bash
# preview the release environment effect
npm run preview
yarn preview

# preview the release environment effect + static resource analysis
npm run preview -- --report
yarn preview --report

# code format check
npm run lint
yarn lint

# code format check and auto fix
npm run lint -- --fix
yarn lint --fix
```

Refer to [Documentation](https://adempiere.github.io/adempiere-vue/guide/essentials/deploy.html#build) for more information
Expand Down
23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,27 @@
"preview": "node build/index.js --preview",
"new": "plop",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
"ci": "yarn install --frozen-lockfile",
"test:unit": "jest --clearCache && vue-cli-service test:unit",
"test:ci": "npm run lint && npm run test:unit"
"test:ci": "yarn lint && yarn test:unit"
},
"dependencies": {
"@toast-ui/vue-editor": "2.5.1",
"@vue/composition-api": "1.1.4",
"axios": "0.21.1",
"@vue/composition-api": "1.2.2",
"axios": "0.22.0",
"babel-plugin-require-context-hook": "^1.0.0",
"clipboard": "2.0.6",
"codemirror": "5.59.2",
"core-js": "3.8.3",
"driver.js": "0.9.8",
"dropzone": "5.7.3",
"echarts": "5.0.2",
"element-ui": "2.15.5",
"element-ui": "2.15.6",
"file-saver": "2.0.5",
"fuse.js": "6.4.6",
"js-cookie": "2.2.1",
"jsonlint": "1.6.3",
"jszip": "3.5.0",
"jszip": "3.7.0",
"moment": "^2.29.1",
"normalize.css": "8.0.1",
"nprogress": "0.2.0",
Expand All @@ -59,7 +60,7 @@
"vue": "2.6.14",
"vue-content-loading": "^1.6.0",
"vue-count-to": "1.0.13",
"vue-i18n": "8.22.4",
"vue-i18n": "8.26.1",
"vue-multipane": "^0.9.5",
"vue-resize": "1.0.0",
"vue-router": "3.5.2",
Expand All @@ -69,7 +70,7 @@
"vue-workflow-chart": "^0.4.5",
"vuedraggable": "2.24.3",
"vuex": "3.6.2",
"xlsx": "0.16.9"
"xlsx": "0.17.2"
},
"devDependencies": {
"@babel/core": "7.12.13",
Expand Down Expand Up @@ -105,14 +106,16 @@
},
"browserslist": [
"> 1%",
"last 2 versions"
"last 2 versions",
"not ie <= 8"
],
"bugs": {
"url": "https://github.com/adempiere/adempiere-vue/issues"
},
"engines": {
"node": ">=8.9",
"npm": ">= 3.0.0"
"node": ">= 12",
"npm": "please-use-yarn",
"yarn": ">= 1.20.0"
},
"keywords": [
"adempiere",
Expand Down
42 changes: 42 additions & 0 deletions plop-templates/ADempiere/component/compositionApiTemplate.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
// Contributor(s): Edwin Betancourt [email protected] www.erpya.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

{{#if template}}
<template>
<div />
</template>
{{/if}}

{{#if script}}
<script>
import { defineComponent } from '@vue/composition-api'
export default {
name: '{{ capitalize name }}',
props: {},
setup(props, { root }) {
return {}
}
}
</script>
{{/if}}

{{#if style}}
<style lang="scss" scoped>
</style>
{{/if}}
4 changes: 2 additions & 2 deletions plop-templates/ADempiere/component/prompt.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { notEmpty } = require('../../utils.js')

module.exports = {
description: 'Generate ADempiere .vue component',
description: 'Generate ADempiere component.vue',
prompts: [{
type: 'input',
name: 'name',
Expand Down Expand Up @@ -41,7 +41,7 @@ module.exports = {
const actions = [{
type: 'add',
path: `src/components/ADempiere/${name}/index.vue`,
templateFile: 'plop-templates/component/index.hbs',
templateFile: 'plop-templates/ADempiere/component/index.hbs',
data: {
name: name,
template: data.blocks.includes('template'),
Expand Down
53 changes: 53 additions & 0 deletions plop-templates/ADempiere/component/promptCompositionApi.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
const { notEmpty } = require('../../utils.js')

module.exports = {
description: 'Generate ADempiere component.vue (Composition API)',
prompts: [{
type: 'input',
name: 'name',
message: 'ADempiere Component name: ',
validate: notEmpty('name')
},
{
type: 'checkbox',
name: 'blocks',
message: 'Blocks:',
choices: [{
name: '<template>',
value: 'template',
checked: true
},
{
name: '<script>',
value: 'script',
checked: true
},
{
name: '<style>',
value: 'style',
checked: true
}],
validate(value) {
if (value.indexOf('script') === -1 && value.indexOf('template') === -1) {
return 'Components require at least a <script> or <template> tag.'
}
return true
}
}],
actions: data => {
const name = '{{properCase name}}'
const actions = [{
type: 'add',
path: `src/components/ADempiere/${name}/index.vue`,
templateFile: 'plop-templates/ADempiere/component/compositionApiTemplate.hbs',
data: {
name: name,
template: data.blocks.includes('template'),
script: data.blocks.includes('script'),
style: data.blocks.includes('style')
}
}]

return actions
}
}
38 changes: 31 additions & 7 deletions plop-templates/ADempiere/store/index.hbs
Original file line number Diff line number Diff line change
@@ -1,24 +1,48 @@
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
// Contributor(s): Edwin Betancourt [email protected] www.erpya.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

{{#if state}}
const initState = {
{{name}}: {}
}

{{/if}}
const {{name}} = {
{{#if state}}
state: {
{{name}}: {}
},
state: initState,
{{/if}}
{{#if mutations}}

mutations: {
{{#if state}}
resetState{{name}}(state) {
state = {}
resetState{{capitalize name}}(state) {
state = initState
}
{{/if}}
},
{{/if}}
{{#if actions}}
actions: {},

actions: {
},
{{/if}}
{{#if getters}}

getters: {
get{{name}}: (state) => {
get{{capitalize name}}: (state) => {
return state.{{name}}
}
}
Expand Down
Loading

0 comments on commit 71f89e4

Please sign in to comment.