@pumpkin-tech/pumpkin-tech-ng 0.1.0 → 0.1.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/esm2022/lib/components/action-dialog/action-dialog.component.mjs +2 -2
- package/esm2022/lib/components/button/button.component.mjs +3 -3
- package/esm2022/lib/components/input/input.component.mjs +227 -147
- package/esm2022/lib/components/input-currency/index.mjs +2 -0
- package/esm2022/lib/components/input-currency/input-currency.component.mjs +146 -0
- package/esm2022/lib/components/input-date/index.mjs +2 -0
- package/esm2022/lib/components/input-date/input-date.component.mjs +382 -0
- package/esm2022/lib/components/input-date-range/index.mjs +2 -0
- package/esm2022/lib/components/{input-date-picker-range/input-date-picker-range.component.mjs → input-date-range/input-date-range.component.mjs} +8 -9
- package/esm2022/lib/components/input-time/index.mjs +2 -0
- package/esm2022/lib/components/input-time/input-time.component.mjs +207 -0
- package/esm2022/lib/components/nav/nav.component.mjs +9 -2
- package/esm2022/lib/components/quantity-items/quantity-items.component.mjs +150 -46
- package/esm2022/lib/components/radio-group-entity/radio-group-entity.component.mjs +19 -3
- package/esm2022/lib/components/radio-group-enum/index.mjs +2 -0
- package/esm2022/lib/components/radio-group-enum/radio-group-enum.component.mjs +140 -0
- package/esm2022/lib/components/select-entity/select-entity.component.mjs +19 -3
- package/esm2022/lib/components/select-enum/select-enum.component.mjs +19 -3
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +19 -3
- package/esm2022/lib/components/textarea/index.mjs +2 -0
- package/esm2022/lib/components/textarea/textarea.component.mjs +213 -0
- package/esm2022/lib/layout/ptech-col.directive.mjs +102 -0
- package/esm2022/lib/layout/ptech-grid.directive.mjs +125 -0
- package/esm2022/lib/modules/directives.module.mjs +15 -5
- package/esm2022/lib/modules/pipes.module.mjs +1 -1
- package/esm2022/lib/modules/pumpkin-tech.module.mjs +38 -14
- package/esm2022/public-api.mjs +10 -3
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs +1801 -334
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs.map +1 -1
- package/lib/components/input/input.component.d.ts +8 -1
- package/lib/components/input-currency/index.d.ts +1 -0
- package/lib/components/input-currency/input-currency.component.d.ts +28 -0
- package/lib/components/input-date/index.d.ts +1 -0
- package/lib/components/input-date/input-date.component.d.ts +68 -0
- package/lib/components/input-date-range/index.d.ts +1 -0
- package/lib/components/{input-date-picker-range/input-date-picker-range.component.d.ts → input-date-range/input-date-range.component.d.ts} +3 -3
- package/lib/components/input-time/index.d.ts +1 -0
- package/lib/components/input-time/input-time.component.d.ts +37 -0
- package/lib/components/nav/nav.component.d.ts +2 -1
- package/lib/components/quantity-items/quantity-items.component.d.ts +26 -3
- package/lib/components/radio-group-entity/radio-group-entity.component.d.ts +4 -1
- package/lib/components/radio-group-enum/index.d.ts +1 -0
- package/lib/components/radio-group-enum/radio-group-enum.component.d.ts +44 -0
- package/lib/components/select-entity/select-entity.component.d.ts +4 -1
- package/lib/components/select-enum/select-enum.component.d.ts +4 -1
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +4 -1
- package/lib/components/textarea/index.d.ts +1 -0
- package/lib/components/textarea/textarea.component.d.ts +54 -0
- package/lib/layout/ptech-col.directive.d.ts +25 -0
- package/lib/layout/ptech-grid.directive.d.ts +32 -0
- package/lib/modules/directives.module.d.ts +3 -1
- package/lib/modules/pumpkin-tech.module.d.ts +29 -25
- package/package.json +4 -2
- package/public-api.d.ts +8 -2
- package/esm2022/lib/components/input-date-picker-range/index.mjs +0 -2
- package/esm2022/lib/components/radio-group/index.mjs +0 -2
- package/esm2022/lib/components/radio-group/radio-group.component.mjs +0 -74
- package/lib/components/input-date-picker-range/index.d.ts +0 -1
- package/lib/components/radio-group/index.d.ts +0 -1
- package/lib/components/radio-group/radio-group.component.d.ts +0 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pumpkin-tech/pumpkin-tech-ng",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Biblioteca Angular com utilitários e componentes Pumpkin Tech",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
"@angular/material-moment-adapter": "18.2.13",
|
|
25
25
|
"moment": "^2.29.4",
|
|
26
26
|
"@faker-js/faker": "^9.0.3",
|
|
27
|
-
"@ngx-translate/core": "^16.0.4"
|
|
27
|
+
"@ngx-translate/core": "^16.0.4",
|
|
28
|
+
"ngx-currency": "^18.0.0 || ^19.0.0",
|
|
29
|
+
"ngx-material-timepicker": "^13.1.1"
|
|
28
30
|
},
|
|
29
31
|
"dependencies": {
|
|
30
32
|
"tslib": "^2.5.0"
|
package/public-api.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
export * from './lib/layout/ptech-grid.directive';
|
|
2
|
+
export * from './lib/layout/ptech-col.directive';
|
|
1
3
|
export * from './lib/components/input';
|
|
4
|
+
export * from './lib/components/textarea';
|
|
2
5
|
export * from './lib/components/button';
|
|
3
6
|
export * from './lib/components/icon';
|
|
4
7
|
export * from './lib/components/action-row';
|
|
@@ -11,7 +14,7 @@ export * from './lib/components/footer';
|
|
|
11
14
|
export * from './lib/components/loading-overlay';
|
|
12
15
|
export * from './lib/components/progress-bar';
|
|
13
16
|
export * from './lib/components/progress-bar-multiple';
|
|
14
|
-
export * from './lib/components/radio-group';
|
|
17
|
+
export * from './lib/components/radio-group-enum';
|
|
15
18
|
export * from './lib/components/radio-group-entity';
|
|
16
19
|
export * from './lib/components/select-enum';
|
|
17
20
|
export * from './lib/components/slide-toggle';
|
|
@@ -24,7 +27,10 @@ export * from './lib/components/action-result-dialog';
|
|
|
24
27
|
export * from './lib/components/alert';
|
|
25
28
|
export * from './lib/components/profile-menu';
|
|
26
29
|
export * from './lib/components/check-box';
|
|
27
|
-
export * from './lib/components/input-date-
|
|
30
|
+
export * from './lib/components/input-date-range';
|
|
31
|
+
export * from './lib/components/input-date';
|
|
32
|
+
export * from './lib/components/input-time';
|
|
33
|
+
export * from './lib/components/input-currency';
|
|
28
34
|
export * from './lib/components/title';
|
|
29
35
|
export * from './lib/modules/pumpkin-tech.module';
|
|
30
36
|
export * from './lib/modules/directives.module';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './input-date-picker-range.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdW1wa2luLXRlY2gtbmcvc3JjL2xpYi9jb21wb25lbnRzL2lucHV0LWRhdGUtcGlja2VyLXJhbmdlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUNBQXFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lucHV0LWRhdGUtcGlja2VyLXJhbmdlLmNvbXBvbmVudCc7Il19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './radio-group.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdW1wa2luLXRlY2gtbmcvc3JjL2xpYi9jb21wb25lbnRzL3JhZGlvLWdyb3VwL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3JhZGlvLWdyb3VwLmNvbXBvbmVudCc7Il19
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { Component, Input, forwardRef } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { CoreMaterialModule } from '../../modules/core.material.module';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "@angular/material/form-field";
|
|
8
|
-
import * as i4 from "@angular/material/radio";
|
|
9
|
-
export class RadioGroupComponent {
|
|
10
|
-
label = '';
|
|
11
|
-
disabled = false;
|
|
12
|
-
required = false;
|
|
13
|
-
property = 'description';
|
|
14
|
-
entities = [];
|
|
15
|
-
_value;
|
|
16
|
-
get value() {
|
|
17
|
-
return this._value;
|
|
18
|
-
}
|
|
19
|
-
set value(val) {
|
|
20
|
-
this._value = val;
|
|
21
|
-
this.onChange(val);
|
|
22
|
-
this.onTouch();
|
|
23
|
-
}
|
|
24
|
-
onChange = () => { };
|
|
25
|
-
onTouch = () => { };
|
|
26
|
-
writeValue(value) {
|
|
27
|
-
this.value = value;
|
|
28
|
-
}
|
|
29
|
-
registerOnChange(fn) {
|
|
30
|
-
this.onChange = fn;
|
|
31
|
-
}
|
|
32
|
-
registerOnTouched(fn) {
|
|
33
|
-
this.onTouch = fn;
|
|
34
|
-
}
|
|
35
|
-
getPropertyValue(entity) {
|
|
36
|
-
if (!entity)
|
|
37
|
-
return '';
|
|
38
|
-
if (typeof entity === 'string')
|
|
39
|
-
return entity;
|
|
40
|
-
return entity[this.property];
|
|
41
|
-
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: RadioGroupComponent, isStandalone: true, selector: "ptech-radio-group", inputs: { label: "label", disabled: "disabled", required: "required", property: "property", entities: "entities", value: "value" }, providers: [
|
|
44
|
-
{
|
|
45
|
-
provide: NG_VALUE_ACCESSOR,
|
|
46
|
-
useExisting: forwardRef(() => RadioGroupComponent),
|
|
47
|
-
multi: true,
|
|
48
|
-
},
|
|
49
|
-
], ngImport: i0, template: "<div class=\"radio-group-column\">\n <mat-label>{{ label }} <span *ngIf=\"required\">*</span></mat-label>\n <mat-radio-group\n [(ngModel)]=\"value\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n >\n <mat-radio-button *ngFor=\"let entity of entities\" [value]=\"entity\">\n {{ getPropertyValue(entity) }}\n </mat-radio-button>\n </mat-radio-group>\n</div>\n", styles: [".radio-group-column{display:flex;flex-direction:column}mat-label span{color:#f44336!important}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i4.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }] });
|
|
50
|
-
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioGroupComponent, decorators: [{
|
|
52
|
-
type: Component,
|
|
53
|
-
args: [{ selector: 'ptech-radio-group', standalone: true, imports: [CoreMaterialModule], providers: [
|
|
54
|
-
{
|
|
55
|
-
provide: NG_VALUE_ACCESSOR,
|
|
56
|
-
useExisting: forwardRef(() => RadioGroupComponent),
|
|
57
|
-
multi: true,
|
|
58
|
-
},
|
|
59
|
-
], template: "<div class=\"radio-group-column\">\n <mat-label>{{ label }} <span *ngIf=\"required\">*</span></mat-label>\n <mat-radio-group\n [(ngModel)]=\"value\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n >\n <mat-radio-button *ngFor=\"let entity of entities\" [value]=\"entity\">\n {{ getPropertyValue(entity) }}\n </mat-radio-button>\n </mat-radio-group>\n</div>\n", styles: [".radio-group-column{display:flex;flex-direction:column}mat-label span{color:#f44336!important}\n"] }]
|
|
60
|
-
}], propDecorators: { label: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], disabled: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}], required: [{
|
|
65
|
-
type: Input
|
|
66
|
-
}], property: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], entities: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], value: [{
|
|
71
|
-
type: Input,
|
|
72
|
-
args: ['value']
|
|
73
|
-
}] } });
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tZ3JvdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVtcGtpbi10ZWNoLW5nL3NyYy9saWIvY29tcG9uZW50cy9yYWRpby1ncm91cC9yYWRpby1ncm91cC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi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YgY2xhc3M9XCJyYWRpby1ncm91cC1jb2x1bW5cIj5cbiAgPG1hdC1sYWJlbD57eyBsYWJlbCB9fSA8c3BhbiAqbmdJZj1cInJlcXVpcmVkXCI+Kjwvc3Bhbj48L21hdC1sYWJlbD5cbiAgPG1hdC1yYWRpby1ncm91cFxuICAgIFsobmdNb2RlbCldPVwidmFsdWVcIlxuICAgIFtyZXF1aXJlZF09XCJyZXF1aXJlZFwiXG4gICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgPlxuICAgIDxtYXQtcmFkaW8tYnV0dG9uICpuZ0Zvcj1cImxldCBlbnRpdHkgb2YgZW50aXRpZXNcIiBbdmFsdWVdPVwiZW50aXR5XCI+XG4gICAgICB7eyBnZXRQcm9wZXJ0eVZhbHVlKGVudGl0eSkgfX1cbiAgICA8L21hdC1yYWRpby1idXR0b24+XG4gIDwvbWF0LXJhZGlvLWdyb3VwPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input-date-picker-range.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './radio-group.component';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RadioGroupComponent implements ControlValueAccessor {
|
|
4
|
-
label: string;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
required: boolean;
|
|
7
|
-
property: string;
|
|
8
|
-
entities: any[];
|
|
9
|
-
private _value;
|
|
10
|
-
get value(): any;
|
|
11
|
-
set value(val: any);
|
|
12
|
-
onChange: any;
|
|
13
|
-
onTouch: any;
|
|
14
|
-
writeValue(value: any): void;
|
|
15
|
-
registerOnChange(fn: any): void;
|
|
16
|
-
registerOnTouched(fn: any): void;
|
|
17
|
-
getPropertyValue(entity: any): string;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "ptech-radio-group", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "property": { "alias": "property"; "required": false; }; "entities": { "alias": "entities"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|