@10yun/cv-pc-ui 0.4.12 → 0.4.13
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/cv-ui.cjs +1 -1
- package/lib/cv-ui.js +6 -2
- package/package.json +1 -1
package/lib/cv-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! cvPcUI v0.4.
|
|
1
|
+
/*! cvPcUI v0.4.13 */
|
|
2
2
|
import { ClickOutside as e, ElAutocomplete as t, ElAvatar as n, ElBadge as r, ElButton as i, ElButton as a, ElCascader as o, ElCheckbox as s, ElCheckboxButton as c, ElCheckboxGroup as l, ElDatePicker as u, ElDialog as d, ElDrawer as f, ElForm as p, ElFormItem as m, ElIcon as ee, ElImage as te, ElInput as ne, ElInput as h, ElInputNumber as re, ElMessage as ie, ElMessage as g, ElMessageBox as ae, ElMessageBox as oe, ElOption as se, ElPagination as ce, ElPopover as le, ElScrollbar as ue, ElSelect as de, ElSwitch as fe, ElTable as pe, ElTableColumn as _, ElTag as me, ElTimePicker as he } from "element-plus";
|
|
3
3
|
import { Fragment as v, Transition as ge, TransitionGroup as _e, computed as ve, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as ye, createTextVNode as C, createVNode as w, defineComponent as be, getCurrentInstance as xe, getCurrentScope as Se, guardReactiveProps as T, h as Ce, inject as we, markRaw as Te, mergeProps as E, nextTick as Ee, normalizeClass as D, normalizeProps as O, normalizeStyle as k, onBeforeUnmount as De, onMounted as Oe, onScopeDispose as ke, onUnmounted as Ae, openBlock as A, provide as je, reactive as Me, ref as j, render as Ne, renderList as M, renderSlot as N, resolveComponent as P, resolveDirective as Pe, resolveDynamicComponent as Fe, shallowReadonly as Ie, shallowRef as Le, toDisplayString as F, toHandlers as Re, toRaw as ze, toRefs as Be, toValue as Ve, unref as I, useCssVars as He, useSlots as Ue, vModelText as We, vShow as L, watch as Ge, withCtx as R, withDirectives as z, withKeys as Ke, withModifiers as qe } from "vue";
|
|
4
4
|
import { basicSetup as Je } from "codemirror";
|
|
@@ -7176,6 +7176,10 @@ var ic = /*#__PURE__*/ H(tc, [["render", rc]]), ac = {
|
|
|
7176
7176
|
imgHeight: {
|
|
7177
7177
|
type: [String, Number],
|
|
7178
7178
|
default: null
|
|
7179
|
+
},
|
|
7180
|
+
urlKey: {
|
|
7181
|
+
type: String,
|
|
7182
|
+
default: ""
|
|
7179
7183
|
}
|
|
7180
7184
|
},
|
|
7181
7185
|
data() {
|
|
@@ -7192,7 +7196,7 @@ var ic = /*#__PURE__*/ H(tc, [["render", rc]]), ac = {
|
|
|
7192
7196
|
methods: {
|
|
7193
7197
|
pickUrlList(e) {
|
|
7194
7198
|
let t = e ? e[this.prop] : null;
|
|
7195
|
-
return t ? (Array.isArray(t) ? t : [t]).map((e) => typeof e == "string" ? e : e && typeof e == "object" && e.url || "").filter(Boolean) : [];
|
|
7199
|
+
return t ? (Array.isArray(t) ? t : [t]).map((e) => typeof e == "string" ? e : e && typeof e == "object" && (e[this.urlKey] || e.url || e.full_url) || "").filter(Boolean) : [];
|
|
7196
7200
|
},
|
|
7197
7201
|
handleImgOne(e) {
|
|
7198
7202
|
return this.pickUrlList(e)[0];
|