@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.es.js
CHANGED
|
@@ -3702,18 +3702,19 @@ const _sfc_main$c = defineComponent({
|
|
|
3702
3702
|
const style2 = usePickComponentStyle(props2);
|
|
3703
3703
|
const emitEvent = useEmitEvent(props2);
|
|
3704
3704
|
const click = emitEvent("click", () => {
|
|
3705
|
+
const url = unref(myHref);
|
|
3705
3706
|
if (props2.target === "event") {
|
|
3706
3707
|
window.parent.postMessage({
|
|
3707
3708
|
type: "openPage",
|
|
3708
|
-
url
|
|
3709
|
+
url
|
|
3709
3710
|
}, "*");
|
|
3710
3711
|
}
|
|
3711
3712
|
});
|
|
3712
3713
|
const myText = computed(() => useVariablesInText(props2.text));
|
|
3713
|
-
const myHref = computed(() => useVariablesInText(props2.href));
|
|
3714
|
+
const myHref = computed(() => useVariablesInText(props2.href) || null);
|
|
3714
3715
|
const myTarget = computed(() => {
|
|
3715
3716
|
const target = props2.target;
|
|
3716
|
-
if (target === "event") {
|
|
3717
|
+
if (target === "event" || unref(myHref) == null) {
|
|
3717
3718
|
return void 0;
|
|
3718
3719
|
} else {
|
|
3719
3720
|
const map = {
|