iking-web-ui-pro 0.1.49 → 0.1.50

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.
@@ -1,24 +1,42 @@
1
- import { defineComponent as n, openBlock as s, createElementBlock as r } from "vue";
2
- const l = (t, e) => {
3
- if (t.install = (o) => {
4
- for (const c of [t, ...Object.values(e ?? {})])
5
- o.component(c.name, c);
6
- }, e)
7
- for (const [o, c] of Object.entries(e))
8
- t[o] = c;
1
+ import { defineComponent as c, ref as s, openBlock as l, createElementBlock as a, normalizeStyle as _, renderSlot as f } from "vue";
2
+ const u = (t, o) => {
3
+ if (t.install = (e) => {
4
+ for (const n of [t, ...Object.values(o ?? {})])
5
+ e.component(n.name, n);
6
+ }, o)
7
+ for (const [e, n] of Object.entries(o))
8
+ t[e] = n;
9
9
  return t;
10
- }, a = { class: "ik-auto-card" }, f = /* @__PURE__ */ n({
10
+ }, d = /* @__PURE__ */ c({
11
11
  __name: "IkAutoCard",
12
12
  props: {
13
- title: { default: "" },
14
- cancelText: { default: "取消" },
15
- confirmText: { default: "确认" }
13
+ line: { default: 2 }
16
14
  },
17
15
  setup(t) {
18
- return (e, o) => (s(), r("div", a));
16
+ const o = s(null);
17
+ return (e, n) => (l(), a(
18
+ "div",
19
+ {
20
+ class: "ik-auto-card",
21
+ ref_key: "ikAutoCard",
22
+ ref: o,
23
+ style: _({ "-webkit-line-clamp": e.line || 2 })
24
+ },
25
+ [
26
+ f(e.$slots, "default", {}, void 0, !0)
27
+ ],
28
+ 4
29
+ /* STYLE */
30
+ ));
19
31
  }
20
- }), u = l(f);
32
+ });
33
+ const p = (t, o) => {
34
+ const e = t.__vccOpts || t;
35
+ for (const [n, r] of o)
36
+ e[n] = r;
37
+ return e;
38
+ }, i = /* @__PURE__ */ p(d, [["__scopeId", "data-v-ce870ff2"]]), m = u(i);
21
39
  export {
22
- u as IkAutoCard,
23
- u as default
40
+ m as IkAutoCard,
41
+ m as default
24
42
  };
@@ -1 +1 @@
1
- (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.index={},e.vue))})(this,function(e,t){"use strict";const i=(o,n)=>{if(o.install=c=>{for(const s of[o,...Object.values(n??{})])c.component(s.name,s)},n)for(const[c,s]of Object.entries(n))o[c]=s;return o},f={class:"ik-auto-card"},u=i(t.defineComponent({__name:"IkAutoCard",props:{title:{default:""},cancelText:{default:"取消"},confirmText:{default:"确认"}},setup(o){return(n,c)=>(t.openBlock(),t.createElementBlock("div",f))}}));e.IkAutoCard=u,e.default=u,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(o,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(o=typeof globalThis<"u"?globalThis:o||self,e(o.index={},o.vue))})(this,function(o,e){"use strict";const d=(n,r)=>{if(n.install=t=>{for(const s of[n,...Object.values(r??{})])t.component(s.name,s)},r)for(const[t,s]of Object.entries(r))n[t]=s;return n},u=e.defineComponent({__name:"IkAutoCard",props:{line:{default:2}},setup(n){const r=e.ref(null);return(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"ik-auto-card",ref_key:"ikAutoCard",ref:r,style:e.normalizeStyle({"-webkit-line-clamp":t.line||2})},[e.renderSlot(t.$slots,"default",{},void 0,!0)],4))}}),i="",c=d(((n,r)=>{const t=n.__vccOpts||n;for(const[s,f]of r)t[s]=f;return t})(u,[["__scopeId","data-v-ce870ff2"]]));o.IkAutoCard=c,o.default=c,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -0,0 +1 @@
1
+ .ik-auto-card[data-v-ce870ff2]{width:100%;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden;display:-webkit-box}.ik-auto-card[data-v-ce870ff2]:hover{overflow:auto;-webkit-line-clamp:initial!important}
@@ -1,27 +1,27 @@
1
- import { defineComponent as v, computed as h, resolveComponent as k, openBlock as t, createElementBlock as a, normalizeClass as r, normalizeStyle as c, createCommentVNode as u, createElementVNode as d, createBlock as g, withCtx as m, unref as w, mergeModels as z, useModel as I, ref as B, mergeProps as $, createSlots as C, renderSlot as f, createTextVNode as S, toDisplayString as V } from "vue";
1
+ import { defineComponent as v, computed as h, resolveComponent as k, openBlock as t, createElementBlock as a, normalizeClass as r, normalizeStyle as c, createCommentVNode as u, createElementVNode as d, createBlock as p, withCtx as m, unref as w, mergeModels as B, useModel as I, ref as z, mergeProps as $, createSlots as C, renderSlot as f, createTextVNode as S, toDisplayString as V } from "vue";
2
2
  import { ikColor as j } from "iking-utils-pro";
3
- const y = (n, o) => {
4
- if (n.install = (l) => {
5
- for (const i of [n, ...Object.values(o ?? {})])
6
- l.component(i.name, i);
3
+ const y = (i, o) => {
4
+ if (i.install = (l) => {
5
+ for (const n of [i, ...Object.values(o ?? {})])
6
+ l.component(n.name, n);
7
7
  }, o)
8
- for (const [l, i] of Object.entries(o))
9
- n[l] = i;
10
- return n;
11
- }, T = (n, o) => {
12
- const l = n.__vccOpts || n;
13
- for (const [i, e] of o)
14
- l[i] = e;
8
+ for (const [l, n] of Object.entries(o))
9
+ i[l] = n;
10
+ return i;
11
+ }, F = (i, o) => {
12
+ const l = i.__vccOpts || i;
13
+ for (const [n, e] of o)
14
+ l[n] = e;
15
15
  return l;
16
- }, O = { class: "ik-svg-icon ik-icon inline-block inline-flex justify-center line-height-[0]" }, D = {
16
+ }, T = { class: "ik-svg-icon ik-icon inline-block inline-flex justify-center line-height-[0]" }, D = {
17
17
  key: 1,
18
18
  class: "h-[1em] w-[1em]",
19
19
  "aria-hidden": "true"
20
- }, M = ["xlink:href"], N = ["src"], q = {
20
+ }, O = ["xlink:href"], H = ["src"], M = {
21
21
  key: 1,
22
22
  class: "h-[1em] w-[1em]",
23
23
  "aria-hidden": "true"
24
- }, E = ["xlink:href"], F = ["src"], X = /* @__PURE__ */ v({
24
+ }, N = ["xlink:href"], q = ["src"], E = /* @__PURE__ */ v({
25
25
  name: "IkSvgIcon",
26
26
  __name: "index",
27
27
  props: {
@@ -42,11 +42,11 @@ const y = (n, o) => {
42
42
  active: { type: Boolean, default: !1 },
43
43
  disabled: { type: Boolean, default: !1 }
44
44
  },
45
- setup(n) {
46
- const o = n, l = h(() => {
45
+ setup(i) {
46
+ const o = i, l = h(() => {
47
47
  var e, s;
48
48
  return /^http?:\/\//.test(o.name) ? "img" : /i-[^:]+:[^:]+/.test(o.name) ? "unocss" : (e = o.name) != null && e.startsWith("iksig") ? "iksig" : (s = o.name) != null && s.includes(":") ? "iconify" : "svg";
49
- }), i = h(() => {
49
+ }), n = h(() => {
50
50
  const e = [];
51
51
  if (o.flip)
52
52
  switch (o.flip) {
@@ -81,8 +81,8 @@ const y = (n, o) => {
81
81
  };
82
82
  });
83
83
  return (e, s) => {
84
- const p = k("el-tooltip");
85
- return t(), a("span", O, [
84
+ const g = k("el-tooltip");
85
+ return t(), a("span", T, [
86
86
  e.notip || !e.title ? (t(), a(
87
87
  "i",
88
88
  {
@@ -98,7 +98,7 @@ const y = (n, o) => {
98
98
  active: e.active,
99
99
  disabled: e.disabled
100
100
  }]),
101
- style: c(i.value)
101
+ style: c(n.value)
102
102
  },
103
103
  [
104
104
  u(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
@@ -107,7 +107,7 @@ const y = (n, o) => {
107
107
  {
108
108
  key: 0,
109
109
  class: r(`iksig ${e.name}`),
110
- style: c(i.value)
110
+ style: c(n.value)
111
111
  },
112
112
  null,
113
113
  6
@@ -115,16 +115,16 @@ const y = (n, o) => {
115
115
  )) : l.value === "svg" ? (t(), a("svg", D, [
116
116
  d("use", {
117
117
  "xlink:href": `#${e.name}`
118
- }, null, 8, M)
118
+ }, null, 8, O)
119
119
  ])) : l.value === "img" ? (t(), a("img", {
120
120
  key: 2,
121
121
  src: e.name,
122
122
  class: "h-[1em] w-[1em]"
123
- }, null, 8, N)) : u("v-if", !0)
123
+ }, null, 8, H)) : u("v-if", !0)
124
124
  ],
125
125
  6
126
126
  /* CLASS, STYLE */
127
- )) : (t(), g(p, {
127
+ )) : (t(), p(g, {
128
128
  key: 1,
129
129
  content: e.title,
130
130
  placement: "top"
@@ -143,7 +143,7 @@ const y = (n, o) => {
143
143
  warning: e.warning,
144
144
  active: e.active
145
145
  }]),
146
- style: c(i.value)
146
+ style: c(n.value)
147
147
  },
148
148
  [
149
149
  l.value === "iksig" ? (t(), a(
@@ -151,20 +151,20 @@ const y = (n, o) => {
151
151
  {
152
152
  key: 0,
153
153
  class: r(`iksig ${e.name}`),
154
- style: c(i.value)
154
+ style: c(n.value)
155
155
  },
156
156
  null,
157
157
  6
158
158
  /* CLASS, STYLE */
159
- )) : l.value === "svg" ? (t(), a("svg", q, [
159
+ )) : l.value === "svg" ? (t(), a("svg", M, [
160
160
  d("use", {
161
161
  "xlink:href": `#${e.name}`
162
- }, null, 8, E)
162
+ }, null, 8, N)
163
163
  ])) : l.value === "img" ? (t(), a("img", {
164
164
  key: 2,
165
165
  src: e.name,
166
166
  class: "h-[1em] w-[1em]"
167
- }, null, 8, F)) : u("v-if", !0)
167
+ }, null, 8, q)) : u("v-if", !0)
168
168
  ],
169
169
  6
170
170
  /* CLASS, STYLE */
@@ -176,10 +176,10 @@ const y = (n, o) => {
176
176
  ]);
177
177
  };
178
178
  }
179
- }), Y = y(X), P = /* @__PURE__ */ v({
179
+ }), X = y(E), Y = /* @__PURE__ */ v({
180
180
  __name: "CloseIcon",
181
- setup(n) {
182
- return (o, l) => (t(), g(w(Y), {
181
+ setup(i) {
182
+ return (o, l) => (t(), p(w(X), {
183
183
  name: "iksvg_guanbidanchuang",
184
184
  warning: "",
185
185
  title: "关闭",
@@ -187,36 +187,40 @@ const y = (n, o) => {
187
187
  }));
188
188
  }
189
189
  });
190
- const U = /* @__PURE__ */ T(P, [["__scopeId", "data-v-89432d58"]]), W = /* @__PURE__ */ v({
190
+ const P = /* @__PURE__ */ F(Y, [["__scopeId", "data-v-89432d58"]]), U = { class: "base-header" }, W = /* @__PURE__ */ v({
191
191
  __name: "IkBaseDialog",
192
- props: /* @__PURE__ */ z({
192
+ props: /* @__PURE__ */ B({
193
193
  title: { default: "" },
194
194
  cancelText: { default: "取消" },
195
- confirmText: { default: "确认" }
195
+ confirmText: { default: "确认" },
196
+ noHeader: { type: Boolean },
197
+ noFooter: { type: Boolean }
196
198
  }, {
197
199
  modelValue: {
198
200
  type: Boolean,
199
- default: !1
201
+ default: !1,
202
+ noHeader: !1,
203
+ noFooter: !1
200
204
  },
201
205
  modelModifiers: {}
202
206
  }),
203
207
  emits: ["update:modelValue"],
204
- setup(n) {
205
- const o = I(n, "modelValue"), l = B(!1), i = () => {
208
+ setup(i) {
209
+ const o = I(i, "modelValue"), l = z(!1), n = () => {
206
210
  l.value = !l.value;
207
211
  };
208
212
  return (e, s) => {
209
- const p = k("IkSvgIcon"), b = k("el-dialog");
210
- return t(), g(b, $({
213
+ const g = k("IkSvgIcon"), _ = k("el-dialog");
214
+ return t(), p(_, $({
211
215
  modelValue: o.value,
212
- "onUpdate:modelValue": s[0] || (s[0] = (_) => o.value = _)
216
+ "onUpdate:modelValue": s[0] || (s[0] = (b) => o.value = b)
213
217
  }, e.$attrs, {
214
- "close-icon": U,
215
- class: "ik-base-dialog",
218
+ "close-icon": P,
219
+ class: `ik-base-dialog ${e.noHeader ? "no-header" : ""} ${e.noFooter ? "no-footer" : ""}`,
216
220
  fullscreen: l.value
217
221
  }), C({
218
222
  header: m(() => [
219
- d("div", null, [
223
+ d("div", U, [
220
224
  f(e.$slots, "header", {}, () => [
221
225
  S(
222
226
  V(e.title),
@@ -225,9 +229,9 @@ const U = /* @__PURE__ */ T(P, [["__scopeId", "data-v-89432d58"]]), W = /* @__PU
225
229
  )
226
230
  ])
227
231
  ]),
228
- e.$attrs.showClose ? (t(), g(p, {
232
+ e.$attrs.showClose ? (t(), p(g, {
229
233
  key: 0,
230
- onClick: i,
234
+ onClick: n,
231
235
  name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
232
236
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
233
237
  title: l.value ? "退出全屏" : "全屏"
@@ -246,11 +250,12 @@ const U = /* @__PURE__ */ T(P, [["__scopeId", "data-v-89432d58"]]), W = /* @__PU
246
250
  ]),
247
251
  key: "0"
248
252
  } : void 0
249
- ]), 1040, ["modelValue", "fullscreen"]);
253
+ ]), 1040, ["modelValue", "class", "fullscreen"]);
250
254
  };
251
255
  }
252
- }), H = y(W);
256
+ });
257
+ const J = y(W);
253
258
  export {
254
- H as IkBaseDialog,
255
- H as default
259
+ J as IkBaseDialog,
260
+ J as default
256
261
  };
@@ -1 +1 @@
1
- (function(a,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):(a=typeof globalThis<"u"?globalThis:a||self,e(a.index={},a.vue,a["iking-utils-pro"]))})(this,function(a,e,d){"use strict";const c=(i,l)=>{if(i.install=n=>{for(const t of[i,...Object.values(l??{})])n.component(t.name,t)},l)for(const[n,t]of Object.entries(l))i[n]=t;return i},p=(i,l)=>{const n=i.__vccOpts||i;for(const[t,o]of l)n[t]=o;return n},f={class:"ik-svg-icon ik-icon inline-block inline-flex justify-center line-height-[0]"},k={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},g=["xlink:href"],u=["src"],h={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},y=["xlink:href"],B=["src"],_=c(e.defineComponent({name:"IkSvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},opacity:{default:.5},size:{default:""},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"0"},primary:{type:Boolean},warning:{type:Boolean},notip:{type:Boolean,default:!1},title:{},type:{},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(i){const l=i,n=e.computed(()=>{var o,s;return/^http?:\/\//.test(l.name)?"img":/i-[^:]+:[^:]+/.test(l.name)?"unocss":(o=l.name)!=null&&o.startsWith("iksig")?"iksig":(s=l.name)!=null&&s.includes(":")?"iconify":"svg"}),t=e.computed(()=>{const o=[];if(l.flip)switch(l.flip){case"horizontal":o.push("rotateY(180deg)");break;case"vertical":o.push("rotateX(180deg)");break;case"both":o.push("rotateX(180deg)"),o.push("rotateY(180deg)");break}return l.rotate&&o.push(`rotate(${l.rotate%360}deg)`),{...l.color&&{color:l.color},...l.size&&{fontSize:typeof l.size=="number"?`${l.size}px`:l.size},...o.length&&{transform:o.join(" ")},padding:l.padding,...l.color&&n.value!=="iksig"?{"--ik-color-icon-dark":l.color,"--ik-color-icon-light":d.ikColor.setOpacity(l.color,l.opacity||.4)}:{},...l.type==="primary"||l.primary?{"--ik-color-icon-dark":"var(--ik-theme-color)","--ik-color-icon-light":"var(--ik-color-icon-light-hover)","--ik-color-bg-icon":"var(--ik-color-bg-button-secondary)"}:l.type==="warning"?{"--ik-color-icon-dark":"var(--ik-color-error)","--ik-color-icon-light":"var(--ik-color-icon-error-light)","--ik-color-bg-icon":"var(--ik-color-icon-error-bg)"}:{}}});return(o,s)=>{const r=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("span",f,[o.notip||!o.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",{[o.name]:n.value==="unocss","show-bg":o.showBg||o.bg,default:o.size==="default",small:o.size==="small",big:o.size==="big",warning:o.warning,primary:o.primary,active:o.active,disabled:o.disabled}]),style:e.normalizeStyle(t.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),n.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${o.name}`),style:e.normalizeStyle(t.value)},null,6)):n.value==="svg"?(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${o.name}`},null,8,g)])):n.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:o.name,class:"h-[1em] w-[1em]"},null,8,u)):e.createCommentVNode("v-if",!0)],6)):(e.openBlock(),e.createBlock(r,{key:1,content:o.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",{[o.name]:n.value==="unocss","show-bg":o.showBg||o.bg,default:o.size==="default",primary:o.primary,small:o.size==="small",big:o.size==="big",warning:o.warning,active:o.active}]),style:e.normalizeStyle(t.value)},[n.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${o.name}`),style:e.normalizeStyle(t.value)},null,6)):n.value==="svg"?(e.openBlock(),e.createElementBlock("svg",h,[e.createElementVNode("use",{"xlink:href":`#${o.name}`},null,8,y)])):n.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:o.name,class:"h-[1em] w-[1em]"},null,8,B)):e.createCommentVNode("v-if",!0)],6)]),_:1},8,["content"]))])}}})),b=e.defineComponent({__name:"CloseIcon",setup(i){return(l,n)=>(e.openBlock(),e.createBlock(e.unref(_),{name:"iksvg_guanbidanchuang",warning:"",title:"关闭",size:20}))}}),S="",w=p(b,[["__scopeId","data-v-89432d58"]]),m=c(e.defineComponent({__name:"IkBaseDialog",props:e.mergeModels({title:{default:""},cancelText:{default:"取消"},confirmText:{default:"确认"}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const l=e.useModel(i,"modelValue"),n=e.ref(!1),t=()=>{n.value=!n.value};return(o,s)=>{const r=e.resolveComponent("IkSvgIcon"),C=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(C,e.mergeProps({modelValue:l.value,"onUpdate:modelValue":s[0]||(s[0]=z=>l.value=z)},o.$attrs,{"close-icon":w,class:"ik-base-dialog",fullscreen:n.value}),e.createSlots({header:e.withCtx(()=>[e.createElementVNode("div",null,[e.renderSlot(o.$slots,"header",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)])]),o.$attrs.showClose?(e.openBlock(),e.createBlock(r,{key:0,onClick:t,name:n.value?"iksvg_tuichuquanping":"iksvg_quanping-daohang",class:"absolute! top-[18px] right-[50px] icon-dialog-full",title:n.value?"退出全屏":"全屏"},null,8,["name","title"])):e.createCommentVNode("v-if",!0)]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:2},[o.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"footer")]),key:"0"}:void 0]),1040,["modelValue","fullscreen"])}}}));a.IkBaseDialog=m,a.default=m,Object.defineProperties(a,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(a,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):(a=typeof globalThis<"u"?globalThis:a||self,e(a.index={},a.vue,a["iking-utils-pro"]))})(this,function(a,e,m){"use strict";const c=(i,l)=>{if(i.install=n=>{for(const t of[i,...Object.values(l??{})])n.component(t.name,t)},l)for(const[n,t]of Object.entries(l))i[n]=t;return i},p=(i,l)=>{const n=i.__vccOpts||i;for(const[t,o]of l)n[t]=o;return n},f={class:"ik-svg-icon ik-icon inline-block inline-flex justify-center line-height-[0]"},k={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},g=["xlink:href"],u=["src"],h={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},y=["xlink:href"],B=["src"],_=c(e.defineComponent({name:"IkSvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},opacity:{default:.5},size:{default:""},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"0"},primary:{type:Boolean},warning:{type:Boolean},notip:{type:Boolean,default:!1},title:{},type:{},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(i){const l=i,n=e.computed(()=>{var o,s;return/^http?:\/\//.test(l.name)?"img":/i-[^:]+:[^:]+/.test(l.name)?"unocss":(o=l.name)!=null&&o.startsWith("iksig")?"iksig":(s=l.name)!=null&&s.includes(":")?"iconify":"svg"}),t=e.computed(()=>{const o=[];if(l.flip)switch(l.flip){case"horizontal":o.push("rotateY(180deg)");break;case"vertical":o.push("rotateX(180deg)");break;case"both":o.push("rotateX(180deg)"),o.push("rotateY(180deg)");break}return l.rotate&&o.push(`rotate(${l.rotate%360}deg)`),{...l.color&&{color:l.color},...l.size&&{fontSize:typeof l.size=="number"?`${l.size}px`:l.size},...o.length&&{transform:o.join(" ")},padding:l.padding,...l.color&&n.value!=="iksig"?{"--ik-color-icon-dark":l.color,"--ik-color-icon-light":m.ikColor.setOpacity(l.color,l.opacity||.4)}:{},...l.type==="primary"||l.primary?{"--ik-color-icon-dark":"var(--ik-theme-color)","--ik-color-icon-light":"var(--ik-color-icon-light-hover)","--ik-color-bg-icon":"var(--ik-color-bg-button-secondary)"}:l.type==="warning"?{"--ik-color-icon-dark":"var(--ik-color-error)","--ik-color-icon-light":"var(--ik-color-icon-error-light)","--ik-color-bg-icon":"var(--ik-color-icon-error-bg)"}:{}}});return(o,s)=>{const r=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("span",f,[o.notip||!o.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",{[o.name]:n.value==="unocss","show-bg":o.showBg||o.bg,default:o.size==="default",small:o.size==="small",big:o.size==="big",warning:o.warning,primary:o.primary,active:o.active,disabled:o.disabled}]),style:e.normalizeStyle(t.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),n.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${o.name}`),style:e.normalizeStyle(t.value)},null,6)):n.value==="svg"?(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${o.name}`},null,8,g)])):n.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:o.name,class:"h-[1em] w-[1em]"},null,8,u)):e.createCommentVNode("v-if",!0)],6)):(e.openBlock(),e.createBlock(r,{key:1,content:o.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",{[o.name]:n.value==="unocss","show-bg":o.showBg||o.bg,default:o.size==="default",primary:o.primary,small:o.size==="small",big:o.size==="big",warning:o.warning,active:o.active}]),style:e.normalizeStyle(t.value)},[n.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${o.name}`),style:e.normalizeStyle(t.value)},null,6)):n.value==="svg"?(e.openBlock(),e.createElementBlock("svg",h,[e.createElementVNode("use",{"xlink:href":`#${o.name}`},null,8,y)])):n.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:o.name,class:"h-[1em] w-[1em]"},null,8,B)):e.createCommentVNode("v-if",!0)],6)]),_:1},8,["content"]))])}}})),b=e.defineComponent({__name:"CloseIcon",setup(i){return(l,n)=>(e.openBlock(),e.createBlock(e.unref(_),{name:"iksvg_guanbidanchuang",warning:"",title:"关闭",size:20}))}}),V="",w=p(b,[["__scopeId","data-v-89432d58"]]),C={class:"base-header"},z=e.defineComponent({__name:"IkBaseDialog",props:e.mergeModels({title:{default:""},cancelText:{default:"取消"},confirmText:{default:"确认"},noHeader:{type:Boolean},noFooter:{type:Boolean}},{modelValue:{type:Boolean,default:!1,noHeader:!1,noFooter:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const l=e.useModel(i,"modelValue"),n=e.ref(!1),t=()=>{n.value=!n.value};return(o,s)=>{const r=e.resolveComponent("IkSvgIcon"),I=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(I,e.mergeProps({modelValue:l.value,"onUpdate:modelValue":s[0]||(s[0]=$=>l.value=$)},o.$attrs,{"close-icon":w,class:`ik-base-dialog ${o.noHeader?"no-header":""} ${o.noFooter?"no-footer":""}`,fullscreen:n.value}),e.createSlots({header:e.withCtx(()=>[e.createElementVNode("div",C,[e.renderSlot(o.$slots,"header",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)])]),o.$attrs.showClose?(e.openBlock(),e.createBlock(r,{key:0,onClick:t,name:n.value?"iksvg_tuichuquanping":"iksvg_quanping-daohang",class:"absolute! top-[18px] right-[50px] icon-dialog-full",title:n.value?"退出全屏":"全屏"},null,8,["name","title"])):e.createCommentVNode("v-if",!0)]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:2},[o.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"footer")]),key:"0"}:void 0]),1040,["modelValue","class","fullscreen"])}}}),E="",d=c(z);a.IkBaseDialog=d,a.default=d,Object.defineProperties(a,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1 +1 @@
1
- .ik-svg-icon.ik-icon[data-v-89432d58]{--ik-color-icon-dark: var(--ik-color-bgicon-dark);--ik-color-icon-light: var(--ik-color-bgicon-light)}
1
+ .ik-svg-icon.ik-icon[data-v-89432d58]{--ik-color-icon-dark: var(--ik-color-bgicon-dark);--ik-color-icon-light: var(--ik-color-bgicon-light)}.el-dialog.ik-base-dialog.no-header .el-dialog__header{height:0}.el-dialog.ik-base-dialog.no-header .el-dialog__header .base-header{overflow:hidden;display:none}.el-dialog.ik-base-dialog.no-header .el-dialog__header:after{display:none}.el-dialog.ik-base-dialog.no-footer .el-dialog__footer{height:0;overflow:hidden}
@@ -47,7 +47,7 @@ const F = (t, l) => {
47
47
  },
48
48
  setup(t) {
49
49
  m((n) => ({
50
- "72fefa7d": r.value
50
+ "3b454be4": r.value
51
51
  }));
52
52
  const l = t, e = {
53
53
  id: "id",
@@ -146,7 +146,7 @@ const w = (t, l) => {
146
146
  for (const [r, n] of l)
147
147
  e[r] = n;
148
148
  return e;
149
- }, C = /* @__PURE__ */ w(j, [["__scopeId", "data-v-f6ed0ee6"]]), W = F(C);
149
+ }, C = /* @__PURE__ */ w(j, [["__scopeId", "data-v-de60757d"]]), W = F(C);
150
150
  export {
151
151
  W as IkDescriptions,
152
152
  W as default
@@ -1 +1 @@
1
- (function(r,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(r=typeof globalThis<"u"?globalThis:r||self,e(r.index={},r.vue))})(this,function(r,e){"use strict";const c=(l,o)=>{if(l.install=t=>{for(const s of[l,...Object.values(o??{})])t.component(s.name,s)},o)for(const[t,s]of Object.entries(o))l[t]=s;return l},d=e.defineComponent({__name:"IKDescription",props:{showIcon:{type:Boolean,default:!1},listData:{type:Array,default:()=>[]},props:{type:Object,default:()=>({})},titleProps:{type:Object,default:()=>({})},fileField:{type:Object,default:()=>({})},loadUrl:{type:String,default:""},kkUrl:{type:String,default:""},labelWidth:{type:String||Number,default:"150px"}},setup(l){e.useCssVars(i=>({"72fefa7d":s.value}));const o=l,t={id:"id",value:"value",props:"props",label:"label",tag:"tag",fileList:"fileList",...o.fileField},s=e.computed(()=>typeof o.labelWidth=="number"?`${o.labelWidth}px`:o.labelWidth);return(i,m)=>{const p=e.resolveComponent("el-tag"),f=e.resolveComponent("IkPreviewFile"),u=e.resolveComponent("el-descriptions-item"),_=e.resolveComponent("el-descriptions");return e.openBlock(),e.createBlock(_,e.mergeProps({class:"margin-top"},{...l.titleProps,...o}),{extra:e.withCtx(()=>[e.renderSlot(i.$slots,"extra",{},void 0,!0)]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.listData,n=>(e.openBlock(),e.createBlock(u,e.mergeProps({key:n[t.id],ref_for:!0},n[t.props]),{label:e.withCtx(()=>[e.renderSlot(i.$slots,n[t.label],{},()=>[e.createTextVNode(e.toDisplayString(n[t.label]),1)],!0)]),default:e.withCtx(()=>[e.renderSlot(i.$slots,`${n[t.label]}_value`,{},()=>[e.createTextVNode(e.toDisplayString(n[t.value])+" ",1),n[t.tag]?(e.openBlock(),e.createBlock(p,{key:0,size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n[t.value].value),1)]),_:2},1024)):e.createCommentVNode("v-if",!0),e.createVNode(f,{list:n[t.fileList],field:l.fileField,"load-url":l.loadUrl,"kk-url":l.kkUrl},null,8,["list","field","load-url","kk-url"])],!0)]),_:2},1040))),128))]),_:3},16)}}}),k="",a=c(((l,o)=>{const t=l.__vccOpts||l;for(const[s,i]of o)t[s]=i;return t})(d,[["__scopeId","data-v-f6ed0ee6"]]));r.IkDescriptions=a,r.default=a,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(r,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(r=typeof globalThis<"u"?globalThis:r||self,e(r.index={},r.vue))})(this,function(r,e){"use strict";const c=(l,o)=>{if(l.install=t=>{for(const s of[l,...Object.values(o??{})])t.component(s.name,s)},o)for(const[t,s]of Object.entries(o))l[t]=s;return l},d=e.defineComponent({__name:"IKDescription",props:{showIcon:{type:Boolean,default:!1},listData:{type:Array,default:()=>[]},props:{type:Object,default:()=>({})},titleProps:{type:Object,default:()=>({})},fileField:{type:Object,default:()=>({})},loadUrl:{type:String,default:""},kkUrl:{type:String,default:""},labelWidth:{type:String||Number,default:"150px"}},setup(l){e.useCssVars(i=>({"3b454be4":s.value}));const o=l,t={id:"id",value:"value",props:"props",label:"label",tag:"tag",fileList:"fileList",...o.fileField},s=e.computed(()=>typeof o.labelWidth=="number"?`${o.labelWidth}px`:o.labelWidth);return(i,m)=>{const p=e.resolveComponent("el-tag"),f=e.resolveComponent("IkPreviewFile"),u=e.resolveComponent("el-descriptions-item"),_=e.resolveComponent("el-descriptions");return e.openBlock(),e.createBlock(_,e.mergeProps({class:"margin-top"},{...l.titleProps,...o}),{extra:e.withCtx(()=>[e.renderSlot(i.$slots,"extra",{},void 0,!0)]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.listData,n=>(e.openBlock(),e.createBlock(u,e.mergeProps({key:n[t.id],ref_for:!0},n[t.props]),{label:e.withCtx(()=>[e.renderSlot(i.$slots,n[t.label],{},()=>[e.createTextVNode(e.toDisplayString(n[t.label]),1)],!0)]),default:e.withCtx(()=>[e.renderSlot(i.$slots,`${n[t.label]}_value`,{},()=>[e.createTextVNode(e.toDisplayString(n[t.value])+" ",1),n[t.tag]?(e.openBlock(),e.createBlock(p,{key:0,size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n[t.value].value),1)]),_:2},1024)):e.createCommentVNode("v-if",!0),e.createVNode(f,{list:n[t.fileList],field:l.fileField,"load-url":l.loadUrl,"kk-url":l.kkUrl},null,8,["list","field","load-url","kk-url"])],!0)]),_:2},1040))),128))]),_:3},16)}}}),k="",a=c(((l,o)=>{const t=l.__vccOpts||l;for(const[s,i]of o)t[s]=i;return t})(d,[["__scopeId","data-v-de60757d"]]));r.IkDescriptions=a,r.default=a,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1 +1 @@
1
- [data-v-f6ed0ee6] .el-descriptions__label{width:var(--72fefa7d)!important;background:var(--ik-color-bg-table-header)!important}
1
+ [data-v-de60757d] .el-descriptions__body .el-descriptions__label{font-weight:500!important;width:var(--3b454be4)!important;background:var(--ik-table-header-bg)!important;color:var(--ik-color-font-secondary)!important}[data-v-de60757d] .el-descriptions__body .el-descriptions__content{color:var(--ik-color-font-title)!important}
@@ -9,6 +9,48 @@ const V = (d, i) => {
9
9
  d[e] = a;
10
10
  return d;
11
11
  }, H = "4383166", P = "中台-双色图标", U = "iconfont", X = "iksvg_", Y = "", F = [
12
+ {
13
+ icon_id: "39806614",
14
+ name: "合同配置",
15
+ font_class: "hetongpeizhi",
16
+ unicode: "e6dd",
17
+ unicode_decimal: 59101
18
+ },
19
+ {
20
+ icon_id: "8046105",
21
+ name: "公测-json",
22
+ font_class: "json",
23
+ unicode: "e652",
24
+ unicode_decimal: 58962
25
+ },
26
+ {
27
+ icon_id: "7684628",
28
+ name: "exe",
29
+ font_class: "exe",
30
+ unicode: "e684",
31
+ unicode_decimal: 59012
32
+ },
33
+ {
34
+ icon_id: "7684631",
35
+ name: "html",
36
+ font_class: "html",
37
+ unicode: "e6dc",
38
+ unicode_decimal: 59100
39
+ },
40
+ {
41
+ icon_id: "7684656",
42
+ name: "visio",
43
+ font_class: "visio",
44
+ unicode: "e6de",
45
+ unicode_decimal: 59102
46
+ },
47
+ {
48
+ icon_id: "4765731",
49
+ name: "copyright",
50
+ font_class: "copyright",
51
+ unicode: "e77e",
52
+ unicode_decimal: 59262
53
+ },
12
54
  {
13
55
  icon_id: "716015",
14
56
  name: "退出",
@@ -2351,7 +2393,7 @@ const on = (d, i) => {
2351
2393
  key: 1,
2352
2394
  class: "h-[1em] w-[1em]",
2353
2395
  "aria-hidden": "true"
2354
- }, un = ["xlink:href"], _n = ["src"], sn = {
2396
+ }, _n = ["xlink:href"], un = ["src"], sn = {
2355
2397
  key: 1,
2356
2398
  class: "h-[1em] w-[1em]",
2357
2399
  "aria-hidden": "true"
@@ -2449,12 +2491,12 @@ const on = (d, i) => {
2449
2491
  )) : e.value === "svg" ? (o(), l("svg", dn, [
2450
2492
  h("use", {
2451
2493
  "xlink:href": `#${n.name}`
2452
- }, null, 8, un)
2494
+ }, null, 8, _n)
2453
2495
  ])) : e.value === "img" ? (o(), l("img", {
2454
2496
  key: 2,
2455
2497
  src: n.name,
2456
2498
  class: "h-[1em] w-[1em]"
2457
- }, null, 8, _n)) : x("v-if", !0)
2499
+ }, null, 8, un)) : x("v-if", !0)
2458
2500
  ],
2459
2501
  6
2460
2502
  /* CLASS, STYLE */
@@ -2538,15 +2580,15 @@ const on = (d, i) => {
2538
2580
  let a = {};
2539
2581
  const n = p({}), r = p(null);
2540
2582
  function v() {
2541
- const s = i.icon.icon, u = i.icon.iconSingle;
2583
+ const s = i.icon.icon, _ = i.icon.iconSingle;
2542
2584
  a = {
2543
- double: s.glyphs.map((_) => ({
2544
- ..._,
2545
- class: `${s.css_prefix_text}${_.font_class}`
2585
+ double: s.glyphs.map((u) => ({
2586
+ ...u,
2587
+ class: `${s.css_prefix_text}${u.font_class}`
2546
2588
  })),
2547
- single: u.glyphs.map((_) => ({
2548
- ..._,
2549
- class: `${u.css_prefix_text}${_.font_class}`
2589
+ single: _.glyphs.map((u) => ({
2590
+ ...u,
2591
+ class: `${_.css_prefix_text}${u.font_class}`
2550
2592
  }))
2551
2593
  }, n.value = E.cloneDeep(a);
2552
2594
  }
@@ -2560,19 +2602,19 @@ const on = (d, i) => {
2560
2602
  const j = p("");
2561
2603
  D(j, (s) => {
2562
2604
  n.value = {
2563
- single: a.single.filter((u) => {
2564
- var _;
2565
- return (_ = u.name) == null ? void 0 : _.includes(s);
2605
+ single: a.single.filter((_) => {
2606
+ var u;
2607
+ return (u = _.name) == null ? void 0 : u.includes(s);
2566
2608
  }),
2567
- double: a.double.filter((u) => {
2568
- var _;
2569
- return (_ = u.name) == null ? void 0 : _.includes(s);
2609
+ double: a.double.filter((_) => {
2610
+ var u;
2611
+ return (u = _.name) == null ? void 0 : u.includes(s);
2570
2612
  })
2571
2613
  };
2572
2614
  });
2573
2615
  const q = p("double");
2574
- return (s, u) => {
2575
- const _ = y("el-input"), I = y("el-tab-pane"), J = y("el-tabs"), N = y("el-popover");
2616
+ return (s, _) => {
2617
+ const u = y("el-input"), I = y("el-tab-pane"), J = y("el-tabs"), N = y("el-popover");
2576
2618
  return o(), m(
2577
2619
  N,
2578
2620
  {
@@ -2588,7 +2630,7 @@ const on = (d, i) => {
2588
2630
  reference: t(() => [
2589
2631
  h("div", {
2590
2632
  class: "icon-picker-header font-size-[var(--ik-margin-m-28)] line-height-[0]",
2591
- onClick: u[2] || (u[2] = //@ts-ignore
2633
+ onClick: _[2] || (_[2] = //@ts-ignore
2592
2634
  (...c) => s.handChooseIcon && s.handChooseIcon(...c))
2593
2635
  }, [
2594
2636
  e.value ? (o(), m(f(g), {
@@ -2611,9 +2653,9 @@ const on = (d, i) => {
2611
2653
  ])
2612
2654
  ]),
2613
2655
  default: t(() => [
2614
- b(_, {
2656
+ b(u, {
2615
2657
  modelValue: j.value,
2616
- "onUpdate:modelValue": u[0] || (u[0] = (c) => j.value = c),
2658
+ "onUpdate:modelValue": _[0] || (_[0] = (c) => j.value = c),
2617
2659
  clearable: "",
2618
2660
  placeholder: "输入图标名称检索"
2619
2661
  }, {
@@ -2625,7 +2667,7 @@ const on = (d, i) => {
2625
2667
  }, 8, ["modelValue"]),
2626
2668
  b(J, {
2627
2669
  modelValue: q.value,
2628
- "onUpdate:modelValue": u[1] || (u[1] = (c) => q.value = c)
2670
+ "onUpdate:modelValue": _[1] || (_[1] = (c) => q.value = c)
2629
2671
  }, {
2630
2672
  default: t(() => [
2631
2673
  b(I, {