vuesp-components 2.5.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/THIRD_PARTY_LICENSES.md +238 -0
- package/dist/App.vue.d.ts.map +1 -1
- package/dist/VDialog.vue_vue_type_script_setup_true_lang-C_akEjfi.js +900 -0
- package/dist/components/app/AppHeader.vue.d.ts.map +1 -1
- package/dist/components/app/AppNav.vue.d.ts.map +1 -1
- package/dist/components/app/AppProgress.vue.d.ts.map +1 -1
- package/dist/components/block/breadcrumb/BlockBreadcrumb.vue.d.ts.map +1 -1
- package/dist/components/block/data/BlockDataSettings.vue.d.ts.map +1 -1
- package/dist/components/block/data/BlockFieldCard.vue.d.ts.map +1 -1
- package/dist/components/block/data/BlockMetricCard.vue.d.ts.map +1 -1
- package/dist/components/block/data/BlockPicker.vue.d.ts.map +1 -1
- package/dist/components/block/data/context.d.ts +0 -4
- package/dist/components/block/data/context.d.ts.map +1 -1
- package/dist/components/block/data/deviceStorage.d.ts +0 -4
- package/dist/components/block/data/deviceStorage.d.ts.map +1 -1
- package/dist/components/block/data/useBlock.d.ts +7 -7
- package/dist/components/block/info/types.d.ts +1 -1
- package/dist/components/block/info/types.d.ts.map +1 -1
- package/dist/components/block/presets/energy-flow/EnergyFlowCard.vue.d.ts +1 -1
- package/dist/components/block/presets/energy-flow/EnergyFlowCard.vue.d.ts.map +1 -1
- package/dist/components/block/status/types.d.ts +1 -1
- package/dist/components/block/status/types.d.ts.map +1 -1
- package/dist/components/card/index.d.ts +1 -2
- package/dist/components/card/index.d.ts.map +1 -1
- package/dist/components/card/notification/CardNotification.vue.d.ts.map +1 -1
- package/dist/components/card/notification/types.d.ts +1 -1
- package/dist/components/card/notification/types.d.ts.map +1 -1
- package/dist/components/card/types.d.ts +0 -1
- package/dist/components/card/types.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardBase.vue.d.ts +2 -2
- package/dist/components/dashboard/cards/CardBase.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardButton.vue.d.ts +2 -2
- package/dist/components/dashboard/cards/CardButton.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDate.vue.d.ts +10 -6
- package/dist/components/dashboard/cards/CardDate.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts +2 -2
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts +2 -2
- package/dist/components/dashboard/cards/CardInput.vue.d.ts +2 -2
- package/dist/components/dashboard/cards/CardInput.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardList.vue.d.ts +2 -2
- package/dist/components/dashboard/cards/CardList.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts +3 -3
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts.map +1 -1
- package/dist/components/index.es.js +2919 -3041
- package/dist/components/script/editor/ScriptEditor.vue.d.ts.map +1 -1
- package/dist/components/script/editor/plugins/autocomplete.d.ts.map +1 -1
- package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts +1 -1
- package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts.map +1 -1
- package/dist/components/ui/accordion/VAccordion.vue.d.ts +26 -0
- package/dist/components/ui/accordion/VAccordion.vue.d.ts.map +1 -0
- package/dist/components/ui/accordion/VAccordionItem.vue.d.ts +24 -0
- package/dist/components/ui/accordion/VAccordionItem.vue.d.ts.map +1 -0
- package/dist/components/ui/button/VButton.vue.d.ts.map +1 -1
- package/dist/components/ui/button/types.d.ts +3 -3
- package/dist/components/ui/button/types.d.ts.map +1 -1
- package/dist/components/{card/main/CardMain.vue.d.ts → ui/card/VCard.vue.d.ts} +5 -4
- package/dist/components/ui/card/VCard.vue.d.ts.map +1 -0
- package/dist/components/ui/card/types.d.ts +14 -0
- package/dist/components/ui/card/types.d.ts.map +1 -0
- package/dist/components/ui/checkbox/VCheckbox.vue.d.ts.map +1 -1
- package/dist/components/ui/dialog/VDialog.vue.d.ts +6 -2
- package/dist/components/ui/dialog/VDialog.vue.d.ts.map +1 -1
- package/dist/components/ui/dialog/VPopup.vue.d.ts.map +1 -1
- package/dist/components/ui/dialog/types.d.ts +2 -0
- package/dist/components/ui/dialog/types.d.ts.map +1 -1
- package/dist/components/ui/expansion/VExpansion.vue.d.ts.map +1 -1
- package/dist/components/ui/file/VFile.vue.d.ts.map +1 -1
- package/dist/components/ui/func/VFunc.vue.d.ts.map +1 -1
- package/dist/components/ui/{vision/VisionIcon.vue.d.ts → icon/VIcon.vue.d.ts} +3 -1
- package/dist/components/ui/icon/VIcon.vue.d.ts.map +1 -0
- package/dist/components/ui/icon/icons.d.ts +4 -0
- package/dist/components/ui/icon/icons.d.ts.map +1 -0
- package/dist/components/ui/icon/types.d.ts +8 -3
- package/dist/components/ui/icon/types.d.ts.map +1 -1
- package/dist/components/ui/index.d.ts +6 -3
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/list/VListObject.vue.d.ts.map +1 -1
- package/dist/components/ui/list/types.d.ts +0 -1
- package/dist/components/ui/list/types.d.ts.map +1 -1
- package/dist/components/ui/select/VSelect.vue.d.ts.map +1 -1
- package/dist/components/ui/text-field/VTextField.vue.d.ts +6 -2
- package/dist/components/ui/text-field/VTextField.vue.d.ts.map +1 -1
- package/dist/components/ui/text-field/VTextWrapper.vue.d.ts.map +1 -0
- package/dist/components/ui/text-field/types.d.ts +30 -2
- package/dist/components/ui/text-field/types.d.ts.map +1 -1
- package/dist/components/ui/text-field/useTextField.d.ts +11 -0
- package/dist/components/ui/text-field/useTextField.d.ts.map +1 -0
- package/dist/components/ui/wifiIcon/VWifiIcon.vue.d.ts.map +1 -1
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/composables/index.es.js +31 -30
- package/dist/composables/useFocusTrap.d.ts +3 -0
- package/dist/composables/useFocusTrap.d.ts.map +1 -0
- package/dist/dashboard/index.d.ts +1 -1
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/types.d.ts +1 -2
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +14 -15
- package/dist/main.d.ts.map +1 -1
- package/dist/pages/kit/KitRow.vue.d.ts +21 -0
- package/dist/pages/kit/KitRow.vue.d.ts.map +1 -0
- package/dist/pages/kit/KitSection.vue.d.ts +22 -0
- package/dist/pages/kit/KitSection.vue.d.ts.map +1 -0
- package/dist/pages/kit/KitShowcase.vue.d.ts +3 -0
- package/dist/pages/kit/KitShowcase.vue.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/dist/theme.css +182 -39
- package/dist/useDialog-Buvn63AR.js +599 -0
- package/package.json +3 -4
- package/dist/CardMain.vue_vue_type_style_index_0_lang-CCrFdlnW.js +0 -823
- package/dist/components/card/main/CardMain.vue.d.ts.map +0 -1
- package/dist/components/card/main/types.d.ts +0 -7
- package/dist/components/card/main/types.d.ts.map +0 -1
- package/dist/components/ui/text-wrapper/VTextWrapper.vue.d.ts.map +0 -1
- package/dist/components/ui/text-wrapper/types.d.ts +0 -12
- package/dist/components/ui/text-wrapper/types.d.ts.map +0 -1
- package/dist/components/ui/vision/VisionIcon.vue.d.ts.map +0 -1
- package/dist/useDialog-BdpYSys6.js +0 -567
- /package/dist/components/ui/{text-wrapper → text-field}/VTextWrapper.vue.d.ts +0 -0
|
@@ -0,0 +1,900 @@
|
|
|
1
|
+
import { openBlock as s, createElementBlock as p, createStaticVNode as ie, createElementVNode as h, defineComponent as C, computed as m, normalizeClass as b, resolveComponent as ae, createBlock as j, resolveDynamicComponent as P, mergeProps as F, withCtx as M, renderSlot as w, createCommentVNode as L, shallowRef as N, Teleport as K, createVNode as z, Transition as I, unref as n, withModifiers as W, normalizeStyle as O, ref as T, withDirectives as ne, Fragment as Z, renderList as G, createTextVNode as D, toDisplayString as H, useSlots as se, onMounted as le, withKeys as de, createPropsRestProxy as ke, normalizeProps as me, guardReactiveProps as he } from "vue";
|
|
2
|
+
import { u as J, a as ce, b as Q, c as U, d as X } from "./useDialog-Buvn63AR.js";
|
|
3
|
+
const Y = (e, i) => {
|
|
4
|
+
const t = e.__vccOpts || e;
|
|
5
|
+
for (const [l, d] of i)
|
|
6
|
+
t[l] = d;
|
|
7
|
+
return t;
|
|
8
|
+
}, ue = {}, ve = {
|
|
9
|
+
viewBox: "0 0 179 40",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
};
|
|
12
|
+
function pe(e, i) {
|
|
13
|
+
return s(), p("svg", ve, [...i[0] || (i[0] = [
|
|
14
|
+
ie('<g transform="matrix(0.13287749,0,0,0.13643171,26.823508,13.407673)"><path d="m -19.25933,-16.057909 c 0,39.1906 -14.287,86.055995 -38.669,116.999999 -7.898,10.024 -30.4718,32.819 -43.7731,17.695 -9.4823,-10.781 -3.53183,-36.917714 -0.86893,-48.907714 9.1618,-41.251693 19.72123,-78.8733849 30.31103,-119.787285 -27.50968,14.537655 -68.26323,-24.154322 -70.36602,-2.214449 -12.32038,69.23655 -28.82323,204.245118 16.36602,215.925448 81.802,10.63 120.333,-82.698004 129.4249996,-148.710999 2.182,-15.84009991 4.123,-31.9832 2.401,-48 -2.342,-21.78506 -24.7959996,-32.68227 -43.7859996,-21.58643 -11.424,6.67523 -12.148,29.93713 -1.935,38.01393 5.462,4.3199 14.927,3.091 20.895,0.5725 z"></path><path d="m 104.76548,-63.374174 0.008,91.15236 -26.35225,25.003926 26.35676,25.415735 4.8e-4,91.161403 4.03033,0.0237 c 0,0 0.0729,-90.913243 -0.0476,-91.163063 l 26.24012,-24.776315 -26.23835,-25.66073 0.007,-91.147024 z"></path><path d="m 803.85444,82.816565 c -5.5092,-1.69169 -15.7197,-2.12913 -19.9329,1.03114 -5.56,4.548 -0.63,22.670005 -0.76,28.973005 0.3943,19.76599 20.7146,30.35978 36.02,33 0,0 45.06,4.77 68,-5.439 35.89996,-15.975 40.75996,-63.180005 13.91,-89.457 -15.2385,-18.333755 -72.7584,-32.66908 -78.91,-50.10399958 -6.54,-7.52040002 -2.52,-22.38120042 5.1,-27.89120042 10.47,-7.5605 25.91,-7.3647 37.9,-5.017 13.11,2.5659 14.15,13.6285 18,24.9082004 1.48,4.3522 2.88,12.3564 8.1,13.6674 2.25,0.5623 4.67,-0.1094 6.9,-0.3827 16.42996,-2.011 11.28456,-11.418391 12.09456,-24.2037914 0.38,-6.0219 2.2254,-16.238609 -1.1246,-21.752209 -5.98996,-9.87979 -17.48276,-9.960049 -30.96996,-15.3287 -11.9944,-2.919504 -32.57,-5.50288 -50,-1.25772 -13.92,3.39017 -28.5,10.49772 -37.24,22.25772 -16.31,21.9622 -9.6,57.1861 10.26,74.6998 22.17,19.5582 58.4,21.7732 76.41,46.304195 16.9,23.013005 -18.71,37.732005 -37.1,36.158005 -39.9169,-0.34531 -23.6297,-30.723925 -36.6571,-40.166145 z"></path><path d="m 321.18154,-32.17929 21,9 -46,120.999995 c -13.02939,-49.349215 -25.65589,-93.5184936 -37,-121.999995 5.741,-1.2008 17.946,-4.1139 20.397,-10.1049 2.328,-5.6934 -1.142,-13.0456 -1.397,-18.8951 -9.12189,0.745226 -79.43846,-2.275099 -82.411,2.3179 -1.02172,5.2378 -3.84926,12.95938 -1.985,17.2878 4.036,8.5605 18.82154,3.517306 23.75154,13.866906 25.90475,54.255645 38.51776,106.713979 60.87446,156.527394 37.33703,54.02331 63.06896,-92.52485 72.275,-119 4.089,-11.8192996 7.212,-30.0265 15.194,-39.7724 15.1599,-17.433642 28.97616,-5.381825 21.868,-28.07945 -5.23694,-5.944366 -63.1086,-2.739072 -64.389,-1.54476 -3.452,4.31661 -7.5289,7.804293 -2.178,19.39661 z"></path><path d="m 401.18154,-53.17929 c -0.998,4.83681 -4.908,16.1206 -1.357,20.3511 4.914,5.8555 20.341,3.7676 21.463,12.689 3.596,28.5694004 -0.4,58.2962 0.855,86.9599 0.882,20.149995 3.491,41.865 17.134,57.961 36.351,42.885 114.137,25.661 128.322,-27.961005 9.142,-34.561995 3.01191,-80.803507 3.08491,-116.292007 0.033,-15.7886 15.53509,-3.553988 22.46909,-13.356888 3.337,-4.7169 -1.212,-15.187 -1.971,-20.3511 -20.45735,-0.261837 -40.85188,-0.262234 -61.258,1.02779 l -3.742,11.97221 c 0.84877,13.898543 11.37685,10.038234 23.90801,11.758642 0.32053,9.189207 0.091,48.923358 0.092,71.241358 10e-4,19.4 0.471,40.338995 -8.89,58 -15.56,29.358 -61.659,29.409 -74.878,-2.000005 -10.636,-25.273 -6.147,-56.234995 -6.233,-82.999995 -0.035,-10.9870996 -2.501,-25.3419996 0.319,-35.9568 2.549,-9.5978 16.626,-6.4297 22.064,-12.6921 3.287,-3.7858 -0.52,-15.71299 -1.382,-20.3511 z"></path><path d="m 760.05964,143.05268 c -5.1123,-31.58627 4.9497,-52.437285 -1.4781,-59.628975 -3.17,-3.163 -17.48,-3.877 -20.39,-0.285 -7.636,9.412 -6.012,27.571005 -14.737,36.079005 -3.136,3.058 -10.272,1.461 -14.273,1.689 -13.102,0.746 -25.895,-0.086 -39,-0.086 l -1,-68 c 7.223,0.913 21.685,-1.996 27.722,1.269 6.665,3.604 3.577,17.035995 10.556,20.532995 5.15472,-0.0642 13.05488,0.47604 17.494,-1.405 5.21328,-7.758815 3.74312,-60.612259 -0.015,-62.640795 -5.5141,-0.237113 -13.29293,-2.8563906 -17.543,-1.1527996 -6.595,2.8734996 -5.002,15.2292996 -10.608,19.7931996 -5.233,4.2609 -21.417,2.0768 -27.606,0.6034 l 0.018,-19.9999996 0.982,-42.0000004 h 36 c 4.195,0 11.017,-1.271 14.725,1.0278 9.479,5.8759 5.235,25.2669004 13.705,30.94060042 4.66,3.12049998 14.21,-2.03520002 19.57,-1.96840002 -1.7258,-10.0332024 5.1749,-44.7657364 -0.6,-49.9722104 -8.573,-0.17431 -123.95249,0.09746 -142.26,0.5756 -2.813,3.26479 -4.226,15.59871 -1.533,19.00621 4.834,6.1168 16.163,4.3646 20.481,9.9544 4.51586,28.5714044 7.89004,96.377815 0.594,132.328 -2.185,7.787 -16.181,5.969 -20.654,11.832 -1.59611,5.22999 -0.7409,13.33851 1.536,18.048 5.16025,7.51372 110.02916,3.17366 148.3141,3.45997 z"></path><path d="m 964.1815,-23.17929 c 0,43.4127 3.83,88.767 -0.06,131.985 -0.8,8.923 -14.88,7.544 -20.62,12.09 -4.2,3.326 -1.95,14.442 -0.17,18.777 15.7137,4.67091 86.3037,9.27518 89.39,-4.852 0.57,-3.057 2.36,-9.582 0.42,-12.297 -5.77,-8.041 -28.93,-2.391 -30.81,-13.747 -0.063,-55.41713 -0.3488,-55.25935 -0.15,-140.956 16.19,0 34.24,-2.9842 46.98,9.0934 18.26,17.2977004 11.94,53.4098 -8.98,65.6236 -7.67,4.477 -18.44,3.283 -27,3.283 v 23 c 23.19,0 50.85,-0.216 69,-17.093 28.42,-26.4403 19.73,-83.9314 -16,-99.7334 -4.6952,-8.320027 -96.8662,-17.196078 -120.68,-4.43208 -2.7,1.3721 -3.6701,5.98455 -3.17,8.34798 -3.3313,17.201533 8.54,18.6194 21.85,20.9105 z"></path></g>', 1)
|
|
15
|
+
])]);
|
|
16
|
+
}
|
|
17
|
+
const Ze = /* @__PURE__ */ Y(ue, [["render", pe]]), ge = {}, be = {
|
|
18
|
+
width: "40",
|
|
19
|
+
height: "40",
|
|
20
|
+
viewBox: "0 0 40 40",
|
|
21
|
+
fill: "currentColor"
|
|
22
|
+
};
|
|
23
|
+
function fe(e, i) {
|
|
24
|
+
return s(), p("svg", be, [...i[0] || (i[0] = [
|
|
25
|
+
h("g", { transform: "matrix(0.13287749,0,0,0.13643171,26.823508,13.407673)" }, [
|
|
26
|
+
h("path", { d: "m -19.25933,-16.057909 c 0,39.1906 -14.287,86.055995 -38.669,116.999999 -7.898,10.024 -30.4718,32.819 -43.7731,17.695 -9.4823,-10.781 -3.53183,-36.917714 -0.86893,-48.907714 9.1618,-41.251693 19.72123,-78.8733849 30.31103,-119.787285 -27.50968,14.537655 -68.26323,-24.154322 -70.36602,-2.214449 -12.32038,69.23655 -28.82323,204.245118 16.36602,215.925448 81.802,10.63 120.333,-82.698004 129.4249996,-148.710999 2.182,-15.84009991 4.123,-31.9832 2.401,-48 -2.342,-21.78506 -24.7959996,-32.68227 -43.7859996,-21.58643 -11.424,6.67523 -12.148,29.93713 -1.935,38.01393 5.462,4.3199 14.927,3.091 20.895,0.5725 z" })
|
|
27
|
+
], -1)
|
|
28
|
+
])]);
|
|
29
|
+
}
|
|
30
|
+
const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-ceiling", "light", "therm", "fan", "air-vent", "snow", "windy", "blaze", "sun", "moon", "shield", "alarm-smoke", "fingerprint", "camera", "video", "eye", "eye-off", "lock", "lock-open", "door", "gauge", "chart", "wifi", "solar-panel", "ev-charger", "bolt", "inverter", "plug", "socket", "shut", "battery", "faucet", "droplets", "washing-machine", "microwave", "robot-vacuum", "tv", "speaker", "home", "plant", "map", "box", "store", "storage", "gpio", "ram", "card", "wallet", "shopping", "bot", "script", "code", "dashboard", "layout-grid", "list-check", "settings", "palette", "filter", "calendar", "clock", "timer", "refresh", "restart", "star", "rocket", "book-open", "click", "play-circle", "stop-circle", "grip", "trend-up", "trend-down", "file", "file-info", "file-list", "folder", "document", "save", "sticky-note-add", "download", "upload", "edit", "copy", "trash", "eraser", "menu", "search", "menu-search", "add", "close", "check", "more", "info", "help", "noti", "external", "github", "logout", "user", "users", "arrow-right", "arrow-up-right", "chevron-down", "chevron-right", "close-circle"], R = {
|
|
31
|
+
bulb: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3 12h1m8-9v1m8 8h1M5.6 5.6l.7.7m12.1-.7l-.7.7M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0-1 3a2 2 0 0 1-4 0a3.5 3.5 0 0 0-1-3m.7 1h4.6"/>' },
|
|
32
|
+
lamp: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M9 20h6m-3 0v-8m-7 0h14l-4-8H9z"/>' },
|
|
33
|
+
"lamp-ceiling": { viewBox: "8 8 240 240", mode: "fill", body: '<path fill="currentColor" d="M176 74.78V72a16 16 0 0 0-16-16h-24V16a8 8 0 0 0-16 0v40H96a16 16 0 0 0-16 16v2.78A111.73 111.73 0 0 0 16 176a8 8 0 0 0 8 8h64a40 40 0 0 0 80 0h64a8 8 0 0 0 8-8a111.73 111.73 0 0 0-64-101.22M128 208a24 24 0 0 1-24-24h48a24 24 0 0 1-24 24m-95.67-40a95.79 95.79 0 0 1 58.75-80.65A8 8 0 0 0 96 80v-8h64v8a8 8 0 0 0 4.92 7.38A95.79 95.79 0 0 1 223.67 168Z"/>' },
|
|
34
|
+
light: { viewBox: "8 8 240 240", mode: "fill", body: '<path fill="currentColor" d="M184 16H72a16 16 0 0 0-16 16v45.33a16.12 16.12 0 0 0 3.2 9.6L80 114.67V224a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V114.67l20.8-27.74a16.12 16.12 0 0 0 3.2-9.6V32a16 16 0 0 0-16-16M72 32h112v24H72zm91.2 73.07a16.12 16.12 0 0 0-3.2 9.6V224H96V114.67a16.12 16.12 0 0 0-3.2-9.6L72 77.33V72h112v5.33ZM136 120v32a8 8 0 0 1-16 0v-32a8 8 0 0 1 16 0"/>' },
|
|
35
|
+
therm: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M19 5a2.83 2.83 0 0 1 0 4l-8 8H7v-4l8-8a2.83 2.83 0 0 1 4 0m-3 2l-1.5-1.5M13 10l-1.5-1.5M10 13l-1.5-1.5M7 17l-3 3"/>' },
|
|
36
|
+
fan: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M9 13a3 3 0 1 0 6 0a3 3 0 1 0-6 0"/><path d="M14.167 10.5q1.083-2.307 1.303-4.514C15.69 4.356 14.708 3 12 3S8.31 4.357 8.53 5.986q.22 2.207 1.303 4.514m3.336 6.251q1.456 2.092 3.257 3.386c1.3 1 2.967.833 4.321-1.512s.67-3.874-.85-4.498q-2.021-.913-4.562-1.128M8.664 13q-2.54.215-4.56 1.128c-1.522.623-2.206 2.153-.852 4.498s3.02 2.517 4.321 1.512q1.8-1.294 3.258-3.386"/></g>' },
|
|
37
|
+
"air-vent": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M8 16a3 3 0 0 1-3 3m11-3a3 3 0 0 0 3 3m-7-3v4M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path d="M7 13v-3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3"/></g>' },
|
|
38
|
+
snow: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="m10 4l2 1l2-1"/><path d="M12 2v6.5l3 1.72m2.928-3.952l.134 2.232l1.866 1.232"/><path d="m20.66 7l-5.629 3.25l.01 3.458m4.887.56L18.062 15.5l-.134 2.232"/><path d="m20.66 17l-5.629-3.25l-2.99 1.738M14 20l-2-1l-2 1"/><path d="M12 22v-6.5l-3-1.72m-2.928 3.952L5.938 15.5l-1.866-1.232"/><path d="m3.34 17l5.629-3.25l-.01-3.458m-4.887-.56L5.938 8.5l.134-2.232"/><path d="m3.34 7l5.629 3.25l2.99-1.738"/></g>' },
|
|
39
|
+
windy: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M5 8h8.5a2.5 2.5 0 1 0-2.34-3.24M3 12h15.5a2.5 2.5 0 1 1-2.34 3.24M4 16h5.5a2.5 2.5 0 1 1-2.34 3.24"/>' },
|
|
40
|
+
blaze: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M12 10.941c2.333-3.308.167-7.823-1-8.941c0 3.395-2.235 5.299-3.667 6.706C5.903 10.114 5 12 5 14.294C5 17.998 8.134 21 12 21s7-3.002 7-6.706c0-1.712-1.232-4.403-2.333-5.588c-2.084 3.353-3.257 3.353-4.667 2.235"/>' },
|
|
41
|
+
sun: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0m-5 0h1m8-9v1m8 8h1m-9 8v1M5.6 5.6l.7.7m12.1-.7l-.7.7m0 11.4l.7.7m-12.1-.7l-.7.7"/>' },
|
|
42
|
+
moon: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M12 3h.393a7.5 7.5 0 0 0 7.92 12.446A9 9 0 1 1 12 2.992z"/>' },
|
|
43
|
+
shield: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M12 3a12 12 0 0 0 8.5 3A12 12 0 0 1 12 21A12 12 0 0 1 3.5 6A12 12 0 0 0 12 3"/>' },
|
|
44
|
+
"alarm-smoke": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m18 8l-.8 3a1.25 1.25 0 0 1-1.2 1H8a1.25 1.25 0 0 1-1.2-1L6 8M3 5a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm9 11c.643.288 1.017.756 1 1.25c.017.494-.357.962-1 1.25s-1.017.756-1 1.25c-.017.494.357.962 1 1.25m-5-5c.643.288 1.017.756 1 1.25c.017.494-.357.962-1 1.25s-1.017.756-1 1.25c-.017.494.357.962 1 1.25m10-5c.643.288 1.017.756 1 1.25c.017.494-.357.962-1 1.25s-1.017.756-1 1.25c-.017.494.357.962 1 1.25"/>' },
|
|
45
|
+
fingerprint: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M18.9 7a8 8 0 0 1 1.1 5v1a6 6 0 0 0 .8 3M8 11a4 4 0 0 1 8 0v1a10 10 0 0 0 2 6"/><path d="M12 11v2a14 14 0 0 0 2.5 8M8 15a18 18 0 0 0 1.8 6m-4.9-2a22 22 0 0 1-.9-7v-1a8 8 0 0 1 12-6.95"/></g>' },
|
|
46
|
+
camera: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M5 7h1a2 2 0 0 0 2-2a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2"/><path d="M9 13a3 3 0 1 0 6 0a3 3 0 0 0-6 0"/></g>' },
|
|
47
|
+
video: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m15 10l4.553-2.276A1 1 0 0 1 21 8.618v6.764a1 1 0 0 1-1.447.894L15 14zM3 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>' },
|
|
48
|
+
eye: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0-4 0"/><path d="M21 12q-3.6 6-9 6t-9-6q3.6-6 9-6t9 6"/></g>' },
|
|
49
|
+
"eye-off": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828"/><path d="M16.681 16.673A8.7 8.7 0 0 1 12 18q-5.4 0-9-6q1.908-3.18 4.32-4.674m2.86-1.146A9 9 0 0 1 12 6q5.4 0 9 6q-1 1.665-2.138 2.87M3 3l18 18"/></g>' },
|
|
50
|
+
lock: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M5 13a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"/><path d="M11 16a1 1 0 1 0 2 0a1 1 0 0 0-2 0m-3-5V7a4 4 0 1 1 8 0v4"/></g>' },
|
|
51
|
+
"lock-open": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M5 13a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"/><path d="M11 16a1 1 0 1 0 2 0a1 1 0 1 0-2 0m-3-5V6a4 4 0 0 1 8 0"/></g>' },
|
|
52
|
+
door: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M14 12v.01M3 21h18M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16"/>' },
|
|
53
|
+
gauge: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0"/><path d="M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0m2.41-1.41L16 8m-9 4a5 5 0 0 1 5-5"/></g>' },
|
|
54
|
+
chart: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm12-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM9 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14"/>' },
|
|
55
|
+
wifi: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M12 18h.01m-2.838-2.828a4 4 0 0 1 5.656 0m-8.485-2.829a8 8 0 0 1 11.314 0"/><path d="M3.515 9.515c4.686-4.687 12.284-4.687 17 0"/></g>' },
|
|
56
|
+
"solar-panel": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4.28 14h15.44a1 1 0 0 0 .97-1.243l-1.5-6A1 1 0 0 0 18.22 6H5.78a1 1 0 0 0-.97.757l-1.5 6A1 1 0 0 0 4.28 14M4 10h16M10 6l-1 8m5-8l1 8m-3 0v4m-5 0h10"/>' },
|
|
57
|
+
"ev-charger": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="m18 7l-1 1m-3 3h1a2 2 0 0 1 2 2v3a1.5 1.5 0 0 0 3 0V9l-3-3M4 20V6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v14"/><path d="M9 11.5L7.5 14h3L9 16.5M3 20h12M4 8h10"/></g>' },
|
|
58
|
+
bolt: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M13 3v7h6l-8 11v-7H5z"/>' },
|
|
59
|
+
inverter: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M7 10h14l-4-4m0 8H3l4 4"/>' },
|
|
60
|
+
plug: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M9.785 6L18 14.215l-2.054 2.054a5.81 5.81 0 1 1-8.215-8.215zM4 20l3.5-3.5M15 4l-3.5 3.5M20 9l-3.5 3.5"/>' },
|
|
61
|
+
socket: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z"/><path fill="currentColor" d="M8.5 12a.5.5 0 1 0 1 0a.5.5 0 1 0-1 0m6 0a.5.5 0 1 0 1 0a.5.5 0 1 0-1 0"/></g>' },
|
|
62
|
+
shut: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M7 6a7.75 7.75 0 1 0 10 0m-5-2v8"/>' },
|
|
63
|
+
battery: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M6 7h11a2 2 0 0 1 2 2v.5a.5.5 0 0 0 .5.5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5a.5.5 0 0 0-.5.5v.5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2"/>' },
|
|
64
|
+
faucet: { viewBox: "0.75 0.75 22.5 22.5", mode: "fill", body: '<path fill="currentColor" d="M2 15v-2h5v-1H5q-.425 0-.712-.288T4 11t.288-.712T5 10h2q.825 0 1.413.588T9 12v1h2V6.1q0-1.725 1.2-2.912T15.125 2q1.15 0 2.125.6t1.5 1.65l1.15 2.3l-1.8.9l-1.15-2.3q-.275-.525-.775-.837T15.1 4q-.875 0-1.487.613T13 6.1V13h2v-1q0-.825.588-1.412T17 10h2q.425 0 .713.288T20 11t-.288.713T19 12h-2v1h5v2zm4 6q-.825 0-1.412-.587T4 19v-4h2v4h12v-4h2v4q0 .825-.587 1.413T18 21z"/>' },
|
|
65
|
+
droplets: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4.072 20.3a3 3 0 0 0 3.856 0a3 3 0 0 0 .67-3.798l-2.095-3.227a.6.6 0 0 0-1.005 0L3.4 16.502a3 3 0 0 0 .671 3.798m12.001 0a3 3 0 0 0 3.856 0a3 3 0 0 0 .67-3.798l-2.095-3.227a.6.6 0 0 0-1.005 0L15.4 16.502a3 3 0 0 0 .671 3.798m-5.999-10a3 3 0 0 0 3.856 0a3 3 0 0 0 .67-3.798l-2.095-3.227a.6.6 0 0 0-1.005 0L9.4 6.502a3 3 0 0 0 .671 3.798z"/>' },
|
|
66
|
+
"washing-machine": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M5 5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"/><path d="M8 14a4 4 0 1 0 8 0a4 4 0 1 0-8 0m0-8h.01M11 6h.01M14 6h2"/><path d="M8 14q2-1 4 0t4 0"/></g>' },
|
|
67
|
+
microwave: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M3 7a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm12-1v12m3-6h.01M18 15h.01M18 9h.01"/><path d="M6.5 10.5c1-.667 1.5-.667 2.5 0c.833.347 1.667.926 2.5 0m-5 3c1-.667 1.5-.667 2.5 0c.833.347 1.667.926 2.5 0"/></g>' },
|
|
68
|
+
"robot-vacuum": { viewBox: "0.75 0.75 22.5 22.5", mode: "fill", body: '<path fill="currentColor" d="M12 12q-.425 0-.712-.288T11 11t.288-.712T12 10t.713.288T13 11t-.288.713T12 12m-1.575 5l-1.35 1.35q.675.325 1.4.488T12 19t1.525-.162t1.4-.488L13.6 17zM12 5q-1.45 0-2.725.55T7.05 7.05t-1.5 2.225T5 12q0 1.575.638 2.925t1.737 2.3l1.4-1.4q-.8-.7-1.287-1.687T7 12q0-2.075 1.463-3.537T12 7t3.538 1.463T17 12q0 1.15-.488 2.138t-1.287 1.687l1.4 1.4q1.1-.95 1.738-2.3T19 12q0-1.45-.55-2.725t-1.5-2.225t-2.225-1.5T12 5m0 4q-1.25 0-2.125.875T9 12t.875 2.125T12 15t2.125-.875T15 12t-.875-2.125T12 9m0 12q-1.875 0-3.512-.712t-2.85-1.925t-1.925-2.85T3 12t.713-3.512t1.924-2.85t2.85-1.925T12 3t3.513.713t2.85 1.924t1.925 2.85T21 12t-.712 3.513t-1.925 2.85t-2.85 1.925T12 21"/>' },
|
|
69
|
+
tv: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm13-6l-4 4l-4-4"/>' },
|
|
70
|
+
speaker: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M5 5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"/><path d="M9 14a3 3 0 1 0 6 0a3 3 0 1 0-6 0m3-7v.01"/></g>' },
|
|
71
|
+
home: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M5 12H3l9-9l9 9h-2M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7"/><path d="M9 21v-6a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v6"/></g>' },
|
|
72
|
+
plant: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M7 15h10v4a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2zm5-6a6 6 0 0 0-6-6H3v2a6 6 0 0 0 6 6h3m0 0a6 6 0 0 1 6-6h3v1a6 6 0 0 1-6 6h-3m0 3V9"/>' },
|
|
73
|
+
map: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m3 7l6-3l6 3l6-3v13l-6 3l-6-3l-6 3zm6-3v13m6-10v13"/>' },
|
|
74
|
+
box: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m12 3l8 4.5v9L12 21l-8-4.5v-9zm0 9l8-4.5M12 12v9m0-9L4 7.5"/>' },
|
|
75
|
+
store: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M4 6a8 3 0 1 0 16 0A8 3 0 1 0 4 6"/><path d="M4 6v6a8 3 0 0 0 16 0V6"/><path d="M4 12v6a8 3 0 0 0 16 0v-6"/></g>' },
|
|
76
|
+
storage: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3 7a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm0 8a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm4-7v.01M7 16v.01"/>' },
|
|
77
|
+
gpio: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M5 6a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z"/><path d="M9 9h6v6H9zm-6 1h2m-2 4h2m5-11v2m4-2v2m7 5h-2m2 4h-2m-5 7v-2m-4 2v-2"/></g>' },
|
|
78
|
+
ram: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M12 11v2m4-2v2M3 7h18a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1m5 4v2m-4 4v2m3-2v2m3-2v2m10-2v2m-3-2v2m-4-2v2"/>' },
|
|
79
|
+
card: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3 8a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm0 2h18M7 15h.01M11 15h2"/>' },
|
|
80
|
+
wallet: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M17 8V5a1 1 0 0 0-1-1H6a2 2 0 0 0 0 4h12a1 1 0 0 1 1 1v3m0 4v3a1 1 0 0 1-1 1H6a2 2 0 0 1-2-2V6"/><path d="M20 12v4h-4a2 2 0 0 1 0-4z"/></g>' },
|
|
81
|
+
shopping: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M6.331 8H17.67a2 2 0 0 1 1.977 2.304l-1.255 8.152A3 3 0 0 1 15.426 21H8.574a3 3 0 0 1-2.965-2.544l-1.255-8.152A2 2 0 0 1 6.331 8"/><path d="M9 11V6a3 3 0 0 1 6 0v5"/></g>' },
|
|
82
|
+
bot: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M6 6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm6-4v2m-3 8v9m6-9v9M5 16l4-2m6 0l4 2M9 18h6M10 8v.01M14 8v.01"/>' },
|
|
83
|
+
script: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M17 20H6a3 3 0 0 1 0-6h11a3 3 0 0 0 0 6h1a3 3 0 0 0 3-3V6a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v8"/>' },
|
|
84
|
+
code: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m7 8l-4 4l4 4m10-8l4 4l-4 4M14 4l-4 16"/>' },
|
|
85
|
+
dashboard: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M10 13a2 2 0 1 0 4 0a2 2 0 1 0-4 0m3.45-1.45L15.5 9.5"/><path d="M6.4 20a9 9 0 1 1 11.2 0z"/></g>' },
|
|
86
|
+
"layout-grid": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1zm10 0a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 15a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1zm10 0a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z"/>' },
|
|
87
|
+
"list-check": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3.5 5.5L5 7l2.5-2.5m-4 7L5 13l2.5-2.5m-4 7L5 19l2.5-2.5M11 6h9m-9 6h9m-9 6h9"/>' },
|
|
88
|
+
settings: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c1 .608 2.296.07 2.572-1.065"/><path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0-6 0"/></g>' },
|
|
89
|
+
palette: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M12 21a9 9 0 0 1 0-18c4.97 0 9 3.582 9 8c0 1.06-.474 2.078-1.318 2.828S17.693 15 16.5 15H14a2 2 0 0 0-1 3.75A1.3 1.3 0 0 1 12 21"/><path d="M7.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0-2 0m4-3a1 1 0 1 0 2 0a1 1 0 1 0-2 0m4 3a1 1 0 1 0 2 0a1 1 0 1 0-2 0"/></g>' },
|
|
90
|
+
filter: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4 4h16v2.172a2 2 0 0 1-.586 1.414L15 12v7l-6 2v-8.5L4.52 7.572A2 2 0 0 1 4 6.227z"/>' },
|
|
91
|
+
calendar: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4 7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm12-4v4M8 3v4m-4 4h16"/>' },
|
|
92
|
+
clock: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0"/><path d="M12 7v5l3 3"/></g>' },
|
|
93
|
+
timer: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M6.5 7h11m-11 10h11M6 20v-2a6 6 0 1 1 12 0v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1"/><path d="M6 4v2a6 6 0 1 0 12 0V4a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1"/></g>' },
|
|
94
|
+
refresh: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4m-4 4a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/>' },
|
|
95
|
+
restart: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M19.933 13.041a8 8 0 1 1-9.925-8.788c3.899-1 7.935 1.007 9.425 4.747"/><path d="M20 4v5h-5"/></g>' },
|
|
96
|
+
star: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m12 17.75l-6.172 3.245l1.179-6.873l-5-4.867l6.9-1l3.086-6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"/>' },
|
|
97
|
+
rocket: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M4 13a8 8 0 0 1 7 7a6 6 0 0 0 3-5a9 9 0 0 0 6-8a3 3 0 0 0-3-3a9 9 0 0 0-8 6a6 6 0 0 0-5 3"/><path d="M7 14a6 6 0 0 0-3 6a6 6 0 0 0 6-3m4-8a1 1 0 1 0 2 0a1 1 0 1 0-2 0"/></g>' },
|
|
98
|
+
"book-open": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0M3 6v13m9-13v13m9-13v13"/>' },
|
|
99
|
+
click: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3 12h3m6-9v3M7.8 7.8L5.6 5.6m10.6 2.2l2.2-2.2M7.8 16.2l-2.2 2.2M12 12l9 3l-4 2l-2 4z"/>' },
|
|
100
|
+
"play-circle": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M7 4v16l13-8z"/>' },
|
|
101
|
+
"stop-circle": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M5 7a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"/>' },
|
|
102
|
+
grip: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M8 5a1 1 0 1 0 2 0a1 1 0 1 0-2 0m0 7a1 1 0 1 0 2 0a1 1 0 1 0-2 0m0 7a1 1 0 1 0 2 0a1 1 0 1 0-2 0m6-14a1 1 0 1 0 2 0a1 1 0 1 0-2 0m0 7a1 1 0 1 0 2 0a1 1 0 1 0-2 0m0 7a1 1 0 1 0 2 0a1 1 0 1 0-2 0"/>' },
|
|
103
|
+
"trend-up": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="m3 17l6-6l4 4l8-8"/><path d="M14 7h7v7"/></g>' },
|
|
104
|
+
"trend-down": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="m3 7l6 6l4-4l8 8"/><path d="M21 10v7h-7"/></g>' },
|
|
105
|
+
file: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M14 3v4a1 1 0 0 0 1 1h4"/><path d="M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2"/></g>' },
|
|
106
|
+
"file-info": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M14 3v4a1 1 0 0 0 1 1h4"/><path d="M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2"/><path d="M11 14h1v4h1m-1-7h.01"/></g>' },
|
|
107
|
+
"file-list": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M13 5h8m-8 4h5m-5 6h8m-8 4h5M3 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm0 10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z"/>' },
|
|
108
|
+
folder: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"/>' },
|
|
109
|
+
document: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M14 3v4a1 1 0 0 0 1 1h4"/><path d="M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2M9 9h1m-1 4h6m-6 4h6"/></g>' },
|
|
110
|
+
save: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M6 4h10l4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2"/><path d="M10 14a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10v4H8V4"/></g>' },
|
|
111
|
+
"sticky-note-add": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m13 20l7-7m-7 7v-6a1 1 0 0 1 1-1h6V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2z"/>' },
|
|
112
|
+
download: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5l5-5m-5-7v12"/>' },
|
|
113
|
+
upload: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 9l5-5l5 5m-5-5v12"/>' },
|
|
114
|
+
edit: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M7 7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-1"/><path d="M20.385 6.585a2.1 2.1 0 0 0-2.97-2.97L9 12v3h3zM16 5l3 3"/></g>' },
|
|
115
|
+
copy: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M7 9.667A2.667 2.667 0 0 1 9.667 7h8.666A2.667 2.667 0 0 1 21 9.667v8.666A2.667 2.667 0 0 1 18.333 21H9.667A2.667 2.667 0 0 1 7 18.333z"/><path d="M4.012 16.737A2 2 0 0 1 3 15V5c0-1.1.9-2 2-2h10c.75 0 1.158.385 1.5 1"/></g>' },
|
|
116
|
+
trash: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4 7h16m-10 4v6m4-6v6M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-12M9 7V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3"/>' },
|
|
117
|
+
eraser: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M19 20H8.5l-4.21-4.3a1 1 0 0 1 0-1.41l10-10a1 1 0 0 1 1.41 0l5 5a1 1 0 0 1 0 1.41L11.5 20m6.5-6.7L11.7 7"/>' },
|
|
118
|
+
menu: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4 8h16M4 16h16"/>' },
|
|
119
|
+
search: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3 10a7 7 0 1 0 14 0a7 7 0 1 0-14 0m18 11l-6-6"/>' },
|
|
120
|
+
"menu-search": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M8 11a3 3 0 1 0 6 0a3 3 0 0 0-6 0m8 5l-2.5-2.5M3 7V5a2 2 0 0 1 2-2h2M3 17v2a2 2 0 0 0 2 2h2M17 3h2a2 2 0 0 1 2 2v2m-4 14h2a2 2 0 0 0 2-2v-2"/>' },
|
|
121
|
+
add: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M12 5v14m-7-7h14"/>' },
|
|
122
|
+
close: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M18 6L6 18M6 6l12 12"/>' },
|
|
123
|
+
check: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m5 12l5 5L20 7"/>' },
|
|
124
|
+
more: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M4 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0m7 0a1 1 0 1 0 2 0a1 1 0 1 0-2 0m7 0a1 1 0 1 0 2 0a1 1 0 1 0-2 0"/>' },
|
|
125
|
+
info: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01"/><path d="M11 12h1v4h1"/></g>' },
|
|
126
|
+
help: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m9 5v.01"/><path d="M12 13.5a1.5 1.5 0 0 1 1-1.5a2.6 2.6 0 1 0-3-4"/></g>' },
|
|
127
|
+
noti: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3H4a4 4 0 0 0 2-3v-3a7 7 0 0 1 4-6M9 17v1a3 3 0 0 0 6 0v-1"/>' },
|
|
128
|
+
external: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M12 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6m-7 1l9-9m-5 0h5v5"/>' },
|
|
129
|
+
github: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M9 19c-4.3 1.4-4.3-2.5-6-3m12 5v-3.5c0-1 .1-1.4-.5-2c2.8-.3 5.5-1.4 5.5-6a4.6 4.6 0 0 0-1.3-3.2a4.2 4.2 0 0 0-.1-3.2s-1.1-.3-3.5 1.3a12.3 12.3 0 0 0-6.2 0C6.5 2.8 5.4 3.1 5.4 3.1a4.2 4.2 0 0 0-.1 3.2A4.6 4.6 0 0 0 4 9.5c0 4.6 2.7 5.7 5.5 6c-.6.6-.6 1.2-.5 2V21"/>' },
|
|
130
|
+
logout: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<g fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1"><path d="M14 8V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2-2v-2"/><path d="M9 12h12l-3-3m0 6l3-3"/></g>' },
|
|
131
|
+
user: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M8 7a4 4 0 1 0 8 0a4 4 0 0 0-8 0M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2"/>' },
|
|
132
|
+
users: { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M5 7a4 4 0 1 0 8 0a4 4 0 1 0-8 0M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2m1-17.87a4 4 0 0 1 0 7.75M21 21v-2a4 4 0 0 0-3-3.85"/>' },
|
|
133
|
+
"arrow-right": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M5 12h14m-6 6l6-6m-6-6l6 6"/>' },
|
|
134
|
+
"arrow-up-right": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M17 7L7 17M8 7h9v9"/>' },
|
|
135
|
+
"chevron-down": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m6 9l6 6l6-6"/>' },
|
|
136
|
+
"chevron-right": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="m9 6l6 6l-6 6"/>' },
|
|
137
|
+
"close-circle": { viewBox: "0.75 0.75 22.5 22.5", mode: "stroke", strokeWidth: 2.1, strokeLinecap: "square", strokeLinejoin: "miter", strokeMiterlimit: 2, body: '<path fill="none" stroke="currentColor" stroke-linecap="square" stroke-linejoin="miter" stroke-width="2.1" d="M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m7-2l4 4m0-4l-4 4"/>' }
|
|
138
|
+
}, ye = ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "innerHTML"], A = /* @__PURE__ */ C({
|
|
139
|
+
__name: "VIcon",
|
|
140
|
+
props: {
|
|
141
|
+
name: {},
|
|
142
|
+
size: { default: 24 },
|
|
143
|
+
icons: { default: () => ({}) }
|
|
144
|
+
},
|
|
145
|
+
setup(e) {
|
|
146
|
+
const i = m(() => e.icons[e.name] ?? R[e.name] ?? e.icons.help ?? R.help), t = m(() => (i.value.mode ?? "fill") === "stroke");
|
|
147
|
+
return (l, d) => (s(), p("svg", {
|
|
148
|
+
width: e.size,
|
|
149
|
+
height: e.size,
|
|
150
|
+
viewBox: i.value.viewBox,
|
|
151
|
+
fill: t.value ? "none" : "currentColor",
|
|
152
|
+
stroke: t.value ? "currentColor" : void 0,
|
|
153
|
+
"stroke-width": t.value ? i.value.strokeWidth ?? 1.8 : void 0,
|
|
154
|
+
"stroke-linecap": t.value ? i.value.strokeLinecap ?? "round" : void 0,
|
|
155
|
+
"stroke-linejoin": t.value ? i.value.strokeLinejoin ?? "round" : void 0,
|
|
156
|
+
"stroke-miterlimit": t.value ? i.value.strokeMiterlimit ?? 4 : void 0,
|
|
157
|
+
"aria-hidden": "true",
|
|
158
|
+
focusable: "false",
|
|
159
|
+
innerHTML: i.value.body
|
|
160
|
+
}, null, 8, ye));
|
|
161
|
+
}
|
|
162
|
+
}), we = /* @__PURE__ */ C({
|
|
163
|
+
__name: "VLoader",
|
|
164
|
+
props: {
|
|
165
|
+
size: { default: "md" }
|
|
166
|
+
},
|
|
167
|
+
setup(e) {
|
|
168
|
+
const i = {
|
|
169
|
+
sm: "h-4 w-4",
|
|
170
|
+
md: "h-6 w-6",
|
|
171
|
+
lg: "h-9 w-9"
|
|
172
|
+
}, t = m(() => i[e.size]);
|
|
173
|
+
return (l, d) => (s(), p("svg", {
|
|
174
|
+
class: b(["animate-spin", t.value]),
|
|
175
|
+
fill: "none",
|
|
176
|
+
viewBox: "0 0 24 24"
|
|
177
|
+
}, [...d[0] || (d[0] = [
|
|
178
|
+
h("circle", {
|
|
179
|
+
class: "opacity-25",
|
|
180
|
+
cx: "12",
|
|
181
|
+
cy: "12",
|
|
182
|
+
r: "10",
|
|
183
|
+
stroke: "currentColor",
|
|
184
|
+
"stroke-width": "2"
|
|
185
|
+
}, null, -1),
|
|
186
|
+
h("path", {
|
|
187
|
+
class: "opacity-75",
|
|
188
|
+
fill: "currentColor",
|
|
189
|
+
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
190
|
+
}, null, -1)
|
|
191
|
+
])], 2));
|
|
192
|
+
}
|
|
193
|
+
}), xe = "relative inline-flex justify-center items-center gap-2 transition not-disabled:cursor-pointer not-disabled:hover:opacity-90 disabled:pointer-events-none disabled:opacity-40 rounded-md font-medium", _ = /* @__PURE__ */ C({
|
|
194
|
+
__name: "VButton",
|
|
195
|
+
props: {
|
|
196
|
+
color: { default: "transparent" },
|
|
197
|
+
variant: { default: "default" },
|
|
198
|
+
invert: { type: Boolean, default: !1 },
|
|
199
|
+
size: { default: "md" },
|
|
200
|
+
type: { default: "button" },
|
|
201
|
+
block: { type: Boolean, default: !1 },
|
|
202
|
+
disabled: { type: Boolean, default: !1 },
|
|
203
|
+
href: { default: "" },
|
|
204
|
+
to: { default: "" },
|
|
205
|
+
loading: { type: Boolean, default: !1 }
|
|
206
|
+
},
|
|
207
|
+
emits: ["click"],
|
|
208
|
+
setup(e, { emit: i }) {
|
|
209
|
+
const t = i, l = (o) => {
|
|
210
|
+
e.disabled || t("click", o);
|
|
211
|
+
}, d = m(() => e.to ? ae("RouterLink") : null), r = m(() => e.to ? d.value : e.href ? "a" : "button"), a = m(() => e.type === "submit" || e.type === "reset" ? e.type : "button"), u = m(() => e.type === "icon"), c = m(() => e.color === "transparent"), k = {
|
|
212
|
+
cyan: {
|
|
213
|
+
solid: "bg-cyan-main text-night-dark-5 shadow-cyan-glow hover:brightness-110",
|
|
214
|
+
soft: "border border-cyan-main/25 bg-cyan-main/10 text-cyan-main hover:bg-cyan-main/20",
|
|
215
|
+
outline: "border border-cyan-main text-cyan-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
216
|
+
ghost: "bg-transparent text-gray-main hover:bg-cyan-main/10 hover:text-cyan-main",
|
|
217
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-cyan-main hover:bg-cyan-main/10 hover:text-cyan-main"
|
|
218
|
+
},
|
|
219
|
+
blue: {
|
|
220
|
+
solid: "bg-blue-main text-white shadow-blue-glow hover:brightness-110",
|
|
221
|
+
soft: "border border-blue-main/25 bg-blue-main/10 text-blue-main hover:bg-blue-main/20",
|
|
222
|
+
outline: "border border-blue-main text-blue-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
223
|
+
ghost: "bg-transparent text-gray-main hover:bg-blue-main/10 hover:text-blue-main",
|
|
224
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-blue-main hover:bg-blue-main/10 hover:text-blue-main"
|
|
225
|
+
},
|
|
226
|
+
indigo: {
|
|
227
|
+
solid: "bg-indigo-main text-white shadow-indigo-glow hover:brightness-110",
|
|
228
|
+
soft: "border border-indigo-main/25 bg-indigo-main/10 text-indigo-main hover:bg-indigo-main/20",
|
|
229
|
+
outline: "border border-indigo-main text-indigo-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
230
|
+
ghost: "bg-transparent text-gray-main hover:bg-indigo-main/10 hover:text-indigo-main",
|
|
231
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-indigo-main hover:bg-indigo-main/10 hover:text-indigo-main"
|
|
232
|
+
},
|
|
233
|
+
violet: {
|
|
234
|
+
solid: "bg-violet-main text-white shadow-violet-glow hover:brightness-110",
|
|
235
|
+
soft: "border border-violet-main/25 bg-violet-main/10 text-violet-main hover:bg-violet-main/20",
|
|
236
|
+
outline: "border border-violet-main text-violet-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
237
|
+
ghost: "bg-transparent text-gray-main hover:bg-violet-main/10 hover:text-violet-main",
|
|
238
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-violet-main hover:bg-violet-main/10 hover:text-violet-main"
|
|
239
|
+
},
|
|
240
|
+
purple: {
|
|
241
|
+
solid: "bg-purple-main text-white shadow-violet-glow hover:brightness-110",
|
|
242
|
+
soft: "border border-purple-main/25 bg-purple-main/10 text-purple-main hover:bg-purple-main/20",
|
|
243
|
+
outline: "border border-purple-main text-purple-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
244
|
+
ghost: "bg-transparent text-gray-main hover:bg-purple-main/10 hover:text-purple-main",
|
|
245
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-purple-main hover:bg-purple-main/10 hover:text-purple-main"
|
|
246
|
+
},
|
|
247
|
+
amber: {
|
|
248
|
+
solid: "bg-amber-main text-night-dark-5 shadow-amber-glow hover:brightness-110",
|
|
249
|
+
soft: "border border-amber-main/25 bg-amber-main/10 text-amber-main hover:bg-amber-main/20",
|
|
250
|
+
outline: "border border-amber-main text-amber-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
251
|
+
ghost: "bg-transparent text-gray-main hover:bg-amber-main/10 hover:text-amber-main",
|
|
252
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-amber-main hover:bg-amber-main/10 hover:text-amber-main"
|
|
253
|
+
},
|
|
254
|
+
green: {
|
|
255
|
+
solid: "bg-green-main text-night-dark-5 shadow-green-glow hover:brightness-110",
|
|
256
|
+
soft: "border border-green-main/25 bg-green-main/10 text-green-main hover:bg-green-main/20",
|
|
257
|
+
outline: "border border-green-main text-green-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
258
|
+
ghost: "bg-transparent text-gray-main hover:bg-green-main/10 hover:text-green-main",
|
|
259
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-green-main hover:bg-green-main/10 hover:text-green-main"
|
|
260
|
+
},
|
|
261
|
+
red: {
|
|
262
|
+
solid: "bg-red-main text-white shadow-red-glow hover:brightness-110",
|
|
263
|
+
soft: "border border-red-main/25 bg-red-main/10 text-red-main hover:bg-red-main/20",
|
|
264
|
+
outline: "border border-red-main text-red-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
265
|
+
ghost: "bg-transparent text-gray-main hover:bg-red-main/10 hover:text-red-main",
|
|
266
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-red-main hover:bg-red-main/10 hover:text-red-main"
|
|
267
|
+
},
|
|
268
|
+
slate: {
|
|
269
|
+
solid: "bg-slate-main text-night-dark-5 shadow-slate-glow hover:brightness-110",
|
|
270
|
+
soft: "border border-slate-main/25 bg-slate-main/10 text-slate-main hover:bg-slate-main/20",
|
|
271
|
+
outline: "border border-slate-main text-slate-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
272
|
+
ghost: "bg-transparent text-gray-main hover:bg-slate-main/10 hover:text-slate-main",
|
|
273
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-slate-main hover:bg-slate-main/10 hover:text-slate-main"
|
|
274
|
+
},
|
|
275
|
+
gray: {
|
|
276
|
+
solid: "bg-gray-main text-night-dark-5 hover:brightness-110",
|
|
277
|
+
soft: "border border-gray-main/25 bg-gray-main/10 text-gray-main hover:bg-gray-main/20",
|
|
278
|
+
outline: "border border-gray-main text-gray-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
279
|
+
ghost: "bg-transparent text-gray-main hover:bg-gray-main/10 hover:text-gray-main",
|
|
280
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-main"
|
|
281
|
+
},
|
|
282
|
+
transparent: {
|
|
283
|
+
solid: "bg-violet-main text-white shadow-violet-glow hover:brightness-110",
|
|
284
|
+
soft: "border border-violet-main/25 bg-violet-main/10 text-violet-main hover:bg-violet-main/20",
|
|
285
|
+
outline: "border border-violet-main text-violet-main hover:border-gray-main hover:bg-gray-main/10 hover:text-gray-dark-30 dark:hover:text-gray-light-10",
|
|
286
|
+
ghost: "bg-transparent text-gray-main hover:bg-violet-main/10 hover:text-violet-main",
|
|
287
|
+
invertedOutline: "border border-gray-main text-gray-main hover:border-violet-main hover:bg-violet-main/10 hover:text-violet-main"
|
|
288
|
+
}
|
|
289
|
+
}, g = m(() => {
|
|
290
|
+
if (!e.color) return "";
|
|
291
|
+
const o = k[e.color] ?? k.transparent;
|
|
292
|
+
return c.value && e.variant === "default" || e.variant === "soft" && e.invert ? o.ghost : e.variant === "outline" && e.invert ? o.invertedOutline : e.variant === "white" ? "bg-white text-night-main hover:bg-white/90" : e.variant === "soft" ? o.soft : e.variant === "outline" ? o.outline : o.solid;
|
|
293
|
+
}), V = {
|
|
294
|
+
none: "",
|
|
295
|
+
sm: "h-8 px-3 text-xs",
|
|
296
|
+
md: "h-10 px-3 text-sm",
|
|
297
|
+
lg: "h-12 px-4 text-sm",
|
|
298
|
+
xl: "h-14 px-5 text-sm"
|
|
299
|
+
}, B = {
|
|
300
|
+
none: "",
|
|
301
|
+
sm: "size-8",
|
|
302
|
+
md: "size-10",
|
|
303
|
+
lg: "size-12",
|
|
304
|
+
xl: "size-14"
|
|
305
|
+
}, q = m(() => {
|
|
306
|
+
const o = [xe];
|
|
307
|
+
return u.value ? o.push("border border-gray-light-10/70 dark:border-white/10", B[e.size]) : o.push(g.value, V[e.size]), e.block && o.push("w-full"), e.disabled && o.push("pointer-events-none opacity-40"), o;
|
|
308
|
+
});
|
|
309
|
+
return (o, v) => (s(), j(P(r.value), F(o.$attrs, {
|
|
310
|
+
href: e.href || void 0,
|
|
311
|
+
to: e.to || void 0,
|
|
312
|
+
type: a.value,
|
|
313
|
+
disabled: r.value === "button" ? e.disabled : void 0,
|
|
314
|
+
"aria-disabled": e.disabled || void 0,
|
|
315
|
+
class: q.value,
|
|
316
|
+
onClick: l
|
|
317
|
+
}), {
|
|
318
|
+
default: M(() => [
|
|
319
|
+
h("span", {
|
|
320
|
+
class: b(e.loading ? "opacity-0" : "")
|
|
321
|
+
}, [
|
|
322
|
+
w(o.$slots, "default")
|
|
323
|
+
], 2),
|
|
324
|
+
e.loading ? (s(), j(we, {
|
|
325
|
+
key: 0,
|
|
326
|
+
class: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"
|
|
327
|
+
})) : L("", !0)
|
|
328
|
+
]),
|
|
329
|
+
_: 3
|
|
330
|
+
}, 16, ["href", "to", "type", "disabled", "aria-disabled", "class"]));
|
|
331
|
+
}
|
|
332
|
+
}), Me = ["role", "aria-modal", "aria-label"], Le = { class: "flex items-center absolute right-3 top-5 z-10" }, ee = /* @__PURE__ */ C({
|
|
333
|
+
__name: "VPopup",
|
|
334
|
+
props: {
|
|
335
|
+
hiddenCloser: { type: Boolean },
|
|
336
|
+
size: { default: "auto" },
|
|
337
|
+
trapFocus: { type: Boolean, default: !1 },
|
|
338
|
+
ariaLabel: { default: "" }
|
|
339
|
+
},
|
|
340
|
+
emits: ["close", "click", "open"],
|
|
341
|
+
setup(e, { emit: i }) {
|
|
342
|
+
const t = i, { show: l, overlay: d, onClose: r, onOpen: a } = J(t), u = N(null), c = N(null), { opacity: k, transform: g } = ce(u, c, r);
|
|
343
|
+
Q(c, () => l.value && e.trapFocus);
|
|
344
|
+
const q = { click: (f) => {
|
|
345
|
+
t("click", f);
|
|
346
|
+
}, open: a, set: (f) => {
|
|
347
|
+
f ? a() : r(new Event("hide"));
|
|
348
|
+
} }, o = m(() => ({
|
|
349
|
+
auto: "max-h-[calc(100dvh-3rem)]",
|
|
350
|
+
full: "h-[calc(100dvh-1.5rem)] md:h-[calc(100dvh-6rem)]",
|
|
351
|
+
screen: "h-dvh"
|
|
352
|
+
})), v = m(() => ({
|
|
353
|
+
auto: "max-h-[calc(100dvh-4rem)]",
|
|
354
|
+
full: "h-[calc(100dvh-2.5rem)] md:h-[calc(100dvh-7rem)]",
|
|
355
|
+
screen: "h-[calc(100dvh-1rem)]"
|
|
356
|
+
}));
|
|
357
|
+
return (f, x) => (s(), j(K, { to: "body" }, [
|
|
358
|
+
z(I, {
|
|
359
|
+
"enter-active-class": "duration-300 ease-out",
|
|
360
|
+
"enter-from-class": "transform opacity-0 translate-y-full xl:-translate-y-2",
|
|
361
|
+
"enter-to-class": "opacity-100 translate-y-0",
|
|
362
|
+
"leave-active-class": "duration-200 ease-in",
|
|
363
|
+
"leave-from-class": "opacity-100 translate-y-0",
|
|
364
|
+
"leave-to-class": "transform opacity-0 translate-y-full xl:-translate-y-2"
|
|
365
|
+
}, {
|
|
366
|
+
default: M(() => [
|
|
367
|
+
n(l) ? (s(), p("div", {
|
|
368
|
+
key: 0,
|
|
369
|
+
ref_key: "container",
|
|
370
|
+
ref: c,
|
|
371
|
+
class: "fixed bottom-0 left-0 w-full z-15",
|
|
372
|
+
tabindex: "-1",
|
|
373
|
+
role: e.trapFocus ? "dialog" : void 0,
|
|
374
|
+
"aria-modal": e.trapFocus ? "true" : void 0,
|
|
375
|
+
"aria-label": e.trapFocus && e.ariaLabel || void 0
|
|
376
|
+
}, [
|
|
377
|
+
n(d) ? (s(), p("div", {
|
|
378
|
+
key: 0,
|
|
379
|
+
class: "fixed h-full w-full top-0 left-0 bg-black/40 bg-blur xl:hidden animate-opacity overscroll-contain",
|
|
380
|
+
style: O({ opacity: n(k) }),
|
|
381
|
+
onClick: x[0] || (x[0] = //@ts-ignore
|
|
382
|
+
(...S) => n(r) && n(r)(...S)),
|
|
383
|
+
onWheel: x[1] || (x[1] = W(() => {
|
|
384
|
+
}, ["prevent"])),
|
|
385
|
+
onTouchmove: x[2] || (x[2] = W(() => {
|
|
386
|
+
}, ["prevent"]))
|
|
387
|
+
}, null, 36)) : L("", !0),
|
|
388
|
+
h("div", {
|
|
389
|
+
class: b(["glass-popover relative w-full rounded-t-lg border-t shadow-nav", o.value[e.size]]),
|
|
390
|
+
style: O({ transform: n(g) })
|
|
391
|
+
}, [
|
|
392
|
+
h("div", {
|
|
393
|
+
ref_key: "target",
|
|
394
|
+
ref: u,
|
|
395
|
+
class: "flex justify-center py-3 md:pb-6",
|
|
396
|
+
onWheel: x[3] || (x[3] = W(() => {
|
|
397
|
+
}, ["prevent"])),
|
|
398
|
+
onTouchmove: x[4] || (x[4] = W(() => {
|
|
399
|
+
}, ["prevent"]))
|
|
400
|
+
}, [...x[5] || (x[5] = [
|
|
401
|
+
h("div", { class: "self-end h-1 w-12 bg-gray-main" }, null, -1)
|
|
402
|
+
])], 544),
|
|
403
|
+
h("div", Le, [
|
|
404
|
+
w(f.$slots, "button", { close: n(r) }),
|
|
405
|
+
z(_, {
|
|
406
|
+
type: "icon",
|
|
407
|
+
size: "sm",
|
|
408
|
+
color: "gray",
|
|
409
|
+
"aria-label": "Close",
|
|
410
|
+
title: "Close",
|
|
411
|
+
onClick: n(r)
|
|
412
|
+
}, {
|
|
413
|
+
default: M(() => [
|
|
414
|
+
z(A, {
|
|
415
|
+
name: "close",
|
|
416
|
+
size: 16
|
|
417
|
+
})
|
|
418
|
+
]),
|
|
419
|
+
_: 1
|
|
420
|
+
}, 8, ["onClick"])
|
|
421
|
+
]),
|
|
422
|
+
h("div", {
|
|
423
|
+
class: b(["overflow-y-auto max-h-[calc(100dvh-2.5rem)] overscroll-contain no-scrollbar", v.value[e.size]])
|
|
424
|
+
}, [
|
|
425
|
+
w(f.$slots, "default", {
|
|
426
|
+
close: n(r),
|
|
427
|
+
on: q
|
|
428
|
+
})
|
|
429
|
+
], 2)
|
|
430
|
+
], 6)
|
|
431
|
+
], 8, Me)) : L("", !0)
|
|
432
|
+
]),
|
|
433
|
+
_: 3
|
|
434
|
+
})
|
|
435
|
+
]));
|
|
436
|
+
}
|
|
437
|
+
}), qe = {
|
|
438
|
+
mounted(e, i) {
|
|
439
|
+
e.clickOutsideEvent = function(t) {
|
|
440
|
+
e === t.target || e.contains(t.target) || i.value(t, e);
|
|
441
|
+
}, document.addEventListener("click", e.clickOutsideEvent);
|
|
442
|
+
},
|
|
443
|
+
unmounted(e) {
|
|
444
|
+
document.removeEventListener("click", e.clickOutsideEvent), delete e.clickOutsideEvent;
|
|
445
|
+
}
|
|
446
|
+
}, je = { class: "relative" }, Ce = { class: "flex items-center cursor-pointer" }, Be = /* @__PURE__ */ C({
|
|
447
|
+
__name: "VDropdown",
|
|
448
|
+
props: {
|
|
449
|
+
title: { default: "" },
|
|
450
|
+
top: { default: "calc(100% + 8px)" },
|
|
451
|
+
left: { default: "" },
|
|
452
|
+
right: { default: "0" },
|
|
453
|
+
bottom: { default: "" },
|
|
454
|
+
height: { default: "200px" },
|
|
455
|
+
hideOnClick: { type: Boolean, default: !0 },
|
|
456
|
+
disabled: { type: Boolean, default: !1 },
|
|
457
|
+
isPopup: { type: Boolean }
|
|
458
|
+
},
|
|
459
|
+
emits: ["click", "show", "close"],
|
|
460
|
+
setup(e, { emit: i }) {
|
|
461
|
+
const t = i, d = U(X).greaterOrEqual("lg"), r = T(!1), a = m(() => ({ top: e.top, left: e.left, right: e.right, bottom: e.bottom, "max-height": e.height })), u = (o) => {
|
|
462
|
+
d.value && r.value && g(o);
|
|
463
|
+
}, c = (o) => {
|
|
464
|
+
t("click", r.value), !e.disabled && (r.value ? e.hideOnClick && g(o) : k(o));
|
|
465
|
+
}, k = (o) => {
|
|
466
|
+
r.value = !0, t("show", o);
|
|
467
|
+
}, g = (o) => {
|
|
468
|
+
r.value = !1, t("close", o);
|
|
469
|
+
}, V = (o) => {
|
|
470
|
+
o ? k(new Event("show")) : g(new Event("hide"));
|
|
471
|
+
}, B = () => {
|
|
472
|
+
g(new Event("hide"));
|
|
473
|
+
}, q = { click: c, open: k, set: V };
|
|
474
|
+
return (o, v) => ne((s(), p("div", je, [
|
|
475
|
+
h("div", Ce, [
|
|
476
|
+
w(o.$slots, "activator", {
|
|
477
|
+
on: q,
|
|
478
|
+
isShow: r.value
|
|
479
|
+
})
|
|
480
|
+
]),
|
|
481
|
+
n(d) ? (s(), j(I, {
|
|
482
|
+
key: 0,
|
|
483
|
+
"enter-active-class": "duration-300 ease-out",
|
|
484
|
+
"enter-from-class": "transform opacity-0 -translate-y-2",
|
|
485
|
+
"enter-to-class": "opacity-100 translate-y-0",
|
|
486
|
+
"leave-active-class": "duration-200 ease-in",
|
|
487
|
+
"leave-from-class": "opacity-100 translate-y-0",
|
|
488
|
+
"leave-to-class": "transform opacity-0 -translate-y-2"
|
|
489
|
+
}, {
|
|
490
|
+
default: M(() => [
|
|
491
|
+
r.value ? (s(), p("div", {
|
|
492
|
+
key: 0,
|
|
493
|
+
class: "z-30 min-w-full absolute",
|
|
494
|
+
style: O(a.value)
|
|
495
|
+
}, [
|
|
496
|
+
w(o.$slots, "default", {
|
|
497
|
+
on: q,
|
|
498
|
+
show: k,
|
|
499
|
+
hide: g,
|
|
500
|
+
isShow: r.value,
|
|
501
|
+
isLgOrLarger: n(d)
|
|
502
|
+
})
|
|
503
|
+
], 4)) : L("", !0)
|
|
504
|
+
]),
|
|
505
|
+
_: 3
|
|
506
|
+
})) : L("", !0),
|
|
507
|
+
!n(d) && r.value ? (s(), j(ee, {
|
|
508
|
+
key: 1,
|
|
509
|
+
title: e.title,
|
|
510
|
+
onClose: B
|
|
511
|
+
}, {
|
|
512
|
+
default: M(({ on: f }) => [
|
|
513
|
+
w(o.$slots, "default", {
|
|
514
|
+
on: f,
|
|
515
|
+
show: k,
|
|
516
|
+
hide: g,
|
|
517
|
+
isShow: r.value,
|
|
518
|
+
isLgOrLarger: n(d)
|
|
519
|
+
})
|
|
520
|
+
]),
|
|
521
|
+
_: 3
|
|
522
|
+
}, 8, ["title"])) : L("", !0)
|
|
523
|
+
])), [
|
|
524
|
+
[n(qe), u]
|
|
525
|
+
]);
|
|
526
|
+
}
|
|
527
|
+
}), We = ["onClick"], ze = /* @__PURE__ */ C({
|
|
528
|
+
__name: "VList",
|
|
529
|
+
props: {
|
|
530
|
+
items: {},
|
|
531
|
+
plain: { type: Boolean, default: !1 }
|
|
532
|
+
},
|
|
533
|
+
emits: ["click"],
|
|
534
|
+
setup(e, { emit: i }) {
|
|
535
|
+
const t = i, l = (d, r) => t("click", d, r);
|
|
536
|
+
return (d, r) => (s(), p("ul", {
|
|
537
|
+
class: b(e.plain ? "" : "glass-popover rounded-md")
|
|
538
|
+
}, [
|
|
539
|
+
(s(!0), p(Z, null, G(e.items, (a) => (s(), p("li", {
|
|
540
|
+
key: a.name,
|
|
541
|
+
class: "flex min-h-10 w-full cursor-pointer items-center whitespace-nowrap border-b border-gray-light-30 px-4 last:border-b-0 hover:bg-cyan-main/10 dark:border-white/5 dark:hover:bg-white/[0.06]",
|
|
542
|
+
onClick: (u) => l(a, u)
|
|
543
|
+
}, [
|
|
544
|
+
w(d.$slots, "default", { item: a }, () => [
|
|
545
|
+
D(H(a.name), 1)
|
|
546
|
+
])
|
|
547
|
+
], 8, We))), 128))
|
|
548
|
+
], 2));
|
|
549
|
+
}
|
|
550
|
+
}), Ve = { class: "relative flex items-end gap-0.5 w-10" }, He = ["title"], Te = { class: "absolute -top-1 -left-1 text-xs text-gray-dark-25 dark:text-gray-light-10" }, Qe = /* @__PURE__ */ C({
|
|
551
|
+
__name: "VWifiIcon",
|
|
552
|
+
props: {
|
|
553
|
+
rssi: { default: 0 },
|
|
554
|
+
channel: { default: 0 }
|
|
555
|
+
},
|
|
556
|
+
setup(e) {
|
|
557
|
+
const i = 2 * (e.rssi + 100), t = (l) => l < i;
|
|
558
|
+
return (l, d) => (s(), p("div", Ve, [
|
|
559
|
+
(s(), p(Z, null, G([10, 15, 25, 40, 70], (r, a) => h("div", {
|
|
560
|
+
key: r,
|
|
561
|
+
class: b(["w-1 h-5 rounded-lg", [t(r) ? "bg-gray-dark-40 dark:bg-gray-light-30" : "bg-gray-light-10 dark:bg-gray-dark-30"]]),
|
|
562
|
+
style: O(`height: ${(a + 1) * 5}px`),
|
|
563
|
+
title: `rssi: ${e.rssi} channel: ${e.channel}`
|
|
564
|
+
}, null, 14, He)), 64)),
|
|
565
|
+
h("div", Te, H(e.channel), 1)
|
|
566
|
+
]));
|
|
567
|
+
}
|
|
568
|
+
}), $e = (e, i = "field", t) => {
|
|
569
|
+
const l = T(!1), d = m(() => e.modelValue !== null && e.modelValue !== void 0 && e.modelValue !== ""), r = m(
|
|
570
|
+
() => i === "wrapper" ? !!e.active : l.value || d.value || !!e.active || !!(t != null && t.value)
|
|
571
|
+
), a = m(() => {
|
|
572
|
+
const g = e.icon && i === "field" ? "left-11" : "left-3.5";
|
|
573
|
+
return r.value ? `${g} top-0 bg-white/80 px-1 text-xs text-gray-dark-25 dark:bg-night-light-10/80 dark:text-gray-main` : `${g} top-1/2 bg-transparent px-0 text-gray-main`;
|
|
574
|
+
}), u = m(() => e.disabled ? "border-gray-light-10 opacity-40 dark:border-gray-dark-30" : e.error ? "!border-red-400/70 ring-1 ring-red-400/25 hover:!border-red-400" : "border-gray-light-10/80 hover:border-gray-main/80 dark:border-white/10 dark:hover:border-white/20"), c = m(() => i === "wrapper" ? "flex flex-auto flex-wrap gap-2 px-2 py-1" : e.component === "textarea" ? "h-full w-full flex-auto px-4 py-2 outline-none bg-transparent" : "w-full h-full flex-auto overflow-ellipsis overflow-hidden px-4 outline-none bg-transparent placeholder:text-gray-main"), k = m(() => i === "wrapper" || e.component === "textarea" ? "min-h-10" : "h-10");
|
|
575
|
+
return { isFocus: l, isFloating: r, labelClass: a, borderClass: u, contentClass: c, slotClass: k };
|
|
576
|
+
}, Oe = {
|
|
577
|
+
class: "w-full relative",
|
|
578
|
+
"data-v-text-field": ""
|
|
579
|
+
}, Ae = ["disabled"], Se = /* @__PURE__ */ C({
|
|
580
|
+
__name: "VTextField",
|
|
581
|
+
props: {
|
|
582
|
+
modelValue: {},
|
|
583
|
+
label: {},
|
|
584
|
+
placeholder: {},
|
|
585
|
+
component: {},
|
|
586
|
+
type: {},
|
|
587
|
+
message: {},
|
|
588
|
+
error: {},
|
|
589
|
+
icon: {},
|
|
590
|
+
readonly: { type: Boolean },
|
|
591
|
+
disabled: { type: [Boolean, Number] },
|
|
592
|
+
active: { type: Boolean },
|
|
593
|
+
hideMessage: { type: Boolean }
|
|
594
|
+
},
|
|
595
|
+
emits: ["update:modelValue", "click", "on-icon", "enter", "blur", "focus"],
|
|
596
|
+
setup(e, { emit: i }) {
|
|
597
|
+
const t = e, l = i, d = se(), r = m(() => (t.component ?? "input") === "input"), a = m(() => t.error || t.message || ""), u = T(null), c = T(!1), k = () => {
|
|
598
|
+
const y = u.value;
|
|
599
|
+
if (y) {
|
|
600
|
+
try {
|
|
601
|
+
y.matches(":-webkit-autofill") && (c.value = !0);
|
|
602
|
+
} catch {
|
|
603
|
+
}
|
|
604
|
+
try {
|
|
605
|
+
y.matches(":autofill") && (c.value = !0);
|
|
606
|
+
} catch {
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
};
|
|
610
|
+
le(() => {
|
|
611
|
+
k(), setTimeout(k, 50), setTimeout(k, 300), setTimeout(k, 1e3);
|
|
612
|
+
});
|
|
613
|
+
const { isFocus: g, isFloating: V, labelClass: B, borderClass: q, contentClass: o, slotClass: v } = $e(t, "field", c), f = m(() => !!d.icon), x = m(() => !t.hideMessage), S = (y) => {
|
|
614
|
+
g.value = !1, l("blur", y);
|
|
615
|
+
}, te = (y) => {
|
|
616
|
+
g.value = !0, l("focus", y);
|
|
617
|
+
}, re = ({ target: y }) => {
|
|
618
|
+
c.value = !1, l("update:modelValue", y.value);
|
|
619
|
+
}, oe = (y) => {
|
|
620
|
+
t.disabled || l("on-icon", y);
|
|
621
|
+
};
|
|
622
|
+
return (y, $) => (s(), p("div", Oe, [
|
|
623
|
+
h("label", {
|
|
624
|
+
class: b(["glass-inset relative flex w-full items-center rounded-md transition focus-within:border-cyan-main/60 focus-within:ring-1 focus-within:ring-cyan-main/20", [n(v), n(q)]])
|
|
625
|
+
}, [
|
|
626
|
+
t.icon ? (s(), j(A, {
|
|
627
|
+
key: 0,
|
|
628
|
+
name: t.icon,
|
|
629
|
+
size: 18,
|
|
630
|
+
class: "ml-3.5 shrink-0 text-gray-main"
|
|
631
|
+
}, null, 8, ["name"])) : L("", !0),
|
|
632
|
+
h("span", {
|
|
633
|
+
class: b(["absolute -translate-y-1/2 rounded transition-all", n(B)])
|
|
634
|
+
}, H(t.label), 3),
|
|
635
|
+
(s(), j(P(t.component ?? "input"), F({
|
|
636
|
+
ref_key: "inputRef",
|
|
637
|
+
ref: u
|
|
638
|
+
}, y.$attrs, {
|
|
639
|
+
value: t.modelValue,
|
|
640
|
+
placeholder: n(V) ? t.placeholder : "",
|
|
641
|
+
disabled: !!t.disabled,
|
|
642
|
+
type: t.type ?? "text",
|
|
643
|
+
readonly: t.readonly,
|
|
644
|
+
rows: r.value ? null : "2",
|
|
645
|
+
wrap: r.value ? null : "soft",
|
|
646
|
+
class: n(o),
|
|
647
|
+
"aria-invalid": a.value ? !0 : void 0,
|
|
648
|
+
onFocus: te,
|
|
649
|
+
onBlur: S,
|
|
650
|
+
onInput: re,
|
|
651
|
+
onAnimationstart: k,
|
|
652
|
+
onClick: $[0] || ($[0] = (E) => l("click", E)),
|
|
653
|
+
onKeypress: $[1] || ($[1] = de((E) => l("enter", E), ["enter"]))
|
|
654
|
+
}), null, 16, ["value", "placeholder", "disabled", "type", "readonly", "rows", "wrap", "class", "aria-invalid"])),
|
|
655
|
+
f.value ? (s(), p("button", {
|
|
656
|
+
key: 1,
|
|
657
|
+
type: "button",
|
|
658
|
+
disabled: !!t.disabled,
|
|
659
|
+
class: b(["flex h-full flex-[0_0_50px] items-center justify-center rounded-r-md border-l border-gray-light-10/70 text-gray-main transition hover:text-cyan-main disabled:pointer-events-none disabled:opacity-40 dark:border-white/10", { "cursor-pointer": !t.disabled }]),
|
|
660
|
+
onClick: oe
|
|
661
|
+
}, [
|
|
662
|
+
w(y.$slots, "icon")
|
|
663
|
+
], 10, Ae)) : L("", !0)
|
|
664
|
+
], 2),
|
|
665
|
+
x.value ? (s(), p("div", {
|
|
666
|
+
key: 0,
|
|
667
|
+
class: b(["h-6 px-2 text-xs", t.error ? "text-red-400" : "text-gray-dark-25 dark:text-gray-main"])
|
|
668
|
+
}, [
|
|
669
|
+
w(y.$slots, "message", {}, () => [
|
|
670
|
+
D(H(a.value), 1)
|
|
671
|
+
])
|
|
672
|
+
], 2)) : L("", !0)
|
|
673
|
+
]));
|
|
674
|
+
}
|
|
675
|
+
}), Ee = { class: "min-w-50 w-full rounded-md pb-6 transition-all duration-300 lg:pb-0" }, Fe = {
|
|
676
|
+
key: 0,
|
|
677
|
+
class: "lg:hidden text-title-md font-bold mb-4 uppercase px-4 sticky top-0"
|
|
678
|
+
}, Ue = /* @__PURE__ */ C({
|
|
679
|
+
inheritAttrs: !1,
|
|
680
|
+
__name: "VSelect",
|
|
681
|
+
props: {
|
|
682
|
+
modelValue: {},
|
|
683
|
+
label: {},
|
|
684
|
+
disabled: { type: Boolean },
|
|
685
|
+
items: {},
|
|
686
|
+
title: {},
|
|
687
|
+
top: {},
|
|
688
|
+
left: {},
|
|
689
|
+
right: {},
|
|
690
|
+
bottom: {},
|
|
691
|
+
height: {},
|
|
692
|
+
hideOnClick: { type: Boolean },
|
|
693
|
+
isPopup: { type: Boolean }
|
|
694
|
+
},
|
|
695
|
+
emits: ["change"],
|
|
696
|
+
setup(e, { emit: i }) {
|
|
697
|
+
const t = ke(e, ["modelValue", "label", "items", "disabled"]), l = i;
|
|
698
|
+
function d(r, a) {
|
|
699
|
+
l("change", r), a == null || a.set(!1);
|
|
700
|
+
}
|
|
701
|
+
return (r, a) => (s(), j(Be, F(t, {
|
|
702
|
+
"hide-on-click": !1,
|
|
703
|
+
class: "relative"
|
|
704
|
+
}), {
|
|
705
|
+
activator: M(({ on: u, isShow: c }) => [
|
|
706
|
+
w(r.$slots, "activator", me(he({ on: u, isShow: c })), () => [
|
|
707
|
+
z(Se, {
|
|
708
|
+
"model-value": e.modelValue,
|
|
709
|
+
disabled: e.disabled,
|
|
710
|
+
label: e.label,
|
|
711
|
+
readonly: "",
|
|
712
|
+
hideMessage: "",
|
|
713
|
+
active: "",
|
|
714
|
+
onClick: u.click,
|
|
715
|
+
onOnIcon: u.click
|
|
716
|
+
}, {
|
|
717
|
+
icon: M(() => [
|
|
718
|
+
z(A, {
|
|
719
|
+
name: "chevron-down",
|
|
720
|
+
class: b(["transition duration-300", c ? "rotate-180" : ""])
|
|
721
|
+
}, null, 8, ["class"])
|
|
722
|
+
]),
|
|
723
|
+
_: 2
|
|
724
|
+
}, 1032, ["model-value", "disabled", "label", "onClick", "onOnIcon"])
|
|
725
|
+
])
|
|
726
|
+
]),
|
|
727
|
+
default: M(({ on: u, isLgOrLarger: c }) => [
|
|
728
|
+
h("div", Ee, [
|
|
729
|
+
e.label ? (s(), p("h4", Fe, H(e.label), 1)) : L("", !0),
|
|
730
|
+
z(ze, {
|
|
731
|
+
items: e.items,
|
|
732
|
+
plain: !c,
|
|
733
|
+
class: b(["lg:max-h-50 lg:overflow-y-auto lg:overscroll-contain", { scrollbar: c }]),
|
|
734
|
+
onClick: (k) => d(k, u)
|
|
735
|
+
}, {
|
|
736
|
+
default: M(({ item: k }) => [
|
|
737
|
+
w(r.$slots, "item", { item: k }, () => [
|
|
738
|
+
D(H(k.name), 1)
|
|
739
|
+
])
|
|
740
|
+
]),
|
|
741
|
+
_: 3
|
|
742
|
+
}, 8, ["items", "plain", "class", "onClick"])
|
|
743
|
+
])
|
|
744
|
+
]),
|
|
745
|
+
_: 3
|
|
746
|
+
}, 16));
|
|
747
|
+
}
|
|
748
|
+
}), Ie = ["aria-label"], De = { class: "text-title-md uppercase font-bold flex-auto" }, Ne = { class: "px-4 pb-4 md:px-6" }, Re = {
|
|
749
|
+
key: 0,
|
|
750
|
+
class: "text-title-md uppercase font-bold"
|
|
751
|
+
}, Xe = /* @__PURE__ */ C({
|
|
752
|
+
__name: "VDialog",
|
|
753
|
+
props: {
|
|
754
|
+
title: {},
|
|
755
|
+
size: { default: "md" },
|
|
756
|
+
popupSize: { default: "auto" },
|
|
757
|
+
color: { default: "white" },
|
|
758
|
+
type: {},
|
|
759
|
+
hiddenCloser: { type: Boolean },
|
|
760
|
+
isOnlyDialog: { type: Boolean },
|
|
761
|
+
timeout: {}
|
|
762
|
+
},
|
|
763
|
+
emits: ["close", "click", "open"],
|
|
764
|
+
setup(e, { expose: i, emit: t }) {
|
|
765
|
+
const l = t, d = U(X), { show: r, onClose: a, onOpen: u } = J(l, e.timeout), c = T(null), k = {
|
|
766
|
+
sm: "max-w-full md:max-w-80 max-md:h-full",
|
|
767
|
+
md: "max-w-full md:max-w-2xl max-md:h-full",
|
|
768
|
+
lg: "max-w-full md:max-w-5xl max-md:h-full",
|
|
769
|
+
full: "relative max-w-full w-full h-3/4 "
|
|
770
|
+
}, g = {
|
|
771
|
+
none: "",
|
|
772
|
+
white: "glass-inset rounded-xl",
|
|
773
|
+
gray: ""
|
|
774
|
+
}, V = m(() => [k[e.size], g[e.color]]), B = d.greaterOrEqual("lg"), q = m(() => r.value && (!!e.isOnlyDialog || B.value));
|
|
775
|
+
return Q(c, q), i({
|
|
776
|
+
show: r,
|
|
777
|
+
onClose: a
|
|
778
|
+
}), (o, v) => e.isOnlyDialog || n(B) ? (s(), j(K, {
|
|
779
|
+
key: 0,
|
|
780
|
+
to: "body"
|
|
781
|
+
}, [
|
|
782
|
+
z(I, {
|
|
783
|
+
"enter-active-class": "duration-300 ease-out",
|
|
784
|
+
"enter-from-class": "transform opacity-0 -translate-y-2",
|
|
785
|
+
"enter-to-class": "opacity-100 translate-y-0",
|
|
786
|
+
"leave-active-class": "duration-200 ease-in",
|
|
787
|
+
"leave-from-class": "opacity-100 translate-y-0",
|
|
788
|
+
"leave-to-class": "transform opacity-0 -translate-y-2",
|
|
789
|
+
onAfterEnter: n(u)
|
|
790
|
+
}, {
|
|
791
|
+
default: M(() => [
|
|
792
|
+
n(r) ? (s(), p("div", {
|
|
793
|
+
key: 0,
|
|
794
|
+
ref_key: "dialogRef",
|
|
795
|
+
ref: c,
|
|
796
|
+
class: "z-20 fixed top-0 h-dvh w-full left-0 flex flex-col",
|
|
797
|
+
tabindex: "-1",
|
|
798
|
+
role: "dialog",
|
|
799
|
+
"aria-modal": "true",
|
|
800
|
+
"aria-label": e.title || void 0,
|
|
801
|
+
onWheel: v[4] || (v[4] = W(() => {
|
|
802
|
+
}, ["stop"]))
|
|
803
|
+
}, [
|
|
804
|
+
h("div", {
|
|
805
|
+
class: "absolute h-full w-full top-0 left-0 bg-black/40 bg-blur",
|
|
806
|
+
onClick: v[0] || (v[0] = //@ts-ignore
|
|
807
|
+
(...f) => n(a) && n(a)(...f))
|
|
808
|
+
}),
|
|
809
|
+
h("div", {
|
|
810
|
+
class: b(["flex-auto flex align-center overflow-y-auto overscroll-contain", (e.size === "full", "")])
|
|
811
|
+
}, [
|
|
812
|
+
h("div", {
|
|
813
|
+
class: b(["m-auto z-20 flex w-full flex-col overflow-auto overscroll-contain scrollbar bg-transparent shadow-lg", V.value])
|
|
814
|
+
}, [
|
|
815
|
+
h("div", {
|
|
816
|
+
class: b(["flex items-center min-h-14 border-b border-gray-light-10/70 bg-white/35 px-6 dark:border-white/10 dark:bg-white/[0.03]", e.size === "full" ? "absolute top-0 right-4 border-0 bg-transparent px-0" : ""]),
|
|
817
|
+
onWheel: v[1] || (v[1] = W(() => {
|
|
818
|
+
}, ["prevent"])),
|
|
819
|
+
onTouchmove: v[2] || (v[2] = W(() => {
|
|
820
|
+
}, ["prevent"]))
|
|
821
|
+
}, [
|
|
822
|
+
h("h4", De, H(e.title), 1),
|
|
823
|
+
w(o.$slots, "header-btn", { close: n(a) }),
|
|
824
|
+
z(_, {
|
|
825
|
+
color: "transparent",
|
|
826
|
+
type: "icon",
|
|
827
|
+
size: "sm",
|
|
828
|
+
"aria-label": "Close",
|
|
829
|
+
title: "Close",
|
|
830
|
+
onClick: n(a)
|
|
831
|
+
}, {
|
|
832
|
+
default: M(() => [
|
|
833
|
+
z(A, {
|
|
834
|
+
name: "close",
|
|
835
|
+
size: 18
|
|
836
|
+
})
|
|
837
|
+
]),
|
|
838
|
+
_: 1
|
|
839
|
+
}, 8, ["onClick"])
|
|
840
|
+
], 34),
|
|
841
|
+
h("div", {
|
|
842
|
+
class: b(["relative overflow-auto max-h-dvh scrollbar overflow-y-auto overscroll-contain min-h-0 max-md:flex-auto", e.size === "full" ? "flex-auto" : "md:max-h-147.5 px-6 pb-6 pt-5"]),
|
|
843
|
+
onClose: v[3] || (v[3] = //@ts-ignore
|
|
844
|
+
(...f) => n(a) && n(a)(...f))
|
|
845
|
+
}, [
|
|
846
|
+
w(o.$slots, "default", { close: n(a) })
|
|
847
|
+
], 34)
|
|
848
|
+
], 2)
|
|
849
|
+
], 2)
|
|
850
|
+
], 40, Ie)) : L("", !0)
|
|
851
|
+
]),
|
|
852
|
+
_: 3
|
|
853
|
+
}, 8, ["onAfterEnter"])
|
|
854
|
+
])) : (s(), j(ee, {
|
|
855
|
+
key: 1,
|
|
856
|
+
size: e.popupSize,
|
|
857
|
+
"trap-focus": "",
|
|
858
|
+
"aria-label": e.title || "Dialog",
|
|
859
|
+
onClose: n(a)
|
|
860
|
+
}, {
|
|
861
|
+
button: M(() => [
|
|
862
|
+
w(o.$slots, "header-btn", { close: n(a) })
|
|
863
|
+
]),
|
|
864
|
+
default: M(({ close: f }) => [
|
|
865
|
+
h("div", Ne, [
|
|
866
|
+
h("div", {
|
|
867
|
+
class: b(["flex items-center mb-4", e.size === "full" ? "absolute top-0 right-4" : ""]),
|
|
868
|
+
onWheel: v[5] || (v[5] = W(() => {
|
|
869
|
+
}, ["prevent"])),
|
|
870
|
+
onTouchmove: v[6] || (v[6] = W(() => {
|
|
871
|
+
}, ["prevent"]))
|
|
872
|
+
}, [
|
|
873
|
+
e.title ? (s(), p("h4", Re, H(e.title), 1)) : L("", !0)
|
|
874
|
+
], 34),
|
|
875
|
+
w(o.$slots, "default", { close: f })
|
|
876
|
+
])
|
|
877
|
+
]),
|
|
878
|
+
_: 3
|
|
879
|
+
}, 8, ["size", "aria-label", "onClose"]));
|
|
880
|
+
}
|
|
881
|
+
});
|
|
882
|
+
export {
|
|
883
|
+
R as I,
|
|
884
|
+
Ze as V,
|
|
885
|
+
Xe as _,
|
|
886
|
+
Ge as a,
|
|
887
|
+
Qe as b,
|
|
888
|
+
qe as c,
|
|
889
|
+
Ue as d,
|
|
890
|
+
Se as e,
|
|
891
|
+
ze as f,
|
|
892
|
+
Be as g,
|
|
893
|
+
we as h,
|
|
894
|
+
_ as i,
|
|
895
|
+
A as j,
|
|
896
|
+
Y as k,
|
|
897
|
+
Je as l,
|
|
898
|
+
ee as m,
|
|
899
|
+
$e as u
|
|
900
|
+
};
|