dash-ant-design 0.1.2 → 0.1.3

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 (89) hide show
  1. package/dash_antd_components/async-audio-player.js +1 -1
  2. package/dash_antd_components/async-chart.js +1 -1
  3. package/dash_antd_components/async-data-entry.js +1 -1
  4. package/dash_antd_components/async-display.js +1 -1
  5. package/dash_antd_components/async-dnd.js +1 -1
  6. package/dash_antd_components/async-feedback.js +1 -1
  7. package/dash_antd_components/async-form-controls.js +1 -0
  8. package/dash_antd_components/async-form-upload.js +1 -1
  9. package/dash_antd_components/async-highlight.js +1 -1
  10. package/dash_antd_components/async-icon-outlined.js +1 -1
  11. package/dash_antd_components/async-infographic.js +1 -1
  12. package/dash_antd_components/async-locale-ar.js +1 -1
  13. package/dash_antd_components/async-locale-az.js +1 -1
  14. package/dash_antd_components/async-locale-bg.js +1 -1
  15. package/dash_antd_components/async-locale-bn.js +1 -1
  16. package/dash_antd_components/async-locale-by.js +1 -1
  17. package/dash_antd_components/async-locale-ca.js +1 -1
  18. package/dash_antd_components/async-locale-cs.js +1 -1
  19. package/dash_antd_components/async-locale-da.js +1 -1
  20. package/dash_antd_components/async-locale-de.js +1 -1
  21. package/dash_antd_components/async-locale-el.js +1 -1
  22. package/dash_antd_components/async-locale-en.js +1 -1
  23. package/dash_antd_components/async-locale-es.js +1 -1
  24. package/dash_antd_components/async-locale-et.js +1 -1
  25. package/dash_antd_components/async-locale-eu.js +1 -1
  26. package/dash_antd_components/async-locale-fa.js +1 -1
  27. package/dash_antd_components/async-locale-fi.js +1 -1
  28. package/dash_antd_components/async-locale-fr.js +1 -1
  29. package/dash_antd_components/async-locale-ga.js +1 -1
  30. package/dash_antd_components/async-locale-gl.js +1 -1
  31. package/dash_antd_components/async-locale-he.js +1 -1
  32. package/dash_antd_components/async-locale-hi.js +1 -1
  33. package/dash_antd_components/async-locale-hr.js +1 -1
  34. package/dash_antd_components/async-locale-hu.js +1 -1
  35. package/dash_antd_components/async-locale-hy.js +1 -1
  36. package/dash_antd_components/async-locale-id.js +1 -1
  37. package/dash_antd_components/async-locale-is.js +1 -1
  38. package/dash_antd_components/async-locale-it.js +1 -1
  39. package/dash_antd_components/async-locale-ja.js +1 -1
  40. package/dash_antd_components/async-locale-ka.js +1 -1
  41. package/dash_antd_components/async-locale-kk.js +1 -1
  42. package/dash_antd_components/async-locale-km.js +1 -1
  43. package/dash_antd_components/async-locale-kmr.js +1 -1
  44. package/dash_antd_components/async-locale-kn.js +1 -1
  45. package/dash_antd_components/async-locale-ko.js +1 -1
  46. package/dash_antd_components/async-locale-ku.js +1 -1
  47. package/dash_antd_components/async-locale-lt.js +1 -1
  48. package/dash_antd_components/async-locale-lv.js +1 -1
  49. package/dash_antd_components/async-locale-mk.js +1 -1
  50. package/dash_antd_components/async-locale-ml.js +1 -1
  51. package/dash_antd_components/async-locale-mn.js +1 -1
  52. package/dash_antd_components/async-locale-mr.js +1 -1
  53. package/dash_antd_components/async-locale-ms.js +1 -1
  54. package/dash_antd_components/async-locale-my.js +1 -1
  55. package/dash_antd_components/async-locale-nb.js +1 -1
  56. package/dash_antd_components/async-locale-ne.js +1 -1
  57. package/dash_antd_components/async-locale-nl.js +1 -1
  58. package/dash_antd_components/async-locale-pl.js +1 -1
  59. package/dash_antd_components/async-locale-pt.js +1 -1
  60. package/dash_antd_components/async-locale-ro.js +1 -1
  61. package/dash_antd_components/async-locale-ru.js +1 -1
  62. package/dash_antd_components/async-locale-si.js +1 -1
  63. package/dash_antd_components/async-locale-sk.js +1 -1
  64. package/dash_antd_components/async-locale-sl.js +1 -1
  65. package/dash_antd_components/async-locale-sq.js +1 -1
  66. package/dash_antd_components/async-locale-sr.js +1 -1
  67. package/dash_antd_components/async-locale-sv.js +1 -1
  68. package/dash_antd_components/async-locale-ta.js +1 -1
  69. package/dash_antd_components/async-locale-th.js +1 -1
  70. package/dash_antd_components/async-locale-tk.js +1 -1
  71. package/dash_antd_components/async-locale-tr.js +1 -1
  72. package/dash_antd_components/async-locale-uk.js +1 -1
  73. package/dash_antd_components/async-locale-ur.js +1 -1
  74. package/dash_antd_components/async-locale-uz.js +1 -1
  75. package/dash_antd_components/async-locale-vi.js +1 -1
  76. package/dash_antd_components/async-locale-zh.js +1 -1
  77. package/dash_antd_components/async-markdown.js +1 -1
  78. package/dash_antd_components/async-media-shared.js +1 -1
  79. package/dash_antd_components/async-media.js +1 -1
  80. package/dash_antd_components/async-navigation.js +1 -1
  81. package/dash_antd_components/async-picker.js +1 -1
  82. package/dash_antd_components/async-select.js +1 -1
  83. package/dash_antd_components/async-sheet.js +1 -1
  84. package/dash_antd_components/async-table.js +1 -1
  85. package/dash_antd_components/async-tree.js +1 -1
  86. package/dash_antd_components/async-video-player.js +1 -1
  87. package/dash_antd_components/async-viz-shared.js +1 -1
  88. package/dash_antd_components/dash_antd_components.js +1 -1
  89. package/package.json +2 -2
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkdash_antd_components=self.webpackChunkdash_antd_components||[]).push([["async-highlight"],{"./src/components/fragments/Highlight.tsx"(e,t,a){a.r(t);var n=a("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CheckOutlined.js"),s=a("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CopyOutlined.js"),r=a("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/index.js"),c=a("react"),o=a.n(c),d=a("./src/utils/dash3.ts"),l=a("./src/utils/highlight.tsx"),i=a("./src/utils/object.ts");a("./src/components/fragments/Highlight.css");a.d(t,["default",0,({ariaLabel:e,code:t="",copyable:a=!1,dir:m="ltr",language:u="markup",loading_state:h,showLineNumbers:p=!1,theme:g="system",wrapLongLines:y=!1,..._})=>{const{token:f}=r.A.useToken(),[b,w]=(0,c.useState)(!1),k=(0,c.useRef)(void 0),x=(0,c.useRef)(!0),C=(0,c.useMemo)(()=>(0,l.g_)(g,f),[g,f]),E=(0,l._r)(u),v=(0,c.useMemo)(()=>Math.max(t.split("\n").length,1),[t]),N=Math.max(String(v).length,3),T={...(0,l.al)(f,C.theme,C.followsTokens),..._.style,"--highlight-line-number-digits":N};(0,c.useEffect)(()=>(x.current=!0,()=>{x.current=!1,window.clearTimeout(k.current)}),[]);return o().createElement("pre",{...(0,i.c)(["setProps","key"],_),"aria-label":e,className:`dac-highlight language-${E}${y?" dac-highlight-wrap":""}${_.className?` ${_.className}`:""}`,"data-dash-is-loading":(0,d.A_)(h)||void 0,"data-copyable":a||void 0,"data-line-numbers":p||void 0,"data-theme":C.colorScheme,"data-theme-preference":g,dir:m,style:T},a&&o().createElement("button",{type:"button",className:"dac-highlight-copy-button",onClick:async()=>{window.clearTimeout(k.current),w(!1);try{await navigator.clipboard.writeText(t)}catch(e){const a=document.createElement("textarea");try{if(a.value=t,a.style.position="fixed",a.style.opacity="0",document.body.appendChild(a),a.select(),!document.execCommand("copy"))throw new Error("document.execCommand('copy') returned false")}catch(t){return void console.error("Failed to copy highlighted code.",{clipboardError:e,fallbackError:t})}finally{a.remove()}}x.current&&(w(!0),k.current=window.setTimeout(()=>{x.current&&w(!1)},1500))},title:b?"Copied":"Copy code","aria-label":b?"Copied":"Copy code"},b?o().createElement(n.A,null):o().createElement(s.A,null)),p&&o().createElement("span",{"aria-hidden":!0,className:"dac-highlight-line-numbers"},Array.from({length:v},(e,t)=>o().createElement("span",{key:t},t+1))),o().createElement(l.df,{code:t,language:E,style:{backgroundColor:"transparent"},theme:C.theme}))}])},"./src/utils/theme.ts"(e,t,a){a.d(t,["c",0,e=>{const t=e.trim(),a=/^#([\da-f])([\da-f])([\da-f])$/i.exec(t),n=/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(t),s=/^rgba?\(\s*(\d+(?:\.\d+)?)\s*[, ]\s*(\d+(?:\.\d+)?)\s*[, ]\s*(\d+(?:\.\d+)?)/i.exec(t),r=a?a.slice(1).map(e=>parseInt(e+e,16)):n?n.slice(1).map(e=>parseInt(e,16)):s?s.slice(1).map(Number):null;return!!r&&.2126*r[0]+.7152*r[1]+.0722*r[2]<128}])}}]);
1
+ "use strict";(self.webpackChunkdash_antd_components=self.webpackChunkdash_antd_components||[]).push([["async-highlight"],{"./src/components/fragments/Highlight.tsx"(e,t,a){a.r(t);var n=a("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CheckOutlined.js"),s=a("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CopyOutlined.js"),r=a("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/index.js"),c=a("react"),o=a.n(c),d=a("./src/utils/dash3.ts"),l=a("./src/utils/highlight.tsx"),i=a("./src/utils/object.ts");a("./src/components/fragments/Highlight.css");a.d(t,["default",0,({ariaLabel:e,code:t="",copyable:a=!1,dir:m="ltr",language:u="markup",loading_state:h,showLineNumbers:p=!1,theme:g="system",wrapLongLines:y=!1,..._})=>{const{token:f}=r.A.useToken(),[b,w]=(0,c.useState)(!1),k=(0,c.useRef)(void 0),x=(0,c.useRef)(!0),C=(0,c.useMemo)(()=>(0,l.g_)(g,f),[g,f]),E=(0,l._r)(u),v=(0,c.useMemo)(()=>Math.max(t.split("\n").length,1),[t]),N=Math.max(String(v).length,3),T={...(0,l.al)(f,C.theme,C.followsTokens),..._.style,"--highlight-line-number-digits":N};(0,c.useEffect)(()=>(x.current=!0,()=>{x.current=!1,window.clearTimeout(k.current)}),[]);return o().createElement("pre",{...(0,i.c)(["setProps","key"],_),"aria-label":e,className:`dac-highlight language-${E}${y?" dac-highlight-wrap":""}${_.className?` ${_.className}`:""}`,"data-dash-is-loading":(0,d.A_)(h)||void 0,"data-copyable":a||void 0,"data-line-numbers":p||void 0,"data-theme":C.colorScheme,"data-theme-preference":g,dir:m,style:T},a&&o().createElement("button",{type:"button",className:"dac-highlight-copy-button",onClick:async()=>{window.clearTimeout(k.current),w(!1);try{await navigator.clipboard.writeText(t)}catch(e){const a=document.createElement("textarea");try{if(a.value=t,a.style.position="fixed",a.style.opacity="0",document.body.appendChild(a),a.select(),!document.execCommand("copy"))throw new Error("document.execCommand('copy') returned false")}catch(t){return void console.error("Failed to copy highlighted code.",{clipboardError:e,fallbackError:t})}finally{a.remove()}}x.current&&(w(!0),k.current=window.setTimeout(()=>{x.current&&w(!1)},1500))},title:b?"Copied":"Copy code","aria-label":b?"Copied":"Copy code"},b?o().createElement(n.A,null):o().createElement(s.A,null)),p&&o().createElement("span",{"aria-hidden":!0,className:"dac-highlight-line-numbers"},Array.from({length:v},(e,t)=>o().createElement("span",{key:t},t+1))),o().createElement(l.df,{code:t,language:E,style:{backgroundColor:"transparent"},theme:C.theme}))}])},"./src/utils/theme.ts"(e,t,a){a.d(t,["c",0,e=>{const t=e.trim(),a=/^#([\da-f])([\da-f])([\da-f])$/i.exec(t),n=/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(t),s=/^rgba?\(\s*(\d+(?:\.\d+)?)\s*[, ]\s*(\d+(?:\.\d+)?)\s*[, ]\s*(\d+(?:\.\d+)?)/i.exec(t),r=a?a.slice(1).map(e=>parseInt(e+e,16)):n?n.slice(1).map(e=>parseInt(e,16)):s?s.slice(1).map(Number):null;return!!r&&.2126*r[0]+.7152*r[1]+.0722*r[2]<128}])}}]);