From ed8a05964973a6120ae21107277c8579c64aba84 Mon Sep 17 00:00:00 2001 From: ersimont <8042088+ersimont@users.noreply.github.com> Date: Sat, 15 Dec 2018 13:57:09 -0500 Subject: [PATCH] chore(release): 0.3.0 --- CHANGELOG.md | 9 + docs/typedoc/assets/js/search.js | 2 +- docs/typedoc/classes/autodestroyable.html | 9 +- docs/typedoc/classes/directivesuperclass.html | 1263 +++++++++++++++++ .../classes/formcontrolsuperclass.html | 136 +- .../classes/wrappedformcontrolsuperclass.html | 117 +- docs/typedoc/index.html | 4 + package-lock.json | 2 +- package.json | 2 +- projects/s-ng-utils/package.json | 2 +- 10 files changed, 1522 insertions(+), 24 deletions(-) create mode 100644 docs/typedoc/classes/directivesuperclass.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eb2184..231f531 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + + +# [0.3.0](https://github.com/simontonsoftware/s-ng-utils/compare/v0.2.0...v0.3.0) (2018-12-15) + +### Features + +- `FormControlSuperclass` now extends `DirectiveSuperclass` ([f23a535](https://github.com/simontonsoftware/s-ng-utils/commit/f23a535)) +- add `DirectiveSuperclass` ([b2d0213](https://github.com/simontonsoftware/s-ng-utils/commit/b2d0213)) + # [0.2.0](https://github.com/simontonsoftware/s-ng-utils/compare/v0.1.0...v0.2.0) (2018-11-12) diff --git a/docs/typedoc/assets/js/search.js b/docs/typedoc/assets/js/search.js index bb73c01..e459758 100644 --- a/docs/typedoc/assets/js/search.js +++ b/docs/typedoc/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"32":"Variable","64":"Function","128":"Class","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal"},"rows":[{"id":0,"kind":128,"name":"AutoDestroyable","url":"classes/autodestroyable.html","classes":"tsd-kind-class"},{"id":1,"kind":2048,"name":"ngOnDestroy","url":"classes/autodestroyable.html#ngondestroy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"AutoDestroyable"},{"id":2,"kind":2048,"name":"subscribeTo","url":"classes/autodestroyable.html#subscribeto","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"AutoDestroyable"},{"id":3,"kind":2048,"name":"unsubscribe","url":"classes/autodestroyable.html#unsubscribe","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"AutoDestroyable"},{"id":4,"kind":128,"name":"FormControlSuperclass","url":"classes/formcontrolsuperclass.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":5,"kind":1024,"name":"emitOutgoingValue","url":"classes/formcontrolsuperclass.html#emitoutgoingvalue","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":6,"kind":65536,"name":"__type","url":"classes/formcontrolsuperclass.html#emitoutgoingvalue.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"FormControlSuperclass.emitOutgoingValue"},{"id":7,"kind":1024,"name":"onTouched","url":"classes/formcontrolsuperclass.html#ontouched","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":8,"kind":1024,"name":"isDisabled","url":"classes/formcontrolsuperclass.html#isdisabled","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":9,"kind":512,"name":"constructor","url":"classes/formcontrolsuperclass.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":10,"kind":2048,"name":"handleIncomingValue","url":"classes/formcontrolsuperclass.html#handleincomingvalue","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":11,"kind":2048,"name":"writeValue","url":"classes/formcontrolsuperclass.html#writevalue","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":12,"kind":2048,"name":"registerOnChange","url":"classes/formcontrolsuperclass.html#registeronchange","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":13,"kind":2048,"name":"registerOnTouched","url":"classes/formcontrolsuperclass.html#registerontouched","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":14,"kind":2048,"name":"setDisabledState","url":"classes/formcontrolsuperclass.html#setdisabledstate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":15,"kind":2048,"name":"ngOnDestroy","url":"classes/formcontrolsuperclass.html#ngondestroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"FormControlSuperclass"},{"id":16,"kind":2048,"name":"subscribeTo","url":"classes/formcontrolsuperclass.html#subscribeto","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"FormControlSuperclass"},{"id":17,"kind":2048,"name":"unsubscribe","url":"classes/formcontrolsuperclass.html#unsubscribe","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"FormControlSuperclass"},{"id":18,"kind":64,"name":"provideValueAccessor","url":"index.html#providevalueaccessor","classes":"tsd-kind-function"},{"id":19,"kind":128,"name":"WrappedFormControlSuperclass","url":"classes/wrappedformcontrolsuperclass.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":20,"kind":1024,"name":"formControl","url":"classes/wrappedformcontrolsuperclass.html#formcontrol","classes":"tsd-kind-property tsd-parent-kind-class","parent":"WrappedFormControlSuperclass"},{"id":21,"kind":512,"name":"constructor","url":"classes/wrappedformcontrolsuperclass.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"WrappedFormControlSuperclass"},{"id":22,"kind":2048,"name":"handleIncomingValue","url":"classes/wrappedformcontrolsuperclass.html#handleincomingvalue","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"WrappedFormControlSuperclass"},{"id":23,"kind":2048,"name":"setDisabledState","url":"classes/wrappedformcontrolsuperclass.html#setdisabledstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"WrappedFormControlSuperclass"},{"id":24,"kind":2048,"name":"outerToInner","url":"classes/wrappedformcontrolsuperclass.html#outertoinner","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"WrappedFormControlSuperclass"},{"id":25,"kind":2048,"name":"innerToOuter","url":"classes/wrappedformcontrolsuperclass.html#innertoouter","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"WrappedFormControlSuperclass"},{"id":26,"kind":1024,"name":"emitOutgoingValue","url":"classes/wrappedformcontrolsuperclass.html#emitoutgoingvalue","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":27,"kind":65536,"name":"__type","url":"classes/wrappedformcontrolsuperclass.html#emitoutgoingvalue.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"WrappedFormControlSuperclass.emitOutgoingValue"},{"id":28,"kind":1024,"name":"onTouched","url":"classes/wrappedformcontrolsuperclass.html#ontouched","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":29,"kind":1024,"name":"isDisabled","url":"classes/wrappedformcontrolsuperclass.html#isdisabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":30,"kind":2048,"name":"writeValue","url":"classes/wrappedformcontrolsuperclass.html#writevalue","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":31,"kind":2048,"name":"registerOnChange","url":"classes/wrappedformcontrolsuperclass.html#registeronchange","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":32,"kind":2048,"name":"registerOnTouched","url":"classes/wrappedformcontrolsuperclass.html#registerontouched","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":33,"kind":2048,"name":"ngOnDestroy","url":"classes/wrappedformcontrolsuperclass.html#ngondestroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":34,"kind":2048,"name":"subscribeTo","url":"classes/wrappedformcontrolsuperclass.html#subscribeto","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":35,"kind":2048,"name":"unsubscribe","url":"classes/wrappedformcontrolsuperclass.html#unsubscribe","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":36,"kind":32,"name":"require","url":"index.html#require","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":37,"kind":32,"name":"context","url":"index.html#context","classes":"tsd-kind-variable tsd-is-not-exported"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"32":"Variable","64":"Function","128":"Class","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal"},"rows":[{"id":0,"kind":128,"name":"AutoDestroyable","url":"classes/autodestroyable.html","classes":"tsd-kind-class"},{"id":1,"kind":2048,"name":"ngOnDestroy","url":"classes/autodestroyable.html#ngondestroy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"AutoDestroyable"},{"id":2,"kind":2048,"name":"subscribeTo","url":"classes/autodestroyable.html#subscribeto","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"AutoDestroyable"},{"id":3,"kind":2048,"name":"unsubscribe","url":"classes/autodestroyable.html#unsubscribe","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"AutoDestroyable"},{"id":4,"kind":128,"name":"DirectiveSuperclass","url":"classes/directivesuperclass.html","classes":"tsd-kind-class"},{"id":5,"kind":1024,"name":"changedKeys$","url":"classes/directivesuperclass.html#changedkeys_","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DirectiveSuperclass"},{"id":6,"kind":1024,"name":"changeDetectorRef","url":"classes/directivesuperclass.html#changedetectorref","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"DirectiveSuperclass"},{"id":7,"kind":512,"name":"constructor","url":"classes/directivesuperclass.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"DirectiveSuperclass"},{"id":8,"kind":2048,"name":"ngOnChanges","url":"classes/directivesuperclass.html#ngonchanges","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DirectiveSuperclass"},{"id":9,"kind":2048,"name":"getInput$","url":"classes/directivesuperclass.html#getinput_","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DirectiveSuperclass"},{"id":10,"kind":2048,"name":"bindToInstance","url":"classes/directivesuperclass.html#bindtoinstance","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DirectiveSuperclass"},{"id":11,"kind":2048,"name":"ngOnDestroy","url":"classes/directivesuperclass.html#ngondestroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DirectiveSuperclass"},{"id":12,"kind":2048,"name":"subscribeTo","url":"classes/directivesuperclass.html#subscribeto","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"DirectiveSuperclass"},{"id":13,"kind":2048,"name":"unsubscribe","url":"classes/directivesuperclass.html#unsubscribe","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DirectiveSuperclass"},{"id":14,"kind":128,"name":"FormControlSuperclass","url":"classes/formcontrolsuperclass.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":15,"kind":1024,"name":"emitOutgoingValue","url":"classes/formcontrolsuperclass.html#emitoutgoingvalue","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":16,"kind":65536,"name":"__type","url":"classes/formcontrolsuperclass.html#emitoutgoingvalue.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"FormControlSuperclass.emitOutgoingValue"},{"id":17,"kind":1024,"name":"onTouched","url":"classes/formcontrolsuperclass.html#ontouched","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":18,"kind":1024,"name":"isDisabled","url":"classes/formcontrolsuperclass.html#isdisabled","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":19,"kind":2048,"name":"handleIncomingValue","url":"classes/formcontrolsuperclass.html#handleincomingvalue","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":20,"kind":2048,"name":"writeValue","url":"classes/formcontrolsuperclass.html#writevalue","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":21,"kind":2048,"name":"registerOnChange","url":"classes/formcontrolsuperclass.html#registeronchange","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":22,"kind":2048,"name":"registerOnTouched","url":"classes/formcontrolsuperclass.html#registerontouched","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":23,"kind":2048,"name":"setDisabledState","url":"classes/formcontrolsuperclass.html#setdisabledstate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"FormControlSuperclass"},{"id":24,"kind":1024,"name":"changedKeys$","url":"classes/formcontrolsuperclass.html#changedkeys_","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"FormControlSuperclass"},{"id":25,"kind":1024,"name":"changeDetectorRef","url":"classes/formcontrolsuperclass.html#changedetectorref","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"FormControlSuperclass"},{"id":26,"kind":512,"name":"constructor","url":"classes/formcontrolsuperclass.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"FormControlSuperclass"},{"id":27,"kind":2048,"name":"ngOnChanges","url":"classes/formcontrolsuperclass.html#ngonchanges","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"FormControlSuperclass"},{"id":28,"kind":2048,"name":"getInput$","url":"classes/formcontrolsuperclass.html#getinput_","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"FormControlSuperclass"},{"id":29,"kind":2048,"name":"bindToInstance","url":"classes/formcontrolsuperclass.html#bindtoinstance","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"FormControlSuperclass"},{"id":30,"kind":2048,"name":"ngOnDestroy","url":"classes/formcontrolsuperclass.html#ngondestroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"FormControlSuperclass"},{"id":31,"kind":2048,"name":"subscribeTo","url":"classes/formcontrolsuperclass.html#subscribeto","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"FormControlSuperclass"},{"id":32,"kind":2048,"name":"unsubscribe","url":"classes/formcontrolsuperclass.html#unsubscribe","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"FormControlSuperclass"},{"id":33,"kind":64,"name":"provideValueAccessor","url":"index.html#providevalueaccessor","classes":"tsd-kind-function"},{"id":34,"kind":128,"name":"WrappedFormControlSuperclass","url":"classes/wrappedformcontrolsuperclass.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":35,"kind":1024,"name":"formControl","url":"classes/wrappedformcontrolsuperclass.html#formcontrol","classes":"tsd-kind-property tsd-parent-kind-class","parent":"WrappedFormControlSuperclass"},{"id":36,"kind":512,"name":"constructor","url":"classes/wrappedformcontrolsuperclass.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"WrappedFormControlSuperclass"},{"id":37,"kind":2048,"name":"handleIncomingValue","url":"classes/wrappedformcontrolsuperclass.html#handleincomingvalue","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"WrappedFormControlSuperclass"},{"id":38,"kind":2048,"name":"setDisabledState","url":"classes/wrappedformcontrolsuperclass.html#setdisabledstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"WrappedFormControlSuperclass"},{"id":39,"kind":2048,"name":"outerToInner","url":"classes/wrappedformcontrolsuperclass.html#outertoinner","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"WrappedFormControlSuperclass"},{"id":40,"kind":2048,"name":"innerToOuter","url":"classes/wrappedformcontrolsuperclass.html#innertoouter","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"WrappedFormControlSuperclass"},{"id":41,"kind":1024,"name":"emitOutgoingValue","url":"classes/wrappedformcontrolsuperclass.html#emitoutgoingvalue","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":42,"kind":65536,"name":"__type","url":"classes/wrappedformcontrolsuperclass.html#emitoutgoingvalue.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"WrappedFormControlSuperclass.emitOutgoingValue"},{"id":43,"kind":1024,"name":"onTouched","url":"classes/wrappedformcontrolsuperclass.html#ontouched","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":44,"kind":1024,"name":"isDisabled","url":"classes/wrappedformcontrolsuperclass.html#isdisabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":45,"kind":2048,"name":"writeValue","url":"classes/wrappedformcontrolsuperclass.html#writevalue","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":46,"kind":2048,"name":"registerOnChange","url":"classes/wrappedformcontrolsuperclass.html#registeronchange","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":47,"kind":2048,"name":"registerOnTouched","url":"classes/wrappedformcontrolsuperclass.html#registerontouched","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":48,"kind":1024,"name":"changedKeys$","url":"classes/wrappedformcontrolsuperclass.html#changedkeys_","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":49,"kind":1024,"name":"changeDetectorRef","url":"classes/wrappedformcontrolsuperclass.html#changedetectorref","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"WrappedFormControlSuperclass"},{"id":50,"kind":2048,"name":"ngOnChanges","url":"classes/wrappedformcontrolsuperclass.html#ngonchanges","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":51,"kind":2048,"name":"getInput$","url":"classes/wrappedformcontrolsuperclass.html#getinput_","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":52,"kind":2048,"name":"bindToInstance","url":"classes/wrappedformcontrolsuperclass.html#bindtoinstance","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":53,"kind":2048,"name":"ngOnDestroy","url":"classes/wrappedformcontrolsuperclass.html#ngondestroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":54,"kind":2048,"name":"subscribeTo","url":"classes/wrappedformcontrolsuperclass.html#subscribeto","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":55,"kind":2048,"name":"unsubscribe","url":"classes/wrappedformcontrolsuperclass.html#unsubscribe","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"WrappedFormControlSuperclass"},{"id":56,"kind":32,"name":"require","url":"index.html#require","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":57,"kind":32,"name":"context","url":"index.html#context","classes":"tsd-kind-variable tsd-is-not-exported"}]}; \ No newline at end of file diff --git a/docs/typedoc/classes/autodestroyable.html b/docs/typedoc/classes/autodestroyable.html index 5e20bee..e3edd18 100644 --- a/docs/typedoc/classes/autodestroyable.html +++ b/docs/typedoc/classes/autodestroyable.html @@ -888,6 +888,9 @@ +
  • + DirectiveSuperclass +
  • FormControlSuperclass
  • @@ -913,8 +916,8 @@

    Use as the superclass for anything managed by angular's dependency injection for care-free use of subscribeTo(). It simply calls unsubscribe() during ngOnDestroy(). If you override ngOnDestroy() in your subclass, be sure to invoke the super implementation.

    @Injectable()
    -// or @Component()
    -// or @Directive()
    +// or @Component() (also consider DirectiveSuperclass)
    +// or @Directive() (also consider DirectiveSuperclass)
     // or @Pipe()
     class MyThing extends AutoDestroyable {
       constructor(somethingObservable: Observable) {
    @@ -939,7 +942,7 @@ 

    Hierarchy

    AutoDestroyable diff --git a/docs/typedoc/classes/directivesuperclass.html b/docs/typedoc/classes/directivesuperclass.html new file mode 100644 index 0000000..a3cb0b8 --- /dev/null +++ b/docs/typedoc/classes/directivesuperclass.html @@ -0,0 +1,1263 @@ + + + + + + DirectiveSuperclass | s-ng-utils + + + + + +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    +
    +

    Extend this when creating a directive (including a component, which is a kind of directive) to gain access to the helpers demonstrated below. Warning: You must include a constructor in your subclass.

    +
    +
    @Component({
    +  selector: "s-color-text",
    +  template: `
    +    <span [style.background]="color">{{ color }}</span>
    +  `,
    +  // note that `bindToInstance()` works even with OnPush change detection
    +  changeDetection: ChangeDetectionStrategy.OnPush,
    +})
    + class ColorTextComponent extends DirectiveSuperclass {
    +  @Input() prefix?: string;
    +  @Input() prefix2?: string;
    +  color!: string;
    +
    +  // Even if you don't need extra arguments injector, you must still include a constructor. It is required for angular to provide `Injector`.
    +  constructor(
    +    @Inject("color$") color$: Observable<string>,
    +    injector: Injector,
    +  ) {
    +    super(injector);
    +
    +    // combine everything to calculate `color` and keep it up to date
    +    this.bindToInstance(
    +      "color",
    +      combineLatest(
    +        this.getInput$("prefix"),
    +        this.getInput$("prefix2"),
    +        color$,
    +      ).pipe(map((parts) => parts.filter((p) => p).join(""))),
    +    );
    +  }
    +}
    +
    +
    +
    +

    Hierarchy

    + +
    +
    +

    Implements

    +
      +
    • Unsubscribable
    • +
    • OnDestroy
    • +
    • OnChanges
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Constructors

    + +
    +
    +

    Properties

    + +
    +
    +

    Methods

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    + + +
    +
    +
    +

    Properties

    +
    + +

    Protected changeDetectorRef

    +
    changeDetectorRef: ChangeDetectorRef
    + +
    +
    + +

    changedKeys$

    +
    changedKeys$: Subject<Set<keyof this>> = new Subject<Set<keyof this>>()
    + +
    +
    +

    Emits the set of @Input() property names that change during each call to ngOnChanges().

    +
    +
    +
    +
    +
    +

    Methods

    +
    + +

    bindToInstance

    +
      +
    • bindToInstance<K>(key: K, value$: Observable<this[K]>): void
    • +
    +
      +
    • + +
      +
      +

      Binds an observable to one of this directive's instance variables. When the observable emits the instance variable will be updated, and change detection will be triggered to propagate any changes. Use this an an alternative to repeating | async multiple times in your template.

      +
      +
      +
    • +
    +
    +
    + +

    getInput$

    +
      +
    • getInput$<K>(key: K): Observable<this[K]>
    • +
    + +
    +
    + +

    ngOnChanges

    +
      +
    • ngOnChanges(changes: SimpleChanges): void
    • +
    + +
    +
    + +

    ngOnDestroy

    +
      +
    • ngOnDestroy(): void
    • +
    + +
    +
    + +

    subscribeTo

    +
      +
    • subscribeTo<T>(observable: Observable<T>, next?: undefined | function, error?: undefined | function, complete?: undefined | function): void
    • +
    +
      +
    • + +
    • +
    +
    +
    + +

    unsubscribe

    +
      +
    • unsubscribe(): void
    • +
    +
      +
    • + +
    • +
    +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    +
    + + + + \ No newline at end of file diff --git a/docs/typedoc/classes/formcontrolsuperclass.html b/docs/typedoc/classes/formcontrolsuperclass.html index 52b52e7..c560c70 100644 --- a/docs/typedoc/classes/formcontrolsuperclass.html +++ b/docs/typedoc/classes/formcontrolsuperclass.html @@ -877,12 +877,21 @@
  • AutoDestroyable
  • +
  • + DirectiveSuperclass +
  • FormControlSuperclass