@educarehq/solaris-ui 0.25.2 → 0.27.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.
|
@@ -1191,6 +1191,19 @@ const NAVIGATION_ICONS = [
|
|
|
1191
1191
|
},
|
|
1192
1192
|
],
|
|
1193
1193
|
},
|
|
1194
|
+
{
|
|
1195
|
+
name: 'chart-spline',
|
|
1196
|
+
viewBox: '0 0 24 24',
|
|
1197
|
+
fill: 'none',
|
|
1198
|
+
stroke: 'currentColor',
|
|
1199
|
+
strokeWidth: 2,
|
|
1200
|
+
strokeLinecap: 'round',
|
|
1201
|
+
strokeLinejoin: 'round',
|
|
1202
|
+
elements: [
|
|
1203
|
+
{ type: 'path', d: 'M3 3v16a2 2 0 002 2h16' },
|
|
1204
|
+
{ type: 'path', d: 'M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7' },
|
|
1205
|
+
],
|
|
1206
|
+
},
|
|
1194
1207
|
];
|
|
1195
1208
|
|
|
1196
1209
|
const ACTIONS_ICONS = [
|
|
@@ -1695,6 +1708,20 @@ const ACTIONS_ICONS = [
|
|
|
1695
1708
|
{ type: 'path', d: 'M18 15v6' },
|
|
1696
1709
|
],
|
|
1697
1710
|
},
|
|
1711
|
+
{
|
|
1712
|
+
name: 'square-plus',
|
|
1713
|
+
viewBox: '0 0 24 24',
|
|
1714
|
+
fill: 'none',
|
|
1715
|
+
stroke: 'currentColor',
|
|
1716
|
+
strokeWidth: 2,
|
|
1717
|
+
strokeLinecap: 'round',
|
|
1718
|
+
strokeLinejoin: 'round',
|
|
1719
|
+
elements: [
|
|
1720
|
+
{ type: 'rect', x: 3, y: 3, width: 18, height: 18, rx: 2 },
|
|
1721
|
+
{ type: 'path', d: 'M8 12h8' },
|
|
1722
|
+
{ type: 'path', d: 'M12 8v8' },
|
|
1723
|
+
],
|
|
1724
|
+
},
|
|
1698
1725
|
];
|
|
1699
1726
|
|
|
1700
1727
|
const STATUS_ICONS = [
|
|
@@ -1968,6 +1995,21 @@ const LAYOUT_ICONS = [
|
|
|
1968
1995
|
{ type: 'rect', x: 14, y: 14, width: 8, height: 8, rx: 2 },
|
|
1969
1996
|
],
|
|
1970
1997
|
},
|
|
1998
|
+
{
|
|
1999
|
+
name: 'table',
|
|
2000
|
+
viewBox: '0 0 24 24',
|
|
2001
|
+
fill: 'none',
|
|
2002
|
+
stroke: 'currentColor',
|
|
2003
|
+
strokeWidth: 2,
|
|
2004
|
+
strokeLinecap: 'round',
|
|
2005
|
+
strokeLinejoin: 'round',
|
|
2006
|
+
elements: [
|
|
2007
|
+
{ type: 'path', d: 'M12 3v18' },
|
|
2008
|
+
{ type: 'rect', x: 3, y: 3, width: 18, height: 18, rx: 2 },
|
|
2009
|
+
{ type: 'path', d: 'M3 9h18' },
|
|
2010
|
+
{ type: 'path', d: 'M3 15h18' },
|
|
2011
|
+
],
|
|
2012
|
+
},
|
|
1971
2013
|
];
|
|
1972
2014
|
|
|
1973
2015
|
const BRAND_ICONS = [
|
|
@@ -2321,34 +2363,6 @@ const DATA_ICONS = [
|
|
|
2321
2363
|
{ type: 'circle', cx: 12, cy: 10, r: 3 },
|
|
2322
2364
|
],
|
|
2323
2365
|
},
|
|
2324
|
-
{
|
|
2325
|
-
name: 'user',
|
|
2326
|
-
viewBox: '0 0 24 24',
|
|
2327
|
-
fill: 'none',
|
|
2328
|
-
stroke: 'currentColor',
|
|
2329
|
-
strokeWidth: 2,
|
|
2330
|
-
strokeLinecap: 'round',
|
|
2331
|
-
strokeLinejoin: 'round',
|
|
2332
|
-
elements: [
|
|
2333
|
-
{ type: 'path', d: 'M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2' },
|
|
2334
|
-
{ type: 'circle', cx: 12, cy: 7, r: 4 },
|
|
2335
|
-
],
|
|
2336
|
-
},
|
|
2337
|
-
{
|
|
2338
|
-
name: 'users',
|
|
2339
|
-
viewBox: '0 0 24 24',
|
|
2340
|
-
fill: 'none',
|
|
2341
|
-
stroke: 'currentColor',
|
|
2342
|
-
strokeWidth: 2,
|
|
2343
|
-
strokeLinecap: 'round',
|
|
2344
|
-
strokeLinejoin: 'round',
|
|
2345
|
-
elements: [
|
|
2346
|
-
{ type: 'path', d: 'M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2' },
|
|
2347
|
-
{ type: 'circle', cx: 9, cy: 7, r: 4 },
|
|
2348
|
-
{ type: 'path', d: 'M23 21v-2a4 4 0 00-3-3.87' },
|
|
2349
|
-
{ type: 'path', d: 'M16 3.13a4 4 0 010 7.75' },
|
|
2350
|
-
],
|
|
2351
|
-
},
|
|
2352
2366
|
{
|
|
2353
2367
|
name: 'storage',
|
|
2354
2368
|
viewBox: '0 0 24 24',
|
|
@@ -2407,7 +2421,22 @@ const DATA_ICONS = [
|
|
|
2407
2421
|
],
|
|
2408
2422
|
},
|
|
2409
2423
|
{
|
|
2410
|
-
name: '
|
|
2424
|
+
name: 'server',
|
|
2425
|
+
viewBox: '0 0 24 24',
|
|
2426
|
+
fill: 'none',
|
|
2427
|
+
stroke: 'currentColor',
|
|
2428
|
+
strokeWidth: 2,
|
|
2429
|
+
strokeLinecap: 'round',
|
|
2430
|
+
strokeLinejoin: 'round',
|
|
2431
|
+
elements: [
|
|
2432
|
+
{ type: 'rect', x: 2, y: 2, width: 20, height: 8, rx: 2, ry: 2 },
|
|
2433
|
+
{ type: 'rect', x: 2, y: 14, width: 20, height: 8, rx: 2, ry: 2 },
|
|
2434
|
+
{ type: 'line', x1: 6, x2: 6.01, y1: 6, y2: 6 },
|
|
2435
|
+
{ type: 'line', x1: 6, x2: 6.01, y1: 18, y2: 18 },
|
|
2436
|
+
],
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
name: 'package',
|
|
2411
2440
|
viewBox: '0 0 24 24',
|
|
2412
2441
|
fill: 'none',
|
|
2413
2442
|
stroke: 'currentColor',
|
|
@@ -2417,12 +2446,15 @@ const DATA_ICONS = [
|
|
|
2417
2446
|
elements: [
|
|
2418
2447
|
{
|
|
2419
2448
|
type: 'path',
|
|
2420
|
-
d: '
|
|
2449
|
+
d: 'M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z',
|
|
2421
2450
|
},
|
|
2451
|
+
{ type: 'path', d: 'M12 22V12' },
|
|
2452
|
+
{ type: 'polyline', points: '3.29 7 12 12 20.71 7' },
|
|
2453
|
+
{ type: 'path', d: 'm7.5 4.27 9 5.15' },
|
|
2422
2454
|
],
|
|
2423
2455
|
},
|
|
2424
2456
|
{
|
|
2425
|
-
name: '
|
|
2457
|
+
name: 'podium',
|
|
2426
2458
|
viewBox: '0 0 24 24',
|
|
2427
2459
|
fill: 'none',
|
|
2428
2460
|
stroke: 'currentColor',
|
|
@@ -2430,14 +2462,45 @@ const DATA_ICONS = [
|
|
|
2430
2462
|
strokeLinecap: 'round',
|
|
2431
2463
|
strokeLinejoin: 'round',
|
|
2432
2464
|
elements: [
|
|
2433
|
-
{ type: '
|
|
2434
|
-
{
|
|
2435
|
-
|
|
2436
|
-
|
|
2465
|
+
{ type: 'path', d: 'M12 6V2h-1' },
|
|
2466
|
+
{
|
|
2467
|
+
type: 'path',
|
|
2468
|
+
d: 'M9 15a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1',
|
|
2469
|
+
},
|
|
2470
|
+
{ type: 'path', d: 'M9 21V11a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10' },
|
|
2437
2471
|
],
|
|
2438
2472
|
},
|
|
2439
2473
|
{
|
|
2440
|
-
name: '
|
|
2474
|
+
name: 'timer',
|
|
2475
|
+
viewBox: '0 0 24 24',
|
|
2476
|
+
fill: 'none',
|
|
2477
|
+
stroke: 'currentColor',
|
|
2478
|
+
strokeWidth: 2,
|
|
2479
|
+
strokeLinecap: 'round',
|
|
2480
|
+
strokeLinejoin: 'round',
|
|
2481
|
+
elements: [
|
|
2482
|
+
{ type: 'line', x1: 10, x2: 14, y1: 2, y2: 2 },
|
|
2483
|
+
{ type: 'line', x1: 12, x2: 15, y1: 14, y2: 11 },
|
|
2484
|
+
{ type: 'circle', cx: 12, cy: 14, r: 8 },
|
|
2485
|
+
],
|
|
2486
|
+
},
|
|
2487
|
+
{
|
|
2488
|
+
name: 'clock-arrow-right',
|
|
2489
|
+
viewBox: '0 0 24 24',
|
|
2490
|
+
fill: 'none',
|
|
2491
|
+
stroke: 'currentColor',
|
|
2492
|
+
strokeWidth: 2,
|
|
2493
|
+
strokeLinecap: 'round',
|
|
2494
|
+
strokeLinejoin: 'round',
|
|
2495
|
+
elements: [
|
|
2496
|
+
{ type: 'path', d: 'M12 6v6l2 1' },
|
|
2497
|
+
{ type: 'path', d: 'M13.5 21.885A10 10 0 1 1 22 12' },
|
|
2498
|
+
{ type: 'path', d: 'M14 18h8' },
|
|
2499
|
+
{ type: 'path', d: 'm18 22 4-4-4-4' },
|
|
2500
|
+
],
|
|
2501
|
+
},
|
|
2502
|
+
{
|
|
2503
|
+
name: 'truck',
|
|
2441
2504
|
viewBox: '0 0 24 24',
|
|
2442
2505
|
fill: 'none',
|
|
2443
2506
|
stroke: 'currentColor',
|
|
@@ -2447,15 +2510,19 @@ const DATA_ICONS = [
|
|
|
2447
2510
|
elements: [
|
|
2448
2511
|
{
|
|
2449
2512
|
type: 'path',
|
|
2450
|
-
d: '
|
|
2513
|
+
d: 'M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2',
|
|
2451
2514
|
},
|
|
2452
|
-
{ type: 'path', d: '
|
|
2453
|
-
{
|
|
2454
|
-
|
|
2515
|
+
{ type: 'path', d: 'M15 18H9' },
|
|
2516
|
+
{
|
|
2517
|
+
type: 'path',
|
|
2518
|
+
d: 'M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14',
|
|
2519
|
+
},
|
|
2520
|
+
{ type: 'circle', cx: 17, cy: 18, r: 2 },
|
|
2521
|
+
{ type: 'circle', cx: 7, cy: 18, r: 2 },
|
|
2455
2522
|
],
|
|
2456
2523
|
},
|
|
2457
2524
|
{
|
|
2458
|
-
name: '
|
|
2525
|
+
name: 'handshake',
|
|
2459
2526
|
viewBox: '0 0 24 24',
|
|
2460
2527
|
fill: 'none',
|
|
2461
2528
|
stroke: 'currentColor',
|
|
@@ -2463,14 +2530,18 @@ const DATA_ICONS = [
|
|
|
2463
2530
|
strokeLinecap: 'round',
|
|
2464
2531
|
strokeLinejoin: 'round',
|
|
2465
2532
|
elements: [
|
|
2466
|
-
{ type: '
|
|
2467
|
-
{
|
|
2468
|
-
|
|
2469
|
-
|
|
2533
|
+
{ type: 'path', d: 'm11 17 2 2a1 1 0 1 0 3-3' },
|
|
2534
|
+
{
|
|
2535
|
+
type: 'path',
|
|
2536
|
+
d: 'm14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4',
|
|
2537
|
+
},
|
|
2538
|
+
{ type: 'path', d: 'm21 3 1 11h-2' },
|
|
2539
|
+
{ type: 'path', d: 'M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3' },
|
|
2540
|
+
{ type: 'path', d: 'M3 4h8' },
|
|
2470
2541
|
],
|
|
2471
2542
|
},
|
|
2472
2543
|
{
|
|
2473
|
-
name: '
|
|
2544
|
+
name: 'route',
|
|
2474
2545
|
viewBox: '0 0 24 24',
|
|
2475
2546
|
fill: 'none',
|
|
2476
2547
|
stroke: 'currentColor',
|
|
@@ -2478,17 +2549,16 @@ const DATA_ICONS = [
|
|
|
2478
2549
|
strokeLinecap: 'round',
|
|
2479
2550
|
strokeLinejoin: 'round',
|
|
2480
2551
|
elements: [
|
|
2481
|
-
{ type: '
|
|
2482
|
-
{
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
{ type: '
|
|
2487
|
-
{ type: 'path', d: 'M8 18h5' },
|
|
2552
|
+
{ type: 'circle', cx: 6, cy: 19, r: 3 },
|
|
2553
|
+
{
|
|
2554
|
+
type: 'path',
|
|
2555
|
+
d: 'M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15',
|
|
2556
|
+
},
|
|
2557
|
+
{ type: 'circle', cx: 18, cy: 5, r: 3 },
|
|
2488
2558
|
],
|
|
2489
2559
|
},
|
|
2490
2560
|
{
|
|
2491
|
-
name: '
|
|
2561
|
+
name: 'id-card',
|
|
2492
2562
|
viewBox: '0 0 24 24',
|
|
2493
2563
|
fill: 'none',
|
|
2494
2564
|
stroke: 'currentColor',
|
|
@@ -2496,16 +2566,34 @@ const DATA_ICONS = [
|
|
|
2496
2566
|
strokeLinecap: 'round',
|
|
2497
2567
|
strokeLinejoin: 'round',
|
|
2498
2568
|
elements: [
|
|
2499
|
-
{ type: 'path', d: '
|
|
2569
|
+
{ type: 'path', d: 'M16 10h2' },
|
|
2570
|
+
{ type: 'path', d: 'M16 14h2' },
|
|
2571
|
+
{ type: 'path', d: 'M6.17 15a3 3 0 0 1 5.66 0' },
|
|
2572
|
+
{ type: 'circle', cx: 9, cy: 11, r: 2 },
|
|
2573
|
+
{ type: 'rect', x: 2, y: 5, width: 20, height: 14, rx: 2 },
|
|
2574
|
+
],
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
name: 'badge',
|
|
2578
|
+
viewBox: '0 0 24 24',
|
|
2579
|
+
fill: 'none',
|
|
2580
|
+
stroke: 'currentColor',
|
|
2581
|
+
strokeWidth: 2,
|
|
2582
|
+
strokeLinecap: 'round',
|
|
2583
|
+
strokeLinejoin: 'round',
|
|
2584
|
+
elements: [
|
|
2585
|
+
{ type: 'path', d: 'M13.5 8h-3' },
|
|
2500
2586
|
{
|
|
2501
2587
|
type: 'path',
|
|
2502
|
-
d: '
|
|
2588
|
+
d: 'm15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3',
|
|
2503
2589
|
},
|
|
2504
|
-
{ type: 'path', d: '
|
|
2590
|
+
{ type: 'path', d: 'M16.899 22A5 5 0 0 0 7.1 22' },
|
|
2591
|
+
{ type: 'path', d: 'm9 2 3 6' },
|
|
2592
|
+
{ type: 'circle', cx: 12, cy: 15, r: 3 },
|
|
2505
2593
|
],
|
|
2506
2594
|
},
|
|
2507
2595
|
{
|
|
2508
|
-
name: '
|
|
2596
|
+
name: 'city',
|
|
2509
2597
|
viewBox: '0 0 24 24',
|
|
2510
2598
|
fill: 'none',
|
|
2511
2599
|
stroke: 'currentColor',
|
|
@@ -2513,13 +2601,338 @@ const DATA_ICONS = [
|
|
|
2513
2601
|
strokeLinecap: 'round',
|
|
2514
2602
|
strokeLinejoin: 'round',
|
|
2515
2603
|
elements: [
|
|
2516
|
-
{ type: '
|
|
2517
|
-
{ type: '
|
|
2518
|
-
{ type: '
|
|
2604
|
+
{ type: 'path', d: 'M10 12h4' },
|
|
2605
|
+
{ type: 'path', d: 'M10 8h4' },
|
|
2606
|
+
{ type: 'path', d: 'M14 21v-3a2 2 0 0 0-4 0v3' },
|
|
2607
|
+
{
|
|
2608
|
+
type: 'path',
|
|
2609
|
+
d: 'M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2',
|
|
2610
|
+
},
|
|
2611
|
+
{ type: 'path', d: 'M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16' },
|
|
2612
|
+
],
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
name: 'school',
|
|
2616
|
+
viewBox: '0 0 24 24',
|
|
2617
|
+
fill: 'none',
|
|
2618
|
+
stroke: 'currentColor',
|
|
2619
|
+
strokeWidth: 2,
|
|
2620
|
+
strokeLinecap: 'round',
|
|
2621
|
+
strokeLinejoin: 'round',
|
|
2622
|
+
elements: [
|
|
2623
|
+
{ type: 'path', d: 'M14 21v-3a2 2 0 0 0-4 0v3' },
|
|
2624
|
+
{ type: 'path', d: 'M18 4.933V21' },
|
|
2625
|
+
{ type: 'path', d: 'm4 6 7.106-3.79a2 2 0 0 1 1.788 0L20 6' },
|
|
2626
|
+
{
|
|
2627
|
+
type: 'path',
|
|
2628
|
+
d: 'm6 11-3.52 2.147a1 1 0 0 0-.48.854V19a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a1 1 0 0 0-.48-.853L18 11',
|
|
2629
|
+
},
|
|
2630
|
+
{ type: 'path', d: 'M6 4.933V21' },
|
|
2631
|
+
{ type: 'circle', cx: 12, cy: 9, r: 2 },
|
|
2632
|
+
],
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
name: 'balance',
|
|
2636
|
+
viewBox: '0 0 24 24',
|
|
2637
|
+
fill: 'none',
|
|
2638
|
+
stroke: 'currentColor',
|
|
2639
|
+
strokeWidth: 2,
|
|
2640
|
+
strokeLinecap: 'round',
|
|
2641
|
+
strokeLinejoin: 'round',
|
|
2642
|
+
elements: [
|
|
2643
|
+
{ type: 'path', d: 'M12 3v18' },
|
|
2644
|
+
{ type: 'path', d: 'm19 8 3 8a5 5 0 0 1-6 0zV7' },
|
|
2645
|
+
{ type: 'path', d: 'M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1' },
|
|
2646
|
+
{ type: 'path', d: 'm5 8 3 8a5 5 0 0 1-6 0zV7' },
|
|
2647
|
+
{ type: 'path', d: 'M7 21h10' },
|
|
2648
|
+
],
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
name: 'signature',
|
|
2652
|
+
viewBox: '0 0 24 24',
|
|
2653
|
+
fill: 'none',
|
|
2654
|
+
stroke: 'currentColor',
|
|
2655
|
+
strokeWidth: 2,
|
|
2656
|
+
strokeLinecap: 'round',
|
|
2657
|
+
strokeLinejoin: 'round',
|
|
2658
|
+
elements: [
|
|
2659
|
+
{
|
|
2660
|
+
type: 'path',
|
|
2661
|
+
d: 'm21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284',
|
|
2662
|
+
},
|
|
2663
|
+
{ type: 'path', d: 'M3 21h18' },
|
|
2664
|
+
],
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
name: 'neighborhood',
|
|
2668
|
+
viewBox: '0 0 24 24',
|
|
2669
|
+
fill: 'none',
|
|
2670
|
+
stroke: 'currentColor',
|
|
2671
|
+
strokeWidth: 2,
|
|
2672
|
+
strokeLinecap: 'round',
|
|
2673
|
+
strokeLinejoin: 'round',
|
|
2674
|
+
elements: [
|
|
2675
|
+
{
|
|
2676
|
+
type: 'path',
|
|
2677
|
+
d: 'M12.35 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .71-1.53l7-6a2 2 0 0 1 2.58 0l7 6A2 2 0 0 1 21 10v2.35',
|
|
2678
|
+
},
|
|
2679
|
+
{ type: 'path', d: 'M14.8 12.4A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8' },
|
|
2680
|
+
{ type: 'path', d: 'M15 18h6' },
|
|
2681
|
+
{ type: 'path', d: 'M18 15v6' },
|
|
2682
|
+
],
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
name: 'hash',
|
|
2686
|
+
viewBox: '0 0 24 24',
|
|
2687
|
+
fill: 'none',
|
|
2688
|
+
stroke: 'currentColor',
|
|
2689
|
+
strokeWidth: 2,
|
|
2690
|
+
strokeLinecap: 'round',
|
|
2691
|
+
strokeLinejoin: 'round',
|
|
2692
|
+
elements: [
|
|
2693
|
+
{ type: 'line', x1: 4, y1: 9, x2: 20, y2: 9 },
|
|
2694
|
+
{ type: 'line', x1: 4, y1: 15, x2: 20, y2: 15 },
|
|
2695
|
+
{ type: 'line', x1: 10, y1: 3, x2: 8, y2: 21 },
|
|
2696
|
+
{ type: 'line', x1: 16, y1: 3, x2: 14, y2: 21 },
|
|
2697
|
+
],
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
name: 'shopping-cart',
|
|
2701
|
+
viewBox: '0 0 24 24',
|
|
2702
|
+
fill: 'none',
|
|
2703
|
+
stroke: 'currentColor',
|
|
2704
|
+
strokeWidth: 2,
|
|
2705
|
+
strokeLinecap: 'round',
|
|
2706
|
+
strokeLinejoin: 'round',
|
|
2707
|
+
elements: [
|
|
2708
|
+
{
|
|
2709
|
+
type: 'path',
|
|
2710
|
+
d: 'm2.05 2.05 1.099-.028a1 1 0 0 1 1.008.815l2.69 14.347A1 1 0 0 0 7.83 18H18',
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
type: 'path',
|
|
2714
|
+
d: 'M4.563 5h16.435a1 1 0 0 1 .981 1.204l-1.026 6.226A2 2 0 0 1 18.962 14H6.25',
|
|
2715
|
+
},
|
|
2716
|
+
{ type: 'circle', cx: 18, cy: 20, r: 2 },
|
|
2717
|
+
{ type: 'circle', cx: 8, cy: 20, r: 2 },
|
|
2718
|
+
],
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
name: 'shopping-basket',
|
|
2722
|
+
viewBox: '0 0 24 24',
|
|
2723
|
+
fill: 'none',
|
|
2724
|
+
stroke: 'currentColor',
|
|
2725
|
+
strokeWidth: 2,
|
|
2726
|
+
strokeLinecap: 'round',
|
|
2727
|
+
strokeLinejoin: 'round',
|
|
2728
|
+
elements: [
|
|
2729
|
+
{ type: 'path', d: 'm15 11-1 9' },
|
|
2730
|
+
{ type: 'path', d: 'm19 11-4-7' },
|
|
2731
|
+
{ type: 'path', d: 'M2 11h20' },
|
|
2732
|
+
{
|
|
2733
|
+
type: 'path',
|
|
2734
|
+
d: 'm3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4',
|
|
2735
|
+
},
|
|
2736
|
+
{ type: 'path', d: 'M4.5 15.5h15' },
|
|
2737
|
+
{ type: 'path', d: 'm5 11 4-7' },
|
|
2738
|
+
{ type: 'path', d: 'm9 11 1 9' },
|
|
2739
|
+
],
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
name: 'shopping-bag',
|
|
2743
|
+
viewBox: '0 0 24 24',
|
|
2744
|
+
fill: 'none',
|
|
2745
|
+
stroke: 'currentColor',
|
|
2746
|
+
strokeWidth: 2,
|
|
2747
|
+
strokeLinecap: 'round',
|
|
2748
|
+
strokeLinejoin: 'round',
|
|
2749
|
+
elements: [
|
|
2750
|
+
{ type: 'path', d: 'M16 10a4 4 0 0 1-8 0' },
|
|
2751
|
+
{ type: 'path', d: 'M3.103 6.034h17.794' },
|
|
2752
|
+
{
|
|
2753
|
+
type: 'path',
|
|
2754
|
+
d: 'M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z',
|
|
2755
|
+
},
|
|
2756
|
+
],
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
name: 'wallet',
|
|
2760
|
+
viewBox: '0 0 24 24',
|
|
2761
|
+
fill: 'none',
|
|
2762
|
+
stroke: 'currentColor',
|
|
2763
|
+
strokeWidth: 2,
|
|
2764
|
+
strokeLinecap: 'round',
|
|
2765
|
+
strokeLinejoin: 'round',
|
|
2766
|
+
elements: [
|
|
2767
|
+
{
|
|
2768
|
+
type: 'path',
|
|
2769
|
+
d: 'M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1',
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
type: 'path',
|
|
2773
|
+
d: 'M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4',
|
|
2774
|
+
},
|
|
2775
|
+
],
|
|
2776
|
+
},
|
|
2777
|
+
{
|
|
2778
|
+
name: 'globe-off',
|
|
2779
|
+
viewBox: '0 0 24 24',
|
|
2780
|
+
fill: 'none',
|
|
2781
|
+
stroke: 'currentColor',
|
|
2782
|
+
strokeWidth: 2,
|
|
2783
|
+
strokeLinecap: 'round',
|
|
2784
|
+
strokeLinejoin: 'round',
|
|
2785
|
+
elements: [
|
|
2786
|
+
{
|
|
2787
|
+
type: 'path',
|
|
2788
|
+
d: 'M10.114 4.462A14.5 14.5 0 0 1 12 2a10 10 0 0 1 9.313 13.643',
|
|
2789
|
+
},
|
|
2790
|
+
{
|
|
2791
|
+
type: 'path',
|
|
2792
|
+
d: 'M15.557 15.556A14.5 14.5 0 0 1 12 22 10 10 0 0 1 4.929 4.929',
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
type: 'path',
|
|
2796
|
+
d: 'M15.892 10.234A14.5 14.5 0 0 0 12 2a10 10 0 0 0-3.643.687',
|
|
2797
|
+
},
|
|
2798
|
+
{ type: 'path', d: 'M17.656 12H22' },
|
|
2799
|
+
{
|
|
2800
|
+
type: 'path',
|
|
2801
|
+
d: 'M19.071 19.071A10 10 0 0 1 12 22 14.5 14.5 0 0 1 8.44 8.45',
|
|
2802
|
+
},
|
|
2803
|
+
{ type: 'path', d: 'M2 12h10' },
|
|
2804
|
+
{ type: 'path', d: 'm2 2 20 20' },
|
|
2805
|
+
],
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
name: 'cookie',
|
|
2809
|
+
viewBox: '0 0 24 24',
|
|
2810
|
+
fill: 'none',
|
|
2811
|
+
stroke: 'currentColor',
|
|
2812
|
+
strokeWidth: 2,
|
|
2813
|
+
strokeLinecap: 'round',
|
|
2814
|
+
strokeLinejoin: 'round',
|
|
2815
|
+
elements: [
|
|
2816
|
+
{ type: 'path', d: 'M11 17h.01' },
|
|
2817
|
+
{
|
|
2818
|
+
type: 'path',
|
|
2819
|
+
d: 'M11.496 2c.324-.016.558.292.529.615a4 4 0 004.235 4.368.713.713 0 01.758.757 4 4 0 004.366 4.237c.323-.03.63.204.614.527a10 10 0 01-2.915 6.566A1 1 0 114.93 4.918 10 10 0 0111.496 2',
|
|
2820
|
+
},
|
|
2821
|
+
{ type: 'path', d: 'M12 12h.01' },
|
|
2822
|
+
{ type: 'path', d: 'M16 16h.01' },
|
|
2823
|
+
{ type: 'path', d: 'M16 3h.01' },
|
|
2824
|
+
{ type: 'path', d: 'M21 4h.01' },
|
|
2825
|
+
{ type: 'path', d: 'M21 8h.01' },
|
|
2826
|
+
{ type: 'path', d: 'M7 14h.01' },
|
|
2827
|
+
{ type: 'path', d: 'M9 8h.01' },
|
|
2828
|
+
],
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
name: 'backpack',
|
|
2832
|
+
viewBox: '0 0 24 24',
|
|
2833
|
+
fill: 'none',
|
|
2834
|
+
stroke: 'currentColor',
|
|
2835
|
+
strokeWidth: 2,
|
|
2836
|
+
strokeLinecap: 'round',
|
|
2837
|
+
strokeLinejoin: 'round',
|
|
2838
|
+
elements: [
|
|
2839
|
+
{
|
|
2840
|
+
type: 'path',
|
|
2841
|
+
d: 'M4 10a4 4 0 014-4h8a4 4 0 014 4v10a2 2 0 01-2 2H6a2 2 0 01-2-2z',
|
|
2842
|
+
},
|
|
2843
|
+
{ type: 'path', d: 'M8 10h8' },
|
|
2844
|
+
{ type: 'path', d: 'M8 18h8' },
|
|
2845
|
+
{ type: 'path', d: 'M8 22v-6a2 2 0 012-2h4a2 2 0 012 2v6' },
|
|
2846
|
+
{ type: 'path', d: 'M9 6V4a2 2 0 012-2h2a2 2 0 012 2v2' },
|
|
2847
|
+
],
|
|
2848
|
+
},
|
|
2849
|
+
{
|
|
2850
|
+
name: 'blocks',
|
|
2851
|
+
viewBox: '0 0 24 24',
|
|
2852
|
+
fill: 'none',
|
|
2853
|
+
stroke: 'currentColor',
|
|
2854
|
+
strokeWidth: 2,
|
|
2855
|
+
strokeLinecap: 'round',
|
|
2856
|
+
strokeLinejoin: 'round',
|
|
2857
|
+
elements: [
|
|
2858
|
+
{
|
|
2859
|
+
type: 'path',
|
|
2860
|
+
d: 'M10 22V7a1 1 0 00-1-1H4a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2v-5a1 1 0 00-1-1H2',
|
|
2861
|
+
},
|
|
2862
|
+
{ type: 'rect', x: 14, y: 2, width: 8, height: 8, rx: 1 },
|
|
2863
|
+
],
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
name: 'sparkles',
|
|
2867
|
+
viewBox: '0 0 24 24',
|
|
2868
|
+
fill: 'none',
|
|
2869
|
+
stroke: 'currentColor',
|
|
2870
|
+
strokeWidth: 2,
|
|
2871
|
+
strokeLinecap: 'round',
|
|
2872
|
+
strokeLinejoin: 'round',
|
|
2873
|
+
elements: [
|
|
2874
|
+
{
|
|
2875
|
+
type: 'path',
|
|
2876
|
+
d: 'M11.017 2.814a1 1 0 011.966 0l1.051 5.558a2 2 0 001.594 1.594l5.558 1.051a1 1 0 010 1.966l-5.558 1.051a2 2 0 00-1.594 1.594l-1.051 5.558a1 1 0 01-1.966 0l-1.051-5.558a2 2 0 00-1.594-1.594l-5.558-1.051a1 1 0 010-1.966l5.558-1.051a2 2 0 001.594-1.594z',
|
|
2877
|
+
},
|
|
2878
|
+
{ type: 'path', d: 'M20 2v4' },
|
|
2879
|
+
{ type: 'path', d: 'M22 4h-4' },
|
|
2880
|
+
{ type: 'circle', cx: 4, cy: 20, r: 2 },
|
|
2881
|
+
],
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
name: 'trophy',
|
|
2885
|
+
viewBox: '0 0 24 24',
|
|
2886
|
+
fill: 'none',
|
|
2887
|
+
stroke: 'currentColor',
|
|
2888
|
+
strokeWidth: 2,
|
|
2889
|
+
strokeLinecap: 'round',
|
|
2890
|
+
strokeLinejoin: 'round',
|
|
2891
|
+
elements: [
|
|
2892
|
+
{ type: 'path', d: 'M10 14.66V17a1 1 0 01-1 1 2 2 0 00-2 2v2' },
|
|
2893
|
+
{ type: 'path', d: 'M14 14.66V17a1 1 0 001 1 2 2 0 012 2v2' },
|
|
2894
|
+
{
|
|
2895
|
+
type: 'path',
|
|
2896
|
+
d: 'M17.916 10H19.5A2.5 2.5 0 0022 7.5V5a1 1 0 00-1-1h-3',
|
|
2897
|
+
},
|
|
2898
|
+
{ type: 'path', d: 'M4 22h16' },
|
|
2899
|
+
{ type: 'path', d: 'M6 9a6 6 0 0012 0V3a1 1 0 00-1-1H7a1 1 0 00-1 1z' },
|
|
2900
|
+
{ type: 'path', d: 'M6.084 10H4.5A2.5 2.5 0 012 7.5V5a1 1 0 011-1h3' },
|
|
2901
|
+
],
|
|
2902
|
+
},
|
|
2903
|
+
];
|
|
2904
|
+
|
|
2905
|
+
const PEOPLE_ICONS = [
|
|
2906
|
+
{
|
|
2907
|
+
name: 'user',
|
|
2908
|
+
viewBox: '0 0 24 24',
|
|
2909
|
+
fill: 'none',
|
|
2910
|
+
stroke: 'currentColor',
|
|
2911
|
+
strokeWidth: 2,
|
|
2912
|
+
strokeLinecap: 'round',
|
|
2913
|
+
strokeLinejoin: 'round',
|
|
2914
|
+
elements: [
|
|
2915
|
+
{ type: 'path', d: 'M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2' },
|
|
2916
|
+
{ type: 'circle', cx: 12, cy: 7, r: 4 },
|
|
2917
|
+
],
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
name: 'users',
|
|
2921
|
+
viewBox: '0 0 24 24',
|
|
2922
|
+
fill: 'none',
|
|
2923
|
+
stroke: 'currentColor',
|
|
2924
|
+
strokeWidth: 2,
|
|
2925
|
+
strokeLinecap: 'round',
|
|
2926
|
+
strokeLinejoin: 'round',
|
|
2927
|
+
elements: [
|
|
2928
|
+
{ type: 'path', d: 'M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2' },
|
|
2929
|
+
{ type: 'circle', cx: 9, cy: 7, r: 4 },
|
|
2930
|
+
{ type: 'path', d: 'M23 21v-2a4 4 0 00-3-3.87' },
|
|
2931
|
+
{ type: 'path', d: 'M16 3.13a4 4 0 010 7.75' },
|
|
2519
2932
|
],
|
|
2520
2933
|
},
|
|
2521
2934
|
{
|
|
2522
|
-
name: '
|
|
2935
|
+
name: 'user-add',
|
|
2523
2936
|
viewBox: '0 0 24 24',
|
|
2524
2937
|
fill: 'none',
|
|
2525
2938
|
stroke: 'currentColor',
|
|
@@ -2527,14 +2940,14 @@ const DATA_ICONS = [
|
|
|
2527
2940
|
strokeLinecap: 'round',
|
|
2528
2941
|
strokeLinejoin: 'round',
|
|
2529
2942
|
elements: [
|
|
2530
|
-
{ type: 'path', d: '
|
|
2531
|
-
{ type: '
|
|
2532
|
-
{ type: '
|
|
2533
|
-
{ type: '
|
|
2943
|
+
{ type: 'path', d: 'M16 21v-2a4 4 0 00-4-4H6a4 4 0 00-4 4v2' },
|
|
2944
|
+
{ type: 'circle', cx: 9, cy: 7, r: 4 },
|
|
2945
|
+
{ type: 'line', x1: 19, y1: 8, x2: 19, y2: 14 },
|
|
2946
|
+
{ type: 'line', x1: 22, y1: 11, x2: 16, y2: 11 },
|
|
2534
2947
|
],
|
|
2535
2948
|
},
|
|
2536
2949
|
{
|
|
2537
|
-
name: '
|
|
2950
|
+
name: 'user-check',
|
|
2538
2951
|
viewBox: '0 0 24 24',
|
|
2539
2952
|
fill: 'none',
|
|
2540
2953
|
stroke: 'currentColor',
|
|
@@ -2542,21 +2955,13 @@ const DATA_ICONS = [
|
|
|
2542
2955
|
strokeLinecap: 'round',
|
|
2543
2956
|
strokeLinejoin: 'round',
|
|
2544
2957
|
elements: [
|
|
2545
|
-
{
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
},
|
|
2549
|
-
{ type: 'path', d: 'M15 18H9' },
|
|
2550
|
-
{
|
|
2551
|
-
type: 'path',
|
|
2552
|
-
d: 'M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14',
|
|
2553
|
-
},
|
|
2554
|
-
{ type: 'circle', cx: 17, cy: 18, r: 2 },
|
|
2555
|
-
{ type: 'circle', cx: 7, cy: 18, r: 2 },
|
|
2958
|
+
{ type: 'path', d: 'm16 11 2 2 4-4' },
|
|
2959
|
+
{ type: 'path', d: 'M16 21v-2a4 4 0 00-4-4H6a4 4 0 00-4 4v2' },
|
|
2960
|
+
{ type: 'circle', cx: 9, cy: 7, r: 4 },
|
|
2556
2961
|
],
|
|
2557
2962
|
},
|
|
2558
2963
|
{
|
|
2559
|
-
name: '
|
|
2964
|
+
name: 'user-circle',
|
|
2560
2965
|
viewBox: '0 0 24 24',
|
|
2561
2966
|
fill: 'none',
|
|
2562
2967
|
stroke: 'currentColor',
|
|
@@ -2564,18 +2969,13 @@ const DATA_ICONS = [
|
|
|
2564
2969
|
strokeLinecap: 'round',
|
|
2565
2970
|
strokeLinejoin: 'round',
|
|
2566
2971
|
elements: [
|
|
2567
|
-
{ type: 'path', d: '
|
|
2568
|
-
{
|
|
2569
|
-
|
|
2570
|
-
d: 'm14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4',
|
|
2571
|
-
},
|
|
2572
|
-
{ type: 'path', d: 'm21 3 1 11h-2' },
|
|
2573
|
-
{ type: 'path', d: 'M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3' },
|
|
2574
|
-
{ type: 'path', d: 'M3 4h8' },
|
|
2972
|
+
{ type: 'path', d: 'M17.925 20.056a6 6 0 00-11.851.001' },
|
|
2973
|
+
{ type: 'circle', cx: 12, cy: 11, r: 4 },
|
|
2974
|
+
{ type: 'circle', cx: 12, cy: 12, r: 10 },
|
|
2575
2975
|
],
|
|
2576
2976
|
},
|
|
2577
2977
|
{
|
|
2578
|
-
name: '
|
|
2978
|
+
name: 'user-delete',
|
|
2579
2979
|
viewBox: '0 0 24 24',
|
|
2580
2980
|
fill: 'none',
|
|
2581
2981
|
stroke: 'currentColor',
|
|
@@ -2583,16 +2983,14 @@ const DATA_ICONS = [
|
|
|
2583
2983
|
strokeLinecap: 'round',
|
|
2584
2984
|
strokeLinejoin: 'round',
|
|
2585
2985
|
elements: [
|
|
2586
|
-
{ type: '
|
|
2587
|
-
{
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
},
|
|
2591
|
-
{ type: 'circle', cx: 18, cy: 5, r: 3 },
|
|
2986
|
+
{ type: 'path', d: 'M16 21v-2a4 4 0 00-4-4H6a4 4 0 00-4 4v2' },
|
|
2987
|
+
{ type: 'circle', cx: 9, cy: 7, r: 4 },
|
|
2988
|
+
{ type: 'line', x1: 17, y1: 8, x2: 22, y2: 13 },
|
|
2989
|
+
{ type: 'line', x1: 22, y1: 8, x2: 17, y2: 13 },
|
|
2592
2990
|
],
|
|
2593
2991
|
},
|
|
2594
2992
|
{
|
|
2595
|
-
name: '
|
|
2993
|
+
name: 'user-edit',
|
|
2596
2994
|
viewBox: '0 0 24 24',
|
|
2597
2995
|
fill: 'none',
|
|
2598
2996
|
stroke: 'currentColor',
|
|
@@ -2600,15 +2998,16 @@ const DATA_ICONS = [
|
|
|
2600
2998
|
strokeLinecap: 'round',
|
|
2601
2999
|
strokeLinejoin: 'round',
|
|
2602
3000
|
elements: [
|
|
2603
|
-
{ type: 'path', d: '
|
|
2604
|
-
{
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
3001
|
+
{ type: 'path', d: 'M11.5 15H7a4 4 0 00-4 4v2' },
|
|
3002
|
+
{
|
|
3003
|
+
type: 'path',
|
|
3004
|
+
d: 'M21.378 16.626a1 1 0 00-3.004-3.004l-4.01 4.012a2 2 0 00-.506.854l-.837 2.87a.5.5 0 00.62.62l2.87-.837a2 2 0 00.854-.506z',
|
|
3005
|
+
},
|
|
3006
|
+
{ type: 'circle', cx: 10, cy: 7, r: 4 },
|
|
2608
3007
|
],
|
|
2609
3008
|
},
|
|
2610
3009
|
{
|
|
2611
|
-
name: '
|
|
3010
|
+
name: 'user-file',
|
|
2612
3011
|
viewBox: '0 0 24 24',
|
|
2613
3012
|
fill: 'none',
|
|
2614
3013
|
stroke: 'currentColor',
|
|
@@ -2616,18 +3015,17 @@ const DATA_ICONS = [
|
|
|
2616
3015
|
strokeLinecap: 'round',
|
|
2617
3016
|
strokeLinejoin: 'round',
|
|
2618
3017
|
elements: [
|
|
2619
|
-
{ type: 'path', d: 'M13.5 8h-3' },
|
|
2620
3018
|
{
|
|
2621
3019
|
type: 'path',
|
|
2622
|
-
d: '
|
|
3020
|
+
d: 'M6 22a2 2 0 01-2-2V4a2 2 0 012-2h8a2.4 2.4 0 011.704.706l3.588 3.588A2.4 2.4 0 0120 8v12a2 2 0 01-2 2z',
|
|
2623
3021
|
},
|
|
2624
|
-
{ type: 'path', d: '
|
|
2625
|
-
{ type: 'path', d: '
|
|
3022
|
+
{ type: 'path', d: 'M14 2v5a1 1 0 001 1h5' },
|
|
3023
|
+
{ type: 'path', d: 'M16 22a4 4 0 00-8 0' },
|
|
2626
3024
|
{ type: 'circle', cx: 12, cy: 15, r: 3 },
|
|
2627
3025
|
],
|
|
2628
3026
|
},
|
|
2629
3027
|
{
|
|
2630
|
-
name: '
|
|
3028
|
+
name: 'user-gear',
|
|
2631
3029
|
viewBox: '0 0 24 24',
|
|
2632
3030
|
fill: 'none',
|
|
2633
3031
|
stroke: 'currentColor',
|
|
@@ -2635,18 +3033,21 @@ const DATA_ICONS = [
|
|
|
2635
3033
|
strokeLinecap: 'round',
|
|
2636
3034
|
strokeLinejoin: 'round',
|
|
2637
3035
|
elements: [
|
|
2638
|
-
{ type: 'path', d: 'M10
|
|
2639
|
-
{ type: 'path', d: '
|
|
2640
|
-
{ type: 'path', d: '
|
|
2641
|
-
{
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
},
|
|
2645
|
-
{ type: 'path', d: '
|
|
3036
|
+
{ type: 'path', d: 'M10 15H6a4 4 0 00-4 4v2' },
|
|
3037
|
+
{ type: 'path', d: 'm14.305 16.53.923-.382' },
|
|
3038
|
+
{ type: 'path', d: 'm15.228 13.852-.923-.383' },
|
|
3039
|
+
{ type: 'path', d: 'm16.852 12.228-.383-.923' },
|
|
3040
|
+
{ type: 'path', d: 'm16.852 17.772-.383.924' },
|
|
3041
|
+
{ type: 'path', d: 'm19.148 12.228.383-.923' },
|
|
3042
|
+
{ type: 'path', d: 'm19.53 18.696-.382-.924' },
|
|
3043
|
+
{ type: 'path', d: 'm20.772 13.852.924-.383' },
|
|
3044
|
+
{ type: 'path', d: 'm20.772 16.148.924.383' },
|
|
3045
|
+
{ type: 'circle', cx: 18, cy: 15, r: 3 },
|
|
3046
|
+
{ type: 'circle', cx: 9, cy: 7, r: 4 },
|
|
2646
3047
|
],
|
|
2647
3048
|
},
|
|
2648
3049
|
{
|
|
2649
|
-
name: '
|
|
3050
|
+
name: 'user-group',
|
|
2650
3051
|
viewBox: '0 0 24 24',
|
|
2651
3052
|
fill: 'none',
|
|
2652
3053
|
stroke: 'currentColor',
|
|
@@ -2654,19 +3055,16 @@ const DATA_ICONS = [
|
|
|
2654
3055
|
strokeLinecap: 'round',
|
|
2655
3056
|
strokeLinejoin: 'round',
|
|
2656
3057
|
elements: [
|
|
2657
|
-
{ type: 'path', d: '
|
|
2658
|
-
{ type: 'path', d: '
|
|
2659
|
-
{ type: 'path', d: '
|
|
2660
|
-
{
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
},
|
|
2664
|
-
{ type: 'path', d: 'M6 4.933V21' },
|
|
2665
|
-
{ type: 'circle', cx: 12, cy: 9, r: 2 },
|
|
3058
|
+
{ type: 'path', d: 'M17 21a5 5 0 00-10 0' },
|
|
3059
|
+
{ type: 'path', d: 'M22 10.5a3.5 3.5 0 00-5.507-2.868' },
|
|
3060
|
+
{ type: 'path', d: 'M7.507 7.632A3.5 3.5 0 002 10.5' },
|
|
3061
|
+
{ type: 'circle', cx: 12, cy: 13, r: 3 },
|
|
3062
|
+
{ type: 'circle', cx: 18.5, cy: 4.5, r: 2.5 },
|
|
3063
|
+
{ type: 'circle', cx: 5.5, cy: 4.5, r: 2.5 },
|
|
2666
3064
|
],
|
|
2667
3065
|
},
|
|
2668
3066
|
{
|
|
2669
|
-
name: '
|
|
3067
|
+
name: 'user-remove',
|
|
2670
3068
|
viewBox: '0 0 24 24',
|
|
2671
3069
|
fill: 'none',
|
|
2672
3070
|
stroke: 'currentColor',
|
|
@@ -2674,15 +3072,13 @@ const DATA_ICONS = [
|
|
|
2674
3072
|
strokeLinecap: 'round',
|
|
2675
3073
|
strokeLinejoin: 'round',
|
|
2676
3074
|
elements: [
|
|
2677
|
-
{ type: 'path', d: '
|
|
2678
|
-
{ type: '
|
|
2679
|
-
{ type: '
|
|
2680
|
-
{ type: 'path', d: 'm5 8 3 8a5 5 0 0 1-6 0zV7' },
|
|
2681
|
-
{ type: 'path', d: 'M7 21h10' },
|
|
3075
|
+
{ type: 'path', d: 'M16 21v-2a4 4 0 00-4-4H6a4 4 0 00-4 4v2' },
|
|
3076
|
+
{ type: 'circle', cx: 9, cy: 7, r: 4 },
|
|
3077
|
+
{ type: 'line', x1: 22, y1: 11, x2: 16, y2: 11 },
|
|
2682
3078
|
],
|
|
2683
3079
|
},
|
|
2684
3080
|
{
|
|
2685
|
-
name: '
|
|
3081
|
+
name: 'user-square',
|
|
2686
3082
|
viewBox: '0 0 24 24',
|
|
2687
3083
|
fill: 'none',
|
|
2688
3084
|
stroke: 'currentColor',
|
|
@@ -2690,15 +3086,13 @@ const DATA_ICONS = [
|
|
|
2690
3086
|
strokeLinecap: 'round',
|
|
2691
3087
|
strokeLinejoin: 'round',
|
|
2692
3088
|
elements: [
|
|
2693
|
-
{
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
},
|
|
2697
|
-
{ type: 'path', d: 'M3 21h18' },
|
|
3089
|
+
{ type: 'path', d: 'M18 21a6 6 0 00-12 0' },
|
|
3090
|
+
{ type: 'circle', cx: 12, cy: 11, r: 4 },
|
|
3091
|
+
{ type: 'rect', x: 3, y: 3, width: 18, height: 18, rx: 2 },
|
|
2698
3092
|
],
|
|
2699
3093
|
},
|
|
2700
3094
|
{
|
|
2701
|
-
name: '
|
|
3095
|
+
name: 'user-star',
|
|
2702
3096
|
viewBox: '0 0 24 24',
|
|
2703
3097
|
fill: 'none',
|
|
2704
3098
|
stroke: 'currentColor',
|
|
@@ -2708,15 +3102,17 @@ const DATA_ICONS = [
|
|
|
2708
3102
|
elements: [
|
|
2709
3103
|
{
|
|
2710
3104
|
type: 'path',
|
|
2711
|
-
d: '
|
|
3105
|
+
d: 'M16.051 12.616a1 1 0 011.909.024l.737 1.452a1 1 0 00.737.535l1.634.256a1 1 0 01.588 1.806l-1.172 1.168a1 1 0 00-.282.866l.259 1.613a1 1 0 01-1.541 1.134l-1.465-.75a1 1 0 00-.912 0l-1.465.75a1 1 0 01-1.539-1.133l.258-1.613a1 1 0 00-.282-.866l-1.156-1.153a1 1 0 01.572-1.822l1.633-.256a1 1 0 00.737-.535z',
|
|
2712
3106
|
},
|
|
2713
|
-
{ type: 'path', d: '
|
|
2714
|
-
{ type: '
|
|
2715
|
-
{ type: 'path', d: 'M18 15v6' },
|
|
3107
|
+
{ type: 'path', d: 'M8 15H7a4 4 0 00-4 4v2' },
|
|
3108
|
+
{ type: 'circle', cx: 10, cy: 7, r: 4 },
|
|
2716
3109
|
],
|
|
2717
3110
|
},
|
|
3111
|
+
];
|
|
3112
|
+
|
|
3113
|
+
const DOCUMENTS_ICONS = [
|
|
2718
3114
|
{
|
|
2719
|
-
name: 'book
|
|
3115
|
+
name: 'book',
|
|
2720
3116
|
viewBox: '0 0 24 24',
|
|
2721
3117
|
fill: 'none',
|
|
2722
3118
|
stroke: 'currentColor',
|
|
@@ -2724,16 +3120,14 @@ const DATA_ICONS = [
|
|
|
2724
3120
|
strokeLinecap: 'round',
|
|
2725
3121
|
strokeLinejoin: 'round',
|
|
2726
3122
|
elements: [
|
|
2727
|
-
{ type: 'path', d: 'M15 13a3 3 0 1 0-6 0' },
|
|
2728
3123
|
{
|
|
2729
3124
|
type: 'path',
|
|
2730
3125
|
d: 'M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20',
|
|
2731
3126
|
},
|
|
2732
|
-
{ type: 'circle', cx: 12, cy: 8, r: 2 },
|
|
2733
3127
|
],
|
|
2734
3128
|
},
|
|
2735
3129
|
{
|
|
2736
|
-
name: '
|
|
3130
|
+
name: 'squared-text',
|
|
2737
3131
|
viewBox: '0 0 24 24',
|
|
2738
3132
|
fill: 'none',
|
|
2739
3133
|
stroke: 'currentColor',
|
|
@@ -2741,14 +3135,14 @@ const DATA_ICONS = [
|
|
|
2741
3135
|
strokeLinecap: 'round',
|
|
2742
3136
|
strokeLinejoin: 'round',
|
|
2743
3137
|
elements: [
|
|
2744
|
-
{ type: '
|
|
2745
|
-
{ type: '
|
|
2746
|
-
{ type: '
|
|
2747
|
-
{ type: '
|
|
3138
|
+
{ type: 'rect', x: 3, y: 3, width: 18, height: 18, rx: 2 },
|
|
3139
|
+
{ type: 'path', d: 'M7 8h8' },
|
|
3140
|
+
{ type: 'path', d: 'M7 12h10' },
|
|
3141
|
+
{ type: 'path', d: 'M7 16h6' },
|
|
2748
3142
|
],
|
|
2749
3143
|
},
|
|
2750
3144
|
{
|
|
2751
|
-
name: '
|
|
3145
|
+
name: 'notepad',
|
|
2752
3146
|
viewBox: '0 0 24 24',
|
|
2753
3147
|
fill: 'none',
|
|
2754
3148
|
stroke: 'currentColor',
|
|
@@ -2756,20 +3150,17 @@ const DATA_ICONS = [
|
|
|
2756
3150
|
strokeLinecap: 'round',
|
|
2757
3151
|
strokeLinejoin: 'round',
|
|
2758
3152
|
elements: [
|
|
2759
|
-
{
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
},
|
|
2763
|
-
{
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
},
|
|
2767
|
-
{ type: 'circle', cx: 18, cy: 20, r: 2 },
|
|
2768
|
-
{ type: 'circle', cx: 8, cy: 20, r: 2 },
|
|
3153
|
+
{ type: 'path', d: 'M8 2v4' },
|
|
3154
|
+
{ type: 'path', d: 'M12 2v4' },
|
|
3155
|
+
{ type: 'path', d: 'M16 2v4' },
|
|
3156
|
+
{ type: 'rect', x: 4, y: 4, width: 16, height: 18, rx: 2 },
|
|
3157
|
+
{ type: 'path', d: 'M8 10h6' },
|
|
3158
|
+
{ type: 'path', d: 'M8 14h8' },
|
|
3159
|
+
{ type: 'path', d: 'M8 18h5' },
|
|
2769
3160
|
],
|
|
2770
3161
|
},
|
|
2771
3162
|
{
|
|
2772
|
-
name: '
|
|
3163
|
+
name: 'book-user',
|
|
2773
3164
|
viewBox: '0 0 24 24',
|
|
2774
3165
|
fill: 'none',
|
|
2775
3166
|
stroke: 'currentColor',
|
|
@@ -2777,20 +3168,16 @@ const DATA_ICONS = [
|
|
|
2777
3168
|
strokeLinecap: 'round',
|
|
2778
3169
|
strokeLinejoin: 'round',
|
|
2779
3170
|
elements: [
|
|
2780
|
-
{ type: 'path', d: '
|
|
2781
|
-
{ type: 'path', d: 'm19 11-4-7' },
|
|
2782
|
-
{ type: 'path', d: 'M2 11h20' },
|
|
3171
|
+
{ type: 'path', d: 'M15 13a3 3 0 1 0-6 0' },
|
|
2783
3172
|
{
|
|
2784
3173
|
type: 'path',
|
|
2785
|
-
d: '
|
|
3174
|
+
d: 'M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20',
|
|
2786
3175
|
},
|
|
2787
|
-
{ type: '
|
|
2788
|
-
{ type: 'path', d: 'm5 11 4-7' },
|
|
2789
|
-
{ type: 'path', d: 'm9 11 1 9' },
|
|
3176
|
+
{ type: 'circle', cx: 12, cy: 8, r: 2 },
|
|
2790
3177
|
],
|
|
2791
3178
|
},
|
|
2792
3179
|
{
|
|
2793
|
-
name: '
|
|
3180
|
+
name: 'file-text',
|
|
2794
3181
|
viewBox: '0 0 24 24',
|
|
2795
3182
|
fill: 'none',
|
|
2796
3183
|
stroke: 'currentColor',
|
|
@@ -2798,16 +3185,18 @@ const DATA_ICONS = [
|
|
|
2798
3185
|
strokeLinecap: 'round',
|
|
2799
3186
|
strokeLinejoin: 'round',
|
|
2800
3187
|
elements: [
|
|
2801
|
-
{ type: 'path', d: 'M16 10a4 4 0 0 1-8 0' },
|
|
2802
|
-
{ type: 'path', d: 'M3.103 6.034h17.794' },
|
|
2803
3188
|
{
|
|
2804
3189
|
type: 'path',
|
|
2805
|
-
d: '
|
|
3190
|
+
d: 'M6 22a2 2 0 01-2-2V4a2 2 0 012-2h8a2.4 2.4 0 011.704.706l3.588 3.588A2.4 2.4 0 0120 8v12a2 2 0 01-2 2z',
|
|
2806
3191
|
},
|
|
3192
|
+
{ type: 'path', d: 'M14 2v5a1 1 0 001 1h5' },
|
|
3193
|
+
{ type: 'path', d: 'M10 9H8' },
|
|
3194
|
+
{ type: 'path', d: 'M16 13H8' },
|
|
3195
|
+
{ type: 'path', d: 'M16 17H8' },
|
|
2807
3196
|
],
|
|
2808
3197
|
},
|
|
2809
3198
|
{
|
|
2810
|
-
name: '
|
|
3199
|
+
name: 'notebook-pen',
|
|
2811
3200
|
viewBox: '0 0 24 24',
|
|
2812
3201
|
fill: 'none',
|
|
2813
3202
|
stroke: 'currentColor',
|
|
@@ -2817,16 +3206,20 @@ const DATA_ICONS = [
|
|
|
2817
3206
|
elements: [
|
|
2818
3207
|
{
|
|
2819
3208
|
type: 'path',
|
|
2820
|
-
d: '
|
|
3209
|
+
d: 'M13.4 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2v-7.4',
|
|
2821
3210
|
},
|
|
3211
|
+
{ type: 'path', d: 'M2 6h4' },
|
|
3212
|
+
{ type: 'path', d: 'M2 10h4' },
|
|
3213
|
+
{ type: 'path', d: 'M2 14h4' },
|
|
3214
|
+
{ type: 'path', d: 'M2 18h4' },
|
|
2822
3215
|
{
|
|
2823
3216
|
type: 'path',
|
|
2824
|
-
d: '
|
|
3217
|
+
d: 'M21.378 5.626a1 1 0 10-3.004-3.004l-5.01 5.012a2 2 0 00-.506.854l-.837 2.87a.5.5 0 00.62.62l2.87-.837a2 2 0 00.854-.506z',
|
|
2825
3218
|
},
|
|
2826
3219
|
],
|
|
2827
3220
|
},
|
|
2828
3221
|
{
|
|
2829
|
-
name: '
|
|
3222
|
+
name: 'notebook-text',
|
|
2830
3223
|
viewBox: '0 0 24 24',
|
|
2831
3224
|
fill: 'none',
|
|
2832
3225
|
stroke: 'currentColor',
|
|
@@ -2834,29 +3227,36 @@ const DATA_ICONS = [
|
|
|
2834
3227
|
strokeLinecap: 'round',
|
|
2835
3228
|
strokeLinejoin: 'round',
|
|
2836
3229
|
elements: [
|
|
3230
|
+
{ type: 'path', d: 'M2 6h4' },
|
|
3231
|
+
{ type: 'path', d: 'M2 10h4' },
|
|
3232
|
+
{ type: 'path', d: 'M2 14h4' },
|
|
3233
|
+
{ type: 'path', d: 'M2 18h4' },
|
|
3234
|
+
{ type: 'rect', x: 4, y: 2, width: 16, height: 20, rx: 2 },
|
|
3235
|
+
{ type: 'path', d: 'M9.5 8h5' },
|
|
3236
|
+
{ type: 'path', d: 'M9.5 12H16' },
|
|
3237
|
+
{ type: 'path', d: 'M9.5 16H14' },
|
|
3238
|
+
],
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
name: 'receipt',
|
|
3242
|
+
viewBox: '0 0 24 24',
|
|
3243
|
+
fill: 'none',
|
|
3244
|
+
stroke: 'currentColor',
|
|
3245
|
+
strokeWidth: 2,
|
|
3246
|
+
strokeLinecap: 'round',
|
|
3247
|
+
strokeLinejoin: 'round',
|
|
3248
|
+
elements: [
|
|
3249
|
+
{ type: 'path', d: 'M13 16H8' },
|
|
3250
|
+
{ type: 'path', d: 'M14 8H8' },
|
|
3251
|
+
{ type: 'path', d: 'M16 12H8' },
|
|
2837
3252
|
{
|
|
2838
3253
|
type: 'path',
|
|
2839
|
-
d: '
|
|
2840
|
-
},
|
|
2841
|
-
{
|
|
2842
|
-
type: 'path',
|
|
2843
|
-
d: 'M15.557 15.556A14.5 14.5 0 0 1 12 22 10 10 0 0 1 4.929 4.929',
|
|
2844
|
-
},
|
|
2845
|
-
{
|
|
2846
|
-
type: 'path',
|
|
2847
|
-
d: 'M15.892 10.234A14.5 14.5 0 0 0 12 2a10 10 0 0 0-3.643.687',
|
|
2848
|
-
},
|
|
2849
|
-
{ type: 'path', d: 'M17.656 12H22' },
|
|
2850
|
-
{
|
|
2851
|
-
type: 'path',
|
|
2852
|
-
d: 'M19.071 19.071A10 10 0 0 1 12 22 14.5 14.5 0 0 1 8.44 8.45',
|
|
3254
|
+
d: 'M4 3a1 1 0 011-1 1.3 1.3 0 01.7.2l.933.6a1.3 1.3 0 001.4 0l.934-.6a1.3 1.3 0 011.4 0l.933.6a1.3 1.3 0 001.4 0l.933-.6a1.3 1.3 0 011.4 0l.934.6a1.3 1.3 0 001.4 0l.933-.6A1.3 1.3 0 0119 2a1 1 0 011 1v18a1 1 0 01-1 1 1.3 1.3 0 01-.7-.2l-.933-.6a1.3 1.3 0 00-1.4 0l-.934.6a1.3 1.3 0 01-1.4 0l-.933-.6a1.3 1.3 0 00-1.4 0l-.933.6a1.3 1.3 0 01-1.4 0l-.934-.6a1.3 1.3 0 00-1.4 0l-.933.6a1.3 1.3 0 01-.7.2 1 1 0 01-1-1z',
|
|
2853
3255
|
},
|
|
2854
|
-
{ type: 'path', d: 'M2 12h10' },
|
|
2855
|
-
{ type: 'path', d: 'm2 2 20 20' },
|
|
2856
3256
|
],
|
|
2857
3257
|
},
|
|
2858
3258
|
{
|
|
2859
|
-
name: '
|
|
3259
|
+
name: 'sticky-note',
|
|
2860
3260
|
viewBox: '0 0 24 24',
|
|
2861
3261
|
fill: 'none',
|
|
2862
3262
|
stroke: 'currentColor',
|
|
@@ -2864,18 +3264,11 @@ const DATA_ICONS = [
|
|
|
2864
3264
|
strokeLinecap: 'round',
|
|
2865
3265
|
strokeLinejoin: 'round',
|
|
2866
3266
|
elements: [
|
|
2867
|
-
{ type: 'path', d: 'M11 17h.01' },
|
|
2868
3267
|
{
|
|
2869
3268
|
type: 'path',
|
|
2870
|
-
d: '
|
|
3269
|
+
d: 'M21 9a2.4 2.4 0 00-.706-1.706l-3.588-3.588A2.4 2.4 0 0015 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2z',
|
|
2871
3270
|
},
|
|
2872
|
-
{ type: 'path', d: '
|
|
2873
|
-
{ type: 'path', d: 'M16 16h.01' },
|
|
2874
|
-
{ type: 'path', d: 'M16 3h.01' },
|
|
2875
|
-
{ type: 'path', d: 'M21 4h.01' },
|
|
2876
|
-
{ type: 'path', d: 'M21 8h.01' },
|
|
2877
|
-
{ type: 'path', d: 'M7 14h.01' },
|
|
2878
|
-
{ type: 'path', d: 'M9 8h.01' },
|
|
3271
|
+
{ type: 'path', d: 'M15 3v5a1 1 0 001 1h5' },
|
|
2879
3272
|
],
|
|
2880
3273
|
},
|
|
2881
3274
|
];
|
|
@@ -2890,6 +3283,8 @@ const SOLARIS_BUILT_IN_ICONS = [
|
|
|
2890
3283
|
...MEDIA_ICONS,
|
|
2891
3284
|
...BRAND_ICONS,
|
|
2892
3285
|
...DATA_ICONS,
|
|
3286
|
+
...PEOPLE_ICONS,
|
|
3287
|
+
...DOCUMENTS_ICONS,
|
|
2893
3288
|
];
|
|
2894
3289
|
|
|
2895
3290
|
class SolarisIconRegistryService {
|
|
@@ -13941,7 +14336,7 @@ class SolarisDialogContainerComponent {
|
|
|
13941
14336
|
get hostVariant() {
|
|
13942
14337
|
if (this.simpleOptions())
|
|
13943
14338
|
return this.simpleOptions()?.variant ?? 'neutral';
|
|
13944
|
-
return null;
|
|
14339
|
+
return this.externalComponentConfig()?.variant ?? null;
|
|
13945
14340
|
}
|
|
13946
14341
|
get hostPlacement() {
|
|
13947
14342
|
if (this.simpleOptions())
|
|
@@ -13984,37 +14379,148 @@ class SolarisDialogContainerComponent {
|
|
|
13984
14379
|
}
|
|
13985
14380
|
get panelAriaLabel() {
|
|
13986
14381
|
const options = this.simpleOptions();
|
|
13987
|
-
if (
|
|
14382
|
+
if (options) {
|
|
14383
|
+
if (options.ariaLabelKey) {
|
|
14384
|
+
return (this.translateService?.translate(options.ariaLabelKey) ??
|
|
14385
|
+
options.ariaLabel ??
|
|
14386
|
+
null);
|
|
14387
|
+
}
|
|
14388
|
+
return options.ariaLabel ?? null;
|
|
14389
|
+
}
|
|
14390
|
+
const config = this.externalComponentConfig();
|
|
14391
|
+
if (!config)
|
|
13988
14392
|
return null;
|
|
13989
|
-
if (
|
|
13990
|
-
return (this.translateService?.translate(
|
|
13991
|
-
|
|
14393
|
+
if (config.ariaLabelKey) {
|
|
14394
|
+
return (this.translateService?.translate(config.ariaLabelKey) ??
|
|
14395
|
+
config.ariaLabel ??
|
|
13992
14396
|
null);
|
|
13993
14397
|
}
|
|
13994
|
-
return
|
|
14398
|
+
return config.ariaLabel ?? null;
|
|
13995
14399
|
}
|
|
13996
14400
|
get panelAriaLabelledBy() {
|
|
13997
14401
|
const options = this.simpleOptions();
|
|
13998
|
-
if (
|
|
14402
|
+
if (options) {
|
|
14403
|
+
if (options.ariaLabelledBy)
|
|
14404
|
+
return options.ariaLabelledBy;
|
|
14405
|
+
if (options.ariaLabel ?? options.ariaLabelKey)
|
|
14406
|
+
return null;
|
|
14407
|
+
if (!options.title && !options.titleKey)
|
|
14408
|
+
return null;
|
|
14409
|
+
return `${this.dialogRef.id}-title`;
|
|
14410
|
+
}
|
|
14411
|
+
const config = this.externalComponentConfig();
|
|
14412
|
+
if (!config)
|
|
13999
14413
|
return null;
|
|
14000
|
-
if (
|
|
14001
|
-
return
|
|
14002
|
-
if (
|
|
14414
|
+
if (config.ariaLabelledBy)
|
|
14415
|
+
return config.ariaLabelledBy;
|
|
14416
|
+
if (config.ariaLabel ?? config.ariaLabelKey)
|
|
14003
14417
|
return null;
|
|
14004
|
-
if (!
|
|
14418
|
+
if (!this.chromeTitle)
|
|
14005
14419
|
return null;
|
|
14006
14420
|
return `${this.dialogRef.id}-title`;
|
|
14007
14421
|
}
|
|
14008
14422
|
get panelAriaDescribedBy() {
|
|
14009
14423
|
const options = this.simpleOptions();
|
|
14010
|
-
if (
|
|
14424
|
+
if (options) {
|
|
14425
|
+
if (options.ariaDescribedBy)
|
|
14426
|
+
return options.ariaDescribedBy;
|
|
14427
|
+
if (!options.description && !options.descriptionKey)
|
|
14428
|
+
return null;
|
|
14429
|
+
return `${this.dialogRef.id}-description`;
|
|
14430
|
+
}
|
|
14431
|
+
const config = this.externalComponentConfig();
|
|
14432
|
+
if (!config)
|
|
14011
14433
|
return null;
|
|
14012
|
-
if (
|
|
14013
|
-
return
|
|
14014
|
-
if (!
|
|
14434
|
+
if (config.ariaDescribedBy)
|
|
14435
|
+
return config.ariaDescribedBy;
|
|
14436
|
+
if (!this.chromeDescription)
|
|
14015
14437
|
return null;
|
|
14016
14438
|
return `${this.dialogRef.id}-description`;
|
|
14017
14439
|
}
|
|
14440
|
+
get hasChromeHeader() {
|
|
14441
|
+
if (this.simpleOptions())
|
|
14442
|
+
return false;
|
|
14443
|
+
const config = this.externalComponentConfig();
|
|
14444
|
+
if (!config)
|
|
14445
|
+
return false;
|
|
14446
|
+
return Boolean(config.title ??
|
|
14447
|
+
config.titleKey ??
|
|
14448
|
+
config.description ??
|
|
14449
|
+
config.descriptionKey ??
|
|
14450
|
+
config.icon);
|
|
14451
|
+
}
|
|
14452
|
+
get chromeTitle() {
|
|
14453
|
+
const config = this.externalComponentConfig();
|
|
14454
|
+
if (!config)
|
|
14455
|
+
return undefined;
|
|
14456
|
+
if (config.titleKey) {
|
|
14457
|
+
return this.translateService?.translate(config.titleKey) ?? config.title;
|
|
14458
|
+
}
|
|
14459
|
+
return config.title;
|
|
14460
|
+
}
|
|
14461
|
+
get chromeDescription() {
|
|
14462
|
+
const config = this.externalComponentConfig();
|
|
14463
|
+
if (!config)
|
|
14464
|
+
return undefined;
|
|
14465
|
+
if (config.descriptionKey) {
|
|
14466
|
+
return (this.translateService?.translate(config.descriptionKey) ??
|
|
14467
|
+
config.description);
|
|
14468
|
+
}
|
|
14469
|
+
return config.description;
|
|
14470
|
+
}
|
|
14471
|
+
get chromeIcon() {
|
|
14472
|
+
return this.externalComponentConfig()?.icon;
|
|
14473
|
+
}
|
|
14474
|
+
get chromeIconDecorative() {
|
|
14475
|
+
return this.externalComponentConfig()?.iconDecorative ?? false;
|
|
14476
|
+
}
|
|
14477
|
+
get chromeVariant() {
|
|
14478
|
+
return this.externalComponentConfig()?.variant ?? 'neutral';
|
|
14479
|
+
}
|
|
14480
|
+
get chromeHeaderSeparator() {
|
|
14481
|
+
return this.externalComponentConfig()?.headerSeparator ?? true;
|
|
14482
|
+
}
|
|
14483
|
+
get hasChromeActions() {
|
|
14484
|
+
if (this.simpleOptions())
|
|
14485
|
+
return false;
|
|
14486
|
+
const actions = this.externalComponentConfig()?.actions;
|
|
14487
|
+
return !!actions && actions.length > 0;
|
|
14488
|
+
}
|
|
14489
|
+
get chromeActions() {
|
|
14490
|
+
const config = this.externalComponentConfig();
|
|
14491
|
+
const variant = config?.variant ?? 'neutral';
|
|
14492
|
+
const shape = config?.actionsShape;
|
|
14493
|
+
const density = config?.actionsDensity;
|
|
14494
|
+
const radius = config?.actionsRadius;
|
|
14495
|
+
return (config?.actions ?? []).map((action) => {
|
|
14496
|
+
const appearance = action.appearance ?? 'solid';
|
|
14497
|
+
const hasExplicitColor = action.color !== undefined;
|
|
14498
|
+
const color = hasExplicitColor
|
|
14499
|
+
? action.color
|
|
14500
|
+
: appearance === 'solid'
|
|
14501
|
+
? variant
|
|
14502
|
+
: undefined;
|
|
14503
|
+
return {
|
|
14504
|
+
...action,
|
|
14505
|
+
color,
|
|
14506
|
+
shape: action.shape ?? shape,
|
|
14507
|
+
density: action.density ?? density,
|
|
14508
|
+
radius: action.radius ?? radius,
|
|
14509
|
+
};
|
|
14510
|
+
});
|
|
14511
|
+
}
|
|
14512
|
+
get chromeActionsAlign() {
|
|
14513
|
+
return this.externalComponentConfig()?.actionsAlign ?? 'end';
|
|
14514
|
+
}
|
|
14515
|
+
get chromeActionsStack() {
|
|
14516
|
+
return this.externalComponentConfig()?.actionsStack ?? 'auto';
|
|
14517
|
+
}
|
|
14518
|
+
get chromeFooterSeparator() {
|
|
14519
|
+
return this.externalComponentConfig()?.footerSeparator ?? true;
|
|
14520
|
+
}
|
|
14521
|
+
get chromeDensity() {
|
|
14522
|
+
return this.externalComponentConfig()?.density;
|
|
14523
|
+
}
|
|
14018
14524
|
get resolvedCloseLabel() {
|
|
14019
14525
|
const closeLabelKey = this.simpleOptions()
|
|
14020
14526
|
? this.simpleOptions()?.closeLabelKey
|
|
@@ -14146,11 +14652,17 @@ class SolarisDialogContainerComponent {
|
|
|
14146
14652
|
}
|
|
14147
14653
|
}
|
|
14148
14654
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SolarisDialogContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14149
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: SolarisDialogContainerComponent, isStandalone: true, selector: "solaris-dialog-container", inputs: { externalComponent: { classPropertyName: "externalComponent", publicName: "externalComponent", isSignal: true, isRequired: false, transformFunction: null }, simpleOptions: { classPropertyName: "simpleOptions", publicName: "simpleOptions", isSignal: true, isRequired: false, transformFunction: null }, externalComponentConfig: { classPropertyName: "externalComponentConfig", publicName: "externalComponentConfig", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "document:keydown.escape": "onEscapePress()" }, properties: { "attr.data-fullscreen": "hostFullscreen", "attr.data-radius": "hostRadius", "attr.data-variant": "hostVariant", "attr.data-density": "hostDensity", "attr.data-backdrop": "hasBackdrop", "attr.data-appearance": "hostAppearance", "attr.data-placement": "hostPlacement", "attr.data-header-separator": "hostHeaderSeparator", "attr.data-footer-separator": "hostFooterSeparator" }, classAttribute: "solaris-dialog-container" }, viewQueries: [{ propertyName: "_componentHost", first: true, predicate: ["componentHost"], descendants: true, read: ViewContainerRef, isSignal: true }, { propertyName: "_dialogPanel", first: true, predicate: ["dialogPanel"], descendants: true, isSignal: true }, { propertyName: "_focusTrap", first: true, predicate: CdkTrapFocus, descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"solaris-dialog-backdrop\"\n tabindex=\"-1\"\n (click)=\"onBackdropClick($event)\"\n (keydown.escape)=\"onBackdropClick($event)\"\n>\n <div\n #dialogPanel\n tabindex=\"-1\"\n cdkTrapFocus\n [cdkTrapFocusAutoCapture]=\"false\"\n [attr.role]=\"dialogRole\"\n [attr.aria-label]=\"panelAriaLabel\"\n [attr.aria-labelledby]=\"panelAriaLabelledBy\"\n [attr.aria-describedby]=\"panelAriaDescribedBy\"\n [style.width]=\"panelWidth\"\n class=\"solaris-dialog-panel\"\n [style.height]=\"panelHeight\"\n [style.min-width]=\"panelMinWidth\"\n [style.max-width]=\"panelMaxWidth\"\n [style.min-height]=\"panelMinHeight\"\n [style.max-height]=\"panelMaxHeight\"\n [attr.aria-modal]=\"hasBackdrop ? 'true' : 'false'\"\n >\n @if (isSimpleMode) {\n <solaris-dialog [options]=\"simpleOptions()!\" />\n } @else {\n <ng-template #componentHost></ng-template>\n }\n @if (closeable) {\n <button\n type=\"button\"\n data-dialog-close\n (click)=\"closeDialog()\"\n [attr.aria-label]=\"resolvedCloseLabel\"\n class=\"solaris-dialog-container__close\"\n >\n <solaris-icon name=\"x\" [decorative]=\"true\" />\n </button>\n }\n </div>\n</div>\n", styles: [":host{--solaris-dialog-panel-padding: 0;--solaris-dialog-panel-min-width: 400px;--solaris-dialog-backdrop-bg: var(--solaris-backdrop);--solaris-dialog-panel-bg: var(--solaris-surface-base);--solaris-dialog-z-index: var(--solaris-z-index-modal);--solaris-dialog-panel-shadow: var(--solaris-shadow-lg);--solaris-dialog-panel-radius: var(--solaris-radius-lg);--solaris-dialog-panel-border: var(--solaris-border-default);--solaris-dialog-panel-max-width: calc(100vw - var(--solaris-spacing-8));--solaris-dialog-panel-max-height: calc(100dvh - var(--solaris-spacing-8));inset:0;display:flex;position:fixed;overflow:hidden;align-items:center;justify-content:center;z-index:var(--solaris-dialog-z-index)}:host([data-placement=top]){align-items:flex-start}:host([data-placement=bottom]){align-items:flex-end}:host([data-placement=left]){justify-content:flex-start}:host([data-placement=right]){justify-content:flex-end}:host([data-placement=top-left]){align-items:flex-start;justify-content:flex-start}:host([data-placement=top-right]){align-items:flex-start;justify-content:flex-end}:host([data-placement=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([data-placement=bottom-right]){align-items:flex-end;justify-content:flex-end}:host([data-radius=none]){--solaris-dialog-panel-radius: var(--solaris-radius-none)}:host([data-radius=sm]){--solaris-dialog-panel-radius: var(--solaris-radius-sm)}:host([data-radius=md]){--solaris-dialog-panel-radius: var(--solaris-radius-md)}:host([data-radius=lg]){--solaris-dialog-panel-radius: var(--solaris-radius-lg)}:host([data-radius=full]){--solaris-dialog-panel-radius: var(--solaris-radius-full)}:host([data-backdrop=false]){--solaris-dialog-backdrop-bg: transparent;pointer-events:none}.solaris-dialog-backdrop{inset:0;display:flex;position:fixed;align-items:center;justify-content:center;background:var(--solaris-dialog-backdrop-bg)}:host([data-placement=top]) .solaris-dialog-backdrop{align-items:flex-start;padding-top:var(--solaris-spacing-4)}:host([data-placement=bottom]) .solaris-dialog-backdrop{align-items:flex-end;padding-bottom:var(--solaris-spacing-4)}:host([data-placement=left]) .solaris-dialog-backdrop{justify-content:flex-start;padding-left:var(--solaris-spacing-4)}:host([data-placement=right]) .solaris-dialog-backdrop{justify-content:flex-end;padding-right:var(--solaris-spacing-4)}:host([data-placement=top-left]) .solaris-dialog-backdrop{align-items:flex-start;justify-content:flex-start;padding-top:var(--solaris-spacing-4);padding-left:var(--solaris-spacing-4)}:host([data-placement=top-right]) .solaris-dialog-backdrop{align-items:flex-start;justify-content:flex-end;padding-top:var(--solaris-spacing-4);padding-right:var(--solaris-spacing-4)}:host([data-placement=bottom-left]) .solaris-dialog-backdrop{align-items:flex-end;justify-content:flex-start;padding-left:var(--solaris-spacing-4);padding-bottom:var(--solaris-spacing-4)}:host([data-placement=bottom-right]) .solaris-dialog-backdrop{align-items:flex-end;justify-content:flex-end;padding-right:var(--solaris-spacing-4);padding-bottom:var(--solaris-spacing-4)}:host([data-backdrop=false]) .solaris-dialog-backdrop{pointer-events:none}:host([data-backdrop=false]) .solaris-dialog-panel{pointer-events:auto}.solaris-dialog-panel{display:flex;overflow:hidden;position:relative;flex-direction:column;box-sizing:border-box;background:var(--solaris-dialog-panel-bg);box-shadow:var(--solaris-dialog-panel-shadow);max-width:var(--solaris-dialog-panel-max-width);min-width:var(--solaris-dialog-panel-min-width);border-radius:var(--solaris-dialog-panel-radius);max-height:var(--solaris-dialog-panel-max-height);animation:solaris-dialog-enter var(--solaris-motion-duration-normal) var(--solaris-motion-easing-decelerate)}.solaris-dialog-container__close{border:none;display:flex;cursor:pointer;background:none;aspect-ratio:1/1;position:absolute;align-items:center;top:var(--solaris-spacing-3);right:var(--solaris-spacing-3);width:var(--solaris-spacing-4);height:var(--solaris-spacing-4);color:var(--solaris-text-muted);font-size:var(--solaris-font-size-lg);transition:color var(--solaris-motion-duration-normal) var(--solaris-motion-easing-decelerate)}.solaris-dialog-container__close:hover{color:var(--solaris-text-strong)}:host([data-appearance=outline]) .solaris-dialog-panel{border:var(--solaris-border-width-sm) solid var(--solaris-dialog-panel-border)}:host([data-fullscreen]) .solaris-dialog-panel{width:100vw;height:100dvh;max-width:100vw;border-radius:0;max-height:100dvh}@keyframes solaris-dialog-enter{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.solaris-dialog-panel{animation:none}}:host-context([data-reduced-motion=true]) .solaris-dialog-panel{animation:none}\n"], dependencies: [{ kind: "directive", type: CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: SolarisDialogComponent, selector: "solaris-dialog", inputs: ["options"] }, { kind: "component", type: SolarisIconComponent, selector: "solaris-icon", inputs: ["name", "ariaLabel", "decorative", "inheritColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14655
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: SolarisDialogContainerComponent, isStandalone: true, selector: "solaris-dialog-container", inputs: { externalComponent: { classPropertyName: "externalComponent", publicName: "externalComponent", isSignal: true, isRequired: false, transformFunction: null }, simpleOptions: { classPropertyName: "simpleOptions", publicName: "simpleOptions", isSignal: true, isRequired: false, transformFunction: null }, externalComponentConfig: { classPropertyName: "externalComponentConfig", publicName: "externalComponentConfig", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "document:keydown.escape": "onEscapePress()" }, properties: { "attr.data-fullscreen": "hostFullscreen", "attr.data-radius": "hostRadius", "attr.data-variant": "hostVariant", "attr.data-density": "hostDensity", "attr.data-backdrop": "hasBackdrop", "attr.data-appearance": "hostAppearance", "attr.data-placement": "hostPlacement", "attr.data-header-separator": "hostHeaderSeparator", "attr.data-footer-separator": "hostFooterSeparator" }, classAttribute: "solaris-dialog-container" }, viewQueries: [{ propertyName: "_componentHost", first: true, predicate: ["componentHost"], descendants: true, read: ViewContainerRef, isSignal: true }, { propertyName: "_dialogPanel", first: true, predicate: ["dialogPanel"], descendants: true, isSignal: true }, { propertyName: "_focusTrap", first: true, predicate: CdkTrapFocus, descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"solaris-dialog-backdrop\"\n tabindex=\"-1\"\n (click)=\"onBackdropClick($event)\"\n (keydown.escape)=\"onBackdropClick($event)\"\n>\n <div\n #dialogPanel\n tabindex=\"-1\"\n cdkTrapFocus\n [cdkTrapFocusAutoCapture]=\"false\"\n [attr.role]=\"dialogRole\"\n [attr.aria-label]=\"panelAriaLabel\"\n [attr.aria-labelledby]=\"panelAriaLabelledBy\"\n [attr.aria-describedby]=\"panelAriaDescribedBy\"\n [style.width]=\"panelWidth\"\n class=\"solaris-dialog-panel\"\n [style.height]=\"panelHeight\"\n [style.min-width]=\"panelMinWidth\"\n [style.max-width]=\"panelMaxWidth\"\n [style.min-height]=\"panelMinHeight\"\n [style.max-height]=\"panelMaxHeight\"\n [attr.aria-modal]=\"hasBackdrop ? 'true' : 'false'\"\n >\n @if (isSimpleMode) {\n <solaris-dialog [options]=\"simpleOptions()!\" />\n } @else {\n @if (hasChromeHeader) {\n <solaris-dialog-header\n [icon]=\"chromeIcon\"\n [title]=\"chromeTitle\"\n [variant]=\"chromeVariant\"\n [description]=\"chromeDescription\"\n [separator]=\"chromeHeaderSeparator\"\n [iconDecorative]=\"chromeIconDecorative\"\n />\n }\n <div class=\"solaris-dialog-panel__body\">\n <ng-template #componentHost></ng-template>\n </div>\n @if (hasChromeActions) {\n <solaris-dialog-actions\n [actions]=\"chromeActions\"\n [align]=\"chromeActionsAlign\"\n [stack]=\"chromeActionsStack\"\n [separator]=\"chromeFooterSeparator\"\n [density]=\"chromeDensity\"\n />\n }\n }\n @if (closeable) {\n <button\n type=\"button\"\n data-dialog-close\n (click)=\"closeDialog()\"\n [attr.aria-label]=\"resolvedCloseLabel\"\n class=\"solaris-dialog-container__close\"\n >\n <solaris-icon name=\"x\" [decorative]=\"true\" />\n </button>\n }\n </div>\n</div>\n", styles: [":host{--solaris-dialog-panel-padding: 0;--solaris-dialog-panel-min-width: 400px;--solaris-dialog-backdrop-bg: var(--solaris-backdrop);--solaris-dialog-panel-bg: var(--solaris-surface-base);--solaris-dialog-z-index: var(--solaris-z-index-modal);--solaris-dialog-panel-shadow: var(--solaris-shadow-lg);--solaris-dialog-panel-radius: var(--solaris-radius-lg);--solaris-dialog-panel-border: var(--solaris-border-default);--solaris-dialog-panel-max-width: calc(100vw - var(--solaris-spacing-8));--solaris-dialog-panel-max-height: calc(100dvh - var(--solaris-spacing-8));inset:0;display:flex;position:fixed;overflow:hidden;align-items:center;justify-content:center;z-index:var(--solaris-dialog-z-index)}:host([data-placement=top]){align-items:flex-start}:host([data-placement=bottom]){align-items:flex-end}:host([data-placement=left]){justify-content:flex-start}:host([data-placement=right]){justify-content:flex-end}:host([data-placement=top-left]){align-items:flex-start;justify-content:flex-start}:host([data-placement=top-right]){align-items:flex-start;justify-content:flex-end}:host([data-placement=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([data-placement=bottom-right]){align-items:flex-end;justify-content:flex-end}:host([data-radius=none]){--solaris-dialog-panel-radius: var(--solaris-radius-none)}:host([data-radius=sm]){--solaris-dialog-panel-radius: var(--solaris-radius-sm)}:host([data-radius=md]){--solaris-dialog-panel-radius: var(--solaris-radius-md)}:host([data-radius=lg]){--solaris-dialog-panel-radius: var(--solaris-radius-lg)}:host([data-radius=full]){--solaris-dialog-panel-radius: var(--solaris-radius-full)}:host([data-backdrop=false]){--solaris-dialog-backdrop-bg: transparent;pointer-events:none}.solaris-dialog-backdrop{inset:0;display:flex;position:fixed;align-items:center;justify-content:center;background:var(--solaris-dialog-backdrop-bg)}:host([data-placement=top]) .solaris-dialog-backdrop{align-items:flex-start;padding-top:var(--solaris-spacing-4)}:host([data-placement=bottom]) .solaris-dialog-backdrop{align-items:flex-end;padding-bottom:var(--solaris-spacing-4)}:host([data-placement=left]) .solaris-dialog-backdrop{justify-content:flex-start;padding-left:var(--solaris-spacing-4)}:host([data-placement=right]) .solaris-dialog-backdrop{justify-content:flex-end;padding-right:var(--solaris-spacing-4)}:host([data-placement=top-left]) .solaris-dialog-backdrop{align-items:flex-start;justify-content:flex-start;padding-top:var(--solaris-spacing-4);padding-left:var(--solaris-spacing-4)}:host([data-placement=top-right]) .solaris-dialog-backdrop{align-items:flex-start;justify-content:flex-end;padding-top:var(--solaris-spacing-4);padding-right:var(--solaris-spacing-4)}:host([data-placement=bottom-left]) .solaris-dialog-backdrop{align-items:flex-end;justify-content:flex-start;padding-left:var(--solaris-spacing-4);padding-bottom:var(--solaris-spacing-4)}:host([data-placement=bottom-right]) .solaris-dialog-backdrop{align-items:flex-end;justify-content:flex-end;padding-right:var(--solaris-spacing-4);padding-bottom:var(--solaris-spacing-4)}:host([data-backdrop=false]) .solaris-dialog-backdrop{pointer-events:none}:host([data-backdrop=false]) .solaris-dialog-panel{pointer-events:auto}.solaris-dialog-panel{display:flex;overflow:hidden;position:relative;flex-direction:column;box-sizing:border-box;background:var(--solaris-dialog-panel-bg);box-shadow:var(--solaris-dialog-panel-shadow);max-width:var(--solaris-dialog-panel-max-width);min-width:var(--solaris-dialog-panel-min-width);border-radius:var(--solaris-dialog-panel-radius);max-height:var(--solaris-dialog-panel-max-height);animation:solaris-dialog-enter var(--solaris-motion-duration-normal) var(--solaris-motion-easing-decelerate)}.solaris-dialog-panel__body{flex:1;min-height:0;overflow-y:auto}.solaris-dialog-container__close{border:none;display:flex;cursor:pointer;background:none;aspect-ratio:1/1;position:absolute;align-items:center;top:var(--solaris-spacing-3);right:var(--solaris-spacing-3);width:var(--solaris-spacing-4);height:var(--solaris-spacing-4);color:var(--solaris-text-muted);font-size:var(--solaris-font-size-lg);transition:color var(--solaris-motion-duration-normal) var(--solaris-motion-easing-decelerate)}.solaris-dialog-container__close:hover{color:var(--solaris-text-strong)}:host([data-appearance=outline]) .solaris-dialog-panel{border:var(--solaris-border-width-sm) solid var(--solaris-dialog-panel-border)}:host([data-fullscreen]) .solaris-dialog-panel{width:100vw;height:100dvh;max-width:100vw;border-radius:0;max-height:100dvh}@keyframes solaris-dialog-enter{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.solaris-dialog-panel{animation:none}}:host-context([data-reduced-motion=true]) .solaris-dialog-panel{animation:none}\n"], dependencies: [{ kind: "directive", type: CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: SolarisDialogComponent, selector: "solaris-dialog", inputs: ["options"] }, { kind: "component", type: SolarisDialogHeaderComponent, selector: "solaris-dialog-header", inputs: ["icon", "title", "description", "iconDecorative", "variant", "separator"] }, { kind: "component", type: SolarisDialogActionsComponent, selector: "solaris-dialog-actions", inputs: ["actions", "align", "stack", "separator", "density"], outputs: ["actionExecuted"] }, { kind: "component", type: SolarisIconComponent, selector: "solaris-icon", inputs: ["name", "ariaLabel", "decorative", "inheritColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14150
14656
|
}
|
|
14151
14657
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SolarisDialogContainerComponent, decorators: [{
|
|
14152
14658
|
type: Component,
|
|
14153
|
-
args: [{ selector: 'solaris-dialog-container', standalone: true, imports: [
|
|
14659
|
+
args: [{ selector: 'solaris-dialog-container', standalone: true, imports: [
|
|
14660
|
+
CdkTrapFocus,
|
|
14661
|
+
SolarisDialogComponent,
|
|
14662
|
+
SolarisDialogHeaderComponent,
|
|
14663
|
+
SolarisDialogActionsComponent,
|
|
14664
|
+
SolarisIconComponent,
|
|
14665
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
14154
14666
|
'[attr.data-fullscreen]': 'hostFullscreen',
|
|
14155
14667
|
class: 'solaris-dialog-container',
|
|
14156
14668
|
'[attr.data-radius]': 'hostRadius',
|
|
@@ -14161,7 +14673,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
14161
14673
|
'[attr.data-placement]': 'hostPlacement',
|
|
14162
14674
|
'[attr.data-header-separator]': 'hostHeaderSeparator',
|
|
14163
14675
|
'[attr.data-footer-separator]': 'hostFooterSeparator',
|
|
14164
|
-
}, template: "<div\n class=\"solaris-dialog-backdrop\"\n tabindex=\"-1\"\n (click)=\"onBackdropClick($event)\"\n (keydown.escape)=\"onBackdropClick($event)\"\n>\n <div\n #dialogPanel\n tabindex=\"-1\"\n cdkTrapFocus\n [cdkTrapFocusAutoCapture]=\"false\"\n [attr.role]=\"dialogRole\"\n [attr.aria-label]=\"panelAriaLabel\"\n [attr.aria-labelledby]=\"panelAriaLabelledBy\"\n [attr.aria-describedby]=\"panelAriaDescribedBy\"\n [style.width]=\"panelWidth\"\n class=\"solaris-dialog-panel\"\n [style.height]=\"panelHeight\"\n [style.min-width]=\"panelMinWidth\"\n [style.max-width]=\"panelMaxWidth\"\n [style.min-height]=\"panelMinHeight\"\n [style.max-height]=\"panelMaxHeight\"\n [attr.aria-modal]=\"hasBackdrop ? 'true' : 'false'\"\n >\n @if (isSimpleMode) {\n <solaris-dialog [options]=\"simpleOptions()!\" />\n } @else {\n <ng-template #componentHost></ng-template>\n }\n @if (closeable) {\n <button\n type=\"button\"\n data-dialog-close\n (click)=\"closeDialog()\"\n [attr.aria-label]=\"resolvedCloseLabel\"\n class=\"solaris-dialog-container__close\"\n >\n <solaris-icon name=\"x\" [decorative]=\"true\" />\n </button>\n }\n </div>\n</div>\n", styles: [":host{--solaris-dialog-panel-padding: 0;--solaris-dialog-panel-min-width: 400px;--solaris-dialog-backdrop-bg: var(--solaris-backdrop);--solaris-dialog-panel-bg: var(--solaris-surface-base);--solaris-dialog-z-index: var(--solaris-z-index-modal);--solaris-dialog-panel-shadow: var(--solaris-shadow-lg);--solaris-dialog-panel-radius: var(--solaris-radius-lg);--solaris-dialog-panel-border: var(--solaris-border-default);--solaris-dialog-panel-max-width: calc(100vw - var(--solaris-spacing-8));--solaris-dialog-panel-max-height: calc(100dvh - var(--solaris-spacing-8));inset:0;display:flex;position:fixed;overflow:hidden;align-items:center;justify-content:center;z-index:var(--solaris-dialog-z-index)}:host([data-placement=top]){align-items:flex-start}:host([data-placement=bottom]){align-items:flex-end}:host([data-placement=left]){justify-content:flex-start}:host([data-placement=right]){justify-content:flex-end}:host([data-placement=top-left]){align-items:flex-start;justify-content:flex-start}:host([data-placement=top-right]){align-items:flex-start;justify-content:flex-end}:host([data-placement=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([data-placement=bottom-right]){align-items:flex-end;justify-content:flex-end}:host([data-radius=none]){--solaris-dialog-panel-radius: var(--solaris-radius-none)}:host([data-radius=sm]){--solaris-dialog-panel-radius: var(--solaris-radius-sm)}:host([data-radius=md]){--solaris-dialog-panel-radius: var(--solaris-radius-md)}:host([data-radius=lg]){--solaris-dialog-panel-radius: var(--solaris-radius-lg)}:host([data-radius=full]){--solaris-dialog-panel-radius: var(--solaris-radius-full)}:host([data-backdrop=false]){--solaris-dialog-backdrop-bg: transparent;pointer-events:none}.solaris-dialog-backdrop{inset:0;display:flex;position:fixed;align-items:center;justify-content:center;background:var(--solaris-dialog-backdrop-bg)}:host([data-placement=top]) .solaris-dialog-backdrop{align-items:flex-start;padding-top:var(--solaris-spacing-4)}:host([data-placement=bottom]) .solaris-dialog-backdrop{align-items:flex-end;padding-bottom:var(--solaris-spacing-4)}:host([data-placement=left]) .solaris-dialog-backdrop{justify-content:flex-start;padding-left:var(--solaris-spacing-4)}:host([data-placement=right]) .solaris-dialog-backdrop{justify-content:flex-end;padding-right:var(--solaris-spacing-4)}:host([data-placement=top-left]) .solaris-dialog-backdrop{align-items:flex-start;justify-content:flex-start;padding-top:var(--solaris-spacing-4);padding-left:var(--solaris-spacing-4)}:host([data-placement=top-right]) .solaris-dialog-backdrop{align-items:flex-start;justify-content:flex-end;padding-top:var(--solaris-spacing-4);padding-right:var(--solaris-spacing-4)}:host([data-placement=bottom-left]) .solaris-dialog-backdrop{align-items:flex-end;justify-content:flex-start;padding-left:var(--solaris-spacing-4);padding-bottom:var(--solaris-spacing-4)}:host([data-placement=bottom-right]) .solaris-dialog-backdrop{align-items:flex-end;justify-content:flex-end;padding-right:var(--solaris-spacing-4);padding-bottom:var(--solaris-spacing-4)}:host([data-backdrop=false]) .solaris-dialog-backdrop{pointer-events:none}:host([data-backdrop=false]) .solaris-dialog-panel{pointer-events:auto}.solaris-dialog-panel{display:flex;overflow:hidden;position:relative;flex-direction:column;box-sizing:border-box;background:var(--solaris-dialog-panel-bg);box-shadow:var(--solaris-dialog-panel-shadow);max-width:var(--solaris-dialog-panel-max-width);min-width:var(--solaris-dialog-panel-min-width);border-radius:var(--solaris-dialog-panel-radius);max-height:var(--solaris-dialog-panel-max-height);animation:solaris-dialog-enter var(--solaris-motion-duration-normal) var(--solaris-motion-easing-decelerate)}.solaris-dialog-container__close{border:none;display:flex;cursor:pointer;background:none;aspect-ratio:1/1;position:absolute;align-items:center;top:var(--solaris-spacing-3);right:var(--solaris-spacing-3);width:var(--solaris-spacing-4);height:var(--solaris-spacing-4);color:var(--solaris-text-muted);font-size:var(--solaris-font-size-lg);transition:color var(--solaris-motion-duration-normal) var(--solaris-motion-easing-decelerate)}.solaris-dialog-container__close:hover{color:var(--solaris-text-strong)}:host([data-appearance=outline]) .solaris-dialog-panel{border:var(--solaris-border-width-sm) solid var(--solaris-dialog-panel-border)}:host([data-fullscreen]) .solaris-dialog-panel{width:100vw;height:100dvh;max-width:100vw;border-radius:0;max-height:100dvh}@keyframes solaris-dialog-enter{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.solaris-dialog-panel{animation:none}}:host-context([data-reduced-motion=true]) .solaris-dialog-panel{animation:none}\n"] }]
|
|
14676
|
+
}, template: "<div\n class=\"solaris-dialog-backdrop\"\n tabindex=\"-1\"\n (click)=\"onBackdropClick($event)\"\n (keydown.escape)=\"onBackdropClick($event)\"\n>\n <div\n #dialogPanel\n tabindex=\"-1\"\n cdkTrapFocus\n [cdkTrapFocusAutoCapture]=\"false\"\n [attr.role]=\"dialogRole\"\n [attr.aria-label]=\"panelAriaLabel\"\n [attr.aria-labelledby]=\"panelAriaLabelledBy\"\n [attr.aria-describedby]=\"panelAriaDescribedBy\"\n [style.width]=\"panelWidth\"\n class=\"solaris-dialog-panel\"\n [style.height]=\"panelHeight\"\n [style.min-width]=\"panelMinWidth\"\n [style.max-width]=\"panelMaxWidth\"\n [style.min-height]=\"panelMinHeight\"\n [style.max-height]=\"panelMaxHeight\"\n [attr.aria-modal]=\"hasBackdrop ? 'true' : 'false'\"\n >\n @if (isSimpleMode) {\n <solaris-dialog [options]=\"simpleOptions()!\" />\n } @else {\n @if (hasChromeHeader) {\n <solaris-dialog-header\n [icon]=\"chromeIcon\"\n [title]=\"chromeTitle\"\n [variant]=\"chromeVariant\"\n [description]=\"chromeDescription\"\n [separator]=\"chromeHeaderSeparator\"\n [iconDecorative]=\"chromeIconDecorative\"\n />\n }\n <div class=\"solaris-dialog-panel__body\">\n <ng-template #componentHost></ng-template>\n </div>\n @if (hasChromeActions) {\n <solaris-dialog-actions\n [actions]=\"chromeActions\"\n [align]=\"chromeActionsAlign\"\n [stack]=\"chromeActionsStack\"\n [separator]=\"chromeFooterSeparator\"\n [density]=\"chromeDensity\"\n />\n }\n }\n @if (closeable) {\n <button\n type=\"button\"\n data-dialog-close\n (click)=\"closeDialog()\"\n [attr.aria-label]=\"resolvedCloseLabel\"\n class=\"solaris-dialog-container__close\"\n >\n <solaris-icon name=\"x\" [decorative]=\"true\" />\n </button>\n }\n </div>\n</div>\n", styles: [":host{--solaris-dialog-panel-padding: 0;--solaris-dialog-panel-min-width: 400px;--solaris-dialog-backdrop-bg: var(--solaris-backdrop);--solaris-dialog-panel-bg: var(--solaris-surface-base);--solaris-dialog-z-index: var(--solaris-z-index-modal);--solaris-dialog-panel-shadow: var(--solaris-shadow-lg);--solaris-dialog-panel-radius: var(--solaris-radius-lg);--solaris-dialog-panel-border: var(--solaris-border-default);--solaris-dialog-panel-max-width: calc(100vw - var(--solaris-spacing-8));--solaris-dialog-panel-max-height: calc(100dvh - var(--solaris-spacing-8));inset:0;display:flex;position:fixed;overflow:hidden;align-items:center;justify-content:center;z-index:var(--solaris-dialog-z-index)}:host([data-placement=top]){align-items:flex-start}:host([data-placement=bottom]){align-items:flex-end}:host([data-placement=left]){justify-content:flex-start}:host([data-placement=right]){justify-content:flex-end}:host([data-placement=top-left]){align-items:flex-start;justify-content:flex-start}:host([data-placement=top-right]){align-items:flex-start;justify-content:flex-end}:host([data-placement=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([data-placement=bottom-right]){align-items:flex-end;justify-content:flex-end}:host([data-radius=none]){--solaris-dialog-panel-radius: var(--solaris-radius-none)}:host([data-radius=sm]){--solaris-dialog-panel-radius: var(--solaris-radius-sm)}:host([data-radius=md]){--solaris-dialog-panel-radius: var(--solaris-radius-md)}:host([data-radius=lg]){--solaris-dialog-panel-radius: var(--solaris-radius-lg)}:host([data-radius=full]){--solaris-dialog-panel-radius: var(--solaris-radius-full)}:host([data-backdrop=false]){--solaris-dialog-backdrop-bg: transparent;pointer-events:none}.solaris-dialog-backdrop{inset:0;display:flex;position:fixed;align-items:center;justify-content:center;background:var(--solaris-dialog-backdrop-bg)}:host([data-placement=top]) .solaris-dialog-backdrop{align-items:flex-start;padding-top:var(--solaris-spacing-4)}:host([data-placement=bottom]) .solaris-dialog-backdrop{align-items:flex-end;padding-bottom:var(--solaris-spacing-4)}:host([data-placement=left]) .solaris-dialog-backdrop{justify-content:flex-start;padding-left:var(--solaris-spacing-4)}:host([data-placement=right]) .solaris-dialog-backdrop{justify-content:flex-end;padding-right:var(--solaris-spacing-4)}:host([data-placement=top-left]) .solaris-dialog-backdrop{align-items:flex-start;justify-content:flex-start;padding-top:var(--solaris-spacing-4);padding-left:var(--solaris-spacing-4)}:host([data-placement=top-right]) .solaris-dialog-backdrop{align-items:flex-start;justify-content:flex-end;padding-top:var(--solaris-spacing-4);padding-right:var(--solaris-spacing-4)}:host([data-placement=bottom-left]) .solaris-dialog-backdrop{align-items:flex-end;justify-content:flex-start;padding-left:var(--solaris-spacing-4);padding-bottom:var(--solaris-spacing-4)}:host([data-placement=bottom-right]) .solaris-dialog-backdrop{align-items:flex-end;justify-content:flex-end;padding-right:var(--solaris-spacing-4);padding-bottom:var(--solaris-spacing-4)}:host([data-backdrop=false]) .solaris-dialog-backdrop{pointer-events:none}:host([data-backdrop=false]) .solaris-dialog-panel{pointer-events:auto}.solaris-dialog-panel{display:flex;overflow:hidden;position:relative;flex-direction:column;box-sizing:border-box;background:var(--solaris-dialog-panel-bg);box-shadow:var(--solaris-dialog-panel-shadow);max-width:var(--solaris-dialog-panel-max-width);min-width:var(--solaris-dialog-panel-min-width);border-radius:var(--solaris-dialog-panel-radius);max-height:var(--solaris-dialog-panel-max-height);animation:solaris-dialog-enter var(--solaris-motion-duration-normal) var(--solaris-motion-easing-decelerate)}.solaris-dialog-panel__body{flex:1;min-height:0;overflow-y:auto}.solaris-dialog-container__close{border:none;display:flex;cursor:pointer;background:none;aspect-ratio:1/1;position:absolute;align-items:center;top:var(--solaris-spacing-3);right:var(--solaris-spacing-3);width:var(--solaris-spacing-4);height:var(--solaris-spacing-4);color:var(--solaris-text-muted);font-size:var(--solaris-font-size-lg);transition:color var(--solaris-motion-duration-normal) var(--solaris-motion-easing-decelerate)}.solaris-dialog-container__close:hover{color:var(--solaris-text-strong)}:host([data-appearance=outline]) .solaris-dialog-panel{border:var(--solaris-border-width-sm) solid var(--solaris-dialog-panel-border)}:host([data-fullscreen]) .solaris-dialog-panel{width:100vw;height:100dvh;max-width:100vw;border-radius:0;max-height:100dvh}@keyframes solaris-dialog-enter{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.solaris-dialog-panel{animation:none}}:host-context([data-reduced-motion=true]) .solaris-dialog-panel{animation:none}\n"] }]
|
|
14165
14677
|
}], ctorParameters: () => [], propDecorators: { externalComponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "externalComponent", required: false }] }], simpleOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "simpleOptions", required: false }] }], externalComponentConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "externalComponentConfig", required: false }] }], _componentHost: [{ type: i0.ViewChild, args: ['componentHost', { ...{
|
|
14166
14678
|
read: ViewContainerRef,
|
|
14167
14679
|
}, isSignal: true }] }], _dialogPanel: [{ type: i0.ViewChild, args: ['dialogPanel', { isSignal: true }] }], _focusTrap: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkTrapFocus), { isSignal: true }] }], onEscapePress: [{
|
|
@@ -14244,15 +14756,16 @@ class SolarisDialogService {
|
|
|
14244
14756
|
openComponent(component, config) {
|
|
14245
14757
|
const id = `solaris-dialog-${++nextDialogId}`;
|
|
14246
14758
|
const ref = new SolarisDialogRef(id);
|
|
14247
|
-
const
|
|
14248
|
-
const
|
|
14759
|
+
const mergedConfig = this.resolveComponentConfig(config ?? {});
|
|
14760
|
+
const data = mergedConfig.data;
|
|
14761
|
+
const overlayRef = this.createOverlay(mergedConfig.placement, mergedConfig.backdrop);
|
|
14249
14762
|
const injector = this.createInjector(ref, data);
|
|
14250
14763
|
const portal = new ComponentPortal(SolarisDialogContainerComponent, null, injector);
|
|
14251
14764
|
const componentRef = overlayRef.attach(portal);
|
|
14252
14765
|
componentRef.setInput('externalComponent', component);
|
|
14253
|
-
componentRef.setInput('externalComponentConfig',
|
|
14766
|
+
componentRef.setInput('externalComponentConfig', mergedConfig);
|
|
14254
14767
|
this.trackDialog(ref, overlayRef, {
|
|
14255
|
-
restoreFocus:
|
|
14768
|
+
restoreFocus: mergedConfig.restoreFocus ?? true,
|
|
14256
14769
|
previouslyFocused: this.document.activeElement,
|
|
14257
14770
|
});
|
|
14258
14771
|
return ref;
|
|
@@ -14369,6 +14882,30 @@ class SolarisDialogService {
|
|
|
14369
14882
|
actionsStack: options.actionsStack ?? this.config.actionsStack ?? 'auto',
|
|
14370
14883
|
};
|
|
14371
14884
|
}
|
|
14885
|
+
resolveComponentConfig(config) {
|
|
14886
|
+
return {
|
|
14887
|
+
...config,
|
|
14888
|
+
appearance: config.appearance ?? this.config.appearance,
|
|
14889
|
+
fullscreen: config.fullscreen ?? this.config.fullscreen ?? false,
|
|
14890
|
+
closeable: config.closeable ?? this.config.closeable ?? true,
|
|
14891
|
+
backdrop: config.backdrop ?? this.config.backdrop ?? true,
|
|
14892
|
+
closeOnEscape: config.closeOnEscape ?? this.config.closeOnEscape ?? true,
|
|
14893
|
+
closeOnBackdropClick: config.closeOnBackdropClick ?? this.config.closeOnBackdropClick ?? true,
|
|
14894
|
+
autoFocus: config.autoFocus ?? this.config.autoFocus,
|
|
14895
|
+
restoreFocus: config.restoreFocus ?? this.config.restoreFocus ?? true,
|
|
14896
|
+
role: config.role ?? this.config.role,
|
|
14897
|
+
placement: config.placement ?? this.config.placement ?? 'center',
|
|
14898
|
+
headerSeparator: config.headerSeparator ?? this.config.headerSeparator ?? true,
|
|
14899
|
+
footerSeparator: config.footerSeparator ?? this.config.footerSeparator ?? true,
|
|
14900
|
+
radius: config.radius ?? this.config.radius,
|
|
14901
|
+
density: config.density ?? this.config.density,
|
|
14902
|
+
actionsShape: config.actionsShape ?? this.config.actionsShape,
|
|
14903
|
+
actionsDensity: config.actionsDensity ?? this.config.actionsDensity,
|
|
14904
|
+
actionsRadius: config.actionsRadius ?? this.config.actionsRadius,
|
|
14905
|
+
actionsAlign: config.actionsAlign ?? this.config.actionsAlign ?? 'end',
|
|
14906
|
+
actionsStack: config.actionsStack ?? this.config.actionsStack ?? 'auto',
|
|
14907
|
+
};
|
|
14908
|
+
}
|
|
14372
14909
|
closeAll() {
|
|
14373
14910
|
for (const entry of this.openDialogs) {
|
|
14374
14911
|
entry.ref.close();
|
|
@@ -14381,6 +14918,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
14381
14918
|
type: Injectable
|
|
14382
14919
|
}], ctorParameters: () => [] });
|
|
14383
14920
|
|
|
14921
|
+
class SolarisDialogFooterComponent {
|
|
14922
|
+
align = input('end', ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
|
|
14923
|
+
separator = input(true, { ...(ngDevMode ? { debugName: "separator" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
14924
|
+
density = input(...(ngDevMode ? [undefined, { debugName: "density" }] : /* istanbul ignore next */ []));
|
|
14925
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SolarisDialogFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14926
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.22", type: SolarisDialogFooterComponent, isStandalone: true, selector: "solaris-dialog-footer", inputs: { align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, separator: { classPropertyName: "separator", publicName: "separator", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-align": "align()", "attr.data-separator": "separator() ? '' : null", "attr.data-density": "density()" }, classAttribute: "solaris-dialog-footer" }, ngImport: i0, template: "<div class=\"solaris-dialog-footer__inner\">\n <ng-content />\n</div>\n", styles: [":host{display:block;padding:var(--solaris-spacing-0);--solaris-dialog-actions-border-color: var(--solaris-border-default)}:host([data-separator]){border-top:var(--solaris-border-width-sm) solid var(--solaris-dialog-actions-border-color)}.solaris-dialog-footer__inner{display:flex;flex-wrap:wrap;gap:var(--solaris-spacing-3);padding:var(--solaris-spacing-3)}:host([data-density=compact]) .solaris-dialog-footer__inner{gap:var(--solaris-spacing-1)}:host([data-density=normal]) .solaris-dialog-footer__inner{gap:var(--solaris-spacing-2)}:host([data-density=comfortable]) .solaris-dialog-footer__inner{gap:var(--solaris-spacing-3)}:host([data-align=start]) .solaris-dialog-footer__inner{justify-content:flex-start}:host([data-align=center]) .solaris-dialog-footer__inner{justify-content:center}:host([data-align=end]) .solaris-dialog-footer__inner{justify-content:flex-end}:host([data-align=space-between]) .solaris-dialog-footer__inner{justify-content:space-between}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14927
|
+
}
|
|
14928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SolarisDialogFooterComponent, decorators: [{
|
|
14929
|
+
type: Component,
|
|
14930
|
+
args: [{ selector: 'solaris-dialog-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
14931
|
+
class: 'solaris-dialog-footer',
|
|
14932
|
+
'[attr.data-align]': 'align()',
|
|
14933
|
+
'[attr.data-separator]': "separator() ? '' : null",
|
|
14934
|
+
'[attr.data-density]': 'density()',
|
|
14935
|
+
}, template: "<div class=\"solaris-dialog-footer__inner\">\n <ng-content />\n</div>\n", styles: [":host{display:block;padding:var(--solaris-spacing-0);--solaris-dialog-actions-border-color: var(--solaris-border-default)}:host([data-separator]){border-top:var(--solaris-border-width-sm) solid var(--solaris-dialog-actions-border-color)}.solaris-dialog-footer__inner{display:flex;flex-wrap:wrap;gap:var(--solaris-spacing-3);padding:var(--solaris-spacing-3)}:host([data-density=compact]) .solaris-dialog-footer__inner{gap:var(--solaris-spacing-1)}:host([data-density=normal]) .solaris-dialog-footer__inner{gap:var(--solaris-spacing-2)}:host([data-density=comfortable]) .solaris-dialog-footer__inner{gap:var(--solaris-spacing-3)}:host([data-align=start]) .solaris-dialog-footer__inner{justify-content:flex-start}:host([data-align=center]) .solaris-dialog-footer__inner{justify-content:center}:host([data-align=end]) .solaris-dialog-footer__inner{justify-content:flex-end}:host([data-align=space-between]) .solaris-dialog-footer__inner{justify-content:space-between}\n"] }]
|
|
14936
|
+
}], propDecorators: { align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], separator: [{ type: i0.Input, args: [{ isSignal: true, alias: "separator", required: false }] }], density: [{ type: i0.Input, args: [{ isSignal: true, alias: "density", required: false }] }] } });
|
|
14937
|
+
|
|
14938
|
+
class SolarisDialogCloseDirective {
|
|
14939
|
+
dialogRef = inject(SOLARIS_DIALOG_REF, {
|
|
14940
|
+
optional: true,
|
|
14941
|
+
});
|
|
14942
|
+
closeResult = input(undefined, { ...(ngDevMode ? { debugName: "closeResult" } : /* istanbul ignore next */ {}), alias: 'solarisDialogClose' });
|
|
14943
|
+
onClick() {
|
|
14944
|
+
this.dialogRef?.close(this.closeResult());
|
|
14945
|
+
}
|
|
14946
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SolarisDialogCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14947
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: SolarisDialogCloseDirective, isStandalone: true, selector: "[solaris-dialog-close]", inputs: { closeResult: { classPropertyName: "closeResult", publicName: "solarisDialogClose", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
14948
|
+
}
|
|
14949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SolarisDialogCloseDirective, decorators: [{
|
|
14950
|
+
type: Directive,
|
|
14951
|
+
args: [{
|
|
14952
|
+
selector: '[solaris-dialog-close]',
|
|
14953
|
+
standalone: true,
|
|
14954
|
+
}]
|
|
14955
|
+
}], propDecorators: { closeResult: [{ type: i0.Input, args: [{ isSignal: true, alias: "solarisDialogClose", required: false }] }], onClick: [{
|
|
14956
|
+
type: HostListener,
|
|
14957
|
+
args: ['click']
|
|
14958
|
+
}] } });
|
|
14959
|
+
|
|
14384
14960
|
class SolarisDialogStepComponent {
|
|
14385
14961
|
templateRef = viewChild.required(TemplateRef);
|
|
14386
14962
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SolarisDialogStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -17723,5 +18299,5 @@ function provideSolaris(config) {
|
|
|
17723
18299
|
* Generated bundle index. Do not edit.
|
|
17724
18300
|
*/
|
|
17725
18301
|
|
|
17726
|
-
export { SOLARIS_ACCESSIBILITY_CONFIG, SOLARIS_BUILT_IN_ICONS, SOLARIS_DIALOG_CONFIG, SOLARIS_DIALOG_DATA, SOLARIS_DIALOG_REF, SOLARIS_ICONS_CONFIG, SOLARIS_SEGMENTED_CONTROL, SOLARIS_STEPPER, SOLARIS_TABS, SOLARIS_THEME_CONFIG, SOLARIS_TOAST_CONFIG, SOLARIS_TRANSLATE_CONFIG, SolarisAccessibilityService, SolarisAccordionComponent, SolarisAlertActionsComponent, SolarisAlertComponent, SolarisAlertDescriptionDirective, SolarisAlertTitleDirective, SolarisAnimatedIconComponent, SolarisBadgeComponent, SolarisBadgeIconDirective, SolarisBreadcrumbComponent, SolarisButtonDirective, SolarisButtonGroupComponent, SolarisButtonIconDirective, SolarisCardActionsDirective, SolarisCardComponent, SolarisCardContentDirective, SolarisCardDescriptionDirective, SolarisCardFooterDirective, SolarisCardHeaderDirective, SolarisCardMediaDirective, SolarisCardTitleDirective, SolarisCheckboxComponent, SolarisCheckboxGroupComponent, SolarisCollapsibleComponent, SolarisDatePickerComponent, SolarisDateRangePickerComponent, SolarisDialogActionsComponent, SolarisDialogComponent, SolarisDialogContainerComponent, SolarisDialogContentComponent, SolarisDialogFlowComponent, SolarisDialogHeaderComponent, SolarisDialogRef, SolarisDialogService, SolarisDialogStepComponent, SolarisDividerComponent, SolarisDividerStackComponent, SolarisDropdownMenuComponent, SolarisDropdownMenuGroupComponent, SolarisDropdownMenuItemComponent, SolarisDropdownMenuLabelComponent, SolarisDropdownMenuTriggerDirective, SolarisDropdownSubmenuComponent, SolarisDropdownSubmenuTriggerComponent, SolarisEditableTabComponent, SolarisEditableTabsComponent, SolarisEmailFieldComponent, SolarisFormErrorComponent, SolarisFormFieldComponent, SolarisFormHintComponent, SolarisFormLabelActionDirective, SolarisFormLabelComponent, SolarisFormPrefixDirective, SolarisFormSuffixDirective, SolarisIconButtonBadgeDirective, SolarisIconButtonDirective, SolarisIconComponent, SolarisIconRegistryService, SolarisInputDirective, SolarisLoadingTextComponent, SolarisMegaMenuAnchorDirective, SolarisMegaMenuComponent, SolarisMegaMenuGroupDirective, SolarisMegaMenuPanelDirective, SolarisMegaMenuTriggerDirective, SolarisMenuToggleDirective, SolarisMultiSelectComponent, SolarisOptionComponent, SolarisOptionDescriptionDirective, SolarisOptionGroupComponent, SolarisOptionLabelDirective, SolarisOptionLeadingDirective, SolarisOptionMetaDirective, SolarisOptionTrailingDirective, SolarisOtpInputComponent, SolarisPasswordFieldComponent, SolarisPhoneCountryListComponent, SolarisPhoneFieldComponent, SolarisPopoverDirective, SolarisPopoverPanelComponent, SolarisPopoverTriggerDirective, SolarisProgressComponent, SolarisRadioComponent, SolarisRadioGroupComponent, SolarisSegmentedControlComponent, SolarisSegmentedItemComponent, SolarisSelectComponent, SolarisSelectionCardComponent, SolarisSelectionCardContentDirective, SolarisSelectionCardDescriptionDirective, SolarisSelectionCardFooterDirective, SolarisSelectionCardHeaderDirective, SolarisSelectionCardMediaDirective, SolarisSelectionCardTitleDirective, SolarisSkeletonComponent, SolarisSpinnerComponent, SolarisStepComponent, SolarisStepperActionsComponent, SolarisStepperComponent, SolarisStepperContentComponent, SolarisSwitchComponent, SolarisSwitchGroupComponent, SolarisTabComponent, SolarisTabPanelComponent, SolarisTabsComponent, SolarisTextareaDirective, SolarisThemeService, SolarisToastComponent, SolarisToastContainerComponent, SolarisToastService, SolarisTooltipDirective, SolarisTooltipPanelComponent, SolarisTranslatePipe, SolarisTranslateService, SolarisVisuallyHiddenDirective, configureSolarisTesting, nextIdFor, provideSolaris, provideSolarisAccessibilityTesting, provideSolarisTesting, provideSolarisThemeTesting, provideSolarisTranslateTesting, resolveElementId, solarisAllowedDomainsValidator, solarisBlockedDomainsValidator, solarisEmailValidator, solarisOtpValidator, solarisPasswordValidator, solarisPhoneValidator };
|
|
18302
|
+
export { SOLARIS_ACCESSIBILITY_CONFIG, SOLARIS_BUILT_IN_ICONS, SOLARIS_DIALOG_CONFIG, SOLARIS_DIALOG_DATA, SOLARIS_DIALOG_REF, SOLARIS_ICONS_CONFIG, SOLARIS_SEGMENTED_CONTROL, SOLARIS_STEPPER, SOLARIS_TABS, SOLARIS_THEME_CONFIG, SOLARIS_TOAST_CONFIG, SOLARIS_TRANSLATE_CONFIG, SolarisAccessibilityService, SolarisAccordionComponent, SolarisAlertActionsComponent, SolarisAlertComponent, SolarisAlertDescriptionDirective, SolarisAlertTitleDirective, SolarisAnimatedIconComponent, SolarisBadgeComponent, SolarisBadgeIconDirective, SolarisBreadcrumbComponent, SolarisButtonDirective, SolarisButtonGroupComponent, SolarisButtonIconDirective, SolarisCardActionsDirective, SolarisCardComponent, SolarisCardContentDirective, SolarisCardDescriptionDirective, SolarisCardFooterDirective, SolarisCardHeaderDirective, SolarisCardMediaDirective, SolarisCardTitleDirective, SolarisCheckboxComponent, SolarisCheckboxGroupComponent, SolarisCollapsibleComponent, SolarisDatePickerComponent, SolarisDateRangePickerComponent, SolarisDialogActionsComponent, SolarisDialogCloseDirective, SolarisDialogComponent, SolarisDialogContainerComponent, SolarisDialogContentComponent, SolarisDialogFlowComponent, SolarisDialogFooterComponent, SolarisDialogHeaderComponent, SolarisDialogRef, SolarisDialogService, SolarisDialogStepComponent, SolarisDividerComponent, SolarisDividerStackComponent, SolarisDropdownMenuComponent, SolarisDropdownMenuGroupComponent, SolarisDropdownMenuItemComponent, SolarisDropdownMenuLabelComponent, SolarisDropdownMenuTriggerDirective, SolarisDropdownSubmenuComponent, SolarisDropdownSubmenuTriggerComponent, SolarisEditableTabComponent, SolarisEditableTabsComponent, SolarisEmailFieldComponent, SolarisFormErrorComponent, SolarisFormFieldComponent, SolarisFormHintComponent, SolarisFormLabelActionDirective, SolarisFormLabelComponent, SolarisFormPrefixDirective, SolarisFormSuffixDirective, SolarisIconButtonBadgeDirective, SolarisIconButtonDirective, SolarisIconComponent, SolarisIconRegistryService, SolarisInputDirective, SolarisLoadingTextComponent, SolarisMegaMenuAnchorDirective, SolarisMegaMenuComponent, SolarisMegaMenuGroupDirective, SolarisMegaMenuPanelDirective, SolarisMegaMenuTriggerDirective, SolarisMenuToggleDirective, SolarisMultiSelectComponent, SolarisOptionComponent, SolarisOptionDescriptionDirective, SolarisOptionGroupComponent, SolarisOptionLabelDirective, SolarisOptionLeadingDirective, SolarisOptionMetaDirective, SolarisOptionTrailingDirective, SolarisOtpInputComponent, SolarisPasswordFieldComponent, SolarisPhoneCountryListComponent, SolarisPhoneFieldComponent, SolarisPopoverDirective, SolarisPopoverPanelComponent, SolarisPopoverTriggerDirective, SolarisProgressComponent, SolarisRadioComponent, SolarisRadioGroupComponent, SolarisSegmentedControlComponent, SolarisSegmentedItemComponent, SolarisSelectComponent, SolarisSelectionCardComponent, SolarisSelectionCardContentDirective, SolarisSelectionCardDescriptionDirective, SolarisSelectionCardFooterDirective, SolarisSelectionCardHeaderDirective, SolarisSelectionCardMediaDirective, SolarisSelectionCardTitleDirective, SolarisSkeletonComponent, SolarisSpinnerComponent, SolarisStepComponent, SolarisStepperActionsComponent, SolarisStepperComponent, SolarisStepperContentComponent, SolarisSwitchComponent, SolarisSwitchGroupComponent, SolarisTabComponent, SolarisTabPanelComponent, SolarisTabsComponent, SolarisTextareaDirective, SolarisThemeService, SolarisToastComponent, SolarisToastContainerComponent, SolarisToastService, SolarisTooltipDirective, SolarisTooltipPanelComponent, SolarisTranslatePipe, SolarisTranslateService, SolarisVisuallyHiddenDirective, configureSolarisTesting, nextIdFor, provideSolaris, provideSolarisAccessibilityTesting, provideSolarisTesting, provideSolarisThemeTesting, provideSolarisTranslateTesting, resolveElementId, solarisAllowedDomainsValidator, solarisBlockedDomainsValidator, solarisEmailValidator, solarisOtpValidator, solarisPasswordValidator, solarisPhoneValidator };
|
|
17727
18303
|
//# sourceMappingURL=educarehq-solaris-ui.mjs.map
|