@lucca/prisme 22.1.0-rc.1 → 22.1.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/lucca-prisme-button.mjs +2 -2
- package/fesm2022/lucca-prisme-button.mjs.map +1 -1
- package/fesm2022/lucca-prisme-icon.mjs +10 -352
- package/fesm2022/lucca-prisme-icon.mjs.map +1 -1
- package/fesm2022/lucca-prisme-numeric-badge.mjs +1 -1
- package/fesm2022/lucca-prisme-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-prisme-skeleton.mjs +10 -10
- package/fesm2022/lucca-prisme-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-prisme-tag.mjs +2 -2
- package/fesm2022/lucca-prisme-tag.mjs.map +1 -1
- package/fesm2022/lucca-prisme-tooltip.mjs +140 -68
- package/fesm2022/lucca-prisme-tooltip.mjs.map +1 -1
- package/package.json +3 -7
- package/types/lucca-prisme-icon.d.ts +4 -14
- package/types/lucca-prisme-tooltip.d.ts +6 -2
- package/fesm2022/lucca-prisme-safe-content.mjs +0 -48
- package/fesm2022/lucca-prisme-safe-content.mjs.map +0 -1
- package/types/lucca-prisme-safe-content.d.ts +0 -12
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NgClass } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import { LuSafeExternalSvgPipe } from '@lucca/prisme/safe-content';
|
|
3
|
+
import { input, booleanAttribute, computed, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Available IconComponent types
|
|
@@ -9,328 +8,8 @@ import { LuSafeExternalSvgPipe } from '@lucca/prisme/safe-content';
|
|
|
9
8
|
const ICON_SIZE = ['XXS', 'XS', 'S', 'M', 'L', 'XL', 'XXL'];
|
|
10
9
|
const ICON_COLOR = ['product', 'error', 'warning', 'success', 'light', 'placeholder', 'inherit'];
|
|
11
10
|
|
|
12
|
-
const ICON_ALIASES = {
|
|
13
|
-
adduser: 'peopleAdd',
|
|
14
|
-
alarm: 'timeAlarm',
|
|
15
|
-
analytics: 'chartVerticalBar',
|
|
16
|
-
answer: 'bubbleAnswer',
|
|
17
|
-
apiSync: 'databaseArrow',
|
|
18
|
-
apps: 'app',
|
|
19
|
-
archive: 'boxArchive',
|
|
20
|
-
arrowDouble: 'arrowForward',
|
|
21
|
-
arrowEast: 'arrowChevronRight',
|
|
22
|
-
arrowFullEast: 'arrowRight',
|
|
23
|
-
arrowFullNorth: 'arrowTop',
|
|
24
|
-
arrowFullSouth: 'arrowBottom',
|
|
25
|
-
arrowFullWest: 'arrowLeft',
|
|
26
|
-
arrowNorth: 'arrowChevronTop',
|
|
27
|
-
arrowOppositeHorizontal: 'arrowOppositeLeftRight',
|
|
28
|
-
arrowSouth: 'arrowChevronBottom',
|
|
29
|
-
arrowWest: 'arrowChevronLeft',
|
|
30
|
-
attach: 'formatClipperAttachment',
|
|
31
|
-
backward: 'arrowBackward',
|
|
32
|
-
bank: 'moneyBuildingBank',
|
|
33
|
-
bankingCard: 'moneyPaymentCard',
|
|
34
|
-
bed: 'hotelBed',
|
|
35
|
-
bill: 'moneyBill',
|
|
36
|
-
birthday: 'foodBirthdayCake',
|
|
37
|
-
breakfast: 'foodCroissant',
|
|
38
|
-
breaktime: 'foodCoffee',
|
|
39
|
-
brokenHeart: 'heartStrikethrough',
|
|
40
|
-
build: 'signConstruction',
|
|
41
|
-
building: 'buildingCompany',
|
|
42
|
-
bus: 'transportBus',
|
|
43
|
-
calendar: 'calendarDate',
|
|
44
|
-
calendarOff: 'calendarStrikethrough',
|
|
45
|
-
camera: 'deviceCamera',
|
|
46
|
-
cancel: 'signCancel',
|
|
47
|
-
car: 'transportCar',
|
|
48
|
-
certifKo: 'certificationFailed',
|
|
49
|
-
certifOk: 'certificationSuccess',
|
|
50
|
-
certifWaiting: 'certificationWaiting',
|
|
51
|
-
chair: 'officeChair',
|
|
52
|
-
charts: 'chartVerticalBar',
|
|
53
|
-
chat: 'bubbleSpeech',
|
|
54
|
-
chevronBottom: 'arrowChevronBottom',
|
|
55
|
-
chevronEast: 'arrowChevronRight',
|
|
56
|
-
chevronLeft: 'arrowChevronLeft',
|
|
57
|
-
chevronNorth: 'arrowChevronTop',
|
|
58
|
-
chevronRight: 'arrowChevronRight',
|
|
59
|
-
chevronSouth: 'arrowChevronBottom',
|
|
60
|
-
chevronTop: 'arrowChevronTop',
|
|
61
|
-
chevronWest: 'arrowChevronLeft',
|
|
62
|
-
chronoOn: 'timeTimer',
|
|
63
|
-
cleanCar: 'transportCarwashStation',
|
|
64
|
-
clock: 'timeClock',
|
|
65
|
-
close: 'mathsMultiplicate',
|
|
66
|
-
cloudUpload: 'arrowUpload',
|
|
67
|
-
coffee: 'foodCoffee',
|
|
68
|
-
collapse: 'arrowUnfoldLess',
|
|
69
|
-
compass: 'officeCompass',
|
|
70
|
-
computer: 'deviceComputer',
|
|
71
|
-
computerMouse: 'deviceMouse',
|
|
72
|
-
confirm: 'signConfirm',
|
|
73
|
-
contract: 'fileContract',
|
|
74
|
-
copy: 'fileCopy',
|
|
75
|
-
creditDebit: 'arrowOppositeVertical',
|
|
76
|
-
cross: 'mathsMultiplicate',
|
|
77
|
-
crossBold: 'mathsMultiplicate',
|
|
78
|
-
crown: 'capCrown',
|
|
79
|
-
cut: 'officeScissors',
|
|
80
|
-
dashboard: 'chartPie',
|
|
81
|
-
dialog: 'bubbleSpeech',
|
|
82
|
-
diner: 'foodClocheDish',
|
|
83
|
-
discount: 'signDiscount',
|
|
84
|
-
distribute: 'arrowCorner',
|
|
85
|
-
divide: 'mathsDivide',
|
|
86
|
-
dollar: 'moneyCurrencyDollar',
|
|
87
|
-
donut: 'chartDonut',
|
|
88
|
-
donutChart: 'chartDonut',
|
|
89
|
-
dossierRh: 'peopleId',
|
|
90
|
-
download: 'arrowDownload',
|
|
91
|
-
drag: 'dotsDrag',
|
|
92
|
-
drink: 'foodCocktail',
|
|
93
|
-
eastArrow: 'arrowChevronRight',
|
|
94
|
-
eastThinArrow: 'arrowChevronRight',
|
|
95
|
-
edit: 'officePen',
|
|
96
|
-
editFrame: 'officePenWriting',
|
|
97
|
-
editMini: 'officePen',
|
|
98
|
-
editWrite: 'officePenWriting',
|
|
99
|
-
ellipsis: 'menuDots',
|
|
100
|
-
error: 'signError',
|
|
101
|
-
establishment: 'buildingCompany',
|
|
102
|
-
euro: 'moneyCurrencyEuro',
|
|
103
|
-
evolution: 'trendingGrowth',
|
|
104
|
-
evolutionDown: 'trendingLoss',
|
|
105
|
-
expand: 'arrowUnfoldMore',
|
|
106
|
-
face: 'peoplePerson',
|
|
107
|
-
familyTree: 'chartFlow',
|
|
108
|
-
file: 'fileDocument',
|
|
109
|
-
files: 'fileDocument',
|
|
110
|
-
filter: 'filtersFunnel',
|
|
111
|
-
filterAbstract: 'filtersDescending',
|
|
112
|
-
floor: 'layers',
|
|
113
|
-
folder: 'fileFolder',
|
|
114
|
-
forbidden: 'signBan',
|
|
115
|
-
formatBold: 'formatTextBold',
|
|
116
|
-
formatClear: 'formatTextClear',
|
|
117
|
-
formatItalic: 'formatTextItalic',
|
|
118
|
-
formatJustify: 'formatText',
|
|
119
|
-
formatListNb: 'formatNumberedList',
|
|
120
|
-
formatRedo: 'formatCornerUpRight',
|
|
121
|
-
formatSize: 'formatTextSize',
|
|
122
|
-
formatStrikethrough: 'formatTextStrikethrough',
|
|
123
|
-
formatUnderlined: 'formatTextUnderline',
|
|
124
|
-
formatUndo: 'formatCornerUpLeft',
|
|
125
|
-
forward: 'arrowForward',
|
|
126
|
-
fullscreen: 'cornersFullscreenOpen',
|
|
127
|
-
fullscreenExit: 'cornersFullscreenExit',
|
|
128
|
-
funnel: 'filtersFunnel',
|
|
129
|
-
gallery: 'pictureGallery',
|
|
130
|
-
gasoline: 'transportGazStation',
|
|
131
|
-
globe: 'mapGlobe',
|
|
132
|
-
graduate: 'capGraduate',
|
|
133
|
-
group: 'peopleGroup',
|
|
134
|
-
hamburgerMenu: 'menuBurger',
|
|
135
|
-
hanger: 'hotelHanger',
|
|
136
|
-
help: 'signHelp',
|
|
137
|
-
helpOutline: 'signHelp',
|
|
138
|
-
high: 'priorityHigh',
|
|
139
|
-
higher: 'priorityHigher',
|
|
140
|
-
highest: 'priorityHighest',
|
|
141
|
-
history: 'timePast',
|
|
142
|
-
home: 'buildingHouse',
|
|
143
|
-
homeFill: 'buildingHouseFilled',
|
|
144
|
-
homeStarred: 'buildingHouseStarred',
|
|
145
|
-
horizontalBarChart: 'chartHorizontalBar',
|
|
146
|
-
hotel: 'hotelBed',
|
|
147
|
-
house: 'buildingHouse',
|
|
148
|
-
houseFilled: 'buildingHouseFilled',
|
|
149
|
-
houseStarred: 'buildingHouseStarred',
|
|
150
|
-
identityCard: 'peopleId',
|
|
151
|
-
image: 'pictureImage',
|
|
152
|
-
importCb: 'moneyCardImport',
|
|
153
|
-
importDirty: 'fileImport',
|
|
154
|
-
importPristine: 'fileImport',
|
|
155
|
-
info: 'signInfo',
|
|
156
|
-
iron: 'hotelIron',
|
|
157
|
-
key: 'lockKey',
|
|
158
|
-
laptop: 'deviceLaptop',
|
|
159
|
-
level: 'chartLevels',
|
|
160
|
-
lightBulb: 'bulb',
|
|
161
|
-
list: 'formatBulletedList',
|
|
162
|
-
listTodo: 'listChecklist',
|
|
163
|
-
location: 'mapLocation',
|
|
164
|
-
lock: 'lockClose',
|
|
165
|
-
login: 'arrowLogin',
|
|
166
|
-
logout: 'arrowLogout',
|
|
167
|
-
low: 'priorityLow',
|
|
168
|
-
lower: 'priorityLower',
|
|
169
|
-
lowest: 'priorityLowest',
|
|
170
|
-
lucca: 'jumpingCc',
|
|
171
|
-
luggage: 'hotelLuggage',
|
|
172
|
-
lunch: 'foodBurger',
|
|
173
|
-
lunchAlternative: 'foodBobun',
|
|
174
|
-
mail: 'mailEnvelope',
|
|
175
|
-
mailbox: 'mailMailbox',
|
|
176
|
-
meal: 'foodCutlery',
|
|
177
|
-
medium: 'priorityMedium',
|
|
178
|
-
menu: 'menuBurger',
|
|
179
|
-
menuEllipsis: 'menuDots',
|
|
180
|
-
messenger: 'bubbleConversation',
|
|
181
|
-
mileage: 'transportSpeedometer',
|
|
182
|
-
milestone: 'journey',
|
|
183
|
-
minimize: 'mathsMinus',
|
|
184
|
-
minus: 'mathsMinus',
|
|
185
|
-
money: 'moneyCoins',
|
|
186
|
-
moneybag: 'moneyBag',
|
|
187
|
-
mosaic: 'app',
|
|
188
|
-
nineTiles: 'app',
|
|
189
|
-
noMoney: 'moneyBagStrikethrough',
|
|
190
|
-
northArrow: 'arrowChevronTop',
|
|
191
|
-
northThinArrow: 'arrowChevronTop',
|
|
192
|
-
notification: 'bell',
|
|
193
|
-
orgTree: 'chartFlow',
|
|
194
|
-
outside: 'arrowExternal',
|
|
195
|
-
overplanned: 'timeTimerStrikethrough',
|
|
196
|
-
palette: 'picturePalette',
|
|
197
|
-
parking: 'signParking',
|
|
198
|
-
partial: 'mathsMinus',
|
|
199
|
-
paste: 'clipboard',
|
|
200
|
-
pause: 'playerPauseCircle',
|
|
201
|
-
payPeriod: 'calendarPlanning',
|
|
202
|
-
payment: 'moneyCoins',
|
|
203
|
-
piggyBank: 'moneyPiggyBank',
|
|
204
|
-
pin: 'mapPin',
|
|
205
|
-
plane: 'transportPlane',
|
|
206
|
-
planning: 'calendarDate',
|
|
207
|
-
planningEdit: 'calendarEdit',
|
|
208
|
-
planningManage: 'calendarSettings',
|
|
209
|
-
play: 'playerPlayCircle',
|
|
210
|
-
playFull: 'playerPlay',
|
|
211
|
-
plus: 'mathsPlus',
|
|
212
|
-
plusBold: 'mathsPlus',
|
|
213
|
-
postage: 'mailMailbox',
|
|
214
|
-
postpone: 'timeFuture',
|
|
215
|
-
present: 'gift',
|
|
216
|
-
pressing: 'hotelIron',
|
|
217
|
-
pricetag: 'priceTag',
|
|
218
|
-
print: 'devicePrinter',
|
|
219
|
-
puzzle: 'jigsawPuzzle',
|
|
220
|
-
refresh: 'arrowReset',
|
|
221
|
-
reorder: 'filtersSort',
|
|
222
|
-
reply: 'arrowReply',
|
|
223
|
-
restaurant: 'foodChefHat',
|
|
224
|
-
rocket: 'transportRocket',
|
|
225
|
-
rotate: 'rotationLeft',
|
|
226
|
-
rotateRight: 'rotationRight',
|
|
227
|
-
save: 'floppyDiskSave',
|
|
228
|
-
school: 'capGraduate',
|
|
229
|
-
search: 'searchMagnifyingGlass',
|
|
230
|
-
send: 'mailPaperPlane',
|
|
231
|
-
send2user: 'peopleSwitch',
|
|
232
|
-
settings: 'settingsGear',
|
|
233
|
-
sign: 'fileSign',
|
|
234
|
-
sliders: 'settingsEqualizer',
|
|
235
|
-
snack: 'foodSandwich',
|
|
236
|
-
sort: 'filtersSort',
|
|
237
|
-
southArrow: 'arrowChevronBottom',
|
|
238
|
-
southThinArrow: 'arrowChevronBottom',
|
|
239
|
-
speedometer: 'transportSpeedometer',
|
|
240
|
-
stamp: 'mailMailbox',
|
|
241
|
-
stop: 'playerStopCircle',
|
|
242
|
-
store: 'buildingStore',
|
|
243
|
-
subway: 'transportSubway',
|
|
244
|
-
success: 'signSuccess',
|
|
245
|
-
supplies: 'officeSupplies',
|
|
246
|
-
swap: 'arrowOppositeLeftRight',
|
|
247
|
-
sync: 'arrowSync',
|
|
248
|
-
syncDisabled: 'arrowSyncStrikethrough',
|
|
249
|
-
table: 'dataTable',
|
|
250
|
-
talk: 'bubbleSpeech',
|
|
251
|
-
taxi: 'transportTaxi',
|
|
252
|
-
teacher: 'peopleTeacher',
|
|
253
|
-
telephone: 'officePhone',
|
|
254
|
-
test: 'laboratoryTestFlask',
|
|
255
|
-
thinCross: 'mathsMultiplicate',
|
|
256
|
-
tick: 'signConfirm',
|
|
257
|
-
tickBold: 'signConfirm',
|
|
258
|
-
tickThin: 'signConfirm',
|
|
259
|
-
tiles: 'app',
|
|
260
|
-
timer: 'timeHourglass',
|
|
261
|
-
timesheet: 'timeTimesheet',
|
|
262
|
-
toll: 'transportToll',
|
|
263
|
-
tollDollar: 'transportToll',
|
|
264
|
-
tollEuro: 'transportToll',
|
|
265
|
-
tools: 'settingsTools',
|
|
266
|
-
train: 'transportTrain',
|
|
267
|
-
trash: 'trashDelete',
|
|
268
|
-
truck: 'transportTruck',
|
|
269
|
-
unarchive: 'boxUnarchive',
|
|
270
|
-
unlink: 'formatUnlink',
|
|
271
|
-
unlock: 'lockOpen',
|
|
272
|
-
unstared: 'star',
|
|
273
|
-
unwatch: 'eyeStrikethrough',
|
|
274
|
-
update: 'arrowReset',
|
|
275
|
-
upload: 'arrowUpload',
|
|
276
|
-
user: 'peoplePerson',
|
|
277
|
-
userAdd: 'peopleAdd',
|
|
278
|
-
userFile: 'peopleId',
|
|
279
|
-
userGroup: 'peopleGroup',
|
|
280
|
-
userRemove: 'peopleRemove',
|
|
281
|
-
userRoles: 'peopleLocked',
|
|
282
|
-
userSendTo: 'peopleSwitch',
|
|
283
|
-
wallet: 'moneyWallet',
|
|
284
|
-
warning: 'signWarning',
|
|
285
|
-
watch: 'eye',
|
|
286
|
-
weatherStorm: 'weatherStormy',
|
|
287
|
-
weatherSun: 'weatherSunny',
|
|
288
|
-
westArrow: 'arrowChevronLeft',
|
|
289
|
-
westThinArrow: 'arrowChevronLeft',
|
|
290
|
-
};
|
|
291
|
-
|
|
292
|
-
const ICON_SPRITE_URL = 'https://cdn.lucca.fr/transverse/prisme/icons/svg/sprite.svg';
|
|
293
|
-
class IconSpriteComponent {
|
|
294
|
-
constructor() {
|
|
295
|
-
this.spriteUrl = ICON_SPRITE_URL;
|
|
296
|
-
}
|
|
297
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: IconSpriteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
298
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.4", type: IconSpriteComponent, isStandalone: true, selector: "pr-icon-sprite", host: { attributes: { "aria-hidden": "true" }, classAttribute: "pr-u-mask" }, ngImport: i0, template: "<div [innerHTML]=\"spriteUrl | luSafeExternalSvg\"></div>\n", dependencies: [{ kind: "pipe", type: LuSafeExternalSvgPipe, name: "luSafeExternalSvg" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
299
|
-
}
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: IconSpriteComponent, decorators: [{
|
|
301
|
-
type: Component,
|
|
302
|
-
args: [{ selector: 'pr-icon-sprite', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [LuSafeExternalSvgPipe], host: {
|
|
303
|
-
class: 'pr-u-mask',
|
|
304
|
-
'aria-hidden': 'true',
|
|
305
|
-
}, template: "<div [innerHTML]=\"spriteUrl | luSafeExternalSvg\"></div>\n" }]
|
|
306
|
-
}] });
|
|
307
|
-
|
|
308
|
-
class IconSpriteService {
|
|
309
|
-
#applicationRef = inject(ApplicationRef);
|
|
310
|
-
#environmentInjector = inject(EnvironmentInjector);
|
|
311
|
-
#platformId = inject(PLATFORM_ID);
|
|
312
|
-
#requested = false;
|
|
313
|
-
ensureSpriteLoaded() {
|
|
314
|
-
if (this.#requested || !isPlatformBrowser(this.#platformId)) {
|
|
315
|
-
return;
|
|
316
|
-
}
|
|
317
|
-
this.#requested = true;
|
|
318
|
-
const componentRef = createComponent(IconSpriteComponent, { environmentInjector: this.#environmentInjector });
|
|
319
|
-
document.body.append(componentRef.location.nativeElement);
|
|
320
|
-
this.#applicationRef.attachView(componentRef.hostView);
|
|
321
|
-
}
|
|
322
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: IconSpriteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
323
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: IconSpriteService, providedIn: 'root' }); }
|
|
324
|
-
}
|
|
325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: IconSpriteService, decorators: [{
|
|
326
|
-
type: Injectable,
|
|
327
|
-
args: [{ providedIn: 'root' }]
|
|
328
|
-
}] });
|
|
329
|
-
|
|
330
11
|
class IconComponent {
|
|
331
|
-
#iconSpriteService;
|
|
332
12
|
constructor() {
|
|
333
|
-
this.#iconSpriteService = inject(IconSpriteService);
|
|
334
13
|
/**
|
|
335
14
|
* Defines icon to display
|
|
336
15
|
*/
|
|
@@ -347,59 +26,38 @@ class IconComponent {
|
|
|
347
26
|
this.size = input(/* @ts-ignore */
|
|
348
27
|
...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
|
|
349
28
|
/**
|
|
350
|
-
* Changes the color of the icon (
|
|
29
|
+
* Changes the color of the icon (inherit by default)
|
|
351
30
|
*/
|
|
352
|
-
this.color = input(/* @ts-ignore */
|
|
353
|
-
...(ngDevMode ? [
|
|
31
|
+
this.color = input('inherit', /* @ts-ignore */
|
|
32
|
+
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
354
33
|
/**
|
|
355
34
|
* Display icon in AI mode
|
|
356
35
|
*/
|
|
357
36
|
this.AI = input(false, { ...(ngDevMode ? { debugName: "AI" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
358
37
|
this.iconClasses = computed(() => {
|
|
359
38
|
const size = this.size();
|
|
360
|
-
const color = this.color();
|
|
361
39
|
return {
|
|
362
40
|
[`mod-${size}`]: !!size,
|
|
363
|
-
[`icon-color-${color}`]: !!color && color !== 'inherit',
|
|
364
41
|
};
|
|
365
42
|
}, /* @ts-ignore */
|
|
366
43
|
...(ngDevMode ? [{ debugName: "iconClasses" }] : /* istanbul ignore next */ []));
|
|
367
|
-
this.spriteIconId = computed(() => {
|
|
368
|
-
const icon = this.icon();
|
|
369
|
-
const canonicalIcon = ICON_ALIASES[icon] ?? icon;
|
|
370
|
-
return canonicalIcon.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
|
|
371
|
-
}, /* @ts-ignore */
|
|
372
|
-
...(ngDevMode ? [{ debugName: "spriteIconId" }] : /* istanbul ignore next */ []));
|
|
373
|
-
this.#iconSpriteService.ensureSpriteLoaded();
|
|
374
44
|
}
|
|
375
45
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
376
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
46
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: IconComponent, isStandalone: true, selector: "lu-icon, pr-icon", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, AI: { classPropertyName: "AI", publicName: "AI", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span\n\taria-hidden=\"true\"\n\t[class.mod-AI]=\"AI()\"\n\tclass=\"lucca-icon icon-{{ icon() }} icon-color-{{ color() }}\"\n\t[ngClass]=\"iconClasses()\"\n></span>\n@if (alt()) {\n\t<span class=\"pr-u-mask\">{{ alt() }}</span>\n}\n", styles: ["@layer base{lu-icon,pr-icon{display:inline-flex}}@layer mods{.icon-color-product{color:var(--palettes-product-700)}.icon-color-error{color:var(--palettes-error-700)}.icon-color-warning{color:var(--palettes-warning-700)}.icon-color-success{color:var(--palettes-success-700)}.icon-color-light{color:var(--palettes-neutral-600)}.icon-color-placeholder{color:var(--palettes-neutral-400)}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
377
47
|
}
|
|
378
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: IconComponent, decorators: [{
|
|
379
49
|
type: Component,
|
|
380
|
-
args: [{ selector: 'lu-icon, pr-icon', imports: [NgClass], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<
|
|
381
|
-
}],
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* Triggers the icon sprite fetch at application startup instead of waiting for the first `<lu-icon>`/`<pr-icon>` to mount.
|
|
385
|
-
* Optional: without it, the sprite still loads lazily on first icon usage.
|
|
386
|
-
*/
|
|
387
|
-
function provideLuIconSpritePreload() {
|
|
388
|
-
return makeEnvironmentProviders([
|
|
389
|
-
provideAppInitializer(() => {
|
|
390
|
-
inject(IconSpriteService).ensureSpriteLoaded();
|
|
391
|
-
}),
|
|
392
|
-
]);
|
|
393
|
-
}
|
|
50
|
+
args: [{ selector: 'lu-icon, pr-icon', imports: [NgClass], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<span\n\taria-hidden=\"true\"\n\t[class.mod-AI]=\"AI()\"\n\tclass=\"lucca-icon icon-{{ icon() }} icon-color-{{ color() }}\"\n\t[ngClass]=\"iconClasses()\"\n></span>\n@if (alt()) {\n\t<span class=\"pr-u-mask\">{{ alt() }}</span>\n}\n", styles: ["@layer base{lu-icon,pr-icon{display:inline-flex}}@layer mods{.icon-color-product{color:var(--palettes-product-700)}.icon-color-error{color:var(--palettes-error-700)}.icon-color-warning{color:var(--palettes-warning-700)}.icon-color-success{color:var(--palettes-success-700)}.icon-color-light{color:var(--palettes-neutral-600)}.icon-color-placeholder{color:var(--palettes-neutral-400)}}\n"] }]
|
|
51
|
+
}], propDecorators: { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: true }] }], alt: [{ type: i0.Input, args: [{ isSignal: true, alias: "alt", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], AI: [{ type: i0.Input, args: [{ isSignal: true, alias: "AI", required: false }] }] } });
|
|
394
52
|
|
|
395
53
|
// *******************************************
|
|
396
54
|
// *** THIS FILE IS GENERATED, DO NOT EDIT ***
|
|
397
|
-
// *** The generator is
|
|
55
|
+
// *** The generator is update-icons.js ***
|
|
398
56
|
// *******************************************
|
|
399
57
|
|
|
400
58
|
/**
|
|
401
59
|
* Generated bundle index. Do not edit.
|
|
402
60
|
*/
|
|
403
61
|
|
|
404
|
-
export { ICON_COLOR, ICON_SIZE, IconComponent
|
|
62
|
+
export { ICON_COLOR, ICON_SIZE, IconComponent };
|
|
405
63
|
//# sourceMappingURL=lucca-prisme-icon.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-prisme-icon.mjs","sources":["../../../packages/prisme/icon/icon.type.ts","../../../packages/prisme/icon/icon-aliases.ts","../../../packages/prisme/icon/icon-sprite.component.ts","../../../packages/prisme/icon/icon-sprite.component.html","../../../packages/prisme/icon/icon-sprite.service.ts","../../../packages/prisme/icon/icon.component.ts","../../../packages/prisme/icon/icon.component.html","../../../packages/prisme/icon/icon-sprite.providers.ts","../../../packages/prisme/icon/icons.ts","../../../packages/prisme/icon/lucca-prisme-icon.ts"],"sourcesContent":["/**\n * Available IconComponent types\n */\n\nexport const ICON_SIZE = ['XXS', 'XS', 'S', 'M', 'L', 'XL', 'XXL'] as const;\nexport type IconSize = (typeof ICON_SIZE)[number];\n\nexport const ICON_COLOR = ['product', 'error', 'warning', 'success', 'light', 'placeholder', 'inherit'] as const;\nexport type IconColor = (typeof ICON_COLOR)[number];\n","import type { LuccaIcon } from './icons';\n\nexport const ICON_ALIASES: Partial<Record<LuccaIcon, LuccaIcon>> = {\n\tadduser: 'peopleAdd',\n\talarm: 'timeAlarm',\n\tanalytics: 'chartVerticalBar',\n\tanswer: 'bubbleAnswer',\n\tapiSync: 'databaseArrow',\n\tapps: 'app',\n\tarchive: 'boxArchive',\n\tarrowDouble: 'arrowForward',\n\tarrowEast: 'arrowChevronRight',\n\tarrowFullEast: 'arrowRight',\n\tarrowFullNorth: 'arrowTop',\n\tarrowFullSouth: 'arrowBottom',\n\tarrowFullWest: 'arrowLeft',\n\tarrowNorth: 'arrowChevronTop',\n\tarrowOppositeHorizontal: 'arrowOppositeLeftRight',\n\tarrowSouth: 'arrowChevronBottom',\n\tarrowWest: 'arrowChevronLeft',\n\tattach: 'formatClipperAttachment',\n\tbackward: 'arrowBackward',\n\tbank: 'moneyBuildingBank',\n\tbankingCard: 'moneyPaymentCard',\n\tbed: 'hotelBed',\n\tbill: 'moneyBill',\n\tbirthday: 'foodBirthdayCake',\n\tbreakfast: 'foodCroissant',\n\tbreaktime: 'foodCoffee',\n\tbrokenHeart: 'heartStrikethrough',\n\tbuild: 'signConstruction',\n\tbuilding: 'buildingCompany',\n\tbus: 'transportBus',\n\tcalendar: 'calendarDate',\n\tcalendarOff: 'calendarStrikethrough',\n\tcamera: 'deviceCamera',\n\tcancel: 'signCancel',\n\tcar: 'transportCar',\n\tcertifKo: 'certificationFailed',\n\tcertifOk: 'certificationSuccess',\n\tcertifWaiting: 'certificationWaiting',\n\tchair: 'officeChair',\n\tcharts: 'chartVerticalBar',\n\tchat: 'bubbleSpeech',\n\tchevronBottom: 'arrowChevronBottom',\n\tchevronEast: 'arrowChevronRight',\n\tchevronLeft: 'arrowChevronLeft',\n\tchevronNorth: 'arrowChevronTop',\n\tchevronRight: 'arrowChevronRight',\n\tchevronSouth: 'arrowChevronBottom',\n\tchevronTop: 'arrowChevronTop',\n\tchevronWest: 'arrowChevronLeft',\n\tchronoOn: 'timeTimer',\n\tcleanCar: 'transportCarwashStation',\n\tclock: 'timeClock',\n\tclose: 'mathsMultiplicate',\n\tcloudUpload: 'arrowUpload',\n\tcoffee: 'foodCoffee',\n\tcollapse: 'arrowUnfoldLess',\n\tcompass: 'officeCompass',\n\tcomputer: 'deviceComputer',\n\tcomputerMouse: 'deviceMouse',\n\tconfirm: 'signConfirm',\n\tcontract: 'fileContract',\n\tcopy: 'fileCopy',\n\tcreditDebit: 'arrowOppositeVertical',\n\tcross: 'mathsMultiplicate',\n\tcrossBold: 'mathsMultiplicate',\n\tcrown: 'capCrown',\n\tcut: 'officeScissors',\n\tdashboard: 'chartPie',\n\tdialog: 'bubbleSpeech',\n\tdiner: 'foodClocheDish',\n\tdiscount: 'signDiscount',\n\tdistribute: 'arrowCorner',\n\tdivide: 'mathsDivide',\n\tdollar: 'moneyCurrencyDollar',\n\tdonut: 'chartDonut',\n\tdonutChart: 'chartDonut',\n\tdossierRh: 'peopleId',\n\tdownload: 'arrowDownload',\n\tdrag: 'dotsDrag',\n\tdrink: 'foodCocktail',\n\teastArrow: 'arrowChevronRight',\n\teastThinArrow: 'arrowChevronRight',\n\tedit: 'officePen',\n\teditFrame: 'officePenWriting',\n\teditMini: 'officePen',\n\teditWrite: 'officePenWriting',\n\tellipsis: 'menuDots',\n\terror: 'signError',\n\testablishment: 'buildingCompany',\n\teuro: 'moneyCurrencyEuro',\n\tevolution: 'trendingGrowth',\n\tevolutionDown: 'trendingLoss',\n\texpand: 'arrowUnfoldMore',\n\tface: 'peoplePerson',\n\tfamilyTree: 'chartFlow',\n\tfile: 'fileDocument',\n\tfiles: 'fileDocument',\n\tfilter: 'filtersFunnel',\n\tfilterAbstract: 'filtersDescending',\n\tfloor: 'layers',\n\tfolder: 'fileFolder',\n\tforbidden: 'signBan',\n\tformatBold: 'formatTextBold',\n\tformatClear: 'formatTextClear',\n\tformatItalic: 'formatTextItalic',\n\tformatJustify: 'formatText',\n\tformatListNb: 'formatNumberedList',\n\tformatRedo: 'formatCornerUpRight',\n\tformatSize: 'formatTextSize',\n\tformatStrikethrough: 'formatTextStrikethrough',\n\tformatUnderlined: 'formatTextUnderline',\n\tformatUndo: 'formatCornerUpLeft',\n\tforward: 'arrowForward',\n\tfullscreen: 'cornersFullscreenOpen',\n\tfullscreenExit: 'cornersFullscreenExit',\n\tfunnel: 'filtersFunnel',\n\tgallery: 'pictureGallery',\n\tgasoline: 'transportGazStation',\n\tglobe: 'mapGlobe',\n\tgraduate: 'capGraduate',\n\tgroup: 'peopleGroup',\n\thamburgerMenu: 'menuBurger',\n\thanger: 'hotelHanger',\n\thelp: 'signHelp',\n\thelpOutline: 'signHelp',\n\thigh: 'priorityHigh',\n\thigher: 'priorityHigher',\n\thighest: 'priorityHighest',\n\thistory: 'timePast',\n\thome: 'buildingHouse',\n\thomeFill: 'buildingHouseFilled',\n\thomeStarred: 'buildingHouseStarred',\n\thorizontalBarChart: 'chartHorizontalBar',\n\thotel: 'hotelBed',\n\thouse: 'buildingHouse',\n\thouseFilled: 'buildingHouseFilled',\n\thouseStarred: 'buildingHouseStarred',\n\tidentityCard: 'peopleId',\n\timage: 'pictureImage',\n\timportCb: 'moneyCardImport',\n\timportDirty: 'fileImport',\n\timportPristine: 'fileImport',\n\tinfo: 'signInfo',\n\tiron: 'hotelIron',\n\tkey: 'lockKey',\n\tlaptop: 'deviceLaptop',\n\tlevel: 'chartLevels',\n\tlightBulb: 'bulb',\n\tlist: 'formatBulletedList',\n\tlistTodo: 'listChecklist',\n\tlocation: 'mapLocation',\n\tlock: 'lockClose',\n\tlogin: 'arrowLogin',\n\tlogout: 'arrowLogout',\n\tlow: 'priorityLow',\n\tlower: 'priorityLower',\n\tlowest: 'priorityLowest',\n\tlucca: 'jumpingCc',\n\tluggage: 'hotelLuggage',\n\tlunch: 'foodBurger',\n\tlunchAlternative: 'foodBobun',\n\tmail: 'mailEnvelope',\n\tmailbox: 'mailMailbox',\n\tmeal: 'foodCutlery',\n\tmedium: 'priorityMedium',\n\tmenu: 'menuBurger',\n\tmenuEllipsis: 'menuDots',\n\tmessenger: 'bubbleConversation',\n\tmileage: 'transportSpeedometer',\n\tmilestone: 'journey',\n\tminimize: 'mathsMinus',\n\tminus: 'mathsMinus',\n\tmoney: 'moneyCoins',\n\tmoneybag: 'moneyBag',\n\tmosaic: 'app',\n\tnineTiles: 'app',\n\tnoMoney: 'moneyBagStrikethrough',\n\tnorthArrow: 'arrowChevronTop',\n\tnorthThinArrow: 'arrowChevronTop',\n\tnotification: 'bell',\n\torgTree: 'chartFlow',\n\toutside: 'arrowExternal',\n\toverplanned: 'timeTimerStrikethrough',\n\tpalette: 'picturePalette',\n\tparking: 'signParking',\n\tpartial: 'mathsMinus',\n\tpaste: 'clipboard',\n\tpause: 'playerPauseCircle',\n\tpayPeriod: 'calendarPlanning',\n\tpayment: 'moneyCoins',\n\tpiggyBank: 'moneyPiggyBank',\n\tpin: 'mapPin',\n\tplane: 'transportPlane',\n\tplanning: 'calendarDate',\n\tplanningEdit: 'calendarEdit',\n\tplanningManage: 'calendarSettings',\n\tplay: 'playerPlayCircle',\n\tplayFull: 'playerPlay',\n\tplus: 'mathsPlus',\n\tplusBold: 'mathsPlus',\n\tpostage: 'mailMailbox',\n\tpostpone: 'timeFuture',\n\tpresent: 'gift',\n\tpressing: 'hotelIron',\n\tpricetag: 'priceTag',\n\tprint: 'devicePrinter',\n\tpuzzle: 'jigsawPuzzle',\n\trefresh: 'arrowReset',\n\treorder: 'filtersSort',\n\treply: 'arrowReply',\n\trestaurant: 'foodChefHat',\n\trocket: 'transportRocket',\n\trotate: 'rotationLeft',\n\trotateRight: 'rotationRight',\n\tsave: 'floppyDiskSave',\n\tschool: 'capGraduate',\n\tsearch: 'searchMagnifyingGlass',\n\tsend: 'mailPaperPlane',\n\tsend2user: 'peopleSwitch',\n\tsettings: 'settingsGear',\n\tsign: 'fileSign',\n\tsliders: 'settingsEqualizer',\n\tsnack: 'foodSandwich',\n\tsort: 'filtersSort',\n\tsouthArrow: 'arrowChevronBottom',\n\tsouthThinArrow: 'arrowChevronBottom',\n\tspeedometer: 'transportSpeedometer',\n\tstamp: 'mailMailbox',\n\tstop: 'playerStopCircle',\n\tstore: 'buildingStore',\n\tsubway: 'transportSubway',\n\tsuccess: 'signSuccess',\n\tsupplies: 'officeSupplies',\n\tswap: 'arrowOppositeLeftRight',\n\tsync: 'arrowSync',\n\tsyncDisabled: 'arrowSyncStrikethrough',\n\ttable: 'dataTable',\n\ttalk: 'bubbleSpeech',\n\ttaxi: 'transportTaxi',\n\tteacher: 'peopleTeacher',\n\ttelephone: 'officePhone',\n\ttest: 'laboratoryTestFlask',\n\tthinCross: 'mathsMultiplicate',\n\ttick: 'signConfirm',\n\ttickBold: 'signConfirm',\n\ttickThin: 'signConfirm',\n\ttiles: 'app',\n\ttimer: 'timeHourglass',\n\ttimesheet: 'timeTimesheet',\n\ttoll: 'transportToll',\n\ttollDollar: 'transportToll',\n\ttollEuro: 'transportToll',\n\ttools: 'settingsTools',\n\ttrain: 'transportTrain',\n\ttrash: 'trashDelete',\n\ttruck: 'transportTruck',\n\tunarchive: 'boxUnarchive',\n\tunlink: 'formatUnlink',\n\tunlock: 'lockOpen',\n\tunstared: 'star',\n\tunwatch: 'eyeStrikethrough',\n\tupdate: 'arrowReset',\n\tupload: 'arrowUpload',\n\tuser: 'peoplePerson',\n\tuserAdd: 'peopleAdd',\n\tuserFile: 'peopleId',\n\tuserGroup: 'peopleGroup',\n\tuserRemove: 'peopleRemove',\n\tuserRoles: 'peopleLocked',\n\tuserSendTo: 'peopleSwitch',\n\twallet: 'moneyWallet',\n\twarning: 'signWarning',\n\twatch: 'eye',\n\tweatherStorm: 'weatherStormy',\n\tweatherSun: 'weatherSunny',\n\twestArrow: 'arrowChevronLeft',\n\twestThinArrow: 'arrowChevronLeft',\n};\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { LuSafeExternalSvgPipe } from '@lucca/prisme/safe-content';\n\nconst ICON_SPRITE_URL = 'https://cdn.lucca.fr/transverse/prisme/icons/svg/sprite.svg';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'pr-icon-sprite',\n\ttemplateUrl: './icon-sprite.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [LuSafeExternalSvgPipe],\n\thost: {\n\t\tclass: 'pr-u-mask',\n\t\t'aria-hidden': 'true',\n\t},\n})\nexport class IconSpriteComponent {\n\tprotected readonly spriteUrl = ICON_SPRITE_URL;\n}\n","<div [innerHTML]=\"spriteUrl | luSafeExternalSvg\"></div>\n","import { isPlatformBrowser } from '@angular/common';\nimport { ApplicationRef, createComponent, EnvironmentInjector, inject, Injectable, PLATFORM_ID } from '@angular/core';\nimport { IconSpriteComponent } from './icon-sprite.component';\n\n@Injectable({ providedIn: 'root' })\nexport class IconSpriteService {\n\t#applicationRef = inject(ApplicationRef);\n\t#environmentInjector = inject(EnvironmentInjector);\n\t#platformId = inject(PLATFORM_ID);\n\t#requested = false;\n\n\tensureSpriteLoaded(): void {\n\t\tif (this.#requested || !isPlatformBrowser(this.#platformId)) {\n\t\t\treturn;\n\t\t}\n\t\tthis.#requested = true;\n\n\t\tconst componentRef = createComponent(IconSpriteComponent, { environmentInjector: this.#environmentInjector });\n\t\tdocument.body.append(componentRef.location.nativeElement as HTMLElement);\n\t\tthis.#applicationRef.attachView(componentRef.hostView);\n\t}\n}\n","import { NgClass } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input, ViewEncapsulation } from '@angular/core';\nimport { ICON_ALIASES } from './icon-aliases';\nimport { IconSpriteService } from './icon-sprite.service';\nimport { IconColor, IconSize } from './icon.type';\nimport type { LuccaIcon } from './icons';\n\n@Component({\n\tselector: 'lu-icon, pr-icon',\n\timports: [NgClass],\n\ttemplateUrl: './icon.component.html',\n\tstyleUrl: './icon.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class IconComponent {\n\t#iconSpriteService = inject(IconSpriteService);\n\n\t/**\n\t * Defines icon to display\n\t */\n\treadonly icon = input.required<LuccaIcon>();\n\n\t/**\n\t * Information conveyed by the screen reader\n\t */\n\treadonly alt = input<string>();\n\n\t/**\n\t * Which size should the icon be? XXS to XXL\n\t */\n\treadonly size = input<IconSize>();\n\n\t/**\n\t * Changes the color of the icon (inherits from context by default)\n\t */\n\treadonly color = input<IconColor>();\n\n\t/**\n\t * Display icon in AI mode\n\t */\n\treadonly AI = input<boolean, boolean | `${boolean}` | ''>(false, { transform: booleanAttribute });\n\n\treadonly iconClasses = computed(() => {\n\t\tconst size = this.size();\n\t\tconst color = this.color();\n\t\treturn {\n\t\t\t[`mod-${size}`]: !!size,\n\t\t\t[`icon-color-${color}`]: !!color && color !== 'inherit',\n\t\t};\n\t});\n\n\treadonly spriteIconId = computed(() => {\n\t\tconst icon = this.icon();\n\t\tconst canonicalIcon = ICON_ALIASES[icon] ?? icon;\n\t\treturn canonicalIcon.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\t});\n\n\tconstructor() {\n\t\tthis.#iconSpriteService.ensureSpriteLoaded();\n\t}\n}\n","<svg\n\tclass=\"lucca-icon\"\n\t[class.mod-AI]=\"AI()\"\n\t[ngClass]=\"iconClasses()\"\n\t[attr.aria-hidden]=\"this.alt() ? null : 'true'\"\n\t[attr.role]=\"this.alt() ? 'img' : null\"\n\t[attr.aria-label]=\"alt()\"\n>\n\t<use [attr.href]=\"'#' + spriteIconId()\" />\n</svg>\n","import { EnvironmentProviders, inject, makeEnvironmentProviders, provideAppInitializer } from '@angular/core';\nimport { IconSpriteService } from './icon-sprite.service';\n\n/**\n * Triggers the icon sprite fetch at application startup instead of waiting for the first `<lu-icon>`/`<pr-icon>` to mount.\n * Optional: without it, the sprite still loads lazily on first icon usage.\n */\nexport function provideLuIconSpritePreload(): EnvironmentProviders {\n\treturn makeEnvironmentProviders([\n\t\tprovideAppInitializer(() => {\n\t\t\tinject(IconSpriteService).ensureSpriteLoaded();\n\t\t}),\n\t]);\n}\n","// *******************************************\n// *** THIS FILE IS GENERATED, DO NOT EDIT ***\n// *** The generator is packages/prisme/icon/update-icons.js ***\n// *******************************************\n\nexport type LuccaIcon =\n\t| 'app'\n\t| 'apps'\n\t| 'mosaic'\n\t| 'nineTiles'\n\t| 'tiles'\n\t| 'appWidget'\n\t| 'arrowBackward'\n\t| 'backward'\n\t| 'arrowBottom'\n\t| 'arrowFullSouth'\n\t| 'arrowBottomLeft'\n\t| 'arrowBottomRight'\n\t| 'arrowCenterReduce'\n\t| 'arrowChevronBottom'\n\t| 'arrowSouth'\n\t| 'chevronBottom'\n\t| 'chevronSouth'\n\t| 'southArrow'\n\t| 'southThinArrow'\n\t| 'arrowChevronLeft'\n\t| 'arrowWest'\n\t| 'chevronLeft'\n\t| 'chevronWest'\n\t| 'westArrow'\n\t| 'westThinArrow'\n\t| 'arrowChevronRight'\n\t| 'arrowEast'\n\t| 'chevronEast'\n\t| 'chevronRight'\n\t| 'eastArrow'\n\t| 'eastThinArrow'\n\t| 'arrowChevronTop'\n\t| 'arrowNorth'\n\t| 'chevronNorth'\n\t| 'chevronTop'\n\t| 'northArrow'\n\t| 'northThinArrow'\n\t| 'arrowCorner'\n\t| 'distribute'\n\t| 'arrowCornerExpand'\n\t| 'arrowCurvedDownRight'\n\t| 'arrowDownload'\n\t| 'download'\n\t| 'arrowExternal'\n\t| 'outside'\n\t| 'arrowForward'\n\t| 'arrowDouble'\n\t| 'forward'\n\t| 'arrowLeft'\n\t| 'arrowFullWest'\n\t| 'arrowLineBottom'\n\t| 'arrowLineTop'\n\t| 'arrowLogin'\n\t| 'login'\n\t| 'arrowLogout'\n\t| 'logout'\n\t| 'arrowOppositeLeftRight'\n\t| 'arrowOppositeHorizontal'\n\t| 'swap'\n\t| 'arrowOppositeRightLeft'\n\t| 'arrowOppositeTopBottom'\n\t| 'arrowOppositeVertical'\n\t| 'creditDebit'\n\t| 'arrowRedo'\n\t| 'arrowReply'\n\t| 'reply'\n\t| 'arrowReset'\n\t| 'refresh'\n\t| 'update'\n\t| 'arrowRight'\n\t| 'arrowFullEast'\n\t| 'arrowSync'\n\t| 'sync'\n\t| 'arrowSyncStrikethrough'\n\t| 'syncDisabled'\n\t| 'arrowTop'\n\t| 'arrowFullNorth'\n\t| 'arrowTopLeft'\n\t| 'arrowTopRight'\n\t| 'arrowUndo'\n\t| 'arrowUnfoldLess'\n\t| 'collapse'\n\t| 'arrowUnfoldMore'\n\t| 'expand'\n\t| 'arrowUpload'\n\t| 'cloudUpload'\n\t| 'upload'\n\t| 'bell'\n\t| 'notification'\n\t| 'bellStrikethrough'\n\t| 'book'\n\t| 'bookmark'\n\t| 'bookmarkFilled'\n\t| 'boxArchive'\n\t| 'archive'\n\t| 'boxUnarchive'\n\t| 'unarchive'\n\t| 'branch'\n\t| 'bubbleAnswer'\n\t| 'answer'\n\t| 'bubbleConversation'\n\t| 'messenger'\n\t| 'bubbleSpeech'\n\t| 'chat'\n\t| 'dialog'\n\t| 'talk'\n\t| 'bubbleSpeechStrikethrough'\n\t| 'bubbleStars'\n\t| 'buildingCompany'\n\t| 'building'\n\t| 'establishment'\n\t| 'buildingHouse'\n\t| 'home'\n\t| 'house'\n\t| 'buildingHouseFilled'\n\t| 'homeFill'\n\t| 'houseFilled'\n\t| 'buildingHouseStarred'\n\t| 'homeStarred'\n\t| 'houseStarred'\n\t| 'buildingStore'\n\t| 'store'\n\t| 'bulb'\n\t| 'lightBulb'\n\t| 'calendarChecked'\n\t| 'calendarDate'\n\t| 'calendar'\n\t| 'planning'\n\t| 'calendarEdit'\n\t| 'planningEdit'\n\t| 'calendarPlanning'\n\t| 'payPeriod'\n\t| 'calendarSettings'\n\t| 'planningManage'\n\t| 'calendarStrikethrough'\n\t| 'calendarOff'\n\t| 'capCrown'\n\t| 'crown'\n\t| 'capCrownFilled'\n\t| 'capGraduate'\n\t| 'graduate'\n\t| 'school'\n\t| 'certificationFailed'\n\t| 'certifKo'\n\t| 'certificationSuccess'\n\t| 'certifOk'\n\t| 'certificationWaiting'\n\t| 'certifWaiting'\n\t| 'chartDonut'\n\t| 'donut'\n\t| 'donutChart'\n\t| 'chartFlow'\n\t| 'familyTree'\n\t| 'orgTree'\n\t| 'chartHorizontalBar'\n\t| 'horizontalBarChart'\n\t| 'chartLevels'\n\t| 'level'\n\t| 'chartPie'\n\t| 'dashboard'\n\t| 'chartSpider'\n\t| 'chartTree'\n\t| 'chartVerticalBar'\n\t| 'analytics'\n\t| 'charts'\n\t| 'clipboard'\n\t| 'paste'\n\t| 'completion'\n\t| 'cornersFocus'\n\t| 'cornersFullscreenExit'\n\t| 'fullscreenExit'\n\t| 'cornersFullscreenOpen'\n\t| 'fullscreen'\n\t| 'dataTable'\n\t| 'table'\n\t| 'database'\n\t| 'databaseArrow'\n\t| 'apiSync'\n\t| 'deviceCamera'\n\t| 'camera'\n\t| 'deviceComputer'\n\t| 'computer'\n\t| 'deviceLaptop'\n\t| 'laptop'\n\t| 'deviceMobile'\n\t| 'deviceMouse'\n\t| 'computerMouse'\n\t| 'devicePrinter'\n\t| 'print'\n\t| 'deviceTablet'\n\t| 'deviceVideo'\n\t| 'dotsDrag'\n\t| 'drag'\n\t| 'emojiSmile'\n\t| 'eye'\n\t| 'watch'\n\t| 'eyeStrikethrough'\n\t| 'unwatch'\n\t| 'fileContract'\n\t| 'contract'\n\t| 'fileCopy'\n\t| 'copy'\n\t| 'fileDocument'\n\t| 'file'\n\t| 'files'\n\t| 'fileExport'\n\t| 'fileFolder'\n\t| 'folder'\n\t| 'fileImport'\n\t| 'importDirty'\n\t| 'importPristine'\n\t| 'filePlus'\n\t| 'fileSign'\n\t| 'sign'\n\t| 'filtersDescending'\n\t| 'filterAbstract'\n\t| 'filtersFunnel'\n\t| 'filter'\n\t| 'funnel'\n\t| 'filtersSort'\n\t| 'reorder'\n\t| 'sort'\n\t| 'flag'\n\t| 'floppyDiskSave'\n\t| 'save'\n\t| 'foodBirthdayCake'\n\t| 'birthday'\n\t| 'foodBobun'\n\t| 'lunchAlternative'\n\t| 'foodBurger'\n\t| 'lunch'\n\t| 'foodChefHat'\n\t| 'restaurant'\n\t| 'foodClocheDish'\n\t| 'diner'\n\t| 'foodCocktail'\n\t| 'drink'\n\t| 'foodCoffee'\n\t| 'breaktime'\n\t| 'coffee'\n\t| 'foodCroissant'\n\t| 'breakfast'\n\t| 'foodCutlery'\n\t| 'meal'\n\t| 'foodSandwich'\n\t| 'snack'\n\t| 'formatBulletedList'\n\t| 'list'\n\t| 'formatClipperAttachment'\n\t| 'attach'\n\t| 'formatCornerUpLeft'\n\t| 'formatUndo'\n\t| 'formatCornerUpRight'\n\t| 'formatRedo'\n\t| 'formatLink'\n\t| 'formatNumberedList'\n\t| 'formatListNb'\n\t| 'formatText'\n\t| 'formatJustify'\n\t| 'formatTextBold'\n\t| 'formatBold'\n\t| 'formatTextClear'\n\t| 'formatClear'\n\t| 'formatTextItalic'\n\t| 'formatItalic'\n\t| 'formatTextSize'\n\t| 'formatSize'\n\t| 'formatTextStrikethrough'\n\t| 'formatStrikethrough'\n\t| 'formatTextUnderline'\n\t| 'formatUnderlined'\n\t| 'formatUnlink'\n\t| 'unlink'\n\t| 'gift'\n\t| 'present'\n\t| 'heart'\n\t| 'heartFilled'\n\t| 'heartStrikethrough'\n\t| 'brokenHeart'\n\t| 'hotelBed'\n\t| 'bed'\n\t| 'hotel'\n\t| 'hotelHanger'\n\t| 'hanger'\n\t| 'hotelIron'\n\t| 'iron'\n\t| 'pressing'\n\t| 'hotelLuggage'\n\t| 'luggage'\n\t| 'jigsawPuzzle'\n\t| 'puzzle'\n\t| 'journey'\n\t| 'milestone'\n\t| 'jumpingCc'\n\t| 'lucca'\n\t| 'laboratoryTestFlask'\n\t| 'test'\n\t| 'layers'\n\t| 'floor'\n\t| 'listChecked'\n\t| 'listChecklist'\n\t| 'listTodo'\n\t| 'listMultipleChoices'\n\t| 'lockClose'\n\t| 'lock'\n\t| 'lockKey'\n\t| 'key'\n\t| 'lockOpen'\n\t| 'unlock'\n\t| 'mailEnvelope'\n\t| 'mail'\n\t| 'mailMailbox'\n\t| 'mailbox'\n\t| 'postage'\n\t| 'stamp'\n\t| 'mailPaperPlane'\n\t| 'send'\n\t| 'mapGlobe'\n\t| 'globe'\n\t| 'mapLocation'\n\t| 'location'\n\t| 'mapPin'\n\t| 'pin'\n\t| 'mapPlan'\n\t| 'mapTripStep'\n\t| 'mathsDivide'\n\t| 'divide'\n\t| 'mathsEquals'\n\t| 'mathsMinus'\n\t| 'minimize'\n\t| 'minus'\n\t| 'partial'\n\t| 'mathsMultiplicate'\n\t| 'close'\n\t| 'cross'\n\t| 'crossBold'\n\t| 'thinCross'\n\t| 'mathsNotEqual'\n\t| 'mathsPlus'\n\t| 'plus'\n\t| 'plusBold'\n\t| 'medicalDoctor'\n\t| 'menuBurger'\n\t| 'hamburgerMenu'\n\t| 'menu'\n\t| 'menuDots'\n\t| 'ellipsis'\n\t| 'menuEllipsis'\n\t| 'moneyBag'\n\t| 'moneybag'\n\t| 'moneyBagStrikethrough'\n\t| 'noMoney'\n\t| 'moneyBankImport'\n\t| 'moneyBanknoteStrikethrough'\n\t| 'moneyBill'\n\t| 'bill'\n\t| 'moneyBuildingBank'\n\t| 'bank'\n\t| 'moneyCardCheck'\n\t| 'moneyCardImport'\n\t| 'importCb'\n\t| 'moneyCheck'\n\t| 'moneyCoins'\n\t| 'money'\n\t| 'payment'\n\t| 'moneyCurrencyDollar'\n\t| 'dollar'\n\t| 'moneyCurrencyEuro'\n\t| 'euro'\n\t| 'moneyIban'\n\t| 'moneyPaymentCard'\n\t| 'bankingCard'\n\t| 'moneyPaymentCards'\n\t| 'moneyPiggyBank'\n\t| 'piggyBank'\n\t| 'moneyWallet'\n\t| 'wallet'\n\t| 'officeBriefcase'\n\t| 'officeChair'\n\t| 'chair'\n\t| 'officeCompass'\n\t| 'compass'\n\t| 'officeElectricalPlug'\n\t| 'officeFirstAid'\n\t| 'officeMicrophone'\n\t| 'officePen'\n\t| 'edit'\n\t| 'editMini'\n\t| 'officePenStar'\n\t| 'officePenWriting'\n\t| 'editFrame'\n\t| 'editWrite'\n\t| 'officePhone'\n\t| 'telephone'\n\t| 'officeScissors'\n\t| 'cut'\n\t| 'officeSupplies'\n\t| 'supplies'\n\t| 'peopleAccessibility'\n\t| 'peopleAdd'\n\t| 'adduser'\n\t| 'userAdd'\n\t| 'peopleArrowUp'\n\t| 'peopleEdit'\n\t| 'peopleFolder'\n\t| 'peopleGroup'\n\t| 'group'\n\t| 'userGroup'\n\t| 'peopleHouse'\n\t| 'peopleId'\n\t| 'dossierRh'\n\t| 'identityCard'\n\t| 'userFile'\n\t| 'peopleLocked'\n\t| 'userRoles'\n\t| 'peoplePerson'\n\t| 'face'\n\t| 'user'\n\t| 'peopleRemove'\n\t| 'userRemove'\n\t| 'peopleSwitch'\n\t| 'send2user'\n\t| 'userSendTo'\n\t| 'peopleTeacher'\n\t| 'teacher'\n\t| 'pictureGallery'\n\t| 'gallery'\n\t| 'pictureImage'\n\t| 'image'\n\t| 'picturePalette'\n\t| 'palette'\n\t| 'playerPauseCircle'\n\t| 'pause'\n\t| 'playerPlay'\n\t| 'playFull'\n\t| 'playerPlayCircle'\n\t| 'play'\n\t| 'playerRecording'\n\t| 'playerStopCircle'\n\t| 'stop'\n\t| 'priceTag'\n\t| 'pricetag'\n\t| 'priorityHigh'\n\t| 'high'\n\t| 'priorityHigher'\n\t| 'higher'\n\t| 'priorityHighest'\n\t| 'highest'\n\t| 'priorityLow'\n\t| 'low'\n\t| 'priorityLower'\n\t| 'lower'\n\t| 'priorityLowest'\n\t| 'lowest'\n\t| 'priorityMedium'\n\t| 'medium'\n\t| 'rotationLeft'\n\t| 'rotate'\n\t| 'rotationRight'\n\t| 'rotateRight'\n\t| 'searchMagnifyingGlass'\n\t| 'search'\n\t| 'searchZoomIn'\n\t| 'searchZoomOut'\n\t| 'settingsEqualizer'\n\t| 'sliders'\n\t| 'settingsGear'\n\t| 'settings'\n\t| 'settingsTools'\n\t| 'tools'\n\t| 'share'\n\t| 'signAt'\n\t| 'signBan'\n\t| 'forbidden'\n\t| 'signCancel'\n\t| 'cancel'\n\t| 'signCheckbox'\n\t| 'signClose'\n\t| 'signConfirm'\n\t| 'confirm'\n\t| 'tick'\n\t| 'tickBold'\n\t| 'tickThin'\n\t| 'signConstruction'\n\t| 'build'\n\t| 'signDecimal'\n\t| 'signDiscount'\n\t| 'discount'\n\t| 'signError'\n\t| 'error'\n\t| 'signHelp'\n\t| 'help'\n\t| 'helpOutline'\n\t| 'signInfo'\n\t| 'info'\n\t| 'signParking'\n\t| 'parking'\n\t| 'signRating'\n\t| 'signShieldCancel'\n\t| 'signShieldError'\n\t| 'signShieldSuccess'\n\t| 'signShieldWarning'\n\t| 'signSimpleChoice'\n\t| 'signSuccess'\n\t| 'success'\n\t| 'signTag'\n\t| 'signTranslation'\n\t| 'signWarning'\n\t| 'warning'\n\t| 'signWebhook'\n\t| 'soundMegaphone'\n\t| 'star'\n\t| 'unstared'\n\t| 'starFilled'\n\t| 'target'\n\t| 'thumbDown'\n\t| 'thumbDownFilled'\n\t| 'thumbUp'\n\t| 'thumbUpFilled'\n\t| 'thumbnail'\n\t| 'timeAlarm'\n\t| 'alarm'\n\t| 'timeClock'\n\t| 'clock'\n\t| 'timeFuture'\n\t| 'postpone'\n\t| 'timeHourglass'\n\t| 'timer'\n\t| 'timePast'\n\t| 'history'\n\t| 'timeTimer'\n\t| 'chronoOn'\n\t| 'timeTimerStrikethrough'\n\t| 'overplanned'\n\t| 'timeTimesheet'\n\t| 'timesheet'\n\t| 'transportBus'\n\t| 'bus'\n\t| 'transportCar'\n\t| 'car'\n\t| 'transportCarElectric'\n\t| 'transportCarwashStation'\n\t| 'cleanCar'\n\t| 'transportGazStation'\n\t| 'gasoline'\n\t| 'transportMotocycle'\n\t| 'transportMotocycleElectric'\n\t| 'transportPlane'\n\t| 'plane'\n\t| 'transportRocket'\n\t| 'rocket'\n\t| 'transportScooter'\n\t| 'transportScooterElectric'\n\t| 'transportSpeedometer'\n\t| 'mileage'\n\t| 'speedometer'\n\t| 'transportSubway'\n\t| 'subway'\n\t| 'transportTaxi'\n\t| 'taxi'\n\t| 'transportToll'\n\t| 'toll'\n\t| 'tollDollar'\n\t| 'tollEuro'\n\t| 'transportTrain'\n\t| 'train'\n\t| 'transportTruck'\n\t| 'truck'\n\t| 'trashDelete'\n\t| 'trash'\n\t| 'trendingGrowth'\n\t| 'evolution'\n\t| 'trendingLoss'\n\t| 'evolutionDown'\n\t| 'weatherCloudy'\n\t| 'weatherLightning'\n\t| 'weatherStars'\n\t| 'weatherStormy'\n\t| 'weatherStorm'\n\t| 'weatherSunny'\n\t| 'weatherSun'\n\t| 'weight'\n\t| 'window'\n\t| 'windowAside'\n\t| 'windowAsideLarge'\n\t| 'windowCornerBottom'\n\t| 'windowCornerTop'\n\t| (string & {});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;;AAEG;AAEI,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK;AAG1D,MAAM,UAAU,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS;;ACL/F,MAAM,YAAY,GAA0C;AAClE,IAAA,OAAO,EAAE,WAAW;AACpB,IAAA,KAAK,EAAE,WAAW;AAClB,IAAA,SAAS,EAAE,kBAAkB;AAC7B,IAAA,MAAM,EAAE,cAAc;AACtB,IAAA,OAAO,EAAE,eAAe;AACxB,IAAA,IAAI,EAAE,KAAK;AACX,IAAA,OAAO,EAAE,YAAY;AACrB,IAAA,WAAW,EAAE,cAAc;AAC3B,IAAA,SAAS,EAAE,mBAAmB;AAC9B,IAAA,aAAa,EAAE,YAAY;AAC3B,IAAA,c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A,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECf1B,sRAUA,EAAA,MAAA,EAAA,CAAA,ypDAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDDW,OAAO,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAML,aAAa,EAAA,UAAA,EAAA,CAAA;kBARzB,SAAS;+BACC,kBAAkB,EAAA,OAAA,EACnB,CAAC,OAAO,CAAC,EAAA,eAAA,EAGD,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,sRAAA,EAAA,MAAA,EAAA,CAAA,ypDAAA,CAAA,EAAA;;;AEVtC;;;AAGG;SACa,0BAA0B,GAAA;AACzC,IAAA,OAAO,wBAAwB,CAAC;QAC/B,qBAAqB,CAAC,MAAK;AAC1B,YAAA,MAAM,CAAC,iBAAiB,CAAC,CAAC,kBAAkB,EAAE;AAC/C,QAAA,CAAC,CAAC;AACF,KAAA,CAAC;AACH;;ACbA;AACA;AACA;AACA;;ACHA;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"lucca-prisme-icon.mjs","sources":["../../../packages/prisme/icon/icon.type.ts","../../../packages/prisme/icon/icon.component.ts","../../../packages/prisme/icon/icon.component.html","../../../packages/prisme/icon/icons.ts","../../../packages/prisme/icon/lucca-prisme-icon.ts"],"sourcesContent":["/**\n * Available IconComponent types\n */\n\nexport const ICON_SIZE = ['XXS', 'XS', 'S', 'M', 'L', 'XL', 'XXL'] as const;\nexport type IconSize = (typeof ICON_SIZE)[number];\n\nexport const ICON_COLOR = ['product', 'error', 'warning', 'success', 'light', 'placeholder', 'inherit'] as const;\nexport type IconColor = (typeof ICON_COLOR)[number];\n","import { NgClass } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation } from '@angular/core';\nimport { IconColor, IconSize } from './icon.type';\nimport type { LuccaIcon } from './icons';\n\n@Component({\n\tselector: 'lu-icon, pr-icon',\n\timports: [NgClass],\n\ttemplateUrl: './icon.component.html',\n\tstyleUrl: './icon.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class IconComponent {\n\t/**\n\t * Defines icon to display\n\t */\n\treadonly icon = input.required<LuccaIcon>();\n\n\t/**\n\t * Information conveyed by the screen reader\n\t */\n\treadonly alt = input<string>();\n\n\t/**\n\t * Which size should the icon be? XXS to XXL\n\t */\n\treadonly size = input<IconSize>();\n\n\t/**\n\t * Changes the color of the icon (inherit by default)\n\t */\n\treadonly color = input<IconColor>('inherit');\n\n\t/**\n\t * Display icon in AI mode\n\t */\n\treadonly AI = input<boolean, boolean | `${boolean}` | ''>(false, { transform: booleanAttribute });\n\n\treadonly iconClasses = computed(() => {\n\t\tconst size = this.size();\n\t\treturn {\n\t\t\t[`mod-${size}`]: !!size,\n\t\t};\n\t});\n}\n","<span\n\taria-hidden=\"true\"\n\t[class.mod-AI]=\"AI()\"\n\tclass=\"lucca-icon icon-{{ icon() }} icon-color-{{ color() }}\"\n\t[ngClass]=\"iconClasses()\"\n></span>\n@if (alt()) {\n\t<span class=\"pr-u-mask\">{{ alt() }}</span>\n}\n","// *******************************************\n// *** THIS FILE IS GENERATED, DO NOT EDIT ***\n// *** The generator is update-icons.js\t\t ***\n// *******************************************\n\nexport type LuccaIcon =\n\t| 'app'\n\t| 'apps'\n\t| 'nineTiles'\n\t| 'mosaic'\n\t| 'tiles'\n\t| 'appWidget'\n\t| 'arrowBackspace'\n\t| 'arrowBackward'\n\t| 'backward'\n\t| 'arrowBottom'\n\t| 'arrowFullSouth'\n\t| 'arrowBottomLeft'\n\t| 'arrowBottomRight'\n\t| 'arrowCenterReduce'\n\t| 'arrowChevronBottom'\n\t| 'arrowSouth'\n\t| 'southArrow'\n\t| 'southThinArrow'\n\t| 'chevronSouth'\n\t| 'chevronBottom'\n\t| 'arrowChevronLeft'\n\t| 'arrowWest'\n\t| 'westArrow'\n\t| 'westThinArrow'\n\t| 'chevronWest'\n\t| 'chevronLeft'\n\t| 'arrowChevronRight'\n\t| 'arrowEast'\n\t| 'eastArrow'\n\t| 'eastThinArrow'\n\t| 'chevronEast'\n\t| 'chevronRight'\n\t| 'arrowChevronTop'\n\t| 'arrowNorth'\n\t| 'northArrow'\n\t| 'northThinArrow'\n\t| 'chevronNorth'\n\t| 'chevronTop'\n\t| 'arrowCorner'\n\t| 'distribute'\n\t| 'arrowCornerExpand'\n\t| 'arrowCurvedDownRight'\n\t| 'arrowDownload'\n\t| 'download'\n\t| 'arrowExternal'\n\t| 'outside'\n\t| 'arrowForward'\n\t| 'arrowDouble'\n\t| 'forward'\n\t| 'arrowLeft'\n\t| 'arrowFullWest'\n\t| 'arrowLineBottom'\n\t| 'arrowLineTop'\n\t| 'arrowLogin'\n\t| 'login'\n\t| 'arrowLogout'\n\t| 'logout'\n\t| 'arrowOppositeLeftRight'\n\t| 'arrowOppositeHorizontal'\n\t| 'swap'\n\t| 'arrowOppositeRightLeft'\n\t| 'arrowOppositeTopBottom'\n\t| 'arrowOppositeVertical'\n\t| 'creditDebit'\n\t| 'arrowRedo'\n\t| 'arrowReply'\n\t| 'reply'\n\t| 'arrowReset'\n\t| 'refresh'\n\t| 'update'\n\t| 'arrowRight'\n\t| 'arrowFullEast'\n\t| 'arrowSync'\n\t| 'sync'\n\t| 'arrowSyncStrikethrough'\n\t| 'syncDisabled'\n\t| 'arrowTop'\n\t| 'arrowFullNorth'\n\t| 'arrowTopLeft'\n\t| 'arrowTopRight'\n\t| 'arrowUndo'\n\t| 'arrowUnfoldLess'\n\t| 'collapse'\n\t| 'arrowUnfoldMore'\n\t| 'expand'\n\t| 'arrowUpload'\n\t| 'upload'\n\t| 'cloudUpload'\n\t| 'bell'\n\t| 'notification'\n\t| 'bellStrikethrough'\n\t| 'book'\n\t| 'bookmark'\n\t| 'bookmarkFilled'\n\t| 'boxArchive'\n\t| 'archive'\n\t| 'boxUnarchive'\n\t| 'unarchive'\n\t| 'branch'\n\t| 'bubbleAnswer'\n\t| 'answer'\n\t| 'bubbleConversation'\n\t| 'messenger'\n\t| 'bubbleSpeech'\n\t| 'chat'\n\t| 'talk'\n\t| 'dialog'\n\t| 'bubbleSpeechStrikethrough'\n\t| 'bubbleStars'\n\t| 'buildingCompany'\n\t| 'building'\n\t| 'establishment'\n\t| 'buildingHouse'\n\t| 'house'\n\t| 'home'\n\t| 'buildingHouseFilled'\n\t| 'houseFilled'\n\t| 'homeFill'\n\t| 'buildingHouseStarred'\n\t| 'houseStarred'\n\t| 'homeStarred'\n\t| 'buildingStore'\n\t| 'store'\n\t| 'bulb'\n\t| 'lightBulb'\n\t| 'calendarChecked'\n\t| 'calendarDate'\n\t| 'calendar'\n\t| 'planning'\n\t| 'calendarEdit'\n\t| 'planningEdit'\n\t| 'calendarPlanning'\n\t| 'payPeriod'\n\t| 'calendarSettings'\n\t| 'planningManage'\n\t| 'calendarStrikethrough'\n\t| 'calendarOff'\n\t| 'capCrown'\n\t| 'crown'\n\t| 'capCrownFilled'\n\t| 'capGraduate'\n\t| 'graduate'\n\t| 'school'\n\t| 'certificationFailed'\n\t| 'certifKo'\n\t| 'certificationSuccess'\n\t| 'certifOk'\n\t| 'certificationWaiting'\n\t| 'certifWaiting'\n\t| 'chartDonut'\n\t| 'donut'\n\t| 'donutChart'\n\t| 'chartFlow'\n\t| 'familyTree'\n\t| 'orgTree'\n\t| 'chartHorizontalBar'\n\t| 'horizontalBarChart'\n\t| 'chartLevels'\n\t| 'level'\n\t| 'chartPie'\n\t| 'dashboard'\n\t| 'chartSpider'\n\t| 'chartTree'\n\t| 'chartVerticalBar'\n\t| 'analytics'\n\t| 'charts'\n\t| 'circleHalf'\n\t| 'clipboard'\n\t| 'paste'\n\t| 'completion'\n\t| 'cornersFocus'\n\t| 'cornersFullscreenExit'\n\t| 'fullscreenExit'\n\t| 'cornersFullscreenOpen'\n\t| 'fullscreen'\n\t| 'dataTable'\n\t| 'table'\n\t| 'database'\n\t| 'databaseArrow'\n\t| 'apiSync'\n\t| 'deviceCamera'\n\t| 'camera'\n\t| 'deviceComputer'\n\t| 'computer'\n\t| 'deviceLaptop'\n\t| 'laptop'\n\t| 'deviceMobile'\n\t| 'deviceMouse'\n\t| 'computerMouse'\n\t| 'devicePrinter'\n\t| 'print'\n\t| 'deviceTablet'\n\t| 'deviceVideo'\n\t| 'dotsDrag'\n\t| 'drag'\n\t| 'emojiSmile'\n\t| 'eye'\n\t| 'watch'\n\t| 'eyeStrikethrough'\n\t| 'unwatch'\n\t| 'fileContract'\n\t| 'contract'\n\t| 'fileCopy'\n\t| 'copy'\n\t| 'fileDocument'\n\t| 'file'\n\t| 'files'\n\t| 'fileExport'\n\t| 'fileFolder'\n\t| 'folder'\n\t| 'fileImport'\n\t| 'importDirty'\n\t| 'importPristine'\n\t| 'filePlus'\n\t| 'fileSign'\n\t| 'sign'\n\t| 'filtersDescending'\n\t| 'filterAbstract'\n\t| 'filtersFunnel'\n\t| 'funnel'\n\t| 'filter'\n\t| 'filtersSort'\n\t| 'sort'\n\t| 'reorder'\n\t| 'flag'\n\t| 'floppyDiskSave'\n\t| 'save'\n\t| 'foodBirthdayCake'\n\t| 'birthday'\n\t| 'foodBobun'\n\t| 'lunchAlternative'\n\t| 'foodBurger'\n\t| 'lunch'\n\t| 'foodChefHat'\n\t| 'restaurant'\n\t| 'foodClocheDish'\n\t| 'diner'\n\t| 'foodCocktail'\n\t| 'drink'\n\t| 'foodCoffee'\n\t| 'coffee'\n\t| 'breaktime'\n\t| 'foodCroissant'\n\t| 'breakfast'\n\t| 'foodCutlery'\n\t| 'meal'\n\t| 'foodSandwich'\n\t| 'snack'\n\t| 'formatBulletedList'\n\t| 'list'\n\t| 'formatClipperAttachment'\n\t| 'attach'\n\t| 'formatCornerUpLeft'\n\t| 'formatUndo'\n\t| 'formatCornerUpRight'\n\t| 'formatRedo'\n\t| 'formatLink'\n\t| 'formatNumberedList'\n\t| 'formatListNb'\n\t| 'formatText'\n\t| 'formatJustify'\n\t| 'formatTextBold'\n\t| 'formatBold'\n\t| 'formatTextClear'\n\t| 'formatClear'\n\t| 'formatTextItalic'\n\t| 'formatItalic'\n\t| 'formatTextSize'\n\t| 'formatSize'\n\t| 'formatTextStrikethrough'\n\t| 'formatStrikethrough'\n\t| 'formatTextUnderline'\n\t| 'formatUnderlined'\n\t| 'formatUnlink'\n\t| 'unlink'\n\t| 'gift'\n\t| 'present'\n\t| 'heart'\n\t| 'heartFilled'\n\t| 'heartStrikethrough'\n\t| 'brokenHeart'\n\t| 'hotelBed'\n\t| 'bed'\n\t| 'hotel'\n\t| 'hotelHanger'\n\t| 'hanger'\n\t| 'hotelIron'\n\t| 'iron'\n\t| 'pressing'\n\t| 'hotelLuggage'\n\t| 'luggage'\n\t| 'jigsawPuzzle'\n\t| 'puzzle'\n\t| 'journey'\n\t| 'milestone'\n\t| 'jumpingCc'\n\t| 'lucca'\n\t| 'laboratoryTestFlask'\n\t| 'test'\n\t| 'layers'\n\t| 'floor'\n\t| 'listChecked'\n\t| 'listChecklist'\n\t| 'listTodo'\n\t| 'listMultipleChoices'\n\t| 'lockClose'\n\t| 'lock'\n\t| 'lockKey'\n\t| 'key'\n\t| 'lockOpen'\n\t| 'unlock'\n\t| 'mailEnvelope'\n\t| 'mail'\n\t| 'mailMailbox'\n\t| 'mailbox'\n\t| 'stamp'\n\t| 'postage'\n\t| 'mailPaperPlane'\n\t| 'send'\n\t| 'mapGlobe'\n\t| 'globe'\n\t| 'mapLocation'\n\t| 'location'\n\t| 'mapPin'\n\t| 'pin'\n\t| 'mapPlan'\n\t| 'mapTripStep'\n\t| 'mathsDivide'\n\t| 'divide'\n\t| 'mathsEquals'\n\t| 'mathsMinus'\n\t| 'minus'\n\t| 'partial'\n\t| 'minimize'\n\t| 'mathsMultiplicate'\n\t| 'close'\n\t| 'thinCross'\n\t| 'cross'\n\t| 'crossBold'\n\t| 'mathsNotEqual'\n\t| 'mathsPlus'\n\t| 'plus'\n\t| 'plusBold'\n\t| 'medicalDoctor'\n\t| 'menuBurger'\n\t| 'menu'\n\t| 'hamburgerMenu'\n\t| 'menuDots'\n\t| 'menuEllipsis'\n\t| 'ellipsis'\n\t| 'moneyBag'\n\t| 'moneybag'\n\t| 'moneyBagStrikethrough'\n\t| 'noMoney'\n\t| 'moneyBankImport'\n\t| 'moneyBanknoteStrikethrough'\n\t| 'moneyBill'\n\t| 'bill'\n\t| 'moneyBuildingBank'\n\t| 'bank'\n\t| 'moneyCardCheck'\n\t| 'moneyCardImport'\n\t| 'importCb'\n\t| 'moneyCheck'\n\t| 'moneyCoins'\n\t| 'money'\n\t| 'payment'\n\t| 'moneyCurrencyDollar'\n\t| 'dollar'\n\t| 'moneyCurrencyEuro'\n\t| 'euro'\n\t| 'moneyIban'\n\t| 'moneyPaymentCard'\n\t| 'bankingCard'\n\t| 'moneyPaymentCards'\n\t| 'moneyPiggyBank'\n\t| 'piggyBank'\n\t| 'moneyShoppingBag'\n\t| 'moneyWallet'\n\t| 'wallet'\n\t| 'officeBriefcase'\n\t| 'officeChair'\n\t| 'chair'\n\t| 'officeCompass'\n\t| 'compass'\n\t| 'officeElectricalPlug'\n\t| 'officeFirstAid'\n\t| 'officeMicrophone'\n\t| 'officePen'\n\t| 'edit'\n\t| 'editMini'\n\t| 'officePenStar'\n\t| 'officePenWriting'\n\t| 'editWrite'\n\t| 'editFrame'\n\t| 'officePhone'\n\t| 'telephone'\n\t| 'officeScissors'\n\t| 'cut'\n\t| 'officeSupplies'\n\t| 'supplies'\n\t| 'peopleAccessibility'\n\t| 'peopleAdd'\n\t| 'userAdd'\n\t| 'adduser'\n\t| 'peopleArrowUp'\n\t| 'peopleEdit'\n\t| 'peopleFolder'\n\t| 'peopleGroup'\n\t| 'userGroup'\n\t| 'group'\n\t| 'peopleHouse'\n\t| 'peopleId'\n\t| 'identityCard'\n\t| 'userFile'\n\t| 'dossierRh'\n\t| 'peopleLocked'\n\t| 'userRoles'\n\t| 'peoplePerson'\n\t| 'user'\n\t| 'face'\n\t| 'peopleRemove'\n\t| 'userRemove'\n\t| 'peopleSwitch'\n\t| 'send2user'\n\t| 'userSendTo'\n\t| 'peopleTeacher'\n\t| 'teacher'\n\t| 'pictureGallery'\n\t| 'gallery'\n\t| 'pictureImage'\n\t| 'image'\n\t| 'picturePalette'\n\t| 'palette'\n\t| 'playerPauseCircle'\n\t| 'pause'\n\t| 'playerPlay'\n\t| 'playFull'\n\t| 'playerPlayCircle'\n\t| 'play'\n\t| 'playerRecording'\n\t| 'playerStopCircle'\n\t| 'stop'\n\t| 'priceTag'\n\t| 'pricetag'\n\t| 'priorityHigh'\n\t| 'high'\n\t| 'priorityHigher'\n\t| 'higher'\n\t| 'priorityHighest'\n\t| 'highest'\n\t| 'priorityLevels'\n\t| 'priorityLow'\n\t| 'low'\n\t| 'priorityLower'\n\t| 'lower'\n\t| 'priorityLowest'\n\t| 'lowest'\n\t| 'priorityMedium'\n\t| 'medium'\n\t| 'rotationLeft'\n\t| 'rotate'\n\t| 'rotationRight'\n\t| 'rotateRight'\n\t| 'searchMagnifyingGlass'\n\t| 'search'\n\t| 'searchZoomIn'\n\t| 'searchZoomOut'\n\t| 'settingsEqualizer'\n\t| 'sliders'\n\t| 'settingsGear'\n\t| 'settings'\n\t| 'settingsTools'\n\t| 'tools'\n\t| 'share'\n\t| 'signAt'\n\t| 'signBan'\n\t| 'forbidden'\n\t| 'signCancel'\n\t| 'cancel'\n\t| 'signCheckbox'\n\t| 'signClose'\n\t| 'signConfirm'\n\t| 'confirm'\n\t| 'tick'\n\t| 'tickThin'\n\t| 'tickBold'\n\t| 'signConstruction'\n\t| 'build'\n\t| 'signDecimal'\n\t| 'signDiscount'\n\t| 'discount'\n\t| 'signError'\n\t| 'error'\n\t| 'signHelp'\n\t| 'help'\n\t| 'helpOutline'\n\t| 'signInfo'\n\t| 'info'\n\t| 'signParking'\n\t| 'parking'\n\t| 'signRating'\n\t| 'signShieldCancel'\n\t| 'signShieldError'\n\t| 'signShieldSuccess'\n\t| 'signShieldWarning'\n\t| 'signSimpleChoice'\n\t| 'signSuccess'\n\t| 'success'\n\t| 'signTag'\n\t| 'signTranslation'\n\t| 'signWarning'\n\t| 'warning'\n\t| 'signWebhook'\n\t| 'soundMegaphone'\n\t| 'star'\n\t| 'unstared'\n\t| 'starFilled'\n\t| 'target'\n\t| 'thumbDown'\n\t| 'thumbDownFilled'\n\t| 'thumbUp'\n\t| 'thumbUpFilled'\n\t| 'thumbnail'\n\t| 'timeAlarm'\n\t| 'alarm'\n\t| 'timeClock'\n\t| 'clock'\n\t| 'timeFuture'\n\t| 'postpone'\n\t| 'timeHourglass'\n\t| 'timer'\n\t| 'timePast'\n\t| 'history'\n\t| 'timeTimer'\n\t| 'chronoOn'\n\t| 'timeTimerStrikethrough'\n\t| 'overplanned'\n\t| 'timeTimesheet'\n\t| 'timesheet'\n\t| 'transportBus'\n\t| 'bus'\n\t| 'transportCar'\n\t| 'car'\n\t| 'transportCarElectric'\n\t| 'transportCarwashStation'\n\t| 'cleanCar'\n\t| 'transportGazStation'\n\t| 'gasoline'\n\t| 'transportMotocycle'\n\t| 'transportMotocycleElectric'\n\t| 'transportPlane'\n\t| 'plane'\n\t| 'transportRocket'\n\t| 'rocket'\n\t| 'transportScooter'\n\t| 'transportScooterElectric'\n\t| 'transportSpeedometer'\n\t| 'speedometer'\n\t| 'mileage'\n\t| 'transportSubway'\n\t| 'subway'\n\t| 'transportTaxi'\n\t| 'taxi'\n\t| 'transportToll'\n\t| 'toll'\n\t| 'tollDollar'\n\t| 'tollEuro'\n\t| 'transportTrain'\n\t| 'train'\n\t| 'transportTruck'\n\t| 'truck'\n\t| 'trashDelete'\n\t| 'trash'\n\t| 'trendingGrowth'\n\t| 'evolution'\n\t| 'trendingLoss'\n\t| 'evolutionDown'\n\t| 'weatherCloudy'\n\t| 'weatherLightning'\n\t| 'weatherStars'\n\t| 'weatherStormy'\n\t| 'weatherStorm'\n\t| 'weatherSunny'\n\t| 'weatherSun'\n\t| 'weight'\n\t| 'window'\n\t| 'windowAside'\n\t| 'windowAsideLarge'\n\t| 'windowCornerBottom'\n\t| 'windowCornerTop'\n\t| 'windowSplit';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAA;;AAEG;AAEI,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK;AAG1D,MAAM,UAAU,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS;;MCMzF,aAAa,CAAA;AAR1B,IAAA,WAAA,GAAA;AASC;;AAEG;QACM,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ;iFAAa;AAE3C;;AAEG;AACM,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK;2FAAU;AAE9B;;AAEG;AACM,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;4FAAY;AAEjC;;AAEG;QACM,IAAA,CAAA,KAAK,GAAG,KAAK,CAAY,SAAS;kFAAC;AAE5C;;AAEG;QACM,IAAA,CAAA,EAAE,GAAG,KAAK,CAAuC,KAAK,0EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG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AA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDFW,OAAO,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAML,aAAa,EAAA,UAAA,EAAA,CAAA;kBARzB,SAAS;+BACC,kBAAkB,EAAA,OAAA,EACnB,CAAC,OAAO,CAAC,EAAA,eAAA,EAGD,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,0OAAA,EAAA,MAAA,EAAA,CAAA,oYAAA,CAAA,EAAA;;;AEXtC;AACA;AACA;AACA;;ACHA;;AAEG;;"}
|
|
@@ -73,7 +73,7 @@ class NumericBadgeComponent {
|
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NumericBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
76
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: NumericBadgeComponent, isStandalone: true, selector: "lu-numeric-badge,pr-numeric-badge", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, palette: { classPropertyName: "palette", publicName: "palette", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: true, isRequired: false, transformFunction: null }, disableTooltip: { classPropertyName: "disableTooltip", publicName: "disableTooltip", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-loading": "loading()", "attr.aria-hidden": "ariaHidden()" }, classAttribute: "numericBadge" }, providers: [PrClass], ngImport: i0, template: "<span class=\"numericBadge-value\" [luTooltip]=\"value()\" [luTooltipDisabled]=\"isDisabled()\">{{ displayValue() }}</span>\n", styles: ["@charset \"UTF-8\";@layer components{.numericBadge{--components-numericBadge-background: var(--palettes-200, var(--palettes-neutral-200));--components-numericBadge-color: var(--palettes-800, var(--palettes-neutral-700));--components-numericBadge-loadingColor: var(--palettes-500, var(--palettes-neutral-500));--components-numericBadge-size: 1.5rem;--components-numericBadge-font: var(--pr-t-font-body-S);--components-numericBadge-borderRadius: var(--pr-t-border-radius-default);display:inline-flex;align-items:center;justify-content:center;block-size:var(--components-numericBadge-size);min-inline-size:var(--components-numericBadge-size);padding:var(--pr-t-spacings-50);font:var(--components-numericBadge-font);font-weight:var(--pr-t-font-fontWeight-semibold);background-color:var(--components-numericBadge-background);color:var(--components-numericBadge-color);border-radius:var(--components-numericBadge-borderRadius);transition-timing-function:ease;white-space:nowrap;position:relative;transition-duration:var(--commons-animations-durations-fast);transition-property:color}.numericBadge:empty:before{content:\"\\a0\"/\"\"}.numericBadge-value{outline:none}}@layer mods{.numericBadge.mod-S{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS)}.numericBadge.mod-XS{--components-numericBadge-size: 1rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS)}.numericBadge.is-loading{--commons-loading-frontground: var(--components-numericBadge-loadingColor);--commons-loading-borderWidth: 2px;--components-numericBadge-color: transparent}.numericBadge.is-loading:after{content:\"\";inline-size:calc(var(--components-numericBadge-size) - var(--pr-t-spacings-100));block-size:calc(var(--components-numericBadge-size) - var(--pr-t-spacings-100));border-radius:var(--pr-t-border-radius-full);line-height:.8rem;border-width:var(--commons-loading-borderWidth);inset:0;margin:auto;position:absolute;border-style:solid;animation-name:rotate;animation-duration:var(--commons-loading-speed);animation-timing-function:linear;animation-iteration-count:infinite;border-color:var(--commons-loading-frontground);border-block-start-color:transparent}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.numericBadge.is-loading.mod-S{--commons-loading-borderWidth: 1.5px}.numericBadge.is-loading.mod-XS{--commons-loading-borderWidth: 1px}.numericBadge:focus-within{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}}@layer base{lu-numeric-badge{display:inline-flex}}\n"], dependencies: [{ kind: "ngmodule", type: LuTooltipModule }, { kind: "directive", type: i1.LuTooltipTriggerDirective, selector: "[luTooltip],[prTooltip]", inputs: ["luTooltip", "prTooltip", "luTooltipEnterDelay", "prTooltipEnterDelay", "luTooltipLeaveDelay", "prTooltipLeaveDelay", "luTooltipDisabled", "prTooltipDisabled", "luTooltipOnlyForDisplay", "prTooltipOnlyForDisplay", "luTooltipPosition", "prTooltipPosition", "luTooltipWhenEllipsis", "prTooltipWhenEllipsis", "luTooltipAnchor", "prTooltipAnchor", "id"], exportAs: ["luTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
76
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: NumericBadgeComponent, isStandalone: true, selector: "lu-numeric-badge,pr-numeric-badge", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, palette: { classPropertyName: "palette", publicName: "palette", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: true, isRequired: false, transformFunction: null }, disableTooltip: { classPropertyName: "disableTooltip", publicName: "disableTooltip", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-loading": "loading()", "attr.aria-hidden": "ariaHidden()" }, classAttribute: "numericBadge" }, providers: [PrClass], ngImport: i0, template: "<span class=\"numericBadge-value\" [luTooltip]=\"value()\" [luTooltipDisabled]=\"isDisabled()\">{{ displayValue() }}</span>\n", styles: ["@charset \"UTF-8\";@layer components{.numericBadge{--components-numericBadge-background: var(--palettes-200, var(--palettes-neutral-200));--components-numericBadge-color: var(--palettes-800, var(--palettes-neutral-700));--components-numericBadge-loadingColor: var(--palettes-500, var(--palettes-neutral-500));--components-numericBadge-size: 1.5rem;--components-numericBadge-font: var(--pr-t-font-body-S);--components-numericBadge-borderRadius: var(--pr-t-border-radius-default);display:inline-flex;align-items:center;justify-content:center;block-size:var(--components-numericBadge-size);min-inline-size:var(--components-numericBadge-size);padding:var(--pr-t-spacings-50);font:var(--components-numericBadge-font);font-weight:var(--pr-t-font-fontWeight-semibold);background-color:var(--components-numericBadge-background);color:var(--components-numericBadge-color);border-radius:var(--components-numericBadge-borderRadius);transition-timing-function:ease;white-space:nowrap;position:relative;transition-duration:var(--commons-animations-durations-fast);transition-property:color}.numericBadge:empty:before{content:\"\\a0\"/\"\"}.numericBadge-value{outline:none}}@layer mods{.numericBadge.mod-S{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS)}.numericBadge.mod-XS{--components-numericBadge-size: 1rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS)}.numericBadge.is-loading{--commons-loading-frontground: var(--components-numericBadge-loadingColor);--commons-loading-borderWidth: 2px;--components-numericBadge-color: transparent}.numericBadge.is-loading:after{content:\"\";inline-size:calc(var(--components-numericBadge-size) - var(--pr-t-spacings-100));block-size:calc(var(--components-numericBadge-size) - var(--pr-t-spacings-100));border-radius:var(--pr-t-border-radius-full);line-height:.8rem;border-width:var(--commons-loading-borderWidth);inset:0;margin:auto;position:absolute;border-style:solid;animation-name:rotate;animation-duration:var(--commons-loading-speed);animation-timing-function:linear;animation-iteration-count:infinite;border-color:var(--commons-loading-frontground);border-block-start-color:transparent}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.numericBadge.is-loading.mod-S{--commons-loading-borderWidth: 1.5px}.numericBadge.is-loading.mod-XS{--commons-loading-borderWidth: 1px}.numericBadge:focus-within{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}}@layer base{lu-numeric-badge{display:inline-flex}}\n"], dependencies: [{ kind: "ngmodule", type: LuTooltipModule }, { kind: "directive", type: i1.LuTooltipTriggerDirective, selector: "[luTooltip],[prTooltip]", inputs: ["luTooltip", "prTooltip", "luTooltipEnterDelay", "prTooltipEnterDelay", "luTooltipLeaveDelay", "prTooltipLeaveDelay", "luTooltipDisabled", "prTooltipDisabled", "luTooltipOnlyForDisplay", "prTooltipOnlyForDisplay", "luTooltipPosition", "prTooltipPosition", "luTooltipWhenEllipsis", "prTooltipWhenEllipsis", "luTooltipAnchor", "prTooltipAnchor", "luTooltipTriggerAnchor", "prTooltipTriggerAnchor", "id"], exportAs: ["luTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
77
77
|
}
|
|
78
78
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NumericBadgeComponent, decorators: [{
|
|
79
79
|
type: Component,
|