@ithinkdt/ui 4.0.0-802 → 4.0.0

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.
@@ -1188,7 +1188,8 @@ const DataLocaleInput = /* @__PURE__ */ defineComponent({
1188
1188
  type: Boolean,
1189
1189
  default: !0
1190
1190
  },
1191
- pageSizes: { type: Array }
1191
+ pageSizes: { type: Array },
1192
+ simple: Boolean
1192
1193
  },
1193
1194
  emits: { change: () => !0 },
1194
1195
  setup(t, { emit: n }) {
@@ -1203,7 +1204,10 @@ const DataLocaleInput = /* @__PURE__ */ defineComponent({
1203
1204
  20,
1204
1205
  30,
1205
1206
  50
1206
- ], !0);
1207
+ ], !0), s = {
1208
+ prefix: () => r("common.page.pagination.prefix", { total: t.total }),
1209
+ suffix: () => r("common.page.pagination.suffix")
1210
+ };
1207
1211
  return () => createVNode(NPagination, {
1208
1212
  page: t.currentPage ?? t.page?.currentPage,
1209
1213
  itemCount: t.total,
@@ -1213,11 +1217,9 @@ const DataLocaleInput = /* @__PURE__ */ defineComponent({
1213
1217
  pageSizes: t.pageSizes || o,
1214
1218
  showQuickJumper: !0,
1215
1219
  showSizePicker: !0,
1220
+ simple: t.simple,
1216
1221
  style: "justify-content: flex-end"
1217
- }, {
1218
- prefix: () => r("common.page.pagination.prefix", { total: t.total }),
1219
- suffix: () => r("common.page.pagination.suffix")
1220
- });
1222
+ }, t.simple ? void 0 : s);
1221
1223
  }
1222
1224
  });
1223
1225
  DataPagination.DEFAULT_PAGE_SIZES_INJECTION_KEY = Symbol();
@@ -1,2 +1,2 @@
1
- import { _ as dataFormActionsProps, a as DtUserRender, b as DataActions, c as DataTable, d as DataPagination, f as DataLocaleInput, g as DataFormActions, h as DataForm, i as DtUserDept, l as useDataTableDrag, m as DataFilter, n as StateButtonProps, o as renderUsers, p as useLocaleEdit, r as DtDeptRender, s as NRadios, t as NStateButton, u as DataSelection, v as DataDescriptions, x as NCheckboxes, y as DataCustom } from "./components-BXQ9l7S9.js";
1
+ import { _ as dataFormActionsProps, a as DtUserRender, b as DataActions, c as DataTable, d as DataPagination, f as DataLocaleInput, g as DataFormActions, h as DataForm, i as DtUserDept, l as useDataTableDrag, m as DataFilter, n as StateButtonProps, o as renderUsers, p as useLocaleEdit, r as DtDeptRender, s as NRadios, t as NStateButton, u as DataSelection, v as DataDescriptions, x as NCheckboxes, y as DataCustom } from "./components-BXPJvdEe.js";
2
2
  export { DataActions, DataCustom, DataDescriptions, DataFilter, DataForm, DataFormActions, DataLocaleInput, DataPagination, DataSelection, DataTable, DtDeptRender, DtUserDept, DtUserRender, NCheckboxes, NRadios, NStateButton, StateButtonProps, dataFormActionsProps, renderUsers, useDataTableDrag, useLocaleEdit };
package/dist/page.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as useI18n } from "./use-i18n-D-AJ8KbA.js";
2
- import { a as DtUserRender, h as DataForm, i as DtUserDept, r as DtDeptRender, s as NRadios, x as NCheckboxes } from "./components-BXQ9l7S9.js";
2
+ import { a as DtUserRender, h as DataForm, i as DtUserDept, r as DtDeptRender, s as NRadios, x as NCheckboxes } from "./components-BXPJvdEe.js";
3
3
  import { computed, createVNode, defineComponent, h, isVNode, mergeProps, nextTick, ref, shallowRef, toValue, unref } from "vue";
4
4
  import { until, useClipboard } from "@vueuse/core";
5
5
  import { NButton, NCheckbox, NColorPicker, NDatePicker, NDrawer, NDrawerContent, NFlex, NIcon, NInput, NInputNumber, NModal, NScrollbar, NSelect, NText, NUpload, useMessage } from "ithinkdt-ui";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ithinkdt/ui",
3
- "version": "4.0.0-802",
3
+ "version": "4.0.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "iThinkDT UI",
@@ -64,7 +64,7 @@
64
64
  "sortablejs": "^1.15.6",
65
65
  "@types/sortablejs": "^1.15.9",
66
66
  "nanoid": "^5.1.6",
67
- "@ithinkdt/common": "^4.0.0-800"
67
+ "@ithinkdt/common": "^4.0.0"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@ithinkdt/page": ">=4.0",
@@ -82,14 +82,14 @@
82
82
  }
83
83
  },
84
84
  "devDependencies": {
85
- "@vitejs/plugin-vue-jsx": "^5.1.3",
85
+ "@vitejs/plugin-vue-jsx": "^5.1.4",
86
86
  "ithinkdt-ui": "^1.8.3",
87
87
  "typescript": "~5.9.3",
88
88
  "unocss": ">=66.6.0",
89
89
  "vite": "^8.0.0-beta.11",
90
90
  "vue": "^3.5.27",
91
- "vue-router": "^5.0.1",
92
- "@ithinkdt/page": "^4.0.0-801"
91
+ "vue-router": "^5.0.2",
92
+ "@ithinkdt/page": "^4.0.0"
93
93
  },
94
94
  "scripts": {
95
95
  "dev": "vite build --watch",