knt-shared 1.6.3 → 1.6.5
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.
- package/dist/components/ReadonlyField/BasicReadonlyField.vue.d.ts.map +1 -1
- package/dist/components/Upload/types.d.ts +2 -0
- package/dist/components/Upload/types.d.ts.map +1 -1
- package/dist/index.cjs.js +5 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/style.css +25 -22
- package/dist/utils/url.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -4008,7 +4008,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
4008
4008
|
};
|
|
4009
4009
|
}
|
|
4010
4010
|
});
|
|
4011
|
-
const BasicReadonlyField = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
4011
|
+
const BasicReadonlyField = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-3d2d24e0"]]);
|
|
4012
4012
|
function useReadonlyField(options) {
|
|
4013
4013
|
const defaultEmptyText = (options == null ? void 0 : options.defaultEmptyText) || "-";
|
|
4014
4014
|
const globalLabelMap = (options == null ? void 0 : options.globalLabelMap) || {};
|
|
@@ -9078,13 +9078,15 @@ function transformBackUrl(transferUrl, config) {
|
|
|
9078
9078
|
if (isString(transferUrl)) {
|
|
9079
9079
|
resultObj = {
|
|
9080
9080
|
url: transferUrl,
|
|
9081
|
-
path: void 0
|
|
9081
|
+
path: void 0,
|
|
9082
|
+
status: "done"
|
|
9082
9083
|
};
|
|
9083
9084
|
} else if (isObject(transferUrl)) {
|
|
9084
9085
|
const fileObj = transferUrl;
|
|
9085
9086
|
resultObj = {
|
|
9086
9087
|
url: fileObj[mergedConfig.fullFilePath],
|
|
9087
|
-
path: fileObj[mergedConfig.filePath]
|
|
9088
|
+
path: fileObj[mergedConfig.filePath],
|
|
9089
|
+
status: "done"
|
|
9088
9090
|
};
|
|
9089
9091
|
} else {
|
|
9090
9092
|
return void 0;
|