onesight-charts 0.0.3 → 0.0.7
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/onesight-charts.min.css +1 -1
- package/dist/onesight-charts.min.js +1 -1
- package/es/components/download-image/demo/index.js +22 -0
- package/es/components/download-image/index.js +63 -0
- package/es/components/icon/iconfont.ttf +0 -0
- package/es/components/icon/iconfont.woff +0 -0
- package/es/components/icon/iconfont.woff2 +0 -0
- package/es/components/icon/index.js +16 -0
- package/es/components/line/demo.js +13 -0
- package/es/components/line/index.js +293 -0
- package/es/components/line/tooltipConfig.js +93 -0
- package/es/components/one-table/demo/line-chart.js +908 -0
- package/es/components/one-table/index.js +128 -0
- package/es/components/pie/demo/demo.js +22 -0
- package/es/components/pie/demo/legendDemo.js +24 -0
- package/es/components/pie/demo/orderDemo.js +25 -0
- package/es/components/pie/demo/paginationDemo.js +73 -0
- package/es/components/pie/demo/tooltipDemo.js +24 -0
- package/es/components/pie/index.js +196 -0
- package/es/components/pie/legend/index.js +134 -0
- package/es/components/pie/pagination/index.js +43 -0
- package/es/components/pie/tooltipConfig.js +43 -0
- package/es/index.js +2 -0
- package/es/utils/chartUtils.js +253 -0
- package/es/utils/colors.js +26 -0
- package/es/utils/common.js +42 -0
- package/lib/components/download-image/index.scss +64 -0
- package/lib/components/icon/iconfont.css +23 -0
- package/lib/components/icon/iconfont.ttf +0 -0
- package/lib/components/icon/iconfont.woff +0 -0
- package/lib/components/icon/iconfont.woff2 +0 -0
- package/lib/components/line/style.scss +110 -0
- package/lib/components/one-table/index.scss +5 -0
- package/lib/components/pie/legend/style.scss +125 -0
- package/lib/components/pie/pagination/style.scss +45 -0
- package/lib/components/pie/style.scss +85 -0
- package/{dist → lib}/index.js +5 -2
- package/package.json +5 -3
- /package/dist/{components/icon/iconfont.ttf → static/iconfont.3a296efd.ttf} +0 -0
- /package/dist/{components/icon/iconfont.woff → static/iconfont.69fb20d3.woff} +0 -0
- /package/dist/{components/icon/iconfont.woff2 → static/iconfont.d8ae4c20.woff2} +0 -0
- /package/{dist → es}/components/download-image/index.scss +0 -0
- /package/{dist → es}/components/icon/iconfont.css +0 -0
- /package/{dist → es}/components/line/style.scss +0 -0
- /package/{dist → es}/components/one-table/index.scss +0 -0
- /package/{dist → es}/components/pie/legend/style.scss +0 -0
- /package/{dist → es}/components/pie/pagination/style.scss +0 -0
- /package/{dist → es}/components/pie/style.scss +0 -0
- /package/{dist → lib}/components/download-image/demo/index.js +0 -0
- /package/{dist → lib}/components/download-image/index.js +0 -0
- /package/{dist → lib}/components/icon/index.js +0 -0
- /package/{dist → lib}/components/line/demo.js +0 -0
- /package/{dist → lib}/components/line/index.js +0 -0
- /package/{dist → lib}/components/line/tooltipConfig.js +0 -0
- /package/{dist → lib}/components/one-table/demo/line-chart.js +0 -0
- /package/{dist → lib}/components/one-table/index.js +0 -0
- /package/{dist → lib}/components/pie/demo/demo.js +0 -0
- /package/{dist → lib}/components/pie/demo/legendDemo.js +0 -0
- /package/{dist → lib}/components/pie/demo/orderDemo.js +0 -0
- /package/{dist → lib}/components/pie/demo/paginationDemo.js +0 -0
- /package/{dist → lib}/components/pie/demo/tooltipDemo.js +0 -0
- /package/{dist → lib}/components/pie/index.js +0 -0
- /package/{dist → lib}/components/pie/legend/index.js +0 -0
- /package/{dist → lib}/components/pie/pagination/index.js +0 -0
- /package/{dist → lib}/components/pie/tooltipConfig.js +0 -0
- /package/{dist → lib}/utils/chartUtils.js +0 -0
- /package/{dist → lib}/utils/colors.js +0 -0
- /package/{dist → lib}/utils/common.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.onesight-line-tooltip{border-color:#ddd;border-radius:8px;box-shadow:0 6px 20px 0 rgba(0,0,0,.13);min-width:280px;padding:0}.onesight-line-tooltip .tooltip-wrap{position:relative}.onesight-line-tooltip .tooltip-head{border-bottom:1px solid #eee;color:#364141;font-size:15px;font-weight:700;line-height:22px;overflow:hidden;padding:10px 16px;text-overflow:ellipsis;white-space:nowrap}.onesight-line-tooltip .tooltip-body{max-height:213.64px;overflow-y:auto;padding:0 0 0 8px}.onesight-line-tooltip .tooltip-body .total{color:#364141;font-weight:600;padding:14px 8px 2px}.onesight-line-tooltip .tooltip-body .item,.onesight-line-tooltip .tooltip-body .total{align-items:center;display:flex;font-size:14px;justify-content:space-between;line-height:20px}.onesight-line-tooltip .tooltip-body .item{border-radius:6px;color:#515e5f;cursor:pointer;font-weight:400;height:32px;margin-right:1px;margin-top:8px;padding:0 8px}.onesight-line-tooltip .tooltip-body .item .l{flex-basis:auto;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.onesight-line-tooltip .tooltip-body .item .l-color{display:inline-block;height:4px;margin-bottom:3px;margin-left:2px;margin-right:6px;vertical-align:middle;width:16px}.onesight-line-tooltip .tooltip-body .item .r{flex-grow:0;flex-shrink:0;padding-left:6px;white-space:nowrap}.onesight-line-tooltip .tooltip-body .item .r .num{font-weight:700;vertical-align:baseline}.onesight-line-tooltip .tooltip-body .item:last-child{border-bottom:none;margin-bottom:8px}.onesight-line-tooltip .tooltip-body .item:only-child{line-height:32px}.onesight-line-tooltip .tooltip-body .item:hover{background:#f3f4f4}.onesight-line-tooltip .triangle-down{background:transparent;bottom:-12px;height:12px;left:50%;position:absolute;transform:translateX(-50%);width:280px}.onesight-line-tooltip .triangle-down:after{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;content:"";filter:drop-shadow(0 1px 0 #dddddd);height:0;left:50%;position:absolute;transform:translateX(-50%);width:0}
|
|
1
|
+
.onesight-line-tooltip{border-color:#ddd;border-radius:8px;box-shadow:0 6px 20px 0 rgba(0,0,0,.13);min-width:280px;padding:0}.onesight-line-tooltip .tooltip-wrap{position:relative}.onesight-line-tooltip .tooltip-head{border-bottom:1px solid #eee;color:#364141;font-size:15px;font-weight:700;line-height:22px;overflow:hidden;padding:10px 16px;text-overflow:ellipsis;white-space:nowrap}.onesight-line-tooltip .tooltip-body{max-height:213.64px;overflow-y:auto;padding:0 0 0 8px}.onesight-line-tooltip .tooltip-body .total{color:#364141;font-weight:600;padding:14px 8px 2px}.onesight-line-tooltip .tooltip-body .item,.onesight-line-tooltip .tooltip-body .total{align-items:center;display:flex;font-size:14px;justify-content:space-between;line-height:20px}.onesight-line-tooltip .tooltip-body .item{border-radius:6px;color:#515e5f;cursor:pointer;font-weight:400;height:32px;margin-right:1px;margin-top:8px;padding:0 8px}.onesight-line-tooltip .tooltip-body .item .l{flex-basis:auto;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.onesight-line-tooltip .tooltip-body .item .l-color{display:inline-block;height:4px;margin-bottom:3px;margin-left:2px;margin-right:6px;vertical-align:middle;width:16px}.onesight-line-tooltip .tooltip-body .item .r{flex-grow:0;flex-shrink:0;padding-left:6px;white-space:nowrap}.onesight-line-tooltip .tooltip-body .item .r .num{font-weight:700;vertical-align:baseline}.onesight-line-tooltip .tooltip-body .item:last-child{border-bottom:none;margin-bottom:8px}.onesight-line-tooltip .tooltip-body .item:only-child{line-height:32px}.onesight-line-tooltip .tooltip-body .item:hover{background:#f3f4f4}.onesight-line-tooltip .triangle-down{background:transparent;bottom:-12px;height:12px;left:50%;position:absolute;transform:translateX(-50%);width:280px}.onesight-line-tooltip .triangle-down:after{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #fff;content:"";filter:drop-shadow(0 1px 0 #dddddd);height:0;left:50%;position:absolute;transform:translateX(-50%);width:0}@font-face{font-family:iconfont;src:url(static/iconfont.d8ae4c20.woff2) format("woff2"),url(static/iconfont.69fb20d3.woff) format("woff"),url(static/iconfont.3a296efd.ttf) format("truetype")}.iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iconfont!important;font-size:16px;font-style:normal}.icon-left:before{content:"\e60b"}.icon-right:before{content:"\e60c"}.onesight-chart-pagination{display:flex;justify-content:flex-end;overflow:hidden}.onesight-chart-pagination .onesight-chart-page{align-items:center;background:#fff;border:1px solid #ddd;border-radius:6px;display:inline-flex;height:24px;padding:0 4px}.onesight-chart-pagination .icon-left,.onesight-chart-pagination .icon-right{border-radius:4px;color:#515e5f;cursor:pointer;line-height:1;margin-left:1px}.onesight-chart-pagination .icon-left:hover,.onesight-chart-pagination .icon-right:hover{background:#f1f2f2;color:#1da9a0}.onesight-chart-pagination .page-num{color:#364141;font-size:12px;font-weight:500;margin:0 3px}.onesight-chart-pagination .disabled{color:#b9bfbf;cursor:no-drop}.onesight-chart-pagination .disabled:hover{background:none;color:#b9bfbf}.onesight-pie-chart-wrap .onesight-pie-legend{height:100%;margin-right:16px;padding-left:0}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item{color:#364141;font-size:14px;font-weight:700;line-height:20px;margin-bottom:24px;overflow:hidden;white-space:nowrap;width:100%}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item:last-child{margin-bottom:0}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .symbol{border-radius:4px;flex-shrink:0;height:14px;margin-right:8px;width:14px}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .legend-content{align-items:center;border-radius:6px;display:flex;height:24px;justify-content:space-between;padding:0 8px;width:246px}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .legend-content:hover{background:#f3f4f4;cursor:pointer}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .parent-wrap .name{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .parent-wrap .value{flex-shrink:0}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .parent-wrap .legend-text1{color:#364141;font-size:14px;font-weight:600;margin-left:6px}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .parent-wrap .legend-text2{color:#7a8283;font-size:14px;font-weight:400}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .child-wrap{align-items:center;display:flex;margin-bottom:4px;padding:0 8px}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .child-wrap .name{color:#515e5f;font-size:12px;font-weight:500}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .child-wrap .value{align-items:center;color:#515e5f;display:flex;flex-grow:1;font-size:12px;font-weight:500;justify-content:flex-end}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .child-wrap .legend-child-text1{color:#515e5f;font-size:12px;font-weight:500}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .child-wrap .legend-child-text2{color:#7a8283;font-size:12px;font-weight:400;margin-right:6px}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item .child-wrap:last-child{margin-bottom:0}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item-cancel{color:#ccc}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item-cancel .symbol{background-color:#ccc!important}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item-cancel .legend-text1,.onesight-pie-chart-wrap .onesight-pie-legend .legend-item-cancel .legend-text2{color:#ccc!important}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item-cancel .child-wrap .symbol{background-color:hsla(0,0%,80%,0)!important}.onesight-pie-chart-wrap .onesight-pie-legend .legend-item-cancel .child-wrap .legend-child-text1,.onesight-pie-chart-wrap .onesight-pie-legend .legend-item-cancel .child-wrap .legend-child-text2,.onesight-pie-chart-wrap .onesight-pie-legend .legend-item-cancel .child-wrap .name{color:#ccc!important}.onesight-pie-chart-wrap{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.onesight-pie-chart-wrap .chart-pie{margin:0 16px 0 0}.onesight-pie-chart-wrap .onesight-pie-tooltip{border-color:#ddd!important;border-radius:8px;box-shadow:0 6px 20px 0 rgba(0,0,0,.129);width:280px}.onesight-pie-chart-wrap .onesight-pie-tooltip .pie-tooltip-text1{color:#7a8283;font-size:14px;font-weight:400;margin-right:4px}.onesight-pie-chart-wrap .onesight-pie-tooltip .pie-tooltip-text2{color:#364141;font-size:14px;font-weight:600}.onesight-pie-chart-wrap .onesight-pie-tooltip>div:nth-child(2){display:none}.onesight-pie-chart-wrap .onesight-pie-tooltip .tooltip-head{border-bottom:1px solid #eee;color:#364141;font-size:15px;font-weight:700;line-height:22px;overflow:hidden;padding:10px 16px;text-overflow:ellipsis;white-space:nowrap}.onesight-pie-chart-wrap .onesight-pie-tooltip .tooltip-body{align-items:center;display:flex;height:32px;justify-content:space-between;margin:8px 0;max-height:246px;padding:0 16px}.onesight-pie-chart-wrap .onesight-pie-tooltip .tooltip-body-c-1{align-items:center;display:flex}.onesight-pie-chart-wrap .onesight-pie-tooltip .tooltip-body-c-1 span{border-radius:4px;display:inline-block;height:14px;margin-right:5px;width:14px}.onesight-pie-chart-wrap .onesight-pie-tooltip .tooltip-body-c-1 strong{color:#515e5f;font-size:14px;font-weight:400}.onesight-pie-chart-wrap .onesight-pie-tooltip .tooltip-body-c-2{display:flex;justify-content:flex-end}.onesight-pie-chart-wrap .onesight-pie-tooltip .tooltip-footer{border-top:1px solid #d9d9d9;color:#7a8283;font-size:14px;font-weight:400;padding:8px 16px}
|