twenty-ui 2.62.0 → 2.63.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/dist/{Dropdown-C63OU_S6.js → Dropdown-JYMUj9qB.js} +35 -35
- package/dist/{ListItem-CLyf0SKI.js → ListItem-CgWvufdY.js} +1 -1
- package/dist/{ProgressBar-DLSx-Vbf.js → ProgressBar-48Fl4ACY.js} +5 -5
- package/dist/{Radio-DYFBIqGX.js → Radio-9E_TdAKs.js} +1 -1
- package/dist/{TablerIcons-C9XA-vxC.js → TablerIcons-BV-cFVcj.js} +135 -134
- package/dist/components/data-display.mjs +1 -1
- package/dist/components/feedback.mjs +1 -1
- package/dist/components/input.mjs +2 -2
- package/dist/components/navigation.mjs +2 -2
- package/dist/components/settings.mjs +1 -1
- package/dist/components.mjs +6 -6
- package/dist/{data-display-DYTRUIPj.js → data-display-BvJc941y.js} +38 -38
- package/dist/data-display-CnFlqxE4.js +253 -0
- package/dist/data-display-DOt0HHhj.cjs +1 -0
- package/dist/{feedback-DAy-YtWF.js → feedback-B3nntZww.js} +63 -63
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/index.d.ts +1 -1
- package/dist/icon/provider.mjs +1 -1
- package/dist/{icon-BNFRYgWo.js → icon-Bpig2k9u.js} +1 -1
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +478 -477
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +622 -621
- package/dist/{input-DlnFdlyP.js → input-D2w6b3g-.js} +22 -22
- package/dist/{input-DpOc15uJ.cjs → input-Dzq6SVPC.cjs} +1 -1
- package/dist/{input-DbqZOk3B.js → input-LQh9SI5w.js} +10 -10
- package/dist/{navigation-BYAaQcFv.js → navigation-B-Jd5YLs.js} +3 -3
- package/dist/primitives/data-display/Chip/Chip.d.ts +1 -1
- package/dist/primitives/data-display/Chip/types/ChipProps.d.ts +1 -0
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +1 -1
- package/dist/primitives/feedback.mjs +1 -1
- package/dist/primitives/input/types/SelectOption.d.ts +1 -0
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +2 -2
- package/dist/primitives/navigation.mjs +1 -1
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +5 -5
- package/dist/{settings-DO8iTxTf.js → settings-CQj4y3HO.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/data-display-1knPFjFb.js +0 -252
- package/dist/data-display-DSsYNdOB.cjs +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { g as f, m as r2, r as X } from "./theme-B1jMC8En.js";
|
|
2
2
|
import { t as m } from "./isDefined-fMi6eQ4r.js";
|
|
3
3
|
import { t as P } from "./isRenderableSlot-DT_depzM.js";
|
|
4
|
-
import { Dt as l2,
|
|
4
|
+
import { Dt as l2, U as Q, dc as s2, dn as i2, kt as n2, qa as d2, zt as c2 } from "./TablerIcons-BV-cFVcj.js";
|
|
5
5
|
import { t as v2 } from "./doNotTranslate-BSVT8Xyd.js";
|
|
6
6
|
import { t as C2 } from "./VisuallyHidden-EWkEBgpc.js";
|
|
7
7
|
import { t as _2 } from "./ProgressRing-8mYV9cxE.js";
|
|
8
8
|
import { l as g2 } from "./utilities-IyA_ho0H.js";
|
|
9
|
-
import { isArray as m2, isBoolean as h2, isNonEmptyArray as
|
|
9
|
+
import { isArray as m2, isBoolean as h2, isNonEmptyArray as U, isNonEmptyString as k, isNumber as W, isString as p2 } from "@sniptt/guards";
|
|
10
10
|
import { clsx as c } from "clsx";
|
|
11
11
|
import { Fragment as I, jsx as t, jsxs as d } from "react/jsx-runtime";
|
|
12
12
|
import { useRender as A } from "@base-ui/react/use-render";
|
|
13
13
|
import { Children as M, createContext as u2, isValidElement as w2, useContext as f2, useId as y2, useState as b2 } from "react";
|
|
14
|
-
import { Collapsible as
|
|
14
|
+
import { Collapsible as Y } from "@base-ui/react/collapsible";
|
|
15
15
|
var A2 = "_root_1qqt5_1", x2 = "_body_1qqt5_8", L2 = "_face_1qqt5_9", $ = {
|
|
16
16
|
root: A2,
|
|
17
17
|
body: x2,
|
|
18
18
|
face: L2
|
|
19
19
|
};
|
|
20
|
-
var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M9%208.88C9.20486%208.88%209.40772%208.92035%209.59699%208.99875C9.78625%209.07714%209.95823%209.19205%2010.1031%209.33691C10.2479%209.48177%2010.3629%209.65375%2010.4413%209.84301C10.5196%2010.0323%2010.56%2010.2351%2010.56%2010.44V13.56C10.56%2013.7649%2010.5196%2013.9677%2010.4413%2014.157C10.3629%2014.3463%2010.2479%2014.5182%2010.1031%2014.6631C9.95823%2014.8079%209.78625%2014.9229%209.59699%2015.0013C9.40772%2015.0796%209.20486%2015.12%209%2015.12C8.58626%2015.12%208.18947%2014.9556%207.89691%2014.6631C7.60436%2014.3705%207.44%2013.9737%207.44%2013.56V10.44C7.44%2010.0263%207.60436%209.62947%207.89691%209.33691C8.18947%209.04436%208.58626%208.88%209%208.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M15%208.88C15.4137%208.88%2015.8105%209.04436%2016.1031%209.33691C16.3956%209.62947%2016.56%2010.0263%2016.56%2010.44V13.56C16.56%2013.9737%2016.3956%2014.3705%2016.1031%2014.6631C15.8105%2014.9556%2015.4137%2015.12%2015%2015.12C14.5863%2015.12%2014.1895%2014.9556%2013.8969%2014.6631C13.6044%2014.3705%2013.44%2013.9737%2013.44%2013.56V10.44C13.44%2010.0263%2013.6044%209.62947%2013.8969%209.33691C14.1895%209.04436%2014.5863%208.88%2015%208.88Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", E2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M8.87977%2010.0205C9.21639%2010.0205%209.53221%2010.1857%209.72234%2010.4634L11.2821%2012.7439C11.6002%2013.2088%2011.481%2013.8438%2011.0161%2014.1619C10.5512%2014.48%209.91623%2014.3608%209.59812%2013.8959L8.87977%2012.8459L8.16141%2013.8959C7.84328%2014.3607%207.20832%2014.48%206.74344%2014.1619C6.27882%2013.8437%206.16057%2013.2087%206.47859%2012.7439L8.03836%2010.4634L8.1157%2010.365C8.3079%2010.1473%208.58542%2010.0205%208.87977%2010.0205Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M15.1198%2010.0205C15.4564%2010.0205%2015.7722%2010.1857%2015.9623%2010.4634L17.5221%2012.7439C17.8402%2013.2088%2017.721%2013.8438%2017.2561%2014.1619C16.7912%2014.48%2016.1562%2014.3608%2015.8381%2013.8959L15.1198%2012.8459L14.4014%2013.8959C14.0833%2014.3607%2013.4483%2014.48%2012.9834%2014.1619C12.5188%2013.8437%2012.4006%2013.2087%2012.7186%2012.7439L14.2784%2010.4634L14.3557%2010.365C14.5479%2010.1473%2014.8254%2010.0205%2015.1198%2010.0205Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", k2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M8.76%2013.701C8.199%2013.191%206.618%2012.171%206.618%2011.253C6.618%2010.335%207.332%209.774%207.995%209.774C8.403%209.774%208.658%2010.029%208.76%2010.335C8.862%2010.029%209.117%209.774%209.525%209.774C10.188%209.774%2010.902%2010.335%2010.902%2011.253C10.902%2012.171%209.321%2013.191%208.76%2013.701Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M15.24%2013.701C14.679%2013.191%2013.098%2012.171%2013.098%2011.253C13.098%2010.335%2013.812%209.774%2014.475%209.774C14.883%209.774%2015.138%2010.029%2015.24%2010.335C15.342%2010.029%2015.597%209.774%2016.005%209.774C16.668%209.774%2017.382%2010.335%2017.382%2011.253C17.382%2012.171%2015.801%2013.191%2015.24%2013.701Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", I2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M8.04%2011.88H9.72C9.97461%2011.88%2010.2188%2011.9811%2010.3988%2012.1612C10.5789%2012.3412%2010.68%2012.5854%2010.68%2012.84C10.68%2013.0946%2010.5789%2013.3388%2010.3988%2013.5188C10.2188%2013.6989%209.97461%2013.8%209.72%2013.8H8.04C7.78539%2013.8%207.54121%2013.6989%207.36118%2013.5188C7.18114%2013.3388%207.08%2013.0946%207.08%2012.84C7.08%2012.5854%207.18114%2012.3412%207.36118%2012.1612C7.54121%2011.9811%207.78539%2011.88%208.04%2011.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M14.28%2011.88H15.96C16.2146%2011.88%2016.4588%2011.9811%2016.6388%2012.1612C16.8189%2012.3412%2016.92%2012.5854%2016.92%2012.84C16.92%2013.0946%2016.8189%2013.3388%2016.6388%2013.5188C16.4588%2013.6989%2016.2146%2013.8%2015.96%2013.8H14.28C14.0254%2013.8%2013.7812%2013.6989%2013.6012%2013.5188C13.4211%2013.3388%2013.32%2013.0946%2013.32%2012.84C13.32%2012.5854%2013.4211%2012.3412%2013.6012%2012.1612C13.7812%2011.9811%2014.0254%2011.88%2014.28%2011.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Z'%20opacity='0'%20d='M18.6005%207.37977C18.8161%207.37995%2019.011%207.50861%2019.0962%207.70672C19.1813%207.90493%2019.1402%208.13497%2018.9919%208.29148L17.5774%209.77977H18.6005C18.8985%209.78002%2019.1395%2010.0219%2019.1395%2010.32C19.1395%2010.6181%2018.8985%2010.86%2018.6005%2010.8602H16.32C16.1043%2010.8602%2015.9096%2010.7314%2015.8243%2010.5333C15.7392%2010.335%2015.78%2010.105%2015.9286%209.94852L17.343%208.46023H16.32C16.0218%208.46023%2015.7798%208.21823%2015.7798%207.92C15.7798%207.62177%2016.0218%207.37977%2016.32%207.37977H18.6005Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", T2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M6.6%2012C6.6%2012.2994%206.65897%2012.5959%206.77355%2012.8725C6.88814%2013.1491%207.05608%2013.4005%207.2678%2013.6122C7.47951%2013.8239%207.73086%2013.9919%208.00748%2014.1064C8.2841%2014.221%208.58059%2014.28%208.88%2014.28C9.17941%2014.28%209.4759%2014.221%209.75252%2014.1064C10.0291%2013.9919%2010.2805%2013.8239%2010.4922%2013.6122C10.7039%2013.4005%2010.8719%2013.1491%2010.9864%2012.8725C11.101%2012.5959%2011.16%2012.2994%2011.16%2012C11.16%2011.3953%2010.9198%2010.8154%2010.4922%2010.3878C10.0646%209.96021%209.48469%209.72%208.88%209.72C8.27531%209.72%207.69538%209.96021%207.2678%2010.3878C6.84021%2010.8154%206.6%2011.3953%206.6%2012Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M12.84%2012C12.84%2012.6047%2013.0802%2013.1846%2013.5078%2013.6122C13.9354%2014.0398%2014.5153%2014.28%2015.12%2014.28C15.7247%2014.28%2016.3046%2014.0398%2016.7322%2013.6122C17.1598%2013.1846%2017.4%2012.6047%2017.4%2012C17.4%2011.3953%2017.1598%2010.8154%2016.7322%2010.3878C16.3046%209.96021%2015.7247%209.72%2015.12%209.72C14.5153%209.72%2013.9354%209.96021%2013.5078%2010.3878C13.0802%2010.8154%2012.84%2011.3953%2012.84%2012Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", S2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M9%208.88C9.20486%208.88%209.40772%208.92035%209.59699%208.99875C9.78625%209.07714%209.95823%209.19205%2010.1031%209.33691C10.2479%209.48177%2010.3629%209.65375%2010.4413%209.84301C10.5196%2010.0323%2010.56%2010.2351%2010.56%2010.44V13.56C10.56%2013.7649%2010.5196%2013.9677%2010.4413%2014.157C10.3629%2014.3463%2010.2479%2014.5182%2010.1031%2014.6631C9.95823%2014.8079%209.78625%2014.9229%209.59699%2015.0013C9.40772%2015.0796%209.20486%2015.12%209%2015.12C8.58626%2015.12%208.18947%2014.9556%207.89691%2014.6631C7.60436%2014.3705%207.44%2013.9737%207.44%2013.56V10.44C7.44%2010.0263%207.60436%209.62947%207.89691%209.33691C8.18947%209.04436%208.58626%208.88%209%208.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Wink'%20d='M15.1198%2010.0205C15.4564%2010.0205%2015.7722%2010.1857%2015.9623%2010.4634L17.5221%2012.7439C17.8402%2013.2088%2017.721%2013.8438%2017.2561%2014.1619C16.7912%2014.48%2016.1562%2014.3608%2015.8381%2013.8959L15.1198%2012.8459L14.4014%2013.8959C14.0833%2014.3607%2013.4483%2014.48%2012.9834%2014.1619C12.5188%2013.8437%2012.4006%2013.2087%2012.7186%2012.7439L14.2784%2010.4634L14.3557%2010.365C14.5479%2010.1473%2014.8254%2010.0205%2015.1198%2010.0205Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e",
|
|
20
|
+
var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M9%208.88C9.20486%208.88%209.40772%208.92035%209.59699%208.99875C9.78625%209.07714%209.95823%209.19205%2010.1031%209.33691C10.2479%209.48177%2010.3629%209.65375%2010.4413%209.84301C10.5196%2010.0323%2010.56%2010.2351%2010.56%2010.44V13.56C10.56%2013.7649%2010.5196%2013.9677%2010.4413%2014.157C10.3629%2014.3463%2010.2479%2014.5182%2010.1031%2014.6631C9.95823%2014.8079%209.78625%2014.9229%209.59699%2015.0013C9.40772%2015.0796%209.20486%2015.12%209%2015.12C8.58626%2015.12%208.18947%2014.9556%207.89691%2014.6631C7.60436%2014.3705%207.44%2013.9737%207.44%2013.56V10.44C7.44%2010.0263%207.60436%209.62947%207.89691%209.33691C8.18947%209.04436%208.58626%208.88%209%208.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M15%208.88C15.4137%208.88%2015.8105%209.04436%2016.1031%209.33691C16.3956%209.62947%2016.56%2010.0263%2016.56%2010.44V13.56C16.56%2013.9737%2016.3956%2014.3705%2016.1031%2014.6631C15.8105%2014.9556%2015.4137%2015.12%2015%2015.12C14.5863%2015.12%2014.1895%2014.9556%2013.8969%2014.6631C13.6044%2014.3705%2013.44%2013.9737%2013.44%2013.56V10.44C13.44%2010.0263%2013.6044%209.62947%2013.8969%209.33691C14.1895%209.04436%2014.5863%208.88%2015%208.88Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", E2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M8.87977%2010.0205C9.21639%2010.0205%209.53221%2010.1857%209.72234%2010.4634L11.2821%2012.7439C11.6002%2013.2088%2011.481%2013.8438%2011.0161%2014.1619C10.5512%2014.48%209.91623%2014.3608%209.59812%2013.8959L8.87977%2012.8459L8.16141%2013.8959C7.84328%2014.3607%207.20832%2014.48%206.74344%2014.1619C6.27882%2013.8437%206.16057%2013.2087%206.47859%2012.7439L8.03836%2010.4634L8.1157%2010.365C8.3079%2010.1473%208.58542%2010.0205%208.87977%2010.0205Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M15.1198%2010.0205C15.4564%2010.0205%2015.7722%2010.1857%2015.9623%2010.4634L17.5221%2012.7439C17.8402%2013.2088%2017.721%2013.8438%2017.2561%2014.1619C16.7912%2014.48%2016.1562%2014.3608%2015.8381%2013.8959L15.1198%2012.8459L14.4014%2013.8959C14.0833%2014.3607%2013.4483%2014.48%2012.9834%2014.1619C12.5188%2013.8437%2012.4006%2013.2087%2012.7186%2012.7439L14.2784%2010.4634L14.3557%2010.365C14.5479%2010.1473%2014.8254%2010.0205%2015.1198%2010.0205Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", k2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M8.76%2013.701C8.199%2013.191%206.618%2012.171%206.618%2011.253C6.618%2010.335%207.332%209.774%207.995%209.774C8.403%209.774%208.658%2010.029%208.76%2010.335C8.862%2010.029%209.117%209.774%209.525%209.774C10.188%209.774%2010.902%2010.335%2010.902%2011.253C10.902%2012.171%209.321%2013.191%208.76%2013.701Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M15.24%2013.701C14.679%2013.191%2013.098%2012.171%2013.098%2011.253C13.098%2010.335%2013.812%209.774%2014.475%209.774C14.883%209.774%2015.138%2010.029%2015.24%2010.335C15.342%2010.029%2015.597%209.774%2016.005%209.774C16.668%209.774%2017.382%2010.335%2017.382%2011.253C17.382%2012.171%2015.801%2013.191%2015.24%2013.701Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", I2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M8.04%2011.88H9.72C9.97461%2011.88%2010.2188%2011.9811%2010.3988%2012.1612C10.5789%2012.3412%2010.68%2012.5854%2010.68%2012.84C10.68%2013.0946%2010.5789%2013.3388%2010.3988%2013.5188C10.2188%2013.6989%209.97461%2013.8%209.72%2013.8H8.04C7.78539%2013.8%207.54121%2013.6989%207.36118%2013.5188C7.18114%2013.3388%207.08%2013.0946%207.08%2012.84C7.08%2012.5854%207.18114%2012.3412%207.36118%2012.1612C7.54121%2011.9811%207.78539%2011.88%208.04%2011.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M14.28%2011.88H15.96C16.2146%2011.88%2016.4588%2011.9811%2016.6388%2012.1612C16.8189%2012.3412%2016.92%2012.5854%2016.92%2012.84C16.92%2013.0946%2016.8189%2013.3388%2016.6388%2013.5188C16.4588%2013.6989%2016.2146%2013.8%2015.96%2013.8H14.28C14.0254%2013.8%2013.7812%2013.6989%2013.6012%2013.5188C13.4211%2013.3388%2013.32%2013.0946%2013.32%2012.84C13.32%2012.5854%2013.4211%2012.3412%2013.6012%2012.1612C13.7812%2011.9811%2014.0254%2011.88%2014.28%2011.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Z'%20opacity='0'%20d='M18.6005%207.37977C18.8161%207.37995%2019.011%207.50861%2019.0962%207.70672C19.1813%207.90493%2019.1402%208.13497%2018.9919%208.29148L17.5774%209.77977H18.6005C18.8985%209.78002%2019.1395%2010.0219%2019.1395%2010.32C19.1395%2010.6181%2018.8985%2010.86%2018.6005%2010.8602H16.32C16.1043%2010.8602%2015.9096%2010.7314%2015.8243%2010.5333C15.7392%2010.335%2015.78%2010.105%2015.9286%209.94852L17.343%208.46023H16.32C16.0218%208.46023%2015.7798%208.21823%2015.7798%207.92C15.7798%207.62177%2016.0218%207.37977%2016.32%207.37977H18.6005Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", T2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M6.6%2012C6.6%2012.2994%206.65897%2012.5959%206.77355%2012.8725C6.88814%2013.1491%207.05608%2013.4005%207.2678%2013.6122C7.47951%2013.8239%207.73086%2013.9919%208.00748%2014.1064C8.2841%2014.221%208.58059%2014.28%208.88%2014.28C9.17941%2014.28%209.4759%2014.221%209.75252%2014.1064C10.0291%2013.9919%2010.2805%2013.8239%2010.4922%2013.6122C10.7039%2013.4005%2010.8719%2013.1491%2010.9864%2012.8725C11.101%2012.5959%2011.16%2012.2994%2011.16%2012C11.16%2011.3953%2010.9198%2010.8154%2010.4922%2010.3878C10.0646%209.96021%209.48469%209.72%208.88%209.72C8.27531%209.72%207.69538%209.96021%207.2678%2010.3878C6.84021%2010.8154%206.6%2011.3953%206.6%2012Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M12.84%2012C12.84%2012.6047%2013.0802%2013.1846%2013.5078%2013.6122C13.9354%2014.0398%2014.5153%2014.28%2015.12%2014.28C15.7247%2014.28%2016.3046%2014.0398%2016.7322%2013.6122C17.1598%2013.1846%2017.4%2012.6047%2017.4%2012C17.4%2011.3953%2017.1598%2010.8154%2016.7322%2010.3878C16.3046%209.96021%2015.7247%209.72%2015.12%209.72C14.5153%209.72%2013.9354%209.96021%2013.5078%2010.3878C13.0802%2010.8154%2012.84%2011.3953%2012.84%2012Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", S2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M9%208.88C9.20486%208.88%209.40772%208.92035%209.59699%208.99875C9.78625%209.07714%209.95823%209.19205%2010.1031%209.33691C10.2479%209.48177%2010.3629%209.65375%2010.4413%209.84301C10.5196%2010.0323%2010.56%2010.2351%2010.56%2010.44V13.56C10.56%2013.7649%2010.5196%2013.9677%2010.4413%2014.157C10.3629%2014.3463%2010.2479%2014.5182%2010.1031%2014.6631C9.95823%2014.8079%209.78625%2014.9229%209.59699%2015.0013C9.40772%2015.0796%209.20486%2015.12%209%2015.12C8.58626%2015.12%208.18947%2014.9556%207.89691%2014.6631C7.60436%2014.3705%207.44%2013.9737%207.44%2013.56V10.44C7.44%2010.0263%207.60436%209.62947%207.89691%209.33691C8.18947%209.04436%208.58626%208.88%209%208.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Wink'%20d='M15.1198%2010.0205C15.4564%2010.0205%2015.7722%2010.1857%2015.9623%2010.4634L17.5221%2012.7439C17.8402%2013.2088%2017.721%2013.8438%2017.2561%2014.1619C16.7912%2014.48%2016.1562%2014.3608%2015.8381%2013.8959L15.1198%2012.8459L14.4014%2013.8959C14.0833%2014.3607%2013.4483%2014.48%2012.9834%2014.1619C12.5188%2013.8437%2012.4006%2013.2087%2012.7186%2012.7439L14.2784%2010.4634L14.3557%2010.365C14.5479%2010.1473%2014.8254%2010.0205%2015.1198%2010.0205Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e", q = {
|
|
21
21
|
default: N2,
|
|
22
22
|
happy: E2,
|
|
23
23
|
love: k2,
|
|
24
24
|
sleepy: I2,
|
|
25
25
|
surprised: T2,
|
|
26
26
|
wink: S2
|
|
27
|
-
}, B2 = "_root_15z29_1", R2 = "_eye_15z29_2", D2 = "_wink_15z29_3", M2 = "_sleepSymbol_15z29_4", $2 = "_leftEye_15z29_26", V2 = "_rightEye_15z29_31", Z2 = "_defaultIdle_15z29_1", H2 = "_happyIdle_15z29_1", F2 = "_winkEye_15z29_1", J2 = "_winkExpression_15z29_1",
|
|
27
|
+
}, B2 = "_root_15z29_1", R2 = "_eye_15z29_2", D2 = "_wink_15z29_3", M2 = "_sleepSymbol_15z29_4", $2 = "_leftEye_15z29_26", V2 = "_rightEye_15z29_31", Z2 = "_defaultIdle_15z29_1", H2 = "_happyIdle_15z29_1", F2 = "_winkEye_15z29_1", J2 = "_winkExpression_15z29_1", q2 = "_surprisedIdle_15z29_1", z2 = "_sleepyIdle_15z29_1", j2 = "_loveIdle_15z29_1", u = {
|
|
28
28
|
root: B2,
|
|
29
29
|
eye: R2,
|
|
30
30
|
wink: D2,
|
|
@@ -35,11 +35,11 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
35
35
|
happyIdle: H2,
|
|
36
36
|
winkEye: F2,
|
|
37
37
|
winkExpression: J2,
|
|
38
|
-
surprisedIdle:
|
|
39
|
-
sleepyIdle:
|
|
38
|
+
surprisedIdle: q2,
|
|
39
|
+
sleepyIdle: z2,
|
|
40
40
|
loveIdle: j2
|
|
41
41
|
}, O2 = ({ face: e }) => {
|
|
42
|
-
const a = { maskImage: `url("${
|
|
42
|
+
const a = { maskImage: `url("${q[e === "wink" ? "default" : e]}")` };
|
|
43
43
|
return /* @__PURE__ */ d("span", {
|
|
44
44
|
"aria-hidden": "true",
|
|
45
45
|
className: u.root,
|
|
@@ -55,7 +55,7 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
55
55
|
}),
|
|
56
56
|
e === "wink" && /* @__PURE__ */ t("span", {
|
|
57
57
|
className: u.wink,
|
|
58
|
-
style: { maskImage: `url("${
|
|
58
|
+
style: { maskImage: `url("${q.wink}")` }
|
|
59
59
|
}),
|
|
60
60
|
e === "sleepy" && /* @__PURE__ */ t("span", {
|
|
61
61
|
className: u.sleepSymbol,
|
|
@@ -63,12 +63,12 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
63
63
|
})
|
|
64
64
|
]
|
|
65
65
|
});
|
|
66
|
-
}, P2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12%200C14.6522%200%2017.1963%201.05302%2019.0716%202.92839C20.947%204.80375%2022%207.34784%2022%2010V21.3333C22%2022.0406%2021.7188%2022.7187%2021.2188%2023.2188C20.7187%2023.7188%2020.0406%2024%2019.3333%2024H4.66667C3.95942%2024%203.28135%2023.7188%202.78125%2023.2188C2.28115%2022.7187%202%2022.0406%202%2021.3333V10C2%207.34784%203.05302%204.80375%204.92839%202.92839C6.80375%201.05302%209.34784%200%2012%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",
|
|
66
|
+
}, P2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12%200C14.6522%200%2017.1963%201.05302%2019.0716%202.92839C20.947%204.80375%2022%207.34784%2022%2010V21.3333C22%2022.0406%2021.7188%2022.7187%2021.2188%2023.2188C20.7187%2023.7188%2020.0406%2024%2019.3333%2024H4.66667C3.95942%2024%203.28135%2023.7188%202.78125%2023.2188C2.28115%2022.7187%202%2022.0406%202%2021.3333V10C2%207.34784%203.05302%204.80375%204.92839%202.92839C6.80375%201.05302%209.34784%200%2012%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", U2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M10.8875%200.415324C11.5258%20-0.138441%2012.4742%20-0.138441%2013.1125%200.415323L14.1046%201.27607C14.4984%201.61776%2015.0274%201.75951%2015.5393%201.66052L16.8289%201.41114C17.6586%201.25071%2018.4799%201.7249%2018.7558%202.52361L19.1846%203.76509C19.3548%204.25793%2019.7421%204.64519%2020.2349%204.81542L21.4764%205.24424C22.2751%205.52012%2022.7493%206.34144%2022.5889%207.17109L22.3395%208.46065C22.2405%208.97257%2022.3822%209.50159%2022.7239%209.89542L23.5847%2010.8875C24.1384%2011.5258%2024.1384%2012.4742%2023.5847%2013.1125L22.7239%2014.1046C22.3822%2014.4984%2022.2405%2015.0274%2022.3395%2015.5393L22.5889%2016.8289C22.7493%2017.6586%2022.2751%2018.4799%2021.4764%2018.7558L20.2349%2019.1846C19.7421%2019.3548%2019.3548%2019.7421%2019.1846%2020.2349L18.7558%2021.4764C18.4799%2022.2751%2017.6586%2022.7493%2016.8289%2022.5889L15.5393%2022.3395C15.0274%2022.2405%2014.4984%2022.3822%2014.1046%2022.7239L13.1125%2023.5847C12.4742%2024.1384%2011.5258%2024.1384%2010.8875%2023.5847L9.89542%2022.7239C9.50159%2022.3822%208.97257%2022.2405%208.46065%2022.3395L7.17109%2022.5889C6.34144%2022.7493%205.52012%2022.2751%205.24424%2021.4764L4.81542%2020.2349C4.64519%2019.7421%204.25793%2019.3548%203.76509%2019.1846L2.52361%2018.7558C1.7249%2018.4799%201.2507%2017.6586%201.41114%2016.8289L1.66052%2015.5393C1.75951%2015.0274%201.61776%2014.4984%201.27607%2014.1046L0.415324%2013.1125C-0.138441%2012.4742%20-0.138441%2011.5258%200.415323%2010.8875L1.27607%209.89543C1.61776%209.50159%201.75951%208.97257%201.66052%208.46065L1.41114%207.17109C1.25071%206.34144%201.7249%205.52012%202.52361%205.24424L3.76509%204.81542C4.25793%204.64519%204.64519%204.25793%204.81542%203.76509L5.24424%202.52361C5.52012%201.7249%206.34144%201.2507%207.17109%201.41114L8.46065%201.66052C8.97257%201.75951%209.50159%201.61776%209.89542%201.27607L10.8875%200.415324Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", Y2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12%200C18.6274%200%2024%205.37258%2024%2012C24%2018.6274%2018.6274%2024%2012%2024C5.37258%2024%200%2018.6274%200%2012C0%205.37258%205.37258%200%2012%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", G2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M15.3333%201.33333C19.3834%201.33333%2022.6667%204.61658%2022.6667%208.66667C22.6667%209.88896%2022.3648%2011.04%2021.8359%2012.0534C23.1581%2013.154%2024%2014.8119%2024%2016.6667C24%2019.9804%2021.3137%2022.6667%2018%2022.6667H6C2.68629%2022.6667%200%2019.9804%200%2016.6667C0%2014.8122%200.841025%2013.154%202.16276%2012.0534C2.05739%2011.6081%202%2011.1441%202%2010.6667C2%207.35296%204.68629%204.66667%208%204.66667C8.38276%204.66667%208.75694%204.70363%209.11979%204.77214C10.417%202.7068%2012.7144%201.33333%2015.3333%201.33333Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", K2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12%200C15.2947%200.000157425%2017.9863%202.57635%2018.1734%205.82422C21.4223%206.0103%2024%208.70327%2024%2011.9988C24%2015.2943%2021.4222%2017.986%2018.1734%2018.1722C17.9881%2021.4217%2015.2959%2023.9998%2012%2024C8.7039%2024%206.00945%2021.4219%205.82422%2018.1722C2.57626%2017.9851%200%2015.2936%200%2011.9988C0%208.70393%202.57623%206.01127%205.82422%205.82422C6.01124%202.5762%208.70512%200%2012%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", X2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M8.97673%201.25213C10.6462%20-0.417376%2013.3538%20-0.417376%2015.0233%201.25213L16.0334%202.2622H17.4621C19.8229%202.2622%2021.7375%204.17595%2021.7378%206.53677V7.96665L22.7479%208.97673C24.4174%2010.6462%2024.4174%2013.3538%2022.7479%2015.0233L21.7378%2016.0334V17.4621C21.7378%2019.8231%2019.8231%2021.7378%2017.4621%2021.7378H16.0334L15.0233%2022.7479C13.3538%2024.4174%2010.6462%2024.4174%208.97673%2022.7479L7.96665%2021.7378H6.53793C4.1769%2021.7378%202.2622%2019.8231%202.2622%2017.4621V16.0334L1.25213%2015.0233C-0.417376%2013.3538%20-0.417375%2010.6462%201.25213%208.97673L2.2622%207.96665V6.53677C2.26245%204.17595%204.17705%202.2622%206.53793%202.2622H7.96665L8.97673%201.25213Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", Q2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12.0006%200C14.2836%200.000152113%2016.2157%201.49811%2016.8704%203.56449C17.223%203.48754%2017.589%203.44616%2017.9646%203.44614C20.7862%203.44614%2023.0734%205.73344%2023.0735%208.55502C23.0735%209.8826%2022.5669%2011.0915%2021.7368%2012C22.567%2012.9084%2023.0734%2014.1174%2023.0735%2015.445C23.0735%2018.2667%2020.7863%2020.5539%2017.9646%2020.5539C17.5889%2020.5538%2017.223%2020.5125%2016.8704%2020.4355C16.2158%2022.5021%2014.2838%2023.9998%2012.0006%2024C9.71708%2024%207.78294%2022.5025%207.12841%2020.4355C6.77622%2020.5123%206.41059%2020.5539%206.03539%2020.5539C3.21381%2020.5537%200.926514%2018.2666%200.926514%2015.445C0.926572%2014.1175%201.43312%2012.9084%202.2632%2012C1.43321%2011.0916%200.926514%209.88249%200.926514%208.55502C0.926639%205.73352%203.21389%203.44627%206.03539%203.44614C6.41047%203.44614%206.77633%203.48662%207.12841%203.56333C7.78339%201.49714%209.71763%200%2012.0006%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", W2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M8.13491%201.60085C10.2695%20-0.533701%2013.7303%20-0.533533%2015.8649%201.60085L22.399%208.13491C24.5337%2010.2696%2024.5337%2013.7303%2022.399%2015.8649L15.8649%2022.399C13.7303%2024.5337%2010.2696%2024.5337%208.13491%2022.399L1.60085%2015.8649C-0.533533%2013.7303%20-0.533701%2010.2695%201.60085%208.13491L8.13491%201.60085Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", e0 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M10.8108%200.318652C11.5467%20-0.106217%2012.4533%20-0.106217%2013.1892%200.318652L21.5217%205.12943C22.2576%205.5543%2022.711%206.33949%2022.711%207.18923V16.8108C22.711%2017.6605%2022.2576%2018.4457%2021.5217%2018.8706L13.1892%2023.6813C12.4533%2024.1062%2011.5467%2024.1062%2010.8108%2023.6813L2.47827%2018.8706C1.74237%2018.4457%201.28904%2017.6605%201.28904%2016.8108V7.18923C1.28904%206.33949%201.74237%205.5543%202.47827%205.12943L10.8108%200.318652Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", a0 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12%200C16.5345%200%2020.2105%203.67598%2020.2105%208.21053V15.7895C20.2105%2020.324%2016.5345%2024%2012%2024C7.46545%2024%203.78947%2020.324%203.78947%2015.7895V8.21053C3.78947%203.67598%207.46545%200%2012%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e", t0 = {
|
|
67
67
|
arch: P2,
|
|
68
|
-
burst:
|
|
69
|
-
circle:
|
|
70
|
-
cloud:
|
|
71
|
-
clover:
|
|
68
|
+
burst: U2,
|
|
69
|
+
circle: Y2,
|
|
70
|
+
cloud: G2,
|
|
71
|
+
clover: K2,
|
|
72
72
|
cookie: X2,
|
|
73
73
|
flower: Q2,
|
|
74
74
|
gem: W2,
|
|
@@ -104,7 +104,7 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
104
104
|
/* @__PURE__ */ t("span", {
|
|
105
105
|
"aria-hidden": "true",
|
|
106
106
|
className: $.face,
|
|
107
|
-
style: { maskImage: `url("${
|
|
107
|
+
style: { maskImage: `url("${q[o]}")` }
|
|
108
108
|
}),
|
|
109
109
|
s && /* @__PURE__ */ t(O2, { face: o }, o)
|
|
110
110
|
]
|
|
@@ -119,7 +119,7 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
119
119
|
className: N.overflowCount,
|
|
120
120
|
"data-shape": i,
|
|
121
121
|
children: ["+", L]
|
|
122
|
-
})), j =
|
|
122
|
+
})), j = U(M.toArray(S)), O = { "--avatar-group-overlap-offset": n }, o2 = A({
|
|
123
123
|
render: _,
|
|
124
124
|
ref: g,
|
|
125
125
|
props: {
|
|
@@ -138,7 +138,7 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
138
138
|
})] })
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return U(p) || j ? o2 : null;
|
|
142
142
|
}, n0 = "_container_1j72k_1", d0 = "_commands_1j72k_13", c0 = "_actions_1j72k_25", v0 = "_prompt_1j72k_32", B = {
|
|
143
143
|
container: n0,
|
|
144
144
|
commands: d0,
|
|
@@ -209,11 +209,11 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
209
209
|
})] })
|
|
210
210
|
}
|
|
211
211
|
});
|
|
212
|
-
}, w0 = "_list_1i4lv_1", f0 = "_nested_1i4lv_8",
|
|
212
|
+
}, w0 = "_list_1i4lv_1", f0 = "_nested_1i4lv_8", G = {
|
|
213
213
|
list: w0,
|
|
214
214
|
nested: f0
|
|
215
215
|
}, y0 = ({ depth: e, className: a, children: o }) => /* @__PURE__ */ t("ul", {
|
|
216
|
-
className: c(
|
|
216
|
+
className: c(G.list, e > 0 && G.nested, a),
|
|
217
217
|
children: o
|
|
218
218
|
}), e2 = u2(void 0), x = () => {
|
|
219
219
|
const e = f2(e2);
|
|
@@ -239,7 +239,7 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
239
239
|
});
|
|
240
240
|
}, N0 = ({ label: e, value: a, depth: o, keyPath: r, highlighting: s }) => {
|
|
241
241
|
const { emptyArrayLabel: i } = x();
|
|
242
|
-
return /* @__PURE__ */ t(
|
|
242
|
+
return /* @__PURE__ */ t(z, {
|
|
243
243
|
elements: [...a.entries()].map(([l, n]) => ({
|
|
244
244
|
id: l,
|
|
245
245
|
label: String(l),
|
|
@@ -255,7 +255,7 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
255
255
|
});
|
|
256
256
|
}, E0 = ({ label: e, value: a, depth: o, keyPath: r, highlighting: s }) => {
|
|
257
257
|
const { emptyObjectLabel: i } = x();
|
|
258
|
-
return /* @__PURE__ */ t(
|
|
258
|
+
return /* @__PURE__ */ t(z, {
|
|
259
259
|
elements: Object.entries(a).map(([l, n]) => ({
|
|
260
260
|
id: l,
|
|
261
261
|
label: l,
|
|
@@ -315,12 +315,12 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
315
315
|
return m(a) ? p2(a) ? /* @__PURE__ */ t(E, {
|
|
316
316
|
label: e,
|
|
317
317
|
valueAsString: k(a) ? a : i,
|
|
318
|
-
Icon:
|
|
318
|
+
Icon: s2,
|
|
319
319
|
highlighting: l
|
|
320
320
|
}) : W(a) ? /* @__PURE__ */ t(E, {
|
|
321
321
|
label: e,
|
|
322
322
|
valueAsString: String(a),
|
|
323
|
-
Icon:
|
|
323
|
+
Icon: d2,
|
|
324
324
|
highlighting: l
|
|
325
325
|
}) : h2(a) ? /* @__PURE__ */ t(E, {
|
|
326
326
|
label: e,
|
|
@@ -345,15 +345,15 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
345
345
|
Icon: c2,
|
|
346
346
|
highlighting: l
|
|
347
347
|
});
|
|
348
|
-
}, H0 = "_container_d0cqx_1", F0 = "_labelContainer_d0cqx_6", J0 = "_elementsCount_d0cqx_12",
|
|
348
|
+
}, H0 = "_container_d0cqx_1", F0 = "_labelContainer_d0cqx_6", J0 = "_elementsCount_d0cqx_12", q0 = "_elementsCountRed_d0cqx_16", z0 = "_panel_d0cqx_20", j0 = "_list_d0cqx_30", O0 = "_nested_d0cqx_37", h = {
|
|
349
349
|
container: H0,
|
|
350
350
|
labelContainer: F0,
|
|
351
351
|
elementsCount: J0,
|
|
352
|
-
elementsCountRed:
|
|
353
|
-
panel:
|
|
352
|
+
elementsCountRed: q0,
|
|
353
|
+
panel: z0,
|
|
354
354
|
list: j0,
|
|
355
355
|
nested: O0
|
|
356
|
-
},
|
|
356
|
+
}, z = ({ label: e, Icon: a, elements: o, renderElementsCount: r, emptyElementsText: s, depth: i, keyPath: l, highlighting: n }) => {
|
|
357
357
|
const { shouldExpandNodeInitially: _ } = x(), g = !m(e), [v, C] = b2(_({
|
|
358
358
|
keyPath: l,
|
|
359
359
|
depth: i
|
|
@@ -377,7 +377,7 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
377
377
|
return g ? /* @__PURE__ */ t("li", {
|
|
378
378
|
className: h.container,
|
|
379
379
|
children: y
|
|
380
|
-
}) : /* @__PURE__ */ d(
|
|
380
|
+
}) : /* @__PURE__ */ d(Y.Root, {
|
|
381
381
|
className: h.container,
|
|
382
382
|
open: v,
|
|
383
383
|
render: /* @__PURE__ */ t("li", {}),
|
|
@@ -399,7 +399,7 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
399
399
|
children: r(o.length)
|
|
400
400
|
})
|
|
401
401
|
]
|
|
402
|
-
}), /* @__PURE__ */ t(
|
|
402
|
+
}), /* @__PURE__ */ t(Y.Panel, {
|
|
403
403
|
className: h.panel,
|
|
404
404
|
children: y
|
|
405
405
|
})]
|
|
@@ -407,14 +407,14 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
407
407
|
}, P0 = ({ value: e, children: a }) => /* @__PURE__ */ t(e2.Provider, {
|
|
408
408
|
value: e,
|
|
409
409
|
children: a
|
|
410
|
-
}),
|
|
410
|
+
}), U0 = ({ depth: e }) => e <= 1, f1 = ({ value: e, entries: a, shouldExpandNodeInitially: o = U0, ...r }) => /* @__PURE__ */ t(P0, {
|
|
411
411
|
value: {
|
|
412
412
|
...r,
|
|
413
413
|
shouldExpandNodeInitially: o
|
|
414
414
|
},
|
|
415
415
|
children: /* @__PURE__ */ t(y0, {
|
|
416
416
|
depth: 0,
|
|
417
|
-
children: m(a) ? /* @__PURE__ */ t(
|
|
417
|
+
children: m(a) ? /* @__PURE__ */ t(z, {
|
|
418
418
|
elements: a,
|
|
419
419
|
Icon: Q,
|
|
420
420
|
depth: 0,
|
|
@@ -426,10 +426,10 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
426
426
|
keyPath: ""
|
|
427
427
|
})
|
|
428
428
|
})
|
|
429
|
-
}),
|
|
430
|
-
row:
|
|
431
|
-
label:
|
|
432
|
-
icon:
|
|
429
|
+
}), Y0 = "_row_1hj4l_1", G0 = "_label_1hj4l_11", K0 = "_icon_1hj4l_20", H = {
|
|
430
|
+
row: Y0,
|
|
431
|
+
label: G0,
|
|
432
|
+
icon: K0
|
|
433
433
|
}, y1 = ({ children: e, startIcon: a, value: o, progress: r, progressColor: s, progressValueText: i, render: l, ref: n, className: _, ...g }) => {
|
|
434
434
|
const v = y2(), C = i ?? o;
|
|
435
435
|
return A({
|
|
@@ -458,7 +458,7 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
458
458
|
}) : /* @__PURE__ */ t("span", { children: o })] })
|
|
459
459
|
}
|
|
460
460
|
});
|
|
461
|
-
}, X0 = "_root_7l8sk_1", Q0 = "_stackedIcon_7l8sk_14",
|
|
461
|
+
}, X0 = "_root_7l8sk_1", Q0 = "_stackedIcon_7l8sk_14", K = {
|
|
462
462
|
root: X0,
|
|
463
463
|
stackedIcon: Q0
|
|
464
464
|
}, b1 = ({ icon: e, stackedIcon: a, className: o, render: r, ref: s, ...i }) => A({
|
|
@@ -466,13 +466,13 @@ var N2 = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='vis
|
|
|
466
466
|
ref: s,
|
|
467
467
|
props: {
|
|
468
468
|
...i,
|
|
469
|
-
className: c(
|
|
469
|
+
className: c(K.root, o),
|
|
470
470
|
children: /* @__PURE__ */ d(I, { children: [/* @__PURE__ */ t("span", {
|
|
471
471
|
"aria-hidden": "true",
|
|
472
472
|
children: e
|
|
473
473
|
}), /* @__PURE__ */ t("span", {
|
|
474
474
|
"aria-hidden": "true",
|
|
475
|
-
className:
|
|
475
|
+
className: K.stackedIcon,
|
|
476
476
|
children: a
|
|
477
477
|
})] })
|
|
478
478
|
}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { g as u, r as J } from "./theme-B1jMC8En.js";
|
|
2
|
+
import { t as v } from "./isDefined-fMi6eQ4r.js";
|
|
3
|
+
import { t as D } from "./doNotTranslate-BSVT8Xyd.js";
|
|
4
|
+
import { t as z } from "./mergeClassNames-ClFMR1v0.js";
|
|
5
|
+
import { c as A, l as K, r as I } from "./utilities-IyA_ho0H.js";
|
|
6
|
+
import { t as Q } from "./Loader-9tUcz6Y9.js";
|
|
7
|
+
import { t as j } from "./OverflowingTextWithTooltip-aPLt9O1-.js";
|
|
8
|
+
import { isBoolean as E, isFunction as W, isNonEmptyString as X, isString as P } from "@sniptt/guards";
|
|
9
|
+
import { clsx as x } from "clsx";
|
|
10
|
+
import { Fragment as N, jsx as s, jsxs as h } from "react/jsx-runtime";
|
|
11
|
+
import { useRender as k } from "@base-ui/react/use-render";
|
|
12
|
+
import { Avatar as L } from "@base-ui/react/avatar";
|
|
13
|
+
var aa = "_root_1bbob_1", ta = "_avatarPulsing_1bbob_1", ra = "_image_1bbob_95", ea = "_fallback_1bbob_107", B = {
|
|
14
|
+
root: aa,
|
|
15
|
+
avatarPulsing: ta,
|
|
16
|
+
image: ra,
|
|
17
|
+
fallback: ea
|
|
18
|
+
}, $ = ({ className: a, ...t }) => /* @__PURE__ */ s(L.Fallback, {
|
|
19
|
+
...t,
|
|
20
|
+
className: z(B.fallback, a)
|
|
21
|
+
}), O = ({ className: a, ...t }) => /* @__PURE__ */ s(L.Image, {
|
|
22
|
+
...t,
|
|
23
|
+
className: z(B.image, a)
|
|
24
|
+
}), q = ({ name: a, colorSeed: t = a, size: r = "md", shape: l = "square", variant: e = "soft", color: o, backgroundColor: i, borderColor: n, pulsing: d = !1, ring: c = !1, className: g, style: _, ...m }) => {
|
|
25
|
+
const p = J(), b = I(a), T = b ? o ?? A({
|
|
26
|
+
string: t ?? "",
|
|
27
|
+
variant: 12,
|
|
28
|
+
theme: p
|
|
29
|
+
}) : o ?? p.font.color.tertiary, S = b ? i ?? A({
|
|
30
|
+
string: t ?? "",
|
|
31
|
+
variant: e === "outline" ? 5 : 4,
|
|
32
|
+
theme: p
|
|
33
|
+
}) : i ?? p.background.transparent.light, y = n ?? (b ? A({
|
|
34
|
+
string: t ?? "",
|
|
35
|
+
variant: 6,
|
|
36
|
+
theme: p
|
|
37
|
+
}) : void 0);
|
|
38
|
+
return /* @__PURE__ */ s(L.Root, {
|
|
39
|
+
...m,
|
|
40
|
+
"data-size": r,
|
|
41
|
+
"data-shape": l,
|
|
42
|
+
"data-pulsing": d || void 0,
|
|
43
|
+
"data-ring": c || void 0,
|
|
44
|
+
className: z(B.root, g),
|
|
45
|
+
style: (f) => ({
|
|
46
|
+
"--tw-avatar-color": T,
|
|
47
|
+
"--tw-avatar-background": f.imageLoadingStatus === "loaded" ? "none" : S,
|
|
48
|
+
"--tw-avatar-border": e === "outline" && f.imageLoadingStatus !== "loaded" && y ? D(`1px solid ${y}`) : "none",
|
|
49
|
+
...W(_) ? _(f) : _
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
}, oa = ({ src: a, name: t, icon: r, imageProps: l, fallbackProps: e, backgroundColor: o, ...i }) => {
|
|
53
|
+
const n = I(t), d = v(r) && !E(r) && r !== "", c = l?.alt ?? "", g = !d && X(c), { children: _ = d ? r : n || "-", ...m } = e ?? {}, p = v(m.role) || v(m["aria-label"]) || v(m["aria-labelledby"]), b = !g && !p && !v(m.render);
|
|
54
|
+
return /* @__PURE__ */ h(q, {
|
|
55
|
+
...i,
|
|
56
|
+
name: t,
|
|
57
|
+
backgroundColor: d ? "inherit" : o,
|
|
58
|
+
children: [!d && /* @__PURE__ */ s(O, {
|
|
59
|
+
src: a ?? void 0,
|
|
60
|
+
...l,
|
|
61
|
+
alt: c
|
|
62
|
+
}), /* @__PURE__ */ s($, {
|
|
63
|
+
role: g ? "img" : void 0,
|
|
64
|
+
"aria-label": g ? c : void 0,
|
|
65
|
+
"aria-hidden": b || void 0,
|
|
66
|
+
...m,
|
|
67
|
+
children: _
|
|
68
|
+
})]
|
|
69
|
+
});
|
|
70
|
+
}, La = Object.assign(oa, {
|
|
71
|
+
Root: q,
|
|
72
|
+
Image: O,
|
|
73
|
+
Fallback: $
|
|
74
|
+
}), Ba = {
|
|
75
|
+
xxl: {
|
|
76
|
+
fontSize: "16px",
|
|
77
|
+
width: "40px"
|
|
78
|
+
},
|
|
79
|
+
xl: {
|
|
80
|
+
fontSize: "16px",
|
|
81
|
+
width: "32px"
|
|
82
|
+
},
|
|
83
|
+
lg: {
|
|
84
|
+
fontSize: "13px",
|
|
85
|
+
width: "24px"
|
|
86
|
+
},
|
|
87
|
+
md: {
|
|
88
|
+
fontSize: "12px",
|
|
89
|
+
width: "16px"
|
|
90
|
+
},
|
|
91
|
+
sm: {
|
|
92
|
+
fontSize: "10px",
|
|
93
|
+
width: "14px"
|
|
94
|
+
},
|
|
95
|
+
xs: {
|
|
96
|
+
fontSize: "8px",
|
|
97
|
+
width: "12px"
|
|
98
|
+
}
|
|
99
|
+
}, sa = "_badge_eakxs_1", la = { badge: sa }, Fa = ({ size: a = "sm", color: t = "tertiary", shape: r = "pill", className: l, render: e, ref: o, ...i }) => k({
|
|
100
|
+
defaultTagName: "span",
|
|
101
|
+
render: e,
|
|
102
|
+
ref: o,
|
|
103
|
+
props: {
|
|
104
|
+
...i,
|
|
105
|
+
className: x(la.badge, l),
|
|
106
|
+
"data-badge-size": a,
|
|
107
|
+
"data-badge-color": t,
|
|
108
|
+
"data-badge-shape": r
|
|
109
|
+
}
|
|
110
|
+
}), ia = "_chip_zkigu_1", na = "_label_zkigu_29", da = "_endElementDivider_zkigu_98", C = {
|
|
111
|
+
chip: ia,
|
|
112
|
+
label: na,
|
|
113
|
+
endElementDivider: da
|
|
114
|
+
}, ca = { height: "var(--t-spacing-4)" }, Ra = ({ children: a, size: t = "sm", variant: r = "ghost", color: l = "primary", shape: e = "square", weight: o = "regular", padding: i, onClick: n, clickable: d = v(n), startElement: c, endElement: g, endElementDivider: _ = !1, maxWidth: m, truncate: p = !0, tooltipContent: b, tooltipDelay: T, isTooltipMultiline: S, tooltipPlace: y, alwaysShowTooltip: f = !1, className: M, style: V, render: Y, ref: U, ...Z }) => {
|
|
115
|
+
const G = v(a) && !E(a) && a !== "", H = P(a) ? {
|
|
116
|
+
text: a,
|
|
117
|
+
tooltipContent: b
|
|
118
|
+
} : {
|
|
119
|
+
text: a ?? !1,
|
|
120
|
+
tooltipContent: b ?? ""
|
|
121
|
+
};
|
|
122
|
+
return k({
|
|
123
|
+
render: Y,
|
|
124
|
+
ref: U,
|
|
125
|
+
state: {
|
|
126
|
+
size: t,
|
|
127
|
+
variant: r,
|
|
128
|
+
color: l,
|
|
129
|
+
shape: e,
|
|
130
|
+
weight: o,
|
|
131
|
+
padding: i,
|
|
132
|
+
clickable: d,
|
|
133
|
+
truncate: p
|
|
134
|
+
},
|
|
135
|
+
props: {
|
|
136
|
+
...Z,
|
|
137
|
+
onClick: n,
|
|
138
|
+
className: x(C.chip, M),
|
|
139
|
+
style: {
|
|
140
|
+
...v(m) ? { "--tw-chip-max-width": D(`${m}px`) } : {},
|
|
141
|
+
...V
|
|
142
|
+
},
|
|
143
|
+
children: /* @__PURE__ */ h(N, { children: [
|
|
144
|
+
c,
|
|
145
|
+
G && /* @__PURE__ */ s(j, {
|
|
146
|
+
...H,
|
|
147
|
+
render: /* @__PURE__ */ s("span", {}),
|
|
148
|
+
className: C.label,
|
|
149
|
+
style: t === "md" ? ca : void 0,
|
|
150
|
+
truncate: p,
|
|
151
|
+
tooltipDelay: T,
|
|
152
|
+
isTooltipMultiline: S,
|
|
153
|
+
tooltipPlace: y,
|
|
154
|
+
alwaysShowTooltip: f
|
|
155
|
+
}),
|
|
156
|
+
v(g) && g !== !1 && /* @__PURE__ */ h(N, { children: [_ && /* @__PURE__ */ s("span", { className: C.endElementDivider }), g] })
|
|
157
|
+
] })
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
}, ga = "_root_6bfj6_1", ma = "_circle_6bfj6_13", F = {
|
|
161
|
+
root: ga,
|
|
162
|
+
circle: ma
|
|
163
|
+
}, Da = ({ colorName: a, color: t, variant: r, className: l, style: e, render: o, ref: i, ...n }) => k({
|
|
164
|
+
defaultTagName: "div",
|
|
165
|
+
render: o,
|
|
166
|
+
ref: i,
|
|
167
|
+
props: {
|
|
168
|
+
...n,
|
|
169
|
+
className: x(F.root, r === "circle" && F.circle, l),
|
|
170
|
+
style: {
|
|
171
|
+
"--color-sample-color": t ?? u.tag.background[a],
|
|
172
|
+
"--color-sample-border-color": u.tag.text[a],
|
|
173
|
+
...e
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}), pa = "_status_y5v42_1", va = "_content_y5v42_49", R = {
|
|
177
|
+
status: pa,
|
|
178
|
+
content: va
|
|
179
|
+
}, Ia = ({ children: a, color: t, loading: r = !1, weight: l = "regular", className: e, style: o, render: i, ref: n, ...d }) => {
|
|
180
|
+
const c = K(t);
|
|
181
|
+
return k({
|
|
182
|
+
defaultTagName: "span",
|
|
183
|
+
render: i,
|
|
184
|
+
ref: n,
|
|
185
|
+
state: {
|
|
186
|
+
loading: r,
|
|
187
|
+
weight: l
|
|
188
|
+
},
|
|
189
|
+
props: {
|
|
190
|
+
"aria-busy": r || void 0,
|
|
191
|
+
...d,
|
|
192
|
+
className: x(R.status, e),
|
|
193
|
+
style: {
|
|
194
|
+
"--tw-status-background": u.tag.background[c],
|
|
195
|
+
"--tw-status-text-color": u.tag.text[c],
|
|
196
|
+
...o
|
|
197
|
+
},
|
|
198
|
+
children: /* @__PURE__ */ h(N, { children: [/* @__PURE__ */ s("span", {
|
|
199
|
+
className: R.content,
|
|
200
|
+
children: a
|
|
201
|
+
}), r && /* @__PURE__ */ s(Q, {
|
|
202
|
+
color: t,
|
|
203
|
+
"aria-hidden": "true",
|
|
204
|
+
render: /* @__PURE__ */ s("span", {})
|
|
205
|
+
})] })
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
}, _a = "_tag_1ot0y_1", ua = "_content_1ot0y_49", ba = "_overflowingText_1ot0y_58", fa = "_iconContainer_1ot0y_62", w = {
|
|
209
|
+
tag: _a,
|
|
210
|
+
content: ua,
|
|
211
|
+
overflowingText: ba,
|
|
212
|
+
iconContainer: fa
|
|
213
|
+
}, ja = ({ children: a, color: t, weight: r = "regular", variant: l = "soft", startIcon: e, truncate: o = !0, borderStyle: i = "solid", className: n, style: d, render: c, ref: g, ..._ }) => k({
|
|
214
|
+
defaultTagName: "span",
|
|
215
|
+
render: c,
|
|
216
|
+
ref: g,
|
|
217
|
+
state: {
|
|
218
|
+
variant: l,
|
|
219
|
+
weight: r,
|
|
220
|
+
truncate: o
|
|
221
|
+
},
|
|
222
|
+
props: {
|
|
223
|
+
..._,
|
|
224
|
+
className: x(w.tag, n),
|
|
225
|
+
style: {
|
|
226
|
+
"--tw-tag-background": t === "transparent" ? "transparent" : u.tag.background[t] ?? u.tag.background.gray,
|
|
227
|
+
"--tw-tag-text": t === "transparent" ? u.font.color.secondary : u.tag.text[t] ?? u.font.color.secondary,
|
|
228
|
+
"--tw-tag-border-style": i,
|
|
229
|
+
...d
|
|
230
|
+
},
|
|
231
|
+
children: /* @__PURE__ */ h(N, { children: [v(e) && !E(e) && e !== "" && /* @__PURE__ */ s("span", {
|
|
232
|
+
className: w.iconContainer,
|
|
233
|
+
"aria-hidden": !0,
|
|
234
|
+
children: e
|
|
235
|
+
}), /* @__PURE__ */ s("span", {
|
|
236
|
+
className: w.content,
|
|
237
|
+
children: P(a) && o ? /* @__PURE__ */ s(j, {
|
|
238
|
+
text: a,
|
|
239
|
+
render: /* @__PURE__ */ s("span", {}),
|
|
240
|
+
className: w.overflowingText
|
|
241
|
+
}) : a
|
|
242
|
+
})] })
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
export {
|
|
246
|
+
Fa as a,
|
|
247
|
+
Ra as i,
|
|
248
|
+
Ia as n,
|
|
249
|
+
Ba as o,
|
|
250
|
+
Da as r,
|
|
251
|
+
La as s,
|
|
252
|
+
ja as t
|
|
253
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const m=require("./theme-CeIzO6UU.cjs"),b=require("./isDefined-DS2Q42p5.cjs"),R=require("./doNotTranslate-CHE7WmRS.cjs"),w=require("./mergeClassNames-D4lshrT6.cjs"),x=require("./utilities-9ARl_uku.cjs"),W=require("./Loader-r-OAVzF_.cjs"),O=require("./OverflowingTextWithTooltip-B21zZWP6.cjs");let f=require("@sniptt/guards"),T=require("clsx"),t=require("react/jsx-runtime"),j=require("@base-ui/react/use-render"),q=require("@base-ui/react/avatar");var Z="_root_1bbob_1",U="_avatarPulsing_1bbob_1",G="_image_1bbob_95",H="_fallback_1bbob_107",A={root:Z,avatarPulsing:U,image:G,fallback:H},B=({className:e,...a})=>(0,t.jsx)(q.Avatar.Fallback,{...a,className:w.mergeClassNames(A.fallback,e)}),E=({className:e,...a})=>(0,t.jsx)(q.Avatar.Image,{...a,className:w.mergeClassNames(A.image,e)}),V=({name:e,colorSeed:a=e,size:r="md",shape:n="square",variant:s="soft",color:i,backgroundColor:o,borderColor:l,pulsing:d=!1,ring:u=!1,className:c,style:v,...g})=>{const _=m.useTheme(),p=x.getAvatarInitial(e),N=p?i??x.stringToThemeColorP3String({string:a??"",variant:12,theme:_}):i??_.font.color.tertiary,k=p?o??x.stringToThemeColorP3String({string:a??"",variant:s==="outline"?5:4,theme:_}):o??_.background.transparent.light,y=l??(p?x.stringToThemeColorP3String({string:a??"",variant:6,theme:_}):void 0);return(0,t.jsx)(q.Avatar.Root,{...g,"data-size":r,"data-shape":n,"data-pulsing":d||void 0,"data-ring":u||void 0,className:w.mergeClassNames(A.root,c),style:h=>({"--tw-avatar-color":N,"--tw-avatar-background":h.imageLoadingStatus==="loaded"?"none":k,"--tw-avatar-border":s==="outline"&&h.imageLoadingStatus!=="loaded"&&y?R.doNotTranslate(`1px solid ${y}`):"none",...(0,f.isFunction)(v)?v(h):v})})},J=({src:e,name:a,icon:r,imageProps:n,fallbackProps:s,backgroundColor:i,...o})=>{const l=x.getAvatarInitial(a),d=b.isDefined(r)&&!(0,f.isBoolean)(r)&&r!=="",u=n?.alt??"",c=!d&&(0,f.isNonEmptyString)(u),{children:v=d?r:l||"-",...g}=s??{},_=b.isDefined(g.role)||b.isDefined(g["aria-label"])||b.isDefined(g["aria-labelledby"]),p=!c&&!_&&!b.isDefined(g.render);return(0,t.jsxs)(V,{...o,name:a,backgroundColor:d?"inherit":i,children:[!d&&(0,t.jsx)(E,{src:e??void 0,...n,alt:u}),(0,t.jsx)(B,{role:c?"img":void 0,"aria-label":c?u:void 0,"aria-hidden":p||void 0,...g,children:v})]})},K=Object.assign(J,{Root:V,Image:E,Fallback:B}),Q={xxl:{fontSize:"16px",width:"40px"},xl:{fontSize:"16px",width:"32px"},lg:{fontSize:"13px",width:"24px"},md:{fontSize:"12px",width:"16px"},sm:{fontSize:"10px",width:"14px"},xs:{fontSize:"8px",width:"12px"}},X="_badge_eakxs_1",ee={badge:X},ae=({size:e="sm",color:a="tertiary",shape:r="pill",className:n,render:s,ref:i,...o})=>(0,j.useRender)({defaultTagName:"span",render:s,ref:i,props:{...o,className:(0,T.clsx)(ee.badge,n),"data-badge-size":e,"data-badge-color":a,"data-badge-shape":r}}),te="_chip_zkigu_1",re="_label_zkigu_29",se="_endElementDivider_zkigu_98",S={chip:te,label:re,endElementDivider:se},ie={height:"var(--t-spacing-4)"},ne=({children:e,size:a="sm",variant:r="ghost",color:n="primary",shape:s="square",weight:i="regular",padding:o,onClick:l,clickable:d=b.isDefined(l),startElement:u,endElement:c,endElementDivider:v=!1,maxWidth:g,truncate:_=!0,tooltipContent:p,tooltipDelay:N,isTooltipMultiline:k,tooltipPlace:y,alwaysShowTooltip:h=!1,className:z,style:F,render:I,ref:L,...$})=>{const Y=b.isDefined(e)&&!(0,f.isBoolean)(e)&&e!=="",M=(0,f.isString)(e)?{text:e,tooltipContent:p}:{text:e??!1,tooltipContent:p??""};return(0,j.useRender)({render:I,ref:L,state:{size:a,variant:r,color:n,shape:s,weight:i,padding:o,clickable:d,truncate:_},props:{...$,onClick:l,className:(0,T.clsx)(S.chip,z),style:{...b.isDefined(g)?{"--tw-chip-max-width":R.doNotTranslate(`${g}px`)}:{},...F},children:(0,t.jsxs)(t.Fragment,{children:[u,Y&&(0,t.jsx)(O.OverflowingTextWithTooltip,{...M,render:(0,t.jsx)("span",{}),className:S.label,style:a==="md"?ie:void 0,truncate:_,tooltipDelay:N,isTooltipMultiline:k,tooltipPlace:y,alwaysShowTooltip:h}),b.isDefined(c)&&c!==!1&&(0,t.jsxs)(t.Fragment,{children:[v&&(0,t.jsx)("span",{className:S.endElementDivider}),c]})]})}})},oe="_root_6bfj6_1",le="_circle_6bfj6_13",D={root:oe,circle:le},de=({colorName:e,color:a,variant:r,className:n,style:s,render:i,ref:o,...l})=>(0,j.useRender)({defaultTagName:"div",render:i,ref:o,props:{...l,className:(0,T.clsx)(D.root,r==="circle"&&D.circle,n),style:{"--color-sample-color":a??m.themeCssVariables.tag.background[e],"--color-sample-border-color":m.themeCssVariables.tag.text[e],...s}}}),ue="_status_y5v42_1",ce="_content_y5v42_49",P={status:ue,content:ce},ge=({children:e,color:a,loading:r=!1,weight:n="regular",className:s,style:i,render:o,ref:l,...d})=>{const u=x.parseThemeColor(a);return(0,j.useRender)({defaultTagName:"span",render:o,ref:l,state:{loading:r,weight:n},props:{"aria-busy":r||void 0,...d,className:(0,T.clsx)(P.status,s),style:{"--tw-status-background":m.themeCssVariables.tag.background[u],"--tw-status-text-color":m.themeCssVariables.tag.text[u],...i},children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:P.content,children:e}),r&&(0,t.jsx)(W.Loader,{color:a,"aria-hidden":"true",render:(0,t.jsx)("span",{})})]})}})},_e="_tag_1ot0y_1",me="_content_1ot0y_49",be="_overflowingText_1ot0y_58",ve="_iconContainer_1ot0y_62",C={tag:_e,content:me,overflowingText:be,iconContainer:ve},pe=({children:e,color:a,weight:r="regular",variant:n="soft",startIcon:s,truncate:i=!0,borderStyle:o="solid",className:l,style:d,render:u,ref:c,...v})=>(0,j.useRender)({defaultTagName:"span",render:u,ref:c,state:{variant:n,weight:r,truncate:i},props:{...v,className:(0,T.clsx)(C.tag,l),style:{"--tw-tag-background":a==="transparent"?"transparent":m.themeCssVariables.tag.background[a]??m.themeCssVariables.tag.background.gray,"--tw-tag-text":a==="transparent"?m.themeCssVariables.font.color.secondary:m.themeCssVariables.tag.text[a]??m.themeCssVariables.font.color.secondary,"--tw-tag-border-style":o,...d},children:(0,t.jsxs)(t.Fragment,{children:[b.isDefined(s)&&!(0,f.isBoolean)(s)&&s!==""&&(0,t.jsx)("span",{className:C.iconContainer,"aria-hidden":!0,children:s}),(0,t.jsx)("span",{className:C.content,children:(0,f.isString)(e)&&i?(0,t.jsx)(O.OverflowingTextWithTooltip,{text:e,render:(0,t.jsx)("span",{}),className:C.overflowingText}):e})]})}});Object.defineProperty(exports,"AVATAR_PROPERTIES_BY_SIZE",{enumerable:!0,get:function(){return Q}});Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return K}});Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return ae}});Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return ne}});Object.defineProperty(exports,"ColorSample",{enumerable:!0,get:function(){return de}});Object.defineProperty(exports,"Status",{enumerable:!0,get:function(){return ge}});Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return pe}});
|