@dt-frames/ui 1.0.1 → 1.0.4

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 (207) hide show
  1. package/README.md +1 -15
  2. package/es/assets/style/reset.less +0 -3
  3. package/es/components/iframe/index.d.ts +2 -2
  4. package/es/components/index.d.ts +2 -2
  5. package/es/index.css +1 -1
  6. package/es/index.js +34 -392
  7. package/es/style/assets/style/reset.less +0 -3
  8. package/es/style/components/forms/index.less +84 -0
  9. package/es/style/components/iframe/index.less +3 -0
  10. package/es/style/components/modal/index.less +63 -0
  11. package/es/style/components/table/index.less +162 -0
  12. package/es/style/theme/sider/index.less +25 -25
  13. package/es/style/theme/theme.less +2 -1
  14. package/es/theme/header/components/notify.d.ts +0 -1
  15. package/es/theme/header/components/user-info.d.ts +1 -1
  16. package/package.json +47 -40
  17. package/src/assets/data/icons/actions.ts +427 -0
  18. package/src/assets/data/icons/code.ts +10 -0
  19. package/src/assets/data/icons/commuticate.ts +190 -0
  20. package/src/assets/data/icons/currency.ts +46 -0
  21. package/src/assets/data/icons/devices.ts +128 -0
  22. package/src/assets/data/icons/edit.ts +165 -0
  23. package/src/assets/data/icons/file.ts +104 -0
  24. package/src/assets/data/icons/math.ts +53 -0
  25. package/src/assets/data/icons/message.ts +75 -0
  26. package/src/assets/data/icons/navigate.ts +181 -0
  27. package/src/assets/data/icons/other.ts +333 -0
  28. package/src/assets/data/icons.ts +58 -0
  29. package/src/assets/imgs/logo/logo.png +0 -0
  30. package/src/assets/locales/en_US.json +3 -0
  31. package/src/assets/locales/zh_CN.json +3 -0
  32. package/src/assets/style/index.less +10 -0
  33. package/src/assets/style/reset.less +17 -0
  34. package/src/components/container/index.less +85 -0
  35. package/src/components/container/index.ts +8 -0
  36. package/src/components/container/src/bar.ts +107 -0
  37. package/src/components/container/src/lazy-container.vue +9 -0
  38. package/src/components/container/src/scroll-bar.vue +117 -0
  39. package/src/components/container/src/scroll-container.vue +61 -0
  40. package/src/components/curd/index.ts +5 -0
  41. package/src/components/curd/src/components/dialog.vue +65 -0
  42. package/src/components/curd/src/components/props.ts +32 -0
  43. package/src/components/curd/src/hooks/useCurd.tsx +72 -0
  44. package/src/components/curd/src/types/curd.type.ts +29 -0
  45. package/src/components/excel/index.ts +6 -0
  46. package/src/components/excel/src/export2Excel.ts +44 -0
  47. package/src/components/forms/index.less +84 -0
  48. package/src/components/forms/index.ts +12 -0
  49. package/src/components/forms/src/componentMap.ts +44 -0
  50. package/src/components/forms/src/components/formButton.vue +150 -0
  51. package/src/components/forms/src/components/formIcon.vue +50 -0
  52. package/src/components/forms/src/components/formItem.vue +407 -0
  53. package/src/components/forms/src/components/radioButton.vue +58 -0
  54. package/src/components/forms/src/const/form.const.ts +7 -0
  55. package/src/components/forms/src/hooks/helper.ts +70 -0
  56. package/src/components/forms/src/hooks/useForm.ts +130 -0
  57. package/src/components/forms/src/hooks/useFormActions.ts +63 -0
  58. package/src/components/forms/src/hooks/useFormEvents.ts +247 -0
  59. package/src/components/forms/src/hooks/useFormValue.ts +49 -0
  60. package/src/components/forms/src/hooks/useFormValues.ts +131 -0
  61. package/src/components/forms/src/hooks/useLabelWidth.ts +57 -0
  62. package/src/components/forms/src/index.vue +306 -0
  63. package/src/components/forms/src/prop.ts +80 -0
  64. package/src/components/forms/src/types/form.type.ts +269 -0
  65. package/src/components/icons/index.less +96 -0
  66. package/src/components/icons/index.ts +7 -0
  67. package/src/components/icons/src/pick-icon.vue +117 -0
  68. package/src/components/icons/src/svg-icon.vue +117 -0
  69. package/src/components/iframe/index.less +3 -0
  70. package/src/components/iframe/index.ts +5 -0
  71. package/src/components/iframe/src/index.vue +38 -0
  72. package/src/components/index.ts +46 -0
  73. package/src/components/modal/index.less +63 -0
  74. package/src/components/modal/index.ts +8 -0
  75. package/src/components/modal/src/components/close-icon.vue +47 -0
  76. package/src/components/modal/src/components/modal-wrap.vue +118 -0
  77. package/src/components/modal/src/components/modal.tsx +30 -0
  78. package/src/components/modal/src/components/modalFooter.vue +38 -0
  79. package/src/components/modal/src/hooks/useDrag.ts +107 -0
  80. package/src/components/modal/src/hooks/useFullScreen.ts +27 -0
  81. package/src/components/modal/src/hooks/useModal.ts +177 -0
  82. package/src/components/modal/src/index.vue +173 -0
  83. package/src/components/modal/src/props.ts +43 -0
  84. package/src/components/modal/src/types/modal.type.ts +27 -0
  85. package/src/components/router/base-router.vue +11 -0
  86. package/src/components/router/index.ts +3 -0
  87. package/src/components/source/index.ts +1 -0
  88. package/src/components/source/src/hooks/useFetch.ts +70 -0
  89. package/src/components/source/src/hooks/usePage.ts +3 -0
  90. package/src/components/source/src/hooks/useSource.ts +178 -0
  91. package/src/components/source/src/index.ts +5 -0
  92. package/src/components/source/src/types/source.type.ts +68 -0
  93. package/src/components/source/src/types/table.type.ts +8 -0
  94. package/src/components/table/index.less +162 -0
  95. package/src/components/table/index.ts +7 -0
  96. package/src/components/table/src/components/TableActions.vue +108 -0
  97. package/src/components/table/src/components/TableHeader.vue +77 -0
  98. package/src/components/table/src/components/TableRender.vue +76 -0
  99. package/src/components/table/src/components/setting/Column.vue +355 -0
  100. package/src/components/table/src/components/setting/Download.vue +55 -0
  101. package/src/components/table/src/components/setting/Fullscreen.vue +43 -0
  102. package/src/components/table/src/components/setting/Size.vue +42 -0
  103. package/src/components/table/src/components/setting/index.vue +64 -0
  104. package/src/components/table/src/const.ts +13 -0
  105. package/src/components/table/src/hooks/useColumns.ts +319 -0
  106. package/{es/assets/app-antd-dark-theme-style.e3b0c442.css → src/components/table/src/hooks/useCustomRow.ts} +0 -0
  107. package/src/components/table/src/hooks/useDataSource.ts +99 -0
  108. package/src/components/table/src/hooks/useLoading.ts +29 -0
  109. package/src/components/table/src/hooks/usePagination.ts +76 -0
  110. package/src/components/table/src/hooks/useRowSelection.ts +146 -0
  111. package/src/components/table/src/hooks/useRows.ts +30 -0
  112. package/src/components/table/src/hooks/useTable.ts +77 -0
  113. package/src/components/table/src/hooks/useTableHeader.ts +48 -0
  114. package/src/components/table/src/hooks/useTableInstance.ts +29 -0
  115. package/src/components/table/src/hooks/useTableScroll.ts +227 -0
  116. package/src/components/table/src/index.vue +198 -0
  117. package/src/components/table/src/props.ts +152 -0
  118. package/src/components/table/src/types/table.type.ts +133 -0
  119. package/src/components/table/src/types/tableHeader.type.ts +27 -0
  120. package/{es/assets/app-theme-style.e3b0c442.css → src/components/type.ts} +0 -0
  121. package/src/directives/icon.ts +36 -0
  122. package/src/directives/index.ts +26 -0
  123. package/src/directives/permission.ts +20 -0
  124. package/src/global.d.ts +8 -0
  125. package/src/index.ts +4 -0
  126. package/src/theme/content/index.vue +37 -0
  127. package/src/theme/feature/back-top.vue +11 -0
  128. package/src/theme/feature/index.vue +7 -0
  129. package/src/theme/footer/index.less +16 -0
  130. package/src/theme/footer/index.vue +24 -0
  131. package/src/theme/header/components/bread-crumb.vue +26 -0
  132. package/src/theme/header/components/fullscreen.vue +12 -0
  133. package/src/theme/header/components/handler.ts +81 -0
  134. package/src/theme/header/components/index.ts +21 -0
  135. package/src/theme/header/components/lang-picker.vue +36 -0
  136. package/src/theme/header/components/logo.vue +33 -0
  137. package/src/theme/header/components/menu-search.vue +62 -0
  138. package/src/theme/header/components/notify.vue +22 -0
  139. package/src/theme/header/components/setting-theme.vue +123 -0
  140. package/src/theme/header/components/theme-drawer/enum.ts +12 -0
  141. package/src/theme/header/components/theme-drawer/feature.vue +75 -0
  142. package/src/theme/header/components/theme-drawer/index.ts +7 -0
  143. package/src/theme/header/components/theme-drawer/menu-type.vue +40 -0
  144. package/src/theme/header/components/theme-drawer/select-item.vue +46 -0
  145. package/src/theme/header/components/theme-drawer/switch-item.vue +39 -0
  146. package/src/theme/header/components/theme-drawer/theme-color.vue +26 -0
  147. package/src/theme/header/components/trigger.vue +14 -0
  148. package/src/theme/header/components/user-info.vue +43 -0
  149. package/src/theme/header/const/index.ts +40 -0
  150. package/src/theme/header/helper/menu-tree.ts +64 -0
  151. package/src/theme/header/index.less +438 -0
  152. package/src/theme/header/index.ts +0 -0
  153. package/src/theme/header/index.vue +96 -0
  154. package/src/theme/header/multiple-header.vue +67 -0
  155. package/src/theme/header/set-theme.less +68 -0
  156. package/src/theme/index.ts +3 -0
  157. package/src/theme/sider/components/basic-menu/basic-menu-item.vue +14 -0
  158. package/src/theme/sider/components/basic-menu/basic-menu.vue +122 -0
  159. package/src/theme/sider/components/basic-menu/basic-sub-menu-item.vue +46 -0
  160. package/src/theme/sider/components/basic-menu/menu-item-content.vue +13 -0
  161. package/src/theme/sider/components/drag-bar.vue +26 -0
  162. package/src/theme/sider/components/layout-menu.vue +132 -0
  163. package/src/theme/sider/components/props.ts +97 -0
  164. package/src/theme/sider/components/sider-trigger.vue +24 -0
  165. package/src/theme/sider/helper/sider.ts +52 -0
  166. package/src/theme/sider/helper/split-menu.ts +146 -0
  167. package/src/theme/sider/hooks/useDragLine.ts +86 -0
  168. package/src/theme/sider/hooks/useOpenKeys.ts +57 -0
  169. package/src/theme/sider/index.less +203 -0
  170. package/src/theme/sider/index.vue +88 -0
  171. package/src/theme/tabs/components/TabContent.vue +36 -0
  172. package/src/theme/tabs/components/TabRedo.vue +18 -0
  173. package/src/theme/tabs/hooks/useMultifyTabs.ts +96 -0
  174. package/src/theme/tabs/hooks/useTabDropdown.ts +89 -0
  175. package/src/theme/tabs/index.less +165 -0
  176. package/src/theme/tabs/index.vue +98 -0
  177. package/src/theme/tabs/types/tabs.type.ts +8 -0
  178. package/src/theme/theme.less +67 -0
  179. package/src/theme/theme.vue +90 -0
  180. package/src/theme/transition.less +99 -0
  181. package/es/assets/data/icon.d.ts +0 -4
  182. package/es/assets/data/icon.ts +0 -69
  183. package/es/assets/data/icon11.ts +0 -69
  184. package/es/assets/style/var.less +0 -42
  185. package/es/components/icons/pick-icon.d.ts +0 -529
  186. package/es/components/icons/svg-icon.d.ts +0 -44
  187. package/es/components/table/src/hooks/useFormat.d.ts +0 -2
  188. package/es/components/table/src/hooks/useVirtualScroll.d.ts +0 -5
  189. package/es/components/table/src/utils/format.d.ts +0 -1
  190. package/es/style/assets/style/var.less +0 -42
  191. package/es/theme/content/index.d.ts +0 -29
  192. package/es/theme/header/components/menu-search.d.ts +0 -528
  193. package/es/theme/header/components/setting-theme.d.ts +0 -2550
  194. package/es/theme/header/index.d.ts +0 -4369
  195. package/es/theme/header/multiple-header.d.ts +0 -2001
  196. package/es/theme/styles/hooks/changeTheme.d.ts +0 -1
  197. package/es/theme/styles/hooks/generate.d.ts +0 -13
  198. package/es/theme/styles/index.d.ts +0 -2
  199. package/es/theme/tabs/components/TabRedo.d.ts +0 -49
  200. package/es/theme/tabs/index.d.ts +0 -1399
  201. package/es/theme/theme/initTheme.d.ts +0 -3
  202. package/es/theme/theme/util.d.ts +0 -5
  203. package/es/theme/theme.d.ts +0 -4911
  204. package/es/themes/generate.ts +0 -74
  205. package/es/themes/index.ts +0 -10
  206. package/es/themes/modifyVars.ts +0 -33
  207. package/es/themes/themePlugiin.ts +0 -74
package/README.md CHANGED
@@ -1,15 +1 @@
1
- # 主要处理主题和公共组件
2
-
3
- 目前支持的组件如下:
4
- - 增删改查
5
- - excel导出
6
- - 表单
7
- - 字体图标
8
- - iframe
9
- - 弹框
10
- - table
11
-
12
- 支持的指令:
13
- - permission权限
14
-
15
- 使用文档:http://dt-blog.gitee.io/docs/frame/guide/
1
+ # 主要处理主题和公共模块
@@ -10,9 +10,6 @@
10
10
  .dt-icon{
11
11
  margin: 0 5px;
12
12
  }
13
- &:hover, &:focus{
14
- color: #fff !important;
15
- }
16
13
  }
17
14
 
18
15
  .ant-picker{
@@ -1,2 +1,2 @@
1
- import DtIFrame from "./src/index";
2
- export { DtIFrame };
1
+ import DtIframe from "./src/index";
2
+ export { DtIframe };
@@ -7,8 +7,8 @@ import { DtTable, useTable } from './table';
7
7
  import { useSource } from './source';
8
8
  import { useCurd } from './curd';
9
9
  import { export2Excel } from './excel';
10
- import { DtIFrame } from './iframe';
10
+ import { DtIframe } from './iframe';
11
11
  export declare function initComponents(): {
12
12
  install(app: App): void;
13
13
  };
14
- export { DtBaseRouter, DtIcon, DtPickIcon, DtModal, DtForm, DtTable, FormButtons, DtIFrame, useForm, useTable, useSource, useCurd, useModal, useModalOut, export2Excel };
14
+ export { DtBaseRouter, DtIcon, DtPickIcon, DtModal, DtForm, DtTable, FormButtons, DtIframe, useForm, useTable, useSource, useCurd, useModal, useModalOut, export2Excel };
package/es/index.css CHANGED
@@ -1 +1 @@
1
- h3[data-v-2ef0d0ac]{margin:40px 0 0}ul[data-v-2ef0d0ac]{list-style-type:none;padding:0}li[data-v-2ef0d0ac]{display:inline-block;margin:0 10px}a[data-v-2ef0d0ac]{color:#42b983}.table-box[data-v-2ef0d0ac]{position:relative;width:100%;height:200px;overflow:auto}.div[data-v-2ef0d0ac]{height:var(--61016405)}.table[data-v-2ef0d0ac]{position:absolute;top:0;transform:translateY(var(--a6c21f82));width:100%;height:200px;box-shadow:0 0 3px #42b983}.td[data-v-2ef0d0ac]{width:20%;white-space:nowrap;line-height:30px;height:30px}
1
+ .red[data-v-60d583d2]{color:red}
package/es/index.js CHANGED
@@ -1,9 +1,11 @@
1
1
  import { defineComponent, resolveComponent, openBlock, createBlock, computed, unref, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, ref, watch, Fragment, renderList, createTextVNode, toDisplayString, KeepAlive, createVNode, withCtx, reactive, toRaw, getCurrentInstance, watchEffect, nextTick, onUnmounted, toRefs, isVNode, inject, h, provide, onMounted, onBeforeUnmount, resolveDynamicComponent, renderSlot, createCommentVNode, mergeProps, readonly, isRef, withDirectives, resolveDirective, render, normalizeProps, guardReactiveProps, createSlots, useAttrs as useAttrs$1, vShow, toRef, withModifiers, Transition } from "vue";
2
- import { isString, isArray as isArray$1, isObject, isFunction, error, useTimeoutFn, useAttrs, useSlots, BAR_MAP, off, renderThumbStyle, on, useAppStore, addResizeListener, removeResizeListener, windowResizeFn, isNumber, isBoolean, isNull, useAuthStore, deepMerge, dateFormat, getDynamicProps, isNullAndUnDef, getPopupContainer, getDictValueByCode, formatNumber, isVnode, http, useTheme, useMenu, useHeader, localeList, DtCache, CacheKey, changeLocale, Theme, MenuMode, MenuType, useThemeStore, ContentMode, useMultipleTab, copyText, MenuSplitTye, useGo, isUrl, openWindow, RouteReuseStore, menuList2Map, useApp } from "@dt-frames/core";
2
+ import { isString, isArray as isArray$1, isObject, isFunction, error, useTimeoutFn, useAttrs, useSlots, BAR_MAP, off, renderThumbStyle, on, useAppStore, addResizeListener, removeResizeListener, windowResizeFn, isNumber, isBoolean, isNull, DtCache, CacheKey, deepMerge, dateFormat, getDynamicProps, isNullAndUnDef, getPopupContainer, getDictValueByCode, formatNumber, isVnode, http, useTheme, useMenu, useHeader, localeList, changeLocale, Theme, MenuMode, MenuType, useThemeStore, ContentMode, useMultipleTab, copyText, MenuSplitTye, useGo, isUrl, openWindow, RouteReuseStore, menuList2Map, useApp } from "@dt-frames/core";
3
3
  import { InputSearch, Tooltip, Modal as Modal$1, RadioGroup, RadioButton, InputGroup, Input, Button, Select, TreeSelect, Radio, Checkbox, AutoComplete, Cascader, DatePicker, InputNumber, Switch, TimePicker, Slider, Rate, Divider, Col, Form, FormItem, Row, Popover, CheckboxGroup, Dropdown, Menu, MenuItem, Table, message, Spin, BackTop, Breadcrumb, Avatar, Drawer, Empty, SubMenu, LayoutHeader, LayoutSider, MenuDivider, Tabs, TabPane, LayoutFooter, LayoutContent, ConfigProvider, Layout } from "ant-design-vue";
4
4
  import { isEqual, cloneDeep, upperFirst, set, uniqBy, omit, trim } from "lodash-es";
5
5
  import { tryOnUnmounted, isFunction as isFunction$1, useFullscreen, useDebounceFn, useThrottleFn } from "@vueuse/core";
6
+ import { nextTick as nextTick$1 } from "process";
6
7
  import Sortablejs from "sortablejs";
8
+ import dayjs from "dayjs";
7
9
  import * as xlsx from "xlsx";
8
10
  import { useRouter } from "vue-router";
9
11
  import zhCN from "ant-design-vue/es/locale/zh_CN";
@@ -3248,8 +3250,7 @@ function hasAuth(el, binding) {
3248
3250
  const value = binding.value;
3249
3251
  if (!value)
3250
3252
  return;
3251
- let { getAuths } = useAuthStore();
3252
- if (!getAuths.includes(value)) {
3253
+ if (!DtCache.getLocal(CacheKey.AUTHS).includes(value)) {
3253
3254
  (_a = el.parentNode) == null ? void 0 : _a.removeChild(el);
3254
3255
  }
3255
3256
  }
@@ -3455,213 +3456,6 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
3455
3456
  }
3456
3457
  var FormButtons = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$4]]);
3457
3458
  const isArray = Array.isArray;
3458
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
3459
- var dayjs_min = { exports: {} };
3460
- (function(module, exports) {
3461
- !function(t, e) {
3462
- module.exports = e();
3463
- }(commonjsGlobal, function() {
3464
- var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h2 = "quarter", c = "year", d = "date", $ = "Invalid Date", l = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, m = function(t2, e2, n2) {
3465
- var r2 = String(t2);
3466
- return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
3467
- }, g = { s: m, z: function(t2) {
3468
- var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
3469
- return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
3470
- }, m: function t2(e2, n2) {
3471
- if (e2.date() < n2.date())
3472
- return -t2(n2, e2);
3473
- var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, f), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), f);
3474
- return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
3475
- }, a: function(t2) {
3476
- return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
3477
- }, p: function(t2) {
3478
- return { M: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h2 }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
3479
- }, u: function(t2) {
3480
- return t2 === void 0;
3481
- } }, v = "en", D = {};
3482
- D[v] = M;
3483
- var p = function(t2) {
3484
- return t2 instanceof _;
3485
- }, S = function t2(e2, n2, r2) {
3486
- var i2;
3487
- if (!e2)
3488
- return v;
3489
- if (typeof e2 == "string") {
3490
- var s2 = e2.toLowerCase();
3491
- D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
3492
- var u2 = e2.split("-");
3493
- if (!i2 && u2.length > 1)
3494
- return t2(u2[0]);
3495
- } else {
3496
- var a2 = e2.name;
3497
- D[a2] = e2, i2 = a2;
3498
- }
3499
- return !r2 && i2 && (v = i2), i2 || !r2 && v;
3500
- }, w = function(t2, e2) {
3501
- if (p(t2))
3502
- return t2.clone();
3503
- var n2 = typeof e2 == "object" ? e2 : {};
3504
- return n2.date = t2, n2.args = arguments, new _(n2);
3505
- }, O = g;
3506
- O.l = S, O.i = p, O.w = function(t2, e2) {
3507
- return w(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
3508
- };
3509
- var _ = function() {
3510
- function M2(t2) {
3511
- this.$L = S(t2.locale, null, true), this.parse(t2);
3512
- }
3513
- var m2 = M2.prototype;
3514
- return m2.parse = function(t2) {
3515
- this.$d = function(t3) {
3516
- var e2 = t3.date, n2 = t3.utc;
3517
- if (e2 === null)
3518
- return new Date(NaN);
3519
- if (O.u(e2))
3520
- return new Date();
3521
- if (e2 instanceof Date)
3522
- return new Date(e2);
3523
- if (typeof e2 == "string" && !/Z$/i.test(e2)) {
3524
- var r2 = e2.match(l);
3525
- if (r2) {
3526
- var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
3527
- return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
3528
- }
3529
- }
3530
- return new Date(e2);
3531
- }(t2), this.$x = t2.x || {}, this.init();
3532
- }, m2.init = function() {
3533
- var t2 = this.$d;
3534
- this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
3535
- }, m2.$utils = function() {
3536
- return O;
3537
- }, m2.isValid = function() {
3538
- return !(this.$d.toString() === $);
3539
- }, m2.isSame = function(t2, e2) {
3540
- var n2 = w(t2);
3541
- return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
3542
- }, m2.isAfter = function(t2, e2) {
3543
- return w(t2) < this.startOf(e2);
3544
- }, m2.isBefore = function(t2, e2) {
3545
- return this.endOf(e2) < w(t2);
3546
- }, m2.$g = function(t2, e2, n2) {
3547
- return O.u(t2) ? this[e2] : this.set(n2, t2);
3548
- }, m2.unix = function() {
3549
- return Math.floor(this.valueOf() / 1e3);
3550
- }, m2.valueOf = function() {
3551
- return this.$d.getTime();
3552
- }, m2.startOf = function(t2, e2) {
3553
- var n2 = this, r2 = !!O.u(e2) || e2, h3 = O.p(t2), $2 = function(t3, e3) {
3554
- var i2 = O.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
3555
- return r2 ? i2 : i2.endOf(a);
3556
- }, l2 = function(t3, e3) {
3557
- return O.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
3558
- }, y2 = this.$W, M3 = this.$M, m3 = this.$D, g2 = "set" + (this.$u ? "UTC" : "");
3559
- switch (h3) {
3560
- case c:
3561
- return r2 ? $2(1, 0) : $2(31, 11);
3562
- case f:
3563
- return r2 ? $2(1, M3) : $2(0, M3 + 1);
3564
- case o:
3565
- var v2 = this.$locale().weekStart || 0, D2 = (y2 < v2 ? y2 + 7 : y2) - v2;
3566
- return $2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
3567
- case a:
3568
- case d:
3569
- return l2(g2 + "Hours", 0);
3570
- case u:
3571
- return l2(g2 + "Minutes", 1);
3572
- case s:
3573
- return l2(g2 + "Seconds", 2);
3574
- case i:
3575
- return l2(g2 + "Milliseconds", 3);
3576
- default:
3577
- return this.clone();
3578
- }
3579
- }, m2.endOf = function(t2) {
3580
- return this.startOf(t2, false);
3581
- }, m2.$set = function(t2, e2) {
3582
- var n2, o2 = O.p(t2), h3 = "set" + (this.$u ? "UTC" : ""), $2 = (n2 = {}, n2[a] = h3 + "Date", n2[d] = h3 + "Date", n2[f] = h3 + "Month", n2[c] = h3 + "FullYear", n2[u] = h3 + "Hours", n2[s] = h3 + "Minutes", n2[i] = h3 + "Seconds", n2[r] = h3 + "Milliseconds", n2)[o2], l2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
3583
- if (o2 === f || o2 === c) {
3584
- var y2 = this.clone().set(d, 1);
3585
- y2.$d[$2](l2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
3586
- } else
3587
- $2 && this.$d[$2](l2);
3588
- return this.init(), this;
3589
- }, m2.set = function(t2, e2) {
3590
- return this.clone().$set(t2, e2);
3591
- }, m2.get = function(t2) {
3592
- return this[O.p(t2)]();
3593
- }, m2.add = function(r2, h3) {
3594
- var d2, $2 = this;
3595
- r2 = Number(r2);
3596
- var l2 = O.p(h3), y2 = function(t2) {
3597
- var e2 = w($2);
3598
- return O.w(e2.date(e2.date() + Math.round(t2 * r2)), $2);
3599
- };
3600
- if (l2 === f)
3601
- return this.set(f, this.$M + r2);
3602
- if (l2 === c)
3603
- return this.set(c, this.$y + r2);
3604
- if (l2 === a)
3605
- return y2(1);
3606
- if (l2 === o)
3607
- return y2(7);
3608
- var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[l2] || 1, m3 = this.$d.getTime() + r2 * M3;
3609
- return O.w(m3, this);
3610
- }, m2.subtract = function(t2, e2) {
3611
- return this.add(-1 * t2, e2);
3612
- }, m2.format = function(t2) {
3613
- var e2 = this, n2 = this.$locale();
3614
- if (!this.isValid())
3615
- return n2.invalidDate || $;
3616
- var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = O.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, f2 = n2.months, h3 = function(t3, n3, i3, s3) {
3617
- return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
3618
- }, c2 = function(t3) {
3619
- return O.s(s2 % 12 || 12, t3, "0");
3620
- }, d2 = n2.meridiem || function(t3, e3, n3) {
3621
- var r3 = t3 < 12 ? "AM" : "PM";
3622
- return n3 ? r3.toLowerCase() : r3;
3623
- }, l2 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h3(n2.monthsShort, a2, f2, 3), MMMM: h3(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h3(n2.weekdaysMin, this.$W, o2, 2), ddd: h3(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c2(1), hh: c2(2), a: d2(s2, u2, true), A: d2(s2, u2, false), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i2 };
3624
- return r2.replace(y, function(t3, e3) {
3625
- return e3 || l2[t3] || i2.replace(":", "");
3626
- });
3627
- }, m2.utcOffset = function() {
3628
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3629
- }, m2.diff = function(r2, d2, $2) {
3630
- var l2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, g2 = this - M3, v2 = O.m(this, M3);
3631
- return v2 = (l2 = {}, l2[c] = v2 / 12, l2[f] = v2, l2[h2] = v2 / 3, l2[o] = (g2 - m3) / 6048e5, l2[a] = (g2 - m3) / 864e5, l2[u] = g2 / n, l2[s] = g2 / e, l2[i] = g2 / t, l2)[y2] || g2, $2 ? v2 : O.a(v2);
3632
- }, m2.daysInMonth = function() {
3633
- return this.endOf(f).$D;
3634
- }, m2.$locale = function() {
3635
- return D[this.$L];
3636
- }, m2.locale = function(t2, e2) {
3637
- if (!t2)
3638
- return this.$L;
3639
- var n2 = this.clone(), r2 = S(t2, e2, true);
3640
- return r2 && (n2.$L = r2), n2;
3641
- }, m2.clone = function() {
3642
- return O.w(this.$d, this);
3643
- }, m2.toDate = function() {
3644
- return new Date(this.valueOf());
3645
- }, m2.toJSON = function() {
3646
- return this.isValid() ? this.toISOString() : null;
3647
- }, m2.toISOString = function() {
3648
- return this.$d.toISOString();
3649
- }, m2.toString = function() {
3650
- return this.$d.toUTCString();
3651
- }, M2;
3652
- }(), T = _.prototype;
3653
- return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function(t2) {
3654
- T[t2[1]] = function(e2) {
3655
- return this.$g(e2, t2[0], t2[1]);
3656
- };
3657
- }), w.extend = function(t2, e2) {
3658
- return t2.$i || (t2(e2, _, w), t2.$i = true), w;
3659
- }, w.locale = S, w.isDayjs = p, w.unix = function(t2) {
3660
- return w(1e3 * t2);
3661
- }, w.en = D[v], w.Ls = D, w.p = {}, w;
3662
- });
3663
- })(dayjs_min);
3664
- var dayjs = dayjs_min.exports;
3665
3459
  function useFormValues({
3666
3460
  defaultValue,
3667
3461
  getSchema,
@@ -4884,163 +4678,6 @@ function createTableInstance(instance) {
4884
4678
  function getTableInstance() {
4885
4679
  return inject(tableKey);
4886
4680
  }
4887
- var browser = { exports: {} };
4888
- var process = browser.exports = {};
4889
- var cachedSetTimeout;
4890
- var cachedClearTimeout;
4891
- function defaultSetTimout() {
4892
- throw new Error("setTimeout has not been defined");
4893
- }
4894
- function defaultClearTimeout() {
4895
- throw new Error("clearTimeout has not been defined");
4896
- }
4897
- (function() {
4898
- try {
4899
- if (typeof setTimeout === "function") {
4900
- cachedSetTimeout = setTimeout;
4901
- } else {
4902
- cachedSetTimeout = defaultSetTimout;
4903
- }
4904
- } catch (e) {
4905
- cachedSetTimeout = defaultSetTimout;
4906
- }
4907
- try {
4908
- if (typeof clearTimeout === "function") {
4909
- cachedClearTimeout = clearTimeout;
4910
- } else {
4911
- cachedClearTimeout = defaultClearTimeout;
4912
- }
4913
- } catch (e) {
4914
- cachedClearTimeout = defaultClearTimeout;
4915
- }
4916
- })();
4917
- function runTimeout(fun) {
4918
- if (cachedSetTimeout === setTimeout) {
4919
- return setTimeout(fun, 0);
4920
- }
4921
- if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
4922
- cachedSetTimeout = setTimeout;
4923
- return setTimeout(fun, 0);
4924
- }
4925
- try {
4926
- return cachedSetTimeout(fun, 0);
4927
- } catch (e) {
4928
- try {
4929
- return cachedSetTimeout.call(null, fun, 0);
4930
- } catch (e2) {
4931
- return cachedSetTimeout.call(this, fun, 0);
4932
- }
4933
- }
4934
- }
4935
- function runClearTimeout(marker) {
4936
- if (cachedClearTimeout === clearTimeout) {
4937
- return clearTimeout(marker);
4938
- }
4939
- if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
4940
- cachedClearTimeout = clearTimeout;
4941
- return clearTimeout(marker);
4942
- }
4943
- try {
4944
- return cachedClearTimeout(marker);
4945
- } catch (e) {
4946
- try {
4947
- return cachedClearTimeout.call(null, marker);
4948
- } catch (e2) {
4949
- return cachedClearTimeout.call(this, marker);
4950
- }
4951
- }
4952
- }
4953
- var queue = [];
4954
- var draining = false;
4955
- var currentQueue;
4956
- var queueIndex = -1;
4957
- function cleanUpNextTick() {
4958
- if (!draining || !currentQueue) {
4959
- return;
4960
- }
4961
- draining = false;
4962
- if (currentQueue.length) {
4963
- queue = currentQueue.concat(queue);
4964
- } else {
4965
- queueIndex = -1;
4966
- }
4967
- if (queue.length) {
4968
- drainQueue();
4969
- }
4970
- }
4971
- function drainQueue() {
4972
- if (draining) {
4973
- return;
4974
- }
4975
- var timeout = runTimeout(cleanUpNextTick);
4976
- draining = true;
4977
- var len = queue.length;
4978
- while (len) {
4979
- currentQueue = queue;
4980
- queue = [];
4981
- while (++queueIndex < len) {
4982
- if (currentQueue) {
4983
- currentQueue[queueIndex].run();
4984
- }
4985
- }
4986
- queueIndex = -1;
4987
- len = queue.length;
4988
- }
4989
- currentQueue = null;
4990
- draining = false;
4991
- runClearTimeout(timeout);
4992
- }
4993
- process.nextTick = function(fun) {
4994
- var args = new Array(arguments.length - 1);
4995
- if (arguments.length > 1) {
4996
- for (var i = 1; i < arguments.length; i++) {
4997
- args[i - 1] = arguments[i];
4998
- }
4999
- }
5000
- queue.push(new Item(fun, args));
5001
- if (queue.length === 1 && !draining) {
5002
- runTimeout(drainQueue);
5003
- }
5004
- };
5005
- function Item(fun, array) {
5006
- this.fun = fun;
5007
- this.array = array;
5008
- }
5009
- Item.prototype.run = function() {
5010
- this.fun.apply(null, this.array);
5011
- };
5012
- process.title = "browser";
5013
- process.browser = true;
5014
- process.env = {};
5015
- process.argv = [];
5016
- process.version = "";
5017
- process.versions = {};
5018
- function noop() {
5019
- }
5020
- process.on = noop;
5021
- process.addListener = noop;
5022
- process.once = noop;
5023
- process.off = noop;
5024
- process.removeListener = noop;
5025
- process.removeAllListeners = noop;
5026
- process.emit = noop;
5027
- process.prependListener = noop;
5028
- process.prependOnceListener = noop;
5029
- process.listeners = function(name) {
5030
- return [];
5031
- };
5032
- process.binding = function(name) {
5033
- throw new Error("process.binding is not supported");
5034
- };
5035
- process.cwd = function() {
5036
- return "/";
5037
- };
5038
- process.chdir = function(dir) {
5039
- throw new Error("process.chdir is not supported");
5040
- };
5041
- process.umask = function() {
5042
- return 0;
5043
- };
5044
4681
  const _hoisted_1$n = /* @__PURE__ */ createElementVNode("span", null, "\u5217\u63A7\u5236", -1);
5045
4682
  const _hoisted_2$h = /* @__PURE__ */ createTextVNode(" \u5217\u5C55\u793A ");
5046
4683
  const _hoisted_3$9 = /* @__PURE__ */ createTextVNode(" \u5E8F\u5217\u53F7 ");
@@ -5098,7 +4735,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5098
4735
  function handleVisibleChange() {
5099
4736
  if (inited)
5100
4737
  return;
5101
- browser.exports.nextTick(() => {
4738
+ nextTick$1(() => {
5102
4739
  const columnListEl = unref(columnListRef);
5103
4740
  if (!columnListEl)
5104
4741
  return;
@@ -6844,8 +6481,7 @@ function deleteChildrenProp(menu) {
6844
6481
  return obj;
6845
6482
  }
6846
6483
  function getBreadCrumb(path, menus) {
6847
- const { getMenus: getMenus2 } = useAuthStore();
6848
- const _menus = menus || getMenus2;
6484
+ const _menus = menus || DtCache.getLocal(CacheKey.MENUS) || [];
6849
6485
  let routes = [];
6850
6486
  let getParentByPath = (menu, path2 = "") => {
6851
6487
  if (menu.children && menu.children.length) {
@@ -6865,7 +6501,6 @@ function getBreadCrumb(path, menus) {
6865
6501
  return routes;
6866
6502
  }
6867
6503
  function getFilterMenu(filter = "", flag = false) {
6868
- const { getMenus: getMenus2 } = useAuthStore();
6869
6504
  let _menus = [];
6870
6505
  if (!trim(filter) && !flag)
6871
6506
  return _menus;
@@ -6878,7 +6513,7 @@ function getFilterMenu(filter = "", flag = false) {
6878
6513
  }
6879
6514
  });
6880
6515
  };
6881
- getTargetMenus(getMenus2);
6516
+ getTargetMenus(DtCache.getLocal(CacheKey.MENUS));
6882
6517
  return _menus;
6883
6518
  }
6884
6519
  const _hoisted_1$e = { class: "dt-breadcrumb" };
@@ -6909,7 +6544,6 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
6909
6544
  const _hoisted_1$d = /* @__PURE__ */ createElementVNode("span", { class: "red-dot" }, null, -1);
6910
6545
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
6911
6546
  setup(__props) {
6912
- ref("1");
6913
6547
  const { getShowNotice } = useHeader();
6914
6548
  return (_ctx, _cache) => {
6915
6549
  const _directive_icon = resolveDirective("icon");
@@ -6964,7 +6598,7 @@ const _hoisted_8 = { class: "userInfo" };
6964
6598
  const _hoisted_9 = { class: "name" };
6965
6599
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
6966
6600
  setup(__props) {
6967
- const { getUserInfo } = useAuthStore();
6601
+ const getUserInfo = DtCache.getLocal(CacheKey.USER_INFO);
6968
6602
  const { getUserActions } = useHeader();
6969
6603
  return (_ctx, _cache) => {
6970
6604
  const _directive_icon = resolveDirective("icon");
@@ -7012,15 +6646,18 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
7012
6646
  ])
7013
6647
  ])
7014
6648
  ]),
7015
- default: withCtx(() => [
7016
- createElementVNode("div", _hoisted_8, [
7017
- createVNode(unref(Avatar), {
7018
- src: unref(getUserInfo).avatar,
7019
- size: 28
7020
- }, null, 8, ["src"]),
7021
- createElementVNode("span", _hoisted_9, toDisplayString(unref(getUserInfo).realName), 1)
7022
- ])
7023
- ]),
6649
+ default: withCtx(() => {
6650
+ var _a, _b;
6651
+ return [
6652
+ createElementVNode("div", _hoisted_8, [
6653
+ createVNode(unref(Avatar), {
6654
+ src: (_a = unref(getUserInfo)) == null ? void 0 : _a.avatar,
6655
+ size: 28
6656
+ }, null, 8, ["src"]),
6657
+ createElementVNode("span", _hoisted_9, toDisplayString((_b = unref(getUserInfo)) == null ? void 0 : _b.realName), 1)
6658
+ ])
6659
+ ];
6660
+ }),
7024
6661
  _: 1
7025
6662
  });
7026
6663
  };
@@ -7603,8 +7240,7 @@ function useSplitMenu(splitType) {
7603
7240
  }
7604
7241
  async function getMenus2() {
7605
7242
  if (unref(normalType)) {
7606
- const { getMenus: getMenus3 } = useAuthStore();
7607
- menusRef.value = getMenus3;
7243
+ menusRef.value = DtCache.getLocal(CacheKey.MENUS);
7608
7244
  return;
7609
7245
  }
7610
7246
  if (unref(getSplitTop)) {
@@ -8761,10 +8397,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8761
8397
  };
8762
8398
  }
8763
8399
  });
8400
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
8764
8401
  var zhCn = { exports: {} };
8765
8402
  (function(module, exports) {
8766
8403
  !function(e, _) {
8767
- module.exports = _(dayjs_min.exports);
8404
+ module.exports = _(dayjs);
8768
8405
  }(commonjsGlobal, function(e) {
8769
8406
  function _(e2) {
8770
8407
  return e2 && typeof e2 == "object" && "default" in e2 ? e2 : { default: e2 };
@@ -8778,7 +8415,10 @@ var zhCn = { exports: {} };
8778
8415
  return t.default.locale(d, null, true), d;
8779
8416
  });
8780
8417
  })(zhCn);
8781
- const _hoisted_1 = { class: "dt-theme" };
8418
+ const _hoisted_1 = {
8419
+ key: 0,
8420
+ class: "dt-theme"
8421
+ };
8782
8422
  const _sfc_main = /* @__PURE__ */ defineComponent({
8783
8423
  setup(__props) {
8784
8424
  dayjs.locale("zh-cn");
@@ -8787,6 +8427,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8787
8427
  const { getShowFullHeaderRef, getFixed, getHeaderHeight } = useHeader();
8788
8428
  const { getSplit, getShowMenu, getShowSidebar } = useMenu();
8789
8429
  const { getFooter, getShowFooter } = useTheme();
8430
+ const { getAppConf } = useAppStore();
8790
8431
  const { height } = unref(getFooter);
8791
8432
  const layoutClass = computed(() => {
8792
8433
  let cls = "ant-layout";
@@ -8809,13 +8450,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8809
8450
  };
8810
8451
  });
8811
8452
  return (_ctx, _cache) => {
8453
+ var _a;
8812
8454
  const _component_router_view = resolveComponent("router-view");
8813
- return openBlock(), createElementBlock("div", _hoisted_1, [
8455
+ return unref(currentRoute).fullPath && ((_a = unref(getAppConf)) == null ? void 0 : _a.router.unRequireAuthPage.length) ? (openBlock(), createElementBlock("div", _hoisted_1, [
8814
8456
  createVNode(unref(ConfigProvider), { locale: unref(zhCN) }, {
8815
8457
  default: withCtx(() => {
8816
- var _a;
8458
+ var _a2;
8817
8459
  return [
8818
- ((_a = unref(currentRoute).meta) == null ? void 0 : _a.requiresAuth) === false ? (openBlock(), createBlock(_component_router_view, { key: 0 })) : (openBlock(), createBlock(unref(Layout), {
8460
+ ((_a2 = unref(getAppConf)) == null ? void 0 : _a2.router.unRequireAuthPage.includes(unref(currentRoute).fullPath)) ? (openBlock(), createBlock(_component_router_view, { key: 0 })) : (openBlock(), createBlock(unref(Layout), {
8819
8461
  key: 1,
8820
8462
  class: "dt-theme"
8821
8463
  }, {
@@ -8860,8 +8502,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8860
8502
  }),
8861
8503
  _: 1
8862
8504
  }, 8, ["locale"])
8863
- ]);
8505
+ ])) : createCommentVNode("", true);
8864
8506
  };
8865
8507
  }
8866
8508
  });
8867
- export { DtBaseRouter, DtForm, _sfc_main$v as DtIFrame, DtIcon, _sfc_main$G as DtModal, _sfc_main$R as DtPickIcon, index as DtTable, _sfc_main as DtTheme, FormButtons, authMounted, export2Excel, iconMounted, initComponents, initDirectives, useCurd, useForm, useModal, useModalOut, useSource, useTable };
8509
+ export { DtBaseRouter, DtForm, DtIcon, _sfc_main$v as DtIframe, _sfc_main$G as DtModal, _sfc_main$R as DtPickIcon, index as DtTable, _sfc_main as DtTheme, FormButtons, authMounted, export2Excel, iconMounted, initComponents, initDirectives, useCurd, useForm, useModal, useModalOut, useSource, useTable };
@@ -10,9 +10,6 @@
10
10
  .dt-icon{
11
11
  margin: 0 5px;
12
12
  }
13
- &:hover, &:focus{
14
- color: #fff !important;
15
- }
16
13
  }
17
14
 
18
15
  .ant-picker{