greeks-live-ui 0.0.21 → 0.0.22
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/dist/index.full.min.mjs +110 -110
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +39 -39
- 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/components/panel-atm-iv/index.d.ts +2 -2
- package/es/components/panel-atm-iv/src/panel-atm-iv.vue.d.ts +2 -2
- package/es/components/panel-historical-delivery-price/index.d.ts +2 -2
- package/es/components/panel-historical-delivery-price/src/panel-historical-delivery-price.vue.d.ts +2 -2
- package/es/components/panel-implied-volatility-surface/index.d.ts +2 -2
- package/es/components/panel-implied-volatility-surface/src/panel-implied-volatility-surface.vue.d.ts +2 -2
- package/es/components/panel-iv-skew/index.d.ts +1 -1
- package/es/components/panel-iv-skew/src/panel-iv-skew.vue.d.ts +1 -1
- package/es/components/panel-max-pain-price/index.d.ts +2 -2
- package/es/components/panel-max-pain-price/src/panel-max-pain-price.vue.d.ts +2 -2
- package/es/components/panel-option-flow/index.d.ts +1 -1
- package/es/components/panel-option-flow/src/panel-option-flow.vue.d.ts +1 -1
- package/es/components/panel-option-open-interest/index.d.ts +1 -1
- package/es/components/panel-option-open-interest/src/panel-option-open-interest.vue.d.ts +1 -1
- package/es/components/panel-option-trade-volume/index.d.ts +1 -1
- package/es/components/panel-option-trade-volume/src/panel-option-trade-volume.vue.d.ts +1 -1
- package/es/components/panel-rv/index.d.ts +12 -12
- package/es/components/panel-rv/src/panel-rv.vue.d.ts +12 -12
- package/es/components/panel-skew/index.d.ts +2 -2
- package/es/components/panel-skew/src/panel-skew.vue.d.ts +2 -2
- package/es/components/panel-volatility-term-structure/index.d.ts +2 -2
- package/es/components/panel-volatility-term-structure/src/panel-volatility-term-structure.vue.d.ts +2 -2
- package/es/components/panel-vrp/index.d.ts +2 -2
- package/es/components/panel-vrp/src/panel-vrp.vue.d.ts +2 -2
- package/es/hooks/use-floating/index.d.ts +8 -8
- package/es/index.mjs +21 -21
- package/es/packages/components/button1/index.mjs +2 -2
- package/es/packages/components/button1/src/button1.mjs +72 -5
- package/es/packages/components/button1/src/button1.mjs.map +1 -1
- package/es/packages/components/button1/src/button12.mjs +5 -72
- package/es/packages/components/button1/src/button12.mjs.map +1 -1
- package/es/packages/components/chart-panel/index.mjs +2 -2
- package/es/packages/components/chart-panel/src/chart-panel.mjs +38 -273
- package/es/packages/components/chart-panel/src/chart-panel.mjs.map +1 -1
- package/es/packages/components/chart-panel/src/chart-panel2.mjs +273 -38
- package/es/packages/components/chart-panel/src/chart-panel2.mjs.map +1 -1
- package/es/packages/components/chart-table/index.mjs +2 -2
- package/es/packages/components/chart-table/src/chart-table.mjs +144 -15
- package/es/packages/components/chart-table/src/chart-table.mjs.map +1 -1
- package/es/packages/components/chart-table/src/chart-table2.mjs +15 -144
- package/es/packages/components/chart-table/src/chart-table2.mjs.map +1 -1
- package/es/packages/components/checkbox/index.mjs +2 -2
- package/es/packages/components/checkbox/src/checkbox.mjs +31 -5
- package/es/packages/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/packages/components/checkbox/src/checkbox2.mjs +5 -31
- package/es/packages/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/packages/components/checkbox-group/index.mjs +2 -2
- package/es/packages/components/checkbox-group/src/checkbox-group.mjs +5 -31
- package/es/packages/components/checkbox-group/src/checkbox-group.mjs.map +1 -1
- package/es/packages/components/checkbox-group/src/checkbox-group2.mjs +31 -5
- package/es/packages/components/checkbox-group/src/checkbox-group2.mjs.map +1 -1
- package/es/packages/components/dropdown/index.mjs +2 -2
- package/es/packages/components/dropdown/src/dropdown.mjs +34 -5
- package/es/packages/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/packages/components/dropdown/src/dropdown2.mjs +5 -34
- package/es/packages/components/dropdown/src/dropdown2.mjs.map +1 -1
- package/es/packages/components/dropdown-button/index.mjs +2 -2
- package/es/packages/components/dropdown-button/src/dropdown-button.mjs +5 -39
- package/es/packages/components/dropdown-button/src/dropdown-button.mjs.map +1 -1
- package/es/packages/components/dropdown-button/src/dropdown-button2.mjs +39 -5
- package/es/packages/components/dropdown-button/src/dropdown-button2.mjs.map +1 -1
- package/es/packages/components/icon/index.mjs +2 -2
- package/es/packages/components/icon/src/icon.mjs +48 -15
- package/es/packages/components/icon/src/icon.mjs.map +1 -1
- package/es/packages/components/icon/src/icon2.mjs +15 -48
- package/es/packages/components/icon/src/icon2.mjs.map +1 -1
- package/es/packages/components/icon/src/iconfont/iconfont.mjs +1 -1
- package/es/packages/components/icon/src/iconfont/iconfont.mjs.map +1 -1
- package/es/packages/components/index.mjs +21 -21
- package/es/packages/components/input-number/index.mjs +2 -2
- package/es/packages/components/input-number/src/input-number.mjs +5 -31
- package/es/packages/components/input-number/src/input-number.mjs.map +1 -1
- package/es/packages/components/input-number/src/input-number2.mjs +31 -5
- package/es/packages/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/packages/components/menu/index.mjs +2 -2
- package/es/packages/components/menu/src/menu.mjs +31 -5
- package/es/packages/components/menu/src/menu.mjs.map +1 -1
- package/es/packages/components/menu/src/menu2.mjs +5 -31
- package/es/packages/components/menu/src/menu2.mjs.map +1 -1
- package/es/packages/components/panel/index.mjs +2 -2
- package/es/packages/components/panel/src/panel.mjs +5 -82
- package/es/packages/components/panel/src/panel.mjs.map +1 -1
- package/es/packages/components/panel/src/panel2.mjs +82 -5
- 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 +886 -21
- 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 +21 -886
- package/es/packages/components/panel-atm-iv/src/panel-atm-iv2.mjs.map +1 -1
- package/es/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price2.mjs +3 -3
- package/es/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price2.mjs.map +1 -1
- package/es/packages/components/panel-implied-volatility-surface/src/panel-implied-volatility-surface2.mjs +3 -3
- package/es/packages/components/panel-implied-volatility-surface/src/panel-implied-volatility-surface2.mjs.map +1 -1
- package/es/packages/components/panel-iv-skew/index.mjs +2 -2
- package/es/packages/components/panel-iv-skew/src/panel-iv-skew.mjs +22 -398
- package/es/packages/components/panel-iv-skew/src/panel-iv-skew.mjs.map +1 -1
- package/es/packages/components/panel-iv-skew/src/panel-iv-skew2.mjs +398 -22
- package/es/packages/components/panel-iv-skew/src/panel-iv-skew2.mjs.map +1 -1
- package/es/packages/components/panel-max-pain-price/src/panel-max-pain-price.mjs +3 -3
- package/es/packages/components/panel-max-pain-price/src/panel-max-pain-price.mjs.map +1 -1
- package/es/packages/components/panel-option-flow/index.mjs +2 -2
- package/es/packages/components/panel-option-flow/src/panel-option-flow.mjs +430 -22
- package/es/packages/components/panel-option-flow/src/panel-option-flow.mjs.map +1 -1
- package/es/packages/components/panel-option-flow/src/panel-option-flow2.mjs +22 -430
- package/es/packages/components/panel-option-flow/src/panel-option-flow2.mjs.map +1 -1
- package/es/packages/components/panel-option-open-interest/src/panel-option-open-interest.mjs +3 -3
- package/es/packages/components/panel-option-open-interest/src/panel-option-open-interest.mjs.map +1 -1
- package/es/packages/components/panel-option-trade-volume/src/panel-option-trade-volume.mjs +3 -3
- package/es/packages/components/panel-option-trade-volume/src/panel-option-trade-volume.mjs.map +1 -1
- package/es/packages/components/panel-rv/src/panel-rv2.mjs +4 -4
- 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 +507 -8
- 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 +8 -507
- 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 +672 -21
- package/es/packages/components/panel-skew/src/panel-skew.mjs.map +1 -1
- package/es/packages/components/panel-skew/src/panel-skew2.mjs +21 -672
- package/es/packages/components/panel-skew/src/panel-skew2.mjs.map +1 -1
- package/es/packages/components/panel-volatility-term-structure/index.mjs +2 -2
- package/es/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure.mjs +365 -22
- package/es/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure.mjs.map +1 -1
- package/es/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.mjs +22 -365
- package/es/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.mjs.map +1 -1
- package/es/packages/components/panel-vrp/index.mjs +2 -2
- package/es/packages/components/panel-vrp/src/panel-vrp.mjs +413 -22
- package/es/packages/components/panel-vrp/src/panel-vrp.mjs.map +1 -1
- package/es/packages/components/panel-vrp/src/panel-vrp2.mjs +22 -413
- package/es/packages/components/panel-vrp/src/panel-vrp2.mjs.map +1 -1
- package/es/packages/components/radio/index.mjs +2 -2
- package/es/packages/components/radio/src/radio-button.mjs +1 -1
- package/es/packages/components/radio/src/radio-group.mjs +1 -1
- package/es/packages/components/radio/src/radio.mjs +5 -31
- package/es/packages/components/radio/src/radio.mjs.map +1 -1
- package/es/packages/components/radio/src/radio2.mjs +31 -5
- package/es/packages/components/radio/src/radio2.mjs.map +1 -1
- package/es/packages/components/radio-dropdown/index.mjs +2 -2
- package/es/packages/components/radio-dropdown/src/radio-dropdown.mjs +15 -204
- package/es/packages/components/radio-dropdown/src/radio-dropdown.mjs.map +1 -1
- package/es/packages/components/radio-dropdown/src/radio-dropdown2.mjs +204 -15
- package/es/packages/components/radio-dropdown/src/radio-dropdown2.mjs.map +1 -1
- package/es/packages/components/toggle-button/index.mjs +2 -2
- package/es/packages/components/toggle-button/src/toggle-button.mjs +12 -51
- package/es/packages/components/toggle-button/src/toggle-button.mjs.map +1 -1
- package/es/packages/components/toggle-button/src/toggle-button2.mjs +51 -12
- package/es/packages/components/toggle-button/src/toggle-button2.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/components/panel-atm-iv/index.d.ts +2 -2
- package/lib/components/panel-atm-iv/src/panel-atm-iv.vue.d.ts +2 -2
- package/lib/components/panel-historical-delivery-price/index.d.ts +2 -2
- package/lib/components/panel-historical-delivery-price/src/panel-historical-delivery-price.vue.d.ts +2 -2
- package/lib/components/panel-implied-volatility-surface/index.d.ts +2 -2
- package/lib/components/panel-implied-volatility-surface/src/panel-implied-volatility-surface.vue.d.ts +2 -2
- package/lib/components/panel-iv-skew/index.d.ts +1 -1
- package/lib/components/panel-iv-skew/src/panel-iv-skew.vue.d.ts +1 -1
- package/lib/components/panel-max-pain-price/index.d.ts +2 -2
- package/lib/components/panel-max-pain-price/src/panel-max-pain-price.vue.d.ts +2 -2
- package/lib/components/panel-option-flow/index.d.ts +1 -1
- package/lib/components/panel-option-flow/src/panel-option-flow.vue.d.ts +1 -1
- package/lib/components/panel-option-open-interest/index.d.ts +1 -1
- package/lib/components/panel-option-open-interest/src/panel-option-open-interest.vue.d.ts +1 -1
- package/lib/components/panel-option-trade-volume/index.d.ts +1 -1
- package/lib/components/panel-option-trade-volume/src/panel-option-trade-volume.vue.d.ts +1 -1
- package/lib/components/panel-rv/index.d.ts +12 -12
- package/lib/components/panel-rv/src/panel-rv.vue.d.ts +12 -12
- package/lib/components/panel-skew/index.d.ts +2 -2
- package/lib/components/panel-skew/src/panel-skew.vue.d.ts +2 -2
- package/lib/components/panel-volatility-term-structure/index.d.ts +2 -2
- package/lib/components/panel-volatility-term-structure/src/panel-volatility-term-structure.vue.d.ts +2 -2
- package/lib/components/panel-vrp/index.d.ts +2 -2
- package/lib/components/panel-vrp/src/panel-vrp.vue.d.ts +2 -2
- package/lib/hooks/use-floating/index.d.ts +8 -8
- package/lib/index.js +21 -21
- package/lib/packages/components/button1/index.js +2 -2
- package/lib/packages/components/button1/src/button1.js +72 -6
- package/lib/packages/components/button1/src/button1.js.map +1 -1
- package/lib/packages/components/button1/src/button12.js +6 -72
- package/lib/packages/components/button1/src/button12.js.map +1 -1
- package/lib/packages/components/chart/index.js +2 -2
- package/lib/packages/components/chart/src/chart.js +89 -13
- package/lib/packages/components/chart/src/chart.js.map +1 -1
- package/lib/packages/components/chart/src/chart2.js +13 -89
- package/lib/packages/components/chart/src/chart2.js.map +1 -1
- package/lib/packages/components/chart-panel/index.js +2 -2
- package/lib/packages/components/chart-panel/src/chart-panel.js +39 -273
- package/lib/packages/components/chart-panel/src/chart-panel.js.map +1 -1
- package/lib/packages/components/chart-panel/src/chart-panel2.js +273 -39
- package/lib/packages/components/chart-panel/src/chart-panel2.js.map +1 -1
- package/lib/packages/components/chart-table/index.js +2 -2
- package/lib/packages/components/chart-table/src/chart-table.js +16 -144
- package/lib/packages/components/chart-table/src/chart-table.js.map +1 -1
- package/lib/packages/components/chart-table/src/chart-table2.js +144 -16
- package/lib/packages/components/chart-table/src/chart-table2.js.map +1 -1
- package/lib/packages/components/checkbox-group/index.js +2 -2
- package/lib/packages/components/checkbox-group/src/checkbox-group.js +6 -31
- package/lib/packages/components/checkbox-group/src/checkbox-group.js.map +1 -1
- package/lib/packages/components/checkbox-group/src/checkbox-group2.js +31 -6
- package/lib/packages/components/checkbox-group/src/checkbox-group2.js.map +1 -1
- package/lib/packages/components/dropdown-button/index.js +2 -2
- package/lib/packages/components/dropdown-button/src/dropdown-button.js +6 -39
- package/lib/packages/components/dropdown-button/src/dropdown-button.js.map +1 -1
- package/lib/packages/components/dropdown-button/src/dropdown-button2.js +39 -6
- package/lib/packages/components/dropdown-button/src/dropdown-button2.js.map +1 -1
- package/lib/packages/components/icon/index.js +2 -2
- package/lib/packages/components/icon/src/icon.js +16 -48
- package/lib/packages/components/icon/src/icon.js.map +1 -1
- package/lib/packages/components/icon/src/icon2.js +48 -16
- package/lib/packages/components/icon/src/icon2.js.map +1 -1
- package/lib/packages/components/icon/src/iconfont/iconfont.js +1 -1
- package/lib/packages/components/icon/src/iconfont/iconfont.js.map +1 -1
- package/lib/packages/components/index.js +21 -21
- package/lib/packages/components/input-number/index.js +2 -2
- package/lib/packages/components/input-number/src/input-number.js +6 -31
- package/lib/packages/components/input-number/src/input-number.js.map +1 -1
- package/lib/packages/components/input-number/src/input-number2.js +31 -6
- package/lib/packages/components/input-number/src/input-number2.js.map +1 -1
- package/lib/packages/components/menu/index.js +2 -2
- package/lib/packages/components/menu/src/menu.js +31 -6
- package/lib/packages/components/menu/src/menu.js.map +1 -1
- package/lib/packages/components/menu/src/menu2.js +6 -31
- package/lib/packages/components/menu/src/menu2.js.map +1 -1
- package/lib/packages/components/menu-item/index.js +2 -2
- package/lib/packages/components/menu-item/src/menu-item.js +6 -31
- package/lib/packages/components/menu-item/src/menu-item.js.map +1 -1
- package/lib/packages/components/menu-item/src/menu-item2.js +31 -6
- package/lib/packages/components/menu-item/src/menu-item2.js.map +1 -1
- package/lib/packages/components/page-turner/index.js +2 -2
- package/lib/packages/components/page-turner/src/page-turner.js +13 -67
- package/lib/packages/components/page-turner/src/page-turner.js.map +1 -1
- package/lib/packages/components/page-turner/src/page-turner2.js +67 -13
- package/lib/packages/components/page-turner/src/page-turner2.js.map +1 -1
- package/lib/packages/components/panel-atm-iv/index.js +2 -2
- package/lib/packages/components/panel-atm-iv/src/panel-atm-iv.js +22 -886
- package/lib/packages/components/panel-atm-iv/src/panel-atm-iv.js.map +1 -1
- package/lib/packages/components/panel-atm-iv/src/panel-atm-iv2.js +886 -22
- package/lib/packages/components/panel-atm-iv/src/panel-atm-iv2.js.map +1 -1
- package/lib/packages/components/panel-historical-delivery-price/index.js +2 -2
- package/lib/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price.js +412 -23
- package/lib/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price.js.map +1 -1
- package/lib/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price2.js +23 -412
- package/lib/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price2.js.map +1 -1
- package/lib/packages/components/panel-implied-volatility-surface/index.js +2 -2
- package/lib/packages/components/panel-implied-volatility-surface/src/panel-implied-volatility-surface.js +279 -23
- package/lib/packages/components/panel-implied-volatility-surface/src/panel-implied-volatility-surface.js.map +1 -1
- package/lib/packages/components/panel-implied-volatility-surface/src/panel-implied-volatility-surface2.js +23 -279
- package/lib/packages/components/panel-implied-volatility-surface/src/panel-implied-volatility-surface2.js.map +1 -1
- package/lib/packages/components/panel-iv-skew/src/panel-iv-skew2.js +3 -3
- package/lib/packages/components/panel-iv-skew/src/panel-iv-skew2.js.map +1 -1
- package/lib/packages/components/panel-max-pain-price/src/panel-max-pain-price.js +3 -3
- package/lib/packages/components/panel-max-pain-price/src/panel-max-pain-price.js.map +1 -1
- package/lib/packages/components/panel-option-flow/index.js +2 -2
- package/lib/packages/components/panel-option-flow/src/panel-option-flow.js +430 -23
- package/lib/packages/components/panel-option-flow/src/panel-option-flow.js.map +1 -1
- package/lib/packages/components/panel-option-flow/src/panel-option-flow2.js +23 -430
- package/lib/packages/components/panel-option-flow/src/panel-option-flow2.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 +23 -378
- 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 +378 -23
- 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/src/panel-option-trade-volume.js +3 -3
- package/lib/packages/components/panel-option-trade-volume/src/panel-option-trade-volume.js.map +1 -1
- package/lib/packages/components/panel-rv/index.js +2 -2
- package/lib/packages/components/panel-rv/src/panel-rv.js +23 -741
- package/lib/packages/components/panel-rv/src/panel-rv.js.map +1 -1
- package/lib/packages/components/panel-rv/src/panel-rv2.js +741 -23
- package/lib/packages/components/panel-rv/src/panel-rv2.js.map +1 -1
- package/lib/packages/components/panel-rv-calc/index.js +2 -2
- package/lib/packages/components/panel-rv-calc/src/panel-rv-calc.js +507 -9
- package/lib/packages/components/panel-rv-calc/src/panel-rv-calc.js.map +1 -1
- package/lib/packages/components/panel-rv-calc/src/panel-rv-calc2.js +9 -507
- package/lib/packages/components/panel-rv-calc/src/panel-rv-calc2.js.map +1 -1
- package/lib/packages/components/panel-skew/src/panel-skew.js +3 -3
- package/lib/packages/components/panel-skew/src/panel-skew.js.map +1 -1
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.js +3 -3
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.js.map +1 -1
- package/lib/packages/components/panel-vrp/src/panel-vrp2.js +3 -3
- package/lib/packages/components/panel-vrp/src/panel-vrp2.js.map +1 -1
- package/lib/packages/components/spin/index.js +2 -2
- package/lib/packages/components/spin/src/spin.js +6 -31
- package/lib/packages/components/spin/src/spin.js.map +1 -1
- package/lib/packages/components/spin/src/spin2.js +31 -6
- package/lib/packages/components/spin/src/spin2.js.map +1 -1
- package/lib/packages/components/toggle-button/index.js +2 -2
- package/lib/packages/components/toggle-button/src/toggle-button.js +13 -51
- package/lib/packages/components/toggle-button/src/toggle-button.js.map +1 -1
- package/lib/packages/components/toggle-button/src/toggle-button2.js +51 -13
- package/lib/packages/components/toggle-button/src/toggle-button2.js.map +1 -1
- package/lib/packages/components/tooltip/index.js +2 -2
- package/lib/packages/components/tooltip/src/tooltip.js +8 -33
- package/lib/packages/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/packages/components/tooltip/src/tooltip2.js +33 -8
- 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 +27 -2
- package/web-types.json +1 -1
|
@@ -1,149 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../../../
|
|
3
|
-
import { chartTableProps, chartTableEmits } from './chart-table.mjs';
|
|
4
|
-
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
5
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
6
|
-
import { useLocale } from '../../../hooks/use-locale/index.mjs';
|
|
1
|
+
import '../../../utils/index.mjs';
|
|
2
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
|
7
3
|
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const defaultColumns = [
|
|
21
|
-
{
|
|
22
|
-
title: t("message.expiryIn"),
|
|
23
|
-
key: "expire",
|
|
24
|
-
dataIndex: "expire"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
title: "",
|
|
28
|
-
key: "atm",
|
|
29
|
-
dataIndex: "atm"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
title: "chg-1d",
|
|
33
|
-
tooltipTitle: t("message.chg1dTips"),
|
|
34
|
-
key: "chg1",
|
|
35
|
-
dataIndex: "chg1"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
title: "chg-2d",
|
|
39
|
-
tooltipTitle: t("message.chg2dTips"),
|
|
40
|
-
key: "chg2",
|
|
41
|
-
dataIndex: "chg2"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
title: "chg-1w",
|
|
45
|
-
tooltipTitle: t("message.chg1wTips"),
|
|
46
|
-
key: "chg7",
|
|
47
|
-
dataIndex: "chg7"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
title: "chg-2w",
|
|
51
|
-
tooltipTitle: t("message.chg2wTips"),
|
|
52
|
-
key: "chg14",
|
|
53
|
-
dataIndex: "chg14"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
title: "chg-1m",
|
|
57
|
-
tooltipTitle: t("message.chg1mTips"),
|
|
58
|
-
key: "chg30",
|
|
59
|
-
dataIndex: "chg30"
|
|
60
|
-
}
|
|
61
|
-
];
|
|
62
|
-
const columns = computed(() => {
|
|
63
|
-
var _a;
|
|
64
|
-
let _columns = JSON.parse(JSON.stringify(defaultColumns));
|
|
65
|
-
_columns = _columns.map((v) => {
|
|
66
|
-
if (v.key === "atm") {
|
|
67
|
-
v.title = {
|
|
68
|
-
SKEW: "RR",
|
|
69
|
-
IV: "ATM IV",
|
|
70
|
-
RV: "RV"
|
|
71
|
-
}[props.name];
|
|
72
|
-
}
|
|
73
|
-
return v;
|
|
74
|
-
});
|
|
75
|
-
if (props.name === "IV") {
|
|
76
|
-
_columns.push({
|
|
77
|
-
title: ((_a = props.tableData[0] || {}) == null ? void 0 : _a.vrpLabel) || "VRP",
|
|
78
|
-
key: "vrp",
|
|
79
|
-
dataIndex: "vrp"
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
return _columns;
|
|
83
|
-
});
|
|
84
|
-
const showNumber = (val) => {
|
|
85
|
-
if (typeof val !== "number")
|
|
86
|
-
return val;
|
|
87
|
-
return Number(Number(val).toFixed(2));
|
|
88
|
-
};
|
|
89
|
-
return (_ctx, _cache) => {
|
|
90
|
-
const _component_g_tooltip = resolveComponent("g-tooltip");
|
|
91
|
-
const _component_g_table = resolveComponent("g-table");
|
|
92
|
-
return openBlock(), createElementBlock(
|
|
93
|
-
"div",
|
|
94
|
-
{
|
|
95
|
-
class: normalizeClass([unref(ns).b()])
|
|
96
|
-
},
|
|
97
|
-
[
|
|
98
|
-
createVNode(_component_g_table, {
|
|
99
|
-
columns: unref(columns),
|
|
100
|
-
"data-source": _ctx.tableData,
|
|
101
|
-
loading: _ctx.loading,
|
|
102
|
-
size: "small",
|
|
103
|
-
pagination: false,
|
|
104
|
-
scroll: { x: 600 }
|
|
105
|
-
}, {
|
|
106
|
-
headerCell: withCtx(({ column }) => [
|
|
107
|
-
column.tooltipTitle ? (openBlock(), createBlock(_component_g_tooltip, {
|
|
108
|
-
key: 0,
|
|
109
|
-
title: column.tooltipTitle,
|
|
110
|
-
placement: "bottom"
|
|
111
|
-
}, {
|
|
112
|
-
default: withCtx(() => [
|
|
113
|
-
createElementVNode(
|
|
114
|
-
"span",
|
|
115
|
-
_hoisted_1,
|
|
116
|
-
toDisplayString(column.title),
|
|
117
|
-
1
|
|
118
|
-
)
|
|
119
|
-
]),
|
|
120
|
-
_: 2
|
|
121
|
-
}, 1032, ["title"])) : createCommentVNode("v-if", true)
|
|
122
|
-
]),
|
|
123
|
-
bodyCell: withCtx(({ column, record }) => [
|
|
124
|
-
column.key ? (openBlock(), createElementBlock(
|
|
125
|
-
"span",
|
|
126
|
-
{
|
|
127
|
-
key: 0,
|
|
128
|
-
class: normalizeClass({
|
|
129
|
-
"column-span": true,
|
|
130
|
-
"text-success": column.key !== "atm" && record[column.key] > 0,
|
|
131
|
-
"text-danger": column.key !== "atm" && record[column.key] < 0
|
|
132
|
-
})
|
|
133
|
-
},
|
|
134
|
-
toDisplayString(record && showNumber(record[column.key]) || "0.00%") + " " + toDisplayString(record && typeof record[column.key] === "number" ? "%" : ""),
|
|
135
|
-
3
|
|
136
|
-
)) : createCommentVNode("v-if", true)
|
|
137
|
-
]),
|
|
138
|
-
_: 1
|
|
139
|
-
}, 8, ["columns", "data-source", "loading"])
|
|
140
|
-
],
|
|
141
|
-
2
|
|
142
|
-
);
|
|
143
|
-
};
|
|
4
|
+
const chartTableEmits = {};
|
|
5
|
+
const chartTableProps = buildProps({
|
|
6
|
+
tableData: {
|
|
7
|
+
type: Array,
|
|
8
|
+
required: true
|
|
9
|
+
},
|
|
10
|
+
name: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: "SKEW"
|
|
13
|
+
},
|
|
14
|
+
loading: {
|
|
15
|
+
type: Boolean
|
|
144
16
|
}
|
|
145
17
|
});
|
|
146
|
-
var ChartTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/chart-table/src/chart-table.vue"]]);
|
|
147
18
|
|
|
148
|
-
export {
|
|
19
|
+
export { chartTableEmits, chartTableProps };
|
|
149
20
|
//# sourceMappingURL=chart-table2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-table2.mjs","sources":["../../../../../../../packages/components/chart-table/src/chart-table.
|
|
1
|
+
{"version":3,"file":"chart-table2.mjs","sources":["../../../../../../../packages/components/chart-table/src/chart-table.ts"],"sourcesContent":["import { buildProps } from '@greeks-live-ui/utils';\nimport type ChartTable from './chart-table.vue';\nimport type { ExtractPropTypes } from 'vue';\n\nexport const chartTableEmits = {};\nexport type ChartTableEmits = typeof chartTableEmits;\nexport const chartTableProps = buildProps({\n tableData: {\n type: Array,\n required: true,\n },\n name: {\n type: String,\n default: 'SKEW', // 'SKEW' | 'IV' | 'RV'\n },\n loading: {\n type: Boolean,\n },\n});\nexport type ChartTableProps = ExtractPropTypes<typeof chartTableProps>;\nexport type ChartTableInstance = InstanceType<typeof ChartTable>;\n"],"names":[],"mappings":";;;AAIO,MAAM,kBAAkB,GAAC;AAEzB,MAAM,kBAAkB,UAAW,CAAA;AAAA,EACxC,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,KAAA;AAAA,IACN,QAAU,EAAA,IAAA;AAAA,GACZ;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,MAAA;AAAA,GACX;AAAA,EACA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,OAAA;AAAA,GACR;AACF,CAAC;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../utils/index.mjs';
|
|
2
|
-
import Checkbox from './src/
|
|
3
|
-
export { checkboxEmits, checkboxProps } from './src/
|
|
2
|
+
import Checkbox from './src/checkbox.mjs';
|
|
3
|
+
export { checkboxEmits, checkboxProps } from './src/checkbox2.mjs';
|
|
4
4
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
5
5
|
|
|
6
6
|
const GCheckbox = withInstall(Checkbox);
|
|
@@ -1,8 +1,34 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import {
|
|
1
|
+
import { Checkbox as Checkbox$1 } from 'ant-design-vue/es';
|
|
2
|
+
import { defineComponent, openBlock, createBlock, mergeProps, unref, toHandlers, withCtx, renderSlot } from 'vue';
|
|
3
|
+
import '../../../hooks/index.mjs';
|
|
4
|
+
import { checkboxProps, checkboxEmits } from './checkbox2.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: "GCheckbox"
|
|
10
|
+
};
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
...__default__,
|
|
13
|
+
props: checkboxProps,
|
|
14
|
+
emits: checkboxEmits,
|
|
15
|
+
setup(__props, { emit: emits }) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const ns = useNamespace("checkbox");
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
const _component_a_checkbox = Checkbox$1;
|
|
20
|
+
return openBlock(), createBlock(_component_a_checkbox, mergeProps({
|
|
21
|
+
class: [unref(ns).b()]
|
|
22
|
+
}, props, toHandlers(emits)), {
|
|
23
|
+
default: withCtx(() => [
|
|
24
|
+
renderSlot(_ctx.$slots, "default")
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 16, ["class"]);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/checkbox/src/checkbox.vue"]]);
|
|
6
32
|
|
|
7
|
-
export {
|
|
33
|
+
export { Checkbox as default };
|
|
8
34
|
//# sourceMappingURL=checkbox.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.mjs","sources":["../../../../../../../packages/components/checkbox/src/checkbox.
|
|
1
|
+
{"version":3,"file":"checkbox.mjs","sources":["../../../../../../../packages/components/checkbox/src/checkbox.vue"],"sourcesContent":["<template>\n <a-checkbox\n :class=\"[ns.b()]\"\n v-bind=\"props\"\n v-on=\"emits\"\n >\n <slot></slot>\n </a-checkbox>\n</template>\n<script lang=\"ts\" setup>\nimport { useNamespace } from '@greeks-live-ui/hooks'\nimport { checkboxEmits, checkboxProps } from './checkbox'\ndefineOptions({\n name: 'GCheckbox',\n})\nconst ns = useNamespace('checkbox')\nconst props = defineProps(checkboxProps)\nconst emits = defineEmits(checkboxEmits)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAeA,IAAA,MAAA,EAAA,GAAA,YAAA,CAAA,UAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,34 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '../../../hooks/index.mjs';
|
|
4
|
-
import { checkboxProps, checkboxEmits } from './checkbox.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: checkboxProps,
|
|
14
|
-
emits: checkboxEmits,
|
|
15
|
-
setup(__props, { emit: emits }) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const ns = useNamespace("checkbox");
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
const _component_a_checkbox = Checkbox$1;
|
|
20
|
-
return openBlock(), createBlock(_component_a_checkbox, mergeProps({
|
|
21
|
-
class: [unref(ns).b()]
|
|
22
|
-
}, props, toHandlers(emits)), {
|
|
23
|
-
default: withCtx(() => [
|
|
24
|
-
renderSlot(_ctx.$slots, "default")
|
|
25
|
-
]),
|
|
26
|
-
_: 3
|
|
27
|
-
}, 16, ["class"]);
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/checkbox/src/checkbox.vue"]]);
|
|
4
|
+
const checkboxEmits = {};
|
|
5
|
+
const checkboxProps = buildProps({});
|
|
32
6
|
|
|
33
|
-
export {
|
|
7
|
+
export { checkboxEmits, checkboxProps };
|
|
34
8
|
//# sourceMappingURL=checkbox2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox2.mjs","sources":["../../../../../../../packages/components/checkbox/src/checkbox.
|
|
1
|
+
{"version":3,"file":"checkbox2.mjs","sources":["../../../../../../../packages/components/checkbox/src/checkbox.ts"],"sourcesContent":["import { buildProps } from '@greeks-live-ui/utils'\nimport type Checkbox from './checkbox.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const checkboxEmits = {}\nexport type CheckboxEmits = typeof checkboxEmits\nexport const checkboxProps = buildProps({})\nexport type CheckboxProps = ExtractPropTypes<typeof checkboxProps>\nexport type CheckboxInstance = InstanceType<typeof Checkbox>\n"],"names":[],"mappings":";;;AAIO,MAAM,gBAAgB,GAAC;AAEjB,MAAA,aAAA,GAAgB,UAAW,CAAA,EAAE;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../utils/index.mjs';
|
|
2
|
-
import CheckboxGroup from './src/checkbox-
|
|
3
|
-
export { checkboxGroupEmits, checkboxGroupProps } from './src/checkbox-
|
|
2
|
+
import CheckboxGroup from './src/checkbox-group2.mjs';
|
|
3
|
+
export { checkboxGroupEmits, checkboxGroupProps } from './src/checkbox-group.mjs';
|
|
4
4
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
5
5
|
|
|
6
6
|
const GCheckboxGroup = withInstall(CheckboxGroup);
|
|
@@ -1,34 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '../../../hooks/index.mjs';
|
|
4
|
-
import { checkboxGroupProps, checkboxGroupEmits } from './checkbox-group2.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: checkboxGroupProps,
|
|
14
|
-
emits: checkboxGroupEmits,
|
|
15
|
-
setup(__props, { emit: emits }) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const ns = useNamespace("checkbox-group");
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
const _component_a_checkbox_group = CheckboxGroup$1;
|
|
20
|
-
return openBlock(), createBlock(_component_a_checkbox_group, mergeProps({
|
|
21
|
-
class: [unref(ns).b()]
|
|
22
|
-
}, props, toHandlers(emits)), {
|
|
23
|
-
default: withCtx(() => [
|
|
24
|
-
renderSlot(_ctx.$slots, "default")
|
|
25
|
-
]),
|
|
26
|
-
_: 3
|
|
27
|
-
}, 16, ["class"]);
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/checkbox-group/src/checkbox-group.vue"]]);
|
|
4
|
+
const checkboxGroupEmits = {};
|
|
5
|
+
const checkboxGroupProps = buildProps({});
|
|
32
6
|
|
|
33
|
-
export {
|
|
7
|
+
export { checkboxGroupEmits, checkboxGroupProps };
|
|
34
8
|
//# sourceMappingURL=checkbox-group.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-group.mjs","sources":["../../../../../../../packages/components/checkbox-group/src/checkbox-group.
|
|
1
|
+
{"version":3,"file":"checkbox-group.mjs","sources":["../../../../../../../packages/components/checkbox-group/src/checkbox-group.ts"],"sourcesContent":["import { buildProps } from '@greeks-live-ui/utils'\nimport type CheckboxGroup from './checkbox-group.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const checkboxGroupEmits = {}\nexport type CheckboxGroupEmits = typeof checkboxGroupEmits\nexport const checkboxGroupProps = buildProps({})\nexport type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>\nexport type CheckboxGroupInstance = InstanceType<typeof CheckboxGroup>\n"],"names":[],"mappings":";;;AAIO,MAAM,qBAAqB,GAAC;AAEtB,MAAA,kBAAA,GAAqB,UAAW,CAAA,EAAE;;;;"}
|
|
@@ -1,8 +1,34 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import {
|
|
1
|
+
import { CheckboxGroup as CheckboxGroup$1 } from 'ant-design-vue/es';
|
|
2
|
+
import { defineComponent, openBlock, createBlock, mergeProps, unref, toHandlers, withCtx, renderSlot } from 'vue';
|
|
3
|
+
import '../../../hooks/index.mjs';
|
|
4
|
+
import { checkboxGroupProps, checkboxGroupEmits } from './checkbox-group.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: "GCheckboxGroup"
|
|
10
|
+
};
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
...__default__,
|
|
13
|
+
props: checkboxGroupProps,
|
|
14
|
+
emits: checkboxGroupEmits,
|
|
15
|
+
setup(__props, { emit: emits }) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const ns = useNamespace("checkbox-group");
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
const _component_a_checkbox_group = CheckboxGroup$1;
|
|
20
|
+
return openBlock(), createBlock(_component_a_checkbox_group, mergeProps({
|
|
21
|
+
class: [unref(ns).b()]
|
|
22
|
+
}, props, toHandlers(emits)), {
|
|
23
|
+
default: withCtx(() => [
|
|
24
|
+
renderSlot(_ctx.$slots, "default")
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 16, ["class"]);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/checkbox-group/src/checkbox-group.vue"]]);
|
|
6
32
|
|
|
7
|
-
export {
|
|
33
|
+
export { CheckboxGroup as default };
|
|
8
34
|
//# sourceMappingURL=checkbox-group2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-group2.mjs","sources":["../../../../../../../packages/components/checkbox-group/src/checkbox-group.
|
|
1
|
+
{"version":3,"file":"checkbox-group2.mjs","sources":["../../../../../../../packages/components/checkbox-group/src/checkbox-group.vue"],"sourcesContent":["<template>\n <a-checkbox-group\n :class=\"[ns.b()]\"\n v-bind=\"props\"\n v-on=\"emits\"\n >\n <slot></slot>\n </a-checkbox-group>\n</template>\n<script lang=\"ts\" setup>\nimport { useNamespace } from '@greeks-live-ui/hooks'\nimport { checkboxGroupEmits, checkboxGroupProps } from './checkbox-group'\ndefineOptions({\n name: 'GCheckboxGroup',\n})\nconst ns = useNamespace('checkbox-group')\nconst props = defineProps(checkboxGroupProps)\nconst emits = defineEmits(checkboxGroupEmits)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAeA,IAAA,MAAA,EAAA,GAAA,YAAA,CAAA,gBAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../utils/index.mjs';
|
|
2
|
-
import Dropdown from './src/
|
|
3
|
-
export { dropdownEmits, dropdownProps } from './src/
|
|
2
|
+
import Dropdown from './src/dropdown.mjs';
|
|
3
|
+
export { dropdownEmits, dropdownProps } from './src/dropdown2.mjs';
|
|
4
4
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
5
5
|
|
|
6
6
|
const GDropdown = withInstall(Dropdown);
|
|
@@ -1,8 +1,37 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import {
|
|
1
|
+
import { Dropdown as Dropdown$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 { dropdownProps, dropdownEmits } from './dropdown2.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: "GDropdown"
|
|
10
|
+
};
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
...__default__,
|
|
13
|
+
props: dropdownProps,
|
|
14
|
+
emits: dropdownEmits,
|
|
15
|
+
setup(__props, { emit: emits }) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const ns = useNamespace("dropdown");
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
const _component_a_dropdown = Dropdown$1;
|
|
20
|
+
return openBlock(), createBlock(_component_a_dropdown, mergeProps({
|
|
21
|
+
class: [unref(ns).b()]
|
|
22
|
+
}, props, toHandlers(emits)), {
|
|
23
|
+
overlay: withCtx(() => [
|
|
24
|
+
_ctx.$slots.overlay ? renderSlot(_ctx.$slots, "overlay", { key: 0 }) : createCommentVNode("v-if", true)
|
|
25
|
+
]),
|
|
26
|
+
default: withCtx(() => [
|
|
27
|
+
renderSlot(_ctx.$slots, "default")
|
|
28
|
+
]),
|
|
29
|
+
_: 3
|
|
30
|
+
}, 16, ["class"]);
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/dropdown/src/dropdown.vue"]]);
|
|
6
35
|
|
|
7
|
-
export {
|
|
36
|
+
export { Dropdown as default };
|
|
8
37
|
//# sourceMappingURL=dropdown.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.mjs","sources":["../../../../../../../packages/components/dropdown/src/dropdown.
|
|
1
|
+
{"version":3,"file":"dropdown.mjs","sources":["../../../../../../../packages/components/dropdown/src/dropdown.vue"],"sourcesContent":["<template>\n <a-dropdown :class=\"[ns.b()]\" v-bind=\"props\" v-on=\"emits\">\n <template #overlay>\n <slot v-if=\"$slots.overlay\" name=\"overlay\"></slot>\n </template>\n <slot></slot>\n </a-dropdown>\n</template>\n<script lang=\"ts\" setup>\nimport { useNamespace } from '@greeks-live-ui/hooks'\nimport { dropdownEmits, dropdownProps } from './dropdown'\ndefineOptions({\n name: 'GDropdown',\n})\nconst ns = useNamespace('dropdown')\nconst props = defineProps(dropdownProps)\nconst emits = defineEmits(dropdownEmits)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAcA,IAAA,MAAA,EAAA,GAAA,YAAA,CAAA,UAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,37 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '../../../hooks/index.mjs';
|
|
4
|
-
import { dropdownProps, dropdownEmits } from './dropdown.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: dropdownProps,
|
|
14
|
-
emits: dropdownEmits,
|
|
15
|
-
setup(__props, { emit: emits }) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const ns = useNamespace("dropdown");
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
const _component_a_dropdown = Dropdown$1;
|
|
20
|
-
return openBlock(), createBlock(_component_a_dropdown, mergeProps({
|
|
21
|
-
class: [unref(ns).b()]
|
|
22
|
-
}, props, toHandlers(emits)), {
|
|
23
|
-
overlay: withCtx(() => [
|
|
24
|
-
_ctx.$slots.overlay ? renderSlot(_ctx.$slots, "overlay", { key: 0 }) : createCommentVNode("v-if", true)
|
|
25
|
-
]),
|
|
26
|
-
default: withCtx(() => [
|
|
27
|
-
renderSlot(_ctx.$slots, "default")
|
|
28
|
-
]),
|
|
29
|
-
_: 3
|
|
30
|
-
}, 16, ["class"]);
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/dropdown/src/dropdown.vue"]]);
|
|
4
|
+
const dropdownEmits = {};
|
|
5
|
+
const dropdownProps = buildProps({});
|
|
35
6
|
|
|
36
|
-
export {
|
|
7
|
+
export { dropdownEmits, dropdownProps };
|
|
37
8
|
//# sourceMappingURL=dropdown2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown2.mjs","sources":["../../../../../../../packages/components/dropdown/src/dropdown.
|
|
1
|
+
{"version":3,"file":"dropdown2.mjs","sources":["../../../../../../../packages/components/dropdown/src/dropdown.ts"],"sourcesContent":["import { buildProps } from '@greeks-live-ui/utils'\nimport type Dropdown from './dropdown.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const dropdownEmits = {}\nexport type DropdownEmits = typeof dropdownEmits\nexport const dropdownProps = buildProps({})\nexport type DropdownProps = ExtractPropTypes<typeof dropdownProps>\nexport type DropdownInstance = InstanceType<typeof Dropdown>\n"],"names":[],"mappings":";;;AAIO,MAAM,gBAAgB,GAAC;AAEjB,MAAA,aAAA,GAAgB,UAAW,CAAA,EAAE;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../utils/index.mjs';
|
|
2
|
-
import DropdownButton from './src/dropdown-
|
|
3
|
-
export { dropdownButtonEmits, dropdownButtonProps } from './src/dropdown-
|
|
2
|
+
import DropdownButton from './src/dropdown-button2.mjs';
|
|
3
|
+
export { dropdownButtonEmits, dropdownButtonProps } from './src/dropdown-button.mjs';
|
|
4
4
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
5
5
|
|
|
6
6
|
const GDropdownButton = withInstall(DropdownButton);
|
|
@@ -1,42 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import '../../../hooks/index.mjs';
|
|
4
|
-
import { dropdownButtonProps, dropdownButtonEmits } from './dropdown-button2.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: dropdownButtonProps,
|
|
14
|
-
emits: dropdownButtonEmits,
|
|
15
|
-
setup(__props, { emit: emits }) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const ns = useNamespace("dropdown-button");
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
const _component_a_dropdown_button = DropdownButton$1;
|
|
20
|
-
return openBlock(), createBlock(_component_a_dropdown_button, mergeProps({
|
|
21
|
-
class: [unref(ns).b()]
|
|
22
|
-
}, props, toHandlers(emits)), {
|
|
23
|
-
overlay: withCtx(() => [
|
|
24
|
-
_ctx.$slots.overlay ? renderSlot(_ctx.$slots, "overlay", { key: 0 }) : createCommentVNode("v-if", true)
|
|
25
|
-
]),
|
|
26
|
-
icon: withCtx(() => [
|
|
27
|
-
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
28
|
-
createCommentVNode(' <img src="./arrow.svg" alt="arrow" /> ')
|
|
29
|
-
])
|
|
30
|
-
]),
|
|
31
|
-
default: withCtx(() => [
|
|
32
|
-
renderSlot(_ctx.$slots, "default")
|
|
33
|
-
]),
|
|
34
|
-
_: 3
|
|
35
|
-
}, 16, ["class"]);
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
var DropdownButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/luobowen/Desktop/greeks/greeks-live-ui/packages/components/dropdown-button/src/dropdown-button.vue"]]);
|
|
4
|
+
const dropdownButtonEmits = {};
|
|
5
|
+
const dropdownButtonProps = buildProps({});
|
|
40
6
|
|
|
41
|
-
export {
|
|
7
|
+
export { dropdownButtonEmits, dropdownButtonProps };
|
|
42
8
|
//# sourceMappingURL=dropdown-button.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-button.mjs","sources":["../../../../../../../packages/components/dropdown-button/src/dropdown-button.
|
|
1
|
+
{"version":3,"file":"dropdown-button.mjs","sources":["../../../../../../../packages/components/dropdown-button/src/dropdown-button.ts"],"sourcesContent":["import { buildProps } from '@greeks-live-ui/utils'\nimport type DropdownButton from './dropdown-button.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const dropdownButtonEmits = {}\nexport type DropdownButtonEmits = typeof dropdownButtonEmits\nexport const dropdownButtonProps = buildProps({})\nexport type DropdownButtonProps = ExtractPropTypes<typeof dropdownButtonProps>\nexport type DropdownButtonInstance = InstanceType<typeof DropdownButton>\n"],"names":[],"mappings":";;;AAIO,MAAM,sBAAsB,GAAC;AAEvB,MAAA,mBAAA,GAAsB,UAAW,CAAA,EAAE;;;;"}
|