@kp-ui/lowcode 1.0.32 → 1.0.33
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/_virtual/virtual_svg-icons-register.js +2 -2
- package/package.json +27 -26
- package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue.js +103 -234
- package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue2.js +236 -0
- package/src/components/form-designer/form-widget/container-widget/{grid-widget.vue2.js → grid-widget.vue.js} +1 -1
- package/src/components/form-designer/form-widget/container-widget/index.js +4 -4
- package/src/components/form-designer/form-widget/container-widget/{table-widget.vue2.js → table-widget.vue.js} +1 -1
- package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue.js +156 -126
- package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue2.js +128 -0
- package/src/components/form-designer/form-widget/index.vue.js +4 -4
- package/src/components/form-designer/toolbar-panel/index.vue.js +3 -2
- package/src/components/form-designer/widget-panel/advanced/attachment-render.js +1 -1
- package/src/components/form-designer/widget-panel/advanced/bpmn-editor.js +1 -1
- package/src/components/form-designer/widget-panel/advanced/cascader.js +1 -1
- package/src/components/form-designer/widget-panel/advanced/code-editor.js +1 -1
- package/src/components/form-designer/widget-panel/advanced/diy-compontent.js +1 -1
- package/src/components/form-designer/widget-panel/advanced/slot.js +1 -1
- package/src/components/form-designer/widget-panel/advanced/tree-select.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/button.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/checkbox.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/color.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/date.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/dateRange.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/divider.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/dropdown.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/htmlText.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/input.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/number.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/radio.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/rate.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/select.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/slider.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/staticText.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/switch.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/textarea.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/time.js +1 -1
- package/src/components/form-designer/widget-panel/basicFields/timeRange.js +1 -1
- package/src/components/form-designer/widget-panel/business/department-select.js +1 -1
- package/src/components/form-designer/widget-panel/business/material-select.js +1 -1
- package/src/components/form-designer/widget-panel/business/operation-select.js +1 -1
- package/src/components/form-designer/widget-panel/business/post-select.js +1 -1
- package/src/components/form-designer/widget-panel/business/project-group-select.js +1 -1
- package/src/components/form-designer/widget-panel/business/project-select.js +1 -1
- package/src/components/form-designer/widget-panel/business/user-select.js +1 -1
- package/src/components/form-designer/widget-panel/containers/data-table.js +1 -1
- package/src/components/form-designer/widget-panel/containers/grid-col.js +1 -1
- package/src/components/form-designer/widget-panel/containers/grid-sub-form.js +1 -1
- package/src/components/form-designer/widget-panel/containers/grid.js +1 -1
- package/src/components/form-designer/widget-panel/containers/tab-pane.js +1 -1
- package/src/components/form-designer/widget-panel/containers/tab.js +1 -1
- package/src/components/form-designer/widget-panel/containers/vf-box.js +1 -1
- package/src/components/form-designer/widget-panel/containers/vf-collapse.js +1 -1
- package/src/components/form-designer/widget-panel/containers/vf-dialog.js +1 -1
- package/src/components/http-editor/index.vue.js +1 -1
- package/src/components/http-editor/index.vue2.js +1 -1
- package/src/hooks/useFilePreview.js +1 -1
- package/src/utils/request/fmtHttpParams.js +1 -1
- package/src/utils/request/http.js +1 -1
- package/src/utils/sfc-generator.js +1 -0
- package/src/utils/util.js +1 -21
- package/styles/style.css +1 -1
- package/types/src/components/form-designer/widget-panel/advanced/attachment-render.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/advanced/bpmn-editor.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/advanced/cascader.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/advanced/code-editor.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/advanced/diy-compontent.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/advanced/file-upload.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/advanced/rich-editor.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/advanced/slot.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/advanced/tree-select.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/button.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/checkbox.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/color.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/date.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/dateRange.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/divider.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/dropdown.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/htmlText.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/input.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/number.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/radio.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/rate.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/select.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/slider.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/staticText.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/switch.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/textarea.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/time.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/basicFields/timeRange.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/business/department-select.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/business/material-select.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/business/operation-select.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/business/post-select.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/business/project-group-select.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/business/project-select.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/business/user-select.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/containers/data-table.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/containers/grid-col.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/containers/grid-sub-form.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/containers/grid.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/containers/tab.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/containers/vf-box.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/containers/vf-collapse.d.ts.map +1 -1
- package/types/src/components/form-designer/widget-panel/containers/vf-dialog.d.ts.map +1 -1
- package/types/src/components/form-render/index.d.ts +2 -2
- package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue3.js +0 -105
- package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue4.js +0 -158
- package/src/utils/request/useGetUseInfo.js +0 -9
- package/types/src/utils/request/useGetUseInfo.d.ts +0 -23
- package/types/src/utils/request/useGetUseInfo.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diy-compontent.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/diy-compontent.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"diy-compontent.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/diy-compontent.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,SAAgB,GAAG;;;;;;;CAmB5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-upload.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/file-upload.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"file-upload.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/file-upload.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,SAAgB,GAAG;;;;;;CAoCzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-editor.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/rich-editor.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"rich-editor.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/rich-editor.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,SAAgB,GAAG;;;;;;CAiCzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/slot.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/slot.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,SAAgB,GAAG;;;;;;;CAiBnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/tree-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/advanced/tree-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,SAAgB,GAAG;;;;;;;CA0DzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,SAAgB,GAAG;;;;;;;CA6BrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/checkbox.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/checkbox.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,SAAgB,GAAG;;;;;;;CAoDvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/color.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/color.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,SAAgB,GAAG;;;;;;;CAoCpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/date.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/date.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,SAAgB,GAAG;;;;;;;CA8CnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateRange.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/dateRange.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"dateRange.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/dateRange.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,SAAgB,GAAG;;;;;;;CA8CxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/divider.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/divider.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,SAAgB,GAAG;;;;;;;CAuBtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/dropdown.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/dropdown.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,SAAgB,GAAG;;;;;;;CAmCvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"htmlText.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/htmlText.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"htmlText.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/htmlText.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,SAAgB,GAAG;;;;;;;CAqBvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/input.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/input.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,SAAgB,GAAG;;;;;;;CA+CpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/number.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"number.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/number.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,SAAgB,GAAG;;;;;;;CA2CrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/radio.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/radio.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,SAAgB,GAAG;;;;;;;CAwDpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/rate.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/rate.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,SAAgB,GAAG;;;;;;;CAsCnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,SAAgB,GAAG;;;;;;;CAgErC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/slider.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/slider.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,SAAgB,GAAG;;;;;;;CAwCrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staticText.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/staticText.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"staticText.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/staticText.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,SAAgB,GAAG;;;;;;;CAqBzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/switch.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/switch.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,SAAgB,GAAG;;;;;;;CAkCxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/textarea.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/textarea.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,SAAgB,GAAG;;;;;;;CA8CvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/time.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/time.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,SAAgB,GAAG;;;;;;;CA2CnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeRange.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/timeRange.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"timeRange.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/basicFields/timeRange.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,SAAgB,GAAG;;;;;;;CA4CxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"department-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/department-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"department-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/department-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,SAAgB,GAAG;;;;;;;;CAyE/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"material-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/material-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"material-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/material-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,SAAgB,GAAG;;;;;;;;CA2E7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/operation-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"operation-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/operation-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,SAAgB,GAAG;;;;;;;;CA2E9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/post-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"post-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/post-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,SAAgB,GAAG;;;;;;;;CAwEzC,CAAC"}
|
package/types/src/components/form-designer/widget-panel/business/project-group-select.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-group-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/project-group-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"project-group-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/project-group-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,SAAgB,GAAG;;;;;;;;CA2EjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/project-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"project-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/project-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,SAAgB,GAAG;;;;;;;;CAuE5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/user-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"user-select.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/business/user-select.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,SAAgB,GAAG;;;;;;;;CA4EzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/data-table.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/data-table.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,SAAgB,GAAG;;;;;;;CAmGxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-col.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/grid-col.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"grid-col.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/grid-col.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,SAAgB,GAAG;;;;;;;;CAuBtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-sub-form.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/grid-sub-form.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"grid-sub-form.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/grid-sub-form.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,SAAgB,GAAG;;;;;;;CAgB1C,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;CAoBnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/grid.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/grid.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,SAAgB,GAAG;;;;;;;;CAiBnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/tab.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/tab.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG,SAAgB,GAAG;;;;;;;;CAqBlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vf-box.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/vf-box.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"vf-box.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/vf-box.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,SAAgB,GAAG;;;;;;;;CAepC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vf-collapse.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/vf-collapse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"vf-collapse.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/vf-collapse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,SAAgB,GAAG;;;;;;;;;;CAuBzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vf-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/vf-dialog.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"vf-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-designer/widget-panel/containers/vf-dialog.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,SAAgB,GAAG;;;;;;;CA8BvC,CAAC"}
|
|
@@ -121,7 +121,7 @@ declare const _default: DefineComponent<{
|
|
|
121
121
|
labelWidth(): string;
|
|
122
122
|
size(): any;
|
|
123
123
|
customClass(): any;
|
|
124
|
-
},
|
|
124
|
+
}, any, {
|
|
125
125
|
methods: {
|
|
126
126
|
i18nt(key: any): any;
|
|
127
127
|
i18n2t(key1: any, key2: any): any;
|
|
@@ -232,7 +232,7 @@ declare const _default: DefineComponent<{
|
|
|
232
232
|
off$(eventName: any, fn: any): void;
|
|
233
233
|
dispatch: (componentName: any, eventName: any, params: any) => void;
|
|
234
234
|
broadcast: (componentName: any, eventName: any, params: any) => void;
|
|
235
|
-
} &
|
|
235
|
+
} & any, {
|
|
236
236
|
vfCtx: Record<string, any>;
|
|
237
237
|
formJson: Record<string, any>;
|
|
238
238
|
formData: Record<string, any>;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./data-table-widget.vue.js";
|
|
2
|
-
import { resolveComponent, createBlock, openBlock, normalizeStyle, withCtx, createElementBlock, withModifiers, normalizeClass, createVNode, createCommentVNode, Fragment, renderList, mergeProps, withDirectives, createTextVNode, toDisplayString, vShow } from "vue";
|
|
3
|
-
/* empty css */
|
|
4
|
-
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6
|
-
const _component_a_empty = resolveComponent("a-empty");
|
|
7
|
-
const _component_a_table_column = resolveComponent("a-table-column");
|
|
8
|
-
const _component_a_button = resolveComponent("a-button");
|
|
9
|
-
const _component_a_space = resolveComponent("a-space");
|
|
10
|
-
const _component_a_table = resolveComponent("a-table");
|
|
11
|
-
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
12
|
-
return openBlock(), createBlock(_component_container_wrapper, {
|
|
13
|
-
designer: $props.designer,
|
|
14
|
-
widget: $props.widget,
|
|
15
|
-
"parent-widget": $props.parentWidget,
|
|
16
|
-
"parent-list": $props.parentList,
|
|
17
|
-
"index-of-parent-list": $props.indexOfParentList,
|
|
18
|
-
style: normalizeStyle({ display: "flex", height: parseFloat(_ctx.tableHeight || 0) + "px" })
|
|
19
|
-
}, {
|
|
20
|
-
default: withCtx(() => [
|
|
21
|
-
(openBlock(), createElementBlock("div", {
|
|
22
|
-
key: $props.widget.id,
|
|
23
|
-
class: normalizeClass(["collapse-container data-table-container", { selected: $options.selected }]),
|
|
24
|
-
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectWidget($props.widget), ["stop"]))
|
|
25
|
-
}, [
|
|
26
|
-
createVNode(_component_a_table, {
|
|
27
|
-
ref: "dataTable1",
|
|
28
|
-
class: normalizeClass(["tpf-table", [_ctx.customClass]]),
|
|
29
|
-
dataSource: $props.widget.options.dataSource,
|
|
30
|
-
rowKey: (record) => record[$props.widget.options.rowKey],
|
|
31
|
-
scroll: { y: parseFloat(_ctx.tableHeight || 0), x: 300 },
|
|
32
|
-
size: _ctx.widgetSize,
|
|
33
|
-
bordered: $props.widget.options.border,
|
|
34
|
-
style: normalizeStyle({ width: $props.widget.options.tableWidth }),
|
|
35
|
-
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.selectWidget($props.widget), ["stop"])),
|
|
36
|
-
"row-class-name": _ctx.rowClassName,
|
|
37
|
-
rowSelection: _ctx.handleRowSelection(),
|
|
38
|
-
pagination: _ctx.fmtPagination,
|
|
39
|
-
onChange: _ctx.handleTablePageChange,
|
|
40
|
-
customRow: _ctx.handleCustomRow,
|
|
41
|
-
onResizeColumn: _ctx.handleResizeColumn
|
|
42
|
-
}, {
|
|
43
|
-
emptyText: withCtx(() => [
|
|
44
|
-
createVNode(_component_a_empty)
|
|
45
|
-
]),
|
|
46
|
-
default: withCtx(() => [
|
|
47
|
-
$props.widget.options.showIndex ? (openBlock(), createBlock(_component_a_table_column, {
|
|
48
|
-
key: 0,
|
|
49
|
-
title: "序号",
|
|
50
|
-
align: "left",
|
|
51
|
-
width: 80,
|
|
52
|
-
fixed: "left",
|
|
53
|
-
customRender: _ctx.customRenderIndex
|
|
54
|
-
}, null, 8, ["customRender"])) : createCommentVNode("", true),
|
|
55
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.options.tableColumns, (item, index) => {
|
|
56
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
57
|
-
item.show !== false ? (openBlock(), createBlock(_component_a_table_column, mergeProps({ key: index }, _ctx.handleColumnItem(item), { showSorterTooltip: false }), null, 16)) : createCommentVNode("", true)
|
|
58
|
-
], 64);
|
|
59
|
-
}), 256)),
|
|
60
|
-
!!$props.widget.options.showButtonsColumn ? (openBlock(), createBlock(_component_a_table_column, {
|
|
61
|
-
key: 1,
|
|
62
|
-
fixed: "right",
|
|
63
|
-
align: "center",
|
|
64
|
-
title: $props.widget.options.buttonsColumnTitle,
|
|
65
|
-
width: $props.widget.options.buttonsColumnWidth
|
|
66
|
-
}, {
|
|
67
|
-
default: withCtx((scope) => [
|
|
68
|
-
createVNode(_component_a_space, null, {
|
|
69
|
-
default: withCtx(() => [
|
|
70
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.options.operationButtons, (ob, inx) => {
|
|
71
|
-
return withDirectives((openBlock(), createBlock(_component_a_button, {
|
|
72
|
-
key: inx,
|
|
73
|
-
type: ob.type,
|
|
74
|
-
size: ob.size,
|
|
75
|
-
shape: ob.shape,
|
|
76
|
-
disabled: _ctx.disableOperationButton(ob, scope.index, scope.record),
|
|
77
|
-
onClick: ($event) => _ctx.handleOperationButtonClick(ob.name, scope.index, scope.record, scope, ob),
|
|
78
|
-
class: normalizeClass(["data-table-" + ob.name + "-button"])
|
|
79
|
-
}, {
|
|
80
|
-
default: withCtx(() => [
|
|
81
|
-
createTextVNode(toDisplayString(_ctx.getOperationButtonLabel(ob, scope.index, scope.record)), 1)
|
|
82
|
-
]),
|
|
83
|
-
_: 2
|
|
84
|
-
}, 1032, ["type", "size", "shape", "disabled", "onClick", "class"])), [
|
|
85
|
-
[vShow, _ctx.showOperationButton(ob, scope.index, scope.record)]
|
|
86
|
-
]);
|
|
87
|
-
}), 128))
|
|
88
|
-
]),
|
|
89
|
-
_: 2
|
|
90
|
-
}, 1024)
|
|
91
|
-
]),
|
|
92
|
-
_: 1
|
|
93
|
-
}, 8, ["title", "width"])) : createCommentVNode("", true)
|
|
94
|
-
]),
|
|
95
|
-
_: 1
|
|
96
|
-
}, 8, ["dataSource", "rowKey", "scroll", "class", "size", "bordered", "style", "row-class-name", "rowSelection", "pagination", "onChange", "customRow", "onResizeColumn"])
|
|
97
|
-
], 2))
|
|
98
|
-
]),
|
|
99
|
-
_: 1
|
|
100
|
-
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list", "style"]);
|
|
101
|
-
}
|
|
102
|
-
const dataTableWidget = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a667e0af"]]);
|
|
103
|
-
export {
|
|
104
|
-
dataTableWidget as default
|
|
105
|
-
};
|
package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue4.js
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./vf-collapse-widget.vue.js";
|
|
2
|
-
import { resolveComponent, createBlock, openBlock, withCtx, createElementBlock, withModifiers, normalizeClass, createElementVNode, createVNode, createCommentVNode, mergeProps, resolveDynamicComponent, Transition, withDirectives, normalizeStyle, vShow } from "vue";
|
|
3
|
-
/* empty css */
|
|
4
|
-
/* empty css */
|
|
5
|
-
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
-
const _hoisted_1 = { class: "tpf-collapse" };
|
|
7
|
-
const _hoisted_2 = { class: "tpf-collapse-header" };
|
|
8
|
-
const _hoisted_3 = { class: "form-widget-list" };
|
|
9
|
-
const _hoisted_4 = { class: "form-widget-list" };
|
|
10
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11
|
-
const _component_TpfCollapseTitle = resolveComponent("TpfCollapseTitle");
|
|
12
|
-
const _component_SvgIcon = resolveComponent("SvgIcon");
|
|
13
|
-
const _component_a_space = resolveComponent("a-space");
|
|
14
|
-
const _component_draggable = resolveComponent("draggable");
|
|
15
|
-
const _component_VFormRender = resolveComponent("VFormRender");
|
|
16
|
-
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
17
|
-
return openBlock(), createBlock(_component_container_wrapper, {
|
|
18
|
-
designer: $props.designer,
|
|
19
|
-
widget: $props.widget,
|
|
20
|
-
"parent-widget": $props.parentWidget,
|
|
21
|
-
"parent-list": $props.parentList,
|
|
22
|
-
"index-of-parent-list": $props.indexOfParentList
|
|
23
|
-
}, {
|
|
24
|
-
default: withCtx(() => [
|
|
25
|
-
(openBlock(), createElementBlock("div", {
|
|
26
|
-
key: $props.widget.id,
|
|
27
|
-
class: normalizeClass(["collapse-container data-table-container", { selected: $options.selected }]),
|
|
28
|
-
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectWidget($props.widget), ["stop"]))
|
|
29
|
-
}, [
|
|
30
|
-
createElementVNode("div", _hoisted_1, [
|
|
31
|
-
createElementVNode("div", _hoisted_2, [
|
|
32
|
-
createVNode(_component_a_space, { size: 5 }, {
|
|
33
|
-
default: withCtx(() => [
|
|
34
|
-
createVNode(_component_TpfCollapseTitle, {
|
|
35
|
-
title: $props.widget.options.title
|
|
36
|
-
}, null, 8, ["title"]),
|
|
37
|
-
createVNode(_component_SvgIcon, {
|
|
38
|
-
"icon-class": $props.widget.options.isCollapse ? $props.widget.options.collapseIcon : $props.widget.options.unCollapseIcon,
|
|
39
|
-
size: "24px",
|
|
40
|
-
shadow: "",
|
|
41
|
-
cursor: "",
|
|
42
|
-
onClick: $options.toggleCollapse
|
|
43
|
-
}, null, 8, ["icon-class", "onClick"])
|
|
44
|
-
]),
|
|
45
|
-
_: 1
|
|
46
|
-
}),
|
|
47
|
-
$props.widget.options.isCollapse ? (openBlock(), createElementBlock("div", {
|
|
48
|
-
key: 0,
|
|
49
|
-
class: normalizeClass(["header-right", $options.rightSlotCss])
|
|
50
|
-
}, [
|
|
51
|
-
createVNode(_component_draggable, mergeProps({
|
|
52
|
-
list: $props.widget.headerRightSlotList,
|
|
53
|
-
"item-key": "id"
|
|
54
|
-
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
55
|
-
handle: ".drag-handler",
|
|
56
|
-
tag: "transition-group",
|
|
57
|
-
"component-data": { name: "fade" },
|
|
58
|
-
onAdd: _cache[0] || (_cache[0] = (evt) => _ctx.onContainerDragAdd(evt, $props.widget.headerRightSlotList)),
|
|
59
|
-
onUpdate: _ctx.onContainerDragUpdate,
|
|
60
|
-
move: _ctx.checkContainerMove
|
|
61
|
-
}), {
|
|
62
|
-
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
63
|
-
createElementVNode("div", _hoisted_3, [
|
|
64
|
-
"container" === subWidget.category ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
65
|
-
widget: subWidget,
|
|
66
|
-
designer: $props.designer,
|
|
67
|
-
key: subWidget.id,
|
|
68
|
-
"parent-list": $props.widget.headerRightSlotList,
|
|
69
|
-
"index-of-parent-list": swIdx,
|
|
70
|
-
"parent-widget": $props.widget
|
|
71
|
-
}, null, 8, ["widget", "designer", "parent-list", "index-of-parent-list", "parent-widget"])) : (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
72
|
-
field: subWidget,
|
|
73
|
-
designer: $props.designer,
|
|
74
|
-
key: subWidget.id,
|
|
75
|
-
"parent-list": $props.widget.headerRightSlotList,
|
|
76
|
-
"index-of-parent-list": swIdx,
|
|
77
|
-
"parent-widget": $props.widget,
|
|
78
|
-
"design-state": true
|
|
79
|
-
}, null, 8, ["field", "designer", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
80
|
-
])
|
|
81
|
-
]),
|
|
82
|
-
_: 1
|
|
83
|
-
}, 16, ["list", "onUpdate", "move"])
|
|
84
|
-
], 2)) : createCommentVNode("", true)
|
|
85
|
-
]),
|
|
86
|
-
createVNode(Transition, {
|
|
87
|
-
mode: "out-in",
|
|
88
|
-
appear: "",
|
|
89
|
-
"enter-active-class": "animate__animated animate__fadeIn animate__faster",
|
|
90
|
-
"leave-active-class": "animate__animated animate__fadeOut animate__faster"
|
|
91
|
-
}, {
|
|
92
|
-
default: withCtx(() => [
|
|
93
|
-
withDirectives(createElementVNode("div", {
|
|
94
|
-
class: normalizeClass(["tpf-collapse-content"]),
|
|
95
|
-
style: normalizeStyle({
|
|
96
|
-
height: $props.widget.options.height || "unset",
|
|
97
|
-
...JSON.parse($props.widget.options.bodyStyle || "{}")
|
|
98
|
-
})
|
|
99
|
-
}, [
|
|
100
|
-
$props.widget.options.formCode ? (openBlock(), createBlock(_component_VFormRender, {
|
|
101
|
-
key: 0,
|
|
102
|
-
ref: "dFormRef",
|
|
103
|
-
"form-json": $props.formJson,
|
|
104
|
-
"form-data": $props.formData,
|
|
105
|
-
"global-dsv": $props.globalDsv,
|
|
106
|
-
"parent-form": $props.parentFormRef,
|
|
107
|
-
"disabled-mode": $props.options.disabledMode,
|
|
108
|
-
"dynamic-creation": true
|
|
109
|
-
}, null, 8, ["form-json", "form-data", "global-dsv", "parent-form", "disabled-mode"])) : createCommentVNode("", true),
|
|
110
|
-
createVNode(_component_draggable, mergeProps({
|
|
111
|
-
list: $props.widget.defaultSlotsList,
|
|
112
|
-
"item-key": "id"
|
|
113
|
-
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
114
|
-
handle: ".drag-handler",
|
|
115
|
-
tag: "transition-group",
|
|
116
|
-
"component-data": { name: "fade" },
|
|
117
|
-
onAdd: _cache[1] || (_cache[1] = (evt) => _ctx.onContainerDragAdd(evt, $props.widget.defaultSlotsList)),
|
|
118
|
-
onUpdate: _ctx.onContainerDragUpdate,
|
|
119
|
-
move: _ctx.checkContainerMove
|
|
120
|
-
}), {
|
|
121
|
-
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
122
|
-
createElementVNode("div", _hoisted_4, [
|
|
123
|
-
"container" === subWidget.category ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
124
|
-
widget: subWidget,
|
|
125
|
-
designer: $props.designer,
|
|
126
|
-
key: subWidget.id,
|
|
127
|
-
"parent-list": $props.widget.defaultSlotsList,
|
|
128
|
-
"index-of-parent-list": swIdx,
|
|
129
|
-
"parent-widget": $props.widget
|
|
130
|
-
}, null, 8, ["widget", "designer", "parent-list", "index-of-parent-list", "parent-widget"])) : (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
131
|
-
field: subWidget,
|
|
132
|
-
designer: $props.designer,
|
|
133
|
-
key: subWidget.id,
|
|
134
|
-
"parent-list": $props.widget.defaultSlotsList,
|
|
135
|
-
"index-of-parent-list": swIdx,
|
|
136
|
-
"parent-widget": $props.widget,
|
|
137
|
-
"design-state": true
|
|
138
|
-
}, null, 8, ["field", "designer", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
139
|
-
])
|
|
140
|
-
]),
|
|
141
|
-
_: 1
|
|
142
|
-
}, 16, ["list", "onUpdate", "move"])
|
|
143
|
-
], 4), [
|
|
144
|
-
[vShow, $props.widget.options.isCollapse]
|
|
145
|
-
])
|
|
146
|
-
]),
|
|
147
|
-
_: 1
|
|
148
|
-
})
|
|
149
|
-
])
|
|
150
|
-
], 2))
|
|
151
|
-
]),
|
|
152
|
-
_: 1
|
|
153
|
-
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
154
|
-
}
|
|
155
|
-
const vfCollapseWidget = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4278dc9a"]]);
|
|
156
|
-
export {
|
|
157
|
-
vfCollapseWidget as default
|
|
158
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const USER_INFO_KEY = "__ADMIN_USER__INFO__";
|
|
2
|
-
export declare const getUserInfo: () => any;
|
|
3
|
-
/**
|
|
4
|
-
* 判断是否为开发环境
|
|
5
|
-
* @returns
|
|
6
|
-
*/
|
|
7
|
-
export declare const isDev: () => boolean;
|
|
8
|
-
/**
|
|
9
|
-
* 判断是否为生产环境
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare const isProd: () => boolean;
|
|
13
|
-
/**
|
|
14
|
-
* 判断是否为Beta环境
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
export declare const isBeta: () => boolean;
|
|
18
|
-
/**
|
|
19
|
-
* 判断是否为本地环境
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
export declare const isLocal: () => boolean;
|
|
23
|
-
//# sourceMappingURL=useGetUseInfo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useGetUseInfo.d.ts","sourceRoot":"","sources":["../../../../../src/utils/request/useGetUseInfo.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,yBAAyB,CAAC;AAEpD,eAAO,MAAM,WAAW,WAGvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,eAKjB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,MAAM,eAMlB,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,MAAM,eAMlB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO,eAEnB,CAAC"}
|