@webority/ui-react 0.127.0 → 0.129.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.
Files changed (186) hide show
  1. package/dist/canvas-kit/kit.js +28735 -24316
  2. package/dist/canvas-kit/manifest.json +3223 -163
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/dist/components/AppAccountSwitcher.js +1 -0
  5. package/dist/components/AppAsyncBlock.js +1 -1
  6. package/dist/components/AppAuthLayout.js +1 -0
  7. package/dist/components/AppAutocomplete.js +1 -1
  8. package/dist/components/AppAvatar.js +1 -1
  9. package/dist/components/AppAvatarGroup.js +1 -1
  10. package/dist/components/AppBanner.js +1 -1
  11. package/dist/components/AppButton.js +1 -1
  12. package/dist/components/AppCalendar.js +1 -1
  13. package/dist/components/AppCard.js +1 -1
  14. package/dist/components/AppCell.js +1 -0
  15. package/dist/components/AppChart.js +1 -1
  16. package/dist/components/AppChartCard.js +1 -1
  17. package/dist/components/AppCheckbox.js +1 -1
  18. package/dist/components/AppChoiceCard.js +1 -1
  19. package/dist/components/AppChoiceChip.js +1 -1
  20. package/dist/components/AppColorField.js +1 -1
  21. package/dist/components/AppCommandPalette.js +1 -1
  22. package/dist/components/AppCommentThread.js +1 -1
  23. package/dist/components/AppCompareTable.js +1 -1
  24. package/dist/components/AppConfirmDialog.js +1 -1
  25. package/dist/components/AppCopyButton.js +1 -1
  26. package/dist/components/AppCountrySelect.js +1 -1
  27. package/dist/components/AppDataTable.js +1 -1
  28. package/dist/components/AppDatePicker.js +1 -1
  29. package/dist/components/AppDateRangePicker.js +1 -1
  30. package/dist/components/AppDescriptions.js +1 -1
  31. package/dist/components/AppDrawer.js +1 -1
  32. package/dist/components/AppDropZone.js +1 -1
  33. package/dist/components/AppDueDate.js +1 -1
  34. package/dist/components/AppErrorBoundary.js +1 -0
  35. package/dist/components/AppFileAttachment.js +1 -1
  36. package/dist/components/AppFilePicker.js +1 -1
  37. package/dist/components/AppFileTiles.js +1 -1
  38. package/dist/components/AppFilterBar.js +1 -1
  39. package/dist/components/AppFloatingButton.js +1 -0
  40. package/dist/components/AppImagePicker.js +1 -1
  41. package/dist/components/AppInlineEdit.js +1 -1
  42. package/dist/components/AppInput.js +1 -1
  43. package/dist/components/AppKanban.js +1 -1
  44. package/dist/components/AppLeadPopup.js +1 -0
  45. package/dist/components/AppLink.js +1 -1
  46. package/dist/components/AppMarkdown.js +1 -1
  47. package/dist/components/AppMentionInput.js +1 -1
  48. package/dist/components/AppMetricStrip.js +1 -1
  49. package/dist/components/AppModal.js +1 -1
  50. package/dist/components/AppMultiSelect.js +1 -1
  51. package/dist/components/AppNotificationCenter.js +1 -1
  52. package/dist/components/AppNumberInput.js +1 -1
  53. package/dist/components/AppOtpInput.js +1 -1
  54. package/dist/components/AppPhoneNumberInput.js +1 -1
  55. package/dist/components/AppPopover.js +1 -1
  56. package/dist/components/AppProgress.js +1 -1
  57. package/dist/components/AppRadio.js +1 -1
  58. package/dist/components/AppRadioGroup.js +1 -1
  59. package/dist/components/AppRating.js +1 -1
  60. package/dist/components/AppRichText.js +1 -1
  61. package/dist/components/AppRouteError.js +1 -1
  62. package/dist/components/AppScoreScale.js +1 -1
  63. package/dist/components/AppSearch.js +1 -1
  64. package/dist/components/AppSectionLeadCapture.js +1 -1
  65. package/dist/components/AppSectionLogos.js +1 -1
  66. package/dist/components/AppSegmented.js +1 -1
  67. package/dist/components/AppSelect.js +1 -1
  68. package/dist/components/AppShell.js +1 -1
  69. package/dist/components/AppSlider.js +1 -1
  70. package/dist/components/AppSortableList.js +1 -1
  71. package/dist/components/AppSparkline.js +1 -1
  72. package/dist/components/AppSplitButton.js +1 -1
  73. package/dist/components/AppSplitView.js +1 -1
  74. package/dist/components/AppStepper.js +1 -1
  75. package/dist/components/AppSwitch.js +1 -1
  76. package/dist/components/AppTablePagination.js +1 -1
  77. package/dist/components/AppTableToolbar.js +1 -1
  78. package/dist/components/AppTagInput.js +1 -1
  79. package/dist/components/AppTextarea.js +1 -1
  80. package/dist/components/AppTimePicker.js +1 -1
  81. package/dist/components/AppTimeline.js +1 -1
  82. package/dist/components/AppToast.js +1 -1
  83. package/dist/components/AppUpdateBar.js +1 -1
  84. package/dist/components/AppWhatsNew.js +1 -1
  85. package/dist/components/AppWorkspaceSwitcher.js +1 -1
  86. package/dist/components/iconCatalogNames.g.js +1 -1
  87. package/dist/components/iconGlyphs.g.js +1 -1
  88. package/dist/components/iconVariants.g.js +1 -1
  89. package/dist/components/useWuiControl.js +1 -1
  90. package/dist/guidance.json +235 -2
  91. package/dist/lib/CheckField.js +1 -1
  92. package/dist/lib/FileItemRow.js +1 -1
  93. package/dist/lib/fieldState.js +1 -0
  94. package/dist/lib/fillLabel.js +1 -0
  95. package/dist/lib/labelWithHelp.js +1 -0
  96. package/dist/lib/linkTarget.js +1 -0
  97. package/dist/markdown-core/dist/links.js +1 -1
  98. package/dist/types/components/AppAccountSwitcher.d.ts +41 -0
  99. package/dist/types/components/AppAsyncBlock.d.ts +24 -0
  100. package/dist/types/components/AppAuthLayout.d.ts +45 -0
  101. package/dist/types/components/AppAutocomplete.d.ts +22 -2
  102. package/dist/types/components/AppAvatar.d.ts +6 -0
  103. package/dist/types/components/AppAvatarGroup.d.ts +6 -0
  104. package/dist/types/components/AppBanner.d.ts +6 -0
  105. package/dist/types/components/AppButton.d.ts +1 -0
  106. package/dist/types/components/AppCalendar.d.ts +3 -1
  107. package/dist/types/components/AppCard.d.ts +13 -1
  108. package/dist/types/components/AppCell.d.ts +36 -0
  109. package/dist/types/components/AppChart.d.ts +7 -0
  110. package/dist/types/components/AppChartCard.d.ts +60 -0
  111. package/dist/types/components/AppCheckbox.d.ts +22 -0
  112. package/dist/types/components/AppChoiceCard.d.ts +21 -0
  113. package/dist/types/components/AppChoiceChip.d.ts +21 -0
  114. package/dist/types/components/AppColorField.d.ts +43 -4
  115. package/dist/types/components/AppCommandPalette.d.ts +6 -0
  116. package/dist/types/components/AppCommentThread.d.ts +102 -3
  117. package/dist/types/components/AppCompareTable.d.ts +24 -0
  118. package/dist/types/components/AppConfirmDialog.d.ts +6 -0
  119. package/dist/types/components/AppCountrySelect.d.ts +5 -0
  120. package/dist/types/components/AppDataTable.d.ts +1 -1
  121. package/dist/types/components/AppDatePicker.d.ts +24 -0
  122. package/dist/types/components/AppDateRangePicker.d.ts +31 -1
  123. package/dist/types/components/AppDescriptions.d.ts +4 -1
  124. package/dist/types/components/AppDrawer.d.ts +6 -0
  125. package/dist/types/components/AppDropZone.d.ts +24 -0
  126. package/dist/types/components/AppDueDate.d.ts +42 -0
  127. package/dist/types/components/AppErrorBoundary.d.ts +39 -0
  128. package/dist/types/components/AppFileAttachment.d.ts +54 -1
  129. package/dist/types/components/AppFilePicker.d.ts +75 -0
  130. package/dist/types/components/AppFileTiles.d.ts +6 -3
  131. package/dist/types/components/AppFilterBar.d.ts +73 -0
  132. package/dist/types/components/AppFloatingButton.d.ts +64 -0
  133. package/dist/types/components/AppImagePicker.d.ts +60 -0
  134. package/dist/types/components/AppInlineEdit.d.ts +6 -0
  135. package/dist/types/components/AppInput.d.ts +37 -2
  136. package/dist/types/components/AppKanban.d.ts +32 -0
  137. package/dist/types/components/AppLeadPopup.d.ts +122 -0
  138. package/dist/types/components/AppLink.d.ts +3 -0
  139. package/dist/types/components/AppMentionInput.d.ts +17 -0
  140. package/dist/types/components/AppMetricStrip.d.ts +2 -0
  141. package/dist/types/components/AppModal.d.ts +6 -0
  142. package/dist/types/components/AppMultiSelect.d.ts +18 -1
  143. package/dist/types/components/AppNotificationCenter.d.ts +2 -0
  144. package/dist/types/components/AppNumberInput.d.ts +24 -2
  145. package/dist/types/components/AppOtpInput.d.ts +29 -0
  146. package/dist/types/components/AppPhoneNumberInput.d.ts +26 -0
  147. package/dist/types/components/AppProgress.d.ts +2 -2
  148. package/dist/types/components/AppRadio.d.ts +22 -0
  149. package/dist/types/components/AppRadioGroup.d.ts +24 -0
  150. package/dist/types/components/AppRating.d.ts +39 -0
  151. package/dist/types/components/AppRichText.d.ts +7 -0
  152. package/dist/types/components/AppRouteError.d.ts +54 -0
  153. package/dist/types/components/AppScoreScale.d.ts +6 -0
  154. package/dist/types/components/AppSearch.d.ts +17 -2
  155. package/dist/types/components/AppSectionLeadCapture.d.ts +48 -0
  156. package/dist/types/components/AppSectionLogos.d.ts +2 -0
  157. package/dist/types/components/AppSegmented.d.ts +27 -3
  158. package/dist/types/components/AppSelect.d.ts +22 -2
  159. package/dist/types/components/AppShell.d.ts +165 -0
  160. package/dist/types/components/AppSlider.d.ts +28 -0
  161. package/dist/types/components/AppSortableList.d.ts +5 -0
  162. package/dist/types/components/AppSparkline.d.ts +24 -0
  163. package/dist/types/components/AppSplitView.d.ts +68 -0
  164. package/dist/types/components/AppStepper.d.ts +6 -0
  165. package/dist/types/components/AppSwitch.d.ts +22 -0
  166. package/dist/types/components/AppTablePagination.d.ts +44 -2
  167. package/dist/types/components/AppTableToolbar.d.ts +30 -0
  168. package/dist/types/components/AppTagInput.d.ts +18 -1
  169. package/dist/types/components/AppTextarea.d.ts +20 -0
  170. package/dist/types/components/AppTimePicker.d.ts +17 -0
  171. package/dist/types/components/AppTimeline.d.ts +8 -0
  172. package/dist/types/components/AppToast.d.ts +6 -0
  173. package/dist/types/components/AppUpdateBar.d.ts +18 -0
  174. package/dist/types/components/AppWhatsNew.d.ts +2 -0
  175. package/dist/types/components/AppWorkspaceSwitcher.d.ts +18 -0
  176. package/dist/types/components/iconGlyphs.g.d.ts +1 -0
  177. package/dist/types/components/iconVariants.g.d.ts +5 -0
  178. package/dist/types/components/useWuiControl.d.ts +3 -1
  179. package/dist/types/index.d.ts +6 -0
  180. package/dist/types/lib/FileItemRow.d.ts +9 -2
  181. package/dist/types/lib/fieldState.d.ts +3 -0
  182. package/dist/types/lib/fillLabel.d.ts +1 -0
  183. package/dist/types/lib/labelWithHelp.d.ts +10 -0
  184. package/dist/types/lib/linkTarget.d.ts +30 -0
  185. package/dist/ui-react.js +1 -1
  186. package/package.json +8 -8
@@ -1 +1 @@
1
- import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./AppIcon.js";import n from"./useWuiControl.js";import r from"./warnInvalidValue.js";import i from"./warnUnknownProps.js";import{forwardRef as a,useEffect as o,useRef as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";import"@webority/ui-elements/elements/sortable";var u=[`vertical`,`horizontal`],d=[`always`,`hover`],f=(e,t)=>{e.controlled=!0;let n=e.order;(n.length!==t.length||t.some((e,t)=>e!==n[t]))&&(e.order=t)},p=a(function(a,p){let{marker:m,props:h}=e(`AppSortableList`,a),{items:g=[],onReorder:_,ariaLabel:v,handle:y=!1,group:b,name:x,disabled:S=!1,orientation:C=`vertical`,handleDisplay:w=`always`,bordered:T=!0,className:E=``,...D}=h;i(`AppSortableList`,D),r(`AppSortableList`,`orientation`,C,u),r(`AppSortableList`,`handleDisplay`,w,d);let O=w===`hover`,k=g.map(e=>e.id),A=s(k);o(()=>{A.current=k});let{setRef:j,innerRef:M}=n({ref:p,value:k,writeValue:f,on:{"wui-sortable:change":e=>{e.target===e.currentTarget&&(_?.(e.detail.ids,e.detail),requestAnimationFrame(()=>{M.current&&f(M.current,A.current)}))}}});return/* @__PURE__ */ c(`wui-sortable`,{ref:j,role:`list`,"aria-label":v,name:x||void 0,group:b||void 0,orientation:C===`horizontal`?`horizontal`:void 0,"handle-display":O?`hover`:void 0,handle:y||O?``:void 0,disabled:S?``:void 0,borderless:T?void 0:``,className:`wui-sortable${E?` ${E}`:``}`,...m,...D,children:g.map(e=>/* @__PURE__ */ l(`div`,{role:`listitem`,className:`wui-sortable-item`,"data-id":e.id,"data-label":e.label,"data-disabled":e.disabled?``:void 0,children:[/* @__PURE__ */ c(`button`,{type:`button`,className:`wui-sortable-handle`,"aria-label":`Reorder ${e.label}`,disabled:S||e.disabled?!0:void 0,children:/* @__PURE__ */ c(t,{name:`menu`,size:18})}),/* @__PURE__ */ c(`div`,{className:`wui-sortable-body`,children:e.content??e.label})]},e.id))})});export{p as default};
1
+ import e from"../lib/fillLabel.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppIcon.js";import r from"./useWuiControl.js";import i from"./warnInvalidValue.js";import a from"./warnUnknownProps.js";import{forwardRef as o,useEffect as s,useRef as c}from"react";import{jsx as l,jsxs as u}from"react/jsx-runtime";import"@webority/ui-elements/elements/sortable";var d=[`vertical`,`horizontal`],f=[`always`,`hover`],p=(e,t)=>{e.controlled=!0;let n=e.order;(n.length!==t.length||t.some((e,t)=>e!==n[t]))&&(e.order=t)},m=o(function(o,m){let{marker:h,props:g}=t(`AppSortableList`,o),{items:_=[],onReorder:v,ariaLabel:y,handle:b=!1,group:x,name:S,disabled:C=!1,orientation:w=`vertical`,handleDisplay:T=`always`,bordered:E=!0,className:D=``,reorderLabel:O=`Reorder {name}`,...k}=g;a(`AppSortableList`,k),i(`AppSortableList`,`orientation`,w,d),i(`AppSortableList`,`handleDisplay`,T,f);let A=T===`hover`,j=_.map(e=>e.id),M=c(j);s(()=>{M.current=j});let{setRef:N,innerRef:P}=r({ref:m,value:j,writeValue:p,on:{"wui-sortable:change":e=>{e.target===e.currentTarget&&(v?.(e.detail.ids,e.detail),requestAnimationFrame(()=>{P.current&&p(P.current,M.current)}))}}});return/* @__PURE__ */ l(`wui-sortable`,{ref:N,role:`list`,"aria-label":y,name:S||void 0,group:x||void 0,orientation:w===`horizontal`?`horizontal`:void 0,"handle-display":A?`hover`:void 0,handle:b||A?``:void 0,disabled:C?``:void 0,borderless:E?void 0:``,className:`wui-sortable${D?` ${D}`:``}`,...h,...k,children:_.map(t=>/* @__PURE__ */ u(`div`,{role:`listitem`,className:`wui-sortable-item`,"data-id":t.id,"data-label":t.label,"data-disabled":t.disabled?``:void 0,children:[/* @__PURE__ */ l(`button`,{type:`button`,className:`wui-sortable-handle`,"aria-label":e(O,{name:t.label}),disabled:C||t.disabled?!0:void 0,children:/* @__PURE__ */ l(n,{name:`menu`,size:18})}),/* @__PURE__ */ l(`div`,{className:`wui-sortable-body`,children:t.content??t.label})]},t.id))})});export{m as default};
@@ -1 +1 @@
1
- import{devWarn as e}from"../lib/devWarn.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./warnUnknownProps.js";import{jsx as r}from"react/jsx-runtime";var i=()=>{try{return process.env.NODE_ENV!==`production`}catch{return!0}},a=!1;function o(t){!a&&i()&&(a=!0,e(`[@webority/ui-react] <AppSparkline> left out ${t} value(s) in \`data\` that are not finite numbers.`))}var s=e=>typeof e==`number`&&Number.isFinite(e);function c(e,t,n){if(e.length<2)return`0,${n/2} ${t},${n/2}`;let r=Math.min(...e),i=Math.max(...e)-r,a=t/(e.length-1);return e.map((e,t)=>{let o=i===0?n/2:n-(e-r)/i*n;return`${t*a},${o}`}).join(` `)}var l=e=>String(Number(e.toFixed(2)));function u(e,t){let n=t?`${t} trend`:`Trend`;return e.length===1?`${n} has one value, ${l(e[0])}.`:`${n} from ${l(e[0])} to ${l(e[e.length-1])} across ${e.length} points.`}function d(e){let{marker:i,props:a}=t(`AppSparkline`,e),{data:l,label:d,width:f=48,height:p=16,className:m=``,...h}=a;n(`AppSparkline`,h);let g=Array.isArray(l)?l.filter(s):[];return Array.isArray(l)&&g.length<l.length&&o(l.length-g.length),g.length===0?null:/* @__PURE__ */ r(`svg`,{className:`wui-sparkline${m?` ${m}`:``}`,width:f,height:p,viewBox:`0 0 ${f} ${p}`,role:`img`,"aria-label":u(g,d),...i,...h,children:/* @__PURE__ */ r(`polyline`,{points:c(g,f,p),stroke:`currentColor`,fill:`none`})})}export{d as default};
1
+ import{devWarn as e}from"../lib/devWarn.js";import t from"../lib/fillLabel.js";import{splitMarkerProps as n}from"../lib/wuiMarker.js";import r from"./warnUnknownProps.js";import{jsx as i}from"react/jsx-runtime";var a=()=>{try{return process.env.NODE_ENV!==`production`}catch{return!0}},o=!1;function s(t){!o&&a()&&(o=!0,e(`[@webority/ui-react] <AppSparkline> left out ${t} value(s) in \`data\` that are not finite numbers.`))}var c=e=>typeof e==`number`&&Number.isFinite(e);function l(e,t,n){if(e.length<2)return`0,${n/2} ${t},${n/2}`;let r=Math.min(...e),i=Math.max(...e)-r,a=t/(e.length-1);return e.map((e,t)=>{let o=i===0?n/2:n-(e-r)/i*n;return`${t*a},${o}`}).join(` `)}var u=e=>String(Number(e.toFixed(2)));function d(e,n,r){let i=n?t(r.namedTrendLabel,{label:n}):r.trendLabel;return e.length===1?t(r.oneValueText,{name:i,value:u(e[0])}):t(r.rangeText,{name:i,from:u(e[0]),to:u(e[e.length-1]),count:e.length})}function f(e){let{marker:t,props:a}=n(`AppSparkline`,e),{data:o,label:u,width:f=48,height:p=16,className:m=``,trendLabel:h=`Trend`,namedTrendLabel:g=`{label} trend`,oneValueText:_=`{name} has one value, {value}.`,rangeText:v=`{name} from {from} to {to} across {count} points.`,...y}=a;r(`AppSparkline`,y);let b=Array.isArray(o)?o.filter(c):[];if(Array.isArray(o)&&b.length<o.length&&s(o.length-b.length),b.length===0)return null;let x={trendLabel:h,namedTrendLabel:g,oneValueText:_,rangeText:v};return/* @__PURE__ */ i(`svg`,{className:`wui-sparkline${m?` ${m}`:``}`,width:f,height:p,viewBox:`0 0 ${f} ${p}`,role:`img`,"aria-label":d(b,u,x),...t,...y,children:/* @__PURE__ */ i(`polyline`,{points:l(b,f,p),stroke:`currentColor`,fill:`none`})})}export{f as default};
@@ -1 +1 @@
1
- import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t,{buttonVariantClass as n}from"./AppButton.js";import r from"./AppDropdown.js";import i from"./AppIcon.js";import a from"./warnInvalidValue.js";import o from"./warnUnknownProps.js";import{jsx as s,jsxs as c}from"react/jsx-runtime";var l=[`sm`,`md`,`lg`],u=[`button`,`submit`,`reset`],d={sm:14,md:16,lg:20},f={sm:`btn-sm`,md:``,lg:`btn-lg`};function p(p){let{marker:m,props:h}=e(`AppSplitButton`,p),{label:g,items:_=[],onClick:v,href:y,type:b=`button`,variant:x=`primary`,size:S=`md`,disabled:C=!1,loading:w=!1,leftIcon:T,shortcut:E,menuLabel:D=`More actions`,align:O=`end`,linkComponent:k,className:A=``,...j}=h;o(`AppSplitButton`,j),a(`AppSplitButton`,`size`,S,l),a(`AppSplitButton`,`type`,b,u);let M=[`btn`,n(x),f[S]??``,`wui-split-toggle`].filter(Boolean).join(` `),N=/* @__PURE__ */ s(i,{name:`chevron-down`,size:d[S]??d.md}),P=C||w;return/* @__PURE__ */ c(`div`,{role:`group`,"aria-label":g,className:[`wui-split-button`,A].filter(Boolean).join(` `),...m,...j,children:[/* @__PURE__ */ s(t,{variant:x,size:S,type:b,href:y,onClick:v,disabled:C,loading:w,leftIcon:T,shortcut:E,children:g}),P?/* @__PURE__ */ s(`div`,{className:`wui-split-menu`,children:/* @__PURE__ */ s(`button`,{type:`button`,className:M,disabled:!0,"aria-label":D,children:N})}):/* @__PURE__ */ s(r,{className:`wui-split-menu`,trigger:N,toggleClassName:M,label:D,ariaLabel:D,align:O,items:_,linkComponent:k})]})}export{p as default};
1
+ import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t,{BUTTON_VARIANTS as n,buttonVariantClass as r}from"./AppButton.js";import i from"./AppDropdown.js";import a from"./AppIcon.js";import o from"./warnInvalidValue.js";import s from"./warnUnknownProps.js";import{jsx as c,jsxs as l}from"react/jsx-runtime";var u=[`sm`,`md`,`lg`],d=[`button`,`submit`,`reset`],f={sm:14,md:16,lg:20},p={sm:`btn-sm`,md:``,lg:`btn-lg`};function m(m){let{marker:h,props:g}=e(`AppSplitButton`,m),{label:_,items:v=[],onClick:y,href:b,type:x=`button`,variant:S=`primary`,size:C=`md`,disabled:w=!1,loading:T=!1,leftIcon:E,shortcut:D,menuLabel:O=`More actions`,align:k=`end`,linkComponent:A,className:j=``,...M}=g;s(`AppSplitButton`,M),o(`AppSplitButton`,`size`,C,u),o(`AppSplitButton`,`variant`,S,n),o(`AppSplitButton`,`type`,x,d);let N=[`btn`,r(S),p[C]??``,`wui-split-toggle`].filter(Boolean).join(` `),P=/* @__PURE__ */ c(a,{name:`chevron-down`,size:f[C]??f.md}),F=w||T;return/* @__PURE__ */ l(`div`,{role:`group`,"aria-label":_,className:[`wui-split-button`,j].filter(Boolean).join(` `),...h,...M,children:[/* @__PURE__ */ c(t,{variant:S,size:C,type:x,href:b,onClick:y,disabled:w,loading:T,leftIcon:E,shortcut:D,children:_}),F?/* @__PURE__ */ c(`div`,{className:`wui-split-menu`,children:/* @__PURE__ */ c(`button`,{type:`button`,className:N,disabled:!0,"aria-label":O,children:P})}):/* @__PURE__ */ c(i,{className:`wui-split-menu`,trigger:P,toggleClassName:N,label:O,ariaLabel:O,align:k,items:v,linkComponent:A})]})}export{m as default};
@@ -1 +1 @@
1
- import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./AppRecordPager.js";import n from"./AppShortcutLegend.js";import r from"./warnInvalidValue.js";import i from"./warnUnknownProps.js";import{LIST_KEYS as a,SELECT_KEY as o,shortcutKey as s}from"@webority/ui-elements/helpers";import{useEffect as c,useMemo as ee,useRef as l}from"react";import{Fragment as u,jsx as d,jsxs as f}from"react/jsx-runtime";var p={sm:576,md:768,lg:992,xl:1200,xxl:1400},te=Object.keys(p),m=[3,4,5,6,7,8],h=6,g=`.wui-split-items > .wui-split-item > .wui-split-link`,_=(e,t)=>e!=null&&String(e)===String(t),v=e=>{let t=window.matchMedia?.(`(min-width: ${p[e]}px)`);return!t||t.matches},ne=e=>typeof e==`string`||typeof e==`number`?String(e):`item`;function y(y){let{marker:b,props:x}=e(`AppSplitView`,y),{items:S=[],currentKey:C,onSelect:w,selectable:T=!1,selectedKeys:E,onToggle:D,onToggleAll:O,bulkActions:k,header:A,chips:j,pane:re,paneHeader:M,pager:ie=!0,shortcuts:ae,shortcutsEnabled:N=!0,empty:P=`Nothing here yet.`,loading:F=!1,listWidth:I=5,stackBelow:L=`xl`,className:R=``,...z}=x,B=ee(()=>new Set(E),[E]);i(`AppSplitView`,z),r(`AppSplitView`,`stackBelow`,L,te),r(`AppSplitView`,`listWidth`,I,m);let V=p[L]?L:`xl`,H=m.includes(I)?I:5,U=l(null),W=C!=null,G=T?B?.size??0:0,K=G>0,q=T&&S.length>0&&S.every(e=>B?.has(e.key)),oe=T&&!q&&S.some(e=>B?.has(e.key)),se=e=>{e&&(e.indeterminate=oe)},J=l(!1);c(()=>{J.current?C!=null&&U.current?.querySelector(`.wui-split-link[aria-current="true"]`)?.scrollIntoView?.({block:`nearest`}):J.current=!0},[C]);let Y=(e,t)=>{t.button>0||t.ctrlKey||t.metaKey||t.shiftKey||t.altKey||w&&(!e.href||v(V))&&(t.preventDefault(),w(e.key))},X=e=>{let t=[...U.current?.querySelectorAll(g)??[]];t[t.findIndex(e=>e.getAttribute(`aria-current`)===`true`)+e]?.click()},ce=[`wui-split-view`,W?`wui-split-reading`:``,R].filter(Boolean).join(` `),le=T?[...a,o]:a,ue=/* @__PURE__ */ new Set([`J`,`K`,`Enter`,`?`,...T?[`X`]:[]]),de=[...le,...(ae??[]).filter(e=>!ue.has(s(e.key))).map(e=>({key:e.key,label:e.label,onPress:()=>e.onPress?.(C)}))],Z=S.findIndex(e=>_(C,e.key)),Q=ie&&!F&&S.length>0?/* @__PURE__ */ d(t,{"data-split-pager":``,index:Z>=0?Z+1:void 0,total:S.length,onPrev:()=>X(-1),onNext:()=>X(1),prevLabel:`Previous item`,nextLabel:`Next item`}):null,fe=e=>{let t=_(C,e.key),n=T&&!!B?.has(e.key),r=e.badge!==void 0&&e.badge!==null&&e.badge!==``,i=/* @__PURE__ */ f(u,{children:[/* @__PURE__ */ f(`span`,{className:`wui-split-item-main`,children:[/* @__PURE__ */ d(`span`,{className:`wui-split-item-title`,children:e.title}),e.meta!==void 0&&e.meta!==null&&/* @__PURE__ */ d(`span`,{className:`wui-split-item-meta`,children:e.meta})]}),(e.trailing||r)&&/* @__PURE__ */ f(`span`,{className:`wui-split-item-end`,children:[e.trailing,r&&/* @__PURE__ */ d(`span`,{className:`wui-split-badge`,children:e.badge})]})]});return/* @__PURE__ */ f(`li`,{className:[`wui-split-item`,t?`is-active`:``,n?`is-selected`:``].filter(Boolean).join(` `),"data-key":e.key,children:[T&&/* @__PURE__ */ d(`input`,{type:`checkbox`,className:`wui-check wui-split-check`,checked:n,onChange:()=>D?.(e.key),"aria-label":`Select ${ne(e.title)}`}),e.href?/* @__PURE__ */ d(`a`,{className:`wui-split-link`,href:e.href,"aria-current":t?`true`:void 0,onClick:t=>Y(e,t),children:i}):/* @__PURE__ */ d(`button`,{type:`button`,className:`wui-split-link`,"aria-current":t?`true`:void 0,onClick:t=>Y(e,t),children:i})]},e.key)},$;return $=F?/* @__PURE__ */ f(`div`,{className:`wui-split-items`,"aria-busy":`true`,tabIndex:0,children:[/* @__PURE__ */ d(`span`,{className:`visually-hidden`,children:`Loading`}),Array.from({length:h},(e,t)=>/* @__PURE__ */ f(`div`,{className:`wui-split-skeleton`,"aria-hidden":`true`,children:[/* @__PURE__ */ d(`span`,{className:`skeleton wui-split-skeleton-title`}),/* @__PURE__ */ d(`span`,{className:`skeleton wui-split-skeleton-meta`})]},t))]}):S.length?/* @__PURE__ */ d(`ul`,{className:`wui-split-items`,"aria-label":`Items`,children:S.map(fe)}):/* @__PURE__ */ d(`div`,{className:`wui-split-empty`,children:P}),/* @__PURE__ */ f(`div`,{ref:U,className:ce,"data-stack-below":V,"data-list-width":H,"data-shortcut-scope":N?``:void 0,...b,...z,children:[/* @__PURE__ */ f(`div`,{className:`wui-split-list`,children:[(A||T)&&/* @__PURE__ */ f(`div`,{className:`wui-split-head`,children:[T&&/* @__PURE__ */ d(`input`,{ref:se,type:`checkbox`,className:`wui-check wui-split-all`,checked:q,onChange:e=>O?.(e.target.checked),"aria-label":`Select all items`}),/* @__PURE__ */ d(`div`,{className:`wui-split-head-main`,hidden:K,children:A}),T&&/* @__PURE__ */ f(`div`,{className:`wui-split-head-bulk`,hidden:!K,children:[/* @__PURE__ */ f(`span`,{className:`wui-split-count`,"aria-live":`polite`,children:[G,` selected`]}),k]})]}),j&&/* @__PURE__ */ d(`div`,{className:`wui-split-chips`,children:j}),$,N&&/* @__PURE__ */ f(`div`,{className:`wui-split-legend`,children:[/* @__PURE__ */ f(`span`,{children:[/* @__PURE__ */ d(`kbd`,{className:`wui-kbd`,children:`J`}),` `,/* @__PURE__ */ d(`kbd`,{className:`wui-kbd`,children:`K`}),` Move`]}),/* @__PURE__ */ f(`span`,{children:[/* @__PURE__ */ d(`kbd`,{className:`wui-kbd`,children:`Enter`}),` Open`]}),/* @__PURE__ */ d(n,{items:g,shortcuts:de})]})]}),/* @__PURE__ */ f(`div`,{className:`wui-split-pane`,children:[(M||Q)&&/* @__PURE__ */ f(`div`,{className:`wui-split-pane-head`,children:[M,Q]}),/* @__PURE__ */ d(`section`,{className:`wui-split-pane-body`,"aria-label":`Reading pane`,tabIndex:0,children:re})]})]})}export{y as default};
1
+ import e from"../lib/fillLabel.js";import{linkTarget as t}from"../lib/linkTarget.js";import{splitMarkerProps as n}from"../lib/wuiMarker.js";import r from"./AppRecordPager.js";import i from"./AppShortcutLegend.js";import a from"./warnInvalidValue.js";import o from"./warnUnknownProps.js";import{LIST_KEYS as s,SELECT_KEY as c,shortcutKey as l}from"@webority/ui-elements/helpers";import{useEffect as ee,useMemo as te,useRef as u}from"react";import{Fragment as ne,jsx as d,jsxs as f}from"react/jsx-runtime";var p={sm:576,md:768,lg:992,xl:1200,xxl:1400},re=Object.keys(p),m=[3,4,5,6,7,8],h=6,g=`.wui-split-items > .wui-split-item > .wui-split-link`,_=(e,t)=>e!=null&&String(e)===String(t),ie=e=>{let t=window.matchMedia?.(`(min-width: ${p[e]}px)`);return!t||t.matches},ae=(e,t)=>typeof e==`string`||typeof e==`number`?String(e):t;function v(v){let{marker:y,props:oe}=n(`AppSplitView`,v),{items:b=[],currentKey:x,onSelect:S,selectable:C=!1,selectedKeys:w,onToggle:se,onToggleAll:ce,bulkActions:le,header:T,chips:E,pane:ue,paneHeader:D,pager:de=!0,shortcuts:fe,shortcutsEnabled:O=!0,empty:pe=`Nothing here yet.`,loading:k=!1,listWidth:A=5,stackBelow:j=`xl`,linkComponent:M,loadingLabel:N=`Loading`,itemsLabel:P=`Items`,selectItemLabel:F=`Select {title}`,selectAllLabel:I=`Select all items`,readingPaneLabel:L=`Reading pane`,previousItemLabel:R=`Previous item`,nextItemLabel:z=`Next item`,openLabel:B=`Open`,moveLabel:me=`Move`,selectedLabel:he=`{count} selected`,untitledItemLabel:ge=`item`,className:_e=``,...V}=oe,H=te(()=>new Set(w),[w]);o(`AppSplitView`,V),a(`AppSplitView`,`stackBelow`,j,re),a(`AppSplitView`,`listWidth`,A,m);let U=p[j]?j:`xl`,ve=m.includes(A)?A:5,W=u(null),ye=x!=null,G=C?H?.size??0:0,K=G>0,q=C&&b.length>0&&b.every(e=>H?.has(e.key)),be=C&&!q&&b.some(e=>H?.has(e.key)),xe=e=>{e&&(e.indeterminate=be)},J=u(!1);ee(()=>{J.current?x!=null&&W.current?.querySelector(`.wui-split-link[aria-current="true"]`)?.scrollIntoView?.({block:`nearest`}):J.current=!0},[x]);let Y=(e,t)=>{t.button>0||t.ctrlKey||t.metaKey||t.shiftKey||t.altKey||S&&(!e.href||ie(U))&&(t.preventDefault(),S(e.key))},X=e=>{let t=[...W.current?.querySelectorAll(g)??[]];t[t.findIndex(e=>e.getAttribute(`aria-current`)===`true`)+e]?.click()},Se=[`wui-split-view`,ye?`wui-split-reading`:``,_e].filter(Boolean).join(` `),Ce=C?[...s,c]:s,we=/* @__PURE__ */ new Set([`J`,`K`,`Enter`,`?`,...C?[`X`]:[]]),Te=[...Ce,...(fe??[]).filter(e=>!we.has(l(e.key))).map(e=>({key:e.key,label:e.label,onPress:()=>e.onPress?.(x)}))],Z=b.findIndex(e=>_(x,e.key)),Q=de&&!k&&b.length>0?/* @__PURE__ */ d(r,{"data-split-pager":``,index:Z>=0?Z+1:void 0,total:b.length,onPrev:()=>X(-1),onNext:()=>X(1),prevLabel:R,nextLabel:z}):null,Ee=n=>{let r=_(x,n.key),i=C&&!!H?.has(n.key),a=n.badge!==void 0&&n.badge!==null&&n.badge!==``,{Tag:o,linkProps:s}=t(M,{href:n.href}),c=/* @__PURE__ */ f(ne,{children:[/* @__PURE__ */ f(`span`,{className:`wui-split-item-main`,children:[/* @__PURE__ */ d(`span`,{className:`wui-split-item-title`,children:n.title}),n.meta!==void 0&&n.meta!==null&&/* @__PURE__ */ d(`span`,{className:`wui-split-item-meta`,children:n.meta})]}),(n.trailing||a)&&/* @__PURE__ */ f(`span`,{className:`wui-split-item-end`,children:[n.trailing,a&&/* @__PURE__ */ d(`span`,{className:`wui-split-badge`,children:n.badge})]})]});return/* @__PURE__ */ f(`li`,{className:[`wui-split-item`,r?`is-active`:``,i?`is-selected`:``].filter(Boolean).join(` `),"data-key":n.key,children:[C&&/* @__PURE__ */ d(`input`,{type:`checkbox`,className:`wui-check wui-split-check`,checked:i,onChange:()=>se?.(n.key),"aria-label":e(F,{title:ae(n.title,ge)})}),n.href?/* @__PURE__ */ d(o,{className:`wui-split-link`,...s,"aria-current":r?`true`:void 0,onClick:e=>Y(n,e),children:c}):/* @__PURE__ */ d(`button`,{type:`button`,className:`wui-split-link`,"aria-current":r?`true`:void 0,onClick:e=>Y(n,e),children:c})]},n.key)},$;return $=k?/* @__PURE__ */ f(`div`,{className:`wui-split-items`,"aria-busy":`true`,tabIndex:0,children:[/* @__PURE__ */ d(`span`,{className:`visually-hidden`,children:N}),Array.from({length:h},(e,t)=>/* @__PURE__ */ f(`div`,{className:`wui-split-skeleton`,"aria-hidden":`true`,children:[/* @__PURE__ */ d(`span`,{className:`skeleton wui-split-skeleton-title`}),/* @__PURE__ */ d(`span`,{className:`skeleton wui-split-skeleton-meta`})]},t))]}):b.length?/* @__PURE__ */ d(`ul`,{className:`wui-split-items`,"aria-label":P,children:b.map(Ee)}):/* @__PURE__ */ d(`div`,{className:`wui-split-empty`,children:pe}),/* @__PURE__ */ f(`div`,{ref:W,className:Se,"data-stack-below":U,"data-list-width":ve,"data-shortcut-scope":O?``:void 0,...y,...V,children:[/* @__PURE__ */ f(`div`,{className:`wui-split-list`,children:[(T||C)&&/* @__PURE__ */ f(`div`,{className:`wui-split-head`,children:[C&&/* @__PURE__ */ d(`input`,{ref:xe,type:`checkbox`,className:`wui-check wui-split-all`,checked:q,onChange:e=>ce?.(e.target.checked),"aria-label":I}),/* @__PURE__ */ d(`div`,{className:`wui-split-head-main`,hidden:K,children:T}),C&&/* @__PURE__ */ f(`div`,{className:`wui-split-head-bulk`,hidden:!K,children:[/* @__PURE__ */ d(`span`,{className:`wui-split-count`,"aria-live":`polite`,children:e(he,{count:G})}),le]})]}),E&&/* @__PURE__ */ d(`div`,{className:`wui-split-chips`,children:E}),$,O&&/* @__PURE__ */ f(`div`,{className:`wui-split-legend`,children:[/* @__PURE__ */ f(`span`,{children:[/* @__PURE__ */ d(`kbd`,{className:`wui-kbd`,children:`J`}),` `,/* @__PURE__ */ d(`kbd`,{className:`wui-kbd`,children:`K`}),` ${me}`]}),/* @__PURE__ */ f(`span`,{children:[/* @__PURE__ */ d(`kbd`,{className:`wui-kbd`,children:`Enter`}),` ${B}`]}),/* @__PURE__ */ d(i,{items:g,shortcuts:Te})]})]}),/* @__PURE__ */ f(`div`,{className:`wui-split-pane`,children:[(D||Q)&&/* @__PURE__ */ f(`div`,{className:`wui-split-pane-head`,children:[D,Q]}),/* @__PURE__ */ d(`section`,{className:`wui-split-pane-body`,"aria-label":L,tabIndex:0,children:ue})]})]})}export{v as default};
@@ -1 +1 @@
1
- import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./AppIcon.js";import n from"./warnInvalidValue.js";import r from"./warnUnknownProps.js";import{deriveStepStatus as i,stepperHeaderItems as a}from"@webority/ui-elements/helpers";import{Fragment as o,jsx as s,jsxs as c}from"react/jsx-runtime";var l=[`steps`,`journey`],u=[`horizontal`,`vertical`],d=[`linear`,`outline`,`bold`,`bulk`,`broken`,`twotone`],f=[`sm`,`md`,`lg`],p=[`primary`,`info`],m={sm:12,md:14,lg:18},h=[`done`,`active`,`pending`,`error`];function g(g){let{marker:_,props:v}=e(`AppStepper`,g),{steps:y=[],variant:b=`steps`,orientation:x=`horizontal`,iconVariant:S,size:C=`md`,iconSize:w,active:T,onStepClick:E,label:D=`Progress`,tone:O=`primary`,linkComponent:k,className:A=``,...j}=v;r(`AppStepper`,j),n(`AppStepper`,`variant`,b,l),n(`AppStepper`,`orientation`,x,u),n(`AppStepper`,`iconVariant`,S,d),n(`AppStepper`,`size`,C,f),n(`AppStepper`,`tone`,O,p);let M=w>0?w:m[C]??m.md;for(let e of y)n(`AppStepper`,`steps[].status`,e.status,h);let N=b===`journey`,P=[`stepper`,N&&`stepper-journey`,x===`vertical`&&`stepper-vertical`,C!==`md`&&f.includes(C)&&`wui-step-size-${C}`,O!==`primary`&&p.includes(O)&&`wui-step-tone-${O}`,A].filter(Boolean).join(` `),F=a(y,{statusOf:e=>y[e].status||i(e,T),journey:N,connectors:!0});return/* @__PURE__ */ s(`nav`,{className:P,"aria-label":D,..._,...j,children:F.map(e=>{let n=e.index,r=y[n],i=e.className,a=e.glyph.number;e.glyph.icon&&(a=/* @__PURE__ */ s(t,{name:e.glyph.icon,size:M,variant:S}));let l=/* @__PURE__ */ c(o,{children:[/* @__PURE__ */ s(`span`,{className:`step-circle`,children:a}),N?/* @__PURE__ */ c(`span`,{className:`step-text`,children:[/* @__PURE__ */ s(`span`,{className:`step-index`,children:`Step ${n+1}`}),/* @__PURE__ */ s(`span`,{className:`step-label`,children:r.label}),r.description?/* @__PURE__ */ s(`span`,{className:`step-desc`,children:r.description}):null]}):/* @__PURE__ */ c(o,{children:[/* @__PURE__ */ s(`span`,{className:`step-label`,children:r.label}),r.description?/* @__PURE__ */ s(`span`,{className:`step-desc`,children:r.description}):null]})]}),u=e.current?`step`:void 0,d=r.key??`${r.label}-${n}`,f;return f=E?/* @__PURE__ */ s(`button`,{type:`button`,className:i,"aria-current":u,onClick:()=>E(r,n),children:l},d):r.href?k?/* @__PURE__ */ s(k,{className:i,to:r.href,"aria-current":u,children:l},d):/* @__PURE__ */ s(`a`,{className:i,href:r.href,"aria-current":u,children:l},d):/* @__PURE__ */ s(`div`,{className:i,"aria-current":u,children:l},d),e.line?[f,/* @__PURE__ */ s(`span`,{className:`step-line${e.line.done?` done`:``}`,"aria-hidden":`true`},`${d}-line`)]:f})})}export{g as default};
1
+ import e from"../lib/fillLabel.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppIcon.js";import r from"./warnInvalidValue.js";import i from"./warnUnknownProps.js";import{deriveStepStatus as a,stepperHeaderItems as o}from"@webority/ui-elements/helpers";import{Fragment as s,jsx as c,jsxs as l}from"react/jsx-runtime";var u=[`steps`,`journey`],d=[`horizontal`,`vertical`],f=[`linear`,`outline`,`bold`,`bulk`,`broken`,`twotone`],p=[`sm`,`md`,`lg`],m=[`primary`,`info`],h={sm:12,md:14,lg:18},g=[`done`,`active`,`pending`,`error`];function _(_){let{marker:v,props:y}=t(`AppStepper`,_),{steps:b=[],variant:x=`steps`,orientation:S=`horizontal`,iconVariant:C,size:w=`md`,iconSize:T,active:E,onStepClick:D,label:O=`Progress`,stepLabel:k=`Step {number}`,tone:A=`primary`,linkComponent:j,className:M=``,...N}=y;i(`AppStepper`,N),r(`AppStepper`,`variant`,x,u),r(`AppStepper`,`orientation`,S,d),r(`AppStepper`,`iconVariant`,C,f),r(`AppStepper`,`size`,w,p),r(`AppStepper`,`tone`,A,m);let P=T>0?T:h[w]??h.md;for(let e of b)r(`AppStepper`,`steps[].status`,e.status,g);let F=x===`journey`,I=[`stepper`,F&&`stepper-journey`,S===`vertical`&&`stepper-vertical`,w!==`md`&&p.includes(w)&&`wui-step-size-${w}`,A!==`primary`&&m.includes(A)&&`wui-step-tone-${A}`,M].filter(Boolean).join(` `),L=o(b,{statusOf:e=>b[e].status||a(e,E),journey:F,connectors:!0});return/* @__PURE__ */ c(`nav`,{className:I,"aria-label":O,...v,...N,children:L.map(t=>{let r=t.index,i=b[r],a=t.className,o=t.glyph.number;t.glyph.icon&&(o=/* @__PURE__ */ c(n,{name:t.glyph.icon,size:P,variant:C}));let u=/* @__PURE__ */ l(s,{children:[/* @__PURE__ */ c(`span`,{className:`step-circle`,children:o}),F?/* @__PURE__ */ l(`span`,{className:`step-text`,children:[/* @__PURE__ */ c(`span`,{className:`step-index`,children:e(k,{number:r+1})}),/* @__PURE__ */ c(`span`,{className:`step-label`,children:i.label}),i.description?/* @__PURE__ */ c(`span`,{className:`step-desc`,children:i.description}):null]}):/* @__PURE__ */ l(s,{children:[/* @__PURE__ */ c(`span`,{className:`step-label`,children:i.label}),i.description?/* @__PURE__ */ c(`span`,{className:`step-desc`,children:i.description}):null]})]}),d=t.current?`step`:void 0,f=i.key??`${i.label}-${r}`,p;return p=D?/* @__PURE__ */ c(`button`,{type:`button`,className:a,"aria-current":d,onClick:()=>D(i,r),children:u},f):i.href?j?/* @__PURE__ */ c(j,{className:a,to:i.href,"aria-current":d,children:u},f):/* @__PURE__ */ c(`a`,{className:a,href:i.href,"aria-current":d,children:u},f):/* @__PURE__ */ c(`div`,{className:a,"aria-current":d,children:u},f),t.line?[p,/* @__PURE__ */ c(`span`,{className:`step-line${t.line.done?` done`:``}`,"aria-hidden":`true`},`${f}-line`)]:p})})}export{_ as default};
@@ -1 +1 @@
1
- import e from"../lib/CheckField.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./warnInvalidValue.js";import r from"./warnUnknownProps.js";import{forwardRef as i}from"react";import{jsx as a}from"react/jsx-runtime";var o=[`round`,`pill`,`circle`],s=i(function(i,s){let{marker:c,props:l}=t(`AppSwitch`,i),{label:u,id:d,name:f,error:p,hint:m,shape:h=`round`,className:g=``,checked:_,defaultChecked:v,onChange:y,...b}=l;r(`AppSwitch`,b),n(`AppSwitch`,`shape`,h,o);let x=`form-check form-switch${h===`circle`?` form-switch-circle`:h===`pill`?` form-switch-pill`:``}`,S={...b};return _!==void 0&&(S.checked=_),v!==void 0&&(S.defaultChecked=v),y!==void 0&&(S.onChange=y),_!==void 0&&y===void 0&&(S.readOnly=!0),/* @__PURE__ */ a(e,{rootProps:c,ref:s,label:u,id:d,name:f,error:p,hint:m,className:g,rest:S,inputType:`checkbox`,wrapperClass:x})});export{s as default};
1
+ import e from"../lib/CheckField.js";import{FIELD_SIZES as t}from"../lib/fieldState.js";import n from"../lib/labelWithHelp.js";import{splitMarkerProps as r}from"../lib/wuiMarker.js";import i from"./warnInvalidValue.js";import a from"./warnUnknownProps.js";import{forwardRef as o}from"react";import{jsx as s}from"react/jsx-runtime";var c=[`round`,`pill`,`circle`],l=o(function(o,l){let{marker:u,props:d}=r(`AppSwitch`,o),{label:f,id:p,name:m,error:h,hint:g,help:_,helpLabel:v=`More information`,shape:y=`round`,className:b=``,checked:x,defaultChecked:S,onChange:C,readOnly:w=!1,loading:T=!1,size:E=`md`,...D}=d;a(`AppSwitch`,D),i(`AppSwitch`,`shape`,y,c),i(`AppSwitch`,`size`,E,t);let O=`form-check form-switch${y===`circle`?` form-switch-circle`:y===`pill`?` form-switch-pill`:``}`,k={...D};return x!==void 0&&(k.checked=x),S!==void 0&&(k.defaultChecked=S),C!==void 0&&(k.onChange=C),x!==void 0&&C===void 0&&(k.readOnly=!0),/* @__PURE__ */ s(e,{rootProps:u,ref:l,label:n(f,_,v),id:p,name:m,error:h,hint:g,className:b,rest:k,inputType:`checkbox`,wrapperClass:O,readOnly:w,loading:T,size:E})});export{l as default};
@@ -1 +1 @@
1
- import{pageWindow as e}from"../lib/pageWindow.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppIcon.js";import r from"./AppSelect.js";import i from"./warnInvalidValue.js";import a from"./warnUnknownProps.js";import{jsx as o,jsxs as s}from"react/jsx-runtime";var c=[`numbered`,`prev-next`],l=[`sm`,`md`],u=[`footer`,`standalone`],d=[5,10,25,50];function f(f){let{marker:p,props:m}=t(`AppTablePagination`,f),{page:h,totalPages:g,total:_,pageSize:v,onPageChange:y,onPageSizeChange:b,pageSizes:x=d,mode:S=`numbered`,showPageSize:C=!0,siblings:w=2,size:T=`md`,variant:E=`footer`,ariaLabel:D=`Pagination`,className:O=``,...k}=m;a(`AppTablePagination`,k),i(`AppTablePagination`,`mode`,S,c),i(`AppTablePagination`,`size`,T,l),i(`AppTablePagination`,`variant`,E,u);let A=Number(v)||0,j=Number(_)||0,M=g===void 0?j<=0:g<=0,N=Math.max(1,g??Math.ceil(j/(A>0?A:10))),P=Math.min(Math.max(1,Number(h)||1),N),F=A>0&&!!b&&C!==!1;if(M||N<=1&&!F)return null;let I=A>0&&!x.includes(A)?[...x,A].sort((e,t)=>e-t):x,L=S===`numbered`,R=L?e(P,N,{siblingCount:w}):null,z=[`table-pagination`,E===`standalone`&&`wui-table-pagination-standalone`,T===`sm`&&`wui-table-pagination-sm`,O].filter(Boolean).join(` `);return/* @__PURE__ */ s(`nav`,{className:z,"aria-label":D,...p,...k,children:[F&&/* @__PURE__ */ o(`span`,{className:`tpg-rows`,children:/* @__PURE__ */ o(r,{compact:!0,"aria-label":`Rows per page`,value:String(A),onChange:e=>b(Number(e)),options:I.map(e=>({value:String(e),label:`${e} per page`}))})}),!L&&/* @__PURE__ */ s(`span`,{className:`tpg-range`,children:[`Page `,P,` of `,N]}),/* @__PURE__ */ s(`div`,{className:`tpg-nav`,children:[/* @__PURE__ */ o(`button`,{type:`button`,className:`tpg-arrow`,onClick:()=>y?.(Math.max(1,P-1)),disabled:P<=1,"aria-label":`Previous page`,children:/* @__PURE__ */ o(n,{name:`arrow-left`,size:18})}),L&&R.map(e=>typeof e==`number`?/* @__PURE__ */ o(`button`,{type:`button`,className:`tpg-page${e===P?` is-active`:``}`,onClick:()=>y?.(e),"aria-current":e===P?`page`:void 0,"aria-label":`Page ${e}`,children:e},e):/* @__PURE__ */ o(`span`,{className:`tpg-ellipsis`,"aria-hidden":`true`,children:`…`},e)),/* @__PURE__ */ o(`button`,{type:`button`,className:`tpg-arrow`,onClick:()=>y?.(Math.min(N,P+1)),disabled:P>=N,"aria-label":`Next page`,children:/* @__PURE__ */ o(n,{name:`arrow-right`,size:18})})]})]})}export{f as default};
1
+ import e from"../lib/fillLabel.js";import{pageWindow as t}from"../lib/pageWindow.js";import{splitMarkerProps as n}from"../lib/wuiMarker.js";import r from"./AppIcon.js";import i from"./AppSelect.js";import a from"./warnInvalidValue.js";import o from"./warnUnknownProps.js";import{jsx as s,jsxs as c}from"react/jsx-runtime";var l=[`numbered`,`prev-next`],u=[`sm`,`md`],d=[`footer`,`standalone`],f=[5,10,25,50];function p(e,t,n){return`Showing ${Math.min((e-1)*t+1,n)} to ${Math.min(e*t,n)} of ${n}`}function m(m){let{marker:h,props:g}=n(`AppTablePagination`,m),{page:_,totalPages:v,total:y,pageSize:b,onPageChange:x,onPageSizeChange:S,pageSizes:C=f,mode:w=`numbered`,showPageSize:T=!0,siblings:E=2,summary:D=!1,size:O=`md`,variant:k=`footer`,ariaLabel:A=`Pagination`,rowsPerPageLabel:j=`Rows per page`,pageSizeLabel:M=`{count} per page`,previousLabel:N=`Previous page`,nextLabel:P=`Next page`,pageLabel:F=`Page {page}`,rangeText:I=`Page {page} of {pages}`,className:L=``,...R}=g;o(`AppTablePagination`,R),a(`AppTablePagination`,`mode`,w,l),a(`AppTablePagination`,`size`,O,u),a(`AppTablePagination`,`variant`,k,d);let z=Number(b)||0,B=Number(y)||0,V=v===void 0?B<=0:v<=0,H=Math.max(1,v??Math.ceil(B/(z>0?z:10))),U=Math.min(Math.max(1,Number(_)||1),H),W=z>0&&!!S&&T!==!1,G=D===!0&&B>0&&z>0;if(V||H<=1&&!W)return null;let K=z>0&&!C.includes(z)?[...C,z].sort((e,t)=>e-t):C,q=w===`numbered`,J=q?t(U,H,{siblingCount:E}):null,Y=[`table-pagination`,k===`standalone`&&`wui-table-pagination-standalone`,O===`sm`&&`wui-table-pagination-sm`,L].filter(Boolean).join(` `);return/* @__PURE__ */ c(`nav`,{className:Y,"aria-label":A,...h,...R,children:[G&&/* @__PURE__ */ s(`span`,{className:`wui-pager-summary`,children:p(U,z,B)}),W&&/* @__PURE__ */ s(`span`,{className:`tpg-rows`,children:/* @__PURE__ */ s(i,{compact:!0,"aria-label":j,value:String(z),onChange:e=>S(Number(e)),options:K.map(t=>({value:String(t),label:e(M,{count:t})}))})}),!q&&/* @__PURE__ */ s(`span`,{className:`tpg-range`,children:e(I,{page:U,pages:H})}),/* @__PURE__ */ c(`div`,{className:`tpg-nav`,children:[/* @__PURE__ */ s(`button`,{type:`button`,className:`tpg-arrow`,onClick:()=>x?.(Math.max(1,U-1)),disabled:U<=1,"aria-label":N,children:/* @__PURE__ */ s(r,{name:`arrow-left`,size:18})}),q&&J.map(t=>typeof t==`number`?/* @__PURE__ */ s(`button`,{type:`button`,className:`tpg-page${t===U?` is-active`:``}`,onClick:()=>x?.(t),"aria-current":t===U?`page`:void 0,"aria-label":e(F,{page:t}),children:t},t):/* @__PURE__ */ s(`span`,{className:`tpg-ellipsis`,"aria-hidden":`true`,children:`…`},t)),/* @__PURE__ */ s(`button`,{type:`button`,className:`tpg-arrow`,onClick:()=>x?.(Math.min(H,U+1)),disabled:U>=H,"aria-label":P,children:/* @__PURE__ */ s(r,{name:`arrow-right`,size:18})})]})]})}export{m as default};
@@ -1 +1 @@
1
- import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./AppButton.js";import n from"./warnUnknownProps.js";import{formatNumber as r}from"@webority/ui-elements/helpers";import{jsx as i,jsxs as a}from"react/jsx-runtime";function o(o){let{marker:s,props:c}=e(`AppTableToolbar`,o),{filters:l,actions:u,selectedCount:d=0,bulkActions:f,onClearSelection:p,totalCount:m,pageCount:h,onSelectAllMatching:g,allMatchingSelected:_=!1,className:v=``,...y}=c;n(`AppTableToolbar`,y);let b=d>0,x=typeof g==`function`&&typeof m==`number`,S=x&&_,C=e=>r(e,{decimals:0}),w=x&&!S&&b&&d>=(h??1)&&m>(h??d);return/* @__PURE__ */ a(`div`,{className:`wui-table-toolbar${v?` ${v}`:``}`,...s,...y,children:[/* @__PURE__ */ a(`div`,{className:`wui-table-toolbar-main`,hidden:b,children:[/* @__PURE__ */ i(`div`,{className:`wui-table-toolbar-filters`,children:l}),/* @__PURE__ */ i(`div`,{className:`wui-table-toolbar-actions`,children:u})]}),/* @__PURE__ */ a(`div`,{className:`wui-table-toolbar-bulk`,hidden:!b,children:[/* @__PURE__ */ a(`span`,{className:`wui-table-toolbar-count`,"aria-live":`polite`,children:[S?`All ${C(m)}`:C(d),` selected`]}),x&&/* @__PURE__ */ a(`button`,{type:`button`,className:`btn btn-link btn-sm wui-table-toolbar-all`,hidden:!w,onClick:g,children:[`Select all `,C(m),` matching`]}),f,p&&/* @__PURE__ */ i(t,{variant:`ghost`,size:`sm`,className:`wui-table-toolbar-clear`,onClick:p,children:S?`Clear selection`:`Clear`})]})]})}export{o as default};
1
+ import e from"../lib/fillLabel.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppButton.js";import r from"./warnUnknownProps.js";import{formatNumber as i}from"@webority/ui-elements/helpers";import{jsx as a,jsxs as o}from"react/jsx-runtime";function s(s){let{marker:c,props:l}=t(`AppTableToolbar`,s),{filters:u,actions:d,selectedCount:f=0,bulkActions:p,onClearSelection:m,totalCount:h,pageCount:g,onSelectAllMatching:_,allMatchingSelected:v=!1,selectAllMatchingLabel:y=`Select all {count} matching`,selectedLabel:b=`{count} selected`,allSelectedLabel:x=`All {count} selected`,clearLabel:S=`Clear`,clearSelectionLabel:C=`Clear selection`,className:w=``,...T}=l;r(`AppTableToolbar`,T);let E=f>0,D=typeof _==`function`&&typeof h==`number`,O=D&&v,k=e=>i(e,{decimals:0}),A=D&&!O&&E&&f>=(g??1)&&h>(g??f);return/* @__PURE__ */ o(`div`,{className:`wui-table-toolbar${w?` ${w}`:``}`,...c,...T,children:[/* @__PURE__ */ o(`div`,{className:`wui-table-toolbar-main`,hidden:E,children:[/* @__PURE__ */ a(`div`,{className:`wui-table-toolbar-filters`,children:u}),/* @__PURE__ */ a(`div`,{className:`wui-table-toolbar-actions`,children:d})]}),/* @__PURE__ */ o(`div`,{className:`wui-table-toolbar-bulk`,hidden:!E,children:[/* @__PURE__ */ a(`span`,{className:`wui-table-toolbar-count`,"aria-live":`polite`,children:e(O?x:b,{count:k(O?h:f)})}),D&&/* @__PURE__ */ a(`button`,{type:`button`,className:`btn btn-link btn-sm wui-table-toolbar-all`,hidden:!A,onClick:_,children:e(y,{count:k(h)})}),p,m&&/* @__PURE__ */ a(n,{variant:`ghost`,size:`sm`,className:`wui-table-toolbar-clear`,onClick:m,children:O?C:S})]})]})}export{s as default};
@@ -1 +1 @@
1
- import e from"../lib/FieldMessage.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppInfoTip.js";import r from"./AppRequiredMark.js";import i,{readValues as a,writeValues as o}from"./useWuiControl.js";import s from"./warnInvalidValue.js";import c from"./warnUnknownProps.js";import{forwardRef as l,useId as u}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";import"@webority/ui-elements/elements/taginput";var p=[`sm`,`lg`],m=l(function(l,m){let{marker:h,props:g}=t(`AppTagInput`,l),{values:_,onChange:v,placeholder:y=`Add…`,name:b,label:x,error:S,hint:C,required:w=!1,optional:T=!1,size:E,maxTags:D,allowDuplicates:O=!1,disabled:k=!1,id:A,ariaLabel:j,className:M=``,fieldClassName:N=``,help:P,helpLabel:F=`More information`,...I}=g;c(`AppTagInput`,I),s(`AppTagInput`,`size`,E,p);let L=u(),R=A||L,{setRef:z}=i({ref:m,value:_,onChange:v,readValue:a,writeValue:o});return/* @__PURE__ */ f(`div`,{...h,className:`field${N?` ${N}`:``}`,children:[x&&/* @__PURE__ */ f(`label`,{className:`label`,htmlFor:R,children:[x,T&&!w&&/* @__PURE__ */ d(`span`,{className:`label-optional`,children:` (optional)`}),w&&/* @__PURE__ */ d(r,{}),P&&/* @__PURE__ */ d(n,{label:F,children:P})]}),/* @__PURE__ */ d(`wui-taginput`,{"aria-label":j||(typeof x==`string`?x:void 0),"aria-describedby":S?`${R}-error`:C?`${R}-hint`:void 0,"aria-invalid":S?`true`:void 0,id:R,ref:z,name:b,placeholder:y,size:E||void 0,"max-tags":D===void 0?void 0:String(D),"allow-duplicates":O?``:void 0,disabled:k?``:void 0,required:w?``:void 0,className:M||void 0,...I}),/* @__PURE__ */ d(e,{error:S,hint:C,errorId:`${R}-error`,hintId:`${R}-hint`})]})});export{m as default};
1
+ import e from"../lib/FieldMessage.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppInfoTip.js";import r from"./AppRequiredMark.js";import i,{readValues as a,writeValues as o}from"./useWuiControl.js";import s from"./warnInvalidValue.js";import c from"./warnUnknownProps.js";import{forwardRef as l,useId as u}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";import"@webority/ui-elements/elements/taginput";var p=[`sm`,`md`,`lg`],m=l(function(l,m){let{marker:h,props:g}=t(`AppTagInput`,l),{values:_,defaultValues:v,onChange:y,placeholder:b=`Add…`,name:x,label:S,error:C,hint:w,required:T=!1,optional:E=!1,optionalLabel:D=`(optional)`,size:O,maxTags:k,allowDuplicates:A=!1,disabled:j=!1,readOnly:M=!1,loading:N=!1,id:P,ariaLabel:F,className:I=``,fieldClassName:L=``,help:R,helpLabel:z=`More information`,...B}=g;c(`AppTagInput`,B),s(`AppTagInput`,`size`,O,p);let V=u(),H=P||V,{setRef:U}=i({ref:m,value:_,defaultValue:v,onChange:y,readValue:a,writeValue:o});return/* @__PURE__ */ f(`div`,{...h,className:`field${L?` ${L}`:``}`,children:[S&&/* @__PURE__ */ f(`label`,{className:`label`,htmlFor:H,children:[S,E&&!T&&/* @__PURE__ */ d(`span`,{className:`label-optional`,children:` ${D}`}),T&&/* @__PURE__ */ d(r,{}),R&&/* @__PURE__ */ d(n,{label:z,children:R})]}),/* @__PURE__ */ d(`wui-taginput`,{"aria-label":F||(typeof S==`string`?S:void 0),"aria-describedby":C?`${H}-error`:w?`${H}-hint`:void 0,"aria-invalid":C?`true`:void 0,id:H,ref:U,name:x,placeholder:b,size:O===`md`?void 0:O||void 0,"max-tags":k===void 0?void 0:String(k),"allow-duplicates":A?``:void 0,disabled:j?``:void 0,readonly:M?``:void 0,loading:N?``:void 0,required:T?``:void 0,className:I||void 0,...B}),/* @__PURE__ */ d(e,{error:C,hint:w,errorId:`${H}-error`,hintId:`${H}-hint`})]})});export{m as default};
@@ -1 +1 @@
1
- import{devWarn as e}from"../lib/devWarn.js";import t from"../lib/FieldMessage.js";import{splitMarkerProps as n}from"../lib/wuiMarker.js";import r from"./AppInfoTip.js";import i from"./AppRequiredMark.js";import a from"./warnUnknownProps.js";import{forwardRef as o,useCallback as s,useEffect as c,useId as l,useLayoutEffect as u,useRef as d,useState as f}from"react";import{Form as p}from"react-bootstrap";import{jsx as m,jsxs as h}from"react/jsx-runtime";var g=o(function(o,g){let{marker:_,props:v}=n(`AppTextarea`,o),{label:y,required:b=!1,optional:x=!1,error:S,hint:C,help:w,helpLabel:T=`More information`,id:E,name:D,rows:O=4,autoGrow:k=!1,showCount:A=!1,maxLength:j,disabled:M=!1,readOnly:N=!1,className:P=``,fieldClassName:F=``,...I}=v;a(`AppTextarea`,I),c(()=>{x&&b&&typeof process<`u`&&process.env.NODE_ENV!==`production`&&e(`AppTextarea: optional and required together; optional ignored`)},[x,b]);let L=l(),R=E||L,z=[`textarea`,k?`autosize`:``,S?`error`:``,P].filter(Boolean).join(` `),B=S&&R?`${R}-error`:void 0,V=C&&R?`${R}-hint`:void 0,H=B||V,U=d(null),W=e=>{U.current=e,typeof g==`function`?g(e):g&&(g.current=e)},G=s(()=>{let e=U.current;e&&(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)},[]);u(()=>{k&&G()},[k,G,I.value]);let[K,q]=f(()=>String(I.value??I.defaultValue??``).length);c(()=>{A&&I.value!==void 0&&q(String(I.value??``).length)},[I.value,A]);let J=e=>{k&&G(),A&&q(e.target.value.length),I.onInput?.(e)};return/* @__PURE__ */ h(p.Group,{..._,className:`field${F?` ${F}`:``}`,children:[y&&/* @__PURE__ */ h(p.Label,{className:`label`,htmlFor:R,children:[y,x&&!b&&/* @__PURE__ */ m(`span`,{className:`label-optional`,children:` (optional)`}),b&&/* @__PURE__ */ m(i,{}),w&&/* @__PURE__ */ m(r,{label:T,children:w})]}),/* @__PURE__ */ m(p.Control,{as:`textarea`,id:R,name:D,rows:O,className:z,"aria-invalid":S?`true`:`false`,"aria-describedby":H,required:b,maxLength:j,disabled:M,readOnly:N,...I,ref:W,onInput:J}),/* @__PURE__ */ m(t,{error:S,hint:C,errorId:B,hintId:V}),A&&/* @__PURE__ */ h(`div`,{className:`field-count${j&&K>=j?` at-limit`:``}`,children:[K,j?` / ${j}`:``]})]})});export{g as default};
1
+ import{devWarn as e}from"../lib/devWarn.js";import t from"../lib/FieldMessage.js";import{FIELD_BUSY_CLASS as n,FIELD_SIZES as r}from"../lib/fieldState.js";import{splitMarkerProps as i}from"../lib/wuiMarker.js";import a from"./AppInfoTip.js";import o from"./AppRequiredMark.js";import s from"./warnInvalidValue.js";import c from"./warnUnknownProps.js";import{forwardRef as l,useCallback as u,useEffect as d,useId as f,useLayoutEffect as p,useRef as m,useState as h}from"react";import{Form as g}from"react-bootstrap";import{jsx as _,jsxs as v}from"react/jsx-runtime";var y=l(function(l,y){let{marker:b,props:ee}=i(`AppTextarea`,l),{label:x,required:S=!1,optional:C=!1,optionalLabel:w=`(optional)`,error:T,hint:E,help:D,helpLabel:O=`More information`,id:k,name:A,rows:j=4,autoGrow:M=!1,monospace:N=!1,showCount:P=!1,maxLength:F,disabled:I=!1,readOnly:L=!1,loading:R=!1,size:z=`md`,className:B=``,fieldClassName:V=``,...H}=ee;c(`AppTextarea`,H),s(`AppTextarea`,`size`,z,r),d(()=>{C&&S&&typeof process<`u`&&process.env.NODE_ENV!==`production`&&e(`AppTextarea: optional and required together; optional ignored`)},[C,S]);let U=f(),W=k||U,G=[`textarea`,M?`autosize`:``,N?`wui-mono`:``,T?`error`:``,z===`sm`?`input-sm`:``,z===`lg`?`input-lg`:``,R?n:``,B].filter(Boolean).join(` `),K=T&&W?`${W}-error`:void 0,q=E&&W?`${W}-hint`:void 0,J=K||q,Y=m(null),X=e=>{Y.current=e,typeof y==`function`?y(e):y&&(y.current=e)},Z=u(()=>{let e=Y.current;e&&(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)},[]);p(()=>{M&&Z()},[M,Z,H.value]);let[Q,$]=h(()=>String(H.value??H.defaultValue??``).length);d(()=>{P&&H.value!==void 0&&$(String(H.value??``).length)},[H.value,P]);let te=e=>{M&&Z(),P&&$(e.target.value.length),H.onInput?.(e)};return/* @__PURE__ */ v(g.Group,{...b,className:`field${V?` ${V}`:``}`,children:[x&&/* @__PURE__ */ v(g.Label,{className:`label`,htmlFor:W,children:[x,C&&!S&&/* @__PURE__ */ _(`span`,{className:`label-optional`,children:` ${w}`}),S&&/* @__PURE__ */ _(o,{}),D&&/* @__PURE__ */ _(a,{label:O,children:D})]}),/* @__PURE__ */ _(g.Control,{as:`textarea`,id:W,name:A,rows:j,className:G,"aria-invalid":T?`true`:`false`,"aria-describedby":J,"aria-busy":R||void 0,required:S,maxLength:F,disabled:I,readOnly:L||R,...H,ref:X,onInput:te}),/* @__PURE__ */ _(t,{error:T,hint:E,errorId:K,hintId:q}),P&&/* @__PURE__ */ v(`div`,{className:`field-count${F&&Q>=F?` at-limit`:``}`,children:[Q,F?` / ${F}`:``]})]})});export{y as default};
@@ -1 +1 @@
1
- import e from"../lib/FieldMessage.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppInfoTip.js";import r from"./AppRequiredMark.js";import i from"./useWuiControl.js";import a from"./warnInvalidValue.js";import o from"./warnUnknownProps.js";import{cloneElement as s,forwardRef as c,useId as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";import"@webority/ui-elements/elements/timepicker";var f=[`sm`,`md`,`lg`],p=[`12`,`24`],m=c(function(c,m){let{marker:h,props:g}=t(`AppTimePicker`,c),{value:_,onChange:v,label:y,required:b=!1,optional:x=!1,hint:S,error:C,help:w,helpLabel:T=`More information`,name:E,min:D,max:O,step:k,format:A=24,placeholder:j=`Select time`,disabled:M,size:N,id:P,ariaLabel:F,className:I=``,fieldClassName:L=``,...R}=g;o(`AppTimePicker`,R),a(`AppTimePicker`,`size`,N,f);let z=String(A);a(`AppTimePicker`,`format`,z,p);let B=l(),V=P||E||B,{setRef:H}=i({ref:m,value:_??``,onChange:v}),U=!y&&!C&&!S,W=C?`${V}-error`:void 0,G=S?`${V}-hint`:void 0,K=/* @__PURE__ */ u(`wui-timepicker`,{ref:H,value:_||void 0,id:V,name:E,min:D,max:O,step:k==null?void 0:String(k),format:z,placeholder:j,size:N||void 0,"aria-label":F||(typeof y==`string`?y:void 0),"aria-describedby":W||G,"aria-invalid":C?`true`:void 0,disabled:M?``:void 0,required:b?``:void 0,className:I||void 0,...R});return U?s(K,h):/* @__PURE__ */ d(`div`,{...h,className:`field${L?` ${L}`:``}`,children:[y&&/* @__PURE__ */ d(`label`,{className:`label`,htmlFor:V,children:[y,x&&!b&&/* @__PURE__ */ u(`span`,{className:`label-optional`,children:` (optional)`}),b&&/* @__PURE__ */ u(r,{}),w&&/* @__PURE__ */ u(n,{label:T,children:w})]}),K,/* @__PURE__ */ u(e,{error:C,hint:S,errorId:W,hintId:G})]})});export{m as default};
1
+ import e from"../lib/FieldMessage.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppInfoTip.js";import r from"./AppRequiredMark.js";import i from"./useWuiControl.js";import a from"./warnInvalidValue.js";import o from"./warnUnknownProps.js";import{cloneElement as s,forwardRef as c,useId as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";import"@webority/ui-elements/elements/timepicker";var f=[`sm`,`md`,`lg`],p=[`12`,`24`],m=c(function(c,m){let{marker:h,props:g}=t(`AppTimePicker`,c),{value:_,defaultValue:v,onChange:y,label:b,required:x=!1,optional:S=!1,optionalLabel:C=`(optional)`,hint:w,error:T,help:E,helpLabel:D=`More information`,name:O,min:k,max:A,step:j,format:M=24,placeholder:N=`Select time`,disabled:P,readOnly:F=!1,loading:I=!1,size:L,id:R,ariaLabel:z,className:B=``,fieldClassName:V=``,...H}=g;o(`AppTimePicker`,H),a(`AppTimePicker`,`size`,L,f);let U=String(M);a(`AppTimePicker`,`format`,U,p);let W=l(),G=R||O||W,{setRef:K}=i({ref:m,value:_??(v===void 0?``:void 0),onChange:y}),q=!b&&!T&&!w,J=T?`${G}-error`:void 0,Y=w?`${G}-hint`:void 0,X=/* @__PURE__ */ u(`wui-timepicker`,{ref:K,value:(_??v)||void 0,id:G,name:O,min:k,max:A,step:j==null?void 0:String(j),format:U,placeholder:N,size:L||void 0,"aria-label":z||(typeof b==`string`?b:void 0),"aria-describedby":J||Y,"aria-invalid":T?`true`:void 0,disabled:P?``:void 0,readonly:F?``:void 0,loading:I?``:void 0,required:x?``:void 0,className:B||void 0,...H});return q?s(X,h):/* @__PURE__ */ d(`div`,{...h,className:`field${V?` ${V}`:``}`,children:[b&&/* @__PURE__ */ d(`label`,{className:`label`,htmlFor:G,children:[b,S&&!x&&/* @__PURE__ */ u(`span`,{className:`label-optional`,children:` ${C}`}),x&&/* @__PURE__ */ u(r,{}),E&&/* @__PURE__ */ u(n,{label:D,children:E})]}),X,/* @__PURE__ */ u(e,{error:T,hint:w,errorId:J,hintId:Y})]})});export{m as default};
@@ -1 +1 @@
1
- import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./AppIcon.js";import n from"./warnInvalidValue.js";import r from"./warnUnknownProps.js";import{jsx as i,jsxs as a}from"react/jsx-runtime";var o=[`feed`,`progress`,`steps`],s=[`vertical`,`horizontal`],c=[`linear`,`outline`,`bold`,`bulk`,`broken`,`twotone`],l=[`neutral`,`success`,`warning`,`danger`,`info`],u=[`sm`,`md`,`lg`],d={done:`check`,current:`clock`,"on-hold":`lock`,rejected:`x`,cancelled:`minus`,skipped:`arrow-right`,upcoming:null},f=e=>typeof e==`string`&&(/^https?:[/][/]/i.test(e)||e.startsWith(`/`)&&e[1]!==`/`&&e[1]!==`\\`)&&![...e].some(e=>e.charCodeAt(0)<=32||e.charCodeAt(0)===127);function p(e){if(e.byHref!=null&&e.byHref!==``){if(!f(e.byHref))throw Error(`<AppTimeline> items[].byHref must be a path starting with one '/', or an http:// or https:// address, with no spaces.`);if(!e.by)throw Error(`<AppTimeline> items[].byHref links the by name, so the item needs by.`)}}var m=e=>e.byHref?/* @__PURE__ */ i(`a`,{className:`timeline-by-link`,href:e.byHref,children:e.by}):e.by;function h(f){let{marker:h,props:g}=e(`AppTimeline`,f),{items:_=[],variant:v=`feed`,orientation:y,iconVariant:b,size:x,className:S=``,style:C,...w}=g;r(`AppTimeline`,w),n(`AppTimeline`,`variant`,v,o),n(`AppTimeline`,`orientation`,y,s),n(`AppTimeline`,`iconVariant`,b,c),n(`AppTimeline`,`size`,typeof x==`string`?x:null,u);for(let e of _)n(`AppTimeline`,`items[].tone`,e.tone,l),p(e),v===`progress`&&n(`AppTimeline`,`items[].status`,e.status,Object.keys(d));let T=v===`progress`,E=v===`steps`,D=y===`horizontal`,O=b??(E?`bulk`:void 0),k=typeof x==`string`&&u.includes(x)?x:`md`,A=typeof x==`number`&&x>0?x:void 0,j=!A&&k!==`md`?` wui-timeline--${k}`:``,M=`${E?`timeline wui-timeline--steps${y===`vertical`?` wui-timeline--steps-vertical`:``}`:`timeline${T?` timeline--progress`:``}${D?` timeline--horizontal`:``}`}${j}${S?` ${S}`:``}`,N=E?A?Math.round(A*.43):{sm:19,md:24,lg:31}[k]:A?Math.round(A*.54):T?{sm:10,md:13,lg:17}[k]:{sm:10,md:12,lg:17}[k],P=A?{...C,"--wui-timeline-dot":`${A}px`}:C;return/* @__PURE__ */ i(`ol`,{className:M,style:P,...h,...w,children:_.map((e,n)=>{let r=e.tone&&e.tone!==`neutral`?` ${e.tone}`:``;if(E){let o=e.eyebrow??`Step ${n+1}`;return/* @__PURE__ */ a(`li`,{className:`timeline-item${r}`,children:[/* @__PURE__ */ i(`span`,{className:`timeline-dot`,children:e.icon?/* @__PURE__ */ i(t,{name:e.icon,size:N,variant:O}):null}),/* @__PURE__ */ a(`div`,{className:`timeline-body`,children:[o!==``&&/* @__PURE__ */ i(`div`,{className:`wui-timeline-eyebrow`,children:o}),/* @__PURE__ */ i(`div`,{className:`timeline-title`,children:e.title}),e.description&&/* @__PURE__ */ i(`div`,{className:`timeline-desc`,children:e.description})]})]},e.key??`${e.at}-${n}`)}let o=T?e.status:void 0,s=o?` is-${o}`:``,c=T?e.icon??(o?d[o]:void 0):e.icon||`circle`;return/* @__PURE__ */ a(`li`,{className:`timeline-item${s}${r}`,children:[/* @__PURE__ */ i(`span`,{className:`timeline-dot`,children:c?/* @__PURE__ */ i(t,{name:c,size:N,variant:O}):null}),/* @__PURE__ */ a(`div`,{className:`timeline-body`,children:[T?/* @__PURE__ */ a(`div`,{className:`timeline-head`,children:[/* @__PURE__ */ i(`div`,{className:`timeline-title`,children:e.title}),(e.at||e.time)&&/* @__PURE__ */ a(`span`,{className:`timeline-when`,children:[e.at&&/* @__PURE__ */ i(`span`,{className:`timeline-at`,title:e.atTitle||void 0,children:e.at}),e.time&&/* @__PURE__ */ i(`span`,{className:`timeline-time`,children:e.time})]})]}):/* @__PURE__ */ i(`div`,{className:`timeline-title`,children:e.title}),e.description&&/* @__PURE__ */ i(`div`,{className:`timeline-desc`,children:e.description}),!T&&(e.at||e.time||e.by)&&/* @__PURE__ */ a(`div`,{className:`timeline-meta`,children:[(e.at||e.time)&&/* @__PURE__ */ a(`span`,{className:`timeline-when`,children:[e.at&&/* @__PURE__ */ i(`span`,{className:`timeline-at`,title:e.atTitle||void 0,children:e.at}),e.time&&/* @__PURE__ */ i(`span`,{className:`timeline-time`,children:e.time})]}),e.by&&/* @__PURE__ */ i(`span`,{className:`timeline-by`,children:m(e)})]}),T&&e.by&&/* @__PURE__ */ i(`div`,{className:`timeline-meta`,children:/* @__PURE__ */ i(`span`,{className:`timeline-by`,children:m(e)})}),e.note&&/* @__PURE__ */ i(`p`,{className:`timeline-note`,children:e.note})]})]},e.key??`${e.at}-${n}`)})})}export{h as default};
1
+ import e from"../lib/fillLabel.js";import{linkTarget as t}from"../lib/linkTarget.js";import{splitMarkerProps as n}from"../lib/wuiMarker.js";import r from"./AppIcon.js";import i from"./warnInvalidValue.js";import a from"./warnUnknownProps.js";import{jsx as o,jsxs as s}from"react/jsx-runtime";var c=[`feed`,`progress`,`steps`],l=[`vertical`,`horizontal`],u=[`linear`,`outline`,`bold`,`bulk`,`broken`,`twotone`],d=[`neutral`,`success`,`warning`,`danger`,`info`],f=[`sm`,`md`,`lg`],p={done:`check`,current:`clock`,"on-hold":`lock`,rejected:`x`,cancelled:`minus`,skipped:`arrow-right`,upcoming:null},m=e=>typeof e==`string`&&(/^https?:[/][/]/i.test(e)||e.startsWith(`/`)&&e[1]!==`/`&&e[1]!==`\\`)&&![...e].some(e=>e.charCodeAt(0)<=32||e.charCodeAt(0)===127);function h(e){if(e.byHref!=null&&e.byHref!==``){if(!m(e.byHref))throw Error(`<AppTimeline> items[].byHref must be a path starting with one '/', or an http:// or https:// address, with no spaces.`);if(!e.by)throw Error(`<AppTimeline> items[].byHref links the by name, so the item needs by.`)}}var g=(e,n)=>{if(!e.byHref)return e.by;let{Tag:r,linkProps:i}=t(n,{href:e.byHref});return/* @__PURE__ */ o(r,{className:`timeline-by-link`,...i,children:e.by})};function _(t){let{marker:m,props:_}=n(`AppTimeline`,t),{items:v=[],variant:y=`feed`,orientation:b,iconVariant:x,size:S,linkComponent:C,className:w=``,style:T,stepLabel:E=`Step {number}`,...D}=_;a(`AppTimeline`,D),i(`AppTimeline`,`variant`,y,c),i(`AppTimeline`,`orientation`,b,l),i(`AppTimeline`,`iconVariant`,x,u),i(`AppTimeline`,`size`,typeof S==`string`?S:null,f);for(let e of v)i(`AppTimeline`,`items[].tone`,e.tone,d),h(e),y===`progress`&&i(`AppTimeline`,`items[].status`,e.status,Object.keys(p));let O=y===`progress`,k=y===`steps`,A=b===`horizontal`,j=x??(k?`bulk`:void 0),M=typeof S==`string`&&f.includes(S)?S:`md`,N=typeof S==`number`&&S>0?S:void 0,P=!N&&M!==`md`?` wui-timeline--${M}`:``,F=`${k?`timeline wui-timeline--steps${b===`vertical`?` wui-timeline--steps-vertical`:``}`:`timeline${O?` timeline--progress`:``}${A?` timeline--horizontal`:``}`}${P}${w?` ${w}`:``}`,I=k?N?Math.round(N*.43):{sm:19,md:24,lg:31}[M]:N?Math.round(N*.54):O?{sm:10,md:13,lg:17}[M]:{sm:10,md:12,lg:17}[M],L=N?{...T,"--wui-timeline-dot":`${N}px`}:T;return/* @__PURE__ */ o(`ol`,{className:F,style:L,...m,...D,children:v.map((t,n)=>{let i=t.tone&&t.tone!==`neutral`?` ${t.tone}`:``;if(k){let a=t.eyebrow??e(E,{number:n+1});return/* @__PURE__ */ s(`li`,{className:`timeline-item${i}`,children:[/* @__PURE__ */ o(`span`,{className:`timeline-dot`,children:t.icon?/* @__PURE__ */ o(r,{name:t.icon,size:I,variant:j}):null}),/* @__PURE__ */ s(`div`,{className:`timeline-body`,children:[a!==``&&/* @__PURE__ */ o(`div`,{className:`wui-timeline-eyebrow`,children:a}),/* @__PURE__ */ o(`div`,{className:`timeline-title`,children:t.title}),t.description&&/* @__PURE__ */ o(`div`,{className:`timeline-desc`,children:t.description})]})]},t.key??`${t.at}-${n}`)}let a=O?t.status:void 0,c=a?` is-${a}`:``,l=O?t.icon??(a?p[a]:void 0):t.icon||`circle`;return/* @__PURE__ */ s(`li`,{className:`timeline-item${c}${i}`,children:[/* @__PURE__ */ o(`span`,{className:`timeline-dot`,children:l?/* @__PURE__ */ o(r,{name:l,size:I,variant:j}):null}),/* @__PURE__ */ s(`div`,{className:`timeline-body`,children:[O?/* @__PURE__ */ s(`div`,{className:`timeline-head`,children:[/* @__PURE__ */ o(`div`,{className:`timeline-title`,children:t.title}),(t.at||t.time)&&/* @__PURE__ */ s(`span`,{className:`timeline-when`,children:[t.at&&/* @__PURE__ */ o(`span`,{className:`timeline-at`,title:t.atTitle||void 0,children:t.at}),t.time&&/* @__PURE__ */ o(`span`,{className:`timeline-time`,children:t.time})]})]}):/* @__PURE__ */ o(`div`,{className:`timeline-title`,children:t.title}),t.description&&/* @__PURE__ */ o(`div`,{className:`timeline-desc`,children:t.description}),!O&&(t.at||t.time||t.by)&&/* @__PURE__ */ s(`div`,{className:`timeline-meta`,children:[(t.at||t.time)&&/* @__PURE__ */ s(`span`,{className:`timeline-when`,children:[t.at&&/* @__PURE__ */ o(`span`,{className:`timeline-at`,title:t.atTitle||void 0,children:t.at}),t.time&&/* @__PURE__ */ o(`span`,{className:`timeline-time`,children:t.time})]}),t.by&&/* @__PURE__ */ o(`span`,{className:`timeline-by`,children:g(t,C)})]}),O&&t.by&&/* @__PURE__ */ o(`div`,{className:`timeline-meta`,children:/* @__PURE__ */ o(`span`,{className:`timeline-by`,children:g(t,C)})}),t.note&&/* @__PURE__ */ o(`p`,{className:`timeline-note`,children:t.note})]})]},t.key??`${t.at}-${n}`)})})}export{_ as default};
@@ -1 +1 @@
1
- import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./AppIcon.js";import{adoptToast as n,dismissToast as r,subscribeToasts as i}from"./toastStore.js";import a from"./warnInvalidValue.js";import o from"./warnUnknownProps.js";import{useEffect as s,useRef as c,useState as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";var f={success:{icon:`check-circle`,assertive:!1},info:{icon:`info`,assertive:!1},warning:{icon:`alert-triangle`,assertive:!0},danger:{icon:`alert-circle`,assertive:!0}},p={"top-start":`top-0 start-0`,"top-center":`top-0 start-50 translate-middle-x`,"top-end":`top-0 end-0`,"middle-center":`top-50 start-50 translate-middle`,"bottom-start":`bottom-0 start-0`,"bottom-center":`bottom-0 start-50 translate-middle-x`,"bottom-end":`bottom-0 end-0`},m=64,h=/* @__PURE__ */ new Set([`rise`,`organic`,`jelly`,`spring`]),g=/* @__PURE__ */ new Set([`rounded`,`pill`,`sharp`]),_=/* @__PURE__ */ new Set([`auto`,`inverse`]);function v(t){let{marker:n,props:r}=e(`AppToast`,t),{position:c=`bottom-end`,maxVisible:f=4,animation:m=`rise`,shape:v=`rounded`,surface:b=`auto`,className:x=``,...S}=r;o(`AppToast`,S),a(`AppToast`,`position`,c,Object.keys(p)),a(`AppToast`,`animation`,m,h),a(`AppToast`,`shape`,v,g),a(`AppToast`,`surface`,b,_);let[C,w]=l([]);s(()=>i(w),[]);let T=Math.max(0,C.length-f),E=T?C.slice(T):C,D=p[c]??p[`bottom-end`];return/* @__PURE__ */ d(`div`,{...n,...S,className:`wui-toast-container toast-container position-fixed ${D} p-3 ${x}`.trim(),children:[T>0&&/* @__PURE__ */ d(`div`,{className:`wui-toast-more`,"aria-hidden":`true`,children:[`+`,T,` more`]}),E.map(e=>/* @__PURE__ */ u(y,{toast:e,defaultAnimation:m,defaultShape:v,defaultSurface:b},e.id))]})}function y({toast:e,defaultAnimation:i=`rise`,defaultShape:a=`rounded`,defaultSurface:o=`auto`}){let p=f[e.variant]??f.success,v=h.has(e.animation)?e.animation:i,y=g.has(e.shape)?e.shape:a,b=_.has(e.surface)?e.surface:o,x=(v!==`rise`&&h.has(v)?` wui-toast--anim-${v}`:``)+(y!==`rounded`&&g.has(y)?` wui-toast--shape-${y}`:``)+(b===`inverse`?` wui-toast--surface-inverse`:``),S=e.duration===0,[C,w]=l(0),[T,E]=l(!1),D=c(null),O=()=>r(e.id),k=c(null);s(()=>{if(e.duration===0)return;n(e.id);let t=k.current,i=t==null?``:getComputedStyle(t).animationName;if(t!=null&&(typeof t.getAnimations==`function`?t.getAnimations().length>0:i!==``&&i!==`none`))return;let a=setTimeout(()=>r(e.id),e.duration);return()=>clearTimeout(a)},[e.id,e.duration]);let A=e=>{e.button!==0||e.target.closest(`button`)||(D.current=e.clientX,E(!0),e.currentTarget.setPointerCapture?.(e.pointerId))},j=e=>{D.current!==null&&w(e.clientX-D.current)},M=()=>{D.current=null,E(!1),w(0)},N=e=>{if(D.current===null)return;let t=e.clientX-D.current;Math.abs(t)>m?O():M()},P=C?{transform:`translateX(${C}px)`,opacity:Math.max(0,1-Math.abs(C)/200)}:void 0;return/* @__PURE__ */ d(`div`,{className:`toast show wui-toast wui-toast--${e.variant}${x}${T?` wui-toast--dragging`:``}`,role:p.assertive?`alert`:`status`,"aria-live":p.assertive?`assertive`:`polite`,"aria-atomic":`true`,style:P,onPointerDown:A,onPointerMove:j,onPointerUp:N,onPointerCancel:M,children:[/* @__PURE__ */ u(`span`,{className:`wui-toast-icon`,"aria-hidden":`true`,children:/* @__PURE__ */ u(t,{name:p.icon,size:20})}),/* @__PURE__ */ d(`div`,{className:`wui-toast-content`,children:[e.title&&/* @__PURE__ */ u(`div`,{className:`wui-toast-title`,children:e.title}),/* @__PURE__ */ u(`div`,{className:`wui-toast-message`,children:e.message}),typeof e.progress==`number`&&/* @__PURE__ */ d(`div`,{className:`wui-toast-task`,children:[/* @__PURE__ */ u(`div`,{className:`wui-toast-track`,role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.min(100,Math.max(0,Math.round(e.progress))),children:/* @__PURE__ */ u(`div`,{className:`wui-toast-track-fill`,style:{width:`${Math.min(100,Math.max(0,e.progress))}%`}})}),/* @__PURE__ */ d(`span`,{className:`wui-toast-track-pct`,"aria-hidden":`true`,children:[Math.min(100,Math.max(0,Math.round(e.progress))),`%`]})]}),e.action&&/* @__PURE__ */ u(`button`,{type:`button`,className:`wui-toast-action`,onClick:()=>{e.action.onClick?.(),O()},children:e.action.label})]}),/* @__PURE__ */ u(`button`,{type:`button`,className:`btn-close wui-toast-close`,"aria-label":`Close`,onClick:O}),!S&&/* @__PURE__ */ u(`div`,{ref:k,className:`wui-toast-progress`,style:{animationDuration:`${e.duration}ms`},onAnimationEnd:O})]})}export{v as default};
1
+ import{devWarn as e}from"../lib/devWarn.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppIcon.js";import{adoptToast as r,dismissToast as i,subscribeToasts as a}from"./toastStore.js";import o from"./warnInvalidValue.js";import s from"./warnUnknownProps.js";import{useEffect as c,useRef as l,useState as u}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";var p={success:{icon:`check-circle`,assertive:!1},info:{icon:`info`,assertive:!1},warning:{icon:`alert-triangle`,assertive:!0},danger:{icon:`alert-circle`,assertive:!0}},m={"top-start":`top-0 start-0`,"top-center":`top-0 start-50 translate-middle-x`,"top-end":`top-0 end-0`,"middle-center":`top-50 start-50 translate-middle`,"bottom-start":`bottom-0 start-0`,"bottom-center":`bottom-0 start-50 translate-middle-x`,"bottom-end":`bottom-0 end-0`},h=64,g=/* @__PURE__ */ new Set([`rise`,`organic`,`jelly`,`spring`]),_=/* @__PURE__ */ new Set([`rounded`,`pill`,`sharp`]),v=/* @__PURE__ */ new Set([`auto`,`inverse`]);function y(n){let{marker:r,props:i}=t(`AppToast`,n),{position:l=`bottom-end`,maxVisible:p=4,animation:h=`rise`,shape:y=`rounded`,surface:x=`auto`,offset:S,className:C=``,...w}=i;s(`AppToast`,w),o(`AppToast`,`position`,l,Object.keys(m)),o(`AppToast`,`animation`,h,g),o(`AppToast`,`shape`,y,_),o(`AppToast`,`surface`,x,v);let[T,E]=u([]);c(()=>a(E),[]);let D=typeof S==`number`&&Number.isFinite(S)&&S>=0;c(()=>{S==null||D||e(`[@webority/ui-react] <AppToast> received offset="${String(S)}", which must be a number of pixels, 0 or more. The default offset is used instead.`)},[S,D]);let{style:O,...k}=w,A=D?{"--wui-toast-offset":`${S}px`,...O}:O,j=Math.max(0,T.length-p),M=j?T.slice(j):T,N=m[l]??m[`bottom-end`];return/* @__PURE__ */ f(`div`,{...r,...k,style:A,className:`wui-toast-container toast-container position-fixed ${N} p-3 ${C}`.trim(),children:[j>0&&/* @__PURE__ */ f(`div`,{className:`wui-toast-more`,"aria-hidden":`true`,children:[`+`,j,` more`]}),M.map(e=>/* @__PURE__ */ d(b,{toast:e,defaultAnimation:h,defaultShape:y,defaultSurface:x},e.id))]})}function b({toast:e,defaultAnimation:t=`rise`,defaultShape:a=`rounded`,defaultSurface:o=`auto`}){let s=p[e.variant]??p.success,m=g.has(e.animation)?e.animation:t,y=_.has(e.shape)?e.shape:a,b=v.has(e.surface)?e.surface:o,x=(m!==`rise`&&g.has(m)?` wui-toast--anim-${m}`:``)+(y!==`rounded`&&_.has(y)?` wui-toast--shape-${y}`:``)+(b===`inverse`?` wui-toast--surface-inverse`:``),S=e.duration===0,[C,w]=u(0),[T,E]=u(!1),D=l(null),O=()=>i(e.id),k=l(null);c(()=>{if(e.duration===0)return;r(e.id);let t=k.current,n=t==null?``:getComputedStyle(t).animationName;if(t!=null&&(typeof t.getAnimations==`function`?t.getAnimations().length>0:n!==``&&n!==`none`))return;let a=setTimeout(()=>i(e.id),e.duration);return()=>clearTimeout(a)},[e.id,e.duration]);let A=e=>{e.button!==0||e.target.closest(`button`)||(D.current=e.clientX,E(!0),e.currentTarget.setPointerCapture?.(e.pointerId))},j=e=>{D.current!==null&&w(e.clientX-D.current)},M=()=>{D.current=null,E(!1),w(0)},N=e=>{if(D.current===null)return;let t=e.clientX-D.current;Math.abs(t)>h?O():M()},P=C?{transform:`translateX(${C}px)`,opacity:Math.max(0,1-Math.abs(C)/200)}:void 0;return/* @__PURE__ */ f(`div`,{className:`toast show wui-toast wui-toast--${e.variant}${x}${T?` wui-toast--dragging`:``}`,role:s.assertive?`alert`:`status`,"aria-live":s.assertive?`assertive`:`polite`,"aria-atomic":`true`,style:P,onPointerDown:A,onPointerMove:j,onPointerUp:N,onPointerCancel:M,children:[/* @__PURE__ */ d(`span`,{className:`wui-toast-icon`,"aria-hidden":`true`,children:/* @__PURE__ */ d(n,{name:s.icon,size:20})}),/* @__PURE__ */ f(`div`,{className:`wui-toast-content`,children:[e.title&&/* @__PURE__ */ d(`div`,{className:`wui-toast-title`,children:e.title}),/* @__PURE__ */ d(`div`,{className:`wui-toast-message`,children:e.message}),typeof e.progress==`number`&&/* @__PURE__ */ f(`div`,{className:`wui-toast-task`,children:[/* @__PURE__ */ d(`div`,{className:`wui-toast-track`,role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.min(100,Math.max(0,Math.round(e.progress))),children:/* @__PURE__ */ d(`div`,{className:`wui-toast-track-fill`,style:{width:`${Math.min(100,Math.max(0,e.progress))}%`}})}),/* @__PURE__ */ f(`span`,{className:`wui-toast-track-pct`,"aria-hidden":`true`,children:[Math.min(100,Math.max(0,Math.round(e.progress))),`%`]})]}),e.action&&/* @__PURE__ */ d(`button`,{type:`button`,className:`wui-toast-action`,onClick:()=>{e.action.onClick?.(),O()},children:e.action.label})]}),/* @__PURE__ */ d(`button`,{type:`button`,className:`btn-close wui-toast-close`,"aria-label":`Close`,onClick:O}),!S&&/* @__PURE__ */ d(`div`,{ref:k,className:`wui-toast-progress`,style:{animationDuration:`${e.duration}ms`},onAnimationEnd:O})]})}export{y as default};
@@ -1 +1 @@
1
- import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./AppBanner.js";import n from"./AppButton.js";import r from"./warnUnknownProps.js";import{jsx as i,jsxs as a}from"react/jsx-runtime";var o=()=>window.location.reload();function s(s){let{marker:c,props:l}=e(`AppUpdateBar`,s),{onReload:u=o,dismissible:d=!1,onDismiss:f,className:p=``,...m}=l;return r(`AppUpdateBar`,m),/* @__PURE__ */ a(t,{tone:`info`,icon:`refresh-cw`,dismissible:d,onDismiss:f,className:p,...c,...m,children:[/* @__PURE__ */ i(`span`,{className:`me-3`,children:`A new version of this app is ready.`}),/* @__PURE__ */ i(n,{size:`sm`,variant:`primary`,onClick:u,children:`Reload`})]})}export{s as default};
1
+ import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./AppBanner.js";import n from"./AppButton.js";import r from"./warnUnknownProps.js";import{jsx as i,jsxs as a}from"react/jsx-runtime";var o=()=>window.location.reload();function s(s){let{marker:c,props:l}=e(`AppUpdateBar`,s),{onReload:u=o,dismissible:d=!1,onDismiss:f,className:p=``,message:m=`A new version of this app is ready.`,reloadLabel:h=`Reload`,dismissLabel:g=`Dismiss`,..._}=l;return r(`AppUpdateBar`,_),/* @__PURE__ */ a(t,{tone:`info`,icon:`refresh-cw`,dismissible:d,onDismiss:f,dismissLabel:g,className:p,...c,..._,children:[/* @__PURE__ */ i(`span`,{className:`me-3`,children:m}),/* @__PURE__ */ i(n,{size:`sm`,variant:`primary`,onClick:u,children:h})]})}export{s as default};
@@ -1 +1 @@
1
- import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./AppIcon.js";import n from"./warnInvalidValue.js";import r from"./warnUnknownProps.js";import{formatDate as i}from"@webority/ui-elements/helpers";import{useEffect as a,useRef as o}from"react";import{jsx as s,jsxs as c}from"react/jsx-runtime";import"@webority/ui-elements/elements/whats-new";var l=[`dot`,`count`];function u(u){let{marker:d,props:f}=e(`AppWhatsNew`,u),{entries:p=[],storageKey:m,readThrough:h,indicator:g=`dot`,label:_=`What's new`,unreadLabel:v=`unread`,emptyText:y=`Nothing new yet`,onRead:b,className:x=``,...S}=f;r(`AppWhatsNew`,S),n(`AppWhatsNew`,`indicator`,g,l);let C=o(null),w=o(b);return w.current=b,a(()=>{let e=C.current,t=e=>w.current?.(e.detail.through);return e.addEventListener(`wui-whats-new-read`,t),()=>e.removeEventListener(`wui-whats-new-read`,t)},[]),/* @__PURE__ */ c(`wui-whats-new`,{ref:C,class:[`wui-whats-new`,x].filter(Boolean).join(` `),"storage-key":m||void 0,"read-through":h||void 0,indicator:g,...d,...S,children:[/* @__PURE__ */ c(`button`,{type:`button`,className:`u-action wui-whats-new-trigger`,"aria-haspopup":`dialog`,children:[/* @__PURE__ */ s(t,{name:`gift`,size:20}),/* @__PURE__ */ s(`span`,{className:`wui-whats-new-name`,children:_}),/* @__PURE__ */ s(`span`,{className:`wui-whats-new-unread`,children:` ${v}`}),/* @__PURE__ */ s(`span`,{className:`wui-whats-new-dot`,"aria-hidden":`true`})]}),/* @__PURE__ */ c(`div`,{className:`wui-whats-new-panel`,role:`dialog`,"aria-label":_,tabIndex:-1,children:[/* @__PURE__ */ s(`h2`,{className:`wui-whats-new-title`,children:_}),p.length>0?/* @__PURE__ */ s(`ol`,{className:`wui-whats-new-list`,children:p.map((e,t)=>/* @__PURE__ */ c(`li`,{className:`wui-whats-new-entry`,children:[/* @__PURE__ */ s(`time`,{className:`wui-whats-new-date`,dateTime:e.date,children:i(e.date)}),/* @__PURE__ */ s(`h3`,{className:`wui-whats-new-entry-title`,children:e.title}),e.body&&/* @__PURE__ */ s(`p`,{className:`wui-whats-new-body`,children:e.body}),e.imageSrc&&/* @__PURE__ */ s(`img`,{className:`wui-whats-new-image`,src:e.imageSrc,alt:e.imageAlt??``,loading:`lazy`}),e.href&&/* @__PURE__ */ s(`a`,{className:`wui-whats-new-link`,href:e.href,children:e.linkLabel||`Learn more`})]},e.id??`${e.date}-${t}`))}):/* @__PURE__ */ s(`p`,{className:`wui-whats-new-empty`,children:y})]})]})}export{u as default};
1
+ import{linkTarget as e}from"../lib/linkTarget.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppIcon.js";import r from"./warnInvalidValue.js";import i from"./warnUnknownProps.js";import{formatDate as a}from"@webority/ui-elements/helpers";import{useEffect as o,useRef as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";import"@webority/ui-elements/elements/whats-new";var u=[`dot`,`count`];function d(e){let{marker:d,props:p}=t(`AppWhatsNew`,e),{entries:m=[],storageKey:h,readThrough:g,indicator:_=`dot`,label:v=`What's new`,unreadLabel:y=`unread`,emptyText:b=`Nothing new yet`,onRead:x,linkComponent:S,className:C=``,...w}=p;i(`AppWhatsNew`,w),r(`AppWhatsNew`,`indicator`,_,u);let T=s(null),E=s(x);return E.current=x,o(()=>{let e=T.current,t=e=>E.current?.(e.detail.through);return e.addEventListener(`wui-whats-new-read`,t),()=>e.removeEventListener(`wui-whats-new-read`,t)},[]),/* @__PURE__ */ l(`wui-whats-new`,{ref:T,class:[`wui-whats-new`,C].filter(Boolean).join(` `),"storage-key":h||void 0,"read-through":g||void 0,indicator:_,...d,...w,children:[/* @__PURE__ */ l(`button`,{type:`button`,className:`u-action wui-whats-new-trigger`,"aria-haspopup":`dialog`,children:[/* @__PURE__ */ c(n,{name:`gift`,size:20}),/* @__PURE__ */ c(`span`,{className:`wui-whats-new-name`,children:v}),/* @__PURE__ */ c(`span`,{className:`wui-whats-new-unread`,children:` ${y}`}),/* @__PURE__ */ c(`span`,{className:`wui-whats-new-dot`,"aria-hidden":`true`})]}),/* @__PURE__ */ l(`div`,{className:`wui-whats-new-panel`,role:`dialog`,"aria-label":v,tabIndex:-1,children:[/* @__PURE__ */ c(`h2`,{className:`wui-whats-new-title`,children:v}),m.length>0?/* @__PURE__ */ c(`ol`,{className:`wui-whats-new-list`,children:m.map((e,t)=>/* @__PURE__ */ l(`li`,{className:`wui-whats-new-entry`,children:[/* @__PURE__ */ c(`time`,{className:`wui-whats-new-date`,dateTime:e.date,children:a(e.date)}),/* @__PURE__ */ c(`h3`,{className:`wui-whats-new-entry-title`,children:e.title}),e.body&&/* @__PURE__ */ c(`p`,{className:`wui-whats-new-body`,children:e.body}),e.imageSrc&&/* @__PURE__ */ c(`img`,{className:`wui-whats-new-image`,src:e.imageSrc,alt:e.imageAlt??``,loading:`lazy`}),e.href&&/* @__PURE__ */ c(f,{entry:e,linkComponent:S})]},e.id??`${e.date}-${t}`))}):/* @__PURE__ */ c(`p`,{className:`wui-whats-new-empty`,children:b})]})]})}function f({entry:t,linkComponent:n}){let{Tag:r,linkProps:i}=e(n,{href:t.href});return/* @__PURE__ */ c(r,{className:`wui-whats-new-link`,...i,children:t.linkLabel||`Learn more`})}export{d as default};
@@ -1 +1 @@
1
- import{initialsOf as e}from"../lib/initials.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppIcon.js";import r from"./warnInvalidValue.js";import i from"./warnUnknownProps.js";import{forwardRef as a,useEffect as o,useMemo as s,useRef as c,useState as l}from"react";import{Dropdown as u}from"react-bootstrap";import{Fragment as d,jsx as f,jsxs as p}from"react/jsx-runtime";var m=[`sm`,`md`,`lg`],h=/* @__PURE__ */ new Set([`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`]);function g(e){let{marker:a,props:d}=t(`AppWorkspaceSwitcher`,e),{tenants:g=[],currentId:b,onSelect:x,menuLabel:S,footerAction:C,linkComponent:w,searchable:T=!1,onCreate:E,canCreate:D=!1,createLabel:O=`Create workspace`,compact:k=!1,size:A=`md`,ariaLabel:j,...M}=d,{onToggle:N,...P}=M;i(`AppWorkspaceSwitcher`,P),r(`AppWorkspaceSwitcher`,`size`,A,m);let[F,I]=l(``),[L,R]=l(!1),z=c(null),B=(e,t)=>{R(e),N?.(e,t)},V=g.find(e=>e.id===b)??g[0],H=s(()=>{let e=F.trim().toLowerCase();return!T||!e?g:g.filter(t=>String(t.name??``).toLowerCase().includes(e))},[g,F,T]);o(()=>{L&&T&&z.current?.focus()},[L,T]),o(()=>{if(!T)return;let e=z.current;if(!e)return;let t=e=>{h.has(e.key)?e.stopPropagation():e.key===`Escape`&&L&&(e.preventDefault(),e.stopPropagation(),B(!1,{source:`keydown`,originalEvent:e}))};return e.addEventListener(`keydown`,t),()=>e.removeEventListener(`keydown`,t)},[T,L]);let U=V?.name??``,W=j??`Workspace ${U}`;return/* @__PURE__ */ p(u,{className:`workspace-switcher${A===`sm`?` workspace-switcher-sm`:``}${A===`lg`?` workspace-switcher-lg`:``}`,show:L,onToggle:B,...a,...P,children:[/* @__PURE__ */ f(u.Toggle,{as:y,compact:k,tenant:V,"aria-label":W}),/* @__PURE__ */ p(u.Menu,{className:`workspace-switcher-menu`,renderOnMount:!0,popperConfig:{strategy:`fixed`},children:[S?/* @__PURE__ */ f(`div`,{className:`workspace-switcher-menu-label`,children:S}):null,T?/* @__PURE__ */ p(`div`,{className:`workspace-switcher-search`,children:[/* @__PURE__ */ f(n,{name:`search`,size:14}),/* @__PURE__ */ f(`input`,{ref:z,type:`search`,className:`workspace-switcher-search-input`,placeholder:`Search workspaces`,"aria-label":`Search workspaces`,value:F,onChange:e=>I(e.target.value)})]}):null,/* @__PURE__ */ p(`div`,{className:`workspace-switcher-list`,children:[H.map(e=>/* @__PURE__ */ p(u.Item,{as:`button`,type:`button`,className:`workspace-switcher-option${e.id===V?.id?` is-active`:``}`,onClick:()=>x?.(e),children:[/* @__PURE__ */ f(_,{tenant:e}),/* @__PURE__ */ f(`span`,{className:`workspace-switcher-option-name`,children:e.name}),e.badge?/* @__PURE__ */ f(`span`,{className:`workspace-switcher-badge`,children:e.badge}):null,e.id===V?.id?/* @__PURE__ */ f(n,{name:`check`,size:16,className:`workspace-switcher-tick`}):null]},e.id)),H.length===0?/* @__PURE__ */ f(`div`,{className:`workspace-switcher-empty`,children:`No workspaces match.`}):null]}),D?/* @__PURE__ */ p(u.Item,{as:`button`,type:`button`,className:`workspace-switcher-create`,onClick:()=>E?.(),children:[/* @__PURE__ */ f(n,{name:`plus`,size:16}),O]}):null,C?/* @__PURE__ */ f(`div`,{className:`workspace-switcher-footer`,children:v(C,w)}):null]})]})}function _({tenant:t}){return t?.logoUrl?/* @__PURE__ */ f(`img`,{className:`workspace-switcher-mark`,src:t.logoUrl,alt:``,loading:`lazy`}):/* @__PURE__ */ f(`span`,{className:`workspace-switcher-mark`,children:e(t?.name,1)})}function v(e,t){if(typeof e!=`object`||!e||!(`label`in e))return e;let{label:r,icon:i,href:a}=e;return/* @__PURE__ */ p(a?t??`a`:`button`,{className:`workspace-switcher-footer-action`,...a?t?{to:a}:{href:a}:{type:`button`},children:[i?/* @__PURE__ */ f(n,{name:i,size:16}):null,r]})}var y=a(function({compact:e,tenant:t,"aria-label":r,className:i,...a},o){return/* @__PURE__ */ p(`button`,{ref:o,type:`button`,className:`workspace-switcher-trigger${e?` is-compact`:``}`,"aria-haspopup":`true`,"aria-label":r,...a,children:[/* @__PURE__ */ f(_,{tenant:t}),e?null:/* @__PURE__ */ p(d,{children:[/* @__PURE__ */ f(`span`,{className:`workspace-switcher-trigger-name`,children:t?.name}),/* @__PURE__ */ f(n,{name:`chevrons-up-down`,size:16,className:`workspace-switcher-chevron`})]})]})});export{g as default};
1
+ import{initialsOf as e}from"../lib/initials.js";import{splitMarkerProps as t}from"../lib/wuiMarker.js";import n from"./AppIcon.js";import r from"./warnInvalidValue.js";import i from"./warnUnknownProps.js";import{forwardRef as a,useEffect as o,useMemo as s,useRef as c,useState as l}from"react";import{Dropdown as u}from"react-bootstrap";import{Fragment as d,jsx as f,jsxs as p}from"react/jsx-runtime";var m=[`sm`,`md`,`lg`],h=/* @__PURE__ */ new Set([`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`]);function g(e){let{marker:a,props:d}=t(`AppWorkspaceSwitcher`,e),{tenants:g=[],currentId:b,onSelect:x,menuLabel:S,footerAction:C,linkComponent:w,searchable:T=!1,onCreate:E,canCreate:D=!1,createLabel:O=`Create workspace`,compact:k=!1,size:A=`md`,ariaLabel:j,searchPlaceholder:M=`Search workspaces`,searchLabel:N=`Search workspaces`,noMatchText:P=`No workspaces match.`,...F}=d,{onToggle:I,...L}=F;i(`AppWorkspaceSwitcher`,L),r(`AppWorkspaceSwitcher`,`size`,A,m);let[R,z]=l(``),[B,V]=l(!1),H=c(null),U=(e,t)=>{V(e),I?.(e,t)},W=g.find(e=>e.id===b)??g[0],G=s(()=>{let e=R.trim().toLowerCase();return!T||!e?g:g.filter(t=>String(t.name??``).toLowerCase().includes(e))},[g,R,T]);o(()=>{B&&T&&H.current?.focus()},[B,T]),o(()=>{if(!T)return;let e=H.current;if(!e)return;let t=e=>{h.has(e.key)?e.stopPropagation():e.key===`Escape`&&B&&(e.preventDefault(),e.stopPropagation(),U(!1,{source:`keydown`,originalEvent:e}))};return e.addEventListener(`keydown`,t),()=>e.removeEventListener(`keydown`,t)},[T,B]);let K=W?.name??``,q=j??`Workspace ${K}`;return/* @__PURE__ */ p(u,{className:`workspace-switcher${A===`sm`?` workspace-switcher-sm`:``}${A===`lg`?` workspace-switcher-lg`:``}`,show:B,onToggle:U,...a,...L,children:[/* @__PURE__ */ f(u.Toggle,{as:y,compact:k,tenant:W,"aria-label":q}),/* @__PURE__ */ p(u.Menu,{className:`workspace-switcher-menu`,renderOnMount:!0,popperConfig:{strategy:`fixed`},children:[S?/* @__PURE__ */ f(`div`,{className:`workspace-switcher-menu-label`,children:S}):null,T?/* @__PURE__ */ p(`div`,{className:`workspace-switcher-search`,children:[/* @__PURE__ */ f(n,{name:`search`,size:14}),/* @__PURE__ */ f(`input`,{ref:H,type:`search`,className:`workspace-switcher-search-input`,placeholder:M,"aria-label":N,value:R,onChange:e=>z(e.target.value)})]}):null,/* @__PURE__ */ p(`div`,{className:`workspace-switcher-list`,children:[G.map(e=>/* @__PURE__ */ p(u.Item,{as:`button`,type:`button`,className:`workspace-switcher-option${e.id===W?.id?` is-active`:``}`,onClick:()=>x?.(e),children:[/* @__PURE__ */ f(_,{tenant:e}),/* @__PURE__ */ f(`span`,{className:`workspace-switcher-option-name`,children:e.name}),e.badge?/* @__PURE__ */ f(`span`,{className:`workspace-switcher-badge`,children:e.badge}):null,e.id===W?.id?/* @__PURE__ */ f(n,{name:`check`,size:16,className:`workspace-switcher-tick`}):null]},e.id)),G.length===0?/* @__PURE__ */ f(`div`,{className:`workspace-switcher-empty`,children:P}):null]}),D?/* @__PURE__ */ p(u.Item,{as:`button`,type:`button`,className:`workspace-switcher-create`,onClick:()=>E?.(),children:[/* @__PURE__ */ f(n,{name:`plus`,size:16}),O]}):null,C?/* @__PURE__ */ f(`div`,{className:`workspace-switcher-footer`,children:v(C,w)}):null]})]})}function _({tenant:t}){return t?.logoUrl?/* @__PURE__ */ f(`img`,{className:`workspace-switcher-mark`,src:t.logoUrl,alt:``,loading:`lazy`}):/* @__PURE__ */ f(`span`,{className:`workspace-switcher-mark`,children:e(t?.name,1)})}function v(e,t){if(typeof e!=`object`||!e||!(`label`in e))return e;let{label:r,icon:i,href:a}=e;return/* @__PURE__ */ p(a?t??`a`:`button`,{className:`workspace-switcher-footer-action`,...a?t?{to:a}:{href:a}:{type:`button`},children:[i?/* @__PURE__ */ f(n,{name:i,size:16}):null,r]})}var y=a(function({compact:e,tenant:t,"aria-label":r,className:i,...a},o){return/* @__PURE__ */ p(`button`,{ref:o,type:`button`,className:`workspace-switcher-trigger${e?` is-compact`:``}`,"aria-haspopup":`true`,"aria-label":r,...a,children:[/* @__PURE__ */ f(_,{tenant:t}),e?null:/* @__PURE__ */ p(d,{children:[/* @__PURE__ */ f(`span`,{className:`workspace-switcher-trigger-name`,children:t?.name}),/* @__PURE__ */ f(n,{name:`chevrons-up-down`,size:16,className:`workspace-switcher-chevron`})]})]})});export{g as default};
@@ -1 +1 @@
1
- var e=/* @__PURE__ */ `aave.activity.add.add-circle.add-square.additem.airdrop.airplane.airplane-square.airpod.airpods.alarm.alert-circle.alert-triangle.align-bottom.align-horizontally.align-left.align-right.align-top.align-vertically.android.ankr.apple.aquarius.archive.archive-add.archive-book.archive-box.archive-minus.archive-slash.archive-tick.arrange-horizontal.arrange-horizontal-circle.arrange-horizontal-square.arrange-vertical.arrange-vertical-circle.arrange-vertical-square.arrow.arrow-circle-down.arrow-circle-down-2.arrow-circle-left.arrow-circle-left-2.arrow-circle-right.arrow-circle-right-2.arrow-circle-up.arrow-circle-up-2.arrow-down.arrow-down-2.arrow-down-3.arrow-down-up.arrow-forward.arrow-forward-square.arrow-left.arrow-left-2.arrow-left-3.arrow-right.arrow-right-2.arrow-right-3.arrow-rotate-left.arrow-rotate-right.arrow-square.arrow-square-down.arrow-square-left.arrow-square-right.arrow-square-up.arrow-swap-horizontal.arrow-swap-vertical.arrow-up.arrow-up-2.arrow-up-3.arrow-up-right.at.attach-circle.attach-square.audio-square.augur.autobrightness.autonio.avalanche.award.back.back-square.backward.backward-10-seconds.backward-15-seconds.backward-5-seconds.backward-item.badge-check.bag.bag-2.bag-cross.bag-cross-1.bag-happy.bag-tick.bag-tick-2.bag-timer.ban.bank.barcode.battery-charging.battery-disable.battery-empty.battery-empty-1.battery-full.be.bell.bezier.bill.binance-coin.binance-usd.bitcoin.bitcoin-card.bitcoin-convert.bitcoin-refresh.blend.blend-2.blogger.bluetooth.bluetooth-2.bluetooth-circle.bluetooth-rectangle.blur.bolt.book.book-1.book-saved.book-square.bookmark.bookmark-2.bootstrap.box.box-1.box-2.box-add.box-remove.box-seam.box-search.box-tick.box-time.briefcase.briefcase-cross.briefcase-tick.briefcase-timer.brifecase-cross.brifecase-tick.brifecase-timer.brodcast.broom.brush.brush-2.brush-3.brush-big.brush-square.bubble.bucket.bucket-circle.bucket-square.bug.building.building-2.building-3.building-4.buildings.buildings-2.buliding.bullseye.bus.buy-crypto.cake.calculator.calendar.calendar-1.calendar-2.calendar-add.calendar-check.calendar-circle.calendar-dots.calendar-edit.calendar-remove.calendar-search.calendar-tick.call.call-add.call-calling.call-incoming.call-minus.call-outgoing.call-received.call-remove.call-slash.camera.camera-slash.candle.candle-2.car.card.card-add.card-coin.card-edit.card-pos.card-receive.card-remove.card-remove-1.card-send.card-slash.card-tick.card-tick-1.cardano.cards.cash-stack.category.category-2.cd.celo.celsius.chainlink.chart.chart-1.chart-2.chart-21.chart-circle.chart-column.chart-fail.chart-square.chart-success.chat.chat-dots.check.check-check.check-circle.chemical-glass.chevron-down.chevron-left.chevron-right.chevron-up.chevrons-left.chevrons-right.chevrons-up-down.chrome.circle.circle-help.civic.clipboard.clipboard-check.clipboard-close.clipboard-export.clipboard-import.clipboard-text.clipboard-tick.clock.close-circle.close-square.cloud.cloud-add.cloud-change.cloud-connection.cloud-cross.cloud-drizzle.cloud-fog.cloud-lightning.cloud-minus.cloud-notif.cloud-plus.cloud-remove.cloud-snow.cloud-sunny.code.code-1.code-circle.coffee.coin.coin-1.coins.color-swatch.colorfilter.colors-square.command.command-square.comment.component.computing.contact.convert.convert-3-d-cube.convert-card.convertshape.convertshape-2.copy.copy-success.copyright.courthouse.cpu.cpu-charge.cpu-setting.creative-commons.credit-card.crop.crown.crown-1.cup.cursor.cut.dai.danger.dash.data.data-2.decred.dent.designtools.device-message.devices.diagram.diagram-3.diamonds.direct.direct-down.direct-inbox.direct-left.direct-normal.direct-notification.direct-right.direct-send.direct-up.directbox-default.directbox-notif.directbox-receive.directbox-send.discount-circle.discount-shape.discover.dislike.display.document.document-cloud.document-code.document-code-2.document-copy.document-download.document-favorite.document-filter.document-forward.document-like.document-previous.document-sketch.document-text.document-text-1.document-upload.dollar-circle.dollar-square.download.dribbble.driver.driver-2.driver-refresh.driving.drop.dropbox.edit.edit-2.educare.electricity.element.element-2.element-3.element-4.element-equal.element-plus.emercoin.emoji-happy.emoji-normal.emoji-sad.emoji-smile.empty-wallet.empty-wallet-add.empty-wallet-change.empty-wallet-remove.empty-wallet-tick.empty-wallet-time.enjin-coin.eos.eraser.eraser-square.ethereum.ethereum-classic.export.export-circle.export-curve.export-square.external-drive.external-link.eye.eye-off.eye-slash.facebook.factory.fatrows.favorite-chart.figma.figma-1.file-plus-2.file-text.files.filter.filter-add.filter-edit.filter-remove.filter-search.filter-square.filter-tick.finger-cricle.finger-scan.firstline.flag.flag-2.flame.flash.flash-circle.flash-slash.flashy.folder.folder-2.folder-add.folder-cloud.folder-connection.folder-cross.folder-favorite.folder-kanban.folder-minus.folder-open.folder-plus.forbidden.forbidden-2.format-circle.format-square.forward.forward-10-seconds.forward-15-seconds.forward-5-seconds.forward-item.framer.ftx-token.gallery.gallery-add.gallery-edit.gallery-export.gallery-favorite.gallery-import.gallery-remove.gallery-slash.gallery-tick.game.gameboy.gas-station.gauge.gemini.gemini-2.ghost.gift.glass.global.global-edit.global-refresh.global-search.globe.globe2.google.google-drive.google-play.gps.gps-slash.grammerly.graph.grid.grid-1.grid-2.grid-3.grid-4.grid-5.grid-6.grid-7.grid-8.grid-9.grid-edit.grid-eraser.grid-lock.hamberger-menu.hamburger-menu.hand.happyemoji.hard-hat.harmony.hashtag.hashtag-down.hashtag-square.hashtag-up.headphone.headphones.health.heart.heart-add.heart-circle.heart-edit.heart-remove.heart-search.heart-slash.heart-tick.hedera-hashgraph.hex.hierarchy.hierarchy-2.hierarchy-3.hierarchy-square.hierarchy-square-2.hierarchy-square-3.history.home.home-2.home-3.home-hashtag.home-trend-down.home-trend-up.home-wifi.hospital.house.house-2.html-3.html-5.huobi-token.i-24-support.i-3-d-cube-scan.i-3-d-rotate.i-3-d-square.i-3-dcube.i-3-square.icon.illustrator.image.import.import-circle.import-curve.import-square.inbox.info.info-circle.information.instagram.iost.java-script.js.judge.kanban.key.key-square.keyboard.keyboard-open.kyber-network.lamp.lamp-charge.lamp-on.lamp-slash.language-circle.language-square.layer.layout-dashboard.layout-grid.layout-maximize.level.lifebuoy.lightbulb.like.like-1.like-dislike.like-shapes.like-tag.link.link-1.link-2.link-21.link-circle.link-square.linkedin.list.litecoin.location.location-add.location-cross.location-discover.location-minus.location-slash.location-tick.lock.lock-1.lock-circle.lock-slash.log-out.login.login-curve.logout.logout-curve.lovely.magic-star.magicpen.mail.main-component.maker.man.map.map-1.map-pin.mask.mask-left.mask-right.math.maximize.maximize-1.maximize-2.maximize-3.maximize-4.maximize-circle.medal.medal-star.menu.menu-board.message.message-2.message-add.message-add-1.message-circle.message-edit.message-favorite.message-minus.message-notif.message-programming.message-question.message-remove.message-search.message-square.message-text.message-text-1.message-tick.message-time.messages.messages-1.messages-2.messages-3.messenger.microphone.microphone-2.microphone-slash.microphone-slash-1.microscope.microsoft.milk.mini-music-sqaure.minus.minus-circle.minus-cirlce.minus-square.mirror.mirroring-screen.mobile.mobile-programming.monero.money.money-2.money-3.money-4.money-add.money-archive.money-change.money-forbidden.money-receive.money-recive.money-remove.money-send.money-tick.money-time.moneys.monitor.monitor-mobbile.monitor-recorder.moon.more.more-2.more-circle.more-horizontal.more-square.mouse.mouse-circle.mouse-square.music.music-circle.music-dashboard.music-filter.music-library-2.music-play.music-playlist.music-square.music-square-add.music-square-remove.music-square-search.musicnote.nebulas.nem.nexo.next.note.note-1.note-add.note-favorite.note-remove.note-square.note-text.notepad.notepad-2.notification.notification-1.notification-bing.notification-circle.notification-favorite.notification-status.ocean-protocol.okb.okru.omega-circle.omega-square.ontology.paintbucket.palette.panel-left-close.panel-left-open.paperclip.paperclip-2.password-check.path-tool.path-tool-2.path-tool-square.pause.pause-circle.paypal.pen-add.pen-close.pen-remove.pen-tool.pen-tool-2.pencil.people.percentage-circle.percentage-square.personalcard.pet.pharagraphspacing.phone.photoshop.picture-frame.play.play-add.play-circle.play-cricle.play-remove.plug.plus.plus-circle.pointer.polkadot.polygon.polyswarm.presentation-chart.presention-chart.previous.printer.printer-slash.profile.profile-2-user.profile-add.profile-circle.profile-delete.profile-remove.profile-tick.programming-arrow.programming-arrows.python.quant.quote-down.quote-down-circle.quote-down-square.quote-up.quote-up-circle.quote-up-square.radar.radar-2.radio.ram.ram-2.rank.ranking.receipt.receipt-1.receipt-2.receipt-21.receipt-add.receipt-discount.receipt-disscount.receipt-edit.receipt-item.receipt-minus.receipt-search.receipt-square.receipt-text.receive.receive-square.receive-square-2.record.record-circle.recovery-convert.reddit.refresh.refresh-2.refresh-circle.refresh-cw.refresh-left-square.refresh-right-square.refresh-square.repeat.repeat-circle.repeate-music.repeate-one.reserve.robot.rotate-ccw.rotate-cw.rotate-left.rotate-right.route-square.routing.routing-2.row-horizontal.row-vertical.ruler.ruler-pen.safe-home.sagittarius.save-2.save-add.save-minus.save-remove.scan.scan-barcode.scanner.scanning.scissor.screenmirroring.scroll.search.search-favorite.search-favorite-1.search-normal.search-normal-1.search-status.search-status-1.search-zoom-in.search-zoom-in-1.search-zoom-out.search-zoom-out-1.security.security-card.security-safe.security-time.security-user.send.send-2.server.setting.setting-2.setting-3.setting-4.setting-5.settings.shapes.shapes-1.share.share-2.shield.shield-check.shield-cross.shield-lock.shield-plus.shield-search.shield-security.shield-slash.shield-tick.ship.shop.shop-add.shop-remove.shopping-bag.shopping-cart.shuffle.shutterstock.siacoin.sidebar-bottom.sidebar-left.sidebar-right.sidebar-top.signpost.simcard.simcard-1.simcard-2.size.slack.slash.slider.slider-horizontal.slider-horizontal-1.slider-vertical.slider-vertical-1.smallcaps.smart-car.smart-home.smileys.sms.sms-edit.sms-notification.sms-search.sms-star.sms-tracking.snapchat.snowflake.solana.sort.sound.sparkles.speaker.speedometer.spotify.stacks.star.star-1.star-slash.stars.status.status-up.stellar.sticker.stickynote.stop.stop-circle.story.strongbox.strongbox-2.subtitle.sun.sun-1.sun-fog.table-document.table-lamp.tag.tag-2.tag-cross.tag-right.tag-user.task.task-square.teacher.telephone.tenx.tether.text.text-block.text-bold.text-italic.text-underline.textalign-center.textalign-justifycenter.textalign-justifyleft.textalign-justifyright.textalign-left.textalign-right.the-graph.theta.thorchain.thumbs-up.tick-circle.tick-square.ticket.ticket-2.ticket-discount.ticket-expired.ticket-star.timer.timer-1.timer-pause.timer-start.toggle-off.toggle-off-circle.toggle-on.toggle-on-circle.trade.transaction-minus.translate.transmit.transmit-sqaure-2.transmit-square.trash.trash-2.tree.trello.trend-down.trend-up.trending-up.triangle.triangle-logo.trontron.truck.truck-fast.truck-remove.truck-tick.truck-time.trush-square.twitch.two-page.ui-8.unlimited.unlock.upload.usd-coin.user.user-add.user-check.user-cirlce-add.user-edit.user-minus.user-octagon.user-plus.user-remove.user-search.user-square.user-tag.user-tick.users.velas.verify.vibe.video.video-add.video-circle.video-horizontal.video-octagon.video-play.video-remove.video-slash.video-square.video-tick.video-time.video-vertical.voice-circle.voice-cricle.voice-square.volume.volume-cross.volume-high.volume-low.volume-low-1.volume-mute.volume-slash.volume-up.wallet.wallet-1.wallet-2.wallet-3.wallet-add.wallet-add-1.wallet-check.wallet-minus.wallet-money.wallet-remove.wallet-search.wallet2.wanchain.wanchain-1.wand-sparkles.warning-2.watch.watch-status.weight.weight-meter.whatsapp.wifi.wifi-square.wind.wind-2.windows.wing.woman.wrist-clock.x.x-circle.xd.xiaomi.xrp.youtube.zap.zel.zoom.zoom-in.zoom-out`.split(`.`);export{e as ICON_NAMES};
1
+ var e=/* @__PURE__ */ `aave.activity.add.add-circle.add-square.additem.airdrop.airplane.airplane-square.airpod.airpods.alarm.alert-circle.alert-triangle.align-bottom.align-horizontally.align-left.align-right.align-top.align-vertically.android.ankr.apple.aquarius.archive.archive-add.archive-book.archive-box.archive-minus.archive-slash.archive-tick.arrange-horizontal.arrange-horizontal-circle.arrange-horizontal-square.arrange-vertical.arrange-vertical-circle.arrange-vertical-square.arrow.arrow-circle-down.arrow-circle-down-2.arrow-circle-left.arrow-circle-left-2.arrow-circle-right.arrow-circle-right-2.arrow-circle-up.arrow-circle-up-2.arrow-down.arrow-down-2.arrow-down-3.arrow-down-up.arrow-forward.arrow-forward-square.arrow-left.arrow-left-2.arrow-left-3.arrow-right.arrow-right-2.arrow-right-3.arrow-rotate-left.arrow-rotate-right.arrow-square.arrow-square-down.arrow-square-left.arrow-square-right.arrow-square-up.arrow-swap-horizontal.arrow-swap-vertical.arrow-up.arrow-up-2.arrow-up-3.arrow-up-right.at.attach-circle.attach-square.audio-square.augur.autobrightness.autonio.avalanche.award.back.back-square.backward.backward-10-seconds.backward-15-seconds.backward-5-seconds.backward-item.badge-check.bag.bag-2.bag-cross.bag-cross-1.bag-happy.bag-tick.bag-tick-2.bag-timer.ban.bank.barcode.battery-charging.battery-disable.battery-empty.battery-empty-1.battery-full.be.bell.bezier.bill.binance-coin.binance-usd.bitcoin.bitcoin-card.bitcoin-convert.bitcoin-refresh.blend.blend-2.blogger.bluetooth.bluetooth-2.bluetooth-circle.bluetooth-rectangle.blur.bolt.book.book-1.book-saved.book-square.bookmark.bookmark-2.bootstrap.box.box-1.box-2.box-add.box-remove.box-seam.box-search.box-tick.box-time.briefcase.briefcase-cross.briefcase-tick.briefcase-timer.brifecase-cross.brifecase-tick.brifecase-timer.brodcast.broom.brush.brush-2.brush-3.brush-big.brush-square.bubble.bucket.bucket-circle.bucket-square.bug.building.building-2.building-3.building-4.buildings.buildings-2.buliding.bullseye.bus.buy-crypto.cake.calculator.calendar.calendar-1.calendar-2.calendar-add.calendar-check.calendar-circle.calendar-dots.calendar-edit.calendar-remove.calendar-search.calendar-tick.call.call-add.call-calling.call-incoming.call-minus.call-outgoing.call-received.call-remove.call-slash.camera.camera-slash.candle.candle-2.car.card.card-add.card-coin.card-edit.card-pos.card-receive.card-remove.card-remove-1.card-send.card-slash.card-tick.card-tick-1.cardano.cards.cash-stack.category.category-2.cd.celo.celsius.chainlink.chart.chart-1.chart-2.chart-21.chart-circle.chart-column.chart-fail.chart-square.chart-success.chat.chat-dots.check.check-check.check-circle.chemical-glass.chevron-down.chevron-left.chevron-right.chevron-up.chevrons-left.chevrons-right.chevrons-up-down.chrome.circle.circle-help.civic.clipboard.clipboard-check.clipboard-close.clipboard-export.clipboard-import.clipboard-text.clipboard-tick.clock.close-circle.close-square.cloud.cloud-add.cloud-change.cloud-connection.cloud-cross.cloud-drizzle.cloud-fog.cloud-lightning.cloud-minus.cloud-notif.cloud-plus.cloud-remove.cloud-snow.cloud-sunny.code.code-1.code-circle.coffee.coin.coin-1.coins.color-swatch.colorfilter.colors-square.command.command-square.comment.component.computing.contact.convert.convert-3-d-cube.convert-card.convertshape.convertshape-2.copy.copy-success.copyright.courthouse.cpu.cpu-charge.cpu-setting.creative-commons.credit-card.crop.crown.crown-1.cup.cursor.cut.dai.danger.dash.data.data-2.decred.dent.designtools.device-message.devices.diagram.diagram-3.diamonds.direct.direct-down.direct-inbox.direct-left.direct-normal.direct-notification.direct-right.direct-send.direct-up.directbox-default.directbox-notif.directbox-receive.directbox-send.discount-circle.discount-shape.discover.dislike.display.document.document-cloud.document-code.document-code-2.document-copy.document-download.document-favorite.document-filter.document-forward.document-like.document-previous.document-sketch.document-text.document-text-1.document-upload.dollar-circle.dollar-square.download.dribbble.driver.driver-2.driver-refresh.driving.drop.dropbox.edit.edit-2.educare.electricity.element.element-2.element-3.element-4.element-equal.element-plus.emercoin.emoji-happy.emoji-normal.emoji-sad.emoji-smile.empty-wallet.empty-wallet-add.empty-wallet-change.empty-wallet-remove.empty-wallet-tick.empty-wallet-time.enjin-coin.eos.eraser.eraser-square.ethereum.ethereum-classic.export.export-circle.export-curve.export-square.external-drive.external-link.eye.eye-off.eye-slash.facebook.factory.fatrows.favorite-chart.figma.figma-1.file-plus-2.file-text.files.filter.filter-add.filter-edit.filter-remove.filter-search.filter-square.filter-tick.finger-cricle.finger-scan.firstline.flag.flag-2.flame.flash.flash-circle.flash-slash.flashy.folder.folder-2.folder-add.folder-cloud.folder-connection.folder-cross.folder-favorite.folder-kanban.folder-minus.folder-open.folder-plus.forbidden.forbidden-2.format-circle.format-square.forward.forward-10-seconds.forward-15-seconds.forward-5-seconds.forward-item.framer.ftx-token.gallery.gallery-add.gallery-edit.gallery-export.gallery-favorite.gallery-import.gallery-remove.gallery-slash.gallery-tick.game.gameboy.gas-station.gauge.gemini.gemini-2.ghost.gift.github.glass.global.global-edit.global-refresh.global-search.globe.globe2.google.google-drive.google-play.gps.gps-slash.grammerly.graph.grid.grid-1.grid-2.grid-3.grid-4.grid-5.grid-6.grid-7.grid-8.grid-9.grid-edit.grid-eraser.grid-lock.hamberger-menu.hamburger-menu.hand.happyemoji.hard-hat.harmony.hashtag.hashtag-down.hashtag-square.hashtag-up.headphone.headphones.health.heart.heart-add.heart-circle.heart-edit.heart-remove.heart-search.heart-slash.heart-tick.hedera-hashgraph.hex.hierarchy.hierarchy-2.hierarchy-3.hierarchy-square.hierarchy-square-2.hierarchy-square-3.history.home.home-2.home-3.home-hashtag.home-trend-down.home-trend-up.home-wifi.hospital.house.house-2.html-3.html-5.huobi-token.i-24-support.i-3-d-cube-scan.i-3-d-rotate.i-3-d-square.i-3-dcube.i-3-square.icon.illustrator.image.import.import-circle.import-curve.import-square.inbox.info.info-circle.information.instagram.iost.java-script.js.judge.kanban.key.key-square.keyboard.keyboard-open.kyber-network.lamp.lamp-charge.lamp-on.lamp-slash.language-circle.language-square.layer.layout-dashboard.layout-grid.layout-maximize.level.lifebuoy.lightbulb.like.like-1.like-dislike.like-shapes.like-tag.link.link-1.link-2.link-21.link-circle.link-square.linkedin.list.litecoin.location.location-add.location-cross.location-discover.location-minus.location-slash.location-tick.lock.lock-1.lock-circle.lock-slash.log-out.login.login-curve.logout.logout-curve.lovely.magic-star.magicpen.mail.main-component.maker.man.map.map-1.map-pin.mask.mask-left.mask-right.math.maximize.maximize-1.maximize-2.maximize-3.maximize-4.maximize-circle.medal.medal-star.menu.menu-board.message.message-2.message-add.message-add-1.message-circle.message-edit.message-favorite.message-minus.message-notif.message-programming.message-question.message-remove.message-search.message-square.message-text.message-text-1.message-tick.message-time.messages.messages-1.messages-2.messages-3.messenger.microphone.microphone-2.microphone-slash.microphone-slash-1.microscope.microsoft.milk.mini-music-sqaure.minus.minus-circle.minus-cirlce.minus-square.mirror.mirroring-screen.mobile.mobile-programming.monero.money.money-2.money-3.money-4.money-add.money-archive.money-change.money-forbidden.money-receive.money-recive.money-remove.money-send.money-tick.money-time.moneys.monitor.monitor-mobbile.monitor-recorder.moon.more.more-2.more-circle.more-horizontal.more-square.mouse.mouse-circle.mouse-square.music.music-circle.music-dashboard.music-filter.music-library-2.music-play.music-playlist.music-square.music-square-add.music-square-remove.music-square-search.musicnote.nebulas.nem.nexo.next.note.note-1.note-add.note-favorite.note-remove.note-square.note-text.notepad.notepad-2.notification.notification-1.notification-bing.notification-circle.notification-favorite.notification-status.ocean-protocol.okb.okru.omega-circle.omega-square.ontology.paintbucket.palette.panel-left-close.panel-left-open.paperclip.paperclip-2.password-check.path-tool.path-tool-2.path-tool-square.pause.pause-circle.paypal.pen-add.pen-close.pen-remove.pen-tool.pen-tool-2.pencil.people.percentage-circle.percentage-square.personalcard.pet.pharagraphspacing.phone.photoshop.picture-frame.play.play-add.play-circle.play-cricle.play-remove.plug.plus.plus-circle.pointer.polkadot.polygon.polyswarm.presentation-chart.presention-chart.previous.printer.printer-slash.profile.profile-2-user.profile-add.profile-circle.profile-delete.profile-remove.profile-tick.programming-arrow.programming-arrows.python.quant.quote-down.quote-down-circle.quote-down-square.quote-up.quote-up-circle.quote-up-square.radar.radar-2.radio.ram.ram-2.rank.ranking.receipt.receipt-1.receipt-2.receipt-21.receipt-add.receipt-discount.receipt-disscount.receipt-edit.receipt-item.receipt-minus.receipt-search.receipt-square.receipt-text.receive.receive-square.receive-square-2.record.record-circle.recovery-convert.reddit.refresh.refresh-2.refresh-circle.refresh-cw.refresh-left-square.refresh-right-square.refresh-square.repeat.repeat-circle.repeate-music.repeate-one.reserve.robot.rotate-ccw.rotate-cw.rotate-left.rotate-right.route-square.routing.routing-2.row-horizontal.row-vertical.ruler.ruler-pen.safe-home.sagittarius.save-2.save-add.save-minus.save-remove.scan.scan-barcode.scanner.scanning.scissor.screenmirroring.scroll.search.search-favorite.search-favorite-1.search-normal.search-normal-1.search-status.search-status-1.search-zoom-in.search-zoom-in-1.search-zoom-out.search-zoom-out-1.security.security-card.security-safe.security-time.security-user.send.send-2.server.setting.setting-2.setting-3.setting-4.setting-5.settings.shapes.shapes-1.share.share-2.shield.shield-check.shield-cross.shield-lock.shield-plus.shield-search.shield-security.shield-slash.shield-tick.ship.shop.shop-add.shop-remove.shopping-bag.shopping-cart.shuffle.shutterstock.siacoin.sidebar-bottom.sidebar-left.sidebar-right.sidebar-top.signpost.simcard.simcard-1.simcard-2.size.slack.slash.slider.slider-horizontal.slider-horizontal-1.slider-vertical.slider-vertical-1.smallcaps.smart-car.smart-home.smileys.sms.sms-edit.sms-notification.sms-search.sms-star.sms-tracking.snapchat.snowflake.solana.sort.sound.sparkles.speaker.speedometer.spotify.stacks.star.star-1.star-slash.stars.status.status-up.stellar.sticker.stickynote.stop.stop-circle.story.strongbox.strongbox-2.subtitle.sun.sun-1.sun-fog.table-document.table-lamp.tag.tag-2.tag-cross.tag-right.tag-user.task.task-square.teacher.telephone.tenx.tether.text.text-block.text-bold.text-italic.text-underline.textalign-center.textalign-justifycenter.textalign-justifyleft.textalign-justifyright.textalign-left.textalign-right.the-graph.theta.thorchain.thumbs-up.tick-circle.tick-square.ticket.ticket-2.ticket-discount.ticket-expired.ticket-star.timer.timer-1.timer-pause.timer-start.toggle-off.toggle-off-circle.toggle-on.toggle-on-circle.trade.transaction-minus.translate.transmit.transmit-sqaure-2.transmit-square.trash.trash-2.tree.trello.trend-down.trend-up.trending-up.triangle.triangle-logo.trontron.truck.truck-fast.truck-remove.truck-tick.truck-time.trush-square.twitch.two-page.ui-8.unlimited.unlock.upload.usd-coin.user.user-add.user-check.user-cirlce-add.user-edit.user-minus.user-octagon.user-plus.user-remove.user-search.user-square.user-tag.user-tick.users.velas.verify.vibe.video.video-add.video-circle.video-horizontal.video-octagon.video-play.video-remove.video-slash.video-square.video-tick.video-time.video-vertical.voice-circle.voice-cricle.voice-square.volume.volume-cross.volume-high.volume-low.volume-low-1.volume-mute.volume-slash.volume-up.wallet.wallet-1.wallet-2.wallet-3.wallet-add.wallet-add-1.wallet-check.wallet-minus.wallet-money.wallet-remove.wallet-search.wallet2.wanchain.wanchain-1.wand-sparkles.warning-2.watch.watch-status.weight.weight-meter.whatsapp.wifi.wifi-square.wind.wind-2.windows.wing.woman.wrist-clock.x.x-circle.xd.xiaomi.xrp.youtube.zap.zel.zoom.zoom-in.zoom-out`.split(`.`);export{e as ICON_NAMES};