rappel-ui 1.0.15 → 1.0.17

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 (132) hide show
  1. package/cjs/_virtual/_rolldown/runtime.js +1 -1
  2. package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
  3. package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
  4. package/cjs/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.js +1 -1
  5. package/cjs/components/colors/src/primary-color.vue.d.ts +4 -1
  6. package/cjs/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.js +1 -1
  7. package/cjs/components/colors/src/secondary-color.vue.d.ts +7 -1
  8. package/cjs/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.js +1 -1
  9. package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  10. package/cjs/components/index.js +1 -1
  11. package/cjs/components/popconfirm/index.d.ts +75 -3
  12. package/cjs/components/popconfirm/src/popconfirm.vue.d.ts +47 -15
  13. package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
  14. package/cjs/components/popconfirm/src/types.d.ts +2 -2
  15. package/cjs/components/popover/index.d.ts +60 -0
  16. package/cjs/components/popover/src/popover.vue.d.ts +27 -3
  17. package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
  18. package/cjs/components/popover/src/types.d.ts +3 -1
  19. package/cjs/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
  20. package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -1
  21. package/cjs/components/tooltip/index.d.ts +11 -0
  22. package/cjs/components/tooltip/index.js +1 -1
  23. package/cjs/components/tooltip/src/content.vue.d.ts +6 -2
  24. package/cjs/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.js +1 -1
  25. package/cjs/components/tooltip/src/tooltip.vue.d.ts +6 -2
  26. package/cjs/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
  27. package/cjs/components/tooltip/src/types.d.ts +2 -0
  28. package/cjs/components/tooltip/src/use-emit.d.ts +4 -2
  29. package/cjs/components/tooltip/src/use-emit.js +1 -1
  30. package/cjs/index.d.ts +175 -5
  31. package/cjs/index.js +1 -1
  32. package/cjs/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js +1 -0
  33. package/cjs/utils/util.d.ts +8 -7
  34. package/cjs/utils/util.js +1 -1
  35. package/es/_virtual/_rolldown/runtime.mjs +2 -2
  36. package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +1 -2
  37. package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +1 -2
  38. package/es/components/colors/src/colors.vue_vue_type_script_setup_true_lang.mjs +1 -1
  39. package/es/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.mjs +6 -4
  40. package/es/components/colors/src/primary-color.vue.d.ts +4 -1
  41. package/es/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.mjs +30 -21
  42. package/es/components/colors/src/secondary-color.vue.d.ts +7 -1
  43. package/es/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.mjs +50 -31
  44. package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +3 -5
  45. package/es/components/index.mjs +11 -9
  46. package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +1 -1
  47. package/es/components/popconfirm/index.d.ts +75 -3
  48. package/es/components/popconfirm/src/popconfirm.vue.d.ts +47 -15
  49. package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +138 -100
  50. package/es/components/popconfirm/src/types.d.ts +2 -2
  51. package/es/components/popover/index.d.ts +60 -0
  52. package/es/components/popover/src/popover.vue.d.ts +27 -3
  53. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +84 -58
  54. package/es/components/popover/src/types.d.ts +3 -1
  55. package/es/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
  56. package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -2
  57. package/es/components/tabs/src/tabs.mjs +1 -1
  58. package/es/components/tooltip/index.d.ts +11 -0
  59. package/es/components/tooltip/index.mjs +4 -3
  60. package/es/components/tooltip/src/content.vue.d.ts +6 -2
  61. package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs +38 -30
  62. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -2
  63. package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +105 -101
  64. package/es/components/tooltip/src/types.d.ts +2 -0
  65. package/es/components/tooltip/src/use-emit.d.ts +4 -2
  66. package/es/components/tooltip/src/use-emit.mjs +4 -2
  67. package/es/composables/use-time-nodes/index.mjs +1 -1
  68. package/es/index.d.ts +175 -5
  69. package/es/index.mjs +29 -28
  70. package/es/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1 -1
  71. package/es/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +2 -2
  72. package/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +5 -7
  73. package/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +2 -2
  74. package/es/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.mjs +90 -0
  75. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +3 -5
  76. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +1 -1
  77. package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -1
  78. package/es/svg-icons/index.mjs +1 -1
  79. package/es/utils/util.d.ts +8 -7
  80. package/es/utils/util.mjs +4 -4
  81. package/package.json +1 -1
  82. package/theme-chalk/base.css +1 -231
  83. package/theme-chalk/index.css +1 -1271
  84. package/theme-chalk/re-button-group.css +1 -68
  85. package/theme-chalk/re-button.css +1 -810
  86. package/theme-chalk/re-colors.css +1 -87
  87. package/theme-chalk/re-filter-panel.css +1 -36
  88. package/theme-chalk/re-popconfirm.css +1 -47
  89. package/theme-chalk/re-popover.css +1 -31
  90. package/theme-chalk/re-svg-icon.css +1 -33
  91. package/theme-chalk/re-tooltip.css +1 -62
  92. package/theme-chalk/root-vars.css +1 -201
  93. package/theme-chalk/src/base.scss +3 -4
  94. package/theme-chalk/src/colors.scss +16 -0
  95. package/theme-chalk/src/css-vars/_colors.scss +7 -7
  96. package/theme-chalk/src/function/index.scss +8 -8
  97. package/umd/index.css +1 -0
  98. package/umd/index.js +9 -9
  99. package/cjs/components/button/style/index.js +0 -1
  100. package/cjs/components/button-group/style/index.js +0 -1
  101. package/cjs/components/colors/style/index.js +0 -1
  102. package/cjs/components/filter-panel/style/index.js +0 -1
  103. package/cjs/components/svg-icon/style/index.js +0 -1
  104. package/cjs/theme-chalk/src/base.css +0 -1
  105. package/cjs/theme-chalk/src/button-group.css +0 -1
  106. package/cjs/theme-chalk/src/button.css +0 -1
  107. package/cjs/theme-chalk/src/colors.css +0 -1
  108. package/cjs/theme-chalk/src/filter-panel.css +0 -1
  109. package/cjs/theme-chalk/src/svg-icon.css +0 -1
  110. package/es/components/button/style/index.mjs +0 -2
  111. package/es/components/button-group/style/index.mjs +0 -2
  112. package/es/components/colors/style/index.mjs +0 -2
  113. package/es/components/filter-panel/style/index.mjs +0 -2
  114. package/es/components/svg-icon/style/index.mjs +0 -2
  115. package/es/theme-chalk/src/base.css +0 -1
  116. package/es/theme-chalk/src/button-group.css +0 -1
  117. package/es/theme-chalk/src/button.css +0 -1
  118. package/es/theme-chalk/src/colors.css +0 -1
  119. package/es/theme-chalk/src/filter-panel.css +0 -1
  120. package/es/theme-chalk/src/svg-icon.css +0 -1
  121. package/theme-chalk/css-vars/_button-group.css +0 -15
  122. package/theme-chalk/css-vars/_button.css +0 -15
  123. package/theme-chalk/css-vars/_colors.css +0 -33
  124. package/theme-chalk/css-vars/_popconfirm.css +0 -15
  125. package/theme-chalk/css-vars/_tooltip.css +0 -15
  126. package/theme-chalk/function/_button.css +0 -15
  127. package/theme-chalk/function/index.css +0 -15
  128. package/theme-chalk/mixins/_base.css +0 -15
  129. package/theme-chalk/mixins/_button.css +0 -18
  130. package/theme-chalk/mixins/_popconfirm.css +0 -18
  131. package/theme-chalk/mixins/_tooltip.css +0 -18
  132. package/theme-chalk/mixins/index.css +0 -18
package/cjs/utils/util.js CHANGED
@@ -1,3 +1,3 @@
1
1
  function e(e){let t=new FormData;for(let n in e)t.append(n,e[n]);return t}function t(e,t){let n=new URL(e),r=new URLSearchParams(n.search);for(let e in t)![``,void 0,null].includes(t[e])&&r.set(e,t[e]);return n.search=r.toString(),n.href}function n(...e){let t=e[0];for(let n=1;n<e.length;n++)t[t.length-1]===`/`&&e[n][0]===`/`?t+=e[n].slice(1):t[t.length-1]===`/`||e[n][0]===`/`?t+=e[n]:t+=`/${e[n]}`;return t}function r(e){try{return JSON.parse(JSON.stringify(e))}catch{return null}}function i(e){let t=[`B`,`KB`,`MB`,`GB`,`TB`],n=0,r=t[0];for(;e>=1024&&n<t.length-1;)e/=1024,n++,r=t[n];let i=e.toString(),a=i.indexOf(`.`);return e=a===-1?e:parseFloat(i.substring(0,a+3)),`${e}${r}}`}function a(e,t){return new Promise((n,r)=>{let i=new FileReader;i.onload=e=>{var t;n((t=e.target)==null?void 0:t.result)},i.onerror=e=>{r(e)},i.readAsText(e,t)})}async function o(e,t=[`UTF-8`,`GBK`,`GB2312`]){for(let n of t){let t=await a(e,n);if(!(t&&t.indexOf(`�`)>-1))return t}return``}function s(e){if(!e)return``;let t=``;return e.includes(`,`)?t=e.replace(/,/g,`,`):e.includes(`\r
2
2
  `)?t=e.replace(/\r\n/g,`,`):e.includes(`
3
- `)?t=e.replace(/\n/g,`,`):e.includes(`\r`)?t=e.replace(/\r/g,`,`):e.includes(`↵`)&&(t=e.replace(/↵/g,`,`)),t.replace(/,+/g,`,`).replace(/^,|,$/g,``).replace(/\s+/g,``)}function c(e){let t,n=new Proxy(e,{construct(e,n){return t||(t=Reflect.construct(e,n),t)}});return n.prototype.constructor=n,n}function l(){let e=new Map;function t(...t){let n=t.map(e=>typeof e).join(`,`),r=e.get(n);if(!r)throw Error(`没有找到对应的实现`);return r.apply(this,t)}return t.add=function(...t){let n=t.pop();if(typeof n!=`function`)throw Error(`最后一个参数必须是函数`);let r=t.join(`,`);e.set(r,n)},t}function u(e,t={label:`label`,value:`value`,children:`children`,parentId:`parentId`}){let n=[],r=new WeakMap;return e.forEach(e=>{e.label=e[t.label],e.value=e[t.value],e.children=[],r.set(e[t.value],e)}),e.forEach(e=>{let i=r.get(e[t.parentId]);i?i.children.push(e):n.push(e)}),n}function d(e,t=1,n=!1){e=e.replace(`#`,``);let r=parseInt(e.substring(0,2),16),i=parseInt(e.substring(2,4),16),a=parseInt(e.substring(4,6),16),o={r:n?48:255,g:n?49:255,b:n?49:255},s=Math.round(r*t+o.r*(1-t)),c=Math.round(i*t+o.g*(1-t)),l=Math.round(a*t+o.b*(1-t)),u=e=>e.toString(16).padStart(2,`0`);return`#${u(s)}${u(c)}${u(l)}`}function f(e,t=.16){e=e.replace(`#`,``),e.length===3&&(e=e.split(``).map(e=>e+e).join(``));let n=parseInt(e.substring(0,2),16),r=parseInt(e.substring(2,4),16),i=parseInt(e.substring(4,6),16),a=Math.round(n*(1-t)),o=Math.round(r*(1-t)),s=Math.round(i*(1-t)),c=e=>Math.round(e).toString(16).padStart(2,`0`);return`#${c(a)}${c(o)}${c(s)}`}function p(e,t=!1,n=.16,r=[.9,.8,.7,.6,.5,.4,.3,.2,.1]){return[f(e,n)].concat(r.map(n=>d(e,n,t)))}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e){return typeof e==`object`&&!!e&&Object.getPrototypeOf(e)===Object.prototype}function g(e,t){if(!e||!t||!h(e))return e;let n={...e};return(Array.isArray(t)?t:[t]).forEach(e=>{Reflect.deleteProperty(n,e)}),n}function _(e,t=`children`){return!e||!Array.isArray(e)?[]:e.reduce((e,n)=>Array.isArray(n)?e.concat(_(n,t)):n&&h(n)&&n[t]?e.concat(g(n,[t]),_(n[t],t)):e.concat(n),[])}function v(e,t=[``,void 0,null]){if(!e||!h(e))return e;let n={},r=e=>t.some(t=>Array.isArray(t)&&Array.isArray(e)?t.length===0&&e.length===0:h(t)&&h(e)?Object.keys(t).length===0&&Object.keys(e).length===0:t===e);for(let t in e)m(e,t)&&(r(e[t])||(n[t]=e[t]));return n}function y(e,t=`height`,n,r=`all 0.3s ease-in-out`){if(!e)return;let i={height:()=>e.offsetHeight,width:()=>e.offsetWidth};if(Object.keys(i).includes(t))if(n){e.style.transition=`none`,e.style[t]=`auto`;let n=i[t]();e.style[t]=`0px`,i[t](),e.style.transition=r,e.style[t]=`${n}px`}else e.style.transition=r,e.style[t]=`0px`}function b(e){return new Promise(t=>{var n;if(!((n=navigator)==null||(n=n.clipboard)==null)&&n.writeText&&window.isSecureContext){navigator.clipboard.writeText(e).then(()=>{t(!0)}).catch(()=>{t(!1)});return}let r=document.createElement(`textarea`);r.value=e,r.style.position=`fixed`,r.style.left=`-9999px`,r.style.top=`-9999px`,r.style.opacity=`0`,document.body.appendChild(r),r.select();try{t(document.execCommand(`copy`)),document.body.removeChild(r)}catch{t(!1),document.body.removeChild(r)}})}function x(e){return parseFloat(e)==e?`${e}px`:e}function S(e,t=document.documentElement){let n=getComputedStyle(t),r={};for(let t=0;t<n.length;t++){let i=n[t];i.startsWith(`--`)&&i.includes(e)&&(r[i]=n.getPropertyValue(i).trim())}return r}exports.autoCalcFileSize=i,exports.buildTree=u,exports.copyText=b,exports.createColors=p,exports.createOverload=l,exports.darkenColor=f,exports.deepClone=r,exports.deleteKeys=g,exports.flatArr=_,exports.getCssVarsByPrefix=S,exports.getEqualOpacityColor=d,exports.hasOwnProperty=m,exports.isPlainObject=h,exports.joinURLs=n,exports.lineBreakToComma=s,exports.omitEmptyKeys=v,exports.paramsToFormData=e,exports.readTxtByEncodes=o,exports.readTxtFile=a,exports.setURLSearchParams=t,exports.singleton=c,exports.toPx=x,exports.transitionSize=y;
3
+ `)?t=e.replace(/\n/g,`,`):e.includes(`\r`)?t=e.replace(/\r/g,`,`):e.includes(`↵`)&&(t=e.replace(/↵/g,`,`)),t.replace(/,+/g,`,`).replace(/^,|,$/g,``).replace(/\s+/g,``)}function c(e){let t,n=new Proxy(e,{construct(e,n){return t||(t=Reflect.construct(e,n),t)}});return n.prototype.constructor=n,n}function l(){let e=new Map;function t(...t){let n=t.map(e=>typeof e).join(`,`),r=e.get(n);if(!r)throw Error(`没有找到对应的实现`);return r.apply(this,t)}return t.add=function(...t){let n=t.pop();if(typeof n!=`function`)throw Error(`最后一个参数必须是函数`);let r=t.join(`,`);e.set(r,n)},t}function u(e,t={label:`label`,value:`value`,children:`children`,parentId:`parentId`}){let n=[],r=new WeakMap;return e.forEach(e=>{e.label=e[t.label],e.value=e[t.value],e.children=[],r.set(e[t.value],e)}),e.forEach(e=>{let i=r.get(e[t.parentId]);i?i.children.push(e):n.push(e)}),n}function d(e,t=1,n=!1){e=e.replace(`#`,``);let r=parseInt(e.substring(0,2),16),i=parseInt(e.substring(2,4),16),a=parseInt(e.substring(4,6),16),o={r:n?48:255,g:n?49:255,b:n?49:255},s=Math.round(r*t+o.r*(1-t)),c=Math.round(i*t+o.g*(1-t)),l=Math.round(a*t+o.b*(1-t)),u=e=>e.toString(16).padStart(2,`0`);return`#${u(s)}${u(c)}${u(l)}`}function f(e,t=.16){e=e.replace(`#`,``),e.length===3&&(e=e.split(``).map(e=>e+e).join(``));let n=parseInt(e.substring(0,2),16),r=parseInt(e.substring(2,4),16),i=parseInt(e.substring(4,6),16),a=Math.round(n*(1-t)),o=Math.round(r*(1-t)),s=Math.round(i*(1-t)),c=e=>Math.round(e).toString(16).padStart(2,`0`);return`#${c(a)}${c(o)}${c(s)}`}function p(e,t=!1,n=.12,r=[.9,.8,.7,.6,.5,.4,.3,.2,.1]){return[f(e,t?n*3/2:n),f(e,t?n:n/2)].concat(r.map(n=>d(e,n,t)))}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e){return typeof e==`object`&&!!e&&Object.getPrototypeOf(e)===Object.prototype}function g(e,t){if(!e||!t||!h(e))return e;let n={...e};return(Array.isArray(t)?t:[t]).forEach(e=>{Reflect.deleteProperty(n,e)}),n}function _(e,t=`children`){return!e||!Array.isArray(e)?[]:e.reduce((e,n)=>Array.isArray(n)?e.concat(_(n,t)):n&&h(n)&&n[t]?e.concat(g(n,[t]),_(n[t],t)):e.concat(n),[])}function v(e,t=[``,void 0,null]){if(!e||!h(e))return e;let n={},r=e=>t.some(t=>Array.isArray(t)&&Array.isArray(e)?t.length===0&&e.length===0:h(t)&&h(e)?Object.keys(t).length===0&&Object.keys(e).length===0:t===e);for(let t in e)m(e,t)&&(r(e[t])||(n[t]=e[t]));return n}function y(e,t=`height`,n,r=`all 0.3s ease-in-out`){if(!e)return;let i={height:()=>e.offsetHeight,width:()=>e.offsetWidth};if(Object.keys(i).includes(t))if(n){e.style.transition=`none`,e.style[t]=`auto`;let n=i[t]();e.style[t]=`0px`,i[t](),e.style.transition=r,e.style[t]=`${n}px`}else e.style.transition=r,e.style[t]=`0px`}function b(e){return new Promise(t=>{var n;if(!((n=navigator)==null||(n=n.clipboard)==null)&&n.writeText&&window.isSecureContext){navigator.clipboard.writeText(e).then(()=>{t(!0)}).catch(()=>{t(!1)});return}let r=document.createElement(`textarea`);r.value=e,r.style.position=`fixed`,r.style.left=`-9999px`,r.style.top=`-9999px`,r.style.opacity=`0`,document.body.appendChild(r),r.select();try{t(document.execCommand(`copy`)),document.body.removeChild(r)}catch{t(!1),document.body.removeChild(r)}})}function x(e){return parseFloat(e)==e?`${e}px`:e}function S(e,t=document.documentElement){let n=getComputedStyle(t),r={};for(let t=0;t<n.length;t++){let i=n[t];i.startsWith(`--`)&&i.includes(e)&&(r[i]=n.getPropertyValue(i).trim())}return r}exports.autoCalcFileSize=i,exports.buildTree=u,exports.copyText=b,exports.createColors=p,exports.createOverload=l,exports.darkenColor=f,exports.deepClone=r,exports.deleteKeys=g,exports.flatArr=_,exports.getCssVarsByPrefix=S,exports.getEqualOpacityColor=d,exports.hasOwnProperty=m,exports.isPlainObject=h,exports.joinURLs=n,exports.lineBreakToComma=s,exports.omitEmptyKeys=v,exports.paramsToFormData=e,exports.readTxtByEncodes=o,exports.readTxtFile=a,exports.setURLSearchParams=t,exports.singleton=c,exports.toPx=x,exports.transitionSize=y;
@@ -1,5 +1,5 @@
1
1
  //#region \0rolldown/runtime.js
2
- var e = Object.defineProperty, t = (t, n) => {
2
+ var e = Object.defineProperty, t = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), n = (t, n) => {
3
3
  let r = {};
4
4
  for (var i in t) e(r, i, {
5
5
  get: t[i],
@@ -8,4 +8,4 @@ var e = Object.defineProperty, t = (t, n) => {
8
8
  return n || e(r, Symbol.toStringTag, { value: "Module" }), r;
9
9
  };
10
10
  //#endregion
11
- export { t as __exportAll };
11
+ export { t as __commonJSMin, n as __exportAll };
@@ -1,10 +1,9 @@
1
1
  import { _buttonGroupProps as e } from "./constants.mjs";
2
2
  import { useNamespace as t } from "../../../composables/use-namespace/index.mjs";
3
3
  import "../../../composables/index.mjs";
4
- import "../../button-group/style/index.mjs";
5
4
  import { computed as n, createElementBlock as r, defineComponent as i, normalizeClass as a, openBlock as o, provide as s, readonly as c, renderSlot as l } from "vue";
6
5
  //#region packages/components/button/src/button-group.vue?vue&type=script&setup=true&lang.ts
7
- var u = /*@__PURE__*/ i({
6
+ var u = i({
8
7
  name: "ReButtonGroup",
9
8
  __name: "button-group",
10
9
  props: {
@@ -1,4 +1,3 @@
1
- import "../style/index.mjs";
2
1
  import { _buttonGroupProps as e, buttonSizes as t, buttonTypes as n } from "./constants.mjs";
3
2
  import { Loading as r, getIcon as i } from "../../../svg-icons/dist/es/index.mjs";
4
3
  import { useNamespace as a } from "../../../composables/use-namespace/index.mjs";
@@ -10,7 +9,7 @@ var y = [
10
9
  "disabled",
11
10
  "autofocus",
12
11
  "aria-disabled"
13
- ], b = /*@__PURE__*/ d({
12
+ ], b = d({
14
13
  name: "ReButton",
15
14
  __name: "button",
16
15
  props: {
@@ -3,7 +3,7 @@ import t from "./secondary-color.mjs";
3
3
  import n from "./neutral-color.mjs";
4
4
  import { Fragment as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, openBlock as c } from "vue";
5
5
  //#region packages/components/colors/src/colors.vue?vue&type=script&setup=true&lang.ts
6
- var l = /*@__PURE__*/ s({
6
+ var l = s({
7
7
  name: "ReColors",
8
8
  __name: "colors",
9
9
  setup(s) {
@@ -4,10 +4,9 @@ import "../../../utils/index.mjs";
4
4
  import { useNamespace as r } from "../../../composables/use-namespace/index.mjs";
5
5
  import { useTheme as i } from "../../../composables/use-theme/index.mjs";
6
6
  import "../../../composables/index.mjs";
7
- import "../style/index.mjs";
8
7
  import { Fragment as a, createElementBlock as o, createElementVNode as s, defineComponent as c, nextTick as l, normalizeClass as u, normalizeStyle as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, watch as v } from "vue";
9
8
  //#region packages/components/colors/src/neutral-color.vue?vue&type=script&setup=true&lang.ts
10
- var y = /*@__PURE__*/ c({
9
+ var y = c({
11
10
  name: "ReNeutralColor",
12
11
  __name: "neutral-color",
13
12
  setup(c) {
@@ -90,7 +89,10 @@ var y = /*@__PURE__*/ c({
90
89
  T(e);
91
90
  }), f(() => {
92
91
  T(x.value);
93
- }), (e, t) => (p(), o("div", { class: u([_(y)("neutral")]) }, [(p(!0), o(a, null, h(w.value, (e) => (p(), o("div", { key: e.shades[0].color }, [(p(!0), o(a, null, h(e.shades, (e) => (p(), o("div", {
92
+ }), (e, t) => (p(), o("div", { class: u([_(y)("neutral")]) }, [(p(!0), o(a, null, h(w.value, (e) => (p(), o("div", {
93
+ key: e.shades[0].color,
94
+ class: u([_(b)("group")])
95
+ }, [(p(!0), o(a, null, h(e.shades, (e) => (p(), o("div", {
94
96
  key: e.text,
95
97
  class: u([_(b)("collects"), e == null ? void 0 : e.extraclass]),
96
98
  style: d({
@@ -98,7 +100,7 @@ var y = /*@__PURE__*/ c({
98
100
  color: e == null ? void 0 : e.textcolor,
99
101
  border: e != null && e.bordercolor ? "1px solid " + e.bordercolor : "none"
100
102
  })
101
- }, [s("div", null, [s("div", null, g(e.text), 1), s("div", null, g(e.color.toUpperCase()), 1)])], 6))), 128))]))), 128))], 2));
103
+ }, [s("div", null, [s("div", null, g(e.text), 1), s("div", null, g(e.color.toUpperCase()), 1)])], 6))), 128))], 2))), 128))], 2));
102
104
  }
103
105
  });
104
106
  //#endregion
@@ -1,3 +1,6 @@
1
- declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ type __VLS_Props = {
2
+ codeHtml?: string;
3
+ };
4
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
2
5
  declare const _default: typeof __VLS_export;
3
6
  export default _default;
@@ -3,36 +3,45 @@ import "../../../utils/index.mjs";
3
3
  import { useNamespace as n } from "../../../composables/use-namespace/index.mjs";
4
4
  import { useTheme as r } from "../../../composables/use-theme/index.mjs";
5
5
  import "../../../composables/index.mjs";
6
- import "../style/index.mjs";
7
- import { Fragment as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, normalizeStyle as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, watch as g } from "vue";
6
+ import { Fragment as i, createElementBlock as a, createElementVNode as o, defineComponent as s, nextTick as c, normalizeClass as l, normalizeStyle as u, onMounted as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, unref as g, watch as _ } from "vue";
8
7
  //#region packages/components/colors/src/primary-color.vue?vue&type=script&setup=true&lang.ts
9
- var _ = /*@__PURE__*/ s({
8
+ var v = ["innerHTML"], y = s({
10
9
  name: "RePrimaryColor",
11
10
  __name: "primary-color",
11
+ props: { codeHtml: { default: "" } },
12
12
  setup(s) {
13
- let { nm: _, ns: v } = n("colors"), { isDark: y } = r(), b = f([]), x = (n) => {
14
- let r = Object.values(t("re-color-primary-base"))[0];
15
- b.value = [{
13
+ let { nm: y, ns: b } = n("colors"), { isDark: x } = r(), S = p([]), C = (n) => {
14
+ let r = Object.values(t("--re-color-primary-base"))[0];
15
+ S.value = [{
16
16
  base: r,
17
17
  shades: e(r, n)
18
18
  }];
19
19
  };
20
- return g(y, (e) => {
21
- x(e);
22
- }), u(() => {
23
- x(y.value);
24
- }), (e, t) => (d(!0), a(i, null, p(b.value, (e) => (d(), a("div", {
20
+ return _(x, (e) => {
21
+ c(() => {
22
+ C(e);
23
+ });
24
+ }), d(() => {
25
+ C(x.value);
26
+ }), (e, t) => (f(!0), a(i, null, m(S.value, (e) => (f(), a("div", {
25
27
  key: e.base,
26
- class: c([h(_)("primary")])
27
- }, [o("div", {
28
- class: c([h(v)("base")]),
29
- style: l({ "background-color": e.base })
30
- }, m(e.base.toUpperCase()), 7), o("div", { class: c([h(v)("shades")]) }, [(d(!0), a(i, null, p(e.shades, (e) => (d(), a("div", {
31
- key: e,
32
- class: c([h(v)("shade")]),
33
- style: l({ "background-color": e })
34
- }, null, 6))), 128))], 2)], 2))), 128));
28
+ class: l([g(y)("primary")])
29
+ }, [
30
+ o("div", {
31
+ class: l([g(b)("base")]),
32
+ style: u({ "background-color": e.base })
33
+ }, h(e.base.toUpperCase()), 7),
34
+ o("div", { class: l([g(b)("shades")]) }, [(f(!0), a(i, null, m(e.shades, (e) => (f(), a("div", {
35
+ key: e,
36
+ class: l([g(b)("shade")]),
37
+ style: u({ "background-color": e })
38
+ }, null, 6))), 128))], 2),
39
+ o("div", {
40
+ class: l([g(b)("code")]),
41
+ innerHTML: s.codeHtml
42
+ }, null, 10, v)
43
+ ], 2))), 128));
35
44
  }
36
45
  });
37
46
  //#endregion
38
- export { _ as default };
47
+ export { y as default };
@@ -1,3 +1,9 @@
1
- declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ type __VLS_Props = {
2
+ successCodeHtml?: string;
3
+ warningCodeHtml?: string;
4
+ dangerCodeHtml?: string;
5
+ infoCodeHtml?: string;
6
+ };
7
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
2
8
  declare const _default: typeof __VLS_export;
3
9
  export default _default;
@@ -3,54 +3,73 @@ import "../../../utils/index.mjs";
3
3
  import { useNamespace as n } from "../../../composables/use-namespace/index.mjs";
4
4
  import { useTheme as r } from "../../../composables/use-theme/index.mjs";
5
5
  import "../../../composables/index.mjs";
6
- import "../style/index.mjs";
7
- import { Fragment as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, normalizeStyle as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, watch as g } from "vue";
6
+ import { require_browser as i } from "../../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.mjs";
7
+ import { Fragment as a, computed as o, createElementBlock as s, createElementVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, watch as v } from "vue";
8
8
  //#region packages/components/colors/src/secondary-color.vue?vue&type=script&setup=true&lang.ts
9
- var _ = /*@__PURE__*/ s({
9
+ var y = i(), b = ["innerHTML"], x = l({
10
10
  name: "ReSecondaryColor",
11
11
  __name: "secondary-color",
12
- setup(s) {
13
- let { nm: _, ns: v } = n("colors"), { isDark: y } = r(), b = f([]), x = (n) => {
14
- let r = Object.values(t("re-color-success-base"))[0], i = Object.values(t("re-color-warning-base"))[0], a = Object.values(t("re-color-danger-base"))[0], o = Object.values(t("re-color-info-base"))[0];
15
- b.value = [
12
+ props: {
13
+ successCodeHtml: { default: "" },
14
+ warningCodeHtml: { default: "" },
15
+ dangerCodeHtml: { default: "" },
16
+ infoCodeHtml: { default: "" }
17
+ },
18
+ setup(i) {
19
+ let { nm: l, ns: x } = n("colors"), { isDark: S } = r(), C = m([]), w = (n) => {
20
+ let r = Object.values(t("re-color-success-base"))[0], a = Object.values(t("re-color-warning-base"))[0], s = Object.values(t("re-color-danger-base"))[0], c = Object.values(t("re-color-info-base"))[0];
21
+ C.value = [
16
22
  {
17
23
  base: r,
18
24
  text: "Success",
19
- shades: e(r, n)
25
+ shades: e(r, n),
26
+ codeHtml: o(() => i.successCodeHtml)
20
27
  },
21
28
  {
22
- base: i,
23
- text: "Danger/Error ",
24
- shades: e(i, n)
29
+ base: a,
30
+ text: "Warning ",
31
+ shades: e(a, n),
32
+ codeHtml: o(() => i.warningCodeHtml)
25
33
  },
26
34
  {
27
- base: a,
28
- text: "Warning",
29
- shades: e(a, n)
35
+ base: s,
36
+ text: "Danger/Error",
37
+ shades: e(s, n),
38
+ codeHtml: o(() => i.dangerCodeHtml)
30
39
  },
31
40
  {
32
- base: o,
41
+ base: c,
33
42
  text: "Info",
34
- shades: e(o, n)
43
+ shades: e(c, n),
44
+ codeHtml: o(() => i.infoCodeHtml)
35
45
  }
36
46
  ];
37
47
  };
38
- return g(y, (e) => {
39
- x(e);
40
- }), u(() => {
41
- x(y.value);
42
- }), (e, t) => (d(), a("div", { class: c([h(_)("secondary")]) }, [(d(!0), a(i, null, p(b.value, (e) => (d(), a("div", {
48
+ return v(S, (e) => {
49
+ (0, y.nextTick)(() => {
50
+ w(e);
51
+ });
52
+ }), f(() => {
53
+ w(S.value);
54
+ }), (e, t) => (p(), s("div", { class: u([_(l)("secondary")]) }, [(p(!0), s(a, null, h(C.value, (e) => (p(), s("div", {
43
55
  key: e.base,
44
- class: c([h(v)("panel")])
45
- }, [o("div", {
46
- class: c([h(v)("base")]),
47
- style: l({ "background-color": e.base })
48
- }, [o("div", null, m(e.text), 1), o("div", null, m(e.base.toUpperCase()), 1)], 6), o("div", { class: c([h(v)("shades")]) }, [(d(!0), a(i, null, p(e.shades, (e) => (d(), a("div", {
49
- key: e,
50
- class: c([h(v)("shade")]),
51
- style: l({ "background-color": e })
52
- }, null, 6))), 128))], 2)], 2))), 128))], 2));
56
+ class: u([_(x)("panel")])
57
+ }, [
58
+ c("div", {
59
+ class: u([_(x)("base")]),
60
+ style: d({ "background-color": e.base })
61
+ }, [c("div", null, g(e.text), 1), c("div", null, g(e.base.toUpperCase()), 1)], 6),
62
+ c("div", { class: u([_(x)("shades")]) }, [(p(!0), s(a, null, h(e.shades, (e) => (p(), s("div", {
63
+ key: e,
64
+ class: u([_(x)("shade")]),
65
+ style: d({ "background-color": e })
66
+ }, null, 6))), 128))], 2),
67
+ c("div", {
68
+ class: u([_(x)("code")]),
69
+ innerHTML: e.codeHtml
70
+ }, null, 10, b)
71
+ ], 2))), 128))], 2));
53
72
  }
54
73
  });
55
74
  //#endregion
56
- export { _ as default };
75
+ export { x as default };
@@ -3,14 +3,12 @@ import { useNamespace as n } from "../../../composables/use-namespace/index.mjs"
3
3
  import { useElementSize as r, useMutationObserver as i } from "../../../node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
4
4
  import "../../../composables/index.mjs";
5
5
  import { ReButton as a } from "../../button/index.mjs";
6
- import "../style/index.mjs";
7
- import "../../index.mjs";
8
6
  import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, effectScope as m, mergeModels as h, normalizeClass as g, normalizeStyle as _, onMounted as v, onUnmounted as y, openBlock as b, renderSlot as x, unref as S, useModel as C, useTemplateRef as w, watch as T, watchEffect as E, withCtx as D, withModifiers as O } from "vue";
9
7
  //#region packages/components/filter-panel/src/filter-panel.vue?vue&type=script&setup=true&lang.ts
10
- var k = /*@__PURE__*/ p({
8
+ var k = p({
11
9
  name: "ReFilterPanel",
12
10
  __name: "filter-panel",
13
- props: /*@__PURE__*/ h({
11
+ props: h({
14
12
  selector: { default: "> *" },
15
13
  maxHeight: { default: 0 },
16
14
  itemMinw: { default: 240 },
@@ -31,7 +29,7 @@ var k = /*@__PURE__*/ p({
31
29
  },
32
30
  isExpandModifiers: {}
33
31
  }),
34
- emits: /*@__PURE__*/ h(["reset", "search"], ["update:isExpand"]),
32
+ emits: h(["reset", "search"], ["update:isExpand"]),
35
33
  setup(p, { expose: h, emit: k }) {
36
34
  let { n: A, ns: j } = n("filter-panel"), M = w("main"), { height: N } = r(M), P = o(() => p.maxHeight || N.value), F = k, I = w("wrapper"), L = w("inner"), R = C(p, "isExpand"), z = o(() => V.value > P.value), B = () => {
37
35
  R.value = !R.value;
@@ -9,28 +9,30 @@ import d from "./colors/src/neutral-color.mjs";
9
9
  import { ReColors as f } from "./colors/index.mjs";
10
10
  import { ReFilterPanel as p } from "./filter-panel/index.mjs";
11
11
  import { ReSvgIcon as m } from "./svg-icon/index.mjs";
12
- import { ReTooltip as h } from "./tooltip/index.mjs";
13
- import { RePopover as g } from "./popover/index.mjs";
14
- import { RePopconfirm as _ } from "./popconfirm/index.mjs";
12
+ import { useEmits as h } from "./tooltip/src/use-emit.mjs";
13
+ import { ReTooltip as g } from "./tooltip/index.mjs";
14
+ import { RePopover as _ } from "./popover/index.mjs";
15
+ import { RePopconfirm as v } from "./popconfirm/index.mjs";
15
16
  //#region packages/components/index.ts
16
- var v = /* @__PURE__ */ e({
17
+ var y = e({
17
18
  ReButton: () => a,
18
19
  ReButtonGroup: () => o,
19
20
  ReColors: () => f,
20
21
  ReFilterPanel: () => p,
21
22
  ReInput: () => s,
22
23
  ReNeutralColor: () => d,
23
- RePopconfirm: () => _,
24
- RePopover: () => g,
24
+ RePopconfirm: () => v,
25
+ RePopover: () => _,
25
26
  RePrimaryColor: () => l,
26
27
  ReSecondaryColor: () => u,
27
28
  ReSvgIcon: () => m,
28
29
  ReTabs: () => c,
29
- ReTooltip: () => h,
30
+ ReTooltip: () => g,
30
31
  _buttonGroupProps: () => t,
31
32
  buttonNativeTypes: () => n,
32
33
  buttonSizes: () => r,
33
- buttonTypes: () => i
34
+ buttonTypes: () => i,
35
+ useEmits: () => h
34
36
  });
35
37
  //#endregion
36
- export { a as ReButton, o as ReButtonGroup, f as ReColors, p as ReFilterPanel, s as ReInput, d as ReNeutralColor, _ as RePopconfirm, g as RePopover, l as RePrimaryColor, u as ReSecondaryColor, m as ReSvgIcon, c as ReTabs, h as ReTooltip, t as _buttonGroupProps, n as buttonNativeTypes, r as buttonSizes, i as buttonTypes, v as components_exports };
38
+ export { a as ReButton, o as ReButtonGroup, f as ReColors, p as ReFilterPanel, s as ReInput, d as ReNeutralColor, v as RePopconfirm, _ as RePopover, l as RePrimaryColor, u as ReSecondaryColor, m as ReSvgIcon, c as ReTabs, g as ReTooltip, t as _buttonGroupProps, n as buttonNativeTypes, r as buttonSizes, i as buttonTypes, y as components_exports, h as useEmits };
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock as e, defineComponent as t, mergeProps as n, openBlock as r } from "vue";
2
2
  //#region packages/components/input/src/input.vue?vue&type=script&setup=true&lang.ts
3
- var i = /*@__PURE__*/ t({
3
+ var i = t({
4
4
  name: "ReInput",
5
5
  __name: "input",
6
6
  props: {
@@ -4,12 +4,38 @@ export declare const RePopconfirm: {
4
4
  visible?: boolean;
5
5
  }> & Readonly<{
6
6
  onCancel?: ((e: MouseEvent) => any) | undefined;
7
+ onBeforeShow?: ((el: HTMLElement) => any) | undefined;
8
+ onShow?: ((el: HTMLElement) => any) | undefined;
9
+ onBeforeHide?: ((el: HTMLElement) => any) | undefined;
10
+ onHide?: ((el: HTMLElement) => any) | undefined;
11
+ onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
12
+ onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
13
+ onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
14
+ onAfterEnter?: ((el: HTMLElement) => any) | undefined;
15
+ onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
16
+ onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
17
+ onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
18
+ onAfterLeave?: ((el: HTMLElement) => any) | undefined;
7
19
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
8
20
  onConfirm?: ((e: MouseEvent) => any) | undefined;
9
21
  }>, {
10
22
  tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
23
+ cancel: (e: MouseEvent) => void;
24
+ confirm: (e: MouseEvent) => void;
11
25
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
26
  cancel: (e: MouseEvent) => any;
27
+ beforeShow: (el: HTMLElement) => any;
28
+ show: (el: HTMLElement) => any;
29
+ beforeHide: (el: HTMLElement) => any;
30
+ hide: (el: HTMLElement) => any;
31
+ beforeEnter: (el: HTMLElement) => any;
32
+ enter: (el: HTMLElement, done: () => void) => any;
33
+ enterCancelled: (el: HTMLElement) => any;
34
+ afterEnter: (el: HTMLElement) => any;
35
+ beforeLeave: (el: HTMLElement) => any;
36
+ leave: (el: HTMLElement, done: () => void) => any;
37
+ leaveCancelled: (el: HTMLElement) => any;
38
+ afterLeave: (el: HTMLElement) => any;
13
39
  "update:visible": (value: boolean) => any;
14
40
  confirm: (e: MouseEvent) => any;
15
41
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -23,10 +49,24 @@ export declare const RePopconfirm: {
23
49
  visible?: boolean;
24
50
  }> & Readonly<{
25
51
  onCancel?: ((e: MouseEvent) => any) | undefined;
52
+ onBeforeShow?: ((el: HTMLElement) => any) | undefined;
53
+ onShow?: ((el: HTMLElement) => any) | undefined;
54
+ onBeforeHide?: ((el: HTMLElement) => any) | undefined;
55
+ onHide?: ((el: HTMLElement) => any) | undefined;
56
+ onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
57
+ onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
58
+ onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
59
+ onAfterEnter?: ((el: HTMLElement) => any) | undefined;
60
+ onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
61
+ onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
62
+ onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
63
+ onAfterLeave?: ((el: HTMLElement) => any) | undefined;
26
64
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
27
65
  onConfirm?: ((e: MouseEvent) => any) | undefined;
28
66
  }>, {
29
67
  tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
68
+ cancel: (e: MouseEvent) => void;
69
+ confirm: (e: MouseEvent) => void;
30
70
  }, {}, {}, {}, {}>;
31
71
  __isFragment?: never;
32
72
  __isTeleport?: never;
@@ -35,20 +75,49 @@ export declare const RePopconfirm: {
35
75
  visible?: boolean;
36
76
  }> & Readonly<{
37
77
  onCancel?: ((e: MouseEvent) => any) | undefined;
78
+ onBeforeShow?: ((el: HTMLElement) => any) | undefined;
79
+ onShow?: ((el: HTMLElement) => any) | undefined;
80
+ onBeforeHide?: ((el: HTMLElement) => any) | undefined;
81
+ onHide?: ((el: HTMLElement) => any) | undefined;
82
+ onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
83
+ onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
84
+ onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
85
+ onAfterEnter?: ((el: HTMLElement) => any) | undefined;
86
+ onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
87
+ onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
88
+ onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
89
+ onAfterLeave?: ((el: HTMLElement) => any) | undefined;
38
90
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
39
91
  onConfirm?: ((e: MouseEvent) => any) | undefined;
40
92
  }>, {
41
93
  tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
94
+ cancel: (e: MouseEvent) => void;
95
+ confirm: (e: MouseEvent) => void;
42
96
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
97
  cancel: (e: MouseEvent) => any;
98
+ beforeShow: (el: HTMLElement) => any;
99
+ show: (el: HTMLElement) => any;
100
+ beforeHide: (el: HTMLElement) => any;
101
+ hide: (el: HTMLElement) => any;
102
+ beforeEnter: (el: HTMLElement) => any;
103
+ enter: (el: HTMLElement, done: () => void) => any;
104
+ enterCancelled: (el: HTMLElement) => any;
105
+ afterEnter: (el: HTMLElement) => any;
106
+ beforeLeave: (el: HTMLElement) => any;
107
+ leave: (el: HTMLElement, done: () => void) => any;
108
+ leaveCancelled: (el: HTMLElement) => any;
109
+ afterLeave: (el: HTMLElement) => any;
44
110
  "update:visible": (value: boolean) => any;
45
111
  confirm: (e: MouseEvent) => any;
46
112
  }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
47
113
  $slots: {
48
- header?: (props: {}) => any;
114
+ header?: (props: {
115
+ icon: string | import('vue').Component | undefined;
116
+ title: string;
117
+ }) => any;
49
118
  } & {
50
119
  icon?: (props: {
51
- icon: any;
120
+ icon: string | import('vue').Component | undefined;
52
121
  }) => any;
53
122
  } & {
54
123
  title?: (props: {
@@ -77,7 +146,10 @@ export declare const RePopconfirm: {
77
146
  cancelText: string;
78
147
  }) => any;
79
148
  } & {
80
- extra?: (props: {}) => any;
149
+ extra?: (props: {
150
+ cancel: (e: MouseEvent) => void;
151
+ confirm: (e: MouseEvent) => void;
152
+ }) => any;
81
153
  } & {
82
154
  confirm?: (props: {
83
155
  confirm: (e: MouseEvent) => void;
@@ -4,13 +4,16 @@ type __VLS_ModelProps = {
4
4
  'visible'?: boolean;
5
5
  };
6
6
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
- declare var __VLS_15: {}, __VLS_17: {
8
- icon: any;
9
- }, __VLS_24: {
7
+ declare var __VLS_28: {
8
+ icon: string | import('vue').Component | undefined;
10
9
  title: string;
11
- }, __VLS_26: {
10
+ }, __VLS_30: {
11
+ icon: string | import('vue').Component | undefined;
12
+ }, __VLS_37: {
13
+ title: string;
14
+ }, __VLS_39: {
12
15
  content: string;
13
- }, __VLS_28: {
16
+ }, __VLS_41: {
14
17
  cancel: (e: MouseEvent) => void;
15
18
  cancelSize: "" | "small" | "mini" | "large";
16
19
  cancelType: "" | "primary" | "success" | "warning" | "danger" | "info";
@@ -19,42 +22,71 @@ declare var __VLS_15: {}, __VLS_17: {
19
22
  confirmSize: "" | "small" | "mini" | "large";
20
23
  confirmType: "" | "primary" | "success" | "warning" | "danger" | "info";
21
24
  confirmText: string;
22
- }, __VLS_30: {
25
+ }, __VLS_43: {
23
26
  cancel: (e: MouseEvent) => void;
24
27
  cancelSize: "" | "small" | "mini" | "large";
25
28
  cancelType: "" | "primary" | "success" | "warning" | "danger" | "info";
26
29
  cancelText: string;
27
- }, __VLS_40: {}, __VLS_42: {
30
+ }, __VLS_53: {
31
+ cancel: (e: MouseEvent) => void;
32
+ confirm: (e: MouseEvent) => void;
33
+ }, __VLS_55: {
28
34
  confirm: (e: MouseEvent) => void;
29
35
  confirmSize: "" | "small" | "mini" | "large";
30
36
  confirmType: "" | "primary" | "success" | "warning" | "danger" | "info";
31
37
  confirmText: string;
32
38
  };
33
39
  type __VLS_Slots = {} & {
34
- header?: (props: typeof __VLS_15) => any;
40
+ header?: (props: typeof __VLS_28) => any;
35
41
  } & {
36
- icon?: (props: typeof __VLS_17) => any;
42
+ icon?: (props: typeof __VLS_30) => any;
37
43
  } & {
38
- title?: (props: typeof __VLS_24) => any;
44
+ title?: (props: typeof __VLS_37) => any;
39
45
  } & {
40
- content?: (props: typeof __VLS_26) => any;
46
+ content?: (props: typeof __VLS_39) => any;
41
47
  } & {
42
- footer?: (props: typeof __VLS_28) => any;
48
+ footer?: (props: typeof __VLS_41) => any;
43
49
  } & {
44
- cancel?: (props: typeof __VLS_30) => any;
50
+ cancel?: (props: typeof __VLS_43) => any;
45
51
  } & {
46
- extra?: (props: typeof __VLS_40) => any;
52
+ extra?: (props: typeof __VLS_53) => any;
47
53
  } & {
48
- confirm?: (props: typeof __VLS_42) => any;
54
+ confirm?: (props: typeof __VLS_55) => any;
49
55
  };
50
56
  declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
51
57
  tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
58
+ cancel: (e: MouseEvent) => void;
59
+ confirm: (e: MouseEvent) => void;
52
60
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
53
61
  cancel: (e: MouseEvent) => any;
62
+ beforeShow: (el: HTMLElement) => any;
63
+ show: (el: HTMLElement) => any;
64
+ beforeHide: (el: HTMLElement) => any;
65
+ hide: (el: HTMLElement) => any;
66
+ beforeEnter: (el: HTMLElement) => any;
67
+ enter: (el: HTMLElement, done: () => void) => any;
68
+ enterCancelled: (el: HTMLElement) => any;
69
+ afterEnter: (el: HTMLElement) => any;
70
+ beforeLeave: (el: HTMLElement) => any;
71
+ leave: (el: HTMLElement, done: () => void) => any;
72
+ leaveCancelled: (el: HTMLElement) => any;
73
+ afterLeave: (el: HTMLElement) => any;
54
74
  "update:visible": (value: boolean) => any;
55
75
  confirm: (e: MouseEvent) => any;
56
76
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
57
77
  onCancel?: ((e: MouseEvent) => any) | undefined;
78
+ onBeforeShow?: ((el: HTMLElement) => any) | undefined;
79
+ onShow?: ((el: HTMLElement) => any) | undefined;
80
+ onBeforeHide?: ((el: HTMLElement) => any) | undefined;
81
+ onHide?: ((el: HTMLElement) => any) | undefined;
82
+ onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
83
+ onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
84
+ onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
85
+ onAfterEnter?: ((el: HTMLElement) => any) | undefined;
86
+ onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
87
+ onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
88
+ onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
89
+ onAfterLeave?: ((el: HTMLElement) => any) | undefined;
58
90
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
59
91
  onConfirm?: ((e: MouseEvent) => any) | undefined;
60
92
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;