techlify-inventory-common 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +13 -0
- package/README.md +27 -0
- package/angular.json +207 -0
- package/e2e/protractor.conf.js +28 -0
- package/e2e/src/app.e2e-spec.ts +14 -0
- package/e2e/src/app.po.ts +11 -0
- package/e2e/tsconfig.e2e.json +13 -0
- package/ng-package.json +6 -0
- package/package.json +92 -0
- package/projects/inventory-common/README.md +24 -0
- package/projects/inventory-common/ng-package.json +7 -0
- package/projects/inventory-common/package.json +12 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-form/category-form.component.html +41 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-form/category-form.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-form/category-form.component.ts +75 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-form-button/category-form-button.component.html +32 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-form-button/category-form-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-form-button/category-form-button.component.ts +29 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-list-page/category-list-page.component.html +79 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-list-page/category-list-page.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-list-page/category-list-page.component.ts +61 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category-routing.module.ts +16 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category.module.ts +36 -0
- package/projects/inventory-common/src/lib/inventory-common/category/category.service.ts +11 -0
- package/projects/inventory-common/src/lib/inventory-common/inventory-common-routing.module.ts +65 -0
- package/projects/inventory-common/src/lib/inventory-common/inventory-common.module.ts +24 -0
- package/projects/inventory-common/src/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.html +88 -0
- package/projects/inventory-common/src/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.ts +36 -0
- package/projects/inventory-common/src/lib/inventory-common/inventory-value-report.service.ts +19 -0
- package/projects/inventory-common/src/lib/inventory-common/low-stock-report.service.ts +19 -0
- package/projects/inventory-common/src/lib/inventory-common/material.module.ts +95 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.html +37 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.ts +44 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-delete/measure-delete.module.ts +11 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.html +66 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.ts +78 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.html +16 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.ts +29 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form.module.ts +13 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure-routing.module.ts +16 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure.module.ts +26 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measure.service.ts +11 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measures-list/measures-list.component.html +88 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measures-list/measures-list.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/measure/measures-list/measures-list.component.ts +67 -0
- package/projects/inventory-common/src/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.html +52 -0
- package/projects/inventory-common/src/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.ts +42 -0
- package/projects/inventory-common/src/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.module.ts +20 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-basic-info/product-basic-info.component.html +114 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-basic-info/product-basic-info.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-basic-info/product-basic-info.component.ts +43 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-delete-button/product-delete-button.component.html +33 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-delete-button/product-delete-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-delete-button/product-delete-button.component.ts +53 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-form/product-form.component.html +209 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-form/product-form.component.spec.ts +24 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-form/product-form.component.ts +182 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-form-button/product-form-button.component.html +17 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-form-button/product-form-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-form-button/product-form-button.component.ts +39 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-form.service.ts +11 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-import-page/product-import-page.component.html +1 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-import-page/product-import-page.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-import-page/product-import-page.component.ts +66 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-list/product-list.component.html +254 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-list/product-list.component.spec.ts +24 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-list/product-list.component.ts +171 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-measure-form/product-measure-form.component.html +44 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-measure-form/product-measure-form.component.spec.ts +24 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-measure-form/product-measure-form.component.ts +93 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-measures-list/product-measures-list.component.html +90 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-measures-list/product-measures-list.component.spec.ts +24 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-measures-list/product-measures-list.component.ts +153 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-nav-bar/product-nav-bar.component.html +3 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-nav-bar/product-nav-bar.component.spec.ts +24 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-nav-bar/product-nav-bar.component.ts +7 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-quick-search/product-quick-search.component.html +110 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-quick-search/product-quick-search.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-quick-search/product-quick-search.component.ts +102 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-routing.module.ts +49 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-search/product-search.component.html +78 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-search/product-search.component.scss +12 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-search/product-search.component.ts +153 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-search/product-search.module.ts +22 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.html +11 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.ts +62 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-summary-chart/product-summary-chart.module.ts +15 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-summary-widget/product-summary-widget.component.html +9 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-summary-widget/product-summary-widget.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-summary-widget/product-summary-widget.component.ts +39 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.html +32 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.ts +55 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.html +49 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.ts +87 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.html +48 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.ts +33 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax.module.ts +23 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-tax/product-tax.service.ts +11 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-view-page/product-view-page.component.html +34 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product-view-page/product-view-page.component.ts +63 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product.module.ts +69 -0
- package/projects/inventory-common/src/lib/inventory-common/product/product.service.ts +54 -0
- package/projects/inventory-common/src/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.html +8 -0
- package/projects/inventory-common/src/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.ts +16 -0
- package/projects/inventory-common/src/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.html +140 -0
- package/projects/inventory-common/src/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.ts +191 -0
- package/projects/inventory-common/src/lib/inventory-common/reports/low-stock-report/low-stock-report.component.html +158 -0
- package/projects/inventory-common/src/lib/inventory-common/reports/low-stock-report/low-stock-report.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/reports/low-stock-report/low-stock-report.component.ts +191 -0
- package/projects/inventory-common/src/lib/inventory-common/services/techlify-form-service.ts +14 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.html +32 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.ts +49 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.module.ts +11 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuance.service.ts +11 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.html +165 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.ts +113 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.module.ts +26 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances-routing.module.ts +16 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances.module.ts +36 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.html +64 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.ts +115 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.html +20 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.ts +35 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form.module.ts +29 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.html +32 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.ts +49 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.html +74 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.ts +122 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.html +18 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.ts +33 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module.ts +29 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipt.service.ts +11 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.html +139 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.ts +109 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipts-routing.module.ts +16 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-receipts/stock-receipts.module.ts +45 -0
- package/projects/inventory-common/src/lib/inventory-common/stock-summary.service.ts +18 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.html +22 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.ts +44 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/payee-selector/payee-selector.module.ts +19 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.css +0 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.html +3 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.spec.ts +28 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.ts +56 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.css +0 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.html +3 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.spec.ts +28 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.ts +40 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form.component.html +100 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form.component.ts +116 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form.service.ts +11 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-information/supplier-information.component.html +67 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-information/supplier-information.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-information/supplier-information.component.ts +68 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-routing.module.ts +32 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-type.service.ts +17 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-view/supplier-view.component.html +60 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier-view/supplier-view.component.ts +58 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier.component.html +3 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier.component.ts +16 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier.module.ts +46 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/supplier.service.ts +57 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.html +98 -0
- package/projects/inventory-common/src/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.ts +126 -0
- package/projects/inventory-common/src/lib/inventory-common/techlify-filter/techlify-filter.component.html +442 -0
- package/projects/inventory-common/src/lib/inventory-common/techlify-filter/techlify-filter.component.scss +0 -0
- package/projects/inventory-common/src/lib/inventory-common/techlify-filter/techlify-filter.component.ts +109 -0
- package/projects/inventory-common/src/lib/inventory-common/techlify-filter/techlify-filter.module.ts +24 -0
- package/projects/inventory-common/src/public-api.ts +10 -0
- package/projects/inventory-common/tsconfig.lib.json +17 -0
- package/projects/inventory-common/tsconfig.lib.prod.json +13 -0
- package/projects/inventory-common/tsconfig.spec.json +17 -0
- package/public_api.ts +23 -0
- package/releases/techlify-ng-users-0.0.4.tgz +0 -0
- package/releases/techlify-ng-users-0.0.5.tgz +0 -0
- package/src/.htaccess +19 -0
- package/src/app/@modules/@shared/print-button/print-button/print-button.component.html +3 -0
- package/src/app/@modules/@shared/print-button/print-button/print-button.component.scss +0 -0
- package/src/app/@modules/@shared/print-button/print-button/print-button.component.ts +11 -0
- package/src/app/@modules/@shared/print-button/print-button.module.ts +11 -0
- package/src/app/@modules/@shared/print-button/print.service.ts +38 -0
- package/src/app/@modules/@shared/techlify-form-service.ts +14 -0
- package/src/app/@modules/@shared/user-menu/user-menu.component.html +26 -0
- package/src/app/@modules/@shared/user-menu/user-menu.component.spec.ts +23 -0
- package/src/app/@modules/@shared/user-menu/user-menu.component.ts +46 -0
- package/src/app/@modules/@shared/user-menu/user-menu.module.ts +20 -0
- package/src/app/@modules/administration/administration-routing.module.ts +44 -0
- package/src/app/@modules/administration/administration.component.html +3 -0
- package/src/app/@modules/administration/administration.component.ts +11 -0
- package/src/app/@modules/administration/administration.module.ts +18 -0
- package/src/app/@modules/administration/administration.service.ts +33 -0
- package/src/app/@modules/auth/auth-routing.module.ts +17 -0
- package/src/app/@modules/auth/auth.module.ts +12 -0
- package/src/app/@modules/auth/login/login.component.html +302 -0
- package/src/app/@modules/auth/login/login.component.scss +43 -0
- package/src/app/@modules/auth/login/login.component.ts +57 -0
- package/src/app/@modules/inventory-common/category/category-form/category-form.component.html +41 -0
- package/src/app/@modules/inventory-common/category/category-form/category-form.component.scss +0 -0
- package/src/app/@modules/inventory-common/category/category-form/category-form.component.ts +75 -0
- package/src/app/@modules/inventory-common/category/category-form-button/category-form-button.component.html +32 -0
- package/src/app/@modules/inventory-common/category/category-form-button/category-form-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/category/category-form-button/category-form-button.component.ts +29 -0
- package/src/app/@modules/inventory-common/category/category-list-page/category-list-page.component.html +79 -0
- package/src/app/@modules/inventory-common/category/category-list-page/category-list-page.component.scss +0 -0
- package/src/app/@modules/inventory-common/category/category-list-page/category-list-page.component.ts +61 -0
- package/src/app/@modules/inventory-common/category/category-routing.module.ts +16 -0
- package/src/app/@modules/inventory-common/category/category.module.ts +36 -0
- package/src/app/@modules/inventory-common/category/category.service.ts +11 -0
- package/src/app/@modules/inventory-common/inventory-common-routing.module.ts +55 -0
- package/src/app/@modules/inventory-common/inventory-common.module.ts +20 -0
- package/src/app/@modules/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.html +88 -0
- package/src/app/@modules/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.scss +0 -0
- package/src/app/@modules/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.ts +35 -0
- package/src/app/@modules/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.html +37 -0
- package/src/app/@modules/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.ts +44 -0
- package/src/app/@modules/inventory-common/measure/measure-delete/measure-delete.module.ts +11 -0
- package/src/app/@modules/inventory-common/measure/measure-form/measure-form/measure-form.component.html +66 -0
- package/src/app/@modules/inventory-common/measure/measure-form/measure-form/measure-form.component.scss +0 -0
- package/src/app/@modules/inventory-common/measure/measure-form/measure-form/measure-form.component.ts +78 -0
- package/src/app/@modules/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.html +16 -0
- package/src/app/@modules/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.ts +29 -0
- package/src/app/@modules/inventory-common/measure/measure-form/measure-form.module.ts +13 -0
- package/src/app/@modules/inventory-common/measure/measure-routing.module.ts +16 -0
- package/src/app/@modules/inventory-common/measure/measure.module.ts +26 -0
- package/src/app/@modules/inventory-common/measure/measure.service.ts +11 -0
- package/src/app/@modules/inventory-common/measure/measures-list/measures-list.component.html +88 -0
- package/src/app/@modules/inventory-common/measure/measures-list/measures-list.component.scss +0 -0
- package/src/app/@modules/inventory-common/measure/measures-list/measures-list.component.ts +67 -0
- package/src/app/@modules/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.html +52 -0
- package/src/app/@modules/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.scss +0 -0
- package/src/app/@modules/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.ts +42 -0
- package/src/app/@modules/inventory-common/product/low-stock-products-widget/low-stock-products-widget.module.ts +20 -0
- package/src/app/@modules/inventory-common/product/product-basic-info/product-basic-info.component.html +114 -0
- package/src/app/@modules/inventory-common/product/product-basic-info/product-basic-info.component.scss +0 -0
- package/src/app/@modules/inventory-common/product/product-basic-info/product-basic-info.component.ts +43 -0
- package/src/app/@modules/inventory-common/product/product-delete-button/product-delete-button.component.html +33 -0
- package/src/app/@modules/inventory-common/product/product-delete-button/product-delete-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/product/product-delete-button/product-delete-button.component.ts +53 -0
- package/src/app/@modules/inventory-common/product/product-form/product-form.component.html +209 -0
- package/src/app/@modules/inventory-common/product/product-form/product-form.component.spec.ts +24 -0
- package/src/app/@modules/inventory-common/product/product-form/product-form.component.ts +182 -0
- package/src/app/@modules/inventory-common/product/product-form-button/product-form-button.component.html +17 -0
- package/src/app/@modules/inventory-common/product/product-form-button/product-form-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/product/product-form-button/product-form-button.component.ts +39 -0
- package/src/app/@modules/inventory-common/product/product-form.service.ts +11 -0
- package/src/app/@modules/inventory-common/product/product-import-page/product-import-page.component.html +1 -0
- package/src/app/@modules/inventory-common/product/product-import-page/product-import-page.component.scss +0 -0
- package/src/app/@modules/inventory-common/product/product-import-page/product-import-page.component.ts +66 -0
- package/src/app/@modules/inventory-common/product/product-list/product-list.component.html +229 -0
- package/src/app/@modules/inventory-common/product/product-list/product-list.component.spec.ts +24 -0
- package/src/app/@modules/inventory-common/product/product-list/product-list.component.ts +176 -0
- package/src/app/@modules/inventory-common/product/product-measure-form/product-measure-form.component.html +44 -0
- package/src/app/@modules/inventory-common/product/product-measure-form/product-measure-form.component.spec.ts +24 -0
- package/src/app/@modules/inventory-common/product/product-measure-form/product-measure-form.component.ts +93 -0
- package/src/app/@modules/inventory-common/product/product-measures-list/product-measures-list.component.html +90 -0
- package/src/app/@modules/inventory-common/product/product-measures-list/product-measures-list.component.spec.ts +24 -0
- package/src/app/@modules/inventory-common/product/product-measures-list/product-measures-list.component.ts +153 -0
- package/src/app/@modules/inventory-common/product/product-nav-bar/product-nav-bar.component.html +3 -0
- package/src/app/@modules/inventory-common/product/product-nav-bar/product-nav-bar.component.spec.ts +24 -0
- package/src/app/@modules/inventory-common/product/product-nav-bar/product-nav-bar.component.ts +7 -0
- package/src/app/@modules/inventory-common/product/product-routing.module.ts +49 -0
- package/src/app/@modules/inventory-common/product/product-search/product-search.component.html +78 -0
- package/src/app/@modules/inventory-common/product/product-search/product-search.component.scss +12 -0
- package/src/app/@modules/inventory-common/product/product-search/product-search.component.ts +153 -0
- package/src/app/@modules/inventory-common/product/product-search/product-search.module.ts +22 -0
- package/src/app/@modules/inventory-common/product/product-summary-chart/product-summary-chart.component.html +17 -0
- package/src/app/@modules/inventory-common/product/product-summary-chart/product-summary-chart.component.scss +0 -0
- package/src/app/@modules/inventory-common/product/product-summary-chart/product-summary-chart.component.ts +45 -0
- package/src/app/@modules/inventory-common/product/product-summary-chart/product-summary-chart.module.ts +18 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.html +32 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.ts +55 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.html +49 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.ts +87 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.html +48 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.scss +0 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.ts +33 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax.module.ts +23 -0
- package/src/app/@modules/inventory-common/product/product-tax/product-tax.service.ts +11 -0
- package/src/app/@modules/inventory-common/product/product-view-page/product-view-page.component.html +34 -0
- package/src/app/@modules/inventory-common/product/product-view-page/product-view-page.component.ts +63 -0
- package/src/app/@modules/inventory-common/product/product.module.ts +67 -0
- package/src/app/@modules/inventory-common/product/product.service.ts +54 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.html +32 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.ts +49 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.module.ts +11 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuance.service.ts +11 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.html +165 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.scss +0 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.ts +113 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.module.ts +26 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuances-routing.module.ts +16 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issuances.module.ts +36 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.html +64 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.scss +0 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.ts +115 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.html +20 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.ts +35 -0
- package/src/app/@modules/inventory-common/stock-issuances/stock-issue-form/stock-issue-form.module.ts +29 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.html +32 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.ts +49 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.html +74 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.scss +0 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.ts +122 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.html +18 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.scss +0 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.ts +33 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module.ts +29 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipt.service.ts +11 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.html +139 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.scss +0 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.ts +109 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipts-routing.module.ts +16 -0
- package/src/app/@modules/inventory-common/stock-receipts/stock-receipts.module.ts +45 -0
- package/src/app/@modules/inventory-common/stock-summary.service.ts +18 -0
- package/src/app/@modules/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.html +22 -0
- package/src/app/@modules/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.scss +0 -0
- package/src/app/@modules/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.ts +44 -0
- package/src/app/@modules/inventory-common/supplier/payee-selector/payee-selector.module.ts +19 -0
- package/src/app/@modules/inventory-common/supplier/supplier-form/supplier-form.component.html +133 -0
- package/src/app/@modules/inventory-common/supplier/supplier-form/supplier-form.component.ts +116 -0
- package/src/app/@modules/inventory-common/supplier/supplier-form/supplier-form.service.ts +11 -0
- package/src/app/@modules/inventory-common/supplier/supplier-information/supplier-information.component.html +67 -0
- package/src/app/@modules/inventory-common/supplier/supplier-information/supplier-information.component.scss +0 -0
- package/src/app/@modules/inventory-common/supplier/supplier-information/supplier-information.component.ts +68 -0
- package/src/app/@modules/inventory-common/supplier/supplier-routing.module.ts +32 -0
- package/src/app/@modules/inventory-common/supplier/supplier-type.service.ts +17 -0
- package/src/app/@modules/inventory-common/supplier/supplier-view/supplier-view.component.html +60 -0
- package/src/app/@modules/inventory-common/supplier/supplier-view/supplier-view.component.ts +58 -0
- package/src/app/@modules/inventory-common/supplier/supplier.component.html +3 -0
- package/src/app/@modules/inventory-common/supplier/supplier.component.scss +0 -0
- package/src/app/@modules/inventory-common/supplier/supplier.component.ts +16 -0
- package/src/app/@modules/inventory-common/supplier/supplier.module.ts +42 -0
- package/src/app/@modules/inventory-common/supplier/supplier.service.ts +57 -0
- package/src/app/@modules/inventory-common/supplier/suppliers-list/suppliers-list.component.html +140 -0
- package/src/app/@modules/inventory-common/supplier/suppliers-list/suppliers-list.component.ts +240 -0
- package/src/app/@modules/sidebar-layout/expandable-menu/expandable-menu.component.html +10 -0
- package/src/app/@modules/sidebar-layout/expandable-menu/expandable-menu.component.scss +20 -0
- package/src/app/@modules/sidebar-layout/expandable-menu/expandable-menu.component.ts +24 -0
- package/src/app/@modules/sidebar-layout/menu-item.model.ts +12 -0
- package/src/app/@modules/sidebar-layout/sidebar-administration-menu/sidebar-administration-menu.component.html +26 -0
- package/src/app/@modules/sidebar-layout/sidebar-administration-menu/sidebar-administration-menu.component.ts +23 -0
- package/src/app/@modules/sidebar-layout/sidebar-layout/sidebar-layout.component.html +32 -0
- package/src/app/@modules/sidebar-layout/sidebar-layout/sidebar-layout.component.scss +48 -0
- package/src/app/@modules/sidebar-layout/sidebar-layout/sidebar-layout.component.ts +173 -0
- package/src/app/@modules/sidebar-layout/sidebar-layout-routing.module.ts +52 -0
- package/src/app/@modules/sidebar-layout/sidebar-layout.module.ts +52 -0
- package/src/app/@modules/sidebar-layout/top-menu/top-menu.component.html +85 -0
- package/src/app/@modules/sidebar-layout/top-menu/top-menu.component.scss +0 -0
- package/src/app/@modules/sidebar-layout/top-menu/top-menu.component.ts +46 -0
- package/src/app/@modules/sidebar-layout/top-menu/top-menu.service.ts +29 -0
- package/src/app/@modules/techlify-filter/techlify-filter.component.html +442 -0
- package/src/app/@modules/techlify-filter/techlify-filter.component.scss +0 -0
- package/src/app/@modules/techlify-filter/techlify-filter.component.ts +109 -0
- package/src/app/@modules/techlify-filter/techlify-filter.module.ts +24 -0
- package/src/app/@modules/user/user-layout/user-layout.component.html +15 -0
- package/src/app/@modules/user/user-layout/user-layout.component.scss +0 -0
- package/src/app/@modules/user/user-layout/user-layout.component.ts +12 -0
- package/src/app/@modules/user/user-routing.module.ts +23 -0
- package/src/app/@modules/user/user.module.ts +13 -0
- package/src/app/@modules/user-setting-button/user-setting-button/user-setting-button.component.html +15 -0
- package/src/app/@modules/user-setting-button/user-setting-button/user-setting-button.component.scss +0 -0
- package/src/app/@modules/user-setting-button/user-setting-button/user-setting-button.component.ts +12 -0
- package/src/app/@modules/user-setting-button/user-setting-button.module.ts +20 -0
- package/src/app/app-routing.module.ts +28 -0
- package/src/app/app.component.html +1 -0
- package/src/app/app.component.scss +43 -0
- package/src/app/app.component.spec.ts +18 -0
- package/src/app/app.component.ts +62 -0
- package/src/app/app.module.ts +73 -0
- package/src/app/material.module.ts +95 -0
- package/src/assets/.gitkeep +0 -0
- package/src/assets/images/techlify-logo-xs.png +0 -0
- package/src/assets/product/product-import-sample.csv +1 -0
- package/src/environments/common-environment.ts +36 -0
- package/src/environments/environment.prod.ts +10 -0
- package/src/environments/environment.staging.ts +19 -0
- package/src/environments/environment.ts +18 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +34 -0
- package/src/main.ts +19 -0
- package/src/polyfills.ts +57 -0
- package/src/styles.scss +366 -0
- package/src/test.ts +12 -0
- package/src/theme/theme-variables.scss +132 -0
- package/src/theme/theme.scss +17 -0
- package/src/tsconfig.app.json +15 -0
- package/src/tsconfig.spec.json +14 -0
- package/tsconfig.app.json +17 -0
- package/tsconfig.json +69 -0
- package/tslint.json +130 -0
package/src/styles.scss
ADDED
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Entry point of global application style.
|
|
3
|
+
* Component-specific style should not go here and be included directly as part of the components.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// Theme variables, must be included before the libraries to allow overriding defaults
|
|
7
|
+
@import "theme/theme-variables";
|
|
8
|
+
|
|
9
|
+
button,
|
|
10
|
+
a,
|
|
11
|
+
input {
|
|
12
|
+
outline: none !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
html,
|
|
16
|
+
body {
|
|
17
|
+
font-family: "Inter", sans-serif;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
height: 100%;
|
|
20
|
+
margin: 0;
|
|
21
|
+
background: #fafbfc;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
h1 {
|
|
25
|
+
font-size: 1.5rem !important;
|
|
26
|
+
}
|
|
27
|
+
h3 {
|
|
28
|
+
font-size: 1rem !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.btn-xs {
|
|
32
|
+
font-size: 12px !important;
|
|
33
|
+
padding: 0 5px !important;
|
|
34
|
+
margin: 1px !important;
|
|
35
|
+
line-height: 25px !important;
|
|
36
|
+
|
|
37
|
+
mat-icon {
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
height: 16px;
|
|
40
|
+
width: 16px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.hoverable:hover {
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media print {
|
|
49
|
+
html {
|
|
50
|
+
height: auto !important;
|
|
51
|
+
overflow-x: hidden;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.btn-nano {
|
|
56
|
+
line-height: 19px !important;
|
|
57
|
+
font-size: 12px !important;
|
|
58
|
+
padding: 0 4px !important;
|
|
59
|
+
margin: 1px !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.no-padding .mat-form-field-wrapper {
|
|
63
|
+
padding-bottom: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ui-widget {
|
|
67
|
+
font-size: 12px !important;
|
|
68
|
+
}
|
|
69
|
+
.p-datepicker table td {
|
|
70
|
+
padding: 0 !important;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.ng-trigger-overlayAnimation.p-datepicker {
|
|
74
|
+
z-index: 999999999 !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.inline-loader {
|
|
78
|
+
display: inline-block;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.mat-button-toggle-appearance-standard .mat-button-toggle-label-content {
|
|
82
|
+
line-height: 40px !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.mat-button-toggle-checked {
|
|
86
|
+
background-color: var(--primary-color) !important;
|
|
87
|
+
color: white !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.column-selector {
|
|
91
|
+
.mat-form-field-infix {
|
|
92
|
+
padding: 6px 0 !important;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.mat-icon-button {
|
|
97
|
+
width: 26px !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.color-primary {
|
|
101
|
+
color: var(--primary-color) !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.primary-bg {
|
|
105
|
+
background: var(--primary-color) !important;
|
|
106
|
+
color: white !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.bg-primary-lighter {
|
|
110
|
+
background-color: var(--primary-lighter-color) !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.font-weight-bold {
|
|
114
|
+
font-weight: bold;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.font-xs {
|
|
118
|
+
font-size: 0.75rem;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.font-md {
|
|
122
|
+
font-size: 14px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.h3-icon {
|
|
126
|
+
position: relative;
|
|
127
|
+
top: 6px;
|
|
128
|
+
color: inherit;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.bd-primary {
|
|
132
|
+
border: 1px solid var(--primary-color) !important;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
:host ::ng-deep {
|
|
136
|
+
.white-fill-form .mat-form-field-flex {
|
|
137
|
+
background-color: white !important;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.white-button {
|
|
142
|
+
background-color: white !important;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.small-icon {
|
|
146
|
+
font-size: 18px !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.blink-icon {
|
|
150
|
+
position: relative;
|
|
151
|
+
top: 6px;
|
|
152
|
+
color: inherit;
|
|
153
|
+
animation: blink 2s ease-in infinite;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@keyframes blink {
|
|
157
|
+
from,
|
|
158
|
+
to {
|
|
159
|
+
opacity: 1;
|
|
160
|
+
}
|
|
161
|
+
50% {
|
|
162
|
+
opacity: 0;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.inline-scroll {
|
|
167
|
+
height: 0;
|
|
168
|
+
overflow-y: scroll;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.mat-toolbar {
|
|
172
|
+
color: var(--primary-color) !important;
|
|
173
|
+
background-color: var(--header-bg-color) !important;
|
|
174
|
+
}
|
|
175
|
+
.top-menu-container {
|
|
176
|
+
background: white;
|
|
177
|
+
border-bottom: 1px solid #d9d9d9;
|
|
178
|
+
padding: 6px;
|
|
179
|
+
color: #787486;
|
|
180
|
+
font-size: 18px;
|
|
181
|
+
font-weight: 500;
|
|
182
|
+
margin-left: 0;
|
|
183
|
+
z-index: 1000 !important;
|
|
184
|
+
}
|
|
185
|
+
.filter-container {
|
|
186
|
+
background: white;
|
|
187
|
+
border-bottom: 1px solid #d9d9d9;
|
|
188
|
+
padding: 4px 20px;
|
|
189
|
+
color: #787486;
|
|
190
|
+
z-index: 1000 !important;
|
|
191
|
+
margin-top: 54px;
|
|
192
|
+
position: fixed;
|
|
193
|
+
top: 0;
|
|
194
|
+
width: 100%;
|
|
195
|
+
padding-right: 256px;
|
|
196
|
+
}
|
|
197
|
+
.cursor-pointer {
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
}
|
|
200
|
+
.cursor-move {
|
|
201
|
+
cursor: move;
|
|
202
|
+
}
|
|
203
|
+
.status-pill {
|
|
204
|
+
display: flex;
|
|
205
|
+
width: fit-content;
|
|
206
|
+
height: 32px;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
align-items: center;
|
|
209
|
+
flex-shrink: 0;
|
|
210
|
+
border-radius: 8px;
|
|
211
|
+
font-size: 14px;
|
|
212
|
+
font-style: normal;
|
|
213
|
+
font-weight: 400;
|
|
214
|
+
padding: 4px 24px;
|
|
215
|
+
|
|
216
|
+
.material-icons {
|
|
217
|
+
height: 16px;
|
|
218
|
+
width: 16px;
|
|
219
|
+
font-size: 16px;
|
|
220
|
+
margin: 0 2px;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
.status-pill-sm {
|
|
224
|
+
height: 20px;
|
|
225
|
+
padding: 2px 6px;
|
|
226
|
+
font-size: 10px;
|
|
227
|
+
|
|
228
|
+
.material-symbols-outlined {
|
|
229
|
+
font-size: 15px;
|
|
230
|
+
height: 15px;
|
|
231
|
+
width: 15px;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.status-pending {
|
|
236
|
+
background: rgba(217, 217, 217, 0.2);
|
|
237
|
+
color: #ff7f00;
|
|
238
|
+
}
|
|
239
|
+
.status-ongoing {
|
|
240
|
+
background: rgba(0, 159, 221, 0.2);
|
|
241
|
+
color: #009fdd;
|
|
242
|
+
}
|
|
243
|
+
.status-blocked {
|
|
244
|
+
background: rgba(217, 217, 217, 0.2);
|
|
245
|
+
color: #f5222d;
|
|
246
|
+
}
|
|
247
|
+
.status-completed {
|
|
248
|
+
background: #e5f0cd;
|
|
249
|
+
color: #7cb305;
|
|
250
|
+
}
|
|
251
|
+
.status-approved {
|
|
252
|
+
background: rgba(217, 217, 217, 0.2);
|
|
253
|
+
color: #7cb305;
|
|
254
|
+
}
|
|
255
|
+
.status-light-warn {
|
|
256
|
+
background: #f4c55033;
|
|
257
|
+
color: #757575;
|
|
258
|
+
}
|
|
259
|
+
.status-light-purple {
|
|
260
|
+
background: #5f5aff33;
|
|
261
|
+
color: #757575;
|
|
262
|
+
}
|
|
263
|
+
.status-light-cyan {
|
|
264
|
+
background: #009ffd33;
|
|
265
|
+
color: #757575;
|
|
266
|
+
}
|
|
267
|
+
.status-light-green {
|
|
268
|
+
background: #e5f0cd;
|
|
269
|
+
color: #757575;
|
|
270
|
+
}
|
|
271
|
+
.status-light-orange {
|
|
272
|
+
background: #ff7f0033;
|
|
273
|
+
color: #757575;
|
|
274
|
+
}
|
|
275
|
+
.status-secondary {
|
|
276
|
+
color: #757575;
|
|
277
|
+
background: rgba(217, 217, 217, 0.2);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
app-timeline-filter {
|
|
281
|
+
.mat-form-field {
|
|
282
|
+
width: 100%;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
.text-dark {
|
|
286
|
+
color: rgba(58, 53, 65, 0.87);
|
|
287
|
+
}
|
|
288
|
+
.text-primary {
|
|
289
|
+
color: var(--primary-color) !important;
|
|
290
|
+
}
|
|
291
|
+
// Gap classes
|
|
292
|
+
.gap-1 {
|
|
293
|
+
gap: 0.1rem;
|
|
294
|
+
}
|
|
295
|
+
.gap-2 {
|
|
296
|
+
gap: 0.5rem;
|
|
297
|
+
}
|
|
298
|
+
.gap-3 {
|
|
299
|
+
gap: 1rem;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.btn-secondary,
|
|
303
|
+
.btn-secondary:hover,
|
|
304
|
+
.btn-secondary:focus {
|
|
305
|
+
color: #787486;
|
|
306
|
+
border-radius: 2px;
|
|
307
|
+
background: rgba(217, 217, 217, 0.2);
|
|
308
|
+
}
|
|
309
|
+
.left-nav-container {
|
|
310
|
+
border-left: 1px solid #e0e0e8;
|
|
311
|
+
height: 100%;
|
|
312
|
+
margin-top: -22px;
|
|
313
|
+
padding-top: 15px;
|
|
314
|
+
padding-left: 15px;
|
|
315
|
+
}
|
|
316
|
+
th.mat-header-cell,
|
|
317
|
+
td.mat-cell,
|
|
318
|
+
td.mat-footer-cell {
|
|
319
|
+
padding: 4px !important;
|
|
320
|
+
}
|
|
321
|
+
th.mat-header-cell:first-of-type,
|
|
322
|
+
td.mat-cell:first-of-type,
|
|
323
|
+
td.mat-footer-cell:first-of-type {
|
|
324
|
+
padding-left: 24px !important;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.mat-list-single-selected-option,
|
|
328
|
+
.mat-list-single-selected-option:hover,
|
|
329
|
+
.mat-list-single-selected-option:focus {
|
|
330
|
+
background: var(--primary-color) !important;
|
|
331
|
+
color: white !important;
|
|
332
|
+
}
|
|
333
|
+
.top-menu-icon {
|
|
334
|
+
font-size: 22px;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/*
|
|
338
|
+
Small form-field
|
|
339
|
+
*/
|
|
340
|
+
.form-field-sm {
|
|
341
|
+
width: 100px;
|
|
342
|
+
|
|
343
|
+
.mat-mdc-form-field-infix {
|
|
344
|
+
padding-top: 2px !important;
|
|
345
|
+
padding-bottom: 2px !important;
|
|
346
|
+
min-height: 30px !important;
|
|
347
|
+
}
|
|
348
|
+
.mat-mdc-select-min-line {
|
|
349
|
+
font-size: 12px !important;
|
|
350
|
+
}
|
|
351
|
+
.mat-mdc-form-field-subscript-wrapper {
|
|
352
|
+
height: 0;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.text-wrap {
|
|
357
|
+
word-wrap: break-word !important;
|
|
358
|
+
}
|
|
359
|
+
.secondary-nav {
|
|
360
|
+
background: white;
|
|
361
|
+
border-bottom: 1px solid lightgray;
|
|
362
|
+
position: fixed;
|
|
363
|
+
top: 57px;
|
|
364
|
+
left: 70px;
|
|
365
|
+
z-index: 1000;
|
|
366
|
+
}
|
package/src/test.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/test.ts
|
|
2
|
+
import "zone.js/testing";
|
|
3
|
+
import { getTestBed } from "@angular/core/testing";
|
|
4
|
+
import {
|
|
5
|
+
BrowserDynamicTestingModule,
|
|
6
|
+
platformBrowserDynamicTesting,
|
|
7
|
+
} from "@angular/platform-browser-dynamic/testing";
|
|
8
|
+
|
|
9
|
+
getTestBed().initTestEnvironment(
|
|
10
|
+
BrowserDynamicTestingModule,
|
|
11
|
+
platformBrowserDynamicTesting()
|
|
12
|
+
);
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
|
|
3
|
+
@import "https://fonts.googleapis.com/css?family=Material+Icons";
|
|
4
|
+
@import url("https://fonts.googleapis.com/css?family=Inter:200,300,400,500,600,700");
|
|
5
|
+
|
|
6
|
+
body {
|
|
7
|
+
--header-bg-color: #e8e8e8;
|
|
8
|
+
--primary-color: #009ffd;
|
|
9
|
+
--primary-lighter-color: #454a68;
|
|
10
|
+
--primary-darker-color: #2c2f42;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles.
|
|
14
|
+
// The following line adds:
|
|
15
|
+
// 1. Default typography styles for all components
|
|
16
|
+
// 2. Styles for typography hierarchy classes (e.g. .mat-headline-1)
|
|
17
|
+
// If you specify typography styles for the components you use elsewhere, you should delete this line.
|
|
18
|
+
// If you don't need the default component typographies but still want the hierarchy styles,
|
|
19
|
+
// you can delete this line and instead use:
|
|
20
|
+
// `@include mat.legacy-typography-hierarchy(mat.define-typography-config());`
|
|
21
|
+
@include mat.all-component-typographies();
|
|
22
|
+
@include mat.core();
|
|
23
|
+
|
|
24
|
+
// Set the default typography
|
|
25
|
+
@include mat.all-component-typographies(
|
|
26
|
+
mat.m2-define-typography-config($font-family: "Inter")
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
// Primary colors
|
|
30
|
+
$primary-palette: (
|
|
31
|
+
50: #e0f3ff,
|
|
32
|
+
100: #b3e2fe,
|
|
33
|
+
200: #80cffe,
|
|
34
|
+
300: #4dbcfe,
|
|
35
|
+
400: #26adfd,
|
|
36
|
+
500: #009ffd,
|
|
37
|
+
600: #0097fd,
|
|
38
|
+
700: #008dfc,
|
|
39
|
+
800: #0083fc,
|
|
40
|
+
900: #0072fc,
|
|
41
|
+
A100: #ffffff,
|
|
42
|
+
A200: #eff5ff,
|
|
43
|
+
A400: #bcd6ff,
|
|
44
|
+
A700: #a2c7ff,
|
|
45
|
+
contrast: (
|
|
46
|
+
50: #000000,
|
|
47
|
+
100: #000000,
|
|
48
|
+
200: #000000,
|
|
49
|
+
300: #000000,
|
|
50
|
+
400: #000000,
|
|
51
|
+
500: #ffffff,
|
|
52
|
+
600: #ffffff,
|
|
53
|
+
700: #ffffff,
|
|
54
|
+
800: #ffffff,
|
|
55
|
+
900: #ffffff,
|
|
56
|
+
A100: #000000,
|
|
57
|
+
A200: #000000,
|
|
58
|
+
A400: #000000,
|
|
59
|
+
A700: #000000,
|
|
60
|
+
),
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
$my-custom-typography-config: mat.m2-define-typography-config(
|
|
64
|
+
$font-family: "Inter",
|
|
65
|
+
$headline-1:
|
|
66
|
+
mat.m2-define-typography-level(112px, 112px, 300, $letter-spacing: -0.05em),
|
|
67
|
+
$headline-2:
|
|
68
|
+
mat.m2-define-typography-level(56px, 56px, 400, $letter-spacing: -0.02em),
|
|
69
|
+
$headline-3:
|
|
70
|
+
mat.m2-define-typography-level(45px, 48px, 400, $letter-spacing: -0.005em),
|
|
71
|
+
$headline-4: mat.m2-define-typography-level(34px, 40px, 400),
|
|
72
|
+
$headline-5: mat.m2-define-typography-level(24px, 32px, 400),
|
|
73
|
+
$body-1: mat.m2-define-typography-level(14px, 20px, 400),
|
|
74
|
+
$button: mat.m2-define-typography-level(14px, 16x, 400),
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
:root {
|
|
78
|
+
--mat-form-field-container-height: 40px;
|
|
79
|
+
--mat-form-field-filled-with-label-container-padding-top: 14px;
|
|
80
|
+
--mat-form-field-filled-with-label-container-padding-bottom: 4px;
|
|
81
|
+
--mat-form-field-container-text-line-height: 18px;
|
|
82
|
+
--mat-form-field-container-text-size: 12px;
|
|
83
|
+
--mat-select-trigger-text-line-height: 16px;
|
|
84
|
+
--mat-select-trigger-text-size: 12px;
|
|
85
|
+
--mdc-filled-text-field-label-text-size: 12px;
|
|
86
|
+
--mdc-outlined-text-field-label-text-size: 12px;
|
|
87
|
+
--mat-form-field-subscript-text-line-height: 15px;
|
|
88
|
+
--mat-form-field-subscript-text-size: 10px;
|
|
89
|
+
--mat-form-field-container-vertical-padding: 8px;
|
|
90
|
+
|
|
91
|
+
--mat-option-label-text-line-height: 12px;
|
|
92
|
+
--mat-option-label-text-size: 12px;
|
|
93
|
+
|
|
94
|
+
--mat-expansion-header-expanded-state-height: 40px;
|
|
95
|
+
|
|
96
|
+
.mat-mdc-form-field-subscript-wrapper,
|
|
97
|
+
.mat-mdc-form-field-bottom-align::before {
|
|
98
|
+
margin-top: -2px !important;
|
|
99
|
+
}
|
|
100
|
+
.material-icons,
|
|
101
|
+
.material-symbols-outlined {
|
|
102
|
+
font-size: 20px;
|
|
103
|
+
color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
|
|
104
|
+
}
|
|
105
|
+
.mat-icon {
|
|
106
|
+
height: 20px;
|
|
107
|
+
width: 20px;
|
|
108
|
+
}
|
|
109
|
+
.mat-expansion-panel-body {
|
|
110
|
+
padding: 0 8px 0;
|
|
111
|
+
}
|
|
112
|
+
.mat-typography p {
|
|
113
|
+
padding-bottom: 0;
|
|
114
|
+
}
|
|
115
|
+
.mdc-text-field {
|
|
116
|
+
padding: 0 4px;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Define the default theme
|
|
121
|
+
$default-theme: mat.m2-define-light-theme(
|
|
122
|
+
(
|
|
123
|
+
color: (
|
|
124
|
+
primary: mat.m2-define-palette($primary-palette),
|
|
125
|
+
accent: mat.m2-define-palette(mat.$m2-pink-palette),
|
|
126
|
+
),
|
|
127
|
+
typography: $my-custom-typography-config,
|
|
128
|
+
density: 0,
|
|
129
|
+
)
|
|
130
|
+
);
|
|
131
|
+
|
|
132
|
+
@include mat.all-component-themes($default-theme);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Global application theme.
|
|
3
|
+
* Framework overrides and customization goes here.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// stylelint-disable-next-line selector-max-universal
|
|
7
|
+
* {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
html,
|
|
12
|
+
body {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
margin: 0;
|
|
16
|
+
height: 100%;
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "./tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "./out-tsc/app",
|
|
6
|
+
"types": []
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"src/main.ts",
|
|
10
|
+
"src/polyfills.ts"
|
|
11
|
+
],
|
|
12
|
+
"include": [
|
|
13
|
+
"src/**/*.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "./tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "./out-tsc/spec",
|
|
6
|
+
"types": [
|
|
7
|
+
"jasmine"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"src/**/*.spec.ts",
|
|
12
|
+
"src/**/*.d.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "./tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"esModuleInterop": true,
|
|
6
|
+
"allowSyntheticDefaultImports": true,
|
|
7
|
+
"outDir": "./out-tsc/app",
|
|
8
|
+
"types": []
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"src/main.ts",
|
|
12
|
+
"src/polyfills.ts"
|
|
13
|
+
],
|
|
14
|
+
"include": [
|
|
15
|
+
"src/**/*.d.ts"
|
|
16
|
+
]
|
|
17
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"compileOnSave": false,
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"allowSyntheticDefaultImports": true,
|
|
6
|
+
"outDir": "./dist/out-tsc",
|
|
7
|
+
"forceConsistentCasingInFileNames": true,
|
|
8
|
+
"noImplicitOverride": true,
|
|
9
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
10
|
+
"noImplicitReturns": true,
|
|
11
|
+
"noFallthroughCasesInSwitch": true,
|
|
12
|
+
"sourceMap": true,
|
|
13
|
+
"declaration": false,
|
|
14
|
+
"moduleResolution": "node",
|
|
15
|
+
"downlevelIteration": true,
|
|
16
|
+
"experimentalDecorators": true,
|
|
17
|
+
"importHelpers": true,
|
|
18
|
+
"esModuleInterop": true,
|
|
19
|
+
"allowSyntheticDefaultImports": true,
|
|
20
|
+
"strict": true,
|
|
21
|
+
"target": "es2022",
|
|
22
|
+
"module": "es2022",
|
|
23
|
+
"lib": [
|
|
24
|
+
"es2022",
|
|
25
|
+
"dom"
|
|
26
|
+
],
|
|
27
|
+
"typeRoots": [
|
|
28
|
+
"node_modules/@types"
|
|
29
|
+
],
|
|
30
|
+
"baseUrl": "./",
|
|
31
|
+
"paths": {
|
|
32
|
+
"@app/*": [
|
|
33
|
+
"src/app/*"
|
|
34
|
+
],
|
|
35
|
+
"@shared": [
|
|
36
|
+
"src/app/@shared"
|
|
37
|
+
],
|
|
38
|
+
"@shared/*": [
|
|
39
|
+
"src/app/@shared/*"
|
|
40
|
+
],
|
|
41
|
+
"@env/*": [
|
|
42
|
+
"src/environments/*"
|
|
43
|
+
],
|
|
44
|
+
"@modules": [
|
|
45
|
+
"src/app/@modules"
|
|
46
|
+
],
|
|
47
|
+
"@modules/*": [
|
|
48
|
+
"src/app/@modules/*"
|
|
49
|
+
],
|
|
50
|
+
"@admin": [
|
|
51
|
+
"src/app/@admin"
|
|
52
|
+
],
|
|
53
|
+
"@admin/*": [
|
|
54
|
+
"src/app/@admin/*"
|
|
55
|
+
],
|
|
56
|
+
"inventory-common": [
|
|
57
|
+
"./dist/inventory-common",
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"angularCompilerOptions": {
|
|
62
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
63
|
+
"fullTemplateTypeCheck": true,
|
|
64
|
+
"strictInjectionParameters": true,
|
|
65
|
+
"strictInputAccessModifiers": true,
|
|
66
|
+
"strictTemplates": true,
|
|
67
|
+
"preserveWhitespaces": true
|
|
68
|
+
}
|
|
69
|
+
}
|