super-page-runtime 3.0.6 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/{super-page → runtime}/utils/api/api-util.js +3 -3
- package/dist/es/components/{super-page → runtime}/utils/assemblys-config.js +1 -1
- package/dist/es/components/{super-page → runtime}/utils/common-util.js +2 -2
- package/dist/es/components/{super-page → runtime}/utils/eventBus.js +1 -1
- package/dist/es/components/{super-page → runtime}/utils/events/event-util.js +3 -3
- package/dist/es/components/{super-page → runtime}/utils/events/standard-event.js +6 -7
- package/dist/es/components/{super-page → runtime}/utils/events/validator-util.js +4 -4
- package/dist/es/components/{super-page → runtime}/utils/global-refs.js +1 -1
- package/dist/es/components/{super-page → runtime}/utils/page-helper-util.js +3 -3
- package/dist/es/components/{super-page → runtime}/utils/page-init-util.js +2 -2
- package/dist/es/components/{super-page → runtime}/utils/table-utils.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/button/button/button-runtime.vue2.js +3 -3
- package/dist/es/components/{super-page → runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +54 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +50 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +51 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +51 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +52 -0
- package/dist/es/components/{super-page → runtime}/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/common/remove-signer-dialog.vue.js +3 -3
- package/dist/es/components/{super-page → runtime}/views/assemblys/common/task-informition-dialog.vue.js +3 -3
- package/dist/es/components/{super-page → runtime}/views/assemblys/container/card/card-runtime.vue2.js +4 -4
- package/dist/es/components/{super-page → runtime}/views/assemblys/container/collapse/collapse-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/container/container/container-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/container/flex/flex-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/container/form/form-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/container/tabs/tabs-runtime.vue2.js +6 -6
- package/dist/es/components/{super-page → runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
- package/dist/es/components/{super-page → runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/data/table/table-runtime.vue2.js +5 -6
- package/dist/es/components/{super-page → runtime}/views/assemblys/error-render.vue.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +4 -5
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/input-number/input-number-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/input-text/inputtext-runtime.vue2.js +6 -6
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/label/label-runtime.vue2.js +4 -4
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/link/link-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +3 -5
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/select/select-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/switch/switch-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/tag/tag-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/form/textarea/textarea-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/object-render.vue.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
- package/dist/es/components/{super-page → runtime}/views/super-page.vue.js +6 -7
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +2 -2
- package/dist/es/components/wf-editor/wf-editor.vue.js +1 -1
- package/dist/es/index.d.ts +1 -1
- package/dist/es/index.js +1 -1
- package/dist/favicon.ico +0 -0
- package/dist/lib/components/{super-page → runtime}/utils/api/api-util.js +12 -12
- package/dist/lib/components/{super-page → runtime}/utils/assemblys-config.js +35 -35
- package/dist/lib/components/{super-page → runtime}/utils/common-util.js +4 -4
- package/dist/lib/components/{super-page → runtime}/utils/eventBus.js +1 -1
- package/dist/lib/components/{super-page → runtime}/utils/events/event-util.js +8 -8
- package/dist/lib/components/{super-page → runtime}/utils/events/standard-event.js +105 -106
- package/dist/lib/components/{super-page → runtime}/utils/events/validator-util.js +15 -15
- package/dist/lib/components/{super-page → runtime}/utils/global-refs.js +1 -1
- package/dist/lib/components/{super-page → runtime}/utils/page-helper-util.js +8 -8
- package/dist/lib/components/{super-page → runtime}/utils/page-init-util.js +5 -5
- package/dist/lib/components/{super-page → runtime}/utils/table-utils.js +2 -2
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +35 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +110 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +53 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +49 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +50 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +50 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +51 -0
- package/dist/lib/components/{super-page → runtime}/views/assemblys/common/export-form-report-dialog.vue.js +21 -21
- package/dist/lib/components/{super-page → runtime}/views/assemblys/common/remove-signer-dialog.vue.js +30 -30
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +104 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +72 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +79 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +44 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +30 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +69 -0
- package/dist/lib/components/{super-page → runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +12 -12
- package/dist/lib/components/{super-page → runtime}/views/assemblys/data/table/main-table-runtime.vue.js +26 -26
- package/dist/lib/components/{super-page → runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +15 -15
- package/dist/lib/components/{super-page → runtime}/views/assemblys/data/table/table-runtime.vue2.js +11 -12
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
- package/dist/lib/components/{super-page → runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +82 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +40 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +77 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +29 -0
- package/dist/lib/components/{super-page → runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +25 -25
- package/dist/lib/components/{super-page → runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +37 -39
- package/dist/lib/components/{super-page → runtime}/views/assemblys/form/select/select-runtime.vue2.js +41 -41
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +65 -0
- package/dist/lib/components/{super-page → runtime}/views/assemblys/object-render.vue.js +18 -18
- package/dist/lib/components/{super-page → runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +9 -9
- package/dist/lib/components/{super-page → runtime}/views/super-page.vue.js +60 -61
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.js +14 -14
- package/dist/lib/components/wf-editor/wf-editor.vue.js +4 -4
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/super-page-runtime.umd.js +213932 -0
- package/package.json +3 -4
- package/dist/es/_virtual/AttributeMap.js +0 -4
- package/dist/es/_virtual/Delta.js +0 -4
- package/dist/es/_virtual/Op.js +0 -4
- package/dist/es/_virtual/OpIterator.js +0 -4
- package/dist/es/_virtual/__vite-browser-external.js +0 -4
- package/dist/es/_virtual/_commonjsHelpers.js +0 -8
- package/dist/es/_virtual/dayjs.min.js +0 -4
- package/dist/es/_virtual/index.js +0 -4
- package/dist/es/_virtual/index2.js +0 -4
- package/dist/es/_virtual/index3.js +0 -4
- package/dist/es/components/super-page/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -60
- package/dist/es/components/super-page/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -53
- package/dist/es/components/super-page/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -55
- package/dist/es/components/super-page/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -55
- package/dist/es/components/super-page/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -57
- package/dist/lib/_virtual/AttributeMap.js +0 -4
- package/dist/lib/_virtual/Delta.js +0 -4
- package/dist/lib/_virtual/Op.js +0 -4
- package/dist/lib/_virtual/OpIterator.js +0 -4
- package/dist/lib/_virtual/__vite-browser-external.js +0 -3
- package/dist/lib/_virtual/_commonjsHelpers.js +0 -8
- package/dist/lib/_virtual/dayjs.min.js +0 -4
- package/dist/lib/_virtual/index.js +0 -4
- package/dist/lib/_virtual/index2.js +0 -4
- package/dist/lib/_virtual/index3.js +0 -4
- package/dist/lib/components/super-page/views/assemblys/button/button/button-runtime.vue2.js +0 -54
- package/dist/lib/components/super-page/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
- package/dist/lib/components/super-page/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
- package/dist/lib/components/super-page/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -59
- package/dist/lib/components/super-page/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -52
- package/dist/lib/components/super-page/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -54
- package/dist/lib/components/super-page/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -54
- package/dist/lib/components/super-page/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -56
- package/dist/lib/components/super-page/views/assemblys/common/task-informition-dialog.vue.js +0 -104
- package/dist/lib/components/super-page/views/assemblys/container/card/card-runtime.vue2.js +0 -72
- package/dist/lib/components/super-page/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
- package/dist/lib/components/super-page/views/assemblys/container/container/container-runtime.vue2.js +0 -79
- package/dist/lib/components/super-page/views/assemblys/container/flex/flex-runtime.vue2.js +0 -43
- package/dist/lib/components/super-page/views/assemblys/container/form/form-runtime.vue2.js +0 -44
- package/dist/lib/components/super-page/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
- package/dist/lib/components/super-page/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -69
- package/dist/lib/components/super-page/views/assemblys/error-render.vue.js +0 -22
- package/dist/lib/components/super-page/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
- package/dist/lib/components/super-page/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
- package/dist/lib/components/super-page/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
- package/dist/lib/components/super-page/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
- package/dist/lib/components/super-page/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
- package/dist/lib/components/super-page/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
- package/dist/lib/components/super-page/views/assemblys/form/label/label-runtime.vue2.js +0 -127
- package/dist/lib/components/super-page/views/assemblys/form/link/link-runtime.vue2.js +0 -77
- package/dist/lib/components/super-page/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
- package/dist/lib/components/super-page/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
- package/dist/lib/components/super-page/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
- package/dist/lib/components/super-page/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
- /package/dist/es/components/{super-page → runtime}/index.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/index.js +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/api/api-util.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/charts/chart-util.js +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/common-util.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/eventBus.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/events/event-util.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/events/standard-event.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/events/validator-util.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/global-refs.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/interfaces/page-design-types.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/interfaces/page-design-types.js +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/page-helper-util.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/page-init-util.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/store-util.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/store-util.js +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/store.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/utils/store.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/error-render.vue.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/error-render.vue2.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/object-render.vue.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/object-render.vue2.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/dist/es/components/{super-page → runtime}/views/super-page.vue.d.ts +0 -0
- /package/dist/es/components/{super-page → runtime}/views/super-page.vue2.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/index.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/index.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/api/api-util.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/charts/chart-util.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/common-util.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/eventBus.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/events/event-util.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/events/standard-event.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/events/validator-util.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/global-refs.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/interfaces/page-design-types.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/interfaces/page-design-types.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/page-helper-util.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/page-init-util.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/store-util.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/store-util.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/store.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/utils/store.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/error-render.vue.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/error-render.vue2.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/object-render.vue.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/object-render.vue2.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/super-page.vue.d.ts +0 -0
- /package/dist/lib/components/{super-page → runtime}/views/super-page.vue2.js +0 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
|
+
require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/src/utils/request.js");
|
|
5
|
+
require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/dayjs.min.js");
|
|
6
|
+
require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/src/utils/calculator/calculator-util.js");
|
|
7
|
+
require("../../../../utils/global-refs.js");
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
9
|
+
__name: "depttree-runtime",
|
|
10
|
+
props: {
|
|
11
|
+
pageContext: {},
|
|
12
|
+
configure: {}
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
17
|
+
if (!entity.data) {
|
|
18
|
+
entity.data = {};
|
|
19
|
+
}
|
|
20
|
+
const dataModel = entity.data;
|
|
21
|
+
let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
22
|
+
const fieldName = dynamicFields.length > 0 ? dynamicFields[dynamicFields.length - 1] : props.configure.uuid;
|
|
23
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
24
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
25
|
+
const runtimeStyle = runtimeInfo.style;
|
|
26
|
+
const runtimeClass = runtimeInfo.class;
|
|
27
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
28
|
+
const autoSetFields = designProperty.autoSetFields ? designProperty.autoSetFields : [];
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
const _component_OrganizationInput = vue_runtime_esmBundler_js.resolveComponent("OrganizationInput");
|
|
31
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
32
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
33
|
+
required: vue_runtime_esmBundler_js.unref(designProperty).required,
|
|
34
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
35
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
36
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
37
|
+
}, {
|
|
38
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
39
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
40
|
+
key: 0,
|
|
41
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
42
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
43
|
+
]),
|
|
44
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
45
|
+
vue_runtime_esmBundler_js.createVNode(_component_OrganizationInput, {
|
|
46
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state == "disabled",
|
|
47
|
+
multiple: vue_runtime_esmBundler_js.unref(designProperty).multiple,
|
|
48
|
+
treeType: vue_runtime_esmBundler_js.unref(designProperty).treeType,
|
|
49
|
+
modelValue: vue_runtime_esmBundler_js.unref(dataModel)[vue_runtime_esmBundler_js.unref(fieldName)],
|
|
50
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue_runtime_esmBundler_js.unref(dataModel)[vue_runtime_esmBundler_js.unref(fieldName)] = $event),
|
|
51
|
+
models: vue_runtime_esmBundler_js.unref(dataModel),
|
|
52
|
+
fields: vue_runtime_esmBundler_js.unref(autoSetFields),
|
|
53
|
+
size: vue_runtime_esmBundler_js.unref(designProperty).size,
|
|
54
|
+
placeholder: "请选择",
|
|
55
|
+
separator: vue_runtime_esmBundler_js.unref(designProperty).separator
|
|
56
|
+
}, null, 8, ["disabled", "multiple", "treeType", "modelValue", "models", "fields", "size", "separator"])
|
|
57
|
+
]),
|
|
58
|
+
_: 1
|
|
59
|
+
}, 8, ["required", "class", "label-width", "style"]);
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
5
|
+
__name: "divider-runtime",
|
|
6
|
+
props: {
|
|
7
|
+
pageContext: {},
|
|
8
|
+
configure: {}
|
|
9
|
+
},
|
|
10
|
+
setup(__props) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
13
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
14
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
15
|
+
let contentVariable = designProperty.value;
|
|
16
|
+
const dynamicValue = vue_runtime_esmBundler_js.computed(() => {
|
|
17
|
+
if (!contentVariable) {
|
|
18
|
+
return "";
|
|
19
|
+
}
|
|
20
|
+
const resultValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
|
|
21
|
+
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
22
|
+
});
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
const _component_el_divider = vue_runtime_esmBundler_js.resolveComponent("el-divider");
|
|
25
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_divider, {
|
|
26
|
+
direction: vue_runtime_esmBundler_js.unref(designProperty).direction,
|
|
27
|
+
"border-style": vue_runtime_esmBundler_js.unref(designProperty).borderType,
|
|
28
|
+
"content-position": vue_runtime_esmBundler_js.unref(designProperty).titlePosition
|
|
29
|
+
}, {
|
|
30
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
31
|
+
vue_runtime_esmBundler_js.createElementVNode("div", {
|
|
32
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(headerStyle))
|
|
33
|
+
}, vue_runtime_esmBundler_js.toDisplayString(dynamicValue.value), 5)
|
|
34
|
+
]),
|
|
35
|
+
_: 1
|
|
36
|
+
}, 8, ["direction", "border-style", "content-position"]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
module.exports = _sfc_main;
|
package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
5
|
+
__name: "fileupload-runtime",
|
|
6
|
+
props: {
|
|
7
|
+
pageContext: {},
|
|
8
|
+
configure: {}
|
|
9
|
+
},
|
|
10
|
+
setup(__props) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
13
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
14
|
+
const runtimeStyle = runtimeInfo.style;
|
|
15
|
+
const runtimeClass = runtimeInfo.class;
|
|
16
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
17
|
+
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
18
|
+
const propsBase = props.configure.props.base ? props.configure.props.base : {};
|
|
19
|
+
propsBase.prop;
|
|
20
|
+
const pathFields = getFieldsByVariable(propsBase.prop);
|
|
21
|
+
const nameFields = getFieldsByVariable(propsBase.propName);
|
|
22
|
+
const initNames = pageHelperUtil.getVariableValue(entity, nameFields);
|
|
23
|
+
const initPaths = pageHelperUtil.getVariableValue(entity, pathFields);
|
|
24
|
+
const fileInfo = ref({
|
|
25
|
+
name: initNames ? initNames : "",
|
|
26
|
+
serverPath: initPaths ? initPaths : ""
|
|
27
|
+
});
|
|
28
|
+
vue_runtime_esmBundler_js.watch(fileInfo, () => {
|
|
29
|
+
pageHelperUtil.setVariableValue(entity, nameFields, fileInfo.name);
|
|
30
|
+
pageHelperUtil.setVariableValue(entity, pathFields, fileInfo.serverPath);
|
|
31
|
+
});
|
|
32
|
+
function getFieldsByVariable(variableName) {
|
|
33
|
+
if (!variableName) {
|
|
34
|
+
return [];
|
|
35
|
+
}
|
|
36
|
+
if (variableName.startsWith("${")) {
|
|
37
|
+
variableName = variableName.substring(2, variableName.length - 1);
|
|
38
|
+
}
|
|
39
|
+
return variableName.split(".");
|
|
40
|
+
}
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
const _component_FsUploadList = vue_runtime_esmBundler_js.resolveComponent("FsUploadList");
|
|
43
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
44
|
+
return vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
45
|
+
key: 0,
|
|
46
|
+
required: vue_runtime_esmBundler_js.unref(designProperty).required,
|
|
47
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
48
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
49
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
50
|
+
}, {
|
|
51
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
52
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
53
|
+
key: 0,
|
|
54
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
55
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
56
|
+
]),
|
|
57
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
58
|
+
vue_runtime_esmBundler_js.createVNode(_component_FsUploadList, {
|
|
59
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state == "disabled",
|
|
60
|
+
fileSetObj: vue_runtime_esmBundler_js.unref(designProperty).fileSetObj,
|
|
61
|
+
fileInfo: vue_runtime_esmBundler_js.unref(fileInfo)
|
|
62
|
+
}, null, 8, ["disabled", "fileSetObj", "fileInfo"])
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["required", "class", "label-width", "style"])) : (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_FsUploadList, {
|
|
66
|
+
key: 1,
|
|
67
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state == "disabled",
|
|
68
|
+
fileSetObj: vue_runtime_esmBundler_js.unref(designProperty).fileSetObj,
|
|
69
|
+
fileInfo: vue_runtime_esmBundler_js.unref(fileInfo)
|
|
70
|
+
}, null, 8, ["disabled", "fileSetObj", "fileInfo"]));
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
module.exports = _sfc_main;
|
package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
6
|
+
__name: "input-number-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
14
|
+
let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
15
|
+
const dynamicModelMethod = vue_runtime_esmBundler_js.computed({
|
|
16
|
+
get() {
|
|
17
|
+
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
18
|
+
},
|
|
19
|
+
set(value) {
|
|
20
|
+
pageHelperUtil.setVariableValue(entity, dynamicFields, value);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
24
|
+
const runtimeStyle = runtimeInfo.style;
|
|
25
|
+
const runtimeClass = runtimeInfo.class;
|
|
26
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
27
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
const _component_el_input_number = vue_runtime_esmBundler_js.resolveComponent("el-input-number");
|
|
30
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
31
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
32
|
+
required: vue_runtime_esmBundler_js.unref(designProperty).required,
|
|
33
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
34
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
35
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
36
|
+
}, {
|
|
37
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
38
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
39
|
+
key: 0,
|
|
40
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
41
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
42
|
+
]),
|
|
43
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
44
|
+
vue_runtime_esmBundler_js.createVNode(_component_el_input_number, {
|
|
45
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state === "disabled",
|
|
46
|
+
readonly: vue_runtime_esmBundler_js.unref(designProperty).state === "readonly",
|
|
47
|
+
controls: vue_runtime_esmBundler_js.unref(designProperty).showButton,
|
|
48
|
+
size: vue_runtime_esmBundler_js.unref(designProperty).size,
|
|
49
|
+
placeholder: vue_runtime_esmBundler_js.unref(designProperty).placeholder,
|
|
50
|
+
modelValue: dynamicModelMethod.value,
|
|
51
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
|
|
52
|
+
precision: vue_runtime_esmBundler_js.unref(designProperty).precision,
|
|
53
|
+
step: vue_runtime_esmBundler_js.unref(designProperty).step,
|
|
54
|
+
min: vue_runtime_esmBundler_js.unref(designProperty).min,
|
|
55
|
+
max: vue_runtime_esmBundler_js.unref(designProperty).max
|
|
56
|
+
}, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])
|
|
57
|
+
]),
|
|
58
|
+
_: 1
|
|
59
|
+
}, 8, ["required", "class", "label-width", "style"]);
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const superUi_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
|
|
4
|
+
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
5
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
6
|
+
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
8
|
+
__name: "inputtext-runtime",
|
|
9
|
+
props: {
|
|
10
|
+
pageContext: {},
|
|
11
|
+
configure: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props, { expose: __expose }) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
16
|
+
let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
17
|
+
const dynamicModelMethod = vue_runtime_esmBundler_js.computed({
|
|
18
|
+
get() {
|
|
19
|
+
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
20
|
+
},
|
|
21
|
+
set(value) {
|
|
22
|
+
pageHelperUtil.setVariableValue(entity, dynamicFields, value);
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
26
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
27
|
+
const runtimeStyle = runtimeInfo.style;
|
|
28
|
+
const runtimeClass = runtimeInfo.class;
|
|
29
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
30
|
+
function getValue() {
|
|
31
|
+
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
32
|
+
}
|
|
33
|
+
function setValue(value) {
|
|
34
|
+
return pageHelperUtil.setVariableValue(entity, dynamicFields, value);
|
|
35
|
+
}
|
|
36
|
+
__expose({
|
|
37
|
+
getValue,
|
|
38
|
+
setValue
|
|
39
|
+
});
|
|
40
|
+
return (_ctx, _cache) => {
|
|
41
|
+
const _component_el_input = vue_runtime_esmBundler_js.resolveComponent("el-input");
|
|
42
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
43
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
44
|
+
required: vue_runtime_esmBundler_js.unref(designProperty).required ? true : false,
|
|
45
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
46
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
47
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
48
|
+
}, {
|
|
49
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
50
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
51
|
+
key: 0,
|
|
52
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
53
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
54
|
+
]),
|
|
55
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
56
|
+
vue_runtime_esmBundler_js.createVNode(_component_el_input, {
|
|
57
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state === "disabled",
|
|
58
|
+
readonly: vue_runtime_esmBundler_js.unref(designProperty).state === "readonly",
|
|
59
|
+
size: vue_runtime_esmBundler_js.unref(designProperty).size,
|
|
60
|
+
clearable: vue_runtime_esmBundler_js.unref(designProperty).clearable,
|
|
61
|
+
placeholder: vue_runtime_esmBundler_js.unref(designProperty).placeholder,
|
|
62
|
+
maxlength: vue_runtime_esmBundler_js.unref(designProperty).maxLength,
|
|
63
|
+
"show-word-limit": vue_runtime_esmBundler_js.unref(designProperty).showInputNum,
|
|
64
|
+
modelValue: dynamicModelMethod.value,
|
|
65
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
|
|
66
|
+
onInput: _cache[1] || (_cache[1] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
|
|
67
|
+
onChange: _cache[2] || (_cache[2] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
|
|
68
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
|
|
69
|
+
onFocus: _cache[4] || (_cache[4] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
|
|
70
|
+
onClick: _cache[5] || (_cache[5] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
|
|
71
|
+
}, vue_runtime_esmBundler_js.createSlots({ _: 2 }, [
|
|
72
|
+
vue_runtime_esmBundler_js.unref(designProperty).iconPosition != "outer" && (vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue || vue_runtime_esmBundler_js.unref(designProperty).preText) ? {
|
|
73
|
+
name: "prefix",
|
|
74
|
+
fn: vue_runtime_esmBundler_js.withCtx(() => [
|
|
75
|
+
vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
76
|
+
key: 0,
|
|
77
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).preIconType,
|
|
78
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).preIconValue
|
|
79
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
80
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).preText), 1)
|
|
81
|
+
]),
|
|
82
|
+
key: "0"
|
|
83
|
+
} : void 0,
|
|
84
|
+
vue_runtime_esmBundler_js.unref(designProperty).iconPosition == "outer" && (vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue || vue_runtime_esmBundler_js.unref(designProperty).preText) ? {
|
|
85
|
+
name: "prepend",
|
|
86
|
+
fn: vue_runtime_esmBundler_js.withCtx(() => [
|
|
87
|
+
vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
88
|
+
key: 0,
|
|
89
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).preIconType,
|
|
90
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).preIconValue
|
|
91
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
92
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).preText), 1)
|
|
93
|
+
]),
|
|
94
|
+
key: "1"
|
|
95
|
+
} : void 0,
|
|
96
|
+
vue_runtime_esmBundler_js.unref(designProperty).iconPosition != "outer" && (vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue || vue_runtime_esmBundler_js.unref(designProperty).sufText) ? {
|
|
97
|
+
name: "suffix",
|
|
98
|
+
fn: vue_runtime_esmBundler_js.withCtx(() => [
|
|
99
|
+
vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
100
|
+
key: 0,
|
|
101
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).sufIconType,
|
|
102
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).sufIconValue
|
|
103
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
104
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).sufText), 1)
|
|
105
|
+
]),
|
|
106
|
+
key: "2"
|
|
107
|
+
} : void 0,
|
|
108
|
+
vue_runtime_esmBundler_js.unref(designProperty).iconPosition == "outer" && (vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue || vue_runtime_esmBundler_js.unref(designProperty).sufText) ? {
|
|
109
|
+
name: "append",
|
|
110
|
+
fn: vue_runtime_esmBundler_js.withCtx(() => [
|
|
111
|
+
vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
112
|
+
key: 0,
|
|
113
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).sufIconType,
|
|
114
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).sufIconValue
|
|
115
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
116
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).sufText), 1)
|
|
117
|
+
]),
|
|
118
|
+
key: "3"
|
|
119
|
+
} : void 0
|
|
120
|
+
]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"])
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}, 8, ["required", "class", "label-width", "style"]);
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
+
const superUi_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
|
|
6
|
+
const _hoisted_1 = { style: { "display": "flex", "width": "100%", "justify-content": "space-between" } };
|
|
7
|
+
const _hoisted_2 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
|
|
8
|
+
const _hoisted_3 = {
|
|
9
|
+
key: 1,
|
|
10
|
+
style: { "display": "flex", "justify-content": "space-between" }
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_4 = ["title"];
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
14
|
+
__name: "label-runtime",
|
|
15
|
+
props: {
|
|
16
|
+
pageContext: {},
|
|
17
|
+
configure: {}
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
22
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
23
|
+
const runtimeStyle = runtimeInfo.style;
|
|
24
|
+
const runtimeClass = runtimeInfo.class;
|
|
25
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
26
|
+
const appendClass = runtimeInfo.appendClass;
|
|
27
|
+
const appendStyle = runtimeInfo.appendStyle;
|
|
28
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
29
|
+
const listOptions = designProperty.options ? designProperty.options : [];
|
|
30
|
+
const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
|
|
31
|
+
const valueType = dataOrigin.optionValueSetType;
|
|
32
|
+
if (valueType == "dynamicData" || valueType == "dynamicData" || valueType == "service") {
|
|
33
|
+
pageHelperUtil.queryOptions(props.configure, props.pageContext, "").then((results) => {
|
|
34
|
+
listOptions.value = results;
|
|
35
|
+
}).catch((error) => {
|
|
36
|
+
console.log("lable组件查询数据源失败!", error);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
let contentVariable = designProperty.formatting;
|
|
40
|
+
if (!contentVariable) {
|
|
41
|
+
const propsBase = props.configure.props.base ? props.configure.props.base : {};
|
|
42
|
+
contentVariable = propsBase.prop;
|
|
43
|
+
}
|
|
44
|
+
if (!contentVariable) {
|
|
45
|
+
contentVariable = "${page." + props.configure.uuid + "}";
|
|
46
|
+
}
|
|
47
|
+
const formatType = designProperty.formatType;
|
|
48
|
+
const dynamicValue = vue_runtime_esmBundler_js.computed(() => {
|
|
49
|
+
let resultValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
|
|
50
|
+
console.log("formatType", formatType);
|
|
51
|
+
if (formatType) {
|
|
52
|
+
if (designProperty.hasOptions) {
|
|
53
|
+
let selItems = null;
|
|
54
|
+
if (listOptions.value) {
|
|
55
|
+
selItems = listOptions.value.filter((item) => item.value == resultValue);
|
|
56
|
+
}
|
|
57
|
+
if (selItems && selItems.length > 0) {
|
|
58
|
+
resultValue = selItems[0].label;
|
|
59
|
+
}
|
|
60
|
+
} else {
|
|
61
|
+
resultValue = pageHelperUtil.formatValueByType(resultValue, formatType, designProperty);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
65
|
+
});
|
|
66
|
+
return (_ctx, _cache) => {
|
|
67
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
68
|
+
return vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
69
|
+
key: 0,
|
|
70
|
+
required: vue_runtime_esmBundler_js.unref(designProperty).required ? true : false,
|
|
71
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
72
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
73
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
74
|
+
}, {
|
|
75
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
76
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
77
|
+
key: 0,
|
|
78
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
79
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
80
|
+
]),
|
|
81
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
82
|
+
vue_runtime_esmBundler_js.createElementVNode("div", _hoisted_1, [
|
|
83
|
+
vue_runtime_esmBundler_js.createElementVNode("span", _hoisted_2, [
|
|
84
|
+
vue_runtime_esmBundler_js.unref(designProperty).preIconValue || vue_runtime_esmBundler_js.unref(designProperty).preText ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("span", {
|
|
85
|
+
key: 0,
|
|
86
|
+
class: vue_runtime_esmBundler_js.normalizeClass({ "el-input__suffix": vue_runtime_esmBundler_js.unref(designProperty).iconPosition != "outer", "el-input-group__append": vue_runtime_esmBundler_js.unref(designProperty).iconPosition == "outer" }),
|
|
87
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(appendStyle))
|
|
88
|
+
}, [
|
|
89
|
+
vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
90
|
+
key: 0,
|
|
91
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).preIconType,
|
|
92
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).preIconValue
|
|
93
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
94
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).preText), 1)
|
|
95
|
+
], 6)) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
96
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(dynamicValue.value), 1)
|
|
97
|
+
]),
|
|
98
|
+
vue_runtime_esmBundler_js.unref(designProperty).sufIconValue || vue_runtime_esmBundler_js.unref(designProperty).sufText ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("span", {
|
|
99
|
+
key: 0,
|
|
100
|
+
class: vue_runtime_esmBundler_js.normalizeClass({ "el-input__suffix": vue_runtime_esmBundler_js.unref(designProperty).iconPosition != "outer", "el-input-group__append": vue_runtime_esmBundler_js.unref(designProperty).iconPosition == "outer" })
|
|
101
|
+
}, [
|
|
102
|
+
vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
103
|
+
key: 0,
|
|
104
|
+
style: {},
|
|
105
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).sufIconType,
|
|
106
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).sufIconValue
|
|
107
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
108
|
+
vue_runtime_esmBundler_js.createElementVNode("span", null, " " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).sufText), 1)
|
|
109
|
+
], 2)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
110
|
+
])
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
}, 8, ["required", "class", "label-width", "style"])) : (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("span", _hoisted_3, [
|
|
114
|
+
vue_runtime_esmBundler_js.createElementVNode("span", {
|
|
115
|
+
style: { "overflow": "hidden", "white-space": "nowrap" },
|
|
116
|
+
title: dynamicValue.value
|
|
117
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).prefixIcon) + " " + vue_runtime_esmBundler_js.toDisplayString(dynamicValue.value), 9, _hoisted_4),
|
|
118
|
+
vue_runtime_esmBundler_js.unref(designProperty).suffixTxt ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("span", {
|
|
119
|
+
key: 0,
|
|
120
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(appendClass)),
|
|
121
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(appendStyle))
|
|
122
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).suffixTxt), 7)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
123
|
+
]));
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
6
|
+
__name: "link-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
14
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
15
|
+
const runtimeStyle = runtimeInfo.style;
|
|
16
|
+
const runtimeClass = runtimeInfo.class;
|
|
17
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
18
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
19
|
+
let contentVariable = designProperty.formatting;
|
|
20
|
+
if (!contentVariable) {
|
|
21
|
+
const propsBase = props.configure.props.base ? props.configure.props.base : {};
|
|
22
|
+
contentVariable = propsBase.prop;
|
|
23
|
+
}
|
|
24
|
+
if (!contentVariable) {
|
|
25
|
+
contentVariable = "${page." + props.configure.uuid + "}";
|
|
26
|
+
}
|
|
27
|
+
const dynamicValue = vue_runtime_esmBundler_js.computed(() => {
|
|
28
|
+
const resultValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
|
|
29
|
+
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
30
|
+
});
|
|
31
|
+
let tooltipVariable = designProperty.tooltip;
|
|
32
|
+
const tooltipValue = vue_runtime_esmBundler_js.computed(() => {
|
|
33
|
+
const resultValue = pageHelperUtil.formatVariableValue(props.pageContext, tooltipVariable);
|
|
34
|
+
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
35
|
+
});
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
const _component_el_link = vue_runtime_esmBundler_js.resolveComponent("el-link");
|
|
38
|
+
const _component_el_tooltip = vue_runtime_esmBundler_js.resolveComponent("el-tooltip");
|
|
39
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
40
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
41
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
42
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
43
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
44
|
+
}, {
|
|
45
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
46
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
47
|
+
key: 0,
|
|
48
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
49
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
50
|
+
]),
|
|
51
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
52
|
+
vue_runtime_esmBundler_js.createVNode(_component_el_tooltip, {
|
|
53
|
+
disabled: !tooltipValue.value,
|
|
54
|
+
content: tooltipValue.value
|
|
55
|
+
}, {
|
|
56
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
57
|
+
vue_runtime_esmBundler_js.createVNode(_component_el_link, {
|
|
58
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state === "disabled",
|
|
59
|
+
type: vue_runtime_esmBundler_js.unref(designProperty).type,
|
|
60
|
+
underline: vue_runtime_esmBundler_js.unref(designProperty).underline,
|
|
61
|
+
onClick: _cache[0] || (_cache[0] = ($event) => vue_runtime_esmBundler_js.unref(pageHelperUtil.openLink)(_ctx.configure, _ctx.pageContext))
|
|
62
|
+
}, {
|
|
63
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
64
|
+
vue_runtime_esmBundler_js.createTextVNode(vue_runtime_esmBundler_js.toDisplayString(dynamicValue.value), 1)
|
|
65
|
+
]),
|
|
66
|
+
_: 1
|
|
67
|
+
}, 8, ["disabled", "type", "underline"])
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 8, ["disabled", "content"])
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
}, 8, ["class", "label-width", "style"]);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
module.exports = _sfc_main;
|
package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const _hoisted_1 = /* @__PURE__ */ vue_runtime_esmBundler_js.createElementVNode("div", { style: { "width": "100%", "height": "100%" } }, " ", -1);
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
5
|
+
__name: "placeholder-runtime",
|
|
6
|
+
props: {
|
|
7
|
+
pageContext: {},
|
|
8
|
+
configure: {}
|
|
9
|
+
},
|
|
10
|
+
setup(__props) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
13
|
+
const runtimeStyle = runtimeInfo.style;
|
|
14
|
+
const runtimeClass = runtimeInfo.class;
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
17
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
18
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
19
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
20
|
+
}, {
|
|
21
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
22
|
+
_hoisted_1
|
|
23
|
+
]),
|
|
24
|
+
_: 1
|
|
25
|
+
}, 8, ["class", "style"]);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
module.exports = _sfc_main;
|