@pumpkin-tech/pumpkin-tech-ng 0.1.9 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs +556 -450
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs.map +1 -1
- package/index.d.ts +1585 -3
- package/package.json +9 -11
- package/esm2022/lib/base/base-field.mjs +0 -96
- package/esm2022/lib/components/action-dialog/action-dialog-config.mjs +0 -2
- package/esm2022/lib/components/action-dialog/action-dialog.component.mjs +0 -198
- package/esm2022/lib/components/action-dialog/index.mjs +0 -3
- package/esm2022/lib/components/action-result-dialog/action-result-dialog-data.mjs +0 -2
- package/esm2022/lib/components/action-result-dialog/action-result-dialog.component.mjs +0 -70
- package/esm2022/lib/components/action-result-dialog/index.mjs +0 -3
- package/esm2022/lib/components/action-row/action-row.component.mjs +0 -19
- package/esm2022/lib/components/action-row/index.mjs +0 -2
- package/esm2022/lib/components/alert/alert-data.mjs +0 -2
- package/esm2022/lib/components/alert/alert.component.mjs +0 -59
- package/esm2022/lib/components/alert/index.mjs +0 -3
- package/esm2022/lib/components/badge/badge-stack.component.mjs +0 -107
- package/esm2022/lib/components/badge/badge.component.mjs +0 -241
- package/esm2022/lib/components/badge/index.mjs +0 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -62
- package/esm2022/lib/components/breadcrumb/index.mjs +0 -2
- package/esm2022/lib/components/button/button.component.mjs +0 -738
- package/esm2022/lib/components/button/index.mjs +0 -2
- package/esm2022/lib/components/check-box/check-box.component.mjs +0 -109
- package/esm2022/lib/components/check-box/index.mjs +0 -2
- package/esm2022/lib/components/confirmation-dialog/confirmation-dialog-data.mjs +0 -2
- package/esm2022/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +0 -66
- package/esm2022/lib/components/confirmation-dialog/index.mjs +0 -3
- package/esm2022/lib/components/flag/flag.component.mjs +0 -113
- package/esm2022/lib/components/flag/index.mjs +0 -2
- package/esm2022/lib/components/footer/footer.component.mjs +0 -29
- package/esm2022/lib/components/footer/index.mjs +0 -2
- package/esm2022/lib/components/header/header.component.mjs +0 -85
- package/esm2022/lib/components/header/index.mjs +0 -2
- package/esm2022/lib/components/icon/icon.component.mjs +0 -100
- package/esm2022/lib/components/icon/index.mjs +0 -2
- package/esm2022/lib/components/info-detail/index.mjs +0 -3
- package/esm2022/lib/components/info-detail/info-detail-dialog.component.mjs +0 -136
- package/esm2022/lib/components/info-detail/info-detail.component.mjs +0 -61
- package/esm2022/lib/components/input/index.mjs +0 -2
- package/esm2022/lib/components/input/input.component.mjs +0 -333
- package/esm2022/lib/components/input-currency/index.mjs +0 -2
- package/esm2022/lib/components/input-currency/input-currency.component.mjs +0 -134
- package/esm2022/lib/components/input-date/index.mjs +0 -2
- package/esm2022/lib/components/input-date/input-date.component.mjs +0 -349
- package/esm2022/lib/components/input-date-range/index.mjs +0 -2
- package/esm2022/lib/components/input-date-range/input-date-range.component.mjs +0 -165
- package/esm2022/lib/components/input-time/index.mjs +0 -2
- package/esm2022/lib/components/input-time/input-time.component.mjs +0 -184
- package/esm2022/lib/components/loading-overlay/index.mjs +0 -2
- package/esm2022/lib/components/loading-overlay/loading-overlay.component.mjs +0 -29
- package/esm2022/lib/components/nav/index.mjs +0 -2
- package/esm2022/lib/components/nav/nav.component.mjs +0 -363
- package/esm2022/lib/components/profile-menu/index.mjs +0 -2
- package/esm2022/lib/components/profile-menu/profile-menu.component.mjs +0 -79
- package/esm2022/lib/components/progress-bar/index.mjs +0 -2
- package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +0 -59
- package/esm2022/lib/components/progress-bar-multiple/index.mjs +0 -2
- package/esm2022/lib/components/progress-bar-multiple/progress-bar-multiple.component.mjs +0 -69
- package/esm2022/lib/components/quantity-items/index.mjs +0 -2
- package/esm2022/lib/components/quantity-items/quantity-items.component.mjs +0 -143
- package/esm2022/lib/components/radio-group-entity/index.mjs +0 -2
- package/esm2022/lib/components/radio-group-entity/radio-group-entity.component.mjs +0 -97
- package/esm2022/lib/components/radio-group-enum/index.mjs +0 -2
- package/esm2022/lib/components/radio-group-enum/radio-group-enum.component.mjs +0 -107
- package/esm2022/lib/components/select-entity/index.mjs +0 -2
- package/esm2022/lib/components/select-entity/select-entity.component.mjs +0 -250
- package/esm2022/lib/components/select-enum/index.mjs +0 -2
- package/esm2022/lib/components/select-enum/select-enum.component.mjs +0 -153
- package/esm2022/lib/components/slide-toggle/index.mjs +0 -2
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -105
- package/esm2022/lib/components/table/index.mjs +0 -2
- package/esm2022/lib/components/table/table.component.mjs +0 -788
- package/esm2022/lib/components/textarea/index.mjs +0 -2
- package/esm2022/lib/components/textarea/textarea.component.mjs +0 -156
- package/esm2022/lib/components/title/index.mjs +0 -2
- package/esm2022/lib/components/title/title.component.mjs +0 -27
- package/esm2022/lib/directives/click-catcher.directive.mjs +0 -20
- package/esm2022/lib/directives/date-mask.directive.mjs +0 -58
- package/esm2022/lib/directives/dynamic-tab.directive.mjs +0 -18
- package/esm2022/lib/directives/for.directive.mjs +0 -35
- package/esm2022/lib/directives/index.mjs +0 -12
- package/esm2022/lib/directives/lower-case.directive.mjs +0 -48
- package/esm2022/lib/directives/phone-mask-brazil.directive.mjs +0 -64
- package/esm2022/lib/directives/phone-mask-spain.directive.mjs +0 -66
- package/esm2022/lib/directives/red.directive.mjs +0 -21
- package/esm2022/lib/directives/space-drop.directive.mjs +0 -48
- package/esm2022/lib/directives/table-cell.directive.mjs +0 -22
- package/esm2022/lib/directives/upper-case.directive.mjs +0 -48
- package/esm2022/lib/layout/ptech-col.directive.mjs +0 -162
- package/esm2022/lib/layout/ptech-grid.directive.mjs +0 -125
- package/esm2022/lib/mock/fake-data.service.mjs +0 -69
- package/esm2022/lib/mock/index.mjs +0 -2
- package/esm2022/lib/modules/core.material.module.mjs +0 -166
- package/esm2022/lib/modules/directives.module.mjs +0 -79
- package/esm2022/lib/modules/pipes.module.mjs +0 -64
- package/esm2022/lib/modules/pumpkin-tech.module.mjs +0 -240
- package/esm2022/lib/modules/shared/portuguese.matpaginatorintl.mjs +0 -28
- package/esm2022/lib/pipes/currency-brl.pipe.mjs +0 -27
- package/esm2022/lib/pipes/date-ago.pipe.mjs +0 -59
- package/esm2022/lib/pipes/get-first-string-before-space.pipe.mjs +0 -21
- package/esm2022/lib/pipes/index.mjs +0 -12
- package/esm2022/lib/pipes/is-longer-than.pipe.mjs +0 -55
- package/esm2022/lib/pipes/line-break-after-period.pipe.mjs +0 -20
- package/esm2022/lib/pipes/line-break-after.pipe.mjs +0 -29
- package/esm2022/lib/pipes/memory-format.pipe.mjs +0 -35
- package/esm2022/lib/pipes/phone-brazil.pipe.mjs +0 -43
- package/esm2022/lib/pipes/phone-spain.pipe.mjs +0 -37
- package/esm2022/lib/pipes/time.durantion.pipe.mjs +0 -34
- package/esm2022/lib/pipes/uptime-format.pipe.mjs +0 -36
- package/esm2022/lib/services/breadcrumb.service.mjs +0 -51
- package/esm2022/lib/services/breadcrumb.tokens.mjs +0 -10
- package/esm2022/lib/services/currency-preference.service.mjs +0 -98
- package/esm2022/lib/services/dialog.service.mjs +0 -89
- package/esm2022/lib/services/index.mjs +0 -10
- package/esm2022/lib/services/loading.service.mjs +0 -27
- package/esm2022/lib/services/message-token.mjs +0 -16
- package/esm2022/lib/services/module.change.service.mjs +0 -19
- package/esm2022/lib/services/nav.service.mjs +0 -31
- package/esm2022/lib/services/snackbar-message.service.mjs +0 -59
- package/esm2022/lib/utils/array.util.mjs +0 -19
- package/esm2022/lib/utils/currency.util.mjs +0 -18
- package/esm2022/lib/utils/date.util.mjs +0 -80
- package/esm2022/lib/utils/document.util.mjs +0 -92
- package/esm2022/lib/utils/index.mjs +0 -9
- package/esm2022/lib/utils/number.util.mjs +0 -19
- package/esm2022/lib/utils/object.util.mjs +0 -28
- package/esm2022/lib/utils/string.util.mjs +0 -87
- package/esm2022/lib/utils/uuid.util.mjs +0 -18
- package/esm2022/public-api.mjs +0 -53
- package/esm2022/pumpkin-tech-pumpkin-tech-ng.mjs +0 -5
- package/lib/base/base-field.d.ts +0 -44
- package/lib/components/action-dialog/action-dialog-config.d.ts +0 -15
- package/lib/components/action-dialog/action-dialog.component.d.ts +0 -17
- package/lib/components/action-dialog/index.d.ts +0 -2
- package/lib/components/action-result-dialog/action-result-dialog-data.d.ts +0 -6
- package/lib/components/action-result-dialog/action-result-dialog.component.d.ts +0 -21
- package/lib/components/action-result-dialog/index.d.ts +0 -2
- package/lib/components/action-row/action-row.component.d.ts +0 -5
- package/lib/components/action-row/index.d.ts +0 -1
- package/lib/components/alert/alert-data.d.ts +0 -9
- package/lib/components/alert/alert.component.d.ts +0 -13
- package/lib/components/alert/index.d.ts +0 -2
- package/lib/components/badge/badge-stack.component.d.ts +0 -36
- package/lib/components/badge/badge.component.d.ts +0 -61
- package/lib/components/badge/index.d.ts +0 -2
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -11
- package/lib/components/breadcrumb/index.d.ts +0 -1
- package/lib/components/button/button.component.d.ts +0 -52
- package/lib/components/button/index.d.ts +0 -1
- package/lib/components/check-box/check-box.component.d.ts +0 -35
- package/lib/components/check-box/index.d.ts +0 -1
- package/lib/components/confirmation-dialog/confirmation-dialog-data.d.ts +0 -7
- package/lib/components/confirmation-dialog/confirmation-dialog.component.d.ts +0 -12
- package/lib/components/confirmation-dialog/index.d.ts +0 -2
- package/lib/components/flag/flag.component.d.ts +0 -35
- package/lib/components/flag/index.d.ts +0 -1
- package/lib/components/footer/footer.component.d.ts +0 -6
- package/lib/components/footer/index.d.ts +0 -1
- package/lib/components/header/header.component.d.ts +0 -14
- package/lib/components/header/index.d.ts +0 -1
- package/lib/components/icon/icon.component.d.ts +0 -27
- package/lib/components/icon/index.d.ts +0 -1
- package/lib/components/info-detail/index.d.ts +0 -2
- package/lib/components/info-detail/info-detail-dialog.component.d.ts +0 -22
- package/lib/components/info-detail/info-detail.component.d.ts +0 -13
- package/lib/components/input/index.d.ts +0 -1
- package/lib/components/input/input.component.d.ts +0 -42
- package/lib/components/input-currency/index.d.ts +0 -1
- package/lib/components/input-currency/input-currency.component.d.ts +0 -24
- package/lib/components/input-date/index.d.ts +0 -1
- package/lib/components/input-date/input-date.component.d.ts +0 -55
- package/lib/components/input-date-range/index.d.ts +0 -1
- package/lib/components/input-date-range/input-date-range.component.d.ts +0 -35
- package/lib/components/input-time/index.d.ts +0 -1
- package/lib/components/input-time/input-time.component.d.ts +0 -31
- package/lib/components/loading-overlay/index.d.ts +0 -1
- package/lib/components/loading-overlay/loading-overlay.component.d.ts +0 -10
- package/lib/components/nav/index.d.ts +0 -1
- package/lib/components/nav/nav.component.d.ts +0 -69
- package/lib/components/profile-menu/index.d.ts +0 -1
- package/lib/components/profile-menu/profile-menu.component.d.ts +0 -14
- package/lib/components/progress-bar/index.d.ts +0 -1
- package/lib/components/progress-bar/progress-bar.component.d.ts +0 -12
- package/lib/components/progress-bar-multiple/index.d.ts +0 -1
- package/lib/components/progress-bar-multiple/progress-bar-multiple.component.d.ts +0 -19
- package/lib/components/quantity-items/index.d.ts +0 -1
- package/lib/components/quantity-items/quantity-items.component.d.ts +0 -27
- package/lib/components/radio-group-entity/index.d.ts +0 -1
- package/lib/components/radio-group-entity/radio-group-entity.component.d.ts +0 -21
- package/lib/components/radio-group-enum/index.d.ts +0 -1
- package/lib/components/radio-group-enum/radio-group-enum.component.d.ts +0 -33
- package/lib/components/select-entity/index.d.ts +0 -1
- package/lib/components/select-entity/select-entity.component.d.ts +0 -44
- package/lib/components/select-enum/index.d.ts +0 -1
- package/lib/components/select-enum/select-enum.component.d.ts +0 -29
- package/lib/components/slide-toggle/index.d.ts +0 -1
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -35
- package/lib/components/table/index.d.ts +0 -1
- package/lib/components/table/table.component.d.ts +0 -109
- package/lib/components/textarea/index.d.ts +0 -1
- package/lib/components/textarea/textarea.component.d.ts +0 -29
- package/lib/components/title/index.d.ts +0 -1
- package/lib/components/title/title.component.d.ts +0 -11
- package/lib/directives/click-catcher.directive.d.ts +0 -6
- package/lib/directives/date-mask.directive.d.ts +0 -8
- package/lib/directives/dynamic-tab.directive.d.ts +0 -8
- package/lib/directives/for.directive.d.ts +0 -12
- package/lib/directives/index.d.ts +0 -11
- package/lib/directives/lower-case.directive.d.ts +0 -12
- package/lib/directives/phone-mask-brazil.directive.d.ts +0 -11
- package/lib/directives/phone-mask-spain.directive.d.ts +0 -11
- package/lib/directives/red.directive.d.ts +0 -9
- package/lib/directives/space-drop.directive.d.ts +0 -12
- package/lib/directives/table-cell.directive.d.ts +0 -9
- package/lib/directives/upper-case.directive.d.ts +0 -12
- package/lib/layout/ptech-col.directive.d.ts +0 -34
- package/lib/layout/ptech-grid.directive.d.ts +0 -32
- package/lib/mock/fake-data.service.d.ts +0 -34
- package/lib/mock/index.d.ts +0 -1
- package/lib/modules/core.material.module.d.ts +0 -43
- package/lib/modules/directives.module.d.ts +0 -19
- package/lib/modules/pipes.module.d.ts +0 -18
- package/lib/modules/pumpkin-tech.module.d.ts +0 -41
- package/lib/modules/shared/portuguese.matpaginatorintl.d.ts +0 -12
- package/lib/pipes/currency-brl.pipe.d.ts +0 -8
- package/lib/pipes/date-ago.pipe.d.ts +0 -8
- package/lib/pipes/get-first-string-before-space.pipe.d.ts +0 -7
- package/lib/pipes/index.d.ts +0 -11
- package/lib/pipes/is-longer-than.pipe.d.ts +0 -9
- package/lib/pipes/line-break-after-period.pipe.d.ts +0 -7
- package/lib/pipes/line-break-after.pipe.d.ts +0 -7
- package/lib/pipes/memory-format.pipe.d.ts +0 -7
- package/lib/pipes/phone-brazil.pipe.d.ts +0 -7
- package/lib/pipes/phone-spain.pipe.d.ts +0 -7
- package/lib/pipes/time.durantion.pipe.d.ts +0 -7
- package/lib/pipes/uptime-format.pipe.d.ts +0 -7
- package/lib/services/breadcrumb.service.d.ts +0 -14
- package/lib/services/breadcrumb.tokens.d.ts +0 -9
- package/lib/services/currency-preference.service.d.ts +0 -24
- package/lib/services/dialog.service.d.ts +0 -41
- package/lib/services/index.d.ts +0 -9
- package/lib/services/loading.service.d.ts +0 -9
- package/lib/services/message-token.d.ts +0 -9
- package/lib/services/module.change.service.d.ts +0 -8
- package/lib/services/nav.service.d.ts +0 -11
- package/lib/services/snackbar-message.service.d.ts +0 -13
- package/lib/utils/array.util.d.ts +0 -9
- package/lib/utils/currency.util.d.ts +0 -8
- package/lib/utils/date.util.d.ts +0 -18
- package/lib/utils/document.util.d.ts +0 -4
- package/lib/utils/index.d.ts +0 -8
- package/lib/utils/number.util.d.ts +0 -5
- package/lib/utils/object.util.d.ts +0 -9
- package/lib/utils/string.util.d.ts +0 -27
- package/lib/utils/uuid.util.d.ts +0 -5
- package/public-api.d.ts +0 -47
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
import { Component, ContentChild, ElementRef, EventEmitter, forwardRef, Input, Output, TemplateRef, ViewChild, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { CoreMaterialModule } from '../../modules/core.material.module';
|
|
4
|
-
import { BaseField } from '../../base/base-field';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/forms";
|
|
8
|
-
import * as i3 from "@angular/material/button";
|
|
9
|
-
import * as i4 from "@angular/material/form-field";
|
|
10
|
-
import * as i5 from "@angular/material/input";
|
|
11
|
-
import * as i6 from "@angular/material/icon";
|
|
12
|
-
import * as i7 from "@angular/material/tooltip";
|
|
13
|
-
import * as i8 from "@angular/material/progress-spinner";
|
|
14
|
-
export class InputComponent extends BaseField {
|
|
15
|
-
constructor(el) { super(el); }
|
|
16
|
-
_elementRef;
|
|
17
|
-
suffixRef;
|
|
18
|
-
buttonClick = new EventEmitter();
|
|
19
|
-
maxlength = 250;
|
|
20
|
-
min;
|
|
21
|
-
max;
|
|
22
|
-
type = 'text';
|
|
23
|
-
/** Ícone */
|
|
24
|
-
icon = '';
|
|
25
|
-
iconColor = 'primary';
|
|
26
|
-
iconWidth = '';
|
|
27
|
-
iconHeight = '';
|
|
28
|
-
iconSize = '';
|
|
29
|
-
iconPosition = 'right';
|
|
30
|
-
forceFixedIcon = false;
|
|
31
|
-
/** Tooltip */
|
|
32
|
-
tooltip = '';
|
|
33
|
-
/** Extras */
|
|
34
|
-
autocomplete = 'off';
|
|
35
|
-
inputmode;
|
|
36
|
-
pattern;
|
|
37
|
-
_val;
|
|
38
|
-
get value() { return this._val; }
|
|
39
|
-
set value(val) {
|
|
40
|
-
if (val !== this._val) {
|
|
41
|
-
this._val = val;
|
|
42
|
-
this.onChange(val);
|
|
43
|
-
this.onTouch();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
// CVA
|
|
47
|
-
onChange = () => { };
|
|
48
|
-
onTouch = () => { };
|
|
49
|
-
writeValue(value) {
|
|
50
|
-
this._val = value;
|
|
51
|
-
if (this._elementRef?.nativeElement) {
|
|
52
|
-
this._elementRef.nativeElement.value = value ?? '';
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
registerOnChange(fn) { this.onChange = fn; }
|
|
56
|
-
registerOnTouched(fn) { this.onTouch = fn; }
|
|
57
|
-
setDisabledState(isDisabled) { this.disabled = isDisabled; }
|
|
58
|
-
onButtonClick() { this.buttonClick.emit(); }
|
|
59
|
-
isThemeColor(c, theme) {
|
|
60
|
-
return (c ?? '') === theme;
|
|
61
|
-
}
|
|
62
|
-
get customIconColor() {
|
|
63
|
-
const c = this.iconColor ?? '';
|
|
64
|
-
return (c === 'primary' || c === 'accent' || c === 'warn') ? null : c;
|
|
65
|
-
}
|
|
66
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
67
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: InputComponent, isStandalone: true, selector: "ptech-input", inputs: { maxlength: "maxlength", min: "min", max: "max", type: "type", icon: "icon", iconColor: "iconColor", iconWidth: "iconWidth", iconHeight: "iconHeight", iconSize: "iconSize", iconPosition: "iconPosition", forceFixedIcon: "forceFixedIcon", tooltip: "tooltip", autocomplete: "autocomplete", inputmode: "inputmode", pattern: "pattern" }, outputs: { buttonClick: "buttonClick" }, providers: [{
|
|
68
|
-
provide: NG_VALUE_ACCESSOR,
|
|
69
|
-
useExisting: forwardRef(() => InputComponent),
|
|
70
|
-
multi: true
|
|
71
|
-
}], queries: [{ propertyName: "suffixRef", first: true, predicate: ["suffix"], descendants: true }], viewQueries: [{ propertyName: "_elementRef", first: true, predicate: ["inputElem"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
72
|
-
<div class="ptech-input-container" [class.full-width]="fullWidth">
|
|
73
|
-
<mat-form-field
|
|
74
|
-
[appearance]="appearance"
|
|
75
|
-
class="ptech-form-field"
|
|
76
|
-
[ngClass]="{
|
|
77
|
-
'icon-suffix': !!icon && iconPosition === 'right',
|
|
78
|
-
'icon-prefix': !!icon && iconPosition === 'left',
|
|
79
|
-
'force-icon-right': forceFixedIcon && iconPosition === 'right',
|
|
80
|
-
'force-icon-left': forceFixedIcon && iconPosition === 'left'
|
|
81
|
-
}"
|
|
82
|
-
[matTooltip]="!icon ? tooltip : null"
|
|
83
|
-
[matTooltipDisabled]="!tooltip || !!icon"
|
|
84
|
-
>
|
|
85
|
-
<mat-label>
|
|
86
|
-
{{ label }} <span *ngIf="required" aria-hidden="true">*</span>
|
|
87
|
-
</mat-label>
|
|
88
|
-
|
|
89
|
-
<!-- PREFIX projetado -->
|
|
90
|
-
<ng-content select="[matPrefix]"></ng-content>
|
|
91
|
-
|
|
92
|
-
<!-- Ícone à ESQUERDA -->
|
|
93
|
-
<button
|
|
94
|
-
*ngIf="icon && iconPosition === 'left'"
|
|
95
|
-
mat-icon-button
|
|
96
|
-
matPrefix
|
|
97
|
-
type="button"
|
|
98
|
-
(click)="onButtonClick()"
|
|
99
|
-
[matTooltip]="tooltip"
|
|
100
|
-
[matTooltipDisabled]="!tooltip"
|
|
101
|
-
[attr.aria-label]="ariaLabel || label || icon"
|
|
102
|
-
>
|
|
103
|
-
<mat-icon
|
|
104
|
-
[ngClass]="{
|
|
105
|
-
'mat-primary': isThemeColor(iconColor, 'primary'),
|
|
106
|
-
'mat-accent': isThemeColor(iconColor, 'accent'),
|
|
107
|
-
'mat-warn': isThemeColor(iconColor, 'warn')
|
|
108
|
-
}"
|
|
109
|
-
[style.color]="customIconColor"
|
|
110
|
-
[style.fontSize]="iconSize || null"
|
|
111
|
-
[style.width]="iconWidth || null"
|
|
112
|
-
[style.height]="iconHeight || null"
|
|
113
|
-
>
|
|
114
|
-
{{ icon }}
|
|
115
|
-
</mat-icon>
|
|
116
|
-
</button>
|
|
117
|
-
|
|
118
|
-
<!-- spinner no prefix -->
|
|
119
|
-
<mat-spinner *ngIf="loading" matPrefix mode="indeterminate" diameter="17"></mat-spinner>
|
|
120
|
-
|
|
121
|
-
<input
|
|
122
|
-
#inputElem
|
|
123
|
-
matInput
|
|
124
|
-
[placeholder]="placeholder"
|
|
125
|
-
[required]="required"
|
|
126
|
-
[disabled]="disabled || loading"
|
|
127
|
-
[(ngModel)]="value"
|
|
128
|
-
[type]="type"
|
|
129
|
-
[attr.name]="name"
|
|
130
|
-
[attr.min]="min"
|
|
131
|
-
[attr.max]="max"
|
|
132
|
-
[attr.maxlength]="maxlength"
|
|
133
|
-
[readonly]="readonly"
|
|
134
|
-
[attr.inputmode]="inputmode || null"
|
|
135
|
-
[attr.pattern]="pattern || null"
|
|
136
|
-
[attr.autocomplete]="autocomplete || 'off'"
|
|
137
|
-
/>
|
|
138
|
-
|
|
139
|
-
<!-- Ícone à DIREITA -->
|
|
140
|
-
<button
|
|
141
|
-
*ngIf="icon && iconPosition === 'right'; else projectedSuffix"
|
|
142
|
-
mat-icon-button
|
|
143
|
-
matSuffix
|
|
144
|
-
type="button"
|
|
145
|
-
(click)="onButtonClick()"
|
|
146
|
-
[matTooltip]="tooltip"
|
|
147
|
-
[matTooltipDisabled]="!tooltip"
|
|
148
|
-
[attr.aria-label]="ariaLabel || label || icon"
|
|
149
|
-
>
|
|
150
|
-
<mat-icon
|
|
151
|
-
[ngClass]="{
|
|
152
|
-
'mat-primary': isThemeColor(iconColor, 'primary'),
|
|
153
|
-
'mat-accent': isThemeColor(iconColor, 'accent'),
|
|
154
|
-
'mat-warn': isThemeColor(iconColor, 'warn')
|
|
155
|
-
}"
|
|
156
|
-
[style.color]="customIconColor"
|
|
157
|
-
[style.fontSize]="iconSize || null"
|
|
158
|
-
[style.width]="iconWidth || null"
|
|
159
|
-
[style.height]="iconHeight || null"
|
|
160
|
-
>
|
|
161
|
-
{{ icon }}
|
|
162
|
-
</mat-icon>
|
|
163
|
-
</button>
|
|
164
|
-
|
|
165
|
-
<!-- Suffix projetável -->
|
|
166
|
-
<ng-template #projectedSuffix>
|
|
167
|
-
<ng-container *ngIf="suffixRef">
|
|
168
|
-
<ng-container [ngTemplateOutlet]="suffixRef"></ng-container>
|
|
169
|
-
</ng-container>
|
|
170
|
-
<ng-content select="[matSuffix]"></ng-content>
|
|
171
|
-
</ng-template>
|
|
172
|
-
|
|
173
|
-
<!-- Hints/Errors -->
|
|
174
|
-
<ng-content select="mat-hint, [mat-hint]"></ng-content>
|
|
175
|
-
<ng-content select="mat-error, [mat-error]"></ng-content>
|
|
176
|
-
</mat-form-field>
|
|
177
|
-
</div>
|
|
178
|
-
`, isInline: true, styles: [".ptech-input-container{display:flex;flex-direction:row;width:100%}.ptech-input-container.full-width .ptech-form-field,.ptech-form-field{width:100%}:host{display:block}:host ::ng-deep .ptech-form-field.force-icon-right{position:relative}:host ::ng-deep .ptech-form-field.force-icon-right button[mat-icon-button][matSuffix]{position:absolute;right:10px;top:50%;transform:translateY(-50%)}:host ::ng-deep .ptech-form-field.force-icon-left{position:relative}:host ::ng-deep .ptech-form-field.force-icon-left button[mat-icon-button][matPrefix]{position:absolute;left:8px;top:50%;transform:translateY(-50%)}:host ::ng-deep button.mat-mdc-icon-button{top:3px;width:auto;min-width:40px;height:40px;padding:0}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i8.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
179
|
-
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputComponent, decorators: [{
|
|
181
|
-
type: Component,
|
|
182
|
-
args: [{ selector: 'ptech-input', standalone: true, imports: [CoreMaterialModule], template: `
|
|
183
|
-
<div class="ptech-input-container" [class.full-width]="fullWidth">
|
|
184
|
-
<mat-form-field
|
|
185
|
-
[appearance]="appearance"
|
|
186
|
-
class="ptech-form-field"
|
|
187
|
-
[ngClass]="{
|
|
188
|
-
'icon-suffix': !!icon && iconPosition === 'right',
|
|
189
|
-
'icon-prefix': !!icon && iconPosition === 'left',
|
|
190
|
-
'force-icon-right': forceFixedIcon && iconPosition === 'right',
|
|
191
|
-
'force-icon-left': forceFixedIcon && iconPosition === 'left'
|
|
192
|
-
}"
|
|
193
|
-
[matTooltip]="!icon ? tooltip : null"
|
|
194
|
-
[matTooltipDisabled]="!tooltip || !!icon"
|
|
195
|
-
>
|
|
196
|
-
<mat-label>
|
|
197
|
-
{{ label }} <span *ngIf="required" aria-hidden="true">*</span>
|
|
198
|
-
</mat-label>
|
|
199
|
-
|
|
200
|
-
<!-- PREFIX projetado -->
|
|
201
|
-
<ng-content select="[matPrefix]"></ng-content>
|
|
202
|
-
|
|
203
|
-
<!-- Ícone à ESQUERDA -->
|
|
204
|
-
<button
|
|
205
|
-
*ngIf="icon && iconPosition === 'left'"
|
|
206
|
-
mat-icon-button
|
|
207
|
-
matPrefix
|
|
208
|
-
type="button"
|
|
209
|
-
(click)="onButtonClick()"
|
|
210
|
-
[matTooltip]="tooltip"
|
|
211
|
-
[matTooltipDisabled]="!tooltip"
|
|
212
|
-
[attr.aria-label]="ariaLabel || label || icon"
|
|
213
|
-
>
|
|
214
|
-
<mat-icon
|
|
215
|
-
[ngClass]="{
|
|
216
|
-
'mat-primary': isThemeColor(iconColor, 'primary'),
|
|
217
|
-
'mat-accent': isThemeColor(iconColor, 'accent'),
|
|
218
|
-
'mat-warn': isThemeColor(iconColor, 'warn')
|
|
219
|
-
}"
|
|
220
|
-
[style.color]="customIconColor"
|
|
221
|
-
[style.fontSize]="iconSize || null"
|
|
222
|
-
[style.width]="iconWidth || null"
|
|
223
|
-
[style.height]="iconHeight || null"
|
|
224
|
-
>
|
|
225
|
-
{{ icon }}
|
|
226
|
-
</mat-icon>
|
|
227
|
-
</button>
|
|
228
|
-
|
|
229
|
-
<!-- spinner no prefix -->
|
|
230
|
-
<mat-spinner *ngIf="loading" matPrefix mode="indeterminate" diameter="17"></mat-spinner>
|
|
231
|
-
|
|
232
|
-
<input
|
|
233
|
-
#inputElem
|
|
234
|
-
matInput
|
|
235
|
-
[placeholder]="placeholder"
|
|
236
|
-
[required]="required"
|
|
237
|
-
[disabled]="disabled || loading"
|
|
238
|
-
[(ngModel)]="value"
|
|
239
|
-
[type]="type"
|
|
240
|
-
[attr.name]="name"
|
|
241
|
-
[attr.min]="min"
|
|
242
|
-
[attr.max]="max"
|
|
243
|
-
[attr.maxlength]="maxlength"
|
|
244
|
-
[readonly]="readonly"
|
|
245
|
-
[attr.inputmode]="inputmode || null"
|
|
246
|
-
[attr.pattern]="pattern || null"
|
|
247
|
-
[attr.autocomplete]="autocomplete || 'off'"
|
|
248
|
-
/>
|
|
249
|
-
|
|
250
|
-
<!-- Ícone à DIREITA -->
|
|
251
|
-
<button
|
|
252
|
-
*ngIf="icon && iconPosition === 'right'; else projectedSuffix"
|
|
253
|
-
mat-icon-button
|
|
254
|
-
matSuffix
|
|
255
|
-
type="button"
|
|
256
|
-
(click)="onButtonClick()"
|
|
257
|
-
[matTooltip]="tooltip"
|
|
258
|
-
[matTooltipDisabled]="!tooltip"
|
|
259
|
-
[attr.aria-label]="ariaLabel || label || icon"
|
|
260
|
-
>
|
|
261
|
-
<mat-icon
|
|
262
|
-
[ngClass]="{
|
|
263
|
-
'mat-primary': isThemeColor(iconColor, 'primary'),
|
|
264
|
-
'mat-accent': isThemeColor(iconColor, 'accent'),
|
|
265
|
-
'mat-warn': isThemeColor(iconColor, 'warn')
|
|
266
|
-
}"
|
|
267
|
-
[style.color]="customIconColor"
|
|
268
|
-
[style.fontSize]="iconSize || null"
|
|
269
|
-
[style.width]="iconWidth || null"
|
|
270
|
-
[style.height]="iconHeight || null"
|
|
271
|
-
>
|
|
272
|
-
{{ icon }}
|
|
273
|
-
</mat-icon>
|
|
274
|
-
</button>
|
|
275
|
-
|
|
276
|
-
<!-- Suffix projetável -->
|
|
277
|
-
<ng-template #projectedSuffix>
|
|
278
|
-
<ng-container *ngIf="suffixRef">
|
|
279
|
-
<ng-container [ngTemplateOutlet]="suffixRef"></ng-container>
|
|
280
|
-
</ng-container>
|
|
281
|
-
<ng-content select="[matSuffix]"></ng-content>
|
|
282
|
-
</ng-template>
|
|
283
|
-
|
|
284
|
-
<!-- Hints/Errors -->
|
|
285
|
-
<ng-content select="mat-hint, [mat-hint]"></ng-content>
|
|
286
|
-
<ng-content select="mat-error, [mat-error]"></ng-content>
|
|
287
|
-
</mat-form-field>
|
|
288
|
-
</div>
|
|
289
|
-
`, providers: [{
|
|
290
|
-
provide: NG_VALUE_ACCESSOR,
|
|
291
|
-
useExisting: forwardRef(() => InputComponent),
|
|
292
|
-
multi: true
|
|
293
|
-
}], changeDetection: ChangeDetectionStrategy.OnPush, styles: [".ptech-input-container{display:flex;flex-direction:row;width:100%}.ptech-input-container.full-width .ptech-form-field,.ptech-form-field{width:100%}:host{display:block}:host ::ng-deep .ptech-form-field.force-icon-right{position:relative}:host ::ng-deep .ptech-form-field.force-icon-right button[mat-icon-button][matSuffix]{position:absolute;right:10px;top:50%;transform:translateY(-50%)}:host ::ng-deep .ptech-form-field.force-icon-left{position:relative}:host ::ng-deep .ptech-form-field.force-icon-left button[mat-icon-button][matPrefix]{position:absolute;left:8px;top:50%;transform:translateY(-50%)}:host ::ng-deep button.mat-mdc-icon-button{top:3px;width:auto;min-width:40px;height:40px;padding:0}\n"] }]
|
|
294
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { _elementRef: [{
|
|
295
|
-
type: ViewChild,
|
|
296
|
-
args: ['inputElem', { static: false, read: ElementRef }]
|
|
297
|
-
}], suffixRef: [{
|
|
298
|
-
type: ContentChild,
|
|
299
|
-
args: ['suffix', { static: false }]
|
|
300
|
-
}], buttonClick: [{
|
|
301
|
-
type: Output
|
|
302
|
-
}], maxlength: [{
|
|
303
|
-
type: Input
|
|
304
|
-
}], min: [{
|
|
305
|
-
type: Input
|
|
306
|
-
}], max: [{
|
|
307
|
-
type: Input
|
|
308
|
-
}], type: [{
|
|
309
|
-
type: Input
|
|
310
|
-
}], icon: [{
|
|
311
|
-
type: Input
|
|
312
|
-
}], iconColor: [{
|
|
313
|
-
type: Input
|
|
314
|
-
}], iconWidth: [{
|
|
315
|
-
type: Input
|
|
316
|
-
}], iconHeight: [{
|
|
317
|
-
type: Input
|
|
318
|
-
}], iconSize: [{
|
|
319
|
-
type: Input
|
|
320
|
-
}], iconPosition: [{
|
|
321
|
-
type: Input
|
|
322
|
-
}], forceFixedIcon: [{
|
|
323
|
-
type: Input
|
|
324
|
-
}], tooltip: [{
|
|
325
|
-
type: Input
|
|
326
|
-
}], autocomplete: [{
|
|
327
|
-
type: Input
|
|
328
|
-
}], inputmode: [{
|
|
329
|
-
type: Input
|
|
330
|
-
}], pattern: [{
|
|
331
|
-
type: Input
|
|
332
|
-
}] } });
|
|
333
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVtcGtpbi10ZWNoLW5nL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dC9pbnB1dC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBRSxVQUFVLEVBQzdELEtBQUssRUFBRSxNQUFNLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFDL0QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUF3QixpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXpFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQ3hFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7Ozs7Ozs7OztBQThJbEQsTUFBTSxPQUFPLGNBQWUsU0FBUSxTQUFTO0lBQzNDLFlBQVksRUFBMkIsSUFBSSxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDO0lBRU0sV0FBVyxDQUFnQztJQUM3RCxTQUFTLENBQW9CO0lBQzlELFdBQVcsR0FBRyxJQUFJLFlBQVksRUFBUSxDQUFDO0lBRXhDLFNBQVMsR0FBb0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RvIC0tPlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbbWF0UHJlZml4XVwiPjwvbmctY29udGVudD5cblxuICAgICAgICA8IS0tIMONY29uZSDDoCBFU1FVRVJEQSAtLT5cbiAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICpuZ0lmPVwiaWNvbiAmJiBpY29uUG9zaXRpb24gPT09ICdsZWZ0J1wiXG4gICAgICAgICAgbWF0LWljb24tYnV0dG9uXG4gICAgICAgICAgbWF0UHJlZml4XG4gICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgKGNsaWNrKT1cIm9uQnV0dG9uQ2xpY2soKVwiXG4gICAgICAgICAgW21hdFRvb2x0aXBdPVwidG9vbHRpcFwiXG4gICAgICAgICAgW21hdFRvb2x0aXBEaXNhYmxlZF09XCIhdG9vbHRpcFwiXG4gICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJhcmlhTGFiZWwgfHwgbGFiZWwgfHwgaWNvblwiXG4gICAgICAgID5cbiAgICAgICAgICA8bWF0LWljb25cbiAgICAgICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgJ21hdC1wcmltYXJ5JzogaXNUaGVtZUNvbG9yKGljb25Db2xvciwgJ3ByaW1hcnknKSxcbiAgICAgICAgICAgICAgJ21hdC1hY2NlbnQnOiBpc1RoZW1lQ29sb3IoaWNvbkNvbG9yLCAnYWNjZW50JyksXG4gICAgICAgICAgICAgICdtYXQtd2Fybic6IGlzVGhlbWVDb2xvcihpY29uQ29sb3IsICd3YXJuJylcbiAgICAgICAgICAgIH1cIlxuICAgICAgICAgICAgW3N0eWxlLmNvbG9yXT1cImN1c3RvbUljb25Db2xvclwiXG4gICAgICAgICAgICBbc3R5bGUuZm9udFNpemVdPVwiaWNvblNpemUgfHwgbnVsbFwiXG4gICAgICAgICAgICBbc3R5bGUud2lkdGhdPVwiaWNvbldpZHRoIHx8IG51bGxcIlxuICAgICAgICAgICAgW3N0eWxlLmhlaWdodF09XCJpY29uSGVpZ2h0IHx8IG51bGxcIlxuICAgICAgICAgID5cbiAgICAgICAgICAgIHt7IGljb24gfX1cbiAgICAgICAgICA8L21hdC1pY29uPlxuICAgICAgICA8L2J1dHRvbj5cblxuICAgICAgICA8IS0tIHNwaW5uZXIgbm8gcHJlZml4IC0tPlxuICAgICAgICA8bWF0LXNwaW5uZXIgKm5nSWY9XCJsb2FkaW5nXCIgbWF0UHJlZml4IG1vZGU9XCJpbmRldGVybWluYXRlXCIgZGlhbWV0ZXI9XCIxN1wiPjwvbWF0LXNwaW5uZXI+XG5cbiAgICAgICAgPGlucHV0XG4gICAgICAgICAgI2lucHV0RWxlbVxuICAgICAgICAgIG1hdElucHV0XG4gICAgICAgICAgW3BsYWNlaG9sZGVyXT1cInBsYWNlaG9sZGVyXCJcbiAgICAgICAgICBbcmVxdWlyZWRdPVwicmVxdWlyZWRcIlxuICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZCB8fCBsb2FkaW5nXCJcbiAgICAgICAgICBbKG5nTW9kZWwpXT1cInZhbHVlXCJcbiAgICAgICAgICBbdHlwZV09XCJ0eXBlXCJcbiAgICAgICAgICBbYXR0ci5uYW1lXT1cIm5hbWVcIlxuICAgICAgICAgIFthdHRyLm1pbl09XCJtaW5cIlxuICAgICAgICAgIFthdHRyLm1heF09XCJtYXhcIlxuICAgICAgICAgIFthdHRyLm1heGxlbmd0aF09XCJtYXhsZW5ndGhcIlxuICAgICAgICAgIFtyZWFkb25seV09XCJyZWFkb25seVwiXG4gICAgICAgICAgW2F0dHIuaW5wdXRtb2RlXT1cImlucHV0bW9kZSB8fCBudWxsXCJcbiAgICAgICAgICBbYXR0ci5wYXR0ZXJuXT1cInBhdHRlcm4gfHwgbnVsbFwiXG4gICAgICAgICAgW2F0dHIuYXV0b2NvbXBsZXRlXT1cImF1dG9jb21wbGV0ZSB8fCAnb2ZmJ1wiXG4gICAgICAgIC8+XG5cbiAgICAgICAgPCEtLSDDjWNvbmUgw6AgRElSRUlUQSAtLT5cbiAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICpuZ0lmPVwiaWNvbiAmJiBpY29uUG9zaXRpb24gPT09ICdyaWdodCc7IGVsc2UgcHJvamVjdGVkU3VmZml4XCJcbiAgICAgICAgICBtYXQtaWNvbi1idXR0b25cbiAgICAgICAgICBtYXRTdWZmaXhcbiAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAoY2xpY2spPVwib25CdXR0b25DbGljaygpXCJcbiAgICAgICAgICBbbWF0VG9vbHRpcF09XCJ0b29sdGlwXCJcbiAgICAgICAgICBbbWF0VG9vbHRpcERpc2FibGVkXT1cIiF0b29sdGlwXCJcbiAgICAgICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cImFyaWFMYWJlbCB8fCBsYWJlbCB8fCBpY29uXCJcbiAgICAgICAgPlxuICAgICAgICAgIDxtYXQtaWNvblxuICAgICAgICAgICAgW25nQ2xhc3NdPVwie1xuICAgICAgICAgICAgICAnbWF0LXByaW1hcnknOiBpc1RoZW1lQ29sb3IoaWNvbkNvbG9yLCAncHJpbWFyeScpLFxuICAgICAgICAgICAgICAnbWF0LWFjY2VudCc6IGlzVGhlbWVDb2xvcihpY29uQ29sb3IsICdhY2NlbnQnKSxcbiAgICAgICAgICAgICAgJ21hdC13YXJuJzogaXNUaGVtZUNvbG9yKGljb25Db2xvciwgJ3dhcm4nKVxuICAgICAgICAgICAgfVwiXG4gICAgICAgICAgICBbc3R5bGUuY29sb3JdPVwiY3VzdG9tSWNvbkNvbG9yXCJcbiAgICAgICAgICAgIFtzdHlsZS5mb250U2l6ZV09XCJpY29uU2l6ZSB8fCBudWxsXCJcbiAgICAgICAgICAgIFtzdHlsZS53aWR0aF09XCJpY29uV2lkdGggfHwgbnVsbFwiXG4gICAgICAgICAgICBbc3R5bGUuaGVpZ2h0XT1cImljb25IZWlnaHQgfHwgbnVsbFwiXG4gICAgICAgICAgPlxuICAgICAgICAgIC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xlZCA9IGlzRGlzYWJsZWQ7IH1cblxuICBvbkJ1dHRvbkNsaWNrKCk6IHZvaWQgeyB0aGlzLmJ1dHRvbkNsaWNrLmVtaXQoKTsgfVxuXG4gIGlzVGhlbWVDb2xvcihjOiBzdHJpbmcgfCBudWxsIHwgdW5kZWZpbmVkLCB0aGVtZTogJ3ByaW1hcnknIHwgJ2FjY2VudCcgfCAnd2FybicpOiBib29sZWFuIHtcbiAgICByZXR1cm4gKGMgPz8gJycpID09PSB0aGVtZTtcbiAgfVxuICBnZXQgY3VzdG9tSWNvbkNvbG9yKCk6IHN0cmluZyB8IG51bGwge1xuICAgIGNvbnN0IGMgPSB0aGlzLmljb25Db2xvciA/PyAnJztcbiAgICByZXR1cm4gKGMgPT09ICdwcmltYXJ5JyB8fCBjID09PSAnYWNjZW50JyB8fCBjID09PSAnd2FybicpID8gbnVsbCA6IGM7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './input-currency.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdW1wa2luLXRlY2gtbmcvc3JjL2xpYi9jb21wb25lbnRzL2lucHV0LWN1cnJlbmN5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lucHV0LWN1cnJlbmN5LmNvbXBvbmVudCc7Il19
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { Component, ElementRef, Input, Output, EventEmitter, forwardRef, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { CoreMaterialModule } from '../../modules/core.material.module';
|
|
4
|
-
import { BaseField } from '../../base/base-field';
|
|
5
|
-
// Angular 18 – diretiva standalone
|
|
6
|
-
import { NgxCurrencyDirective } from 'ngx-currency';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common";
|
|
9
|
-
import * as i2 from "@angular/forms";
|
|
10
|
-
import * as i3 from "@angular/material/form-field";
|
|
11
|
-
import * as i4 from "@angular/material/input";
|
|
12
|
-
import * as i5 from "@angular/material/progress-spinner";
|
|
13
|
-
export class InputCurrencyComponent extends BaseField {
|
|
14
|
-
constructor(el) { super(el); }
|
|
15
|
-
/** Config por input (parcial) */
|
|
16
|
-
options = {};
|
|
17
|
-
valueChange = new EventEmitter();
|
|
18
|
-
// Defaults (BRL)
|
|
19
|
-
defaultOptions = {
|
|
20
|
-
align: 'right',
|
|
21
|
-
allowNegative: false,
|
|
22
|
-
allowZero: true,
|
|
23
|
-
decimal: ',',
|
|
24
|
-
precision: 2,
|
|
25
|
-
prefix: 'R$ ',
|
|
26
|
-
suffix: '',
|
|
27
|
-
thousands: '.',
|
|
28
|
-
nullable: true
|
|
29
|
-
};
|
|
30
|
-
get resolvedOptions() {
|
|
31
|
-
return { ...this.defaultOptions, ...(this.options || {}) };
|
|
32
|
-
}
|
|
33
|
-
// ===== CVA =====
|
|
34
|
-
_val;
|
|
35
|
-
onChange = () => { };
|
|
36
|
-
onTouch = () => { };
|
|
37
|
-
get value() { return this._val; }
|
|
38
|
-
set value(v) {
|
|
39
|
-
if (v !== this._val) {
|
|
40
|
-
this._val = v;
|
|
41
|
-
this.onChange(v);
|
|
42
|
-
this.valueChange.emit(v);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
writeValue(value) { this._val = value; }
|
|
46
|
-
registerOnChange(fn) { this.onChange = fn; }
|
|
47
|
-
registerOnTouched(fn) { this.onTouch = fn; }
|
|
48
|
-
setDisabledState(isDisabled) { this.disabled = isDisabled; }
|
|
49
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputCurrencyComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: InputCurrencyComponent, isStandalone: true, selector: "ptech-input-currency", inputs: { options: "options" }, outputs: { valueChange: "valueChange" }, providers: [{
|
|
51
|
-
provide: NG_VALUE_ACCESSOR,
|
|
52
|
-
useExisting: forwardRef(() => InputCurrencyComponent),
|
|
53
|
-
multi: true
|
|
54
|
-
}], usesInheritance: true, ngImport: i0, template: `
|
|
55
|
-
<div class="ptech-currency-container" [class.full-width]="fullWidth">
|
|
56
|
-
<mat-form-field class="ptech-form-field" [appearance]="appearance">
|
|
57
|
-
<mat-label>
|
|
58
|
-
{{ label }}
|
|
59
|
-
<span *ngIf="required" aria-hidden="true">*</span>
|
|
60
|
-
</mat-label>
|
|
61
|
-
|
|
62
|
-
<input
|
|
63
|
-
matInput
|
|
64
|
-
type="text"
|
|
65
|
-
currencyMask
|
|
66
|
-
[options]="resolvedOptions"
|
|
67
|
-
[placeholder]="placeholder"
|
|
68
|
-
[required]="required"
|
|
69
|
-
[disabled]="disabled || loading"
|
|
70
|
-
[attr.name]="name || null"
|
|
71
|
-
[attr.aria-label]="ariaLabel || null"
|
|
72
|
-
autocomplete="off"
|
|
73
|
-
[(ngModel)]="value"
|
|
74
|
-
(blur)="onTouch()"
|
|
75
|
-
/>
|
|
76
|
-
|
|
77
|
-
<mat-spinner
|
|
78
|
-
matPrefix
|
|
79
|
-
*ngIf="loading"
|
|
80
|
-
mode="indeterminate"
|
|
81
|
-
diameter="17">
|
|
82
|
-
</mat-spinner>
|
|
83
|
-
|
|
84
|
-
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
85
|
-
</mat-form-field>
|
|
86
|
-
</div>
|
|
87
|
-
`, isInline: true, styles: [".ptech-currency-container{display:flex;flex-direction:column;width:100%}.ptech-form-field{width:100%}mat-label span{color:#f44336!important}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: NgxCurrencyDirective, selector: "input[currencyMask]", inputs: ["currencyMask", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
88
|
-
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputCurrencyComponent, decorators: [{
|
|
90
|
-
type: Component,
|
|
91
|
-
args: [{ selector: 'ptech-input-currency', standalone: true, imports: [CoreMaterialModule, NgxCurrencyDirective], template: `
|
|
92
|
-
<div class="ptech-currency-container" [class.full-width]="fullWidth">
|
|
93
|
-
<mat-form-field class="ptech-form-field" [appearance]="appearance">
|
|
94
|
-
<mat-label>
|
|
95
|
-
{{ label }}
|
|
96
|
-
<span *ngIf="required" aria-hidden="true">*</span>
|
|
97
|
-
</mat-label>
|
|
98
|
-
|
|
99
|
-
<input
|
|
100
|
-
matInput
|
|
101
|
-
type="text"
|
|
102
|
-
currencyMask
|
|
103
|
-
[options]="resolvedOptions"
|
|
104
|
-
[placeholder]="placeholder"
|
|
105
|
-
[required]="required"
|
|
106
|
-
[disabled]="disabled || loading"
|
|
107
|
-
[attr.name]="name || null"
|
|
108
|
-
[attr.aria-label]="ariaLabel || null"
|
|
109
|
-
autocomplete="off"
|
|
110
|
-
[(ngModel)]="value"
|
|
111
|
-
(blur)="onTouch()"
|
|
112
|
-
/>
|
|
113
|
-
|
|
114
|
-
<mat-spinner
|
|
115
|
-
matPrefix
|
|
116
|
-
*ngIf="loading"
|
|
117
|
-
mode="indeterminate"
|
|
118
|
-
diameter="17">
|
|
119
|
-
</mat-spinner>
|
|
120
|
-
|
|
121
|
-
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
122
|
-
</mat-form-field>
|
|
123
|
-
</div>
|
|
124
|
-
`, providers: [{
|
|
125
|
-
provide: NG_VALUE_ACCESSOR,
|
|
126
|
-
useExisting: forwardRef(() => InputCurrencyComponent),
|
|
127
|
-
multi: true
|
|
128
|
-
}], changeDetection: ChangeDetectionStrategy.OnPush, styles: [".ptech-currency-container{display:flex;flex-direction:column;width:100%}.ptech-form-field{width:100%}mat-label span{color:#f44336!important}\n"] }]
|
|
129
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { options: [{
|
|
130
|
-
type: Input
|
|
131
|
-
}], valueChange: [{
|
|
132
|
-
type: Output
|
|
133
|
-
}] } });
|
|
134
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY3VycmVuY3kuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVtcGtpbi10ZWNoLW5nL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dC1jdXJyZW5jeS9pbnB1dC1jdXJyZW5jeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUM5RCx1QkFBdUIsRUFDeEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGlCQUFpQixFQUF3QixNQUFNLGdCQUFnQixDQUFDO0FBRXpFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQ3hFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUVsRCxtQ0FBbUM7QUFDbkMsT0FBTyxFQUFFLG9CQUFvQixFQUFxQixNQUFNLGNBQWMsQ0FBQzs7Ozs7OztBQW9EdkUsTUFBTSxPQUFPLHNCQUNYLFNBQVEsU0FBUztJQUdqQixZQUFZLEVBQTJCLElBQUksS0FBSyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUV2RCxpQ0FBaUM7SUFDeEIsT0FBTyxHQUErQixFQUFFLENBQUM7SUFFeEMsV0FBVyxHQUFHLElBQUksWUFBWSxFQUFPLENBQUM7SUFFaEQsaUJBQWlCO0lBQ1QsY0FBYyxH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jZVwiPlxuICAgICAgICA8bWF0LWxhYmVsPlxuICAgICAgICAgIHt7IGxhYmVsIH19XG4gICAgICAgICAgPHNwYW4gKm5nSWY9XCJyZXF1aXJlZFwiIGFyaWEtaGlkZGVuPVwidHJ1ZVwiPio8L3NwYW4+XG4gICAgICAgIDwvbWF0LWxhYmVsPlxuXG4gICAgICAgIDxpbnB1dFxuICAgICAgICAgIG1hdElucHV0XG4gICAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICAgIGN1cnJlbmN5TWFza1xuICAgICAgICAgIFtvcHRpb25zXT1cInJlc29sdmVkT3B0aW9uc1wiXG4gICAgICAgICAgW3BsYWNlaG9sZGVyXT1cInBsYWNlaG9sZGVyXCJcbiAgICAgICAgICBbcmVxdWlyZWRdPVwicmVxdWlyZWRcIlxuICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZCB8fCBsb2FkaW5nXCJcbiAgICAgICAgICBbYXR0ci5uYW1lXT1cIm5hbWUgfHwgbnVsbFwiXG4gICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJhcmlhTGFiZWwgfHwgbnVsbFwiXG4gICAgICAgICAgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICAgICAgICBbKG5nTW9kZWwpXT1cInZhbHVlXCJcbiAgICAgICAgICAoYmx1cik9XCJvblRvdWNoKClcIlxuICAgICAgICAvPlxuXG4gICAgICAgIDxtYXQtc3Bpbm5lclxuICAgICAgICAgIG1hdFByZWZpeFxuICAgICAgICAgICpuZ0lmPVwibG9hZGluZ1wiXG4gICAgICAgICAgbW9kZT1cImluZGV0ZXJtaW5hdGVcIlxuICAgICAgICAgIGRpYW1ldGVyPVwiMTdcIj5cbiAgICAgICAgPC9tYXQtc3Bpbm5lcj5cblxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJtYXQtaGludCwgW21hdC1oaW50XSwgbWF0LWVycm9yLCBbbWF0LWVycm9yXVwiPjwvbmctY29udGVudD5cbiAgICAg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lZDogYm9vbGVhbik6IHZvaWQgeyB0aGlzLmRpc2FibGVkID0gaXNEaXNhYmxlZDsgfVxufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './input-date.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdW1wa2luLXRlY2gtbmcvc3JjL2xpYi9jb21wb25lbnRzL2lucHV0LWRhdGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW5wdXQtZGF0ZS5jb21wb25lbnQnOyJdfQ==
|