# NgFluentOrderTracker **Repository Path**: mirrors_RbkGh/NgFluentOrderTracker ## Basic Information - **Project Name**: NgFluentOrderTracker - **Description**: Your one-stop beautiful order tracker component for angular. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-07-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # NgFluentOrderTracker - Your one-stop beautiful order tracker component for angular apps Github Url : ================= [https://github.com/RbkGh/NgFluentOrderTracker](https://github.com/RbkGh/NgFluentOrderTracker) Demo ================= ![](https://github.com/RbkGh/NgFluentOrderTracker/raw/master/demo/demoimage.png) Table of contents ================= * [Getting started & Usage](#getting-started) * [Contributing](#contributing) * [Development](#contributing) ## Getting started & Usage ### Step 1: Install `ng-fluent-order-tracker`: ```shell npm i ng-fluent-order-tracker ``` ### Step 2: (i) Import the FluentOrderTrackerModule by including it in its @NgModule imports array: ```js import {FluentOrderTrackerModule} from './modules/fluent-order-tracker/fluent-order-tracker.module'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, FluentOrderTrackerModule ], providers: [], bootstrap: [AppComponent] }) export class AppModule { } ``` ### Step 2 (ii) initialize orderEntities in your component.Eg : ```js import {Component, OnInit} from '@angular/core'; import {OrderEntity} from './modules/fluent-order-tracker/models/order-entity'; import {OrderState} from './modules/fluent-order-tracker/models/order-state.enum'; import {OrderStateTextUtil} from './modules/fluent-order-tracker/util/order-state-text.enum'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent implements OnInit { orderEntities: Array = []; ngOnInit(): void { this.initOrderEntities(); } initOrderEntities() { const orderEntityProcessed: OrderEntity = {} as OrderEntity; orderEntityProcessed.orderState = OrderState.COMPLETED; orderEntityProcessed.orderStateText = OrderStateTextUtil.ORDER_PROCESSED; const orderEntityApproved: OrderEntity = {} as OrderEntity; orderEntityApproved.orderState = OrderState.DECLINED; orderEntityApproved.orderStateText = OrderStateTextUtil.ORDER_DECLINED; const orderEntityShipped: OrderEntity = {} as OrderEntity; orderEntityShipped.orderState = OrderState.TODO; orderEntityShipped.orderStateText = OrderStateTextUtil.ORDER_SHIPPED; const orderEntityInTransit: OrderEntity = {} as OrderEntity; orderEntityInTransit.orderState = OrderState.COMPLETED; orderEntityInTransit.orderStateText = OrderStateTextUtil.ORDER_IN_TRANSIT; const orderEntityDelivered: OrderEntity = {} as OrderEntity; orderEntityDelivered.orderState = OrderState.COMPLETED; orderEntityDelivered.orderStateText = OrderStateTextUtil.ORDER_DELIVERED; this.orderEntities.push(orderEntityProcessed); this.orderEntities.push(orderEntityApproved); this.orderEntities.push(orderEntityShipped); this.orderEntities.push(orderEntityInTransit); this.orderEntities.push(orderEntityDelivered); } } ``` ### Step 3 : Use the selector in a component template : ```html ``` # checkout how to populate orderEntities in app.component.ts for more details ## Contributing Contributions are welcome. You can start by looking at [issues](https://github.com/RbkGh/NgFluentOrderTracker/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) with label *Help wanted* or creating new Issue with proposal or bug report. Note that we are using https://conventionalcommits.org/ commits format. ## Development ```npm run packagr``` ```npm pack ``` in dist folder ```npm login``` ```npm publish dist``` ## Inspiration This library is inspired by [Order Status Tracking](https://codepen.io/manit/pen/uFnJw) ## Warning Library is under active development and may have API breaking changes for subsequent major versions after 1.0.0. Author(s) --------- - Rodney Boachie ### License: Copyright (C) 2018 Rodney Boachie This file is part of NgFluentOrderTracker NgFluentOrderTracker 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 .