super-page-runtime 1.0.15 → 1.0.16
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/.eslintrc.cjs +26 -0
- package/.prettierrc.json +8 -0
- package/App.vue +9 -0
- package/components/index.ts +17 -0
- package/components/runtime/index.ts +2 -0
- package/components/runtime/utils/assemblys-config.js +294 -0
- package/components/runtime/views/assemblys/button/button/button-runtime.vue +49 -0
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +26 -0
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +93 -0
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +59 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +32 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-base.vue +60 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +39 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +104 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +145 -0
- package/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +119 -0
- package/components/runtime/views/assemblys/chart/common/common-style-custom.vue +28 -0
- package/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +45 -0
- package/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +78 -0
- package/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +56 -0
- package/components/runtime/views/assemblys/chart/common/common-style-grid.vue +70 -0
- package/components/runtime/views/assemblys/chart/common/common-style-legend.vue +70 -0
- package/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +140 -0
- package/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +58 -0
- package/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +125 -0
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +67 -0
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +57 -0
- package/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +23 -0
- package/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +209 -0
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +46 -0
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +56 -0
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +55 -0
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +57 -0
- package/components/runtime/views/assemblys/common/common-attr-cursor.vue +23 -0
- package/components/runtime/views/assemblys/common/common-attr-size.vue +54 -0
- package/components/runtime/views/assemblys/common/common-select-table.vue +287 -0
- package/components/runtime/views/assemblys/common/common-style-background.vue +46 -0
- package/components/runtime/views/assemblys/common/common-style-border.vue +37 -0
- package/components/runtime/views/assemblys/common/common-style-custom.vue +35 -0
- package/components/runtime/views/assemblys/common/common-style-font-head.vue +53 -0
- package/components/runtime/views/assemblys/common/common-style-font.vue +53 -0
- package/components/runtime/views/assemblys/common/common-style-margin.vue +34 -0
- package/components/runtime/views/assemblys/common/common-style-padding.vue +34 -0
- package/components/runtime/views/assemblys/common/common-style-position.vue +39 -0
- package/components/runtime/views/assemblys/common/common-style-shadow.vue +37 -0
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +108 -0
- package/components/runtime/views/assemblys/common/remove-signer-dialog.vue +99 -0
- package/components/runtime/views/assemblys/common/task-informition-dialog.vue +69 -0
- package/components/runtime/views/assemblys/common-attr-events.vue +46 -0
- package/components/runtime/views/assemblys/container/card/card-runtime.vue +59 -0
- package/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +59 -0
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +41 -0
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +35 -0
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +37 -0
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +32 -0
- package/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +54 -0
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +99 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +117 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +25 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +103 -0
- package/components/runtime/views/assemblys/data/component/attr-header.vue +69 -0
- package/components/runtime/views/assemblys/data/component/attr-style.vue +64 -0
- package/components/runtime/views/assemblys/data/component/column-config.vue +171 -0
- package/components/runtime/views/assemblys/data/component/combinedHeader.vue +96 -0
- package/components/runtime/views/assemblys/data/component/composite-header.vue +257 -0
- package/components/runtime/views/assemblys/data/component/configuration-value.vue +206 -0
- package/components/runtime/views/assemblys/data/component/data-origin-tree.vue +117 -0
- package/components/runtime/views/assemblys/data/component/data-origin.vue +260 -0
- package/components/runtime/views/assemblys/data/component/formatting.vue +200 -0
- package/components/runtime/views/assemblys/data/component/in-parameter.vue +56 -0
- package/components/runtime/views/assemblys/data/component/querySetting.vue +52 -0
- package/components/runtime/views/assemblys/data/component/return-set-table.vue +91 -0
- package/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +58 -0
- package/components/runtime/views/assemblys/data/component/select-data-table.vue +86 -0
- package/components/runtime/views/assemblys/data/table/main-table-runtime.vue +858 -0
- package/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +625 -0
- package/components/runtime/views/assemblys/data/table/table-runtime.vue +93 -0
- package/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +137 -0
- package/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +55 -0
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +125 -0
- package/components/runtime/views/assemblys/error-attr.vue +15 -0
- package/components/runtime/views/assemblys/error-render.vue +17 -0
- package/components/runtime/views/assemblys/form/cascader/cascader-design.vue +288 -0
- package/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +198 -0
- package/components/runtime/views/assemblys/form/colors/colors-design.vue +16 -0
- package/components/runtime/views/assemblys/form/common/analytic-rule.vue +148 -0
- package/components/runtime/views/assemblys/form/common/attr-event.vue +82 -0
- package/components/runtime/views/assemblys/form/common/attr-header.vue +54 -0
- package/components/runtime/views/assemblys/form/common/attr-style.vue +44 -0
- package/components/runtime/views/assemblys/form/common/bar-code-rule.vue +104 -0
- package/components/runtime/views/assemblys/form/common/condition.vue +147 -0
- package/components/runtime/views/assemblys/form/common/data-origin.vue +81 -0
- package/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +64 -0
- package/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +106 -0
- package/components/runtime/views/assemblys/form/common/default-value-setting.vue +362 -0
- package/components/runtime/views/assemblys/form/common/dimension-input.vue +68 -0
- package/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +115 -0
- package/components/runtime/views/assemblys/form/common/formatting-label.vue +81 -0
- package/components/runtime/views/assemblys/form/common/grid-num-select.vue +43 -0
- package/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +144 -0
- package/components/runtime/views/assemblys/form/common/linkage.vue +21 -0
- package/components/runtime/views/assemblys/form/common/overall-height.vue +20 -0
- package/components/runtime/views/assemblys/form/common/overall-width.vue +48 -0
- package/components/runtime/views/assemblys/form/common/pre-suffix.vue +33 -0
- package/components/runtime/views/assemblys/form/common/rich-text.vue +100 -0
- package/components/runtime/views/assemblys/form/common/row-ul-li.vue +55 -0
- package/components/runtime/views/assemblys/form/common/setoption-table.vue +86 -0
- package/components/runtime/views/assemblys/form/common/size-input.vue +65 -0
- package/components/runtime/views/assemblys/form/common/suffixmodule.vue +82 -0
- package/components/runtime/views/assemblys/form/common/title.vue +20 -0
- package/components/runtime/views/assemblys/form/common/uploading.vue +34 -0
- package/components/runtime/views/assemblys/form/common/verification.vue +79 -0
- package/components/runtime/views/assemblys/form/common/voluntarily.vue +27 -0
- package/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +81 -0
- package/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +14 -0
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +57 -0
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +80 -0
- package/components/runtime/views/assemblys/form/datetime/datetime-design.vue +19 -0
- package/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +60 -0
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +44 -0
- package/components/runtime/views/assemblys/form/file-picture/picture-design.vue +80 -0
- package/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +79 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +142 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +14 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +104 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +75 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +13 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +14 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +76 -0
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +62 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +68 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +70 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +155 -0
- package/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +142 -0
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +143 -0
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +70 -0
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +24 -0
- package/components/runtime/views/assemblys/form/radio/radio-runtime.vue +203 -0
- package/components/runtime/views/assemblys/form/rate/rate-design.vue +16 -0
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +169 -0
- package/components/runtime/views/assemblys/form/select/select-runtime.vue +247 -0
- package/components/runtime/views/assemblys/form/slider/slider-design.vue +16 -0
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +63 -0
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +65 -0
- package/components/runtime/views/assemblys/form/text/text-design.vue +19 -0
- package/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +63 -0
- package/components/runtime/views/assemblys/form/transfer/transfer-design.vue +32 -0
- package/components/runtime/views/assemblys/object-render.vue +176 -0
- package/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +179 -0
- package/components/runtime/views/assemblys/page/page-attr-base.vue +259 -0
- package/components/runtime/views/assemblys/page/page-attr-events.vue +50 -0
- package/components/runtime/views/assemblys/page/page-attr-style.vue +25 -0
- package/components/runtime/views/assemblys/page/page-attr.vue +84 -0
- package/components/runtime/views/assemblys/page/variable-dialog.vue +242 -0
- package/components/runtime/views/assemblys/workflow/component/combination.vue +206 -0
- package/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +99 -0
- package/components/runtime/views/assemblys/workflow/component/event-dialog.vue +278 -0
- package/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +174 -0
- package/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +155 -0
- package/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +47 -0
- package/components/runtime/views/assemblys/workflow/component/set-dialog.vue +130 -0
- package/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +96 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +43 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +27 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +28 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +17 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +60 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +14 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +27 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +28 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +17 -0
- package/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +64 -0
- package/components/runtime/views/render/page-view.vue +80 -0
- package/components/runtime/views/super-page copy.vue +61 -0
- package/components/runtime/views/super-page.vue +667 -0
- package/components/super-page-dialog/index.ts +2 -0
- package/components/super-page-dialog/super-page-dialog.vue +267 -0
- package/components/wf-editor/index.ts +2 -0
- package/components/wf-editor/wf-editor.vue +15 -0
- package/cypress/e2e/example.cy.ts +8 -0
- package/cypress/e2e/tsconfig.json +10 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/support/commands.ts +39 -0
- package/cypress/support/e2e.ts +20 -0
- package/cypress.config.ts +8 -0
- package/env.d.ts +1 -0
- package/index.html +13 -0
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -4
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +4 -4
- package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -7
- package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +1 -1
- package/main.ts +11 -0
- package/package-ws.json +70 -0
- package/package.json +3 -7
- package/tsconfig copy.json +17 -0
- package/tsconfig.app copy.json +14 -0
- package/tsconfig.app.json +14 -0
- package/tsconfig.json +17 -0
- package/tsconfig.node copy.json +19 -0
- package/tsconfig.node.json +19 -0
- package/tsconfig.vitest copy.json +11 -0
- package/tsconfig.vitest.json +11 -0
- package/vite.config copy.ts +109 -0
- package/vite.config.ts +86 -0
- package/vitest.config.ts +14 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/es/components/index.js +0 -8
- package/dist/es/components/runtime/index.js +0 -4
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -43
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -142
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -43
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -641
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -60
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -175
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
- package/dist/es/components/runtime/views/super-page.vue.js +0 -480
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
- package/dist/es/components/super-page-dialog/index.js +0 -4
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -74
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
- package/dist/es/components/wf-editor/index.js +0 -4
- package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
- package/dist/es/src/assets/chart-themes/theme1.js +0 -8
- package/dist/es/src/assets/chart-themes/theme2.js +0 -8
- package/dist/es/src/assets/chart-themes/theme3.js +0 -8
- package/dist/es/src/utils/api/api-util.js +0 -128
- package/dist/es/src/utils/charts/chart-util.js +0 -15
- package/dist/es/src/utils/common-util.js +0 -81
- package/dist/es/src/utils/events/event-util.js +0 -525
- package/dist/es/src/utils/events/standard-event.js +0 -1623
- package/dist/es/src/utils/events/validator-util.js +0 -389
- package/dist/es/src/utils/global-refs.js +0 -65
- package/dist/es/src/utils/interfaces/page-design-types.js +0 -9
- package/dist/es/src/utils/page-helper-util.js +0 -503
- package/dist/es/src/utils/page-init-util.js +0 -200
- package/dist/es/src/utils/store-util.js +0 -17
- package/dist/es/src/utils/store.js +0 -4
- package/dist/es/src/utils/table-utils.js +0 -23
- package/dist/lib/components/index.d.ts +0 -5
- package/dist/lib/components/runtime/index.d.ts +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/wf-editor/index.d.ts +0 -3
- package/dist/lib/components/wf-editor/wf-editor.css +0 -4
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/src/utils/api/api-util.d.ts +0 -11
- package/dist/lib/src/utils/common-util.d.ts +0 -11
- package/dist/lib/src/utils/events/event-util.d.ts +0 -48
- package/dist/lib/src/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/src/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/src/utils/global-refs.d.ts +0 -59
- package/dist/lib/src/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/lib/src/utils/page-helper-util.d.ts +0 -87
- package/dist/lib/src/utils/page-init-util.d.ts +0 -38
- package/dist/lib/src/utils/store-util.d.ts +0 -15
- package/dist/lib/src/utils/store.d.ts +0 -2
- package/lib/components/index.js +0 -8
- /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
- /package/{dist/es → lib}/components/index.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/super-page.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
- /package/{dist/es → lib}/favicon.ico +0 -0
- /package/{dist/lib/components → lib}/index.js +0 -0
- /package/{dist/lib/components → lib}/runtime/index.js +0 -0
- /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
- /package/{dist/lib → lib}/src/assets/chart-themes/theme1.js +0 -0
- /package/{dist/lib → lib}/src/assets/chart-themes/theme2.js +0 -0
- /package/{dist/lib → lib}/src/assets/chart-themes/theme3.js +0 -0
- /package/{dist/es → lib}/src/utils/api/api-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/api/api-util.js +0 -0
- /package/{dist/lib → lib}/src/utils/charts/chart-util.js +0 -0
- /package/{dist/es → lib}/src/utils/common-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/common-util.js +0 -0
- /package/{dist/es → lib}/src/utils/events/event-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/events/event-util.js +0 -0
- /package/{dist/es → lib}/src/utils/events/standard-event.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/events/standard-event.js +0 -0
- /package/{dist/es → lib}/src/utils/events/validator-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/events/validator-util.js +0 -0
- /package/{dist/es → lib}/src/utils/global-refs.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/global-refs.js +0 -0
- /package/{dist/es → lib}/src/utils/interfaces/page-design-types.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/interfaces/page-design-types.js +0 -0
- /package/{dist/es → lib}/src/utils/page-helper-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/page-helper-util.js +0 -0
- /package/{dist/es → lib}/src/utils/page-init-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/page-init-util.js +0 -0
- /package/{dist/es → lib}/src/utils/store-util.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/store-util.js +0 -0
- /package/{dist/es → lib}/src/utils/store.d.ts +0 -0
- /package/{dist/lib → lib}/src/utils/store.js +0 -0
- /package/{dist/lib → lib}/src/utils/table-utils.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
- /package/{dist/es/components → lib}/wf-editor/wf-editor.css +0 -0
- /package/{dist → public}/favicon.ico +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
|
|
2
|
-
import { getCustomTheme } from "../../../../../../src/utils/charts/chart-util.js";
|
|
3
|
-
import { use } from "echarts/core";
|
|
4
|
-
import { CanvasRenderer } from "echarts/renderers";
|
|
5
|
-
import { RadarChart } from "echarts/charts";
|
|
6
|
-
import { GridComponent, TitleComponent, TooltipComponent, ToolboxComponent, LegendComponent } from "echarts/components";
|
|
7
|
-
import VChart from "vue-echarts";
|
|
8
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "radar-runtime",
|
|
10
|
-
props: {
|
|
11
|
-
pageContext: {},
|
|
12
|
-
configure: {}
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
use([
|
|
16
|
-
CanvasRenderer,
|
|
17
|
-
RadarChart,
|
|
18
|
-
GridComponent,
|
|
19
|
-
TitleComponent,
|
|
20
|
-
TooltipComponent,
|
|
21
|
-
ToolboxComponent,
|
|
22
|
-
LegendComponent
|
|
23
|
-
]);
|
|
24
|
-
const props = __props;
|
|
25
|
-
const thisRef = ref(null);
|
|
26
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
27
|
-
const runtimeStyle = runtimeInfo.style;
|
|
28
|
-
const runtimeClass = runtimeInfo.class;
|
|
29
|
-
const chartOption = runtimeInfo.chartOption;
|
|
30
|
-
const configureProps = props.configure.props ? props.configure.props : {};
|
|
31
|
-
const customTheme = getCustomTheme(configureProps.customTheme);
|
|
32
|
-
return (_ctx, _cache) => {
|
|
33
|
-
return openBlock(), createElementBlock("div", {
|
|
34
|
-
style: normalizeStyle(unref(runtimeStyle)),
|
|
35
|
-
class: normalizeClass([unref(runtimeClass), "amb-widget-chart"]),
|
|
36
|
-
ref_key: "thisRef",
|
|
37
|
-
ref: thisRef
|
|
38
|
-
}, [
|
|
39
|
-
createVNode(unref(VChart), {
|
|
40
|
-
ref: "chartRef",
|
|
41
|
-
theme: unref(customTheme),
|
|
42
|
-
option: unref(chartOption),
|
|
43
|
-
autoresize: ""
|
|
44
|
-
}, null, 8, ["theme", "option"])
|
|
45
|
-
], 6);
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
export {
|
|
50
|
-
_sfc_main as default
|
|
51
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
|
|
2
|
-
import { getCustomTheme } from "../../../../../../src/utils/charts/chart-util.js";
|
|
3
|
-
import { use } from "echarts/core";
|
|
4
|
-
import { CanvasRenderer } from "echarts/renderers";
|
|
5
|
-
import { ScatterChart } from "echarts/charts";
|
|
6
|
-
import { GridComponent, LegendComponent, TitleComponent, TooltipComponent, ToolboxComponent, DataZoomComponent } from "echarts/components";
|
|
7
|
-
import VChart from "vue-echarts";
|
|
8
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "scatter-runtime",
|
|
10
|
-
props: {
|
|
11
|
-
pageContext: {},
|
|
12
|
-
configure: {}
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
use([
|
|
16
|
-
CanvasRenderer,
|
|
17
|
-
ScatterChart,
|
|
18
|
-
GridComponent,
|
|
19
|
-
LegendComponent,
|
|
20
|
-
TitleComponent,
|
|
21
|
-
TooltipComponent,
|
|
22
|
-
ToolboxComponent,
|
|
23
|
-
DataZoomComponent
|
|
24
|
-
]);
|
|
25
|
-
const props = __props;
|
|
26
|
-
const thisRef = ref(null);
|
|
27
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
28
|
-
const runtimeStyle = runtimeInfo.style;
|
|
29
|
-
const runtimeClass = runtimeInfo.class;
|
|
30
|
-
const chartOption = runtimeInfo.chartOption;
|
|
31
|
-
const configureProps = props.configure.props ? props.configure.props : {};
|
|
32
|
-
const customTheme = getCustomTheme(configureProps.customTheme);
|
|
33
|
-
return (_ctx, _cache) => {
|
|
34
|
-
return openBlock(), createElementBlock("div", {
|
|
35
|
-
style: normalizeStyle(unref(runtimeStyle)),
|
|
36
|
-
class: normalizeClass([unref(runtimeClass), "amb-widget-chart"]),
|
|
37
|
-
ref_key: "thisRef",
|
|
38
|
-
ref: thisRef
|
|
39
|
-
}, [
|
|
40
|
-
createVNode(unref(VChart), {
|
|
41
|
-
ref: "chartRef",
|
|
42
|
-
theme: unref(customTheme),
|
|
43
|
-
option: unref(chartOption),
|
|
44
|
-
autoresize: ""
|
|
45
|
-
}, null, 8, ["theme", "option"])
|
|
46
|
-
], 6);
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
export {
|
|
51
|
-
_sfc_main as default
|
|
52
|
-
};
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { packageTemplateFiles } from "../../../../../src/utils/common-util.js";
|
|
3
|
-
const prefix = "${";
|
|
4
|
-
const suffix = "}";
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "export-form-report-dialog",
|
|
7
|
-
props: {
|
|
8
|
-
configure: {
|
|
9
|
-
type: Object,
|
|
10
|
-
required: true
|
|
11
|
-
},
|
|
12
|
-
pageContext: {
|
|
13
|
-
type: Object
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
emits: ["export", "close"],
|
|
17
|
-
setup(__props, { emit: __emit }) {
|
|
18
|
-
const props = __props;
|
|
19
|
-
const emits = __emit;
|
|
20
|
-
const templateFiles = ref([]);
|
|
21
|
-
const fields = ref([]);
|
|
22
|
-
const configureBase = props.configure.props.base;
|
|
23
|
-
const dataModel = props.pageContext.entity.data;
|
|
24
|
-
onMounted(() => {
|
|
25
|
-
if (configureBase.templateFiles && configureBase.templateFiles.length > 0) {
|
|
26
|
-
templateFiles.value = packageTemplateFiles(configureBase.templateFiles);
|
|
27
|
-
} else if (configureBase.templateUUID && configureBase.templateShowPath) {
|
|
28
|
-
templateFiles.value.push({
|
|
29
|
-
templateUUID: configureBase.templateUUID,
|
|
30
|
-
templateShowPath: configureBase.templateShowPath
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
templateFiles.value.forEach((item) => {
|
|
34
|
-
if (item && item.templateShowPath) {
|
|
35
|
-
item.templateShowPath = formatTemplateShowPath(item.templateShowPath);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
function getFileds(templateShowPath) {
|
|
40
|
-
console.log("templateShowPath", templateShowPath);
|
|
41
|
-
let field;
|
|
42
|
-
let formatStr;
|
|
43
|
-
let newValue = templateShowPath;
|
|
44
|
-
const prefixIndex = newValue.indexOf(prefix);
|
|
45
|
-
const suffixIndex = newValue.indexOf(suffix);
|
|
46
|
-
console.log("prefixIndex", prefixIndex);
|
|
47
|
-
console.log("suffixIndex", suffixIndex);
|
|
48
|
-
if (prefixIndex !== -1 && suffixIndex !== -1) {
|
|
49
|
-
if (prefixIndex > suffixIndex) {
|
|
50
|
-
newValue = newValue.substring(0, suffixIndex) + newValue.substring(suffixIndex + suffix.length);
|
|
51
|
-
console.log("non replacement value === newValue", newValue);
|
|
52
|
-
} else {
|
|
53
|
-
field = newValue.substring(prefixIndex + prefix.length, suffixIndex);
|
|
54
|
-
formatStr = newValue.substring(prefixIndex, suffixIndex + suffix.length);
|
|
55
|
-
console.log("field", field);
|
|
56
|
-
console.log("formatStr", formatStr);
|
|
57
|
-
fields.value.push(field);
|
|
58
|
-
console.log("fields", fields.value);
|
|
59
|
-
newValue = newValue.replace(formatStr, "");
|
|
60
|
-
console.log("newValue", newValue);
|
|
61
|
-
}
|
|
62
|
-
return getFileds(newValue);
|
|
63
|
-
}
|
|
64
|
-
return fields.value;
|
|
65
|
-
}
|
|
66
|
-
function formatTemplateShowPath(templateShowPath) {
|
|
67
|
-
const fields2 = getFileds(templateShowPath);
|
|
68
|
-
console.log("fields", fields2);
|
|
69
|
-
fields2.forEach((field) => {
|
|
70
|
-
const formatStr = prefix + field + suffix;
|
|
71
|
-
let formatValue;
|
|
72
|
-
if (templateShowPath.indexOf(formatStr) !== -1 && dataModel.hasOwnProperty(field)) {
|
|
73
|
-
formatValue = dataModel[field] ? dataModel[field] : "";
|
|
74
|
-
templateShowPath = templateShowPath.replace(formatStr, formatValue);
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
return templateShowPath;
|
|
78
|
-
}
|
|
79
|
-
function exportForm(row) {
|
|
80
|
-
emits("export", row);
|
|
81
|
-
}
|
|
82
|
-
function closeExportForm() {
|
|
83
|
-
emits("close");
|
|
84
|
-
}
|
|
85
|
-
return (_ctx, _cache) => {
|
|
86
|
-
const _component_el_table_column = resolveComponent("el-table-column");
|
|
87
|
-
const _component_el_button = resolveComponent("el-button");
|
|
88
|
-
const _component_el_table = resolveComponent("el-table");
|
|
89
|
-
const _component_el_dialog = resolveComponent("el-dialog");
|
|
90
|
-
return openBlock(), createBlock(_component_el_dialog, {
|
|
91
|
-
"show-close": true,
|
|
92
|
-
"append-to-body": true,
|
|
93
|
-
title: _ctx.$t("superPageRuntimeMessage.selectTemplate"),
|
|
94
|
-
"model-value": "",
|
|
95
|
-
onClose: closeExportForm
|
|
96
|
-
}, {
|
|
97
|
-
default: withCtx(() => [
|
|
98
|
-
createVNode(_component_el_table, {
|
|
99
|
-
data: templateFiles.value,
|
|
100
|
-
style: { "width": "100%" }
|
|
101
|
-
}, {
|
|
102
|
-
default: withCtx(() => [
|
|
103
|
-
createVNode(_component_el_table_column, {
|
|
104
|
-
label: _ctx.$t("superPageRuntimeMessage.temlpate"),
|
|
105
|
-
prop: "templateShowPath"
|
|
106
|
-
}, {
|
|
107
|
-
default: withCtx((scope) => [
|
|
108
|
-
createTextVNode(toDisplayString(scope.row.templateShowPath), 1)
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
}, 8, ["label"]),
|
|
112
|
-
createVNode(_component_el_table_column, {
|
|
113
|
-
label: _ctx.$t("superPageRuntimeMessage.operating"),
|
|
114
|
-
width: "200",
|
|
115
|
-
fixed: "right"
|
|
116
|
-
}, {
|
|
117
|
-
default: withCtx((scope) => [
|
|
118
|
-
createVNode(_component_el_button, {
|
|
119
|
-
type: "text",
|
|
120
|
-
size: "small",
|
|
121
|
-
onClick: ($event) => exportForm(scope.row)
|
|
122
|
-
}, {
|
|
123
|
-
default: withCtx(() => [
|
|
124
|
-
createTextVNode(toDisplayString(_ctx.$t("superPageRuntimeMessage.export")), 1)
|
|
125
|
-
]),
|
|
126
|
-
_: 2
|
|
127
|
-
}, 1032, ["onClick"])
|
|
128
|
-
]),
|
|
129
|
-
_: 1
|
|
130
|
-
}, 8, ["label"])
|
|
131
|
-
]),
|
|
132
|
-
_: 1
|
|
133
|
-
}, 8, ["data"])
|
|
134
|
-
]),
|
|
135
|
-
_: 1
|
|
136
|
-
}, 8, ["title"]);
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
export {
|
|
141
|
-
_sfc_main as default
|
|
142
|
-
};
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { ElMessage } from "element-plus";
|
|
3
|
-
import { useI18n } from "vue-i18n";
|
|
4
|
-
const _hoisted_1 = { class: "dialog-footer" };
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "remove-signer-dialog",
|
|
7
|
-
props: {
|
|
8
|
-
taskId: {
|
|
9
|
-
type: Number,
|
|
10
|
-
default: null
|
|
11
|
-
},
|
|
12
|
-
// 当前环节所有待办任务集合
|
|
13
|
-
activeTasks: {
|
|
14
|
-
type: Array,
|
|
15
|
-
default: null
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
emits: ["open", "opend", "close", "closed", "result"],
|
|
19
|
-
setup(__props, { emit: __emit }) {
|
|
20
|
-
useI18n();
|
|
21
|
-
const props = __props;
|
|
22
|
-
const emits = __emit;
|
|
23
|
-
const selections = ref([]);
|
|
24
|
-
const canRemoveTasks = ref([]);
|
|
25
|
-
onMounted(() => {
|
|
26
|
-
canRemoveTasks.value = getCanRemoveTasks();
|
|
27
|
-
});
|
|
28
|
-
function select(selection) {
|
|
29
|
-
selections.value = selection;
|
|
30
|
-
}
|
|
31
|
-
function selectRemoveUsers() {
|
|
32
|
-
if (selections.value.length === 0) {
|
|
33
|
-
ElMessage({
|
|
34
|
-
showClose: true,
|
|
35
|
-
type: "warning",
|
|
36
|
-
message: this.$t("superPageRuntimeMessage.pleaseSelectRemoverUsers")
|
|
37
|
-
});
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
emits("result", selections.value);
|
|
41
|
-
}
|
|
42
|
-
function getCanRemoveTasks() {
|
|
43
|
-
if (props.activeTasks && props.taskId) {
|
|
44
|
-
return props.activeTasks.filter(
|
|
45
|
-
(task) => props.taskId !== task["id"] ? task["id"] : task["ID"] ? task["ID"] : null
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
return [];
|
|
49
|
-
}
|
|
50
|
-
return (_ctx, _cache) => {
|
|
51
|
-
const _component_el_table_column = resolveComponent("el-table-column");
|
|
52
|
-
const _component_el_table = resolveComponent("el-table");
|
|
53
|
-
const _component_el_button = resolveComponent("el-button");
|
|
54
|
-
const _component_el_dialog = resolveComponent("el-dialog");
|
|
55
|
-
return openBlock(), createElementBlock("div", null, [
|
|
56
|
-
createVNode(_component_el_dialog, {
|
|
57
|
-
"model-value": "",
|
|
58
|
-
title: _ctx.$t("superPageRuntimeMessage.selectRemoveUsers"),
|
|
59
|
-
"close-on-click-modal": false,
|
|
60
|
-
"append-to-body": "",
|
|
61
|
-
width: "30%",
|
|
62
|
-
"max-height": "400",
|
|
63
|
-
onOpen: _cache[1] || (_cache[1] = ($event) => emits("open")),
|
|
64
|
-
onOpend: _cache[2] || (_cache[2] = ($event) => emits("opend")),
|
|
65
|
-
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
66
|
-
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
67
|
-
}, {
|
|
68
|
-
footer: withCtx(() => [
|
|
69
|
-
createElementVNode("div", _hoisted_1, [
|
|
70
|
-
createVNode(_component_el_button, {
|
|
71
|
-
type: "primary",
|
|
72
|
-
onClick: selectRemoveUsers
|
|
73
|
-
}, {
|
|
74
|
-
default: withCtx(() => [
|
|
75
|
-
createTextVNode(toDisplayString(_ctx.$t("superPageRuntimeMessage.sure")), 1)
|
|
76
|
-
]),
|
|
77
|
-
_: 1
|
|
78
|
-
}),
|
|
79
|
-
createVNode(_component_el_button, {
|
|
80
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
81
|
-
}, {
|
|
82
|
-
default: withCtx(() => [
|
|
83
|
-
createTextVNode(toDisplayString(_ctx.$t("superPageRuntimeMessage.cancel")), 1)
|
|
84
|
-
]),
|
|
85
|
-
_: 1
|
|
86
|
-
})
|
|
87
|
-
])
|
|
88
|
-
]),
|
|
89
|
-
default: withCtx(() => [
|
|
90
|
-
createVNode(_component_el_table, {
|
|
91
|
-
data: canRemoveTasks.value,
|
|
92
|
-
border: "",
|
|
93
|
-
style: { "width": "100%" },
|
|
94
|
-
onSelect: select
|
|
95
|
-
}, {
|
|
96
|
-
default: withCtx(() => [
|
|
97
|
-
createVNode(_component_el_table_column, {
|
|
98
|
-
type: "selection",
|
|
99
|
-
width: "55"
|
|
100
|
-
}),
|
|
101
|
-
createVNode(_component_el_table_column, {
|
|
102
|
-
prop: "transactorName",
|
|
103
|
-
label: _ctx.$t("superPageRuntimeMessage.transactorName"),
|
|
104
|
-
width: "180"
|
|
105
|
-
}, null, 8, ["label"]),
|
|
106
|
-
createVNode(_component_el_table_column, {
|
|
107
|
-
prop: "transactor",
|
|
108
|
-
label: _ctx.$t("superPageRuntimeMessage.transactor"),
|
|
109
|
-
width: "180"
|
|
110
|
-
}, null, 8, ["label"]),
|
|
111
|
-
createVNode(_component_el_table_column, {
|
|
112
|
-
prop: "trustorName",
|
|
113
|
-
label: _ctx.$t("superPageRuntimeMessage.trustorName"),
|
|
114
|
-
width: "180"
|
|
115
|
-
}, null, 8, ["label"])
|
|
116
|
-
]),
|
|
117
|
-
_: 1
|
|
118
|
-
}, 8, ["data"])
|
|
119
|
-
]),
|
|
120
|
-
_: 1
|
|
121
|
-
}, 8, ["title"])
|
|
122
|
-
]);
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
export {
|
|
127
|
-
_sfc_main as default
|
|
128
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { ElMessage } from "element-plus";
|
|
3
|
-
import { useI18n } from "vue-i18n";
|
|
4
|
-
const _hoisted_1 = { class: "dialog-footer" };
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "task-informition-dialog",
|
|
7
|
-
props: {
|
|
8
|
-
taskInformitions: {
|
|
9
|
-
type: Array,
|
|
10
|
-
default: null
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
emits: ["open", "opend", "close", "closed", "result"],
|
|
14
|
-
setup(__props, { emit: __emit }) {
|
|
15
|
-
const { t } = useI18n();
|
|
16
|
-
const emits = __emit;
|
|
17
|
-
const selections = ref([]);
|
|
18
|
-
function selectNode() {
|
|
19
|
-
if (selections.value.length === 0 || selections.value.length > 1) {
|
|
20
|
-
ElMessage({
|
|
21
|
-
showClose: true,
|
|
22
|
-
type: "warning",
|
|
23
|
-
message: t("superPageRuntimeMessage.pleaseSelectNode")
|
|
24
|
-
});
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
emits("result", this.selections[0]);
|
|
28
|
-
}
|
|
29
|
-
function select(selection) {
|
|
30
|
-
selections.value = selection;
|
|
31
|
-
}
|
|
32
|
-
return (_ctx, _cache) => {
|
|
33
|
-
const _component_el_table_column = resolveComponent("el-table-column");
|
|
34
|
-
const _component_el_table = resolveComponent("el-table");
|
|
35
|
-
const _component_el_button = resolveComponent("el-button");
|
|
36
|
-
const _component_el_dialog = resolveComponent("el-dialog");
|
|
37
|
-
return openBlock(), createElementBlock("div", null, [
|
|
38
|
-
createVNode(_component_el_dialog, {
|
|
39
|
-
"model-value": "",
|
|
40
|
-
title: _ctx.$t("superPageRuntimeMessage.selectNode"),
|
|
41
|
-
"close-on-click-modal": false,
|
|
42
|
-
"append-to-body": "",
|
|
43
|
-
width: "30%",
|
|
44
|
-
"max-height": "400",
|
|
45
|
-
onOpen: _cache[1] || (_cache[1] = ($event) => emits("open")),
|
|
46
|
-
onOpend: _cache[2] || (_cache[2] = ($event) => emits("opend")),
|
|
47
|
-
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
48
|
-
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
49
|
-
}, {
|
|
50
|
-
footer: withCtx(() => [
|
|
51
|
-
createElementVNode("div", _hoisted_1, [
|
|
52
|
-
createVNode(_component_el_button, {
|
|
53
|
-
type: "primary",
|
|
54
|
-
onClick: selectNode
|
|
55
|
-
}, {
|
|
56
|
-
default: withCtx(() => [
|
|
57
|
-
createTextVNode(toDisplayString(_ctx.$t("superPageRuntimeMessage.sure")), 1)
|
|
58
|
-
]),
|
|
59
|
-
_: 1
|
|
60
|
-
}),
|
|
61
|
-
createVNode(_component_el_button, {
|
|
62
|
-
onClick: _cache[0] || (_cache[0] = ($event) => emits("close"))
|
|
63
|
-
}, {
|
|
64
|
-
default: withCtx(() => [
|
|
65
|
-
createTextVNode(toDisplayString(_ctx.$t("superPageRuntimeMessage.cancel")), 1)
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
})
|
|
69
|
-
])
|
|
70
|
-
]),
|
|
71
|
-
default: withCtx(() => [
|
|
72
|
-
createVNode(_component_el_table, {
|
|
73
|
-
data: __props.taskInformitions,
|
|
74
|
-
border: "",
|
|
75
|
-
style: { "width": "100%" },
|
|
76
|
-
onSelect: select
|
|
77
|
-
}, {
|
|
78
|
-
default: withCtx(() => [
|
|
79
|
-
createVNode(_component_el_table_column, {
|
|
80
|
-
type: "selection",
|
|
81
|
-
width: "55"
|
|
82
|
-
}),
|
|
83
|
-
createVNode(_component_el_table_column, {
|
|
84
|
-
prop: "nodeName",
|
|
85
|
-
label: _ctx.$t("superPageRuntimeMessage.nodeName"),
|
|
86
|
-
width: "180"
|
|
87
|
-
}, null, 8, ["label"]),
|
|
88
|
-
createVNode(_component_el_table_column, {
|
|
89
|
-
prop: "nodeId",
|
|
90
|
-
label: _ctx.$t("superPageRuntimeMessage.nodeId"),
|
|
91
|
-
width: "180"
|
|
92
|
-
}, null, 8, ["label"])
|
|
93
|
-
]),
|
|
94
|
-
_: 1
|
|
95
|
-
}, 8, ["data"])
|
|
96
|
-
]),
|
|
97
|
-
_: 1
|
|
98
|
-
}, 8, ["title"])
|
|
99
|
-
]);
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
export {
|
|
104
|
-
_sfc_main as default
|
|
105
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createBlock, unref, normalizeStyle, normalizeClass, createSlots, withCtx, createElementVNode, createElementBlock, Fragment, renderList, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { ElCard } from "element-plus";
|
|
3
|
-
import { SuperIcon } from "agilebuilder-ui";
|
|
4
|
-
import _sfc_main$1 from "../../object-render.vue.js";
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "card-runtime",
|
|
7
|
-
props: {
|
|
8
|
-
pageContext: {},
|
|
9
|
-
configure: {}
|
|
10
|
-
},
|
|
11
|
-
setup(__props, { expose: __expose }) {
|
|
12
|
-
const props = __props;
|
|
13
|
-
if (!props.configure.items) {
|
|
14
|
-
props.configure.items = [];
|
|
15
|
-
}
|
|
16
|
-
const thisRef = ref(null);
|
|
17
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
18
|
-
const runtimeStyle = runtimeInfo.style;
|
|
19
|
-
const runtimeClass = runtimeInfo.class;
|
|
20
|
-
const headerStyle = runtimeInfo.headerStyle;
|
|
21
|
-
const contentClass = runtimeInfo.contentClass;
|
|
22
|
-
function test() {
|
|
23
|
-
props.configure.props.title = "teee";
|
|
24
|
-
}
|
|
25
|
-
__expose({
|
|
26
|
-
test
|
|
27
|
-
});
|
|
28
|
-
return (_ctx, _cache) => {
|
|
29
|
-
return openBlock(), createBlock(unref(ElCard), {
|
|
30
|
-
ref_key: "thisRef",
|
|
31
|
-
ref: thisRef,
|
|
32
|
-
style: normalizeStyle(unref(runtimeStyle)),
|
|
33
|
-
class: normalizeClass(unref(runtimeClass))
|
|
34
|
-
}, createSlots({
|
|
35
|
-
default: withCtx(() => [
|
|
36
|
-
createElementVNode("div", {
|
|
37
|
-
class: normalizeClass(unref(contentClass))
|
|
38
|
-
}, [
|
|
39
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
40
|
-
return openBlock(), createBlock(_sfc_main$1, {
|
|
41
|
-
key: element.uuid,
|
|
42
|
-
pageContext: _ctx.pageContext,
|
|
43
|
-
configure: element
|
|
44
|
-
}, null, 8, ["pageContext", "configure"]);
|
|
45
|
-
}), 128))
|
|
46
|
-
], 2)
|
|
47
|
-
]),
|
|
48
|
-
_: 2
|
|
49
|
-
}, [
|
|
50
|
-
_ctx.configure.props.base.tittleShow ? {
|
|
51
|
-
name: "header",
|
|
52
|
-
fn: withCtx(() => [
|
|
53
|
-
createElementVNode("div", {
|
|
54
|
-
style: normalizeStyle(unref(headerStyle))
|
|
55
|
-
}, [
|
|
56
|
-
_ctx.configure.props.iconType && _ctx.configure.props.iconValue ? (openBlock(), createBlock(unref(SuperIcon), {
|
|
57
|
-
key: 0,
|
|
58
|
-
iconType: _ctx.configure.props.iconType,
|
|
59
|
-
iconValue: _ctx.configure.props.iconValue,
|
|
60
|
-
style: { "margin-right": "2px" }
|
|
61
|
-
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
62
|
-
createTextVNode(" " + toDisplayString(_ctx.configure.props.base.title), 1)
|
|
63
|
-
], 4)
|
|
64
|
-
]),
|
|
65
|
-
key: "0"
|
|
66
|
-
} : void 0
|
|
67
|
-
]), 1032, ["style", "class"]);
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
export {
|
|
72
|
-
_sfc_main as default
|
|
73
|
-
};
|
package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, unref, isRef, normalizeStyle, normalizeClass, withCtx, createElementBlock, Fragment, renderList, createElementVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import _sfc_main$1 from "../../object-render.vue.js";
|
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "collapse-runtime",
|
|
5
|
-
props: {
|
|
6
|
-
pageContext: {},
|
|
7
|
-
configure: {}
|
|
8
|
-
},
|
|
9
|
-
setup(__props) {
|
|
10
|
-
const props = __props;
|
|
11
|
-
if (!props.configure.props) {
|
|
12
|
-
props.configure.props = {};
|
|
13
|
-
}
|
|
14
|
-
const activeName = props.configure.props.defaultOpens ? props.configure.props.defaultOpens : [1];
|
|
15
|
-
const accordion = props.configure.props.accordion ? true : false;
|
|
16
|
-
const thisRef = ref(null);
|
|
17
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
18
|
-
const runtimeStyle = runtimeInfo.style;
|
|
19
|
-
const runtimeClass = runtimeInfo.class;
|
|
20
|
-
const headerStyle = runtimeInfo.headerStyle;
|
|
21
|
-
return (_ctx, _cache) => {
|
|
22
|
-
const _component_SuperIcon = resolveComponent("SuperIcon");
|
|
23
|
-
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|
|
24
|
-
const _component_el_collapse = resolveComponent("el-collapse");
|
|
25
|
-
return openBlock(), createBlock(_component_el_collapse, {
|
|
26
|
-
ref_key: "thisRef",
|
|
27
|
-
ref: thisRef,
|
|
28
|
-
modelValue: unref(activeName),
|
|
29
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(activeName) ? activeName.value = $event : null),
|
|
30
|
-
style: normalizeStyle(unref(runtimeStyle)),
|
|
31
|
-
accordion: unref(accordion),
|
|
32
|
-
class: normalizeClass(unref(runtimeClass))
|
|
33
|
-
}, {
|
|
34
|
-
default: withCtx(() => [
|
|
35
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (item, index) => {
|
|
36
|
-
return openBlock(), createBlock(_component_el_collapse_item, {
|
|
37
|
-
name: item.index
|
|
38
|
-
}, {
|
|
39
|
-
title: withCtx(() => [
|
|
40
|
-
createElementVNode("div", {
|
|
41
|
-
style: normalizeStyle([unref(headerStyle), { "width": "100%" }])
|
|
42
|
-
}, [
|
|
43
|
-
item.iconType && item.iconValue ? (openBlock(), createBlock(_component_SuperIcon, {
|
|
44
|
-
key: 0,
|
|
45
|
-
iconType: item.iconType,
|
|
46
|
-
iconValue: item.iconValue,
|
|
47
|
-
style: { "margin-right": "2px" }
|
|
48
|
-
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
49
|
-
createTextVNode(" " + toDisplayString(item.label), 1)
|
|
50
|
-
], 4)
|
|
51
|
-
]),
|
|
52
|
-
default: withCtx(() => [
|
|
53
|
-
createElementVNode("div", null, [
|
|
54
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (element, itemIndex) => {
|
|
55
|
-
return openBlock(), createBlock(_sfc_main$1, {
|
|
56
|
-
key: element.uuid,
|
|
57
|
-
configure: element,
|
|
58
|
-
pageContext: _ctx.pageContext
|
|
59
|
-
}, null, 8, ["configure", "pageContext"]);
|
|
60
|
-
}), 128))
|
|
61
|
-
])
|
|
62
|
-
]),
|
|
63
|
-
_: 2
|
|
64
|
-
}, 1032, ["name"]);
|
|
65
|
-
}), 256))
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}, 8, ["modelValue", "style", "accordion", "class"]);
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
export {
|
|
73
|
-
_sfc_main as default
|
|
74
|
-
};
|