@tekus/design-system 5.3.2 → 5.5.0
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/assets/readme-images/tk-input-text-action-icon.svg +10 -0
- package/assets/readme-images/tk-input-text-clean-the-field.svg +11 -0
- package/assets/readme-images/tk-input-text-contextual-icon.svg +28 -0
- package/assets/readme-images/tk-input-text-default.svg +8 -0
- package/assets/readme-images/tk-input-text-disabled.svg +9 -0
- package/assets/readme-images/tk-input-text-error.svg +10 -0
- package/assets/readme-images/tk-input-text-filled.svg +9 -0
- package/assets/readme-images/tk-input-text-focus.svg +9 -0
- package/assets/readme-images/tk-input-text-helper.svg +17 -0
- package/assets/readme-images/tk-tag-long-text.svg +6 -0
- package/assets/readme-images/tk-tag-severity.svg +17 -0
- package/assets/styles/_index.scss +2 -2
- package/assets/styles/docs/_icons.doc.scss +102 -0
- package/components/button/src/button.component.d.ts +26 -3
- package/components/icon/core/icon-catalog.d.ts +76 -0
- package/components/icon/core/icons/ads.icons.d.ts +2 -0
- package/components/icon/core/icons/angle.icons.d.ts +2 -0
- package/components/icon/core/icons/arrow.icons.d.ts +2 -0
- package/components/icon/core/icons/bars.icons.d.ts +2 -0
- package/components/icon/core/icons/bolt.icons.d.ts +2 -0
- package/components/icon/core/icons/book.icons.d.ts +2 -0
- package/components/icon/core/icons/calendar.icons.d.ts +2 -0
- package/components/icon/core/icons/camera.icons.d.ts +2 -0
- package/components/icon/core/icons/chart.icons.d.ts +2 -0
- package/components/icon/core/icons/check.icons.d.ts +2 -0
- package/components/icon/core/icons/chevron.icons.d.ts +2 -0
- package/components/icon/core/icons/circle.icons.d.ts +2 -0
- package/components/icon/core/icons/clock.icons.d.ts +2 -0
- package/components/icon/core/icons/clone.icons.d.ts +2 -0
- package/components/icon/core/icons/download.icons.d.ts +2 -0
- package/components/icon/core/icons/ellipsis.icons.d.ts +2 -0
- package/components/icon/core/icons/eye.icons.d.ts +2 -0
- package/components/icon/core/icons/filter.icons.d.ts +2 -0
- package/components/icon/core/icons/folders.icons.d.ts +2 -0
- package/components/icon/core/icons/gears.icons.d.ts +2 -0
- package/components/icon/core/icons/hand.icons.d.ts +2 -0
- package/components/icon/core/icons/language.icons.d.ts +2 -0
- package/components/icon/core/icons/layer.icons.d.ts +2 -0
- package/components/icon/core/icons/link.icons.d.ts +2 -0
- package/components/icon/core/icons/list.icons.d.ts +2 -0
- package/components/icon/core/icons/location.icons.d.ts +2 -0
- package/components/icon/core/icons/lock.icons.d.ts +2 -0
- package/components/icon/core/icons/magnifying-glass.icons.d.ts +2 -0
- package/components/icon/core/icons/media.icons.d.ts +2 -0
- package/components/icon/core/icons/megaphone.icons.d.ts +2 -0
- package/components/icon/core/icons/money.icons.d.ts +2 -0
- package/components/icon/core/icons/pen.icons.d.ts +2 -0
- package/components/icon/core/icons/pencil.icons.d.ts +2 -0
- package/components/icon/core/icons/plug.icons.d.ts +2 -0
- package/components/icon/core/icons/plus.icons.d.ts +2 -0
- package/components/icon/core/icons/qr-code.icons.d.ts +2 -0
- package/components/icon/core/icons/screwdriver-wrench.icons.d.ts +2 -0
- package/components/icon/core/icons/shuffle.icons.d.ts +2 -0
- package/components/icon/core/icons/square.icons.d.ts +2 -0
- package/components/icon/core/icons/tag.icons.d.ts +2 -0
- package/components/icon/core/icons/thumbs.icons.d.ts +2 -0
- package/components/icon/core/icons/trash.icons.d.ts +2 -0
- package/components/icon/core/icons/triangle.icons.d.ts +2 -0
- package/components/icon/core/icons/user.icons.d.ts +2 -0
- package/components/icon/core/icons/xmark.icons.d.ts +2 -0
- package/components/icon/core/svg-icons/ads-icon.svg.d.ts +2 -0
- package/components/icon/core/svg-icons/index.d.ts +1 -0
- package/components/icon/index.d.ts +5 -0
- package/components/icon/public-api.d.ts +2 -0
- package/components/icon/src/icon.component.d.ts +79 -0
- package/components/input-text/index.d.ts +5 -0
- package/components/input-text/public-api.d.ts +1 -0
- package/components/input-text/src/input-text.component.d.ts +139 -0
- package/components/modal/src/modal.component.d.ts +1 -1
- package/components/modal/src/modal.types.d.ts +3 -1
- package/components/tag/index.d.ts +5 -0
- package/components/tag/public-api.d.ts +1 -0
- package/components/tag/src/tag.component.d.ts +44 -0
- package/fesm2022/tekus-design-system-components-button.mjs +7 -10
- package/fesm2022/tekus-design-system-components-button.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-fallback-view.mjs +1 -1
- package/fesm2022/tekus-design-system-components-fallback-view.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-icon.mjs +1206 -0
- package/fesm2022/tekus-design-system-components-icon.mjs.map +1 -0
- package/fesm2022/tekus-design-system-components-input-text.mjs +222 -0
- package/fesm2022/tekus-design-system-components-input-text.mjs.map +1 -0
- package/fesm2022/tekus-design-system-components-modal.mjs +2 -2
- package/fesm2022/tekus-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/tekus-design-system-components-tag.mjs +77 -0
- package/fesm2022/tekus-design-system-components-tag.mjs.map +1 -0
- package/fesm2022/tekus-design-system-core-types.mjs +62 -33
- package/fesm2022/tekus-design-system-core-types.mjs.map +1 -1
- package/fesm2022/tekus-design-system-core.mjs +62 -33
- package/fesm2022/tekus-design-system-core.mjs.map +1 -1
- package/package.json +16 -4
|
@@ -0,0 +1,1206 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { model, signal, inject, computed, effect, Component } from '@angular/core';
|
|
3
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
import * as i1 from '@fortawesome/angular-fontawesome';
|
|
5
|
+
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
6
|
+
import { sanitizeSvgContent, retouchSvgForColor } from '@tekus/design-system/utils/sanitizer-utils';
|
|
7
|
+
|
|
8
|
+
const angleIcons = {
|
|
9
|
+
'angle-left': {
|
|
10
|
+
name: 'faAngleLeft',
|
|
11
|
+
tags: ['basic', 'arrows'],
|
|
12
|
+
source: 'Font awesome',
|
|
13
|
+
styles: {
|
|
14
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faAngleLeft),
|
|
15
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faAngleLeft),
|
|
16
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faAngleLeft)
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
'angle-right': {
|
|
20
|
+
name: 'faAngleRight',
|
|
21
|
+
tags: ['basic', 'arrows'],
|
|
22
|
+
source: 'Font awesome',
|
|
23
|
+
styles: {
|
|
24
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faAngleRight),
|
|
25
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faAngleRight),
|
|
26
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faAngleRight)
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
'angle-down': {
|
|
30
|
+
name: 'faAngleDown',
|
|
31
|
+
tags: ['basic', 'arrows'],
|
|
32
|
+
source: 'Font awesome',
|
|
33
|
+
styles: {
|
|
34
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faAngleDown),
|
|
35
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faAngleDown),
|
|
36
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faAngleDown)
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
'angle-up': {
|
|
40
|
+
name: 'faAngleUp',
|
|
41
|
+
tags: ['basic', 'arrows'],
|
|
42
|
+
source: 'Font awesome',
|
|
43
|
+
styles: {
|
|
44
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faAngleUp),
|
|
45
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faAngleUp),
|
|
46
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faAngleUp)
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
const arrowIcons = {
|
|
52
|
+
'arrow-left': {
|
|
53
|
+
name: 'faArrowLeft',
|
|
54
|
+
tags: ['basic', 'arrows'],
|
|
55
|
+
source: 'Font awesome',
|
|
56
|
+
styles: {
|
|
57
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faArrowLeft),
|
|
58
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faArrowLeft),
|
|
59
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faArrowLeft)
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
'arrow-right': {
|
|
63
|
+
name: 'faArrowRight',
|
|
64
|
+
tags: ['basic', 'arrows'],
|
|
65
|
+
source: 'Font awesome',
|
|
66
|
+
styles: {
|
|
67
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faArrowRight),
|
|
68
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faArrowRight),
|
|
69
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faArrowRight)
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
'arrow-down': {
|
|
73
|
+
name: 'faArrowDown',
|
|
74
|
+
tags: ['basic', 'arrows'],
|
|
75
|
+
source: 'Font awesome',
|
|
76
|
+
styles: {
|
|
77
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faArrowDown),
|
|
78
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faArrowDown),
|
|
79
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faArrowDown)
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
'arrow-up': {
|
|
83
|
+
name: 'faArrowUp',
|
|
84
|
+
tags: ['basic', 'arrows'],
|
|
85
|
+
source: 'Font awesome',
|
|
86
|
+
styles: {
|
|
87
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faArrowUp),
|
|
88
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faArrowUp),
|
|
89
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faArrowUp)
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
'arrow-rotate-right': {
|
|
93
|
+
name: 'faArrowRotateRight',
|
|
94
|
+
tags: ['basic', 'arrows', 'reload'],
|
|
95
|
+
source: 'Font awesome',
|
|
96
|
+
styles: {
|
|
97
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faArrowRotateRight),
|
|
98
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faArrowRotateRight),
|
|
99
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faArrowRotateRight)
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
'clock-rotate-left': {
|
|
103
|
+
name: 'faClockRotateLeft',
|
|
104
|
+
tags: ['basic', 'arrows', 'reload', 'time'],
|
|
105
|
+
source: 'Font awesome',
|
|
106
|
+
styles: {
|
|
107
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faClockRotateLeft),
|
|
108
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faClockRotateLeft),
|
|
109
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faClockRotateLeft)
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
'rotate': {
|
|
113
|
+
name: 'faRotate',
|
|
114
|
+
tags: ['basic', 'arrows', 'reload'],
|
|
115
|
+
source: 'Font awesome',
|
|
116
|
+
styles: {
|
|
117
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faRotate),
|
|
118
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faRotate),
|
|
119
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faRotate)
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
'file-arrow-down': {
|
|
123
|
+
name: 'faFileArrowDown',
|
|
124
|
+
tags: ['global', 'download'],
|
|
125
|
+
source: 'Font awesome',
|
|
126
|
+
styles: {
|
|
127
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faFileArrowDown),
|
|
128
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faFileArrowDown),
|
|
129
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faFileArrowDown)
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
'cloud-arrow-down': {
|
|
133
|
+
name: 'faCloudArrowDown',
|
|
134
|
+
tags: ['global', 'download'],
|
|
135
|
+
source: 'Font awesome',
|
|
136
|
+
styles: {
|
|
137
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faCloudArrowDown),
|
|
138
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faCloudArrowDown),
|
|
139
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faCloudArrowDown)
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
const chevronIcons = {
|
|
145
|
+
'chevron-left': {
|
|
146
|
+
name: 'faChevronLeft',
|
|
147
|
+
tags: ['basic', 'arrows'],
|
|
148
|
+
source: 'Font awesome',
|
|
149
|
+
styles: {
|
|
150
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faChevronLeft),
|
|
151
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faChevronLeft),
|
|
152
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faChevronLeft)
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
'chevron-right': {
|
|
156
|
+
name: 'faChevronRight',
|
|
157
|
+
tags: ['basic', 'arrows'],
|
|
158
|
+
source: 'Font awesome',
|
|
159
|
+
styles: {
|
|
160
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faChevronRight),
|
|
161
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faChevronRight),
|
|
162
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faChevronRight)
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
'chevron-down': {
|
|
166
|
+
name: 'faChevronDown',
|
|
167
|
+
tags: ['basic', 'arrows'],
|
|
168
|
+
source: 'Font awesome',
|
|
169
|
+
styles: {
|
|
170
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faChevronDown),
|
|
171
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faChevronDown),
|
|
172
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faChevronDown)
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
'chevron-up': {
|
|
176
|
+
name: 'faChevronUp',
|
|
177
|
+
tags: ['basic', 'arrows'],
|
|
178
|
+
source: 'Font awesome',
|
|
179
|
+
styles: {
|
|
180
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faChevronUp),
|
|
181
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faChevronUp),
|
|
182
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faChevronUp)
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
const circleIcon = {
|
|
188
|
+
'circle': {
|
|
189
|
+
name: 'faCircle',
|
|
190
|
+
tags: ['basic'],
|
|
191
|
+
source: 'Font awesome',
|
|
192
|
+
styles: {
|
|
193
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faCircle),
|
|
194
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faCircle),
|
|
195
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faCircle)
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
'circle-info': {
|
|
199
|
+
name: 'faCircleInfo',
|
|
200
|
+
tags: ['basic', 'information'],
|
|
201
|
+
source: 'Font awesome',
|
|
202
|
+
styles: {
|
|
203
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faCircleInfo),
|
|
204
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faCircleInfo),
|
|
205
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faCircleInfo)
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
'circle-question': {
|
|
209
|
+
name: 'faCircleQuestion',
|
|
210
|
+
tags: ['basic'],
|
|
211
|
+
source: 'Font awesome',
|
|
212
|
+
styles: {
|
|
213
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faCircleQuestion),
|
|
214
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faCircleQuestion),
|
|
215
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faCircleQuestion)
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
'circle-xmark': {
|
|
219
|
+
name: 'faCircleXmark',
|
|
220
|
+
tags: ['basic', 'closed'],
|
|
221
|
+
source: 'Font awesome',
|
|
222
|
+
styles: {
|
|
223
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faCircleXmark),
|
|
224
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faCircleXmark),
|
|
225
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faCircleXmark)
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
'circle-check': {
|
|
229
|
+
name: 'faCircleCheck',
|
|
230
|
+
tags: ['basic'],
|
|
231
|
+
source: 'Font awesome',
|
|
232
|
+
styles: {
|
|
233
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faCircleCheck),
|
|
234
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faCircleCheck),
|
|
235
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faCircleCheck)
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
const adsIcons = {
|
|
241
|
+
ads: {
|
|
242
|
+
name: 'ads',
|
|
243
|
+
tags: ['screen', 'custom', 'money', 'advertisement'],
|
|
244
|
+
source: 'Custom',
|
|
245
|
+
styles: {
|
|
246
|
+
light: Promise.resolve().then(function () { return adsIcon_svg; }).then(m => m.default),
|
|
247
|
+
regular: Promise.resolve().then(function () { return adsIcon_svg; }).then(m => m.default),
|
|
248
|
+
solid: Promise.resolve().then(function () { return adsIcon_svg; }).then(m => m.default)
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
const triangleIcon = {
|
|
254
|
+
'triangle-exclamation': {
|
|
255
|
+
name: 'faTriangleExclamation',
|
|
256
|
+
tags: ['basic'],
|
|
257
|
+
source: 'Font awesome',
|
|
258
|
+
styles: {
|
|
259
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faTriangleExclamation),
|
|
260
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faTriangleExclamation),
|
|
261
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faTriangleExclamation)
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
const squareIcon = {
|
|
267
|
+
'square-poll-horizontal': {
|
|
268
|
+
name: 'faSquarePollHorizontal',
|
|
269
|
+
tags: ['basic'],
|
|
270
|
+
source: 'Font awesome',
|
|
271
|
+
styles: {
|
|
272
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faSquarePollHorizontal),
|
|
273
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faSquarePollHorizontal),
|
|
274
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faSquarePollHorizontal)
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
'vector-square': {
|
|
278
|
+
name: 'faVectorSquare',
|
|
279
|
+
tags: ['miscellanea'],
|
|
280
|
+
source: 'Font awesome',
|
|
281
|
+
styles: {
|
|
282
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faVectorSquare),
|
|
283
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faVectorSquare),
|
|
284
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faVectorSquare)
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
const penIcon = {
|
|
290
|
+
'pen-to-square': {
|
|
291
|
+
name: 'faPenToSquare',
|
|
292
|
+
tags: ['global'],
|
|
293
|
+
source: 'Font awesome',
|
|
294
|
+
styles: {
|
|
295
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faPenToSquare),
|
|
296
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faPenToSquare),
|
|
297
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faPenToSquare)
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
const pencilIcon = {
|
|
303
|
+
'pencil': {
|
|
304
|
+
name: 'faPencil',
|
|
305
|
+
tags: ['basic'],
|
|
306
|
+
source: 'Font awesome',
|
|
307
|
+
styles: {
|
|
308
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faPencil),
|
|
309
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faPencil),
|
|
310
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faPencil)
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
const trashIcon = {
|
|
316
|
+
'trash-can': {
|
|
317
|
+
name: 'faTrashCan',
|
|
318
|
+
tags: ['global'],
|
|
319
|
+
source: 'Font awesome',
|
|
320
|
+
styles: {
|
|
321
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faTrashCan),
|
|
322
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faTrashCan),
|
|
323
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faTrashCan)
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
const cloneIcon = {
|
|
329
|
+
'clone': {
|
|
330
|
+
name: 'faClone',
|
|
331
|
+
tags: ['global'],
|
|
332
|
+
source: 'Font awesome',
|
|
333
|
+
styles: {
|
|
334
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faClone),
|
|
335
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faClone),
|
|
336
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faClone)
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
const filterIcon = {
|
|
342
|
+
'filter': {
|
|
343
|
+
name: 'faFilter',
|
|
344
|
+
tags: ['global'],
|
|
345
|
+
source: 'Font awesome',
|
|
346
|
+
styles: {
|
|
347
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faFilter),
|
|
348
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faFilter),
|
|
349
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faFilter)
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
const foldersIcon = {
|
|
355
|
+
'folders': {
|
|
356
|
+
name: 'faFolders',
|
|
357
|
+
tags: ['global'],
|
|
358
|
+
source: 'Font awesome',
|
|
359
|
+
styles: {
|
|
360
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faFolders),
|
|
361
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faFolders),
|
|
362
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faFolders)
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
const magnifyingGlassIcon = {
|
|
368
|
+
'magnifying-glass': {
|
|
369
|
+
name: 'faMagnifyingGlass',
|
|
370
|
+
tags: ['global', 'search'],
|
|
371
|
+
source: 'Font awesome',
|
|
372
|
+
styles: {
|
|
373
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faMagnifyingGlass),
|
|
374
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faMagnifyingGlass),
|
|
375
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faMagnifyingGlass)
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
const shuffleIcon = {
|
|
381
|
+
'shuffle': {
|
|
382
|
+
name: 'faShuffle',
|
|
383
|
+
tags: ['basic'],
|
|
384
|
+
source: 'Font awesome',
|
|
385
|
+
styles: {
|
|
386
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faShuffle),
|
|
387
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faShuffle),
|
|
388
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faShuffle)
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
const eyeIcon = {
|
|
394
|
+
'eye': {
|
|
395
|
+
name: 'faEye',
|
|
396
|
+
tags: ['global'],
|
|
397
|
+
source: 'Font awesome',
|
|
398
|
+
styles: {
|
|
399
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faEye),
|
|
400
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faEye),
|
|
401
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faEye)
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
'eye-slash': {
|
|
405
|
+
name: 'faEyeSlash',
|
|
406
|
+
tags: ['global'],
|
|
407
|
+
source: 'Font awesome',
|
|
408
|
+
styles: {
|
|
409
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faEyeSlash),
|
|
410
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faEyeSlash),
|
|
411
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faEyeSlash)
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
const barsIcon = {
|
|
417
|
+
'bars': {
|
|
418
|
+
name: 'faBars',
|
|
419
|
+
tags: ['global'],
|
|
420
|
+
source: 'Font awesome',
|
|
421
|
+
styles: {
|
|
422
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faBars),
|
|
423
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faBars),
|
|
424
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faBars)
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
const ellipsisIcon = {
|
|
430
|
+
'ellipsis': {
|
|
431
|
+
name: 'faEllipsis',
|
|
432
|
+
tags: ['global'],
|
|
433
|
+
source: 'Font awesome',
|
|
434
|
+
styles: {
|
|
435
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faEllipsis),
|
|
436
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faEllipsis),
|
|
437
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faEllipsis)
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
'ellipsis-vertical': {
|
|
441
|
+
name: 'faEllipsisVertical',
|
|
442
|
+
tags: ['global'],
|
|
443
|
+
source: 'Font awesome',
|
|
444
|
+
styles: {
|
|
445
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faEllipsisVertical),
|
|
446
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faEllipsisVertical),
|
|
447
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faEllipsisVertical)
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
const gearsIcon = {
|
|
453
|
+
'gears': {
|
|
454
|
+
name: 'faGears',
|
|
455
|
+
tags: ['global'],
|
|
456
|
+
source: 'Font awesome',
|
|
457
|
+
styles: {
|
|
458
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faGears),
|
|
459
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faGears),
|
|
460
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faGears)
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
'gear': {
|
|
464
|
+
name: 'faGear',
|
|
465
|
+
tags: ['global'],
|
|
466
|
+
source: 'Font awesome',
|
|
467
|
+
styles: {
|
|
468
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faGear),
|
|
469
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faGear),
|
|
470
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faGear)
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
const downloadIcon = {
|
|
476
|
+
'download': {
|
|
477
|
+
name: 'faDownload',
|
|
478
|
+
tags: ['global'],
|
|
479
|
+
source: 'Font awesome',
|
|
480
|
+
styles: {
|
|
481
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faDownload),
|
|
482
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faDownload),
|
|
483
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faDownload)
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
const tagIcon = {
|
|
489
|
+
'tag': {
|
|
490
|
+
name: 'faTag',
|
|
491
|
+
tags: ['global'],
|
|
492
|
+
source: 'Font awesome',
|
|
493
|
+
styles: {
|
|
494
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faTag),
|
|
495
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faTag),
|
|
496
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faTag)
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
const languageIcon = {
|
|
502
|
+
'language': {
|
|
503
|
+
name: 'faLanguage',
|
|
504
|
+
tags: ['global', 'translate', 'traduction'],
|
|
505
|
+
source: 'Font awesome',
|
|
506
|
+
styles: {
|
|
507
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faLanguage),
|
|
508
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faLanguage),
|
|
509
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faLanguage)
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
const boltIcon = {
|
|
515
|
+
'bolt': {
|
|
516
|
+
name: 'faBolt',
|
|
517
|
+
tags: ['global'],
|
|
518
|
+
source: 'Font awesome',
|
|
519
|
+
styles: {
|
|
520
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faBolt),
|
|
521
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faBolt),
|
|
522
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faBolt)
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
const calendarIcon = {
|
|
528
|
+
'calendar-day': {
|
|
529
|
+
name: 'faCalendarDay',
|
|
530
|
+
tags: ['global'],
|
|
531
|
+
source: 'Font awesome',
|
|
532
|
+
styles: {
|
|
533
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faCalendarDay),
|
|
534
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faCalendarDay),
|
|
535
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faCalendarDay)
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
const clockIcon = {
|
|
541
|
+
'clock-three': {
|
|
542
|
+
name: 'faClockThree',
|
|
543
|
+
tags: ['global'],
|
|
544
|
+
source: 'Font awesome',
|
|
545
|
+
styles: {
|
|
546
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faClockThree),
|
|
547
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faClockThree),
|
|
548
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faClockThree)
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
const cameraIcon = {
|
|
554
|
+
'camera-cctv': {
|
|
555
|
+
name: 'faCameraCctv',
|
|
556
|
+
tags: ['global'],
|
|
557
|
+
source: 'Font awesome',
|
|
558
|
+
styles: {
|
|
559
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faCameraCctv),
|
|
560
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faCameraCctv),
|
|
561
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faCameraCctv)
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
const handIcon = {
|
|
567
|
+
'hand-back-point-up': {
|
|
568
|
+
name: 'faHandBackPointUp',
|
|
569
|
+
tags: ['global'],
|
|
570
|
+
source: 'Font awesome',
|
|
571
|
+
styles: {
|
|
572
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faHandBackPointUp),
|
|
573
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faHandBackPointUp),
|
|
574
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faHandBackPointUp)
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
const locationIcon = {
|
|
580
|
+
'location-dot': {
|
|
581
|
+
name: 'faLocationDot',
|
|
582
|
+
tags: ['global', 'place'],
|
|
583
|
+
source: 'Font awesome',
|
|
584
|
+
styles: {
|
|
585
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faLocationDot),
|
|
586
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faLocationDot),
|
|
587
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faLocationDot)
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
'street-view': {
|
|
591
|
+
name: 'faStreetView',
|
|
592
|
+
tags: ['location', 'place', 'user'],
|
|
593
|
+
source: 'Font awesome',
|
|
594
|
+
styles: {
|
|
595
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faStreetView),
|
|
596
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faStreetView),
|
|
597
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faStreetView)
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
const layerIcon = {
|
|
603
|
+
'layer-group': {
|
|
604
|
+
name: 'faLayerGroup',
|
|
605
|
+
tags: ['global'],
|
|
606
|
+
source: 'Font awesome',
|
|
607
|
+
styles: {
|
|
608
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faLayerGroup),
|
|
609
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faLayerGroup),
|
|
610
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faLayerGroup)
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
const plusIcon = {
|
|
616
|
+
'plus': {
|
|
617
|
+
name: 'faPlus',
|
|
618
|
+
tags: ['basic'],
|
|
619
|
+
source: 'Font awesome',
|
|
620
|
+
styles: {
|
|
621
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faPlus),
|
|
622
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faPlus),
|
|
623
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faPlus)
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
|
|
628
|
+
const linkIcon = {
|
|
629
|
+
'link': {
|
|
630
|
+
name: 'faLink',
|
|
631
|
+
tags: ['basic'],
|
|
632
|
+
source: 'Font awesome',
|
|
633
|
+
styles: {
|
|
634
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faLink),
|
|
635
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faLink),
|
|
636
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faLink)
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
'link-slash': {
|
|
640
|
+
name: 'faLinkSlash',
|
|
641
|
+
tags: ['basic'],
|
|
642
|
+
source: 'Font awesome',
|
|
643
|
+
styles: {
|
|
644
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faLinkSlash),
|
|
645
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faLinkSlash),
|
|
646
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faLinkSlash)
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
const checkIcon = {
|
|
652
|
+
'check': {
|
|
653
|
+
name: 'faCheck',
|
|
654
|
+
tags: ['global'],
|
|
655
|
+
source: 'Font awesome',
|
|
656
|
+
styles: {
|
|
657
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faCheck),
|
|
658
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faCheck),
|
|
659
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faCheck)
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
};
|
|
663
|
+
|
|
664
|
+
const xMarkIcon = {
|
|
665
|
+
'xmark': {
|
|
666
|
+
name: 'faXmark',
|
|
667
|
+
tags: ['global'],
|
|
668
|
+
source: 'Font awesome',
|
|
669
|
+
styles: {
|
|
670
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faXmark),
|
|
671
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faXmark),
|
|
672
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faXmark)
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
const screwdriverWrenchIcon = {
|
|
678
|
+
'screwdriver-wrench': {
|
|
679
|
+
name: 'faScrewdriverWrench',
|
|
680
|
+
tags: ['global'],
|
|
681
|
+
source: 'Font awesome',
|
|
682
|
+
styles: {
|
|
683
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faScrewdriverWrench),
|
|
684
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faScrewdriverWrench),
|
|
685
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faScrewdriverWrench)
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
};
|
|
689
|
+
|
|
690
|
+
const thumbsUpIcon = {
|
|
691
|
+
'thumbs-up': {
|
|
692
|
+
name: 'faThumbsUp',
|
|
693
|
+
tags: ['global', 'hand'],
|
|
694
|
+
source: 'Font awesome',
|
|
695
|
+
styles: {
|
|
696
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faThumbsUp),
|
|
697
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faThumbsUp),
|
|
698
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faThumbsUp)
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
const mediaIcon = {
|
|
704
|
+
'display': {
|
|
705
|
+
name: 'faDisplay',
|
|
706
|
+
tags: ['media', 'screen'],
|
|
707
|
+
source: 'Font awesome',
|
|
708
|
+
styles: {
|
|
709
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faDisplay),
|
|
710
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faDisplay),
|
|
711
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faDisplay)
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
'volume': {
|
|
715
|
+
name: 'faVolume',
|
|
716
|
+
tags: ['media', 'audio'],
|
|
717
|
+
source: 'Font awesome',
|
|
718
|
+
styles: {
|
|
719
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faVolume),
|
|
720
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faVolume),
|
|
721
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faVolume)
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
'image': {
|
|
725
|
+
name: 'faImage',
|
|
726
|
+
tags: ['media', 'audio'],
|
|
727
|
+
source: 'Font awesome',
|
|
728
|
+
styles: {
|
|
729
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faImage),
|
|
730
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faImage),
|
|
731
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faImage)
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
'video': {
|
|
735
|
+
name: 'faVideo',
|
|
736
|
+
tags: ['media', 'audio'],
|
|
737
|
+
source: 'Font awesome',
|
|
738
|
+
styles: {
|
|
739
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faVideo),
|
|
740
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faVideo),
|
|
741
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faVideo)
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
'panorama': {
|
|
745
|
+
name: 'faPanorama',
|
|
746
|
+
tags: ['media', 'photo'],
|
|
747
|
+
source: 'Font awesome',
|
|
748
|
+
styles: {
|
|
749
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faPanorama),
|
|
750
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faPanorama),
|
|
751
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faPanorama)
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
'photo-film-music': {
|
|
755
|
+
name: 'faPhotoFilmMusic',
|
|
756
|
+
tags: ['media'],
|
|
757
|
+
source: 'Font awesome',
|
|
758
|
+
styles: {
|
|
759
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faPhotoFilmMusic),
|
|
760
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faPhotoFilmMusic),
|
|
761
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faPhotoFilmMusic)
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
'list-music': {
|
|
765
|
+
name: 'faListMusic',
|
|
766
|
+
tags: ['media', 'audio'],
|
|
767
|
+
source: 'Font awesome',
|
|
768
|
+
styles: {
|
|
769
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faListMusic),
|
|
770
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faListMusic),
|
|
771
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faListMusic)
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
};
|
|
775
|
+
|
|
776
|
+
const userIcon = {
|
|
777
|
+
'user': {
|
|
778
|
+
name: 'faUser',
|
|
779
|
+
tags: [],
|
|
780
|
+
source: 'Font awesome',
|
|
781
|
+
styles: {
|
|
782
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faUser),
|
|
783
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faUser),
|
|
784
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faUser)
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
'users': {
|
|
788
|
+
name: 'faUsers',
|
|
789
|
+
tags: [],
|
|
790
|
+
source: 'Font awesome',
|
|
791
|
+
styles: {
|
|
792
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faUsers),
|
|
793
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faUsers),
|
|
794
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faUsers)
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
'graduation-cap': {
|
|
798
|
+
name: 'faGraduationCap',
|
|
799
|
+
tags: ['user'],
|
|
800
|
+
source: 'Font awesome',
|
|
801
|
+
styles: {
|
|
802
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faGraduationCap),
|
|
803
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faGraduationCap),
|
|
804
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faGraduationCap)
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
const bookIcon = {
|
|
810
|
+
'book-open': {
|
|
811
|
+
name: 'faBookOpen',
|
|
812
|
+
tags: ['user'],
|
|
813
|
+
source: 'Font awesome',
|
|
814
|
+
styles: {
|
|
815
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faBookOpen),
|
|
816
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faBookOpen),
|
|
817
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faBookOpen)
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
};
|
|
821
|
+
|
|
822
|
+
const listIcon = {
|
|
823
|
+
'list-check': {
|
|
824
|
+
name: 'faListCheck',
|
|
825
|
+
tags: ['chart'],
|
|
826
|
+
source: 'Font awesome',
|
|
827
|
+
styles: {
|
|
828
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faListCheck),
|
|
829
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faListCheck),
|
|
830
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faListCheck)
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
'poll-people': {
|
|
834
|
+
name: 'faPollPeople',
|
|
835
|
+
tags: ['chart', 'list'],
|
|
836
|
+
source: 'Font awesome',
|
|
837
|
+
styles: {
|
|
838
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faPollPeople),
|
|
839
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faPollPeople),
|
|
840
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faPollPeople)
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
'table-list': {
|
|
844
|
+
name: 'faTableList',
|
|
845
|
+
tags: ['chart'],
|
|
846
|
+
source: 'Font awesome',
|
|
847
|
+
styles: {
|
|
848
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faTableList),
|
|
849
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faTableList),
|
|
850
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faTableList)
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
};
|
|
854
|
+
|
|
855
|
+
const chartIcon = {
|
|
856
|
+
'chart-pie-simple': {
|
|
857
|
+
name: 'faChartPieSimple',
|
|
858
|
+
tags: [],
|
|
859
|
+
source: 'Font awesome',
|
|
860
|
+
styles: {
|
|
861
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faChartPieSimple),
|
|
862
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faChartPieSimple),
|
|
863
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faChartPieSimple)
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
'chart-line-up': {
|
|
867
|
+
name: 'faChartLineUp',
|
|
868
|
+
tags: [],
|
|
869
|
+
source: 'Font awesome',
|
|
870
|
+
styles: {
|
|
871
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faChartLineUp),
|
|
872
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faChartLineUp),
|
|
873
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faChartLineUp)
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
'chart-user': {
|
|
877
|
+
name: 'faChartUser',
|
|
878
|
+
tags: [],
|
|
879
|
+
source: 'Font awesome',
|
|
880
|
+
styles: {
|
|
881
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faChartUser),
|
|
882
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faChartUser),
|
|
883
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faChartUser)
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
'file-chart-column': {
|
|
887
|
+
name: 'faFileChartColumn',
|
|
888
|
+
tags: [],
|
|
889
|
+
source: 'Font awesome',
|
|
890
|
+
styles: {
|
|
891
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faFileChartColumn),
|
|
892
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faFileChartColumn),
|
|
893
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faFileChartColumn)
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
};
|
|
897
|
+
|
|
898
|
+
const megaphoneIcon = {
|
|
899
|
+
'megaphone': {
|
|
900
|
+
name: 'faMegaphone',
|
|
901
|
+
tags: ['miscellanea'],
|
|
902
|
+
source: 'Font awesome',
|
|
903
|
+
styles: {
|
|
904
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faMegaphone),
|
|
905
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faMegaphone),
|
|
906
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faMegaphone)
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
const moneyIcon = {
|
|
912
|
+
'money-bill': {
|
|
913
|
+
name: 'faMoneyBill',
|
|
914
|
+
tags: ['miscellanea'],
|
|
915
|
+
source: 'Font awesome',
|
|
916
|
+
styles: {
|
|
917
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faMoneyBill),
|
|
918
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faMoneyBill),
|
|
919
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faMoneyBill)
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
};
|
|
923
|
+
|
|
924
|
+
const lockIcon = {
|
|
925
|
+
'lock-keyhole': {
|
|
926
|
+
name: 'faLockKeyhole',
|
|
927
|
+
tags: ['miscellanea', 'safe'],
|
|
928
|
+
source: 'Font awesome',
|
|
929
|
+
styles: {
|
|
930
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faLockKeyhole),
|
|
931
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faLockKeyhole),
|
|
932
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faLockKeyhole)
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
const qrCodeIcon = {
|
|
938
|
+
'qr-code': {
|
|
939
|
+
name: 'faQrcode',
|
|
940
|
+
tags: ['miscellanea'],
|
|
941
|
+
source: 'Font awesome',
|
|
942
|
+
styles: {
|
|
943
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faQrcode),
|
|
944
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faQrcode),
|
|
945
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faQrcode)
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
};
|
|
949
|
+
|
|
950
|
+
const plugIcon = {
|
|
951
|
+
'plug': {
|
|
952
|
+
name: 'faPlug',
|
|
953
|
+
tags: ['miscellanea'],
|
|
954
|
+
source: 'Font awesome',
|
|
955
|
+
styles: {
|
|
956
|
+
light: import('@fortawesome/pro-light-svg-icons').then(m => m.faPlug),
|
|
957
|
+
regular: import('@fortawesome/pro-regular-svg-icons').then(m => m.faPlug),
|
|
958
|
+
solid: import('@fortawesome/pro-solid-svg-icons').then(m => m.faPlug)
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* iconsStylesLight is an array of available light styles for each icon in the IconCatalog.
|
|
965
|
+
* It allows for easy access and iteration over the light styles.
|
|
966
|
+
*/
|
|
967
|
+
const iconsStylesLight = [
|
|
968
|
+
'light', 'fal', 'fa-light', 'tkl'
|
|
969
|
+
];
|
|
970
|
+
/**
|
|
971
|
+
* iconsStylesSolid is an array of available solid styles for each icon in the IconCatalog.
|
|
972
|
+
* It allows for easy access and iteration over the solid styles.
|
|
973
|
+
*/
|
|
974
|
+
const iconsStylesSolid = [
|
|
975
|
+
'solid', 'fas', 'fa-solid', 'tks'
|
|
976
|
+
];
|
|
977
|
+
/**
|
|
978
|
+
* iconsStylesRegular is an array of available regular styles for each icon in the IconCatalog.
|
|
979
|
+
* It allows for easy access and iteration over the regular styles.
|
|
980
|
+
*/
|
|
981
|
+
const iconsStylesRegular = [
|
|
982
|
+
'regular', 'far', 'fa-regular', 'fa', 'fa-classic', 'tkr'
|
|
983
|
+
];
|
|
984
|
+
const IconCatalog = {
|
|
985
|
+
...angleIcons,
|
|
986
|
+
...arrowIcons,
|
|
987
|
+
...chevronIcons,
|
|
988
|
+
...circleIcon,
|
|
989
|
+
...triangleIcon,
|
|
990
|
+
...squareIcon,
|
|
991
|
+
...pencilIcon,
|
|
992
|
+
...penIcon,
|
|
993
|
+
...trashIcon,
|
|
994
|
+
...cloneIcon,
|
|
995
|
+
...filterIcon,
|
|
996
|
+
...downloadIcon,
|
|
997
|
+
...magnifyingGlassIcon,
|
|
998
|
+
...shuffleIcon,
|
|
999
|
+
...eyeIcon,
|
|
1000
|
+
...barsIcon,
|
|
1001
|
+
...ellipsisIcon,
|
|
1002
|
+
...gearsIcon,
|
|
1003
|
+
...foldersIcon,
|
|
1004
|
+
...tagIcon,
|
|
1005
|
+
...languageIcon,
|
|
1006
|
+
...boltIcon,
|
|
1007
|
+
...calendarIcon,
|
|
1008
|
+
...clockIcon,
|
|
1009
|
+
...cameraIcon,
|
|
1010
|
+
...handIcon,
|
|
1011
|
+
...locationIcon,
|
|
1012
|
+
...layerIcon,
|
|
1013
|
+
...plusIcon,
|
|
1014
|
+
...linkIcon,
|
|
1015
|
+
...checkIcon,
|
|
1016
|
+
...xMarkIcon,
|
|
1017
|
+
...screwdriverWrenchIcon,
|
|
1018
|
+
...thumbsUpIcon,
|
|
1019
|
+
...mediaIcon,
|
|
1020
|
+
...userIcon,
|
|
1021
|
+
...bookIcon,
|
|
1022
|
+
...listIcon,
|
|
1023
|
+
...chartIcon,
|
|
1024
|
+
...megaphoneIcon,
|
|
1025
|
+
...moneyIcon,
|
|
1026
|
+
...lockIcon,
|
|
1027
|
+
...qrCodeIcon,
|
|
1028
|
+
...plugIcon,
|
|
1029
|
+
...adsIcons,
|
|
1030
|
+
};
|
|
1031
|
+
|
|
1032
|
+
class IconComponent {
|
|
1033
|
+
constructor() {
|
|
1034
|
+
/**
|
|
1035
|
+
* The name of the icon to display.
|
|
1036
|
+
* This is a required field.
|
|
1037
|
+
* It should match one of the icons in the *IconCatalog*.
|
|
1038
|
+
*/
|
|
1039
|
+
this.icon = model('');
|
|
1040
|
+
/**
|
|
1041
|
+
* The style of the icon to display.
|
|
1042
|
+
* This is an optional field.
|
|
1043
|
+
* It defaults to 'regular'.
|
|
1044
|
+
*/
|
|
1045
|
+
this.styleIcon = model('regular');
|
|
1046
|
+
/**
|
|
1047
|
+
* The color of the icon to display.
|
|
1048
|
+
*/
|
|
1049
|
+
this.color = model();
|
|
1050
|
+
/**
|
|
1051
|
+
* The size of the icon to display.
|
|
1052
|
+
*/
|
|
1053
|
+
this.size = model();
|
|
1054
|
+
/**
|
|
1055
|
+
* Whether the icon is disabled.
|
|
1056
|
+
*/
|
|
1057
|
+
this.disabled = model(false);
|
|
1058
|
+
/**
|
|
1059
|
+
* The definition of the icon to display for Font Awesome.
|
|
1060
|
+
*/
|
|
1061
|
+
this.iconDefinition = signal(null);
|
|
1062
|
+
/**
|
|
1063
|
+
* The SVG content of the icon to display for custom icons.
|
|
1064
|
+
*/
|
|
1065
|
+
this.svgContent = signal(null);
|
|
1066
|
+
/**
|
|
1067
|
+
* The sanitizer service to use for sanitizing SVG content.
|
|
1068
|
+
*/
|
|
1069
|
+
this.sanitizer = inject(DomSanitizer);
|
|
1070
|
+
/**
|
|
1071
|
+
* The size property to use for the icon.
|
|
1072
|
+
*/
|
|
1073
|
+
this.sizeProp = computed(() => {
|
|
1074
|
+
const size = this.size();
|
|
1075
|
+
if (!size || size === 'md')
|
|
1076
|
+
return null;
|
|
1077
|
+
return size;
|
|
1078
|
+
});
|
|
1079
|
+
this.iconEffect = effect(() => {
|
|
1080
|
+
const icon = this.icon();
|
|
1081
|
+
this.styleIcon();
|
|
1082
|
+
if (icon) {
|
|
1083
|
+
this.getIcon();
|
|
1084
|
+
}
|
|
1085
|
+
}, {
|
|
1086
|
+
allowSignalWrites: true
|
|
1087
|
+
});
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* Destroy icon effect
|
|
1091
|
+
*/
|
|
1092
|
+
ngOnDestroy() {
|
|
1093
|
+
this.iconEffect?.destroy();
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* Gets the icon to display.
|
|
1097
|
+
*/
|
|
1098
|
+
getIcon() {
|
|
1099
|
+
const iconRef = IconCatalog?.[this.icon()];
|
|
1100
|
+
if (iconRef?.source === 'Font awesome') {
|
|
1101
|
+
this.loadIconFa();
|
|
1102
|
+
}
|
|
1103
|
+
else if (iconRef?.source === 'Custom') {
|
|
1104
|
+
this.loadIconCustom();
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* Loads the icon from Font Awesome.
|
|
1109
|
+
*/
|
|
1110
|
+
async loadIconFa() {
|
|
1111
|
+
const iconRef = IconCatalog?.[this.icon()];
|
|
1112
|
+
const styleIcon = this.getKeyStyle();
|
|
1113
|
+
this.svgContent.set(null);
|
|
1114
|
+
if (!iconRef || !styleIcon) {
|
|
1115
|
+
this.iconDefinition.set(null);
|
|
1116
|
+
return;
|
|
1117
|
+
}
|
|
1118
|
+
;
|
|
1119
|
+
const iconPromise = iconRef?.styles?.[styleIcon];
|
|
1120
|
+
if (!iconPromise) {
|
|
1121
|
+
this.iconDefinition.set(null);
|
|
1122
|
+
return;
|
|
1123
|
+
}
|
|
1124
|
+
;
|
|
1125
|
+
iconPromise
|
|
1126
|
+
?.then(icon => this.iconDefinition.set(icon))
|
|
1127
|
+
?.catch(() => this.iconDefinition.set(null));
|
|
1128
|
+
}
|
|
1129
|
+
/**
|
|
1130
|
+
* Gets the key style for the icon based on the current styleIcon model.
|
|
1131
|
+
*
|
|
1132
|
+
* @returns 'light' | 'regular' | 'solid' | null
|
|
1133
|
+
*/
|
|
1134
|
+
getKeyStyle() {
|
|
1135
|
+
const style = this.styleIcon();
|
|
1136
|
+
if (style && iconsStylesLight.includes(style))
|
|
1137
|
+
return 'light';
|
|
1138
|
+
if (style && iconsStylesRegular.includes(style))
|
|
1139
|
+
return 'regular';
|
|
1140
|
+
if (style && iconsStylesSolid.includes(style))
|
|
1141
|
+
return 'solid';
|
|
1142
|
+
return null;
|
|
1143
|
+
}
|
|
1144
|
+
/**
|
|
1145
|
+
* Loads a custom icon from the IconCatalog.
|
|
1146
|
+
* Sanitize the SVG content and apply the appropriate color.
|
|
1147
|
+
* @returns void
|
|
1148
|
+
*/
|
|
1149
|
+
loadIconCustom() {
|
|
1150
|
+
const iconRef = IconCatalog?.[this.icon()];
|
|
1151
|
+
this.iconDefinition.set(null);
|
|
1152
|
+
const iconPromise = iconRef?.styles?.regular;
|
|
1153
|
+
if (!iconPromise) {
|
|
1154
|
+
this.svgContent.set(null);
|
|
1155
|
+
return;
|
|
1156
|
+
}
|
|
1157
|
+
iconPromise?.then(svgContent => {
|
|
1158
|
+
const safeSvg = sanitizeSvgContent(svgContent);
|
|
1159
|
+
const retouchSvg = retouchSvgForColor(safeSvg);
|
|
1160
|
+
this.svgContent.set(this.sanitizer.bypassSecurityTrustHtml(retouchSvg));
|
|
1161
|
+
});
|
|
1162
|
+
}
|
|
1163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1164
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: IconComponent, isStandalone: true, selector: "tk-icon", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, styleIcon: { classPropertyName: "styleIcon", publicName: "styleIcon", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { icon: "iconChange", styleIcon: "styleIconChange", color: "colorChange", size: "sizeChange", disabled: "disabledChange" }, ngImport: i0, template: "<div>\n @if(iconDefinition()){\n\n <fa-icon\n class=\"svg-icon svg-icon__fa\"\n [icon]=\"iconDefinition() ?? ''\"\n [attr.color]=\"color()\"\n [size]=\"sizeProp() ?? '1x'\"\n [attr.disabled]=\"disabled()\"\n ></fa-icon>\n\n } @else if(svgContent()){\n\n <div\n class=\"svg-icon svg-icon__cu\"\n [innerHTML]=\"svgContent()\"\n [style]=\"{\n '--color': color(),\n '--size': size()\n }\"\n [attr.disabled]=\"disabled()\"\n [attr.size]=\"size()\"\n [attr.color]=\"color()\"></div>\n\n }\n</div>\n", styles: [".svg-icon{display:inline-block;width:fit-content}.svg-icon[color=primary]{color:var(--tk-color-primary-500)}.svg-icon[color=secondary]{color:var(--tk-color-secondary-500)}.svg-icon[color=danger]{color:var(--tk-color-danger-500)}.svg-icon[color=warning]{color:var(--tk-color-warning-700)}.svg-icon[color=info]{color:var(--tk-color-info-500)}.svg-icon[color=light]{color:var(--tk-color-full-white)}.svg-icon[disabled=true],.svg-icon[data-disabled=true]{color:var(--tk-color-neutral-500)!important}.svg-icon__cu[size=\"2xs\"],.svg-icon__cu[data-size=\"2xs\"]{font-size:.625em}.svg-icon__cu[size=xs],.svg-icon__cu[data-size=xs]{font-size:.75em}.svg-icon__cu[size=sm],.svg-icon__cu[data-size=sm]{font-size:.875em}.svg-icon__cu[size=lg],.svg-icon__cu[data-size=lg]{font-size:1.25em}.svg-icon__cu[size=xl],.svg-icon__cu[data-size=xl]{font-size:1.5em}.svg-icon__cu[size=\"2xl\"],.svg-icon__cu[data-size=\"2xl\"]{font-size:2em}.svg-icon__cu[size=\"1x\"],.svg-icon__cu[data-size=\"1x\"]{font-size:1em}.svg-icon__cu[size=\"2x\"],.svg-icon__cu[data-size=\"2x\"]{font-size:2em}.svg-icon__cu[size=\"3x\"],.svg-icon__cu[data-size=\"3x\"]{font-size:3em}.svg-icon__cu[size=\"4x\"],.svg-icon__cu[data-size=\"4x\"]{font-size:4em}.svg-icon__cu[size=\"5x\"],.svg-icon__cu[data-size=\"5x\"]{font-size:5em}svg{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }] }); }
|
|
1165
|
+
}
|
|
1166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IconComponent, decorators: [{
|
|
1167
|
+
type: Component,
|
|
1168
|
+
args: [{ selector: 'tk-icon', standalone: true, imports: [
|
|
1169
|
+
FontAwesomeModule
|
|
1170
|
+
], template: "<div>\n @if(iconDefinition()){\n\n <fa-icon\n class=\"svg-icon svg-icon__fa\"\n [icon]=\"iconDefinition() ?? ''\"\n [attr.color]=\"color()\"\n [size]=\"sizeProp() ?? '1x'\"\n [attr.disabled]=\"disabled()\"\n ></fa-icon>\n\n } @else if(svgContent()){\n\n <div\n class=\"svg-icon svg-icon__cu\"\n [innerHTML]=\"svgContent()\"\n [style]=\"{\n '--color': color(),\n '--size': size()\n }\"\n [attr.disabled]=\"disabled()\"\n [attr.size]=\"size()\"\n [attr.color]=\"color()\"></div>\n\n }\n</div>\n", styles: [".svg-icon{display:inline-block;width:fit-content}.svg-icon[color=primary]{color:var(--tk-color-primary-500)}.svg-icon[color=secondary]{color:var(--tk-color-secondary-500)}.svg-icon[color=danger]{color:var(--tk-color-danger-500)}.svg-icon[color=warning]{color:var(--tk-color-warning-700)}.svg-icon[color=info]{color:var(--tk-color-info-500)}.svg-icon[color=light]{color:var(--tk-color-full-white)}.svg-icon[disabled=true],.svg-icon[data-disabled=true]{color:var(--tk-color-neutral-500)!important}.svg-icon__cu[size=\"2xs\"],.svg-icon__cu[data-size=\"2xs\"]{font-size:.625em}.svg-icon__cu[size=xs],.svg-icon__cu[data-size=xs]{font-size:.75em}.svg-icon__cu[size=sm],.svg-icon__cu[data-size=sm]{font-size:.875em}.svg-icon__cu[size=lg],.svg-icon__cu[data-size=lg]{font-size:1.25em}.svg-icon__cu[size=xl],.svg-icon__cu[data-size=xl]{font-size:1.5em}.svg-icon__cu[size=\"2xl\"],.svg-icon__cu[data-size=\"2xl\"]{font-size:2em}.svg-icon__cu[size=\"1x\"],.svg-icon__cu[data-size=\"1x\"]{font-size:1em}.svg-icon__cu[size=\"2x\"],.svg-icon__cu[data-size=\"2x\"]{font-size:2em}.svg-icon__cu[size=\"3x\"],.svg-icon__cu[data-size=\"3x\"]{font-size:3em}.svg-icon__cu[size=\"4x\"],.svg-icon__cu[data-size=\"4x\"]{font-size:4em}.svg-icon__cu[size=\"5x\"],.svg-icon__cu[data-size=\"5x\"]{font-size:5em}svg{width:100%;height:100%}\n"] }]
|
|
1171
|
+
}], ctorParameters: () => [] });
|
|
1172
|
+
|
|
1173
|
+
const tkAdsIcon = `<svg
|
|
1174
|
+
width="1em"
|
|
1175
|
+
height="1em"
|
|
1176
|
+
viewBox="0 0 576 512"
|
|
1177
|
+
fill="none"
|
|
1178
|
+
role="img"
|
|
1179
|
+
focusable="false"
|
|
1180
|
+
aria-hidden="true"
|
|
1181
|
+
data-prefix="tk"
|
|
1182
|
+
data-icon="ads"
|
|
1183
|
+
class="svg-icon--tk tk-ads"
|
|
1184
|
+
version="1.1"
|
|
1185
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
1186
|
+
<path
|
|
1187
|
+
d="M 547.2024,64.000003 H 28.800127 C 12.897026,64.000003 0,78.330005 0,96.000098 V 415.99909 C 0,433.67134 12.897026,448 28.800127,448 H 547.2024 C 563.10459,448 576,433.67134 576,415.99909 V 96.000098 C 576,78.330005 563.10459,64.000003 547.2024,64.000003 Z M 532.80108,336.0001 c -31.81701,0 -57.60024,28.64995 -57.60024,63.99991 H 100.80019 c 0,-35.34996 -25.785012,-63.99991 -57.6,-63.99991 V 175.99992 c 31.814988,0 57.6,-28.64997 57.6,-63.99992 h 374.40065 c 0,35.34995 25.78323,63.99992 57.60024,63.99992 z"
|
|
1188
|
+
fill="currentColor"
|
|
1189
|
+
/>
|
|
1190
|
+
<path
|
|
1191
|
+
d="m 288.02306,145.91847 c -59.10788,0 -107.04037,49.27666 -107.04037,110.08152 0,60.80487 47.93249,110.08154 107.04037,110.08154 59.10788,0 106.99424,-49.27667 106.99424,-110.08154 0,-60.80486 -47.88638,-110.08152 -106.99424,-110.08152 z m 16.0814,62.15988 h 12.6255 v 68.79521 h -11.33533 l -0.64498,-5.16081 c -1.34548,1.79542 -2.90167,3.23232 -4.74609,4.28531 -2.08789,1.19478 -4.53783,1.79704 -7.32647,1.79704 -2.93016,0 -5.54017,-0.61875 -7.83335,-1.84316 -2.26487,-1.22439 -4.19329,-2.95064 -5.75981,-5.16075 -1.54057,-2.21012 -2.73658,-4.80074 -3.54814,-7.78727 -0.81629,-2.98677 -1.19802,-6.24444 -1.19802,-9.76864 v -0.96766 c 0,-3.7035 0.38165,-7.02862 1.19808,-10.04511 0.81152,-3.04623 2.02517,-5.69927 3.59411,-7.87943 1.56651,-2.18015 3.51038,-3.82784 5.80591,-5.02255 2.29316,-1.19448 4.90319,-1.79706 7.83334,-1.79706 2.76028,0 5.17469,0.6026 7.23431,1.79706 1.55797,0.88938 2.89945,2.04985 4.101,3.50196 z m -68.74913,3.59413 h 8.84706 3.31767 l 23.68433,65.20108 h -13.96178 l -4.37745,-13.7314 h -22.80887 l -4.37743,13.7314 h -13.86964 z m 6.08234,15.75884 -8.01764,25.15886 h 16.08139 z m 102.93938,0.0922 c 4.09324,0 7.57337,0.63731 10.50589,1.98136 2.96081,1.3438 5.2531,3.21604 6.81964,5.57549 1.59956,2.3295 2.39607,4.98505 2.39607,7.97159 h -12.53338 c 0,-1.2544 -0.30571,-2.37805 -0.82944,-3.36373 -0.49322,-1.01541 -1.27659,-1.78262 -2.35,-2.35 -1.04746,-0.59735 -2.3728,-0.92158 -4.05493,-0.92158 -1.39669,0 -2.62573,0.27563 -3.64019,0.78332 -1.01696,0.47774 -1.80032,1.09894 -2.35002,1.93529 -0.52373,0.80638 -0.78336,1.73295 -0.78336,2.71864 0,0.7467 0.17067,1.43012 0.46059,2.02743 0.31851,0.56738 0.82219,1.08868 1.52043,1.56668 0.69589,0.47774 1.56608,0.91823 2.67255,1.33627 1.13003,0.38834 2.53933,0.73118 4.19315,1.0598 3.39962,0.71674 6.45291,1.64606 9.12354,2.81079 2.67299,1.13478 4.74624,2.6828 6.31275,4.65393 1.56885,1.94116 2.3961,4.52927 2.3961,7.6951 0,2.1502 -0.49899,4.10599 -1.42848,5.89805 -0.92715,1.79183 -2.26533,3.35596 -4.00883,4.70001 -1.74102,1.31409 -3.82725,2.34057 -6.26667,3.08727 -2.40877,0.7167 -5.08766,1.10584 -8.10982,1.10584 -4.38342,0 -8.10287,-0.82946 -11.15099,-2.44213 -3.01954,-1.6124 -5.34499,-3.64949 -6.91151,-6.12832 -1.53823,-2.50879 -2.30403,-5.06694 -2.30403,-7.69511 h 11.88825 c 0.0597,1.76211 0.52224,3.16389 1.33632,4.23922 0.84224,1.0751 1.9008,1.87202 3.17942,2.35 1.3071,0.47774 2.68559,0.69118 4.19315,0.69118 1.62561,0 2.97909,-0.19734 4.05487,-0.6451 1.07328,-0.47797 1.89248,-1.11256 2.44219,-1.88922 0.58048,-0.80638 0.87552,-1.76542 0.87552,-2.81079 0,-0.92576 -0.25941,-1.74178 -0.78314,-2.48823 -0.52139,-0.74669 -1.48267,-1.44647 -2.90294,-2.07354 -1.39434,-0.65705 -3.44006,-1.25939 -6.08238,-1.79706 -2.38281,-0.53743 -4.57571,-1.17497 -6.63529,-1.98137 -2.03371,-0.8361 -3.8352,-1.87644 -5.34513,-3.04118 -1.4816,-1.16476 -2.616,-2.51795 -3.45587,-4.10099 -0.84459,-1.61278 -1.29024,-3.46864 -1.29024,-5.52942 0,-2.0308 0.44565,-3.9219 1.29024,-5.71373 0.86826,-1.79206 2.08682,-3.37231 3.68627,-4.74609 1.62325,-1.40373 3.62266,-2.49515 5.94413,-3.27157 2.35215,-0.80638 4.993,-1.19804 7.9255,-1.19804 z m -48.42851,10.09119 c -1.6256,0 -3.0324,0.42137 -4.19313,1.19804 -1.16309,0.74647 -2.13013,1.77316 -2.85687,3.08725 -0.69589,1.3141 -1.21749,2.86211 -1.56672,4.65393 -0.31851,1.76211 -0.46059,3.65296 -0.46059,5.71374 v 0.96763 c 0,2.00109 0.17067,3.84336 0.46059,5.5755 0.32085,1.73214 0.82453,3.26404 1.52043,4.60785 0.72661,1.31409 1.63242,2.38664 2.76473,3.13334 1.16075,0.71673 2.58539,1.0598 4.23919,1.0598 2.1469,0 3.90712,-0.48907 5.29905,-1.47452 1.26421,-0.92071 2.23559,-2.19773 2.94904,-3.73236 v -19.53716 c -0.30955,-0.66741 -0.6447,-1.29308 -1.05984,-1.84313 -0.78315,-1.0751 -1.80352,-1.89091 -2.99512,-2.48825 -1.16075,-0.59735 -2.50378,-0.92157 -4.10099,-0.92157 z"
|
|
1192
|
+
fill="currentColor"
|
|
1193
|
+
/>
|
|
1194
|
+
</svg>`;
|
|
1195
|
+
|
|
1196
|
+
var adsIcon_svg = /*#__PURE__*/Object.freeze({
|
|
1197
|
+
__proto__: null,
|
|
1198
|
+
default: tkAdsIcon
|
|
1199
|
+
});
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* Generated bundle index. Do not edit.
|
|
1203
|
+
*/
|
|
1204
|
+
|
|
1205
|
+
export { IconComponent };
|
|
1206
|
+
//# sourceMappingURL=tekus-design-system-components-icon.mjs.map
|