jwt-ui 1.10.8-21 → 1.10.8-25
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/lib/jwt-ui.es.js +29 -7
- package/lib/jwt-ui.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/jwt-ui.es.js
CHANGED
|
@@ -40989,7 +40989,7 @@ async function fileTypeFromBlob(blob) {
|
|
|
40989
40989
|
throw error;
|
|
40990
40990
|
}
|
|
40991
40991
|
}
|
|
40992
|
-
const
|
|
40992
|
+
const index_vue_vue_type_style_index_0_scoped_f56745d0_lang = "";
|
|
40993
40993
|
const paginationDefault$2 = {
|
|
40994
40994
|
"page-sizes": [10, 15, 20, 30, 40, 50, 100],
|
|
40995
40995
|
"page-size": 10,
|
|
@@ -41174,11 +41174,23 @@ const _sfc_main$8 = defineComponent({
|
|
|
41174
41174
|
}
|
|
41175
41175
|
};
|
|
41176
41176
|
console.log("fileAcceptType :>> ", fileAcceptType);
|
|
41177
|
-
|
|
41177
|
+
const result = appConfig.tabList.map((item, index2) => {
|
|
41178
41178
|
if (defaultTab[item]) {
|
|
41179
41179
|
return { ...defaultTab[item], name: index2 + 1 };
|
|
41180
41180
|
}
|
|
41181
41181
|
});
|
|
41182
|
+
if (result.length === 0) {
|
|
41183
|
+
return [
|
|
41184
|
+
{
|
|
41185
|
+
label: t2("\u56FE\u7247"),
|
|
41186
|
+
name: 1,
|
|
41187
|
+
type: "img",
|
|
41188
|
+
fileType: "image/",
|
|
41189
|
+
accept: "image/*"
|
|
41190
|
+
}
|
|
41191
|
+
];
|
|
41192
|
+
}
|
|
41193
|
+
return result;
|
|
41182
41194
|
});
|
|
41183
41195
|
const currentTab = computed(() => {
|
|
41184
41196
|
const result = tabList.value.filter(
|
|
@@ -41741,7 +41753,7 @@ const _sfc_main$8 = defineComponent({
|
|
|
41741
41753
|
};
|
|
41742
41754
|
}
|
|
41743
41755
|
});
|
|
41744
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
41756
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-f56745d0"), n2 = n2(), popScopeId(), n2);
|
|
41745
41757
|
const _hoisted_1$6 = { class: "jwt-material-wrapper fv h ex" };
|
|
41746
41758
|
const _hoisted_2$5 = { class: "fv h rel" };
|
|
41747
41759
|
const _hoisted_3$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "el-icon el-input__icon" }, [
|
|
@@ -42410,7 +42422,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42410
42422
|
}, 8, ["modelValue", "fullscreen", "title"])
|
|
42411
42423
|
]);
|
|
42412
42424
|
}
|
|
42413
|
-
const index$8 = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-
|
|
42425
|
+
const index$8 = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-f56745d0"]]);
|
|
42414
42426
|
const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42415
42427
|
__proto__: null,
|
|
42416
42428
|
default: index$8
|
|
@@ -44686,16 +44698,26 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44686
44698
|
"with-credentials": ""
|
|
44687
44699
|
}, {
|
|
44688
44700
|
default: withCtx(() => [
|
|
44689
|
-
|
|
44701
|
+
_ctx.attrs.useMaterial ? (openBlock(), createElementBlock("div", {
|
|
44702
|
+
key: 0,
|
|
44703
|
+
class: "wh fxmc",
|
|
44704
|
+
onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.handleAfterBtn && _ctx.handleAfterBtn(...args), ["stop"]))
|
|
44705
|
+
}, [
|
|
44706
|
+
createVNode(_component_jwt_icon, {
|
|
44707
|
+
icon: "add-line",
|
|
44708
|
+
size: 40
|
|
44709
|
+
})
|
|
44710
|
+
])) : (openBlock(), createBlock(_component_jwt_icon, {
|
|
44711
|
+
key: 1,
|
|
44690
44712
|
icon: "add-line",
|
|
44691
44713
|
size: 40
|
|
44692
|
-
})
|
|
44714
|
+
}))
|
|
44693
44715
|
]),
|
|
44694
44716
|
_: 1
|
|
44695
44717
|
}, 8, ["action", "before-upload", "class", "data", "disabled", "file-list", "headers", "list-type", "multiple", "on-error", "on-preview", "on-remove", "on-success"]),
|
|
44696
44718
|
createVNode(_component_el_dialog, {
|
|
44697
44719
|
modelValue: _ctx.dialogVisible,
|
|
44698
|
-
"onUpdate:modelValue": _cache[
|
|
44720
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.dialogVisible = $event),
|
|
44699
44721
|
"append-to-body": ""
|
|
44700
44722
|
}, {
|
|
44701
44723
|
default: withCtx(() => [
|