greeks-live-ui 0.0.20 → 0.0.21
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.css +1 -1
- package/es/components/chart/index.d.ts +28 -28
- package/es/components/chart/src/chart.vue.d.ts +28 -28
- package/es/components/chart-panel/index.d.ts +10 -10
- package/es/components/chart-panel/src/chart-panel.vue.d.ts +10 -10
- package/es/components/demo/index.d.ts +28 -28
- package/es/components/demo/src/demo.vue.d.ts +28 -28
- package/es/hooks/use-floating/index.d.ts +8 -8
- package/es/index.mjs +19 -19
- package/es/packages/components/button1/index.mjs +2 -2
- package/es/packages/components/button1/src/button1.mjs +5 -72
- package/es/packages/components/button1/src/button1.mjs.map +1 -1
- package/es/packages/components/button1/src/button12.mjs +72 -5
- package/es/packages/components/button1/src/button12.mjs.map +1 -1
- package/es/packages/components/chart/index.mjs +2 -2
- package/es/packages/components/chart/src/chart.mjs +12 -85
- package/es/packages/components/chart/src/chart.mjs.map +1 -1
- package/es/packages/components/chart/src/chart2.mjs +85 -12
- package/es/packages/components/chart/src/chart2.mjs.map +1 -1
- package/es/packages/components/checkbox/index.mjs +2 -2
- package/es/packages/components/checkbox/src/checkbox.mjs +5 -31
- package/es/packages/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/packages/components/checkbox/src/checkbox2.mjs +31 -5
- package/es/packages/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/packages/components/icon/index.mjs +2 -2
- package/es/packages/components/icon/src/icon.mjs +15 -48
- package/es/packages/components/icon/src/icon.mjs.map +1 -1
- package/es/packages/components/icon/src/icon2.mjs +48 -15
- package/es/packages/components/icon/src/icon2.mjs.map +1 -1
- package/es/packages/components/index.mjs +19 -19
- package/es/packages/components/menu/index.mjs +2 -2
- package/es/packages/components/menu/src/menu.mjs +5 -31
- package/es/packages/components/menu/src/menu.mjs.map +1 -1
- package/es/packages/components/menu/src/menu2.mjs +31 -5
- package/es/packages/components/menu/src/menu2.mjs.map +1 -1
- package/es/packages/components/menu-item/index.mjs +2 -2
- package/es/packages/components/menu-item/src/menu-item.mjs +5 -31
- package/es/packages/components/menu-item/src/menu-item.mjs.map +1 -1
- package/es/packages/components/menu-item/src/menu-item2.mjs +31 -5
- package/es/packages/components/menu-item/src/menu-item2.mjs.map +1 -1
- package/es/packages/components/page-turner/index.mjs +2 -2
- package/es/packages/components/page-turner/src/page-turner.mjs +12 -67
- package/es/packages/components/page-turner/src/page-turner.mjs.map +1 -1
- package/es/packages/components/page-turner/src/page-turner2.mjs +67 -12
- package/es/packages/components/page-turner/src/page-turner2.mjs.map +1 -1
- package/es/packages/components/panel/index.mjs +2 -2
- package/es/packages/components/panel/src/panel.mjs +82 -5
- package/es/packages/components/panel/src/panel.mjs.map +1 -1
- package/es/packages/components/panel/src/panel2.mjs +5 -82
- package/es/packages/components/panel/src/panel2.mjs.map +1 -1
- package/es/packages/components/panel-atm-iv/index.mjs +2 -2
- package/es/packages/components/panel-atm-iv/src/panel-atm-iv.mjs +21 -886
- package/es/packages/components/panel-atm-iv/src/panel-atm-iv.mjs.map +1 -1
- package/es/packages/components/panel-atm-iv/src/panel-atm-iv2.mjs +886 -21
- package/es/packages/components/panel-atm-iv/src/panel-atm-iv2.mjs.map +1 -1
- package/es/packages/components/panel-max-pain-price/index.mjs +2 -2
- package/es/packages/components/panel-max-pain-price/src/panel-max-pain-price.mjs +288 -22
- package/es/packages/components/panel-max-pain-price/src/panel-max-pain-price.mjs.map +1 -1
- package/es/packages/components/panel-max-pain-price/src/panel-max-pain-price2.mjs +22 -288
- package/es/packages/components/panel-max-pain-price/src/panel-max-pain-price2.mjs.map +1 -1
- package/es/packages/components/panel-option-open-interest/index.mjs +2 -2
- package/es/packages/components/panel-option-open-interest/src/panel-option-open-interest.mjs +378 -22
- package/es/packages/components/panel-option-open-interest/src/panel-option-open-interest.mjs.map +1 -1
- package/es/packages/components/panel-option-open-interest/src/panel-option-open-interest2.mjs +22 -378
- package/es/packages/components/panel-option-open-interest/src/panel-option-open-interest2.mjs.map +1 -1
- package/es/packages/components/panel-option-trade-volume/index.mjs +2 -2
- package/es/packages/components/panel-option-trade-volume/src/panel-option-trade-volume.mjs +504 -22
- package/es/packages/components/panel-option-trade-volume/src/panel-option-trade-volume.mjs.map +1 -1
- package/es/packages/components/panel-option-trade-volume/src/panel-option-trade-volume2.mjs +22 -504
- package/es/packages/components/panel-option-trade-volume/src/panel-option-trade-volume2.mjs.map +1 -1
- package/es/packages/components/panel-rv/index.mjs +2 -2
- package/es/packages/components/panel-rv/src/panel-rv.mjs +22 -741
- package/es/packages/components/panel-rv/src/panel-rv.mjs.map +1 -1
- package/es/packages/components/panel-rv/src/panel-rv2.mjs +741 -22
- package/es/packages/components/panel-rv/src/panel-rv2.mjs.map +1 -1
- package/es/packages/components/panel-rv-calc/index.mjs +2 -2
- package/es/packages/components/panel-rv-calc/src/panel-rv-calc.mjs +8 -507
- package/es/packages/components/panel-rv-calc/src/panel-rv-calc.mjs.map +1 -1
- package/es/packages/components/panel-rv-calc/src/panel-rv-calc2.mjs +507 -8
- package/es/packages/components/panel-rv-calc/src/panel-rv-calc2.mjs.map +1 -1
- package/es/packages/components/panel-skew/index.mjs +2 -2
- package/es/packages/components/panel-skew/src/panel-skew.mjs +21 -672
- package/es/packages/components/panel-skew/src/panel-skew.mjs.map +1 -1
- package/es/packages/components/panel-skew/src/panel-skew2.mjs +672 -21
- package/es/packages/components/panel-skew/src/panel-skew2.mjs.map +1 -1
- package/es/packages/components/panel-vrp/index.mjs +2 -2
- package/es/packages/components/panel-vrp/src/panel-vrp.mjs +22 -413
- package/es/packages/components/panel-vrp/src/panel-vrp.mjs.map +1 -1
- package/es/packages/components/panel-vrp/src/panel-vrp2.mjs +413 -22
- package/es/packages/components/panel-vrp/src/panel-vrp2.mjs.map +1 -1
- package/es/packages/components/select/index.mjs +2 -2
- package/es/packages/components/select/src/option.mjs +1 -1
- package/es/packages/components/select/src/select.mjs +10 -41
- package/es/packages/components/select/src/select.mjs.map +1 -1
- package/es/packages/components/select/src/select2.mjs +41 -10
- package/es/packages/components/select/src/select2.mjs.map +1 -1
- package/es/packages/components/table/index.mjs +2 -2
- package/es/packages/components/table/src/table.mjs +5 -37
- package/es/packages/components/table/src/table.mjs.map +1 -1
- package/es/packages/components/table/src/table2.mjs +37 -5
- package/es/packages/components/table/src/table2.mjs.map +1 -1
- package/es/packages/components/tooltip/index.mjs +2 -2
- package/es/packages/components/tooltip/src/tooltip.mjs +7 -33
- package/es/packages/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/packages/components/tooltip/src/tooltip2.mjs +33 -7
- package/es/packages/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/utils/vue/vnode.d.ts +6 -6
- package/lib/components/chart/index.d.ts +28 -28
- package/lib/components/chart/src/chart.vue.d.ts +28 -28
- package/lib/components/chart-panel/index.d.ts +10 -10
- package/lib/components/chart-panel/src/chart-panel.vue.d.ts +10 -10
- package/lib/components/demo/index.d.ts +28 -28
- package/lib/components/demo/src/demo.vue.d.ts +28 -28
- package/lib/hooks/use-floating/index.d.ts +8 -8
- package/lib/index.js +15 -15
- package/lib/packages/components/button1/index.js +2 -2
- package/lib/packages/components/button1/src/button1.js +6 -72
- package/lib/packages/components/button1/src/button1.js.map +1 -1
- package/lib/packages/components/button1/src/button12.js +72 -6
- package/lib/packages/components/button1/src/button12.js.map +1 -1
- package/lib/packages/components/chart-panel/index.js +2 -2
- package/lib/packages/components/chart-panel/src/chart-panel.js +273 -39
- package/lib/packages/components/chart-panel/src/chart-panel.js.map +1 -1
- package/lib/packages/components/chart-panel/src/chart-panel2.js +39 -273
- package/lib/packages/components/chart-panel/src/chart-panel2.js.map +1 -1
- package/lib/packages/components/checkbox-group/index.js +2 -2
- package/lib/packages/components/checkbox-group/src/checkbox-group.js +31 -6
- package/lib/packages/components/checkbox-group/src/checkbox-group.js.map +1 -1
- package/lib/packages/components/checkbox-group/src/checkbox-group2.js +6 -31
- package/lib/packages/components/checkbox-group/src/checkbox-group2.js.map +1 -1
- package/lib/packages/components/dropdown/index.js +2 -2
- package/lib/packages/components/dropdown/src/dropdown.js +34 -6
- package/lib/packages/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/packages/components/dropdown/src/dropdown2.js +6 -34
- package/lib/packages/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/packages/components/dropdown-button/index.js +2 -2
- package/lib/packages/components/dropdown-button/src/dropdown-button.js +39 -6
- package/lib/packages/components/dropdown-button/src/dropdown-button.js.map +1 -1
- package/lib/packages/components/dropdown-button/src/dropdown-button2.js +6 -39
- package/lib/packages/components/dropdown-button/src/dropdown-button2.js.map +1 -1
- package/lib/packages/components/index.js +15 -15
- package/lib/packages/components/menu/index.js +2 -2
- package/lib/packages/components/menu/src/menu.js +6 -31
- package/lib/packages/components/menu/src/menu.js.map +1 -1
- package/lib/packages/components/menu/src/menu2.js +31 -6
- package/lib/packages/components/menu/src/menu2.js.map +1 -1
- package/lib/packages/components/panel/index.js +2 -2
- package/lib/packages/components/panel/src/panel.js +82 -6
- package/lib/packages/components/panel/src/panel.js.map +1 -1
- package/lib/packages/components/panel/src/panel2.js +6 -82
- package/lib/packages/components/panel/src/panel2.js.map +1 -1
- package/lib/packages/components/panel-iv-skew/index.js +2 -2
- package/lib/packages/components/panel-iv-skew/src/panel-iv-skew.js +23 -398
- package/lib/packages/components/panel-iv-skew/src/panel-iv-skew.js.map +1 -1
- package/lib/packages/components/panel-iv-skew/src/panel-iv-skew2.js +398 -23
- package/lib/packages/components/panel-iv-skew/src/panel-iv-skew2.js.map +1 -1
- package/lib/packages/components/panel-option-open-interest/index.js +2 -2
- package/lib/packages/components/panel-option-open-interest/src/panel-option-open-interest.js +378 -23
- package/lib/packages/components/panel-option-open-interest/src/panel-option-open-interest.js.map +1 -1
- package/lib/packages/components/panel-option-open-interest/src/panel-option-open-interest2.js +23 -378
- package/lib/packages/components/panel-option-open-interest/src/panel-option-open-interest2.js.map +1 -1
- package/lib/packages/components/panel-option-trade-volume/index.js +2 -2
- package/lib/packages/components/panel-option-trade-volume/src/panel-option-trade-volume.js +504 -23
- package/lib/packages/components/panel-option-trade-volume/src/panel-option-trade-volume.js.map +1 -1
- package/lib/packages/components/panel-option-trade-volume/src/panel-option-trade-volume2.js +23 -504
- package/lib/packages/components/panel-option-trade-volume/src/panel-option-trade-volume2.js.map +1 -1
- package/lib/packages/components/panel-skew/index.js +2 -2
- package/lib/packages/components/panel-skew/src/panel-skew.js +672 -22
- package/lib/packages/components/panel-skew/src/panel-skew.js.map +1 -1
- package/lib/packages/components/panel-skew/src/panel-skew2.js +22 -672
- package/lib/packages/components/panel-skew/src/panel-skew2.js.map +1 -1
- package/lib/packages/components/panel-volatility-term-structure/index.js +2 -2
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure.js +23 -365
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure.js.map +1 -1
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.js +365 -23
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.js.map +1 -1
- package/lib/packages/components/radio/index.js +2 -2
- package/lib/packages/components/radio/src/radio-button.js +1 -1
- package/lib/packages/components/radio/src/radio-group.js +1 -1
- package/lib/packages/components/radio/src/radio.js +31 -6
- package/lib/packages/components/radio/src/radio.js.map +1 -1
- package/lib/packages/components/radio/src/radio2.js +6 -31
- package/lib/packages/components/radio/src/radio2.js.map +1 -1
- package/lib/packages/components/select/index.js +2 -2
- package/lib/packages/components/select/src/option.js +1 -1
- package/lib/packages/components/select/src/select.js +15 -41
- package/lib/packages/components/select/src/select.js.map +1 -1
- package/lib/packages/components/select/src/select2.js +41 -15
- package/lib/packages/components/select/src/select2.js.map +1 -1
- package/lib/packages/components/tooltip/index.js +2 -2
- package/lib/packages/components/tooltip/src/tooltip.js +33 -8
- package/lib/packages/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/packages/components/tooltip/src/tooltip2.js +8 -33
- package/lib/packages/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/utils/vue/vnode.d.ts +6 -6
- package/package.json +1 -1
- package/theme-chalk/base.css +1 -1
- package/theme-chalk/g-antd.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/antd.scss +1 -2
- package/web-types.json +1 -1
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '../../../hooks/index.mjs';
|
|
4
|
-
import { tableProps, tableEmits } from './table2.mjs';
|
|
5
|
-
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
6
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
1
|
+
import '../../../utils/index.mjs';
|
|
2
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
|
7
3
|
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
-
...__default__,
|
|
13
|
-
props: tableProps,
|
|
14
|
-
emits: tableEmits,
|
|
15
|
-
setup(__props, { emit: emits }) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const ns = useNamespace("table");
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
const _component_a_table = Table$1;
|
|
20
|
-
return openBlock(), createBlock(_component_a_table, mergeProps({
|
|
21
|
-
class: [unref(ns).b()]
|
|
22
|
-
}, props, toHandlers(emits)), createSlots({
|
|
23
|
-
_: 2
|
|
24
|
-
}, [
|
|
25
|
-
renderList(_ctx.$slots, (slotValue, name) => {
|
|
26
|
-
return {
|
|
27
|
-
name,
|
|
28
|
-
fn: withCtx((slotProps) => [
|
|
29
|
-
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)))
|
|
30
|
-
])
|
|
31
|
-
};
|
|
32
|
-
})
|
|
33
|
-
]), 1040, ["class"]);
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/table/src/table.vue"]]);
|
|
4
|
+
const tableEmits = {};
|
|
5
|
+
const tableProps = buildProps({});
|
|
38
6
|
|
|
39
|
-
export {
|
|
7
|
+
export { tableEmits, tableProps };
|
|
40
8
|
//# sourceMappingURL=table.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.mjs","sources":["../../../../../../../packages/components/table/src/table.
|
|
1
|
+
{"version":3,"file":"table.mjs","sources":["../../../../../../../packages/components/table/src/table.ts"],"sourcesContent":["import { buildProps } from '@greeks-live-ui/utils'\nimport type Table from './table.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const tableEmits = {}\nexport type TableEmits = typeof tableEmits\nexport const tableProps = buildProps({})\nexport type TableProps = ExtractPropTypes<typeof tableProps>\nexport type TableInstance = InstanceType<typeof Table>\n"],"names":[],"mappings":";;;AAIO,MAAM,aAAa,GAAC;AAEd,MAAA,UAAA,GAAa,UAAW,CAAA,EAAE;;;;"}
|
|
@@ -1,8 +1,40 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import {
|
|
1
|
+
import { Table as Table$1 } from 'ant-design-vue/es';
|
|
2
|
+
import { defineComponent, openBlock, createBlock, mergeProps, unref, toHandlers, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
3
|
+
import '../../../hooks/index.mjs';
|
|
4
|
+
import { tableProps, tableEmits } from './table.mjs';
|
|
5
|
+
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
6
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
3
7
|
|
|
4
|
-
const
|
|
5
|
-
|
|
8
|
+
const __default__ = {
|
|
9
|
+
name: "GTable"
|
|
10
|
+
};
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
...__default__,
|
|
13
|
+
props: tableProps,
|
|
14
|
+
emits: tableEmits,
|
|
15
|
+
setup(__props, { emit: emits }) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const ns = useNamespace("table");
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
const _component_a_table = Table$1;
|
|
20
|
+
return openBlock(), createBlock(_component_a_table, mergeProps({
|
|
21
|
+
class: [unref(ns).b()]
|
|
22
|
+
}, props, toHandlers(emits)), createSlots({
|
|
23
|
+
_: 2
|
|
24
|
+
}, [
|
|
25
|
+
renderList(_ctx.$slots, (slotValue, name) => {
|
|
26
|
+
return {
|
|
27
|
+
name,
|
|
28
|
+
fn: withCtx((slotProps) => [
|
|
29
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)))
|
|
30
|
+
])
|
|
31
|
+
};
|
|
32
|
+
})
|
|
33
|
+
]), 1040, ["class"]);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/table/src/table.vue"]]);
|
|
6
38
|
|
|
7
|
-
export {
|
|
39
|
+
export { Table as default };
|
|
8
40
|
//# sourceMappingURL=table2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table2.mjs","sources":["../../../../../../../packages/components/table/src/table.
|
|
1
|
+
{"version":3,"file":"table2.mjs","sources":["../../../../../../../packages/components/table/src/table.vue"],"sourcesContent":["<template>\n <a-table :class=\"[ns.b()]\" v-bind=\"props\" v-on=\"emits\">\n <template v-for=\"(slotValue, name) in $slots\" #[name]=\"slotProps\">\n <slot :name=\"name\" v-bind=\"slotProps\"></slot>\n </template>\n <!-- <slot></slot> -->\n </a-table>\n</template>\n<script lang=\"ts\" setup>\nimport { useNamespace } from '@greeks-live-ui/hooks'\nimport { tableEmits, tableProps } from './table'\ndefineOptions({\n name: 'GTable',\n})\nconst ns = useNamespace('table')\nconst props = defineProps(tableProps)\nconst emits = defineEmits(tableEmits)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAcA,IAAA,MAAA,EAAA,GAAA,YAAA,CAAA,OAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../utils/index.mjs';
|
|
2
|
-
import Tooltip from './src/
|
|
3
|
-
export { tooltipEmits, tooltipProps } from './src/
|
|
2
|
+
import Tooltip from './src/tooltip2.mjs';
|
|
3
|
+
export { tooltipEmits, tooltipProps } from './src/tooltip.mjs';
|
|
4
4
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
5
5
|
|
|
6
6
|
const GTooltip = withInstall(Tooltip);
|
|
@@ -1,38 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '../../../hooks/index.mjs';
|
|
4
|
-
import { tooltipProps, tooltipEmits } from './tooltip2.mjs';
|
|
5
|
-
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
6
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
1
|
+
import '../../../utils/index.mjs';
|
|
2
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
|
7
3
|
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
...__default__,
|
|
13
|
-
props: tooltipProps,
|
|
14
|
-
emits: tooltipEmits,
|
|
15
|
-
setup(__props, { emit: emits }) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const ns = useNamespace("tooltip");
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
const _component_a_tooltip = Tooltip$1;
|
|
20
|
-
return openBlock(), createBlock(_component_a_tooltip, mergeProps({
|
|
21
|
-
class: [unref(ns).b()],
|
|
22
|
-
color: props.color || "white"
|
|
23
|
-
}, props, toHandlers(emits)), {
|
|
24
|
-
title: withCtx(() => [
|
|
25
|
-
_ctx.$slots.title ? renderSlot(_ctx.$slots, "title", { key: 0 }) : createCommentVNode("v-if", true)
|
|
26
|
-
]),
|
|
27
|
-
default: withCtx(() => [
|
|
28
|
-
renderSlot(_ctx.$slots, "default")
|
|
29
|
-
]),
|
|
30
|
-
_: 3
|
|
31
|
-
}, 16, ["class", "color"]);
|
|
32
|
-
};
|
|
4
|
+
const tooltipEmits = {};
|
|
5
|
+
const tooltipProps = buildProps({
|
|
6
|
+
color: {
|
|
7
|
+
type: String
|
|
33
8
|
}
|
|
34
9
|
});
|
|
35
|
-
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/tooltip/src/tooltip.vue"]]);
|
|
36
10
|
|
|
37
|
-
export {
|
|
11
|
+
export { tooltipEmits, tooltipProps };
|
|
38
12
|
//# sourceMappingURL=tooltip.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.mjs","sources":["../../../../../../../packages/components/tooltip/src/tooltip.
|
|
1
|
+
{"version":3,"file":"tooltip.mjs","sources":["../../../../../../../packages/components/tooltip/src/tooltip.ts"],"sourcesContent":["import { buildProps } from '@greeks-live-ui/utils'\nimport type Tooltip from './tooltip.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const tooltipEmits = {}\nexport type TooltipEmits = typeof tooltipEmits\nexport const tooltipProps = buildProps({\n color: {\n type: String,\n },\n})\nexport type TooltipProps = ExtractPropTypes<typeof tooltipProps>\nexport type TooltipInstance = InstanceType<typeof Tooltip>\n"],"names":[],"mappings":";;;AAIO,MAAM,eAAe,GAAC;AAEtB,MAAM,eAAe,UAAW,CAAA;AAAA,EACrC,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,GACR;AACF,CAAC;;;;"}
|
|
@@ -1,12 +1,38 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import {
|
|
1
|
+
import { Tooltip as Tooltip$1 } from 'ant-design-vue/es';
|
|
2
|
+
import { defineComponent, openBlock, createBlock, mergeProps, unref, toHandlers, withCtx, renderSlot, createCommentVNode } from 'vue';
|
|
3
|
+
import '../../../hooks/index.mjs';
|
|
4
|
+
import { tooltipProps, tooltipEmits } from './tooltip.mjs';
|
|
5
|
+
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
6
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
3
7
|
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
const __default__ = {
|
|
9
|
+
name: "GTooltip"
|
|
10
|
+
};
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
...__default__,
|
|
13
|
+
props: tooltipProps,
|
|
14
|
+
emits: tooltipEmits,
|
|
15
|
+
setup(__props, { emit: emits }) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const ns = useNamespace("tooltip");
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
const _component_a_tooltip = Tooltip$1;
|
|
20
|
+
return openBlock(), createBlock(_component_a_tooltip, mergeProps({
|
|
21
|
+
class: [unref(ns).b()],
|
|
22
|
+
color: props.color || "white"
|
|
23
|
+
}, props, toHandlers(emits)), {
|
|
24
|
+
title: withCtx(() => [
|
|
25
|
+
_ctx.$slots.title ? renderSlot(_ctx.$slots, "title", { key: 0 }) : createCommentVNode("v-if", true)
|
|
26
|
+
]),
|
|
27
|
+
default: withCtx(() => [
|
|
28
|
+
renderSlot(_ctx.$slots, "default")
|
|
29
|
+
]),
|
|
30
|
+
_: 3
|
|
31
|
+
}, 16, ["class", "color"]);
|
|
32
|
+
};
|
|
8
33
|
}
|
|
9
34
|
});
|
|
35
|
+
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/tooltip/src/tooltip.vue"]]);
|
|
10
36
|
|
|
11
|
-
export {
|
|
37
|
+
export { Tooltip as default };
|
|
12
38
|
//# sourceMappingURL=tooltip2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip2.mjs","sources":["../../../../../../../packages/components/tooltip/src/tooltip.
|
|
1
|
+
{"version":3,"file":"tooltip2.mjs","sources":["../../../../../../../packages/components/tooltip/src/tooltip.vue"],"sourcesContent":["<template>\n <a-tooltip :class=\"[ns.b()]\" :color=\"props.color || 'white'\" v-bind=\"props\" v-on=\"emits\">\n <template #title>\n <slot v-if=\"$slots.title\" name=\"title\"></slot>\n </template>\n <slot></slot>\n </a-tooltip>\n</template>\n<script lang=\"ts\" setup>\nimport { useNamespace } from '@greeks-live-ui/hooks'\nimport { tooltipEmits, tooltipProps } from './tooltip'\ndefineOptions({\n name: 'GTooltip',\n})\nconst ns = useNamespace('tooltip')\n\nconst props = defineProps(tooltipProps)\nconst emits = defineEmits(tooltipEmits)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAcA,IAAA,MAAA,EAAA,GAAA,YAAA,CAAA,SAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/utils/vue/vnode.d.ts
CHANGED
|
@@ -29,12 +29,12 @@ export declare function isTemplate(node: unknown): node is VNode;
|
|
|
29
29
|
*/
|
|
30
30
|
export declare function isValidElementNode(node: VNode): boolean;
|
|
31
31
|
export declare function isValidElementNode(node: unknown): node is VNode;
|
|
32
|
-
export declare const getFirstValidNode: (nodes: VNodeNormalizedChildren, maxDepth?: number) => string | number | boolean | void |
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}> | VNodeArrayChildren | {
|
|
32
|
+
export declare const getFirstValidNode: (nodes: VNodeNormalizedChildren, maxDepth?: number) => string | number | boolean | void | VNodeArrayChildren | {
|
|
35
33
|
[name: string]: unknown;
|
|
36
34
|
$stable?: boolean | undefined;
|
|
37
|
-
} |
|
|
35
|
+
} | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}> | null | undefined;
|
|
38
38
|
export declare function renderIf(condition: boolean, ...args: Parameters<typeof createBlock>): VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
39
39
|
[key: string]: any;
|
|
40
40
|
}>;
|
|
@@ -42,7 +42,7 @@ export declare function renderBlock(...args: Parameters<typeof createBlock>): VN
|
|
|
42
42
|
[key: string]: any;
|
|
43
43
|
}>;
|
|
44
44
|
export declare const getNormalizedProps: (node: VNode) => Record<string, any>;
|
|
45
|
-
export declare const ensureOnlyChild: (children: VNodeArrayChildren | undefined) => (string | number | boolean | void | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
+
export declare const ensureOnlyChild: (children: VNodeArrayChildren | undefined) => VNodeArrayChildren | (string | number | boolean | void | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
46
|
[key: string]: any;
|
|
47
|
-
}> | null | undefined)
|
|
47
|
+
}> | null | undefined);
|
|
48
48
|
export declare const flattedChildren: (children: VNodeNormalizedChildren) => any[];
|
|
@@ -97,13 +97,13 @@ export declare const GChart: import("greeks-live-ui/es/utils").SFCWithInstall<im
|
|
|
97
97
|
manualUpdate?: boolean | undefined;
|
|
98
98
|
} & {
|
|
99
99
|
onClick?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
100
|
+
onContextmenu?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
100
101
|
onDblclick?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
102
|
+
onMousedown?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
103
|
+
onMousemove?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
101
104
|
onMouseout?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
102
105
|
onMouseover?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
103
106
|
onMouseup?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
104
|
-
onMousedown?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
105
|
-
onMousemove?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
106
|
-
onContextmenu?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
107
107
|
onGlobalout?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
108
108
|
onHighlight?: ((params: any) => void) | undefined;
|
|
109
109
|
onDownplay?: ((params: any) => void) | undefined;
|
|
@@ -136,32 +136,33 @@ export declare const GChart: import("greeks-live-ui/es/utils").SFCWithInstall<im
|
|
|
136
136
|
elapsedTime: number;
|
|
137
137
|
}) => void) | undefined;
|
|
138
138
|
onFinished?: (() => void) | undefined;
|
|
139
|
+
"onZr:drag"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
140
|
+
"onZr:dragend"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
141
|
+
"onZr:dragenter"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
142
|
+
"onZr:dragleave"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
143
|
+
"onZr:dragover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
144
|
+
"onZr:dragstart"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
145
|
+
"onZr:drop"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
139
146
|
"onZr:click"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
147
|
+
"onZr:contextmenu"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
140
148
|
"onZr:dblclick"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
149
|
+
"onZr:mousedown"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
150
|
+
"onZr:mousemove"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
141
151
|
"onZr:mouseout"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
142
152
|
"onZr:mouseover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
143
153
|
"onZr:mouseup"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
144
|
-
"onZr:mousedown"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
145
|
-
"onZr:mousemove"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
146
|
-
"onZr:contextmenu"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
147
154
|
"onZr:globalout"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
148
155
|
"onZr:mousewheel"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
149
|
-
"onZr:drag"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
150
|
-
"onZr:dragstart"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
151
|
-
"onZr:dragend"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
152
|
-
"onZr:dragenter"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
153
|
-
"onZr:dragleave"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
154
|
-
"onZr:dragover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
155
|
-
"onZr:drop"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
root: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
158
158
|
chart: import("vue").Ref<import("echarts/types/dist/shared").EChartsType | undefined, import("echarts/types/dist/shared").EChartsType | undefined>;
|
|
159
159
|
}, {}, {}, {
|
|
160
|
+
resize: (opts?: import("echarts/types/dist/shared").ResizeOpts | undefined) => void;
|
|
161
|
+
clear: () => void;
|
|
160
162
|
getWidth: () => number;
|
|
161
163
|
getHeight: () => number;
|
|
162
164
|
getDom: () => HTMLElement;
|
|
163
165
|
getOption: () => import("echarts/types/dist/shared").ECBasicOption;
|
|
164
|
-
resize: (opts?: import("echarts/types/dist/shared").ResizeOpts | undefined) => void;
|
|
165
166
|
dispatchAction: (payload: import("echarts/types/dist/shared").Payload, opt?: boolean | {
|
|
166
167
|
silent?: boolean | undefined;
|
|
167
168
|
flush?: boolean | undefined;
|
|
@@ -297,7 +298,6 @@ export declare const GChart: import("greeks-live-ui/es/utils").SFCWithInstall<im
|
|
|
297
298
|
seriesIndex: number;
|
|
298
299
|
data: any;
|
|
299
300
|
}) => void;
|
|
300
|
-
clear: () => void;
|
|
301
301
|
isDisposed: () => boolean;
|
|
302
302
|
dispose: () => void;
|
|
303
303
|
setOption: {
|
|
@@ -332,13 +332,13 @@ export declare const GChart: import("greeks-live-ui/es/utils").SFCWithInstall<im
|
|
|
332
332
|
manualUpdate?: boolean | undefined;
|
|
333
333
|
} & {
|
|
334
334
|
onClick?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
335
|
+
onContextmenu?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
335
336
|
onDblclick?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
337
|
+
onMousedown?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
338
|
+
onMousemove?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
336
339
|
onMouseout?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
337
340
|
onMouseover?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
338
341
|
onMouseup?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
339
|
-
onMousedown?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
340
|
-
onMousemove?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
341
|
-
onContextmenu?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
342
342
|
onGlobalout?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
343
343
|
onHighlight?: ((params: any) => void) | undefined;
|
|
344
344
|
onDownplay?: ((params: any) => void) | undefined;
|
|
@@ -371,23 +371,23 @@ export declare const GChart: import("greeks-live-ui/es/utils").SFCWithInstall<im
|
|
|
371
371
|
elapsedTime: number;
|
|
372
372
|
}) => void) | undefined;
|
|
373
373
|
onFinished?: (() => void) | undefined;
|
|
374
|
+
"onZr:drag"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
375
|
+
"onZr:dragend"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
376
|
+
"onZr:dragenter"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
377
|
+
"onZr:dragleave"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
378
|
+
"onZr:dragover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
379
|
+
"onZr:dragstart"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
380
|
+
"onZr:drop"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
374
381
|
"onZr:click"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
382
|
+
"onZr:contextmenu"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
375
383
|
"onZr:dblclick"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
384
|
+
"onZr:mousedown"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
385
|
+
"onZr:mousemove"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
376
386
|
"onZr:mouseout"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
377
387
|
"onZr:mouseover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
378
388
|
"onZr:mouseup"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
379
|
-
"onZr:mousedown"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
380
|
-
"onZr:mousemove"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
381
|
-
"onZr:contextmenu"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
382
389
|
"onZr:globalout"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
383
390
|
"onZr:mousewheel"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
384
|
-
"onZr:drag"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
385
|
-
"onZr:dragstart"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
386
|
-
"onZr:dragend"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
387
|
-
"onZr:dragenter"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
388
|
-
"onZr:dragleave"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
389
|
-
"onZr:dragover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
390
|
-
"onZr:drop"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
391
391
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
392
392
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
393
393
|
option: {
|
|
@@ -98,13 +98,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
98
98
|
manualUpdate?: boolean | undefined;
|
|
99
99
|
} & {
|
|
100
100
|
onClick?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
101
|
+
onContextmenu?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
101
102
|
onDblclick?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
103
|
+
onMousedown?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
104
|
+
onMousemove?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
102
105
|
onMouseout?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
103
106
|
onMouseover?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
104
107
|
onMouseup?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
105
|
-
onMousedown?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
106
|
-
onMousemove?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
107
|
-
onContextmenu?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
108
108
|
onGlobalout?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
109
109
|
onHighlight?: ((params: any) => void) | undefined;
|
|
110
110
|
onDownplay?: ((params: any) => void) | undefined;
|
|
@@ -137,32 +137,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
137
137
|
elapsedTime: number;
|
|
138
138
|
}) => void) | undefined;
|
|
139
139
|
onFinished?: (() => void) | undefined;
|
|
140
|
+
"onZr:drag"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
141
|
+
"onZr:dragend"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
142
|
+
"onZr:dragenter"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
143
|
+
"onZr:dragleave"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
144
|
+
"onZr:dragover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
145
|
+
"onZr:dragstart"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
146
|
+
"onZr:drop"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
140
147
|
"onZr:click"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
148
|
+
"onZr:contextmenu"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
141
149
|
"onZr:dblclick"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
150
|
+
"onZr:mousedown"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
151
|
+
"onZr:mousemove"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
142
152
|
"onZr:mouseout"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
143
153
|
"onZr:mouseover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
144
154
|
"onZr:mouseup"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
145
|
-
"onZr:mousedown"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
146
|
-
"onZr:mousemove"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
147
|
-
"onZr:contextmenu"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
148
155
|
"onZr:globalout"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
149
156
|
"onZr:mousewheel"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
150
|
-
"onZr:drag"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
151
|
-
"onZr:dragstart"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
152
|
-
"onZr:dragend"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
153
|
-
"onZr:dragenter"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
154
|
-
"onZr:dragleave"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
155
|
-
"onZr:dragover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
156
|
-
"onZr:drop"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
157
157
|
}, {
|
|
158
158
|
root: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
159
159
|
chart: import("vue").Ref<import("echarts/types/dist/shared").EChartsType | undefined, import("echarts/types/dist/shared").EChartsType | undefined>;
|
|
160
160
|
}, {}, {}, {
|
|
161
|
+
resize: (opts?: import("echarts/types/dist/shared").ResizeOpts | undefined) => void;
|
|
162
|
+
clear: () => void;
|
|
161
163
|
getWidth: () => number;
|
|
162
164
|
getHeight: () => number;
|
|
163
165
|
getDom: () => HTMLElement;
|
|
164
166
|
getOption: () => import("echarts/types/dist/shared").ECBasicOption;
|
|
165
|
-
resize: (opts?: import("echarts/types/dist/shared").ResizeOpts | undefined) => void;
|
|
166
167
|
dispatchAction: (payload: import("echarts/types/dist/shared").Payload, opt?: boolean | {
|
|
167
168
|
silent?: boolean | undefined;
|
|
168
169
|
flush?: boolean | undefined;
|
|
@@ -298,7 +299,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
298
299
|
seriesIndex: number;
|
|
299
300
|
data: any;
|
|
300
301
|
}) => void;
|
|
301
|
-
clear: () => void;
|
|
302
302
|
isDisposed: () => boolean;
|
|
303
303
|
dispose: () => void;
|
|
304
304
|
setOption: {
|
|
@@ -333,13 +333,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
333
333
|
manualUpdate?: boolean | undefined;
|
|
334
334
|
} & {
|
|
335
335
|
onClick?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
336
|
+
onContextmenu?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
336
337
|
onDblclick?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
338
|
+
onMousedown?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
339
|
+
onMousemove?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
337
340
|
onMouseout?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
338
341
|
onMouseover?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
339
342
|
onMouseup?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
340
|
-
onMousedown?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
341
|
-
onMousemove?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
342
|
-
onContextmenu?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
343
343
|
onGlobalout?: ((params: import("echarts/types/dist/shared").ECElementEvent) => void) | undefined;
|
|
344
344
|
onHighlight?: ((params: any) => void) | undefined;
|
|
345
345
|
onDownplay?: ((params: any) => void) | undefined;
|
|
@@ -372,23 +372,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
372
372
|
elapsedTime: number;
|
|
373
373
|
}) => void) | undefined;
|
|
374
374
|
onFinished?: (() => void) | undefined;
|
|
375
|
+
"onZr:drag"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
376
|
+
"onZr:dragend"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
377
|
+
"onZr:dragenter"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
378
|
+
"onZr:dragleave"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
379
|
+
"onZr:dragover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
380
|
+
"onZr:dragstart"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
381
|
+
"onZr:drop"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
375
382
|
"onZr:click"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
383
|
+
"onZr:contextmenu"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
376
384
|
"onZr:dblclick"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
385
|
+
"onZr:mousedown"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
386
|
+
"onZr:mousemove"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
377
387
|
"onZr:mouseout"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
378
388
|
"onZr:mouseover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
379
389
|
"onZr:mouseup"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
380
|
-
"onZr:mousedown"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
381
|
-
"onZr:mousemove"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
382
|
-
"onZr:contextmenu"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
383
390
|
"onZr:globalout"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
384
391
|
"onZr:mousewheel"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
385
|
-
"onZr:drag"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
386
|
-
"onZr:dragstart"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
387
|
-
"onZr:dragend"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
388
|
-
"onZr:dragenter"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
389
|
-
"onZr:dragleave"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
390
|
-
"onZr:dragover"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
391
|
-
"onZr:drop"?: ((params: import("echarts/types/dist/shared").ElementEvent) => void) | undefined;
|
|
392
392
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
393
393
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
394
394
|
option: {
|
|
@@ -6,7 +6,7 @@ export declare const GChartPanel: import("greeks-live-ui/es/utils").SFCWithInsta
|
|
|
6
6
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7
7
|
__epPropKey: true;
|
|
8
8
|
};
|
|
9
|
-
operations: import("greeks-live-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("search" | "
|
|
9
|
+
operations: import("greeks-live-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[]) | (() => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[]) | (((new (...args: any[]) => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[]) | (() => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[])) | null)[], unknown, unknown, never[], boolean>;
|
|
10
10
|
loading: {
|
|
11
11
|
readonly type: import("vue").PropType<import("greeks-live-ui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
12
12
|
readonly required: false;
|
|
@@ -46,7 +46,7 @@ export declare const GChartPanel: import("greeks-live-ui/es/utils").SFCWithInsta
|
|
|
46
46
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
47
|
__epPropKey: true;
|
|
48
48
|
};
|
|
49
|
-
operations: import("greeks-live-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("search" | "
|
|
49
|
+
operations: import("greeks-live-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[]) | (() => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[]) | (((new (...args: any[]) => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[]) | (() => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[])) | null)[], unknown, unknown, never[], boolean>;
|
|
50
50
|
loading: {
|
|
51
51
|
readonly type: import("vue").PropType<import("greeks-live-ui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
52
52
|
readonly required: false;
|
|
@@ -61,19 +61,19 @@ export declare const GChartPanel: import("greeks-live-ui/es/utils").SFCWithInsta
|
|
|
61
61
|
};
|
|
62
62
|
}>> & Readonly<{
|
|
63
63
|
onSearch?: ((search: boolean) => any) | undefined;
|
|
64
|
+
onToggle?: ((toggle: boolean) => any) | undefined;
|
|
64
65
|
onLine?: ((line: boolean) => any) | undefined;
|
|
65
66
|
onBar?: ((bar: boolean) => any) | undefined;
|
|
66
67
|
onCalc?: ((calc: boolean) => any) | undefined;
|
|
67
|
-
onToggle?: ((toggle: boolean) => any) | undefined;
|
|
68
68
|
onRefresh?: ((refresh: boolean) => any) | undefined;
|
|
69
69
|
onFullscreen?: ((fullscreen: boolean) => any) | undefined;
|
|
70
70
|
onSetting?: ((setting: boolean) => any) | undefined;
|
|
71
71
|
onShare?: ((share: boolean) => any) | undefined;
|
|
72
72
|
"onUpdate:currency"?: ((currency: string) => any) | undefined;
|
|
73
73
|
"onUpdate:exchange"?: ((exchange: string) => any) | undefined;
|
|
74
|
-
onOperation?: ((operation: "search" | "
|
|
74
|
+
onOperation?: ((operation: "search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share") => any) | undefined;
|
|
75
75
|
}> & {}>;
|
|
76
|
-
emits: ((event: "search", search: boolean) => void) & ((event: "
|
|
76
|
+
emits: ((event: "search", search: boolean) => void) & ((event: "toggle", toggle: boolean) => void) & ((event: "line", line: boolean) => void) & ((event: "bar", bar: boolean) => void) & ((event: "calc", calc: boolean) => void) & ((event: "refresh", refresh: boolean) => void) & ((event: "fullscreen", fullscreen: boolean) => void) & ((event: "setting", setting: boolean) => void) & ((event: "share", share: boolean) => void) & ((event: "update:currency", currency: string) => void) & ((event: "update:exchange", exchange: string) => void) & ((event: "operation", operation: "search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share") => void);
|
|
77
77
|
isMobile: import("vue").Ref<boolean, boolean>;
|
|
78
78
|
isPC: import("vue").ComputedRef<boolean>;
|
|
79
79
|
exchangeList: {
|
|
@@ -119,7 +119,7 @@ export declare const GChartPanel: import("greeks-live-ui/es/utils").SFCWithInsta
|
|
|
119
119
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
120
120
|
'update:currency': (currency: string) => boolean;
|
|
121
121
|
'update:exchange': (exchange: string) => boolean;
|
|
122
|
-
operation: (operation: "search" | "
|
|
122
|
+
operation: (operation: "search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share") => boolean;
|
|
123
123
|
line: (line: boolean) => boolean;
|
|
124
124
|
bar: (bar: boolean) => boolean;
|
|
125
125
|
calc: (calc: boolean) => boolean;
|
|
@@ -137,7 +137,7 @@ export declare const GChartPanel: import("greeks-live-ui/es/utils").SFCWithInsta
|
|
|
137
137
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
138
138
|
__epPropKey: true;
|
|
139
139
|
};
|
|
140
|
-
operations: import("greeks-live-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("search" | "
|
|
140
|
+
operations: import("greeks-live-ui/es/utils").EpPropFinalized<(new (...args: any[]) => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[]) | (() => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[]) | (((new (...args: any[]) => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[]) | (() => ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[])) | null)[], unknown, unknown, never[], boolean>;
|
|
141
141
|
loading: {
|
|
142
142
|
readonly type: import("vue").PropType<import("greeks-live-ui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
143
143
|
readonly required: false;
|
|
@@ -152,20 +152,20 @@ export declare const GChartPanel: import("greeks-live-ui/es/utils").SFCWithInsta
|
|
|
152
152
|
};
|
|
153
153
|
}>> & Readonly<{
|
|
154
154
|
onSearch?: ((search: boolean) => any) | undefined;
|
|
155
|
+
onToggle?: ((toggle: boolean) => any) | undefined;
|
|
155
156
|
onLine?: ((line: boolean) => any) | undefined;
|
|
156
157
|
onBar?: ((bar: boolean) => any) | undefined;
|
|
157
158
|
onCalc?: ((calc: boolean) => any) | undefined;
|
|
158
|
-
onToggle?: ((toggle: boolean) => any) | undefined;
|
|
159
159
|
onRefresh?: ((refresh: boolean) => any) | undefined;
|
|
160
160
|
onFullscreen?: ((fullscreen: boolean) => any) | undefined;
|
|
161
161
|
onSetting?: ((setting: boolean) => any) | undefined;
|
|
162
162
|
onShare?: ((share: boolean) => any) | undefined;
|
|
163
163
|
"onUpdate:currency"?: ((currency: string) => any) | undefined;
|
|
164
164
|
"onUpdate:exchange"?: ((exchange: string) => any) | undefined;
|
|
165
|
-
onOperation?: ((operation: "search" | "
|
|
165
|
+
onOperation?: ((operation: "search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share") => any) | undefined;
|
|
166
166
|
}>, {
|
|
167
167
|
currency: string;
|
|
168
|
-
operations: ("search" | "
|
|
168
|
+
operations: ("search" | "toggle" | "line" | "bar" | "calc" | "refresh" | "fullscreen" | "setting" | "share")[];
|
|
169
169
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
170
170
|
export default GChartPanel;
|
|
171
171
|
export * from './src/chart-panel';
|