@webority/ui-elements 0.199.1 → 0.201.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 (217) hide show
  1. package/README.md +4 -3
  2. package/dist/{WuiCarousel-UTqrn7Nx.js → WuiCarousel-CHgYsQLy.js} +1 -1
  3. package/dist/{WuiCodeBlock-BnRpTBm_.js → WuiCodeBlock-DjNv0Jzb.js} +1 -1
  4. package/dist/{WuiCommandPalette-BSWDxEPw.js → WuiCommandPalette-18xqK2S3.js} +1 -1
  5. package/dist/{WuiCommentThread-BXd-Z7z1.js → WuiCommentThread-KZ3bibV8.js} +1 -1
  6. package/dist/{WuiConsentBanner-B8D2lE8q.js → WuiConsentBanner-DhFgz2Mn.js} +1 -1
  7. package/dist/{WuiDashboardGrid-5rXZvTsm.js → WuiDashboardGrid-Cr3qsN_T.js} +1 -1
  8. package/dist/{WuiDataTable-D_9TWU-r.js → WuiDataTable-08HFWRjn.js} +1 -1
  9. package/dist/WuiDatePicker-_S1KRPAW.js +1 -0
  10. package/dist/WuiDateRange-tlkzGlT4.js +1 -0
  11. package/dist/WuiDateTime-BM_hQc8Y.js +1 -0
  12. package/dist/{WuiDrawer-RmT2Wp9d.js → WuiDrawer-BSFyJN4i.js} +1 -1
  13. package/dist/{WuiGantt-B70jg1w5.js → WuiGantt-DThIgEVR.js} +1 -1
  14. package/dist/{WuiImageCrop-Cl97BHN4.js → WuiImageCrop-CPBoKzox.js} +1 -1
  15. package/dist/WuiInlineEdit-BKjUqAFD.js +1 -0
  16. package/dist/{WuiLeadPopup-tkt78XlW.js → WuiLeadPopup-CdGXuUdh.js} +1 -1
  17. package/dist/WuiLightbox-BbBHUwEH.js +1 -0
  18. package/dist/WuiMentionInput-CLf66bZv.js +1 -0
  19. package/dist/{WuiNotificationCenter-BSXqhz9M.js → WuiNotificationCenter-63IkQgw7.js} +1 -1
  20. package/dist/{WuiOrgTree-Be7gK2ls.js → WuiOrgTree-CTcLLmFi.js} +1 -1
  21. package/dist/{WuiOverflow-DCNivxjH.js → WuiOverflow-Czk6Er81.js} +1 -1
  22. package/dist/{WuiPhone-D7yYYLYr.js → WuiPhone-CdpOXNyu.js} +1 -1
  23. package/dist/{WuiRecordPager-DLO5IWE9.js → WuiRecordPager-ByLruWFG.js} +1 -1
  24. package/dist/{WuiRelativeTime-BGeb8bNG.js → WuiRelativeTime-3cYKtfSP.js} +1 -1
  25. package/dist/{WuiSavedViews-NAZArw5y.js → WuiSavedViews-CQjUtOHV.js} +1 -1
  26. package/dist/{WuiSelect-DALTYOKl.js → WuiSelect-Cbr_4yCe.js} +1 -1
  27. package/dist/{WuiShortcuts-Z8X5aSTz.js → WuiShortcuts-BdMGawiV.js} +1 -1
  28. package/dist/{WuiShowMore-B73_umah.js → WuiShowMore-CG1offsP.js} +1 -1
  29. package/dist/{WuiSlider-BjzqYCFt.js → WuiSlider-DuPqp8Ru.js} +1 -1
  30. package/dist/{WuiSortable-DjhJiH0o.js → WuiSortable-6HHTncRn.js} +1 -1
  31. package/dist/{WuiTimePicker-D0cM0pPe.js → WuiTimePicker-C6KHFFOx.js} +1 -1
  32. package/dist/{WuiTour-b7N5FTLM.js → WuiTour-CWy-OMxR.js} +1 -1
  33. package/dist/{WuiTree-Qno7SM6z.js → WuiTree-BsT2thnb.js} +1 -1
  34. package/dist/{WuiTreePicker-DWCLntLz.js → WuiTreePicker-D4Ep2n3T.js} +1 -1
  35. package/dist/{WuiWizardStep-D1Ea6_9L.js → WuiWizardStep-CPGBX4U8.js} +1 -1
  36. package/dist/{calendarMath-CeawKuZQ.js → calendarMath-D8B0i3XW.js} +1 -1
  37. package/dist/{chips-BzSOOCI-.js → chips-BMNFRLY4.js} +1 -1
  38. package/dist/{country-CX7Ok3Md.js → country-COqU5UPA.js} +1 -1
  39. package/dist/{customRule-vAOiOqYH.js → customRule-CYqAWNFg.js} +1 -1
  40. package/dist/{dataTable-D48Rwq1a.js → dataTable-CSP1x4ZA.js} +1 -1
  41. package/dist/{drawerDiscard-mFYviRfI.js → drawerDiscard-DO4bmfVZ.js} +1 -1
  42. package/dist/elements/carousel.js +1 -1
  43. package/dist/elements/code-block.js +1 -1
  44. package/dist/elements/command-palette.js +1 -1
  45. package/dist/elements/comment-thread.js +1 -1
  46. package/dist/elements/consent-banner.js +1 -1
  47. package/dist/elements/dashboard-grid.js +1 -1
  48. package/dist/elements/data-table.js +1 -1
  49. package/dist/elements/date-range.js +1 -1
  50. package/dist/elements/date-time.js +1 -1
  51. package/dist/elements/datepicker.js +1 -1
  52. package/dist/elements/drawer.js +1 -1
  53. package/dist/elements/filter-popover.js +1 -1
  54. package/dist/elements/gantt.js +1 -1
  55. package/dist/elements/image-crop.js +1 -1
  56. package/dist/elements/inline-edit.js +1 -1
  57. package/dist/elements/kanban.js +1 -1
  58. package/dist/elements/lead-popup.js +1 -1
  59. package/dist/elements/lightbox.js +1 -1
  60. package/dist/elements/mention-input.js +1 -1
  61. package/dist/elements/notification-center.js +1 -1
  62. package/dist/elements/org-tree.js +1 -1
  63. package/dist/elements/overflow.js +1 -1
  64. package/dist/elements/phone.js +1 -1
  65. package/dist/elements/record-pager.js +1 -1
  66. package/dist/elements/relative-time.js +1 -1
  67. package/dist/elements/saved-views.js +1 -1
  68. package/dist/elements/select.js +1 -1
  69. package/dist/elements/shortcuts.js +1 -1
  70. package/dist/elements/show-more.js +1 -1
  71. package/dist/elements/slider.js +1 -1
  72. package/dist/elements/sortable.js +1 -1
  73. package/dist/elements/timepicker.js +1 -1
  74. package/dist/elements/tour.js +1 -1
  75. package/dist/elements/tree-picker.js +1 -1
  76. package/dist/elements/tree.js +1 -1
  77. package/dist/elements/wizard.js +1 -1
  78. package/dist/{filterPopover-IndnqT7G.js → filterPopover-Cv9IsBG3.js} +1 -1
  79. package/dist/formatters-lNUhNemK.js +1 -0
  80. package/dist/helpers.js +1 -1
  81. package/dist/{initials-DKg3IeUa.js → initials-CYUX7uHC.js} +1 -1
  82. package/dist/inlineEditText-BjHkrr4q.js +1 -0
  83. package/dist/kanban-C_u1_ctX.js +1 -0
  84. package/dist/{kanbanModel-BQWAC9vs.js → kanbanModel-zqkEKM2x.js} +1 -1
  85. package/dist/{loader-sSdQNOg6.js → loader-AIIVAlsd.js} +1 -1
  86. package/dist/notificationDays-CO6i0_h3.js +1 -0
  87. package/dist/{recents-DTddcnaM.js → recents-C_0aUCxK.js} +1 -1
  88. package/dist/refreshAfter-C2bqZfb9.js +1 -0
  89. package/dist/relativeTime-CBiAE0E5.js +1 -0
  90. package/dist/{search-Is-q8GR6.js → search-DenTt9we.js} +1 -1
  91. package/dist/server.js +1 -1
  92. package/dist/{shortcutKeys-CoZBxKsS.js → shortcutKeys-DO6ZWyN6.js} +1 -1
  93. package/dist/{tableSelect-B2lLTEj1.js → tableSelect-BrQSoqzs.js} +1 -1
  94. package/dist/text.js +1 -1
  95. package/dist/textStore-Cs1SGBoI.js +1 -0
  96. package/dist/{themeTransition-DowOV08f.js → themeTransition-DBd5lF43.js} +1 -1
  97. package/dist/ui-calendar.global.js +1 -1
  98. package/dist/ui-calendar.js +1 -1
  99. package/dist/ui-chart.global.js +15 -15
  100. package/dist/ui-chart.js +15 -15
  101. package/dist/ui-elements/calendar-views.global.js +1 -1
  102. package/dist/ui-elements/carousel.global.js +1 -1
  103. package/dist/ui-elements/code-block.global.js +1 -1
  104. package/dist/ui-elements/command-palette.global.js +1 -1
  105. package/dist/ui-elements/comment-thread.global.js +1 -1
  106. package/dist/ui-elements/consent-banner.global.js +1 -1
  107. package/dist/ui-elements/context-menu.global.js +1 -1
  108. package/dist/ui-elements/dashboard-grid.global.js +1 -1
  109. package/dist/ui-elements/data-table.global.js +1 -1
  110. package/dist/ui-elements/date-range.global.js +1 -1
  111. package/dist/ui-elements/date-time.global.js +1 -1
  112. package/dist/ui-elements/datepicker.global.js +1 -1
  113. package/dist/ui-elements/dock.global.js +1 -1
  114. package/dist/ui-elements/drawer.global.js +1 -1
  115. package/dist/ui-elements/dropdown.global.js +1 -1
  116. package/dist/ui-elements/entry-grid.global.js +1 -1
  117. package/dist/ui-elements/gantt.global.js +1 -1
  118. package/dist/ui-elements/glyphs-a.global.js +1 -1
  119. package/dist/ui-elements/glyphs-b.global.js +1 -1
  120. package/dist/ui-elements/glyphs-c.global.js +1 -1
  121. package/dist/ui-elements/glyphs-d.global.js +1 -1
  122. package/dist/ui-elements/glyphs-e.global.js +1 -1
  123. package/dist/ui-elements/glyphs-f.global.js +1 -1
  124. package/dist/ui-elements/glyphs-g.global.js +1 -1
  125. package/dist/ui-elements/glyphs-h.global.js +1 -1
  126. package/dist/ui-elements/glyphs-i.global.js +1 -1
  127. package/dist/ui-elements/glyphs-j.global.js +1 -1
  128. package/dist/ui-elements/glyphs-k.global.js +1 -1
  129. package/dist/ui-elements/glyphs-l.global.js +1 -1
  130. package/dist/ui-elements/glyphs-m.global.js +1 -1
  131. package/dist/ui-elements/glyphs-n.global.js +1 -1
  132. package/dist/ui-elements/glyphs-o.global.js +1 -1
  133. package/dist/ui-elements/glyphs-p.global.js +1 -1
  134. package/dist/ui-elements/glyphs-q.global.js +1 -1
  135. package/dist/ui-elements/glyphs-r.global.js +1 -1
  136. package/dist/ui-elements/glyphs-s.global.js +1 -1
  137. package/dist/ui-elements/glyphs-t.global.js +1 -1
  138. package/dist/ui-elements/glyphs-u.global.js +1 -1
  139. package/dist/ui-elements/glyphs-v.global.js +1 -1
  140. package/dist/ui-elements/glyphs-w.global.js +1 -1
  141. package/dist/ui-elements/glyphs-x.global.js +1 -1
  142. package/dist/ui-elements/glyphs-z.global.js +1 -1
  143. package/dist/ui-elements/glyphs.global.js +1 -1
  144. package/dist/ui-elements/hover-card.global.js +1 -1
  145. package/dist/ui-elements/image-crop.global.js +1 -1
  146. package/dist/ui-elements/inline-edit.global.js +1 -1
  147. package/dist/ui-elements/kanban.global.js +1 -1
  148. package/dist/ui-elements/lead-popup.global.js +1 -1
  149. package/dist/ui-elements/lightbox.global.js +1 -1
  150. package/dist/ui-elements/markdown.global.js +1 -1
  151. package/dist/ui-elements/mini-calendar.global.js +1 -1
  152. package/dist/ui-elements/navigation-menu.global.js +1 -1
  153. package/dist/ui-elements/notification-center.global.js +1 -1
  154. package/dist/ui-elements/offline-banner.global.js +1 -1
  155. package/dist/ui-elements/onboarding-checklist.global.js +1 -1
  156. package/dist/ui-elements/org-tree.global.js +1 -1
  157. package/dist/ui-elements/otp.global.js +1 -1
  158. package/dist/ui-elements/overflow.global.js +1 -1
  159. package/dist/ui-elements/phone.global.js +1 -1
  160. package/dist/ui-elements/popover.global.js +1 -1
  161. package/dist/ui-elements/rating.global.js +1 -1
  162. package/dist/ui-elements/record-pager.global.js +1 -1
  163. package/dist/ui-elements/relative-time.global.js +1 -1
  164. package/dist/ui-elements/saved-views.global.js +1 -1
  165. package/dist/ui-elements/select-chips.global.js +1 -1
  166. package/dist/ui-elements/select-recents.global.js +1 -1
  167. package/dist/ui-elements/select-search.global.js +1 -1
  168. package/dist/ui-elements/select-window.global.js +1 -1
  169. package/dist/ui-elements/server.global.js +1 -1
  170. package/dist/ui-elements/shell.global.js +1 -1
  171. package/dist/ui-elements/shortcuts.global.js +1 -1
  172. package/dist/ui-elements/show-more.global.js +1 -1
  173. package/dist/ui-elements/slider.global.js +1 -1
  174. package/dist/ui-elements/sortable.global.js +1 -1
  175. package/dist/ui-elements/status-icon.global.js +1 -1
  176. package/dist/ui-elements/table-export.global.js +1 -1
  177. package/dist/ui-elements/timepicker.global.js +1 -1
  178. package/dist/ui-elements/tour.global.js +1 -1
  179. package/dist/ui-elements/tree-picker.global.js +1 -1
  180. package/dist/ui-elements/tree.global.js +1 -1
  181. package/dist/ui-elements/truncate.global.js +1 -1
  182. package/dist/ui-elements/whats-new.global.js +1 -1
  183. package/dist/ui-elements/wizard.global.js +1 -1
  184. package/dist/ui-elements.global.js +1 -1
  185. package/dist/ui-elements.js +1 -1
  186. package/dist/{zone-BR02ZkHF.js → zone-CIUYudtC.js} +1 -1
  187. package/dist/zone-VKarLPzU.js +1 -0
  188. package/package.json +5 -5
  189. package/types/WuiChart.d.ts +12 -6
  190. package/types/chart.d.ts +0 -1
  191. package/types/chartAdapter.d.ts +12 -3
  192. package/types/chartSpec.d.ts +2 -2
  193. package/types/global/core.d.ts +2 -3
  194. package/types/global/shared.d.ts +1 -1
  195. package/types/helpers.d.ts +1 -3
  196. package/types/index.d.ts +0 -1
  197. package/types/kanbanModel.d.ts +3 -2
  198. package/types/razor-js/modules/generatedScreens.d.ts +1 -0
  199. package/types/server/regionMorph.d.ts +1 -0
  200. package/types/server/regions.d.ts +1 -0
  201. package/types/zone.d.ts +0 -18
  202. package/dist/WuiDatePicker-BSAqNqdx.js +0 -1
  203. package/dist/WuiDateRange-ffla_FMG.js +0 -1
  204. package/dist/WuiDateTime-NTZCa0dZ.js +0 -1
  205. package/dist/WuiInlineEdit-D0a_5oAM.js +0 -1
  206. package/dist/WuiLightbox-BSEVtv2x.js +0 -1
  207. package/dist/WuiMentionInput-kUTy26hu.js +0 -1
  208. package/dist/formatters-CXMylefd.js +0 -1
  209. package/dist/formatters.g-BNAu1PMe.js +0 -1
  210. package/dist/inlineEditText-B35MKEul.js +0 -1
  211. package/dist/kanban-BkovNHsk.js +0 -1
  212. package/dist/notificationDays-CZxUShyr.js +0 -1
  213. package/dist/refreshAfter-DhYgWXmQ.js +0 -1
  214. package/dist/relativeTime-wpijOw5j.js +0 -1
  215. package/dist/textStore-Dh5iyZSR.js +0 -1
  216. package/types/currency.d.ts +0 -6
  217. package/types/formatters.d.ts +0 -138
@@ -1 +1 @@
1
- import{r as e,t}from"./textStore-Dh5iyZSR.js";import{t as n}from"./tableSelect.g-DwI5_9Nw.js";var r=()=>e(`tableSelect`,n),i=`wui-select-cell`,a=`wui-group-select`,o=(e,t)=>{let n=e.createElement(`input`);return n.type=`checkbox`,n.className=`form-check-input`,n.setAttribute(`aria-label`,t),n};function s(e=document){let t=e.createElement(`th`);return t.className=i,t.appendChild(o(e,r().selectAllLabel)),t}function c(e=document,{disabled:t=!1}={}){let n=e.createElement(`td`);n.className=i;let a=o(e,r().selectRowLabel);return a.disabled=t,n.appendChild(a),n}function l(e=document){let t=e.createElement(`td`);return t.className=i,t}function u(e,n){let s=e.createElement(`td`);return s.className=`${i} ${a}`,s.appendChild(o(e,t(r().selectGroupLabel,{group:n}))),s}function d(e){let t=[];for(let n=e.nextElementSibling;n instanceof HTMLTableRowElement&&!n.matches(`.wui-group-row, .wui-virtual-spacer`);n=n.nextElementSibling)n.matches(`.wui-row-expanded`)||t.push(n);return t}var f=e=>e.firstElementChild?.classList.contains(i),p=e=>e.matches(`.wui-group-row, .wui-virtual-spacer, .wui-row-expanded`),m=(e,t,n)=>[...e.querySelectorAll(t)].filter(e=>e instanceof n);function h(e){for(let t of e){if(f(t)||p(t))continue;let e=t.getAttribute(`data-row-selectable`)===`false`;t.insertBefore(c(t.ownerDocument,{disabled:e}),t.firstChild)}}function g(e){let t=e.querySelector(`thead tr`);if(!(t instanceof HTMLTableRowElement))return null;f(t)||t.insertBefore(s(e.ownerDocument),t.firstChild),h(m(e,`tbody tr`,HTMLTableRowElement));for(let t of m(e,`tfoot tr`,HTMLTableRowElement))f(t)||t.insertBefore(l(e.ownerDocument),t.firstChild);let n=t.querySelector(`.${i} .form-check-input`);return n instanceof HTMLInputElement?n:null}function _(e){let t=e.querySelector(`thead .${i} .form-check-input`),n=m(e,`tbody tr:not(.wui-group-row) .form-check-input:not(:disabled)`,HTMLInputElement),r=n.length,a=n.filter(e=>e.checked).length;t instanceof HTMLInputElement&&(t.checked=r>0&&a===r,t.indeterminate=a>0&&a<r);for(let t of m(e,`tbody tr:not(.wui-group-row)`,HTMLTableRowElement)){let e=t.querySelector(`.form-check-input`);t.classList.toggle(`is-selected`,e instanceof HTMLInputElement&&e.checked)}return{selected:a,total:r}}function v(e){for(let t of m(e,`tbody tr.wui-group-row`,HTMLTableRowElement)){let e=t.querySelector(`.${a} .form-check-input`);if(!(e instanceof HTMLInputElement))continue;let n=d(t).flatMap(e=>m(e,`.${i} .form-check-input:not(:disabled)`,HTMLInputElement)),r=n.filter(e=>e.checked).length;e.disabled=n.length===0,e.checked=r>0&&r===n.length,e.indeterminate=r>0&&r<n.length}}var y=`tbody tr:not(.wui-group-row) .${i} .form-check-input:not(:disabled)`;function b(e,t){let n=null,r=e=>e instanceof Element&&e.matches(`.wui-select-cell .form-check-input:not(:disabled)`)&&!!e.closest(`tbody`)&&!e.closest(`tr.wui-group-row`);e.addEventListener(`mousedown`,e=>{e.shiftKey&&r(e.target)&&e.preventDefault()}),e.addEventListener(`click`,i=>{let a=i.target;if(r(a)){if(i.shiftKey&&n?.isConnected&&n!==a){let r=m(e,y,HTMLInputElement),i=r.indexOf(n),o=r.indexOf(a);if(i>=0&&o>=0){let e=[];for(let t of r.slice(Math.min(i,o),Math.max(i,o)+1))t!==a&&t.checked!==a.checked&&(t.checked=a.checked,e.push(t));e.length&&t?.(e,a.checked)}}n=a}})}export{b as a,_ as c,g as i,i as n,u as o,h as r,v as s,a as t};
1
+ import{r as e,t}from"./textStore-Cs1SGBoI.js";import{t as n}from"./tableSelect.g-DwI5_9Nw.js";var r=()=>e(`tableSelect`,n),i=`wui-select-cell`,a=`wui-group-select`,o=(e,t)=>{let n=e.createElement(`input`);return n.type=`checkbox`,n.className=`form-check-input`,n.setAttribute(`aria-label`,t),n};function s(e=document){let t=e.createElement(`th`);return t.className=i,t.appendChild(o(e,r().selectAllLabel)),t}function c(e=document,{disabled:t=!1}={}){let n=e.createElement(`td`);n.className=i;let a=o(e,r().selectRowLabel);return a.disabled=t,n.appendChild(a),n}function l(e=document){let t=e.createElement(`td`);return t.className=i,t}function u(e,n){let s=e.createElement(`td`);return s.className=`${i} ${a}`,s.appendChild(o(e,t(r().selectGroupLabel,{group:n}))),s}function d(e){let t=[];for(let n=e.nextElementSibling;n instanceof HTMLTableRowElement&&!n.matches(`.wui-group-row, .wui-virtual-spacer`);n=n.nextElementSibling)n.matches(`.wui-row-expanded`)||t.push(n);return t}var f=e=>e.firstElementChild?.classList.contains(i),p=e=>e.matches(`.wui-group-row, .wui-virtual-spacer, .wui-row-expanded`),m=(e,t,n)=>[...e.querySelectorAll(t)].filter(e=>e instanceof n);function h(e){for(let t of e){if(f(t)||p(t))continue;let e=t.getAttribute(`data-row-selectable`)===`false`;t.insertBefore(c(t.ownerDocument,{disabled:e}),t.firstChild)}}function g(e){let t=e.querySelector(`thead tr`);if(!(t instanceof HTMLTableRowElement))return null;f(t)||t.insertBefore(s(e.ownerDocument),t.firstChild),h(m(e,`tbody tr`,HTMLTableRowElement));for(let t of m(e,`tfoot tr`,HTMLTableRowElement))f(t)||t.insertBefore(l(e.ownerDocument),t.firstChild);let n=t.querySelector(`.${i} .form-check-input`);return n instanceof HTMLInputElement?n:null}function _(e){let t=e.querySelector(`thead .${i} .form-check-input`),n=m(e,`tbody tr:not(.wui-group-row) .form-check-input:not(:disabled)`,HTMLInputElement),r=n.length,a=n.filter(e=>e.checked).length;t instanceof HTMLInputElement&&(t.checked=r>0&&a===r,t.indeterminate=a>0&&a<r);for(let t of m(e,`tbody tr:not(.wui-group-row)`,HTMLTableRowElement)){let e=t.querySelector(`.form-check-input`);t.classList.toggle(`is-selected`,e instanceof HTMLInputElement&&e.checked)}return{selected:a,total:r}}function v(e){for(let t of m(e,`tbody tr.wui-group-row`,HTMLTableRowElement)){let e=t.querySelector(`.${a} .form-check-input`);if(!(e instanceof HTMLInputElement))continue;let n=d(t).flatMap(e=>m(e,`.${i} .form-check-input:not(:disabled)`,HTMLInputElement)),r=n.filter(e=>e.checked).length;e.disabled=n.length===0,e.checked=r>0&&r===n.length,e.indeterminate=r>0&&r<n.length}}var y=`tbody tr:not(.wui-group-row) .${i} .form-check-input:not(:disabled)`;function b(e,t){let n=null,r=e=>e instanceof Element&&e.matches(`.wui-select-cell .form-check-input:not(:disabled)`)&&!!e.closest(`tbody`)&&!e.closest(`tr.wui-group-row`);e.addEventListener(`mousedown`,e=>{e.shiftKey&&r(e.target)&&e.preventDefault()}),e.addEventListener(`click`,i=>{let a=i.target;if(r(a)){if(i.shiftKey&&n?.isConnected&&n!==a){let r=m(e,y,HTMLInputElement),i=r.indexOf(n),o=r.indexOf(a);if(i>=0&&o>=0){let e=[];for(let t of r.slice(Math.min(i,o),Math.max(i,o)+1))t!==a&&t.checked!==a.checked&&(t.checked=a.checked,e.push(t));e.length&&t?.(e,a.checked)}}n=a}})}export{b as a,_ as c,g as i,i as n,u as o,h as r,v as s,a as t};
package/dist/text.js CHANGED
@@ -1 +1 @@
1
- import{a as e,i as t,n,o as r,r as i,t as a}from"./textStore-Dh5iyZSR.js";import{t as o}from"./shortcutKeys.g-C0TeAfYL.js";import{t as s}from"./formatters.g-BNAu1PMe.js";import{t as c}from"./kanban.g-dtKYyIpr.js";import{t as l}from"./httpFailure.g-DjZzGxPj.js";import{t as u}from"./carousel.g-Bw_pFDzc.js";import{t as d}from"./codeBlock.g-BCF2IlK-.js";import{t as f}from"./commandPalette.g-DP-Zl8SU.js";import{t as p}from"./commentThread.g-C7L18Tvy.js";import{t as m}from"./mentionInput.g-DJo6d2Gm.js";import{t as h}from"./consentBanner.g-CZAb1BLJ.js";import{t as g}from"./dashboardGrid.g-vkCZGw6G.js";import{t as _}from"./dataTable.g-1PsmN1Nj.js";import{t as v}from"./tableSelect.g-DwI5_9Nw.js";import{t as y}from"./datePicker.g-sGQE8c3n.js";import{t as b}from"./dateRangePicker.g-Pnc37vgX.js";import{t as x}from"./drawer.g-B-zYKBfQ.js";import{t as S}from"./gantt.g-CWvMXwBR.js";import{t as C}from"./imageCrop.g-BnbAeH2Q.js";import{n as w,t as T}from"./inlineEdit.g-DKIhYoPF.js";import{t as E}from"./leadPopup.g-BfMPz9nH.js";import{t as D}from"./lightbox.g-DDrycPou.js";import{t as O}from"./notificationCentre.g-Cees-vKg.js";import{t as k}from"./orgTree.g-CIg75quV.js";import{t as A}from"./overflow.g-BfcGEhwR.js";import{t as j}from"./phone.g-P66U-SK5.js";import{t as M}from"./relativeTime.g-BH90tjJM.js";import{t as N}from"./savedViews.g-CzzEliTR.js";import{n as P,r as F,t as I}from"./search.g-chn0itlW.js";import{t as L}from"./showMore.g-BdQ5MUSd.js";import{t as R}from"./slider.g-BPNfxZEV.js";import{t as z}from"./sortable.g-BsTKys5-.js";import{t as B}from"./timePicker.g-IEczeE48.js";import{n as V,t as H}from"./tourAdvance.g-BJqDnqag.js";import{t as U}from"./tree.g-RId8xZSk.js";import{t as W}from"./treePicker.g-BR35ru5f.js";import{t as G}from"./wizard.g-UKG1dMs_.js";import{t as K}from"./rowDrop.g-DQpB10Ey.js";import{i as q,n as J,r as Y,t as X}from"./toast.g-CJ8c0BNZ.js";import{i as Z,n as Q,r as $,t as ee}from"./passwordRules.g-CMYrohdd.js";import{t as te}from"./customRule.g-Cfkl3_ZC.js";import{t as ne}from"./shell.g-BhC11Oe3.js";var re={label:`Switch account`},ie={addLabel:`Add`,empty:`Nothing to show`,label:`Agenda`,showMore:`Show {count} more`},ae={closeLabel:`Close alert`},oe={photoLabel:`Profile photo`},se={moreLabel:`{count} more`},ce={dismissLabel:`Dismiss`},le={moreLabel:`Show hidden levels`},ue={agendaLabel:`Agenda`,allDayDateText:`all day, {start}`,allDayLabel:`All day`,calendarViewLabel:`Calendar view`,dayLabel:`Day`,emptyText:`Nothing scheduled in this period.`,errorText:`The events couldn't load. Try again in a moment.`,label:`Calendar`,listLabel:`List`,loadFailedText:`This calendar couldn't load. Try again in a moment.`,monthLabel:`Month`,moveThroughCalendarLabel:`Move through the calendar`,nextLabel:`Next`,previousLabel:`Previous`,rangeTitleText:`{start} to {last}`,timelineLabel:`Timeline`,todayLabel:`Today`,tryAgainLabel:`Try again`,weekLabel:`Week`},de={closeLabel:`Close`},fe={now:`Now`,was:`Was`},pe={aboveLabel:`Above`,areaChartLabel:`Area chart`,arrowKeysText:`{title}: use the arrow keys to read the values`,bandLabel:`Band`,barChartLabel:`Bar chart`,belowLabel:`Below`,bubbleChartLabel:`Bubble chart`,calendarHeatmapLabel:`Calendar heatmap`,calendarRangeText:`, from {first} to {last}`,calendarSummaryTextOne:`Calendar heatmap of {label}, {n} day.`,calendarSummaryTextOther:`Calendar heatmap of {label}, {n} days{range}.`,categoryLabel:`Category`,centerLabel:`Total`,changeLabel:`Change`,chartLabel:`chart`,columnChartLabel:`Column chart`,columnFallbackLabel:`column`,columnXLabel:`X`,constantSpanText:`{label} is {lo}.`,currencyFormatText:`This chart's currency format needs a currency code, such as "INR", in its currency field.`,dataSuffixLabel:`data`,dateLabel:`Date`,donutChartLabel:`Donut chart`,donutLargestText:`{top} is the largest, at {share}.`,donutSummaryTextOne:`Donut chart of {label} in {rows} part, {total} in all.`,donutSummaryTextOther:`Donut chart of {label} in {rows} parts, {total} in all.`,emptyText:`No data to show for this chart.`,errorText:`This chart couldn't load. Try again in a moment.`,everySeriesHiddenText:`Every series is hidden.`,firstStageLabel:`first stage`,fromLabel:`From`,funnelChartLabel:`Funnel chart`,funnelPreviousStepText:`{share} of previous step`,funnelStartText:`{first} is {firstValue} and {last} is {lastValue}, {share} of the start.`,funnelSummaryText:`Funnel chart of {label} in {n} stages.`,gaugeBandText:`, in the {band} band`,gaugeLabel:`Gauge`,gaugeSummaryText:`{type}: {label} is {value} on a scale from {min} to {max}{band}.`,groupLabel:`Group`,groupsTextOne:` in {count} group: {groups}`,groupsTextOther:` in {count} groups: {groups}`,heatmapLabel:`Heatmap`,heatmapSummaryText:`Heatmap of {label} by {group} and {x}, {n} cells.`,highestAtLowestAtText:`Highest is {highValue} at {highGroup}, {high}; lowest is {lowValue} at {lowGroup}, {low}.`,highestLowestText:`Highest is {maxValue} on {max}; lowest is {minValue} on {min}.`,itemLabel:`Item`,largestFallText:`The largest fall is {xText}, {signed}.`,largestFlowText:`The largest flow is {xText} to {toText}, {fmtAt}.`,largestRiseText:`The largest rise is {xText}, {signed}.`,latestText:`Latest {latest}`,legendLabel:`Legend`,lessLabel:`Less`,lineChartLabel:`Line chart`,loadingText:`Loading chart`,measureLabel:`Measure`,moreLabel:`More`,ofFirstStepText:`Of {first}`,ofPreviousStepLabel:`Of previous step`,openingShareText:`{share} of opening`,opensAtClosesAtText:`It opens at {opening} and closes at {closing}.`,otherLabel:`Other`,pointsSummaryTextOne:`{n} point, {first}.`,pointsSummaryTextOther:`{n} points, from {first} to {last}.`,rangeSpanText:`{label} runs from {lo} to {hi}.`,rowFallbackLabel:`row`,rowLabel:`Row`,runningTotalLabel:`Running total`,sankeyLabel:`Sankey diagram`,sankeySummaryText:`Sankey diagram of {label}: {n} flows between {nodes} places.`,scaleLabel:`Scale`,scaleRangeText:`{min} to {max}`,scatterPlotLabel:`Scatter plot`,scatterSummaryText:`{type} of {label} against {xLabel}, {count} points{groups}.`,shareLabel:`Share`,shareOfAllLabel:`Share of all`,shareOfGroupLabel:`Share of group`,shareOfParentText:`Share of {parent}`,shareOfStepText:`{share} of {first}`,sharedAxisText:`, sharing one x axis`,showingFirstRowsDownloadText:`Showing the first {rows} of {total} rows. Download the CSV for all of them.`,smallMultiplesLabel:`Small multiples`,soFarText:`so far`,stackedPercentText:`, stacked to 100%`,stackedText:`, stacked`,stageLabel:`Stage`,stepLabel:`Step`,summaryText:`{type} of {series}{stacked}{sharedAxis}.`,targetGapText:`{direction} {label} by {gap}`,targetLabel:`target`,toLabel:`To`,tooManyGroupsText:`This chart has more groups than it can show clearly.`,tooManySeriesText:`This chart has more series than it can show clearly.`,totalText:`Total {total}`,treemapEmptyText:`Treemap of {label}: no items.`,treemapLabel:`Treemap`,treemapLargestGroupText:`{name} is the largest group, at {share}.`,treemapSummaryText:`Treemap of {label}: {n} items in {totals} groups, {total} in all.`,trendLabel:`Trend`,untitledLabel:`Chart`,waterfallLabel:`Waterfall chart`,waterfallSummaryText:`Waterfall chart of {label}.`},me={chartViewLabel:`Chart`,downloadCsvLabel:`Download CSV`,downloadPngLabel:`Download PNG`,legendLabel:`Show legend`,legendTitle:`Show or hide the legend`,moreActionsForLabel:`More actions for {title}`,moreActionsLabel:`More actions`,retryLabel:`Try again`,tableViewLabel:`Table`,viewLabel:`View`},he={helpLabel:`More information`},ge={helpLabel:`More information`},_e={removeLabel:`Remove`,removeText:`Remove {content}`},ve={moreLabel:`More`},ye={helpLabel:`More information`},be={helpLabel:`More information`},xe={colourLabel:`Colour`,colourPickerLabel:`{label}, colour picker`,helpLabel:`More information`,optionalLabel:`(optional)`},Se={label:`Columns`},Ce={noLabel:`No`,partialLabel:`Partial`,warningLabel:`Warning`,yesLabel:`Yes`},we={title:`Are you sure?`},Te={ariaLabel:`Context menu`,searchPlaceholder:`Search`},Ee={copiedLabel:`Copied`,label:`Copy`},De={amLabel:`am`,pmLabel:`pm`,updatedLabel:`Updated {time} IST`},Oe={label:`Menu`,noMatch:`No matches.`,noMatchText:`No matches.`,searchPlaceholder:`Search`},ke={anyTypeText:`Any file type`,browseLabel:`Click to upload`,dropLabel:`or drag & drop`,maxSizeText:`up to {size} MB`,removeAttachmentLabel:`Remove attachment`},Ae={daysLeftLabel:`{days} days left`,dueInLabel:`Due in {days} days`,dueTodayLabel:`Due today`,dueTomorrowLabel:`Due tomorrow`,notSetLabel:`Not set`,oneDayLeftLabel:`1 day left`,overdueSinceLabel:`Overdue since {date}`},je={addLabel:`Add line`,cancelLabel:`Cancel`,commitNextLabel:`Save and go to the next line`,commitStayLabel:`Save`,dirtyLabel:`Changed`,discardLabel:`Discard changes`,emptyLabel:`No lines yet`,failedLabel:`Not saved`,label:`Entry lines`,moveLabel:`Move between lines`,removeLineLabel:`Remove line`,rowActionsLabel:`Actions`,savedLabel:`Saved`,savingLabel:`Saving`,statusLabel:`Status`},Me={reloadPageLabel:`Reload the page`},Ne={titleOne:`Fix {count} field to continue`,titleOther:`Fix {count} fields to continue`},Pe={attachmentLabel:`attachment`,browseLabel:`Browse`,dropFileTitleOne:`Add a file`,dropFileTitleOther:`Add files`,dropImageTitleOne:`Add an image`,dropImageTitleOther:`Add images`,dropTitleOne:`Add {article} {noun}`,dropTitleOther:`Add {noun}s`,label:`Attachment`,maxSizeText:`Up to {size} MB`,optionalLabel:`(optional)`,removeFileLabel:`Remove {name}`,removeLabel:`Remove attachment`,typesAndMaxSizeText:`{types}, up to {size} MB`,uploadingLabel:`Uploading {name}`},Fe={browseLabel:`Click to upload`,buttonLabel:`Add file`,changeFileLabel:`Change file`,changeImageLabel:`Change image`,changeNamedText:`Change {label}`,dropLabel:`or drag & drop`,fileLabel:`file`,helpLabel:`More information`,imageLabel:`image`,loadingLabel:`Loading`,maxFilesText:`Up to {count} files.`,maxSizeText:`up to {size} MB`,optionalLabel:`(optional)`,previewAltText:`{label} preview`,previewError:`This image could not be loaded.`,previewRetry:`Try again`,removeFileLabel:`Remove {name}`,removeNamedText:`Remove {label}`,selectedPreviewText:`Selected {noun} preview`},Ie={audioLabel:`Audio`,captionsLabel:`Captions`,closeSearchLabel:`Close search`,documentLabel:`Document`,documentPagesLabel:`Document pages`,documentPrintingTitle:`Document for printing`,downloadLabel:`Download`,exitFullScreenLabel:`Exit full screen`,fitLabel:`Fit`,fitPageLabel:`Fit page`,fitWidthLabel:`Fit width`,fullScreenLabel:`Full screen`,goToPageText:`Go to page {targetPage}`,hideCaptionsLabel:`Hide captions`,hideThumbnailsLabel:`Hide thumbnails`,imageLabel:`Image`,imagePrintingTitle:`Image for printing`,loadingText:`Loading...`,muteLabel:`Mute`,nextMatchLabel:`Next match`,nextPageLabel:`Next page`,noFileText:`No file to show.`,noMatchesText:`No matches`,openFailedText:`Couldn't open this file.`,pageNumberLabel:`Page number`,pauseLabel:`Pause`,playLabel:`Play`,playbackSpeedLabel:`Playback speed`,playbackSpeedText:`Playback speed, {label}`,preparingPrintLabel:`Preparing to print`,previousMatchLabel:`Previous match`,previousPageLabel:`Previous page`,printLabel:`Print`,rotateLeftLabel:`Rotate left`,rotateRightLabel:`Rotate right`,searchDocumentLabel:`Search the document`,searchPositionText:`{position} of {total}{plus}`,searchUnavailableText:`Search isn't available for this document.`,searchingText:`Searching...`,seekLabel:`Seek`,seekValueText:`{now} of {total}`,showCaptionsLabel:`Show captions`,showThumbnailsLabel:`Show thumbnails`,twoPageViewLabel:`Two-page view`,unmuteLabel:`Unmute`,unsupportedFileText:`This file can't be shown here.`,videoLabel:`Video`,volumeLabel:`Volume`,zoomInLabel:`Zoom in`,zoomLabel:`Zoom`,zoomOutLabel:`Zoom out`,zoomText:`Zoom, {percent}%`},Le={allLabel:`All`,anyLabel:`Any`,appliesAtOnceText:`Changes apply at once.`,applyLabel:`Apply`,clearAllLabel:`Clear all`,dateFromText:`From {date}`,dateRangeText:`{from} to {to}`,dateUntilText:`Until {date}`,filtersActiveLabel:`Filters, {count} active`,filtersLabel:`Filters`,keepOpenLabel:`Keep open`,removeChipLabel:`Remove {facet} filter {value}`},Re={ariaLabel:`Quick navigation`},ze={dirty:`Unsaved changes`,invalidOne:`1 field needs attention`,invalidOther:`{count} fields need attention`,pristine:`No changes yet`,saved:`Saved at {time}`,saving:`Saving changes`},Be={divideLabel:`divided by`,equalLabel:`equals`,label:`Calculation`,minusLabel:`minus`,plusLabel:`plus`,timesLabel:`times`},Ve={loadingLabel:`Loading`},He={description:`You will be signed out in {time} because there has been no activity.`,signOutLabel:`Sign out`,stayLabel:`Stay signed in`,title:`Are you still there?`},Ue={label:`More information`},We={clearLabel:`Clear`,helpLabel:`More information`,hidePasswordLabel:`Hide password`,optionalLabel:`(optional)`,requirementMetLabel:`: met`,requirementNotMetLabel:`: not met`,requirementsTitle:`Password requirements`,showPasswordLabel:`Show password`},Ge={ctrlLabel:`Ctrl`,enterLabel:`Enter`,escLabel:`Esc`},Ke={noData:`No data`,periodLabel:`vs last period`},qe={helpLabel:`More information`},Je={failedText:`Could not load more`,finishedText:`You are all caught up.`,loadMoreLabel:`Load more`,loadingLabel:`Loading more`,retryLabel:`Try again`},Ye={label:`Calendar`},Xe={backLabel:`Back`,closeLabel:`Close`},Ze={backLabel:`Back`},Qe={cancelLabel:`Cancel`,submitLabel:`Save`},$e={ariaLabel:`Main`},et={decreaseLabel:`Decrease`,helpLabel:`More information`,increaseLabel:`Increase`,optionalLabel:`(optional)`},tt={backOnlineText:`You are back online`,checkAgainLabel:`Check again`,loadedAtText:`Showing what loaded at {time}.`,loadedText:`Showing what loaded.`,offlineText:`You are offline.`},nt={dismissLabel:`Dismiss checklist`,donePrefixText:`Done:`,headCountSkippedText:`{done} of {total} done, {skipped} skipped`,headCountText:`{done} of {total} done`,restoreLabel:`Show setup checklist`,skippedPrefixText:`Skipped:`,title:`Get started`},rt={helpLabel:`More information`,optionalLabel:`(optional)`},it={moreLabel:`More`,selectedText:`{count} selected`},at={applyLabel:`Apply`,dayCountOne:`1 day`,dayCountOther:`{count} days`,financialYearText:`FY {startYear}-{endYear}`,label:`Period`,nextMonthLabel:`Next month`,previousMonthLabel:`Previous month`,quarterPrefixText:`Q`,shortDaySuffixText:`d`,startEndPlaceholder:`Start to End`},ot={youLabel:`You`},st={helpLabel:`More information`,label:`Phone number`,optionalLabel:`(optional)`},ct={badge:`Most popular`},lt={title:`QR code`},ut={addConditionLabel:`Add condition`,addGroupLabel:`Add group`,andLabel:`and`,applyLabel:`Apply filter`,cancelLabel:`Cancel`,clearAllLabel:`Clear all`,closeLabel:`Close filters`,conditionCountTextOne:`{count} condition`,conditionCountTextOther:`{count} conditions`,datePlaceholder:`DD-MMM-YYYY`,emptySummaryText:`No conditions. The whole list shows.`,emptyText:`Add a condition to narrow the list.`,emptyTitle:`No conditions yet`,emptyValueText:`…`,fieldLabel:`Field`,filtersCountLabel:`Filters · {count}`,filtersLabel:`Filters`,groupCountTextOne:`in {count} group`,groupCountTextOther:`in {count} groups`,incompleteTextOne:`{count} condition is incomplete`,incompleteTextOther:`{count} conditions are incomplete`,matchAllLabel:`All`,matchAnyLabel:`Any`,matchLabel:`Match`,matchSuffixText:`of these`,maxPlaceholder:`Max`,minPlaceholder:`Min`,multiPlaceholder:`Select values`,noLabel:`No`,operatorBetween:`is between`,operatorContains:`contains`,operatorGt:`is over`,operatorGtDate:`is after`,operatorInLast:`in the last`,operatorIs:`is`,operatorIsAnyOf:`is any of`,operatorIsEmpty:`is empty`,operatorIsNot:`is not`,operatorLabel:`Operator`,operatorLt:`is under`,operatorLtDate:`is before`,orLabel:`or`,panelTitle:`Filters`,rangeJoinText:`and`,removeClauseLabel:`Remove filter: {clause}`,removeConditionLabel:`Remove condition`,removeGroupLabel:`Remove group`,singlePlaceholder:`Select a value`,textPlaceholder:`Type to match`,unitDays:`days`,unitLabel:`Unit`,unitMonths:`months`,unitWeeks:`weeks`,valueLabel:`Value`,valueRequiredText:`Enter a value`,yesLabel:`Yes`},dt={allApprovedLabel:`All approved`,approveLabel:`Approve {count}`,approveMoreLabel:`Approve {count} more`,checkListLabel:`Check the list`,runningLabel:`{done} of {total} approved`,statusBusyLabel:`Approving`,statusDoneLabel:`Approved`,statusFailedLabel:`Not approved`},ft={helpLabel:`More information`},pt={helpLabel:`More information`,optionalLabel:`(optional)`},mt={helpLabel:`More information`,ratingLabel:`Rating`,starLabel:`{count} star`,starsLabel:`{count} stars`,valueText:`{value} out of {max}`},ht={nextLabel:`Next`,positionText:`{position} of {total}`,prevLabel:`Previous`},gt={addLabel:`Add another`,removeLabel:`Remove row`},_t={copiedLabel:`Copied`,copyLabel:`Copy reference`,referenceLabel:`Reference`},vt={applyLabel:`Apply`,ariaLabel:`Rich text`,boldLabel:`Bold`,bulletedListLabel:`Bulleted list`,cancelLabel:`Cancel`,closeLinkBoxLabel:`Close link box`,codeBlockLabel:`Code block`,heading2Label:`Heading 2`,heading3Label:`Heading 3`,helpLabel:`More information`,inlineCodeLabel:`Inline code`,italicLabel:`Italic`,linkAddressLabel:`Link address`,linkErrorMessage:`Use a web address, an email address or a phone number.`,linkLabel:`Link`,loadFailedText:`The editor couldn't load. Reload the page and try again.`,numberedListLabel:`Numbered list`,quoteLabel:`Quote`,redoLabel:`Redo`,removeLinkLabel:`Remove link`,textFormattingLabel:`Text formatting`,undoLabel:`Undo`},yt={checkAgainLabel:`Check again`,copyReferenceLabel:`Copy reference`,errorText:`Something went wrong on our side. Try again in a moment.`,errorTitle:`This page did not load`,forbiddenText:`Ask your administrator for access, or go to the home page.`,forbiddenTitle:`You do not have access to this page`,homeLabel:`Go to the home page`,maintenanceBackBy:`We expect it back by {time} IST.`,maintenanceText:`This page is back shortly. Check again in a few minutes.`,maintenanceTitle:`We are doing some maintenance`,notFoundText:`Check the address, or go to the home page.`,notFoundTitle:`We could not find that page`,offlineText:`Check your connection, then try again.`,offlineTitle:`You are offline`,referenceLabel:`Reference`,reloadLabel:`Reload`,requestAccessLabel:`Request access`,retryLabel:`Try again`,signInLabel:`Sign in again`,signedOutText:`Sign in again to carry on where you were.`,signedOutTitle:`You are signed out`,staleText:`This app was updated while you had it open. Reload to get the new version.`,staleTitle:`A new version is ready`},bt={menuLabel:`More actions`},xt={scoreLabel:`Score`},St={companyLabel:`Company`,emailLabel:`Email`,invalidEmailText:`Enter an email address such as name@example.com.`,messageLabel:`Message`,nameLabel:`Name`,phoneLabel:`Phone number`,requiredText:`This field is required.`,submitErrorText:`We could not send your message. Please try again.`,submitLabel:`Send`},Ct={helpLabel:`More information`},wt={cancel:`Cancel`,confirmHint:`Type {word} to turn on {action}.`,confirmWordLabel:`Type {word} to confirm`,edit:`Edit`,keepEditing:`Keep editing`,save:`Save`,was:`Was {value}`},Tt={loadingLabel:`Loading`},Et={reorderLabel:`Reorder {name}`},Dt={namedTrendLabel:`{label} trend`,oneValueText:`{name} has one value, {value}.`,rangeText:`{name} from {from} to {to} across {count} points.`,trendLabel:`Trend`},Ot={label:`Loading`},kt={label:`Loading`},At={menuLabel:`More actions`},jt={empty:`Nothing here yet.`,errorText:`This item did not load. Try again.`,forbiddenText:`You do not have access to this item.`,itemsLabel:`Items`,loadingLabel:`Loading`,moveLabel:`Move`,networkText:`The connection dropped before this item loaded. Check it and try again.`,nextItemLabel:`Next item`,openLabel:`Open`,previousItemLabel:`Previous item`,readingPaneLabel:`Reading pane`,retryLabel:`Retry`,selectAllLabel:`Select all items`,selectItemLabel:`Select {title}`,selectedLabel:`{count} selected`,untitledItemLabel:`item`},Mt={label:`Progress`,stepLabel:`Step {number}`},Nt={helpLabel:`More information`},Pt={ariaLabel:`Pagination`,nextLabel:`Next page`,pageLabel:`Page {page}`,pageSizeLabel:`{count} per page`,previousLabel:`Previous page`,rangeText:`Page {page} of {pages}`,rowsPerPageLabel:`Rows per page`,summaryText:`Showing {first} to {last} of {total}`},Ft={emptyTitle:`No records found`},It={allSelectedLabel:`All {count} selected`,clearLabel:`Clear`,clearSelectionLabel:`Clear selection`,selectAllMatchingLabel:`Select all {count} matching`,selectedLabel:`{count} selected`},Lt={moreLabel:`More`,scrollTabsBackwardLabel:`Scroll tabs backward`,scrollTabsForwardLabel:`Scroll tabs forward`},Rt={clearLabel:`Clear`,helpLabel:`More information`,optionalLabel:`(optional)`},zt={autoLabel:`System`,autoModeLabel:`follows your device`,darkLabel:`Dark`,darkModeLabel:`dark`,label:`Theme`,lightLabel:`Light`,lightModeLabel:`light`},Bt={stepLabel:`Step {number}`},Vt={addAllLabel:`Add all shown`,addLabel:`Add {name}`,availableTitle:`Available`,chosenTitle:`Chosen`,dragHintText:`Press Space to pick up a row, then Left or Right to move it across, or Up and Down to reorder the chosen rows.`,emptyAvailableText:`Remove an item from Chosen to see it here.`,emptyAvailableTitle:`Everything is chosen`,emptyChosenText:`Use Add on an item, or press Enter on it.`,emptyChosenTitle:`Nothing chosen yet`,noMatchText:`No matches for "{query}"`,orderHintText:`The order of Chosen is kept. Drag the grip to reorder.`,removeAllLabel:`Remove all`,removeLabel:`Remove {name}`,searchLabel:`Search {title}`,searchPlaceholder:`Search`},Ht={description:`A new version of this app is ready.`,dismissLabel:`Dismiss`,reloadLabel:`Reload`},Ut={emptyText:`Not set`},Wt={emptyText:`Nothing new yet`,label:`What's new`,linkLabel:`Learn more`,unreadLabel:`unread`},Gt={ariaLabel:`Workspace {currentName}`,createLabel:`Create workspace`,noMatchText:`No workspaces match.`,searchPlaceholder:`Search workspaces`,triggerLabel:`Workspace {currentName}`},Kt=e=>t(e);export{re as ACCOUNT_SWITCHER_TEXT,ie as AGENDA_TEXT,ae as ALERT_TEXT,w as ASYNC_BLOCK_TEXT,se as AVATAR_GROUP_TEXT,oe as AVATAR_TEXT,ce as BANNER_TEXT,le as BREADCRUMBS_TEXT,ue as CALENDAR_TEXT,de as CARD_TEXT,u as CAROUSEL_TEXT,fe as CHANGE_LIST_TEXT,me as CHART_CARD_TEXT,pe as CHART_TEXT,ge as CHECKBOX_TEXT,he as CHECK_TEXT,ve as CHIP_GROUP_TEXT,_e as CHIP_TEXT,ye as CHOICE_CARD_TEXT,be as CHOICE_CHIP_TEXT,d as CODE_BLOCK_TEXT,xe as COLOUR_FIELD_TEXT,Se as COLUMN_MENU_TEXT,f as COMMAND_PALETTE_TEXT,p as COMMENT_THREAD_TEXT,Ce as COMPARE_TABLE_TEXT,Y as CONFIRM_DIALOG_TEXT,we as CONFIRM_PROVIDER_TEXT,h as CONSENT_BANNER_TEXT,Te as CONTEXT_MENU_TEXT,Ee as COPY_BUTTON_TEXT,te as CUSTOM_RULE_TEXT,g as DASHBOARD_GRID_TEXT,De as DASHBOARD_HEADER_TEXT,_ as DATA_TABLE_TEXT,y as DATE_PICKER_TEXT,b as DATE_RANGE_PICKER_TEXT,x as DRAWER_TEXT,Oe as DROPDOWN_TEXT,ke as DROP_ZONE_TEXT,Ae as DUE_DATE_TEXT,je as ENTRY_GRID_TEXT,Me as ERROR_BOUNDARY_TEXT,Ne as ERROR_SUMMARY_TEXT,P as FIELD_TEXT,Pe as FILE_ATTACHMENT_TEXT,Fe as FILE_PICKER_TEXT,$ as FILE_VALIDATION_TEXT,Ie as FILE_VIEWER_TEXT,Le as FILTER_BAR_TEXT,Re as FLOATING_DOCK_TEXT,s as FORMATTERS_TEXT,Be as FORMULA_STEPS_TEXT,ze as FORM_ACTIONS_TEXT,S as GANTT_TEXT,Ve as HOVER_CARD_TEXT,l as HTTP_FAILURE_TEXT,He as IDLE_TIMEOUT_DIALOG_TEXT,C as IMAGE_CROP_TEXT,Z as IMAGE_PICKER_TEXT,Ue as INFO_TIP_TEXT,T as INLINE_EDIT_TEXT,Q as INPUT_MASK_TEXT,We as INPUT_TEXT,c as KANBAN_TEXT,Ge as KBD_TEXT,Ke as KPI_TILE_TEXT,qe as LABEL_HELP_TEXT,E as LEAD_POPUP_TEXT,D as LIGHTBOX_TEXT,Je as LOAD_MORE_TEXT,m as MENTION_INPUT_TEXT,Ye as MINI_CALENDAR_TEXT,Xe as MODAL_CARD_RENDERER_TEXT,Ze as MODAL_CONTENT_TEXT,Qe as MODAL_FORM_TEXT,J as MODAL_TEXT,$e as NAVIGATION_MENU_TEXT,O as NOTIFICATION_CENTRE_TEXT,et as NUMBER_INPUT_TEXT,tt as OFFLINE_BANNER_TEXT,nt as ONBOARDING_CHECKLIST_TEXT,k as ORG_TREE_TEXT,rt as OTP_INPUT_TEXT,A as OVERFLOW_TEXT,it as PAGE_HEADER_TEXT,ee as PASSWORD_RULES_TEXT,at as PERIOD_PICKER_TEXT,ot as PERSON_TEXT,st as PHONE_NUMBER_INPUT_TEXT,j as PHONE_TEXT,ct as PRICING_CARD_TEXT,lt as QR_CODE_TEXT,ut as QUERY_BUILDER_TEXT,dt as QUEUE_BUNDLE_TEXT,pt as RADIO_GROUP_TEXT,ft as RADIO_TEXT,mt as RATING_TEXT,ht as RECORD_PAGER_TEXT,M as RELATIVE_TIME_TEXT,gt as REPEATER_TEXT,_t as RESULT_BLOCK_TEXT,vt as RICH_TEXT_TEXT,yt as ROUTE_ERROR_TEXT,bt as ROW_ACTIONS_TEXT,K as ROW_DROP_TEXT,N as SAVED_VIEWS_TEXT,xt as SCORE_SCALE_TEXT,I as SEARCH_TEXT,St as SECTION_LEAD_CAPTURE_TEXT,Ct as SEGMENTED_TEXT,F as SELECT_TEXT,wt as SETTING_ROW_TEXT,ne as SHELL_TEXT,o as SHORTCUT_KEYS_TEXT,L as SHOW_MORE_TEXT,Tt as SKELETON_SHAPES_TEXT,R as SLIDER_TEXT,Et as SORTABLE_LIST_TEXT,z as SORTABLE_TEXT,Dt as SPARKLINE_TEXT,Ot as SPINNER_TEXT,kt as SPLASH_TEXT,At as SPLIT_BUTTON_TEXT,jt as SPLIT_VIEW_TEXT,Mt as STEPPER_TEXT,Nt as SWITCH_TEXT,Pt as TABLE_PAGINATION_TEXT,Ft as TABLE_ROWS_TEXT,v as TABLE_SELECT_TEXT,It as TABLE_TOOLBAR_TEXT,Lt as TABS_TEXT,Rt as TEXTAREA_TEXT,zt as THEME_TOGGLE_TEXT,Bt as TIMELINE_TEXT,B as TIME_PICKER_TEXT,X as TOAST_TEXT,H as TOUR_ADVANCE_TEXT,V as TOUR_TEXT,Vt as TRANSFER_LIST_TEXT,W as TREE_PICKER_TEXT,U as TREE_TEXT,q as UNSAVED_CHANGES_TEXT,Ht as UPDATE_BAR_TEXT,Ut as VALUE_TEXT,Wt as WHATS_NEW_TEXT,G as WIZARD_TEXT,Gt as WORKSPACE_SWITCHER_TEXT,a as fillText,n as pluralText,i as readText,Kt as setWuiText,e as subscribeText,r as textLocale};
1
+ import{a as e,i as t,n,o as r,r as i,t as a}from"./textStore-Cs1SGBoI.js";import{t as o}from"./shortcutKeys.g-C0TeAfYL.js";import{t as s}from"./kanban.g-dtKYyIpr.js";import{t as c}from"./httpFailure.g-DjZzGxPj.js";import{t as l}from"./carousel.g-Bw_pFDzc.js";import{t as u}from"./codeBlock.g-BCF2IlK-.js";import{t as d}from"./commandPalette.g-DP-Zl8SU.js";import{t as f}from"./commentThread.g-C7L18Tvy.js";import{t as p}from"./mentionInput.g-DJo6d2Gm.js";import{t as m}from"./consentBanner.g-CZAb1BLJ.js";import{t as h}from"./dashboardGrid.g-vkCZGw6G.js";import{t as g}from"./dataTable.g-1PsmN1Nj.js";import{t as _}from"./tableSelect.g-DwI5_9Nw.js";import{t as v}from"./datePicker.g-sGQE8c3n.js";import{t as y}from"./dateRangePicker.g-Pnc37vgX.js";import{t as b}from"./drawer.g-B-zYKBfQ.js";import{t as x}from"./gantt.g-CWvMXwBR.js";import{t as S}from"./imageCrop.g-BnbAeH2Q.js";import{n as C,t as w}from"./inlineEdit.g-DKIhYoPF.js";import{t as T}from"./leadPopup.g-BfMPz9nH.js";import{t as E}from"./lightbox.g-DDrycPou.js";import{t as D}from"./notificationCentre.g-Cees-vKg.js";import{t as O}from"./orgTree.g-CIg75quV.js";import{t as k}from"./overflow.g-BfcGEhwR.js";import{t as A}from"./phone.g-P66U-SK5.js";import{t as j}from"./relativeTime.g-BH90tjJM.js";import{t as M}from"./savedViews.g-CzzEliTR.js";import{n as N,r as P,t as F}from"./search.g-chn0itlW.js";import{t as I}from"./showMore.g-BdQ5MUSd.js";import{t as L}from"./slider.g-BPNfxZEV.js";import{t as R}from"./sortable.g-BsTKys5-.js";import{t as z}from"./timePicker.g-IEczeE48.js";import{n as B,t as V}from"./tourAdvance.g-BJqDnqag.js";import{t as H}from"./tree.g-RId8xZSk.js";import{t as U}from"./treePicker.g-BR35ru5f.js";import{t as W}from"./wizard.g-UKG1dMs_.js";import{t as G}from"./rowDrop.g-DQpB10Ey.js";import{i as K,n as q,r as J,t as Y}from"./toast.g-CJ8c0BNZ.js";import{i as X,n as Z,r as Q,t as $}from"./passwordRules.g-CMYrohdd.js";import{t as ee}from"./customRule.g-Cfkl3_ZC.js";import{t as te}from"./shell.g-BhC11Oe3.js";var ne={label:`Switch account`},re={addLabel:`Add`,empty:`Nothing to show`,label:`Agenda`,showMore:`Show {count} more`},ie={closeLabel:`Close alert`},ae={photoLabel:`Profile photo`},oe={moreLabel:`{count} more`},se={dismissLabel:`Dismiss`},ce={moreLabel:`Show hidden levels`},le={agendaLabel:`Agenda`,allDayDateText:`all day, {start}`,allDayLabel:`All day`,calendarViewLabel:`Calendar view`,dayLabel:`Day`,emptyText:`Nothing scheduled in this period.`,errorText:`The events couldn't load. Try again in a moment.`,label:`Calendar`,listLabel:`List`,loadFailedText:`This calendar couldn't load. Try again in a moment.`,monthLabel:`Month`,moveThroughCalendarLabel:`Move through the calendar`,nextLabel:`Next`,previousLabel:`Previous`,rangeTitleText:`{start} to {last}`,timelineLabel:`Timeline`,todayLabel:`Today`,tryAgainLabel:`Try again`,weekLabel:`Week`},ue={closeLabel:`Close`},de={now:`Now`,was:`Was`},fe={aboveLabel:`Above`,areaChartLabel:`Area chart`,arrowKeysText:`{title}: use the arrow keys to read the values`,bandLabel:`Band`,barChartLabel:`Bar chart`,belowLabel:`Below`,bubbleChartLabel:`Bubble chart`,calendarHeatmapLabel:`Calendar heatmap`,calendarRangeText:`, from {first} to {last}`,calendarSummaryTextOne:`Calendar heatmap of {label}, {n} day.`,calendarSummaryTextOther:`Calendar heatmap of {label}, {n} days{range}.`,categoryLabel:`Category`,centerLabel:`Total`,changeLabel:`Change`,chartLabel:`chart`,columnChartLabel:`Column chart`,columnFallbackLabel:`column`,columnXLabel:`X`,constantSpanText:`{label} is {lo}.`,currencyFormatText:`This chart's currency format needs a currency code, such as "INR", in its currency field.`,dataSuffixLabel:`data`,dateLabel:`Date`,donutChartLabel:`Donut chart`,donutLargestText:`{top} is the largest, at {share}.`,donutSummaryTextOne:`Donut chart of {label} in {rows} part, {total} in all.`,donutSummaryTextOther:`Donut chart of {label} in {rows} parts, {total} in all.`,emptyText:`No data to show for this chart.`,errorText:`This chart couldn't load. Try again in a moment.`,everySeriesHiddenText:`Every series is hidden.`,firstStageLabel:`first stage`,fromLabel:`From`,funnelChartLabel:`Funnel chart`,funnelPreviousStepText:`{share} of previous step`,funnelStartText:`{first} is {firstValue} and {last} is {lastValue}, {share} of the start.`,funnelSummaryText:`Funnel chart of {label} in {n} stages.`,gaugeBandText:`, in the {band} band`,gaugeLabel:`Gauge`,gaugeSummaryText:`{type}: {label} is {value} on a scale from {min} to {max}{band}.`,groupLabel:`Group`,groupsTextOne:` in {count} group: {groups}`,groupsTextOther:` in {count} groups: {groups}`,heatmapLabel:`Heatmap`,heatmapSummaryText:`Heatmap of {label} by {group} and {x}, {n} cells.`,highestAtLowestAtText:`Highest is {highValue} at {highGroup}, {high}; lowest is {lowValue} at {lowGroup}, {low}.`,highestLowestText:`Highest is {maxValue} on {max}; lowest is {minValue} on {min}.`,itemLabel:`Item`,largestFallText:`The largest fall is {xText}, {signed}.`,largestFlowText:`The largest flow is {xText} to {toText}, {fmtAt}.`,largestRiseText:`The largest rise is {xText}, {signed}.`,latestText:`Latest {latest}`,legendLabel:`Legend`,lessLabel:`Less`,lineChartLabel:`Line chart`,loadingText:`Loading chart`,measureLabel:`Measure`,moreLabel:`More`,ofFirstStepText:`Of {first}`,ofPreviousStepLabel:`Of previous step`,openingShareText:`{share} of opening`,opensAtClosesAtText:`It opens at {opening} and closes at {closing}.`,otherLabel:`Other`,pointsSummaryTextOne:`{n} point, {first}.`,pointsSummaryTextOther:`{n} points, from {first} to {last}.`,rangeSpanText:`{label} runs from {lo} to {hi}.`,rowFallbackLabel:`row`,rowLabel:`Row`,runningTotalLabel:`Running total`,sankeyLabel:`Sankey diagram`,sankeySummaryText:`Sankey diagram of {label}: {n} flows between {nodes} places.`,scaleLabel:`Scale`,scaleRangeText:`{min} to {max}`,scatterPlotLabel:`Scatter plot`,scatterSummaryText:`{type} of {label} against {xLabel}, {count} points{groups}.`,shareLabel:`Share`,shareOfAllLabel:`Share of all`,shareOfGroupLabel:`Share of group`,shareOfParentText:`Share of {parent}`,shareOfStepText:`{share} of {first}`,sharedAxisText:`, sharing one x axis`,showingFirstRowsDownloadText:`Showing the first {rows} of {total} rows. Download the CSV for all of them.`,smallMultiplesLabel:`Small multiples`,soFarText:`so far`,stackedPercentText:`, stacked to 100%`,stackedText:`, stacked`,stageLabel:`Stage`,stepLabel:`Step`,summaryText:`{type} of {series}{stacked}{sharedAxis}.`,targetGapText:`{direction} {label} by {gap}`,targetLabel:`target`,toLabel:`To`,tooManyGroupsText:`This chart has more groups than it can show clearly.`,tooManySeriesText:`This chart has more series than it can show clearly.`,totalText:`Total {total}`,treemapEmptyText:`Treemap of {label}: no items.`,treemapLabel:`Treemap`,treemapLargestGroupText:`{name} is the largest group, at {share}.`,treemapSummaryText:`Treemap of {label}: {n} items in {totals} groups, {total} in all.`,trendLabel:`Trend`,untitledLabel:`Chart`,waterfallLabel:`Waterfall chart`,waterfallSummaryText:`Waterfall chart of {label}.`},pe={chartViewLabel:`Chart`,downloadCsvLabel:`Download CSV`,downloadPngLabel:`Download PNG`,legendLabel:`Show legend`,legendTitle:`Show or hide the legend`,moreActionsForLabel:`More actions for {title}`,moreActionsLabel:`More actions`,retryLabel:`Try again`,tableViewLabel:`Table`,viewLabel:`View`},me={helpLabel:`More information`},he={helpLabel:`More information`},ge={removeLabel:`Remove`,removeText:`Remove {content}`},_e={moreLabel:`More`},ve={helpLabel:`More information`},ye={helpLabel:`More information`},be={colourLabel:`Colour`,colourPickerLabel:`{label}, colour picker`,helpLabel:`More information`,optionalLabel:`(optional)`},xe={label:`Columns`},Se={noLabel:`No`,partialLabel:`Partial`,warningLabel:`Warning`,yesLabel:`Yes`},Ce={title:`Are you sure?`},we={ariaLabel:`Context menu`,searchPlaceholder:`Search`},Te={copiedLabel:`Copied`,label:`Copy`},Ee={amLabel:`am`,pmLabel:`pm`,updatedLabel:`Updated {time} IST`},De={label:`Menu`,noMatch:`No matches.`,noMatchText:`No matches.`,searchPlaceholder:`Search`},Oe={anyTypeText:`Any file type`,browseLabel:`Click to upload`,dropLabel:`or drag & drop`,maxSizeText:`up to {size} MB`,removeAttachmentLabel:`Remove attachment`},ke={daysLeftLabel:`{days} days left`,dueInLabel:`Due in {days} days`,dueTodayLabel:`Due today`,dueTomorrowLabel:`Due tomorrow`,notSetLabel:`Not set`,oneDayLeftLabel:`1 day left`,overdueSinceLabel:`Overdue since {date}`},Ae={addLabel:`Add line`,cancelLabel:`Cancel`,commitNextLabel:`Save and go to the next line`,commitStayLabel:`Save`,dirtyLabel:`Changed`,discardLabel:`Discard changes`,emptyLabel:`No lines yet`,failedLabel:`Not saved`,label:`Entry lines`,moveLabel:`Move between lines`,removeLineLabel:`Remove line`,rowActionsLabel:`Actions`,savedLabel:`Saved`,savingLabel:`Saving`,statusLabel:`Status`},je={reloadPageLabel:`Reload the page`},Me={titleOne:`Fix {count} field to continue`,titleOther:`Fix {count} fields to continue`},Ne={attachmentLabel:`attachment`,browseLabel:`Browse`,dropFileTitleOne:`Add a file`,dropFileTitleOther:`Add files`,dropImageTitleOne:`Add an image`,dropImageTitleOther:`Add images`,dropTitleOne:`Add {article} {noun}`,dropTitleOther:`Add {noun}s`,label:`Attachment`,maxSizeText:`Up to {size} MB`,optionalLabel:`(optional)`,removeFileLabel:`Remove {name}`,removeLabel:`Remove attachment`,typesAndMaxSizeText:`{types}, up to {size} MB`,uploadingLabel:`Uploading {name}`},Pe={browseLabel:`Click to upload`,buttonLabel:`Add file`,changeFileLabel:`Change file`,changeImageLabel:`Change image`,changeNamedText:`Change {label}`,dropLabel:`or drag & drop`,fileLabel:`file`,helpLabel:`More information`,imageLabel:`image`,loadingLabel:`Loading`,maxFilesText:`Up to {count} files.`,maxSizeText:`up to {size} MB`,optionalLabel:`(optional)`,previewAltText:`{label} preview`,previewError:`This image could not be loaded.`,previewRetry:`Try again`,removeFileLabel:`Remove {name}`,removeNamedText:`Remove {label}`,selectedPreviewText:`Selected {noun} preview`},Fe={audioLabel:`Audio`,captionsLabel:`Captions`,closeSearchLabel:`Close search`,documentLabel:`Document`,documentPagesLabel:`Document pages`,documentPrintingTitle:`Document for printing`,downloadLabel:`Download`,exitFullScreenLabel:`Exit full screen`,fitLabel:`Fit`,fitPageLabel:`Fit page`,fitWidthLabel:`Fit width`,fullScreenLabel:`Full screen`,goToPageText:`Go to page {targetPage}`,hideCaptionsLabel:`Hide captions`,hideThumbnailsLabel:`Hide thumbnails`,imageLabel:`Image`,imagePrintingTitle:`Image for printing`,loadingText:`Loading...`,muteLabel:`Mute`,nextMatchLabel:`Next match`,nextPageLabel:`Next page`,noFileText:`No file to show.`,noMatchesText:`No matches`,openFailedText:`Couldn't open this file.`,pageNumberLabel:`Page number`,pauseLabel:`Pause`,playLabel:`Play`,playbackSpeedLabel:`Playback speed`,playbackSpeedText:`Playback speed, {label}`,preparingPrintLabel:`Preparing to print`,previousMatchLabel:`Previous match`,previousPageLabel:`Previous page`,printLabel:`Print`,rotateLeftLabel:`Rotate left`,rotateRightLabel:`Rotate right`,searchDocumentLabel:`Search the document`,searchPositionText:`{position} of {total}{plus}`,searchUnavailableText:`Search isn't available for this document.`,searchingText:`Searching...`,seekLabel:`Seek`,seekValueText:`{now} of {total}`,showCaptionsLabel:`Show captions`,showThumbnailsLabel:`Show thumbnails`,twoPageViewLabel:`Two-page view`,unmuteLabel:`Unmute`,unsupportedFileText:`This file can't be shown here.`,videoLabel:`Video`,volumeLabel:`Volume`,zoomInLabel:`Zoom in`,zoomLabel:`Zoom`,zoomOutLabel:`Zoom out`,zoomText:`Zoom, {percent}%`},Ie={allLabel:`All`,anyLabel:`Any`,appliesAtOnceText:`Changes apply at once.`,applyLabel:`Apply`,clearAllLabel:`Clear all`,dateFromText:`From {date}`,dateRangeText:`{from} to {to}`,dateUntilText:`Until {date}`,filtersActiveLabel:`Filters, {count} active`,filtersLabel:`Filters`,keepOpenLabel:`Keep open`,removeChipLabel:`Remove {facet} filter {value}`},Le={ariaLabel:`Quick navigation`},Re={dirty:`Unsaved changes`,invalidOne:`1 field needs attention`,invalidOther:`{count} fields need attention`,pristine:`No changes yet`,saved:`Saved at {time}`,saving:`Saving changes`},ze={aprShortLabel:`Apr`,aprilLabel:`April`,augShortLabel:`Aug`,augustLabel:`August`,decShortLabel:`Dec`,decemberLabel:`December`,emptyValueLabel:`-`,febShortLabel:`Feb`,februaryLabel:`February`,friMinLabel:`Fr`,friShortLabel:`Fri`,fridayLabel:`Friday`,janShortLabel:`Jan`,januaryLabel:`January`,julShortLabel:`Jul`,julyLabel:`July`,junShortLabel:`Jun`,juneLabel:`June`,marShortLabel:`Mar`,marchLabel:`March`,mayLabel:`May`,mayShortLabel:`May`,monMinLabel:`Mo`,monShortLabel:`Mon`,mondayLabel:`Monday`,novShortLabel:`Nov`,novemberLabel:`November`,octShortLabel:`Oct`,octoberLabel:`October`,satMinLabel:`Sa`,satShortLabel:`Sat`,saturdayLabel:`Saturday`,sepShortLabel:`Sep`,septemberLabel:`September`,sunMinLabel:`Su`,sunShortLabel:`Sun`,sundayLabel:`Sunday`,thuMinLabel:`Th`,thuShortLabel:`Thu`,thursdayLabel:`Thursday`,tueMinLabel:`Tu`,tueShortLabel:`Tue`,tuesdayLabel:`Tuesday`,wedMinLabel:`We`,wedShortLabel:`Wed`,wednesdayLabel:`Wednesday`},Be={divideLabel:`divided by`,equalLabel:`equals`,label:`Calculation`,minusLabel:`minus`,plusLabel:`plus`,timesLabel:`times`},Ve={loadingLabel:`Loading`},He={description:`You will be signed out in {time} because there has been no activity.`,signOutLabel:`Sign out`,stayLabel:`Stay signed in`,title:`Are you still there?`},Ue={label:`More information`},We={clearLabel:`Clear`,helpLabel:`More information`,hidePasswordLabel:`Hide password`,optionalLabel:`(optional)`,requirementMetLabel:`: met`,requirementNotMetLabel:`: not met`,requirementsTitle:`Password requirements`,showPasswordLabel:`Show password`},Ge={ctrlLabel:`Ctrl`,enterLabel:`Enter`,escLabel:`Esc`},Ke={noData:`No data`,periodLabel:`vs last period`},qe={helpLabel:`More information`},Je={failedText:`Could not load more`,finishedText:`You are all caught up.`,loadMoreLabel:`Load more`,loadingLabel:`Loading more`,retryLabel:`Try again`},Ye={label:`Calendar`},Xe={backLabel:`Back`,closeLabel:`Close`},Ze={backLabel:`Back`},Qe={cancelLabel:`Cancel`,submitLabel:`Save`},$e={ariaLabel:`Main`},et={decreaseLabel:`Decrease`,helpLabel:`More information`,increaseLabel:`Increase`,optionalLabel:`(optional)`},tt={backOnlineText:`You are back online`,checkAgainLabel:`Check again`,loadedAtText:`Showing what loaded at {time}.`,loadedText:`Showing what loaded.`,offlineText:`You are offline.`},nt={dismissLabel:`Dismiss checklist`,donePrefixText:`Done:`,headCountSkippedText:`{done} of {total} done, {skipped} skipped`,headCountText:`{done} of {total} done`,restoreLabel:`Show setup checklist`,skippedPrefixText:`Skipped:`,title:`Get started`},rt={helpLabel:`More information`,optionalLabel:`(optional)`},it={moreLabel:`More`,selectedText:`{count} selected`},at={applyLabel:`Apply`,dayCountOne:`1 day`,dayCountOther:`{count} days`,financialYearText:`FY {startYear}-{endYear}`,label:`Period`,nextMonthLabel:`Next month`,previousMonthLabel:`Previous month`,quarterPrefixText:`Q`,shortDaySuffixText:`d`,startEndPlaceholder:`Start to End`},ot={youLabel:`You`},st={helpLabel:`More information`,label:`Phone number`,optionalLabel:`(optional)`},ct={badge:`Most popular`},lt={title:`QR code`},ut={addConditionLabel:`Add condition`,addGroupLabel:`Add group`,andLabel:`and`,applyLabel:`Apply filter`,cancelLabel:`Cancel`,clearAllLabel:`Clear all`,closeLabel:`Close filters`,conditionCountTextOne:`{count} condition`,conditionCountTextOther:`{count} conditions`,datePlaceholder:`DD-MMM-YYYY`,emptySummaryText:`No conditions. The whole list shows.`,emptyText:`Add a condition to narrow the list.`,emptyTitle:`No conditions yet`,emptyValueText:`…`,fieldLabel:`Field`,filtersCountLabel:`Filters · {count}`,filtersLabel:`Filters`,groupCountTextOne:`in {count} group`,groupCountTextOther:`in {count} groups`,incompleteTextOne:`{count} condition is incomplete`,incompleteTextOther:`{count} conditions are incomplete`,matchAllLabel:`All`,matchAnyLabel:`Any`,matchLabel:`Match`,matchSuffixText:`of these`,maxPlaceholder:`Max`,minPlaceholder:`Min`,multiPlaceholder:`Select values`,noLabel:`No`,operatorBetween:`is between`,operatorContains:`contains`,operatorGt:`is over`,operatorGtDate:`is after`,operatorInLast:`in the last`,operatorIs:`is`,operatorIsAnyOf:`is any of`,operatorIsEmpty:`is empty`,operatorIsNot:`is not`,operatorLabel:`Operator`,operatorLt:`is under`,operatorLtDate:`is before`,orLabel:`or`,panelTitle:`Filters`,rangeJoinText:`and`,removeClauseLabel:`Remove filter: {clause}`,removeConditionLabel:`Remove condition`,removeGroupLabel:`Remove group`,singlePlaceholder:`Select a value`,textPlaceholder:`Type to match`,unitDays:`days`,unitLabel:`Unit`,unitMonths:`months`,unitWeeks:`weeks`,valueLabel:`Value`,valueRequiredText:`Enter a value`,yesLabel:`Yes`},dt={allApprovedLabel:`All approved`,approveLabel:`Approve {count}`,approveMoreLabel:`Approve {count} more`,checkListLabel:`Check the list`,runningLabel:`{done} of {total} approved`,statusBusyLabel:`Approving`,statusDoneLabel:`Approved`,statusFailedLabel:`Not approved`},ft={helpLabel:`More information`},pt={helpLabel:`More information`,optionalLabel:`(optional)`},mt={helpLabel:`More information`,ratingLabel:`Rating`,starLabel:`{count} star`,starsLabel:`{count} stars`,valueText:`{value} out of {max}`},ht={nextLabel:`Next`,positionText:`{position} of {total}`,prevLabel:`Previous`},gt={addLabel:`Add another`,removeLabel:`Remove row`},_t={copiedLabel:`Copied`,copyLabel:`Copy reference`,referenceLabel:`Reference`},vt={applyLabel:`Apply`,ariaLabel:`Rich text`,boldLabel:`Bold`,bulletedListLabel:`Bulleted list`,cancelLabel:`Cancel`,closeLinkBoxLabel:`Close link box`,codeBlockLabel:`Code block`,heading2Label:`Heading 2`,heading3Label:`Heading 3`,helpLabel:`More information`,inlineCodeLabel:`Inline code`,italicLabel:`Italic`,linkAddressLabel:`Link address`,linkErrorMessage:`Use a web address, an email address or a phone number.`,linkLabel:`Link`,loadFailedText:`The editor couldn't load. Reload the page and try again.`,numberedListLabel:`Numbered list`,quoteLabel:`Quote`,redoLabel:`Redo`,removeLinkLabel:`Remove link`,textFormattingLabel:`Text formatting`,undoLabel:`Undo`},yt={checkAgainLabel:`Check again`,copyReferenceLabel:`Copy reference`,errorText:`Something went wrong on our side. Try again in a moment.`,errorTitle:`This page did not load`,forbiddenText:`Ask your administrator for access, or go to the home page.`,forbiddenTitle:`You do not have access to this page`,homeLabel:`Go to the home page`,maintenanceBackBy:`We expect it back by {time} IST.`,maintenanceText:`This page is back shortly. Check again in a few minutes.`,maintenanceTitle:`We are doing some maintenance`,notFoundText:`Check the address, or go to the home page.`,notFoundTitle:`We could not find that page`,offlineText:`Check your connection, then try again.`,offlineTitle:`You are offline`,referenceLabel:`Reference`,reloadLabel:`Reload`,requestAccessLabel:`Request access`,retryLabel:`Try again`,signInLabel:`Sign in again`,signedOutText:`Sign in again to carry on where you were.`,signedOutTitle:`You are signed out`,staleText:`This app was updated while you had it open. Reload to get the new version.`,staleTitle:`A new version is ready`},bt={menuLabel:`More actions`},xt={scoreLabel:`Score`},St={companyLabel:`Company`,emailLabel:`Email`,invalidEmailText:`Enter an email address such as name@example.com.`,messageLabel:`Message`,nameLabel:`Name`,phoneLabel:`Phone number`,requiredText:`This field is required.`,submitErrorText:`We could not send your message. Please try again.`,submitLabel:`Send`},Ct={helpLabel:`More information`},wt={cancel:`Cancel`,confirmHint:`Type {word} to turn on {action}.`,confirmWordLabel:`Type {word} to confirm`,edit:`Edit`,keepEditing:`Keep editing`,save:`Save`,was:`Was {value}`},Tt={loadingLabel:`Loading`},Et={reorderLabel:`Reorder {name}`},Dt={namedTrendLabel:`{label} trend`,oneValueText:`{name} has one value, {value}.`,rangeText:`{name} from {from} to {to} across {count} points.`,trendLabel:`Trend`},Ot={label:`Loading`},kt={label:`Loading`},At={menuLabel:`More actions`},jt={empty:`Nothing here yet.`,errorText:`This item did not load. Try again.`,forbiddenText:`You do not have access to this item.`,itemsLabel:`Items`,loadingLabel:`Loading`,moveLabel:`Move`,networkText:`The connection dropped before this item loaded. Check it and try again.`,nextItemLabel:`Next item`,openLabel:`Open`,previousItemLabel:`Previous item`,readingPaneLabel:`Reading pane`,retryLabel:`Retry`,selectAllLabel:`Select all items`,selectItemLabel:`Select {title}`,selectedLabel:`{count} selected`,untitledItemLabel:`item`},Mt={label:`Progress`,stepLabel:`Step {number}`},Nt={helpLabel:`More information`},Pt={ariaLabel:`Pagination`,nextLabel:`Next page`,pageLabel:`Page {page}`,pageSizeLabel:`{count} per page`,previousLabel:`Previous page`,rangeText:`Page {page} of {pages}`,rowsPerPageLabel:`Rows per page`,summaryText:`Showing {first} to {last} of {total}`},Ft={emptyTitle:`No records found`},It={allSelectedLabel:`All {count} selected`,clearLabel:`Clear`,clearSelectionLabel:`Clear selection`,selectAllMatchingLabel:`Select all {count} matching`,selectedLabel:`{count} selected`},Lt={moreLabel:`More`,scrollTabsBackwardLabel:`Scroll tabs backward`,scrollTabsForwardLabel:`Scroll tabs forward`},Rt={clearLabel:`Clear`,helpLabel:`More information`,optionalLabel:`(optional)`},zt={autoLabel:`System`,autoModeLabel:`follows your device`,darkLabel:`Dark`,darkModeLabel:`dark`,label:`Theme`,lightLabel:`Light`,lightModeLabel:`light`},Bt={stepLabel:`Step {number}`},Vt={addAllLabel:`Add all shown`,addLabel:`Add {name}`,availableTitle:`Available`,chosenTitle:`Chosen`,dragHintText:`Press Space to pick up a row, then Left or Right to move it across, or Up and Down to reorder the chosen rows.`,emptyAvailableText:`Remove an item from Chosen to see it here.`,emptyAvailableTitle:`Everything is chosen`,emptyChosenText:`Use Add on an item, or press Enter on it.`,emptyChosenTitle:`Nothing chosen yet`,noMatchText:`No matches for "{query}"`,orderHintText:`The order of Chosen is kept. Drag the grip to reorder.`,removeAllLabel:`Remove all`,removeLabel:`Remove {name}`,searchLabel:`Search {title}`,searchPlaceholder:`Search`},Ht={description:`A new version of this app is ready.`,dismissLabel:`Dismiss`,reloadLabel:`Reload`},Ut={emptyText:`Not set`},Wt={emptyText:`Nothing new yet`,label:`What's new`,linkLabel:`Learn more`,unreadLabel:`unread`},Gt={ariaLabel:`Workspace {currentName}`,createLabel:`Create workspace`,noMatchText:`No workspaces match.`,searchPlaceholder:`Search workspaces`,triggerLabel:`Workspace {currentName}`},Kt=e=>t(e);export{ne as ACCOUNT_SWITCHER_TEXT,re as AGENDA_TEXT,ie as ALERT_TEXT,C as ASYNC_BLOCK_TEXT,oe as AVATAR_GROUP_TEXT,ae as AVATAR_TEXT,se as BANNER_TEXT,ce as BREADCRUMBS_TEXT,le as CALENDAR_TEXT,ue as CARD_TEXT,l as CAROUSEL_TEXT,de as CHANGE_LIST_TEXT,pe as CHART_CARD_TEXT,fe as CHART_TEXT,he as CHECKBOX_TEXT,me as CHECK_TEXT,_e as CHIP_GROUP_TEXT,ge as CHIP_TEXT,ve as CHOICE_CARD_TEXT,ye as CHOICE_CHIP_TEXT,u as CODE_BLOCK_TEXT,be as COLOUR_FIELD_TEXT,xe as COLUMN_MENU_TEXT,d as COMMAND_PALETTE_TEXT,f as COMMENT_THREAD_TEXT,Se as COMPARE_TABLE_TEXT,J as CONFIRM_DIALOG_TEXT,Ce as CONFIRM_PROVIDER_TEXT,m as CONSENT_BANNER_TEXT,we as CONTEXT_MENU_TEXT,Te as COPY_BUTTON_TEXT,ee as CUSTOM_RULE_TEXT,h as DASHBOARD_GRID_TEXT,Ee as DASHBOARD_HEADER_TEXT,g as DATA_TABLE_TEXT,v as DATE_PICKER_TEXT,y as DATE_RANGE_PICKER_TEXT,b as DRAWER_TEXT,De as DROPDOWN_TEXT,Oe as DROP_ZONE_TEXT,ke as DUE_DATE_TEXT,Ae as ENTRY_GRID_TEXT,je as ERROR_BOUNDARY_TEXT,Me as ERROR_SUMMARY_TEXT,N as FIELD_TEXT,Ne as FILE_ATTACHMENT_TEXT,Pe as FILE_PICKER_TEXT,Q as FILE_VALIDATION_TEXT,Fe as FILE_VIEWER_TEXT,Ie as FILTER_BAR_TEXT,Le as FLOATING_DOCK_TEXT,ze as FORMATTERS_TEXT,Be as FORMULA_STEPS_TEXT,Re as FORM_ACTIONS_TEXT,x as GANTT_TEXT,Ve as HOVER_CARD_TEXT,c as HTTP_FAILURE_TEXT,He as IDLE_TIMEOUT_DIALOG_TEXT,S as IMAGE_CROP_TEXT,X as IMAGE_PICKER_TEXT,Ue as INFO_TIP_TEXT,w as INLINE_EDIT_TEXT,Z as INPUT_MASK_TEXT,We as INPUT_TEXT,s as KANBAN_TEXT,Ge as KBD_TEXT,Ke as KPI_TILE_TEXT,qe as LABEL_HELP_TEXT,T as LEAD_POPUP_TEXT,E as LIGHTBOX_TEXT,Je as LOAD_MORE_TEXT,p as MENTION_INPUT_TEXT,Ye as MINI_CALENDAR_TEXT,Xe as MODAL_CARD_RENDERER_TEXT,Ze as MODAL_CONTENT_TEXT,Qe as MODAL_FORM_TEXT,q as MODAL_TEXT,$e as NAVIGATION_MENU_TEXT,D as NOTIFICATION_CENTRE_TEXT,et as NUMBER_INPUT_TEXT,tt as OFFLINE_BANNER_TEXT,nt as ONBOARDING_CHECKLIST_TEXT,O as ORG_TREE_TEXT,rt as OTP_INPUT_TEXT,k as OVERFLOW_TEXT,it as PAGE_HEADER_TEXT,$ as PASSWORD_RULES_TEXT,at as PERIOD_PICKER_TEXT,ot as PERSON_TEXT,st as PHONE_NUMBER_INPUT_TEXT,A as PHONE_TEXT,ct as PRICING_CARD_TEXT,lt as QR_CODE_TEXT,ut as QUERY_BUILDER_TEXT,dt as QUEUE_BUNDLE_TEXT,pt as RADIO_GROUP_TEXT,ft as RADIO_TEXT,mt as RATING_TEXT,ht as RECORD_PAGER_TEXT,j as RELATIVE_TIME_TEXT,gt as REPEATER_TEXT,_t as RESULT_BLOCK_TEXT,vt as RICH_TEXT_TEXT,yt as ROUTE_ERROR_TEXT,bt as ROW_ACTIONS_TEXT,G as ROW_DROP_TEXT,M as SAVED_VIEWS_TEXT,xt as SCORE_SCALE_TEXT,F as SEARCH_TEXT,St as SECTION_LEAD_CAPTURE_TEXT,Ct as SEGMENTED_TEXT,P as SELECT_TEXT,wt as SETTING_ROW_TEXT,te as SHELL_TEXT,o as SHORTCUT_KEYS_TEXT,I as SHOW_MORE_TEXT,Tt as SKELETON_SHAPES_TEXT,L as SLIDER_TEXT,Et as SORTABLE_LIST_TEXT,R as SORTABLE_TEXT,Dt as SPARKLINE_TEXT,Ot as SPINNER_TEXT,kt as SPLASH_TEXT,At as SPLIT_BUTTON_TEXT,jt as SPLIT_VIEW_TEXT,Mt as STEPPER_TEXT,Nt as SWITCH_TEXT,Pt as TABLE_PAGINATION_TEXT,Ft as TABLE_ROWS_TEXT,_ as TABLE_SELECT_TEXT,It as TABLE_TOOLBAR_TEXT,Lt as TABS_TEXT,Rt as TEXTAREA_TEXT,zt as THEME_TOGGLE_TEXT,Bt as TIMELINE_TEXT,z as TIME_PICKER_TEXT,Y as TOAST_TEXT,V as TOUR_ADVANCE_TEXT,B as TOUR_TEXT,Vt as TRANSFER_LIST_TEXT,U as TREE_PICKER_TEXT,H as TREE_TEXT,K as UNSAVED_CHANGES_TEXT,Ht as UPDATE_BAR_TEXT,Ut as VALUE_TEXT,Wt as WHATS_NEW_TEXT,W as WIZARD_TEXT,Gt as WORKSPACE_SWITCHER_TEXT,a as fillText,n as pluralText,i as readText,Kt as setWuiText,e as subscribeText,r as textLocale};
@@ -0,0 +1 @@
1
+ var e={aprShortLabel:`Apr`,aprilLabel:`April`,augShortLabel:`Aug`,augustLabel:`August`,decShortLabel:`Dec`,decemberLabel:`December`,emptyValueLabel:`-`,febShortLabel:`Feb`,februaryLabel:`February`,friMinLabel:`Fr`,friShortLabel:`Fri`,fridayLabel:`Friday`,janShortLabel:`Jan`,januaryLabel:`January`,julShortLabel:`Jul`,julyLabel:`July`,junShortLabel:`Jun`,juneLabel:`June`,marShortLabel:`Mar`,marchLabel:`March`,mayLabel:`May`,mayShortLabel:`May`,monMinLabel:`Mo`,monShortLabel:`Mon`,mondayLabel:`Monday`,novShortLabel:`Nov`,novemberLabel:`November`,octShortLabel:`Oct`,octoberLabel:`October`,satMinLabel:`Sa`,satShortLabel:`Sat`,saturdayLabel:`Saturday`,sepShortLabel:`Sep`,septemberLabel:`September`,sunMinLabel:`Su`,sunShortLabel:`Sun`,sundayLabel:`Sunday`,thuMinLabel:`Th`,thuShortLabel:`Thu`,thursdayLabel:`Thursday`,tueMinLabel:`Tu`,tueShortLabel:`Tue`,tuesdayLabel:`Tuesday`,wedMinLabel:`We`,wedShortLabel:`Wed`,wednesdayLabel:`Wednesday`},t=e,n=t=>Object.getOwnPropertyDescriptor(e,t)!==void 0;function r(r){let i={...e};for(let[t,a]of Object.entries(r))if(a!==void 0){if(!n(t))throw RangeError(`Format text ${t} is not a key of the default text. Allowed keys: ${Object.keys(e).join(`, `)}.`);if(typeof a!=`string`)throw RangeError(`Format text ${t} must be a string.`);i[t]=a}t=i}function i(){return t}var a=`en-IN`,o=/\{([A-Za-z0-9_]+)\}/g,s=(e,t)=>Object.getOwnPropertyDescriptor(e,t)!==void 0,c,l=/* @__PURE__ */ new Map,u=0,d=/* @__PURE__ */ new Set,f=/* @__PURE__ */ new Map;function p(e){let t=/* @__PURE__ */ new Map,n,i=Object.entries(e);for(let[e,r]of i)if(r!==void 0){if(e===`locale`){if(typeof r!=`string`)throw RangeError(`Text locale must be a BCP 47 tag string.`);n=r}else{if(!C(r))throw RangeError(`Text ${e} must be an object of string keys.`);t.set(e,w(e,r))}}r(t.get(`formatters`)??{}),c=n,l=t,u+=1;for(let e of Array.from(d))e()}function m(e,t){let n=l.get(e);if(n===void 0)return t;let r=f.get(e);if(r!==void 0&&r.version===u&&r.english===t&&E(r.merged,t))return r.merged;let i=T(e,n,t);return f.set(e,{version:u,english:t,merged:i}),i}function h(e){return d.add(e),()=>{d.delete(e)}}function g(){return c??a}var _=e=>e===1?`one`:`other`,v=e=>Math.trunc(Math.abs(e))===0||e===1?`one`:`other`,y={en:_,ta:_,te:_,ml:_,mr:_,ne:_,or:_,ur:_,hi:v,bn:v,gu:v,kn:v,as:v,pa:v};function b(e,t){let n=e.split(/[-_]/)[0]?.toLowerCase()??``,r=s(y,n)?y[n]:void 0;if(r===void 0)throw RangeError(`No plural rule for locale "${e}". Supported languages: ${Object.keys(y).join(`, `)}.`);return r(t)}function x(e,t){return e.replace(o,(e,n)=>s(t,n)?String(t[n]):e)}function S(e,t,n,r){let i=`${t}Other`;if(!s(e,i))throw RangeError(`Plural text ${t} has no ${i} key; every plural needs its Other form.`);let a=b(g(),n),o=`${t}${a.charAt(0).toUpperCase()}${a.slice(1)}`,c=e[s(e,o)?o:i];if(c===void 0)throw RangeError(`Plural text ${t} has no ${o} key.`);return x(c,{count:n,...r})}function C(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function w(e,t){let n={};for(let[r,i]of Object.entries(t)){if(typeof i!=`string`)throw RangeError(`Text ${e}.${r} must be a string.`);n[r]=i}return n}function T(e,t,n){let r={};for(let[i,a]of Object.entries(t)){let t=s(n,i)?n[i]:void 0;if(t===void 0)throw RangeError(`Text ${e}.${i} is not a key of the English text. Allowed keys: ${Object.keys(n).join(`, `)}.`);let o=D(t);for(let t of D(a))if(!o.includes(t))throw RangeError(`Text ${e}.${i} uses {${t}}, which the English text does not have. Allowed placeholders: ${o.length===0?`none`:o.map(e=>`{${e}}`).join(`, `)}.`);r[i]=a}return Object.assign({},n,r)}function E(e,t){let n=Object.keys(t);return Object.keys(e).length===n.length&&n.every(t=>s(e,t))}function D(e){return Array.from(e.matchAll(o),e=>e[1]??``)}export{h as a,p as i,S as n,g as o,m as r,i as s,x as t};
@@ -1 +1 @@
1
- import{i as e,t}from"./dom-DMQu--xV.js";import{r as n,t as r}from"./textStore-Dh5iyZSR.js";import{t as i}from"./devWarn-DXdRWZs3.js";import{n as a}from"./imeSafeEnter-DeO_3lXy.js";import{t as o}from"./rowDrop.g-DQpB10Ey.js";var s=`wui:row-drop`,c=`is-drop-over`,l=`application/x-wui-rows`,u=`wui-row-dragging`,d=`[data-wui-drop-target]`,f=`tbody tr[data-row-key]`,ee=`input, button, a, select, textarea, label`,p=`.wui-select-cell .form-check-input`,m=/* @__PURE__ */ new WeakMap,h=/* @__PURE__ */ new WeakSet,g=null,_=null;function v(e){let t=e.querySelector(p);return t instanceof HTMLInputElement&&t.checked}function y(e){let t=[];for(let n of e.querySelectorAll(`tbody tr:not(.wui-group-row)`))n instanceof HTMLElement&&v(n)&&t.push(n.dataset.rowKey);return t}function b(e,n){return t(e,n)}function x(e,t){let n=b(e,t);return n instanceof HTMLElement?n:null}function te(e){let t=e.textContent;if(t===null)throw Error(`A drop target has no text content.`);return t.trim()}var S=e=>typeof e==`object`&&!!e&&`selected`in e&&typeof e.selected==`number`;function C(){g=null,document.body.classList.remove(u);for(let e of document.querySelectorAll(`${d}.${c}`))e.classList.remove(c)}function w(e,t,n){e.dispatchEvent(new CustomEvent(s,{bubbles:!0,detail:{keys:t,target:n.dataset.wuiDropTarget}}))}function T(t){let n=x(t.target,d);if(!n||!g)return;t.preventDefault();let r=e(t.dataTransfer,`A drag event arrived without its DataTransfer.`);r.dropEffect=`move`,n.classList.add(c)}function ne(e){let t=x(e.target,d);!t||e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||t.classList.remove(c)}function re(e){let t=x(e.target,d);if(!t||!g)return;e.preventDefault(),t.classList.remove(c);let{root:n,keys:r}=g;w(n,r,t),C()}function E(e){let t=x(e.target,d);t&&_?.keys.length&&(e.preventDefault(),w(_.root,_.keys,t))}function ie(e){(a(e)||e.key===` `)&&E(e)}function ae(e){h.has(e)||(h.add(e),e.addEventListener(`dragover`,T),e.addEventListener(`dragenter`,T),e.addEventListener(`dragleave`,ne),e.addEventListener(`drop`,re),e.addEventListener(`click`,E),e.addEventListener(`keydown`,ie))}function oe(t){let n=m.get(t);if(n)return n;ae(t.ownerDocument||t);let r=e=>{let n=x(e.target,f);if(!n||!t.contains(n))return;let r=b(e.target,ee);r&&n.contains(r)||(n.draggable=!0)},i=n=>{let r=x(n.target,f);if(!r||!t.contains(r))return;let i=v(r)?y(t):[r.dataset.rowKey],a=e(n.dataTransfer,`A drag event arrived without its DataTransfer.`);a.setData(l,JSON.stringify(i)),a.setData(`text/plain`,i.join(`,`)),a.effectAllowed=`move`,g={root:t,keys:i},document.body.classList.add(u)},a=e=>{let n=e instanceof CustomEvent?e.detail:void 0;if(S(n)){let{keys:e}=n;n.selected>0?_={root:t,keys:Array.isArray(e)?e:y(t)}:n.selected===0&&(_=null)}O(document)};t.addEventListener(`pointerdown`,r),t.addEventListener(`dragstart`,i),t.addEventListener(`dragend`,C),t.addEventListener(`selectionchange`,a);let o=()=>{t.removeEventListener(`pointerdown`,r),t.removeEventListener(`dragstart`,i),t.removeEventListener(`dragend`,C),t.removeEventListener(`selectionchange`,a),m.delete(t)};return m.set(t,o),o}var D=()=>n(`rowDrop`,o);function O(e=document){let t=e.querySelector(`[data-wui-row-drag] tbody tr:not(.wui-group-row) ${p}:checked`)!==null;for(let n of e.querySelectorAll(d)){n.tagName!==`BUTTON`&&(n.setAttribute(`role`,`button`),n.setAttribute(`tabindex`,`0`)),t?n.removeAttribute(`aria-disabled`):n.setAttribute(`aria-disabled`,`true`);let e=n.getAttribute(`data-wui-drop-label`)||te(n);n.setAttribute(`aria-label`,r(D().moveText,{label:e}))}for(let t of e.querySelectorAll(`.wui-drop-tray`))t.hasAttribute(`role`)||(t.setAttribute(`role`,`toolbar`),t.setAttribute(`aria-label`,D().moveLabel))}var k=[`light`,`dark`,`auto`],A=[`wave`,`circle`,`slide`,`blinds`,`fade`,`none`],j=`fade`,M=`theme`,N={wave:1100,circle:700,slide:600,blinds:900,fade:350,none:0},P=`wui-theme-switching`,F=`wui:theme:change`,I=`(prefers-color-scheme: dark)`,L=e=>typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(e).matches,R=e=>k.some(t=>t===e);function z(e){return e===`dark`||e===`auto`&&L(I)?`dark`:`light`}function B(e=M){let t=null;try{t=window.localStorage.getItem(e)}catch(e){if(!(e instanceof DOMException))throw e}return R(t)?t:`auto`}function V(e,t=M){try{window.localStorage.setItem(t,e)}catch(e){if(!(e instanceof DOMException))throw e}}function H(e){let t=document.documentElement,n=z(e);t.setAttribute(`data-theme`,e),t.setAttribute(`data-bs-theme`,n),document.dispatchEvent(new CustomEvent(F,{detail:{mode:n,preference:e}}))}var U=`((k)=>{let m;try{m=localStorage.getItem(k)}catch{m=null}if(m!=='light'&&m!=='dark')m='auto';const r=document.documentElement,q=window.matchMedia?window.matchMedia('(prefers-color-scheme: dark)'):null;function s(){const t=r.getAttribute('data-theme');r.setAttribute('data-bs-theme',t==='auto'?(q?.matches?'dark':'light'):t)}r.setAttribute('data-theme',m);s();if(q?.addEventListener)q.addEventListener('change',()=>{if(r.getAttribute('data-theme')==='auto')s()})})(`;function W(e=M){return`${U}${JSON.stringify(String(e)).replace(/</g,`\\u003c`)})`}function G(e,{includeAuto:t=!1}={}){return e===`light`?`dark`:e===`dark`&&t?`auto`:`light`}function K(e){if(typeof window>`u`||typeof window.matchMedia!=`function`)return()=>{};let t=window.matchMedia(I),n=()=>e(t.matches?`dark`:`light`);return t.addEventListener(`change`,n),()=>t.removeEventListener(`change`,n)}var q=60,se=e=>e<.5?4*e*e*e:1-(-2*e+2)**3/2,J=e=>e.toFixed(1),Y=(e,t)=>`${J(e)}px ${J(t)}px`,X={amplitude:22,segments:36,cycles:1.5,ripples:2},Z=6,ce=(e,t,n,r,i)=>{let{amplitude:a,segments:o,cycles:s}=X,c=n*(t+2*a),l=i?t+a-c:c-a,u=i?t+2*a:-2*a,d=[Y(0,u)];for(let t=0;t<=o;t++){let n=e*t/o,i=l+a*Math.sin(2*Math.PI*s*t/o+r);d.push(Y(n,i))}return d.push(Y(e,u)),`polygon(${d.join(`, `)})`},le=(e,t,n,r)=>{let i=t/Z,a=[];for(let t=0;t<Z;t++){let o=t*i,s=i*n,c=r?o+i-s:o,l=r?o+i:o+s;a.push(Y(0,c),Y(e,c),Y(e,l),Y(0,l))}return`polygon(${a.join(`, `)})`};function Q(e,{width:t,height:n,to:r=`dark`,origin:i}){let a=r===`dark`,o=[];for(let r=0;r<=q;r++){let s=r/q,c=se(s);switch(e){case`circle`:{let e=i?.x??t/2,r=i?.y??n/2,a=Math.hypot(Math.max(e,t-e),Math.max(r,n-r));o.push({clipPath:`circle(${J(a*c)}px at ${J(e)}px ${J(r)}px)`});break}case`slide`:{let e=n*(1-c);o.push({clipPath:a?`inset(${J(e)}px 0px 0px 0px)`:`inset(0px 0px ${J(e)}px 0px)`});break}case`blinds`:o.push({clipPath:le(t,n,c,a)});break;case`fade`:o.push({clipPath:`none`,opacity:c});break;case`none`:return[];default:o.push({clipPath:ce(t,n,c,s*X.ripples*2*Math.PI,a)})}}return o}var $=e=>{e instanceof DOMException&&(e.name===`AbortError`||e.name===`InvalidStateError`)||i(`[@webority/ui-elements] The theme view transition failed:`,e)};function ue(e,{effect:t=j,to:n,origin:r,duration:i}={}){let a=document.documentElement,o=n!==void 0&&a.getAttribute(`data-bs-theme`)===n;if(t===`none`||o||L(`(prefers-reduced-motion: reduce)`)||typeof document.startViewTransition!=`function`||typeof a.animate!=`function`)return e(),Promise.resolve(!1);a.classList.add(P);let s=document.startViewTransition(e),c=i??N[t]??N.fade;return s.ready.then(()=>{let e=Q(t,{width:window.innerWidth,height:window.innerHeight,to:n,origin:r});a.animate(e,{duration:c,easing:`linear`,fill:`both`,pseudoElement:`::view-transition-new(root)`})}).catch($),s.finished.catch($).finally(()=>a.classList.remove(P)).then(()=>!0)}export{s as _,N as a,H as c,z as d,V as f,K as g,ue as h,A as i,G as l,Q as m,M as n,k as o,W as p,F as r,P as s,j as t,B as u,oe as v,O as y};
1
+ import{i as e,t}from"./dom-DMQu--xV.js";import{r as n,t as r}from"./textStore-Cs1SGBoI.js";import{t as i}from"./devWarn-DXdRWZs3.js";import{n as a}from"./imeSafeEnter-DeO_3lXy.js";import{t as o}from"./rowDrop.g-DQpB10Ey.js";var s=`wui:row-drop`,c=`is-drop-over`,l=`application/x-wui-rows`,u=`wui-row-dragging`,d=`[data-wui-drop-target]`,f=`tbody tr[data-row-key]`,ee=`input, button, a, select, textarea, label`,p=`.wui-select-cell .form-check-input`,m=/* @__PURE__ */ new WeakMap,h=/* @__PURE__ */ new WeakSet,g=null,_=null;function v(e){let t=e.querySelector(p);return t instanceof HTMLInputElement&&t.checked}function y(e){let t=[];for(let n of e.querySelectorAll(`tbody tr:not(.wui-group-row)`))n instanceof HTMLElement&&v(n)&&t.push(n.dataset.rowKey);return t}function b(e,n){return t(e,n)}function x(e,t){let n=b(e,t);return n instanceof HTMLElement?n:null}function te(e){let t=e.textContent;if(t===null)throw Error(`A drop target has no text content.`);return t.trim()}var S=e=>typeof e==`object`&&!!e&&`selected`in e&&typeof e.selected==`number`;function C(){g=null,document.body.classList.remove(u);for(let e of document.querySelectorAll(`${d}.${c}`))e.classList.remove(c)}function w(e,t,n){e.dispatchEvent(new CustomEvent(s,{bubbles:!0,detail:{keys:t,target:n.dataset.wuiDropTarget}}))}function T(t){let n=x(t.target,d);if(!n||!g)return;t.preventDefault();let r=e(t.dataTransfer,`A drag event arrived without its DataTransfer.`);r.dropEffect=`move`,n.classList.add(c)}function ne(e){let t=x(e.target,d);!t||e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||t.classList.remove(c)}function re(e){let t=x(e.target,d);if(!t||!g)return;e.preventDefault(),t.classList.remove(c);let{root:n,keys:r}=g;w(n,r,t),C()}function E(e){let t=x(e.target,d);t&&_?.keys.length&&(e.preventDefault(),w(_.root,_.keys,t))}function ie(e){(a(e)||e.key===` `)&&E(e)}function ae(e){h.has(e)||(h.add(e),e.addEventListener(`dragover`,T),e.addEventListener(`dragenter`,T),e.addEventListener(`dragleave`,ne),e.addEventListener(`drop`,re),e.addEventListener(`click`,E),e.addEventListener(`keydown`,ie))}function oe(t){let n=m.get(t);if(n)return n;ae(t.ownerDocument||t);let r=e=>{let n=x(e.target,f);if(!n||!t.contains(n))return;let r=b(e.target,ee);r&&n.contains(r)||(n.draggable=!0)},i=n=>{let r=x(n.target,f);if(!r||!t.contains(r))return;let i=v(r)?y(t):[r.dataset.rowKey],a=e(n.dataTransfer,`A drag event arrived without its DataTransfer.`);a.setData(l,JSON.stringify(i)),a.setData(`text/plain`,i.join(`,`)),a.effectAllowed=`move`,g={root:t,keys:i},document.body.classList.add(u)},a=e=>{let n=e instanceof CustomEvent?e.detail:void 0;if(S(n)){let{keys:e}=n;n.selected>0?_={root:t,keys:Array.isArray(e)?e:y(t)}:n.selected===0&&(_=null)}O(document)};t.addEventListener(`pointerdown`,r),t.addEventListener(`dragstart`,i),t.addEventListener(`dragend`,C),t.addEventListener(`selectionchange`,a);let o=()=>{t.removeEventListener(`pointerdown`,r),t.removeEventListener(`dragstart`,i),t.removeEventListener(`dragend`,C),t.removeEventListener(`selectionchange`,a),m.delete(t)};return m.set(t,o),o}var D=()=>n(`rowDrop`,o);function O(e=document){let t=e.querySelector(`[data-wui-row-drag] tbody tr:not(.wui-group-row) ${p}:checked`)!==null;for(let n of e.querySelectorAll(d)){n.tagName!==`BUTTON`&&(n.setAttribute(`role`,`button`),n.setAttribute(`tabindex`,`0`)),t?n.removeAttribute(`aria-disabled`):n.setAttribute(`aria-disabled`,`true`);let e=n.getAttribute(`data-wui-drop-label`)||te(n);n.setAttribute(`aria-label`,r(D().moveText,{label:e}))}for(let t of e.querySelectorAll(`.wui-drop-tray`))t.hasAttribute(`role`)||(t.setAttribute(`role`,`toolbar`),t.setAttribute(`aria-label`,D().moveLabel))}var k=[`light`,`dark`,`auto`],A=[`wave`,`circle`,`slide`,`blinds`,`fade`,`none`],j=`fade`,M=`theme`,N={wave:1100,circle:700,slide:600,blinds:900,fade:350,none:0},P=`wui-theme-switching`,F=`wui:theme:change`,I=`(prefers-color-scheme: dark)`,L=e=>typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(e).matches,R=e=>k.some(t=>t===e);function z(e){return e===`dark`||e===`auto`&&L(I)?`dark`:`light`}function B(e=M){let t=null;try{t=window.localStorage.getItem(e)}catch(e){if(!(e instanceof DOMException))throw e}return R(t)?t:`auto`}function V(e,t=M){try{window.localStorage.setItem(t,e)}catch(e){if(!(e instanceof DOMException))throw e}}function H(e){let t=document.documentElement,n=z(e);t.setAttribute(`data-theme`,e),t.setAttribute(`data-bs-theme`,n),document.dispatchEvent(new CustomEvent(F,{detail:{mode:n,preference:e}}))}var U=`((k)=>{let m;try{m=localStorage.getItem(k)}catch{m=null}if(m!=='light'&&m!=='dark')m='auto';const r=document.documentElement,q=window.matchMedia?window.matchMedia('(prefers-color-scheme: dark)'):null;function s(){const t=r.getAttribute('data-theme');r.setAttribute('data-bs-theme',t==='auto'?(q?.matches?'dark':'light'):t)}r.setAttribute('data-theme',m);s();if(q?.addEventListener)q.addEventListener('change',()=>{if(r.getAttribute('data-theme')==='auto')s()})})(`;function W(e=M){return`${U}${JSON.stringify(String(e)).replace(/</g,`\\u003c`)})`}function G(e,{includeAuto:t=!1}={}){return e===`light`?`dark`:e===`dark`&&t?`auto`:`light`}function K(e){if(typeof window>`u`||typeof window.matchMedia!=`function`)return()=>{};let t=window.matchMedia(I),n=()=>e(t.matches?`dark`:`light`);return t.addEventListener(`change`,n),()=>t.removeEventListener(`change`,n)}var q=60,se=e=>e<.5?4*e*e*e:1-(-2*e+2)**3/2,J=e=>e.toFixed(1),Y=(e,t)=>`${J(e)}px ${J(t)}px`,X={amplitude:22,segments:36,cycles:1.5,ripples:2},Z=6,ce=(e,t,n,r,i)=>{let{amplitude:a,segments:o,cycles:s}=X,c=n*(t+2*a),l=i?t+a-c:c-a,u=i?t+2*a:-2*a,d=[Y(0,u)];for(let t=0;t<=o;t++){let n=e*t/o,i=l+a*Math.sin(2*Math.PI*s*t/o+r);d.push(Y(n,i))}return d.push(Y(e,u)),`polygon(${d.join(`, `)})`},le=(e,t,n,r)=>{let i=t/Z,a=[];for(let t=0;t<Z;t++){let o=t*i,s=i*n,c=r?o+i-s:o,l=r?o+i:o+s;a.push(Y(0,c),Y(e,c),Y(e,l),Y(0,l))}return`polygon(${a.join(`, `)})`};function Q(e,{width:t,height:n,to:r=`dark`,origin:i}){let a=r===`dark`,o=[];for(let r=0;r<=q;r++){let s=r/q,c=se(s);switch(e){case`circle`:{let e=i?.x??t/2,r=i?.y??n/2,a=Math.hypot(Math.max(e,t-e),Math.max(r,n-r));o.push({clipPath:`circle(${J(a*c)}px at ${J(e)}px ${J(r)}px)`});break}case`slide`:{let e=n*(1-c);o.push({clipPath:a?`inset(${J(e)}px 0px 0px 0px)`:`inset(0px 0px ${J(e)}px 0px)`});break}case`blinds`:o.push({clipPath:le(t,n,c,a)});break;case`fade`:o.push({clipPath:`none`,opacity:c});break;case`none`:return[];default:o.push({clipPath:ce(t,n,c,s*X.ripples*2*Math.PI,a)})}}return o}var $=e=>{e instanceof DOMException&&(e.name===`AbortError`||e.name===`InvalidStateError`)||i(`[@webority/ui-elements] The theme view transition failed:`,e)};function ue(e,{effect:t=j,to:n,origin:r,duration:i}={}){let a=document.documentElement,o=n!==void 0&&a.getAttribute(`data-bs-theme`)===n;if(t===`none`||o||L(`(prefers-reduced-motion: reduce)`)||typeof document.startViewTransition!=`function`||typeof a.animate!=`function`)return e(),Promise.resolve(!1);a.classList.add(P);let s=document.startViewTransition(e),c=i??N[t]??N.fade;return s.ready.then(()=>{let e=Q(t,{width:window.innerWidth,height:window.innerHeight,to:n,origin:r});a.animate(e,{duration:c,easing:`linear`,fill:`both`,pseudoElement:`::view-transition-new(root)`})}).catch($),s.finished.catch($).finally(()=>a.classList.remove(P)).then(()=>!0)}export{s as _,N as a,H as c,z as d,V as f,K as g,ue as h,A as i,G as l,Q as m,M as n,k as o,W as p,F as r,P as s,j as t,B as u,oe as v,O as y};