@otwb/ui 2.0.29 → 2.0.30
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.
|
@@ -7,6 +7,7 @@ import { NAvatar, NAvatarGroup, NButton, NCard, NCheckbox, NCheckboxGroup, NData
|
|
|
7
7
|
import { useRoute } from "vue-router";
|
|
8
8
|
import { VOverflow, VResizeObserver } from "vueuc";
|
|
9
9
|
import { Sortable } from "sortablejs/modular/sortable.core.esm.js";
|
|
10
|
+
import { request as request$1 } from "@otwb/common/request";
|
|
10
11
|
import { pickProps } from "@otwb/common/object";
|
|
11
12
|
import { PAGE_INJECTION, useFormModal } from "@otwb/page";
|
|
12
13
|
import { Sortable as Sortable$1 } from "sortablejs";
|
|
@@ -411,7 +412,7 @@ const DataCustom = /* @__PURE__ */ defineComponent({
|
|
|
411
412
|
if (x.showFixed) {
|
|
412
413
|
w.name + "";
|
|
413
414
|
let e = w.name + "__table";
|
|
414
|
-
$
|
|
415
|
+
request$1.post(`${request.baseUrl}${SERVER_CTX.SYS}/cli/module/custom-config/save`, {
|
|
415
416
|
__table: localStorage.getItem(e),
|
|
416
417
|
url: w.name
|
|
417
418
|
}, { requestType: "json" }).then((e) => {
|
|
@@ -752,7 +753,7 @@ const DataForm = /* @__PURE__ */ defineComponent({
|
|
|
752
753
|
setup(b, { expose: x, emit: S }) {
|
|
753
754
|
let C = useRoute(), w = () => {
|
|
754
755
|
let e = C.name + "__form";
|
|
755
|
-
C.name + "", $
|
|
756
|
+
C.name + "", request$1.post(`${request.baseUrl}${SERVER_CTX.SYS}/cli/module/custom-config/save`, {
|
|
756
757
|
__form: localStorage.getItem(e),
|
|
757
758
|
url: C.name
|
|
758
759
|
}, { requestType: "json" }).then((e) => {
|
|
@@ -940,7 +941,7 @@ const DataLocaleInput = /* @__PURE__ */ defineComponent({
|
|
|
940
941
|
currentPage: e
|
|
941
942
|
}), T = (e) => {
|
|
942
943
|
let S = C.name + "__page";
|
|
943
|
-
$
|
|
944
|
+
request$1.post(`${request.baseUrl}${SERVER_CTX.SYS}/cli/module/custom-config/save`, {
|
|
944
945
|
__page: e,
|
|
945
946
|
url: C.name
|
|
946
947
|
}, { requestType: "json" }).then((b) => {
|
package/dist/components.js
CHANGED
|
@@ -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-
|
|
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-BZDefQzf.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-
|
|
4
|
+
import { a as NRadios, g as NCheckboxes, n as DtUserDept, p as DataForm, r as DtUserRender, t as DtDeptRender } from "./components-BZDefQzf.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";
|