@ecan-bi/indicator-library 1.0.88 → 1.0.89
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/assets/editor.worker-02df2e61.js +1 -1
- package/dist/assets/json.worker-867823a6.js +1 -1
- package/dist/assets/ts.worker-7254b425.js +1 -1
- package/dist/index.es.js +11758 -6904
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +21 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +13 -12
- package/types/env.d.ts +15 -0
- package/types/indicator/indicator-library/data-config/data-config-group/data-config-card/DataConfigCard.vue.d.ts +1 -1
- package/types/indicator/indicator-library/data-config/style-config-group/StyleConfigGroup.vue.d.ts +2 -2
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/bar/props.d.ts +50 -0
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/combo-graph/props.d.ts +5 -1
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/index.d.ts +65 -1
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/line/props.d.ts +120 -2
- package/types/indicator/indicator-library/data-config/style-config-group/chart-props/pie/props.d.ts +26 -1
- package/types/indicator/indicator-library/data-config/style-config-group/data.d.ts +7 -1
- package/types/indicator/indicator-library/data-config/style-config-group/indicator-container/IndicatorContainer.vue.d.ts +8 -0
- package/types/indicator/indicator-library/data-config/style-config-group/indicator-container/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/PropsToForm.vue.d.ts +1 -1
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/data.d.ts +5 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/form-group/FormGroup.vue.d.ts +1 -1
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/input-number/InputNumber.vue.d.ts +4 -4
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/radio-group/RadioGroup.vue.d.ts +2 -2
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/select/Select.vue.d.ts +8 -2
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/slider/Slider.vue.d.ts +18 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/slider/index.d.ts +2 -0
- package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/switch/Switch.vue.d.ts +2 -2
- package/types/indicator/indicator-library/data-config/style-config-group/table-column-config/TableColumnConfig.vue.d.ts +3 -0
- package/types/indicator/indicator-library/data-config/style-config-group/table-column-config/components/Condition.vue.d.ts +54 -0
- package/types/indicator/indicator-library/data-config/style-config-group/table-column-config/components/ConditionList.vue.d.ts +33 -0
- package/types/indicator/indicator-library/data-config/style-config-group/table-column-config/components/ConditionWrap.vue.d.ts +42 -0
- package/types/indicator/indicator-library/data-config/style-config-group/table-column-config/components/ConditionsTable.vue.d.ts +20 -0
- package/types/indicator/indicator-library/data-list/IndSourceList.vue.d.ts +9 -0
- package/types/indicator/table-graph/TableGraph.vue.d.ts +35 -0
- package/types/utils/constant.d.ts +1 -1
- package/types/utils/util.d.ts +10 -8
- package/types/hooks/useTransformChartDataByAttrKey.d.ts +0 -25
- package/types/hooks/useTransformChartDataByAttrValue.d.ts +0 -23
- package/types/hooks/useValueFormatter.d.ts +0 -2
- package/types/hooks/useVariablesInText.d.ts +0 -12
- package/types/indicator/chart-graph/transformProps.d.ts +0 -1
- package/types/utils/runCode.d.ts +0 -4
package/dist/style.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @ecan-bi/indicator-library@1.0.
|
|
2
|
-
.data-view-list[data-v-4a66f7d2]{display:flex;flex-direction:column;height:100%}.data-view-list .tree-spin[data-v-4a66f7d2]{height:auto}.columns[data-v-4a66f7d2]{height:100%;overflow:auto;flex:1;padding-top:10px}.column-item[data-v-4a66f7d2]{display:flow-root;margin:3px 0;padding:2px 0}.column-item[data-v-4a66f7d2]:hover{background:#eee}.column-item-name[data-v-4a66f7d2]{margin-left:5px}.columns[data-v-1b27fabf]{height:100%;overflow:auto;flex:1;padding-top:10px}.columns.sub-columns[data-v-1b27fabf]{padding-top:0;margin-left:15px}.columns .no-data[data-v-1b27fabf]{color:#b1b1b1;font-size:12px;margin-left:10px}.column-item[data-v-1b27fabf]{display:flow-root;margin:3px 0;padding:2px 0}.column-item .item-name[data-v-1b27fabf]{margin-left:5px}.column-child-item[data-v-1b27fabf]{display:flex;padding:3px 10px;cursor:pointer;word-break:break-all}.column-child-item .field[data-v-1b27fabf]{white-space:nowrap}.column-disabled .column-item[data-v-1b27fabf],.column-disabled .column-item[data-v-1b27fabf] .anticon,.column-disabled .column-child-item[data-v-1b27fabf]{color:#b3b3b3}.data-source-list[data-v-7b6f9e5d]{display:flex;flex-direction:column;height:100%}.columns[data-v-7b6f9e5d]{height:100%;overflow:auto;flex:1;padding-top:10px}.column-item[data-v-7b6f9e5d]{display:flow-root;margin:3px 0;padding:2px 0}.column-child-item[data-v-7b6f9e5d]{padding:3px 10px;cursor:pointer}.column-disabled .column-item[data-v-7b6f9e5d],.column-disabled .column-item[data-v-7b6f9e5d] .anticon,.column-disabled .column-child-item[data-v-7b6f9e5d]{color:#b3b3b3}.button-wrapper[data-v-6a468e35]{width:100%;display:flex;justify-content:flex-start;margin-bottom:10px}.custom-sort-list[data-v-6a468e35]{width:100%;overflow:auto;height:calc(70vh - 124px);list-style:none;padding-bottom:60px;padding-right:10px}.sort-item[data-v-6a468e35]{border:1px dashed #aaa;margin-bottom:5px;padding:5px;font-size:14px}.sort-row[data-v-6a468e35]{margin-bottom:10px}.move-and-create[data-v-a0733a80]{display:flex;justify-content:space-between;margin-bottom:15px}.create-group[data-v-a0733a80]{display:flex;align-items:center;font-size:15px}.create-group-name[data-v-a0733a80]{width:140px;margin-left:10px}.custom-group-content[data-v-a0733a80]{overflow-y:auto}.tag[data-v-a0733a80]{margin-right:10px}.edit-title-input[data-v-a0733a80]{width:150px}.extra[data-v-a0733a80]{width:90px;display:flex;justify-content:flex-start;align-items:center}.custom-group[data-v-a0733a80]{margin:5px;padding:3px 5px}.text[data-v-a0733a80]{font-size:14px}.select-tip[data-v-a0733a80]{margin-right:10px;font-size:15px}.select-count[data-v-a0733a80]{color:red;margin:0 3px}.select-group[data-v-a0733a80]{margin-right:15px;width:140px}.cancel-button[data-v-a0733a80]{margin-right:20px}.footer[data-v-a0733a80]{display:flex}.custom-group-content .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:12px 0}.condition[data-v-29a39def]{padding:8px;border:1px solid #e8e8e8;width:100%;display:flex;align-items:center}.field-name[data-v-29a39def]{width:20%;margin-right:20px}.field-value[data-v-29a39def]{flex:1;margin-left:20px;margin-right:20px}.data-type[data-v-29a39def]{width:100px;margin-left:20px}.rule[data-v-29a39def]{width:20%}.delete-icon[data-v-29a39def],.more-icon[data-v-29a39def]{margin-right:10px}.dropdown[data-v-29a39def]{display:flex;align-items:baseline;justify-content:space-between;width:100%;padding-left:11px;padding-right:11px}.calendar-wrap[data-v-29a39def]{width:25px;border:1px solid #d9d9d9;border-radius:50%;height:25px;text-align:center;cursor:pointer}.calendar-wrap[data-v-29a39def]:hover{border-color:#1890ff}.popover-content-wrap[data-v-29a39def]{width:400px;height:300px;padding:0 12px}.popover-content-wrap .ant-tabs[data-v-29a39def]{height:100%}.popover-content-wrap .ant-tabs .tabFilterRadio[data-v-29a39def]{display:flex;justify-content:center;height:100%}.ant-dropdown-menu-title-content{white-space:nowrap}.condition-text[data-v-553c1496]{min-width:50px;max-width:50px;border:1px solid #e8e8e8;display:flex;align-items:center;justify-content:center}.condition-container[data-v-553c1496]{display:flex;width:100%}.conditions[data-v-553c1496]{display:flex;flex-direction:column;flex:1}.truncations[data-v-f543c690]{width:100%;margin-top:10px;background-color:#fff;border:1px solid #e8e8e8;padding:8px}.truncations .title[data-v-f543c690]{font-size:16px;color:#333;padding-bottom:8px}.truncations .item[data-v-f543c690]{display:flex;align-items:center}.truncations .field-value[data-v-f543c690]{display:flex;align-items:center;margin-left:20px}.truncations .field-value .text[data-v-f543c690]{word-break:keep-all}.truncations .rule[data-v-f543c690]{width:180px}.truncations .clear-truncation[data-v-f543c690]{margin:auto 0 auto auto;color:red;cursor:pointer;opacity:.7}.truncations .clear-truncation[data-v-f543c690]:hover{opacity:1}.header[data-v-38f115c6]{display:flex;justify-content:flex-end;margin-bottom:30px}.add-and-condition[data-v-38f115c6]{width:100px;margin-right:15px}.add-or-condition[data-v-38f115c6]{width:100px}.config-name[data-v-de6a1755],.sort-by-cpnt[data-v-08af1ef8],.dim-by-count[data-v-aa1c298e]{display:flex;align-items:center;padding-top:10px}.formula-calculation[data-v-69040cfb]{width:100%}[theme=dark] .formula-calculation[data-v-69040cfb]{border:1px solid #333}.field-area[data-v-69040cfb]{height:100%;background:#eff1f4;border:1px solid #d9d9d9;border-right:none}[theme=dark] .field-area[data-v-69040cfb]{background:#333}.field[data-v-69040cfb]{margin-bottom:10px;padding-left:15px;font-weight:500;cursor:pointer}.textarea[data-v-69040cfb]{height:100%;border-radius:0}.cal_right_bottom[data-v-69040cfb]{height:26px;width:100%;border:1px solid #d9d9d9;border-top:none;line-height:26px}.cal_right_bottom .cal_fu[data-v-69040cfb]{padding:0;width:200px;float:left;margin:0}.cal_right_bottom .cal_fu li[data-v-69040cfb]{width:20px;float:left;text-align:center;margin:0 5px;cursor:pointer}.cal_right_bottom .cal_fu li[data-v-69040cfb]:hover{background:#eff1f4}.cal_right_bottom .cal_a[data-v-69040cfb]{color:#1890ff;font-size:13px;cursor:pointer;display:flex;align-items:center;float:right;margin-right:10px;height:13px;margin-top:6px}.cal_right_bottom .cal_a[data-v-69040cfb]:hover{color:#40a9ff}.function-wrap[data-v-69040cfb]{width:260px;height:200px}.function-wrap .wrap-search[data-v-69040cfb]{height:40px;background-color:#fff;border-bottom:1px solid #d9d9d9;padding:0 10px}.function-wrap .tree-box[data-v-69040cfb]{height:calc(100% - 40px);overflow:auto}.func-popover .ant-popover-inner-content{padding:12px 0}.func-popover .insertsty{color:#1890ff;margin-left:6px;display:none}.func-popover .insertsty:hover{color:red}.func-popover .ant-tree-title:hover .insertsty{display:inline-block}.accesstip[data-v-33575cd9]{color:#3f8ce8}.question-tooltip .ant-tooltip-inner{color:#333}.data-config-card[data-v-57291191]{display:flex;flex-direction:column;height:280px}.card-item[data-v-57291191]{background-color:#a1d4e64d;width:100%;height:100%;padding:5px;margin:3px 0}.title[data-v-57291191]{display:flex;justify-content:space-between}.add-calculation[data-v-57291191]{cursor:pointer;font-size:13px;color:#3f8ce8;line-height:24px}.add-calculation-icon[data-v-57291191]{color:#3f8ce8;margin-right:3px}.ant-checkbox+span[data-v-57291191]{width:100%!important}.card-item-inner[data-v-57291191]{width:100%;display:flex;justify-content:space-between;align-items:center}.name[data-v-57291191]{width:100%}.placeholder[data-v-57291191]{color:red}.setting-icon[data-v-57291191]{color:#545;margin-left:5px}.delete-icon[data-v-57291191]{color:red;margin-left:5px}.calculation-icon[data-v-57291191]{font-weight:700;font-style:italic}.menu-item[data-v-57291191]{white-space:nowrap}.chart-column[data-v-57291191]{height:100%}.data-view-name[data-v-57291191]{display:inline-block;max-width:200px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.data-config-card .ant-card-body{overflow-y:auto}.card-item .ant-checkbox+span{width:100%}.field-wrap{padding:10px 0}.field-wrap .field-item{display:flex;align-items:center;margin-bottom:20px}.field-wrap .field-item .item-label{width:45px;font-size:14px;text-align:right}.data-group[data-v-e7f85d47]{display:flex}.data-config-card[data-v-e7f85d47]{width:25%}.data-config-card[data-v-e7f85d47]:not(:last-child){margin-right:15px}.data-group .ant-card-body{padding:0;height:calc(100% - 58px)}.color-pick[data-v-e2113f43]{display:flex}.input[data-v-e2113f43]{margin-right:10px}.color-group-pick[data-v-b2be8322]{padding:10px}.form-group[data-v-f0c0ab4d]{position:relative;display:flex;width:100%}.form[data-v-f0c0ab4d]{flex:1;overflow-x:hidden}.form[data-v-f0c0ab4d]:hover{overflow:overlay}.form-row[data-v-f0c0ab4d]{display:flex;align-items:center}.form-row[data-v-f0c0ab4d]:not(:last-child){margin-bottom:15px}.form-item[data-v-f0c0ab4d]{display:flex;align-items:center;width:100%;margin-bottom:10px}.label[data-v-f0c0ab4d]{width:max-content;padding-right:5px}.value[data-v-f0c0ab4d]{flex:1;margin-right:10px}.icon[data-v-f0c0ab4d]{color:#000000a6}.add[data-v-f0c0ab4d]{position:absolute;top:-30px;right:0;font-size:20px}.icon-group[data-v-f0c0ab4d]{display:flex;flex-direction:column}.delete[data-v-f0c0ab4d]{width:30px;display:flex;justify-content:flex-end;align-items:center;font-size:18px}.icon-item[data-v-f0c0ab4d]{display:flex;width:30px;height:40px;justify-content:center;align-items:center}.icon-item[data-v-f0c0ab4d]:not(:last-child){margin-bottom:15px}.add-children-icon[data-v-f0c0ab4d]{font-size:18px;margin-right:10px}.fixed[data-v-f0c0ab4d]{font-size:18px}.use-font-size[data-v-f0c0ab4d]{display:flex;align-items:center}.use-color[data-v-f0c0ab4d]{margin:5px}.prop-item[data-v-c6fb2484]{display:flex;align-items:center;padding:5px 5px 10px}.label[data-v-c6fb2484]{width:28%;display:flex;justify-content:center}.label-vertical[data-v-c6fb2484]{justify-content:flex-start;padding-bottom:4px}.component-wrapper[data-v-c6fb2484]{width:72%}.component[data-v-c6fb2484]{width:100%}.layout[data-v-c6fb2484]{align-items:flex-start;flex-direction:column;padding:10px 5px 10px 10px}.layout .label[data-v-c6fb2484]{text-align:left;margin-bottom:5px}.layout .component-wrapper[data-v-c6fb2484]{width:100%}.editor[data-v-71e88372]{width:100%;height:100%}[data-v-71e88372] .overlayWidgets .find-widget{min-width:220px!important}.table-column-config[data-v-afebddc0],.table-column-config .column-table[data-v-afebddc0]{width:100%}.table-column-config .option-editor[data-v-afebddc0]{min-height:500px;max-height:500px;border:1px solid #e9e9e9}.style-group[data-v-2fb3e2ad]{padding-right:5px;width:100%}.style-group .option-editor[data-v-2fb3e2ad]{min-height:500px;max-height:500px;border:1px solid #e9e9e9}.style-group[data-v-2fb3e2ad] .ant-collapse-content,.style-group[data-v-2fb3e2ad] .ant-collapse-content .ant-collapse-content-box{width:100%}.attribute-config .ant-collapse-content>.ant-collapse-content-box>editor{padding:16px 10px}.control-card[data-v-1e33ff6f]{width:100%;padding:10px;display:flex;position:relative}.control-card .field-name[data-v-1e33ff6f]{margin-right:20px;flex:1}.more-icon[data-v-1e33ff6f]{margin-right:10px}.control-card .ant-form-item:not(:last-child){margin-bottom:8px}.control-card .ant-form-item:last-child{margin-bottom:0}.condition-list[data-v-916ff9bd]{width:100%}.condition-text[data-v-916ff9bd]{min-width:50px;max-width:50px;border:1px solid #e8e8e8;display:flex;align-items:center;justify-content:center}.condition-container[data-v-916ff9bd]{display:flex;width:100%}.conditions[data-v-916ff9bd]{display:flex;flex-direction:column;flex:1;width:100%}.condition[data-v-916ff9bd]{padding:8px;border:1px solid #e8e8e8;width:100%;display:flex;align-items:center}.control-group-header[data-v-1e37d2d3]{margin:20px 0}.control-group-content[data-v-1e37d2d3]{display:flex;flex-wrap:wrap}.variable-item[data-v-75ccc065]{width:100%;padding:10px;display:flex;align-items:center;position:relative;border:1px solid #e8e8e8}.variable-item .field-name[data-v-75ccc065]{margin-right:20px;flex:1}.variable-item .var-indicator[data-v-75ccc065]{width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;margin-right:10px;text-align:center}.variable-item .calendar-wrap[data-v-75ccc065]{width:25px;border:1px solid #d9d9d9;border-radius:50%;height:25px;text-align:center;cursor:pointer;margin-right:15px}.variable-item .calendar-wrap[data-v-75ccc065]:hover{border-color:#1890ff}.variable-group-header[data-v-fd60cd09]{margin:20px 0}.ecan-chart-graph[data-v-8049fed2],.ecan-chart-graph .chart-spin[data-v-8049fed2],.ecan-chart-graph .chart-spin[data-v-8049fed2] .ant-spin-container{width:100%;height:100%}.data-config[data-v-d85f4e1e]{background:#fff;height:100%;width:100%;padding:0 15px;overflow-y:auto;color:#444;display:flex;flex-flow:column}.data-config[data-v-d85f4e1e] .ant-tabs{flex:1}.data-config[data-v-d85f4e1e] .ant-tabs .ant-tabs-nav{margin-bottom:4px}.data-config[data-v-d85f4e1e] .ant-tabs .ant-tabs-content-holder{height:calc(100% - 50px);overflow:auto}.chart-component[data-v-d85f4e1e]{width:100%;position:relative!important;margin:20px auto 0}.chart-component.full-width[data-v-d85f4e1e]{width:100%!important}.prop-item[data-v-d85f4e1e]{display:flex;align-items:center;padding:5px 5px 10px}.label[data-v-d85f4e1e]{width:135px;display:flex;justify-content:center}.component-wrapper[data-v-d85f4e1e]{width:calc(100% - 135px)}.color-pick[data-v-d85f4e1e]{display:flex}.input[data-v-d85f4e1e]{margin-right:10px}.config-modal[data-v-23d542ce]{width:100%;height:100%;display:flex;padding:10px}.config-modal-left[data-v-23d542ce]{width:300px;height:100%;margin-right:10px;padding:10px}.config-modal-right[data-v-23d542ce]{width:calc(100% - 310px)}
|
|
1
|
+
/*! @ecan-bi/indicator-library@1.0.89 */
|
|
2
|
+
.data-view-list[data-v-4a66f7d2]{display:flex;flex-direction:column;height:100%}.data-view-list .tree-spin[data-v-4a66f7d2]{height:auto}.columns[data-v-4a66f7d2]{height:100%;overflow:auto;flex:1;padding-top:10px}.column-item[data-v-4a66f7d2]{display:flow-root;margin:3px 0;padding:2px 0}.column-item[data-v-4a66f7d2]:hover{background:#eee}.column-item-name[data-v-4a66f7d2]{margin-left:5px}.columns[data-v-e2cb0767]{height:100%;overflow:auto;flex:1;padding-top:10px}.columns.sub-columns[data-v-e2cb0767]{padding-top:0;margin-left:15px}.columns .no-data[data-v-e2cb0767]{color:#b1b1b1;font-size:12px;margin-left:10px}.column-item[data-v-e2cb0767]{display:flow-root;margin:3px 0;padding:2px 0}.column-item .item-name[data-v-e2cb0767]{margin-left:5px}.column-child-item[data-v-e2cb0767]{display:flex;padding:3px 10px;cursor:pointer;word-break:break-all}.column-child-item .field[data-v-e2cb0767]{white-space:nowrap}.column-disabled .column-item[data-v-e2cb0767],.column-disabled .column-item[data-v-e2cb0767] .anticon,.column-disabled .column-child-item[data-v-e2cb0767]{color:#b3b3b3}.data-source-list[data-v-cac5fe5f]{display:flex;flex-direction:column;height:100%}.columns[data-v-cac5fe5f]{height:100%;overflow:auto;flex:1;padding-top:10px}.column-item[data-v-cac5fe5f]{display:flow-root;margin:3px 0;padding:2px 0}.column-child-item[data-v-cac5fe5f]{padding:3px 10px;cursor:pointer}.column-disabled .column-item[data-v-cac5fe5f],.column-disabled .column-item[data-v-cac5fe5f] .anticon,.column-disabled .column-child-item[data-v-cac5fe5f]{color:#b3b3b3}.button-wrapper[data-v-6a468e35]{width:100%;display:flex;justify-content:flex-start;margin-bottom:10px}.custom-sort-list[data-v-6a468e35]{width:100%;overflow:auto;height:calc(70vh - 124px);list-style:none;padding-bottom:60px;padding-right:10px}.sort-item[data-v-6a468e35]{border:1px dashed #aaa;margin-bottom:5px;padding:5px;font-size:14px}.sort-row[data-v-6a468e35]{margin-bottom:10px}.move-and-create[data-v-a0733a80]{display:flex;justify-content:space-between;margin-bottom:15px}.create-group[data-v-a0733a80]{display:flex;align-items:center;font-size:15px}.create-group-name[data-v-a0733a80]{width:140px;margin-left:10px}.custom-group-content[data-v-a0733a80]{overflow-y:auto}.tag[data-v-a0733a80]{margin-right:10px}.edit-title-input[data-v-a0733a80]{width:150px}.extra[data-v-a0733a80]{width:90px;display:flex;justify-content:flex-start;align-items:center}.custom-group[data-v-a0733a80]{margin:5px;padding:3px 5px}.text[data-v-a0733a80]{font-size:14px}.select-tip[data-v-a0733a80]{margin-right:10px;font-size:15px}.select-count[data-v-a0733a80]{color:red;margin:0 3px}.select-group[data-v-a0733a80]{margin-right:15px;width:140px}.cancel-button[data-v-a0733a80]{margin-right:20px}.footer[data-v-a0733a80]{display:flex}.custom-group-content .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:12px 0}.condition[data-v-29a39def]{padding:8px;border:1px solid #e8e8e8;width:100%;display:flex;align-items:center}.field-name[data-v-29a39def]{width:20%;margin-right:20px}.field-value[data-v-29a39def]{flex:1;margin-left:20px;margin-right:20px}.data-type[data-v-29a39def]{width:100px;margin-left:20px}.rule[data-v-29a39def]{width:20%}.delete-icon[data-v-29a39def],.more-icon[data-v-29a39def]{margin-right:10px}.dropdown[data-v-29a39def]{display:flex;align-items:baseline;justify-content:space-between;width:100%;padding-left:11px;padding-right:11px}.calendar-wrap[data-v-29a39def]{width:25px;border:1px solid #d9d9d9;border-radius:50%;height:25px;text-align:center;cursor:pointer}.calendar-wrap[data-v-29a39def]:hover{border-color:#1890ff}.popover-content-wrap[data-v-29a39def]{width:400px;height:300px;padding:0 12px}.popover-content-wrap .ant-tabs[data-v-29a39def]{height:100%}.popover-content-wrap .ant-tabs .tabFilterRadio[data-v-29a39def]{display:flex;justify-content:center;height:100%}.ant-dropdown-menu-title-content{white-space:nowrap}.condition-text[data-v-553c1496]{min-width:50px;max-width:50px;border:1px solid #e8e8e8;display:flex;align-items:center;justify-content:center}.condition-container[data-v-553c1496]{display:flex;width:100%}.conditions[data-v-553c1496]{display:flex;flex-direction:column;flex:1}.truncations[data-v-f543c690]{width:100%;margin-top:10px;background-color:#fff;border:1px solid #e8e8e8;padding:8px}.truncations .title[data-v-f543c690]{font-size:16px;color:#333;padding-bottom:8px}.truncations .item[data-v-f543c690]{display:flex;align-items:center}.truncations .field-value[data-v-f543c690]{display:flex;align-items:center;margin-left:20px}.truncations .field-value .text[data-v-f543c690]{word-break:keep-all}.truncations .rule[data-v-f543c690]{width:180px}.truncations .clear-truncation[data-v-f543c690]{margin:auto 0 auto auto;color:red;cursor:pointer;opacity:.7}.truncations .clear-truncation[data-v-f543c690]:hover{opacity:1}.header[data-v-38f115c6]{display:flex;justify-content:flex-end;margin-bottom:30px}.add-and-condition[data-v-38f115c6]{width:100px;margin-right:15px}.add-or-condition[data-v-38f115c6]{width:100px}.config-name[data-v-de6a1755],.sort-by-cpnt[data-v-08af1ef8],.dim-by-count[data-v-aa1c298e]{display:flex;align-items:center;padding-top:10px}.formula-calculation[data-v-69040cfb]{width:100%}[theme=dark] .formula-calculation[data-v-69040cfb]{border:1px solid #333}.field-area[data-v-69040cfb]{height:100%;background:#eff1f4;border:1px solid #d9d9d9;border-right:none}[theme=dark] .field-area[data-v-69040cfb]{background:#333}.field[data-v-69040cfb]{margin-bottom:10px;padding-left:15px;font-weight:500;cursor:pointer}.textarea[data-v-69040cfb]{height:100%;border-radius:0}.cal_right_bottom[data-v-69040cfb]{height:26px;width:100%;border:1px solid #d9d9d9;border-top:none;line-height:26px}.cal_right_bottom .cal_fu[data-v-69040cfb]{padding:0;width:200px;float:left;margin:0}.cal_right_bottom .cal_fu li[data-v-69040cfb]{width:20px;float:left;text-align:center;margin:0 5px;cursor:pointer}.cal_right_bottom .cal_fu li[data-v-69040cfb]:hover{background:#eff1f4}.cal_right_bottom .cal_a[data-v-69040cfb]{color:#1890ff;font-size:13px;cursor:pointer;display:flex;align-items:center;float:right;margin-right:10px;height:13px;margin-top:6px}.cal_right_bottom .cal_a[data-v-69040cfb]:hover{color:#40a9ff}.function-wrap[data-v-69040cfb]{width:260px;height:200px}.function-wrap .wrap-search[data-v-69040cfb]{height:40px;background-color:#fff;border-bottom:1px solid #d9d9d9;padding:0 10px}.function-wrap .tree-box[data-v-69040cfb]{height:calc(100% - 40px);overflow:auto}.func-popover .ant-popover-inner-content{padding:12px 0}.func-popover .insertsty{color:#1890ff;margin-left:6px;display:none}.func-popover .insertsty:hover{color:red}.func-popover .ant-tree-title:hover .insertsty{display:inline-block}.accesstip[data-v-33575cd9]{color:#3f8ce8}.question-tooltip .ant-tooltip-inner{color:#333}.data-config-card[data-v-73e39b35]{display:flex;flex-direction:column;height:280px}.card-item[data-v-73e39b35]{background-color:#a1d4e64d;width:100%;height:100%;padding:5px;margin:3px 0}.title[data-v-73e39b35]{display:flex;justify-content:space-between}.add-calculation[data-v-73e39b35]{cursor:pointer;font-size:13px;color:#3f8ce8;line-height:24px}.add-calculation-icon[data-v-73e39b35]{color:#3f8ce8;margin-right:3px}.ant-checkbox+span[data-v-73e39b35]{width:100%!important}.card-item-inner[data-v-73e39b35]{width:100%;display:flex;justify-content:space-between;align-items:center}.name[data-v-73e39b35]{width:100%}.placeholder[data-v-73e39b35]{color:red}.setting-icon[data-v-73e39b35]{color:#545;margin-left:5px}.delete-icon[data-v-73e39b35]{color:red;margin-left:5px}.calculation-icon[data-v-73e39b35]{font-weight:700;font-style:italic}.menu-item[data-v-73e39b35]{white-space:nowrap}.chart-column[data-v-73e39b35]{height:100%}.data-view-name[data-v-73e39b35]{display:inline-block;max-width:200px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.data-config-card .ant-card-body{overflow-y:auto}.card-item .ant-checkbox+span{width:100%}.field-wrap{padding:10px 0}.field-wrap .field-item{display:flex;align-items:center;margin-bottom:20px}.field-wrap .field-item .item-label{width:45px;font-size:14px;text-align:right}.data-group[data-v-0436e5bb]{display:flex}.data-config-card[data-v-0436e5bb]{width:25%}.data-config-card[data-v-0436e5bb]:not(:last-child){margin-right:15px}.data-group .ant-card-body{padding:0;height:calc(100% - 58px)}.color-pick[data-v-2ee2749b]{display:flex}.input[data-v-2ee2749b]{margin-right:10px}.color-group-pick[data-v-b2be8322]{padding:10px}.form-group[data-v-f0c0ab4d]{position:relative;display:flex;width:100%}.form[data-v-f0c0ab4d]{flex:1;overflow-x:hidden}.form[data-v-f0c0ab4d]:hover{overflow:overlay}.form-row[data-v-f0c0ab4d]{display:flex;align-items:center}.form-row[data-v-f0c0ab4d]:not(:last-child){margin-bottom:15px}.form-item[data-v-f0c0ab4d]{display:flex;align-items:center;width:100%;margin-bottom:10px}.label[data-v-f0c0ab4d]{width:max-content;padding-right:5px}.value[data-v-f0c0ab4d]{flex:1;margin-right:10px}.icon[data-v-f0c0ab4d]{color:#000000a6}.add[data-v-f0c0ab4d]{position:absolute;top:-30px;right:0;font-size:20px}.icon-group[data-v-f0c0ab4d]{display:flex;flex-direction:column}.delete[data-v-f0c0ab4d]{width:30px;display:flex;justify-content:flex-end;align-items:center;font-size:18px}.icon-item[data-v-f0c0ab4d]{display:flex;width:30px;height:40px;justify-content:center;align-items:center}.icon-item[data-v-f0c0ab4d]:not(:last-child){margin-bottom:15px}.add-children-icon[data-v-f0c0ab4d]{font-size:18px;margin-right:10px}.fixed[data-v-f0c0ab4d]{font-size:18px}.use-font-size[data-v-f0c0ab4d]{display:flex;align-items:center}.use-color[data-v-f0c0ab4d]{margin:5px}.prop-item[data-v-62456472]{display:flex;align-items:center;padding:5px 5px 10px}.label[data-v-62456472]{width:28%;display:flex;justify-content:center}.label-vertical[data-v-62456472]{justify-content:flex-start;padding-bottom:4px}.component-wrapper[data-v-62456472]{width:72%}.component[data-v-62456472]{width:100%}.layout[data-v-62456472]{align-items:flex-start;flex-direction:column;padding:10px 5px 10px 10px}.layout .label[data-v-62456472]{text-align:left;margin-bottom:5px}.layout .component-wrapper[data-v-62456472]{width:100%}.editor[data-v-71e88372]{width:100%;height:100%}[data-v-71e88372] .overlayWidgets .find-widget{min-width:220px!important}.condition[data-v-9fcdf54d]{padding:8px;border:1px solid #e8e8e8;width:100%;display:flex;align-items:center}.field-name[data-v-9fcdf54d]{width:25%;margin-right:10px}.field-value[data-v-9fcdf54d]{width:75%;margin-right:10px}.data-type[data-v-9fcdf54d]{width:100px;margin-left:20px}.rule[data-v-9fcdf54d]{width:20%}.delete-icon[data-v-9fcdf54d],.more-icon[data-v-9fcdf54d]{margin-right:10px}.condition-text[data-v-49c6481f]{min-width:50px;max-width:50px;border:1px solid #e8e8e8;display:flex;align-items:center;justify-content:center}.condition-container[data-v-49c6481f]{display:flex;width:100%}.conditions[data-v-49c6481f]{display:flex;flex-direction:column;flex:1}.config-wrap[data-v-a29d848a]{display:flex;align-items:center}.config-wrap .wrap-item .title[data-v-a29d848a]{height:32px;display:flex;align-items:center;margin-bottom:10px}.config-wrap .wrap-item .border[data-v-a29d848a]{width:100%;height:400px;border:1px solid #e8e8e8;overflow:auto}.config-wrap .wrap-item .border .row[data-v-a29d848a]{display:flex;align-items:center;margin-bottom:15px}.config-wrap .wrap-item.left[data-v-a29d848a]{width:calc(60% - 20px);margin-right:20px}.config-wrap .wrap-item.right[data-v-a29d848a]{width:40%}.config-wrap .wrap-item.right .border[data-v-a29d848a]{padding:10px}.config-wrap .add-and-condition[data-v-a29d848a]{margin-left:15px;margin-right:15px}.table-column-config[data-v-bb095396],.table-column-config .column-table[data-v-bb095396]{width:100%}.table-column-config .option-editor[data-v-bb095396]{min-height:500px;max-height:500px;border:1px solid #e9e9e9}.table-column-config[data-v-72761110],.table-column-config .column-table[data-v-72761110]{width:100%}.style-group[data-v-9a2fa8f5]{padding-right:5px;width:100%}.style-group .option-editor[data-v-9a2fa8f5]{min-height:500px;max-height:500px;border:1px solid #e9e9e9}.style-group[data-v-9a2fa8f5] .ant-collapse-content,.style-group[data-v-9a2fa8f5] .ant-collapse-content .ant-collapse-content-box{width:100%}.attribute-config .ant-collapse-content>.ant-collapse-content-box>editor{padding:16px 10px}.control-card[data-v-b5a81113]{width:100%;padding:10px;display:flex;position:relative}.control-card .field-name[data-v-b5a81113]{margin-right:20px;flex:1}.more-icon[data-v-b5a81113]{margin-right:10px}.control-card .ant-form-item:not(:last-child){margin-bottom:8px}.control-card .ant-form-item:last-child{margin-bottom:0}.condition-list[data-v-916ff9bd]{width:100%}.condition-text[data-v-916ff9bd]{min-width:50px;max-width:50px;border:1px solid #e8e8e8;display:flex;align-items:center;justify-content:center}.condition-container[data-v-916ff9bd]{display:flex;width:100%}.conditions[data-v-916ff9bd]{display:flex;flex-direction:column;flex:1;width:100%}.condition[data-v-916ff9bd]{padding:8px;border:1px solid #e8e8e8;width:100%;display:flex;align-items:center}.control-group-header[data-v-69806ab9]{margin:20px 0}.control-group-content[data-v-69806ab9]{display:flex;flex-wrap:wrap}.variable-item[data-v-0d77395a]{width:100%;padding:10px;display:flex;align-items:center;position:relative;border:1px solid #e8e8e8}.variable-item .field-name[data-v-0d77395a]{margin-right:20px;flex:1}.variable-item .var-indicator[data-v-0d77395a]{width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;margin-right:10px;text-align:center}.variable-item .calendar-wrap[data-v-0d77395a]{width:25px;border:1px solid #d9d9d9;border-radius:50%;height:25px;text-align:center;cursor:pointer;margin-right:15px}.variable-item .calendar-wrap[data-v-0d77395a]:hover{border-color:#1890ff}.variable-group-header[data-v-fd60cd09]{margin:20px 0}.ecan-chart-graph[data-v-845f7ab1],.ecan-chart-graph .chart-spin[data-v-845f7ab1],.ecan-chart-graph .chart-spin[data-v-845f7ab1] .ant-spin-container{width:100%;height:100%}.data-config[data-v-1f671261]{background:#fff;height:100%;width:100%;padding:0 15px;overflow-y:auto;color:#444;display:flex;flex-flow:column}.data-config[data-v-1f671261] .ant-tabs{flex:1}.data-config[data-v-1f671261] .ant-tabs .ant-tabs-nav{margin-bottom:4px}.data-config[data-v-1f671261] .ant-tabs .ant-tabs-content-holder{height:calc(100% - 50px);overflow:auto}.chart-component[data-v-1f671261]{width:100%;position:relative!important;margin:20px auto 0}.chart-component.full-width[data-v-1f671261]{width:100%!important}.prop-item[data-v-1f671261]{display:flex;align-items:center;padding:5px 5px 10px}.label[data-v-1f671261]{width:135px;display:flex;justify-content:center}.component-wrapper[data-v-1f671261]{width:calc(100% - 135px)}.color-pick[data-v-1f671261]{display:flex}.input[data-v-1f671261]{margin-right:10px}.config-modal[data-v-0686deff]{width:100%;height:100%;display:flex;padding:10px}.config-modal-left[data-v-0686deff]{width:300px;height:100%;margin-right:10px;padding:10px}.config-modal-right[data-v-0686deff]{width:calc(100% - 310px)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecan-bi/indicator-library",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.89",
|
|
4
4
|
"main": "dist/index.umd.js",
|
|
5
5
|
"module": "dist/index.es.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -30,38 +30,39 @@
|
|
|
30
30
|
"prepublishOnly": "npm run build"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"
|
|
34
|
-
"
|
|
33
|
+
"echarts": "5.3.2",
|
|
34
|
+
"monaco-editor": "^0.31.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@
|
|
38
|
-
"ant-design-vue": "3.1.1",
|
|
39
|
-
"axios": "0.24.0",
|
|
40
|
-
"lodash-es": "4.17.21",
|
|
41
|
-
"monaco-editor": "^0.31.1",
|
|
42
|
-
"nanoid": "3.1.30",
|
|
43
|
-
"nrm": "^1.2.6",
|
|
44
|
-
"vue": "^3.3.8",
|
|
45
|
-
"vue-pick-colors": "^1.3.4",
|
|
37
|
+
"@ecan-bi/tools": "^1.0.23",
|
|
46
38
|
"@types/lodash-es": "4.17.5",
|
|
39
|
+
"@types/node": "^20.10.4",
|
|
47
40
|
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
|
48
41
|
"@typescript-eslint/parser": "^5.48.1",
|
|
49
42
|
"@vitejs/plugin-vue": "4.1.0",
|
|
50
43
|
"@vitejs/plugin-vue-jsx": "3.0.0",
|
|
51
44
|
"@vue/compiler-sfc": "3.2.37",
|
|
52
45
|
"@vue/eslint-config-standard": "^6.1.0",
|
|
46
|
+
"ant-design-vue": "3.1.1",
|
|
47
|
+
"axios": "0.24.0",
|
|
53
48
|
"eslint": "^7.32.0",
|
|
54
49
|
"eslint-plugin-import": "^2.25.3",
|
|
55
50
|
"eslint-plugin-node": "^11.1.0",
|
|
56
51
|
"eslint-plugin-promise": "^5.1.1",
|
|
57
52
|
"eslint-plugin-vue": "^7.20.0",
|
|
58
53
|
"less": "^4.1.2",
|
|
54
|
+
"lodash-es": "4.17.21",
|
|
55
|
+
"monaco-editor": "^0.31.1",
|
|
56
|
+
"nanoid": "3.1.30",
|
|
57
|
+
"nrm": "^1.2.6",
|
|
59
58
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
60
59
|
"typescript": "^5.2.2",
|
|
61
60
|
"vite": "4.3.1",
|
|
62
61
|
"vite-plugin-banner": "0.5.0",
|
|
63
62
|
"vite-plugin-dts": "1.7.1",
|
|
64
63
|
"vite-plugin-eslint": "^1.8.1",
|
|
64
|
+
"vue": "^3.3.8",
|
|
65
|
+
"vue-pick-colors": "^1.3.4",
|
|
65
66
|
"vue-tsc": "^1.8.22",
|
|
66
67
|
"vuedraggable": "^4.1.0"
|
|
67
68
|
},
|
package/types/env.d.ts
CHANGED
|
@@ -7,3 +7,18 @@ declare module '*.vue' {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
declare module '*.png'
|
|
10
|
+
|
|
11
|
+
declare interface Window {
|
|
12
|
+
config: {
|
|
13
|
+
routerBaseURL: string // 路由路径
|
|
14
|
+
requestBaseURL: string // 请求基础路径
|
|
15
|
+
requestParams: { [key:string]: any } // 请求参数
|
|
16
|
+
publishBaseURL: string // 发布路由
|
|
17
|
+
indicatorURL: string // 指标库路径
|
|
18
|
+
pageId: string // 页面id
|
|
19
|
+
indicatorToken: string // 指标库token
|
|
20
|
+
requestErrorTip: boolean // 请求错误提示
|
|
21
|
+
uploadPath: string // 请求路径
|
|
22
|
+
imgBaseUrl: string // 平台图片路径
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -98,7 +98,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
98
98
|
[key: string]: any;
|
|
99
99
|
}, index: number) => void;
|
|
100
100
|
selectedComponent: any;
|
|
101
|
-
lowerCaseIncludes:
|
|
101
|
+
lowerCaseIncludes: any;
|
|
102
102
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
103
103
|
title: {
|
|
104
104
|
type: StringConstructor;
|
package/types/indicator/indicator-library/data-config/style-config-group/StyleConfigGroup.vue.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
22
22
|
onSwitchClick: (checked: boolean | string | number, event: Event) => string | number | boolean;
|
|
23
23
|
onSwitchChange: (value: any, key: string | undefined) => void;
|
|
24
24
|
detailPropsGroups: import("vue").ComputedRef<DetailPropsGroups>;
|
|
25
|
-
isRenderForm: (detailPropsGroup: DetailPropsGroup, componentType: string) =>
|
|
25
|
+
isRenderForm: (detailPropsGroup: DetailPropsGroup, componentType: string) => any;
|
|
26
26
|
isShowOptionEditor: import("vue").ComputedRef<boolean>;
|
|
27
27
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
componentType: {
|
|
@@ -34,7 +34,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
36
|
}>>, {
|
|
37
|
-
componentType: string;
|
|
38
37
|
isGroupTable: boolean;
|
|
38
|
+
componentType: string;
|
|
39
39
|
}, {}>;
|
|
40
40
|
export default _sfc_main;
|
package/types/indicator/indicator-library/data-config/style-config-group/chart-props/bar/props.d.ts
CHANGED
|
@@ -5,6 +5,10 @@ export interface BarProps {
|
|
|
5
5
|
height: string;
|
|
6
6
|
titleText: string;
|
|
7
7
|
titleSubtext: string;
|
|
8
|
+
titleFontSize: string;
|
|
9
|
+
titleColor: string;
|
|
10
|
+
fontWeight: number;
|
|
11
|
+
textAlign: 'left' | 'right' | 'center';
|
|
8
12
|
colors: string[];
|
|
9
13
|
legendShow: boolean;
|
|
10
14
|
legendTextStyleColor: string;
|
|
@@ -13,10 +17,13 @@ export interface BarProps {
|
|
|
13
17
|
legendOrient: 'vertical' | 'horizontal';
|
|
14
18
|
xAxisLabelInterval: number;
|
|
15
19
|
xAxisSplitLineShow: boolean;
|
|
20
|
+
xAxisSplitAreaShow: boolean;
|
|
21
|
+
xAxisSplitLineInterval: number;
|
|
16
22
|
xAxisLabelColor: string;
|
|
17
23
|
xAxisLabelWidth: number | undefined;
|
|
18
24
|
xAxisLabelOverflow: 'none' | 'truncate' | 'break' | 'breakAll';
|
|
19
25
|
xAxisLabelRotate: number;
|
|
26
|
+
xAxisLineShow: boolean;
|
|
20
27
|
xAxisLineStyleColor: string;
|
|
21
28
|
xAxisTickShow: boolean;
|
|
22
29
|
xAxisLabelFormatter: string;
|
|
@@ -29,20 +36,28 @@ export interface BarProps {
|
|
|
29
36
|
yAxisLabelOverflow: 'none' | 'truncate' | 'break' | 'breakAll';
|
|
30
37
|
yAxisLabelRotate: number;
|
|
31
38
|
yAxisSplitLineShow: boolean;
|
|
39
|
+
yAxisSplitAreaShow: boolean;
|
|
32
40
|
yAxisSplitLineStyleColor: string;
|
|
33
41
|
yAxisLabelColor: string;
|
|
34
42
|
yAxisLineStyleColor: string;
|
|
35
43
|
yAxisLabelFormatter: string;
|
|
36
44
|
yAxisLineAlwaysDisplay: boolean;
|
|
45
|
+
valueTypeDataFieldNames: any;
|
|
46
|
+
keyTypeDataFieldNames: any;
|
|
47
|
+
dataFieldConfigType: 'key' | 'value';
|
|
37
48
|
tooltipShow: boolean;
|
|
38
49
|
tooltipTextStyleColor: string;
|
|
39
50
|
tooltipFormatter: string;
|
|
51
|
+
tooltipPosition: string;
|
|
40
52
|
gridContainLabel: boolean;
|
|
41
53
|
gridTop: string;
|
|
42
54
|
gridBottom: string;
|
|
43
55
|
gridLeft: string;
|
|
44
56
|
gridRight: string;
|
|
45
57
|
barWidth: string;
|
|
58
|
+
graphicConfig: {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
};
|
|
46
61
|
toolboxShow: boolean;
|
|
47
62
|
toolboxLocation: boolean;
|
|
48
63
|
toolboxDownloadShow: boolean;
|
|
@@ -59,9 +74,44 @@ export interface BarProps {
|
|
|
59
74
|
isUseHorizontalAxis: boolean;
|
|
60
75
|
axisInverse: boolean;
|
|
61
76
|
isStack: boolean;
|
|
77
|
+
stackColumns: string[];
|
|
62
78
|
labelShow: boolean;
|
|
63
79
|
labelFontSize: string;
|
|
64
80
|
labelPosition: 'inside' | 'top' | 'bottom' | 'right' | 'left';
|
|
65
81
|
labelColor: string;
|
|
82
|
+
labelWidth: number;
|
|
83
|
+
labelOverflow: 'none' | 'truncate' | 'break';
|
|
84
|
+
labelFormatter: string;
|
|
85
|
+
gradientShow: boolean;
|
|
86
|
+
gradientColors: string[];
|
|
87
|
+
gradientOffset: number;
|
|
88
|
+
barBorderRadius: string;
|
|
89
|
+
yAxisLabelShow: boolean;
|
|
90
|
+
yAxisSplitLineType: 'solid' | 'dashed' | 'dotted';
|
|
91
|
+
xAxisSplitLineType: 'solid' | 'dashed' | 'dotted';
|
|
92
|
+
legendItemGap: number;
|
|
93
|
+
legendItemWidth: number;
|
|
94
|
+
legendItemHeight: number;
|
|
95
|
+
showBarBackground: boolean;
|
|
96
|
+
legendType: string;
|
|
97
|
+
legendFontSize: string;
|
|
98
|
+
xAxisLabelFontSize: string;
|
|
99
|
+
yAxisLabelFontSize: string;
|
|
100
|
+
graphicType: string;
|
|
101
|
+
isShowMarkLine: boolean;
|
|
102
|
+
markLineType: 'min' | 'max' | 'average' | 'median';
|
|
103
|
+
legendFormatter: string;
|
|
104
|
+
legendWidth: number | null;
|
|
105
|
+
legendHeight: number | null;
|
|
106
|
+
legendTextWidth: number | null;
|
|
107
|
+
legendScroll: boolean;
|
|
108
|
+
yAxisName: string;
|
|
109
|
+
xAxisName: string;
|
|
110
|
+
defaultRangeValue: boolean;
|
|
111
|
+
startValue: string;
|
|
112
|
+
endValue: string;
|
|
113
|
+
xAxisMaxValue: number;
|
|
114
|
+
yAxisMaxValue: number;
|
|
115
|
+
colorsType: string;
|
|
66
116
|
}
|
|
67
117
|
export declare const barProps: BarProps;
|
|
@@ -4,6 +4,7 @@ export interface ComboGraphProps {
|
|
|
4
4
|
width: string;
|
|
5
5
|
height: string;
|
|
6
6
|
colors: string[];
|
|
7
|
+
colorsType: string;
|
|
7
8
|
titleText: string;
|
|
8
9
|
titleSubtext: string;
|
|
9
10
|
legendShow: boolean;
|
|
@@ -26,10 +27,13 @@ export interface ComboGraphProps {
|
|
|
26
27
|
yAxisLabelColor: string;
|
|
27
28
|
yAxisLineStyleColor: string;
|
|
28
29
|
yAxisLineAlwaysDisplay: boolean;
|
|
30
|
+
yAxisLabelShow: boolean;
|
|
29
31
|
tooltipShow: boolean;
|
|
30
|
-
tooltipTrigger: 'item' | 'axis' | 'none';
|
|
31
32
|
tooltipTextStyleColor: string;
|
|
32
33
|
tooltipFormatter: string;
|
|
34
|
+
tooltipBorderColor: string;
|
|
35
|
+
tooltipBackgroundColor: string;
|
|
36
|
+
tooltipTrigger: 'item' | 'axis' | 'none';
|
|
33
37
|
seriesTypes: {
|
|
34
38
|
[key: string]: any;
|
|
35
39
|
}[];
|
package/types/indicator/indicator-library/data-config/style-config-group/chart-props/index.d.ts
CHANGED
|
@@ -5,16 +5,28 @@ declare const _default: {
|
|
|
5
5
|
type: string;
|
|
6
6
|
width: string;
|
|
7
7
|
height: string;
|
|
8
|
+
colors: string[];
|
|
9
|
+
colorsType: string;
|
|
8
10
|
legendShow: boolean;
|
|
9
11
|
legendOrient: string;
|
|
10
12
|
legendTop: string;
|
|
11
13
|
legendLeft: string;
|
|
14
|
+
legendCustomPosition: boolean;
|
|
15
|
+
legendTextStyleColor: string;
|
|
16
|
+
legendTextStyleFontSize: string;
|
|
17
|
+
legendTextItemGap: number;
|
|
18
|
+
legendTopPadding: number;
|
|
19
|
+
legendBottomPadding: number;
|
|
20
|
+
legendLeftPadding: number;
|
|
21
|
+
legendRightPadding: number;
|
|
12
22
|
titleText: string;
|
|
13
23
|
titleSubtext: string;
|
|
14
|
-
colors: string[];
|
|
15
24
|
symbolSize: number;
|
|
16
25
|
lineStyleWidth: number;
|
|
17
26
|
smooth: boolean;
|
|
27
|
+
xAxisName: string;
|
|
28
|
+
xAxisType: string;
|
|
29
|
+
xAxisShow: boolean;
|
|
18
30
|
xAxisLabelWidth: any;
|
|
19
31
|
xAxisLabelRotate: number;
|
|
20
32
|
xAxisLabelOverflow: string;
|
|
@@ -26,20 +38,27 @@ declare const _default: {
|
|
|
26
38
|
xAxisTickShow: boolean;
|
|
27
39
|
xAxisLabelFormatter: string;
|
|
28
40
|
xAxisMinInterval: number;
|
|
41
|
+
yAxisName: string;
|
|
29
42
|
yAxisMinInterval: number;
|
|
30
43
|
yAxisSplitLineShow: boolean;
|
|
31
44
|
yAxisSplitLineStyleColor: string;
|
|
32
45
|
yAxisLabelColor: string;
|
|
33
46
|
yAxisLineStyleColor: string;
|
|
34
47
|
yAxisLineAlwaysDisplay: boolean;
|
|
48
|
+
yAxisLabelShow: boolean;
|
|
35
49
|
yAxisLabelFormatter: string;
|
|
50
|
+
yAxisSplitLineType: string;
|
|
51
|
+
xAxisSplitLineType: string;
|
|
36
52
|
gridContainLabel: boolean;
|
|
37
53
|
gridTop: string;
|
|
38
54
|
gridBottom: string;
|
|
39
55
|
gridLeft: string;
|
|
40
56
|
gridRight: string;
|
|
41
57
|
tooltipShow: boolean;
|
|
58
|
+
tooltipTextStyleColor: string;
|
|
42
59
|
tooltipFormatter: string;
|
|
60
|
+
tooltipBorderColor: string;
|
|
61
|
+
tooltipBackgroundColor: string;
|
|
43
62
|
toolboxShow: boolean;
|
|
44
63
|
toolboxDownloadShow: boolean;
|
|
45
64
|
toolboxDataZoomShow: boolean;
|
|
@@ -53,6 +72,51 @@ declare const _default: {
|
|
|
53
72
|
toolboxDownloadUrl: string;
|
|
54
73
|
toolboxInfoText: string;
|
|
55
74
|
areaStyleOpacity: number;
|
|
75
|
+
titleFontSize: string;
|
|
76
|
+
titleColor: string;
|
|
77
|
+
fontWeight: number;
|
|
78
|
+
textAlign: string;
|
|
79
|
+
titleLeft: string;
|
|
80
|
+
xAxisSplitAreaShow: boolean;
|
|
81
|
+
xAxisSplitLineInterval: number;
|
|
82
|
+
xAxisLineShow: boolean;
|
|
83
|
+
yAxisSplitAreaShow: boolean;
|
|
84
|
+
valueTypeDataFieldNames: {
|
|
85
|
+
name: string;
|
|
86
|
+
value: string;
|
|
87
|
+
type: string;
|
|
88
|
+
};
|
|
89
|
+
keyTypeDataFieldNames: {
|
|
90
|
+
name: string;
|
|
91
|
+
types: any[];
|
|
92
|
+
};
|
|
93
|
+
dataFieldConfigType: string;
|
|
94
|
+
graphicConfig: {};
|
|
95
|
+
areaGradientShow: boolean;
|
|
96
|
+
areaGradientColor: string;
|
|
97
|
+
isBoundaryGap: boolean;
|
|
98
|
+
legendItemGap: number;
|
|
99
|
+
legendItemWidth: number;
|
|
100
|
+
legendItemHeight: number;
|
|
101
|
+
legendType: string;
|
|
102
|
+
shadowColor: string;
|
|
103
|
+
shadowBlur: number;
|
|
104
|
+
shadowOffsetY: number;
|
|
105
|
+
shadowOffsetX: number;
|
|
106
|
+
legendFontSize: string;
|
|
107
|
+
xAxisLabelFontSize: string;
|
|
108
|
+
yAxisLabelFontSize: string;
|
|
109
|
+
graphicType: string;
|
|
110
|
+
tooltipPosition: string;
|
|
111
|
+
isShowMarkLine: boolean;
|
|
112
|
+
markLineType: string;
|
|
113
|
+
legendFormatter: string;
|
|
114
|
+
legendWidth: any;
|
|
115
|
+
legendHeight: any;
|
|
116
|
+
legendTextWidth: any;
|
|
117
|
+
legendScroll: boolean;
|
|
118
|
+
xAxisMaxValue: any;
|
|
119
|
+
yAxisMaxValue: any;
|
|
56
120
|
};
|
|
57
121
|
pie: import("./pie").PieProps;
|
|
58
122
|
customGraph: import("./custom-graph").CustomGraphProps;
|
package/types/indicator/indicator-library/data-config/style-config-group/chart-props/line/props.d.ts
CHANGED
|
@@ -4,15 +4,22 @@ export interface LineProps {
|
|
|
4
4
|
width: string;
|
|
5
5
|
height: string;
|
|
6
6
|
colors: string[];
|
|
7
|
+
colorsType: string;
|
|
7
8
|
titleText: string;
|
|
8
9
|
titleSubtext: string;
|
|
9
10
|
legendShow: boolean;
|
|
10
11
|
legendLeft: 'left' | 'center' | 'right';
|
|
12
|
+
legendCustomPosition: boolean;
|
|
11
13
|
legendTop: 'top' | 'middle' | 'bottom';
|
|
12
14
|
legendOrient: 'vertical' | 'horizontal';
|
|
15
|
+
legendTextStyleColor: string;
|
|
16
|
+
legendTextStyleFontSize: number;
|
|
17
|
+
legendTextItemGap: number;
|
|
13
18
|
symbolSize: number;
|
|
14
19
|
lineStyleWidth: number;
|
|
15
20
|
smooth: boolean;
|
|
21
|
+
xAxisName: string;
|
|
22
|
+
xAxisShow: boolean;
|
|
16
23
|
xAxisLabelInterval: number;
|
|
17
24
|
xAxisSplitLineShow: boolean;
|
|
18
25
|
xAxisLabelColor: string;
|
|
@@ -25,6 +32,8 @@ export interface LineProps {
|
|
|
25
32
|
xAxisLabelWidth: number | undefined;
|
|
26
33
|
xAxisLabelOverflow: 'none' | 'truncate' | 'break' | 'breakAll';
|
|
27
34
|
xAxisLabelRotate: number;
|
|
35
|
+
xAxisType: 'value' | 'category' | 'time' | 'log';
|
|
36
|
+
yAxisName: string;
|
|
28
37
|
yAxisMinInterval: number;
|
|
29
38
|
yAxisInverse: boolean;
|
|
30
39
|
yAxisSplitLineShow: boolean;
|
|
@@ -33,13 +42,19 @@ export interface LineProps {
|
|
|
33
42
|
yAxisLineStyleColor: string;
|
|
34
43
|
yAxisLineAlwaysDisplay: boolean;
|
|
35
44
|
yAxisLabelFormatter: string;
|
|
45
|
+
yAxisLabelShow: boolean;
|
|
46
|
+
yAxisSplitLineType: 'solid' | 'dashed' | 'dotted';
|
|
47
|
+
xAxisSplitLineType: 'solid' | 'dashed' | 'dotted';
|
|
36
48
|
gridContainLabel: boolean;
|
|
37
49
|
gridTop: string;
|
|
38
50
|
gridBottom: string;
|
|
39
51
|
gridLeft: string;
|
|
40
52
|
gridRight: string;
|
|
41
|
-
tooltipFormatter: string;
|
|
42
53
|
tooltipShow: boolean;
|
|
54
|
+
tooltipTextStyleColor: string;
|
|
55
|
+
tooltipFormatter: string;
|
|
56
|
+
tooltipBorderColor: string;
|
|
57
|
+
tooltipBackgroundColor: string;
|
|
43
58
|
toolboxShow: boolean;
|
|
44
59
|
toolboxDownloadShow: boolean;
|
|
45
60
|
toolboxDataZoomShow: boolean;
|
|
@@ -53,22 +68,73 @@ export interface LineProps {
|
|
|
53
68
|
toolboxDownloadUrl: string;
|
|
54
69
|
toolboxInfoText: string;
|
|
55
70
|
areaStyleOpacity: number;
|
|
71
|
+
titleFontSize: string;
|
|
72
|
+
titleColor: string;
|
|
73
|
+
fontWeight: number;
|
|
74
|
+
textAlign: 'left' | 'right' | 'center';
|
|
75
|
+
titleLeft: string;
|
|
76
|
+
xAxisSplitAreaShow: boolean;
|
|
77
|
+
xAxisSplitLineInterval: number;
|
|
78
|
+
xAxisLineShow: boolean;
|
|
79
|
+
valueTypeDataFieldNames: any;
|
|
80
|
+
keyTypeDataFieldNames: any;
|
|
81
|
+
dataFieldConfigType: 'key' | 'value';
|
|
82
|
+
graphicConfig: {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
};
|
|
85
|
+
areaGradientShow: boolean;
|
|
86
|
+
areaGradientColor: string;
|
|
87
|
+
isBoundaryGap: boolean;
|
|
88
|
+
legendItemGap: number;
|
|
89
|
+
legendItemWidth: number;
|
|
90
|
+
legendItemHeight: number;
|
|
91
|
+
legendType: string;
|
|
92
|
+
shadowColor: string;
|
|
93
|
+
shadowBlur: number;
|
|
94
|
+
shadowOffsetY: number;
|
|
95
|
+
shadowOffsetX: number;
|
|
96
|
+
legendFontSize: string;
|
|
97
|
+
xAxisLabelFontSize: string;
|
|
98
|
+
yAxisLabelFontSize: string;
|
|
99
|
+
graphicType: string;
|
|
100
|
+
tooltipPosition: string;
|
|
101
|
+
isShowMarkLine: boolean;
|
|
102
|
+
markLineType: 'min' | 'max' | 'average' | 'median';
|
|
103
|
+
legendFormatter: string;
|
|
104
|
+
legendWidth: number | null;
|
|
105
|
+
legendHeight: number | null;
|
|
106
|
+
legendTextWidth: number | null;
|
|
107
|
+
legendScroll: boolean;
|
|
108
|
+
xAxisMaxValue: number;
|
|
109
|
+
yAxisMaxValue: number;
|
|
56
110
|
}
|
|
57
111
|
export declare const lineProps: {
|
|
58
112
|
name: string;
|
|
59
113
|
type: string;
|
|
60
114
|
width: string;
|
|
61
115
|
height: string;
|
|
116
|
+
colors: string[];
|
|
117
|
+
colorsType: string;
|
|
62
118
|
legendShow: boolean;
|
|
63
119
|
legendOrient: string;
|
|
64
120
|
legendTop: string;
|
|
65
121
|
legendLeft: string;
|
|
122
|
+
legendCustomPosition: boolean;
|
|
123
|
+
legendTextStyleColor: string;
|
|
124
|
+
legendTextStyleFontSize: string;
|
|
125
|
+
legendTextItemGap: number;
|
|
126
|
+
legendTopPadding: number;
|
|
127
|
+
legendBottomPadding: number;
|
|
128
|
+
legendLeftPadding: number;
|
|
129
|
+
legendRightPadding: number;
|
|
66
130
|
titleText: string;
|
|
67
131
|
titleSubtext: string;
|
|
68
|
-
colors: string[];
|
|
69
132
|
symbolSize: number;
|
|
70
133
|
lineStyleWidth: number;
|
|
71
134
|
smooth: boolean;
|
|
135
|
+
xAxisName: string;
|
|
136
|
+
xAxisType: string;
|
|
137
|
+
xAxisShow: boolean;
|
|
72
138
|
xAxisLabelWidth: any;
|
|
73
139
|
xAxisLabelRotate: number;
|
|
74
140
|
xAxisLabelOverflow: string;
|
|
@@ -80,20 +146,27 @@ export declare const lineProps: {
|
|
|
80
146
|
xAxisTickShow: boolean;
|
|
81
147
|
xAxisLabelFormatter: string;
|
|
82
148
|
xAxisMinInterval: number;
|
|
149
|
+
yAxisName: string;
|
|
83
150
|
yAxisMinInterval: number;
|
|
84
151
|
yAxisSplitLineShow: boolean;
|
|
85
152
|
yAxisSplitLineStyleColor: string;
|
|
86
153
|
yAxisLabelColor: string;
|
|
87
154
|
yAxisLineStyleColor: string;
|
|
88
155
|
yAxisLineAlwaysDisplay: boolean;
|
|
156
|
+
yAxisLabelShow: boolean;
|
|
89
157
|
yAxisLabelFormatter: string;
|
|
158
|
+
yAxisSplitLineType: string;
|
|
159
|
+
xAxisSplitLineType: string;
|
|
90
160
|
gridContainLabel: boolean;
|
|
91
161
|
gridTop: string;
|
|
92
162
|
gridBottom: string;
|
|
93
163
|
gridLeft: string;
|
|
94
164
|
gridRight: string;
|
|
95
165
|
tooltipShow: boolean;
|
|
166
|
+
tooltipTextStyleColor: string;
|
|
96
167
|
tooltipFormatter: string;
|
|
168
|
+
tooltipBorderColor: string;
|
|
169
|
+
tooltipBackgroundColor: string;
|
|
97
170
|
toolboxShow: boolean;
|
|
98
171
|
toolboxDownloadShow: boolean;
|
|
99
172
|
toolboxDataZoomShow: boolean;
|
|
@@ -107,4 +180,49 @@ export declare const lineProps: {
|
|
|
107
180
|
toolboxDownloadUrl: string;
|
|
108
181
|
toolboxInfoText: string;
|
|
109
182
|
areaStyleOpacity: number;
|
|
183
|
+
titleFontSize: string;
|
|
184
|
+
titleColor: string;
|
|
185
|
+
fontWeight: number;
|
|
186
|
+
textAlign: string;
|
|
187
|
+
titleLeft: string;
|
|
188
|
+
xAxisSplitAreaShow: boolean;
|
|
189
|
+
xAxisSplitLineInterval: number;
|
|
190
|
+
xAxisLineShow: boolean;
|
|
191
|
+
yAxisSplitAreaShow: boolean;
|
|
192
|
+
valueTypeDataFieldNames: {
|
|
193
|
+
name: string;
|
|
194
|
+
value: string;
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
keyTypeDataFieldNames: {
|
|
198
|
+
name: string;
|
|
199
|
+
types: any[];
|
|
200
|
+
};
|
|
201
|
+
dataFieldConfigType: string;
|
|
202
|
+
graphicConfig: {};
|
|
203
|
+
areaGradientShow: boolean;
|
|
204
|
+
areaGradientColor: string;
|
|
205
|
+
isBoundaryGap: boolean;
|
|
206
|
+
legendItemGap: number;
|
|
207
|
+
legendItemWidth: number;
|
|
208
|
+
legendItemHeight: number;
|
|
209
|
+
legendType: string;
|
|
210
|
+
shadowColor: string;
|
|
211
|
+
shadowBlur: number;
|
|
212
|
+
shadowOffsetY: number;
|
|
213
|
+
shadowOffsetX: number;
|
|
214
|
+
legendFontSize: string;
|
|
215
|
+
xAxisLabelFontSize: string;
|
|
216
|
+
yAxisLabelFontSize: string;
|
|
217
|
+
graphicType: string;
|
|
218
|
+
tooltipPosition: string;
|
|
219
|
+
isShowMarkLine: boolean;
|
|
220
|
+
markLineType: string;
|
|
221
|
+
legendFormatter: string;
|
|
222
|
+
legendWidth: any;
|
|
223
|
+
legendHeight: any;
|
|
224
|
+
legendTextWidth: any;
|
|
225
|
+
legendScroll: boolean;
|
|
226
|
+
xAxisMaxValue: any;
|
|
227
|
+
yAxisMaxValue: any;
|
|
110
228
|
};
|
package/types/indicator/indicator-library/data-config/style-config-group/chart-props/pie/props.d.ts
CHANGED
|
@@ -4,16 +4,19 @@ export interface PieProps {
|
|
|
4
4
|
width: string;
|
|
5
5
|
height: string;
|
|
6
6
|
colors: string[];
|
|
7
|
+
colorsType: string;
|
|
7
8
|
titleText: string;
|
|
8
9
|
titleSubtext: string;
|
|
9
10
|
backgroundColor: string;
|
|
10
|
-
tooltipShow: boolean;
|
|
11
11
|
toolboxDownloadShow: boolean;
|
|
12
12
|
toolboxDataZoomShow: boolean;
|
|
13
13
|
toolboxInfoShow: boolean;
|
|
14
|
+
tooltipShow: boolean;
|
|
14
15
|
tooltipTrigger: 'item' | 'axis' | 'none';
|
|
15
16
|
tooltipTextStyleColor: string;
|
|
16
17
|
tooltipFormatter: string;
|
|
18
|
+
tooltipBorderColor: string;
|
|
19
|
+
tooltipBackgroundColor: string;
|
|
17
20
|
legendShow: boolean;
|
|
18
21
|
legendLeft: 'left' | 'center' | 'right';
|
|
19
22
|
legendTop: 'top' | 'middle' | 'bottom';
|
|
@@ -48,5 +51,27 @@ export interface PieProps {
|
|
|
48
51
|
toolboxIconStyleBorderColor: string;
|
|
49
52
|
toolboxDownloadUrl: string;
|
|
50
53
|
toolboxInfoText: string;
|
|
54
|
+
titleFontSize: string;
|
|
55
|
+
titleColor: string;
|
|
56
|
+
fontWeight: number;
|
|
57
|
+
textAlign: 'left' | 'right' | 'center';
|
|
58
|
+
titleLeft: string;
|
|
59
|
+
labelWidth: number;
|
|
60
|
+
labelOverflow: 'none' | 'truncate' | 'break';
|
|
61
|
+
valueTypeDataFieldNames: any;
|
|
62
|
+
dataFieldConfigType: 'key' | 'value';
|
|
63
|
+
graphicConfig: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
};
|
|
66
|
+
legendItemGap: number;
|
|
67
|
+
legendItemWidth: number;
|
|
68
|
+
legendItemHeight: number;
|
|
69
|
+
legendFormatter: string;
|
|
70
|
+
legendFontSize: string;
|
|
71
|
+
graphicType: string;
|
|
72
|
+
legendWidth: number | null;
|
|
73
|
+
legendHeight: number | null;
|
|
74
|
+
legendTextWidth: number | null;
|
|
75
|
+
legendScroll: boolean;
|
|
51
76
|
}
|
|
52
77
|
export declare const pieProps: PieProps;
|