@otwb/ui 2.0.33 → 2.0.34
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,7 +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
|
|
10
|
+
import { request } from "@otwb/common/request";
|
|
11
11
|
import { pickProps } from "@otwb/common/object";
|
|
12
12
|
import { PAGE_INJECTION, useFormModal } from "@otwb/page";
|
|
13
13
|
import { Sortable as Sortable$1 } from "sortablejs";
|
|
@@ -412,7 +412,7 @@ const DataCustom = /* @__PURE__ */ defineComponent({
|
|
|
412
412
|
if (x.showFixed) {
|
|
413
413
|
w.name + "";
|
|
414
414
|
let e = w.name + "__table";
|
|
415
|
-
request
|
|
415
|
+
request.post("/api/v1/otwb-cloud-uc/cli/module/custom-config/save", {
|
|
416
416
|
__table: localStorage.getItem(e),
|
|
417
417
|
url: w.name
|
|
418
418
|
}, { requestType: "json" }).then((e) => {
|
|
@@ -753,7 +753,7 @@ const DataForm = /* @__PURE__ */ defineComponent({
|
|
|
753
753
|
setup(b, { expose: x, emit: S }) {
|
|
754
754
|
let C = useRoute(), w = () => {
|
|
755
755
|
let e = C.name + "__form";
|
|
756
|
-
C.name + "", request
|
|
756
|
+
C.name + "", request.post("/api/v1/otwb-cloud-uc/cli/module/custom-config/save", {
|
|
757
757
|
__form: localStorage.getItem(e),
|
|
758
758
|
url: C.name
|
|
759
759
|
}, { requestType: "json" }).then((e) => {
|
|
@@ -941,7 +941,7 @@ const DataLocaleInput = /* @__PURE__ */ defineComponent({
|
|
|
941
941
|
currentPage: e
|
|
942
942
|
}), T = (e) => {
|
|
943
943
|
let S = C.name + "__page";
|
|
944
|
-
request
|
|
944
|
+
request.post("/api/v1/otwb-cloud-uc/cli/module/custom-config/save", {
|
|
945
945
|
__page: e,
|
|
946
946
|
url: C.name
|
|
947
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-DVm3Ttki.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-DVm3Ttki.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";
|