agilebuilder-ui 1.1.65-tmp27 → 1.1.65-tmp28

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,5 +1,5 @@
1
1
  "use strict";
2
2
  const e = require("./Item.vue2.cjs");
3
3
  require("./Item.vue3.cjs");
4
- const r = require("../../../../../_virtual/_plugin-vue_export-helper.cjs")(e, [["__scopeId", "data-v-0fb85d6e"]]);
4
+ const r = require("../../../../../_virtual/_plugin-vue_export-helper.cjs")(e, [["__scopeId", "data-v-990840ae"]]);
5
5
  module.exports = r;
@@ -2,8 +2,8 @@
2
2
  const e = require("vue");
3
3
  require("../../../svg-icon/src/svg-icon.vue.cjs");
4
4
  const s = require("element-plus");
5
- require("../../../../../super-icon/index.cjs");
6
- const t = require("../../../../../super-icon/src/index.vue.cjs"), i = e.defineComponent({ name: "MenuItem", functional: true, props: { icon: { type: String, default: "" }, title: { type: String, default: "" }, hasChildren: { type: Boolean, default: false }, isRoot: { type: Boolean, default: false }, code: { type: Boolean, default: false }, undoneTaskCount: { type: Number, default: 0 }, unreadTaskCount: { type: Number, default: 0 }, menuLayer: { type: Number, default: null } }, render(i2) {
5
+ require("../../../super-icon/index.cjs");
6
+ const t = require("../../../super-icon/src/index.vue.cjs"), i = e.defineComponent({ name: "MenuItem", functional: true, props: { icon: { type: String, default: "" }, title: { type: String, default: "" }, hasChildren: { type: Boolean, default: false }, isRoot: { type: Boolean, default: false }, code: { type: Boolean, default: false }, undoneTaskCount: { type: Number, default: 0 }, unreadTaskCount: { type: Number, default: 0 }, menuLayer: { type: Number, default: null } }, render(i2) {
7
7
  const { title: n, hasChildren: u, isRoot: l, code: a } = i2, o = i2.icon, d = i2.menuLayer, r = [];
8
8
  let c = [e.h("i", { class: "amb-iconfont amb-icon-meun_post" })];
9
9
  o && (c = [e.h(t, { iconValue: o })]);
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ const e = require("./src/index.vue.cjs");
3
+ e.install = function(n) {
4
+ n.component("SuperIcon", e);
5
+ }, module.exports = e;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ const e = require("./index.vue2.cjs");
3
+ require("./index.vue3.cjs");
4
+ const r = require("../../../../_virtual/_plugin-vue_export-helper.cjs")(e, [["__scopeId", "data-v-355d0c18"]]);
5
+ module.exports = r;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ const e = require("vue"), o = require("../../svg-icon/src/svg-icon.vue2.cjs"), n = ["src"], l = ["src"], c = e.defineComponent({ name: "SuperIcon", props: { iconType: { type: String, default: "custom" }, iconValue: { type: String, required: true, default: "" } }, setup(c2) {
3
+ e.ref(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=");
4
+ const i = e.ref(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-svg?svgName=");
5
+ return (a, s) => {
6
+ const t = e.resolveComponent("el-icon");
7
+ return 0 === c2.iconValue.indexOf("amb-icon-") ? (e.openBlock(), e.createElementBlock("i", { key: 0, class: e.normalizeClass(["amb-iconfont", c2.iconValue]) }, null, 2)) : 0 === c2.iconValue.indexOf("amb-color-icon-") ? (e.openBlock(), e.createElementBlock("i", { key: 1, class: e.normalizeClass(["amb-color-iconfont super-icon", c2.iconValue]) }, null, 2)) : 0 === c2.iconValue.indexOf("fa-") ? (e.openBlock(), e.createElementBlock("i", { key: 2, class: e.normalizeClass("fa " + c2.iconValue) }, null, 2)) : 0 === c2.iconValue.indexOf("svg-img-") ? (e.openBlock(), e.createElementBlock("img", { key: 3, src: i.value + c2.iconValue, style: { width: "1em", height: "1em" } }, null, 8, n)) : 0 === c2.iconValue.indexOf("svg-") ? (e.openBlock(), e.createBlock(o, { key: 4, "icon-class": c2.iconValue.substring(4) }, null, 8, ["icon-class"])) : 0 === c2.iconValue.indexOf("http") || 0 === c2.iconValue.indexOf("//") || 0 === c2.iconValue.indexOf("data:") ? (e.openBlock(), e.createElementBlock("img", { key: 5, src: c2.iconValue, style: { width: "1em", height: "1em" } }, null, 8, l)) : (e.openBlock(), e.createBlock(t, { key: 6 }, { default: e.withCtx(() => [(e.openBlock(), e.createBlock(e.resolveDynamicComponent(c2.iconValue)))]), _: 1 }));
8
+ };
9
+ } });
10
+ module.exports = c;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ module.exports = "";
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ const e = require("vue");
3
+ require("./svg-icon.vue.cjs");
4
+ const s = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), r = ["xlink:href"];
5
+ const n = s({ name: "SvgIcon", props: { iconClass: { type: String, required: true }, className: { type: String, default: "" } }, computed: { iconName() {
6
+ return `#icon-${this.iconClass}`;
7
+ }, svgClass() {
8
+ return this.className ? "svg-icon " + this.className : "svg-icon";
9
+ } } }, [["render", function(s2, n2, c, t, i, a) {
10
+ return e.openBlock(), e.createElementBlock("svg", { class: e.normalizeClass(a.svgClass), "aria-hidden": "true" }, [e.createElementVNode("use", { "xlink:href": a.iconName }, null, 8, r)], 2);
11
+ }], ["__scopeId", "data-v-f15c5e86"]]);
12
+ module.exports = n;