Explorar el Código

ver. 1.1.0
added configuration for eLeave
added configuration for eBid

tigger hace 1 año
padre
commit
67d0c82a61
Se han modificado 4 ficheros con 58 adiciones y 1 borrados
  1. 42 0
      angular.json
  2. 3 1
      package.json
  3. 7 0
      src/app/master.menu.leave.json
  4. 6 0
      src/app/master.menu.quotation.json

+ 42 - 0
angular.json

@@ -54,6 +54,48 @@
               ],
               "outputHashing": "all"
             },
+            "production-leave": {
+              "budgets": [
+                {
+                  "type": "initial",
+                  "maximumWarning": "5000kb",
+                  "maximumError": "6mb"
+                },
+                {
+                  "type": "anyComponentStyle",
+                  "maximumWarning": "6kb",
+                  "maximumError": "8kb"
+                }
+              ],
+              "outputHashing": "all",
+              "fileReplacements": [
+                {
+                  "replace": "src/app/master.menu.json",
+                  "with":"src/app/master.menu.leave.json"
+                }
+              ]
+            },
+            "production-quotation": {
+              "budgets": [
+                {
+                  "type": "initial",
+                  "maximumWarning": "5000kb",
+                  "maximumError": "6mb"
+                },
+                {
+                  "type": "anyComponentStyle",
+                  "maximumWarning": "6kb",
+                  "maximumError": "8kb"
+                }
+              ],
+              "outputHashing": "all",
+              "fileReplacements": [
+                {
+                  "replace": "src/app/master.menu.json",
+                  "with":"src/app/master.menu.quotation.json"
+                }
+              ]
+            },
             "development": {
               "optimization": false,
               "extractLicenses": false,

+ 3 - 1
package.json

@@ -1,12 +1,14 @@
 {
   "name": "fisapp-ui",
-  "version": "1.0.0",
+  "version": "1.1.0",
   "scripts": {
     "ng": "ng",
     "start": "ng serve --host 0.0.0.0 --port 4200",
     "build": "ng build --aot --delete-output-path",
     "build:next": "ng build --base-href /next/ --aot --delete-output-path",
     "build:prod": "ng build --configuration production --output-path dist/rc --aot --delete-output-path",
+    "build:leave:prod": "ng build --configuration production-leave --output-path dist/leave --aot --delete-output-path",
+    "build:quotation:prod": "ng build --configuration production-quotation --output-path dist/quotation --aot --delete-output-path",
     "watch": "ng build --watch --configuration development",
     "test": "ng test",
     "clean": "ng cache clean && npm cache clean --force"

+ 7 - 0
src/app/master.menu.leave.json

@@ -0,0 +1,7 @@
+{
+    "leave_application":[
+        {"label":{"key":"new_leave","default":"New Leave"},"route":"/leave","queryParams":{"type":"new"}},
+        {"label":{"key":"applied_leave","default":"Applied Leave"},"route":"/leave","queryParams":{"type":"view"}},
+        {"label":{"key":"leave_approval","default":"Leave Approval"},"route":"/leave/approval"}
+    ]
+}

+ 6 - 0
src/app/master.menu.quotation.json

@@ -0,0 +1,6 @@
+{
+    "quotation":[
+        {"label":{"key":"sales_tender_submission","default":"Sales Tender Submission"},"route":"/tender","queryParams":{"type":"sales"}},
+        {"label":{"key":"sales_tender_award","default":"Sales Tender Award"},"route":"/tender/award","queryParams":{"type":"sales"},"disabled":true,"aria":{"key":"coming_soon","default":"Coming Soon"}}
+    ]
+}