@webority/ui-elements 0.8.3 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui-elements.global.js +74 -74
- package/dist/ui-elements.js +375 -227
- package/package.json +1 -1
package/dist/ui-elements.js
CHANGED
|
@@ -48,8 +48,156 @@ function c(e, t) {
|
|
|
48
48
|
r.disabled = e.hasAttribute("disabled");
|
|
49
49
|
}
|
|
50
50
|
//#endregion
|
|
51
|
+
//#region src/iconGlyphs.g.js
|
|
52
|
+
var l = {
|
|
53
|
+
activity: "<path d=\"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m7.33 14.49 2.38-3.09c.34-.44.97-.52 1.41-.18l1.83 1.44c.44.34 1.07.26 1.41-.17l2.31-2.98\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
54
|
+
alarm: "<path d=\"M2 22h20M12 6a9 9 0 0 0-9 9v7h18v-7a9 9 0 0 0-9-9ZM12 2v1M4 4l1 1M20 4l-1 1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
55
|
+
"alert-circle": "<path d=\"M12 7.75V13M21.08 8.58v6.84c0 1.12-.6 2.16-1.57 2.73l-5.94 3.43c-.97.56-2.17.56-3.15 0l-5.94-3.43a3.15 3.15 0 0 1-1.57-2.73V8.58c0-1.12.6-2.16 1.57-2.73l5.94-3.43c.97-.56 2.17-.56 3.15 0l5.94 3.43c.97.57 1.57 1.6 1.57 2.73Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 16.2v.1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
56
|
+
"alert-triangle": "<path d=\"M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12v-.01Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M11.995 17h.009\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
57
|
+
"arrow-down": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M18.07 14.43L12 20.5l-6.07-6.07M12 3.5v16.83\"></path>",
|
|
58
|
+
"arrow-down-up": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M9.01 20.5l-5.02-5.01M9.01 3.5v17M14.99 3.5l5.02 5.01M14.99 20.5v-17\"></path>",
|
|
59
|
+
"arrow-left": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M9.57 5.93L3.5 12l6.07 6.07M20.5 12H3.67\"></path>",
|
|
60
|
+
"arrow-right": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M14.43 5.93L20.5 12l-6.07 6.07M3.5 12h16.83\"></path>",
|
|
61
|
+
"arrow-up": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M18.07 9.57L12 3.5 5.93 9.57M12 20.5V3.67\"></path>",
|
|
62
|
+
"arrow-up-right": "<g transform=\"rotate(-45 12 12)\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M14.43 5.93L20.5 12l-6.07 6.07M3.5 12h16.83\"></path></g>",
|
|
63
|
+
"badge-check": "<path d=\"m8.38 12 2.41 2.42 4.83-4.84\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M10.75 2.45c.69-.59 1.82-.59 2.52 0l1.58 1.36c.3.26.86.47 1.26.47h1.7c1.06 0 1.93.87 1.93 1.93v1.7c0 .39.21.96.47 1.26l1.36 1.58c.59.69.59 1.82 0 2.52l-1.36 1.58c-.26.3-.47.86-.47 1.26v1.7c0 1.06-.87 1.93-1.93 1.93h-1.7c-.39 0-.96.21-1.26.47l-1.58 1.36c-.69.59-1.82.59-2.52 0l-1.58-1.36c-.3-.26-.86-.47-1.26-.47H6.18c-1.06 0-1.93-.87-1.93-1.93V16.1c0-.39-.21-.95-.46-1.25l-1.35-1.59c-.58-.69-.58-1.81 0-2.5l1.35-1.59c.25-.3.46-.86.46-1.25V6.2c0-1.06.87-1.93 1.93-1.93h1.73c.39 0 .96-.21 1.26-.47l1.58-1.35Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
64
|
+
bell: "<path d=\"M12.02 2.91c-3.31 0-6 2.69-6 6v2.89c0 .61-.26 1.54-.57 2.06L4.3 15.77c-.71 1.18-.22 2.49 1.08 2.93 4.31 1.44 8.96 1.44 13.27 0 1.21-.4 1.74-1.83 1.08-2.93l-1.15-1.91c-.3-.52-.56-1.45-.56-2.06V8.91c0-3.3-2.7-6-6-6Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"></path><path d=\"M13.87 3.2a6.754 6.754 0 0 0-3.7 0c.29-.74 1.01-1.26 1.85-1.26.84 0 1.56.52 1.85 1.26Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M15.02 19.06c0 1.65-1.35 3-3 3-.82 0-1.58-.34-2.12-.88a3.01 3.01 0 0 1-.88-2.12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path>",
|
|
65
|
+
book: "<path d=\"M22 16.74V4.67c0-1.2-.98-2.09-2.17-1.99h-.06c-2.1.18-5.29 1.25-7.07 2.37l-.17.11c-.29.18-.77.18-1.06 0l-.25-.15C9.44 3.9 6.26 2.84 4.16 2.67 2.97 2.57 2 3.47 2 4.66v12.08c0 .96.78 1.86 1.74 1.98l.29.04c2.17.29 5.52 1.39 7.44 2.44l.04.02c.27.15.7.15.96 0 1.92-1.06 5.28-2.17 7.46-2.46l.33-.04c.96-.12 1.74-1.02 1.74-1.98ZM12 5.49v15M7.75 8.49H5.5M8.5 11.49h-3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
66
|
+
"box-seam": "<path d=\"M3.17 7.44 12 12.55l8.77-5.08M12 21.61v-9.07\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M9.93 2.48 4.59 5.45c-1.21.67-2.2 2.35-2.2 3.73v5.65c0 1.38.99 3.06 2.2 3.73l5.34 2.97c1.14.63 3.01.63 4.15 0l5.34-2.97c1.21-.67 2.2-2.35 2.2-3.73V9.18c0-1.38-.99-3.06-2.2-3.73l-5.34-2.97c-1.15-.64-3.01-.64-4.15 0Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M17 13.24V9.58L7.51 4.1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
67
|
+
briefcase: "<path d=\"M8 22h8c4.02 0 4.74-1.61 4.95-3.57l.75-8C21.97 7.99 21.27 6 17 6H7c-4.27 0-4.97 1.99-4.7 4.43l.75 8C3.26 20.39 3.98 22 8 22ZM8 6v-.8C8 3.43 8 2 11.2 2h1.6C16 2 16 3.43 16 5.2V6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M14 13v1.02c0 1.09-.01 1.98-2 1.98-1.98 0-2-.88-2-1.97V13c0-1 0-1 1-1h2c1 0 1 0 1 1ZM21.65 11A16.484 16.484 0 0 1 14 14.02M2.62 11.27c2.25 1.54 4.79 2.47 7.38 2.76\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
68
|
+
bug: "<path d=\"M12 8.5c-3.3 0-5.5 2.6-5.5 6s2.2 6 5.5 6 5.5-2.6 5.5-6-2.2-6-5.5-6ZM12 10v10.5M9.6 6.8 8 4.5M14.4 6.8 16 4.5M6.5 12.5H3.8M6.8 16.5l-2.3 1.3M17.5 12.5h2.7M17.2 16.5l2.3 1.3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>",
|
|
69
|
+
building: "<path d=\"M12.5 22H4.08c-1.16 0-2.11-.93-2.11-2.07V5.09c0-2.62 1.95-3.81 4.34-2.64l4.44 2.18c.96.47 1.75 1.72 1.75 2.78V22ZM21.97 15.06v3.78c0 2.16-1 3.16-3.16 3.16H12.5V10.42l.47.1 4.5 1.01 2.03.45c1.32.29 2.4.97 2.46 2.89.01.06.01.12.01.19ZM5.5 9h3.47M5.5 13h3.47\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M17.47 11.53v3.22c0 1.24-1.01 2.25-2.25 2.25s-2.25-1.01-2.25-2.25v-4.23l4.5 1.01ZM21.96 14.87A2.249 2.249 0 0 1 19.72 17c-1.24 0-2.25-1.01-2.25-2.25v-3.22l2.03.45c1.32.29 2.4.97 2.46 2.89Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
70
|
+
"building-2": "<path d=\"M6.7 18H4.15C2.72 18 2 17.28 2 15.85V4.15C2 2.72 2.72 2 4.15 2h4.3c1.43 0 2.15.72 2.15 2.15V6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M17.37 8.42v11.16c0 1.61-.8 2.42-2.41 2.42H9.12c-1.61 0-2.42-.81-2.42-2.42V8.42C6.7 6.81 7.51 6 9.12 6h5.84c1.61 0 2.41.81 2.41 2.42Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M13.4 6V4.15c0-1.43.72-2.15 2.15-2.15h4.3C21.28 2 22 2.72 22 4.15v11.7c0 1.43-.72 2.15-2.15 2.15h-2.48M10 11h4M10 14h4M12 22v-3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
71
|
+
bullseye: "<path d=\"M12 19.5a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM12 4V2M4 12H2M12 20v2M20 12h2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
72
|
+
calculator: "<path d=\"M10 22h4c5 0 7-2 7-7V9c0-5-2-7-7-7h-4C5 2 3 4 3 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M16.5 7.58v1c0 .82-.67 1.5-1.5 1.5H9c-.82 0-1.5-.67-1.5-1.5v-1c0-.82.67-1.5 1.5-1.5h6c.83 0 1.5.67 1.5 1.5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8.136 14h.012M11.995 14h.012M15.854 14h.012M8.136 17.5h.012M11.995 17.5h.012M15.854 17.5h.012\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
73
|
+
calendar: "<path d=\"M8 2v3M16 2v3M3.5 9.09h17M21 8.5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M15.695 13.7h.009M15.695 16.7h.009M11.995 13.7h.01M11.995 16.7h.01M8.294 13.7h.01M8.294 16.7h.01\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
74
|
+
"calendar-check": "<path d=\"M8 2v3M16 2v3M3.5 9.09h17M22 19c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 18 23c-1.01 0-1.93-.37-2.63-1-.31-.26-.58-.58-.79-.94A3.92 3.92 0 0 1 14 19c0-2.21 1.79-4 4-4 1.2 0 2.27.53 3 1.36A4 4 0 0 1 22 19Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m16.44 19 .99.99 2.13-1.97\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M21 8.5v7.86c-.73-.83-1.8-1.36-3-1.36-2.21 0-4 1.79-4 4 0 .75.21 1.46.58 2.06.21.36.48.68.79.94H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M11.995 13.7h.01M8.294 13.7h.01M8.294 16.7h.01\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
75
|
+
"calendar-dots": "<path d=\"M8 2v3M16 2v3M16 3.5c3.33.18 5 1.45 5 6.15v6.18c0 4.12-1 6.18-6 6.18H9c-5 0-6-2.06-6-6.18V9.65c0-4.7 1.67-5.96 5-6.15h8ZM20.75 17.6H3.25\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 8.25c-1.23 0-2.27.67-2.27 1.97 0 .62.29 1.09.73 1.39-.61.36-.96.94-.96 1.62 0 1.24.95 2.01 2.5 2.01 1.54 0 2.5-.77 2.5-2.01 0-.68-.35-1.27-.97-1.62.45-.31.73-.77.73-1.39 0-1.3-1.03-1.97-2.26-1.97Zm0 2.84c-.52 0-.9-.31-.9-.8 0-.5.38-.79.9-.79s.9.29.9.79c0 .49-.38.8-.9.8ZM12 14c-.66 0-1.14-.33-1.14-.93 0-.6.48-.92 1.14-.92.66 0 1.14.33 1.14.92 0 .6-.48.93-1.14.93Z\" fill=\"currentColor\"></path>",
|
|
76
|
+
camera: "<path d=\"M6.76 22h10.48c2.76 0 3.86-1.69 3.99-3.75l.52-8.26A3.753 3.753 0 0 0 18 6c-.61 0-1.17-.35-1.45-.89l-.72-1.45C15.37 2.75 14.17 2 13.15 2h-2.29c-1.03 0-2.23.75-2.69 1.66l-.72 1.45C7.17 5.65 6.61 6 6 6 3.83 6 2.11 7.83 2.25 9.99l.52 8.26C2.89 20.31 4 22 6.76 22ZM10.5 8h3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 18c1.79 0 3.25-1.46 3.25-3.25S13.79 11.5 12 11.5s-3.25 1.46-3.25 3.25S10.21 18 12 18Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
77
|
+
"cash-stack": "<path d=\"M19.3 7.92v5.15c0 3.08-1.76 4.4-4.4 4.4H6.11c-.45 0-.88-.04-1.28-.13-.25-.04-.49-.11-.71-.19-1.5-.56-2.41-1.86-2.41-4.08V7.92c0-3.08 1.76-4.4 4.4-4.4h8.79c2.24 0 3.85.95 4.28 3.12.07.4.12.81.12 1.28Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M22.301 10.92v5.15c0 3.08-1.76 4.4-4.4 4.4h-8.79c-.74 0-1.41-.1-1.99-.32-1.19-.44-2-1.35-2.29-2.81.4.09.83.13 1.28.13h8.79c2.64 0 4.4-1.32 4.4-4.4V7.92c0-.47-.04-.89-.12-1.28 1.9.4 3.12 1.74 3.12 4.28Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M10.498 13.14a2.64 2.64 0 1 0 0-5.28 2.64 2.64 0 0 0 0 5.28ZM4.78 8.3v4.4M16.222 8.3v4.4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
78
|
+
chart: "<path d=\"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M15.5 18.5c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2s-2 .9-2 2v9a2 2 0 0 0 2 2ZM8.5 18.5c1.1 0 2-.9 2-2V13c0-1.1-.9-2-2-2s-2 .9-2 2v3.5a2 2 0 0 0 2 2Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
79
|
+
"chart-column": "<path d=\"M3 22h18M5.6 8.38H4c-.55 0-1 .45-1 1V18c0 .55.45 1 1 1h1.6c.55 0 1-.45 1-1V9.38c0-.55-.45-1-1-1ZM12.8 5.19h-1.6c-.55 0-1 .45-1 1V18c0 .55.45 1 1 1h1.6c.55 0 1-.45 1-1V6.19c0-.55-.45-1-1-1ZM20 2h-1.6c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1H20c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
80
|
+
chat: "<path d=\"M8.5 19H8c-4 0-6-1-6-6V8c0-4 2-6 6-6h8c4 0 6 2 6 6v5c0 4-2 6-6 6h-.5c-.31 0-.61.15-.8.4l-1.5 2c-.66.88-1.74.88-2.4 0l-1.5-2c-.16-.22-.53-.4-.8-.4Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M15.996 11h.01M11.995 11h.01M7.995 11h.008\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
81
|
+
"chat-dots": "<path d=\"M8.5 19H8c-4 0-6-1-6-6V8c0-4 2-6 6-6h8c4 0 6 2 6 6v5c0 4-2 6-6 6h-.5c-.31 0-.61.15-.8.4l-1.5 2c-.66.88-1.74.88-2.4 0l-1.5-2c-.16-.22-.53-.4-.8-.4Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M7 8h10M7 13h6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
82
|
+
check: "<path d=\"m5 12.75 4.5 4.5L19 7.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>",
|
|
83
|
+
"check-check": "<path d=\"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m7.75 12 2.83 2.83 5.67-5.66\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
84
|
+
"check-circle": "<path d=\"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m7.75 12 2.83 2.83 5.67-5.66\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
85
|
+
"chevron-down": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95\"></path>",
|
|
86
|
+
"chevron-left": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M15 19.92L8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08\"></path>",
|
|
87
|
+
"chevron-right": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08\"></path>",
|
|
88
|
+
"chevron-up": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52\"></path>",
|
|
89
|
+
"chevrons-up-down": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M9.01 20.5l-5.02-5.01M9.01 3.5v17M14.99 3.5l5.02 5.01M14.99 20.5v-17\"></path>",
|
|
90
|
+
circle: "<path d=\"M11.97 22c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 16.23a4.23 4.23 0 1 0 0-8.46 4.23 4.23 0 0 0 0 8.46Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
91
|
+
"circle-help": "<path d=\"M17 18.43h-4l-4.45 2.96A.997.997 0 0 1 7 20.56v-2.13c-3 0-5-2-5-5v-6c0-3 2-5 5-5h10c3 0 5 2 5 5v6c0 3-2 5-5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 11.36v-.21c0-.68.42-1.04.84-1.33.41-.28.82-.64.82-1.3 0-.92-.74-1.66-1.66-1.66-.92 0-1.66.74-1.66 1.66M11.995 13.75h.01\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
92
|
+
"clipboard-check": "<path d=\"m9.31 14.7 1.5 1.5 4-4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M10 6h4c2 0 2-1 2-2 0-2-1-2-2-2h-4C9 2 8 2 8 4s1 2 2 2Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M16 4.02c3.33.18 5 1.41 5 5.98v6c0 4-1 6-6 6H9c-5 0-6-2-6-6v-6c0-4.56 1.67-5.8 5-5.98\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
93
|
+
clock: "<path d=\"M22 12c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2s10 4.48 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m15.71 15.18-3.1-1.85c-.54-.32-.98-1.09-.98-1.72v-4.1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
94
|
+
cloud: "<path d=\"M7.27 13.01a3.79 3.79 0 0 0-1.72-.41c-4.68.33-4.68 7.14 0 7.47h11.09c1.35.01 2.65-.49 3.64-1.4 3.29-2.87 1.53-8.64-2.8-9.19C15.92.11 2.39 3.67 5.6 12.6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M15.85 9.92c.52-.26 1.09-.4 1.67-.41\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
95
|
+
coins: "<path d=\"M18.5 12.65v3.7c0 3.12-2.91 5.65-6.5 5.65s-6.5-2.53-6.5-5.65v-3.7C5.5 15.77 8.41 18 12 18s6.5-2.23 6.5-5.35Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M18.5 7.65c0 .91-.25 1.75-.69 2.47C16.74 11.88 14.54 13 12 13c-2.54 0-4.74-1.12-5.81-2.88-.44-.72-.69-1.56-.69-2.47 0-1.56.73-2.97 1.9-3.99C8.58 2.63 10.2 2 12 2c1.8 0 3.42.63 4.6 1.65 1.17 1.03 1.9 2.44 1.9 4Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M18.5 7.65v5c0 3.12-2.91 5.35-6.5 5.35s-6.5-2.23-6.5-5.35v-5C5.5 4.53 8.41 2 12 2c1.8 0 3.42.63 4.6 1.65 1.17 1.03 1.9 2.44 1.9 4Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
96
|
+
contact: "<path d=\"M17 21H7c-4 0-5-1-5-5V8c0-4 1-5 5-5h10c4 0 5 1 5 5v8c0 4-1 5-5 5ZM14 8h5M15 12h4M17 16h2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8.5 11.29a1.81 1.81 0 1 0 0-3.62 1.81 1.81 0 0 0 0 3.62ZM12 16.33a3.02 3.02 0 0 0-2.74-2.72 7.72 7.72 0 0 0-1.52 0A3.03 3.03 0 0 0 5 16.33\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
97
|
+
copy: "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M16 12.9v4.2c0 3.5-1.4 4.9-4.9 4.9H6.9C3.4 22 2 20.6 2 17.1v-4.2C2 9.4 3.4 8 6.9 8h4.2c3.5 0 4.9 1.4 4.9 4.9z\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M22 6.9v4.2c0 3.5-1.4 4.9-4.9 4.9H16v-3.1C16 9.4 14.6 8 11.1 8H8V6.9C8 3.4 9.4 2 12.9 2h4.2C20.6 2 22 3.4 22 6.9z\"></path>",
|
|
98
|
+
"credit-card": "<path d=\"M2 8.505h20M6 16.505h2M10.5 16.505h4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M6.44 3.505h11.11c3.56 0 4.45.88 4.45 4.39v8.21c0 3.51-.89 4.39-4.44 4.39H6.44c-3.55.01-4.44-.87-4.44-4.38v-8.22c0-3.51.89-4.39 4.44-4.39Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
99
|
+
cursor: "<path d=\"m16.15 12.83-1.73.58c-.48.16-.85.53-1.01 1.01l-.58 1.73c-.49 1.49-2.59 1.46-3.05-.03L7.83 9.84c-.38-1.25.77-2.4 2-2.02l6.29 1.95c1.49.47 1.51 2.57.03 3.06Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
100
|
+
"diagram-3": "<path d=\"M5 15V8M5.25 22a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM5 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM19 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM5.13 15a4.058 4.058 0 0 1 3.94-3.04l3.43.01c2.62.01 4.85-1.67 5.67-4.01\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
101
|
+
display: "<path d=\"M6.44 2h11.11C21.11 2 22 2.89 22 6.44v6.33c0 3.56-.89 4.44-4.44 4.44H6.44C2.89 17.22 2 16.33 2 12.78V6.44C2 2.89 2.89 2 6.44 2ZM12 17.22V22M2 13h20M7.5 22h9\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
102
|
+
download: "<path d=\"M9 11v6l2-2M9 17l-2-2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M22 10v5c0 5-2 7-7 7H9c-5 0-7-2-7-7V9c0-5 2-7 7-7h5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M22 10h-4c-3 0-4-1-4-4V2l8 8Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
103
|
+
edit: "<path d=\"m13.26 3.6-8.21 8.69c-.31.33-.61.98-.67 1.43l-.37 3.24c-.13 1.17.71 1.97 1.87 1.77l3.22-.55c.45-.08 1.08-.41 1.39-.75l8.21-8.69c1.42-1.5 2.06-3.21-.15-5.3-2.2-2.07-3.87-1.34-5.29.16Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
104
|
+
"emoji-smile": "<path d=\"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M15.5 9.75a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM8.5 9.75a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM8.4 13.3h7.2c.5 0 .9.4.9.9 0 2.49-2.01 4.5-4.5 4.5s-4.5-2.01-4.5-4.5c0-.5.4-.9.9-.9Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
105
|
+
"external-link": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M13 11l8.2-8.2M22 6.8V2h-4.8M11 2H9C4 2 2 4 2 9v6c0 5 2 7 7 7h6c5 0 7-2 7-7v-2\"></path>",
|
|
106
|
+
eye: "<path d=\"M15.58 12c0 1.98-1.6 3.58-3.58 3.58S8.42 13.98 8.42 12s1.6-3.58 3.58-3.58 3.58 1.6 3.58 3.58Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 20.27c3.53 0 6.82-2.08 9.11-5.68.9-1.41.9-3.78 0-5.19-2.29-3.6-5.58-5.68-9.11-5.68-3.53 0-6.82 2.08-9.11 5.68-.9 1.41-.9 3.78 0 5.19 2.29 3.6 5.58 5.68 9.11 5.68Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
107
|
+
"eye-off": "<path d=\"m14.53 9.47-5.06 5.06a3.576 3.576 0 1 1 5.06-5.06Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M17.82 5.77C16.07 4.45 14.07 3.73 12 3.73c-3.53 0-6.82 2.08-9.11 5.68-.9 1.41-.9 3.78 0 5.19.79 1.24 1.71 2.31 2.71 3.17M8.42 19.53c1.14.48 2.35.74 3.58.74 3.53 0 6.82-2.08 9.11-5.68.9-1.41.9-3.78 0-5.19-.33-.52-.69-1.01-1.06-1.47\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M15.51 12.7a3.565 3.565 0 0 1-2.82 2.82M9.47 14.53 2 22M22 2l-7.47 7.47\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
108
|
+
factory: "<path d=\"M13 22H5c-2 0-3-1-3-3v-8c0-2 1-3 3-3h5v11c0 2 1 3 3 3ZM10.11 4c-.08.3-.11.63-.11 1v3H5V6c0-1.1.9-2 2-2h3.11ZM14 8v5M18 8v5M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1ZM6 13v4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M10 19V5c0-2 1-3 3-3h6c2 0 3 1 3 3v14c0 2-1 3-3 3h-6c-2 0-3-1-3-3Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
109
|
+
"file-plus-2": "<path d=\"M9.56 18v-5M12 15.5H7M8 2v3M16 2v3M15.81 3.42c3.34.12 5.03 1.35 5.13 6.05l.13 6.17c.08 4.12-.87 6.19-5.87 6.3l-6 .12c-5 .1-6.04-1.94-6.12-6.05l-.14-6.18c-.1-4.7 1.55-6 4.87-6.25l8-.16Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
110
|
+
"file-text": "<path d=\"M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
111
|
+
files: "<path d=\"M17 13.4v3c0 4-1.6 5.6-5.6 5.6H7.6c-4 0-5.6-1.6-5.6-5.6v-3.8C2 8.6 3.6 7 7.6 7h3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M17 13.4h-3.2c-2.4 0-3.2-.8-3.2-3.2V7l6.4 6.4ZM11.6 2h4M7 5c0-1.66 1.34-3 3-3h2.62M22 8v6.19c0 1.55-1.26 2.81-2.81 2.81M22 8h-3c-2.25 0-3-.75-3-3V2l6 6Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
112
|
+
filter: "<path d=\"M5.4 2.1h13.2c1.1 0 2 .9 2 2v2.2c0 .8-.5 1.8-1 2.3l-4.3 3.8c-.6.5-1 1.5-1 2.3V19c0 .6-.4 1.4-.9 1.7l-1.4.9c-1.3.8-3.1-.1-3.1-1.7v-5.3c0-.7-.4-1.6-.8-2.1l-3.8-4c-.5-.5-.9-1.4-.9-2V4.2c0-1.2.9-2.1 2-2.1ZM10.93 2.1 6 10\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
113
|
+
flag: "<path d=\"M5.15 2v20M5.15 4h11.2c2.7 0 3.3 1.5 1.4 3.4l-1.2 1.2c-.8.8-.8 2.1 0 2.8l1.2 1.2c1.9 1.9 1.2 3.4-1.4 3.4H5.15\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
114
|
+
folder: "<path d=\"M22 11v6c0 4-1 5-5 5H7c-4 0-5-1-5-5V7c0-4 1-5 5-5h1.5c1.5 0 1.83.44 2.4 1.2l1.5 2c.38.5.6.8 1.6.8h3c4 0 5 1 5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path>",
|
|
115
|
+
"folder-kanban": "<path d=\"M10.5 19.9V4.1c0-1.5-.64-2.1-2.23-2.1H4.23C2.64 2 2 2.6 2 4.1v15.8c0 1.5.64 2.1 2.23 2.1h4.04c1.59 0 2.23-.6 2.23-2.1ZM22 12.9V4.1c0-1.5-.64-2.1-2.23-2.1h-4.04c-1.59 0-2.23.6-2.23 2.1v8.8c0 1.5.64 2.1 2.23 2.1h4.04c1.59 0 2.23-.6 2.23-2.1Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
116
|
+
"folder-open": "<path d=\"m21.67 14.3-.4 5c-.15 1.53-.27 2.7-2.98 2.7H5.71C3 22 2.88 20.83 2.73 19.3l-.4-5c-.08-.83.18-1.6.65-2.19l.02-.02C3.55 11.42 4.38 11 5.31 11h13.38c.93 0 1.75.42 2.29 1.07.01.01.02.02.02.03.49.59.76 1.36.67 2.2Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path><path d=\"M3.5 11.43V6.28c0-3.4.85-4.25 4.25-4.25h1.27c1.27 0 1.56.38 2.04 1.02l1.27 1.7c.32.42.51.68 1.36.68h2.55c3.4 0 4.25.85 4.25 4.25v1.79M9.43 17h5.14\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
117
|
+
"folder-plus": "<path d=\"M12.06 16.5v-5M14.5 14h-5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M22 11v6c0 4-1 5-5 5H7c-4 0-5-1-5-5V7c0-4 1-5 5-5h1.5c1.5 0 1.83.44 2.4 1.2l1.5 2c.38.5.6.8 1.6.8h3c4 0 5 1 5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path>",
|
|
118
|
+
gauge: "<path d=\"M19.14 19.5a9.964 9.964 0 0 0 2.86-7c0-5.52-4.48-10-10-10S2 6.98 2 12.5c0 2.72 1.08 5.18 2.84 6.99\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 21.5a3.38 3.38 0 1 0 0-6.76 3.38 3.38 0 0 0 0 6.76ZM15.25 12H16c.82 0 1.5-.67 1.5-1.5 0-.82-.68-1.5-1.5-1.5s-1.5.67-1.5 1.5v.75c0 .41.34.75.75.75Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
119
|
+
gift: "<path d=\"M19.97 10h-16v8c0 3 1 4 4 4h8c3 0 4-1 4-4v-8ZM21.5 7v1c0 1.1-.53 2-2 2h-15c-1.53 0-2-.9-2-2V7c0-1.1.47-2 2-2h15c1.47 0 2 .9 2 2ZM11.64 5H6.12a.936.936 0 0 1 .03-1.3l1.42-1.42a.96.96 0 0 1 1.35 0L11.64 5ZM17.87 5h-5.52l2.72-2.72a.96.96 0 0 1 1.35 0l1.42 1.42c.36.36.37.93.03 1.3Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8.94 10v5.14c0 .8.88 1.27 1.55.84l.94-.62a1 1 0 0 1 1.1 0l.89.6a.997.997 0 0 0 1.55-.83V10H8.94Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
120
|
+
globe: "<path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8 3h1a28.424 28.424 0 0 0 0 18H8M15 3a28.424 28.424 0 0 1 0 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M3 16v-1a28.424 28.424 0 0 0 18 0v1M3 9a28.424 28.424 0 0 1 18 0\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
121
|
+
globe2: "<path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8 3h1a28.424 28.424 0 0 0 0 18H8M15 3a28.424 28.424 0 0 1 0 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M3 16v-1a28.424 28.424 0 0 0 18 0v1M3 9a28.424 28.424 0 0 1 18 0\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
122
|
+
grid: "<path d=\"M22 8.52V3.98C22 2.57 21.36 2 19.77 2h-4.04c-1.59 0-2.23.57-2.23 1.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97ZM22 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23ZM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97ZM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
123
|
+
heart: "<path d=\"M12.62 20.81c-.34.12-.9.12-1.24 0C8.48 19.82 2 15.69 2 8.69 2 5.6 4.49 3.1 7.56 3.1c1.82 0 3.43.88 4.44 2.24a5.53 5.53 0 0 1 4.44-2.24C19.51 3.1 22 5.6 22 8.69c0 7-6.48 11.13-9.38 12.12Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
124
|
+
history: "<path d=\"M20.75 13.25c0 4.83-3.92 8.75-8.75 8.75s-8.75-3.92-8.75-8.75S7.17 4.5 12 4.5s8.75 3.92 8.75 8.75ZM12 8v5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M9 2h6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
125
|
+
house: "<path d=\"m9.02 2.84-5.39 4.2C2.73 7.74 2 9.23 2 10.36v7.41c0 2.32 1.89 4.22 4.21 4.22h11.58c2.32 0 4.21-1.9 4.21-4.21V10.5c0-1.21-.81-2.76-1.8-3.45l-6.18-4.33c-1.4-.98-3.65-.93-5 .12ZM12 17.99v-3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
126
|
+
image: "<path d=\"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M9 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM2.67 18.95l4.93-3.31c.79-.53 1.93-.47 2.64.14l.33.29c.78.67 2.04.67 2.82 0l4.16-3.57c.78-.67 2.04-.67 2.82 0L22 13.9\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
127
|
+
inbox: "<path d=\"M12 2v7l2-2M12 9l-2-2M1.98 13h4.41c.38 0 .72.21.89.55l1.17 2.34A2 2 0 0 0 10.24 17h3.53a2 2 0 0 0 1.79-1.11l1.17-2.34a1 1 0 0 1 .89-.55h4.36\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M7 4.13c-3.54.52-5 2.6-5 6.87v4c0 5 2 7 7 7h6c5 0 7-2 7-7v-4c0-4.27-1.46-6.35-5-6.87\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
128
|
+
info: "<path d=\"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM12 8v5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M11.995 16h.009\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
129
|
+
key: "<path d=\"M19.79 14.93a7.575 7.575 0 0 1-7.6 1.87l-4.71 4.7c-.34.35-1.01.56-1.49.49l-2.18-.3c-.72-.1-1.39-.78-1.5-1.5l-.3-2.18c-.07-.48.16-1.15.49-1.49l4.7-4.7c-.8-2.6-.18-5.55 1.88-7.6 2.95-2.95 7.74-2.95 10.7 0 2.96 2.95 2.96 7.76.01 10.71ZM6.89 17.49l2.3 2.3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
130
|
+
"layout-dashboard": "<path d=\"M5 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3H5C3 2 2 3 2 5v2c0 2 1 3 3 3ZM17 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM17 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM5 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3H5c-2 0-3 1-3 3v2c0 2 1 3 3 3Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
131
|
+
"layout-grid": "<path d=\"M17 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM5 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3H5c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM6 10a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM18 22a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
132
|
+
lightbulb: "<path d=\"M20.78 13.65v4.94H3.22v-4.94c0-4.82 3.9-8.72 8.72-8.72h.12c4.82 0 8.72 3.9 8.72 8.72ZM12 2v2.93M15.65 18.59A3.661 3.661 0 0 1 12 22c-1.93 0-3.52-1.5-3.65-3.41h7.3Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
133
|
+
list: "<path d=\"M3 4.5h18M3 9.5h9.47M3 14.5h18M3 19.5h9.47\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
134
|
+
lock: "<path d=\"M6 10V8c0-3.31 1-6 6-6s6 2.69 6 6v2M12 18.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M17 22H7c-4 0-5-1-5-5v-2c0-4 1-5 5-5h10c4 0 5 1 5 5v2c0 4-1 5-5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
135
|
+
"log-out": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M17.44 14.62L20 12.06 17.44 9.5M9.76 12.06h10.17M11.76 20c-4.42 0-8-3-8-8s3.58-8 8-8\"></path>",
|
|
136
|
+
mail: "<path d=\"M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
137
|
+
"map-pin": "<path d=\"M12 13.43a3.12 3.12 0 1 0 0-6.24 3.12 3.12 0 0 0 0 6.24Z\" stroke=\"currentColor\" stroke-width=\"1.5\"></path><path d=\"M3.62 8.49c1.97-8.66 14.8-8.65 16.76.01 1.15 5.08-2.01 9.38-4.78 12.04a5.193 5.193 0 0 1-7.21 0c-2.76-2.66-5.92-6.97-4.77-12.05Z\" stroke=\"currentColor\" stroke-width=\"1.5\"></path>",
|
|
138
|
+
menu: "<path d=\"M3 7h18M3 12h18M3 17h18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>",
|
|
139
|
+
"message-square": "<path d=\"M8.5 19H8c-4 0-6-1-6-6V8c0-4 2-6 6-6h8c4 0 6 2 6 6v5c0 4-2 6-6 6h-.5c-.31 0-.61.15-.8.4l-1.5 2c-.66.88-1.74.88-2.4 0l-1.5-2c-.16-.22-.53-.4-.8-.4Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M15.996 11h.01M11.995 11h.01M7.995 11h.008\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
140
|
+
minus: "<path d=\"M6 12h12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
141
|
+
moon: "<path d=\"M2.03 12.42c.36 5.15 4.73 9.34 9.96 9.57 3.69.16 6.99-1.56 8.97-4.27.82-1.11.38-1.85-.99-1.6-.67.12-1.36.17-2.08.14C13 16.06 9 11.97 8.98 7.14c-.01-1.3.26-2.53.75-3.65.54-1.24-.11-1.83-1.36-1.3C4.41 3.86 1.7 7.85 2.03 12.42Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
142
|
+
"more-horizontal": "<path d=\"M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z\" stroke=\"currentColor\" stroke-width=\"1.5\"></path>",
|
|
143
|
+
palette: "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M10 4.5V18c0 1.08-.44 2.07-1.14 2.79l-.04.04c-.09.09-.19.18-.28.25-.3.26-.64.46-.99.6-.11.05-.22.09-.33.13-.39.13-.81.19-1.22.19-.27 0-.54-.03-.8-.08-.13-.03-.26-.06-.39-.1-.16-.05-.31-.1-.46-.17 0-.01 0-.01-.01 0-.28-.14-.55-.3-.8-.49l-.01-.01c-.13-.1-.25-.2-.36-.32-.11-.12-.22-.24-.33-.37-.19-.25-.35-.52-.49-.8.01-.01.01-.01 0-.01 0 0 0-.01-.01-.02-.06-.14-.11-.29-.16-.44a5.58 5.58 0 01-.1-.39c-.05-.26-.08-.53-.08-.8V4.5C2 3 3 2 4.5 2h3C9 2 10 3 10 4.5z\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M22 16.5v3c0 1.5-1 2.5-2.5 2.5H6c.41 0 .83-.06 1.22-.19.11-.04.22-.08.33-.13.35-.14.69-.34.99-.6.09-.07.19-.16.28-.25l.04-.04 6.8-6.79h3.84c1.5 0 2.5 1 2.5 2.5zM4.81 21.82c-.6-.18-1.17-.51-1.64-.99-.48-.47-.81-1.04-.99-1.64a4.02 4.02 0 002.63 2.63z\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M18.37 11.29L15.66 14l-6.8 6.79C9.56 20.07 10 19.08 10 18V8.34l2.71-2.71c1.06-1.06 2.48-1.06 3.54 0l2.12 2.12c1.06 1.06 1.06 2.48 0 3.54zM6 19a1 1 0 100-2 1 1 0 000 2z\"></path>",
|
|
144
|
+
"panel-left-close": "<path d=\"M21.97 15V9c0-5-2-7-7-7h-6c-5 0-7 2-7 7v6c0 5 2 7 7 7h6c5 0 7-2 7-7ZM7.97 2v20\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M14.97 9.44 12.41 12l2.56 2.56\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
145
|
+
"panel-left-open": "<path d=\"M21.97 15V9c0-5-2-7-7-7h-6c-5 0-7 2-7 7v6c0 5 2 7 7 7h6c5 0 7-2 7-7ZM14.97 2v20\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M7.97 9.44 10.53 12l-2.56 2.56\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
146
|
+
"pen-tool": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M10.75 22.5h2.52c.96 0 1.58-.68 1.4-1.51l-.41-1.81h-4.5l-.41 1.81c-.18.78.5 1.51 1.4 1.51zM14.26 19.17l1.73-1.54c.97-.86 1.01-1.46.24-2.43l-3.05-3.87c-.64-.81-1.69-.81-2.33 0L7.8 15.2c-.77.97-.77 1.6.24 2.43l1.73 1.54M12.01 11.12v2.53\"></path><g><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12.52 5h-1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h1c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1zM3.27 14.17h1c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1h-1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1zM20.73 14.17h-1c-.55 0-1-.45-1-1v-1c0-.55.45-1 1-1h1c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1zM10.52 3.56c-3.81.45-6.77 3.68-6.77 7.61M20.25 11.17c0-3.92-2.94-7.14-6.73-7.61\"></path></g>",
|
|
147
|
+
pencil: "<path d=\"m13.26 3.6-8.21 8.69c-.31.33-.61.98-.67 1.43l-.37 3.24c-.13 1.17.71 1.97 1.87 1.77l3.22-.55c.45-.08 1.08-.41 1.39-.75l8.21-8.69c1.42-1.5 2.06-3.21-.15-5.3-2.2-2.07-3.87-1.34-5.29.16Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
148
|
+
phone: "<path d=\"M21.97 18.33c0 .36-.08.73-.25 1.09-.17.36-.39.7-.68 1.02-.49.54-1.03.93-1.64 1.18-.6.25-1.25.38-1.95.38-1.02 0-2.11-.24-3.26-.73s-2.3-1.15-3.44-1.98a28.75 28.75 0 0 1-3.28-2.8 28.414 28.414 0 0 1-2.79-3.27c-.82-1.14-1.48-2.28-1.96-3.41C2.24 8.67 2 7.58 2 6.54c0-.68.12-1.33.36-1.93.24-.61.62-1.17 1.15-1.67C4.15 2.31 4.85 2 5.59 2c.28 0 .56.06.81.18.26.12.49.3.67.56l2.32 3.27c.18.25.31.48.4.7.09.21.14.42.14.61 0 .24-.07.48-.21.71-.13.23-.32.47-.56.71l-.76.79c-.11.11-.16.24-.16.4 0 .08.01.15.03.23.03.08.06.14.08.2.18.33.49.76.93 1.28.45.52.93 1.05 1.45 1.58.54.53 1.06 1.02 1.59 1.47.52.44.95.74 1.29.92.05.02.11.05.18.08.08.03.16.04.25.04.17 0 .3-.06.41-.17l.76-.75c.25-.25.49-.44.72-.56.23-.14.46-.21.71-.21.19 0 .39.04.61.13.22.09.45.22.7.39l3.31 2.35c.26.18.44.39.55.64.1.25.16.5.16.78Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path>",
|
|
149
|
+
plug: "<path d=\"M10.5 16h3c2.5 0 4-1.8 4-4V6.91c0-1.05-.86-1.91-1.91-1.91H8.42c-1.05 0-1.91.86-1.91 1.91V12C6.5 14.2 8 16 10.5 16ZM9.5 2v3M14.5 2v3M12 22v-6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
150
|
+
plus: "<path d=\"M6 12h12M12 18V6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
151
|
+
"plus-circle": "<path d=\"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM8 12h8M12 16V8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
152
|
+
receipt: "<path d=\"M6.73 19.7c.82-.88 2.07-.81 2.79.15l1.01 1.35c.81 1.07 2.12 1.07 2.93 0l1.01-1.35c.72-.96 1.97-1.03 2.79-.15 1.78 1.9 3.23 1.27 3.23-1.39V7.04C20.5 3.01 19.56 2 15.78 2H8.22C4.44 2 3.5 3.01 3.5 7.04V18.3c0 2.67 1.46 3.29 3.23 1.4Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8.096 11h.01\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M10.898 11h5.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8.096 7h.01\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M10.898 7h5.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
153
|
+
"refresh-cw": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M14.55 21.67C18.84 20.54 22 16.64 22 12c0-5.52-4.44-10-10-10C5.33 2 2 7.56 2 7.56m0 0V3m0 4.56H6.44\"></path><path stroke=\"currentColor\" stroke-dasharray=\"3 3\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M2 12c0 5.52 4.48 10 10 10\"></path>",
|
|
154
|
+
repeat: "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M3.58 5.16h13.84c1.66 0 3 1.34 3 3v3.32\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M6.74 2L3.58 5.16l3.16 3.16M20.42 18.84H6.58c-1.66 0-3-1.34-3-3v-3.32\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M17.26 22l3.16-3.16-3.16-3.16\"></path>",
|
|
155
|
+
"rotate-ccw": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9.11 5.08c.87-.26 1.83-.43 2.89-.43 4.79 0 8.67 3.88 8.67 8.67s-3.88 8.67-8.67 8.67-8.67-3.88-8.67-8.67c0-1.78.54-3.44 1.46-4.82M7.87 5.32L10.76 2M7.87 5.32l3.37 2.46\"></path>",
|
|
156
|
+
search: "<path d=\"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
157
|
+
send: "<path d=\"m7.4 6.32 8.49-2.83c3.81-1.27 5.88.81 4.62 4.62l-2.83 8.49c-1.9 5.71-5.02 5.71-6.92 0l-.84-2.52-2.52-.84c-5.71-1.9-5.71-5.01 0-6.92ZM10.11 13.65l3.58-3.59\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
158
|
+
server: "<path d=\"M19.32 10H4.69c-1.48 0-2.68-1.21-2.68-2.68V4.69c0-1.48 1.21-2.68 2.68-2.68h14.63C20.8 2.01 22 3.22 22 4.69v2.63C22 8.79 20.79 10 19.32 10ZM19.32 22H4.69c-1.48 0-2.68-1.21-2.68-2.68v-2.63c0-1.48 1.21-2.68 2.68-2.68h14.63c1.48 0 2.68 1.21 2.68 2.68v2.63c0 1.47-1.21 2.68-2.68 2.68ZM6 5v2M10 5v2M6 17v2M10 17v2M14 6h4M14 18h4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
159
|
+
settings: "<path d=\"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M2 12.88v-1.76c0-1.04.85-1.9 1.9-1.9 1.81 0 2.55-1.28 1.64-2.85-.52-.9-.21-2.07.7-2.59l1.73-.99c.79-.47 1.81-.19 2.28.6l.11.19c.9 1.57 2.38 1.57 3.29 0l.11-.19c.47-.79 1.49-1.07 2.28-.6l1.73.99c.91.52 1.22 1.69.7 2.59-.91 1.57-.17 2.85 1.64 2.85 1.04 0 1.9.85 1.9 1.9v1.76c0 1.04-.85 1.9-1.9 1.9-1.81 0-2.55 1.28-1.64 2.85.52.91.21 2.07-.7 2.59l-1.73.99c-.79.47-1.81.19-2.28-.6l-.11-.19c-.9-1.57-2.38-1.57-3.29 0l-.11.19c-.47.79-1.49 1.07-2.28.6l-1.73-.99a1.899 1.899 0 0 1-.7-2.59c.91-1.57.17-2.85-1.64-2.85-1.05 0-1.9-.86-1.9-1.9Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
160
|
+
"share-2": "<path d=\"M16.96 6.17c2 1.39 3.38 3.6 3.66 6.15M3.49 12.37a8.601 8.601 0 0 1 3.6-6.15M8.19 20.94c1.16.59 2.48.92 3.87.92 1.34 0 2.6-.3 3.73-.85M12.06 7.7a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM4.83 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM19.17 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
161
|
+
shield: "<path d=\"M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
162
|
+
"shield-check": "<path d=\"M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m9.05 11.87 1.61 1.61 4.3-4.3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
163
|
+
"shield-lock": "<path d=\"M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 12.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM12 12.5v3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
164
|
+
"shield-plus": "<path d=\"M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 12.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM12 12.5v3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
165
|
+
shop: "<path d=\"M3.01 11.22v4.49C3.01 20.2 4.81 22 9.3 22h5.39c4.49 0 6.29-1.8 6.29-6.29v-4.49\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 12c1.83 0 3.18-1.49 3-3.32L14.34 2H9.67L9 8.68C8.82 10.51 10.17 12 12 12Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M18.31 12c2.02 0 3.5-1.64 3.3-3.65l-.28-2.75C20.97 3 19.97 2 17.35 2H14.3l.7 7.01c.17 1.65 1.66 2.99 3.31 2.99ZM5.64 12c1.65 0 3.14-1.34 3.3-2.99l.22-2.21.48-4.8H6.59C3.97 2 2.97 3 2.61 5.6l-.27 2.75C2.14 10.36 3.62 12 5.64 12ZM12 17c-1.67 0-2.5.83-2.5 2.5V22h5v-2.5c0-1.67-.83-2.5-2.5-2.5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
166
|
+
sort: "<path d=\"M3 7h18M6 12h12M10 17h4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>",
|
|
167
|
+
sparkles: "<path d=\"m17.29 4.14-.07 3.79c-.01.52.32 1.21.74 1.52l2.48 1.88c1.59 1.2 1.33 2.67-.57 3.27l-3.23 1.01c-.54.17-1.11.76-1.25 1.31l-.77 2.94c-.61 2.32-2.13 2.55-3.39.51l-1.76-2.85c-.32-.52-1.08-.91-1.68-.88l-3.34.17c-2.39.12-3.07-1.26-1.51-3.08l1.98-2.3c.37-.43.54-1.23.37-1.77L4.28 6.43c-.59-1.9.47-2.95 2.36-2.33l2.95.97c.5.16 1.25.05 1.67-.26l3.08-2.22c1.66-1.2 2.99-.5 2.95 1.55ZM21.91 22l-3.03-3.03\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
168
|
+
star: "<path d=\"m13.73 3.51 1.76 3.52c.24.49.88.96 1.42 1.05l3.19.53c2.04.34 2.52 1.82 1.05 3.28l-2.48 2.48c-.42.42-.65 1.23-.52 1.81l.71 3.07c.56 2.43-.73 3.37-2.88 2.1l-2.99-1.77c-.54-.32-1.43-.32-1.98 0l-2.99 1.77c-2.14 1.27-3.44.32-2.88-2.1l.71-3.07c.13-.58-.1-1.39-.52-1.81l-2.48-2.48c-1.46-1.46-.99-2.94 1.05-3.28l3.19-.53c.53-.09 1.17-.56 1.41-1.05l1.76-3.52c.96-1.91 2.52-1.91 3.47 0Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
169
|
+
stars: "<path d=\"m17.29 4.14-.07 3.79c-.01.52.32 1.21.74 1.52l2.48 1.88c1.59 1.2 1.33 2.67-.57 3.27l-3.23 1.01c-.54.17-1.11.76-1.25 1.31l-.77 2.94c-.61 2.32-2.13 2.55-3.39.51l-1.76-2.85c-.32-.52-1.08-.91-1.68-.88l-3.34.17c-2.39.12-3.07-1.26-1.51-3.08l1.98-2.3c.37-.43.54-1.23.37-1.77L4.28 6.43c-.59-1.9.47-2.95 2.36-2.33l2.95.97c.5.16 1.25.05 1.67-.26l3.08-2.22c1.66-1.2 2.99-.5 2.95 1.55ZM21.91 22l-3.03-3.03\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
170
|
+
sun: "<path d=\"M12 18.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m19.14 19.14-.13-.13m0-14.02.13-.13-.13.13ZM4.86 19.14l.13-.13-.13.13ZM12 2.08V2v.08ZM12 22v-.08.08ZM2.08 12H2h.08ZM22 12h-.08.08ZM4.99 4.99l-.13-.13.13.13Z\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
171
|
+
tag: "<path d=\"m4.405 15.526 4.53 4.53a4.78 4.78 0 0 0 6.75 0l4.39-4.39a4.78 4.78 0 0 0 0-6.75l-4.54-4.52a4.75 4.75 0 0 0-3.6-1.39l-5 .24c-2 .09-3.59 1.68-3.69 3.67l-.24 5c-.06 1.35.45 2.66 1.4 3.61Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M9.735 12.226a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path><path d=\"m13.235 17.226 4-4\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
172
|
+
telephone: "<path d=\"M21.97 18.33c0 .36-.08.73-.25 1.09-.17.36-.39.7-.68 1.02-.49.54-1.03.93-1.64 1.18-.6.25-1.25.38-1.95.38-1.02 0-2.11-.24-3.26-.73s-2.3-1.15-3.44-1.98a28.75 28.75 0 0 1-3.28-2.8 28.414 28.414 0 0 1-2.79-3.27c-.82-1.14-1.48-2.28-1.96-3.41C2.24 8.67 2 7.58 2 6.54c0-.68.12-1.33.36-1.93.24-.61.62-1.17 1.15-1.67C4.15 2.31 4.85 2 5.59 2c.28 0 .56.06.81.18.26.12.49.3.67.56l2.32 3.27c.18.25.31.48.4.7.09.21.14.42.14.61 0 .24-.07.48-.21.71-.13.23-.32.47-.56.71l-.76.79c-.11.11-.16.24-.16.4 0 .08.01.15.03.23.03.08.06.14.08.2.18.33.49.76.93 1.28.45.52.93 1.05 1.45 1.58.54.53 1.06 1.02 1.59 1.47.52.44.95.74 1.29.92.05.02.11.05.18.08.08.03.16.04.25.04.17 0 .3-.06.41-.17l.76-.75c.25-.25.49-.44.72-.56.23-.14.46-.21.71-.21.19 0 .39.04.61.13.22.09.45.22.7.39l3.31 2.35c.26.18.44.39.55.64.1.25.16.5.16.78Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path>",
|
|
173
|
+
text: "<path d=\"M2.67 7.17V5.35c0-1.15.93-2.07 2.07-2.07h14.52c1.15 0 2.07.93 2.07 2.07v1.82M12 20.72V4.11M8.06 20.72h7.88\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
174
|
+
"trash-2": "<path d=\"M21 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3L3 5.98M8.5 4.97l.22-1.31C8.88 2.71 9 2 10.69 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M18.85 9.14l-.65 10.07C18.09 20.78 18 22 15.21 22H8.79C6 22 5.91 20.78 5.8 19.21L5.15 9.14M10.33 16.5h3.33M9.5 12.5h5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
175
|
+
"trending-up": "<path d=\"m16.5 9.5-4.2 4.2-1.6-2.4-3.2 3.2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M14.5 9.5h2v2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
176
|
+
triangle: "<path d=\"M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12v-.01Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M11.995 17h.009\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
177
|
+
"two-page": "<path d=\"M22 16.74V4.67c0-1.2-.98-2.09-2.17-1.99h-.06c-2.1.18-5.29 1.25-7.07 2.37l-.17.11c-.29.18-.77.18-1.06 0l-.25-.15C9.44 3.9 6.26 2.84 4.16 2.67 2.97 2.57 2 3.47 2 4.66v12.08c0 .96.78 1.86 1.74 1.98l.29.04c2.17.29 5.52 1.39 7.44 2.44l.04.02c.27.15.7.15.96 0 1.92-1.06 5.28-2.17 7.46-2.46l.33-.04c.96-.12 1.74-1.02 1.74-1.98ZM12 5.49v15M7.75 8.49H5.5M8.5 11.49h-3\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
178
|
+
upload: "<path d=\"M9 17v-6l-2 2M9 11l2 2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M22 10v5c0 5-2 7-7 7H9c-5 0-7-2-7-7V9c0-5 2-7 7-7h5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M22 10h-4c-3 0-4-1-4-4V2l8 8Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
179
|
+
user: "<path d=\"M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10ZM20.59 22c0-3.87-3.85-7-8.59-7s-8.59 3.13-8.59 7\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
180
|
+
"user-check": "<path d=\"m14.44 19.05 1.52 1.52L19 17.53M12.16 10.87c-.1-.01-.22-.01-.33 0a4.42 4.42 0 0 1-4.27-4.43A4.428 4.428 0 0 1 11.99 2c2.45 0 4.44 1.99 4.44 4.44 0 2.4-1.9 4.35-4.27 4.43ZM11.99 21.81c-1.82 0-3.63-.46-5.01-1.38-2.42-1.62-2.42-4.26 0-5.87 2.75-1.84 7.26-1.84 10.01 0\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
181
|
+
"user-minus": "<path d=\"M19.5 19h-4M12.15 10.87c-.1-.01-.22-.01-.33 0a4.42 4.42 0 0 1-4.27-4.43C7.55 3.99 9.53 2 11.99 2a4.435 4.435 0 0 1 .16 8.87ZM11.99 21.81c-1.82 0-3.63-.46-5.01-1.38-2.42-1.62-2.42-4.26 0-5.87 2.75-1.84 7.26-1.84 10.01 0\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
182
|
+
"user-plus": "<path d=\"M18.5 19.5h-4M16.5 21.5v-4M12.16 10.87c-.1-.01-.22-.01-.33 0a4.42 4.42 0 0 1-4.27-4.43A4.428 4.428 0 0 1 11.99 2c2.45 0 4.44 1.99 4.44 4.44 0 2.4-1.9 4.35-4.27 4.43ZM11.99 21.81c-1.82 0-3.63-.46-5.01-1.38-2.42-1.62-2.42-4.26 0-5.87 2.75-1.84 7.26-1.84 10.01 0\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
183
|
+
users: "<path d=\"M18 7.16a.605.605 0 0 0-.19 0 2.573 2.573 0 0 1-2.48-2.58c0-1.43 1.15-2.58 2.58-2.58a2.58 2.58 0 0 1 2.58 2.58A2.589 2.589 0 0 1 18 7.16ZM16.97 14.44c1.37.23 2.88-.01 3.94-.72 1.41-.94 1.41-2.48 0-3.42-1.07-.71-2.6-.95-3.97-.71M5.97 7.16c.06-.01.13-.01.19 0a2.573 2.573 0 0 0 2.48-2.58C8.64 3.15 7.49 2 6.06 2a2.58 2.58 0 0 0-2.58 2.58c.01 1.4 1.11 2.53 2.49 2.58ZM7 14.44c-1.37.23-2.88-.01-3.94-.72-1.41-.94-1.41-2.48 0-3.42 1.07-.71 2.6-.95 3.97-.71M12 14.63a.605.605 0 0 0-.19 0 2.573 2.573 0 0 1-2.48-2.58c0-1.43 1.15-2.58 2.58-2.58a2.58 2.58 0 0 1 2.58 2.58c-.01 1.4-1.11 2.54-2.49 2.58ZM9.09 17.78c-1.41.94-1.41 2.48 0 3.42 1.6 1.07 4.22 1.07 5.82 0 1.41-.94 1.41-2.48 0-3.42-1.59-1.06-4.22-1.06-5.82 0Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
184
|
+
wallet2: "<path d=\"M13 9H7M22 10.97v2.06c0 .55-.44 1-1 1.02h-1.96c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6H21c.56.02 1 .47 1 1.02Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M17.48 10.55c-.42.41-.66 1-.6 1.63.09 1.08 1.08 1.87 2.16 1.87H21v1.45c0 3-2 5-5 5H7c-3 0-5-2-5-5v-7c0-2.72 1.64-4.62 4.19-4.94.26-.04.53-.06.81-.06h9c.26 0 .51.01.75.05C19.33 3.85 21 5.76 21 8.5v1.45h-2.08c-.56 0-1.07.22-1.44.6Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
185
|
+
"wand-sparkles": "<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.5 20.5c.83.83 2.17.83 3 0l13-13c.83-.83.83-2.17 0-3-.83-.83-2.17-.83-3 0l-13 13c-.83.83-.83 2.17 0 3zM18.01 8.99l-3-3\"></path><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M8.5 2.44L10 2l-.44 1.5L10 5l-1.5-.44L7 5l.44-1.5L7 2l1.5.44zM4.5 8.44L6 8l-.44 1.5L6 11l-1.5-.44L3 11l.44-1.5L3 8l1.5.44zM19.5 13.44L21 13l-.44 1.5L21 16l-1.5-.44L18 16l.44-1.5L18 13l1.5.44z\"></path>",
|
|
186
|
+
whatsapp: "<path d=\"M6.9 20.6c1.5.9 3.3 1.4 5.1 1.4 5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12c0 1.8.5 3.5 1.3 5l-.86 3.306a1 1 0 0 0 1.243 1.213L6.9 20.6Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M16.5 14.848c0 .162-.036.329-.113.491a1.856 1.856 0 0 1-.306.459c-.221.243-.464.418-.74.531-.27.113-.563.171-.878.171-.46 0-.951-.108-1.47-.328a7.922 7.922 0 0 1-1.55-.892 12.95 12.95 0 0 1-1.478-1.26 12.79 12.79 0 0 1-1.257-1.471 8.02 8.02 0 0 1-.884-1.534C7.608 10.5 7.5 10.01 7.5 9.543c0-.306.054-.598.162-.868.108-.275.28-.527.519-.752.288-.284.603-.423.937-.423.126 0 .252.027.365.081.117.054.22.135.302.252l1.046 1.472c.08.112.14.216.18.315.04.094.063.189.063.274a.61.61 0 0 1-.095.32 1.53 1.53 0 0 1-.252.319l-.343.356a.24.24 0 0 0-.072.18c0 .035.005.067.014.103.013.036.027.063.036.09.08.149.22.342.419.576.203.234.419.473.653.711.244.239.478.459.717.662.234.197.428.332.581.413l.082.037a.311.311 0 0 0 .112.018.248.248 0 0 0 .185-.077l.342-.338c.113-.112.221-.197.325-.252a.6.6 0 0 1 .32-.094.72.72 0 0 1 .275.059c.099.04.203.098.315.175l1.492 1.058a.683.683 0 0 1 .248.287.921.921 0 0 1 .072.351Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path>",
|
|
187
|
+
x: "<path d=\"M6.4 6.4l11.2 11.2M17.6 6.4 6.4 17.6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>",
|
|
188
|
+
"x-circle": "<path d=\"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM9.17 14.83l5.66-5.66M14.83 14.83 9.17 9.17\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
189
|
+
zap: "<path d=\"M6.09 13.28h3.09v7.2c0 1.68.91 2.02 2.02.76l7.57-8.6c.93-1.05.54-1.92-.87-1.92h-3.09v-7.2c0-1.68-.91-2.02-2.02-.76l-7.57 8.6c-.92 1.06-.53 1.92.87 1.92Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
190
|
+
"zoom-in": "<path d=\"M11 20a9 9 0 1 0 0-18 9 9 0 0 0 0 18ZM8.5 11h5M11 13.5v-5M18.93 20.69c.53 1.6 1.74 1.76 2.67.36.85-1.28.29-2.33-1.25-2.33-1.14-.01-1.78.88-1.42 1.97Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>",
|
|
191
|
+
"zoom-out": "<path d=\"M9 11.7h5M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>"
|
|
192
|
+
};
|
|
193
|
+
Object.keys(l);
|
|
194
|
+
function u(e, { size: t = 16, className: n = "", style: r = "" } = {}) {
|
|
195
|
+
let i = l[e];
|
|
196
|
+
return i ? `<svg class="${n ? `wui-icon ${n}` : "wui-icon"}" data-icon="${e}" width="${t}" height="${t}" viewBox="0 0 24 24" fill="none" aria-hidden="true" style="vertical-align:-.125em${r ? `;${r}` : ""}">${i}</svg>` : "";
|
|
197
|
+
}
|
|
198
|
+
//#endregion
|
|
51
199
|
//#region src/listboxKeyNav.js
|
|
52
|
-
function
|
|
200
|
+
function d(e) {
|
|
53
201
|
let { getVisibleOptions: t, getActive: n, setActive: r, onEnter: i, onEscape: a, onTypeahead: o, typeaheadMs: s = 500 } = e, c = "", l = null, u = () => {
|
|
54
202
|
clearTimeout(l), l = null, c = "";
|
|
55
203
|
};
|
|
@@ -80,15 +228,15 @@ function l(e) {
|
|
|
80
228
|
}
|
|
81
229
|
//#endregion
|
|
82
230
|
//#region src/optionLabel.js
|
|
83
|
-
var
|
|
231
|
+
var f = Symbol("wui.trustedHtml"), p = (e) => String(e ?? "").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), m = (e) => {
|
|
84
232
|
if (!e) return "";
|
|
85
233
|
let t = String(e).toLowerCase().replace(/[^a-z0-9-]/g, "");
|
|
86
|
-
return t ?
|
|
87
|
-
},
|
|
234
|
+
return t ? u(t) : "";
|
|
235
|
+
}, h = (e) => {
|
|
88
236
|
if (e == null) return "";
|
|
89
|
-
let t = e[
|
|
237
|
+
let t = e[f] ? String(e.label ?? "") : p(e.label), n = m(e.icon);
|
|
90
238
|
return n ? `<span class="wui-opt-label">${n}${t}</span>` : t;
|
|
91
|
-
},
|
|
239
|
+
}, g = class extends HTMLElement {
|
|
92
240
|
static formAssociated = !0;
|
|
93
241
|
_accessibleName() {
|
|
94
242
|
return this.getAttribute("aria-label") || this.getAttribute("placeholder") || "Select";
|
|
@@ -140,12 +288,12 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
140
288
|
set value(e) {
|
|
141
289
|
this._value = e == null ? "" : String(e), c(this, this._value);
|
|
142
290
|
let t = this._readOptions().find((e) => String(e.value) === this._value);
|
|
143
|
-
this._label = t ?
|
|
291
|
+
this._label = t ? v(t.label) : "", this._syncInput(), this._renderOptions("");
|
|
144
292
|
}
|
|
145
293
|
set options(e) {
|
|
146
294
|
this._optionsProp = Array.isArray(e) ? e : [];
|
|
147
295
|
let t = this._readOptions().find((e) => String(e.value) === this._value);
|
|
148
|
-
t && (this._label =
|
|
296
|
+
t && (this._label = v(t.label)), this._renderOptions(), this._syncInput();
|
|
149
297
|
}
|
|
150
298
|
get options() {
|
|
151
299
|
return this._readOptions();
|
|
@@ -164,7 +312,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
164
312
|
}
|
|
165
313
|
_matchesKnownOption(e) {
|
|
166
314
|
let t = e.toLowerCase();
|
|
167
|
-
return this._readOptions().some((e) =>
|
|
315
|
+
return this._readOptions().some((e) => v(e.label).toLowerCase() === t || String(e.value ?? "").toLowerCase() === t);
|
|
168
316
|
}
|
|
169
317
|
get _minChars() {
|
|
170
318
|
return Math.max(0, Number(this.getAttribute("min-chars")) || +!!this._remote);
|
|
@@ -182,7 +330,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
182
330
|
value: e.getAttribute("value") ?? e.textContent.trim(),
|
|
183
331
|
label: e.innerHTML,
|
|
184
332
|
icon: e.getAttribute("icon") || void 0,
|
|
185
|
-
[
|
|
333
|
+
[f]: !0,
|
|
186
334
|
selected: e.hasAttribute("selected")
|
|
187
335
|
})));
|
|
188
336
|
}
|
|
@@ -196,12 +344,12 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
196
344
|
let r = `${this.id}-listbox`;
|
|
197
345
|
this._listboxId = r, this.innerHTML = `
|
|
198
346
|
<div class="search-select${n}">
|
|
199
|
-
<div class="input search-select-control search-select-ac" role="combobox" aria-haspopup="listbox" aria-expanded="false" aria-controls="${
|
|
200
|
-
<input class="search-select-input search-select-ac-input" placeholder="${
|
|
347
|
+
<div class="input search-select-control search-select-ac" role="combobox" aria-haspopup="listbox" aria-expanded="false" aria-controls="${_(r)}" aria-label="${_(this._accessibleName())}">
|
|
348
|
+
<input class="search-select-input search-select-ac-input" placeholder="${_(e)}" aria-autocomplete="list" autocomplete="off"${this.hasAttribute("disabled") ? " disabled" : ""} />
|
|
201
349
|
<span class="search-select-spinner spinner-border spinner-border-sm" role="status" aria-hidden="true" hidden></span>
|
|
202
|
-
<button type="button" class="search-select-clear" aria-label="Clear" hidden
|
|
350
|
+
<button type="button" class="search-select-clear" aria-label="Clear" hidden>${u("x")}</button>
|
|
203
351
|
</div>
|
|
204
|
-
<div class="search-select-menu search-select-menu-fixed" role="listbox" id="${
|
|
352
|
+
<div class="search-select-menu search-select-menu-fixed" role="listbox" id="${_(r)}" tabindex="-1" hidden>
|
|
205
353
|
<div class="search-select-options"></div>
|
|
206
354
|
<div class="search-select-empty" hidden>No matches</div>
|
|
207
355
|
<div class="search-select-hint" hidden>Type to search…</div>
|
|
@@ -235,7 +383,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
235
383
|
let t = this._refs();
|
|
236
384
|
if (!t.optionsWrap) return;
|
|
237
385
|
let n = e ?? (t.input ? t.input.value : ""), r = n.trim().toLowerCase(), i = this._readOptions();
|
|
238
|
-
!this._remote && r && (i = i.filter((e) =>
|
|
386
|
+
!this._remote && r && (i = i.filter((e) => v(e.label).toLowerCase().includes(r)));
|
|
239
387
|
let a = n.trim(), o = this._allowCustom && a && !this._matchesKnownOption(a) ? [...i, {
|
|
240
388
|
value: a,
|
|
241
389
|
custom: !0
|
|
@@ -243,11 +391,11 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
243
391
|
t.optionsWrap.innerHTML = o.map((e, t) => {
|
|
244
392
|
let n = `${s}-opt-${t}`;
|
|
245
393
|
if (e.custom) {
|
|
246
|
-
let t = `Add “${
|
|
247
|
-
return `<button type="button" role="option" id="${
|
|
394
|
+
let t = `Add “${p(e.value)}”`;
|
|
395
|
+
return `<button type="button" role="option" id="${_(n)}" class="search-select-option search-select-option-custom" data-value="${_(e.value)}" data-custom="true" aria-selected="false">${t}</button>`;
|
|
248
396
|
}
|
|
249
397
|
let r = String(e.value) === String(this._value);
|
|
250
|
-
return `<button type="button" role="option" id="${
|
|
398
|
+
return `<button type="button" role="option" id="${_(n)}" class="search-select-option${r ? " selected" : ""}" data-value="${_(e.value)}" aria-selected="${r}">${h(e)}</button>`;
|
|
251
399
|
}).join(""), this._active = -1, t.control?.removeAttribute("aria-activedescendant");
|
|
252
400
|
let c = r.length < this._minChars;
|
|
253
401
|
t.hint && (t.hint.hidden = !(this._remote && c && !i.length)), t.empty && (t.empty.hidden = this._loading || o.length > 0 || this._remote && c);
|
|
@@ -263,19 +411,19 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
263
411
|
t >= 0 && r[t] ? (r[t].classList.add("is-active"), r[t].scrollIntoView({ block: "nearest" }), e.control.setAttribute("aria-activedescendant", r[t].id)) : e.control.removeAttribute("aria-activedescendant");
|
|
264
412
|
}, o = () => !e.menu.hidden, s = () => {
|
|
265
413
|
e.menu.hidden = !1, e.control.setAttribute("aria-expanded", "true"), e.control.classList.add("open"), t(), this._renderOptions();
|
|
266
|
-
},
|
|
414
|
+
}, l = () => {
|
|
267
415
|
e.menu.hidden = !0, e.control.setAttribute("aria-expanded", "false"), e.control.classList.remove("open"), r(-1), clearTimeout(this._typeaheadTimer), this._typeaheadTimer = null, this._typeahead = "", this._syncInput();
|
|
268
|
-
},
|
|
416
|
+
}, u = (t) => {
|
|
269
417
|
let n = t.dataset.custom === "true";
|
|
270
|
-
this._value = t.dataset.value, this._label = n ? t.dataset.value :
|
|
418
|
+
this._value = t.dataset.value, this._label = n ? t.dataset.value : v(t.innerHTML), c(this, this._value), e.input.value = this._label, this.dispatchEvent(new CustomEvent("change", {
|
|
271
419
|
bubbles: !0,
|
|
272
420
|
detail: { isCustom: n }
|
|
273
|
-
})),
|
|
421
|
+
})), l(), e.input.focus();
|
|
274
422
|
}, f = (t) => {
|
|
275
423
|
this._value = t, this._label = t, c(this, t), e.input.value = t, this.dispatchEvent(new CustomEvent("change", {
|
|
276
424
|
bubbles: !0,
|
|
277
425
|
detail: { isCustom: !0 }
|
|
278
|
-
})),
|
|
426
|
+
})), l();
|
|
279
427
|
}, p = () => {
|
|
280
428
|
let t = e.input.value;
|
|
281
429
|
if (e.clear && (e.clear.hidden = !t), o() || s(), this._remote) {
|
|
@@ -290,19 +438,19 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
290
438
|
}, this._timer = setTimeout(() => this._fireSearch(t, e), this._debounceMs);
|
|
291
439
|
} else this._renderOptions(t);
|
|
292
440
|
};
|
|
293
|
-
this._navHandler =
|
|
441
|
+
this._navHandler = d({
|
|
294
442
|
getVisibleOptions: n,
|
|
295
443
|
getActive: () => this._active,
|
|
296
444
|
setActive: (e) => r(e),
|
|
297
445
|
onEnter: (t, n) => {
|
|
298
|
-
if (n[this._active])
|
|
446
|
+
if (n[this._active]) u(n[this._active]);
|
|
299
447
|
else if (this._allowCustom) {
|
|
300
448
|
let t = e.input.value.trim();
|
|
301
449
|
t && !this._matchesKnownOption(t) && f(t);
|
|
302
450
|
}
|
|
303
451
|
},
|
|
304
452
|
onEscape: () => {
|
|
305
|
-
this._navHandler.clearTypeahead(),
|
|
453
|
+
this._navHandler.clearTypeahead(), l();
|
|
306
454
|
}
|
|
307
455
|
});
|
|
308
456
|
let m = (e) => {
|
|
@@ -325,7 +473,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
325
473
|
!n || n === this._label || this._matchesKnownOption(n) || f(n);
|
|
326
474
|
}), e.optionsWrap.addEventListener("click", (e) => {
|
|
327
475
|
let t = e.target.closest(".search-select-option");
|
|
328
|
-
t &&
|
|
476
|
+
t && u(t);
|
|
329
477
|
}), e.optionsWrap.addEventListener("mousemove", (e) => {
|
|
330
478
|
let t = e.target.closest(".search-select-option");
|
|
331
479
|
t && r(this._optionEls().indexOf(t));
|
|
@@ -333,7 +481,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
333
481
|
this._value = "", this._label = "", c(this, ""), e.input.value = "", e.clear.hidden = !0, this._renderOptions(""), this.dispatchEvent(new Event("change", { bubbles: !0 })), e.input.focus();
|
|
334
482
|
}), this._bindGlobal = () => {
|
|
335
483
|
this._teardown(), this._onDocClick = (e) => {
|
|
336
|
-
o() && !this.contains(e.target) &&
|
|
484
|
+
o() && !this.contains(e.target) && l();
|
|
337
485
|
}, document.addEventListener("click", this._onDocClick), a(this, () => {
|
|
338
486
|
o() && t();
|
|
339
487
|
});
|
|
@@ -354,7 +502,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
354
502
|
disconnectedCallback() {
|
|
355
503
|
this._teardown();
|
|
356
504
|
}
|
|
357
|
-
},
|
|
505
|
+
}, _ = (e) => String(e ?? "").replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<"), v = (e) => String(e ?? "").replace(/<[^>]*>/g, ""), y = [
|
|
358
506
|
"January",
|
|
359
507
|
"February",
|
|
360
508
|
"March",
|
|
@@ -367,7 +515,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
367
515
|
"October",
|
|
368
516
|
"November",
|
|
369
517
|
"December"
|
|
370
|
-
],
|
|
518
|
+
], b = [
|
|
371
519
|
"Su",
|
|
372
520
|
"Mo",
|
|
373
521
|
"Tu",
|
|
@@ -375,24 +523,24 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
375
523
|
"Th",
|
|
376
524
|
"Fr",
|
|
377
525
|
"Sa"
|
|
378
|
-
],
|
|
526
|
+
], x = (e) => String(e).padStart(2, "0"), S = (e, t, n) => `${e}-${x(t + 1)}-${x(n)}`, C = (e) => {
|
|
379
527
|
let t = /^(\d{4})-(\d{2})-(\d{2})$/.exec(e || "");
|
|
380
528
|
return t ? {
|
|
381
529
|
y: +t[1],
|
|
382
530
|
m: t[2] - 1,
|
|
383
531
|
d: +t[3]
|
|
384
532
|
} : null;
|
|
385
|
-
},
|
|
386
|
-
let t =
|
|
387
|
-
return t ? `${
|
|
388
|
-
},
|
|
533
|
+
}, w = (e) => {
|
|
534
|
+
let t = C(e);
|
|
535
|
+
return t ? `${x(t.d)} ${y[t.m].slice(0, 3)} ${t.y}` : "";
|
|
536
|
+
}, T = (e, t) => new Date(e, t + 1, 0).getDate(), E = (e, t) => {
|
|
389
537
|
for (; t < 0;) t += 12, --e;
|
|
390
538
|
for (; t > 11;) t -= 12, e += 1;
|
|
391
539
|
return {
|
|
392
540
|
y: e,
|
|
393
541
|
m: t
|
|
394
542
|
};
|
|
395
|
-
},
|
|
543
|
+
}, D = class extends HTMLElement {
|
|
396
544
|
static formAssociated = !0;
|
|
397
545
|
static get observedAttributes() {
|
|
398
546
|
return [
|
|
@@ -443,14 +591,14 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
443
591
|
}
|
|
444
592
|
render() {
|
|
445
593
|
this._defaultValue === void 0 && (this._defaultValue = this.getAttribute("value") || "", this._value = this._defaultValue || this._value);
|
|
446
|
-
let e = this.getAttribute("placeholder") || "Enter Date", t =
|
|
594
|
+
let e = this.getAttribute("placeholder") || "Enter Date", t = C(this._value);
|
|
447
595
|
t && (this._viewY = t.y, this._viewM = t.m);
|
|
448
596
|
let n = this.getAttribute("size"), r = n === "sm" ? " input-sm" : n === "lg" ? " input-lg" : "", i = this.getAttribute("aria-label"), a = this.getAttribute("aria-describedby");
|
|
449
597
|
this.innerHTML = `
|
|
450
598
|
<div class="datepicker">
|
|
451
|
-
<button type="button" class="input datepicker-trigger${r}${t ? " has-value" : ""}" aria-haspopup="dialog" aria-expanded="false"${this.hasAttribute("disabled") ? " disabled" : ""}${i ? ` aria-label="${
|
|
452
|
-
<span data-trigger-label class="${t ? "" : "search-select-placeholder"}">${t ?
|
|
453
|
-
|
|
599
|
+
<button type="button" class="input datepicker-trigger${r}${t ? " has-value" : ""}" aria-haspopup="dialog" aria-expanded="false"${this.hasAttribute("disabled") ? " disabled" : ""}${i ? ` aria-label="${p(i)}"` : ""}${a ? ` aria-describedby="${p(a)}"` : ""}>
|
|
600
|
+
<span data-trigger-label class="${t ? "" : "search-select-placeholder"}">${t ? w(this._value) : p(e)}</span>
|
|
601
|
+
${u("calendar-dots")}
|
|
454
602
|
</button>
|
|
455
603
|
<div class="datepicker-pop" role="dialog" aria-modal="false" hidden></div>
|
|
456
604
|
</div>`, this._rendered = !0, c(this, this._value), this._wire();
|
|
@@ -461,11 +609,11 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
461
609
|
_syncTrigger() {
|
|
462
610
|
let e = this.querySelector(".datepicker-trigger"), t = this.querySelector("[data-trigger-label]");
|
|
463
611
|
if (!t) return;
|
|
464
|
-
let n =
|
|
465
|
-
t.textContent = n ?
|
|
612
|
+
let n = C(this._value);
|
|
613
|
+
t.textContent = n ? w(this._value) : this.getAttribute("placeholder") || "Enter Date", t.classList.toggle("search-select-placeholder", !n), e?.classList.toggle("has-value", !!n);
|
|
466
614
|
}
|
|
467
615
|
_limits() {
|
|
468
|
-
let e =
|
|
616
|
+
let e = C(this.getAttribute("min")), t = C(this.getAttribute("max")), n = e ? new Date(e.y, e.m, e.d).getTime() : -Infinity, r = t ? new Date(t.y, t.m, t.d).getTime() : Infinity;
|
|
469
617
|
return {
|
|
470
618
|
dayDisabled: (e, t, i) => {
|
|
471
619
|
let a = new Date(e, t, i).getTime();
|
|
@@ -473,7 +621,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
473
621
|
},
|
|
474
622
|
monthDisabled: (e, t) => {
|
|
475
623
|
let i = new Date(e, t, 1).getTime();
|
|
476
|
-
return new Date(e, t,
|
|
624
|
+
return new Date(e, t, T(e, t)).getTime() < n || i > r;
|
|
477
625
|
},
|
|
478
626
|
yearDisabled: (e) => {
|
|
479
627
|
let t = new Date(e, 0, 1).getTime();
|
|
@@ -486,31 +634,31 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
486
634
|
e && (this._mode === "months" ? e.innerHTML = this._monthsHtml() : this._mode === "years" ? e.innerHTML = this._yearsHtml() : e.innerHTML = this._daysHtml(), this._focusActive());
|
|
487
635
|
}
|
|
488
636
|
_daysHtml() {
|
|
489
|
-
let e = this._firstDay(), t = (new Date(this._viewY, this._viewM, 1).getDay() - e + 7) % 7, n =
|
|
637
|
+
let e = this._firstDay(), t = (new Date(this._viewY, this._viewM, 1).getDay() - e + 7) % 7, n = T(this._viewY, this._viewM), r = C(this._value), i = /* @__PURE__ */ new Date(), { dayDisabled: a } = this._limits(), o = this._focus || r || {
|
|
490
638
|
y: this._viewY,
|
|
491
639
|
m: this._viewM,
|
|
492
640
|
d: 1
|
|
493
641
|
}, s = (e, t, n, s) => {
|
|
494
|
-
let c =
|
|
642
|
+
let c = S(e, t, n), l = r && r.y === e && r.m === t && r.d === n, u = i.getFullYear() === e && i.getMonth() === t && i.getDate() === n, d = o.y === e && o.m === t && o.d === n, f = a(e, t, n);
|
|
495
643
|
return `<button type="button" class="${[
|
|
496
644
|
"datepicker-day",
|
|
497
645
|
s ? "is-outside" : "",
|
|
498
646
|
u ? "is-today" : "",
|
|
499
647
|
l ? "is-selected" : ""
|
|
500
648
|
].filter(Boolean).join(" ")}" data-iso="${c}" role="gridcell" tabindex="${d && !f ? "0" : "-1"}"${l ? " aria-selected=\"true\"" : ""}${f ? " disabled aria-disabled=\"true\"" : ""}>${n}</button>`;
|
|
501
|
-
}, c = "", l =
|
|
502
|
-
for (let e = t - 1; e >= 0; e--) c += s(l.y, l.m,
|
|
649
|
+
}, c = "", l = E(this._viewY, this._viewM - 1), d = T(l.y, l.m);
|
|
650
|
+
for (let e = t - 1; e >= 0; e--) c += s(l.y, l.m, d - e, !0);
|
|
503
651
|
for (let e = 1; e <= n; e++) c += s(this._viewY, this._viewM, e, !1);
|
|
504
|
-
let
|
|
505
|
-
for (let e = 1; e <=
|
|
506
|
-
let
|
|
652
|
+
let f = E(this._viewY, this._viewM + 1), p = (7 - (t + n) % 7) % 7;
|
|
653
|
+
for (let e = 1; e <= p; e++) c += s(f.y, f.m, e, !0);
|
|
654
|
+
let m = b.map((t, n) => b[(n + e) % 7]).map((e) => `<span>${e}</span>`).join("");
|
|
507
655
|
return `
|
|
508
656
|
<div class="datepicker-head">
|
|
509
|
-
<button type="button" class="datepicker-nav-btn" data-nav="-1" aria-label="Previous month"
|
|
510
|
-
<button type="button" class="datepicker-month" data-view="months" aria-label="Choose month and year">${
|
|
511
|
-
<button type="button" class="datepicker-nav-btn" data-nav="1" aria-label="Next month"
|
|
657
|
+
<button type="button" class="datepicker-nav-btn" data-nav="-1" aria-label="Previous month">${u("chevron-left")}</button>
|
|
658
|
+
<button type="button" class="datepicker-month" data-view="months" aria-label="Choose month and year">${y[this._viewM]} ${this._viewY}</button>
|
|
659
|
+
<button type="button" class="datepicker-nav-btn" data-nav="1" aria-label="Next month">${u("chevron-right")}</button>
|
|
512
660
|
</div>
|
|
513
|
-
<div class="datepicker-weekdays">${
|
|
661
|
+
<div class="datepicker-weekdays">${m}</div>
|
|
514
662
|
<div class="datepicker-grid${this._slide ? ` ${this._slide}` : ""}" role="grid">${c}</div>
|
|
515
663
|
<div class="datepicker-foot">
|
|
516
664
|
<button type="button" class="datepicker-link" data-today>Today</button>
|
|
@@ -518,25 +666,25 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
518
666
|
</div>`;
|
|
519
667
|
}
|
|
520
668
|
_monthsHtml() {
|
|
521
|
-
let e =
|
|
669
|
+
let e = C(this._value), t = /* @__PURE__ */ new Date(), { monthDisabled: n } = this._limits(), r = "";
|
|
522
670
|
for (let i = 0; i < 12; i++) {
|
|
523
671
|
let a = e && e.y === this._viewY && e.m === i, o = t.getFullYear() === this._viewY && t.getMonth() === i, s = n(this._viewY, i), c = [
|
|
524
672
|
"datepicker-cell",
|
|
525
673
|
o ? "is-today" : "",
|
|
526
674
|
a ? "is-selected" : ""
|
|
527
675
|
].filter(Boolean).join(" ");
|
|
528
|
-
r += `<button type="button" class="${c}" data-month="${i}"${s ? " disabled" : ""}>${
|
|
676
|
+
r += `<button type="button" class="${c}" data-month="${i}"${s ? " disabled" : ""}>${y[i].slice(0, 3)}</button>`;
|
|
529
677
|
}
|
|
530
678
|
return `
|
|
531
679
|
<div class="datepicker-head">
|
|
532
|
-
<button type="button" class="datepicker-nav-btn" data-nav-year="-1" aria-label="Previous year"
|
|
680
|
+
<button type="button" class="datepicker-nav-btn" data-nav-year="-1" aria-label="Previous year">${u("chevron-left")}</button>
|
|
533
681
|
<button type="button" class="datepicker-month" data-view="years" aria-label="Choose year">${this._viewY}</button>
|
|
534
|
-
<button type="button" class="datepicker-nav-btn" data-nav-year="1" aria-label="Next year"
|
|
682
|
+
<button type="button" class="datepicker-nav-btn" data-nav-year="1" aria-label="Next year">${u("chevron-right")}</button>
|
|
535
683
|
</div>
|
|
536
684
|
<div class="datepicker-cells">${r}</div>`;
|
|
537
685
|
}
|
|
538
686
|
_yearsHtml() {
|
|
539
|
-
let e =
|
|
687
|
+
let e = C(this._value), t = (/* @__PURE__ */ new Date()).getFullYear(), { yearDisabled: n } = this._limits(), r = this._viewY - (this._viewY % 10 + 10) % 10 - 1, i = "";
|
|
540
688
|
for (let a = 0; a < 12; a++) {
|
|
541
689
|
let o = r + a, s = e && e.y === o, c = t === o, l = n(o), u = [
|
|
542
690
|
"datepicker-cell",
|
|
@@ -547,9 +695,9 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
547
695
|
}
|
|
548
696
|
return `
|
|
549
697
|
<div class="datepicker-head">
|
|
550
|
-
<button type="button" class="datepicker-nav-btn" data-nav-decade="-1" aria-label="Previous decade"
|
|
698
|
+
<button type="button" class="datepicker-nav-btn" data-nav-decade="-1" aria-label="Previous decade">${u("chevron-left")}</button>
|
|
551
699
|
<span class="datepicker-month">${r + 1} – ${r + 10}</span>
|
|
552
|
-
<button type="button" class="datepicker-nav-btn" data-nav-decade="1" aria-label="Next decade"
|
|
700
|
+
<button type="button" class="datepicker-nav-btn" data-nav-decade="1" aria-label="Next decade">${u("chevron-right")}</button>
|
|
553
701
|
</div>
|
|
554
702
|
<div class="datepicker-cells">${i}</div>`;
|
|
555
703
|
}
|
|
@@ -561,21 +709,21 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
561
709
|
i(e, t);
|
|
562
710
|
}
|
|
563
711
|
_setFocus(e, t, n, r) {
|
|
564
|
-
let { y: i, m: a } =
|
|
712
|
+
let { y: i, m: a } = E(e, t);
|
|
565
713
|
this._focus = {
|
|
566
714
|
y: i,
|
|
567
715
|
m: a,
|
|
568
716
|
d: n
|
|
569
717
|
};
|
|
570
718
|
let o = i !== this._viewY || a !== this._viewM;
|
|
571
|
-
this._viewY = i, this._viewM = a, this._slide = o && r || "", this._renderView(), this._slide = "", this.querySelector(`.datepicker-day[data-iso="${
|
|
719
|
+
this._viewY = i, this._viewM = a, this._slide = o && r || "", this._renderView(), this._slide = "", this.querySelector(`.datepicker-day[data-iso="${S(i, a, n)}"]`)?.focus();
|
|
572
720
|
}
|
|
573
721
|
_onKey(e) {
|
|
574
722
|
if (this._mode !== "days") {
|
|
575
723
|
e.key === "Escape" && this._close();
|
|
576
724
|
return;
|
|
577
725
|
}
|
|
578
|
-
let t = this._focus ||
|
|
726
|
+
let t = this._focus || C(this._value) || {
|
|
579
727
|
y: this._viewY,
|
|
580
728
|
m: this._viewM,
|
|
581
729
|
d: 1
|
|
@@ -593,17 +741,17 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
593
741
|
case "End": return n(6 - (new Date(t.y, t.m, t.d).getDay() - this._firstDay() + 7) % 7, "slide-next");
|
|
594
742
|
case "PageUp": {
|
|
595
743
|
e.preventDefault();
|
|
596
|
-
let n =
|
|
597
|
-
return this._setFocus(n.y, n.m, Math.min(t.d,
|
|
744
|
+
let n = E(t.y, t.m - (e.shiftKey ? 12 : 1));
|
|
745
|
+
return this._setFocus(n.y, n.m, Math.min(t.d, T(n.y, n.m)), "slide-prev");
|
|
598
746
|
}
|
|
599
747
|
case "PageDown": {
|
|
600
748
|
e.preventDefault();
|
|
601
|
-
let n =
|
|
602
|
-
return this._setFocus(n.y, n.m, Math.min(t.d,
|
|
749
|
+
let n = E(t.y, t.m + (e.shiftKey ? 12 : 1));
|
|
750
|
+
return this._setFocus(n.y, n.m, Math.min(t.d, T(n.y, n.m)), "slide-next");
|
|
603
751
|
}
|
|
604
752
|
case "Enter":
|
|
605
753
|
case " ":
|
|
606
|
-
e.preventDefault(), this._limits().dayDisabled(t.y, t.m, t.d) || (this.value =
|
|
754
|
+
e.preventDefault(), this._limits().dayDisabled(t.y, t.m, t.d) || (this.value = S(t.y, t.m, t.d), this.dispatchEvent(new Event("change", { bubbles: !0 })), this._close());
|
|
607
755
|
return;
|
|
608
756
|
case "Escape": return this._close();
|
|
609
757
|
default:
|
|
@@ -615,11 +763,11 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
615
763
|
if (!e || !t) return;
|
|
616
764
|
let r = () => !t.hidden;
|
|
617
765
|
this._open = () => {
|
|
618
|
-
if (!
|
|
766
|
+
if (!C(this._value) && !this._viewNavigated) {
|
|
619
767
|
let e = /* @__PURE__ */ new Date();
|
|
620
768
|
this._viewY = e.getFullYear(), this._viewM = e.getMonth();
|
|
621
769
|
}
|
|
622
|
-
let r =
|
|
770
|
+
let r = C(this._value), i = /* @__PURE__ */ new Date();
|
|
623
771
|
this._mode = "days", this._focus = r || {
|
|
624
772
|
y: this._viewY,
|
|
625
773
|
m: this._viewM,
|
|
@@ -632,7 +780,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
632
780
|
let t = e.target.closest("[data-nav]");
|
|
633
781
|
if (t) {
|
|
634
782
|
this._viewNavigated = !0, this._slide = Number(t.dataset.nav) < 0 ? "slide-prev" : "slide-next";
|
|
635
|
-
let e =
|
|
783
|
+
let e = E(this._viewY, this._viewM + Number(t.dataset.nav));
|
|
636
784
|
this._viewY = e.y, this._viewM = e.m, this._focus = {
|
|
637
785
|
y: e.y,
|
|
638
786
|
m: e.m,
|
|
@@ -671,7 +819,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
671
819
|
}
|
|
672
820
|
if (e.target.closest("[data-today]")) {
|
|
673
821
|
let e = /* @__PURE__ */ new Date();
|
|
674
|
-
this.value =
|
|
822
|
+
this.value = S(e.getFullYear(), e.getMonth(), e.getDate()), this.dispatchEvent(new Event("change", { bubbles: !0 })), this._close();
|
|
675
823
|
return;
|
|
676
824
|
}
|
|
677
825
|
if (e.target.closest("[data-clear]")) {
|
|
@@ -699,7 +847,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
699
847
|
disconnectedCallback() {
|
|
700
848
|
this._teardown();
|
|
701
849
|
}
|
|
702
|
-
},
|
|
850
|
+
}, O = class extends HTMLElement {
|
|
703
851
|
static formAssociated = !0;
|
|
704
852
|
static get observedAttributes() {
|
|
705
853
|
return [
|
|
@@ -758,20 +906,20 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
758
906
|
text: e,
|
|
759
907
|
empty: !0
|
|
760
908
|
} : {
|
|
761
|
-
text: `${
|
|
909
|
+
text: `${w(this._start) || "Start"} – ${w(this._end) || "End"}`,
|
|
762
910
|
empty: !1
|
|
763
911
|
};
|
|
764
912
|
}
|
|
765
913
|
render() {
|
|
766
914
|
this._defaultStart === void 0 && (this._defaultStart = this.getAttribute("start") || "", this._defaultEnd = this.getAttribute("end") || "", this._start = this._defaultStart || this._start, this._end = this._defaultEnd || this._end);
|
|
767
|
-
let e =
|
|
915
|
+
let e = C(this._start);
|
|
768
916
|
e && (this._viewY = e.y, this._viewM = e.m);
|
|
769
917
|
let t = this.getAttribute("size"), n = t === "sm" ? " input-sm" : t === "lg" ? " input-lg" : "", { text: r, empty: i } = this._label(), a = this.getAttribute("aria-label"), o = this.getAttribute("aria-describedby");
|
|
770
918
|
this.innerHTML = `
|
|
771
919
|
<div class="daterange">
|
|
772
|
-
<button type="button" class="input daterange-trigger${n}${i ? "" : " has-value"}" aria-haspopup="dialog" aria-expanded="false"${this.hasAttribute("disabled") ? " disabled" : ""}${a ? ` aria-label="${
|
|
773
|
-
<span data-range-label class="${i ? "search-select-placeholder" : ""}">${
|
|
774
|
-
|
|
920
|
+
<button type="button" class="input daterange-trigger${n}${i ? "" : " has-value"}" aria-haspopup="dialog" aria-expanded="false"${this.hasAttribute("disabled") ? " disabled" : ""}${a ? ` aria-label="${p(a)}"` : ""}${o ? ` aria-describedby="${p(o)}"` : ""}>
|
|
921
|
+
<span data-range-label class="${i ? "search-select-placeholder" : ""}">${p(r)}</span>
|
|
922
|
+
${u("calendar")}
|
|
775
923
|
</button>
|
|
776
924
|
<div class="daterange-pop" role="dialog" aria-modal="false" hidden></div>
|
|
777
925
|
</div>`, this._rendered = !0, this._syncMirrors(), this._wire();
|
|
@@ -798,24 +946,24 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
798
946
|
r || (r = document.createElement("input"), r.type = "hidden", r.setAttribute("data-range-mirror", e), this.appendChild(r)), r.name = t, r.value = n || "", r.disabled = this.hasAttribute("disabled");
|
|
799
947
|
}
|
|
800
948
|
_limits() {
|
|
801
|
-
let e =
|
|
949
|
+
let e = C(this.getAttribute("min")), t = C(this.getAttribute("max")), n = e ? new Date(e.y, e.m, e.d).getTime() : -Infinity, r = t ? new Date(t.y, t.m, t.d).getTime() : Infinity;
|
|
802
950
|
return (e, t, i) => {
|
|
803
951
|
let a = new Date(e, t, i).getTime();
|
|
804
952
|
return a < n || a > r;
|
|
805
953
|
};
|
|
806
954
|
}
|
|
807
955
|
_monthHtml(e, t) {
|
|
808
|
-
let n = this._firstDay(), r = (new Date(e, t, 1).getDay() - n + 7) % 7, i =
|
|
809
|
-
let i =
|
|
956
|
+
let n = this._firstDay(), r = (new Date(e, t, 1).getDay() - n + 7) % 7, i = T(e, t), a = this._limits(), o = b.map((e, t) => b[(t + n) % 7]).map((e) => `<span>${e}</span>`).join(""), s = (e, t, n, r) => {
|
|
957
|
+
let i = S(e, t, n), o = a(e, t, n);
|
|
810
958
|
return `<button type="button" class="${["datepicker-day", r ? "is-outside" : ""].filter(Boolean).join(" ")}" data-iso="${i}"${o ? " disabled" : ""}>${n}</button>`;
|
|
811
|
-
}, c = "", l =
|
|
959
|
+
}, c = "", l = E(e, t - 1), u = T(l.y, l.m);
|
|
812
960
|
for (let e = r - 1; e >= 0; e--) c += s(l.y, l.m, u - e, !0);
|
|
813
961
|
for (let n = 1; n <= i; n++) c += s(e, t, n, !1);
|
|
814
|
-
let d =
|
|
962
|
+
let d = E(e, t + 1), f = (7 - (r + i) % 7) % 7;
|
|
815
963
|
for (let e = 1; e <= f; e++) c += s(d.y, d.m, e, !0);
|
|
816
964
|
return `
|
|
817
965
|
<div class="daterange-cal">
|
|
818
|
-
<div class="datepicker-month-label">${
|
|
966
|
+
<div class="datepicker-month-label">${y[t]} ${e}</div>
|
|
819
967
|
<div class="datepicker-weekdays">${o}</div>
|
|
820
968
|
<div class="datepicker-grid" role="grid">${c}</div>
|
|
821
969
|
</div>`;
|
|
@@ -823,11 +971,11 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
823
971
|
_renderView() {
|
|
824
972
|
let e = this.querySelector(".daterange-pop");
|
|
825
973
|
if (!e) return;
|
|
826
|
-
let t =
|
|
974
|
+
let t = E(this._viewY, this._viewM + 1);
|
|
827
975
|
e.innerHTML = `
|
|
828
976
|
<div class="daterange-head">
|
|
829
|
-
<button type="button" class="datepicker-nav-btn" data-nav="-1" aria-label="Previous month"
|
|
830
|
-
<button type="button" class="datepicker-nav-btn" data-nav="1" aria-label="Next month"
|
|
977
|
+
<button type="button" class="datepicker-nav-btn" data-nav="-1" aria-label="Previous month">${u("chevron-left")}</button>
|
|
978
|
+
<button type="button" class="datepicker-nav-btn" data-nav="1" aria-label="Next month">${u("chevron-right")}</button>
|
|
831
979
|
</div>
|
|
832
980
|
<div class="daterange-cals">
|
|
833
981
|
${this._monthHtml(this._viewY, this._viewM)}
|
|
@@ -849,7 +997,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
849
997
|
n.classList.toggle("is-range-start", i), n.classList.toggle("is-range-end", a), n.classList.toggle("in-range", o);
|
|
850
998
|
}
|
|
851
999
|
let i = e.querySelector("[data-range-hint]");
|
|
852
|
-
i && (i.textContent = this._start ? this._end ? `${
|
|
1000
|
+
i && (i.textContent = this._start ? this._end ? `${w(this._start)} – ${w(this._end)}` : "Pick an end date" : "Pick a start date");
|
|
853
1001
|
}
|
|
854
1002
|
_position(e, t) {
|
|
855
1003
|
i(e, t);
|
|
@@ -871,7 +1019,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
871
1019
|
if (!e || !t) return;
|
|
872
1020
|
let r = () => !t.hidden;
|
|
873
1021
|
this._open = () => {
|
|
874
|
-
let r =
|
|
1022
|
+
let r = C(this._start);
|
|
875
1023
|
if (r) this._viewY = r.y, this._viewM = r.m;
|
|
876
1024
|
else {
|
|
877
1025
|
let e = /* @__PURE__ */ new Date();
|
|
@@ -884,7 +1032,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
884
1032
|
this._popClick = !0;
|
|
885
1033
|
let t = e.target.closest("[data-nav]");
|
|
886
1034
|
if (t) {
|
|
887
|
-
let e =
|
|
1035
|
+
let e = E(this._viewY, this._viewM + Number(t.dataset.nav));
|
|
888
1036
|
this._viewY = e.y, this._viewM = e.m, this._renderView();
|
|
889
1037
|
return;
|
|
890
1038
|
}
|
|
@@ -914,7 +1062,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
914
1062
|
disconnectedCallback() {
|
|
915
1063
|
this._teardown();
|
|
916
1064
|
}
|
|
917
|
-
},
|
|
1065
|
+
}, ee = class extends HTMLElement {
|
|
918
1066
|
static get observedAttributes() {
|
|
919
1067
|
return [
|
|
920
1068
|
"static",
|
|
@@ -935,10 +1083,10 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
935
1083
|
e === "static" && this.isConnected && this._wire();
|
|
936
1084
|
}
|
|
937
1085
|
_maxScale() {
|
|
938
|
-
return
|
|
1086
|
+
return te(this.getAttribute("max-scale"), 1.6);
|
|
939
1087
|
}
|
|
940
1088
|
_radius() {
|
|
941
|
-
return
|
|
1089
|
+
return te(this.getAttribute("radius"), 100);
|
|
942
1090
|
}
|
|
943
1091
|
_magnifyEnabled() {
|
|
944
1092
|
return !(this.hasAttribute("static") || typeof matchMedia == "function" && (matchMedia("(pointer: coarse)").matches || matchMedia("(prefers-reduced-motion: reduce)").matches));
|
|
@@ -963,10 +1111,10 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
963
1111
|
_teardown() {
|
|
964
1112
|
this._pointerMoveListener &&= (this.removeEventListener("pointermove", this._pointerMoveListener), null), this._pointerLeaveListener &&= (this.removeEventListener("pointerleave", this._pointerLeaveListener), null), this._resetMagnification();
|
|
965
1113
|
}
|
|
966
|
-
},
|
|
1114
|
+
}, te = (e, t) => {
|
|
967
1115
|
let n = Number.parseFloat(e);
|
|
968
1116
|
return Number.isFinite(n) ? n : t;
|
|
969
|
-
},
|
|
1117
|
+
}, k = class extends HTMLElement {
|
|
970
1118
|
static formAssociated = !0;
|
|
971
1119
|
_accessibleName() {
|
|
972
1120
|
return this.getAttribute("aria-label") || this.getAttribute("placeholder") || "Select";
|
|
@@ -1035,7 +1183,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
1035
1183
|
value: e.getAttribute("value") ?? e.textContent.trim(),
|
|
1036
1184
|
label: e.innerHTML,
|
|
1037
1185
|
icon: e.getAttribute("icon") || void 0,
|
|
1038
|
-
[
|
|
1186
|
+
[f]: !0,
|
|
1039
1187
|
selected: e.hasAttribute("selected")
|
|
1040
1188
|
})));
|
|
1041
1189
|
}
|
|
@@ -1048,7 +1196,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
1048
1196
|
}
|
|
1049
1197
|
_labelHtmlFor(e) {
|
|
1050
1198
|
let t = this._readOptions().find((t) => String(t.value) === String(e));
|
|
1051
|
-
return t ?
|
|
1199
|
+
return t ? h(t) : p(e);
|
|
1052
1200
|
}
|
|
1053
1201
|
render() {
|
|
1054
1202
|
this._snapshotDeclared();
|
|
@@ -1057,13 +1205,13 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
1057
1205
|
let a = `${this.id}-listbox`;
|
|
1058
1206
|
this._listboxId = a, this.innerHTML = `
|
|
1059
1207
|
<div class="search-select${i}">
|
|
1060
|
-
<div class="input search-select-control search-select-multi" role="combobox" aria-haspopup="listbox" aria-expanded="false" aria-controls="${
|
|
1061
|
-
${n ?
|
|
1208
|
+
<div class="input search-select-control search-select-multi" role="combobox" aria-haspopup="listbox" aria-expanded="false" aria-controls="${A(a)}" aria-label="${A(this._accessibleName())}"${this.hasAttribute("disabled") ? " aria-disabled=\"true\"" : " tabindex=\"0\""}>
|
|
1209
|
+
${n ? u(n, { className: "search-select-icon" }) : ""}
|
|
1062
1210
|
<div class="ms-chips" data-chips></div>
|
|
1063
|
-
|
|
1211
|
+
${u("chevron-down", { className: "search-select-caret" })}
|
|
1064
1212
|
</div>
|
|
1065
|
-
<div class="search-select-menu search-select-menu-fixed" role="listbox" id="${
|
|
1066
|
-
${e ? `<div class="search-select-search"
|
|
1213
|
+
<div class="search-select-menu search-select-menu-fixed" role="listbox" id="${A(a)}" aria-multiselectable="true" tabindex="-1" hidden>
|
|
1214
|
+
${e ? `<div class="search-select-search">${u("search")}<input class="search-select-input" placeholder="${A(t)}" aria-autocomplete="list" /><button type="button" class="search-select-clear" aria-label="Clear search" hidden>${u("x")}</button></div>` : ""}
|
|
1067
1215
|
<div class="search-select-options"></div>
|
|
1068
1216
|
<div class="search-select-empty" hidden>No matches</div>
|
|
1069
1217
|
</div>
|
|
@@ -1074,10 +1222,10 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
1074
1222
|
if (!e) return;
|
|
1075
1223
|
let t = this.getAttribute("placeholder") || "Select…";
|
|
1076
1224
|
if (!this._values.length) {
|
|
1077
|
-
e.innerHTML = `<span class="search-select-placeholder">${
|
|
1225
|
+
e.innerHTML = `<span class="search-select-placeholder">${p(t)}</span>`;
|
|
1078
1226
|
return;
|
|
1079
1227
|
}
|
|
1080
|
-
e.innerHTML = this._values.map((e) => `<span class="chip chip-sm"><span class="chip-label">${this._labelHtmlFor(e)}</span><button type="button" class="chip-remove" data-remove="${
|
|
1228
|
+
e.innerHTML = this._values.map((e) => `<span class="chip chip-sm"><span class="chip-label">${this._labelHtmlFor(e)}</span><button type="button" class="chip-remove" data-remove="${A(e)}" aria-label="Remove ${A(j(this._labelFor(e)))}">${u("x")}</button></span>`).join(""), this._collapseChips();
|
|
1081
1229
|
}
|
|
1082
1230
|
_collapseChips() {
|
|
1083
1231
|
let e = this.querySelector("[data-chips]");
|
|
@@ -1101,24 +1249,24 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
1101
1249
|
let t = this.querySelector(".search-select-options"), n = this.querySelector(".search-select-empty");
|
|
1102
1250
|
if (!t) return;
|
|
1103
1251
|
let r = (e || "").trim().toLowerCase(), i = this._readOptions();
|
|
1104
|
-
r && (i = i.filter((e) =>
|
|
1252
|
+
r && (i = i.filter((e) => j(e.label).toLowerCase().includes(r)));
|
|
1105
1253
|
let a = this._listboxId || `${this.id || "wui-multiselect"}-listbox`;
|
|
1106
1254
|
t.innerHTML = i.map((e, t) => {
|
|
1107
1255
|
let n = this._values.includes(String(e.value));
|
|
1108
|
-
return `<button type="button" role="option" id="${
|
|
1256
|
+
return `<button type="button" role="option" id="${A(`${a}-opt-${t}`)}" class="search-select-option${n ? " selected" : ""}" data-value="${A(e.value)}" aria-selected="${n}"><span class="ms-opt-label">${h(e)}</span><span class="ms-check">${u("check")}</span></button>`;
|
|
1109
1257
|
}).join(""), n && (n.hidden = i.length > 0), this._active = -1, this.querySelector(".search-select-control")?.removeAttribute("aria-activedescendant");
|
|
1110
1258
|
}
|
|
1111
1259
|
_wire() {
|
|
1112
1260
|
this._teardown();
|
|
1113
1261
|
let e = this.querySelector(".search-select-control"), t = this.querySelector(".search-select-menu"), n = this.querySelector(".search-select-input"), r = this.querySelector(".search-select-clear"), o = this.querySelector(".search-select-options");
|
|
1114
1262
|
if (!e || !t) return;
|
|
1115
|
-
let s = () => this.hasAttribute("disabled"),
|
|
1263
|
+
let s = () => this.hasAttribute("disabled"), l = () => i(e, t, { matchWidth: !0 }), u = () => [...this.querySelectorAll(".search-select-option")], f = () => u().filter((e) => !e.hidden), p = (t) => {
|
|
1116
1264
|
let n = f();
|
|
1117
1265
|
this._active = t;
|
|
1118
|
-
for (let e of
|
|
1266
|
+
for (let e of u()) e.classList.remove("is-active");
|
|
1119
1267
|
t >= 0 && n[t] ? (n[t].classList.add("is-active"), n[t].scrollIntoView({ block: "nearest" }), e.setAttribute("aria-activedescendant", n[t].id)) : e.removeAttribute("aria-activedescendant");
|
|
1120
1268
|
}, m = () => !t.hidden, h = () => {
|
|
1121
|
-
s() || (t.hidden = !1, e.setAttribute("aria-expanded", "true"), e.classList.add("open"),
|
|
1269
|
+
s() || (t.hidden = !1, e.setAttribute("aria-expanded", "true"), e.classList.add("open"), l(), n && (n.value = "", this._renderOptions(""), n.focus()));
|
|
1122
1270
|
}, g = () => {
|
|
1123
1271
|
t.hidden = !0, e.setAttribute("aria-expanded", "false"), e.classList.remove("open"), p(-1), clearTimeout(this._typeaheadTimer), this._typeaheadTimer = null, this._typeahead = "";
|
|
1124
1272
|
}, _ = () => {
|
|
@@ -1145,7 +1293,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
1145
1293
|
t && p(f().indexOf(t));
|
|
1146
1294
|
}), o.addEventListener("mouseleave", () => p(-1)), n?.addEventListener("input", () => {
|
|
1147
1295
|
this._renderOptions(n.value), r && (r.hidden = !n.value), p(-1);
|
|
1148
|
-
}), this._navHandler =
|
|
1296
|
+
}), this._navHandler = d({
|
|
1149
1297
|
getVisibleOptions: f,
|
|
1150
1298
|
getActive: () => this._active,
|
|
1151
1299
|
setActive: (e) => p(e),
|
|
@@ -1175,7 +1323,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
1175
1323
|
this._teardown(), !this._ro && typeof ResizeObserver < "u" && (this._ro = new ResizeObserver(() => this._collapseChips()), this._ro.observe(this)), this._onDocClick = (e) => {
|
|
1176
1324
|
m() && !this.contains(e.target) && g();
|
|
1177
1325
|
}, document.addEventListener("click", this._onDocClick), a(this, () => {
|
|
1178
|
-
m() &&
|
|
1326
|
+
m() && l();
|
|
1179
1327
|
});
|
|
1180
1328
|
}, this._bindGlobal();
|
|
1181
1329
|
}
|
|
@@ -1185,7 +1333,7 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
1185
1333
|
disconnectedCallback() {
|
|
1186
1334
|
this._teardown(), this._ro?.disconnect(), this._ro = null;
|
|
1187
1335
|
}
|
|
1188
|
-
},
|
|
1336
|
+
}, A = (e) => String(e ?? "").replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<"), j = (e) => String(e ?? "").replace(/<[^>]*>/g, ""), ne = /[^0-9]/g, re = /[^0-9a-zA-Z]/g, ie = class extends HTMLElement {
|
|
1189
1337
|
static formAssociated = !0;
|
|
1190
1338
|
static get observedAttributes() {
|
|
1191
1339
|
return [
|
|
@@ -2522,56 +2670,56 @@ var u = Symbol("wui.trustedHtml"), d = (e) => String(e ?? "").replace(/&/g, "&am
|
|
|
2522
2670
|
"Zimbabwe",
|
|
2523
2671
|
"263"
|
|
2524
2672
|
]
|
|
2525
|
-
],
|
|
2673
|
+
], M = (e) => (ae.find((t) => t[0] === e) || [
|
|
2526
2674
|
"",
|
|
2527
2675
|
"",
|
|
2528
2676
|
""
|
|
2529
|
-
])[2],
|
|
2530
|
-
function
|
|
2531
|
-
return
|
|
2677
|
+
])[2], N = (e) => `wui-flag wui-flag-${String(e).toLowerCase()}`, P = null, oe = null;
|
|
2678
|
+
function se() {
|
|
2679
|
+
return P ? Promise.resolve(P) : (oe ||= Promise.all([import("./libphonenumber-js-BcNT8oq0.js"), import("./examples.mobile.json-BMXTGiGC.js")]).then(([e, t]) => (P = {
|
|
2532
2680
|
AsYouType: e.AsYouType,
|
|
2533
2681
|
getExampleNumber: e.getExampleNumber,
|
|
2534
2682
|
isValidPhoneNumber: e.isValidPhoneNumber,
|
|
2535
2683
|
examples: t.default || t
|
|
2536
|
-
},
|
|
2684
|
+
}, P)).catch(() => null), oe);
|
|
2537
2685
|
}
|
|
2538
|
-
function
|
|
2539
|
-
if (!
|
|
2686
|
+
function F(e, t) {
|
|
2687
|
+
if (!P || !t) return t;
|
|
2540
2688
|
try {
|
|
2541
|
-
return new
|
|
2689
|
+
return new P.AsYouType(e).input(t);
|
|
2542
2690
|
} catch {
|
|
2543
2691
|
return t;
|
|
2544
2692
|
}
|
|
2545
2693
|
}
|
|
2546
|
-
function
|
|
2547
|
-
if (!
|
|
2694
|
+
function I(e) {
|
|
2695
|
+
if (!P) return null;
|
|
2548
2696
|
try {
|
|
2549
|
-
return
|
|
2697
|
+
return P.getExampleNumber(e, P.examples)?.formatNational() || null;
|
|
2550
2698
|
} catch {
|
|
2551
2699
|
return null;
|
|
2552
2700
|
}
|
|
2553
2701
|
}
|
|
2554
|
-
function
|
|
2555
|
-
if (!
|
|
2702
|
+
function L(e) {
|
|
2703
|
+
if (!P || !e) return null;
|
|
2556
2704
|
try {
|
|
2557
|
-
return
|
|
2705
|
+
return P.isValidPhoneNumber(e);
|
|
2558
2706
|
} catch {
|
|
2559
2707
|
return null;
|
|
2560
2708
|
}
|
|
2561
2709
|
}
|
|
2562
|
-
function
|
|
2563
|
-
if (!
|
|
2710
|
+
function ce(e) {
|
|
2711
|
+
if (!P) return null;
|
|
2564
2712
|
try {
|
|
2565
|
-
let t =
|
|
2713
|
+
let t = P.getExampleNumber(e, P.examples);
|
|
2566
2714
|
return t?.nationalNumber ? t.nationalNumber.length : null;
|
|
2567
2715
|
} catch {
|
|
2568
2716
|
return null;
|
|
2569
2717
|
}
|
|
2570
2718
|
}
|
|
2571
|
-
function
|
|
2572
|
-
if (!
|
|
2719
|
+
function R(e) {
|
|
2720
|
+
if (!P || !e?.trim().startsWith("+")) return null;
|
|
2573
2721
|
try {
|
|
2574
|
-
let t = new
|
|
2722
|
+
let t = new P.AsYouType();
|
|
2575
2723
|
t.input(e.trim());
|
|
2576
2724
|
let n = t.getCountry();
|
|
2577
2725
|
return n ? {
|
|
@@ -2582,7 +2730,7 @@ function L(e) {
|
|
|
2582
2730
|
return null;
|
|
2583
2731
|
}
|
|
2584
2732
|
}
|
|
2585
|
-
var
|
|
2733
|
+
var z = class extends HTMLElement {
|
|
2586
2734
|
static formAssociated = !0;
|
|
2587
2735
|
static get observedAttributes() {
|
|
2588
2736
|
return [
|
|
@@ -2622,13 +2770,13 @@ var R = class extends HTMLElement {
|
|
|
2622
2770
|
this.value = this._defaultValue || "";
|
|
2623
2771
|
}
|
|
2624
2772
|
get value() {
|
|
2625
|
-
return this._national ? `+${
|
|
2773
|
+
return this._national ? `+${M(this._country)}${this._national}` : "";
|
|
2626
2774
|
}
|
|
2627
2775
|
set value(e) {
|
|
2628
|
-
let t = String(e ?? "").trim(), n =
|
|
2776
|
+
let t = String(e ?? "").trim(), n = R(t);
|
|
2629
2777
|
if (n) this._country = n.country, this._national = n.national.replace(/[^0-9]/g, "");
|
|
2630
2778
|
else if (t.startsWith("+")) {
|
|
2631
|
-
let e = t.replace(/[^0-9]/g, ""), n = String(
|
|
2779
|
+
let e = t.replace(/[^0-9]/g, ""), n = String(M(this._country));
|
|
2632
2780
|
n && e.startsWith(n) && (e = e.slice(n.length)), this._national = e;
|
|
2633
2781
|
} else this._national = t.replace(/[^0-9]/g, "");
|
|
2634
2782
|
n && this.getAttribute("country") !== this._country ? this.setAttribute("country", this._country) : this._rendered && this.render(), this._committedValue = this.value, this._syncMirror();
|
|
@@ -2644,25 +2792,25 @@ var R = class extends HTMLElement {
|
|
|
2644
2792
|
}
|
|
2645
2793
|
render() {
|
|
2646
2794
|
this._defaultValue === void 0 && (this._defaultValue = this.getAttribute("value") || ""), this._country = this.getAttribute("country") || this._country;
|
|
2647
|
-
let e = this.getAttribute("placeholder") ||
|
|
2795
|
+
let e = this.getAttribute("placeholder") || I(this._country) || "Enter phone number";
|
|
2648
2796
|
this.id ||= `wui-phone-${Math.random().toString(36).slice(2, 9)}`;
|
|
2649
2797
|
let t = `${this.id}-listbox`;
|
|
2650
2798
|
this._listboxId = t;
|
|
2651
|
-
let n = ae.map(([e, n, r], i) => `<button type="button" role="option" id="${
|
|
2799
|
+
let n = ae.map(([e, n, r], i) => `<button type="button" role="option" id="${B(`${t}-opt-${i}`)}" class="country-dropdown-item${e === this._country ? " selected" : ""}" data-iso="${e}" aria-selected="${e === this._country}"><span class="${N(e)}" aria-hidden="true"></span><span class="country-name-text">${n}<span class="country-code-text">+${r}</span></span></button>`).join("");
|
|
2652
2800
|
this.innerHTML = `
|
|
2653
2801
|
<div class="phone-input-wrap">
|
|
2654
2802
|
<div class="phone-country-adornment">
|
|
2655
|
-
<button type="button" class="country-toggle" aria-label="Choose country" aria-haspopup="listbox" aria-expanded="false" aria-controls="${
|
|
2656
|
-
<span class="${
|
|
2657
|
-
|
|
2658
|
-
<span class="phone-dial" data-dial>+${
|
|
2803
|
+
<button type="button" class="country-toggle" aria-label="Choose country" aria-haspopup="listbox" aria-expanded="false" aria-controls="${B(t)}"${this.hasAttribute("disabled") ? " disabled" : ""}>
|
|
2804
|
+
<span class="${N(this._country)}" data-flag aria-hidden="true"></span>
|
|
2805
|
+
${u("chevron-down", { className: "phone-chevron" })}
|
|
2806
|
+
<span class="phone-dial" data-dial>+${M(this._country)}</span>
|
|
2659
2807
|
</button>
|
|
2660
|
-
<div class="country-dropdown-menu" role="listbox" id="${
|
|
2661
|
-
<div class="dropdown-search-wrapper"><span class="dropdown-search-icon"
|
|
2808
|
+
<div class="country-dropdown-menu" role="listbox" id="${B(t)}" tabindex="-1" hidden>
|
|
2809
|
+
<div class="dropdown-search-wrapper"><span class="dropdown-search-icon">${u("search")}</span><input type="text" class="dropdown-search-input" placeholder="Search country or code" aria-label="Search countries" aria-controls="${B(t)}" aria-autocomplete="list" /></div>
|
|
2662
2810
|
<div class="country-list-scroll">${n}<div class="country-empty" hidden>No countries found</div></div>
|
|
2663
2811
|
</div>
|
|
2664
2812
|
</div>
|
|
2665
|
-
<input type="tel" class="input" placeholder="${
|
|
2813
|
+
<input type="tel" class="input" placeholder="${B(e)}" value="${B(F(this._country, this._national))}"${this.getAttribute("aria-label") ? ` aria-label="${B(this.getAttribute("aria-label"))}"` : ""}${this.getAttribute("aria-describedby") ? ` aria-describedby="${B(this.getAttribute("aria-describedby"))}"` : ""}${this.hasAttribute("required") ? " required aria-required=\"true\"" : ""}${this.hasAttribute("disabled") ? " disabled" : ""} />
|
|
2666
2814
|
</div>
|
|
2667
2815
|
<div class="field-error" data-phone-error hidden></div>`, this._rendered = !0, c(this, this.value), this._wire();
|
|
2668
2816
|
}
|
|
@@ -2693,12 +2841,12 @@ var R = class extends HTMLElement {
|
|
|
2693
2841
|
}
|
|
2694
2842
|
c && (c.hidden = n > 0);
|
|
2695
2843
|
}, v = (e) => {
|
|
2696
|
-
this._country = e, this.getAttribute("country") !== e && (this._suppressCountryRender = !0, this.setAttribute("country", e), this._suppressCountryRender = !1), u && (u.className =
|
|
2844
|
+
this._country = e, this.getAttribute("country") !== e && (this._suppressCountryRender = !0, this.setAttribute("country", e), this._suppressCountryRender = !1), u && (u.className = N(e)), d && (d.textContent = `+${M(e)}`);
|
|
2697
2845
|
for (let t of this._itemEls()) {
|
|
2698
2846
|
let n = t.dataset.iso === e;
|
|
2699
2847
|
t.classList.toggle("selected", n), t.setAttribute("aria-selected", String(n));
|
|
2700
2848
|
}
|
|
2701
|
-
!this.getAttribute("placeholder") && l && (l.placeholder =
|
|
2849
|
+
!this.getAttribute("placeholder") && l && (l.placeholder = I(e) || "Enter phone number"), l && this._national && (l.value = F(e, this._national)), g(), this._syncMirror(), this._emitChange(), l?.focus();
|
|
2702
2850
|
}, y = (t) => {
|
|
2703
2851
|
let n = this._visibleItems();
|
|
2704
2852
|
if (t.key === "ArrowDown") {
|
|
@@ -2732,7 +2880,7 @@ var R = class extends HTMLElement {
|
|
|
2732
2880
|
let b = this.querySelector("[data-phone-error]"), x = (e) => {
|
|
2733
2881
|
if (l.classList.toggle("is-invalid", e), e ? l.setAttribute("aria-invalid", "true") : l.removeAttribute("aria-invalid"), b) {
|
|
2734
2882
|
if (e) {
|
|
2735
|
-
let e =
|
|
2883
|
+
let e = I(this._country);
|
|
2736
2884
|
b.textContent = e ? `Enter a valid phone number, e.g. ${e}` : "Enter a valid phone number";
|
|
2737
2885
|
}
|
|
2738
2886
|
b.hidden = !e;
|
|
@@ -2740,15 +2888,15 @@ var R = class extends HTMLElement {
|
|
|
2740
2888
|
};
|
|
2741
2889
|
l.addEventListener("input", (e) => {
|
|
2742
2890
|
e.stopPropagation();
|
|
2743
|
-
let t = l.value.replace(/[^0-9]/g, ""), n =
|
|
2891
|
+
let t = l.value.replace(/[^0-9]/g, ""), n = ce(this._country);
|
|
2744
2892
|
n && t.length > n && (t = t.slice(0, n)), this._national = t;
|
|
2745
|
-
let r =
|
|
2746
|
-
l.value !== r && (l.value = r), this._syncMirror(), this._emitInput(), l.classList.contains("is-invalid") && (!this._national ||
|
|
2893
|
+
let r = F(this._country, this._national);
|
|
2894
|
+
l.value !== r && (l.value = r), this._syncMirror(), this._emitInput(), l.classList.contains("is-invalid") && (!this._national || L(this.value) === !0) && x(!1);
|
|
2747
2895
|
}), l.addEventListener("change", (e) => e.stopPropagation()), l.addEventListener("blur", () => {
|
|
2748
|
-
x(this._national.length > 0 &&
|
|
2896
|
+
x(this._national.length > 0 && L(this.value) === !1), this.value !== this._committedValue && this._emitChange();
|
|
2749
2897
|
}), l.addEventListener("paste", (e) => {
|
|
2750
|
-
let t =
|
|
2751
|
-
t && (e.preventDefault(), this._national = t.national.replace(/[^0-9]/g, ""), t.country === this._country ? l.value =
|
|
2898
|
+
let t = R(e.clipboardData?.getData("text"));
|
|
2899
|
+
t && (e.preventDefault(), this._national = t.national.replace(/[^0-9]/g, ""), t.country === this._country ? l.value = F(this._country, this._national) : this.setAttribute("country", t.country), this._syncMirror(), this._emitInput(), this._emitChange(), this.querySelector("input[type=tel]")?.focus());
|
|
2752
2900
|
}), this._bindGlobal = () => {
|
|
2753
2901
|
this._teardownGlobals?.(), this._onDocClick = (e) => {
|
|
2754
2902
|
f() && !this.contains(e.target) && g();
|
|
@@ -2757,9 +2905,9 @@ var R = class extends HTMLElement {
|
|
|
2757
2905
|
});
|
|
2758
2906
|
}, this._teardownGlobals = () => {
|
|
2759
2907
|
this._onDocClick &&= (document.removeEventListener("click", this._onDocClick), null), o(this);
|
|
2760
|
-
}, this._bindGlobal(),
|
|
2761
|
-
if (!(!e || !l.isConnected) && (this._national && (l.value =
|
|
2762
|
-
let e =
|
|
2908
|
+
}, this._bindGlobal(), se().then((e) => {
|
|
2909
|
+
if (!(!e || !l.isConnected) && (this._national && (l.value = F(this._country, this._national)), !this.getAttribute("placeholder"))) {
|
|
2910
|
+
let e = I(this._country);
|
|
2763
2911
|
e && (l.placeholder = e);
|
|
2764
2912
|
}
|
|
2765
2913
|
}), this._syncMirror();
|
|
@@ -2770,7 +2918,7 @@ var R = class extends HTMLElement {
|
|
|
2770
2918
|
disconnectedCallback() {
|
|
2771
2919
|
this._teardown();
|
|
2772
2920
|
}
|
|
2773
|
-
},
|
|
2921
|
+
}, B = (e) => String(e ?? "").replace(/"/g, """).replace(/</g, "<"), V = class extends HTMLElement {
|
|
2774
2922
|
static formAssociated = !0;
|
|
2775
2923
|
static get observedAttributes() {
|
|
2776
2924
|
return [
|
|
@@ -2835,7 +2983,7 @@ var R = class extends HTMLElement {
|
|
|
2835
2983
|
value: e.getAttribute("value") ?? e.textContent.trim(),
|
|
2836
2984
|
label: e.innerHTML,
|
|
2837
2985
|
icon: e.getAttribute("icon") || void 0,
|
|
2838
|
-
[
|
|
2986
|
+
[f]: !0,
|
|
2839
2987
|
selected: e.hasAttribute("selected")
|
|
2840
2988
|
})));
|
|
2841
2989
|
}
|
|
@@ -2844,25 +2992,25 @@ var R = class extends HTMLElement {
|
|
|
2844
2992
|
}
|
|
2845
2993
|
render() {
|
|
2846
2994
|
this._defaultValue === void 0 && (this._defaultValue = this.getAttribute("value") || ""), this._snapshotDeclared();
|
|
2847
|
-
let e = this._readOptions(), t = this.hasAttribute("searchable"), n = this.hasAttribute("clearable"), r = this.getAttribute("size"), i = r === "sm" ? " search-select-sm" : r === "lg" ? " search-select-lg" : "", a = this.getAttribute("icon"), o = this.getAttribute("prefix"), s = this.getAttribute("placeholder") || "Select...", l = this.getAttribute("search-placeholder") || "Search...",
|
|
2848
|
-
|
|
2995
|
+
let e = this._readOptions(), t = this.hasAttribute("searchable"), n = this.hasAttribute("clearable"), r = this.getAttribute("size"), i = r === "sm" ? " search-select-sm" : r === "lg" ? " search-select-lg" : "", a = this.getAttribute("icon"), o = this.getAttribute("prefix"), s = this.getAttribute("placeholder") || "Select...", l = this.getAttribute("search-placeholder") || "Search...", d = e.find((e) => String(e.value) === String(this._value)) || e.find((e) => e.selected);
|
|
2996
|
+
d && (this._value = String(d.value)), c(this, this._value), this.id ||= `wui-select-${Math.random().toString(36).slice(2, 9)}`;
|
|
2849
2997
|
let f = `${this.id}-listbox`;
|
|
2850
2998
|
this._listboxId = f;
|
|
2851
2999
|
let m = e.map((e, t) => {
|
|
2852
3000
|
let n = String(e.value) === String(this._value);
|
|
2853
|
-
return `<button type="button" role="option" id="${
|
|
3001
|
+
return `<button type="button" role="option" id="${H(`${f}-opt-${t}`)}" class="search-select-option${n ? " selected" : ""}" data-value="${H(e.value)}" aria-selected="${n}">${h(e)}</button>`;
|
|
2854
3002
|
}).join("");
|
|
2855
3003
|
this.innerHTML = `
|
|
2856
3004
|
<div class="search-select${this.hasAttribute("compact") ? " search-select-compact" : ""}${i}">
|
|
2857
|
-
<button type="button" role="combobox" class="input search-select-control" aria-haspopup="listbox" aria-expanded="false" aria-controls="${
|
|
2858
|
-
${a ?
|
|
2859
|
-
${o ? `<span class="search-select-prefix">${
|
|
2860
|
-
<span class="${
|
|
2861
|
-
${n ?
|
|
2862
|
-
|
|
3005
|
+
<button type="button" role="combobox" class="input search-select-control" aria-haspopup="listbox" aria-expanded="false" aria-controls="${H(f)}" aria-label="${H(this._accessibleName())}"${this.hasAttribute("disabled") ? " disabled" : ""}>
|
|
3006
|
+
${a ? u(a, { className: "search-select-icon" }) : ""}
|
|
3007
|
+
${o ? `<span class="search-select-prefix">${p(o)}</span>` : ""}
|
|
3008
|
+
<span class="${d ? "" : "search-select-placeholder"}" data-label>${d ? h(d) : p(s)}</span>
|
|
3009
|
+
${n ? `<span class="search-select-reset" role="button" aria-label="Clear selection" hidden>${u("x")}</span>` : ""}
|
|
3010
|
+
${u("chevron-down", { className: "search-select-caret" })}
|
|
2863
3011
|
</button>
|
|
2864
|
-
<div class="search-select-menu search-select-menu-fixed" role="listbox" id="${
|
|
2865
|
-
${t ? `<div class="search-select-search"
|
|
3012
|
+
<div class="search-select-menu search-select-menu-fixed" role="listbox" id="${H(f)}" tabindex="-1" hidden>
|
|
3013
|
+
${t ? `<div class="search-select-search">${u("search")}<input class="search-select-input" placeholder="${H(l)}" aria-autocomplete="list" /><button type="button" class="search-select-clear" aria-label="Clear search" hidden>${u("x")}</button></div>` : ""}
|
|
2866
3014
|
<div class="search-select-options">${m}<div class="search-select-empty" hidden>No matches</div></div>
|
|
2867
3015
|
</div>
|
|
2868
3016
|
</div>`, this._rendered = !0, c(this, this._value), this._wire(), this._syncReset();
|
|
@@ -2891,7 +3039,7 @@ var R = class extends HTMLElement {
|
|
|
2891
3039
|
let t = e.dataset.value === String(this._value);
|
|
2892
3040
|
e.classList.toggle("selected", t), e.setAttribute("aria-selected", String(t));
|
|
2893
3041
|
}
|
|
2894
|
-
e && (e.innerHTML = t ?
|
|
3042
|
+
e && (e.innerHTML = t ? h(t) : p(this.getAttribute("placeholder") || "Select..."), e.classList.toggle("search-select-placeholder", !t));
|
|
2895
3043
|
}
|
|
2896
3044
|
_syncReset() {
|
|
2897
3045
|
let { reset: e } = this._refs();
|
|
@@ -2922,15 +3070,15 @@ var R = class extends HTMLElement {
|
|
|
2922
3070
|
e.menu.hidden = !1, e.control.setAttribute("aria-expanded", "true"), e.control.classList.add("open"), t(), e.search && (e.search.value = "", r(""), e.search.focus()), n(this._optionEls().findIndex((e) => e.classList.contains("selected")));
|
|
2923
3071
|
}, c = () => {
|
|
2924
3072
|
e.menu.hidden = !0, e.control.setAttribute("aria-expanded", "false"), e.control.classList.remove("open"), n(-1);
|
|
2925
|
-
},
|
|
3073
|
+
}, l = (t) => {
|
|
2926
3074
|
this.value = t.dataset.value, this.dispatchEvent(new Event("change", { bubbles: !0 })), c(), e.control.focus();
|
|
2927
3075
|
};
|
|
2928
|
-
this._navHandler =
|
|
3076
|
+
this._navHandler = d({
|
|
2929
3077
|
getVisibleOptions: () => this._visible(),
|
|
2930
3078
|
getActive: () => this._active,
|
|
2931
3079
|
setActive: (e) => n(e),
|
|
2932
3080
|
onEnter: (e) => {
|
|
2933
|
-
e &&
|
|
3081
|
+
e && l(e);
|
|
2934
3082
|
},
|
|
2935
3083
|
onEscape: () => {
|
|
2936
3084
|
this._navHandler.clearTypeahead(), c(), e.control.focus();
|
|
@@ -2945,7 +3093,7 @@ var R = class extends HTMLElement {
|
|
|
2945
3093
|
(e.key === "ArrowDown" || e.key === "Enter" || e.key === " ") && (e.preventDefault(), s());
|
|
2946
3094
|
}), e.optionsWrap.addEventListener("click", (e) => {
|
|
2947
3095
|
let t = e.target.closest(".search-select-option");
|
|
2948
|
-
t &&
|
|
3096
|
+
t && l(t);
|
|
2949
3097
|
}), e.optionsWrap.addEventListener("mousemove", (e) => {
|
|
2950
3098
|
let t = e.target.closest(".search-select-option");
|
|
2951
3099
|
t && n(this._visible().indexOf(t));
|
|
@@ -2967,7 +3115,7 @@ var R = class extends HTMLElement {
|
|
|
2967
3115
|
disconnectedCallback() {
|
|
2968
3116
|
this._teardown();
|
|
2969
3117
|
}
|
|
2970
|
-
},
|
|
3118
|
+
}, H = (e) => String(e ?? "").replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<"), U = class extends HTMLElement {
|
|
2971
3119
|
static formAssociated = !0;
|
|
2972
3120
|
static get observedAttributes() {
|
|
2973
3121
|
return [
|
|
@@ -3007,19 +3155,19 @@ var R = class extends HTMLElement {
|
|
|
3007
3155
|
return this._value;
|
|
3008
3156
|
}
|
|
3009
3157
|
set value(e) {
|
|
3010
|
-
this._value = this._snapToStep(this._clamp(
|
|
3158
|
+
this._value = this._snapToStep(this._clamp(W(e, this._value))), this._syncValue(), this._syncMirrors();
|
|
3011
3159
|
}
|
|
3012
3160
|
get start() {
|
|
3013
3161
|
return this._start;
|
|
3014
3162
|
}
|
|
3015
3163
|
set start(e) {
|
|
3016
|
-
this._start = Math.min(this._snapToStep(this._clamp(
|
|
3164
|
+
this._start = Math.min(this._snapToStep(this._clamp(W(e, this._start))), this._end), this._syncValue(), this._syncMirrors();
|
|
3017
3165
|
}
|
|
3018
3166
|
get end() {
|
|
3019
3167
|
return this._end;
|
|
3020
3168
|
}
|
|
3021
3169
|
set end(e) {
|
|
3022
|
-
this._end = Math.max(this._snapToStep(this._clamp(
|
|
3170
|
+
this._end = Math.max(this._snapToStep(this._clamp(W(e, this._end))), this._start), this._syncValue(), this._syncMirrors();
|
|
3023
3171
|
}
|
|
3024
3172
|
attributeChangedCallback(e, t, n) {
|
|
3025
3173
|
if (e === "value" || e === "start" || e === "end" || e === "min" || e === "max" || e === "step") {
|
|
@@ -3032,19 +3180,19 @@ var R = class extends HTMLElement {
|
|
|
3032
3180
|
this._isRange() ? this._resetRange() : this._resetSingle();
|
|
3033
3181
|
}
|
|
3034
3182
|
_updateFromAttribute(e) {
|
|
3035
|
-
e === "value" ? this._value = this._snapToStep(this._clamp(
|
|
3183
|
+
e === "value" ? this._value = this._snapToStep(this._clamp(W(this.getAttribute("value"), this._value))) : e === "start" ? this._start = this._snapToStep(this._clamp(W(this.getAttribute("start"), this._start))) : e === "end" && (this._end = this._snapToStep(this._clamp(W(this.getAttribute("end"), this._end))));
|
|
3036
3184
|
}
|
|
3037
3185
|
_isRange() {
|
|
3038
3186
|
return this.hasAttribute("range");
|
|
3039
3187
|
}
|
|
3040
3188
|
_min() {
|
|
3041
|
-
return
|
|
3189
|
+
return W(this.getAttribute("min"), 0);
|
|
3042
3190
|
}
|
|
3043
3191
|
_max() {
|
|
3044
|
-
return
|
|
3192
|
+
return W(this.getAttribute("max"), 100);
|
|
3045
3193
|
}
|
|
3046
3194
|
_step() {
|
|
3047
|
-
return
|
|
3195
|
+
return W(this.getAttribute("step"), 1);
|
|
3048
3196
|
}
|
|
3049
3197
|
_clamp(e) {
|
|
3050
3198
|
return Math.max(this._min(), Math.min(e, this._max()));
|
|
@@ -3109,7 +3257,7 @@ var R = class extends HTMLElement {
|
|
|
3109
3257
|
aria-valuenow="${this._value}"
|
|
3110
3258
|
aria-valuetext="${this._formatValue(this._value)}"
|
|
3111
3259
|
${a ? "disabled" : ""}
|
|
3112
|
-
aria-label="${
|
|
3260
|
+
aria-label="${le(this.getAttribute("aria-label") || "Value")}"
|
|
3113
3261
|
></button>
|
|
3114
3262
|
`}
|
|
3115
3263
|
${this.hasAttribute("show-value") ? n ? `<span class="slider-value">${this._formatValue(this._start)} – ${this._formatValue(this._end)}</span>` : `<span class="slider-value">${this._formatValue(this._value)}</span>` : ""}
|
|
@@ -3209,10 +3357,10 @@ var R = class extends HTMLElement {
|
|
|
3209
3357
|
disconnectedCallback() {
|
|
3210
3358
|
this._teardown();
|
|
3211
3359
|
}
|
|
3212
|
-
},
|
|
3360
|
+
}, W = (e, t) => {
|
|
3213
3361
|
let n = Number.parseFloat(e);
|
|
3214
3362
|
return Number.isFinite(n) ? n : t;
|
|
3215
|
-
},
|
|
3363
|
+
}, le = (e) => String(e ?? "").replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<"), G = class extends HTMLElement {
|
|
3216
3364
|
static formAssociated = !0;
|
|
3217
3365
|
_accessibleName() {
|
|
3218
3366
|
return this.getAttribute("aria-label") || this.getAttribute("placeholder") || "Add tags";
|
|
@@ -3276,7 +3424,7 @@ var R = class extends HTMLElement {
|
|
|
3276
3424
|
c(this, this._values.join(",")), this.innerHTML = `
|
|
3277
3425
|
<div class="search-select${t}">
|
|
3278
3426
|
<div class="input search-select-control search-select-multi"${this.hasAttribute("disabled") ? " aria-disabled=\"true\"" : ""}>
|
|
3279
|
-
<input type="text" class="ms-input" data-input aria-label="${
|
|
3427
|
+
<input type="text" class="ms-input" data-input aria-label="${K(this._accessibleName())}" placeholder="${K(this.getAttribute("placeholder") || "Add…")}" autocomplete="off"${this.hasAttribute("disabled") ? " disabled" : ""}/>
|
|
3280
3428
|
<div class="ms-chips" data-chips></div>
|
|
3281
3429
|
</div>
|
|
3282
3430
|
</div>`, this._rendered = !0, c(this, this._values.join(",")), this._renderControl(), this._wire();
|
|
@@ -3288,7 +3436,7 @@ var R = class extends HTMLElement {
|
|
|
3288
3436
|
e.innerHTML = "";
|
|
3289
3437
|
return;
|
|
3290
3438
|
}
|
|
3291
|
-
e.innerHTML = this._values.map((e) => `<span class="chip chip-sm"><span class="chip-label">${
|
|
3439
|
+
e.innerHTML = this._values.map((e) => `<span class="chip chip-sm"><span class="chip-label">${ue(e)}</span><button type="button" class="chip-remove" data-remove="${K(e)}" aria-label="Remove ${K(e)}">${u("x")}</button></span>`).join("");
|
|
3292
3440
|
}
|
|
3293
3441
|
}
|
|
3294
3442
|
_wire() {
|
|
@@ -3359,7 +3507,7 @@ var R = class extends HTMLElement {
|
|
|
3359
3507
|
disconnectedCallback() {
|
|
3360
3508
|
this._teardown();
|
|
3361
3509
|
}
|
|
3362
|
-
},
|
|
3510
|
+
}, ue = (e) => String(e ?? "").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), K = (e) => String(e ?? "").replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<"), q = (e) => String(e).padStart(2, "0"), de = (e, t) => `${q(e)}:${q(t)}`, J = (e) => {
|
|
3363
3511
|
let t = /^(\d{2}):(\d{2})$/.exec(e || "");
|
|
3364
3512
|
return t ? {
|
|
3365
3513
|
h: +t[1],
|
|
@@ -3367,10 +3515,10 @@ var R = class extends HTMLElement {
|
|
|
3367
3515
|
} : null;
|
|
3368
3516
|
}, Y = (e, t = "24") => {
|
|
3369
3517
|
if (!e) return "";
|
|
3370
|
-
if (t === "24") return
|
|
3518
|
+
if (t === "24") return de(e.h, e.m);
|
|
3371
3519
|
let n = e.h % 12 || 12, r = e.h >= 12 ? "PM" : "AM";
|
|
3372
|
-
return `${n}:${
|
|
3373
|
-
},
|
|
3520
|
+
return `${n}:${q(e.m)} ${r}`;
|
|
3521
|
+
}, fe = class extends HTMLElement {
|
|
3374
3522
|
static formAssociated = !0;
|
|
3375
3523
|
static get observedAttributes() {
|
|
3376
3524
|
return [
|
|
@@ -3420,9 +3568,9 @@ var R = class extends HTMLElement {
|
|
|
3420
3568
|
let e = this.getAttribute("placeholder") || "Select time", t = J(this._value), n = this.getAttribute("format") || "24", r = this.getAttribute("size"), i = r === "sm" ? " input-sm" : r === "lg" ? " input-lg" : "", a = this.getAttribute("aria-label"), o = this.getAttribute("aria-describedby");
|
|
3421
3569
|
this.innerHTML = `
|
|
3422
3570
|
<div class="timepicker">
|
|
3423
|
-
<button type="button" class="input timepicker-trigger${i}${t ? " has-value" : ""}" aria-haspopup="listbox" aria-expanded="false"${this.hasAttribute("disabled") ? " disabled" : ""}${a ? ` aria-label="${
|
|
3424
|
-
<span data-trigger-label class="${t ? "" : "timepicker-placeholder"}">${t ? Y(t, n) :
|
|
3425
|
-
|
|
3571
|
+
<button type="button" class="input timepicker-trigger${i}${t ? " has-value" : ""}" aria-haspopup="listbox" aria-expanded="false"${this.hasAttribute("disabled") ? " disabled" : ""}${a ? ` aria-label="${p(a)}"` : ""}${o ? ` aria-describedby="${p(o)}"` : ""}>
|
|
3572
|
+
<span data-trigger-label class="${t ? "" : "timepicker-placeholder"}">${t ? Y(t, n) : p(e)}</span>
|
|
3573
|
+
${u("clock")}
|
|
3426
3574
|
</button>
|
|
3427
3575
|
<div class="timepicker-pop" role="listbox" tabindex="-1" hidden></div>
|
|
3428
3576
|
</div>`, this._rendered = !0, c(this, this._value), this._wire();
|
|
@@ -3455,7 +3603,7 @@ var R = class extends HTMLElement {
|
|
|
3455
3603
|
if (!e) return;
|
|
3456
3604
|
let t = this.getAttribute("format") || "24", n = this._buildTimes(), r = J(this._value), i = this._focus, a = "";
|
|
3457
3605
|
for (let e = 0; e < n.length; e++) {
|
|
3458
|
-
let o = n[e], s =
|
|
3606
|
+
let o = n[e], s = de(o.h, o.m), c = r && r.h === o.h && r.m === o.m;
|
|
3459
3607
|
a += `<button type="button" class="timepicker-option${c ? " is-selected" : ""}" data-hm="${s}" role="option" tabindex="${i === e ? "0" : "-1"}"${c ? " aria-selected=\"true\"" : ""}>${Y(o, t)}</button>`;
|
|
3460
3608
|
}
|
|
3461
3609
|
e.innerHTML = a, this._focusActive();
|
|
@@ -3554,7 +3702,7 @@ var R = class extends HTMLElement {
|
|
|
3554
3702
|
disconnectedCallback() {
|
|
3555
3703
|
this._teardown();
|
|
3556
3704
|
}
|
|
3557
|
-
},
|
|
3705
|
+
}, pe = "wui-wizard-step", me = class extends HTMLElement {
|
|
3558
3706
|
static get observedAttributes() {
|
|
3559
3707
|
return [
|
|
3560
3708
|
"active",
|
|
@@ -3588,7 +3736,7 @@ var R = class extends HTMLElement {
|
|
|
3588
3736
|
this._beforeNext = typeof e == "function" ? e : null;
|
|
3589
3737
|
}
|
|
3590
3738
|
get _steps() {
|
|
3591
|
-
return [...this.querySelectorAll(`:scope > ${
|
|
3739
|
+
return [...this.querySelectorAll(`:scope > ${pe}`)];
|
|
3592
3740
|
}
|
|
3593
3741
|
refresh() {
|
|
3594
3742
|
this._rendered && this._renderChrome();
|
|
@@ -3645,15 +3793,15 @@ var R = class extends HTMLElement {
|
|
|
3645
3793
|
].filter(Boolean).join(" "), this._header.setAttribute("aria-label", this.getAttribute("label") || "Progress");
|
|
3646
3794
|
let i = this.hasAttribute("non-linear");
|
|
3647
3795
|
return e.map((e, r) => {
|
|
3648
|
-
let a = this._stepStatus(e, r), o = e.getAttribute("label") || "", s = e.getAttribute("description") || "", c = e.getAttribute("icon") || "", l = r + 1,
|
|
3649
|
-
|
|
3650
|
-
let
|
|
3651
|
-
return
|
|
3796
|
+
let a = this._stepStatus(e, r), o = e.getAttribute("label") || "", s = e.getAttribute("description") || "", c = e.getAttribute("icon") || "", l = r + 1, d;
|
|
3797
|
+
d = a === "done" ? u("check") : a === "error" ? u("alert-triangle") : a === "skipped" ? u("minus") : c ? u(c) : String(l);
|
|
3798
|
+
let f = a === "pending" ? "step" : `step ${a}`, p = a === "active" ? " aria-current=\"step\"" : "", m = i || r < this._active, h = s ? `<span class="step-desc">${X(s)}</span>` : "", g;
|
|
3799
|
+
return g = t ? `<span class="step-circle">${d}</span><span class="step-text"><span class="step-index">Step ${l}</span><span class="step-label">${X(o)}</span>${h}</span>` : n ? `<span class="step-circle">${d}</span><span class="step-index">Step ${l}</span><span class="step-label">${X(o)}</span>${h}` : `<span class="step-circle">${d}</span><span class="step-label">${X(o)}</span>${h}`, m ? `<button type="button" class="${f}" data-step="${r}"${p}>${g}</button>` : `<div class="${f}"${p}>${g}</div>`;
|
|
3652
3800
|
}).join("");
|
|
3653
3801
|
}
|
|
3654
3802
|
_footerHtml(e) {
|
|
3655
3803
|
let t = this._active, n = e.length - 1, r = this.hasAttribute("disabled") ? " disabled" : "", i = e[t]?.hasAttribute("optional") || this.hasAttribute("skippable"), a = this.getAttribute("back-label") || "Back", o = this.getAttribute("next-label") || "Next", s = this.getAttribute("skip-label") || "Skip", c = this.getAttribute("finish-label") || "Finish";
|
|
3656
|
-
return `${t > 0 ? `<button type="button" class="btn btn-ghost" data-nav="back"${r}>${
|
|
3804
|
+
return `${t > 0 ? `<button type="button" class="btn btn-ghost" data-nav="back"${r}>${X(a)}</button>` : "<span></span>"}<span class="wizard-footer-actions">${i && t < n ? `<button type="button" class="btn btn-subtle" data-nav="skip"${r}>${X(s)}</button>` : ""}${t < n ? `<button type="button" class="btn btn-primary" data-nav="next"${r}>${X(o)}</button>` : `<button type="button" class="btn btn-primary" data-nav="finish"${r}>${X(c)}</button>`}</span>`;
|
|
3657
3805
|
}
|
|
3658
3806
|
_wire() {
|
|
3659
3807
|
this._teardown(), this._onHeaderClick = (e) => {
|
|
@@ -3721,7 +3869,7 @@ var R = class extends HTMLElement {
|
|
|
3721
3869
|
_reflectActive(e) {
|
|
3722
3870
|
this._reflecting = !0, this.setAttribute("active", String(e)), this._reflecting = !1;
|
|
3723
3871
|
}
|
|
3724
|
-
},
|
|
3872
|
+
}, X = (e) => String(e ?? "").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), he = class extends HTMLElement {
|
|
3725
3873
|
static get observedAttributes() {
|
|
3726
3874
|
return [
|
|
3727
3875
|
"label",
|
|
@@ -3735,14 +3883,14 @@ var R = class extends HTMLElement {
|
|
|
3735
3883
|
let e = this.closest("wui-wizard");
|
|
3736
3884
|
e && typeof e.refresh == "function" && e.refresh();
|
|
3737
3885
|
}
|
|
3738
|
-
},
|
|
3886
|
+
}, ge = "image/png,image/jpeg,image/webp", _e = 5, ve = {
|
|
3739
3887
|
"image/png": [".png"],
|
|
3740
3888
|
"image/jpeg": [".jpg", ".jpeg"],
|
|
3741
3889
|
"image/webp": [".webp"],
|
|
3742
3890
|
"image/gif": [".gif"],
|
|
3743
3891
|
"image/svg+xml": [".svg"],
|
|
3744
3892
|
"application/pdf": [".pdf"]
|
|
3745
|
-
},
|
|
3893
|
+
}, ye = {
|
|
3746
3894
|
"image/png": "PNG",
|
|
3747
3895
|
"image/jpeg": "JPG",
|
|
3748
3896
|
"image/webp": "WEBP",
|
|
@@ -3756,7 +3904,7 @@ var R = class extends HTMLElement {
|
|
|
3756
3904
|
".gif": "GIF",
|
|
3757
3905
|
".svg": "SVG",
|
|
3758
3906
|
".pdf": "PDF"
|
|
3759
|
-
},
|
|
3907
|
+
}, Z = (e) => String(e || "").split(",").map((e) => e.trim().toLowerCase()).filter(Boolean), Q = [
|
|
3760
3908
|
".png",
|
|
3761
3909
|
".jpg",
|
|
3762
3910
|
".jpeg",
|
|
@@ -3767,44 +3915,44 @@ var R = class extends HTMLElement {
|
|
|
3767
3915
|
".avif",
|
|
3768
3916
|
".heic"
|
|
3769
3917
|
];
|
|
3770
|
-
function
|
|
3918
|
+
function be(e) {
|
|
3771
3919
|
if (!e) return !1;
|
|
3772
3920
|
let t = typeof e == "object" && e.type ? String(e.type).toLowerCase() : "";
|
|
3773
3921
|
if (t) return t.startsWith("image/");
|
|
3774
3922
|
let n = typeof e == "string" ? e : e.name || e.url || "", r = String(n).toLowerCase();
|
|
3775
|
-
return
|
|
3776
|
-
}
|
|
3777
|
-
function be(e) {
|
|
3778
|
-
let t = Q(e);
|
|
3779
|
-
return t.length ? t.every((e) => e.startsWith(".") ? ve.includes(e) : e === "image/*" || e.startsWith("image/")) : !1;
|
|
3923
|
+
return Q.some((e) => r.endsWith(e));
|
|
3780
3924
|
}
|
|
3781
3925
|
function xe(e) {
|
|
3926
|
+
let t = Z(e);
|
|
3927
|
+
return t.length ? t.every((e) => e.startsWith(".") ? Q.includes(e) : e === "image/*" || e.startsWith("image/")) : !1;
|
|
3928
|
+
}
|
|
3929
|
+
function Se(e) {
|
|
3782
3930
|
let t = [];
|
|
3783
|
-
for (let n of
|
|
3784
|
-
let e =
|
|
3931
|
+
for (let n of Z(e)) {
|
|
3932
|
+
let e = ye[n] || (n.startsWith(".") ? n.slice(1).toUpperCase() : n.toUpperCase());
|
|
3785
3933
|
t.includes(e) || t.push(e);
|
|
3786
3934
|
}
|
|
3787
3935
|
return t.length <= 1 ? t[0] || "supported" : `${t.slice(0, -1).join(", ")} or ${t[t.length - 1]}`;
|
|
3788
3936
|
}
|
|
3789
|
-
function
|
|
3790
|
-
let n =
|
|
3937
|
+
function Ce(e, t) {
|
|
3938
|
+
let n = Z(t);
|
|
3791
3939
|
if (!n.length) return !0;
|
|
3792
3940
|
let r = (e.type || "").toLowerCase(), i = (e.name || "").toLowerCase();
|
|
3793
|
-
return n.some((e) => e.startsWith(".") ? i.endsWith(e) : e.endsWith("/*") ? r.startsWith(e.slice(0, -1)) : r && r === e ? !0 : !r && (
|
|
3941
|
+
return n.some((e) => e.startsWith(".") ? i.endsWith(e) : e.endsWith("/*") ? r.startsWith(e.slice(0, -1)) : r && r === e ? !0 : !r && (ve[e] || []).some((e) => i.endsWith(e)));
|
|
3794
3942
|
}
|
|
3795
|
-
function
|
|
3943
|
+
function we(e, t = {}) {
|
|
3796
3944
|
if (!e) return null;
|
|
3797
|
-
let n = t.accept === void 0 ?
|
|
3798
|
-
return
|
|
3945
|
+
let n = t.accept === void 0 ? ge : t.accept, r = t.maxSizeMb || 5;
|
|
3946
|
+
return Ce(e, n) ? e.size > r * 1024 * 1024 ? `Keep the file under ${r} MB.` : null : `Choose a ${Se(n)} file.`;
|
|
3799
3947
|
}
|
|
3800
3948
|
//#endregion
|
|
3801
3949
|
//#region src/index.js
|
|
3802
3950
|
var $ = (e, t) => {
|
|
3803
3951
|
typeof customElements < "u" && !customElements.get(e) && customElements.define(e, t);
|
|
3804
3952
|
};
|
|
3805
|
-
function
|
|
3806
|
-
$("wui-select",
|
|
3953
|
+
function Te() {
|
|
3954
|
+
$("wui-select", V), $("wui-phone", z), $("wui-datepicker", D), $("wui-date-range", O), $("wui-dock", ee), $("wui-slider", U), $("wui-timepicker", fe), $("wui-autocomplete", g), $("wui-multiselect", k), $("wui-taginput", G), $("wui-otp", ie), $("wui-status-icon", n), $("wui-wizard-step", he), $("wui-wizard", me);
|
|
3807
3955
|
}
|
|
3808
|
-
|
|
3956
|
+
Te();
|
|
3809
3957
|
//#endregion
|
|
3810
|
-
export {
|
|
3958
|
+
export { ge as DEFAULT_IMAGE_ACCEPT, _e as DEFAULT_MAX_SIZE_MB, t as STATUS_TONES, g as WuiAutocomplete, D as WuiDatePicker, O as WuiDateRange, ee as WuiDock, k as WuiMultiSelect, ie as WuiOtp, z as WuiPhone, V as WuiSelect, U as WuiSlider, n as WuiStatusIcon, G as WuiTagInput, fe as WuiTimePicker, me as WuiWizard, he as WuiWizardStep, Se as acceptLabel, Te as defineWeborityElements, be as isImageFile, xe as isImageOnlyAccept, Ce as matchesAccept, we as validateFile };
|