matrix_components 2.0.412 → 2.0.413
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.
|
@@ -58437,6 +58437,10 @@ function getBaseUrl() {
|
|
|
58437
58437
|
var _a3, _b;
|
|
58438
58438
|
return ((_b = (_a3 = app == null ? void 0 : app.config) == null ? void 0 : _a3.globalProperties) == null ? void 0 : _b.$BaseUrl) || localStorage.getItem("BaseUrl") || localStorage.getItem("bseUrl") || sessionStorage.getItem("BaseUrl") || sessionStorage.getItem("bseUrl") || globalThis.BaseUrl || globalThis.bseUrl || "";
|
|
58439
58439
|
}
|
|
58440
|
+
function ImageBaseUrl() {
|
|
58441
|
+
var _a3, _b;
|
|
58442
|
+
return ((_b = (_a3 = app == null ? void 0 : app.config) == null ? void 0 : _a3.globalProperties) == null ? void 0 : _b.$ImageBaseUrl) || localStorage.getItem("ImageBaseUrl") || localStorage.getItem("imageBaseUrl") || sessionStorage.getItem("ImageBaseUrl") || sessionStorage.getItem("imageBaseUrl") || globalThis.ImageBaseUrl || globalThis.imageBaseUrl || "";
|
|
58443
|
+
}
|
|
58440
58444
|
const get = async (url, params, base = "", customConfig = {}, errorCallback = null) => {
|
|
58441
58445
|
const baseUrl = base || getBaseUrl();
|
|
58442
58446
|
if (baseUrl.endsWith("/") || url.startsWith("/")) {
|
|
@@ -58595,7 +58599,7 @@ function getTokenInfo() {
|
|
|
58595
58599
|
const instance = getCurrentInstance();
|
|
58596
58600
|
function getImageBaseUrl() {
|
|
58597
58601
|
var _a3, _b, _c2, _d;
|
|
58598
|
-
return ((_d = (_c2 = (_b = (_a3 = instance == null ? void 0 : instance.appContext) == null ? void 0 : _a3.app) == null ? void 0 : _b.config) == null ? void 0 : _c2.globalProperties) == null ? void 0 : _d.$ImageBaseUrl) ||
|
|
58602
|
+
return ((_d = (_c2 = (_b = (_a3 = instance == null ? void 0 : instance.appContext) == null ? void 0 : _a3.app) == null ? void 0 : _b.config) == null ? void 0 : _c2.globalProperties) == null ? void 0 : _d.$ImageBaseUrl) || ImageBaseUrl();
|
|
58599
58603
|
}
|
|
58600
58604
|
const getFieldPathByKey = (rows, key, formPropKey = "rows") => {
|
|
58601
58605
|
for (let rowIndex = 0; rowIndex < rows.length; rowIndex++) {
|
|
@@ -77858,7 +77862,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77858
77862
|
ref$1(false);
|
|
77859
77863
|
function getImageBaseUrl2() {
|
|
77860
77864
|
var _a3, _b, _c2, _d;
|
|
77861
|
-
return ((_d = (_c2 = (_b = (_a3 = instance2 == null ? void 0 : instance2.appContext) == null ? void 0 : _a3.app) == null ? void 0 : _b.config) == null ? void 0 : _c2.globalProperties) == null ? void 0 : _d.$ImageBaseUrl) ||
|
|
77865
|
+
return ((_d = (_c2 = (_b = (_a3 = instance2 == null ? void 0 : instance2.appContext) == null ? void 0 : _a3.app) == null ? void 0 : _b.config) == null ? void 0 : _c2.globalProperties) == null ? void 0 : _d.$ImageBaseUrl) || ImageBaseUrl();
|
|
77862
77866
|
}
|
|
77863
77867
|
const _url = ref$1("");
|
|
77864
77868
|
watch(
|
|
@@ -77946,7 +77950,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77946
77950
|
};
|
|
77947
77951
|
}
|
|
77948
77952
|
});
|
|
77949
|
-
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
77953
|
+
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-af5258bc"]]);
|
|
77950
77954
|
NsImage.install = (app2) => {
|
|
77951
77955
|
app2.component(NsImage.name, NsImage);
|
|
77952
77956
|
};
|