@otwb/ui 2.0.37 → 2.0.39

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.
@@ -961,8 +961,8 @@ const DataLocaleInput = /* @__PURE__ */ defineComponent({
961
961
  pageSize: e,
962
962
  currentPage: b.currentPage ?? b.page?.currentPage ?? 0
963
963
  });
964
- }, D = C.name + "__page";
965
- return localStorage.getItem(D) && (b.page.pageSize = localStorage.getItem(D)), () => createVNode(NPagination, {
964
+ };
965
+ return () => createVNode(NPagination, {
966
966
  page: b.currentPage ?? b.page?.currentPage,
967
967
  itemCount: b.total,
968
968
  pageSize: b.pageSize ?? b.page?.pageSize,
@@ -1183,7 +1183,7 @@ const DataTable = /* @__PURE__ */ defineComponent({
1183
1183
  });
1184
1184
  };
1185
1185
  return () => createVNode(NDataTable, {
1186
- class: O,
1186
+ class: [O, { "box-table": e.selectedKeys?.length }],
1187
1187
  data: e.data,
1188
1188
  columns: L.value,
1189
1189
  rowKey: M.value,
@@ -1,5 +1,5 @@
1
1
  import "./use-i18n-Dx7V4KrY.js";
2
2
  import "./directives-CRvPGywW.js";
3
3
  import "./use-style-DcT-1dj4.js";
4
- import { a as NRadios, c as DataSelection, d as useLocaleEdit, f as DataFilter, g as NCheckboxes, h as DataActions, i as renderUsers, l as DataPagination, m as DataCustom, n as DtUserDept, o as DataTable, p as DataForm, r as DtUserRender, s as useDataTableDrag, t as DtDeptRender, u as DataLocaleInput } from "./components-BM8_ejhG.js";
4
+ import { a as NRadios, c as DataSelection, d as useLocaleEdit, f as DataFilter, g as NCheckboxes, h as DataActions, i as renderUsers, l as DataPagination, m as DataCustom, n as DtUserDept, o as DataTable, p as DataForm, r as DtUserRender, s as useDataTableDrag, t as DtDeptRender, u as DataLocaleInput } from "./components-CjltPCgl.js";
5
5
  export { DataActions, DataCustom, DataFilter, DataForm, DataLocaleInput, DataPagination, DataSelection, DataTable, DtDeptRender, DtUserDept, DtUserRender, NCheckboxes, NRadios, renderUsers, useDataTableDrag, useLocaleEdit };
package/dist/page.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { n as useI18n } from "./use-i18n-Dx7V4KrY.js";
2
2
  import "./directives-CRvPGywW.js";
3
3
  import "./use-style-DcT-1dj4.js";
4
- import { a as NRadios, g as NCheckboxes, n as DtUserDept, p as DataForm, r as DtUserRender, t as DtDeptRender } from "./components-BM8_ejhG.js";
4
+ import { a as NRadios, g as NCheckboxes, n as DtUserDept, p as DataForm, r as DtUserRender, t as DtDeptRender } from "./components-CjltPCgl.js";
5
5
  import { computed, createVNode, defineComponent, h, isVNode, mergeProps, nextTick, ref, shallowRef, unref } from "vue";
6
6
  import { until } from "@vueuse/core";
7
7
  import { NButton, NCheckbox, NColorPicker, NDatePicker, NDrawer, NDrawerContent, NFlex, NInput, NInputNumber, NModal, NScrollbar, NSelect, NText, NUpload, useMessage } from "ithinkdt-ui";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otwb/ui",
3
- "version": "2.0.37",
3
+ "version": "2.0.39",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "otwb UI",
@@ -91,7 +91,7 @@
91
91
  "vite": "npm:rolldown-vite@^7.1.20",
92
92
  "vue": "^3.5.22",
93
93
  "vue-router": "^4.6.3",
94
- "@otwb/page": "^2.0.5"
94
+ "@otwb/page": "^2.0.6"
95
95
  },
96
96
  "scripts": {
97
97
  "dev": "vite build --watch",