1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
|
import pluginReplace from '@rollup/plugin-replace';
import type { RollupReplaceOptions } from '@rollup/plugin-replace';
function iconsReplace(opts: RollupReplaceOptions) {
return pluginReplace({
...opts,
preventAssignment: false,
// only replace these strings at the start of strings, and make
// sure they're followed by a word-boundary that's not a dash
delimiters: ['(?<=["\'`])', '\\b(?!-)'],
});
}
export function pluginReplaceIcons() {
return [
iconsReplace({
values: {
'ti ti-alert-triangle': 'ph-warning ph-bold ph-lg',
},
exclude: [
'**/components/MkAnnouncementDialog.*',
'**/pages/announcement.*',
],
}),
iconsReplace({
values: {
'ti ti-alert-triangle': 'ph-warning-circle ph-bold ph-lg',
},
include: [
'**/components/MkAnnouncementDialog.*',
'**/pages/announcement.*',
],
}),
iconsReplace({
values: {
'ti ti-apps': 'ph-squares-four ph-bold ph-lg',
},
include: [
'**/pages/**',
],
}),
iconsReplace({
values: {
'ti ti-apps': 'ph-stack ph-bold ph-lg',
},
include: [
'**/ui/**',
],
}),
iconsReplace({
values: {
'ti ti-clock-play': 'ph-clock ph-bold ph-lg',
},
exclude: [
'**/components/MkMedia*',
],
}),
iconsReplace({
values: {
'ti ti-clock-play': 'ph ph-gauge ph-bold ph-lg',
},
include: [
'**/components/MkMedia*',
],
}),
iconsReplace({
values: {
'ti ti-photo': 'ph-image-square ph-bold ph-lg',
},
exclude: [
'**/pages/admin-user.*',
],
}),
iconsReplace({
values: {
'ti ti-photo': 'ph-image ph-bold ph-lg',
},
include: [
'**/pages/admin-user.*',
],
}),
iconsReplace({
values: {
'ti ti-reload': 'ph-arrow-clockwise ph-bold ph-lg',
},
exclude: [
'**/pages/settings/emoji-picker.*',
'**/pages/flash/flash.*',
'**/components/MkPageWindow.*',
],
}),
iconsReplace({
values: {
'ti ti-reload': 'ph-arrow-counter-clockwise ph-bold ph-lg',
},
include: [
'**/pages/settings/emoji-picker.*',
],
}),
iconsReplace({
values: {
'ti ti-reload': 'ph-arrows-clockwise ph-bold ph-lg',
},
include: [
'**/pages/flash/flash.*',
'**/components/MkPageWindow.*',
],
}),
iconsReplace({
values: {
'ti ti-repeat': 'ph-rocket-launch ph-bold ph-lg',
},
exclude: [
'**/components/MkMedia*',
'**/scripts/get-user-menu.*',
'**/pages/gallery/post.*',
],
}),
iconsReplace({
values: {
'ti ti-repeat': 'ph ph-repeat ph-bold ph-lg',
},
include: [
'**/components/MkMedia*',
'**/scripts/get-user-menu.*',
'**/pages/gallery/post.*',
],
}),
iconsReplace({
values: {
'icon ti ti-brand-youtube': 'icon ph-youtube-logo ph-bold ph-lg',
'ti ti ti-folder-symlink': 'sk-icons sk-foldermove sk-icons-lg',
'ti ti-123': 'ph-numpad ph-bold ph-lg',
'ti ti-access-point': 'ph-broadcast ph-bold ph-lg',
'ti ti-activity': 'ph-pulse ph-bold ph-lg',
'ti ti-ad': 'ph-flag ph-bold ph-lg',
'ti ti-adjustments': 'ph-faders ph-bold ph-lg',
'ti ti-align-box-left-bottom': 'ph-arrow-down-left ph-bold ph-lg',
'ti ti-align-box-left-top': 'ph-arrow-up-left ph-bold ph-lg',
'ti ti-align-box-right-bottom': 'ph-arrow-down-right ph-bold ph-lg',
'ti ti-align-box-right-top': 'ph-arrow-up-right ph-bold ph-lg',
'ti ti-align-left': 'ph-text-align-left ph-bold ph-lg',
'ti ti-antenna': 'ph-flying-saucer ph-bold ph-lg',
'ti ti-api': 'ph-key ph-bold ph-lg',
'ti ti-app-window': 'ph-app-window ph-bold ph-lg',
'ti ti-apple': 'ph-orange-slice ph-bold ph-lg',
'ti ti-arrow-back-up': 'ph-arrow-u-up-left ph-bold ph-lg',
'ti ti-arrow-bar-to-down': 'ph-arrow-line-down ph-bold ph-lg',
'ti ti-arrow-big-right': 'ph-arrow-fat-right ph-bold ph-lg',
'ti ti-arrow-down': 'ph-arrow-down ph-bold ph-lg',
'ti ti-arrow-left': 'ph-arrow-left ph-bold ph-lg',
'ti ti-arrow-narrow-up': 'ph-arrow-up ph-bold ph-lg',
'ti ti-arrow-right': 'ph-arrow-right ph-bold ph-lg',
'ti ti-arrow-up': 'ph-arrow-up ph-bold ph-lg',
'ti ti-arrows-maximize': 'ph-arrows-out ph-bold ph-lg',
'ti ti-arrows-minimize': 'ph-arrows-in ph-bold ph-lg',
'ti ti-arrows-move': 'ph-arrows-out-cardinal ph-bold ph-lg',
'ti ti-arrows-sort': 'ph-arrows-down-up ph-bold ph-lg',
'ti ti-arrows-up': 'ph-arrow-line-up ph-bold ph-lg',
'ti ti-asterisk': 'ph-asterisk ph-bold ph-lg',
'ti ti-at': 'ph-at ph-bold ph-lg',
'ti ti-backspace': 'ph-backspace ph-bold ph-lg',
'ti ti-badge': 'ph-seal-check ph-bold ph-lg',
'ti ti-badges': 'ph-seal-check ph-bold ph-lg',
'ti ti-ban': 'ph-prohibit ph-bold ph-lg',
'ti ti-bell': 'ph-bell ph-bold ph-lg',
'ti ti-bell-off': 'ph-bell ph-bold ph-lg',
'ti ti-bell-plus': 'ph-bell-ringing ph-bold ph-lg',
'ti ti-bell-ringing-2': 'ph-bell-ringing ph-bold ph-lg',
'ti ti-bolt': 'ph-lightning ph-bold ph-lg',
'ti ti-bookmark': 'ph-bookmark ph-bold ph-lg',
'ti ti-brand-x': 'ph-twitter-logo ph-bold ph-lg',
'ti ti-bulb': 'ph-lightbulb ph-bold ph-lg',
'ti ti-cake': 'ph-cake ph-bold ph-lg',
'ti ti-calendar': 'ph-calendar ph-bold ph-lg',
'ti ti-calendar-time': 'ph-calendar ph-bold ph-lg',
'ti ti-camera': 'ph-camera ph-bold ph-lg',
'ti ti-carousel-horizontal': 'ph-split-horizontal ph-bold ph-lg',
'ti ti-carousel-vertical': 'ph-split-vertical ph-bold ph-lg',
'ti ti-chart-arrows': 'ph-chart-bar-horizontal ph-bold ph-lg',
'ti ti-chart-line': 'ph-chart-line ph-bold ph-lg',
'ti ti-check': 'ph-check ph-bold ph-lg',
'ti ti-checkbox': 'ph-check ph-bold ph-lg',
'ti ti-checklist': 'ph-list-checks ph-bold ph-lg',
'ti ti-checkup-list': 'ph-list-checks ph-bold ph-lg',
'ti ti-chevron-double-right': 'ph-caret-double-right ph-bold ph-lg',
'ti ti-chevron-left': 'ph-caret-left ph-bold ph-lg',
'ti ti-chevron-right': 'ph-caret-right ph-bold ph-lg',
'ti ti-chevron-up': 'ph-caret-up ph-bold ph-lg',
'ti ti-chevrons-left': 'ph-caret-dobule-left ph-bold ph-lg',
'ti ti-chevrons-right': 'ph-caret-right ph-bold ph-lg',
'ti ti-circle': 'ph-circle ph-bold ph-lg',
'ti ti-circle-check': 'ph-seal-check ph-bold ph-lg',
'ti ti-circle-filled': 'ph-circle-half ph-bold ph-lg',
'ti ti-circle-minus': 'ph-minus-circle ph-bold ph-lg',
'ti ti-circle-x': 'ph-x-circle ph-bold ph-lg',
'ti ti-clock': 'ph-clock ph-bold ph-lg',
'ti ti-clock-edit': 'ph-pencil-simple ph-bold ph-lg',
'ti ti-cloud': 'ph-cloud ph-bold ph-lg',
'ti ti-code': 'ph-code ph-bold ph-lg',
'ti ti-columns': 'ph-text-columns ph-bold ph-lg',
'ti ti-comet': 'ph-shooting-star ph-bold ph-lg',
'ti ti-confetti': 'ph-confetti ph-bold ph-lg',
'ti ti-cookie': 'ph-cookie ph-bold ph-lg',
'ti ti-copy': 'ph-copy ph-bold ph-lg',
'ti ti-cpu': 'ph-cpu ph-bold ph-lg',
'ti ti-crop': 'ph-crop ph-bold ph-lg',
'ti ti-crown': 'ph-crown ph-bold ph-lg',
'ti ti-dashboard': 'ph-gauge ph-bold ph-lg',
'ti ti-database': 'ph-database ph-bold ph-lg',
'ti ti-device-desktop': 'ph-desktop ph-bold ph-lg',
'ti ti-device-floppy': 'ph-floppy-disk ph-bold ph-lg',
'ti ti-device-gamepad': 'ph-game-controller ph-bold ph-lg',
'ti ti-device-mobile': 'ph-device-mobile ph-bold ph-lg',
'ti ti-device-tablet': 'ph-device-tablet ph-bold ph-lg',
'ti ti-device-tv': 'ph-television ph-bold ph-lg',
'ti ti-devices': 'ph-devices ph-bold ph-lg',
'ti ti-dice': 'ph ph-dice-five ph-bold ph-lg',
'ti ti-dice-5': 'ph ph-dice-five ph-bold ph-lg',
'ti ti-dots': 'ph-dots-three ph-bold ph-lg',
'ti ti-download': 'ph-download ph-bold ph-lg',
'ti ti-edit': 'ph-pencil-simple-line ph-bold ph-lg',
'ti ti-equal-double': 'ph-equals ph-bold ph-lg',
'ti ti-equal-not': 'ph-prohibit ph-bold ph-lg',
'ti ti-exclamation-circle': 'ph-warning-circle ph-bold ph-lg',
'ti ti-external-link': 'ph-arrow-square-out ph-bold ph-lg',
'ti ti-eye': 'ph-eye ph-bold ph-lg',
'ti ti-eye-exclamation': 'ph-eye-slash ph-bold ph-lg',
'ti ti-eye-off': 'ti ti-eye-exclamation',
'ti ti-feather': 'ph-feather ph-bold ph-lg',
'ti ti-file': 'ph-file ph-bold ph-lg',
'ti ti-file-invoice': 'ph-newspaper-clipping ph-bold ph-lg',
'ti ti-file-music': 'ph-file-audio ph-bold ph-lg',
'ti ti-file-text': 'ph-file-text ph-bold ph-lg',
'ti ti-file-zip': 'ph-file-zip ph-bold ph-lg',
'ti ti-filter': 'ph-funnel ph-bold ph-lg',
'ti ti-flare': 'ph-fire ph-bold ph-lg',
'ti ti-flask': 'ph-flask ph-bold ph-lg',
'ti ti-folder': 'ph-folder ph-bold ph-lg',
'ti ti-folder-plus': 'ph-folder-plus ph-bold ph-lg',
'ti ti-folder-symlink': 'sk-icons sk-foldermove sk-icons-lg',
'ti ti-forms': 'ph-textbox ph-bold ph-lg',
'ti ti-ghost': 'ph-ghost ph-bold ph-lg',
'ti ti-grid-dots': 'ph-dots-nine ph-bold ph-lg',
'ti ti-hash': 'ph-hash ph-bold ph-lg',
'ti ti-heart': 'ph-heart ph-bold ph-lg',
'ti ti-heart-filled': 'ph-heart ph-bold ph-lg',
'ti ti-heart-off': 'ph-heart-break ph-bold ph-lg',
'ti ti-heart-plus': 'ph-heart ph-bold ph-lg',
'ti ti-help-circle': 'ph-question ph-bold ph-lg',
'ti ti-home': 'ph-house ph-bold ph-lg',
'ti ti-hourglass-empty': 'ph-hourglass ph-bold ph-lg',
'ti ti-id': 'ph-identification-card ph-bold ph-lg',
'ti ti-info-circle': 'ph-info ph-bold ph-lg',
'ti ti-key': 'ph-key ph-bold ph-lg',
'ti ti-language-hiragana': 'ph-translate ph-bold ph-lg',
'ti ti-leaf': 'ph-leaf ph-bold ph-lg',
'ti ti-license': 'ph-notebook ph-bold ph-lg',
'ti ti-link': 'ph-link ph-bold ph-lg',
'ti ti-link-off': 'ph-link-break ph-bold ph-lg',
'ti ti-list': 'ph-list ph-bold ph-lg',
'ti ti-list-search': 'ph-list ph-bold ph-lg-search',
'ti ti-lock': 'ph-lock ph-bold ph-lg',
'ti ti-lock-open': 'ph-lock-open ph-bold ph-lg',
'ti ti-mail': 'ph-envelope ph-bold ph-lg',
'ti ti-map-pin': 'ph-map-pin ph-bold ph-lg',
'ti ti-maximize': 'ph-frame-corners ph-bold ph-lg',
'ti ti-medal': 'ph-trophy ph-bold ph-lg',
'ti ti-menu': 'ph-list ph-bold ph-lg',
'ti ti-menu-2': 'ph-list ph-bold ph-lg',
'ti ti-message': 'ph-envelope ph-bold ph-lg',
'ti ti-message-off': 'ph-bell-slash ph-bold ph-lg',
'ti ti-messages': 'ph-envelope ph-bold ph-lg',
'ti ti-messages-off': 'ph-envelope-open ph-bold ph-lg',
'ti ti-minimize': 'ph-arrows-in-simple ph-bold ph-lg',
'ti ti-minus': 'ph-minus ph-bold ph-lg',
'ti ti-mood-happy': 'ph-smiley ph-bold ph-lg',
'ti ti-mood-smile': 'ph-smiley ph-bold pg-lg',
'ti ti-moon': 'ph-moon ph-bold ph-lg',
'ti ti-movie': 'ph-film-strip ph-bold ph-lg',
'ti ti-music': 'ph-music-notes ph-bold ph-lg',
'ti ti-news': 'ph-newspaper ph-bold ph-lg',
'ti ti-note': 'ph-note ph-bold ph-lg',
'ti ti-notebook': 'ph-notebook ph-bold ph-lg',
'ti ti-package': 'ph-package ph-bold ph-lg',
'ti ti-paint': 'ph-paint-roller ph-bold ph-lg',
'ti ti-palette': 'ph-palette ph-bold ph-lg',
'ti ti-paperclip': 'ph-paperclip ph-bold ph-lg',
'ti ti-password': 'ph-password ph-bold ph-lg',
'ti ti-pencil': 'ph-pencil-simple ph-bold ph-lg',
'ti ti-pencil-plus': 'ph-plus ph-bold pg-lg',
'ti ti-photo-plus': 'ph-image-square ph-bold ph-lg',
'ti ti-picture-in-picture': 'ph-picture-in-picture ph-bold ph-lg',
'ti ti-pin': 'ph-push-pin ph-bold ph-lg',
'ti ti-pinned-off': 'ph-push-pin-slash ph-bold ph-lg',
'ti ti-plane': 'ph-airplane ph-bold ph-lg',
'ti ti-plane-arrival': 'ph-airplane-landing ph-bold ph-lg',
'ti ti-plane-departure': 'ph-airplane-takeoff ph-bold ph-lg',
'ti ti-planet': 'ph-planet ph-bold ph-lg',
'ti ti-planet-off': 'ph-globe-simple ph-bold ph-lg',
'ti ti-player-eject': 'ph-eject ph-bold ph-lg',
'ti ti-player-pause': 'ph-pause ph-bold ph-lg',
'ti ti-player-pause-filled': 'ph-pause ph-bold ph-lg',
'ti ti-player-play': 'ph-play ph-bold ph-lg',
'ti ti-player-play-filled': 'ph-play ph-bold ph-lg',
'ti ti-player-stop': 'ph-stop ph-bold ph-lg',
'ti ti-player-track-next': 'ph-skip-forward ph-bold ph-lg',
'ti ti-plug': 'ph-plug ph-bold ph-lg',
'ti ti-plus': 'ph-plus ph-bold ph-lg',
'ti ti-point': 'ph-circle ph-bold ph-lg',
'ti ti-power': 'ph-power ph-bold ph-lg',
'ti ti-presentation': 'ph-presentation ph-bold ph-lg',
'ti ti-quote': 'ph-quotes ph-bold ph-lg',
'ti ti-rectangle': 'ph-frame-corners ph-bold ph-lg',
'ti ti-refresh': 'ph-arrows-counter-clockwise ph-bold ph-lg',
'ti ti-repeat-off': 'ph-repeat ph-bold ph-lg',
'ti ti-restore': 'ph-box-arrow-up ph-box ph-lg',
'ti ti-robot': 'ph-robot ph-bold ph-lg',
'ti ti-rocket': 'ph-rocket-launch ph-bold ph-lg',
'ti ti-rocket-off': 'ph-rocket ph-bold ph-lg',
'ti ti-rss': 'ph-rss ph-bold ph-lg',
'ti ti-search': 'ph-magnifying-glass ph-bold ph-lg',
'ti ti-section': 'ph-selection-all ph-bold ph-lg',
'ti ti-selector': 'ph-caret-up-down ph-bold ph-lg',
'ti ti-send': 'ph-paper-plane-tilt ph-bold ph-lg',
'ti ti-server': 'ph-hard-drives ph-bold ph-lg',
'ti ti-settings': 'ph-gear ph-bold ph-lg',
'ti ti-share': 'ph-share-network ph-bold ph-lg',
'ti ti-shield': 'ph-shield ph-bold ph-lg',
'ti ti-shield-lock': 'ph-shield ph-bold ph-lg',
'ti ti-snowflake': 'ph-snowflake ph-bold ph-lg',
'ti ti-sparkles': 'ph-sparkle ph-bold ph-lg',
'ti ti-speakerphone': 'ph-megaphone ph-bold ph-lg',
'ti ti-stack-2': 'ph-stack ph-bold ph-lg',
'ti ti-star': 'ph-star ph-bold ph-lg',
'ti ti-star-off': 'ph-star-half ph-bold ph-lg',
'ti ti-sun': 'ph-sun ph-bold ph-lg',
'ti ti-switch-horizontal': 'ph-arrows-left-right ph-bold ph-lg',
'ti ti-terminal-2': 'ph-terminal-window ph-bold ph-lg',
'ti ti-text-caption': 'ph-text-indent ph-bold ph-lg',
'ti ti-tool': 'ph-wrench ph-bold ph-lg',
'ti ti-trash': 'ph-trash ph-bold ph-lg',
'ti ti-trophy': 'ph-trophy ph-bold ph-lg',
'ti ti-universe': 'ph-rocket-launch ph-bold ph-lg',
'ti ti-upload': 'ph-upload ph-bold ph-lg',
'ti ti-user': 'ph-user ph-bold ph-lg',
'ti ti-user-check': 'ph-user-check ph-bold ph-lg',
'ti ti-user-circle': 'ph-user-circle ph-bold ph-lg',
'ti ti-user-edit': 'ph-user-list ph-bold ph-lg',
'ti ti-user-exclamation': 'ph-warning-circle ph-bold ph-lg',
'ti ti-user-off': 'ph-user-minus ph-bold ph-lg',
'ti ti-user-plus': 'ph-user-plus ph-bold ph-lg',
'ti ti-user-search': 'ph-user-circle ph-bold ph-lg',
'ti ti-user-shield': 'ph-newspaper-clipping ph-bold ph-lg',
'ti ti-users': 'ph-users ph-bold ph-lg',
'ti ti-video': 'ph-video ph-bold ph-lg',
'ti ti-volume': 'ph-speaker-high ph-bold ph-lg',
'ti ti-volume-3': 'ph-speaker-x ph-bold ph-lg',
'ti ti-webhook': 'ph-webhooks-logo ph-bold ph-lg',
'ti ti-whirl': 'ph-globe-hemisphere-west ph-bold ph-lg',
'ti ti-window-maximize': 'ph-frame-corners ph-bold ph-lg',
'ti ti-world': 'ph-globe-hemisphere-west ph-bold ph-lg',
'ti ti-world-download': 'ph-cloud-arrow-down ph-bold ph-lg',
'ti ti-world-search': 'ph-binoculars ph-bold ph-lg',
'ti ti-world-upload': 'ph-cloud-arrow-up ph-bold ph-lg',
'ti ti-world-x': 'ph-planet ph-bold ph-lg',
'ti ti-x': 'ph-x ph-bold ph-lg',
'ti-help': 'ph-question ph-bold ph-lg',
'ti-mail': 'ph-envelope ph-bold ph-lg',
'ti-webhook': 'ph-webhooks-logo ph-bold ph-lg',
'ti ti-caret-down': 'ph-caret-down ph-bold ph-lg',
'ti ti-chevron-down': 'ph-caret-down ph-bold ph-lg',
},
}),
];
}
|