Skip to content

Commit

Permalink
Implemented showcase doc for input-number component
Browse files Browse the repository at this point in the history
  • Loading branch information
gjovanovicst committed Dec 3, 2023
1 parent 8d89ba3 commit 77842bf
Show file tree
Hide file tree
Showing 68 changed files with 3,424 additions and 409 deletions.
4 changes: 2 additions & 2 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anywhere-ui/angular",
"version": "0.4.0+24",
"version": "0.4.0+25",
"license": "MIT",
"keywords": [
"anywhere-ui",
Expand Down Expand Up @@ -66,5 +66,5 @@
"tslint": "~6.1.3",
"typescript": "4.9.5"
},
"buildnum": "24"
"buildnum": "25"
}
4 changes: 2 additions & 2 deletions packages/angular/projects/anywhere-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anywhere-ui/angular",
"version": "0.4.0+24",
"version": "0.4.0+25",
"license": "MIT",
"keywords": [
"anywhere-ui",
Expand Down Expand Up @@ -33,5 +33,5 @@
"@anywhere-ui/core": "^0.3.0",
"@anywhere-ui/flex": "^1.0.2"
},
"buildnum": "24"
"buildnum": "25"
}
180 changes: 178 additions & 2 deletions packages/angular/projects/anywhere-ui/src/lib/directives/proxies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,14 @@ export declare interface AnyDropdown extends Components.AnyDropdown {


@ProxyCmp({
inputs: ['aPrefix', 'aSuffix', 'aTitle', 'allowEmpty', 'anyAriaRequired', 'anyStyle', 'anyTabIndex', 'autocomplete', 'buttonLayout', 'currency', 'currencyDisplay', 'decrementButtonClass', 'decrementButtonIcon', 'disabled', 'format', 'incrementButtonClass', 'incrementButtonIcon', 'inputId', 'inputStyle', 'inputStyleClass', 'inputWrapperClass', 'label', 'locale', 'localeMatcher', 'max', 'maxFractionDigits', 'maxlength', 'min', 'minFractionDigits', 'mode', 'name', 'placeholder', 'readonly', 'required', 'showButtons', 'size', 'step', 'styleClass', 'useGrouping', 'value']
inputs: ['aPrefix', 'aSuffix', 'aTitle', 'allowEmpty', 'anyAriaRequired', 'anyStyle', 'anyTabIndex', 'autocomplete', 'buttonLayout', 'currency', 'currencyDisplay', 'decrementButtonClass', 'decrementButtonIcon', 'disabled', 'floatLabel', 'format', 'incrementButtonClass', 'incrementButtonIcon', 'inputId', 'inputStyle', 'inputStyleClass', 'inputWrapperClass', 'label', 'locale', 'localeMatcher', 'max', 'maxFractionDigits', 'maxlength', 'min', 'minFractionDigits', 'mode', 'name', 'placeholder', 'readonly', 'required', 'showButtons', 'size', 'step', 'styleClass', 'useGrouping', 'value']
})
@Component({
selector: 'any-input-number',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['aPrefix', 'aSuffix', 'aTitle', 'allowEmpty', 'anyAriaRequired', 'anyStyle', 'anyTabIndex', 'autocomplete', 'buttonLayout', 'currency', 'currencyDisplay', 'decrementButtonClass', 'decrementButtonIcon', 'disabled', 'format', 'incrementButtonClass', 'incrementButtonIcon', 'inputId', 'inputStyle', 'inputStyleClass', 'inputWrapperClass', 'label', 'locale', 'localeMatcher', 'max', 'maxFractionDigits', 'maxlength', 'min', 'minFractionDigits', 'mode', 'name', 'placeholder', 'readonly', 'required', 'showButtons', 'size', 'step', 'styleClass', 'useGrouping', 'value'],
inputs: ['aPrefix', 'aSuffix', 'aTitle', 'allowEmpty', 'anyAriaRequired', 'anyStyle', 'anyTabIndex', 'autocomplete', 'buttonLayout', 'currency', 'currencyDisplay', 'decrementButtonClass', 'decrementButtonIcon', 'disabled', 'floatLabel', 'format', 'incrementButtonClass', 'incrementButtonIcon', 'inputId', 'inputStyle', 'inputStyleClass', 'inputWrapperClass', 'label', 'locale', 'localeMatcher', 'max', 'maxFractionDigits', 'maxlength', 'min', 'minFractionDigits', 'mode', 'name', 'placeholder', 'readonly', 'required', 'showButtons', 'size', 'step', 'styleClass', 'useGrouping', 'value'],
})
export class AnyInputNumber {
protected el: HTMLElement;
Expand Down Expand Up @@ -1082,6 +1082,182 @@ export class DropdownVirtualScroll {
export declare interface DropdownVirtualScroll extends Components.DropdownVirtualScroll {}


@ProxyCmp({
inputs: ['textId', 'textTitle']
})
@Component({
selector: 'input-number-buttons',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['textId', 'textTitle'],
})
export class InputNumberButtons {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface InputNumberButtons extends Components.InputNumberButtons {}


@ProxyCmp({
inputs: ['textId', 'textTitle']
})
@Component({
selector: 'input-number-currency',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['textId', 'textTitle'],
})
export class InputNumberCurrency {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface InputNumberCurrency extends Components.InputNumberCurrency {}


@ProxyCmp({
inputs: ['textId', 'textTitle']
})
@Component({
selector: 'input-number-disabled',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['textId', 'textTitle'],
})
export class InputNumberDisabled {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface InputNumberDisabled extends Components.InputNumberDisabled {}


@ProxyCmp({
inputs: ['textId', 'textTitle']
})
@Component({
selector: 'input-number-float-label',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['textId', 'textTitle'],
})
export class InputNumberFloatLabel {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface InputNumberFloatLabel extends Components.InputNumberFloatLabel {}


@ProxyCmp({
inputs: ['textId', 'textTitle']
})
@Component({
selector: 'input-number-locale',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['textId', 'textTitle'],
})
export class InputNumberLocale {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface InputNumberLocale extends Components.InputNumberLocale {}


@ProxyCmp({
inputs: ['textId', 'textTitle']
})
@Component({
selector: 'input-number-numeral',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['textId', 'textTitle'],
})
export class InputNumberNumeral {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface InputNumberNumeral extends Components.InputNumberNumeral {}


@ProxyCmp({
inputs: ['textId', 'textTitle']
})
@Component({
selector: 'input-number-prefix-and-suffix',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['textId', 'textTitle'],
})
export class InputNumberPrefixAndSuffix {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface InputNumberPrefixAndSuffix extends Components.InputNumberPrefixAndSuffix {}


@ProxyCmp({
inputs: ['textId', 'textTitle']
})
@Component({
selector: 'input-number-vertical',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['textId', 'textTitle'],
})
export class InputNumberVertical {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}


export declare interface InputNumberVertical extends Components.InputNumberVertical {}


@ProxyCmp({
inputs: ['textId', 'textTitle']
})
Expand Down
74 changes: 37 additions & 37 deletions packages/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 77842bf

Please sign in to comment.