iking-web-ui-pro 0.2.19 → 0.2.21
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/IKExpandCollapse/ik.index.es.js +66 -69
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +100 -103
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKVerticalStepBar/ik.index.es.js +117 -120
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IKVerticalStepBar/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +98 -101
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +106 -109
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +239 -242
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/style.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +73 -76
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +103 -106
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +87 -90
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IkDetailPreviewFiles/style.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +138 -141
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/style.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +312 -315
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkMonacoEditor/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +1051 -1054
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +87 -90
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +2948 -2951
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSchedule/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +91 -94
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkSideText/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +66 -69
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkSvgIcon/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +98 -101
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +248 -237
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/Provider/ik.index.es.js +10 -14
- package/dist/Provider/ik.index.umd.js +1 -1
- package/dist/index.es.js +14465 -14458
- package/dist/index.umd.js +88 -88
- package/dist/src/components/IkUploadImage/index.d.ts +38 -0
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +18 -0
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +0 -9
- package/dist/src/components/Provider/index.d.ts +0 -19
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(p,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],e):(p=typeof globalThis<"u"?globalThis:p||self,e(p.index={},p.vue,p["iking-utils-pro"]))})(this,function(p,e,z){"use strict";const g=(s,d)=>{if(s.install=t=>{for(const a of[s,...Object.values(d??{})])t.component(a.name,a)},d)for(const[t,a]of Object.entries(d))s[t]=a;return s},v=(s,d)=>{const t=s.__vccOpts||s;for(const[a,i]of d)t[a]=i;return t},x={key:0,class:"ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"},S={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},E=["xlink:href"],$=["src"],I={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},N=["xlink:href"],V=["src"],j=e.defineComponent({name:"IkSvgIcon",__name:"index",props:{active:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},color:{},colorLight:{},disabled:{type:Boolean,default:!1},error:{type:Boolean},flip:{},name:{},notip:{type:Boolean,default:!1},opacity:{default:.5},padding:{default:"6px"},primary:{type:Boolean},rotate:{},showBg:{type:Boolean,default:!1},size:{default:""},success:{type:Boolean},tableIconType:{},title:{},type:{},warning:{type:Boolean},width:{}},setup(s){const d=s,t=e.computed(()=>d),a=e.computed(()=>{const{name:n}=t.value;return/^http?:\/\//.test(n)?"img":/i-[^:]+:[^:]+/.test(n)?"unocss":n!=null&&n.startsWith("iksig")?"iksig":n!=null&&n.includes(":")?"iconify":n!=null&&n.startsWith("iksvg")?"svg":"i"}),i=e.computed(()=>{const n=[];if(t.value.flip)switch(t.value.flip){case"horizontal":n.push("rotateY(180deg)");break;case"vertical":n.push("rotateX(180deg)");break;case"both":n.push("rotateX(180deg)"),n.push("rotateY(180deg)");break}t.value.rotate&&n.push(`rotate(${t.value.rotate%360}deg)`);const u={...t.value.color&&{color:t.value.color},...t.value.size&&{fontSize:typeof t.value.size=="number"?`${t.value.size}px`:t.value.size},...n.length&&{transform:n.join(" ")},padding:t.value.showBg||t.value.bg?t.value.padding:0,...t.value.color&&a.value!=="iksig"?{"--ik-color-icon-dark":t.value.color,"--ik-color-icon-light":t.value.colorLight||z.ikColor.setOpacity(t.value.color,t.value.opacity)}:{}};return t.value.width&&(u.width=u.height=typeof t.value.width=="number"?`${t.value.width}px`:t.value.width),u});return(n,u)=>{const k=e.resolveComponent("el-tooltip"),y=e.resolveComponent("el-button");return t.value.tableIconType==="icon"||!t.value.tableIconType?(e.openBlock(),e.createElementBlock("span",x,[t.value.notip||!t.value.title?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[n.name]:a.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:t.value.primary||t.value.type==="primary",success:n.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active,disabled:t.value.disabled}]),style:e.normalizeStyle(i.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),a.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(i.value)},null,6)):a.value==="svg"?(e.openBlock(),e.createElementBlock("svg",S,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,E)])):a.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,$)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(i.value)},null,6))],6)):(e.openBlock(),e.createBlock(k,{key:1,content:t.value.title,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[n.name]:a.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:n.primary||t.value.type==="primary",success:n.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active}]),style:e.normalizeStyle(i.value)},[a.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(i.value)},null,6)):a.value==="svg"?(e.openBlock(),e.createElementBlock("svg",I,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,N)])):a.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,V)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(i.value)},null,6))],6)]),_:1},8,["content"]))])):(e.openBlock(),e.createBlock(y,{key:1,type:["warning","error"].includes(t.value.type)?"danger":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value.title),1)]),_:1},8,["type"]))}}}),M="",B=g(v(j,[["__scopeId","data-v-a7ec508a"]])),T={class:"content"},F={class:"top"},O=["onClick"],q=["id"],D=["onClick"],K=e.defineComponent({__name:"IKVerticalStepBar",props:{active:{type:String,default:""},list:{type:Array,default:()=>[]},needClick:{type:Boolean,default:!1},propsField:{type:Object,default:()=>({name:"name",children:"children"})}},emits:["click","update:active"],setup(s,{emit:d}){const t=s,a=d,i=e.computed(()=>Number(t.active.indexOf("-")>0?t.active.split("-")[0]:t.active)),n=e.computed(()=>t.active.indexOf("-")>0?Number(t.active.split("-")[1]):0),u=c=>{let o="",l=c+1;return l<i.value?o="before-bg":l===i.value?o="active-bg":l>i.value&&(o="after-bg"),`${o} index`},k=c=>{let o="",l=c+1;return l<i.value?o="before-text":l===i.value?o="active-text":l>i.value&&(o="after-text"),`${o} text`},y=c=>{let o="",l=c+1;return l<i.value?o="before-style":l<t.list.length&&(o="after-style"),`${o} bottom`},L=(c,o)=>{let l="",r=c+1,m=o+1;return r<i.value?l="before-text":r===i.value?m<n.value?l="before-text":m===n.value?l="active-text":m>n.value&&(l="after-text"):r>i.value&&(l="after-text"),`${l} child-text`},b=(c,o)=>{t.needClick&&(c[t.propsField.children]||(a("update:active",o+""),a("click",c)))},C=(c,o)=>{c.show=!c.show;let l=document.getElementById(`children${o}`);c.show?l.style.display="none":l.style.display="block"};return(c,o)=>(e.openBlock(),e.createElementBlock("div",T,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,(l,r)=>{var m,w;return e.openBlock(),e.createElementBlock("div",{class:"line-block",key:r},[e.createElementVNode("div",F,[e.createElementVNode("div",{class:e.normalizeClass(u(r))},e.toDisplayString(r+1),3),e.createElementVNode("div",{class:e.normalizeClass(k(r)),style:e.normalizeStyle(s.needClick?"cursor: pointer;":""),onClick:f=>b(l,r+1)},[e.createTextVNode(e.toDisplayString(l[s.propsField.name])+" ",1),e.createCommentVNode(` <i\r
|
|
2
2
|
v-if="item[propsField.children]?.length && !item.show"\r
|
|
3
3
|
class="ikapprove icon-a-putongjiantouzhankai"\r
|
|
4
4
|
@click="changeShow(item, index)"\r
|
|
5
|
-
></i> `),(
|
|
5
|
+
></i> `),(m=l[s.propsField.children])!=null&&m.length&&!l.show?(e.openBlock(),e.createBlock(e.unref(B),{key:0,class:"ikapprove",onClick:f=>C(l,r),name:"iksvg_zhankai"},null,8,["onClick"])):e.createCommentVNode("v-if",!0),e.createCommentVNode(` <i\r
|
|
6
6
|
v-if="item[propsField.children]?.length && item.show"\r
|
|
7
7
|
@click="changeShow(item, index)"\r
|
|
8
8
|
class="ikapprove icon-a-putongjiantoushouqi"\r
|
|
9
|
-
></i> `),(
|
|
9
|
+
></i> `),(w=l[s.propsField.children])!=null&&w.length&&l.show?(e.openBlock(),e.createBlock(e.unref(B),{key:1,class:"ikapprove",onClick:f=>C(l,r),name:"iksvg_shouqi"},null,8,["onClick"])):e.createCommentVNode("v-if",!0)],14,O)]),e.createElementVNode("ul",{class:e.normalizeClass(y(r))},[e.createElementVNode("div",{id:`children${r}`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l[s.propsField.children],(f,h)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(L(r,h)),style:e.normalizeStyle(s.needClick?"cursor: pointer;":""),key:h,onClick:A=>b(f,r+1+"-"+(h+1))},e.toDisplayString(f.name),15,D))),128))],8,q)],2)])}),128))]))}}),X="",_=g(v(K,[["__scopeId","data-v-240cff4f"]]));p.IKVerticalStepBar=_,p.default=_,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-
|
|
1
|
+
.row-title[data-v-a7ec508a]{display:flex}.ik-svg-icon.ik-icon-span[data-v-a7ec508a]:not(:first-child){margin-left:var(--ik-margin-s-12)}[data-v-240cff4f]{margin:0;padding:0}.content[data-v-240cff4f]{width:100%;height:100%;border-top-left-radius:20px;border-bottom-left-radius:20px;padding:32px 28px}.content .line-block .top[data-v-240cff4f]{display:flex}.content .line-block .top .index[data-v-240cff4f]{width:32px;height:32px;display:flex;justify-content:center;align-items:center;border-radius:4px;font-size:18px;font-weight:550}.content .line-block .top .text[data-v-240cff4f]{line-height:32px;margin-left:20px;font-size:18px;font-weight:700}.content .line-block .active-text[data-v-240cff4f]{color:var(--ik-step-item-active-color, "#039ef7")}.content .line-block .before-text[data-v-240cff4f]{color:var(--ik-color-font-title)}.content .line-block .after-text[data-v-240cff4f]{color:var(--el-color-info, "#181c3266")}.content .line-block .before-bg[data-v-240cff4f]{color:var(--ik-step-item-active-color, #333)!important;background-color:var(--ik-step-item-num-greater-bg)}.content .line-block .active-bg[data-v-240cff4f]{background-color:var(--ik-step-item-active-color, #039ef7);color:var(--el-color-white, #fff)}.content .line-block .after-bg[data-v-240cff4f]{background-color:var(--ik-step-item-num-bg, #f3f6f9);color:var(--ik-step-item-text-color, #a2a6b8)}.content .line-block .bottom[data-v-240cff4f]{margin-left:16px;border-width:0 0 0 1px;padding:10px 0 20px 52px;margin-top:4px;margin-bottom:4px}.content .line-block .before-style[data-v-240cff4f]{border-color:var(--ik-step-item-active-color, #029ef7);border-style:solid}.content .line-block .after-style[data-v-240cff4f]{border-color:var(--el-color-info, #ccc);border-style:dashed}.content .line-block li[data-v-240cff4f]{line-height:30px}.content .line-block .child-text[data-v-240cff4f]{padding:5px 0}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ue, computed as ee, openBlock as T, createElementBlock as E, createElementVNode as S, inject as
|
|
1
|
+
import { defineComponent as ue, computed as ee, openBlock as T, createElementBlock as E, createElementVNode as S, inject as Qe, ref as qe, resolveComponent as Ee, Fragment as le, renderList as Re, normalizeStyle as re, toDisplayString as $, normalizeClass as Q, createVNode as J, unref as j, withModifiers as hi, renderSlot as Fe, createBlock as ke, withCtx as pe, createCommentVNode as A, mergeModels as ct, useModel as Yt, reactive as Wi, watch as Xt, nextTick as ft, createTextVNode as Me, h as Tn, mergeProps as $i, createSlots as En, Teleport as Sn, Transition as xn, onMounted as In, pushScopeId as Pn, popScopeId as An } from "vue";
|
|
2
2
|
import { paramType as Ln, ikFile as Dn, buildUUID as Gi, ikColor as On, ikDate as Rn } from "iking-utils-pro";
|
|
3
3
|
import { useNamespace as Fn } from "element-plus";
|
|
4
4
|
const Ie = (a, o) => {
|
|
@@ -755,7 +755,7 @@ const nt = (a, o) => {
|
|
|
755
755
|
}
|
|
756
756
|
return `ikapprove ${t}`;
|
|
757
757
|
}, qt = (a) => {
|
|
758
|
-
const o =
|
|
758
|
+
const o = Qe("loadUrl"), r = ee(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = Qe("uploadUrl"), e = ee(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Qe("token"), n = ee(() => a.token || (i == null ? void 0 : i.value)), s = Qe("onlyofficeConfig"), l = ee(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = Qe("userInfo"), c = ee(() => a.userInfo || (u == null ? void 0 : u.value));
|
|
759
759
|
return {
|
|
760
760
|
cLoadUrl: r,
|
|
761
761
|
cUploadUrl: e,
|
|
@@ -771,7 +771,7 @@ const nt = (a, o) => {
|
|
|
771
771
|
const r = ["B", "KB", "MB", "GB", "TB"], t = Math.floor(Math.log(a) / Math.log(1024));
|
|
772
772
|
let e = a / Math.pow(1024, t);
|
|
773
773
|
return (e % 1 === 0 ? e.toFixed(o || 0) : e.toFixed(o)) + " " + r[t];
|
|
774
|
-
},
|
|
774
|
+
}, Je = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", Gr = ["onClick"], Kr = { class: "fileName simple" }, Yr = ["onClick"], Xr = { class: "text" }, qr = { class: "fileName" }, Jr = { class: "size" }, Zr = /* @__PURE__ */ ue({
|
|
775
775
|
__name: "IkPreviewFile",
|
|
776
776
|
props: {
|
|
777
777
|
list: {
|
|
@@ -852,19 +852,19 @@ const nt = (a, o) => {
|
|
|
852
852
|
suffix: "suffix",
|
|
853
853
|
size: "size",
|
|
854
854
|
...o.field
|
|
855
|
-
})), i =
|
|
855
|
+
})), i = qe({}), n = qe(!1), s = (f) => {
|
|
856
856
|
var g, p;
|
|
857
857
|
i.value = {
|
|
858
858
|
...f,
|
|
859
859
|
name: f.name,
|
|
860
|
-
url:
|
|
860
|
+
url: Je(
|
|
861
861
|
r.value,
|
|
862
862
|
f.url || ((p = (g = f == null ? void 0 : f.response) == null ? void 0 : g.data) == null ? void 0 : p.id) || (f == null ? void 0 : f.id)
|
|
863
863
|
)
|
|
864
864
|
}, n.value = !0;
|
|
865
865
|
}, l = (f) => {
|
|
866
866
|
Dn.downloadFile(
|
|
867
|
-
|
|
867
|
+
Je(
|
|
868
868
|
r.value,
|
|
869
869
|
f[e.value.url] || f.attachmentId || f.id
|
|
870
870
|
),
|
|
@@ -1075,7 +1075,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
|
|
|
1075
1075
|
suffix: "suffix",
|
|
1076
1076
|
size: "fileSize",
|
|
1077
1077
|
...o.field
|
|
1078
|
-
})), e =
|
|
1078
|
+
})), e = qe(null), i = qe(null), n = Wi({
|
|
1079
1079
|
image: !1,
|
|
1080
1080
|
office: !1,
|
|
1081
1081
|
video: !1
|
|
@@ -1086,7 +1086,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
|
|
|
1086
1086
|
if (i.value = {
|
|
1087
1087
|
...u,
|
|
1088
1088
|
name: u[t.value.name],
|
|
1089
|
-
url:
|
|
1089
|
+
url: Je(o.loadUrl, b)
|
|
1090
1090
|
}, u && zt(u, t.value) === "image") {
|
|
1091
1091
|
n.image = !0;
|
|
1092
1092
|
return;
|
|
@@ -1108,7 +1108,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
|
|
|
1108
1108
|
document: {
|
|
1109
1109
|
key: Gi(),
|
|
1110
1110
|
title: B,
|
|
1111
|
-
url:
|
|
1111
|
+
url: Je(o.loadUrl, b),
|
|
1112
1112
|
fileType: C,
|
|
1113
1113
|
...((y = o.onlyOfficeConfig) == null ? void 0 : y.document) || {}
|
|
1114
1114
|
},
|
|
@@ -1221,87 +1221,84 @@ const ts = Ie(es), is = {
|
|
|
1221
1221
|
width: {}
|
|
1222
1222
|
},
|
|
1223
1223
|
setup(a) {
|
|
1224
|
-
const o = a, r =
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
})
|
|
1228
|
-
const
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
const n = [];
|
|
1232
|
-
if (t.value.flip)
|
|
1233
|
-
switch (t.value.flip) {
|
|
1224
|
+
const o = a, r = ee(() => o), t = ee(() => {
|
|
1225
|
+
const { name: i } = r.value;
|
|
1226
|
+
return /^http?:\/\//.test(i) ? "img" : /i-[^:]+:[^:]+/.test(i) ? "unocss" : i != null && i.startsWith("iksig") ? "iksig" : i != null && i.includes(":") ? "iconify" : i != null && i.startsWith("iksvg") ? "svg" : "i";
|
|
1227
|
+
}), e = ee(() => {
|
|
1228
|
+
const i = [];
|
|
1229
|
+
if (r.value.flip)
|
|
1230
|
+
switch (r.value.flip) {
|
|
1234
1231
|
case "horizontal":
|
|
1235
|
-
|
|
1232
|
+
i.push("rotateY(180deg)");
|
|
1236
1233
|
break;
|
|
1237
1234
|
case "vertical":
|
|
1238
|
-
|
|
1235
|
+
i.push("rotateX(180deg)");
|
|
1239
1236
|
break;
|
|
1240
1237
|
case "both":
|
|
1241
|
-
|
|
1238
|
+
i.push("rotateX(180deg)"), i.push("rotateY(180deg)");
|
|
1242
1239
|
break;
|
|
1243
1240
|
}
|
|
1244
|
-
|
|
1245
|
-
const
|
|
1246
|
-
...
|
|
1247
|
-
...
|
|
1248
|
-
...
|
|
1249
|
-
padding:
|
|
1250
|
-
...
|
|
1251
|
-
"--ik-color-icon-dark":
|
|
1252
|
-
"--ik-color-icon-light":
|
|
1241
|
+
r.value.rotate && i.push(`rotate(${r.value.rotate % 360}deg)`);
|
|
1242
|
+
const n = {
|
|
1243
|
+
...r.value.color && { color: r.value.color },
|
|
1244
|
+
...r.value.size && { fontSize: typeof r.value.size == "number" ? `${r.value.size}px` : r.value.size },
|
|
1245
|
+
...i.length && { transform: i.join(" ") },
|
|
1246
|
+
padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
|
|
1247
|
+
...r.value.color && t.value !== "iksig" ? {
|
|
1248
|
+
"--ik-color-icon-dark": r.value.color,
|
|
1249
|
+
"--ik-color-icon-light": r.value.colorLight || On.setOpacity(r.value.color, r.value.opacity)
|
|
1253
1250
|
} : {}
|
|
1254
1251
|
};
|
|
1255
|
-
return
|
|
1252
|
+
return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
|
|
1256
1253
|
});
|
|
1257
|
-
return (
|
|
1258
|
-
const
|
|
1259
|
-
return
|
|
1260
|
-
|
|
1254
|
+
return (i, n) => {
|
|
1255
|
+
const s = Ee("el-tooltip"), l = Ee("el-button");
|
|
1256
|
+
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (T(), E("span", is, [
|
|
1257
|
+
r.value.notip || !r.value.title ? (T(), E(
|
|
1261
1258
|
"i",
|
|
1262
1259
|
{
|
|
1263
1260
|
key: 0,
|
|
1264
1261
|
class: Q(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1265
|
-
[
|
|
1266
|
-
"show-bg":
|
|
1267
|
-
default:
|
|
1268
|
-
small:
|
|
1269
|
-
big:
|
|
1270
|
-
warning:
|
|
1271
|
-
primary:
|
|
1272
|
-
success:
|
|
1273
|
-
error:
|
|
1274
|
-
active:
|
|
1275
|
-
disabled:
|
|
1262
|
+
[i.name]: t.value === "unocss",
|
|
1263
|
+
"show-bg": r.value.showBg || r.value.bg,
|
|
1264
|
+
default: r.value.size === "default",
|
|
1265
|
+
small: r.value.size === "small",
|
|
1266
|
+
big: r.value.size === "big",
|
|
1267
|
+
warning: r.value.warning || r.value.type === "warning",
|
|
1268
|
+
primary: r.value.primary || r.value.type === "primary",
|
|
1269
|
+
success: i.success || r.value.type === "success",
|
|
1270
|
+
error: r.value.error || r.value.type === "error",
|
|
1271
|
+
active: r.value.active,
|
|
1272
|
+
disabled: r.value.disabled
|
|
1276
1273
|
}]),
|
|
1277
|
-
style: re(
|
|
1274
|
+
style: re(e.value)
|
|
1278
1275
|
},
|
|
1279
1276
|
[
|
|
1280
1277
|
A(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1281
|
-
|
|
1278
|
+
t.value === "iksig" ? (T(), E(
|
|
1282
1279
|
"i",
|
|
1283
1280
|
{
|
|
1284
1281
|
key: 0,
|
|
1285
|
-
class: Q(`iksig ${
|
|
1286
|
-
style: re(
|
|
1282
|
+
class: Q(`iksig ${r.value.name}`),
|
|
1283
|
+
style: re(e.value)
|
|
1287
1284
|
},
|
|
1288
1285
|
null,
|
|
1289
1286
|
6
|
|
1290
1287
|
/* CLASS, STYLE */
|
|
1291
|
-
)) :
|
|
1288
|
+
)) : t.value === "svg" ? (T(), E("svg", ns, [
|
|
1292
1289
|
S("use", {
|
|
1293
|
-
"xlink:href": `#${
|
|
1290
|
+
"xlink:href": `#${r.value.name}`
|
|
1294
1291
|
}, null, 8, rs)
|
|
1295
|
-
])) :
|
|
1292
|
+
])) : t.value === "img" ? (T(), E("img", {
|
|
1296
1293
|
key: 2,
|
|
1297
|
-
src:
|
|
1294
|
+
src: r.value.name,
|
|
1298
1295
|
class: "h-[1em] w-[1em]"
|
|
1299
1296
|
}, null, 8, ss)) : (T(), E(
|
|
1300
1297
|
"i",
|
|
1301
1298
|
{
|
|
1302
1299
|
key: 3,
|
|
1303
|
-
class: Q(
|
|
1304
|
-
style: re(
|
|
1300
|
+
class: Q(r.value.name),
|
|
1301
|
+
style: re(e.value)
|
|
1305
1302
|
},
|
|
1306
1303
|
null,
|
|
1307
1304
|
6
|
|
@@ -1310,9 +1307,9 @@ const ts = Ie(es), is = {
|
|
|
1310
1307
|
],
|
|
1311
1308
|
6
|
|
1312
1309
|
/* CLASS, STYLE */
|
|
1313
|
-
)) : (T(), ke(
|
|
1310
|
+
)) : (T(), ke(s, {
|
|
1314
1311
|
key: 1,
|
|
1315
|
-
content:
|
|
1312
|
+
content: r.value.title,
|
|
1316
1313
|
placement: "top"
|
|
1317
1314
|
}, {
|
|
1318
1315
|
default: pe(() => [
|
|
@@ -1320,44 +1317,44 @@ const ts = Ie(es), is = {
|
|
|
1320
1317
|
"i",
|
|
1321
1318
|
{
|
|
1322
1319
|
class: Q(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1323
|
-
[
|
|
1324
|
-
"show-bg":
|
|
1325
|
-
default:
|
|
1326
|
-
small:
|
|
1327
|
-
big:
|
|
1328
|
-
warning:
|
|
1329
|
-
primary:
|
|
1330
|
-
success:
|
|
1331
|
-
error:
|
|
1332
|
-
active:
|
|
1320
|
+
[i.name]: t.value === "unocss",
|
|
1321
|
+
"show-bg": r.value.showBg || r.value.bg,
|
|
1322
|
+
default: r.value.size === "default",
|
|
1323
|
+
small: r.value.size === "small",
|
|
1324
|
+
big: r.value.size === "big",
|
|
1325
|
+
warning: r.value.warning || r.value.type === "warning",
|
|
1326
|
+
primary: i.primary || r.value.type === "primary",
|
|
1327
|
+
success: i.success || r.value.type === "success",
|
|
1328
|
+
error: r.value.error || r.value.type === "error",
|
|
1329
|
+
active: r.value.active
|
|
1333
1330
|
}]),
|
|
1334
|
-
style: re(
|
|
1331
|
+
style: re(e.value)
|
|
1335
1332
|
},
|
|
1336
1333
|
[
|
|
1337
|
-
|
|
1334
|
+
t.value === "iksig" ? (T(), E(
|
|
1338
1335
|
"i",
|
|
1339
1336
|
{
|
|
1340
1337
|
key: 0,
|
|
1341
|
-
class: Q(`iksig ${
|
|
1342
|
-
style: re(
|
|
1338
|
+
class: Q(`iksig ${r.value.name}`),
|
|
1339
|
+
style: re(e.value)
|
|
1343
1340
|
},
|
|
1344
1341
|
null,
|
|
1345
1342
|
6
|
|
1346
1343
|
/* CLASS, STYLE */
|
|
1347
|
-
)) :
|
|
1344
|
+
)) : t.value === "svg" ? (T(), E("svg", os, [
|
|
1348
1345
|
S("use", {
|
|
1349
|
-
"xlink:href": `#${
|
|
1346
|
+
"xlink:href": `#${r.value.name}`
|
|
1350
1347
|
}, null, 8, as)
|
|
1351
|
-
])) :
|
|
1348
|
+
])) : t.value === "img" ? (T(), E("img", {
|
|
1352
1349
|
key: 2,
|
|
1353
|
-
src:
|
|
1350
|
+
src: r.value.name,
|
|
1354
1351
|
class: "h-[1em] w-[1em]"
|
|
1355
1352
|
}, null, 8, ls)) : (T(), E(
|
|
1356
1353
|
"i",
|
|
1357
1354
|
{
|
|
1358
1355
|
key: 3,
|
|
1359
|
-
class: Q(
|
|
1360
|
-
style: re(
|
|
1356
|
+
class: Q(r.value.name),
|
|
1357
|
+
style: re(e.value)
|
|
1361
1358
|
},
|
|
1362
1359
|
null,
|
|
1363
1360
|
6
|
|
@@ -1371,13 +1368,13 @@ const ts = Ie(es), is = {
|
|
|
1371
1368
|
_: 1
|
|
1372
1369
|
/* STABLE */
|
|
1373
1370
|
}, 8, ["content"]))
|
|
1374
|
-
])) : (T(), ke(
|
|
1371
|
+
])) : (T(), ke(l, {
|
|
1375
1372
|
key: 1,
|
|
1376
|
-
type: ["warning", "error"].includes(
|
|
1373
|
+
type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
|
|
1377
1374
|
}, {
|
|
1378
1375
|
default: pe(() => [
|
|
1379
1376
|
Me(
|
|
1380
|
-
$(
|
|
1377
|
+
$(r.value.title),
|
|
1381
1378
|
1
|
|
1382
1379
|
/* TEXT */
|
|
1383
1380
|
)
|
|
@@ -1388,7 +1385,7 @@ const ts = Ie(es), is = {
|
|
|
1388
1385
|
};
|
|
1389
1386
|
}
|
|
1390
1387
|
});
|
|
1391
|
-
const cs = /* @__PURE__ */ nt(us, [["__scopeId", "data-v-
|
|
1388
|
+
const cs = /* @__PURE__ */ nt(us, [["__scopeId", "data-v-a7ec508a"]]), Ne = Ie(cs), fs = {
|
|
1392
1389
|
key: 0,
|
|
1393
1390
|
class: "exit-main-page-maximize"
|
|
1394
1391
|
}, hs = /* @__PURE__ */ ue({
|
|
@@ -1443,7 +1440,7 @@ const ds = /* @__PURE__ */ nt(hs, [["__scopeId", "data-v-79f49df8"]]), gs = { cl
|
|
|
1443
1440
|
}),
|
|
1444
1441
|
emits: ["update:modelValue"],
|
|
1445
1442
|
setup(a) {
|
|
1446
|
-
const o = a, r = Yt(a, "modelValue"), t =
|
|
1443
|
+
const o = a, r = Yt(a, "modelValue"), t = qe(o.fullscreen), e = () => {
|
|
1447
1444
|
t.value = !t.value;
|
|
1448
1445
|
}, i = ue({
|
|
1449
1446
|
setup() {
|
|
@@ -1836,7 +1833,7 @@ const ws = /* @__PURE__ */ ue({
|
|
|
1836
1833
|
}
|
|
1837
1834
|
},
|
|
1838
1835
|
setup(a) {
|
|
1839
|
-
const o = a, r =
|
|
1836
|
+
const o = a, r = qe({
|
|
1840
1837
|
width: "100%",
|
|
1841
1838
|
height: "100%",
|
|
1842
1839
|
...o.configOptions || {},
|
|
@@ -2869,7 +2866,7 @@ var mi = {
|
|
|
2869
2866
|
return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
|
|
2870
2867
|
}
|
|
2871
2868
|
}
|
|
2872
|
-
), ae = "play", ei = "playing", He = "ended",
|
|
2869
|
+
), ae = "play", ei = "playing", He = "ended", Ze = "pause", rt = "error", bt = "seeking", _e = "seeked", oe = "timeupdate", st = "waiting", ye = "canplay", Vs = "canplaythrough", Pe = "durationchange", Zi = "volumechange", Ce = "loadeddata", js = "loadedmetadata", Qi = "ratechange", en = "progress", ti = "loadstart", Ue = "emptied", Ws = "stalled", $s = "suspend", Gs = "abort", Ks = "bufferedChange", ii = "focus", tn = "blur", ni = "ready", nn = "urlNull", Be = "autoplay_started", ri = "autoplay_was_prevented", wt = "complete", dt = "replay", si = "destroy", Tt = "urlchange", $t = "download_speed_change", rn = "leaveplayer", sn = "enterplayer", on = "loading", ve = "fullscreen_change", gt = "cssFullscreen_change", pt = "mini_state_change", oi = "definition_change", Ys = "before_definition_change", Gt = "after_definition_change", Xs = "SEI_PARSED", qs = "retry", Se = "video_resize", Kt = "pip_change", an = "rotate", ln = "screenShot", vt = "playnext", un = "shortcut", cn = "xglog", mt = "user_action", Et = "reset", fn = "source_error", hn = "source_success", Js = "switch_subtitle", dn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], gn = {
|
|
2873
2870
|
STATS_INFO: "stats_info",
|
|
2874
2871
|
STATS_DOWNLOAD: "stats_download",
|
|
2875
2872
|
STATS_RESET: "stats_reset"
|
|
@@ -2902,7 +2899,7 @@ const Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2902
2899
|
LOADING: on,
|
|
2903
2900
|
LOAD_START: ti,
|
|
2904
2901
|
MINI_STATE_CHANGE: pt,
|
|
2905
|
-
PAUSE:
|
|
2902
|
+
PAUSE: Ze,
|
|
2906
2903
|
PIP_CHANGE: Kt,
|
|
2907
2904
|
PLAY: ae,
|
|
2908
2905
|
PLAYER_BLUR: tn,
|
|
@@ -4827,7 +4824,7 @@ function bo(a) {
|
|
|
4827
4824
|
return it(r.lang, se.lang), (o = r.langKeys).push.apply(o, fe(se.langKeys)), it(r.textKeys, se.textKeys), r;
|
|
4828
4825
|
}
|
|
4829
4826
|
ai(ko);
|
|
4830
|
-
var
|
|
4827
|
+
var Xe = {
|
|
4831
4828
|
get textKeys() {
|
|
4832
4829
|
return se.textKeys;
|
|
4833
4830
|
},
|
|
@@ -5026,7 +5023,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
5026
5023
|
}, e._offsetInfo = {
|
|
5027
5024
|
currentTime: -1,
|
|
5028
5025
|
duration: 0
|
|
5029
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n =
|
|
5026
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = Xe.init(e._pluginInfoId), N.os.isAndroid && N.osVersion > 0 && N.osVersion < 6 && (e.config.autoplay = !1), e.database = new to(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
5030
5027
|
isActiveLocked: !1
|
|
5031
5028
|
}, e.instManager = be;
|
|
5032
5029
|
var l = e._initDOM();
|
|
@@ -5147,7 +5144,7 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
5147
5144
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
5148
5145
|
this._loadingPlugins = [];
|
|
5149
5146
|
var n = this.config.ignores || [], s = this.config.plugins || [], l = this.config.i18n || [];
|
|
5150
|
-
i &&
|
|
5147
|
+
i && Xe.extend(l, this.__i18n);
|
|
5151
5148
|
var u = n.join("||").toLowerCase().split("||"), c = this.plugins;
|
|
5152
5149
|
s.forEach(function(f) {
|
|
5153
5150
|
try {
|
|
@@ -5933,11 +5930,11 @@ var To = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
5933
5930
|
return this.config.lang;
|
|
5934
5931
|
},
|
|
5935
5932
|
set: function(e) {
|
|
5936
|
-
var i =
|
|
5933
|
+
var i = Xe.langKeys.filter(function(n) {
|
|
5937
5934
|
return n === e;
|
|
5938
5935
|
});
|
|
5939
5936
|
if (i.length === 0 && e !== "zh") {
|
|
5940
|
-
console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(
|
|
5937
|
+
console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(Xe.langKeys.join(), "] "));
|
|
5941
5938
|
return;
|
|
5942
5939
|
}
|
|
5943
5940
|
this.config.lang = e, q.setLang(e, this);
|
|
@@ -6563,7 +6560,7 @@ var Ao = /* @__PURE__ */ function(a) {
|
|
|
6563
6560
|
e.setAttr("data-state", "play"), h.removeClass(e.root, s), e.show();
|
|
6564
6561
|
}), this.on(ae, function() {
|
|
6565
6562
|
e.onPlayPause("play");
|
|
6566
|
-
}), this.on(
|
|
6563
|
+
}), this.on(Ze, function() {
|
|
6567
6564
|
e.onPlayPause("pause");
|
|
6568
6565
|
}), this.on(Et, function() {
|
|
6569
6566
|
e.onPlayerReset();
|
|
@@ -7105,7 +7102,7 @@ var Ft = {
|
|
|
7105
7102
|
key: "afterCreate",
|
|
7106
7103
|
value: function() {
|
|
7107
7104
|
var e = this;
|
|
7108
|
-
this.initIcons(), this.on(
|
|
7105
|
+
this.initIcons(), this.on(Ze, function() {
|
|
7109
7106
|
e.setAttr("data-state", "pause");
|
|
7110
7107
|
}), this.on(ae, function() {
|
|
7111
7108
|
e.setAttr("data-state", "play");
|
|
@@ -8909,7 +8906,7 @@ var Wo = /* @__PURE__ */ function(a) {
|
|
|
8909
8906
|
var e = this;
|
|
8910
8907
|
F(O(r.prototype), "afterCreate", this).call(this);
|
|
8911
8908
|
var i = this.player, n = this.config;
|
|
8912
|
-
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([
|
|
8909
|
+
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([Ze, rt, Ue], function() {
|
|
8913
8910
|
e.animate(i.paused);
|
|
8914
8911
|
}), this.on(ae, function() {
|
|
8915
8912
|
e.animate(i.paused);
|
|
@@ -11837,7 +11834,7 @@ var lt = null, Da = /* @__PURE__ */ function(a) {
|
|
|
11837
11834
|
}), this.on(ae, function() {
|
|
11838
11835
|
var u = e.config.startInterval;
|
|
11839
11836
|
e._checkIfCanStart() && e.start(0, u);
|
|
11840
|
-
}), this.on(
|
|
11837
|
+
}), this.on(Ze, function() {
|
|
11841
11838
|
e.stop();
|
|
11842
11839
|
})), this.on(Ce, this.onLoadedData), this.on(ti, function() {
|
|
11843
11840
|
e._isLoaded = !1, e.stop();
|
|
@@ -12486,7 +12483,7 @@ var Fa = /* @__PURE__ */ function(a) {
|
|
|
12486
12483
|
var l = s.getVideoPlaybackQuality;
|
|
12487
12484
|
l && (this.on(ae, function() {
|
|
12488
12485
|
e._startTick();
|
|
12489
|
-
}), this.on(
|
|
12486
|
+
}), this.on(Ze, function() {
|
|
12490
12487
|
e._stopTick();
|
|
12491
12488
|
}), this.on(He, function() {
|
|
12492
12489
|
e._stopTick();
|
|
@@ -12582,7 +12579,7 @@ var Fa = /* @__PURE__ */ function(a) {
|
|
|
12582
12579
|
}
|
|
12583
12580
|
}]), r;
|
|
12584
12581
|
}(z);
|
|
12585
|
-
|
|
12582
|
+
Xe.use(Oa);
|
|
12586
12583
|
var Ba = /* @__PURE__ */ I(function a(o, r) {
|
|
12587
12584
|
var t, e, i;
|
|
12588
12585
|
x(this, a);
|
|
@@ -12615,7 +12612,7 @@ _(he, "Errors", ht);
|
|
|
12615
12612
|
_(he, "Events", Zs);
|
|
12616
12613
|
_(he, "Plugin", z);
|
|
12617
12614
|
_(he, "BasePlugin", xe);
|
|
12618
|
-
_(he, "I18N",
|
|
12615
|
+
_(he, "I18N", Xe);
|
|
12619
12616
|
_(he, "STATE_CLASS", w);
|
|
12620
12617
|
_(he, "InstManager", _n);
|
|
12621
12618
|
const Ha = ["id"], Ua = /* @__PURE__ */ ue({
|
|
@@ -12647,7 +12644,7 @@ const Ha = ["id"], Ua = /* @__PURE__ */ ue({
|
|
|
12647
12644
|
}, ["update:modelValue"]),
|
|
12648
12645
|
setup(a, { emit: o }) {
|
|
12649
12646
|
let r = null;
|
|
12650
|
-
const t = a, { cLoadUrl: e } = qt(t), i = ee(() =>
|
|
12647
|
+
const t = a, { cLoadUrl: e } = qt(t), i = ee(() => Je(e.value, t.url)), n = {
|
|
12651
12648
|
width: "100%",
|
|
12652
12649
|
height: "100%",
|
|
12653
12650
|
// 是否自动播放
|
|
@@ -12945,7 +12942,7 @@ const za = /* @__PURE__ */ nt(Ua, [["__scopeId", "data-v-b301aa7d"]]), Va = Ie(z
|
|
|
12945
12942
|
let g = document.getElementById(`${c[e.defaultFile.nodeId]}`), p = Array.from(g == null ? void 0 : g.getElementsByClassName("approveList"));
|
|
12946
12943
|
for (let d of p)
|
|
12947
12944
|
d.style.display = f;
|
|
12948
|
-
}, u = (c) =>
|
|
12945
|
+
}, u = (c) => Je(t.value, c);
|
|
12949
12946
|
return (c, f) => {
|
|
12950
12947
|
const g = Ee("el-image"), p = Ee("IkingApprovalProcessDetail");
|
|
12951
12948
|
return T(), E("div", ja, [
|