ocpview-pro 0.1.25 → 0.1.26

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.
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
453
453
  common.initAnchor(ViewUI2.Anchor);
454
454
  };
455
455
  const name = "ocpview-pro";
456
- const version$2 = "0.1.24";
456
+ const version$2 = "0.1.25";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -30287,7 +30287,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
30287
30287
  size: $data.myConfig.iconSize,
30288
30288
  color: $options.iconColor
30289
30289
  }, null, 8, ["custom", "size", "color"]),
30290
- $data.myConfig.text ? (openBlock(), createElementBlock("span", _hoisted_5$j, toDisplayString$1($data.myConfig.text), 1)) : createCommentVNode("", true)
30290
+ $data.myConfig.text ? (openBlock(), createElementBlock("span", _hoisted_5$j, toDisplayString$1(_ctx.$t($data.myConfig.text)), 1)) : createCommentVNode("", true)
30291
30291
  ]),
30292
30292
  _: 1
30293
30293
  }, 8, ["style"])
@@ -30312,7 +30312,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
30312
30312
  createVNode(_component_Col, { span: "24" }, {
30313
30313
  default: withCtx(() => [
30314
30314
  createVNode(_component_ShowText, {
30315
- label: $data.myConfig.memo,
30315
+ label: _ctx.$t($data.myConfig.memo),
30316
30316
  contentAlign: "left",
30317
30317
  class: normalizeClass($data.myConfig.memoClass)
30318
30318
  }, null, 8, ["label", "class"])
@@ -31604,7 +31604,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
31604
31604
  fn: withCtx(() => [
31605
31605
  createElementVNode("span", {
31606
31606
  style: { "margin-left": "10px" },
31607
- textContent: toDisplayString$1($data.myConfig.showText)
31607
+ textContent: toDisplayString$1($data.myConfig.showText ? _ctx.$t($data.myConfig.showText) : $data.myConfig.showText)
31608
31608
  }, null, 8, _hoisted_1$_)
31609
31609
  ]),
31610
31610
  key: "0"
@@ -51818,7 +51818,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
51818
51818
  onClick: ($event) => _ctx.action(item.name)
51819
51819
  }, {
51820
51820
  default: withCtx(() => [
51821
- createTextVNode(toDisplayString$1(item.text), 1)
51821
+ createTextVNode(toDisplayString$1(_ctx.$t(item.text)), 1)
51822
51822
  ]),
51823
51823
  _: 2
51824
51824
  }, 1032, ["icon", "customIcon", "onClick"])
@@ -51850,7 +51850,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
51850
51850
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.action(_ctx.btnData[0].name))
51851
51851
  }, {
51852
51852
  default: withCtx(() => [
51853
- createTextVNode(toDisplayString$1(_ctx.btnData[0].text), 1)
51853
+ createTextVNode(toDisplayString$1(_ctx.$t(_ctx.btnData[0].text)) + "1", 1)
51854
51854
  ]),
51855
51855
  _: 1
51856
51856
  }, 8, ["icon", "customIcon"])) : createCommentVNode("", true),