0.0.78 • Published 3 days ago

@ppwcode/ng-common v0.0.78

Weekly downloads
-
License
-
Repository
-
Last release
3 days ago

NgCommon

This library was generated with Angular CLI version 16.2.0.

Code scaffolding

Run ng generate component component-name --project ng-common to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-common.

Note: Don't forget to add --project ng-common or else it will be added to the default project in your angular.json file.

Build

Run ng build ng-common to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build ng-common, go to the dist folder cd dist/ng-common and run npm publish.

Running unit tests

Run ng test ng-common to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

Library contents

Mixins

Constructor

Defines a constructable type.

Handle subscriptions

Mixin to extend the given constructable with functionality to manage subscriptions. Provides the following:

  • A function to wrap a stream with the PPW way of subscription handling.
  • An ngOnDestroy implementation to automatically unsubscribe to all known subscriptions.

Track pending

Enhances the given base class with functionality for tracking a "pending" state. The initial state of the pending situation is "true".

Pipes

PpwApiTranslate

A pipe to translate properties of type PpwTranslationMap that come from the API to the current active locale.

RXJS Operators

TruthyFilter

An operator that only continues the stream when the incoming result is truthy

TruthyFirst

An operator that only continues the stream when the first incoming result is truthy

0.0.77

3 days ago

0.0.78

3 days ago

0.0.76

8 days ago

0.0.75

1 month ago

0.0.74

1 month ago

0.0.73

2 months ago

0.0.72

2 months ago

0.0.71

3 months ago

0.0.70

3 months ago

0.0.69

3 months ago

0.0.68

3 months ago

0.0.67

4 months ago

0.0.66

4 months ago

0.0.65

5 months ago

0.0.63

5 months ago

0.0.64

5 months ago

0.0.62

5 months ago

0.0.60

5 months ago

0.0.61

5 months ago

0.0.59

5 months ago

0.0.58

5 months ago

0.0.57

5 months ago

0.0.56

5 months ago

0.0.55

5 months ago

0.0.54

5 months ago

0.0.53

6 months ago

0.0.52

6 months ago

0.0.51

6 months ago

0.0.50

6 months ago

0.0.49

6 months ago

0.0.48

6 months ago

0.0.47

6 months ago

0.0.46

6 months ago

0.0.45

6 months ago

0.0.44

7 months ago

0.0.43

7 months ago

0.0.42

7 months ago

0.0.41

7 months ago

0.0.40

7 months ago

0.0.39

7 months ago

0.0.38

7 months ago

0.0.37

7 months ago

0.0.36

7 months ago

0.0.35

8 months ago

0.0.34

8 months ago

0.0.33

8 months ago

0.0.31

8 months ago

0.0.30

8 months ago

0.0.29

8 months ago

0.0.28

8 months ago

0.0.27

8 months ago

0.0.26

8 months ago

0.0.25

8 months ago

0.0.24

8 months ago

0.0.23

8 months ago

0.0.22

8 months ago

0.0.21

8 months ago

0.0.20

8 months ago

0.0.19

8 months ago

0.0.18

8 months ago

0.0.17

8 months ago

0.0.16

8 months ago

0.0.15

8 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago