@opentiny/tiny-engine-plugin-resource 2.10.0-alpha.0 → 2.10.0-alpha.2

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/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./style.css";
2
2
  import { callEntry as L, getMetaApi as K, META_SERVICE as Q, getMergeMeta as me, useNotify as R, useLayout as D, useModal as ne, useCompile as qe } from "@opentiny/tiny-engine-meta-register";
3
- import { ref as pe, reactive as Ue, computed as Fe, resolveComponent as G, createBlock as Ce, createCommentVNode as Pe, openBlock as ae, withCtx as k, createElementVNode as z, createVNode as _, createTextVNode as ye, watch as Xe, createElementBlock as be, Fragment as Ie, normalizeClass as Ge, renderList as Oe, toDisplayString as Ne, Teleport as Ze, provide as Ke, onMounted as Qe, withModifiers as We } from "vue";
3
+ import { ref as pe, reactive as Ue, computed as Fe, resolveComponent as G, createBlock as Ce, createCommentVNode as Pe, openBlock as ae, withCtx as k, createElementVNode as z, createVNode as h, createTextVNode as ye, watch as Xe, createElementBlock as be, Fragment as Ie, normalizeClass as Ge, renderList as Oe, toDisplayString as Ne, Teleport as Ze, provide as Ke, onMounted as Qe, withModifiers as We } from "vue";
4
4
  import { SvgButton as P, ButtonGroup as Ee, PluginSetting as Y, SearchEmpty as V, PluginPanel as ve } from "@opentiny/tiny-engine-common";
5
5
  import { Input as Be, Form as $e, FormItem as et, CollapseItem as tt, Collapse as nt, TinyButton as je, FileUpload as ot, Alert as rt, DialogBox as it, Popover as at, Checkbox as st, GridColumn as ct, Grid as lt, Divider as ut } from "@opentiny/vue";
6
6
  import { iconPopup as oe } from "@opentiny/vue-icon";
@@ -365,9 +365,9 @@ function ft(s, n, v, t, m, c) {
365
365
  title: t.state.title
366
366
  }, {
367
367
  header: k(() => [
368
- _(o, null, {
368
+ h(o, null, {
369
369
  default: k(() => [
370
- _(r, {
370
+ h(r, {
371
371
  type: "primary",
372
372
  onClick: t.saveResourceSetting
373
373
  }, {
@@ -376,7 +376,7 @@ function ft(s, n, v, t, m, c) {
376
376
  ])]),
377
377
  _: 1
378
378
  }, 8, ["onClick"]),
379
- _(e, {
379
+ h(e, {
380
380
  name: "close",
381
381
  onClick: t.cancelResourceSetting
382
382
  }, null, 8, ["onClick"])
@@ -386,18 +386,18 @@ function ft(s, n, v, t, m, c) {
386
386
  ]),
387
387
  content: k(() => [
388
388
  z("div", pt, [
389
- _(b, {
389
+ h(b, {
390
390
  modelValue: t.state.activeName,
391
- "onUpdate:modelValue": n[2] || (n[2] = (h) => t.state.activeName = h),
391
+ "onUpdate:modelValue": n[2] || (n[2] = (_) => t.state.activeName = _),
392
392
  class: "resource-setting-collapse"
393
393
  }, {
394
394
  default: k(() => [
395
- _(u, {
395
+ h(u, {
396
396
  title: "基本设置",
397
397
  name: "general"
398
398
  }, {
399
399
  default: k(() => [
400
- _(l, {
400
+ h(l, {
401
401
  ref: "generalForm",
402
402
  model: t.state.data,
403
403
  rules: t.rules,
@@ -406,27 +406,27 @@ function ft(s, n, v, t, m, c) {
406
406
  class: "general-config-form"
407
407
  }, {
408
408
  default: k(() => [
409
- _(i, {
409
+ h(i, {
410
410
  prop: "name",
411
411
  label: "分组名称"
412
412
  }, {
413
413
  default: k(() => [
414
- _(a, {
414
+ h(a, {
415
415
  modelValue: t.state.data.name,
416
- "onUpdate:modelValue": n[0] || (n[0] = (h) => t.state.data.name = h)
416
+ "onUpdate:modelValue": n[0] || (n[0] = (_) => t.state.data.name = _)
417
417
  }, null, 8, ["modelValue"])
418
418
  ]),
419
419
  _: 1
420
420
  }),
421
- _(i, {
421
+ h(i, {
422
422
  prop: "description",
423
423
  label: "分组描述"
424
424
  }, {
425
425
  default: k(() => [
426
- _(a, {
426
+ h(a, {
427
427
  type: "textarea",
428
428
  modelValue: t.state.data.description,
429
- "onUpdate:modelValue": n[1] || (n[1] = (h) => t.state.data.description = h)
429
+ "onUpdate:modelValue": n[1] || (n[1] = (_) => t.state.data.description = _)
430
430
  }, null, 8, ["modelValue"])
431
431
  ]),
432
432
  _: 1
@@ -445,7 +445,7 @@ function ft(s, n, v, t, m, c) {
445
445
  _: 1
446
446
  }, 8, ["fixed-name", "align", "title"])) : Pe("", !0);
447
447
  }
448
- const he = /* @__PURE__ */ Ve(dt, [["render", ft], ["__scopeId", "data-v-86b98f69"]]);
448
+ const _e = /* @__PURE__ */ Ve(dt, [["render", ft], ["__scopeId", "data-v-86b98f69"]]);
449
449
  var gt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
450
450
  function mt(s) {
451
451
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
@@ -485,10 +485,10 @@ var ze = { exports: {} };
485
485
  return !1;
486
486
  }
487
487
  }
488
- var h = function(f) {
488
+ var _ = function(f) {
489
489
  var p = b()(f);
490
490
  return g("cut"), p;
491
- }, y = h;
491
+ }, y = _;
492
492
  function I(w) {
493
493
  var f = document.documentElement.getAttribute("dir") === "rtl", p = document.createElement("textarea");
494
494
  p.style.fontSize = "12pt", p.style.border = "0", p.style.padding = "0", p.style.margin = "0", p.style.position = "absolute", p.style[f ? "right" : "left"] = "-9999px";
@@ -755,7 +755,7 @@ var ze = { exports: {} };
755
755
  /***/
756
756
  function(c, r, e) {
757
757
  var o = e(828);
758
- function a(u, b, g, h, y) {
758
+ function a(u, b, g, _, y) {
759
759
  var I = l.apply(this, arguments);
760
760
  return u.addEventListener(g, I, y), {
761
761
  destroy: function() {
@@ -763,14 +763,14 @@ var ze = { exports: {} };
763
763
  }
764
764
  };
765
765
  }
766
- function i(u, b, g, h, y) {
766
+ function i(u, b, g, _, y) {
767
767
  return typeof u.addEventListener == "function" ? a.apply(null, arguments) : typeof g == "function" ? a.bind(null, document).apply(null, arguments) : (typeof u == "string" && (u = document.querySelectorAll(u)), Array.prototype.map.call(u, function(I) {
768
- return a(I, b, g, h, y);
768
+ return a(I, b, g, _, y);
769
769
  }));
770
770
  }
771
- function l(u, b, g, h) {
771
+ function l(u, b, g, _) {
772
772
  return function(y) {
773
- y.delegateTarget = o(y.target, b), y.delegateTarget && h.call(u, y);
773
+ y.delegateTarget = o(y.target, b), y.delegateTarget && _.call(u, y);
774
774
  };
775
775
  }
776
776
  c.exports = i;
@@ -798,41 +798,41 @@ var ze = { exports: {} };
798
798
  /***/
799
799
  function(c, r, e) {
800
800
  var o = e(879), a = e(438);
801
- function i(g, h, y) {
802
- if (!g && !h && !y)
801
+ function i(g, _, y) {
802
+ if (!g && !_ && !y)
803
803
  throw new Error("Missing required arguments");
804
- if (!o.string(h))
804
+ if (!o.string(_))
805
805
  throw new TypeError("Second argument must be a String");
806
806
  if (!o.fn(y))
807
807
  throw new TypeError("Third argument must be a Function");
808
808
  if (o.node(g))
809
- return l(g, h, y);
809
+ return l(g, _, y);
810
810
  if (o.nodeList(g))
811
- return u(g, h, y);
811
+ return u(g, _, y);
812
812
  if (o.string(g))
813
- return b(g, h, y);
813
+ return b(g, _, y);
814
814
  throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
815
815
  }
816
- function l(g, h, y) {
817
- return g.addEventListener(h, y), {
816
+ function l(g, _, y) {
817
+ return g.addEventListener(_, y), {
818
818
  destroy: function() {
819
- g.removeEventListener(h, y);
819
+ g.removeEventListener(_, y);
820
820
  }
821
821
  };
822
822
  }
823
- function u(g, h, y) {
823
+ function u(g, _, y) {
824
824
  return Array.prototype.forEach.call(g, function(I) {
825
- I.addEventListener(h, y);
825
+ I.addEventListener(_, y);
826
826
  }), {
827
827
  destroy: function() {
828
828
  Array.prototype.forEach.call(g, function(I) {
829
- I.removeEventListener(h, y);
829
+ I.removeEventListener(_, y);
830
830
  });
831
831
  }
832
832
  };
833
833
  }
834
- function b(g, h, y) {
835
- return a(document.body, g, h, y);
834
+ function b(g, _, y) {
835
+ return a(document.body, g, _, y);
836
836
  }
837
837
  c.exports = i;
838
838
  }
@@ -1013,7 +1013,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1013
1013
  openResourceListPanel: B,
1014
1014
  closeResourceListPanel: N
1015
1015
  })
1016
- }), ht = {
1016
+ }), _t = {
1017
1017
  components: {
1018
1018
  PluginSetting: Y,
1019
1019
  SvgButton: P,
@@ -1095,7 +1095,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1095
1095
  validRules: u,
1096
1096
  chooseFileChange: b,
1097
1097
  sourceTypeChange: g,
1098
- cancelResourceList: h,
1098
+ cancelResourceList: _,
1099
1099
  getSourceList: y,
1100
1100
  copySourceLink: I,
1101
1101
  selectSource: j,
@@ -1147,7 +1147,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1147
1147
  validRules: u,
1148
1148
  chooseFileChange: b,
1149
1149
  sourceTypeChange: g,
1150
- cancelResourceList: h,
1150
+ cancelResourceList: _,
1151
1151
  getSourceList: y,
1152
1152
  copySourceLink: I,
1153
1153
  selectSource: j,
@@ -1177,7 +1177,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1177
1177
  openResourceListPanel: B,
1178
1178
  closeResourceListPanel: N
1179
1179
  })
1180
- }), h = L(() => {
1180
+ }), _ = L(() => {
1181
1181
  N();
1182
1182
  }, {
1183
1183
  metaData: {
@@ -1199,7 +1199,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1199
1199
  validRules: u,
1200
1200
  chooseFileChange: b,
1201
1201
  sourceTypeChange: g,
1202
- cancelResourceList: h,
1202
+ cancelResourceList: _,
1203
1203
  getSourceList: y,
1204
1204
  copySourceLink: I,
1205
1205
  selectSource: j,
@@ -1258,7 +1258,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1258
1258
  validRules: u,
1259
1259
  chooseFileChange: b,
1260
1260
  sourceTypeChange: g,
1261
- cancelResourceList: h,
1261
+ cancelResourceList: _,
1262
1262
  getSourceList: y,
1263
1263
  copySourceLink: I,
1264
1264
  selectSource: j,
@@ -1317,7 +1317,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1317
1317
  validRules: u,
1318
1318
  chooseFileChange: b,
1319
1319
  sourceTypeChange: g,
1320
- cancelResourceList: h,
1320
+ cancelResourceList: _,
1321
1321
  getSourceList: y,
1322
1322
  copySourceLink: I,
1323
1323
  selectSource: j,
@@ -1369,7 +1369,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1369
1369
  validRules: u,
1370
1370
  chooseFileChange: b,
1371
1371
  sourceTypeChange: g,
1372
- cancelResourceList: h,
1372
+ cancelResourceList: _,
1373
1373
  getSourceList: y,
1374
1374
  copySourceLink: I,
1375
1375
  selectSource: j,
@@ -1440,7 +1440,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1440
1440
  validRules: u,
1441
1441
  chooseFileChange: b,
1442
1442
  sourceTypeChange: g,
1443
- cancelResourceList: h,
1443
+ cancelResourceList: _,
1444
1444
  getSourceList: y,
1445
1445
  copySourceLink: I,
1446
1446
  selectSource: j,
@@ -1518,7 +1518,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1518
1518
  validRules: u,
1519
1519
  chooseFileChange: b,
1520
1520
  sourceTypeChange: g,
1521
- cancelResourceList: h,
1521
+ cancelResourceList: _,
1522
1522
  getSourceList: y,
1523
1523
  copySourceLink: I,
1524
1524
  selectSource: j,
@@ -1570,7 +1570,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1570
1570
  validRules: u,
1571
1571
  chooseFileChange: b,
1572
1572
  sourceTypeChange: g,
1573
- cancelResourceList: h,
1573
+ cancelResourceList: _,
1574
1574
  getSourceList: y,
1575
1575
  copySourceLink: I,
1576
1576
  selectSource: j,
@@ -1629,7 +1629,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1629
1629
  validRules: u,
1630
1630
  chooseFileChange: b,
1631
1631
  sourceTypeChange: g,
1632
- cancelResourceList: h,
1632
+ cancelResourceList: _,
1633
1633
  getSourceList: y,
1634
1634
  copySourceLink: I,
1635
1635
  selectSource: j,
@@ -1685,7 +1685,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1685
1685
  validRules: u,
1686
1686
  chooseFileChange: b,
1687
1687
  sourceTypeChange: g,
1688
- cancelResourceList: h,
1688
+ cancelResourceList: _,
1689
1689
  getSourceList: y,
1690
1690
  copySourceLink: I,
1691
1691
  selectSource: j,
@@ -1738,7 +1738,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1738
1738
  validRules: u,
1739
1739
  chooseFileChange: b,
1740
1740
  sourceTypeChange: g,
1741
- cancelResourceList: h,
1741
+ cancelResourceList: _,
1742
1742
  getSourceList: y,
1743
1743
  copySourceLink: I,
1744
1744
  selectSource: j,
@@ -1790,7 +1790,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1790
1790
  validRules: u,
1791
1791
  chooseFileChange: b,
1792
1792
  sourceTypeChange: g,
1793
- cancelResourceList: h,
1793
+ cancelResourceList: _,
1794
1794
  getSourceList: y,
1795
1795
  copySourceLink: I,
1796
1796
  selectSource: j,
@@ -1861,7 +1861,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1861
1861
  validRules: u,
1862
1862
  chooseFileChange: b,
1863
1863
  sourceTypeChange: g,
1864
- cancelResourceList: h,
1864
+ cancelResourceList: _,
1865
1865
  getSourceList: y,
1866
1866
  copySourceLink: I,
1867
1867
  selectSource: j,
@@ -1913,7 +1913,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1913
1913
  validRules: u,
1914
1914
  chooseFileChange: b,
1915
1915
  sourceTypeChange: g,
1916
- cancelResourceList: h,
1916
+ cancelResourceList: _,
1917
1917
  getSourceList: y,
1918
1918
  copySourceLink: I,
1919
1919
  selectSource: j,
@@ -1961,7 +1961,7 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1961
1961
  validRules: u,
1962
1962
  chooseFileChange: b,
1963
1963
  sourceTypeChange: g,
1964
- cancelResourceList: h,
1964
+ cancelResourceList: _,
1965
1965
  copySourceLink: I,
1966
1966
  selectSource: j,
1967
1967
  deleteSource: X,
@@ -1975,9 +1975,9 @@ const vt = /* @__PURE__ */ mt(yt), re = (s) => {
1975
1975
  cancelAddSource: te
1976
1976
  };
1977
1977
  }
1978
- }, _t = { class: "resource-list-content" }, bt = { class: "action-wrap" }, Ct = { class: "batch-action" }, St = { class: "source-list-wrap" }, xt = { class: "source-image-wrap" }, wt = ["src"], Rt = { class: "source-action" }, Lt = { class: "actions" }, kt = ["onClick"], Et = ["onClick"], At = { class: "action-popover" }, Tt = { class: "source-name-wrap" }, Dt = ["title"], Pt = { class: "resource-action" }, It = { key: 0 }, Ut = { key: 0 };
1978
+ }, ht = { class: "resource-list-content" }, bt = { class: "action-wrap" }, Ct = { class: "batch-action" }, St = { class: "source-list-wrap" }, xt = { class: "source-image-wrap" }, wt = ["src"], Rt = { class: "source-action" }, Lt = { class: "actions" }, kt = ["onClick"], Et = ["onClick"], At = { class: "action-popover" }, Tt = { class: "source-name-wrap" }, Dt = ["title"], Pt = { class: "resource-action" }, It = { key: 0 }, Ut = { key: 0 };
1979
1979
  function Mt(s, n, v, t, m, c) {
1980
- const r = G("svg-button"), e = G("svg-icon"), o = G("tiny-button"), a = G("tiny-divider"), i = G("tiny-checkbox"), l = G("tiny-popover"), u = G("tiny-icon-popup"), b = G("search-empty"), g = G("plugin-setting"), h = G("tiny-alert"), y = G("tiny-file-upload"), I = G("tiny-input"), j = G("tiny-grid-column"), X = G("tiny-grid"), J = G("tiny-dialog-box");
1980
+ const r = G("svg-button"), e = G("svg-icon"), o = G("tiny-button"), a = G("tiny-divider"), i = G("tiny-checkbox"), l = G("tiny-popover"), u = G("tiny-icon-popup"), b = G("search-empty"), g = G("plugin-setting"), _ = G("tiny-alert"), y = G("tiny-file-upload"), I = G("tiny-input"), j = G("tiny-grid-column"), X = G("tiny-grid"), J = G("tiny-dialog-box");
1981
1981
  return ae(), be(Ie, null, [
1982
1982
  t.isShow ? (ae(), Ce(g, {
1983
1983
  key: 0,
@@ -1986,19 +1986,19 @@ function Mt(s, n, v, t, m, c) {
1986
1986
  title: t.state.title
1987
1987
  }, {
1988
1988
  header: k(() => [
1989
- _(r, {
1989
+ h(r, {
1990
1990
  name: "close",
1991
1991
  onClick: t.cancelResourceList
1992
1992
  }, null, 8, ["onClick"])
1993
1993
  ]),
1994
1994
  content: k(() => [
1995
- z("div", _t, [
1996
- _(o, {
1995
+ z("div", ht, [
1996
+ h(o, {
1997
1997
  round: "",
1998
1998
  onClick: t.openAddSourceForm
1999
1999
  }, {
2000
2000
  default: k(() => [
2001
- _(e, { name: "add" }),
2001
+ h(e, { name: "add" }),
2002
2002
  n[4] || (n[4] = ye("添加资源", -1))
2003
2003
  ]),
2004
2004
  _: 1
@@ -2010,7 +2010,7 @@ function Mt(s, n, v, t, m, c) {
2010
2010
  class: Ge([{ "resource-type-active": t.sourceType === "all" }]),
2011
2011
  onClick: n[0] || (n[0] = (d) => t.sourceTypeChange("all"))
2012
2012
  }, "全部", 2),
2013
- _(a, { direction: "vertical" }),
2013
+ h(a, { direction: "vertical" }),
2014
2014
  z("span", {
2015
2015
  class: Ge([{ "resource-type-active": t.sourceType === "image" }]),
2016
2016
  onClick: n[1] || (n[1] = (d) => t.sourceTypeChange("image"))
@@ -2023,12 +2023,12 @@ function Mt(s, n, v, t, m, c) {
2023
2023
  onClick: t.batchDeleteSource
2024
2024
  }, {
2025
2025
  default: k(() => [
2026
- _(e, { name: "delete" }),
2026
+ h(e, { name: "delete" }),
2027
2027
  n[5] || (n[5] = z("span", null, "删除", -1))
2028
2028
  ]),
2029
2029
  _: 1
2030
2030
  }, 8, ["onClick"])) : Pe("", !0),
2031
- _(o, {
2031
+ h(o, {
2032
2032
  onClick: n[2] || (n[2] = (d) => t.enableBatchAction = !t.enableBatchAction),
2033
2033
  class: "action-item"
2034
2034
  }, {
@@ -2054,7 +2054,7 @@ function Mt(s, n, v, t, m, c) {
2054
2054
  onChange: (U) => t.selectSource(U, d)
2055
2055
  }, null, 8, ["onChange"])) : Pe("", !0),
2056
2056
  z("div", Rt, [
2057
- _(l, {
2057
+ h(l, {
2058
2058
  placement: "bottom",
2059
2059
  "visible-arrow": !1,
2060
2060
  offset: -18,
@@ -2062,12 +2062,12 @@ function Mt(s, n, v, t, m, c) {
2062
2062
  }, {
2063
2063
  reference: k(() => [
2064
2064
  z("div", At, [
2065
- _(u)
2065
+ h(u)
2066
2066
  ])
2067
2067
  ]),
2068
2068
  default: k(() => [
2069
2069
  z("div", Lt, [
2070
- _(l, {
2070
+ h(l, {
2071
2071
  placement: "bottom",
2072
2072
  "visible-arrow": !1,
2073
2073
  trigger: "manual",
@@ -2098,21 +2098,21 @@ function Mt(s, n, v, t, m, c) {
2098
2098
  ]))), 128))
2099
2099
  ])
2100
2100
  ]),
2101
- _(b, {
2101
+ h(b, {
2102
2102
  isShow: !t.state.sourceList.length
2103
2103
  }, null, 8, ["isShow"])
2104
2104
  ]),
2105
2105
  _: 1
2106
2106
  }, 8, ["fixed-name", "align", "title"])) : Pe("", !0),
2107
2107
  (ae(), Ce(Ze, { to: "body" }, [
2108
- _(J, {
2108
+ h(J, {
2109
2109
  visible: t.enableUrlForm,
2110
2110
  "onUpdate:visible": n[3] || (n[3] = (d) => t.enableUrlForm = d),
2111
2111
  title: "添加资源",
2112
2112
  width: "700px"
2113
2113
  }, {
2114
2114
  footer: k(() => [
2115
- _(o, {
2115
+ h(o, {
2116
2116
  type: "primary",
2117
2117
  size: "mini",
2118
2118
  class: "text-button",
@@ -2124,7 +2124,7 @@ function Mt(s, n, v, t, m, c) {
2124
2124
  ])]),
2125
2125
  _: 1
2126
2126
  }, 8, ["onClick"]),
2127
- _(o, {
2127
+ h(o, {
2128
2128
  size: "mini",
2129
2129
  onClick: t.cancelAddSource,
2130
2130
  round: ""
@@ -2136,12 +2136,12 @@ function Mt(s, n, v, t, m, c) {
2136
2136
  }, 8, ["onClick"])
2137
2137
  ]),
2138
2138
  default: k(() => [
2139
- _(h, {
2139
+ h(_, {
2140
2140
  closable: !1,
2141
2141
  description: "资源名称只能包含中文、英文、数字、下划线、中划线、=、+、()、{}、[]等字符,且以文件后缀名为结尾"
2142
2142
  }),
2143
2143
  z("div", Pt, [
2144
- _(y, {
2144
+ h(y, {
2145
2145
  accept: ".png, .jpg, .jpeg, .svg",
2146
2146
  action: "#",
2147
2147
  multiple: !0,
@@ -2150,9 +2150,9 @@ function Mt(s, n, v, t, m, c) {
2150
2150
  onChange: t.chooseFileChange
2151
2151
  }, {
2152
2152
  trigger: k(() => [
2153
- _(o, { round: "" }, {
2153
+ h(o, { round: "" }, {
2154
2154
  default: k(() => [
2155
- _(e, { name: "add" }),
2155
+ h(e, { name: "add" }),
2156
2156
  n[8] || (n[8] = ye("上传资源", -1))
2157
2157
  ]),
2158
2158
  _: 1
@@ -2160,18 +2160,18 @@ function Mt(s, n, v, t, m, c) {
2160
2160
  ]),
2161
2161
  _: 1
2162
2162
  }, 8, ["onChange"]),
2163
- _(o, {
2163
+ h(o, {
2164
2164
  round: "",
2165
2165
  onClick: t.addSourceGridRow
2166
2166
  }, {
2167
2167
  default: k(() => [
2168
- _(e, { name: "edit" }),
2168
+ h(e, { name: "edit" }),
2169
2169
  n[9] || (n[9] = ye("通过URL添加", -1))
2170
2170
  ]),
2171
2171
  _: 1
2172
2172
  }, 8, ["onClick"])
2173
2173
  ]),
2174
- _(X, {
2174
+ h(X, {
2175
2175
  ref: "addSourceGridRef",
2176
2176
  data: t.addSourceData,
2177
2177
  "show-overflow": "tooltip",
@@ -2180,7 +2180,7 @@ function Mt(s, n, v, t, m, c) {
2180
2180
  "edit-rules": t.validRules
2181
2181
  }, {
2182
2182
  default: k(() => [
2183
- _(j, {
2183
+ h(j, {
2184
2184
  field: "name",
2185
2185
  title: "资源名称",
2186
2186
  width: "170",
@@ -2198,7 +2198,7 @@ function Mt(s, n, v, t, m, c) {
2198
2198
  ]),
2199
2199
  _: 1
2200
2200
  }),
2201
- _(j, {
2201
+ h(j, {
2202
2202
  field: "resourceUrl",
2203
2203
  title: "资源URL",
2204
2204
  width: "170",
@@ -2216,14 +2216,14 @@ function Mt(s, n, v, t, m, c) {
2216
2216
  ]),
2217
2217
  _: 1
2218
2218
  }),
2219
- _(j, {
2219
+ h(j, {
2220
2220
  field: "description",
2221
2221
  title: "描述",
2222
2222
  "show-icon": !1,
2223
2223
  editor: {}
2224
2224
  }, {
2225
2225
  edit: k((d) => [
2226
- _(I, {
2226
+ h(I, {
2227
2227
  modelValue: d.row.description,
2228
2228
  "onUpdate:modelValue": (U) => d.row.description = U,
2229
2229
  placeholder: "请输入资源描述"
@@ -2231,13 +2231,13 @@ function Mt(s, n, v, t, m, c) {
2231
2231
  ]),
2232
2232
  _: 1
2233
2233
  }),
2234
- _(j, {
2234
+ h(j, {
2235
2235
  title: "操作",
2236
2236
  width: "100"
2237
2237
  }, {
2238
2238
  default: k((d) => [
2239
2239
  s.$refs.addSourceGridRef && s.$refs.addSourceGridRef.hasActiveRow(d.row) ? (ae(), be(Ie, { key: 0 }, [
2240
- _(o, {
2240
+ h(o, {
2241
2241
  type: "text",
2242
2242
  onClick: (U) => t.saveRowEvent(d.row)
2243
2243
  }, {
@@ -2246,7 +2246,7 @@ function Mt(s, n, v, t, m, c) {
2246
2246
  ])]),
2247
2247
  _: 1
2248
2248
  }, 8, ["onClick"]),
2249
- _(o, {
2249
+ h(o, {
2250
2250
  type: "text",
2251
2251
  onClick: (U) => t.cancelRowEvent(d)
2252
2252
  }, {
@@ -2277,13 +2277,13 @@ function Mt(s, n, v, t, m, c) {
2277
2277
  ]))
2278
2278
  ], 64);
2279
2279
  }
2280
- const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d2"]]), Gt = {
2280
+ const he = /* @__PURE__ */ Ve(_t, [["render", Mt], ["__scopeId", "data-v-9b8ef5d2"]]), Gt = {
2281
2281
  components: {
2282
2282
  PluginPanel: ve,
2283
2283
  SvgButton: P,
2284
2284
  SearchEmpty: V,
2285
- ResourceSetting: he,
2286
- ResourceList: _e
2285
+ ResourceSetting: _e,
2286
+ ResourceList: he
2287
2287
  },
2288
2288
  props: {
2289
2289
  title: {
@@ -2328,10 +2328,10 @@ const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d
2328
2328
  PluginPanel: ve,
2329
2329
  SvgButton: P,
2330
2330
  SearchEmpty: V,
2331
- ResourceSetting: he,
2331
+ ResourceSetting: _e,
2332
2332
  openResourceSettingPanel: ue,
2333
2333
  closeResourceSettingPanel: se,
2334
- ResourceList: _e,
2334
+ ResourceList: he,
2335
2335
  openResourceListPanel: B,
2336
2336
  closeResourceListPanel: N,
2337
2337
  fetchResourceGroupByAppId: ce
@@ -2362,10 +2362,10 @@ const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d
2362
2362
  PluginPanel: ve,
2363
2363
  SvgButton: P,
2364
2364
  SearchEmpty: V,
2365
- ResourceSetting: he,
2365
+ ResourceSetting: _e,
2366
2366
  openResourceSettingPanel: ue,
2367
2367
  closeResourceSettingPanel: se,
2368
- ResourceList: _e,
2368
+ ResourceList: he,
2369
2369
  openResourceListPanel: B,
2370
2370
  closeResourceListPanel: N,
2371
2371
  fetchResourceGroupByAppId: ce
@@ -2394,10 +2394,10 @@ const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d
2394
2394
  PluginPanel: ve,
2395
2395
  SvgButton: P,
2396
2396
  SearchEmpty: V,
2397
- ResourceSetting: he,
2397
+ ResourceSetting: _e,
2398
2398
  openResourceSettingPanel: ue,
2399
2399
  closeResourceSettingPanel: se,
2400
- ResourceList: _e,
2400
+ ResourceList: he,
2401
2401
  openResourceListPanel: B,
2402
2402
  closeResourceListPanel: N,
2403
2403
  fetchResourceGroupByAppId: ce
@@ -2433,10 +2433,10 @@ const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d
2433
2433
  PluginPanel: ve,
2434
2434
  SvgButton: P,
2435
2435
  SearchEmpty: V,
2436
- ResourceSetting: he,
2436
+ ResourceSetting: _e,
2437
2437
  openResourceSettingPanel: ue,
2438
2438
  closeResourceSettingPanel: se,
2439
- ResourceList: _e,
2439
+ ResourceList: he,
2440
2440
  openResourceListPanel: B,
2441
2441
  closeResourceListPanel: N,
2442
2442
  fetchResourceGroupByAppId: ce
@@ -2465,10 +2465,10 @@ const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d
2465
2465
  PluginPanel: ve,
2466
2466
  SvgButton: P,
2467
2467
  SearchEmpty: V,
2468
- ResourceSetting: he,
2468
+ ResourceSetting: _e,
2469
2469
  openResourceSettingPanel: ue,
2470
2470
  closeResourceSettingPanel: se,
2471
- ResourceList: _e,
2471
+ ResourceList: he,
2472
2472
  openResourceListPanel: B,
2473
2473
  closeResourceListPanel: N,
2474
2474
  fetchResourceGroupByAppId: ce
@@ -2497,10 +2497,10 @@ const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d
2497
2497
  PluginPanel: ve,
2498
2498
  SvgButton: P,
2499
2499
  SearchEmpty: V,
2500
- ResourceSetting: he,
2500
+ ResourceSetting: _e,
2501
2501
  openResourceSettingPanel: ue,
2502
2502
  closeResourceSettingPanel: se,
2503
- ResourceList: _e,
2503
+ ResourceList: he,
2504
2504
  openResourceListPanel: B,
2505
2505
  closeResourceListPanel: N,
2506
2506
  fetchResourceGroupByAppId: ce
@@ -2530,10 +2530,10 @@ const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d
2530
2530
  PluginPanel: ve,
2531
2531
  SvgButton: P,
2532
2532
  SearchEmpty: V,
2533
- ResourceSetting: he,
2533
+ ResourceSetting: _e,
2534
2534
  openResourceSettingPanel: ue,
2535
2535
  closeResourceSettingPanel: se,
2536
- ResourceList: _e,
2536
+ ResourceList: he,
2537
2537
  openResourceListPanel: B,
2538
2538
  closeResourceListPanel: N,
2539
2539
  fetchResourceGroupByAppId: ce
@@ -2563,10 +2563,10 @@ const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d
2563
2563
  PluginPanel: ve,
2564
2564
  SvgButton: P,
2565
2565
  SearchEmpty: V,
2566
- ResourceSetting: he,
2566
+ ResourceSetting: _e,
2567
2567
  openResourceSettingPanel: ue,
2568
2568
  closeResourceSettingPanel: se,
2569
- ResourceList: _e,
2569
+ ResourceList: he,
2570
2570
  openResourceListPanel: B,
2571
2571
  closeResourceListPanel: N,
2572
2572
  fetchResourceGroupByAppId: ce
@@ -2581,11 +2581,11 @@ const _e = /* @__PURE__ */ Ve(ht, [["render", Mt], ["__scopeId", "data-v-9b8ef5d
2581
2581
  refreshCategory: i
2582
2582
  };
2583
2583
  }
2584
- }, Nt = { class: "plugin-resource" }, Vt = { class: "resource-list" }, Ft = ["onClick"];
2585
- function Ot(s, n, v, t, m, c) {
2584
+ }, Nt = { class: "plugin-resource" }, Vt = { class: "resource-list" }, Ft = ["onClick"], Ot = { class: "resource-item-content" };
2585
+ function Bt(s, n, v, t, m, c) {
2586
2586
  const r = G("svg-button"), e = G("svg-icon"), o = G("search-empty"), a = G("plugin-panel"), i = G("resource-setting"), l = G("resource-list");
2587
2587
  return ae(), be("div", Nt, [
2588
- _(a, {
2588
+ h(a, {
2589
2589
  title: v.title,
2590
2590
  "fixed-name": t.PLUGIN_NAME.Resource,
2591
2591
  fixedPanels: v.fixedPanels,
@@ -2594,7 +2594,7 @@ function Ot(s, n, v, t, m, c) {
2594
2594
  isShowDocsIcon: !0
2595
2595
  }, {
2596
2596
  header: k(() => [
2597
- _(r, {
2597
+ h(r, {
2598
2598
  class: "add-folder-icon",
2599
2599
  name: "add-folder",
2600
2600
  placement: "bottom",
@@ -2611,33 +2611,33 @@ function Ot(s, n, v, t, m, c) {
2611
2611
  class: Ge(["resource-item", { "active-item": b.active }]),
2612
2612
  onClick: (g) => t.openResourceList(b)
2613
2613
  }, [
2614
- z("span", null, [
2615
- _(e, { name: "plugin-icon-resource" }),
2614
+ z("span", Ot, [
2615
+ h(e, { name: "plugin-icon-resource" }),
2616
2616
  z("span", null, Ne(b.name), 1)
2617
2617
  ]),
2618
- _(e, {
2618
+ h(e, {
2619
2619
  name: "setting",
2620
2620
  class: "item-setting",
2621
2621
  onClick: We((g) => t.openCategoryForm(b), ["stop"])
2622
2622
  }, null, 8, ["onClick"])
2623
2623
  ], 10, Ft))), 128))
2624
2624
  ]),
2625
- _(o, {
2625
+ h(o, {
2626
2626
  isShow: !((u = t.resourceList) != null && u.length)
2627
2627
  }, null, 8, ["isShow"])
2628
2628
  ];
2629
2629
  }),
2630
2630
  _: 1
2631
2631
  }, 8, ["title", "fixed-name", "fixedPanels", "onClose", "docsContent"]),
2632
- _(i, { onRefreshCategory: t.refreshCategory }, null, 8, ["onRefreshCategory"]),
2633
- _(l)
2632
+ h(i, { onRefreshCategory: t.refreshCategory }, null, 8, ["onRefreshCategory"]),
2633
+ h(l)
2634
2634
  ]);
2635
2635
  }
2636
- const Bt = /* @__PURE__ */ Ve(Gt, [["render", Ot], ["__scopeId", "data-v-62c9d32e"]]), Zt = {
2636
+ const jt = /* @__PURE__ */ Ve(Gt, [["render", Bt], ["__scopeId", "data-v-ca5a4fe3"]]), Kt = {
2637
2637
  ...He,
2638
- entry: Bt
2638
+ entry: jt
2639
2639
  };
2640
2640
  export {
2641
- Zt as default
2641
+ Kt as default
2642
2642
  };
2643
2643
  //# sourceMappingURL=index.js.map
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .resource-plugin-setting[data-v-86b98f69] .plugin-setting-content{padding:0 0 16px}.resource-plugin-setting[data-v-86b98f69] .tiny-collapse{border-bottom:0}.resource-setting-collapse[data-v-86b98f69] .tiny-collapse-item__header:before,.resource-setting-collapse[data-v-86b98f69] .tiny-collapse-item__header.is-active:before{border:none}.resource-setting-collapse[data-v-86b98f69] .tiny-collapse-item__header .svg-icon{margin-right:6px}.resource-setting-collapse[data-v-86b98f69] .tiny-collapse-item__content{padding:0 12px 12px}.resource-list-content[data-v-9b8ef5d2]{padding:12px;display:flex;flex-direction:column;align-items:start}.resource-list-content .resource-description[data-v-9b8ef5d2]{padding:8px 0;color:var(--te-resource-manage-tip-text-color)}.resource-list-content .action-wrap[data-v-9b8ef5d2]{width:100%;padding:16px 0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;cursor:pointer}.resource-list-content .action-wrap .resource-type-active[data-v-9b8ef5d2]{font-weight:600}.resource-list-content .action-wrap .batch-action[data-v-9b8ef5d2]{display:flex;gap:12px}.resource-list-content .action-wrap .batch-action .action-item[data-v-9b8ef5d2]{display:flex;gap:4px;align-items:center}.resource-list-content .source-list-wrap[data-v-9b8ef5d2]{display:flex;flex-wrap:wrap;gap:16px}.resource-list-content .source-list-wrap .source-list-item[data-v-9b8ef5d2]{display:flex;flex-direction:column;gap:12px}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap[data-v-9b8ef5d2]{width:185px;height:120px;background-color:var(--te-resource-manage-draggable-row-bg-color-hover);transition:unset;position:relative}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap img[data-v-9b8ef5d2]{width:100%;height:100%;object-fit:contain}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .tiny-checkbox[data-v-9b8ef5d2]{position:absolute;left:8px;top:8px}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-name-wrap[data-v-9b8ef5d2]{display:none;height:28px;position:absolute;background:linear-gradient(to top,#0006,#0000);left:0;right:0;bottom:0;text-align:left;line-height:28px;width:185px;color:var(--te-resource-manage-button-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-name-wrap span[data-v-9b8ef5d2]{padding:0 6px}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-action[data-v-9b8ef5d2]{display:none;position:absolute;right:8px;top:8px}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-action .action-popover[data-v-9b8ef5d2]{width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:4px;background-color:#0003}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-action .action-popover svg[data-v-9b8ef5d2]{fill:var(--te-resource-manage-button-text-color)}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap:hover .source-name-wrap[data-v-9b8ef5d2],.resource-list-content .source-list-wrap .source-list-item .source-image-wrap:hover .source-action[data-v-9b8ef5d2]{display:block}[data-v-9b8ef5d2] .tiny-button.tiny-button.tiny-button--text{padding:0}.actions[data-v-9b8ef5d2]{display:flex;flex-direction:column;gap:4px}.actions span[data-v-9b8ef5d2]{cursor:pointer}.resource-action[data-v-9b8ef5d2]{display:flex;gap:8px;margin-bottom:16px}.resource-list[data-v-62c9d32e]{margin:8px 0}.resource-list .resource-item[data-v-62c9d32e]{padding:0 16px;height:32px;line-height:32px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.resource-list .resource-item .item-setting[data-v-62c9d32e]{display:none}.resource-list .resource-item .svg-icon[data-v-62c9d32e]{color:var(--te-resource-manage-draggable-icon-color);margin-right:4px}.resource-list .resource-item[data-v-62c9d32e]:hover{background-color:var(--te-resource-manage-draggable-row-bg-color-hover);color:var(--te-resource-manage-draggable-text-color)}.resource-list .resource-item:hover .item-setting[data-v-62c9d32e]{display:inline}.resource-list .active-item[data-v-62c9d32e]{background-color:var(--te-resource-manage-draggable-row-bg-color-hover);color:var(--te-resource-manage-draggable-text-color);font-weight:600}.plugin-resource[data-v-62c9d32e]{width:100%}.plugin-resource{--te-resource-manage-title-text-color: var(--te-common-text-primary);--te-resource-manage-button-text-color: var(--te-common-text-inverse);--te-resource-manage-input-bg-color: var(--te-common-bg-default);--te-resource-manage-input-border-color: var(--te-common-border-default);--te-resource-manage-tip-color: var(--te-common-text-primary);--te-resource-manage-tip-text-color: var(--te-common-text-weaken);--te-resource-manage-tip-dim-text-color: var(--te-common-text-primary);--te-resource-manage-tree-text-bg-color: var(--te-common-bg-default);--te-resource-manage-tree-node-bg-color: var(--te-common-bg-default);--te-resource-manage-tree-node-bg-color-hover: var(--te-common-bg-container);--te-resource-manage-text-color: var(--te-common-text-secondary);--te-resource-manage-input-head-text-color: var(--te-common-text-primary);--te-resource-manage-input-or-output-text-color: var(--te-common-text-secondary);--te-resource-manage-life-cycle-alert-text-color: var(--te-common-text-weaken);--te-resource-manage-icon-color: var(--te-common-icon-secondary);--te-resource-manage-draggable-row-bg-color-hover: var(--te-common-bg-container);--te-resource-manage-draggable-text-color: var(--te-common-text-primary);--te-resource-manage-draggable-icon-color: var(--te-common-icon-secondary);--te-resource-manage-draggable-border-color: var(--te-common-border-checked)}
1
+ .resource-plugin-setting[data-v-86b98f69] .plugin-setting-content{padding:0 0 16px}.resource-plugin-setting[data-v-86b98f69] .tiny-collapse{border-bottom:0}.resource-setting-collapse[data-v-86b98f69] .tiny-collapse-item__header:before,.resource-setting-collapse[data-v-86b98f69] .tiny-collapse-item__header.is-active:before{border:none}.resource-setting-collapse[data-v-86b98f69] .tiny-collapse-item__header .svg-icon{margin-right:6px}.resource-setting-collapse[data-v-86b98f69] .tiny-collapse-item__content{padding:0 12px 12px}.resource-list-content[data-v-9b8ef5d2]{padding:12px;display:flex;flex-direction:column;align-items:start}.resource-list-content .resource-description[data-v-9b8ef5d2]{padding:8px 0;color:var(--te-resource-manage-tip-text-color)}.resource-list-content .action-wrap[data-v-9b8ef5d2]{width:100%;padding:16px 0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;cursor:pointer}.resource-list-content .action-wrap .resource-type-active[data-v-9b8ef5d2]{font-weight:600}.resource-list-content .action-wrap .batch-action[data-v-9b8ef5d2]{display:flex;gap:12px}.resource-list-content .action-wrap .batch-action .action-item[data-v-9b8ef5d2]{display:flex;gap:4px;align-items:center}.resource-list-content .source-list-wrap[data-v-9b8ef5d2]{display:flex;flex-wrap:wrap;gap:16px}.resource-list-content .source-list-wrap .source-list-item[data-v-9b8ef5d2]{display:flex;flex-direction:column;gap:12px}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap[data-v-9b8ef5d2]{width:185px;height:120px;background-color:var(--te-resource-manage-draggable-row-bg-color-hover);transition:unset;position:relative}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap img[data-v-9b8ef5d2]{width:100%;height:100%;object-fit:contain}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .tiny-checkbox[data-v-9b8ef5d2]{position:absolute;left:8px;top:8px}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-name-wrap[data-v-9b8ef5d2]{display:none;height:28px;position:absolute;background:linear-gradient(to top,#0006,#0000);left:0;right:0;bottom:0;text-align:left;line-height:28px;width:185px;color:var(--te-resource-manage-button-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-name-wrap span[data-v-9b8ef5d2]{padding:0 6px}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-action[data-v-9b8ef5d2]{display:none;position:absolute;right:8px;top:8px}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-action .action-popover[data-v-9b8ef5d2]{width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:4px;background-color:#0003}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap .source-action .action-popover svg[data-v-9b8ef5d2]{fill:var(--te-resource-manage-button-text-color)}.resource-list-content .source-list-wrap .source-list-item .source-image-wrap:hover .source-name-wrap[data-v-9b8ef5d2],.resource-list-content .source-list-wrap .source-list-item .source-image-wrap:hover .source-action[data-v-9b8ef5d2]{display:block}[data-v-9b8ef5d2] .tiny-button.tiny-button.tiny-button--text{padding:0}.actions[data-v-9b8ef5d2]{display:flex;flex-direction:column;gap:4px}.actions span[data-v-9b8ef5d2]{cursor:pointer}.resource-action[data-v-9b8ef5d2]{display:flex;gap:8px;margin-bottom:16px}.resource-list[data-v-ca5a4fe3]{margin:8px 0}.resource-list .resource-item[data-v-ca5a4fe3]{padding:0 16px;height:32px;line-height:32px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.resource-list .resource-item .item-setting[data-v-ca5a4fe3]{display:none}.resource-list .resource-item .svg-icon[data-v-ca5a4fe3]{color:var(--te-resource-manage-draggable-icon-color);margin-right:4px}.resource-list .resource-item[data-v-ca5a4fe3]:hover{background-color:var(--te-resource-manage-draggable-row-bg-color-hover);color:var(--te-resource-manage-draggable-text-color)}.resource-list .resource-item:hover .item-setting[data-v-ca5a4fe3]{display:inline}.resource-list .resource-item .resource-item-content[data-v-ca5a4fe3]{display:flex;align-items:center}.resource-list .resource-item .resource-item-content .svg-icon[data-v-ca5a4fe3]{margin-right:8px}.resource-list .active-item[data-v-ca5a4fe3]{background-color:var(--te-resource-manage-draggable-row-bg-color-hover);color:var(--te-resource-manage-draggable-text-color);font-weight:600}.plugin-resource[data-v-ca5a4fe3]{width:100%;height:100%}.plugin-resource{--te-resource-manage-title-text-color: var(--te-common-text-primary);--te-resource-manage-button-text-color: var(--te-common-text-inverse);--te-resource-manage-input-bg-color: var(--te-common-bg-default);--te-resource-manage-input-border-color: var(--te-common-border-default);--te-resource-manage-tip-color: var(--te-common-text-primary);--te-resource-manage-tip-text-color: var(--te-common-text-weaken);--te-resource-manage-tip-dim-text-color: var(--te-common-text-primary);--te-resource-manage-tree-text-bg-color: var(--te-common-bg-default);--te-resource-manage-tree-node-bg-color: var(--te-common-bg-default);--te-resource-manage-tree-node-bg-color-hover: var(--te-common-bg-container);--te-resource-manage-text-color: var(--te-common-text-secondary);--te-resource-manage-input-head-text-color: var(--te-common-text-primary);--te-resource-manage-input-or-output-text-color: var(--te-common-text-secondary);--te-resource-manage-life-cycle-alert-text-color: var(--te-common-text-weaken);--te-resource-manage-icon-color: var(--te-common-icon-secondary);--te-resource-manage-draggable-row-bg-color-hover: var(--te-common-bg-container);--te-resource-manage-draggable-text-color: var(--te-common-text-primary);--te-resource-manage-draggable-icon-color: var(--te-common-icon-secondary);--te-resource-manage-draggable-border-color: var(--te-common-border-checked)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/tiny-engine-plugin-resource",
3
- "version": "2.10.0-alpha.0",
3
+ "version": "2.10.0-alpha.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -25,12 +25,12 @@
25
25
  "license": "MIT",
26
26
  "homepage": "https://opentiny.design/tiny-engine",
27
27
  "dependencies": {
28
- "@opentiny/tiny-engine-common": "2.10.0-alpha.0",
29
- "@opentiny/tiny-engine-meta-register": "2.10.0-alpha.0",
28
+ "@opentiny/tiny-engine-common": "2.10.0-alpha.2",
29
+ "@opentiny/tiny-engine-meta-register": "2.10.0-alpha.2",
30
30
  "vue-clipboard3": "^2.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.10.0-alpha.0",
33
+ "@opentiny/tiny-engine-vite-plugin-meta-comments": "2.10.0-alpha.2",
34
34
  "@vitejs/plugin-vue": "^5.1.2",
35
35
  "@vitejs/plugin-vue-jsx": "^4.0.1",
36
36
  "vite": "^5.4.2"
@@ -40,5 +40,5 @@
40
40
  "@opentiny/vue-icon": "^3.20.0",
41
41
  "vue": "^3.4.15"
42
42
  },
43
- "gitHead": "a81826673b40373aadb288708fbf7bbd8a197550"
43
+ "gitHead": "0979d4024082b34eb90bef512479866d425e63e1"
44
44
  }