@duxweb/dvha-pro 1.0.18 → 1.0.20

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 (147) hide show
  1. package/dist/cjs/component.cjs +1 -1
  2. package/dist/cjs/components/card/card.cjs +1 -1
  3. package/dist/cjs/components/chart/echart.cjs +1 -1
  4. package/dist/cjs/components/code/code.cjs +1 -0
  5. package/dist/cjs/components/crop/imageCrop.cjs +1 -1
  6. package/dist/cjs/components/data/dynamicSelect.cjs +1 -1
  7. package/dist/cjs/components/data/selectModal.cjs +1 -1
  8. package/dist/cjs/components/drawer/drawer.cjs +1 -1
  9. package/dist/cjs/components/drawer/drawerPage.cjs +1 -1
  10. package/dist/cjs/components/form/formItem.cjs +1 -1
  11. package/dist/cjs/components/form/formLayout.cjs +1 -1
  12. package/dist/cjs/components/form/modalForm.cjs +1 -1
  13. package/dist/cjs/components/form/pageForm.cjs +1 -1
  14. package/dist/cjs/components/form/settingForm.cjs +1 -1
  15. package/dist/cjs/components/icon/icon.cjs +1 -1
  16. package/dist/cjs/components/layout/filter.cjs +1 -1
  17. package/dist/cjs/components/layout/filterLayout.cjs +1 -0
  18. package/dist/cjs/components/layout/list.cjs +1 -1
  19. package/dist/cjs/components/layout/table.cjs +1 -1
  20. package/dist/cjs/components/level/level.cjs +1 -1
  21. package/dist/cjs/components/modal/modal.cjs +1 -1
  22. package/dist/cjs/components/modal/modalPage.cjs +1 -1
  23. package/dist/cjs/components/panel/collapse.cjs +1 -0
  24. package/dist/cjs/components/panel/setting.cjs +1 -1
  25. package/dist/cjs/components/status/listEmpty.cjs +1 -0
  26. package/dist/cjs/components/table/table.cjs +1 -0
  27. package/dist/cjs/components/table/tablePage.cjs +1 -1
  28. package/dist/cjs/components/tree/treeFilter.cjs +1 -1
  29. package/dist/cjs/components/upload/config.cjs +1 -0
  30. package/dist/cjs/components/upload/file.cjs +1 -1
  31. package/dist/cjs/components/upload/image.cjs +1 -1
  32. package/dist/cjs/components/upload/manage/item.cjs +1 -1
  33. package/dist/cjs/components/upload/manager.cjs +1 -1
  34. package/dist/cjs/dvha-pro.css +1 -1
  35. package/dist/cjs/hooks/action.cjs +1 -1
  36. package/dist/cjs/hooks/dialog.cjs +1 -1
  37. package/dist/cjs/hooks/drawer.cjs +1 -1
  38. package/dist/cjs/hooks/modal.cjs +1 -1
  39. package/dist/cjs/hooks/table/image.cjs +1 -1
  40. package/dist/cjs/hooks/table/media.cjs +1 -1
  41. package/dist/cjs/hooks/table.cjs +1 -1
  42. package/dist/cjs/index.cjs +1 -1
  43. package/dist/cjs/langs/en-US.json.cjs +1 -1
  44. package/dist/cjs/langs/zh-CN.json.cjs +1 -1
  45. package/dist/cjs/pages/authLayout.cjs +1 -1
  46. package/dist/cjs/pages/layout/page.cjs +1 -1
  47. package/dist/cjs/pages/login.cjs +1 -1
  48. package/dist/cjs/pages/menu/avatar.cjs +1 -1
  49. package/dist/cjs/pages/menu/button.cjs +1 -1
  50. package/dist/cjs/pages/menu/cmd.cjs +1 -1
  51. package/dist/cjs/pages/menu/main.cjs +1 -1
  52. package/dist/cjs/pages/menu/mobile.cjs +1 -1
  53. package/dist/cjs/pages/page.cjs +1 -1
  54. package/dist/cjs/pages/page404.cjs +1 -1
  55. package/dist/cjs/pages/pageStatus.cjs +1 -1
  56. package/dist/cjs/theme/naiveTheme.cjs +1 -1
  57. package/dist/cjs/theme/uno.css.cjs +23 -7
  58. package/dist/esm/component.js +36 -34
  59. package/dist/esm/components/card/card.js +6 -6
  60. package/dist/esm/components/chart/echart.js +17 -6
  61. package/dist/esm/components/code/code.js +53 -0
  62. package/dist/esm/components/crop/imageCrop.js +37 -26
  63. package/dist/esm/components/data/dynamicSelect.js +29 -18
  64. package/dist/esm/components/data/selectModal.js +49 -38
  65. package/dist/esm/components/drawer/drawer.js +17 -28
  66. package/dist/esm/components/drawer/drawerPage.js +54 -17
  67. package/dist/esm/components/form/formItem.js +17 -17
  68. package/dist/esm/components/form/formLayout.js +8 -8
  69. package/dist/esm/components/form/modalForm.js +44 -35
  70. package/dist/esm/components/form/pageForm.js +81 -43
  71. package/dist/esm/components/form/settingForm.js +28 -17
  72. package/dist/esm/components/icon/icon.js +23 -12
  73. package/dist/esm/components/layout/filter.js +15 -11
  74. package/dist/esm/components/layout/filterLayout.js +34 -0
  75. package/dist/esm/components/layout/list.js +211 -161
  76. package/dist/esm/components/layout/table.js +217 -186
  77. package/dist/esm/components/level/level.js +28 -17
  78. package/dist/esm/components/modal/modal.js +9 -9
  79. package/dist/esm/components/modal/modalPage.js +2 -2
  80. package/dist/esm/components/panel/collapse.js +49 -0
  81. package/dist/esm/components/panel/setting.js +3 -3
  82. package/dist/esm/components/status/listEmpty.js +26 -0
  83. package/dist/esm/components/table/table.js +110 -0
  84. package/dist/esm/components/table/tablePage.js +24 -18
  85. package/dist/esm/components/tree/treeFilter.js +44 -39
  86. package/dist/esm/components/upload/config.js +32 -0
  87. package/dist/esm/components/upload/file.js +142 -116
  88. package/dist/esm/components/upload/image.js +95 -66
  89. package/dist/esm/components/upload/manage/item.js +17 -6
  90. package/dist/esm/components/upload/manager.js +202 -164
  91. package/dist/esm/dvha-pro.css +1 -1
  92. package/dist/esm/hooks/action.js +77 -75
  93. package/dist/esm/hooks/dialog.js +13 -2
  94. package/dist/esm/hooks/drawer.js +13 -2
  95. package/dist/esm/hooks/modal.js +13 -2
  96. package/dist/esm/hooks/table/image.js +21 -10
  97. package/dist/esm/hooks/table/media.js +20 -9
  98. package/dist/esm/hooks/table.js +16 -16
  99. package/dist/esm/index.js +174 -164
  100. package/dist/esm/langs/en-US.json.js +5 -3
  101. package/dist/esm/langs/zh-CN.json.js +5 -3
  102. package/dist/esm/pages/authLayout.js +19 -8
  103. package/dist/esm/pages/layout/page.js +17 -6
  104. package/dist/esm/pages/login.js +40 -29
  105. package/dist/esm/pages/menu/avatar.js +97 -86
  106. package/dist/esm/pages/menu/button.js +23 -12
  107. package/dist/esm/pages/menu/cmd.js +45 -34
  108. package/dist/esm/pages/menu/main.js +40 -27
  109. package/dist/esm/pages/menu/mobile.js +13 -2
  110. package/dist/esm/pages/page.js +1 -1
  111. package/dist/esm/pages/page404.js +20 -9
  112. package/dist/esm/pages/pageStatus.js +31 -15
  113. package/dist/esm/theme/naiveTheme.js +6 -6
  114. package/dist/esm/theme/uno.css.js +23 -7
  115. package/dist/types/components/code/code.d.ts +44 -0
  116. package/dist/types/components/code/index.d.ts +1 -0
  117. package/dist/types/components/drawer/drawer.d.ts +2 -0
  118. package/dist/types/components/drawer/drawerPage.d.ts +20 -1
  119. package/dist/types/components/form/formItem.d.ts +2 -2
  120. package/dist/types/components/form/formLayout.d.ts +3 -3
  121. package/dist/types/components/form/modalForm.d.ts +3 -3
  122. package/dist/types/components/form/pageForm.d.ts +12 -0
  123. package/dist/types/components/index.d.ts +1 -0
  124. package/dist/types/components/layout/filterLayout.d.ts +32 -0
  125. package/dist/types/components/layout/index.d.ts +1 -0
  126. package/dist/types/components/layout/list.d.ts +7 -1
  127. package/dist/types/components/layout/table.d.ts +10 -1
  128. package/dist/types/components/list/card.d.ts +6 -0
  129. package/dist/types/components/list/list.d.ts +6 -0
  130. package/dist/types/components/panel/collapse.d.ts +14 -0
  131. package/dist/types/components/panel/index.d.ts +1 -0
  132. package/dist/types/components/select/cardSelect.d.ts +1 -1
  133. package/dist/types/components/status/index.d.ts +1 -0
  134. package/dist/types/components/status/listEmpty.d.ts +11 -0
  135. package/dist/types/components/table/index.d.ts +1 -0
  136. package/dist/types/components/table/table.d.ts +6552 -0
  137. package/dist/types/components/table/tablePage.d.ts +9 -0
  138. package/dist/types/components/tree/treeFilter.d.ts +13 -12
  139. package/dist/types/components/upload/config.d.ts +13 -0
  140. package/dist/types/components/upload/file.d.ts +4 -0
  141. package/dist/types/components/upload/image.d.ts +30 -2
  142. package/dist/types/components/upload/manager.d.ts +4 -0
  143. package/dist/types/hooks/drawer.d.ts +1 -0
  144. package/dist/types/hooks/table/types.d.ts +1 -0
  145. package/dist/types/main.d.ts +6 -0
  146. package/dist/types/pages/pageStatus.d.ts +11 -1
  147. package/package.json +7 -5
@@ -1 +1 @@
1
- @charset "UTF-8";.n-popover-shared .n-popover-arrow-wrapper .n-popover-arrow{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.n-dropdown-menu{min-width:130px}.icon-gradient{color:rgb(var(--ui-color-primary));animation:icon-color-cycle 12s ease-in-out infinite}@keyframes icon-color-cycle{0%{color:rgb(var(--ui-color-primary))}20%{color:rgb(var(--ui-color-info))}40%{color:rgb(var(--ui-color-success))}60%{color:rgb(var(--ui-color-warning))}80%{color:rgb(var(--ui-color-error))}to{color:rgb(var(--ui-color-primary))}}@keyframes icon-gradient-shift{0%{background-position:0% 50%}25%{background-position:50% 0%}50%{background-position:100% 50%}75%{background-position:50% 100%}to{background-position:0% 50%}}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-pad{border:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__prefix,.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__suffix{border-bottom:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-tab{padding:0;border-bottom:none;border-radius:0;background-color:transparent}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{height:20px;width:1px;background-color:#0000001a;border-bottom:none;position:absolute;top:50%;transform:translateY(-50%)}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab{background-color:transparent;border-bottom:none;border:none;position:relative}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab.n-tabs-tab--active{background-color:transparent}.dark .app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{background-color:#ffffff1a}.app-modal-tabs.n-tabs .n-tabs-wrapper{padding:0 16px}.app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-color-gray-200)/.2)}.app-modal-tabs.n-tabs .n-tabs-tab{padding:12px 4px;font-size:var(--n-font-size)}.dark .app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-bg-elevated)/.5)}.n-data-table .n-data-table-thead{border:1px solid rgb(var(--ui-border-muted))}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-left:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th--last{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-right:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-th{border-top:1px solid rgba(var(--ui-border-accented)/.5);border-bottom:1px solid rgba(var(--ui-border-accented)/.5)}.command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.3);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:100vh;width:100vw;position:fixed;top:0;left:0;z-index:1000}.command-palette [command-dialog-wrapper]{position:relative;flex-direction:column;margin:20vh auto auto;max-width:560px;background-color:rgb(var(--ui-bg)/.9);border-radius:6px}.command-palette [command-group-heading]{color:rgba(var(--ui-text-muted));padding:6px}.command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border-muted));margin:6px 0}.command-palette [command-list]{border-top:1px solid rgb(var(--ui-border-muted));padding:0 6px 6px}.command-palette [command-item]{padding:6px 12px;display:flex;align-items:center;gap:6px;border-radius:3px;color:rgba(var(--ui-text-toned))}.command-palette [command-item][aria-selected=true],.command-palette [command-item]:active{background-color:rgb(var(--ui-bg-accented)/.8);color:rgba(var(--ui-color-primary-500))}.dark .command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.02)}.dark .command-palette [command-dialog-wrapper]{background-color:rgb(var(--ui-bg-elevated)/.95)}.dark .command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border)/.5)}.dark .command-palette [command-list]{border-top:1px solid rgb(var(--ui-border)/.5)}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content-header{opacity:1}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content__arrow{display:none}.app-login-bg{background-image:repeating-linear-gradient(90deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#f7f7f8,#f7f7f8)}.app-login-dark-bg{background-image:repeating-linear-gradient(90deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#101014,#101014)}.app-loading{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000;background-color:rgb(var(--ui-bg));overflow:hidden}.app-box-loading{width:50px;height:50px;position:relative}.app-box-loading:before{content:"";width:50px;height:5px;background:rgb(var(--ui-color-gray-200));opacity:.3;position:absolute;top:59px;left:0;border-radius:50%;animation:shadow .5s linear infinite}.app-box-loading:after{content:"";width:50px;height:50px;background:rgba(var(--ui-color-primary));animation:animate .5s linear infinite;position:absolute;top:0;left:0;border-radius:3px}@keyframes animate{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scaleY(.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}html{color-scheme:light;background-color:rgb(var(--ui-color-primary-700)/.05)}html.dark{color-scheme:dark;background-color:rgb(var(--ui-bg)/.5)}[un-cloak]{display:none}.app-remote-loader{height:100%}
1
+ @charset "UTF-8";.n-popover-shared .n-popover-arrow-wrapper .n-popover-arrow{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.n-dropdown-menu{min-width:130px}.icon-gradient{color:rgb(var(--ui-color-primary));animation:icon-color-cycle 12s ease-in-out infinite}@keyframes icon-color-cycle{0%{color:rgb(var(--ui-color-primary))}20%{color:rgb(var(--ui-color-info))}40%{color:rgb(var(--ui-color-success))}60%{color:rgb(var(--ui-color-warning))}80%{color:rgb(var(--ui-color-error))}to{color:rgb(var(--ui-color-primary))}}@keyframes icon-gradient-shift{0%{background-position:0% 50%}25%{background-position:50% 0%}50%{background-position:100% 50%}75%{background-position:50% 100%}to{background-position:0% 50%}}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-pad{border:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__prefix,.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__suffix{border-bottom:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-tab{padding:0;border-bottom:none;border-radius:0;background-color:transparent}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{height:20px;width:1px;background-color:#0000001a;border-bottom:none;position:absolute;top:50%;transform:translateY(-50%)}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab{background-color:transparent;border-bottom:none;border:none;position:relative}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab.n-tabs-tab--active{background-color:transparent}.dark .app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{background-color:#ffffff1a}.app-modal-tabs.n-tabs .n-tabs-wrapper{padding:0 16px}.app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-color-gray-200)/.2)}.app-modal-tabs.n-tabs .n-tabs-tab{padding:12px 4px;font-size:var(--n-font-size)}.dark .app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-bg-elevated)/.5)}.n-data-table .n-data-table-thead{border:1px solid rgb(var(--ui-border-muted))}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-left:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th--last{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-right:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-th{border-top:1px solid rgba(var(--ui-border-accented)/.5);border-bottom:1px solid rgba(var(--ui-border-accented)/.5)}.command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.3);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:100vh;width:100vw;position:fixed;top:0;left:0;z-index:1000}.command-palette [command-dialog-wrapper]{position:relative;flex-direction:column;margin:20vh auto auto;max-width:560px;background-color:rgb(var(--ui-bg)/.9);border-radius:6px}.command-palette [command-group-heading]{color:rgba(var(--ui-text-muted));padding:6px}.command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border-muted));margin:6px 0}.command-palette [command-list]{border-top:1px solid rgb(var(--ui-border-muted));padding:0 6px 6px}.command-palette [command-item]{padding:6px 12px;display:flex;align-items:center;gap:6px;border-radius:3px;color:rgba(var(--ui-text-toned))}.command-palette [command-item][aria-selected=true],.command-palette [command-item]:active{background-color:rgb(var(--ui-bg-accented)/.8);color:rgba(var(--ui-color-primary-500))}.dark .command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.02)}.dark .command-palette [command-dialog-wrapper]{background-color:rgb(var(--ui-bg-elevated)/.95)}.dark .command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border)/.5)}.dark .command-palette [command-list]{border-top:1px solid rgb(var(--ui-border)/.5)}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content-header{opacity:1}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content__arrow{display:none}.app-login-bg{background-image:repeating-linear-gradient(90deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#f7f7f8,#f7f7f8)}.app-login-dark-bg{background-image:repeating-linear-gradient(90deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#101014,#101014)}.app-loading{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000;background-color:rgb(var(--ui-bg));overflow:hidden}.app-box-loading{width:50px;height:50px;position:relative}.app-box-loading:before{content:"";width:50px;height:5px;background:rgb(var(--ui-color-gray-200));opacity:.3;position:absolute;top:59px;left:0;border-radius:50%;animation:shadow .5s linear infinite}.app-box-loading:after{content:"";width:50px;height:50px;background:rgba(var(--ui-color-primary));animation:animate .5s linear infinite;position:absolute;top:0;left:0;border-radius:3px}@keyframes animate{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scaleY(.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}html{color-scheme:light;background-color:rgb(var(--ui-color-primary-700)/.05)}html.dark{color-scheme:dark;background-color:rgb(var(--ui-bg)/.5)}[un-cloak]{display:none}.app-remote-loader{height:100%}.tab-fade-leave-active,.tab-fade-enter-active{transition:all .3s}.tab-fade-enter-from{opacity:0;transform:translate(-30px)}.tab-fade-enter-to{opacity:1;transform:translate(0)}.tab-fade-leave-to{opacity:0;transform:translate(30px)}
@@ -1,83 +1,84 @@
1
- import { useI18n as x, useManage as S, useCustomMutation as D, useDelete as C } from "@duxweb/dvha-core";
1
+ import { useI18n as b, useManage as S, useCustomMutation as D, useDelete as C } from "@duxweb/dvha-core";
2
2
  import { useMessage as I, NButton as j, NDropdown as N } from "naive-ui";
3
- import { h as r } from "vue";
3
+ import { h as s } from "vue";
4
4
  import { useRouter as $ } from "vue-router";
5
5
  import { useDialog as B } from "./dialog.js";
6
6
  import { useDrawer as E } from "./drawer.js";
7
7
  import { useModal as T } from "./modal.js";
8
- function U(n) {
9
- const y = T(), d = E(), m = B(), {
8
+ function Q(n) {
9
+ const y = T(), d = E(), o = B(), {
10
10
  t: c
11
- } = x(), l = I(), a = S(), u = $(), v = D({
11
+ } = b(), a = I(), l = S(), u = $(), v = D({
12
12
  onSuccess: (e) => {
13
- l.success(e.message || c("common.success"));
13
+ a.success(e.message || c("common.success"));
14
14
  },
15
15
  onError: (e) => {
16
- l.error(e.message || c("common.error"));
16
+ a.error(e.message || c("common.error"));
17
17
  }
18
18
  }), A = C({
19
19
  onSuccess: (e) => {
20
- l.success(e.message || c("common.success"));
20
+ a.success(e.message || c("common.success"));
21
21
  },
22
22
  onError: (e) => {
23
- l.error(e.message || c("common.error"));
23
+ a.error(e.message || c("common.error"));
24
24
  }
25
- }), g = (n == null ? void 0 : n.path) || a.getPath(), b = (e) => {
26
- var f, P;
27
- const i = c(e.item.title || "", {}, e.item.title), s = c(e.item.label || "", {}, e.item.label);
25
+ }), g = (n == null ? void 0 : n.path) || l.getPath(), x = (e) => {
26
+ var f, k;
27
+ const i = c(e.item.title || "", {}, e.item.title), r = c(e.item.label || "", {}, e.item.label);
28
28
  if (e.item.type === "modal") {
29
- const t = e.item;
29
+ const t = e.item, m = typeof t.componentProps == "function" ? t.componentProps(e.data) : t.componentProps;
30
30
  y.show({
31
- title: i || s,
31
+ title: i || r,
32
32
  component: t.component,
33
33
  componentProps: {
34
34
  id: e.id,
35
- ...t.componentProps
35
+ ...m
36
36
  },
37
37
  width: t.width,
38
38
  draggable: t.draggable !== void 0 ? t.draggable : !0
39
39
  });
40
40
  }
41
41
  if (e.item.type === "drawer") {
42
- const t = e.item;
42
+ const t = e.item, m = typeof t.componentProps == "function" ? t.componentProps(e.data) : t.componentProps;
43
43
  d.show({
44
- title: i || s,
44
+ title: i || r,
45
45
  component: t.component,
46
46
  componentProps: {
47
47
  id: e.id,
48
- ...t.componentProps
48
+ ...m
49
49
  },
50
- width: t.width
50
+ width: t.width,
51
+ maxWidth: t.maxWidth
51
52
  });
52
53
  }
53
54
  if (e.item.type === "confirm") {
54
55
  const t = e.item;
55
- m.confirm({
56
- title: i || s,
56
+ o.confirm({
57
+ title: i || r,
57
58
  content: t.content
58
- }).then((o) => {
59
+ }).then((m) => {
59
60
  var h;
60
- o && ((h = t.callback) == null || h.call(t, e.id, e.data));
61
+ m && ((h = t.callback) == null || h.call(t, e.id, e.data));
61
62
  });
62
63
  }
63
64
  if (e.item.type === "request") {
64
65
  const t = e.item;
65
- m.confirm({
66
- title: i || s,
66
+ o.confirm({
67
+ title: i || r,
67
68
  content: t.content
68
69
  }).then(() => {
69
- const o = typeof t.data == "function" ? t.data(e.id, e.data) : t.data, h = (t.method || "post").toLowerCase(), M = t.path || g;
70
+ const m = typeof t.data == "function" ? t.data(e.id, e.data) : t.data, h = (t.method || "post").toLowerCase(), M = t.path || g;
70
71
  v.mutate({
71
72
  path: M,
72
73
  method: h,
73
- payload: o
74
+ payload: m
74
75
  });
75
76
  });
76
77
  }
77
78
  if (e.item.type === "delete") {
78
79
  const t = e.item;
79
- m.confirm({
80
- title: i || s,
80
+ o.confirm({
81
+ title: i || r,
81
82
  content: t.content
82
83
  }).then(() => {
83
84
  A.mutate({
@@ -87,120 +88,121 @@ function U(n) {
87
88
  });
88
89
  }
89
90
  if (e.item.type === "link") {
90
- const t = e.item, o = typeof t.path == "function" ? (f = t.path) == null ? void 0 : f.call(t, e.id, e.data) : a.getRoutePath(e.id ? `${t.path || g}${e.data === void 0 ? "" : `/${e.id}`}` : t.path || g);
91
- u.push(o);
91
+ const t = e.item, m = typeof t.path == "function" ? (f = t.path) == null ? void 0 : f.call(t, e.id, e.data) : l.getRoutePath(e.id ? `${t.path || g}${e.data === void 0 ? "" : `/${e.id}`}` : t.path || g);
92
+ u.push(m);
92
93
  }
93
94
  if (e.item.type === "callback") {
94
95
  const t = e.item;
95
- (P = t.callback) == null || P.call(t, e.id, e.data);
96
+ (k = t.callback) == null || k.call(t, e.id, e.data);
96
97
  }
97
- }, w = q(), k = L();
98
+ }, w = W(), P = q();
98
99
  return {
99
- target: b,
100
- renderTable: (e) => (i, s) => {
100
+ target: x,
101
+ renderTable: (e) => (i, r) => {
101
102
  const f = {
102
103
  id: i[e.key || (n == null ? void 0 : n.key) || "id"],
103
104
  data: i,
104
- index: s,
105
- target: b,
105
+ index: r,
106
+ target: x,
106
107
  text: e.text !== void 0 ? e.text : (n == null ? void 0 : n.text) || !1,
107
108
  align: e.align !== void 0 ? e.align : (n == null ? void 0 : n.align) || "left"
108
109
  };
109
110
  return (e.type || (n == null ? void 0 : n.type)) === "button" ? w.render({
110
111
  ...f,
111
112
  action: e || n
112
- }) : k.render({
113
+ }) : P.render({
113
114
  ...f,
114
115
  action: e || n
115
116
  });
116
117
  },
117
118
  renderAction: (e) => {
118
119
  const i = {
119
- target: b,
120
+ target: x,
120
121
  text: e.text !== void 0 ? e.text : (n == null ? void 0 : n.text) || !1,
121
122
  align: e.align !== void 0 ? e.align : (n == null ? void 0 : n.align) || "left"
122
123
  };
123
124
  return (e.type || (n == null ? void 0 : n.type)) === "button" ? w.render({
124
125
  ...i,
125
126
  action: e || n
126
- }) : k.render({
127
+ }) : P.render({
127
128
  ...i,
128
129
  action: e || n
129
130
  });
130
131
  }
131
132
  };
132
133
  }
133
- function q() {
134
+ function W() {
134
135
  const {
135
136
  t: n
136
- } = x();
137
+ } = b();
137
138
  return {
138
139
  render: (d) => {
139
140
  var c;
140
- const m = (c = d.action.items) == null ? void 0 : c.filter((l) => {
141
- var a;
142
- return !l.show || ((a = l.show) == null ? void 0 : a.call(l, d.data, d.index));
143
- }).map((l, a) => r(j, {
144
- key: a,
145
- type: l.color || l.type === "delete" ? "error" : "primary",
141
+ const o = (c = d.action.items) == null ? void 0 : c.filter((a) => {
142
+ var l;
143
+ return !a.show || ((l = a.show) == null ? void 0 : l.call(a, d.data, d.index));
144
+ }).map((a, l) => s(j, {
145
+ key: l,
146
+ type: a.color || (a.type === "delete" ? "error" : "primary"),
146
147
  text: d.text,
148
+ secondary: !d.text,
147
149
  onClick: () => {
148
150
  var u;
149
151
  (u = d == null ? void 0 : d.target) == null || u.call(d, {
150
152
  id: d.id,
151
153
  data: d.data,
152
- item: l
154
+ item: a
153
155
  });
154
156
  },
155
- renderIcon: l.icon ? () => r("div", {
156
- class: ["n-icon", l.icon]
157
+ renderIcon: a.icon ? () => s("div", {
158
+ class: ["n-icon", a.icon]
157
159
  }) : void 0
158
- }, () => n(l.label || "", {}, l.label)));
159
- return r("div", {
160
+ }, () => n(a.label || "", {}, a.label)));
161
+ return s("div", {
160
162
  class: ["flex gap-2 flex-wrap items-center", d.align === "right" ? "justify-end" : d.align === "center" ? "justify-center" : "justify-start"]
161
- }, m);
163
+ }, o);
162
164
  }
163
165
  };
164
166
  }
165
- function L() {
167
+ function q() {
166
168
  const {
167
169
  t: n
168
- } = x();
170
+ } = b();
169
171
  return {
170
172
  render: (d) => {
171
173
  var c;
172
- const m = (c = d.action.items) == null ? void 0 : c.filter((l) => {
173
- var a;
174
- return !l.show || ((a = l.show) == null ? void 0 : a.call(l, d.data, d.index));
175
- }).map((l, a) => ({
176
- label: n(l.label || "", {}, l.label),
177
- key: a,
178
- icon: l.icon ? () => r("div", {
179
- class: ["n-icon", l.icon]
174
+ const o = (c = d.action.items) == null ? void 0 : c.filter((a) => {
175
+ var l;
176
+ return !a.show || ((l = a.show) == null ? void 0 : l.call(a, d.data, d.index));
177
+ }).map((a, l) => ({
178
+ label: n(a.label || "", {}, a.label),
179
+ key: l,
180
+ icon: a.icon ? () => s("div", {
181
+ class: ["n-icon", a.icon]
180
182
  }) : void 0,
181
183
  onSelect: () => {
182
184
  var u;
183
185
  (u = d == null ? void 0 : d.target) == null || u.call(d, {
184
186
  id: d.id,
185
187
  data: d.data,
186
- item: l
188
+ item: a
187
189
  });
188
190
  }
189
191
  }));
190
- return r(N, {
192
+ return s(N, {
191
193
  trigger: "click",
192
- options: m,
193
- onSelect: (l, a) => {
194
+ options: o,
195
+ onSelect: (a, l) => {
194
196
  var u;
195
- (u = a == null ? void 0 : a.onSelect) == null || u.call(a);
197
+ (u = l == null ? void 0 : l.onSelect) == null || u.call(l);
196
198
  }
197
- }, () => [r("div", {
199
+ }, () => [s("div", {
198
200
  class: ["flex items-center", d.align === "right" ? "justify-end" : d.align === "center" ? "justify-center" : "justify-start"]
199
- }, r(j, {
201
+ }, s(j, {
200
202
  type: "default",
201
203
  text: d.text,
202
204
  secondary: !d.text,
203
- renderIcon: () => r("div", {
205
+ renderIcon: () => s("div", {
204
206
  class: ["n-icon", "i-tabler:dots-vertical"]
205
207
  })
206
208
  }))]);
@@ -208,7 +210,7 @@ function L() {
208
210
  };
209
211
  }
210
212
  export {
211
- U as useAction,
212
- q as useActionButton,
213
- L as useActionDropdown
213
+ Q as useAction,
214
+ W as useActionButton,
215
+ q as useActionDropdown
214
216
  };
@@ -30,7 +30,18 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
30
  import "vue-command-palette";
31
31
  import "../pages/page404.js";
32
32
  import "@iconify-json/tabler/icons.json";
33
- function Q() {
33
+ import "vue3-ace-editor";
34
+ import "ace-builds/src-noconflict/mode-vue";
35
+ import "ace-builds/src-noconflict/mode-javascript";
36
+ import "ace-builds/src-noconflict/mode-html";
37
+ import "ace-builds/src-noconflict/mode-json";
38
+ import "ace-builds/src-noconflict/mode-json5";
39
+ import "ace-builds/src-noconflict/theme-tomorrow_night";
40
+ import "ace-builds/src-noconflict/theme-tomorrow";
41
+ import "ace-builds/src-noconflict/ext-searchbox";
42
+ import "ace-builds/src-noconflict/ext-language_tools";
43
+ import "ace-builds/src-noconflict/mode-snippets";
44
+ function $() {
34
45
  const t = p(m), o = (r) => t(r);
35
46
  return {
36
47
  confirm: (r) => o({
@@ -56,5 +67,5 @@ function Q() {
56
67
  };
57
68
  }
58
69
  export {
59
- Q as useDialog
70
+ $ as useDialog
60
71
  };
@@ -30,12 +30,23 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
30
  import "vue-command-palette";
31
31
  import "../pages/page404.js";
32
32
  import "@iconify-json/tabler/icons.json";
33
- function K() {
33
+ import "vue3-ace-editor";
34
+ import "ace-builds/src-noconflict/mode-vue";
35
+ import "ace-builds/src-noconflict/mode-javascript";
36
+ import "ace-builds/src-noconflict/mode-html";
37
+ import "ace-builds/src-noconflict/mode-json";
38
+ import "ace-builds/src-noconflict/mode-json5";
39
+ import "ace-builds/src-noconflict/theme-tomorrow_night";
40
+ import "ace-builds/src-noconflict/theme-tomorrow";
41
+ import "ace-builds/src-noconflict/ext-searchbox";
42
+ import "ace-builds/src-noconflict/ext-language_tools";
43
+ import "ace-builds/src-noconflict/mode-snippets";
44
+ function W() {
34
45
  const r = t(m);
35
46
  return {
36
47
  show: (o) => r(o)
37
48
  };
38
49
  }
39
50
  export {
40
- K as useDrawer
51
+ W as useDrawer
41
52
  };
@@ -30,12 +30,23 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
30
  import "vue-command-palette";
31
31
  import "../pages/page404.js";
32
32
  import "@iconify-json/tabler/icons.json";
33
- function J() {
33
+ import "vue3-ace-editor";
34
+ import "ace-builds/src-noconflict/mode-vue";
35
+ import "ace-builds/src-noconflict/mode-javascript";
36
+ import "ace-builds/src-noconflict/mode-html";
37
+ import "ace-builds/src-noconflict/mode-json";
38
+ import "ace-builds/src-noconflict/mode-json5";
39
+ import "ace-builds/src-noconflict/theme-tomorrow_night";
40
+ import "ace-builds/src-noconflict/theme-tomorrow";
41
+ import "ace-builds/src-noconflict/ext-searchbox";
42
+ import "ace-builds/src-noconflict/ext-language_tools";
43
+ import "ace-builds/src-noconflict/mode-snippets";
44
+ function W() {
34
45
  const o = t(m);
35
46
  return {
36
47
  show: (r) => o(r)
37
48
  };
38
49
  }
39
50
  export {
40
- J as useModal
51
+ W as useModal
41
52
  };
@@ -1,4 +1,4 @@
1
- import { createVNode as r, h as e } from "vue";
1
+ import { createVNode as r, h as o } from "vue";
2
2
  import { get as h } from "lodash-es";
3
3
  import { NImage as g } from "naive-ui";
4
4
  import "clsx";
@@ -30,25 +30,36 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
30
  import "vue-command-palette";
31
31
  import "../../pages/page404.js";
32
32
  import "@iconify-json/tabler/icons.json";
33
- function L() {
33
+ import "vue3-ace-editor";
34
+ import "ace-builds/src-noconflict/mode-vue";
35
+ import "ace-builds/src-noconflict/mode-javascript";
36
+ import "ace-builds/src-noconflict/mode-html";
37
+ import "ace-builds/src-noconflict/mode-json";
38
+ import "ace-builds/src-noconflict/mode-json5";
39
+ import "ace-builds/src-noconflict/theme-tomorrow_night";
40
+ import "ace-builds/src-noconflict/theme-tomorrow";
41
+ import "ace-builds/src-noconflict/ext-searchbox";
42
+ import "ace-builds/src-noconflict/ext-language_tools";
43
+ import "ace-builds/src-noconflict/mode-snippets";
44
+ function it() {
34
45
  return {
35
- render: (t) => (o, d) => {
36
- let i = h(o, t.key || "") || [];
46
+ render: (t) => (e, d) => {
47
+ let i = h(e, t.key || "") || [];
37
48
  return i = Array.isArray(i) ? i : [i], r("div", {
38
49
  class: "flex flex-wrap gap-2"
39
- }, [i.length > 0 ? i.map((a, p) => r(g, {
40
- key: p,
41
- src: a,
50
+ }, [i.length > 0 ? i.map((p, a) => r(g, {
51
+ key: a,
52
+ src: p,
42
53
  width: t.imageWidth,
43
54
  height: t.imageHeight,
44
55
  objectFit: "cover",
45
56
  fallbackSrc: "data:image/svg+xml;base64,"
46
57
  }, {
47
- placeholder: () => e(m, {
58
+ placeholder: () => o(m, {
48
59
  width: t.imageWidth || 40,
49
60
  height: t.imageHeight || 40
50
61
  }),
51
- error: () => e(m, {
62
+ error: () => o(m, {
52
63
  width: t.imageWidth || 40,
53
64
  height: t.imageHeight || 40
54
65
  })
@@ -59,5 +70,5 @@ function L() {
59
70
  };
60
71
  }
61
72
  export {
62
- L as useTableColumnImage
73
+ it as useTableColumnImage
63
74
  };
@@ -1,6 +1,6 @@
1
- import { createVNode as n } from "vue";
1
+ import { createVNode as p } from "vue";
2
2
  import { get as m } from "lodash-es";
3
- import { DuxMedia as c } from "../../components/media/media.js";
3
+ import { DuxMedia as n } from "../../components/media/media.js";
4
4
  import "naive-ui";
5
5
  import "vue-echarts";
6
6
  import "@duxweb/dvha-core";
@@ -30,15 +30,26 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
30
  import "vue-command-palette";
31
31
  import "../../pages/page404.js";
32
32
  import "@iconify-json/tabler/icons.json";
33
- function P() {
33
+ import "vue3-ace-editor";
34
+ import "ace-builds/src-noconflict/mode-vue";
35
+ import "ace-builds/src-noconflict/mode-javascript";
36
+ import "ace-builds/src-noconflict/mode-html";
37
+ import "ace-builds/src-noconflict/mode-json";
38
+ import "ace-builds/src-noconflict/mode-json5";
39
+ import "ace-builds/src-noconflict/theme-tomorrow_night";
40
+ import "ace-builds/src-noconflict/theme-tomorrow";
41
+ import "ace-builds/src-noconflict/ext-searchbox";
42
+ import "ace-builds/src-noconflict/ext-language_tools";
43
+ import "ace-builds/src-noconflict/mode-snippets";
44
+ function D() {
34
45
  return {
35
46
  render: (t) => (i, d) => {
36
- const e = typeof t.title == "function" ? t.title(i) : m(i, t.title || ""), o = typeof t.desc == "function" ? t.desc(i) : m(i, t.desc || ""), r = typeof t.image == "function" ? t.image(i) : m(i, t.image || "");
37
- return n(c, {
38
- title: e,
39
- desc: o,
47
+ const o = typeof t.title == "function" ? t.title(i) : m(i, t.title || ""), r = typeof t.desc == "function" ? t.desc(i) : m(i, t.desc || ""), e = typeof t.image == "function" ? t.image(i) : m(i, t.image || "");
48
+ return p(n, {
49
+ title: o,
50
+ desc: r,
40
51
  avatar: t.avatar,
41
- image: r,
52
+ image: e,
42
53
  imageWidth: t.imageWidth,
43
54
  imageHeight: t.imageHeight
44
55
  }, null);
@@ -46,5 +57,5 @@ function P() {
46
57
  };
47
58
  }
48
59
  export {
49
- P as useTableColumnMedia
60
+ D as useTableColumnMedia
50
61
  };
@@ -1,20 +1,20 @@
1
- import { ref as m, createVNode as l, createTextVNode as g } from "vue";
2
- import { useI18n as x } from "@duxweb/dvha-core";
3
- import { useNaiveTable as d } from "@duxweb/dvha-naiveui";
4
- import { useMessage as f, useNotification as b, NProgress as u } from "naive-ui";
5
- function P(p) {
1
+ import { ref as i, createVNode as l, createTextVNode as p } from "vue";
2
+ import { useI18n as m } from "@duxweb/dvha-core";
3
+ import { useNaiveTable as x } from "@duxweb/dvha-naiveui";
4
+ import { useMessage as g, useNotification as d, NProgress as c } from "naive-ui";
5
+ function E(u) {
6
6
  const {
7
7
  t: o
8
- } = x(), a = f(), n = b(), t = m(null);
9
- return d({
10
- ...p,
8
+ } = m(), r = g(), n = d(), t = i(null);
9
+ return x({
10
+ ...u,
11
11
  // 传递导出回调
12
12
  onExportSuccess: (e) => {
13
- var s, c;
13
+ var s, a;
14
14
  (s = t.value) == null || s.destroy(), t.value = null, n.success({
15
15
  title: o("hooks.table.exportSuccess"),
16
16
  content: o("hooks.table.exportSuccessContent", {
17
- count: ((c = e == null ? void 0 : e.pages) == null ? void 0 : c.reduce((i, r) => i + (r == null ? void 0 : r.data.length), 0)) || 0
17
+ count: ((a = e == null ? void 0 : e.data) == null ? void 0 : a.length) || 0
18
18
  }),
19
19
  duration: 6e3
20
20
  });
@@ -25,7 +25,7 @@ function P(p) {
25
25
  content: () => o("hooks.table.exportProgressContent", {
26
26
  page: e.page || 1
27
27
  }),
28
- avatar: () => l(u, {
28
+ avatar: () => l(c, {
29
29
  class: "size-10 text-sm",
30
30
  type: "circle",
31
31
  percentage: 50
@@ -41,7 +41,7 @@ function P(p) {
41
41
  },
42
42
  onExportError: (e) => {
43
43
  var s;
44
- (s = t.value) == null || s.destroy(), t.value = null, a.error(o("hooks.table.exportFailedContent", {
44
+ (s = t.value) == null || s.destroy(), t.value = null, r.error(o("hooks.table.exportFailedContent", {
45
45
  error: (e == null ? void 0 : e.message) || o("common.unknownError")
46
46
  }));
47
47
  },
@@ -63,14 +63,14 @@ function P(p) {
63
63
  processed: (e == null ? void 0 : e.processedItems) || 0,
64
64
  total: (e == null ? void 0 : e.totalItems) || 0
65
65
  }),
66
- avatar: () => l(u, {
66
+ avatar: () => l(c, {
67
67
  class: "size-10 text-sm",
68
68
  type: "circle",
69
69
  percentage: (e == null ? void 0 : e.percentage) || 0
70
70
  }, {
71
71
  default: () => [l("div", {
72
72
  class: "text-xs"
73
- }, [(e == null ? void 0 : e.percentage) || 0, g("%")])]
73
+ }, [(e == null ? void 0 : e.percentage) || 0, p("%")])]
74
74
  }),
75
75
  onClose: () => {
76
76
  t.value = null;
@@ -79,12 +79,12 @@ function P(p) {
79
79
  },
80
80
  onImportError: (e) => {
81
81
  var s;
82
- (s = t.value) == null || s.destroy(), t.value = null, a.error(o("hooks.table.importFailedContent", {
82
+ (s = t.value) == null || s.destroy(), t.value = null, r.error(o("hooks.table.importFailedContent", {
83
83
  error: (e == null ? void 0 : e.message) || o("common.unknownError")
84
84
  }));
85
85
  }
86
86
  });
87
87
  }
88
88
  export {
89
- P as useTable
89
+ E as useTable
90
90
  };