@wizco/fenixds-ngx 17.2.1 → 17.3.2
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/modal-alert/modal-alert.component.mjs +129 -0
- package/esm2022/lib/modal-alert/modal-alert.types.mjs +2 -0
- package/esm2022/lib/smart-select/smart-select.component.mjs +8 -4
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/wizco-fenixds-ngx.mjs +133 -4
- package/fesm2022/wizco-fenixds-ngx.mjs.map +1 -1
- package/lib/modal-alert/modal-alert.component.d.ts +27 -0
- package/lib/modal-alert/modal-alert.component.d.ts.map +1 -0
- package/lib/modal-alert/modal-alert.types.d.ts +46 -0
- package/lib/modal-alert/modal-alert.types.d.ts.map +1 -0
- package/lib/smart-select/smart-select.component.d.ts +2 -1
- package/lib/smart-select/smart-select.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/public-api.d.ts.map +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { WcoModalAlertConfigActionsTypes, WcoModalAlertConfigTypes } from './modal-alert.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WcoModalAlertComponent implements OnChanges {
|
|
5
|
+
set show(value: boolean);
|
|
6
|
+
set showIcon(value: boolean);
|
|
7
|
+
set title(value: string);
|
|
8
|
+
set message(value: string);
|
|
9
|
+
set materialIcon(value: string);
|
|
10
|
+
set type(value: 'error' | 'warning' | 'success' | 'info' | 'loading');
|
|
11
|
+
set hideClose(value: boolean);
|
|
12
|
+
set actions(value: WcoModalAlertConfigActionsTypes[]);
|
|
13
|
+
id: string;
|
|
14
|
+
config: WcoModalAlertConfigTypes;
|
|
15
|
+
ngOnChanges(event: SimpleChanges): void;
|
|
16
|
+
getButtonClass(action: WcoModalAlertConfigActionsTypes): string;
|
|
17
|
+
get iconMaterial(): {
|
|
18
|
+
icon: string;
|
|
19
|
+
color: string;
|
|
20
|
+
};
|
|
21
|
+
changeValues(valueUpdate: any, name: string): void;
|
|
22
|
+
modalClose(): void;
|
|
23
|
+
eventModal(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WcoModalAlertComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WcoModalAlertComponent, "wco-modal-alert", never, { "show": { "alias": "show"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; "materialIcon": { "alias": "materialIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "hideClose": { "alias": "hideClose"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "id": { "alias": "setId"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=modal-alert.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-alert.component.d.ts","sourceRoot":"","sources":["../../../../projects/ngx-components/src/lib/modal-alert/modal-alert.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,SAAS,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;;AAEhG,qBAOa,sBAAuB,YAAW,SAAS;IACtD,IAAa,IAAI,CAAC,KAAK,EAAE,OAAO,EAE/B;IACD,IAAa,QAAQ,CAAC,KAAK,EAAE,OAAO,EAEnC;IACD,IAAa,KAAK,CAAC,KAAK,EAAE,MAAM,EAE/B;IACD,IAAa,OAAO,CAAC,KAAK,EAAE,MAAM,EAEjC;IAED,IAAa,YAAY,CAAC,KAAK,EAAE,MAAM,EAEtC;IAED,IAAa,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,EAE5E;IAED,IAAa,SAAS,CAAC,KAAK,EAAE,OAAO,EAEpC;IAED,IAAa,OAAO,CAAC,KAAK,EAAE,+BAA+B,EAAE,EAE5D;IAE0B,EAAE,SAAgE;IAEpF,MAAM,EAAE,wBAAwB,CAOvC;IAEF,WAAW,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAMvC,cAAc,CAAC,MAAM,EAAE,+BAA+B;IAYtD,IAAI,YAAY;;;MAcf;IAED,YAAY,CAAC,WAAW,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;IAQ3C,UAAU;IAOV,UAAU;yCA1FC,sBAAsB;2CAAtB,sBAAsB;CA4GlC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export interface WcoModalAlertConfigTypes {
|
|
2
|
+
/**
|
|
3
|
+
* @description Mostrar ou não o modal
|
|
4
|
+
*/
|
|
5
|
+
show: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* @description Mostrar ou não o ícone
|
|
8
|
+
*/
|
|
9
|
+
showIcon?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @description Bloquea o fechamento do modal
|
|
12
|
+
*/
|
|
13
|
+
hideClose?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @description Título do modal
|
|
16
|
+
*/
|
|
17
|
+
title?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @description Mensagem do modal
|
|
20
|
+
*/
|
|
21
|
+
message?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @description Ícone do modal
|
|
24
|
+
* @see https://material.io/resources/icons/?icon=error&style=baseline
|
|
25
|
+
*/
|
|
26
|
+
materialIcon?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @description Tipo do modal (error, warning, success, info e loading)
|
|
29
|
+
*/
|
|
30
|
+
type?: 'error' | 'warning' | 'success' | 'info' | 'loading';
|
|
31
|
+
/**
|
|
32
|
+
* @description Ações do modal
|
|
33
|
+
* @see WcoModalAlertConfigActionsTypes
|
|
34
|
+
*/
|
|
35
|
+
actions?: WcoModalAlertConfigActionsTypes[];
|
|
36
|
+
}
|
|
37
|
+
export interface WcoModalAlertConfigActionsTypes {
|
|
38
|
+
color: 'primary' | 'secondary' | 'neutral';
|
|
39
|
+
outline?: boolean;
|
|
40
|
+
extraClasse?: string;
|
|
41
|
+
text: string;
|
|
42
|
+
materialIconLeft?: string;
|
|
43
|
+
materialIconRight?: string;
|
|
44
|
+
action: () => void;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=modal-alert.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-alert.types.d.ts","sourceRoot":"","sources":["../../../../projects/ngx-components/src/lib/modal-alert/modal-alert.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC;;MAEE;IACF,IAAI,EAAE,OAAO,CAAC;IACd;;MAEE;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;MAEE;IACF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;MAEE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;MAEE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;MAGE;IACF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;MAEE;IACF,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAC5D;;;MAGE;IACF,OAAO,CAAC,EAAE,+BAA+B,EAAE,CAAC;CAC7C;AAED,MAAM,WAAW,+BAA+B;IAC9C,KAAK,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB"}
|
|
@@ -19,6 +19,7 @@ export declare class SmartSelectComponent implements ControlValueAccessor, Valid
|
|
|
19
19
|
multiSelect: boolean;
|
|
20
20
|
showMaxSelectedLabel: number;
|
|
21
21
|
typePrefix: 'checkbox' | 'radio' | null;
|
|
22
|
+
required: boolean;
|
|
22
23
|
isMobile: boolean;
|
|
23
24
|
formValue: any;
|
|
24
25
|
isFocused: boolean;
|
|
@@ -62,6 +63,6 @@ export declare class SmartSelectComponent implements ControlValueAccessor, Valid
|
|
|
62
63
|
private renderBoxOptions;
|
|
63
64
|
private normalizeText;
|
|
64
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSelectComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartSelectComponent, "wco-smart-select", never, { "inputId": { "alias": "inputId"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; "IconMaterial": { "alias": "IconMaterial"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "textEmpty": { "alias": "textEmpty"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "showMaxSelectedLabel": { "alias": "showMaxSelectedLabel"; "required": false; }; "typePrefix": { "alias": "typePrefix"; "required": false; }; }, { "onChange": "onChange"; }, ["options"], never, true, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartSelectComponent, "wco-smart-select", never, { "inputId": { "alias": "inputId"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; "IconMaterial": { "alias": "IconMaterial"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "textEmpty": { "alias": "textEmpty"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "showMaxSelectedLabel": { "alias": "showMaxSelectedLabel"; "required": false; }; "typePrefix": { "alias": "typePrefix"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "onChange": "onChange"; }, ["options"], never, true, never>;
|
|
66
67
|
}
|
|
67
68
|
//# sourceMappingURL=smart-select.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-select.component.d.ts","sourceRoot":"","sources":["../../../../projects/ngx-components/src/lib/smart-select/smart-select.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACV,YAAY,EAGZ,SAAS,EAGV,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,oBAAoB,EACpB,WAAW,EAKX,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;;AAE9E,qBAoBa,oBAAqB,YAAW,oBAAoB,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"smart-select.component.d.ts","sourceRoot":"","sources":["../../../../projects/ngx-components/src/lib/smart-select/smart-select.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACV,YAAY,EAGZ,SAAS,EAGV,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,oBAAoB,EACpB,WAAW,EAKX,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;;AAE9E,qBAoBa,oBAAqB,YAAW,oBAAoB,EAAE,SAAS;IAwD9D,OAAO,CAAC,EAAE;IAvDuB,OAAO,EAChD,SAAS,CAAC,0BAA0B,CAAC,GACrC,SAAS,CAAC;IAEJ,QAAQ;cAA4B,MAAM;eAAS,GAAG;OAAM;IAItE,OAAO,SAAuD;IAGrD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,YAAY,SAAqB;IAI1C,WAAW,SAAyB;IAG3B,KAAK,SAAO;IAGrB,UAAU,UAAS;IAInB,SAAS,SAAoC;IAI7C,WAAW,UAAS;IAIpB,oBAAoB,SAAK;IAIzB,UAAU,EAAE,UAAU,GAAG,OAAO,GAAG,IAAI,CAAQ;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B;CA2XhC"}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -13,4 +13,6 @@ export * from './lib/smart-select/smart-select-options.component';
|
|
|
13
13
|
export * from './lib/timeline/timeline.component';
|
|
14
14
|
export * from './lib/preview-file/preview-file.component';
|
|
15
15
|
export * from './lib/preview-file/preview-file.types';
|
|
16
|
+
export * from './lib/modal-alert/modal-alert.component';
|
|
17
|
+
export * from './lib/modal-alert/modal-alert.types';
|
|
16
18
|
//# sourceMappingURL=public-api.d.ts.map
|
package/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/ngx-components/src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAI1C,cAAc,mDAAmD,CAAC;AAClE,cAAc,8CAA8C,CAAC;AAK7D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AAItC,cAAc,uCAAuC,CAAC;AAGtD,cAAc,yCAAyC,CAAA;AAIvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mDAAmD,CAAC;AAGlE,cAAc,mCAAmC,CAAC;AAIlD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC"}
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/ngx-components/src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAI1C,cAAc,mDAAmD,CAAC;AAClE,cAAc,8CAA8C,CAAC;AAK7D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AAItC,cAAc,uCAAuC,CAAC;AAGtD,cAAc,yCAAyC,CAAA;AAIvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mDAAmD,CAAC;AAGlE,cAAc,mCAAmC,CAAC;AAIlD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AAGtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC"}
|