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.
package/dist/style.css CHANGED
@@ -2691,14 +2691,18 @@ iframe.tab-main-content[data-v-3c90505e] {
2691
2691
  overflow: hidden;
2692
2692
  text-overflow: ellipsis;
2693
2693
  }
2694
- .svg-icon[data-v-019891df] {
2694
+ .svg-icon[data-v-f15c5e86] {
2695
2695
  width: 1.2em;
2696
2696
  height: 1.2em;
2697
2697
  vertical-align: -0.25em;
2698
2698
  fill: currentColor;
2699
2699
  overflow: initial;
2700
2700
  }
2701
- [data-v-0fb85d6e] .super-icon {
2701
+ .super-icon[data-v-355d0c18] {
2702
+ width: 1em;
2703
+ height: 1em;
2704
+ font-size: 14px;
2705
+ }[data-v-990840ae] .super-icon {
2702
2706
  width: 20px !important;
2703
2707
  height: 20px !important;
2704
2708
  }.smb-sidebar-menu-item[data-v-da857302] {
@@ -1,7 +1,7 @@
1
1
  import e from "./Item.vue2.mjs";
2
2
  import "./Item.vue3.mjs";
3
3
  import t from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = t(e, [["__scopeId", "data-v-0fb85d6e"]]);
4
+ const m = t(e, [["__scopeId", "data-v-990840ae"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as e, h as t } from "vue";
2
2
  import "../../../svg-icon/src/svg-icon.vue.mjs";
3
3
  import { ElBadge as i } from "element-plus";
4
- import "../../../../../super-icon/index.mjs";
5
- import s from "../../../../../super-icon/src/index.vue.mjs";
4
+ import "../../../super-icon/index.mjs";
5
+ import s from "../../../super-icon/src/index.vue.mjs";
6
6
  const n = e({ 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(e2) {
7
7
  const { title: n2, hasChildren: u, isRoot: o, code: a } = e2, l = e2.icon, d = e2.menuLayer, m = [];
8
8
  let r = [t("i", { class: "amb-iconfont amb-icon-meun_post" })];
@@ -0,0 +1,7 @@
1
+ import n from "./src/index.vue.mjs";
2
+ n.install = function(o) {
3
+ o.component("SuperIcon", n);
4
+ };
5
+ export {
6
+ n as default
7
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./index.vue2.mjs";
2
+ import "./index.vue3.mjs";
3
+ import o from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const r = o(e, [["__scopeId", "data-v-355d0c18"]]);
5
+ export {
6
+ r as default
7
+ };
@@ -0,0 +1,13 @@
1
+ import { defineComponent as e, ref as n, resolveComponent as o, openBlock as i, createElementBlock as c, normalizeClass as l, createBlock as a, withCtx as s, resolveDynamicComponent as u } from "vue";
2
+ import t from "../../svg-icon/src/svg-icon.vue2.mjs";
3
+ const r = ["src"], m = ["src"], f = e({ name: "SuperIcon", props: { iconType: { type: String, default: "custom" }, iconValue: { type: String, required: true, default: "" } }, setup(e2) {
4
+ n(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=");
5
+ const f2 = n(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-svg?svgName=");
6
+ return (n2, p) => {
7
+ const g = o("el-icon");
8
+ return 0 === e2.iconValue.indexOf("amb-icon-") ? (i(), c("i", { key: 0, class: l(["amb-iconfont", e2.iconValue]) }, null, 2)) : 0 === e2.iconValue.indexOf("amb-color-icon-") ? (i(), c("i", { key: 1, class: l(["amb-color-iconfont super-icon", e2.iconValue]) }, null, 2)) : 0 === e2.iconValue.indexOf("fa-") ? (i(), c("i", { key: 2, class: l("fa " + e2.iconValue) }, null, 2)) : 0 === e2.iconValue.indexOf("svg-img-") ? (i(), c("img", { key: 3, src: f2.value + e2.iconValue, style: { width: "1em", height: "1em" } }, null, 8, r)) : 0 === e2.iconValue.indexOf("svg-") ? (i(), a(t, { key: 4, "icon-class": e2.iconValue.substring(4) }, null, 8, ["icon-class"])) : 0 === e2.iconValue.indexOf("http") || 0 === e2.iconValue.indexOf("//") || 0 === e2.iconValue.indexOf("data:") ? (i(), c("img", { key: 5, src: e2.iconValue, style: { width: "1em", height: "1em" } }, null, 8, m)) : (i(), a(g, { key: 6 }, { default: s(() => [(i(), a(u(e2.iconValue)))]), _: 1 }));
9
+ };
10
+ } });
11
+ export {
12
+ f as default
13
+ };
@@ -0,0 +1,4 @@
1
+ const t = "";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,14 @@
1
+ import { openBlock as s, createElementBlock as e, normalizeClass as r, createElementVNode as n } from "vue";
2
+ import "./svg-icon.vue.mjs";
3
+ import i from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const t = ["xlink:href"];
5
+ const a = i({ 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(i2, a2, o, c, l, u) {
10
+ return s(), e("svg", { class: r(u.svgClass), "aria-hidden": "true" }, [n("use", { "xlink:href": u.iconName }, null, 8, t)], 2);
11
+ }], ["__scopeId", "data-v-f15c5e86"]]);
12
+ export {
13
+ a as default
14
+ };