@ecan-bi/indicator-library 1.0.28 → 1.0.30

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.
Files changed (29) hide show
  1. package/dist/assets/editor.worker-02df2e61.js +1 -1
  2. package/dist/assets/json.worker-867823a6.js +1 -1
  3. package/dist/assets/ts.worker-7254b425.js +1 -1
  4. package/dist/index.es.js +5011 -3753
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/index.umd.js +10 -10
  7. package/dist/index.umd.js.map +1 -1
  8. package/dist/style.css +2 -2
  9. package/package.json +1 -1
  10. package/types/indicator/editor/Editor.vue.d.ts +1 -1
  11. package/types/indicator/indicator-library/IndicatorLibrary.vue.d.ts +19 -0
  12. package/types/indicator/indicator-library/data-config/DataConfig.vue.d.ts +3 -0
  13. package/types/indicator/indicator-library/data-config/control-group/ControlCard.vue.d.ts +52 -0
  14. package/types/indicator/indicator-library/data-config/control-group/ControlGroup.vue.d.ts +10 -0
  15. package/types/indicator/indicator-library/data-config/control-group/index.d.ts +2 -0
  16. package/types/indicator/indicator-library/data-config/data-config-group/data-config-card/DataConfigCard.vue.d.ts +1 -1
  17. package/types/indicator/indicator-library/data-config/data-config-group/data-config-card/calculation-modal/CalculationModal.vue.d.ts +2 -0
  18. package/types/indicator/indicator-library/data-config/data-config-group/data-config-card/filter-modal/Condition.vue.d.ts +13 -11
  19. package/types/indicator/indicator-library/data-config/style-config-group/StyleConfigGroup.vue.d.ts +15 -3
  20. package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/PropsToForm.vue.d.ts +9 -0
  21. package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/form-group/FormGroup.vue.d.ts +1 -1
  22. package/types/indicator/indicator-library/data-config/style-config-group/props-to-form/select/Select.vue.d.ts +55 -3
  23. package/types/indicator/indicator-library/data-config/style-config-group/table-column-config/TableColumnConfig.vue.d.ts +100 -0
  24. package/types/indicator/indicator-library/data-config/style-config-group/table-column-config/index.d.ts +2 -0
  25. package/types/indicator/indicator-library/data-config/style-config-group/table-props/index.d.ts +2 -0
  26. package/types/indicator/indicator-library/data-config/style-config-group/table-props/props.d.ts +16 -0
  27. package/types/indicator/indicator-library/index.d.ts +18 -0
  28. package/types/utils/constant.d.ts +5 -0
  29. package/types/utils/util.d.ts +9 -0
package/dist/style.css CHANGED
@@ -1,2 +1,2 @@
1
- /*! @ecan-bi/indicator-library@1.0.28 */
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}.data-source-list[data-v-b23ce142]{display:flex;flex-direction:column;height:100%}.columns[data-v-b23ce142]{height:100%;overflow:auto;flex:1;padding-top:10px}.column-item[data-v-b23ce142]{display:flow-root;margin:3px 0;padding:2px 0}.column-child-item[data-v-b23ce142]{padding:3px 10px;cursor:pointer}.column-disabled .column-item[data-v-b23ce142],.column-disabled .column-item[data-v-b23ce142] .anticon,.column-disabled .column-child-item[data-v-b23ce142]{color:#b3b3b3}.button-wrapper[data-v-7293d3f8]{width:100%;display:flex;justify-content:flex-end;margin-bottom:10px}.custom-sort-list[data-v-7293d3f8]{width:100%;overflow:auto;height:70vh;list-style:none;padding-bottom:60px}.sort-item[data-v-7293d3f8]{border:1px dashed #aaa;margin-bottom:5px;padding:5px;font-size:14px}.move-and-create[data-v-1e6c74df]{display:flex;justify-content:space-between;margin-bottom:15px}.create-group[data-v-1e6c74df]{display:flex;align-items:center;font-size:15px}.create-group-name[data-v-1e6c74df]{width:140px;margin-left:10px}.custom-group-content[data-v-1e6c74df]{overflow-y:auto}.tag[data-v-1e6c74df]{margin-right:10px}.edit-title-input[data-v-1e6c74df]{width:150px}.extra[data-v-1e6c74df]{width:90px;display:flex;justify-content:flex-start;align-items:center}.custom-group[data-v-1e6c74df]{margin:5px;padding:3px 5px}.text[data-v-1e6c74df]{font-size:14px}.select-tip[data-v-1e6c74df]{margin-right:10px;font-size:15px}.select-count[data-v-1e6c74df]{color:red;margin:0 3px}.select-group[data-v-1e6c74df]{margin-right:15px;width:140px}.cancel-button[data-v-1e6c74df]{margin-right:20px}.footer[data-v-1e6c74df]{display:flex}.custom-group-content .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:12px 0}.condition[data-v-ff848178]{padding:8px;border:1px solid #e8e8e8;width:100%;display:flex;align-items:center}.field-name[data-v-ff848178]{width:180px;margin-right:20px}.field-value[data-v-ff848178]{flex:1;margin-left:20px;margin-right:20px}.data-type[data-v-ff848178]{width:100px;margin-left:20px}.rule[data-v-ff848178]{width:180px}.delete-icon[data-v-ff848178]{margin-right:10px}.dropdown[data-v-ff848178]{display:flex;align-items:baseline;justify-content:space-between;width:100%;padding-left:11px;padding-right:11px}.calendar-wrap[data-v-ff848178]{width:25px;border:1px solid #d9d9d9;border-radius:50%;height:25px;text-align:center;cursor:pointer}.calendar-wrap[data-v-ff848178]:hover{border-color:#1890ff}.popover-content-wrap[data-v-ff848178]{width:400px;height:300px;padding:12px}.popover-content-wrap .ant-tabs[data-v-ff848178]{height:100%}.popover-content-wrap .ant-tabs .tabFilterRadio[data-v-ff848178]{display:flex;justify-content:center;height:100%}.ant-dropdown-menu-title-content{white-space:nowrap}.condition-text[data-v-975987ba]{min-width:50px;max-width:50px;border:1px solid #e8e8e8;display:flex;align-items:center;justify-content:center}.condition-container[data-v-975987ba]{display:flex;width:100%}.conditions[data-v-975987ba]{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-58de8512]{display:flex;justify-content:flex-end;margin-bottom:30px}.add-and-condition[data-v-58de8512]{width:100px;margin-right:15px}.add-or-condition[data-v-58de8512]{width:100px}.formula-calculation[data-v-1e6dd439]{width:100%}[theme=dark] .formula-calculation[data-v-1e6dd439]{border:1px solid #333}.field-area[data-v-1e6dd439]{height:100%;padding-left:20px;padding-top:20px;background:#eff1f4;border:1px solid #d9d9d9;border-right:none}[theme=dark] .field-area[data-v-1e6dd439]{background:#333}.field[data-v-1e6dd439]{margin-top:10px;padding-left:15px;font-weight:500}.textarea[data-v-1e6dd439]{height:100%;border-radius:0}.cal_right_bottom[data-v-1e6dd439]{height:26px;width:100%;border:1px solid #d9d9d9;border-top:none;line-height:26px}.cal_right_bottom .cal_fu[data-v-1e6dd439]{padding:0;width:200px;float:left;margin:0}.cal_right_bottom .cal_fu li[data-v-1e6dd439]{width:20px;float:left;text-align:center;margin:0 5px;cursor:pointer}.cal_right_bottom .cal_fu li[data-v-1e6dd439]:hover{background:#eff1f4}.cal_right_bottom .cal_a[data-v-1e6dd439]{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-1e6dd439]:hover{color:#40a9ff}.function-wrap[data-v-1e6dd439]{width:240px;height:200px}.function-wrap .wrap-search[data-v-1e6dd439]{height:40px;background-color:#fff;border-bottom:1px solid #d9d9d9;padding:0 10px}.function-wrap .tree-box[data-v-1e6dd439]{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-370cde0f]{color:#3f8ce8}.data-config-card[data-v-52b437fa]{display:flex;flex-direction:column;height:280px}.card-item[data-v-52b437fa]{background-color:#a1d4e64d;width:100%;height:100%;padding:5px;margin:3px 0}.title[data-v-52b437fa]{display:flex;justify-content:space-between}.add-calculation[data-v-52b437fa]{cursor:pointer;font-size:13px;color:#3f8ce8;line-height:24px}.add-calculation-icon[data-v-52b437fa]{color:#3f8ce8;margin-right:3px}.ant-checkbox+span[data-v-52b437fa]{width:100%!important}.card-item-inner[data-v-52b437fa]{width:100%;display:flex;justify-content:space-between;align-items:center}.name[data-v-52b437fa]{width:100%}.placeholder[data-v-52b437fa]{color:red}.setting-icon[data-v-52b437fa]{color:#545;margin-left:5px}.delete-icon[data-v-52b437fa]{color:red;margin-left:5px}.calculation-icon[data-v-52b437fa]{font-weight:700;font-style:italic}.menu-item[data-v-52b437fa]{white-space:nowrap}.chart-column[data-v-52b437fa]{height:100%}.data-view-name[data-v-52b437fa]{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-603b1b70]{display:flex}.data-config-card[data-v-603b1b70]{width:25%}.data-config-card[data-v-603b1b70]: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-96f057cc]{display:flex;align-items:center;padding:5px 5px 10px}.label[data-v-96f057cc]{width:28%;display:flex;justify-content:center}.label-vertical[data-v-96f057cc]{justify-content:flex-start;padding-bottom:4px}.component-wrapper[data-v-96f057cc]{width:72%}.component[data-v-96f057cc]{width:100%}.layout[data-v-96f057cc]{align-items:flex-start;flex-direction:column;padding:10px 5px 10px 10px}.layout .label[data-v-96f057cc]{text-align:left;margin-bottom:5px}.layout .component-wrapper[data-v-96f057cc]{width:100%}.editor[data-v-132e78f8]{width:100%;height:100%}[data-v-132e78f8] .overlayWidgets .find-widget{min-width:220px!important}.style-group[data-v-f9bff52c]{width:70%}.style-group .option-editor[data-v-f9bff52c]{min-height:500px;max-height:500px;border:1px solid #e9e9e9}.attribute-config .ant-collapse-content>.ant-collapse-content-box>editor{padding:16px 10px}.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-7147d346]{background:#fff;height:100%;width:100%;padding:0 15px;overflow-y:auto;color:#444}.data-config[data-v-7147d346] .ant-tabs{height:calc(100% - 310px)}.data-config[data-v-7147d346] .ant-tabs .ant-tabs-nav{margin-bottom:4px}.data-config[data-v-7147d346] .ant-tabs .ant-tabs-content-holder{height:calc(100% - 50px);overflow:auto}.chart-component[data-v-7147d346]{width:100%;position:relative!important;margin:20px auto 0}.chart-component.full-width[data-v-7147d346]{width:100%!important}.prop-item[data-v-7147d346]{display:flex;align-items:center;padding:5px 5px 10px}.label[data-v-7147d346]{width:135px;display:flex;justify-content:center}.component-wrapper[data-v-7147d346]{width:calc(100% - 135px)}.color-pick[data-v-7147d346]{display:flex}.input[data-v-7147d346]{margin-right:10px}.config-modal[data-v-d2de9ba3]{width:100%;height:100%;display:flex;padding:10px}.config-modal-left[data-v-d2de9ba3]{width:300px;height:100%;margin-right:10px;padding:10px}.config-modal-right[data-v-d2de9ba3]{flex:1}
1
+ /*! @ecan-bi/indicator-library@1.0.30 */
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}.data-source-list[data-v-b23ce142]{display:flex;flex-direction:column;height:100%}.columns[data-v-b23ce142]{height:100%;overflow:auto;flex:1;padding-top:10px}.column-item[data-v-b23ce142]{display:flow-root;margin:3px 0;padding:2px 0}.column-child-item[data-v-b23ce142]{padding:3px 10px;cursor:pointer}.column-disabled .column-item[data-v-b23ce142],.column-disabled .column-item[data-v-b23ce142] .anticon,.column-disabled .column-child-item[data-v-b23ce142]{color:#b3b3b3}.button-wrapper[data-v-8e16d201]{width:100%;display:flex;justify-content:flex-end;margin-bottom:10px}.custom-sort-list[data-v-8e16d201]{width:100%;overflow:auto;height:70vh;list-style:none;padding-bottom:60px}.sort-item[data-v-8e16d201]{border:1px dashed #aaa;margin-bottom:5px;padding:5px;font-size:14px}.move-and-create[data-v-7e3049d2]{display:flex;justify-content:space-between;margin-bottom:15px}.create-group[data-v-7e3049d2]{display:flex;align-items:center;font-size:15px}.create-group-name[data-v-7e3049d2]{width:140px;margin-left:10px}.custom-group-content[data-v-7e3049d2]{overflow-y:auto}.tag[data-v-7e3049d2]{margin-right:10px}.edit-title-input[data-v-7e3049d2]{width:150px}.extra[data-v-7e3049d2]{width:90px;display:flex;justify-content:flex-start;align-items:center}.custom-group[data-v-7e3049d2]{margin:5px;padding:3px 5px}.text[data-v-7e3049d2]{font-size:14px}.select-tip[data-v-7e3049d2]{margin-right:10px;font-size:15px}.select-count[data-v-7e3049d2]{color:red;margin:0 3px}.select-group[data-v-7e3049d2]{margin-right:15px;width:140px}.cancel-button[data-v-7e3049d2]{margin-right:20px}.footer[data-v-7e3049d2]{display:flex}.custom-group-content .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:12px 0}.condition[data-v-af19bca8]{padding:8px;border:1px solid #e8e8e8;width:100%;display:flex;align-items:center}.field-name[data-v-af19bca8]{width:180px;margin-right:20px}.field-value[data-v-af19bca8]{flex:1;margin-left:20px;margin-right:20px}.data-type[data-v-af19bca8]{width:100px;margin-left:20px}.rule[data-v-af19bca8]{width:180px}.delete-icon[data-v-af19bca8]{margin-right:10px}.dropdown[data-v-af19bca8]{display:flex;align-items:baseline;justify-content:space-between;width:100%;padding-left:11px;padding-right:11px}.calendar-wrap[data-v-af19bca8]{width:25px;border:1px solid #d9d9d9;border-radius:50%;height:25px;text-align:center;cursor:pointer}.calendar-wrap[data-v-af19bca8]:hover{border-color:#1890ff}.popover-content-wrap[data-v-af19bca8]{width:400px;height:300px;padding:12px}.popover-content-wrap .ant-tabs[data-v-af19bca8]{height:100%}.popover-content-wrap .ant-tabs .tabFilterRadio[data-v-af19bca8]{display:flex;justify-content:center;height:100%}.ant-dropdown-menu-title-content{white-space:nowrap}.condition-text[data-v-8f9eae92]{min-width:50px;max-width:50px;border:1px solid #e8e8e8;display:flex;align-items:center;justify-content:center}.condition-container[data-v-8f9eae92]{display:flex;width:100%}.conditions[data-v-8f9eae92]{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-67078dd2]{display:flex;justify-content:flex-end;margin-bottom:30px}.add-and-condition[data-v-67078dd2]{width:100px;margin-right:15px}.add-or-condition[data-v-67078dd2]{width:100px}.formula-calculation[data-v-1e6dd439]{width:100%}[theme=dark] .formula-calculation[data-v-1e6dd439]{border:1px solid #333}.field-area[data-v-1e6dd439]{height:100%;padding-left:20px;padding-top:20px;background:#eff1f4;border:1px solid #d9d9d9;border-right:none}[theme=dark] .field-area[data-v-1e6dd439]{background:#333}.field[data-v-1e6dd439]{margin-top:10px;padding-left:15px;font-weight:500}.textarea[data-v-1e6dd439]{height:100%;border-radius:0}.cal_right_bottom[data-v-1e6dd439]{height:26px;width:100%;border:1px solid #d9d9d9;border-top:none;line-height:26px}.cal_right_bottom .cal_fu[data-v-1e6dd439]{padding:0;width:200px;float:left;margin:0}.cal_right_bottom .cal_fu li[data-v-1e6dd439]{width:20px;float:left;text-align:center;margin:0 5px;cursor:pointer}.cal_right_bottom .cal_fu li[data-v-1e6dd439]:hover{background:#eff1f4}.cal_right_bottom .cal_a[data-v-1e6dd439]{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-1e6dd439]:hover{color:#40a9ff}.function-wrap[data-v-1e6dd439]{width:240px;height:200px}.function-wrap .wrap-search[data-v-1e6dd439]{height:40px;background-color:#fff;border-bottom:1px solid #d9d9d9;padding:0 10px}.function-wrap .tree-box[data-v-1e6dd439]{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-d21823c3]{color:#3f8ce8}.data-config-card[data-v-69d21ca5]{display:flex;flex-direction:column;height:280px}.card-item[data-v-69d21ca5]{background-color:#a1d4e64d;width:100%;height:100%;padding:5px;margin:3px 0}.title[data-v-69d21ca5]{display:flex;justify-content:space-between}.add-calculation[data-v-69d21ca5]{cursor:pointer;font-size:13px;color:#3f8ce8;line-height:24px}.add-calculation-icon[data-v-69d21ca5]{color:#3f8ce8;margin-right:3px}.ant-checkbox+span[data-v-69d21ca5]{width:100%!important}.card-item-inner[data-v-69d21ca5]{width:100%;display:flex;justify-content:space-between;align-items:center}.name[data-v-69d21ca5]{width:100%}.placeholder[data-v-69d21ca5]{color:red}.setting-icon[data-v-69d21ca5]{color:#545;margin-left:5px}.delete-icon[data-v-69d21ca5]{color:red;margin-left:5px}.calculation-icon[data-v-69d21ca5]{font-weight:700;font-style:italic}.menu-item[data-v-69d21ca5]{white-space:nowrap}.chart-column[data-v-69d21ca5]{height:100%}.data-view-name[data-v-69d21ca5]{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-603b1b70]{display:flex}.data-config-card[data-v-603b1b70]{width:25%}.data-config-card[data-v-603b1b70]: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-14fce418]{padding-right:5px;width:100%}.style-group .option-editor[data-v-14fce418]{min-height:500px;max-height:500px;border:1px solid #e9e9e9}.style-group[data-v-14fce418] .ant-collapse-content,.style-group[data-v-14fce418] .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-bbaef691]{width:100%;padding:10px;margin-bottom:10px;border:1px solid #ccc;border-radius:5px;display:flex;position:relative}.control-card .field-name[data-v-bbaef691]{width:180px;margin-right:20px}.delete-icon[data-v-bbaef691]{position:absolute;right:8px;top:18px}.control-card .ant-form-item:not(:last-child){margin-bottom:8px}.control-card .ant-form-item:last-child{margin-bottom:0}.control-group-header[data-v-1585a93c]{margin:20px 0}.control-group-content[data-v-1585a93c]{display:flex;flex-wrap:wrap}.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-49a32221]{background:#fff;height:100%;width:100%;padding:0 15px;overflow-y:auto;color:#444;display:flex;flex-flow:column}.data-config[data-v-49a32221] .ant-tabs{flex:1}.data-config[data-v-49a32221] .ant-tabs .ant-tabs-nav{margin-bottom:4px}.data-config[data-v-49a32221] .ant-tabs .ant-tabs-content-holder{height:calc(100% - 50px);overflow:auto}.chart-component[data-v-49a32221]{width:100%;position:relative!important;margin:20px auto 0}.chart-component.full-width[data-v-49a32221]{width:100%!important}.prop-item[data-v-49a32221]{display:flex;align-items:center;padding:5px 5px 10px}.label[data-v-49a32221]{width:135px;display:flex;justify-content:center}.component-wrapper[data-v-49a32221]{width:calc(100% - 135px)}.color-pick[data-v-49a32221]{display:flex}.input[data-v-49a32221]{margin-right:10px}.config-modal[data-v-9bdadbc5]{width:100%;height:100%;display:flex;padding:10px}.config-modal-left[data-v-9bdadbc5]{width:300px;height:100%;margin-right:10px;padding:10px}.config-modal-right[data-v-9bdadbc5]{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.28",
3
+ "version": "1.0.30",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "types/index.d.ts",
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- export declare type LanguageType = 'json' | 'typescript';
2
+ export declare type LanguageType = 'json' | 'typescript' | 'javascript';
3
3
  declare const _sfc_main: import("vue").DefineComponent<{
4
4
  valueData: {
5
5
  type: StringConstructor;
@@ -1,3 +1,4 @@
1
+ import { PropType } from 'vue';
1
2
  declare const _sfc_main: import("vue").DefineComponent<{
2
3
  isShowStyleConfig: {
3
4
  type: BooleanConstructor;
@@ -18,6 +19,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
18
19
  request: {
19
20
  default: any;
20
21
  };
22
+ renderUsedComponentList: {
23
+ type: PropType<any[]>;
24
+ default: () => any[];
25
+ };
26
+ mapAttributeProps: {
27
+ type: ObjectConstructor;
28
+ default: () => void;
29
+ };
21
30
  }, {
22
31
  isUpdate: import("vue").Ref<boolean>;
23
32
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -40,11 +49,21 @@ declare const _sfc_main: import("vue").DefineComponent<{
40
49
  request: {
41
50
  default: any;
42
51
  };
52
+ renderUsedComponentList: {
53
+ type: PropType<any[]>;
54
+ default: () => any[];
55
+ };
56
+ mapAttributeProps: {
57
+ type: ObjectConstructor;
58
+ default: () => void;
59
+ };
43
60
  }>>, {
44
61
  request: any;
45
62
  indicatorToken: string;
46
63
  isShowStyleConfig: boolean;
47
64
  sourceType: string;
48
65
  selectedComponent: Record<string, any>;
66
+ renderUsedComponentList: any[];
67
+ mapAttributeProps: Record<string, any>;
49
68
  }, {}>;
50
69
  export default _sfc_main;
@@ -4,9 +4,12 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
4
4
  activePanel: import("vue").Ref<number[]>;
5
5
  componentRef: import("vue").Ref<any>;
6
6
  type: import("vue").ComputedRef<any>;
7
+ isGroupTable: import("vue").ComputedRef<boolean>;
8
+ onChange: (val: string) => void;
7
9
  component: import("vue").ComputedRef<{
8
10
  [key: string]: any;
9
11
  }>;
10
12
  fullWidth: import("vue").ComputedRef<boolean>;
13
+ renderUsedComponents: any;
11
14
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
12
15
  export default _sfc_main;
@@ -0,0 +1,52 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ index: {
3
+ type: NumberConstructor;
4
+ require: boolean;
5
+ };
6
+ control: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ }, {
11
+ propOptions: import("vue").ComputedRef<{
12
+ label: string;
13
+ value: string;
14
+ }[]>;
15
+ usedComponentList: import("vue").ComputedRef<any>;
16
+ onDelete: () => void;
17
+ onIdChange: (value: string) => void;
18
+ onIdFocus: () => void;
19
+ onPropChange: (value: string) => void;
20
+ onModeChange: (value: string) => void;
21
+ onRuleChange: (value: string) => void;
22
+ conditionKeyOptions: import("vue").ComputedRef<any[]>;
23
+ onConditionKeyChange: (value: string, option: {
24
+ [key: string]: any;
25
+ }) => void;
26
+ idFilterOption: (inputValue: string, option: {
27
+ [key: string]: any;
28
+ }) => any;
29
+ filterOption: (inputValue: string, option: {
30
+ [key: string]: any;
31
+ }) => any;
32
+ ruleOption: import("vue").ComputedRef<{
33
+ label: string;
34
+ value: string;
35
+ }[]>;
36
+ isShowProp: import("vue").ComputedRef<boolean>;
37
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "update")[], "delete" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
38
+ index: {
39
+ type: NumberConstructor;
40
+ require: boolean;
41
+ };
42
+ control: {
43
+ type: ObjectConstructor;
44
+ default: () => {};
45
+ };
46
+ }>> & {
47
+ onDelete?: (...args: any[]) => any;
48
+ onUpdate?: (...args: any[]) => any;
49
+ }, {
50
+ control: Record<string, any>;
51
+ }, {}>;
52
+ export default _sfc_main;
@@ -0,0 +1,10 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {
2
+ controlList: import("vue").ComputedRef<any>;
3
+ bindComponentId: import("vue").Ref<any>;
4
+ onAddControl: () => void;
5
+ onDeleteControl: (index: number) => void;
6
+ onUpdateControl: (control: {
7
+ [key: string]: any;
8
+ }, index: number) => void;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
10
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ import ControlGroup from './ControlGroup.vue';
2
+ export default ControlGroup;
@@ -19,7 +19,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
19
19
  cardItemList: import("vue").ComputedRef<any>;
20
20
  onDelete: (index: number) => void;
21
21
  onEdit: (index: number) => void;
22
- onCommitLabelChange: (event: Event, index: number) => void;
22
+ onCommitLabelChange: (event: Event, index: number, oldLabel: string) => void;
23
23
  sortList: import("vue").ComputedRef<any[]>;
24
24
  onSort: (item: {
25
25
  [key: string]: any;
@@ -33,6 +33,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
33
33
  accessLogic: import("vue").ComputedRef<string>;
34
34
  formRef: import("vue").Ref<any>;
35
35
  onChangeBuiltInFormula: () => void;
36
+ componentList: import("vue").ComputedRef<any>;
37
+ onChangeComponent: (value: string) => void;
36
38
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
39
  item: {
38
40
  type: ObjectConstructor;
@@ -75,14 +75,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
75
75
  };
76
76
  startOf: {
77
77
  (unit: dayjs.OpUnitType): dayjs.Dayjs;
78
- (unit: "D" | "M" | "d" | "date" | "week" | "month" | "quarter" | "year" | "years" | "quarters" | "months" | "weeks" | "days" | "s" | "millisecond" | "second" | "minute" | "hour" | "day" | "milliseconds" | "seconds" | "minutes" | "hours" | "dates" | "y" | "h" | "m" | "ms" | "Q" | "w"): dayjs.Dayjs;
78
+ (unit: "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "D" | "M" | "y" | "h" | "m" | "s" | "ms" | "quarter" | "quarters" | "Q" | "week" | "weeks" | "w"): dayjs.Dayjs;
79
79
  };
80
80
  endOf: {
81
81
  (unit: dayjs.OpUnitType): dayjs.Dayjs;
82
- (unit: "D" | "M" | "d" | "date" | "week" | "month" | "quarter" | "year" | "years" | "quarters" | "months" | "weeks" | "days" | "s" | "millisecond" | "second" | "minute" | "hour" | "day" | "milliseconds" | "seconds" | "minutes" | "hours" | "dates" | "y" | "h" | "m" | "ms" | "Q" | "w"): dayjs.Dayjs;
82
+ (unit: "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "D" | "M" | "y" | "h" | "m" | "s" | "ms" | "quarter" | "quarters" | "Q" | "week" | "weeks" | "w"): dayjs.Dayjs;
83
83
  };
84
84
  format: (template?: string) => string;
85
- diff: (date?: string | number | Date | dayjs.Dayjs, unit?: "D" | "M" | "d" | "date" | "week" | "month" | "quarter" | "year" | "years" | "quarters" | "months" | "weeks" | "days" | "s" | "millisecond" | "second" | "minute" | "hour" | "day" | "milliseconds" | "seconds" | "minutes" | "hours" | "dates" | "y" | "h" | "m" | "ms" | "Q" | "w", float?: boolean) => number;
85
+ diff: (date?: string | number | dayjs.Dayjs | Date, unit?: "date" | "millisecond" | "second" | "minute" | "hour" | "day" | "month" | "year" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "D" | "M" | "y" | "h" | "m" | "s" | "ms" | "quarter" | "quarters" | "Q" | "week" | "weeks" | "w", float?: boolean) => number;
86
86
  valueOf: () => number;
87
87
  unix: () => number;
88
88
  daysInMonth: () => number;
@@ -92,16 +92,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
92
92
  toString: () => string;
93
93
  utcOffset: () => number;
94
94
  isBefore: {
95
- (date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.OpUnitType): boolean;
96
- (date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.QUnitType): boolean;
95
+ (date?: string | number | dayjs.Dayjs | Date, unit?: dayjs.OpUnitType): boolean;
96
+ (date?: string | number | dayjs.Dayjs | Date, unit?: dayjs.QUnitType): boolean;
97
97
  };
98
98
  isSame: {
99
- (date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.OpUnitType): boolean;
100
- (date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.QUnitType): boolean;
99
+ (date?: string | number | dayjs.Dayjs | Date, unit?: dayjs.OpUnitType): boolean;
100
+ (date?: string | number | dayjs.Dayjs | Date, unit?: dayjs.QUnitType): boolean;
101
101
  };
102
102
  isAfter: {
103
- (date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.OpUnitType): boolean;
104
- (date?: string | number | Date | dayjs.Dayjs, unit?: dayjs.QUnitType): boolean;
103
+ (date?: string | number | dayjs.Dayjs | Date, unit?: dayjs.OpUnitType): boolean;
104
+ (date?: string | number | dayjs.Dayjs | Date, unit?: dayjs.QUnitType): boolean;
105
105
  };
106
106
  locale: {
107
107
  (): string;
@@ -121,12 +121,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
121
121
  radioValue?: string;
122
122
  calcWays?: any;
123
123
  dateCalcTypes?: any;
124
+ componentId?: string;
124
125
  }>;
125
126
  valueOptions: import("vue").Ref<{
126
127
  [key: string]: any;
127
128
  }[]>;
128
129
  onRuleChange: (value: string) => void;
129
- onDataTypeChange: () => void;
130
+ onDataTypeChange: (value: string) => void;
130
131
  onFieldValueSelectChange: (values: string[]) => void;
131
132
  fieldValues: import("vue").Ref<string[]>;
132
133
  onDelete: () => void;
@@ -170,7 +171,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
170
171
  marginTop: string;
171
172
  };
172
173
  showTime: import("vue").Ref<boolean>;
173
- controlList: import("vue").ComputedRef<any>;
174
+ controlList: import("vue").ComputedRef<any[]>;
174
175
  dataTypeList: {
175
176
  label: string;
176
177
  value: string;
@@ -181,6 +182,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
181
182
  getFieldValue: (tabIndex: number) => string;
182
183
  blurCompare: (e: any, tabItem: any, flag: any, key: any) => void;
183
184
  okDatePickConfig: (tabItem: any, tabIndex: any) => void;
185
+ onChangeComponent: (value: string) => void;
184
186
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
185
187
  data: {
186
188
  type: ObjectConstructor;
@@ -4,16 +4,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
4
4
  type: StringConstructor;
5
5
  default: string;
6
6
  };
7
+ isGroupTable: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
7
11
  }, {
8
12
  type: import("vue").ComputedRef<any>;
9
13
  handleChangeType: (val: string) => void;
10
- activePanel: import("vue").Ref<number[]>;
14
+ activePanel: import("vue").Ref<string[]>;
15
+ tablePanel: import("vue").Ref<string[]>;
11
16
  ComponentString: import("vue").ComputedRef<string>;
12
17
  updateComponentOptions: (code: string) => void;
18
+ tableOptions: any;
13
19
  optionCode: import("vue").Ref<string>;
14
20
  onEditorChange: (code: string) => void;
15
- onSwitchClick: (checked: boolean | string | number, event: Event) => void;
16
- onSwitchChange: (value: boolean, key: string | undefined) => void;
21
+ tableEditorChange: (code: string, key: any) => void;
22
+ onSwitchClick: (checked: boolean | string | number, event: Event) => string | number | boolean;
23
+ onSwitchChange: (value: any, key: string | undefined) => void;
17
24
  detailPropsGroups: import("vue").ComputedRef<DetailPropsGroups>;
18
25
  isRenderForm: (detailPropsGroup: DetailPropsGroup, componentType: string) => boolean;
19
26
  isShowOptionEditor: import("vue").ComputedRef<boolean>;
@@ -22,7 +29,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
22
29
  type: StringConstructor;
23
30
  default: string;
24
31
  };
32
+ isGroupTable: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
25
36
  }>>, {
26
37
  componentType: string;
38
+ isGroupTable: boolean;
27
39
  }, {}>;
28
40
  export default _sfc_main;
@@ -7,6 +7,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ componentType: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
10
14
  }, {
11
15
  formProps: import("vue").ComputedRef<{
12
16
  [key: string]: any;
@@ -21,7 +25,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
25
  type: BooleanConstructor;
22
26
  default: boolean;
23
27
  };
28
+ componentType: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
24
32
  }>>, {
25
33
  disabled: boolean;
34
+ componentType: string;
26
35
  }, {}>;
27
36
  export default _sfc_main;
@@ -49,10 +49,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
49
49
  onChange?: (...args: any[]) => any;
50
50
  }, {
51
51
  value: unknown[];
52
- max: number;
53
52
  format: {
54
53
  [key: string]: any;
55
54
  }[];
55
+ max: number;
56
56
  useLabelIndex: boolean;
57
57
  }, {}>;
58
58
  export default _sfc_main;
@@ -1,7 +1,33 @@
1
1
  import { PropType } from 'vue';
2
2
  declare const _sfc_main: import("vue").DefineComponent<{
3
3
  value: {
4
- type: (StringConstructor | NumberConstructor)[];
4
+ type: (StringConstructor | NumberConstructor | {
5
+ (arrayLength: number): String[];
6
+ (...items: String[]): String[];
7
+ new (arrayLength: number): String[];
8
+ new (...items: String[]): String[];
9
+ isArray(arg: any): arg is any[];
10
+ readonly prototype: any[];
11
+ from<T>(arrayLike: ArrayLike<T>): T[];
12
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
13
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
14
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
15
+ of<T_4>(...items: T_4[]): T_4[];
16
+ readonly [Symbol.species]: ArrayConstructor;
17
+ } | {
18
+ (arrayLength: number): Number[];
19
+ (...items: Number[]): Number[];
20
+ new (arrayLength: number): Number[];
21
+ new (...items: Number[]): Number[];
22
+ isArray(arg: any): arg is any[];
23
+ readonly prototype: any[];
24
+ from<T>(arrayLike: ArrayLike<T>): T[];
25
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
26
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
27
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
28
+ of<T_4>(...items: T_4[]): T_4[];
29
+ readonly [Symbol.species]: ArrayConstructor;
30
+ })[];
5
31
  default: string;
6
32
  };
7
33
  options: {
@@ -12,7 +38,33 @@ declare const _sfc_main: import("vue").DefineComponent<{
12
38
  onSelectChange: (value: string | number) => void;
13
39
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
40
  value: {
15
- type: (StringConstructor | NumberConstructor)[];
41
+ type: (StringConstructor | NumberConstructor | {
42
+ (arrayLength: number): String[];
43
+ (...items: String[]): String[];
44
+ new (arrayLength: number): String[];
45
+ new (...items: String[]): String[];
46
+ isArray(arg: any): arg is any[];
47
+ readonly prototype: any[];
48
+ from<T>(arrayLike: ArrayLike<T>): T[];
49
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
50
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
51
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
52
+ of<T_4>(...items: T_4[]): T_4[];
53
+ readonly [Symbol.species]: ArrayConstructor;
54
+ } | {
55
+ (arrayLength: number): Number[];
56
+ (...items: Number[]): Number[];
57
+ new (arrayLength: number): Number[];
58
+ new (...items: Number[]): Number[];
59
+ isArray(arg: any): arg is any[];
60
+ readonly prototype: any[];
61
+ from<T>(arrayLike: ArrayLike<T>): T[];
62
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
63
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
64
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
65
+ of<T_4>(...items: T_4[]): T_4[];
66
+ readonly [Symbol.species]: ArrayConstructor;
67
+ })[];
16
68
  default: string;
17
69
  };
18
70
  options: {
@@ -22,7 +74,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
22
74
  }>> & {
23
75
  onChange?: (...args: any[]) => any;
24
76
  }, {
25
- value: string | number;
77
+ value: string | number | String[] | Number[];
26
78
  options: any;
27
79
  }, {}>;
28
80
  export default _sfc_main;
@@ -0,0 +1,100 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {
2
+ configColumns: any;
3
+ configData: import("vue").Ref<any[]>;
4
+ editorTitle: import("vue").Ref<{
5
+ [x: number]: string;
6
+ toString: () => string;
7
+ charAt: (pos: number) => string;
8
+ charCodeAt: (index: number) => number;
9
+ concat: (...strings: string[]) => string;
10
+ indexOf: (searchString: string, position?: number) => number;
11
+ lastIndexOf: (searchString: string, position?: number) => number;
12
+ localeCompare: {
13
+ (that: string): number;
14
+ (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
15
+ };
16
+ match: {
17
+ (regexp: string | RegExp): RegExpMatchArray;
18
+ (matcher: {
19
+ [Symbol.match](string: string): RegExpMatchArray;
20
+ }): RegExpMatchArray;
21
+ };
22
+ replace: {
23
+ (searchValue: string | RegExp, replaceValue: string): string;
24
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
25
+ (searchValue: {
26
+ [Symbol.replace](string: string, replaceValue: string): string;
27
+ }, replaceValue: string): string;
28
+ (searchValue: {
29
+ [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
30
+ }, replacer: (substring: string, ...args: any[]) => string): string;
31
+ };
32
+ search: {
33
+ (regexp: string | RegExp): number;
34
+ (searcher: {
35
+ [Symbol.search](string: string): number;
36
+ }): number;
37
+ };
38
+ slice: (start?: number, end?: number) => string;
39
+ split: {
40
+ (separator: string | RegExp, limit?: number): string[];
41
+ (splitter: {
42
+ [Symbol.split](string: string, limit?: number): string[];
43
+ }, limit?: number): string[];
44
+ };
45
+ substring: (start: number, end?: number) => string;
46
+ toLowerCase: () => string;
47
+ toLocaleLowerCase: (locales?: string | string[]) => string;
48
+ toUpperCase: () => string;
49
+ toLocaleUpperCase: (locales?: string | string[]) => string;
50
+ trim: () => string;
51
+ readonly length: number;
52
+ substr: (from: number, length?: number) => string;
53
+ valueOf: () => string;
54
+ codePointAt: (pos: number) => number;
55
+ includes: (searchString: string, position?: number) => boolean;
56
+ endsWith: (searchString: string, endPosition?: number) => boolean;
57
+ normalize: {
58
+ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
59
+ (form?: string): string;
60
+ };
61
+ repeat: (count: number) => string;
62
+ startsWith: (searchString: string, position?: number) => boolean;
63
+ anchor: (name: string) => string;
64
+ big: () => string;
65
+ blink: () => string;
66
+ bold: () => string;
67
+ fixed: () => string;
68
+ fontcolor: (color: string) => string;
69
+ fontsize: {
70
+ (size: number): string;
71
+ (size: string): string;
72
+ };
73
+ italics: () => string;
74
+ link: (url: string) => string;
75
+ small: () => string;
76
+ strike: () => string;
77
+ sub: () => string;
78
+ sup: () => string;
79
+ padStart: (maxLength: number, fillString?: string) => string;
80
+ padEnd: (maxLength: number, fillString?: string) => string;
81
+ trimEnd: () => string;
82
+ trimStart: () => string;
83
+ trimLeft: () => string;
84
+ trimRight: () => string;
85
+ matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
86
+ replaceAll: {
87
+ (searchValue: string | RegExp, replaceValue: string): string;
88
+ (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
89
+ };
90
+ at: (index: number) => string;
91
+ [Symbol.iterator]: () => IterableIterator<string>;
92
+ }>;
93
+ editorVisible: import("vue").Ref<any>;
94
+ optionCode: import("vue").Ref<string>;
95
+ handleOk: () => void;
96
+ renderSave: (obj: any, key: string, title: string) => void;
97
+ onEditorChange: (code: string) => void;
98
+ changeRenderBool: (row: any, e: any) => void;
99
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
100
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ import TableColumnConfig from './TableColumnConfig.vue';
2
+ export default TableColumnConfig;
@@ -0,0 +1,2 @@
1
+ import { tableProps } from './props';
2
+ export default tableProps;
@@ -0,0 +1,16 @@
1
+ export interface TableProps {
2
+ name: String;
3
+ type: String;
4
+ size: String;
5
+ allOverflow: String;
6
+ hoverRow: Boolean;
7
+ hoverColor: String;
8
+ headerCellStyleMethod: String;
9
+ rowStyleMethod: String;
10
+ boderList: Array<String>;
11
+ columnDropEnable: Boolean;
12
+ showTotalBool: Boolean;
13
+ totalName: String;
14
+ expandAll: Boolean;
15
+ }
16
+ export declare const tableProps: TableProps;
@@ -18,6 +18,14 @@ export declare const EcanIndicatorLibrary: import('../../utils/withInstall').SFC
18
18
  request: {
19
19
  default: any;
20
20
  };
21
+ renderUsedComponentList: {
22
+ type: import("vue").PropType<any[]>;
23
+ default: () => any[];
24
+ };
25
+ mapAttributeProps: {
26
+ type: ObjectConstructor;
27
+ default: () => void;
28
+ };
21
29
  }, {
22
30
  isUpdate: import("vue").Ref<boolean>;
23
31
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -40,11 +48,21 @@ export declare const EcanIndicatorLibrary: import('../../utils/withInstall').SFC
40
48
  request: {
41
49
  default: any;
42
50
  };
51
+ renderUsedComponentList: {
52
+ type: import("vue").PropType<any[]>;
53
+ default: () => any[];
54
+ };
55
+ mapAttributeProps: {
56
+ type: ObjectConstructor;
57
+ default: () => void;
58
+ };
43
59
  }>>, {
44
60
  request: any;
45
61
  indicatorToken: string;
46
62
  isShowStyleConfig: boolean;
47
63
  sourceType: string;
48
64
  selectedComponent: Record<string, any>;
65
+ renderUsedComponentList: any[];
66
+ mapAttributeProps: Record<string, any>;
49
67
  }, {}>> & Record<string, any>;
50
68
  export default EcanIndicatorLibrary;
@@ -12,8 +12,13 @@ export declare const UPDATE_GRAPHIC_CONFIG = "UPDATE_GRAPHIC_CONFIG";
12
12
  export declare const SHOW_STYLE_CONFIG = "SHOW_STYLE_CONFIG";
13
13
  export declare const REFRESH_DATA = "REFRESH_DATA";
14
14
  export declare const CHARTS_OPTIONS = "CHARTS_OPTIONS";
15
+ export declare const TABLE_OPTIONS = "TABLE_OPTIONS";
15
16
  export declare const ZOOM_FONT_SIZE = 18;
16
17
  export declare const UPDATE_CHARTS_OPTIONS = "UPDATE_CHARTS_OPTIONS";
18
+ export declare const UPDATE_TABLE_OPTIONS = "UPDATE_TABLE_OPTIONS";
17
19
  export declare const SOURCE_TYPE = "SOURCE_TYPE";
18
20
  export declare const CHANGE_CONDITION = "CHANGE_CONDITION";
19
21
  export declare const DATA_VIEW_COLUMNS = "DATA_VIEW_COLUMNS";
22
+ export declare const RENDER_USED_COMPONENTS = "RENDER_USED_COMPONENTS";
23
+ export declare const UPDATE_USED_COMPONENT = "UPDATE_USED_COMPONENT";
24
+ export declare const MAP_ATTRIBUTE_PROPS = "MAP_ATTRIBUTE_PROPS";