ss-component-new 1.3.730 → 1.3.732

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,6 +1,6 @@
1
1
  import { defineComponent as q, resolveComponent as u, createElementBlock as k, openBlock as s, Fragment as y, renderList as C, createBlock as f, createCommentVNode as z, withCtx as o, createVNode as r, createSlots as O, renderSlot as d, mergeProps as P, computed as j, ref as D, normalizeStyle as g } from "vue";
2
2
  import { u as G, p as w, s as b, a as H } from "./menu-ClNHLze7.js";
3
- import { S as $ } from "./index-Di3KK1zP.js";
3
+ import { S as $ } from "./index-BUQlO5Zd.js";
4
4
  import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const K = /* @__PURE__ */ q({
6
6
  __name: "menuItem",
@@ -0,0 +1,53 @@
1
+ import { defineComponent as x, ref as b, watch as v, resolveComponent as g, createBlock as p, openBlock as l, mergeProps as w, withCtx as C, createElementVNode as i, createElementBlock as a, Fragment as s, renderList as f, toDisplayString as y } from "vue";
2
+ const B = /* @__PURE__ */ x({
3
+ __name: "index",
4
+ props: {
5
+ itemElement: {
6
+ type: Object,
7
+ default: () => {
8
+ }
9
+ },
10
+ extra: {
11
+ type: Object,
12
+ default: () => ({})
13
+ }
14
+ },
15
+ setup(k) {
16
+ const e = k, h = b([]), _ = b([]);
17
+ return v(
18
+ () => e == null ? void 0 : e.itemElement,
19
+ () => {
20
+ var m, u, t;
21
+ let o = [];
22
+ h.value = (m = e == null ? void 0 : e.itemElement) == null ? void 0 : m.columns, (t = (u = e == null ? void 0 : e.itemElement) == null ? void 0 : u.tableData) == null || t.forEach((n) => {
23
+ var c, E;
24
+ let r = [];
25
+ (E = (c = e == null ? void 0 : e.itemElement) == null ? void 0 : c.columns) == null || E.forEach((d) => {
26
+ r.push(n == null ? void 0 : n[d == null ? void 0 : d.prop]);
27
+ }), o.push(r);
28
+ }), _.value = o;
29
+ },
30
+ { deep: !0, immediate: !0 }
31
+ ), (o, m) => {
32
+ const u = g("n-table");
33
+ return l(), p(u, w(e.extra, { "single-column": "" }), {
34
+ default: C(() => [
35
+ i("thead", null, [
36
+ i("tr", null, [
37
+ (l(!0), a(s, null, f(h.value, (t, n) => (l(), a("th", { key: n }, y(t == null ? void 0 : t.label), 1))), 128))
38
+ ])
39
+ ]),
40
+ i("tbody", null, [
41
+ (l(!0), a(s, null, f(_.value, (t, n) => (l(), a("tr", { key: n }, [
42
+ (l(!0), a(s, null, f(t, (r, c) => (l(), a("td", { key: c }, y(r), 1))), 128))
43
+ ]))), 128))
44
+ ])
45
+ ]),
46
+ _: 1
47
+ }, 16);
48
+ };
49
+ }
50
+ });
51
+ export {
52
+ B as default
53
+ };
@@ -0,0 +1,23 @@
1
+ import { defineComponent as u, ref as a, resolveComponent as o, createElementBlock as r, openBlock as n, Fragment as s, renderList as _, createBlock as p, withCtx as m, createVNode as x } from "vue";
2
+ const k = /* @__PURE__ */ u({
3
+ __name: "index",
4
+ setup(d) {
5
+ const t = a([]);
6
+ return (v, f) => {
7
+ const l = o("vxe-carousel-item"), c = o("vxe-carousel");
8
+ return n(), r("div", null, [
9
+ (n(!0), r(s, null, _(t.value, (e) => (n(), p(c, null, {
10
+ default: m(() => [
11
+ x(l, {
12
+ url: e == null ? void 0 : e.url
13
+ }, null, 8, ["url"])
14
+ ]),
15
+ _: 2
16
+ }, 1024))), 256))
17
+ ]);
18
+ };
19
+ }
20
+ });
21
+ export {
22
+ k as default
23
+ };
@@ -0,0 +1,25 @@
1
+ import { defineComponent as n, resolveComponent as a, createBlock as s, openBlock as c, normalizeProps as p, guardReactiveProps as l, withCtx as u, renderSlot as _ } from "vue";
2
+ const f = /* @__PURE__ */ n({
3
+ __name: "index",
4
+ props: {
5
+ extra: {
6
+ type: Object,
7
+ default: () => ({})
8
+ }
9
+ },
10
+ setup(e) {
11
+ const o = e;
12
+ return (t, d) => {
13
+ const r = a("n-carousel");
14
+ return c(), s(r, p(l(o.extra)), {
15
+ default: u(() => [
16
+ _(t.$slots, "default")
17
+ ]),
18
+ _: 3
19
+ }, 16);
20
+ };
21
+ }
22
+ });
23
+ export {
24
+ f as default
25
+ };
@@ -2,7 +2,7 @@ import { defineComponent as $, createBlock as _, openBlock as f, resolveDynamicC
2
2
  import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-BrnE_n0l.js";
3
3
  import { _ as L } from "./index.vue_vue_type_script_setup_true_lang-DJgUI7Bv.js";
4
4
  import { _ as S } from "./index.vue_vue_type_script_setup_true_lang-CuwhbWHH.js";
5
- import { g as B } from "./index-Di3KK1zP.js";
5
+ import { g as B } from "./index-BUQlO5Zd.js";
6
6
  const I = /* @__PURE__ */ $({
7
7
  __name: "index",
8
8
  props: {