dlzn-ui 2.0.103 → 2.0.105

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 (59) hide show
  1. package/assets/table-CWAIkhVz.css +1 -0
  2. package/chunks/{AssignUser-De2FGeUU.mjs → AssignUser-BpoTGS0T.mjs} +2 -2
  3. package/chunks/{ColumnInfo-CKre6UZX.mjs → ColumnInfo-DMmdE9nc.mjs} +1 -1
  4. package/chunks/{DictTypeDetail-DAI3Qeuq.mjs → DictTypeDetail-BXJPr-Qc.mjs} +1 -1
  5. package/chunks/{Import-8A15QZyD.mjs → Import-f_dFaGF8.mjs} +1 -1
  6. package/chunks/Index-B5oTjsR5.mjs +23 -0
  7. package/chunks/{Log-B2L8TVXx.mjs → Log-DWreGhwJ.mjs} +1 -1
  8. package/chunks/{SelectUser-DvvB_Pta.mjs → SelectUser-ByfU36sH.mjs} +1 -1
  9. package/chunks/{custom-page-list-_9lkUYVM.mjs → custom-page-list-CJPQ5sNQ.mjs} +2 -2
  10. package/chunks/{custom-page-table-CGJSrHkp.mjs → custom-page-table-Z2tomdR3.mjs} +1 -1
  11. package/chunks/{job-Bk7qI7Oa.mjs → job-BKj2YxaV.mjs} +2 -2
  12. package/chunks/{page-list-DgIrmvy9.mjs → page-list-CFZBpug1.mjs} +1 -1
  13. package/chunks/{page-table-EYmGCJq-.mjs → page-table-COPiYiCR.mjs} +1 -1
  14. package/chunks/{table-Ivruq4hf.mjs → table-CWHxbmQA.mjs} +67 -66
  15. package/components/custom-page-list/index.mjs +1 -1
  16. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  17. package/components/custom-page-table/index.mjs +1 -1
  18. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  19. package/components/index.mjs +5 -5
  20. package/components/page-list/index.mjs +1 -1
  21. package/components/page-list/src/page-list.mjs +1 -1
  22. package/components/page-table/index.mjs +1 -1
  23. package/components/page-table/src/page-table.mjs +1 -1
  24. package/components/select-sys-user/src/Picker.mjs +1 -1
  25. package/components/table/index.mjs +1 -1
  26. package/components/table/src/table.d.ts +3 -0
  27. package/components/table/src/table.mjs +1 -1
  28. package/hooks/useList/index.d.ts +7 -6
  29. package/layout/Home1.mjs +19 -10
  30. package/package.json +1 -1
  31. package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
  32. package/plugins/tableRenders/cell/index.mjs +1 -1
  33. package/types/globle.d.ts +4 -4
  34. package/views/monitor/cache/index.mjs +1 -1
  35. package/views/monitor/cacheList/index.mjs +1 -1
  36. package/views/monitor/job/index.mjs +1 -1
  37. package/views/monitor/logininfor/index.mjs +1 -1
  38. package/views/monitor/online/index.mjs +1 -1
  39. package/views/monitor/operlog/index.mjs +1 -1
  40. package/views/monitor/server/index.mjs +1 -1
  41. package/views/system/config/index.mjs +1 -1
  42. package/views/system/dept/index.mjs +1 -1
  43. package/views/system/dict/index.mjs +2 -2
  44. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  45. package/views/system/menu/index.mjs +1 -1
  46. package/views/system/notice/index.mjs +1 -1
  47. package/views/system/post/index.mjs +1 -1
  48. package/views/system/role/index.mjs +2 -2
  49. package/views/system/role/modules/AssignUser.mjs +1 -1
  50. package/views/system/role/modules/SelectUser.mjs +1 -1
  51. package/views/system/user/index.mjs +2 -2
  52. package/views/tool/gen/editTable/index.mjs +1 -1
  53. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  54. package/views/tool/gen/index.mjs +2 -2
  55. package/views/tool/gen/modules/Import.mjs +1 -1
  56. package/views/tool/job/index.mjs +1 -1
  57. package/views/tool/job/modules/Log.mjs +1 -1
  58. package/assets/table-CVArV2Pt.css +0 -1
  59. package/chunks/Index-Byk0JtDU.mjs +0 -20
@@ -0,0 +1 @@
1
+ [data-v-c624aeac] table{border-collapse:separate}[data-v-c624aeac] table td,[data-v-c624aeac] table th{height:45px}[data-v-c624aeac] table th,[data-v-c624aeac] table thead td{color:inherit;font-weight:600;background-color:var(--td-brand-color-1)!important}[data-v-c624aeac] table tfoot tr{background-color:var(--td-gray-color-2)!important}[data-v-c624aeac] .t-table__content::-webkit-scrollbar{width:10px;height:10px}[data-v-c624aeac] .t-table__content::-webkit-scrollbar-thumb{cursor:pointer}[data-v-c624aeac] .t-table__scroll-bar-divider{top:-1px;right:10px!important}[data-v-c624aeac] .t-table__affixed-header-elm-wrap{width:calc(100% - 10px)!important}[data-v-c624aeac] .t-table__affixed-header-elm-wrap>.t-table__affixed-header-elm{width:calc(100% - 1px)!important}.t-table[data-v-c624aeac]{--td-font-body-medium:13px / var(--td-line-height-body-medium) var(--td-font-family);--td-comp-paddingTB-m:0;--td-comp-paddingLR-l:12px}.t-table.t-table__content--scrollable-to-left[data-v-c624aeac] .t-table__cell--fixed-left-last{box-shadow:8px 0 10px -5px #0000001f}.t-table.t-table__content--scrollable-to-left[data-v-c624aeac] .t-table__cell--fixed-left-last:after{border-right-width:1px}.t-table.t-table__content--scrollable-to-right[data-v-c624aeac] .t-table__cell--fixed-right-first{box-shadow:-8px 0 10px -5px #0000001f}.t-table.t-table__content--scrollable-to-right[data-v-c624aeac] .t-table__cell--fixed-right-first:after{border-left-width:1px}.t-table[data-v-c624aeac] .t-table__empty{inset:calc(var(--a965c4ec) * 1px + 12px) 12px 12px;pointer-events:none;position:absolute;width:auto!important}.t-table[data-v-c624aeac] .t-table__content:has(.t-table__empty){position:static}.t-table[data-v-c624aeac] td:has(.t-table__empty){position:static}.t-table[data-v-c624aeac] .t-table__sort-column{background-color:var(--td-brand-color-1)}.t-table[data-v-c624aeac] .t-table__filter-icon-wrap{width:auto;height:auto}.t-table[data-v-c624aeac] .t-table__cell--sort-trigger{flex-direction:row;display:flex}.t-table[data-v-c624aeac] .t-table__cell--sort-trigger .iconify{color:var(--td-font-gray-4)}.t-table[data-v-c624aeac] .t-table__cell--sort-trigger .t-table__sort-icon--active .iconify{color:var(--td-brand-color)}.t-table[data-v-c624aeac] .t-table__cell--sort-trigger .t-table-sort-asc{top:0}.t-table[data-v-c624aeac] .t-table__cell--sort-trigger .t-table-sort-desc{bottom:0}.t-table[data-v-c624aeac] .t-table__tree-op-icon:empty{display:none}.table_parent[data-v-c624aeac]{min-height:calc(var(--a965c4ec) * 1px + var(--ebca8cd0) * 1px + 46px)}.table_parent[data-v-c624aeac]:has(.t-table--width-overflow){min-height:calc(var(--a965c4ec) * 1px + var(--ebca8cd0) * 1px + 56px)}.table_parent[data-v-c624aeac]:has(.t-table__empty){min-height:calc(var(--a965c4ec) * 1px + 144px)}.table_parent[data-v-c624aeac]:has(.t-table__empty) .t-table__footer{display:none}:is(.table_parent[data-v-c624aeac]:has(.t-table__empty) .t-table,.table_parent[data-v-c624aeac]:has(.t-table__empty) .t-table__content){min-height:inherit}.t-table--bordered[data-v-c624aeac]:after{z-index:32;content:"";border-bottom:1px solid var(--td-component-border);display:block;position:absolute;bottom:1px;left:2px;right:2px}.t-table--bordered[data-v-c624aeac]>.t-table__content{border-bottom-color:#0000}.t-table--bordered[data-v-c624aeac]>.t-table__content>table>tfoot>tr:last-child>td,.t-table--bordered[data-v-c624aeac]>.t-table__content>table>tbody>tr:last-child:not(.t-table__empty-row)>td{border-bottom:1px solid var(--td-component-border)}.t-table--bordered[data-v-c624aeac]>.t-table__content>table>tfoot>tr:first-child>td{border-top:none}.t-table--bordered[data-v-c624aeac]>.t-table__content>table>tfoot:before{z-index:1;content:"";border-bottom:1px solid var(--td-component-border);width:100%;position:absolute;top:-1px;left:0}.t-table--striped[data-v-c624aeac]>.t-table__content>table>tbody>tr:nth-of-type(odd):not(.t-table__expanded-row){background-color:var(--td-bg-color-container)!important}.t-table--striped[data-v-c624aeac]>.t-table__content>table>tbody>tr:nth-of-type(2n):not(.t-table__expanded-row){background-color:var(--td-bg-color-secondarycontainer)!important}.t-table--striped.t-table--hoverable[data-v-c624aeac]>.t-table__content>table>tbody tr:not(.t-table__empty-row):hover{background-color:var(--td-bg-color-secondarycontainer-hover)!important}.table_operations_wrapper[data-v-c624aeac]{display:none}.table_operations_wrapper[data-v-c624aeac]:has(>:not(:empty)){display:flex}.transform_tfoot[data-v-c624aeac] tfoot{transform:translateY(calc(var(--v64d58a5e) * 1px))}.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input){border-color:var(--td-border-level-2-color)!important}:is(.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input)):not(.t-is-disabled):hover{border-color:var(--td-brand-color)!important}:is(.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input)).t-is-focused,:is(.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input)).t-input--focused{border-color:var(--td-brand-color)!important;box-shadow:0 0 0 1px var(--td-brand-color) inset!important}.t-table .el-date-editor .el-input__wrapper{--el-input-border-color:var(--td-border-level-2-color)!important;--el-input-hover-border-color:var(--td-brand-color)!important;--el-input-focus-border-color:var(--td-brand-color)!important}.t-table .t-empty .t-icon{font-size:inherit}:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-error,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-success,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-warning{border-color:var(--td-error-color)!important}:is(:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-error,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-success,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-warning).t-is-focused,:is(:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-error,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-success,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-warning).t-input--focused{box-shadow:0 0 0 1px var(--td-error-color) inset!important}:is(.t-is-error .t-table .el-date-editor.t-is-error,.t-is-error .t-table .el-date-editor.t-is-success,.t-is-error .t-table .el-date-editor.t-is-warning) .el-input__wrapper{--el-input-border-color:var(--td-error-color)!important;--el-input-hover-border-color:var(--td-error-color)!important;--el-input-focus-border-color:var(--td-error-color)!important}
@@ -1,8 +1,8 @@
1
1
  import "../components/page-list/index.mjs";
2
2
  import { P as e, it as t } from "./provider-DPmpYEOG.mjs";
3
- import { t as n } from "./page-list-DgIrmvy9.mjs";
3
+ import { t as n } from "./page-list-CFZBpug1.mjs";
4
4
  import r from "../plugins/autoImport/$msg/index.mjs";
5
- import { t as i } from "./SelectUser-DvvB_Pta.mjs";
5
+ import { t as i } from "./SelectUser-ByfU36sH.mjs";
6
6
  import { computed as a, createBlock as o, defineComponent as s, h as c, mergeProps as l, openBlock as u, reactive as d, ref as f, unref as p, useTemplateRef as m } from "vue";
7
7
  // ../../packages/dlzn-ui/views/system/role/modules/AssignUser.vue
8
8
  var h = /* @__PURE__ */ s({
@@ -1,7 +1,7 @@
1
1
  import "../components/card/index.mjs";
2
2
  import { t as e } from "./card-fcGTPVWb.mjs";
3
3
  import "../components/table/index.mjs";
4
- import { t } from "./table-Ivruq4hf.mjs";
4
+ import { t } from "./table-CWHxbmQA.mjs";
5
5
  import { P as n } from "./provider-DPmpYEOG.mjs";
6
6
  import { computed as r, createBlock as i, createVNode as a, defineComponent as o, h as s, openBlock as c, reactive as l, ref as u, unref as d, withCtx as f } from "vue";
7
7
  import { useRoute as p } from "vue-router";
@@ -1,6 +1,6 @@
1
1
  import { P as e, it as t, o as n } from "./provider-DPmpYEOG.mjs";
2
2
  import "../components/page-list/index.mjs";
3
- import { t as r } from "./page-list-DgIrmvy9.mjs";
3
+ import { t as r } from "./page-list-CFZBpug1.mjs";
4
4
  import i from "../plugins/autoImport/$msg/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  // ../../packages/dlzn-ui/views/system/dict/modules/DictTypeDetail.vue
@@ -1,6 +1,6 @@
1
1
  import "../components/page-list/index.mjs";
2
2
  import { P as e } from "./provider-DPmpYEOG.mjs";
3
- import { t } from "./page-list-DgIrmvy9.mjs";
3
+ import { t } from "./page-list-CFZBpug1.mjs";
4
4
  import n from "../plugins/autoImport/$msg/index.mjs";
5
5
  import { computed as r, createBlock as i, defineComponent as a, mergeProps as o, openBlock as s, unref as c, useTemplateRef as l } from "vue";
6
6
  // ../../packages/dlzn-ui/views/tool/gen/modules/Import.vue
@@ -0,0 +1,23 @@
1
+ import "./provider-DPmpYEOG.mjs";
2
+ import { formatNumber as e } from "../utils/number.mjs";
3
+ import { computed as t, defineComponent as n, inject as r, toDisplayString as i, useAttrs as a } from "vue";
4
+ import { get as o } from "lodash-es";
5
+ // ../../packages/dlzn-ui/plugins/tableRenders/cell/FormatNumber/Index.vue
6
+ var s = /* @__PURE__ */ n({
7
+ inheritAttrs: !1,
8
+ __name: "Index",
9
+ props: { config: {} },
10
+ setup(n) {
11
+ let s = n, c = r("CustomColumnConfigMap"), l = a(), u = l.col;
12
+ u.align === void 0 && c.get(u.colKey)?.align !== "right" && c.set(u.colKey, {
13
+ ...c.get(u.colKey) ?? {},
14
+ align: "right"
15
+ });
16
+ let d = t(() => {
17
+ let t = o(l.row, l.col.colKey);
18
+ return e(t, s.config);
19
+ });
20
+ return (e, t) => i(d.value);
21
+ }
22
+ });
23
+ export { s as t };
@@ -1,6 +1,6 @@
1
1
  import { P as e, it as t, o as n } from "./provider-DPmpYEOG.mjs";
2
2
  import "../components/page-list/index.mjs";
3
- import { t as r } from "./page-list-DgIrmvy9.mjs";
3
+ import { t as r } from "./page-list-CFZBpug1.mjs";
4
4
  import i from "../plugins/autoImport/$msg/index.mjs";
5
5
  import { computed as a, createBlock as o, defineComponent as s, h as c, mergeProps as l, onMounted as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
6
6
  import { useRequest as _ } from "alova/client";
@@ -1,6 +1,6 @@
1
1
  import "../components/page-list/index.mjs";
2
2
  import { P as e } from "./provider-DPmpYEOG.mjs";
3
- import { t } from "./page-list-DgIrmvy9.mjs";
3
+ import { t } from "./page-list-CFZBpug1.mjs";
4
4
  import n from "../plugins/autoImport/$msg/index.mjs";
5
5
  import { createBlock as r, defineComponent as i, mergeProps as a, openBlock as o, unref as s, useTemplateRef as c } from "vue";
6
6
  // ../../packages/dlzn-ui/views/system/role/modules/SelectUser.vue
@@ -2,9 +2,9 @@ import { n as e } from "./provider-DPmpYEOG.mjs";
2
2
  import "../components/card/index.mjs";
3
3
  import { t } from "./card-fcGTPVWb.mjs";
4
4
  import "../components/custom-page-table/index.mjs";
5
- import { t as n } from "./custom-page-table-CGJSrHkp.mjs";
5
+ import { t as n } from "./custom-page-table-Z2tomdR3.mjs";
6
6
  import "../components/page-list/index.mjs";
7
- import { n as r, r as i } from "./page-list-DgIrmvy9.mjs";
7
+ import { n as r, r as i } from "./page-list-CFZBpug1.mjs";
8
8
  import { t as a } from "./page-query-CBE5Vdbq.mjs";
9
9
  import "../components/page-query/index.mjs";
10
10
  import { t as o } from "./plugin-vue_export-helper-Djzt4Yr7.mjs";
@@ -1,4 +1,4 @@
1
- import { n as e, r as t } from "./page-table-EYmGCJq-.mjs";
1
+ import { n as e, r as t } from "./page-table-COPiYiCR.mjs";
2
2
  import { t as n } from "./pagination-DnlZCC0E.mjs";
3
3
  import "../components/page-table/index.mjs";
4
4
  import "../components/pagination/index.mjs";
@@ -1,8 +1,8 @@
1
1
  import { P as e, at as t, it as n, o as r } from "./provider-DPmpYEOG.mjs";
2
2
  import "../components/page-list/index.mjs";
3
- import { t as i } from "./page-list-DgIrmvy9.mjs";
3
+ import { t as i } from "./page-list-CFZBpug1.mjs";
4
4
  import a from "../plugins/autoImport/$msg/index.mjs";
5
- import { t as o } from "./Log-B2L8TVXx.mjs";
5
+ import { t as o } from "./Log-DWreGhwJ.mjs";
6
6
  import { createBlock as s, defineComponent as c, h as l, mergeProps as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
7
7
  // ../../packages/dlzn-ui/views/tool/job/index.vue
8
8
  var _ = /* @__PURE__ */ c({
@@ -4,7 +4,7 @@ import "../components/page-query/index.mjs";
4
4
  import "../components/page-table/index.mjs";
5
5
  import { t as n } from "./card-fcGTPVWb.mjs";
6
6
  import r from "../plugins/autoImport/$msg/index.mjs";
7
- import { t as i } from "./page-table-EYmGCJq-.mjs";
7
+ import { t as i } from "./page-table-COPiYiCR.mjs";
8
8
  import { n as a } from "./useAppContext-DAxNLHY9.mjs";
9
9
  import { t as o } from "./page-query-CBE5Vdbq.mjs";
10
10
  import s from "../plugins/autoImport/dayjs/index.mjs";
@@ -2,7 +2,7 @@ import "../components/pagination/index.mjs";
2
2
  import { queryStringToObject as e } from "../utils/string.mjs";
3
3
  import { t } from "./pagination-DnlZCC0E.mjs";
4
4
  import "../components/table/index.mjs";
5
- import { n, t as r } from "./table-Ivruq4hf.mjs";
5
+ import { n, t as r } from "./table-CWHxbmQA.mjs";
6
6
  import { F as i, I as a, L as o, P as s } from "./provider-DPmpYEOG.mjs";
7
7
  import { computed as c, createBlock as l, createCommentVNode as u, createSlots as d, defineComponent as f, guardReactiveProps as p, isRef as m, mergeDefaults as h, mergeProps as g, normalizeProps as _, openBlock as v, ref as y, renderList as b, renderSlot as x, unref as S, useTemplateRef as C, watch as w, withCtx as T } from "vue";
8
8
  import { useWatcher as E } from "alova/client";
@@ -7,12 +7,12 @@ import { n as te } from "./useAppContext-DAxNLHY9.mjs";
7
7
  import { getCellRender as ne } from "../plugins/tableRenders/cell/index.mjs";
8
8
  import { getTitleRender as re } from "../plugins/tableRenders/title/index.mjs";
9
9
  import { t as a } from "./plugin-vue_export-helper-Djzt4Yr7.mjs";
10
- import { Teleport as ie, computed as o, createBlock as s, createCommentVNode as c, createElementVNode as l, createSlots as ae, createVNode as u, defineComponent as d, getCurrentInstance as oe, guardReactiveProps as f, h as p, mergeDefaults as m, mergeProps as h, nextTick as se, normalizeClass as ce, normalizeProps as g, onMounted as le, onUnmounted as ue, openBlock as _, provide as v, ref as y, renderList as de, renderSlot as b, resolveDynamicComponent as fe, unref as x, useCssVars as pe, useTemplateRef as me, watch as S, withCtx as C } from "vue";
11
- import { Empty as he, EnhancedTable as ge, Tooltip as w } from "tdesign-vue-next";
12
- import { refDebounced as T, useElementSize as E, useLocalStorage as _e } from "@vueuse/core";
13
- import { difference as ve, uniqueId as ye } from "lodash-es";
14
- import { useRoute as be } from "vue-router";
15
- import '../assets/table-CVArV2Pt.css';// ../../packages/dlzn-ui/components/table/src/table.ts
10
+ import { Teleport as ie, computed as o, createBlock as s, createCommentVNode as c, createElementVNode as l, createSlots as ae, createVNode as u, defineComponent as d, getCurrentInstance as oe, guardReactiveProps as f, h as p, mergeDefaults as m, mergeProps as h, nextTick as se, normalizeClass as ce, normalizeProps as g, onMounted as le, onUnmounted as ue, openBlock as _, provide as v, reactive as de, ref as y, renderList as fe, renderSlot as b, resolveDynamicComponent as pe, unref as x, useCssVars as me, useTemplateRef as he, watch as S, withCtx as C } from "vue";
11
+ import { Empty as ge, EnhancedTable as _e, Tooltip as w } from "tdesign-vue-next";
12
+ import { refDebounced as T, useElementSize as E, useLocalStorage as ve } from "@vueuse/core";
13
+ import { difference as ye, uniqueId as be } from "lodash-es";
14
+ import { useRoute as xe } from "vue-router";
15
+ import '../assets/table-CWAIkhVz.css';// ../../packages/dlzn-ui/components/table/src/table.ts
16
16
  var D = {
17
17
  attach: "body",
18
18
  bordered: !0,
@@ -44,7 +44,7 @@ var D = {
44
44
  indent: 41,
45
45
  treeNodeColumnIndex: 0
46
46
  })
47
- }, xe = { class: "table_operations_wrapper items-end justify-end gap-3" }, Se = { class: "flex flex-1 items-end" }, O = /*#__PURE__*/ a(/* @__PURE__ */ d({
47
+ }, Se = { class: "table_operations_wrapper items-end justify-end gap-3" }, Ce = { class: "flex flex-1 items-end" }, O = /*#__PURE__*/ a(/* @__PURE__ */ d({
48
48
  inheritAttrs: !1,
49
49
  __name: "table",
50
50
  props: /*@__PURE__*/ m({
@@ -176,12 +176,12 @@ var D = {
176
176
  onScrollY: { type: Function }
177
177
  }, D),
178
178
  setup(a, { expose: d }) {
179
- pe((e) => ({
180
- ecf62d0e: x(J),
181
- v68528587: x(Y),
182
- ed507266: x(X)
179
+ me((e) => ({
180
+ a965c4ec: x(Y),
181
+ ebca8cd0: x(X),
182
+ v64d58a5e: x(Z)
183
183
  }));
184
- let m = a, D = be();
184
+ let m = a, D = xe();
185
185
  function O(e) {
186
186
  let t = e.find((e) => i(e.colKey));
187
187
  if (t !== void 0) return `列的colKey不能为空: ${JSON.stringify(t)}`;
@@ -213,10 +213,10 @@ var D = {
213
213
  S(() => O(m.columns), (e) => {
214
214
  e !== !0 && te.error(e);
215
215
  }, { immediate: !0 });
216
- let A = o(() => m.data.map((e, t) => Object.assign(e, { _ROW_KEY: ye(String(t)) }))), j = y({}), M = T(j, 600), N = {}, P = {}, F = y([]), I = o(() => k.value.filter((e) => !i(e.title) && !["row-select", "serial-number"].includes(e.colKey) && !e.colKey.startsWith("_")).map((e) => ({
216
+ let A = o(() => m.data.map((e, t) => Object.assign(e, { _ROW_KEY: be(String(t)) }))), j = y({}), M = T(j, 600), N = {}, P = {}, F = y([]), I = o(() => k.value.filter((e) => !i(e.title) && !["row-select", "serial-number"].includes(e.colKey) && !e.colKey.startsWith("_")).map((e) => ({
217
217
  label: e.title,
218
218
  value: e.colKey
219
- }))), L = o(() => I.value.map((e) => e.value).join("_")), R = _e(L, []);
219
+ }))), L = o(() => I.value.map((e) => e.value).join("_")), R = ve(L, []);
220
220
  function z(e) {
221
221
  return {
222
222
  maxWidth: e.resize?.maxWidth ?? Infinity,
@@ -232,39 +232,40 @@ var D = {
232
232
  deep: !0,
233
233
  immediate: !0
234
234
  });
235
- let Ce = ee.isMd, B = o(() => k.value.filter((e) => m.showColumnConfigBtn && !R.value.includes(e.colKey) || !m.showColumnConfigBtn).map((e) => {
236
- let t = z(e);
235
+ let we = ee.isMd, B = de(/* @__PURE__ */ new Map()), V = o(() => k.value.filter((e) => m.showColumnConfigBtn && !R.value.includes(e.colKey) || !m.showColumnConfigBtn).map((e) => {
236
+ let t = z(e), n = B.get(e.colKey);
237
237
  return {
238
238
  stopPropagation: !0,
239
239
  ...e,
240
240
  cell: ne(e.cell),
241
241
  ellipsis: !1,
242
242
  ellipsisTitle: !1,
243
- fixed: Ce.value ? void 0 : e.fixed ?? (e.colKey === "_operation" ? "right" : void 0),
243
+ fixed: we.value ? void 0 : e.fixed ?? (e.colKey === "_operation" ? "right" : void 0),
244
244
  resize: t,
245
245
  title: re(e.title),
246
- width: M.value[e.colKey]
246
+ width: M.value[e.colKey],
247
+ ...n ?? {}
247
248
  };
248
249
  }));
249
- function we() {
250
+ function Te() {
250
251
  let e = m.data;
251
252
  if (e.length === 0) return;
252
253
  let t = Object.keys(e[0]);
253
254
  if (t.includes("id")) return "id";
254
255
  if (t.includes("key")) return "key";
255
256
  }
256
- let V = o(() => {
257
+ let H = o(() => {
257
258
  let e = { ...m };
258
- return e.rowKey = m.rowKey ?? we() ?? "_ROW_KEY", delete e.columns, delete e.data, delete e.showToggleFullscreenBtn, delete e.showColumnConfigBtn, delete e.flexHeight, delete e.showRowSelect, delete e.showSerialNumber, delete e.checkSelectedOnDataChange, Object.keys(e).forEach((t) => {
259
+ return e.rowKey = m.rowKey ?? Te() ?? "_ROW_KEY", delete e.columns, delete e.data, delete e.showToggleFullscreenBtn, delete e.showColumnConfigBtn, delete e.flexHeight, delete e.showRowSelect, delete e.showSerialNumber, delete e.checkSelectedOnDataChange, Object.keys(e).forEach((t) => {
259
260
  e[t] === void 0 && delete e[t];
260
261
  }), e;
261
- }), H = y(!1);
262
+ }), U = y(!1);
262
263
  S(() => D.name, () => {
263
- H.value = !1;
264
+ U.value = !1;
264
265
  }), S([I, R], ([e, t]) => {
265
266
  F.value = e.filter((e) => !t.includes(e.value)).map((e) => e.value);
266
267
  }, { immediate: !0 });
267
- function Te() {
268
+ function Ee() {
268
269
  e({
269
270
  body: () => p(n, {
270
271
  class: "flex-col",
@@ -280,46 +281,46 @@ var D = {
280
281
  header: "请勾选要显示的列"
281
282
  });
282
283
  }
283
- let U = me("tableParentRef"), { height: Ee } = E(U), W = y(null), G = y(null), K = y(null), q = y(null), { height: J } = E(W), { height: De } = E(G), { height: Y } = E(K), { height: Oe } = E(q), ke = o(() => Math.max(0, Oe.value - J.value - De.value - Y.value)), X = T(ke, 100), Z = y(m.defaultSelectedRowKeys ?? []), Q = o({
284
- get: () => Object.hasOwn(m, "selectedRowKeys") && m.selectedRowKeys !== void 0 ? m.selectedRowKeys : Z.value,
284
+ let W = he("tableParentRef"), { height: De } = E(W), G = y(null), K = y(null), q = y(null), J = y(null), { height: Y } = E(G), { height: Oe } = E(K), { height: X } = E(q), { height: ke } = E(J), Ae = o(() => Math.max(0, ke.value - Y.value - Oe.value - X.value)), Z = T(Ae, 100), Q = y(m.defaultSelectedRowKeys ?? []), $ = o({
285
+ get: () => Object.hasOwn(m, "selectedRowKeys") && m.selectedRowKeys !== void 0 ? m.selectedRowKeys : Q.value,
285
286
  set: (e) => {
286
- m["onUpdate:selectedRowKeys"]?.(e), Z.value = e;
287
+ m["onUpdate:selectedRowKeys"]?.(e), Q.value = e;
287
288
  }
288
- }), $ = oe();
289
- function Ae(e) {
290
- e !== null && (e.selectedRows = o(() => A.value.filter((e) => Q.value.includes(e[V.value.rowKey]))), e.selectedRowKeys = Q, e.rowKey = o(() => V.value.rowKey)), $.exposed = e ?? {};
289
+ }), je = oe();
290
+ function Me(e) {
291
+ e !== null && (e.selectedRows = o(() => A.value.filter((e) => $.value.includes(e[H.value.rowKey]))), e.selectedRowKeys = $, e.rowKey = o(() => H.value.rowKey)), je.exposed = e ?? {};
291
292
  }
292
293
  le(() => {
293
- W.value = U.value.querySelector("thead"), G.value = U.value.querySelector("tbody"), K.value = U.value.querySelector("tfoot"), q.value = U.value.querySelector(".t-table__content"), S([M, R], () => {
294
+ G.value = W.value.querySelector("thead"), K.value = W.value.querySelector("tbody"), q.value = W.value.querySelector("tfoot"), J.value = W.value.querySelector(".t-table__content"), S([M, R], () => {
294
295
  se(() => {
295
- $.exposed.refreshTable();
296
+ je.exposed.refreshTable();
296
297
  });
297
298
  }, { deep: !0 });
298
299
  });
299
- function je() {
300
- W.value = U.value.querySelector("thead"), G.value = U.value.querySelector("tbody"), K.value = U.value.querySelector("tfoot"), q.value = U.value.querySelector(".t-table__content");
300
+ function Ne() {
301
+ G.value = W.value.querySelector("thead"), K.value = W.value.querySelector("tbody"), q.value = W.value.querySelector("tfoot"), J.value = W.value.querySelector(".t-table__content");
301
302
  }
302
303
  return ue(() => {
303
- R.value.length === 0 && localStorage.removeItem(L.value), W.value = null, G.value = null, K.value = null, q.value = null;
304
+ R.value.length === 0 && localStorage.removeItem(L.value), G.value = null, K.value = null, q.value = null, J.value = null;
304
305
  }), S(() => m.data, () => {
305
306
  if (!m.checkSelectedOnDataChange) return;
306
- let e = V.value.rowKey, t = Q.value.filter((t) => m.data.some((n) => n[e] === t));
307
- ve(Q.value, t).length > 0 && (Q.value = t, m.onSelectChange?.(t, {
307
+ let e = H.value.rowKey, t = $.value.filter((t) => m.data.some((n) => n[e] === t));
308
+ ye($.value, t).length > 0 && ($.value = t, m.onSelectChange?.(t, {
308
309
  currentRowKey: "DATA_CHANGE",
309
310
  selectedRowData: A.value.filter((n) => t.includes(n[e])),
310
311
  type: "uncheck"
311
312
  }));
312
- }, { deep: 2 }), v("columnMinWidths", N), v("columnMaxWidths", P), v("_columnWidths", j), v("tableData", A), d({}), (e, n) => (_(), s(ie, {
313
- disabled: !H.value,
313
+ }, { deep: 2 }), v("columnMinWidths", N), v("columnMaxWidths", P), v("_columnWidths", j), v("tableData", A), v("CustomColumnConfigMap", B), d({}), (e, n) => (_(), s(ie, {
314
+ disabled: !U.value,
314
315
  to: "#app"
315
316
  }, [l("div", h({ class: ["flex w-full flex-col gap-3", {
316
- "flex-1 overflow-y-auto": a.flexHeight || H.value,
317
- "full_screen bg-(--td-bg-color-container) p-4": H.value,
318
- transform_tfoot: x(X) > 0
317
+ "flex-1 overflow-y-auto": a.flexHeight || U.value,
318
+ "full_screen bg-(--td-bg-color-container) p-4": U.value,
319
+ transform_tfoot: x(Z) > 0
319
320
  }] }, e.$attrs), [
320
- l("div", xe, [
321
- l("div", Se, [b(e.$slots, "table-operations", g(f({
322
- columns: B.value,
321
+ l("div", Se, [
322
+ l("div", Ce, [b(e.$slots, "table-operations", g(f({
323
+ columns: V.value,
323
324
  data: A.value
324
325
  })), void 0, !0)]),
325
326
  a.showColumnConfigBtn ? (_(), s(x(w), {
@@ -329,7 +330,7 @@ var D = {
329
330
  default: C(() => [u(x(t), {
330
331
  shape: "square",
331
332
  variant: "outline",
332
- onClick: Te
333
+ onClick: Ee
333
334
  }, {
334
335
  icon: C(() => [u(x(r), { icon: "mingcute:column-line" })]),
335
336
  _: 1
@@ -338,53 +339,53 @@ var D = {
338
339
  })) : c("v-if", !0),
339
340
  a.showToggleFullscreenBtn ? (_(), s(x(w), {
340
341
  key: 1,
341
- content: H.value ? "退出全屏" : "全屏显示"
342
+ content: U.value ? "退出全屏" : "全屏显示"
342
343
  }, {
343
344
  default: C(() => [u(x(t), {
344
345
  class: "ml-0!",
345
346
  shape: "square",
346
347
  variant: "outline",
347
- onClick: n[0] ||= (e) => H.value = !H.value
348
+ onClick: n[0] ||= (e) => U.value = !U.value
348
349
  }, {
349
- icon: C(() => [u(x(r), { icon: H.value ? "lsicon:screen-off-filled" : "lsicon:fit-screen-outline" }, null, 8, ["icon"])]),
350
+ icon: C(() => [u(x(r), { icon: U.value ? "lsicon:screen-off-filled" : "lsicon:fit-screen-outline" }, null, 8, ["icon"])]),
350
351
  _: 1
351
352
  })]),
352
353
  _: 1
353
354
  }, 8, ["content"])) : c("v-if", !0)
354
355
  ]),
355
356
  b(e.$slots, "table-top", g(f({
356
- columns: B.value,
357
+ columns: V.value,
357
358
  data: A.value
358
359
  })), void 0, !0),
359
360
  l("div", {
360
361
  ref_key: "tableParentRef",
361
- ref: U,
362
- class: ce(["table_parent", { "flex-1 overflow-y-hidden": a.flexHeight || H.value }])
363
- }, [(_(), s(fe(p(x(ge), h({}, {
364
- ...V.value,
365
- ref: Ae,
366
- columns: B.value,
362
+ ref: W,
363
+ class: ce(["table_parent", { "flex-1 overflow-y-hidden": a.flexHeight || U.value }])
364
+ }, [(_(), s(pe(p(x(_e), h({}, {
365
+ ...H.value,
366
+ ref: Me,
367
+ columns: V.value,
367
368
  data: A.value,
368
- height: a.flexHeight || H.value ? x(Ee) : V.value.height,
369
- maxHeight: a.flexHeight || H.value || V.value.height !== void 0 ? void 0 : V.value.maxHeight,
370
- resizable: V.value.bordered ? V.value.resizable : !1
369
+ height: a.flexHeight || U.value ? x(De) : H.value.height,
370
+ maxHeight: a.flexHeight || U.value || H.value.height !== void 0 ? void 0 : H.value.maxHeight,
371
+ resizable: H.value.bordered ? H.value.resizable : !1
371
372
  }))), {
372
- "selected-row-keys": Q.value,
373
- "onUpdate:selectedRowKeys": n[1] ||= (e) => Q.value = e,
374
- onVnodeUpdated: je
375
- }, ae({ _: 2 }, [de(Object.keys(e.$slots), (t) => ({
373
+ "selected-row-keys": $.value,
374
+ "onUpdate:selectedRowKeys": n[1] ||= (e) => $.value = e,
375
+ onVnodeUpdated: Ne
376
+ }, ae({ _: 2 }, [fe(Object.keys(e.$slots), (t) => ({
376
377
  name: t,
377
378
  fn: C((n) => [b(e.$slots, t, g(f(n)), void 0, !0)])
378
379
  })), Object.hasOwn(e.$slots, "empty") ? void 0 : {
379
380
  name: "empty",
380
- fn: C(() => [u(x(he))]),
381
+ fn: C(() => [u(x(ge))]),
381
382
  key: "0"
382
383
  }]), 1064, ["selected-row-keys"]))], 2),
383
384
  b(e.$slots, "table-bottom", g(f({
384
- columns: B.value,
385
+ columns: V.value,
385
386
  data: A.value
386
387
  })), void 0, !0)
387
388
  ], 16)], 8, ["disabled"]));
388
389
  }
389
- }), [["__scopeId", "data-v-277adbcb"]]);
390
+ }), [["__scopeId", "data-v-c624aeac"]]);
390
391
  export { D as n, O as t };
@@ -1 +1 @@
1
- export { t as TCustomPageList } from "../../chunks/custom-page-list-_9lkUYVM.mjs";
1
+ export { t as TCustomPageList } from "../../chunks/custom-page-list-CJPQ5sNQ.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/custom-page-list-_9lkUYVM.mjs";
1
+ export { t as default } from "../../../chunks/custom-page-list-CJPQ5sNQ.mjs";
@@ -1 +1 @@
1
- export { t as TCustomPageTable } from "../../chunks/custom-page-table-CGJSrHkp.mjs";
1
+ export { t as TCustomPageTable } from "../../chunks/custom-page-table-Z2tomdR3.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/custom-page-table-CGJSrHkp.mjs";
1
+ export { t as default } from "../../../chunks/custom-page-table-Z2tomdR3.mjs";
@@ -23,10 +23,10 @@ import { t as R } from "../chunks/textarea-C9VbFXpr.mjs";
23
23
  import "./overview/index.mjs";
24
24
  import { n as z, t as B } from "../chunks/card-fcGTPVWb.mjs";
25
25
  import "./page-list/index.mjs";
26
- import { n as V, r as H, t as U } from "../chunks/page-table-EYmGCJq-.mjs";
26
+ import { n as V, r as H, t as U } from "../chunks/page-table-COPiYiCR.mjs";
27
27
  import { t as W } from "../chunks/pagination-DnlZCC0E.mjs";
28
28
  import "./page-query/index.mjs";
29
- import { n as G, t as K } from "../chunks/table-Ivruq4hf.mjs";
29
+ import { n as G, t as K } from "../chunks/table-CWHxbmQA.mjs";
30
30
  import { t as q } from "../chunks/popup-F9ChL2Wm.mjs";
31
31
  import "./page-table/index.mjs";
32
32
  import { n as J, t as Y } from "../chunks/tag-BHcFOaT4.mjs";
@@ -37,13 +37,13 @@ import { n as Q, t as $ } from "../chunks/link-v9WN9zib.mjs";
37
37
  import "./popup/index.mjs";
38
38
  import "./scrollbar/index.mjs";
39
39
  import "./slider/index.mjs";
40
- import { t as ee } from "../chunks/custom-page-table-CGJSrHkp.mjs";
40
+ import { t as ee } from "../chunks/custom-page-table-Z2tomdR3.mjs";
41
41
  import "./switch/index.mjs";
42
- import { n as te, r as ne, t as re } from "../chunks/page-list-DgIrmvy9.mjs";
42
+ import { n as te, r as ne, t as re } from "../chunks/page-list-CFZBpug1.mjs";
43
43
  import { t as ie } from "../chunks/page-query-CBE5Vdbq.mjs";
44
44
  import "./tab-panel/index.mjs";
45
45
  import "./table/index.mjs";
46
- import { t as ae } from "../chunks/custom-page-list-_9lkUYVM.mjs";
46
+ import { t as ae } from "../chunks/custom-page-list-CJPQ5sNQ.mjs";
47
47
  import "./tag/index.mjs";
48
48
  import { t as oe } from "../chunks/overview-Bgxcm5Az.mjs";
49
49
  import { t as se } from "../chunks/overview-F8OD1Tcl.mjs";
@@ -1 +1 @@
1
- export { t as TPageList, n as baseCustomPageListPropsInit, r as useBaseCustomPageListMixin } from "../../chunks/page-list-DgIrmvy9.mjs";
1
+ export { t as TPageList, n as baseCustomPageListPropsInit, r as useBaseCustomPageListMixin } from "../../chunks/page-list-CFZBpug1.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/page-list-DgIrmvy9.mjs";
1
+ export { t as default } from "../../../chunks/page-list-CFZBpug1.mjs";
@@ -1 +1 @@
1
- export { t as TPageTable, n as basePageTablePropsInit, r as useBasePageTableMixin } from "../../chunks/page-table-EYmGCJq-.mjs";
1
+ export { t as TPageTable, n as basePageTablePropsInit, r as useBasePageTableMixin } from "../../chunks/page-table-COPiYiCR.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/page-table-EYmGCJq-.mjs";
1
+ export { t as default } from "../../../chunks/page-table-COPiYiCR.mjs";
@@ -1,5 +1,5 @@
1
1
  import "../../page-list/index.mjs";
2
- import { t as e } from "../../../chunks/page-list-DgIrmvy9.mjs";
2
+ import { t as e } from "../../../chunks/page-list-CFZBpug1.mjs";
3
3
  import { P as t } from "../../../chunks/provider-DPmpYEOG.mjs";
4
4
  import { createBlock as n, createSlots as r, createVNode as i, defineComponent as a, mergeProps as o, openBlock as s, unref as c, useTemplateRef as l, withCtx as u } from "vue";
5
5
  import { Alert as d } from "tdesign-vue-next";
@@ -1 +1 @@
1
- export { t as TTable, n as tablePropsInit } from "../../chunks/table-Ivruq4hf.mjs";
1
+ export { t as TTable, n as tablePropsInit } from "../../chunks/table-CWHxbmQA.mjs";
@@ -40,6 +40,9 @@ export interface CellRenderContext {
40
40
  row: TableRowData;
41
41
  rowIndex: number;
42
42
  }
43
+ export interface CustomColumnConfig {
44
+ align?: _TableCol['align'];
45
+ }
43
46
  export type FinallyTableCol = Omit<TableCol, 'cell' | 'resize' | 'title' | 'visible' | 'width'> & {
44
47
  cell: TNodeFn;
45
48
  resize: {
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/table-Ivruq4hf.mjs";
1
+ export { t as default } from "../../../chunks/table-CWHxbmQA.mjs";
@@ -11,7 +11,7 @@ declare const builtInPromiseMap: {
11
11
  Watched: object | import('vue').WatchSource<unknown>;
12
12
  StateExport: Ref<unknown, unknown>;
13
13
  ComputedExport: ComputedRef<unknown>;
14
- }>, TreeOptionsItem[], Record<string, any>[]>>;
14
+ }>, TreeOptionsItem<number>[], Record<string, any>[]>>;
15
15
  systemMenuTree: () => import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, {
16
16
  name: "Vue";
17
17
  State: Ref<unknown, unknown>;
@@ -19,14 +19,15 @@ declare const builtInPromiseMap: {
19
19
  Watched: object | import('vue').WatchSource<unknown>;
20
20
  StateExport: Ref<unknown, unknown>;
21
21
  ComputedExport: ComputedRef<unknown>;
22
- }>, TreeOptionsItem[], Record<string, any>[]>>;
22
+ }>, TreeOptionsItem<string>[], Record<string, any>[]>>;
23
23
  };
24
- declare const promiseMap: typeof builtInPromiseMap & UseListPromiseMap;
25
- export type UseListAllKey = keyof typeof promiseMap;
24
+ export type UseListAllKey = keyof MergedUseListPromiseMap;
26
25
  export type UseListKey = Exclude<UseListAllKey, UseListTreeKey>;
27
- export type UseListTreeKey = TreeKeys<typeof promiseMap>;
26
+ export type UseListResult<K extends keyof MergedUseListPromiseMap> = Awaited<ReturnType<MergedUseListPromiseMap[K]>>;
27
+ export type UseListTreeKey = TreeKeys<MergedUseListPromiseMap>;
28
+ type MergedUseListPromiseMap = typeof builtInPromiseMap & UseListPromiseMap;
28
29
  export declare function clear(): void;
29
- export default function useList(key: UseListAllKey): Ref<OptionsItem[], OptionsItem[]>;
30
+ export default function useList<K extends UseListAllKey>(key: K): Ref<UseListResult<K>>;
30
31
  export declare function useListLabel(key: UseListKey): ComputedRef<string[]>;
31
32
  export declare function useListLabel(key: UseListKey, value: PettyPrimitive): ComputedRef<string>;
32
33
  export declare function useListLabel(key: UseListKey, value: Array<PettyPrimitive>): ComputedRef<string[]>;
package/layout/Home1.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { it as e, n as t, o as n, ot as r } from "../chunks/provider-DPmpYEOG.mjs";
2
- import { t as i } from "../chunks/table-Ivruq4hf.mjs";
2
+ import { t as i } from "../chunks/table-CWHxbmQA.mjs";
3
3
  import "../components/table/index.mjs";
4
4
  import { createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, ref as d, unref as f, withCtx as p } from "vue";
5
5
  // ../../packages/dlzn-ui/layout/Home1.vue
@@ -22,16 +22,25 @@ var m = /* @__PURE__ */ l({
22
22
  }
23
23
  ], h = d([{
24
24
  color: "#000000",
25
+ number: 1234567890,
25
26
  url: "https://cos.wlinkai.com/38/202611/04/manual/8a242998-e81a-4419-8017-61ec8d376a7c.wav?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDYLn9BB5FLFPTbbSBmIj185pMguEew5B4%26q-sign-time%3D1794386718%3B1794390318%26q-key-time%3D1794386718%3B1794390318%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3Dfa477e30f44e327626183817b2405e5ce00ed86f"
26
- }]), g = [{
27
- cell: { component: "ColorPicker" },
28
- colKey: "color",
29
- title: "Color"
30
- }, {
31
- cell: { component: "AudioPlay" },
32
- colKey: "url",
33
- title: "URL"
34
- }];
27
+ }]), g = [
28
+ {
29
+ cell: { component: "ColorPicker" },
30
+ colKey: "color",
31
+ title: "Color"
32
+ },
33
+ {
34
+ cell: { component: "AudioPlay" },
35
+ colKey: "url",
36
+ title: "URL"
37
+ },
38
+ {
39
+ cell: { component: "FormatNumber" },
40
+ colKey: "number",
41
+ title: "Number"
42
+ }
43
+ ];
35
44
  function _() {
36
45
  e({
37
46
  body: "Are you sure you want to open the dialog?",
package/package.json CHANGED
@@ -116,7 +116,7 @@
116
116
  "> 1%",
117
117
  "not dead"
118
118
  ],
119
- "version": "2.0.103",
119
+ "version": "2.0.105",
120
120
  "scripts": {
121
121
  "dev": "vite --config play/vite.config.ts"
122
122
  }
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Index-Byk0JtDU.mjs";
1
+ export { t as default } from "../../../../chunks/Index-B5oTjsR5.mjs";
@@ -6,7 +6,7 @@ import { t as i } from "../../../chunks/Index-B3Qx5yy5.mjs";
6
6
  import { t as a } from "../../../chunks/Index-DVGoGfWk.mjs";
7
7
  import { t as o } from "../../../chunks/Index-QDwepGSD.mjs";
8
8
  import { t as s } from "../../../chunks/Index-D12MfAms.mjs";
9
- import { t as c } from "../../../chunks/Index-Byk0JtDU.mjs";
9
+ import { t as c } from "../../../chunks/Index-B5oTjsR5.mjs";
10
10
  import { t as l } from "../../../chunks/Index-CH_S0rbB.mjs";
11
11
  import { t as u } from "../../../chunks/Index-Ct5AUgBM.mjs";
12
12
  import { t as d } from "../../../chunks/Index-DF84Ikz7.mjs";
package/types/globle.d.ts CHANGED
@@ -8,17 +8,17 @@ declare global {
8
8
  }>
9
9
  type OmitFirstParameters<T extends (...args: any) => any> =
10
10
  Parameters<T> extends [any, ...infer Rest] ? Rest : never
11
- interface OptionsItem {
11
+ interface OptionsItem<T extends number | string = string> {
12
12
  [key: string]: any
13
13
  label: string
14
- value: number | string
14
+ value: T
15
15
  }
16
16
  type PettyPrimitive = null | number | string | undefined
17
- interface TreeOptionsItem {
17
+ interface TreeOptionsItem<T extends number | string = string> {
18
18
  [key: string]: any
19
19
  children?: TreeOptionsItem[]
20
20
  label: string
21
- value: number | string
21
+ value: T
22
22
  }
23
23
  interface Window {
24
24
  pluginWebUpdateNotice_?: {
@@ -1,7 +1,7 @@
1
1
  import "../../../components/card/index.mjs";
2
2
  import { t as e } from "../../../chunks/card-fcGTPVWb.mjs";
3
3
  import "../../../components/table/index.mjs";
4
- import { t } from "../../../chunks/table-Ivruq4hf.mjs";
4
+ import { t } from "../../../chunks/table-CWHxbmQA.mjs";
5
5
  import { P as n } from "../../../chunks/provider-DPmpYEOG.mjs";
6
6
  import { t as r } from "../../../chunks/echarts-CYv6gr6J.mjs";
7
7
  import { computed as i, createElementBlock as a, createVNode as o, defineComponent as s, normalizeStyle as c, openBlock as l, unref as u, withCtx as d } from "vue";
@@ -2,7 +2,7 @@ import { P as e, n as t, o as n } from "../../../chunks/provider-DPmpYEOG.mjs";
2
2
  import "../../../components/card/index.mjs";
3
3
  import { t as r } from "../../../chunks/card-fcGTPVWb.mjs";
4
4
  import "../../../components/table/index.mjs";
5
- import { t as i } from "../../../chunks/table-Ivruq4hf.mjs";
5
+ import { t as i } from "../../../chunks/table-CWHxbmQA.mjs";
6
6
  import a from "../../../plugins/autoImport/$msg/index.mjs";
7
7
  import { computed as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, reactive as f, ref as p, unref as m, watch as h, withCtx as g } from "vue";
8
8
  // ../../packages/dlzn-ui/views/monitor/cacheList/index.vue?vue&type=script&setup=true&lang.ts
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../chunks/job-Bk7qI7Oa.mjs";
1
+ import { t as e } from "../../../chunks/job-BKj2YxaV.mjs";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r } from "vue";
3
3
  // ../../packages/dlzn-ui/views/monitor/job/index.vue
4
4
  var i = /* @__PURE__ */ n({
@@ -1,5 +1,5 @@
1
1
  import "../../../components/page-list/index.mjs";
2
- import { t as e } from "../../../chunks/page-list-DgIrmvy9.mjs";
2
+ import { t as e } from "../../../chunks/page-list-CFZBpug1.mjs";
3
3
  import { P as t } from "../../../chunks/provider-DPmpYEOG.mjs";
4
4
  import { createBlock as n, defineComponent as r, mergeProps as i, openBlock as a, reactive as o, ref as s, unref as c, useTemplateRef as l } from "vue";
5
5
  // ../../packages/dlzn-ui/views/monitor/logininfor/index.vue
@@ -1,5 +1,5 @@
1
1
  import "../../../components/page-list/index.mjs";
2
- import { t as e } from "../../../chunks/page-list-DgIrmvy9.mjs";
2
+ import { t as e } from "../../../chunks/page-list-CFZBpug1.mjs";
3
3
  import { P as t } from "../../../chunks/provider-DPmpYEOG.mjs";
4
4
  import { createBlock as n, defineComponent as r, mergeProps as i, openBlock as a, unref as o, useTemplateRef as s } from "vue";
5
5
  // ../../packages/dlzn-ui/views/monitor/online/index.vue
@@ -1,5 +1,5 @@
1
1
  import { P as e, at as t, o as n } from "../../../chunks/provider-DPmpYEOG.mjs";
2
- import { t as r } from "../../../chunks/page-list-DgIrmvy9.mjs";
2
+ import { t as r } from "../../../chunks/page-list-CFZBpug1.mjs";
3
3
  import "../../../components/page-list/index.mjs";
4
4
  import { createBlock as i, defineComponent as a, h as o, mergeProps as s, openBlock as c, reactive as l, ref as u, unref as d, useTemplateRef as f, watch as p } from "vue";
5
5
  // ../../packages/dlzn-ui/views/monitor/operlog/index.vue
@@ -1,7 +1,7 @@
1
1
  import "../../../components/card/index.mjs";
2
2
  import { t as e } from "../../../chunks/card-fcGTPVWb.mjs";
3
3
  import "../../../components/table/index.mjs";
4
- import { t } from "../../../chunks/table-Ivruq4hf.mjs";
4
+ import { t } from "../../../chunks/table-CWHxbmQA.mjs";
5
5
  import { P as n } from "../../../chunks/provider-DPmpYEOG.mjs";
6
6
  import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
7
7
  import { useRequest as u } from "alova/client";
@@ -1,6 +1,6 @@
1
1
  import { P as e, it as t, o as n } from "../../../chunks/provider-DPmpYEOG.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-DgIrmvy9.mjs";
3
+ import { t as r } from "../../../chunks/page-list-CFZBpug1.mjs";
4
4
  import i from "../../../plugins/autoImport/$msg/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  // ../../packages/dlzn-ui/views/system/config/index.vue
@@ -1,7 +1,7 @@
1
1
  import { E as e, P as t, it as n, o as r } from "../../../chunks/provider-DPmpYEOG.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
3
  import { flatArrToTree as i } from "../../../utils/tree.mjs";
4
- import { t as a } from "../../../chunks/page-list-DgIrmvy9.mjs";
4
+ import { t as a } from "../../../chunks/page-list-CFZBpug1.mjs";
5
5
  import o from "../../../plugins/autoImport/$msg/index.mjs";
6
6
  import { deptTreeList as s, deptTreeListSend as c } from "./utils.mjs";
7
7
  import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
@@ -1,8 +1,8 @@
1
1
  import { P as e, at as t, it as n, o as r } from "../../../chunks/provider-DPmpYEOG.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as i } from "../../../chunks/page-list-DgIrmvy9.mjs";
3
+ import { t as i } from "../../../chunks/page-list-CFZBpug1.mjs";
4
4
  import a from "../../../plugins/autoImport/$msg/index.mjs";
5
- import { t as o } from "../../../chunks/DictTypeDetail-DAI3Qeuq.mjs";
5
+ import { t as o } from "../../../chunks/DictTypeDetail-BXJPr-Qc.mjs";
6
6
  import { createBlock as s, defineComponent as c, h as l, mergeProps as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
7
7
  // ../../packages/dlzn-ui/views/system/dict/index.vue
8
8
  var _ = /* @__PURE__ */ c({
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/DictTypeDetail-DAI3Qeuq.mjs";
1
+ export { t as default } from "../../../../chunks/DictTypeDetail-BXJPr-Qc.mjs";
@@ -4,7 +4,7 @@ import "../../../components/icon/index.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
5
  import { isFalsy as o } from "../../../utils/boolean.mjs";
6
6
  import { flatArrToTree as s } from "../../../utils/tree.mjs";
7
- import { t as c } from "../../../chunks/page-list-DgIrmvy9.mjs";
7
+ import { t as c } from "../../../chunks/page-list-CFZBpug1.mjs";
8
8
  import l from "../../../plugins/autoImport/$msg/index.mjs";
9
9
  import { useMenuTree as u } from "./utils.mjs";
10
10
  import { createBlock as d, defineComponent as f, h as p, mergeProps as m, openBlock as h, reactive as g, ref as _, unref as v, useTemplateRef as y, watch as b } from "vue";
@@ -1,6 +1,6 @@
1
1
  import { P as e, it as t, o as n } from "../../../chunks/provider-DPmpYEOG.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-DgIrmvy9.mjs";
3
+ import { t as r } from "../../../chunks/page-list-CFZBpug1.mjs";
4
4
  import i from "../../../plugins/autoImport/$msg/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  // ../../packages/dlzn-ui/views/system/notice/index.vue
@@ -1,6 +1,6 @@
1
1
  import { P as e, it as t, o as n } from "../../../chunks/provider-DPmpYEOG.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-DgIrmvy9.mjs";
3
+ import { t as r } from "../../../chunks/page-list-CFZBpug1.mjs";
4
4
  import i from "../../../plugins/autoImport/$msg/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  // ../../packages/dlzn-ui/views/system/post/index.vue
@@ -1,8 +1,8 @@
1
1
  import { P as e, at as t, it as n, o as r } from "../../../chunks/provider-DPmpYEOG.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as i } from "../../../chunks/page-list-DgIrmvy9.mjs";
3
+ import { t as i } from "../../../chunks/page-list-CFZBpug1.mjs";
4
4
  import a from "../../../plugins/autoImport/$msg/index.mjs";
5
- import { t as o } from "../../../chunks/AssignUser-De2FGeUU.mjs";
5
+ import { t as o } from "../../../chunks/AssignUser-BpoTGS0T.mjs";
6
6
  import { t as s } from "../../../chunks/SelectDept-DzpBnpMC.mjs";
7
7
  import { t as c } from "../../../chunks/SelectMenu-BBd5_E70.mjs";
8
8
  import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/AssignUser-De2FGeUU.mjs";
1
+ export { t as default } from "../../../../chunks/AssignUser-BpoTGS0T.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectUser-DvvB_Pta.mjs";
1
+ export { t as default } from "../../../../chunks/SelectUser-ByfU36sH.mjs";
@@ -2,9 +2,9 @@ import { K as e, P as t, it as n, o as r } from "../../../chunks/provider-DPmpYE
2
2
  import "../../../components/page-list/index.mjs";
3
3
  import "../../../components/table/index.mjs";
4
4
  import { passwordReg as i, passwordRegMessage as a } from "../../../constants/regs.mjs";
5
- import { t as o } from "../../../chunks/table-Ivruq4hf.mjs";
5
+ import { t as o } from "../../../chunks/table-CWHxbmQA.mjs";
6
6
  import s from "../../../plugins/autoImport/$msg/index.mjs";
7
- import { t as c } from "../../../chunks/page-list-DgIrmvy9.mjs";
7
+ import { t as c } from "../../../chunks/page-list-CFZBpug1.mjs";
8
8
  import { n as l } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
9
9
  import { deptTreeList as u, deptTreeListSend as d } from "../dept/utils.mjs";
10
10
  import { createBlock as f, defineComponent as p, h as m, mergeProps as h, onActivated as g, openBlock as _, reactive as v, ref as y, unref as b, useTemplateRef as x, watch as S } from "vue";
@@ -2,7 +2,7 @@ import { P as e, n as t, nt as n } from "../../../../chunks/provider-DPmpYEOG.mj
2
2
  import r from "../../../../hooks/useMountedPromise/index.mjs";
3
3
  import i from "../../../../store/modules/excludeKPname.mjs";
4
4
  import { t as a } from "../../../../chunks/BasicInfo-CHODPqii.mjs";
5
- import { t as o } from "../../../../chunks/ColumnInfo-CKre6UZX.mjs";
5
+ import { t as o } from "../../../../chunks/ColumnInfo-DMmdE9nc.mjs";
6
6
  import { t as s } from "../../../../chunks/GenInfo-UfuOyAh1.mjs";
7
7
  import { createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, unref as h, withCtx as g } from "vue";
8
8
  import { useRoute as _ } from "vue-router";
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/ColumnInfo-CKre6UZX.mjs";
1
+ export { t as default } from "../../../../../chunks/ColumnInfo-DMmdE9nc.mjs";
@@ -1,8 +1,8 @@
1
1
  import "../../../components/page-list/index.mjs";
2
2
  import { P as e, at as t, it as n } from "../../../chunks/provider-DPmpYEOG.mjs";
3
- import { t as r } from "../../../chunks/page-list-DgIrmvy9.mjs";
3
+ import { t as r } from "../../../chunks/page-list-CFZBpug1.mjs";
4
4
  import { n as i } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
5
- import { t as a } from "../../../chunks/Import-8A15QZyD.mjs";
5
+ import { t as a } from "../../../chunks/Import-f_dFaGF8.mjs";
6
6
  import { t as o } from "../../../chunks/Preview-DxeOyWrb.mjs";
7
7
  import { computed as s, createBlock as c, defineComponent as l, h as u, mergeProps as d, openBlock as f, reactive as p, ref as m, unref as h, useTemplateRef as g } from "vue";
8
8
  import { useRouter as _ } from "vue-router";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Import-8A15QZyD.mjs";
1
+ export { t as default } from "../../../../chunks/Import-f_dFaGF8.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/job-Bk7qI7Oa.mjs";
1
+ export { t as default } from "../../../chunks/job-BKj2YxaV.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Log-B2L8TVXx.mjs";
1
+ export { t as default } from "../../../../chunks/Log-DWreGhwJ.mjs";
@@ -1 +0,0 @@
1
- [data-v-277adbcb] table{border-collapse:separate}[data-v-277adbcb] table td,[data-v-277adbcb] table th{height:45px}[data-v-277adbcb] table th,[data-v-277adbcb] table thead td{color:inherit;font-weight:600;background-color:var(--td-brand-color-1)!important}[data-v-277adbcb] table tfoot tr{background-color:var(--td-gray-color-2)!important}[data-v-277adbcb] .t-table__content::-webkit-scrollbar{width:10px;height:10px}[data-v-277adbcb] .t-table__content::-webkit-scrollbar-thumb{cursor:pointer}[data-v-277adbcb] .t-table__scroll-bar-divider{top:-1px;right:10px!important}[data-v-277adbcb] .t-table__affixed-header-elm-wrap{width:calc(100% - 10px)!important}[data-v-277adbcb] .t-table__affixed-header-elm-wrap>.t-table__affixed-header-elm{width:calc(100% - 1px)!important}.t-table[data-v-277adbcb]{--td-font-body-medium:13px / var(--td-line-height-body-medium) var(--td-font-family);--td-comp-paddingTB-m:0;--td-comp-paddingLR-l:12px}.t-table.t-table__content--scrollable-to-left[data-v-277adbcb] .t-table__cell--fixed-left-last{box-shadow:8px 0 10px -5px #0000001f}.t-table.t-table__content--scrollable-to-left[data-v-277adbcb] .t-table__cell--fixed-left-last:after{border-right-width:1px}.t-table.t-table__content--scrollable-to-right[data-v-277adbcb] .t-table__cell--fixed-right-first{box-shadow:-8px 0 10px -5px #0000001f}.t-table.t-table__content--scrollable-to-right[data-v-277adbcb] .t-table__cell--fixed-right-first:after{border-left-width:1px}.t-table[data-v-277adbcb] .t-table__empty{inset:calc(var(--ecf62d0e) * 1px + 12px) 12px 12px;pointer-events:none;position:absolute;width:auto!important}.t-table[data-v-277adbcb] .t-table__content:has(.t-table__empty){position:static}.t-table[data-v-277adbcb] td:has(.t-table__empty){position:static}.t-table[data-v-277adbcb] .t-table__sort-column{background-color:var(--td-brand-color-1)}.t-table[data-v-277adbcb] .t-table__filter-icon-wrap{width:auto;height:auto}.t-table[data-v-277adbcb] .t-table__cell--sort-trigger{flex-direction:row;display:flex}.t-table[data-v-277adbcb] .t-table__cell--sort-trigger .iconify{color:var(--td-font-gray-4)}.t-table[data-v-277adbcb] .t-table__cell--sort-trigger .t-table__sort-icon--active .iconify{color:var(--td-brand-color)}.t-table[data-v-277adbcb] .t-table__cell--sort-trigger .t-table-sort-asc{top:0}.t-table[data-v-277adbcb] .t-table__cell--sort-trigger .t-table-sort-desc{bottom:0}.t-table[data-v-277adbcb] .t-table__tree-op-icon:empty{display:none}.table_parent[data-v-277adbcb]{min-height:calc(var(--ecf62d0e) * 1px + var(--v68528587) * 1px + 46px)}.table_parent[data-v-277adbcb]:has(.t-table--width-overflow){min-height:calc(var(--ecf62d0e) * 1px + var(--v68528587) * 1px + 56px)}.table_parent[data-v-277adbcb]:has(.t-table__empty){min-height:calc(var(--ecf62d0e) * 1px + 144px)}.table_parent[data-v-277adbcb]:has(.t-table__empty) .t-table__footer{display:none}:is(.table_parent[data-v-277adbcb]:has(.t-table__empty) .t-table,.table_parent[data-v-277adbcb]:has(.t-table__empty) .t-table__content){min-height:inherit}.t-table--bordered[data-v-277adbcb]:after{z-index:32;content:"";border-bottom:1px solid var(--td-component-border);display:block;position:absolute;bottom:1px;left:2px;right:2px}.t-table--bordered[data-v-277adbcb]>.t-table__content{border-bottom-color:#0000}.t-table--bordered[data-v-277adbcb]>.t-table__content>table>tfoot>tr:last-child>td,.t-table--bordered[data-v-277adbcb]>.t-table__content>table>tbody>tr:last-child:not(.t-table__empty-row)>td{border-bottom:1px solid var(--td-component-border)}.t-table--bordered[data-v-277adbcb]>.t-table__content>table>tfoot>tr:first-child>td{border-top:none}.t-table--bordered[data-v-277adbcb]>.t-table__content>table>tfoot:before{z-index:1;content:"";border-bottom:1px solid var(--td-component-border);width:100%;position:absolute;top:-1px;left:0}.t-table--striped[data-v-277adbcb]>.t-table__content>table>tbody>tr:nth-of-type(odd):not(.t-table__expanded-row){background-color:var(--td-bg-color-container)!important}.t-table--striped[data-v-277adbcb]>.t-table__content>table>tbody>tr:nth-of-type(2n):not(.t-table__expanded-row){background-color:var(--td-bg-color-secondarycontainer)!important}.t-table--striped.t-table--hoverable[data-v-277adbcb]>.t-table__content>table>tbody tr:not(.t-table__empty-row):hover{background-color:var(--td-bg-color-secondarycontainer-hover)!important}.table_operations_wrapper[data-v-277adbcb]{display:none}.table_operations_wrapper[data-v-277adbcb]:has(>:not(:empty)){display:flex}.transform_tfoot[data-v-277adbcb] tfoot{transform:translateY(calc(var(--ed507266) * 1px))}.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input){border-color:var(--td-border-level-2-color)!important}:is(.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input)):not(.t-is-disabled):hover{border-color:var(--td-brand-color)!important}:is(.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input)).t-is-focused,:is(.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input)).t-input--focused{border-color:var(--td-brand-color)!important;box-shadow:0 0 0 1px var(--td-brand-color) inset!important}.t-table .el-date-editor .el-input__wrapper{--el-input-border-color:var(--td-border-level-2-color)!important;--el-input-hover-border-color:var(--td-brand-color)!important;--el-input-focus-border-color:var(--td-brand-color)!important}.t-table .t-empty .t-icon{font-size:inherit}:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-error,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-success,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-warning{border-color:var(--td-error-color)!important}:is(:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-error,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-success,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-warning).t-is-focused,:is(:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-error,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-success,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-warning).t-input--focused{box-shadow:0 0 0 1px var(--td-error-color) inset!important}:is(.t-is-error .t-table .el-date-editor.t-is-error,.t-is-error .t-table .el-date-editor.t-is-success,.t-is-error .t-table .el-date-editor.t-is-warning) .el-input__wrapper{--el-input-border-color:var(--td-error-color)!important;--el-input-hover-border-color:var(--td-error-color)!important;--el-input-focus-border-color:var(--td-error-color)!important}
@@ -1,20 +0,0 @@
1
- import "./provider-DPmpYEOG.mjs";
2
- import { formatNumber as e } from "../utils/number.mjs";
3
- import { computed as t, defineComponent as n, toDisplayString as r, useAttrs as i } from "vue";
4
- import { get as a } from "lodash-es";
5
- // ../../packages/dlzn-ui/plugins/tableRenders/cell/FormatNumber/Index.vue
6
- var o = /* @__PURE__ */ n({
7
- inheritAttrs: !1,
8
- __name: "Index",
9
- props: { config: {} },
10
- setup(n) {
11
- let o = n, s = i(), c = s.col;
12
- c.align === void 0 && (c.align = "right");
13
- let l = t(() => {
14
- let t = a(s.row, s.col.colKey);
15
- return e(t, o.config);
16
- });
17
- return (e, t) => r(l.value);
18
- }
19
- });
20
- export { o as t };