@topdatasec/report 1.0.9 → 1.0.11
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/LICENSE +21 -0
- package/README.md +218 -0
- package/lib/style.css +1 -0
- package/lib/t-report-ui.es.js +26420 -0
- package/lib/t-report-ui.umd.js +205 -0
- package/package.json +66 -88
- package/README.zh-CN.md +0 -0
- package/dist/index.iife.js +0 -2
- package/dist/index.js +0 -2041
- package/dist/index.umd.cjs +0 -2
- package/dist/style.css +0 -1
- package/es/_virtual/_plugin-vue_export-helper.js +0 -9
- package/es/bar/Bar.d.ts +0 -5
- package/es/bar/Bar.vue.js +0 -20
- package/es/bar/Bar.vue2.js +0 -4
- package/es/bar/index.d.ts +0 -15
- package/es/bar/index.js +0 -6
- package/es/components.d.ts +0 -15
- package/es/components.js +0 -30
- package/es/config/Config.css +0 -1
- package/es/config/Config.d.ts +0 -2
- package/es/config/Config.vue.js +0 -7
- package/es/config/Config.vue2.js +0 -207
- package/es/config/index.d.ts +0 -14
- package/es/config/index.js +0 -6
- package/es/index.d.ts +0 -10
- package/es/index.js +0 -60
- package/es/line/Line.d.ts +0 -5
- package/es/line/Line.vue.js +0 -20
- package/es/line/Line.vue2.js +0 -4
- package/es/line/index.d.ts +0 -15
- package/es/line/index.js +0 -6
- package/es/node_modules/.pnpm/@wangeditor_editor@5.1.23/node_modules/@wangeditor/editor/dist/css/style.css +0 -1
- package/es/pie/Pie.d.ts +0 -5
- package/es/pie/Pie.vue.js +0 -20
- package/es/pie/Pie.vue2.js +0 -4
- package/es/pie/index.d.ts +0 -15
- package/es/pie/index.js +0 -6
- package/es/report/Report.d.ts +0 -7
- package/es/report/Report.vue.js +0 -112
- package/es/report/Report.vue2.js +0 -4
- package/es/report/index.d.ts +0 -17
- package/es/report/index.js +0 -6
- package/es/select/Select.d.ts +0 -9
- package/es/select/Select.vue.js +0 -39
- package/es/select/Select.vue2.js +0 -4
- package/es/select/index.d.ts +0 -25
- package/es/select/index.js +0 -6
- package/es/settingCharts/SettingCharts.d.ts +0 -5
- package/es/settingCharts/SettingCharts.vue.js +0 -142
- package/es/settingCharts/SettingCharts.vue2.js +0 -4
- package/es/settingCharts/index.d.ts +0 -14
- package/es/settingCharts/index.js +0 -6
- package/es/settingFilter/index.d.ts +0 -15
- package/es/settingFilter/index.js +0 -6
- package/es/settingFilter/settingFilter.d.ts +0 -5
- package/es/settingFilter/settingFilter.vue.js +0 -62
- package/es/settingFilter/settingFilter.vue2.js +0 -4
- package/es/settingTable/SettingTable.d.ts +0 -2
- package/es/settingTable/SettingTable.vue.js +0 -59
- package/es/settingTable/SettingTable.vue2.js +0 -4
- package/es/settingTable/index.d.ts +0 -14
- package/es/settingTable/index.js +0 -6
- package/es/settingText/index.d.ts +0 -15
- package/es/settingText/index.js +0 -6
- package/es/settingText/settingText.d.ts +0 -5
- package/es/settingText/settingText.vue.js +0 -112
- package/es/settingText/settingText.vue2.js +0 -4
- package/es/settingTitle/index.d.ts +0 -14
- package/es/settingTitle/index.js +0 -6
- package/es/settingTitle/settingTitle.css +0 -1
- package/es/settingTitle/settingTitle.d.ts +0 -2
- package/es/settingTitle/settingTitle.vue.js +0 -7
- package/es/settingTitle/settingTitle.vue2.js +0 -137
- package/es/stores/interface/index.d.ts +0 -18
- package/es/stores/modules/report.d.ts +0 -35
- package/es/stores/modules/report.js +0 -45
- package/es/style/global.css +0 -1
- package/es/table/Table.d.ts +0 -5
- package/es/table/Table.vue.js +0 -26
- package/es/table/Table.vue2.js +0 -4
- package/es/table/index.d.ts +0 -15
- package/es/table/index.js +0 -6
- package/es/text/Text.d.ts +0 -5
- package/es/text/Text.vue.js +0 -27
- package/es/text/Text.vue2.js +0 -4
- package/es/text/index.d.ts +0 -15
- package/es/text/index.js +0 -6
- package/es/time/Time.d.ts +0 -9
- package/es/time/Time.vue.js +0 -35
- package/es/time/Time.vue2.js +0 -4
- package/es/time/index.d.ts +0 -25
- package/es/time/index.js +0 -6
- package/es/utils/api.d.ts +0 -12
- package/es/utils/api.js +0 -32
- package/es/utils/chartsOption.d.ts +0 -298
- package/es/utils/chartsOption.js +0 -501
- package/es/utils/data.d.ts +0 -4
- package/es/utils/data.js +0 -162
- package/es/utils/index.d.ts +0 -43
- package/es/utils/index.js +0 -309
- package/es/utils/resolver.d.ts +0 -11
- package/es/utils/resolver.js +0 -49
- package/es/utils/type.d.ts +0 -2
- package/es/utils/type.js +0 -9
- package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -1
- package/lib/bar/Bar.d.ts +0 -5
- package/lib/bar/Bar.vue.cjs +0 -1
- package/lib/bar/Bar.vue2.cjs +0 -1
- package/lib/bar/index.cjs +0 -1
- package/lib/bar/index.d.ts +0 -15
- package/lib/components.cjs +0 -1
- package/lib/components.d.ts +0 -15
- package/lib/config/Config.css +0 -1
- package/lib/config/Config.d.ts +0 -2
- package/lib/config/Config.vue.cjs +0 -1
- package/lib/config/Config.vue2.cjs +0 -1
- package/lib/config/index.cjs +0 -1
- package/lib/config/index.d.ts +0 -14
- package/lib/index.cjs +0 -1
- package/lib/index.d.ts +0 -10
- package/lib/line/Line.d.ts +0 -5
- package/lib/line/Line.vue.cjs +0 -1
- package/lib/line/Line.vue2.cjs +0 -1
- package/lib/line/index.cjs +0 -1
- package/lib/line/index.d.ts +0 -15
- package/lib/node_modules/.pnpm/@wangeditor_editor@5.1.23/node_modules/@wangeditor/editor/dist/css/style.css +0 -1
- package/lib/pie/Pie.d.ts +0 -5
- package/lib/pie/Pie.vue.cjs +0 -1
- package/lib/pie/Pie.vue2.cjs +0 -1
- package/lib/pie/index.cjs +0 -1
- package/lib/pie/index.d.ts +0 -15
- package/lib/report/Report.d.ts +0 -7
- package/lib/report/Report.vue.cjs +0 -1
- package/lib/report/Report.vue2.cjs +0 -1
- package/lib/report/index.cjs +0 -1
- package/lib/report/index.d.ts +0 -17
- package/lib/select/Select.d.ts +0 -9
- package/lib/select/Select.vue.cjs +0 -1
- package/lib/select/Select.vue2.cjs +0 -1
- package/lib/select/index.cjs +0 -1
- package/lib/select/index.d.ts +0 -25
- package/lib/settingCharts/SettingCharts.d.ts +0 -5
- package/lib/settingCharts/SettingCharts.vue.cjs +0 -1
- package/lib/settingCharts/SettingCharts.vue2.cjs +0 -1
- package/lib/settingCharts/index.cjs +0 -1
- package/lib/settingCharts/index.d.ts +0 -14
- package/lib/settingFilter/index.cjs +0 -1
- package/lib/settingFilter/index.d.ts +0 -15
- package/lib/settingFilter/settingFilter.d.ts +0 -5
- package/lib/settingFilter/settingFilter.vue.cjs +0 -1
- package/lib/settingFilter/settingFilter.vue2.cjs +0 -1
- package/lib/settingTable/SettingTable.d.ts +0 -2
- package/lib/settingTable/SettingTable.vue.cjs +0 -1
- package/lib/settingTable/SettingTable.vue2.cjs +0 -1
- package/lib/settingTable/index.cjs +0 -1
- package/lib/settingTable/index.d.ts +0 -14
- package/lib/settingText/index.cjs +0 -1
- package/lib/settingText/index.d.ts +0 -15
- package/lib/settingText/settingText.d.ts +0 -5
- package/lib/settingText/settingText.vue.cjs +0 -1
- package/lib/settingText/settingText.vue2.cjs +0 -1
- package/lib/settingTitle/index.cjs +0 -1
- package/lib/settingTitle/index.d.ts +0 -14
- package/lib/settingTitle/settingTitle.css +0 -1
- package/lib/settingTitle/settingTitle.d.ts +0 -2
- package/lib/settingTitle/settingTitle.vue.cjs +0 -1
- package/lib/settingTitle/settingTitle.vue2.cjs +0 -1
- package/lib/stores/interface/index.d.ts +0 -18
- package/lib/stores/modules/report.cjs +0 -1
- package/lib/stores/modules/report.d.ts +0 -35
- package/lib/style/global.css +0 -1
- package/lib/table/Table.d.ts +0 -5
- package/lib/table/Table.vue.cjs +0 -1
- package/lib/table/Table.vue2.cjs +0 -1
- package/lib/table/index.cjs +0 -1
- package/lib/table/index.d.ts +0 -15
- package/lib/text/Text.d.ts +0 -5
- package/lib/text/Text.vue.cjs +0 -1
- package/lib/text/Text.vue2.cjs +0 -1
- package/lib/text/index.cjs +0 -1
- package/lib/text/index.d.ts +0 -15
- package/lib/time/Time.d.ts +0 -9
- package/lib/time/Time.vue.cjs +0 -1
- package/lib/time/Time.vue2.cjs +0 -1
- package/lib/time/index.cjs +0 -1
- package/lib/time/index.d.ts +0 -25
- package/lib/utils/api.cjs +0 -1
- package/lib/utils/api.d.ts +0 -12
- package/lib/utils/chartsOption.cjs +0 -2
- package/lib/utils/chartsOption.d.ts +0 -298
- package/lib/utils/data.cjs +0 -1
- package/lib/utils/data.d.ts +0 -4
- package/lib/utils/index.cjs +0 -1
- package/lib/utils/index.d.ts +0 -43
- package/lib/utils/resolver.cjs +0 -1
- package/lib/utils/resolver.d.ts +0 -11
- package/lib/utils/type.cjs +0 -1
- package/lib/utils/type.d.ts +0 -2
package/es/line/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type { Props } from './Line';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Line').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
4
|
-
P: {};
|
|
5
|
-
B: {};
|
|
6
|
-
D: {};
|
|
7
|
-
C: {};
|
|
8
|
-
M: {};
|
|
9
|
-
Defaults: {};
|
|
10
|
-
}, Readonly<import('./Line').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
-
__isFragment?: never;
|
|
12
|
-
__isTeleport?: never;
|
|
13
|
-
__isSuspense?: never;
|
|
14
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./Line').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
15
|
-
export default _default;
|
package/es/line/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root,:host{--w-e-textarea-bg-color: #fff;--w-e-textarea-color: #333;--w-e-textarea-border-color: #ccc;--w-e-textarea-slight-border-color: #e8e8e8;--w-e-textarea-slight-color: #d4d4d4;--w-e-textarea-slight-bg-color: #f5f2f0;--w-e-textarea-selected-border-color: #B4D5FF;--w-e-textarea-handler-bg-color: #4290f7;--w-e-toolbar-color: #595959;--w-e-toolbar-bg-color: #fff;--w-e-toolbar-active-color: #333;--w-e-toolbar-active-bg-color: #f1f1f1;--w-e-toolbar-disabled-color: #999;--w-e-toolbar-border-color: #e8e8e8;--w-e-modal-button-bg-color: #fafafa;--w-e-modal-button-border-color: #d9d9d9}.w-e-text-container *,.w-e-toolbar *{box-sizing:border-box;margin:0;outline:none;padding:0}.w-e-text-container blockquote,.w-e-text-container li,.w-e-text-container p,.w-e-text-container td,.w-e-text-container th,.w-e-toolbar *{line-height:1.5}.w-e-text-container{background-color:var(--w-e-textarea-bg-color);color:var(--w-e-textarea-color);height:100%;position:relative}.w-e-text-container .w-e-scroll{-webkit-overflow-scrolling:touch;height:100%}.w-e-text-container [data-slate-editor]{word-wrap:break-word;border-top:1px solid transparent;min-height:100%;outline:0;padding:0 10px;white-space:pre-wrap}.w-e-text-container [data-slate-editor] p{margin:15px 0}.w-e-text-container [data-slate-editor] h1,.w-e-text-container [data-slate-editor] h2,.w-e-text-container [data-slate-editor] h3,.w-e-text-container [data-slate-editor] h4,.w-e-text-container [data-slate-editor] h5{margin:20px 0}.w-e-text-container [data-slate-editor] img{cursor:default;display:inline!important;max-width:100%;min-height:20px;min-width:20px}.w-e-text-container [data-slate-editor] span{text-indent:0}.w-e-text-container [data-slate-editor] [data-selected=true]{box-shadow:0 0 0 2px var(--w-e-textarea-selected-border-color)}.w-e-text-placeholder{font-style:italic;left:10px;top:17px;width:90%}.w-e-max-length-info,.w-e-text-placeholder{color:var(--w-e-textarea-slight-color);pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.w-e-max-length-info{bottom:.5em;right:1em}.w-e-bar{background-color:var(--w-e-toolbar-bg-color);color:var(--w-e-toolbar-color);font-size:14px;padding:0 5px}.w-e-bar svg{fill:var(--w-e-toolbar-color);height:14px;width:14px}.w-e-bar-show{display:flex}.w-e-bar-hidden{display:none}.w-e-hover-bar{border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 5px #0000001f;position:absolute}.w-e-toolbar{flex-wrap:wrap;position:relative}.w-e-bar-divider{background-color:var(--w-e-toolbar-border-color);display:inline-flex;height:40px;margin:0 5px;width:1px}.w-e-bar-item{display:flex;height:40px;padding:4px;position:relative;text-align:center}.w-e-bar-item,.w-e-bar-item button{align-items:center;justify-content:center}.w-e-bar-item button{background:transparent;border:none;color:var(--w-e-toolbar-color);cursor:pointer;display:inline-flex;height:32px;overflow:hidden;padding:0 8px;white-space:nowrap}.w-e-bar-item button:hover{background-color:var(--w-e-toolbar-active-bg-color);color:var(--w-e-toolbar-active-color)}.w-e-bar-item button .title{margin-left:5px}.w-e-bar-item .active{background-color:var(--w-e-toolbar-active-bg-color);color:var(--w-e-toolbar-active-color)}.w-e-bar-item .disabled{color:var(--w-e-toolbar-disabled-color);cursor:not-allowed}.w-e-bar-item .disabled svg{fill:var(--w-e-toolbar-disabled-color)}.w-e-bar-item .disabled:hover{background-color:var(--w-e-toolbar-bg-color);color:var(--w-e-toolbar-disabled-color)}.w-e-bar-item .disabled:hover svg{fill:var(--w-e-toolbar-disabled-color)}.w-e-menu-tooltip-v5:before{background-color:var(--w-e-toolbar-active-color);border-radius:5px;color:var(--w-e-toolbar-bg-color);content:attr(data-tooltip);font-size:.75em;opacity:0;padding:5px 10px;position:absolute;text-align:center;top:40px;transition:opacity .6s;visibility:hidden;white-space:pre;z-index:1}.w-e-menu-tooltip-v5:after{border:5px solid transparent;border-bottom:5px solid var(--w-e-toolbar-active-color);content:"";opacity:0;position:absolute;top:30px;transition:opacity .6s;visibility:hidden}.w-e-menu-tooltip-v5:hover:after,.w-e-menu-tooltip-v5:hover:before{opacity:1;visibility:visible}.w-e-menu-tooltip-v5.tooltip-right:before{left:100%;top:10px}.w-e-menu-tooltip-v5.tooltip-right:after{border-bottom-color:transparent;border-left-color:transparent;border-right-color:var(--w-e-toolbar-active-color);border-top-color:transparent;left:100%;margin-left:-10px;top:16px}.w-e-bar-item-group .w-e-bar-item-menus-container{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;display:none;left:0;margin-top:40px;position:absolute;top:0;z-index:1}.w-e-bar-item-group:hover .w-e-bar-item-menus-container{display:block}.w-e-select-list{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;left:0;margin-top:40px;max-height:350px;min-width:100px;overflow-y:auto;position:absolute;top:0;z-index:1}.w-e-select-list ul{line-height:1;list-style:none}.w-e-select-list ul .selected{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-select-list ul li{cursor:pointer;padding:7px 0 7px 25px;position:relative;text-align:left;white-space:nowrap}.w-e-select-list ul li:hover{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-select-list ul li svg{left:0;margin-left:5px;margin-top:-7px;position:absolute;top:50%}.w-e-bar-bottom .w-e-select-list{bottom:0;margin-bottom:40px;margin-top:0;top:inherit}.w-e-drop-panel{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;margin-top:40px;min-width:200px;padding:10px;position:absolute;top:0;z-index:1}.w-e-bar-bottom .w-e-drop-panel{bottom:0;margin-bottom:40px;margin-top:0;top:inherit}.w-e-modal{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;color:var(--w-e-toolbar-color);font-size:14px;min-height:40px;min-width:100px;padding:20px 15px 0;position:absolute;text-align:left;z-index:1}.w-e-modal .btn-close{cursor:pointer;line-height:1;padding:5px;position:absolute;right:8px;top:7px}.w-e-modal .btn-close svg{fill:var(--w-e-toolbar-color);height:10px;width:10px}.w-e-modal .babel-container{display:block;margin-bottom:15px}.w-e-modal .babel-container span{display:block;margin-bottom:10px}.w-e-modal .button-container{margin-bottom:15px}.w-e-modal button{background-color:var(--w-e-modal-button-bg-color);border:1px solid var(--w-e-modal-button-border-color);border-radius:4px;color:var(--w-e-toolbar-color);cursor:pointer;font-weight:400;height:32px;padding:4.5px 15px;text-align:center;touch-action:manipulation;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.w-e-modal input[type=number],.w-e-modal input[type=text],.w-e-modal textarea{font-feature-settings:"tnum";background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-modal-button-border-color);border-radius:4px;color:var(--w-e-toolbar-color);font-variant:tabular-nums;padding:4.5px 11px;transition:all .3s;width:100%}.w-e-modal textarea{min-height:60px}body .w-e-modal,body .w-e-modal *{box-sizing:border-box}.w-e-progress-bar{background-color:var(--w-e-textarea-handler-bg-color);height:1px;position:absolute;transition:width .3s;width:0}.w-e-full-screen-container{bottom:0!important;display:flex!important;flex-direction:column!important;height:100%!important;left:0!important;margin:0!important;padding:0!important;position:fixed;right:0!important;top:0!important;width:100%!important}.w-e-full-screen-container [data-w-e-textarea=true]{flex:1!important}.w-e-text-container [data-slate-editor] code{background-color:var(--w-e-textarea-slight-bg-color);border-radius:3px;font-family:monospace;padding:3px}.w-e-panel-content-color{list-style:none;text-align:left;width:230px}.w-e-panel-content-color li{border:1px solid var(--w-e-toolbar-bg-color);border-radius:3px;cursor:pointer;display:inline-block;padding:2px}.w-e-panel-content-color li:hover{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color li .color-block{border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;height:17px;width:17px}.w-e-panel-content-color .active{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color .clear{line-height:1.5;margin-bottom:5px;width:100%}.w-e-panel-content-color .clear svg{height:16px;margin-bottom:-4px;width:16px}.w-e-text-container [data-slate-editor] blockquote{background-color:var(--w-e-textarea-slight-bg-color);border-left:8px solid var(--w-e-textarea-selected-border-color);display:block;font-size:100%;line-height:1.5;margin:10px 0;padding:10px}.w-e-panel-content-emotion{font-size:20px;list-style:none;text-align:left;width:300px}.w-e-panel-content-emotion li{border-radius:3px;cursor:pointer;display:inline-block;padding:0 5px}.w-e-panel-content-emotion li:hover{background-color:var(--w-e-textarea-slight-bg-color)}.w-e-textarea-divider{border-radius:3px;margin:20px auto;padding:20px}.w-e-textarea-divider hr{background-color:var(--w-e-textarea-border-color);border:0;display:block;height:1px}.w-e-text-container [data-slate-editor] pre>code{background-color:var(--w-e-textarea-slight-bg-color);border:1px solid var(--w-e-textarea-slight-border-color);border-radius:4px;display:block;font-size:14px;padding:10px;text-indent:0}.w-e-text-container [data-slate-editor] .w-e-image-container{display:inline-block;margin:0 3px}.w-e-text-container [data-slate-editor] .w-e-image-container:hover{box-shadow:0 0 0 2px var(--w-e-textarea-selected-border-color)}.w-e-text-container [data-slate-editor] .w-e-selected-image-container{overflow:hidden;position:relative}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .w-e-image-dragger{background-color:var(--w-e-textarea-handler-bg-color);height:7px;position:absolute;width:7px}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-top{cursor:nwse-resize;left:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-top{cursor:nesw-resize;right:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-bottom{bottom:0;cursor:nesw-resize;left:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-bottom{bottom:0;cursor:nwse-resize;right:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container:hover,.w-e-text-container [contenteditable=false] .w-e-image-container:hover{box-shadow:none}.w-e-text-container [data-slate-editor] .table-container{border:1px dashed var(--w-e-textarea-border-color);border-radius:5px;margin-top:10px;overflow-x:auto;padding:10px;width:100%}.w-e-text-container [data-slate-editor] table{border-collapse:collapse}.w-e-text-container [data-slate-editor] table td,.w-e-text-container [data-slate-editor] table th{border:1px solid var(--w-e-textarea-border-color);line-height:1.5;min-width:30px;padding:3px 5px;text-align:left}.w-e-text-container [data-slate-editor] table th{background-color:var(--w-e-textarea-slight-bg-color);font-weight:700;text-align:center}.w-e-panel-content-table{background-color:var(--w-e-toolbar-bg-color)}.w-e-panel-content-table table{border-collapse:collapse}.w-e-panel-content-table td{border:1px solid var(--w-e-toolbar-border-color);cursor:pointer;height:15px;padding:3px 5px;width:20px}.w-e-panel-content-table td.active{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-textarea-video-container{background-image:linear-gradient(45deg,#eee 25%,transparent 0,transparent 75%,#eee 0,#eee),linear-gradient(45deg,#eee 25%,#fff 0,#fff 75%,#eee 0,#eee);background-position:0 0,10px 10px;background-size:20px 20px;border:1px dashed var(--w-e-textarea-border-color);border-radius:5px;margin:10px auto 0;padding:10px 0;text-align:center}.w-e-text-container [data-slate-editor] pre>code{word-wrap:normal;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;-webkit-hyphens:none;hyphens:none;line-height:1.5;margin:.5em 0;overflow:auto;padding:1em;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;text-shadow:0 1px #fff;white-space:pre;word-break:normal;word-spacing:normal}.w-e-text-container [data-slate-editor] pre>code .token.cdata,.w-e-text-container [data-slate-editor] pre>code .token.comment,.w-e-text-container [data-slate-editor] pre>code .token.doctype,.w-e-text-container [data-slate-editor] pre>code .token.prolog{color:#708090}.w-e-text-container [data-slate-editor] pre>code .token.punctuation{color:#999}.w-e-text-container [data-slate-editor] pre>code .token.namespace{opacity:.7}.w-e-text-container [data-slate-editor] pre>code .token.boolean,.w-e-text-container [data-slate-editor] pre>code .token.constant,.w-e-text-container [data-slate-editor] pre>code .token.deleted,.w-e-text-container [data-slate-editor] pre>code .token.number,.w-e-text-container [data-slate-editor] pre>code .token.property,.w-e-text-container [data-slate-editor] pre>code .token.symbol,.w-e-text-container [data-slate-editor] pre>code .token.tag{color:#905}.w-e-text-container [data-slate-editor] pre>code .token.attr-name,.w-e-text-container [data-slate-editor] pre>code .token.builtin,.w-e-text-container [data-slate-editor] pre>code .token.char,.w-e-text-container [data-slate-editor] pre>code .token.inserted,.w-e-text-container [data-slate-editor] pre>code .token.selector,.w-e-text-container [data-slate-editor] pre>code .token.string{color:#690}.w-e-text-container [data-slate-editor] pre>code .language-css .token.string,.w-e-text-container [data-slate-editor] pre>code .style .token.string,.w-e-text-container [data-slate-editor] pre>code .token.entity,.w-e-text-container [data-slate-editor] pre>code .token.operator,.w-e-text-container [data-slate-editor] pre>code .token.url{color:#9a6e3a}.w-e-text-container [data-slate-editor] pre>code .token.atrule,.w-e-text-container [data-slate-editor] pre>code .token.attr-value,.w-e-text-container [data-slate-editor] pre>code .token.keyword{color:#07a}.w-e-text-container [data-slate-editor] pre>code .token.class-name,.w-e-text-container [data-slate-editor] pre>code .token.function{color:#dd4a68}.w-e-text-container [data-slate-editor] pre>code .token.important,.w-e-text-container [data-slate-editor] pre>code .token.regex,.w-e-text-container [data-slate-editor] pre>code .token.variable{color:#e90}.w-e-text-container [data-slate-editor] pre>code .token.bold,.w-e-text-container [data-slate-editor] pre>code .token.important{font-weight:700}.w-e-text-container [data-slate-editor] pre>code .token.italic{font-style:italic}.w-e-text-container [data-slate-editor] pre>code .token.entity{cursor:help}
|
package/es/pie/Pie.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type Props = {
|
|
2
|
-
data: any;
|
|
3
|
-
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
-
export default _default;
|
package/es/pie/Pie.vue.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, computed as c, resolveComponent as p, createElementBlock as a, openBlock as r, createVNode as d } from "vue";
|
|
2
|
-
const i = { class: "chart-components" }, u = /* @__PURE__ */ s({
|
|
3
|
-
name: "TdsReportPie",
|
|
4
|
-
__name: "Pie",
|
|
5
|
-
props: {
|
|
6
|
-
data: {}
|
|
7
|
-
},
|
|
8
|
-
setup(o) {
|
|
9
|
-
const t = o, e = c(() => t.data.options);
|
|
10
|
-
return (m, _) => {
|
|
11
|
-
const n = p("TdsChart");
|
|
12
|
-
return r(), a("div", i, [
|
|
13
|
-
d(n, { option: e.value }, null, 8, ["option"])
|
|
14
|
-
]);
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
export {
|
|
19
|
-
u as default
|
|
20
|
-
};
|
package/es/pie/Pie.vue2.js
DELETED
package/es/pie/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type { Props } from './Pie';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Pie').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
4
|
-
P: {};
|
|
5
|
-
B: {};
|
|
6
|
-
D: {};
|
|
7
|
-
C: {};
|
|
8
|
-
M: {};
|
|
9
|
-
Defaults: {};
|
|
10
|
-
}, Readonly<import('./Pie').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
-
__isFragment?: never;
|
|
12
|
-
__isTeleport?: never;
|
|
13
|
-
__isSuspense?: never;
|
|
14
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./Pie').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
15
|
-
export default _default;
|
package/es/pie/index.js
DELETED
package/es/report/Report.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type Props = {
|
|
2
|
-
prodType: number | string;
|
|
3
|
-
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
|
-
proTable: unknown;
|
|
6
|
-
}, HTMLDivElement>;
|
|
7
|
-
export default _default;
|
package/es/report/Report.vue.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, reactive as a, ref as w, resolveComponent as c, createElementBlock as h, openBlock as T, createVNode as n, withCtx as o, createTextVNode as s } from "vue";
|
|
2
|
-
import { getReportListApi as g, deleteReportApi as R } from "../utils/api.js";
|
|
3
|
-
const v = { class: "table-box" }, D = /* @__PURE__ */ C({
|
|
4
|
-
name: "TdsReportInfo",
|
|
5
|
-
__name: "Report",
|
|
6
|
-
props: {
|
|
7
|
-
prodType: {}
|
|
8
|
-
},
|
|
9
|
-
setup(p) {
|
|
10
|
-
const d = a({
|
|
11
|
-
prod_type: p.prodType
|
|
12
|
-
}), r = w(), m = (e) => {
|
|
13
|
-
}, u = () => {
|
|
14
|
-
}, _ = (e) => {
|
|
15
|
-
console.log(e);
|
|
16
|
-
}, b = (e) => {
|
|
17
|
-
}, i = (e) => {
|
|
18
|
-
window == null || window.$messageBox("确定要删除吗?", "", "温馨提示", "error").then(async () => {
|
|
19
|
-
await R({ report_uuids: e }), r.value.getTableList();
|
|
20
|
-
});
|
|
21
|
-
}, k = a([
|
|
22
|
-
// { type: 'selection', fixed: 'left', width: 70 },
|
|
23
|
-
{ type: "selection", width: 80 },
|
|
24
|
-
{ field: "report_name", name: "名称", search: { type: "input" } },
|
|
25
|
-
{ field: "report_desc", name: "报表描述" },
|
|
26
|
-
{ field: "create_time", name: "创建时间" },
|
|
27
|
-
{
|
|
28
|
-
field: "operation",
|
|
29
|
-
width: 140,
|
|
30
|
-
name: "操作",
|
|
31
|
-
align: "center",
|
|
32
|
-
fixed: "right",
|
|
33
|
-
render: (e) => /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(
|
|
34
|
-
"el-button",
|
|
35
|
-
{
|
|
36
|
-
link: !0,
|
|
37
|
-
type: "primary",
|
|
38
|
-
class: "custom-btn",
|
|
39
|
-
icon: "View",
|
|
40
|
-
title: "预览",
|
|
41
|
-
onClick: () => m(e.row)
|
|
42
|
-
}
|
|
43
|
-
), /* @__PURE__ */ React.createElement(
|
|
44
|
-
"el-button",
|
|
45
|
-
{
|
|
46
|
-
link: !0,
|
|
47
|
-
type: "primary",
|
|
48
|
-
class: "custom-btn",
|
|
49
|
-
icon: "Edit",
|
|
50
|
-
title: "编辑",
|
|
51
|
-
onClick: () => b(e.row)
|
|
52
|
-
}
|
|
53
|
-
), /* @__PURE__ */ React.createElement(
|
|
54
|
-
"el-button",
|
|
55
|
-
{
|
|
56
|
-
link: !0,
|
|
57
|
-
type: "danger",
|
|
58
|
-
icon: "Delete",
|
|
59
|
-
title: "删除",
|
|
60
|
-
onClick: () => i([e.row.report_uuid])
|
|
61
|
-
}
|
|
62
|
-
))
|
|
63
|
-
}
|
|
64
|
-
]);
|
|
65
|
-
return (e, t) => {
|
|
66
|
-
const l = c("el-button"), f = c("TdsTable");
|
|
67
|
-
return T(), h("div", v, [
|
|
68
|
-
n(f, {
|
|
69
|
-
ref_key: "proTable",
|
|
70
|
-
ref: r,
|
|
71
|
-
columns: k,
|
|
72
|
-
"request-api": g,
|
|
73
|
-
"init-param": d,
|
|
74
|
-
"row-key": "report_uuid",
|
|
75
|
-
options: e.$tableOptions(),
|
|
76
|
-
"search-col": 6,
|
|
77
|
-
onSelectionChange: _
|
|
78
|
-
}, {
|
|
79
|
-
tableHeader: o((y) => [
|
|
80
|
-
n(l, {
|
|
81
|
-
plain: "",
|
|
82
|
-
type: "primary",
|
|
83
|
-
class: "custom-btn",
|
|
84
|
-
icon: "Plus",
|
|
85
|
-
onClick: u
|
|
86
|
-
}, {
|
|
87
|
-
default: o(() => t[0] || (t[0] = [
|
|
88
|
-
s("添加")
|
|
89
|
-
])),
|
|
90
|
-
_: 1
|
|
91
|
-
}),
|
|
92
|
-
n(l, {
|
|
93
|
-
plain: "",
|
|
94
|
-
type: "danger",
|
|
95
|
-
icon: "Delete",
|
|
96
|
-
onClick: (x) => i(y.selectedListIds)
|
|
97
|
-
}, {
|
|
98
|
-
default: o(() => t[1] || (t[1] = [
|
|
99
|
-
s("删除")
|
|
100
|
-
])),
|
|
101
|
-
_: 2
|
|
102
|
-
}, 1032, ["onClick"])
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
}, 8, ["columns", "request-api", "init-param", "options"])
|
|
106
|
-
]);
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
export {
|
|
111
|
-
D as default
|
|
112
|
-
};
|
package/es/report/Report.vue2.js
DELETED
package/es/report/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type { Props } from './Report';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Report').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
4
|
-
proTable: unknown;
|
|
5
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
6
|
-
P: {};
|
|
7
|
-
B: {};
|
|
8
|
-
D: {};
|
|
9
|
-
C: {};
|
|
10
|
-
M: {};
|
|
11
|
-
Defaults: {};
|
|
12
|
-
}, Readonly<import('./Report').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
13
|
-
__isFragment?: never;
|
|
14
|
-
__isTeleport?: never;
|
|
15
|
-
__isSuspense?: never;
|
|
16
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./Report').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
17
|
-
export default _default;
|
package/es/report/index.js
DELETED
package/es/select/Select.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type Props = {
|
|
2
|
-
data: any;
|
|
3
|
-
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
-
change: (...args: any[]) => void;
|
|
6
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
7
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
export default _default;
|
package/es/select/Select.vue.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { defineComponent as _, ref as i, resolveComponent as n, createElementBlock as c, createCommentVNode as v, openBlock as l, createVNode as h, withCtx as f, Fragment as C, renderList as g, createBlock as k } from "vue";
|
|
2
|
-
const V = { key: 0 }, y = /* @__PURE__ */ _({
|
|
3
|
-
name: "TdsReportSelect",
|
|
4
|
-
__name: "Select",
|
|
5
|
-
props: {
|
|
6
|
-
data: {}
|
|
7
|
-
},
|
|
8
|
-
emits: ["change"],
|
|
9
|
-
setup(r, { emit: d }) {
|
|
10
|
-
const s = d, u = (o) => {
|
|
11
|
-
s("change", o);
|
|
12
|
-
}, t = i(r.data);
|
|
13
|
-
return (o, a) => {
|
|
14
|
-
const p = n("el-option"), m = n("el-select");
|
|
15
|
-
return t.value.data ? (l(), c("div", V, [
|
|
16
|
-
h(m, {
|
|
17
|
-
modelValue: t.value.value,
|
|
18
|
-
"onUpdate:modelValue": a[0] || (a[0] = (e) => t.value.value = e),
|
|
19
|
-
multiple: "",
|
|
20
|
-
style: { width: "100%" },
|
|
21
|
-
onChange: u,
|
|
22
|
-
placeholder: "全部"
|
|
23
|
-
}, {
|
|
24
|
-
default: f(() => [
|
|
25
|
-
(l(!0), c(C, null, g(t.value.data, (e) => (l(), k(p, {
|
|
26
|
-
key: e.data,
|
|
27
|
-
label: e.label,
|
|
28
|
-
value: e.data
|
|
29
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
30
|
-
]),
|
|
31
|
-
_: 1
|
|
32
|
-
}, 8, ["modelValue"])
|
|
33
|
-
])) : v("", !0);
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
export {
|
|
38
|
-
y as default
|
|
39
|
-
};
|
package/es/select/Select.vue2.js
DELETED
package/es/select/index.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export type { Props } from './Select';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Select').Props> & Readonly<{
|
|
4
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
change: (...args: any[]) => void;
|
|
7
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
8
|
-
P: {};
|
|
9
|
-
B: {};
|
|
10
|
-
D: {};
|
|
11
|
-
C: {};
|
|
12
|
-
M: {};
|
|
13
|
-
Defaults: {};
|
|
14
|
-
}, Readonly<import('./Select').Props> & Readonly<{
|
|
15
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, {}>;
|
|
17
|
-
__isFragment?: never;
|
|
18
|
-
__isTeleport?: never;
|
|
19
|
-
__isSuspense?: never;
|
|
20
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./Select').Props> & Readonly<{
|
|
21
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
-
change: (...args: any[]) => void;
|
|
24
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
25
|
-
export default _default;
|
package/es/select/index.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type Props = {
|
|
2
|
-
prodType: number | string;
|
|
3
|
-
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
-
export default _default;
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { defineComponent as O, ref as b, computed as P, onMounted as j, watch as F, resolveComponent as f, resolveDirective as N, withDirectives as R, createElementBlock as C, openBlock as m, createVNode as c, withCtx as d, createBlock as g, createCommentVNode as w, Fragment as V, renderList as k, unref as D } from "vue";
|
|
2
|
-
import { getReportItemApi as U } from "../utils/api.js";
|
|
3
|
-
import { useReportStore as A } from "../stores/modules/report.js";
|
|
4
|
-
import { chartsBar as I, barParseData as H, chartsPie as M, pieParseData as $, chartsLine as q, lineParseData as z } from "../utils/chartsOption.js";
|
|
5
|
-
import { normalValueFn as G } from "../utils/data.js";
|
|
6
|
-
import J from "../settingTable/SettingTable.vue.js";
|
|
7
|
-
import K from "../config/Config.vue.js";
|
|
8
|
-
const ae = /* @__PURE__ */ O({
|
|
9
|
-
name: "TdsSettingCharts",
|
|
10
|
-
__name: "SettingCharts",
|
|
11
|
-
props: {
|
|
12
|
-
prodType: {}
|
|
13
|
-
},
|
|
14
|
-
setup(S) {
|
|
15
|
-
const T = S, i = A(), v = b(!1), _ = P(() => i.getActiveComponents), E = [
|
|
16
|
-
{ value: "report-table", name: "表格" },
|
|
17
|
-
{ value: "line", name: "趋势图" },
|
|
18
|
-
{ value: "pie", name: "扇形图" },
|
|
19
|
-
{ value: "bar", name: "柱状图" }
|
|
20
|
-
], n = b(""), h = b();
|
|
21
|
-
async function y(r) {
|
|
22
|
-
const o = await U({
|
|
23
|
-
prod_type: T.prodType,
|
|
24
|
-
chart_type: r,
|
|
25
|
-
filter_uuid: i.filterForm.filter_uuid
|
|
26
|
-
});
|
|
27
|
-
h.value = o.data;
|
|
28
|
-
}
|
|
29
|
-
function L(r) {
|
|
30
|
-
let o = h.value.find((t) => t.rp_item_uuid === r);
|
|
31
|
-
const e = o.rp_item_content;
|
|
32
|
-
if (o.rp_item_content.type === "bar") {
|
|
33
|
-
e.options = I();
|
|
34
|
-
const t = [];
|
|
35
|
-
let l = "";
|
|
36
|
-
e.data.forEach((u) => {
|
|
37
|
-
l = u.data[0].name, t.push({
|
|
38
|
-
name: u.label,
|
|
39
|
-
value: u.data[0].value
|
|
40
|
-
});
|
|
41
|
-
}), H(e.options, t, l);
|
|
42
|
-
}
|
|
43
|
-
if (e.type === "pie" && (e.options = M({ isLegend: !0 }), $({ chartOption: e.options, data: e.data })), e.type === "line") {
|
|
44
|
-
let t = [];
|
|
45
|
-
e.data.forEach((s) => {
|
|
46
|
-
t = s.data.map((a, p) => ({ name: a.name, value: "value" + p }));
|
|
47
|
-
});
|
|
48
|
-
const l = {
|
|
49
|
-
name: "name",
|
|
50
|
-
value: t
|
|
51
|
-
}, u = e.data.map((s) => {
|
|
52
|
-
const a = {
|
|
53
|
-
name: s.label
|
|
54
|
-
};
|
|
55
|
-
return t.forEach((p, B) => {
|
|
56
|
-
a[p.value] = s.data[B].value;
|
|
57
|
-
}), a;
|
|
58
|
-
});
|
|
59
|
-
e.options = q([], l), z(e.options, u, l);
|
|
60
|
-
}
|
|
61
|
-
if (e.type === "report-table") {
|
|
62
|
-
const t = {};
|
|
63
|
-
e.showColumn.forEach((l) => {
|
|
64
|
-
t[l.key] = !0;
|
|
65
|
-
}), e.options = { ...e.options, showColumn: t, border: !0, showHeader: !0, stripe: !1 };
|
|
66
|
-
}
|
|
67
|
-
Object.assign(i.activeComponents, e), i.activeComponents.rp_item_uuid = o.rp_item_uuid;
|
|
68
|
-
}
|
|
69
|
-
j(async () => {
|
|
70
|
-
n.value = _.value.type, await y(n.value);
|
|
71
|
-
});
|
|
72
|
-
async function x(r) {
|
|
73
|
-
try {
|
|
74
|
-
v.value = !0, await y(r), Object.assign(i.activeComponents, G(r)), v.value = !1;
|
|
75
|
-
} catch {
|
|
76
|
-
v.value = !1;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
return F(
|
|
80
|
-
() => _.value,
|
|
81
|
-
(r) => {
|
|
82
|
-
~["bar", "pie", "line", "report-table"].indexOf(r.type) && (n.value = _.value.type, y(n.value));
|
|
83
|
-
}
|
|
84
|
-
), (r, o) => {
|
|
85
|
-
const e = f("el-option"), t = f("el-select"), l = f("el-form-item"), u = f("el-form"), s = N("loading");
|
|
86
|
-
return R((m(), C("div", null, [
|
|
87
|
-
c(u, { "label-position": "top" }, {
|
|
88
|
-
default: d(() => [
|
|
89
|
-
c(l, { label: "图表类型" }, {
|
|
90
|
-
default: d(() => [
|
|
91
|
-
c(t, {
|
|
92
|
-
style: { width: "100%" },
|
|
93
|
-
modelValue: n.value,
|
|
94
|
-
"onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
|
|
95
|
-
onChange: x
|
|
96
|
-
}, {
|
|
97
|
-
default: d(() => [
|
|
98
|
-
(m(), C(V, null, k(E, (a, p) => c(e, {
|
|
99
|
-
key: p,
|
|
100
|
-
label: a.name,
|
|
101
|
-
value: a.value
|
|
102
|
-
}, null, 8, ["label", "value"])), 64))
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
}, 8, ["modelValue"])
|
|
106
|
-
]),
|
|
107
|
-
_: 1
|
|
108
|
-
}),
|
|
109
|
-
c(l, { label: "组件库" }, {
|
|
110
|
-
default: d(() => [
|
|
111
|
-
c(t, {
|
|
112
|
-
style: { width: "100%" },
|
|
113
|
-
modelValue: D(i).activeComponents.rp_item_uuid,
|
|
114
|
-
"onUpdate:modelValue": o[1] || (o[1] = (a) => D(i).activeComponents.rp_item_uuid = a),
|
|
115
|
-
onChange: L
|
|
116
|
-
}, {
|
|
117
|
-
default: d(() => [
|
|
118
|
-
(m(!0), C(V, null, k(h.value, (a, p) => (m(), g(e, {
|
|
119
|
-
key: p,
|
|
120
|
-
label: a.rp_item_name,
|
|
121
|
-
value: a.rp_item_uuid
|
|
122
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
123
|
-
]),
|
|
124
|
-
_: 1
|
|
125
|
-
}, 8, ["modelValue"])
|
|
126
|
-
]),
|
|
127
|
-
_: 1
|
|
128
|
-
}),
|
|
129
|
-
n.value === "report-table" && _.value.options.showColumn ? (m(), g(J, { key: 0 })) : w("", !0),
|
|
130
|
-
n.value === "pie" || n.value === "bar" || n.value === "line" ? (m(), g(K, { key: 1 })) : w("", !0)
|
|
131
|
-
]),
|
|
132
|
-
_: 1
|
|
133
|
-
})
|
|
134
|
-
])), [
|
|
135
|
-
[s, v.value]
|
|
136
|
-
]);
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
export {
|
|
141
|
-
ae as default
|
|
142
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./SettingCharts').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
3
|
-
P: {};
|
|
4
|
-
B: {};
|
|
5
|
-
D: {};
|
|
6
|
-
C: {};
|
|
7
|
-
M: {};
|
|
8
|
-
Defaults: {};
|
|
9
|
-
}, Readonly<import('./SettingCharts').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
-
__isFragment?: never;
|
|
11
|
-
__isTeleport?: never;
|
|
12
|
-
__isSuspense?: never;
|
|
13
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./SettingCharts').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
14
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type { Props } from './settingFilter';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./settingFilter').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4
|
-
P: {};
|
|
5
|
-
B: {};
|
|
6
|
-
D: {};
|
|
7
|
-
C: {};
|
|
8
|
-
M: {};
|
|
9
|
-
Defaults: {};
|
|
10
|
-
}, Readonly<import('./settingFilter').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
-
__isFragment?: never;
|
|
12
|
-
__isTeleport?: never;
|
|
13
|
-
__isSuspense?: never;
|
|
14
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./settingFilter').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
15
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type Props = {
|
|
2
|
-
prodType: number | string;
|
|
3
|
-
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
-
export default _default;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, ref as V, resolveComponent as l, createBlock as d, openBlock as a, withCtx as n, createVNode as i, unref as o, createElementBlock as k, Fragment as x, renderList as y } from "vue";
|
|
2
|
-
import { getReportFilterApi as w } from "../utils/api.js";
|
|
3
|
-
import { useReportStore as B } from "../stores/modules/report.js";
|
|
4
|
-
const T = /* @__PURE__ */ v({
|
|
5
|
-
name: "TdsSettingFilter",
|
|
6
|
-
__name: "settingFilter",
|
|
7
|
-
props: {
|
|
8
|
-
prodType: {}
|
|
9
|
-
},
|
|
10
|
-
setup(_) {
|
|
11
|
-
const f = _, u = V([]), t = B();
|
|
12
|
-
async function s() {
|
|
13
|
-
const m = await w({ prod_type: f.prodType });
|
|
14
|
-
u.value = m.data;
|
|
15
|
-
}
|
|
16
|
-
return s(), (m, r) => {
|
|
17
|
-
const c = l("el-option"), b = l("el-select"), p = l("el-form-item"), F = l("el-checkbox"), g = l("el-form");
|
|
18
|
-
return a(), d(g, {
|
|
19
|
-
"label-width": "80px",
|
|
20
|
-
"label-position": "top"
|
|
21
|
-
}, {
|
|
22
|
-
default: n(() => [
|
|
23
|
-
i(p, { label: "筛选条件" }, {
|
|
24
|
-
default: n(() => [
|
|
25
|
-
i(b, {
|
|
26
|
-
modelValue: o(t).filterForm.filter_uuid,
|
|
27
|
-
"onUpdate:modelValue": r[0] || (r[0] = (e) => o(t).filterForm.filter_uuid = e),
|
|
28
|
-
disabled: !!o(t).filterForm.filter_uuid
|
|
29
|
-
}, {
|
|
30
|
-
default: n(() => [
|
|
31
|
-
(a(!0), k(x, null, y(u.value, (e) => (a(), d(c, {
|
|
32
|
-
key: e.filter_uuid,
|
|
33
|
-
label: e.filter_name,
|
|
34
|
-
value: e.filter_uuid
|
|
35
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
36
|
-
]),
|
|
37
|
-
_: 1
|
|
38
|
-
}, 8, ["modelValue", "disabled"])
|
|
39
|
-
]),
|
|
40
|
-
_: 1
|
|
41
|
-
}),
|
|
42
|
-
i(p, null, {
|
|
43
|
-
default: n(() => [
|
|
44
|
-
i(F, {
|
|
45
|
-
modelValue: o(t).filterForm.range_time,
|
|
46
|
-
"onUpdate:modelValue": r[1] || (r[1] = (e) => o(t).filterForm.range_time = e),
|
|
47
|
-
"true-value": 1,
|
|
48
|
-
"false-value": 0,
|
|
49
|
-
label: "时间范围"
|
|
50
|
-
}, null, 8, ["modelValue"])
|
|
51
|
-
]),
|
|
52
|
-
_: 1
|
|
53
|
-
})
|
|
54
|
-
]),
|
|
55
|
-
_: 1
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
export {
|
|
61
|
-
T as default
|
|
62
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
-
export default _default;
|