Icard/angular-clarity-master(work.../node_modules/primeng/esm2022/spinner/spinner.mjs

447 lines
49 KiB
JavaScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
import { NgModule, Component, Input, Output, EventEmitter, forwardRef, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, booleanAttribute, numberAttribute } from '@angular/core';
import { CommonModule } from '@angular/common';
import { InputTextModule } from 'primeng/inputtext';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
export const SPINNER_VALUE_ACCESSOR = {
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() => Spinner),
multi: true
};
export class Spinner {
el;
cd;
onChange = new EventEmitter();
onFocus = new EventEmitter();
onBlur = new EventEmitter();
min;
max;
maxlength;
size;
placeholder;
inputId;
disabled;
readonly;
tabindex;
required;
name;
ariaLabelledBy;
inputStyle;
inputStyleClass;
formatInput;
decimalSeparator;
thousandSeparator;
precision;
value;
_step = 1;
formattedValue;
onModelChange = () => { };
onModelTouched = () => { };
keyPattern = /[0-9\+\-]/;
timer;
focus;
filled;
negativeSeparator = '-';
localeDecimalSeparator;
localeThousandSeparator;
thousandRegExp;
calculatedPrecision;
inputfieldViewChild;
get step() {
return this._step;
}
set step(val) {
this._step = val;
if (this._step != null) {
let tokens = this.step.toString().split(/[,]|[.]/);
this.calculatedPrecision = tokens[1] ? tokens[1].length : undefined;
}
}
constructor(el, cd) {
this.el = el;
this.cd = cd;
}
ngOnInit() {
if (this.formatInput) {
this.localeDecimalSeparator = (1.1).toLocaleString().substring(1, 2);
this.localeThousandSeparator = (1000).toLocaleString().substring(1, 2);
this.thousandRegExp = new RegExp(`[${this.thousandSeparator || this.localeThousandSeparator}]`, 'gim');
if (this.decimalSeparator && this.thousandSeparator && this.decimalSeparator === this.thousandSeparator) {
console.warn('thousandSeparator and decimalSeparator cannot have the same value.');
}
}
}
repeat(event, interval, dir) {
let i = interval || 500;
this.clearTimer();
this.timer = setTimeout(() => {
this.repeat(event, 40, dir);
}, i);
this.spin(event, dir);
}
spin(event, dir) {
let step = this.step * dir;
let currentValue;
let precision = this.getPrecision();
if (this.value)
currentValue = typeof this.value === 'string' ? this.parseValue(this.value) : this.value;
else
currentValue = 0;
if (precision)
this.value = parseFloat(this.toFixed(currentValue + step, precision));
else
this.value = currentValue + step;
if (this.maxlength !== undefined && this.value.toString().length > this.maxlength) {
this.value = currentValue;
}
if (this.min !== undefined && this.value < this.min) {
this.value = this.min;
}
if (this.max !== undefined && this.value > this.max) {
this.value = this.max;
}
this.formatValue();
this.onModelChange(this.value);
this.onChange.emit(event);
}
getPrecision() {
return this.precision === undefined ? this.calculatedPrecision : this.precision;
}
toFixed(value, precision) {
let power = Math.pow(10, precision || 0);
return String(Math.round(value * power) / power);
}
onUpButtonMousedown(event) {
if (!this.disabled) {
this.inputfieldViewChild.nativeElement.focus();
this.repeat(event, null, 1);
this.updateFilledState();
event.preventDefault();
}
}
onUpButtonMouseup(event) {
if (!this.disabled) {
this.clearTimer();
}
}
onUpButtonMouseleave(event) {
if (!this.disabled) {
this.clearTimer();
}
}
onDownButtonMousedown(event) {
if (!this.disabled) {
this.inputfieldViewChild.nativeElement.focus();
this.repeat(event, null, -1);
this.updateFilledState();
event.preventDefault();
}
}
onDownButtonMouseup(event) {
if (!this.disabled) {
this.clearTimer();
}
}
onDownButtonMouseleave(event) {
if (!this.disabled) {
this.clearTimer();
}
}
onInputKeydown(event) {
if (event.which == 38) {
this.spin(event, 1);
event.preventDefault();
}
else if (event.which == 40) {
this.spin(event, -1);
event.preventDefault();
}
}
onInputChange(event) {
this.onChange.emit(event);
}
onInput(event) {
this.value = this.parseValue(event.target.value);
this.onModelChange(this.value);
this.updateFilledState();
}
onInputBlur(event) {
this.focus = false;
this.formatValue();
this.onModelTouched();
this.onBlur.emit(event);
}
onInputFocus(event) {
this.focus = true;
this.onFocus.emit(event);
}
parseValue(val) {
let value;
let precision = this.getPrecision();
if (val.trim() === '') {
value = null;
}
else {
if (this.formatInput) {
val = val.replace(this.thousandRegExp, '');
}
if (precision) {
val = this.formatInput ? val.replace(this.decimalSeparator || this.localeDecimalSeparator, '.') : val.replace(',', '.');
value = parseFloat(val);
}
else {
value = parseInt(val, 10);
}
if (!isNaN(value)) {
if (this.max !== null && value > this.max) {
value = this.max;
}
if (this.min !== null && value < this.min) {
value = this.min;
}
}
else {
value = null;
}
}
return value;
}
formatValue() {
let value = this.value;
let precision = this.getPrecision();
if (value != null) {
if (this.formatInput) {
value = value.toLocaleString(undefined, { maximumFractionDigits: 20 });
if (this.decimalSeparator && this.thousandSeparator) {
value = value.split(this.localeDecimalSeparator);
if (precision && value[1]) {
value[1] = (this.decimalSeparator || this.localeDecimalSeparator) + value[1];
}
if (this.thousandSeparator && value[0].length > 3) {
value[0] = value[0].replace(new RegExp(`[${this.localeThousandSeparator}]`, 'gim'), this.thousandSeparator);
}
value = value.join('');
}
}
this.formattedValue = value.toString();
}
else {
this.formattedValue = null;
}
if (this.inputfieldViewChild && this.inputfieldViewChild.nativeElement) {
this.inputfieldViewChild.nativeElement.value = this.formattedValue;
}
}
clearTimer() {
if (this.timer) {
clearInterval(this.timer);
}
}
writeValue(value) {
this.value = value;
this.formatValue();
this.updateFilledState();
this.cd.markForCheck();
}
registerOnChange(fn) {
this.onModelChange = fn;
}
registerOnTouched(fn) {
this.onModelTouched = fn;
}
setDisabledState(val) {
this.disabled = val;
this.cd.markForCheck();
}
updateFilledState() {
this.filled = this.value !== undefined && this.value != null;
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: Spinner, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.7", type: Spinner, selector: "p-spinner", inputs: { min: ["min", "min", numberAttribute], max: ["max", "max", numberAttribute], maxlength: ["maxlength", "maxlength", numberAttribute], size: ["size", "size", numberAttribute], placeholder: "placeholder", inputId: "inputId", disabled: ["disabled", "disabled", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], tabindex: ["tabindex", "tabindex", numberAttribute], required: ["required", "required", booleanAttribute], name: "name", ariaLabelledBy: "ariaLabelledBy", inputStyle: "inputStyle", inputStyleClass: "inputStyleClass", formatInput: ["formatInput", "formatInput", booleanAttribute], decimalSeparator: "decimalSeparator", thousandSeparator: "thousandSeparator", precision: ["precision", "precision", numberAttribute], step: "step" }, outputs: { onChange: "onChange", onFocus: "onFocus", onBlur: "onBlur" }, host: { properties: { "class.ui-inputwrapper-filled": "filled", "class.ui-inputwrapper-focus": "focus" }, classAttribute: "p-element" }, providers: [SPINNER_VALUE_ACCESSOR], viewQueries: [{ propertyName: "inputfieldViewChild", first: true, predicate: ["inputfield"], descendants: true }], ngImport: i0, template: `
<span class="ui-spinner ui-widget ui-corner-all">
<input
#inputfield
type="text"
[attr.id]="inputId"
[value]="formattedValue || null"
[attr.name]="name"
[attr.aria-valumin]="min"
[attr.aria-valuemax]="max"
[attr.aria-valuenow]="value"
[attr.aria-labelledby]="ariaLabelledBy"
[attr.size]="size"
[attr.maxlength]="maxlength"
[attr.tabindex]="tabindex"
[attr.placeholder]="placeholder"
[disabled]="disabled"
[readonly]="readonly"
[attr.required]="required"
(keydown)="onInputKeydown($event)"
(blur)="onInputBlur($event)"
(input)="onInput($event)"
(change)="onInputChange($event)"
(focus)="onInputFocus($event)"
[ngStyle]="inputStyle"
[class]="inputStyleClass"
[ngClass]="'ui-spinner-input ui-inputtext ui-widget ui-state-default ui-corner-all'"
/>
<button
type="button"
[ngClass]="{ 'ui-spinner-button ui-spinner-up ui-corner-tr ui-button ui-widget ui-state-default': true, 'ui-state-disabled': disabled }"
[disabled]="disabled || readonly"
tabindex="-1"
[attr.readonly]="readonly"
(mouseleave)="onUpButtonMouseleave($event)"
(mousedown)="onUpButtonMousedown($event)"
(mouseup)="onUpButtonMouseup($event)"
>
<span class="ui-spinner-button-icon pi pi-caret-up ui-clickable"></span>
</button>
<button
type="button"
[ngClass]="{ 'ui-spinner-button ui-spinner-down ui-corner-br ui-button ui-widget ui-state-default': true, 'ui-state-disabled': disabled }"
[disabled]="disabled || readonly"
tabindex="-1"
[attr.readonly]="readonly"
(mouseleave)="onDownButtonMouseleave($event)"
(mousedown)="onDownButtonMousedown($event)"
(mouseup)="onDownButtonMouseup($event)"
>
<span class="ui-spinner-button-icon pi pi-caret-down ui-clickable"></span>
</button>
</span>
`, isInline: true, styles: ["@layer primeng{.ui-spinner{display:inline-block;overflow:visible;padding:0;position:relative;vertical-align:middle}.ui-spinner-input{vertical-align:middle;padding-right:1.5em}.ui-spinner-button{cursor:default;display:block;height:50%;margin:0;overflow:hidden;padding:0;position:absolute;right:0;text-align:center;vertical-align:middle;width:1.5em}.ui-spinner .ui-spinner-button-icon{position:absolute;top:50%;left:50%;margin-top:-.5em;margin-left:-.5em;width:1em}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-fluid .ui-spinner{width:100%}.ui-fluid .ui-spinner .ui-spinner-input{padding-right:2em;width:100%}.ui-fluid .ui-spinner .ui-spinner-button{width:1.5em}.ui-fluid .ui-spinner .ui-spinner-button .ui-spinner-button-icon{left:.7em}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: Spinner, decorators: [{
type: Component,
args: [{ selector: 'p-spinner', template: `
<span class="ui-spinner ui-widget ui-corner-all">
<input
#inputfield
type="text"
[attr.id]="inputId"
[value]="formattedValue || null"
[attr.name]="name"
[attr.aria-valumin]="min"
[attr.aria-valuemax]="max"
[attr.aria-valuenow]="value"
[attr.aria-labelledby]="ariaLabelledBy"
[attr.size]="size"
[attr.maxlength]="maxlength"
[attr.tabindex]="tabindex"
[attr.placeholder]="placeholder"
[disabled]="disabled"
[readonly]="readonly"
[attr.required]="required"
(keydown)="onInputKeydown($event)"
(blur)="onInputBlur($event)"
(input)="onInput($event)"
(change)="onInputChange($event)"
(focus)="onInputFocus($event)"
[ngStyle]="inputStyle"
[class]="inputStyleClass"
[ngClass]="'ui-spinner-input ui-inputtext ui-widget ui-state-default ui-corner-all'"
/>
<button
type="button"
[ngClass]="{ 'ui-spinner-button ui-spinner-up ui-corner-tr ui-button ui-widget ui-state-default': true, 'ui-state-disabled': disabled }"
[disabled]="disabled || readonly"
tabindex="-1"
[attr.readonly]="readonly"
(mouseleave)="onUpButtonMouseleave($event)"
(mousedown)="onUpButtonMousedown($event)"
(mouseup)="onUpButtonMouseup($event)"
>
<span class="ui-spinner-button-icon pi pi-caret-up ui-clickable"></span>
</button>
<button
type="button"
[ngClass]="{ 'ui-spinner-button ui-spinner-down ui-corner-br ui-button ui-widget ui-state-default': true, 'ui-state-disabled': disabled }"
[disabled]="disabled || readonly"
tabindex="-1"
[attr.readonly]="readonly"
(mouseleave)="onDownButtonMouseleave($event)"
(mousedown)="onDownButtonMousedown($event)"
(mouseup)="onDownButtonMouseup($event)"
>
<span class="ui-spinner-button-icon pi pi-caret-down ui-clickable"></span>
</button>
</span>
`, host: {
class: 'p-element',
'[class.ui-inputwrapper-filled]': 'filled',
'[class.ui-inputwrapper-focus]': 'focus'
}, providers: [SPINNER_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["@layer primeng{.ui-spinner{display:inline-block;overflow:visible;padding:0;position:relative;vertical-align:middle}.ui-spinner-input{vertical-align:middle;padding-right:1.5em}.ui-spinner-button{cursor:default;display:block;height:50%;margin:0;overflow:hidden;padding:0;position:absolute;right:0;text-align:center;vertical-align:middle;width:1.5em}.ui-spinner .ui-spinner-button-icon{position:absolute;top:50%;left:50%;margin-top:-.5em;margin-left:-.5em;width:1em}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-fluid .ui-spinner{width:100%}.ui-fluid .ui-spinner .ui-spinner-input{padding-right:2em;width:100%}.ui-fluid .ui-spinner .ui-spinner-button{width:1.5em}.ui-fluid .ui-spinner .ui-spinner-button .ui-spinner-button-icon{left:.7em}}\n"] }]
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { onChange: [{
type: Output
}], onFocus: [{
type: Output
}], onBlur: [{
type: Output
}], min: [{
type: Input,
args: [{ transform: numberAttribute }]
}], max: [{
type: Input,
args: [{ transform: numberAttribute }]
}], maxlength: [{
type: Input,
args: [{ transform: numberAttribute }]
}], size: [{
type: Input,
args: [{ transform: numberAttribute }]
}], placeholder: [{
type: Input
}], inputId: [{
type: Input
}], disabled: [{
type: Input,
args: [{ transform: booleanAttribute }]
}], readonly: [{
type: Input,
args: [{ transform: booleanAttribute }]
}], tabindex: [{
type: Input,
args: [{ transform: numberAttribute }]
}], required: [{
type: Input,
args: [{ transform: booleanAttribute }]
}], name: [{
type: Input
}], ariaLabelledBy: [{
type: Input
}], inputStyle: [{
type: Input
}], inputStyleClass: [{
type: Input
}], formatInput: [{
type: Input,
args: [{ transform: booleanAttribute }]
}], decimalSeparator: [{
type: Input
}], thousandSeparator: [{
type: Input
}], precision: [{
type: Input,
args: [{ transform: numberAttribute }]
}], inputfieldViewChild: [{
type: ViewChild,
args: ['inputfield']
}], step: [{
type: Input
}] } });
export class SpinnerModule {
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: SpinnerModule, declarations: [Spinner], imports: [CommonModule, InputTextModule], exports: [Spinner] });
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SpinnerModule, imports: [CommonModule, InputTextModule] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: SpinnerModule, decorators: [{
type: NgModule,
args: [{
imports: [CommonModule, InputTextModule],
exports: [Spinner],
declarations: [Spinner]
}]
}] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9zcGlubmVyL3NwaW5uZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxTQUFTLEVBQXNCLEtBQUssRUFBRSxNQUFNLEVBQUUsWUFBWSxFQUFFLFVBQVUsRUFBRSxTQUFTLEVBQXFCLHVCQUF1QixFQUFFLGlCQUFpQixFQUFFLGdCQUFnQixFQUFFLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM5TixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3BELE9BQU8sRUFBRSxpQkFBaUIsRUFBd0IsTUFBTSxnQkFBZ0IsQ0FBQzs7O0FBRXpFLE1BQU0sQ0FBQyxNQUFNLHNCQUFzQixHQUFRO0lBQ3ZDLE9BQU8sRUFBRSxpQkFBaUI7SUFDMUIsV0FBVyxFQUFFLFVBQVUsQ0FBQyxHQUFHLEVBQUUsQ0FBQyxPQUFPLENBQUM7SUFDdEMsS0FBSyxFQUFFLElBQUk7Q0FDZCxDQUFDO0FBb0VGLE1BQU0sT0FBTyxPQUFPO0lBcUZHO0lBQXVCO0lBcEZoQyxRQUFRLEdBQXNCLElBQUksWUFBWSxFQUFFLENBQUM7SUFFakQsT0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