@ecan-bi/datav 1.0.67 → 1.0.68
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.es.js +4 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/types/_utils/hooks/useEmitEvent.d.ts +4 -3
- package/types/container/border/Border.vue.d.ts +294 -137
- package/types/container/border/index.d.ts +226 -68
- package/types/container/border/props.d.ts +116 -34
- package/types/container/tabs/Tabs.vue.d.ts +14 -0
- package/types/container/tabs/index.d.ts +14 -0
- package/types/container/tabs/props.d.ts +8 -0
- package/types/control/button/Button.vue.d.ts +120 -121
- package/types/control/date-picker/DatePicker.vue.d.ts +104 -105
- package/types/control/range-picker/RangePicker.vue.d.ts +104 -105
- package/types/control/select/Select.vue.d.ts +100 -101
- package/types/graph/bar/Bar.vue.d.ts +133 -133
- package/types/table/table/Table.vue.d.ts +168 -169
- package/types/text/list/List.vue.d.ts +128 -129
- package/types/text/proportion/Proportion.vue.d.ts +146 -147
- package/types/text/proportion/index.d.ts +2 -2
- package/types/text/text/Text.vue.d.ts +140 -141
package/dist/index.umd.js
CHANGED
|
@@ -3708,18 +3708,19 @@
|
|
|
3708
3708
|
const style2 = usePickComponentStyle(props2);
|
|
3709
3709
|
const emitEvent = useEmitEvent(props2);
|
|
3710
3710
|
const click = emitEvent("click", () => {
|
|
3711
|
+
const url = vue.unref(myHref);
|
|
3711
3712
|
if (props2.target === "event") {
|
|
3712
3713
|
window.parent.postMessage({
|
|
3713
3714
|
type: "openPage",
|
|
3714
|
-
url
|
|
3715
|
+
url
|
|
3715
3716
|
}, "*");
|
|
3716
3717
|
}
|
|
3717
3718
|
});
|
|
3718
3719
|
const myText = vue.computed(() => useVariablesInText(props2.text));
|
|
3719
|
-
const myHref = vue.computed(() => useVariablesInText(props2.href));
|
|
3720
|
+
const myHref = vue.computed(() => useVariablesInText(props2.href) || null);
|
|
3720
3721
|
const myTarget = vue.computed(() => {
|
|
3721
3722
|
const target = props2.target;
|
|
3722
|
-
if (target === "event") {
|
|
3723
|
+
if (target === "event" || vue.unref(myHref) == null) {
|
|
3723
3724
|
return void 0;
|
|
3724
3725
|
} else {
|
|
3725
3726
|
const map = {
|