@iankibetsh/shframework 1.7.0 → 1.7.1
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/library.js +2 -1
- package/dist/library.mjs +2 -1
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -4630,10 +4630,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4630
4630
|
(typeof key === 'string' && $props.links && $props.links[key])
|
|
4631
4631
|
? (vue.openBlock(), vue.createBlock(_component_router_link, {
|
|
4632
4632
|
key: 0,
|
|
4633
|
+
target: $props.links[key].target ? '_blank':'',
|
|
4633
4634
|
to: $options.replaceLinkUrl($props.links[key],record),
|
|
4634
4635
|
class: vue.normalizeClass($options.getLinkClass($props.links[key])),
|
|
4635
4636
|
innerHTML: record[key]
|
|
4636
|
-
}, null, 8 /* PROPS */, ["to", "class", "innerHTML"]))
|
|
4637
|
+
}, null, 8 /* PROPS */, ["target", "to", "class", "innerHTML"]))
|
|
4637
4638
|
: ($options.getFieldType(key) === 'numeric')
|
|
4638
4639
|
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_37, vue.toDisplayString(Intl.NumberFormat().format(record[key])), 1 /* TEXT */))
|
|
4639
4640
|
: ($options.getFieldType(key) === 'money')
|
package/dist/library.mjs
CHANGED
|
@@ -4617,10 +4617,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4617
4617
|
(typeof key === 'string' && $props.links && $props.links[key])
|
|
4618
4618
|
? (openBlock(), createBlock(_component_router_link, {
|
|
4619
4619
|
key: 0,
|
|
4620
|
+
target: $props.links[key].target ? '_blank':'',
|
|
4620
4621
|
to: $options.replaceLinkUrl($props.links[key],record),
|
|
4621
4622
|
class: normalizeClass($options.getLinkClass($props.links[key])),
|
|
4622
4623
|
innerHTML: record[key]
|
|
4623
|
-
}, null, 8 /* PROPS */, ["to", "class", "innerHTML"]))
|
|
4624
|
+
}, null, 8 /* PROPS */, ["target", "to", "class", "innerHTML"]))
|
|
4624
4625
|
: ($options.getFieldType(key) === 'numeric')
|
|
4625
4626
|
? (openBlock(), createElementBlock("span", _hoisted_37, toDisplayString(Intl.NumberFormat().format(record[key])), 1 /* TEXT */))
|
|
4626
4627
|
: ($options.getFieldType(key) === 'money')
|