@apipass/icons 0.2.1-alpha.5 → 0.2.1-test.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.
@@ -4,206 +4,206 @@ import { MatIcon, MatIconModule } from '@angular/material/icon';
4
4
  import { MatTooltip, MatTooltipModule } from '@angular/material/tooltip';
5
5
  import { RouterLinkWithHref, RouterLinkActive, RouterModule } from '@angular/router';
6
6
 
7
- const _c0 = function (a0) { return { "font-size": a0 }; };
8
- function IconComponent_i_0_Template(rf, ctx) { if (rf & 1) {
9
- const _r5 = ɵɵgetCurrentView();
10
- ɵɵelementStart(0, "i", 3);
11
- ɵɵlistener("click", function IconComponent_i_0_Template_i_click_0_listener() { ɵɵrestoreView(_r5); const ctx_r4 = ɵɵnextContext(); return ctx_r4.click(); });
12
- ɵɵelementEnd();
13
- } if (rf & 2) {
14
- const ctx_r0 = ɵɵnextContext();
15
- ɵɵproperty("matTooltip", ctx_r0.title || "")("ngClass", ctx_r0.getClass())("ngStyle", ɵɵpureFunction1(3, _c0, ctx_r0.getFontSize()));
16
- } }
17
- function IconComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
18
- const _r7 = ɵɵgetCurrentView();
19
- ɵɵelementStart(0, "mat-icon", 3);
20
- ɵɵlistener("click", function IconComponent_mat_icon_1_Template_mat_icon_click_0_listener() { ɵɵrestoreView(_r7); const ctx_r6 = ɵɵnextContext(); return ctx_r6.click(); });
21
- ɵɵtext(1);
22
- ɵɵelementEnd();
23
- } if (rf & 2) {
24
- const ctx_r1 = ɵɵnextContext();
25
- ɵɵproperty("matTooltip", ctx_r1.title || "")("ngClass", ctx_r1.getClass())("ngStyle", ɵɵpureFunction1(4, _c0, ctx_r1.getFontSize()));
26
- ɵɵadvance(1);
27
- ɵɵtextInterpolate(ctx_r1.name);
28
- } }
29
- function IconComponent_a_2_i_1_Template(rf, ctx) { if (rf & 1) {
30
- ɵɵelement(0, "i", 6);
31
- } if (rf & 2) {
32
- const ctx_r8 = ɵɵnextContext(2);
33
- ɵɵproperty("ngClass", ctx_r8.getClass())("ngStyle", ɵɵpureFunction1(2, _c0, ctx_r8.getFontSize()));
34
- } }
35
- function IconComponent_a_2_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
36
- ɵɵelementStart(0, "mat-icon", 6);
37
- ɵɵtext(1);
38
- ɵɵelementEnd();
39
- } if (rf & 2) {
40
- const ctx_r9 = ɵɵnextContext(2);
41
- ɵɵproperty("ngClass", ctx_r9.getClass())("ngStyle", ɵɵpureFunction1(3, _c0, ctx_r9.getFontSize()));
42
- ɵɵadvance(1);
43
- ɵɵtextInterpolate(ctx_r9.name);
44
- } }
45
- function IconComponent_a_2_Template(rf, ctx) { if (rf & 1) {
46
- const _r11 = ɵɵgetCurrentView();
47
- ɵɵelementStart(0, "a", 4);
48
- ɵɵlistener("click", function IconComponent_a_2_Template_a_click_0_listener() { ɵɵrestoreView(_r11); const ctx_r10 = ɵɵnextContext(); return ctx_r10.click(); });
49
- ɵɵtemplate(1, IconComponent_a_2_i_1_Template, 1, 4, "i", 5);
50
- ɵɵtemplate(2, IconComponent_a_2_mat_icon_2_Template, 2, 5, "mat-icon", 5);
51
- ɵɵelementEnd();
52
- } if (rf & 2) {
53
- const ctx_r2 = ɵɵnextContext();
54
- ɵɵproperty("matTooltip", ctx_r2.title || "")("routerLinkActive", ctx_r2.routerLinkActive || "")("routerLink", ctx_r2.routerLink);
55
- ɵɵadvance(1);
56
- ɵɵproperty("ngIf", !ctx_r2.isMaterialIcon);
57
- ɵɵadvance(1);
58
- ɵɵproperty("ngIf", ctx_r2.isMaterialIcon);
59
- } }
60
- function IconComponent_a_3_i_1_Template(rf, ctx) { if (rf & 1) {
61
- ɵɵelement(0, "i", 6);
62
- } if (rf & 2) {
63
- const ctx_r12 = ɵɵnextContext(2);
64
- ɵɵproperty("ngClass", ctx_r12.getClass())("ngStyle", ɵɵpureFunction1(2, _c0, ctx_r12.getFontSize()));
65
- } }
66
- function IconComponent_a_3_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
67
- ɵɵelementStart(0, "mat-icon", 6);
68
- ɵɵtext(1);
69
- ɵɵelementEnd();
70
- } if (rf & 2) {
71
- const ctx_r13 = ɵɵnextContext(2);
72
- ɵɵproperty("ngClass", ctx_r13.getClass())("ngStyle", ɵɵpureFunction1(3, _c0, ctx_r13.getFontSize()));
73
- ɵɵadvance(1);
74
- ɵɵtextInterpolate(ctx_r13.name);
75
- } }
76
- function IconComponent_a_3_Template(rf, ctx) { if (rf & 1) {
77
- const _r15 = ɵɵgetCurrentView();
78
- ɵɵelementStart(0, "a", 7);
79
- ɵɵlistener("click", function IconComponent_a_3_Template_a_click_0_listener() { ɵɵrestoreView(_r15); const ctx_r14 = ɵɵnextContext(); return ctx_r14.click(); });
80
- ɵɵtemplate(1, IconComponent_a_3_i_1_Template, 1, 4, "i", 5);
81
- ɵɵtemplate(2, IconComponent_a_3_mat_icon_2_Template, 2, 5, "mat-icon", 5);
82
- ɵɵelementEnd();
83
- } if (rf & 2) {
84
- const ctx_r3 = ɵɵnextContext();
85
- ɵɵproperty("matTooltip", ctx_r3.title || "")("routerLinkActive", ctx_r3.routerLinkActive || "")("href", ctx_r3.link, ɵɵsanitizeUrl)("target", ctx_r3.target);
86
- ɵɵadvance(1);
87
- ɵɵproperty("ngIf", !ctx_r3.isMaterialIcon);
88
- ɵɵadvance(1);
89
- ɵɵproperty("ngIf", ctx_r3.isMaterialIcon);
90
- } }
91
- class IconComponent {
92
- constructor() {
93
- this.type = 'primary';
94
- this.isMaterialIcon = false;
95
- this.materialOutline = false;
96
- this.onClick = new EventEmitter();
97
- }
98
- click() {
99
- this.onClick.emit(true);
100
- }
101
- getFontSize() {
102
- return this.size ? `${this.size}px` : 'inherit';
103
- }
104
- getClass() {
105
- var _a, _b;
106
- const classValues = {};
107
- if (!this.isMaterialIcon) {
108
- classValues[this.name] = true;
109
- }
110
- else {
111
- classValues['material-icon'] = true;
112
- }
113
- if (this.materialOutline) {
114
- classValues['material-icons-outlined'] = true;
115
- }
116
- classValues[`apipass-icon-${this.type}`] = true;
117
- if (this.isActive) {
118
- classValues[`apipass-icon-${this.type}-active`] = true;
119
- }
120
- if (((_b = (_a = this.onClick) === null || _a === void 0 ? void 0 : _a.observers) === null || _b === void 0 ? void 0 : _b.length) > 0) {
121
- classValues[`clickable`] = true;
122
- }
123
- return classValues;
124
- }
125
- }
126
- IconComponent.ɵfac = function IconComponent_Factory(t) { return new (t || IconComponent)(); };
127
- IconComponent.ɵcmp = ɵɵdefineComponent({ type: IconComponent, selectors: [["icon"]], inputs: { name: "name", title: "title", type: "type", size: "size", isMaterialIcon: "isMaterialIcon", materialOutline: "materialOutline", routerLinkActive: "routerLinkActive", routerLink: "routerLink", link: "link", target: "target", isActive: "isActive" }, outputs: { onClick: "onClick" }, decls: 4, vars: 4, consts: [[3, "matTooltip", "ngClass", "ngStyle", "click", 4, "ngIf"], [3, "matTooltip", "routerLinkActive", "routerLink", "click", 4, "ngIf"], [3, "matTooltip", "routerLinkActive", "href", "target", "click", 4, "ngIf"], [3, "matTooltip", "ngClass", "ngStyle", "click"], [3, "matTooltip", "routerLinkActive", "routerLink", "click"], [3, "ngClass", "ngStyle", 4, "ngIf"], [3, "ngClass", "ngStyle"], [3, "matTooltip", "routerLinkActive", "href", "target", "click"]], template: function IconComponent_Template(rf, ctx) { if (rf & 1) {
128
- ɵɵtemplate(0, IconComponent_i_0_Template, 1, 5, "i", 0);
129
- ɵɵtemplate(1, IconComponent_mat_icon_1_Template, 2, 6, "mat-icon", 0);
130
- ɵɵtemplate(2, IconComponent_a_2_Template, 3, 5, "a", 1);
131
- ɵɵtemplate(3, IconComponent_a_3_Template, 3, 6, "a", 2);
132
- } if (rf & 2) {
133
- ɵɵproperty("ngIf", !ctx.isMaterialIcon && ctx.name && !ctx.routerLink && !ctx.link);
134
- ɵɵadvance(1);
135
- ɵɵproperty("ngIf", ctx.isMaterialIcon && ctx.name && !ctx.routerLink && !ctx.link);
136
- ɵɵadvance(1);
137
- ɵɵproperty("ngIf", ctx.name && ctx.routerLink);
138
- ɵɵadvance(1);
139
- ɵɵproperty("ngIf", ctx.name && ctx.link);
140
- } }, directives: [NgIf, MatTooltip, NgClass, NgStyle, MatIcon, RouterLinkWithHref, RouterLinkActive], styles: ["[_ngcontent-%COMP%]:root{--color-body-light:#fff;--color-fonts-tertiary:#777;--color-inputs-background:#fff;--color-inputs-border:#ddd;--color-primary:#222d57;--color-primary-active:#29376a;--color-primary-hover:#18203d;--color-red:red;--color-secondary:#d3d921;--color-secondary-active:#dce13f;--color-secondary-hover:#b3b81c;--color-tertiary:#efefef;--color-tertiary-active:#f1f1f1;--color-tertiary-hover:#cbcbcb;--color_components_light:#fff;--color_disabled:#e0e0e0;--color_graph_error:#eb5757;--color_graph_error_hover:#c91717;--color_graph_primary:#1643ef;--color_graph_primary_hover:#0a2692;--color_icon_remove:var(--color-red);--color_icon_success:#070;--limit-plan-color:#ff6c00}.apipass-icon-primary[_ngcontent-%COMP%]{color:var(--color-primary)}.apipass-icon-secondary[_ngcontent-%COMP%]{color:var(--color-secondary)}.apipass-icon-tertiary[_ngcontent-%COMP%]{color:var(--color-fonts-tertiary)}.apipass-icon-remove[_ngcontent-%COMP%]{color:var(--color_icon_remove)}.apipass-icon-success[_ngcontent-%COMP%]{color:var(--color_icon_success)}.apipass-icon-white[_ngcontent-%COMP%]{color:#fff}.apipass-icon-white-active[_ngcontent-%COMP%]{color:var(--color-secondary)}.clickable[_ngcontent-%COMP%]{cursor:pointer}.apipass-custom-icon[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:100%;display:block;height:100%;width:100%}.apipass-custom-faq-icon[_ngcontent-%COMP%]{background-image:url(/assets/images/icons/custom/apipass-custom-faq-icon.png)}.apipass-custom-chat-icon[_ngcontent-%COMP%]{background-image:url(/assets/images/icons/custom/apipass-custom-chat-icon.png)}.apipass-custom-mouse-icon[_ngcontent-%COMP%]{background-image:url(/assets/images/icons/custom/apipass-custom-mouse-icon.png)}.apipass-customization-icon[_ngcontent-%COMP%]{background-image:url(/assets/images/icons/custom/apipass-customization-icon.png)}"] });
141
- /*@__PURE__*/ (function () { ɵsetClassMetadata(IconComponent, [{
142
- type: Component,
143
- args: [{
144
- selector: 'icon',
145
- templateUrl: 'icon.component.html',
146
- styleUrls: ['icon.component.scss']
147
- }]
148
- }], null, { name: [{
149
- type: Input
150
- }], title: [{
151
- type: Input
152
- }], type: [{
153
- type: Input
154
- }], size: [{
155
- type: Input
156
- }], isMaterialIcon: [{
157
- type: Input
158
- }], materialOutline: [{
159
- type: Input
160
- }], routerLinkActive: [{
161
- type: Input
162
- }], routerLink: [{
163
- type: Input
164
- }], link: [{
165
- type: Input
166
- }], target: [{
167
- type: Input
168
- }], isActive: [{
169
- type: Input
170
- }], onClick: [{
171
- type: Output
7
+ const _c0 = function (a0) { return { "font-size": a0 }; };
8
+ function IconComponent_i_0_Template(rf, ctx) { if (rf & 1) {
9
+ const _r5 = ɵɵgetCurrentView();
10
+ ɵɵelementStart(0, "i", 3);
11
+ ɵɵlistener("click", function IconComponent_i_0_Template_i_click_0_listener() { ɵɵrestoreView(_r5); const ctx_r4 = ɵɵnextContext(); return ctx_r4.click(); });
12
+ ɵɵelementEnd();
13
+ } if (rf & 2) {
14
+ const ctx_r0 = ɵɵnextContext();
15
+ ɵɵproperty("matTooltip", ctx_r0.title || "")("ngClass", ctx_r0.getClass())("ngStyle", ɵɵpureFunction1(3, _c0, ctx_r0.getFontSize()));
16
+ } }
17
+ function IconComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
18
+ const _r7 = ɵɵgetCurrentView();
19
+ ɵɵelementStart(0, "mat-icon", 3);
20
+ ɵɵlistener("click", function IconComponent_mat_icon_1_Template_mat_icon_click_0_listener() { ɵɵrestoreView(_r7); const ctx_r6 = ɵɵnextContext(); return ctx_r6.click(); });
21
+ ɵɵtext(1);
22
+ ɵɵelementEnd();
23
+ } if (rf & 2) {
24
+ const ctx_r1 = ɵɵnextContext();
25
+ ɵɵproperty("matTooltip", ctx_r1.title || "")("ngClass", ctx_r1.getClass())("ngStyle", ɵɵpureFunction1(4, _c0, ctx_r1.getFontSize()));
26
+ ɵɵadvance(1);
27
+ ɵɵtextInterpolate(ctx_r1.name);
28
+ } }
29
+ function IconComponent_a_2_i_1_Template(rf, ctx) { if (rf & 1) {
30
+ ɵɵelement(0, "i", 6);
31
+ } if (rf & 2) {
32
+ const ctx_r8 = ɵɵnextContext(2);
33
+ ɵɵproperty("ngClass", ctx_r8.getClass())("ngStyle", ɵɵpureFunction1(2, _c0, ctx_r8.getFontSize()));
34
+ } }
35
+ function IconComponent_a_2_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
36
+ ɵɵelementStart(0, "mat-icon", 6);
37
+ ɵɵtext(1);
38
+ ɵɵelementEnd();
39
+ } if (rf & 2) {
40
+ const ctx_r9 = ɵɵnextContext(2);
41
+ ɵɵproperty("ngClass", ctx_r9.getClass())("ngStyle", ɵɵpureFunction1(3, _c0, ctx_r9.getFontSize()));
42
+ ɵɵadvance(1);
43
+ ɵɵtextInterpolate(ctx_r9.name);
44
+ } }
45
+ function IconComponent_a_2_Template(rf, ctx) { if (rf & 1) {
46
+ const _r11 = ɵɵgetCurrentView();
47
+ ɵɵelementStart(0, "a", 4);
48
+ ɵɵlistener("click", function IconComponent_a_2_Template_a_click_0_listener() { ɵɵrestoreView(_r11); const ctx_r10 = ɵɵnextContext(); return ctx_r10.click(); });
49
+ ɵɵtemplate(1, IconComponent_a_2_i_1_Template, 1, 4, "i", 5);
50
+ ɵɵtemplate(2, IconComponent_a_2_mat_icon_2_Template, 2, 5, "mat-icon", 5);
51
+ ɵɵelementEnd();
52
+ } if (rf & 2) {
53
+ const ctx_r2 = ɵɵnextContext();
54
+ ɵɵproperty("matTooltip", ctx_r2.title || "")("routerLinkActive", ctx_r2.routerLinkActive || "")("routerLink", ctx_r2.routerLink);
55
+ ɵɵadvance(1);
56
+ ɵɵproperty("ngIf", !ctx_r2.isMaterialIcon);
57
+ ɵɵadvance(1);
58
+ ɵɵproperty("ngIf", ctx_r2.isMaterialIcon);
59
+ } }
60
+ function IconComponent_a_3_i_1_Template(rf, ctx) { if (rf & 1) {
61
+ ɵɵelement(0, "i", 6);
62
+ } if (rf & 2) {
63
+ const ctx_r12 = ɵɵnextContext(2);
64
+ ɵɵproperty("ngClass", ctx_r12.getClass())("ngStyle", ɵɵpureFunction1(2, _c0, ctx_r12.getFontSize()));
65
+ } }
66
+ function IconComponent_a_3_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
67
+ ɵɵelementStart(0, "mat-icon", 6);
68
+ ɵɵtext(1);
69
+ ɵɵelementEnd();
70
+ } if (rf & 2) {
71
+ const ctx_r13 = ɵɵnextContext(2);
72
+ ɵɵproperty("ngClass", ctx_r13.getClass())("ngStyle", ɵɵpureFunction1(3, _c0, ctx_r13.getFontSize()));
73
+ ɵɵadvance(1);
74
+ ɵɵtextInterpolate(ctx_r13.name);
75
+ } }
76
+ function IconComponent_a_3_Template(rf, ctx) { if (rf & 1) {
77
+ const _r15 = ɵɵgetCurrentView();
78
+ ɵɵelementStart(0, "a", 7);
79
+ ɵɵlistener("click", function IconComponent_a_3_Template_a_click_0_listener() { ɵɵrestoreView(_r15); const ctx_r14 = ɵɵnextContext(); return ctx_r14.click(); });
80
+ ɵɵtemplate(1, IconComponent_a_3_i_1_Template, 1, 4, "i", 5);
81
+ ɵɵtemplate(2, IconComponent_a_3_mat_icon_2_Template, 2, 5, "mat-icon", 5);
82
+ ɵɵelementEnd();
83
+ } if (rf & 2) {
84
+ const ctx_r3 = ɵɵnextContext();
85
+ ɵɵproperty("matTooltip", ctx_r3.title || "")("routerLinkActive", ctx_r3.routerLinkActive || "")("href", ctx_r3.link, ɵɵsanitizeUrl)("target", ctx_r3.target);
86
+ ɵɵadvance(1);
87
+ ɵɵproperty("ngIf", !ctx_r3.isMaterialIcon);
88
+ ɵɵadvance(1);
89
+ ɵɵproperty("ngIf", ctx_r3.isMaterialIcon);
90
+ } }
91
+ class IconComponent {
92
+ constructor() {
93
+ this.type = 'primary';
94
+ this.isMaterialIcon = false;
95
+ this.materialOutline = false;
96
+ this.onClick = new EventEmitter();
97
+ }
98
+ click() {
99
+ this.onClick.emit(true);
100
+ }
101
+ getFontSize() {
102
+ return this.size ? `${this.size}px` : 'inherit';
103
+ }
104
+ getClass() {
105
+ var _a, _b;
106
+ const classValues = {};
107
+ if (!this.isMaterialIcon) {
108
+ classValues[this.name] = true;
109
+ }
110
+ else {
111
+ classValues['material-icon'] = true;
112
+ }
113
+ if (this.materialOutline) {
114
+ classValues['material-icons-outlined'] = true;
115
+ }
116
+ classValues[`apipass-icon-${this.type}`] = true;
117
+ if (this.isActive) {
118
+ classValues[`apipass-icon-${this.type}-active`] = true;
119
+ }
120
+ if (((_b = (_a = this.onClick) === null || _a === void 0 ? void 0 : _a.observers) === null || _b === void 0 ? void 0 : _b.length) > 0) {
121
+ classValues[`clickable`] = true;
122
+ }
123
+ return classValues;
124
+ }
125
+ }
126
+ IconComponent.ɵfac = function IconComponent_Factory(t) { return new (t || IconComponent)(); };
127
+ IconComponent.ɵcmp = ɵɵdefineComponent({ type: IconComponent, selectors: [["icon"]], inputs: { name: "name", title: "title", type: "type", size: "size", isMaterialIcon: "isMaterialIcon", materialOutline: "materialOutline", routerLinkActive: "routerLinkActive", routerLink: "routerLink", link: "link", target: "target", isActive: "isActive" }, outputs: { onClick: "onClick" }, decls: 4, vars: 4, consts: [[3, "matTooltip", "ngClass", "ngStyle", "click", 4, "ngIf"], [3, "matTooltip", "routerLinkActive", "routerLink", "click", 4, "ngIf"], [3, "matTooltip", "routerLinkActive", "href", "target", "click", 4, "ngIf"], [3, "matTooltip", "ngClass", "ngStyle", "click"], [3, "matTooltip", "routerLinkActive", "routerLink", "click"], [3, "ngClass", "ngStyle", 4, "ngIf"], [3, "ngClass", "ngStyle"], [3, "matTooltip", "routerLinkActive", "href", "target", "click"]], template: function IconComponent_Template(rf, ctx) { if (rf & 1) {
128
+ ɵɵtemplate(0, IconComponent_i_0_Template, 1, 5, "i", 0);
129
+ ɵɵtemplate(1, IconComponent_mat_icon_1_Template, 2, 6, "mat-icon", 0);
130
+ ɵɵtemplate(2, IconComponent_a_2_Template, 3, 5, "a", 1);
131
+ ɵɵtemplate(3, IconComponent_a_3_Template, 3, 6, "a", 2);
132
+ } if (rf & 2) {
133
+ ɵɵproperty("ngIf", !ctx.isMaterialIcon && ctx.name && !ctx.routerLink && !ctx.link);
134
+ ɵɵadvance(1);
135
+ ɵɵproperty("ngIf", ctx.isMaterialIcon && ctx.name && !ctx.routerLink && !ctx.link);
136
+ ɵɵadvance(1);
137
+ ɵɵproperty("ngIf", ctx.name && ctx.routerLink);
138
+ ɵɵadvance(1);
139
+ ɵɵproperty("ngIf", ctx.name && ctx.link);
140
+ } }, directives: [NgIf, MatTooltip, NgClass, NgStyle, MatIcon, RouterLinkWithHref, RouterLinkActive], styles: ["[_ngcontent-%COMP%]:root{--color-body-light:#fff;--color-fonts-tertiary:#777;--color-inputs-background:#fff;--color-inputs-border:#ddd;--color-primary:#222d57;--color-primary-active:#29376a;--color-primary-hover:#18203d;--color-red:red;--color-secondary:#d3d921;--color-secondary-active:#dce13f;--color-secondary-hover:#b3b81c;--color-tertiary:#efefef;--color-tertiary-active:#f1f1f1;--color-tertiary-hover:#cbcbcb;--color_components_light:#fff;--color_disabled:#e0e0e0;--color_graph_error:#eb5757;--color_graph_error_hover:#c91717;--color_graph_primary:#1643ef;--color_graph_primary_hover:#0a2692;--color_icon_remove:var(--color-red);--color_icon_success:#070;--limit-plan-color:#ff6c00}.apipass-icon-primary[_ngcontent-%COMP%]{color:var(--color-primary)}.apipass-icon-secondary[_ngcontent-%COMP%]{color:var(--color-secondary)}.apipass-icon-tertiary[_ngcontent-%COMP%]{color:var(--color-fonts-tertiary)}.apipass-icon-remove[_ngcontent-%COMP%]{color:var(--color_icon_remove)}.apipass-icon-success[_ngcontent-%COMP%]{color:var(--color_icon_success)}.apipass-icon-white[_ngcontent-%COMP%]{color:#fff}.apipass-icon-white-active[_ngcontent-%COMP%]{color:var(--color-secondary)}.clickable[_ngcontent-%COMP%]{cursor:pointer}.apipass-custom-icon[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:100%;display:block;height:100%;width:100%}.apipass-custom-faq-icon[_ngcontent-%COMP%]{background-image:url(/assets/images/icons/custom/apipass-custom-faq-icon.png)}.apipass-custom-chat-icon[_ngcontent-%COMP%]{background-image:url(/assets/images/icons/custom/apipass-custom-chat-icon.png)}.apipass-custom-mouse-icon[_ngcontent-%COMP%]{background-image:url(/assets/images/icons/custom/apipass-custom-mouse-icon.png)}.apipass-customization-icon[_ngcontent-%COMP%]{background-image:url(/assets/images/icons/custom/apipass-customization-icon.png)}"] });
141
+ /*@__PURE__*/ (function () { ɵsetClassMetadata(IconComponent, [{
142
+ type: Component,
143
+ args: [{
144
+ selector: 'icon',
145
+ templateUrl: './icon.component.html',
146
+ styleUrls: ['icon.component.scss']
147
+ }]
148
+ }], null, { name: [{
149
+ type: Input
150
+ }], title: [{
151
+ type: Input
152
+ }], type: [{
153
+ type: Input
154
+ }], size: [{
155
+ type: Input
156
+ }], isMaterialIcon: [{
157
+ type: Input
158
+ }], materialOutline: [{
159
+ type: Input
160
+ }], routerLinkActive: [{
161
+ type: Input
162
+ }], routerLink: [{
163
+ type: Input
164
+ }], link: [{
165
+ type: Input
166
+ }], target: [{
167
+ type: Input
168
+ }], isActive: [{
169
+ type: Input
170
+ }], onClick: [{
171
+ type: Output
172
172
  }] }); })();
173
173
 
174
- class IconsModule {
175
- }
176
- IconsModule.ɵmod = ɵɵdefineNgModule({ type: IconsModule });
177
- IconsModule.ɵinj = ɵɵdefineInjector({ factory: function IconsModule_Factory(t) { return new (t || IconsModule)(); }, providers: [], imports: [[
178
- CommonModule,
179
- MatIconModule,
180
- MatTooltipModule,
181
- RouterModule.forChild([])
182
- ]] });
183
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(IconsModule, { declarations: [IconComponent], imports: [CommonModule,
184
- MatIconModule,
185
- MatTooltipModule, RouterModule], exports: [IconComponent] }); })();
186
- /*@__PURE__*/ (function () { ɵsetClassMetadata(IconsModule, [{
187
- type: NgModule,
188
- args: [{
189
- imports: [
190
- CommonModule,
191
- MatIconModule,
192
- MatTooltipModule,
193
- RouterModule.forChild([])
194
- ],
195
- declarations: [
196
- IconComponent
197
- ],
198
- exports: [
199
- IconComponent
200
- ],
201
- providers: []
202
- }]
174
+ class IconsModule {
175
+ }
176
+ IconsModule.ɵmod = ɵɵdefineNgModule({ type: IconsModule });
177
+ IconsModule.ɵinj = ɵɵdefineInjector({ factory: function IconsModule_Factory(t) { return new (t || IconsModule)(); }, providers: [], imports: [[
178
+ CommonModule,
179
+ MatIconModule,
180
+ MatTooltipModule,
181
+ RouterModule.forChild([])
182
+ ]] });
183
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(IconsModule, { declarations: [IconComponent], imports: [CommonModule,
184
+ MatIconModule,
185
+ MatTooltipModule, RouterModule], exports: [IconComponent] }); })();
186
+ /*@__PURE__*/ (function () { ɵsetClassMetadata(IconsModule, [{
187
+ type: NgModule,
188
+ args: [{
189
+ imports: [
190
+ CommonModule,
191
+ MatIconModule,
192
+ MatTooltipModule,
193
+ RouterModule.forChild([])
194
+ ],
195
+ declarations: [
196
+ IconComponent
197
+ ],
198
+ exports: [
199
+ IconComponent
200
+ ],
201
+ providers: []
202
+ }]
203
203
  }], null, null); })();
204
204
 
205
- /**
206
- * Generated bundle index. Do not edit.
205
+ /**
206
+ * Generated bundle index. Do not edit.
207
207
  */
208
208
 
209
209
  export { IconComponent, IconsModule };
@@ -1 +1 @@
1
- {"version":3,"file":"apipass-icons.js","sources":["../../../projects/icons/src/lib/icon.component.html","../../../projects/icons/src/lib/icon.component.ts","../../../projects/icons/src/lib/icons.module.ts","../../../projects/icons/src/apipass-icons.ts"],"sourcesContent":["<i *ngIf=\"!isMaterialIcon && name && !routerLink && !link\" [matTooltip]=\"title || ''\"\n [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\" (click)=\"click()\"></i>\n\n<mat-icon *ngIf=\"isMaterialIcon && name && !routerLink && !link\" [matTooltip]=\"title || ''\"\n [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\" (click)=\"click()\">{{this.name}}</mat-icon>\n\n<a *ngIf=\"name && routerLink\" [matTooltip]=\"title || ''\"\n [routerLinkActive]=\"routerLinkActive || ''\" [routerLink]=\"routerLink\" (click)=\"click()\">\n <i *ngIf=\"!isMaterialIcon\" [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\"></i>\n <mat-icon *ngIf=\"isMaterialIcon\" [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\">{{this.name}}</mat-icon>\n</a>\n\n<a *ngIf=\"name && link\" [matTooltip]=\"title || ''\"\n [routerLinkActive]=\"routerLinkActive || ''\" [href]=\"link\" [target]=\"target\" (click)=\"click()\">\n <i *ngIf=\"!isMaterialIcon\" [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\"></i>\n <mat-icon *ngIf=\"isMaterialIcon\" [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\">{{this.name}}</mat-icon>\n</a>\n","import { Component, Input, EventEmitter, Output } from '@angular/core';\n\n@Component({\n selector: 'icon',\n templateUrl: 'icon.component.html',\n styleUrls: ['icon.component.scss']\n})\nexport class IconComponent {\n\n @Input() public name: any;\n @Input() public title: any;\n @Input() public type = 'primary';\n @Input() public size: any;\n @Input() public isMaterialIcon = false;\n @Input() public materialOutline = false;\n\n @Input() public routerLinkActive: any;\n @Input() public routerLink: any;\n\n @Input() public link: any;\n @Input() public target: any;\n @Input() public isActive: any;\n\n @Output() public onClick: EventEmitter<boolean> = new EventEmitter();\n\n public click(): void {\n this.onClick.emit(true);\n }\n\n getFontSize(): string {\n return this.size ? `${this.size}px` : 'inherit';\n }\n\n getClass(): any {\n const classValues: any = {};\n if (!this.isMaterialIcon) {\n classValues[this.name] = true;\n } else {\n classValues['material-icon'] = true;\n }\n if (this.materialOutline) {\n classValues['material-icons-outlined'] = true;\n }\n classValues[`apipass-icon-${this.type}`] = true;\n if (this.isActive) {\n classValues[`apipass-icon-${this.type}-active`] = true;\n }\n if (this.onClick?.observers?.length > 0) {\n classValues[`clickable`] = true;\n }\n return classValues;\n }\n\n}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatTooltipModule} from '@angular/material/tooltip';\nimport {IconComponent} from './icon.component';\nimport {RouterModule} from '@angular/router';\n\n@NgModule({\n imports: [\n CommonModule,\n MatIconModule,\n MatTooltipModule,\n RouterModule.forChild([])\n ],\n declarations: [\n IconComponent\n ],\n exports: [\n IconComponent\n ],\n providers: []\n})\nexport class IconsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0.ɵɵelementStart","i0.ɵɵlistener","i0.ɵɵelementEnd","i0.ɵɵproperty","i0.ɵɵtext","i0.ɵɵadvance","i0.ɵɵtextInterpolate","i0.ɵɵelement","i0.ɵɵtemplate"],"mappings":";;;;;;;;;IAAAA,yBACyF;IAAtBC,4JAAiB;IAACC,cAAI;;;IAD9BC,4CAA0B,8BAAA,0DAAA;;;;IAGrFH,gCACoF;IAAlBC,0KAAiB;IAACG,SAAa;IAAAF,cAAW;;;IAD3CC,4CAA0B,8BAAA,0DAAA;IACPE,YAAa;IAAbC,8BAAa;;;IAI/FC,oBAA+F;;;IAApEJ,wCAAsB,0DAAA;;;IACjDH,gCAAiG;IAAAI,SAAa;IAAAF,cAAW;;;IAAxFC,wCAAsB,0DAAA;IAA0CE,YAAa;IAAbC,8BAAa;;;;IAHhHN,yBAEE;IADuEC,+JAAiB;IACxFO,2DAA2F;IAC3FA,yEAAiG;IACnGN,cAAI;;;IAJ0BC,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E;oBACZ,aAAa;iBACd;gBACD,OAAO,EAAE;oBACP,aAAa;iBACd;gBACD,SAAS,EAAE,EAAE;aACd;;;ACrBD;;;;;;"}
1
+ {"version":3,"file":"apipass-icons.js","sources":["../../../projects/icons/src/lib/icon.component.html","../../../projects/icons/src/lib/icon.component.ts","../../../projects/icons/src/lib/icons.module.ts","../../../projects/icons/src/apipass-icons.ts"],"sourcesContent":["<i *ngIf=\"!isMaterialIcon && name && !routerLink && !link\" [matTooltip]=\"title || ''\"\r\n [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\" (click)=\"click()\"></i>\r\n\r\n<mat-icon *ngIf=\"isMaterialIcon && name && !routerLink && !link\" [matTooltip]=\"title || ''\"\r\n [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\" (click)=\"click()\">{{this.name}}</mat-icon>\r\n\r\n<a *ngIf=\"name && routerLink\" [matTooltip]=\"title || ''\"\r\n [routerLinkActive]=\"routerLinkActive || ''\" [routerLink]=\"routerLink\" (click)=\"click()\">\r\n <i *ngIf=\"!isMaterialIcon\" [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\"></i>\r\n <mat-icon *ngIf=\"isMaterialIcon\" [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\">{{this.name}}</mat-icon>\r\n</a>\r\n\r\n<a *ngIf=\"name && link\" [matTooltip]=\"title || ''\"\r\n [routerLinkActive]=\"routerLinkActive || ''\" [href]=\"link\" [target]=\"target\" (click)=\"click()\">\r\n <i *ngIf=\"!isMaterialIcon\" [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\"></i>\r\n <mat-icon *ngIf=\"isMaterialIcon\" [ngClass]=\"getClass()\" [ngStyle]=\"{'font-size': getFontSize()}\">{{this.name}}</mat-icon>\r\n</a>\r\n","import { Component, Input, EventEmitter, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'icon',\r\n templateUrl: './icon.component.html',\r\n styleUrls: ['icon.component.scss']\r\n})\r\nexport class IconComponent {\r\n\r\n @Input() public name: any;\r\n @Input() public title: any;\r\n @Input() public type = 'primary';\r\n @Input() public size: any;\r\n @Input() public isMaterialIcon = false;\r\n @Input() public materialOutline = false;\r\n\r\n @Input() public routerLinkActive: any;\r\n @Input() public routerLink: any;\r\n\r\n @Input() public link: any;\r\n @Input() public target: any;\r\n @Input() public isActive: any;\r\n\r\n @Output() public onClick: EventEmitter<boolean> = new EventEmitter();\r\n\r\n public click(): void {\r\n this.onClick.emit(true);\r\n }\r\n\r\n getFontSize(): string {\r\n return this.size ? `${this.size}px` : 'inherit';\r\n }\r\n\r\n getClass(): any {\r\n const classValues: any = {};\r\n if (!this.isMaterialIcon) {\r\n classValues[this.name] = true;\r\n } else {\r\n classValues['material-icon'] = true;\r\n }\r\n if (this.materialOutline) {\r\n classValues['material-icons-outlined'] = true;\r\n }\r\n classValues[`apipass-icon-${this.type}`] = true;\r\n if (this.isActive) {\r\n classValues[`apipass-icon-${this.type}-active`] = true;\r\n }\r\n if (this.onClick?.observers?.length > 0) {\r\n classValues[`clickable`] = true;\r\n }\r\n return classValues;\r\n }\r\n\r\n}\r\n","import {NgModule} from '@angular/core';\r\nimport {CommonModule} from '@angular/common';\r\nimport {MatIconModule} from '@angular/material/icon';\r\nimport {MatTooltipModule} from '@angular/material/tooltip';\r\nimport {IconComponent} from './icon.component';\r\nimport {RouterModule} from '@angular/router';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n MatIconModule,\r\n MatTooltipModule,\r\n RouterModule.forChild([])\r\n ],\r\n declarations: [\r\n IconComponent\r\n ],\r\n exports: [\r\n IconComponent\r\n ],\r\n providers: []\r\n})\r\nexport class IconsModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0.ɵɵelementStart","i0.ɵɵlistener","i0.ɵɵelementEnd","i0.ɵɵproperty","i0.ɵɵtext","i0.ɵɵadvance","i0.ɵɵtextIn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AEU,IAAI;kBAAnB,KAAK;YACU,MAAM;kBAArB,KAAK;YACU,QAAQ;kBAAvB,KAAK;YAEW,OAAO;kBAAvB,MAAM;;;MCDI,WAAW;;4CAAX,WAAW;kGAAX,WAAW,mBAFX,EAAE,YAZJ;YACP,YAAY;YACZ,aAAa;YACb,gBAAgB;YAChB,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC;SAC1B;qFASU,WAAW,mBAPpB,aAAa,aANb,YAAY;QACZ,aAAa;QACb,gBAAgB,2BAOhB,aAAa;+CAIJ,WAAW;cAfvB,QAAQ;eAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,aAAa;oBACb,gBAAgB;oBAChB,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC;iBAC1B;gBACD,YAAY,EAAE;oBACZ,aAAa;iBACd;gBACD,OAAO,EAAE;oBACP,aAAa;iBACd;gBACD,SAAS,EAAE,EAAE;aACd;;;ACrBD;;;;;;"}
@@ -1,21 +1,21 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class IconComponent {
4
- name: any;
5
- title: any;
6
- type: string;
7
- size: any;
8
- isMaterialIcon: boolean;
9
- materialOutline: boolean;
10
- routerLinkActive: any;
11
- routerLink: any;
12
- link: any;
13
- target: any;
14
- isActive: any;
15
- onClick: EventEmitter<boolean>;
16
- click(): void;
17
- getFontSize(): string;
18
- getClass(): any;
19
- static ɵfac: i0.ɵɵFactoryDef<IconComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDefWithMeta<IconComponent, "icon", never, { "name": "name"; "title": "title"; "type": "type"; "size": "size"; "isMaterialIcon": "isMaterialIcon"; "materialOutline": "materialOutline"; "routerLinkActive": "routerLinkActive"; "routerLink": "routerLink"; "link": "link"; "target": "target"; "isActive": "isActive"; }, { "onClick": "onClick"; }, never, never>;
21
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class IconComponent {
4
+ name: any;
5
+ title: any;
6
+ type: string;
7
+ size: any;
8
+ isMaterialIcon: boolean;
9
+ materialOutline: boolean;
10
+ routerLinkActive: any;
11
+ routerLink: any;
12
+ link: any;
13
+ target: any;
14
+ isActive: any;
15
+ onClick: EventEmitter<boolean>;
16
+ click(): void;
17
+ getFontSize(): string;
18
+ getClass(): any;
19
+ static ɵfac: i0.ɵɵFactoryDef<IconComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDefWithMeta<IconComponent, "icon", never, { "name": "name"; "title": "title"; "type": "type"; "size": "size"; "isMaterialIcon": "isMaterialIcon"; "materialOutline": "materialOutline"; "routerLinkActive": "routerLinkActive"; "routerLink": "routerLink"; "link": "link"; "target": "target"; "isActive": "isActive"; }, { "onClick": "onClick"; }, never, never>;
21
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./icon.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/icon";
5
- import * as i4 from "@angular/material/tooltip";
6
- import * as i5 from "@angular/router";
7
- export declare class IconsModule {
8
- static ɵmod: i0.ɵɵNgModuleDefWithMeta<IconsModule, [typeof i1.IconComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatTooltipModule, typeof i5.RouterModule], [typeof i1.IconComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDef<IconsModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/icon";
5
+ import * as i4 from "@angular/material/tooltip";
6
+ import * as i5 from "@angular/router";
7
+ export declare class IconsModule {
8
+ static ɵmod: i0.ɵɵNgModuleDefWithMeta<IconsModule, [typeof i1.IconComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatTooltipModule, typeof i5.RouterModule], [typeof i1.IconComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDef<IconsModule>;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apipass/icons",
3
- "version": "0.2.1-alpha.5",
3
+ "version": "0.2.1-test.1",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^10.0.11",
6
6
  "@angular/cdk": "^10.1.3",
@@ -24,6 +24,5 @@
24
24
  "typings": "apipass-icons.d.ts",
25
25
  "sideEffects": false,
26
26
  "scripts": {
27
- "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy. This is not allowed.\\nPlease delete and rebuild the package, without compiling with Ivy, before attempting to publish.\\n')\" && exit 1"
28
27
  }
29
28
  }
package/public-api.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './lib/icons.module';
2
- export * from './lib/icon.component';
1
+ export * from './lib/icons.module';
2
+ export * from './lib/icon.component';