@kp-ui/lowcode 1.0.94 → 1.0.96
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.map +1 -1
- package/package.json +5 -5
- package/src/api/useFilesystemApi/filesystem/index.js.map +1 -1
- package/src/components/CustomRender/components/AttachmentRender.vue2.js.map +1 -1
- package/src/components/CustomRender/components/RenderBodyCell.js.map +1 -1
- package/src/components/CustomRender/useCustomRender.js.map +1 -1
- package/src/components/code-editor/code-modal-editor.vue.js.map +1 -1
- package/src/components/code-editor/index.vue2.js.map +1 -1
- package/src/components/form-designer/designer.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/containerMixin.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue.js +22 -22
- package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue2.js +2 -5
- package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue2.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/grid-col-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/grid-sub-form-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/grid-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/index.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/sub-form-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/tab-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/table-cell-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/table-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/vf-box-item.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/vf-box-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue2.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/vf-dialog-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/container-widget/vf-drawer-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/attachment-render-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/bpmn-editor-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/button-list-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/button-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/cascader-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/checkbox-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/code-editor-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/color-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/date-range-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/date-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/divider-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/diy-compontent-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/dropdown-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/fieldMixin.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/file-upload-widget.vue2.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/form-item-wrapper.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/html-text-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/input-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/number-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/radio-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/rate-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/rich-editor-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/select-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/slider-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/slot-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/static-content-wrapper.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/static-text-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/switch-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/textarea-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/time-range-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/time-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/field-widget/treeSelect-widget.vue.js.map +1 -1
- package/src/components/form-designer/form-widget/index.vue.js.map +1 -1
- package/src/components/form-designer/index.vue.js +91 -84
- package/src/components/form-designer/index.vue.js.map +1 -1
- package/src/components/form-designer/refMixinDesign.js.map +1 -1
- package/src/components/form-designer/setting-panel/form-setting.vue2.js.map +1 -1
- package/src/components/form-designer/setting-panel/index.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/option-items-setting.vue2.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/button-list-editor.vue2.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/button-position-editor.vue2.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/code-editor/code-editor-mode.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-customClass-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-dsEnabled-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-pagination-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-rowKey-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-selections-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-showButtonsColumn-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-showIndex-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-stripe-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-tableColumns-editor.vue.js +2 -2
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-tableColumns-editor.vue2.js +70 -74
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-tableColumns-editor.vue2.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-tableHeight-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-tableSize-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-tableWidth-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-treeDataEnabled-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-grid/gutter-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-tab/tab-customClass-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-tab/tab-tabBarGutter-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-tab/tab-tabPosition-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-tab/tab-type-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-vf-dialog/bodyStyle-editor.vue2.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/container-vf-dialog/formCode-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/customClass-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/event-handler/eventMixin.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/field-dropdown/dropdown-menuList-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/field-select/mode-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/max-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/maxLength-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/min-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/minLength-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/name-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/optionItems-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/placement-editor.vue.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/propertyMixin.js.map +1 -1
- package/src/components/form-designer/setting-panel/property-editor/rightSlotCss-editor.vue.js.map +1 -1
- package/src/components/form-designer/toolbar-panel/index.vue.js +2 -2
- package/src/components/form-designer/toolbar-panel/index.vue2.js +1 -5
- package/src/components/form-designer/toolbar-panel/index.vue2.js.map +1 -1
- package/src/components/form-designer/widget-panel/index.vue.js.map +1 -1
- package/src/components/form-render/SubmitButtonRender.vue.js.map +1 -1
- package/src/components/form-render/container-item/containerItemMixin.js.map +1 -1
- package/src/components/form-render/container-item/data-table-item.vue.js +4 -5
- package/src/components/form-render/container-item/data-table-item.vue.js.map +1 -1
- package/src/components/form-render/container-item/grid-col-item.vue.js.map +1 -1
- package/src/components/form-render/container-item/grid-item.vue.js.map +1 -1
- package/src/components/form-render/container-item/grid-sub-form-item.vue.js +10 -5
- package/src/components/form-render/container-item/grid-sub-form-item.vue.js.map +1 -1
- package/src/components/form-render/container-item/index.js.map +1 -1
- package/src/components/form-render/container-item/sub-form-item.vue.js.map +1 -1
- package/src/components/form-render/container-item/tab-item.vue.js.map +1 -1
- package/src/components/form-render/container-item/table-cell-item.vue.js.map +1 -1
- package/src/components/form-render/container-item/table-item.vue.js.map +1 -1
- package/src/components/form-render/container-item/vf-collapse-item.vue.js.map +1 -1
- package/src/components/form-render/dynamic-dialog.vue.js.map +1 -1
- package/src/components/form-render/dynamic-drawer.vue.js.map +1 -1
- package/src/components/form-render/index.vue.js +120 -106
- package/src/components/form-render/index.vue.js.map +1 -1
- package/src/components/form-render/refMixin.js.map +1 -1
- package/src/components/http-editor/index.vue.js.map +1 -1
- package/src/components/public/ActionButtonListDialog.vue.js +10 -10
- package/src/components/public/ActionButtonListDialog.vue.js.map +1 -1
- package/src/components/public/ActionButtonListDialog.vue2.js +24 -28
- package/src/components/public/ActionButtonListDialog.vue2.js.map +1 -1
- package/src/components/public/ActionButtonListRender.vue2.js.map +1 -1
- package/src/components/public/CustomerModal/CustomerModal.vue2.js.map +1 -1
- package/src/components/public/CustomerModal/useCustomerModal.js.map +1 -1
- package/src/components/public/QuillEditor/index.vue.js.map +1 -1
- package/src/components/public/methoad-item.vue.js.map +1 -1
- package/src/components/svg-icon/FileIcon.js.map +1 -1
- package/src/hooks/TpfConfirm.js.map +1 -1
- package/src/hooks/useFilePreview.js.map +1 -1
- package/src/hooks/useLowcode.js.map +1 -1
- package/src/lib/vuedraggable/src/core/componentBuilderHelper.js.map +1 -1
- package/src/lib/vuedraggable/src/core/componentStructure.js.map +1 -1
- package/src/lib/vuedraggable/src/util/string.js.map +1 -1
- package/src/lib/vuedraggable/src/vuedraggable.js.map +1 -1
- package/src/mixins/useDataTableMixin.js +2 -2
- package/src/mixins/useDataTableMixin.js.map +1 -1
- package/src/mixins/useSelectMixin.js.map +1 -1
- package/src/utils/emitter.js.map +1 -1
- package/src/utils/executeFunction.js.map +1 -1
- package/src/utils/format.js.map +1 -1
- package/src/utils/i18n.js.map +1 -1
- package/src/utils/request/fmtHttpParams.js.map +1 -1
- package/src/utils/request/handleAxiosError.js.map +1 -1
- package/src/utils/request/http.js.map +1 -1
- package/src/utils/smart-vue-i18n/index.js.map +1 -1
- package/src/utils/smart-vue-i18n/utils.js.map +1 -1
- package/src/utils/util.js.map +1 -1
- package/src/utils/validators.js.map +1 -1
- package/stats.html +1 -1
- package/styles/style.css +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table-customClass-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-customClass-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.customClass')\">\n <a-select\n v-model:value=\"optionModel.customClass\"\n allowClear\n mode=\"tags\"\n :options=\"cssClassList\"\n />\n </a-form-item>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n import { deepClone, generateId, getDSByName } from '@/utils/util';\n\n export default {\n name: 'data-table-customClass-editor',\n componentName: 'PropertyEditor',\n mixins: [i18n],\n components: {},\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n cssClassList: [],\n dataSetList: []\n };\n },\n computed: {\n dataSourceList() {\n if (!this.designer.formConfig || !this.designer.formConfig.dataSources) {\n return [];\n } else {\n return this.designer.formConfig.dataSources;\n }\n }\n },\n watch: {\n // selectedWidget: {\n // handler(val, oldVal) {\n // if (!val) {\n // return;\n // }\n // this.loadDataSet(val.options.dsName);\n // },\n // immediate: true\n // }\n },\n created() {\n this.cssClassList = deepClone(this.designer.getCssClassList());\n //监听表单css代码改动事件并重新加载!\n this.designer.handleEvent('form-css-updated', cssClassList => {\n this.cssClassList = cssClassList;\n });\n },\n mounted() {\n // this.dragSort()\n },\n methods: {\n loadDataSet(dsName) {\n this.dataSetList.length = 0;\n if (!dsName) {\n return;\n }\n\n const dsModel = getDSByName(this.designer.formConfig, dsName);\n if (!!dsModel && !!dsModel.dataSets) {\n dsModel.dataSets.forEach(dSet => {\n this.dataSetList.push({\n name: dSet.name,\n remark: dSet.remark\n });\n });\n }\n }\n }\n };\n</script>\n"],"names":["_sfc_main","i18n","deepClone","cssClassList","dsName","dsModel","getDSByName","dSet","_createBlock","_component_a_form_item","_ctx","_createVNode","_component_a_select","$props","_cache","$event","$data"],"mappings":";;;;AAeE,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,eAAe;AAAA,EACf,QAAQ,CAACC,CAAI;AAAA,EACb,YAAY,CAAA;AAAA,EACZ,OAAO;AAAA,IACL,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEf,OAAO;AACL,WAAO;AAAA,MACL,cAAc,CAAA;AAAA,MACd,aAAa,CAAA;AAAA
|
|
1
|
+
{"version":3,"file":"data-table-customClass-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-customClass-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.customClass')\">\n <a-select\n v-model:value=\"optionModel.customClass\"\n allowClear\n mode=\"tags\"\n :options=\"cssClassList\"\n />\n </a-form-item>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n import { deepClone, generateId, getDSByName } from '@/utils/util';\n\n export default {\n name: 'data-table-customClass-editor',\n componentName: 'PropertyEditor',\n mixins: [i18n],\n components: {},\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n cssClassList: [],\n dataSetList: []\n };\n },\n computed: {\n dataSourceList() {\n if (!this.designer.formConfig || !this.designer.formConfig.dataSources) {\n return [];\n } else {\n return this.designer.formConfig.dataSources;\n }\n }\n },\n watch: {\n // selectedWidget: {\n // handler(val, oldVal) {\n // if (!val) {\n // return;\n // }\n // this.loadDataSet(val.options.dsName);\n // },\n // immediate: true\n // }\n },\n created() {\n this.cssClassList = deepClone(this.designer.getCssClassList());\n //监听表单css代码改动事件并重新加载!\n this.designer.handleEvent('form-css-updated', cssClassList => {\n this.cssClassList = cssClassList;\n });\n },\n mounted() {\n // this.dragSort()\n },\n methods: {\n loadDataSet(dsName) {\n this.dataSetList.length = 0;\n if (!dsName) {\n return;\n }\n\n const dsModel = getDSByName(this.designer.formConfig, dsName);\n if (!!dsModel && !!dsModel.dataSets) {\n dsModel.dataSets.forEach(dSet => {\n this.dataSetList.push({\n name: dSet.name,\n remark: dSet.remark\n });\n });\n }\n }\n }\n };\n</script>\n"],"names":["_sfc_main","i18n","deepClone","cssClassList","dsName","dsModel","getDSByName","dSet","_createBlock","_component_a_form_item","_ctx","_createVNode","_component_a_select","$props","_cache","$event","$data"],"mappings":";;;;AAeE,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,eAAe;AAAA,EACf,QAAQ,CAACC,CAAI;AAAA,EACb,YAAY,CAAA;AAAA,EACZ,OAAO;AAAA,IACL,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEf,OAAO;AACL,WAAO;AAAA,MACL,cAAc,CAAA;AAAA,MACd,aAAa,CAAA;AAAA;EAEjB;AAAA,EACA,UAAU;AAAA,IACR,iBAAiB;AACf,aAAI,CAAC,KAAK,SAAS,cAAc,CAAC,KAAK,SAAS,WAAW,cAClD,CAAA,IAEA,KAAK,SAAS,WAAW;AAAA,IAEpC;AAAA;EAEF,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAWP,UAAU;AACR,SAAK,eAAeC,EAAU,KAAK,SAAS,gBAAe,CAAE,GAE7D,KAAK,SAAS,YAAY,oBAAoB,CAAAC,MAAgB;AAC5D,WAAK,eAAeA;AAAA,IACtB,CAAC;AAAA,EACH;AAAA,EACA,UAAU;AAAA,EAEV;AAAA,EACA,SAAS;AAAA,IACP,YAAYC,GAAQ;AAElB,UADA,KAAK,YAAY,SAAS,GACtB,CAACA;AACH;AAGF,YAAMC,IAAUC,EAAY,KAAK,SAAS,YAAYF,CAAM;AAC5D,MAAMC,KAAaA,EAAQ,YACzBA,EAAQ,SAAS,QAAQ,CAAAE,MAAQ;AAC/B,aAAK,YAAY,KAAK;AAAA,UACpB,MAAMA,EAAK;AAAA,UACX,QAAQA,EAAK;AAAA,QACf,CAAC;AAAA,MACH,CAAC;AAAA,IAEL;AAAA,EACF;;;;cA7EFC,EAOcC,GAAA;AAAA,IAPA,OAAOC,EAAA,MAAK,8BAAA;AAAA;eACxB,MAKE;AAAA,MALFC,EAKEC,GAAA;AAAA,QAJQ,OAAOC,EAAA,YAAY;AAAA,QAAZ,kBAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAAAF,EAAA,YAAY,cAAWE;AAAA,QACtC,YAAA;AAAA,QACA,MAAK;AAAA,QACJ,SAASC,EAAA;AAAA;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table-dsEnabled-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-dsEnabled-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.dsEnabled')\">\n <a-switch v-model:checked=\"optionModel.dsEnabled\" />\n </a-form-item>\n <a-form-item v-if=\"!optionModel.dsEnabled\" :label=\"i18nt('designer.setting.tableDataEdit')\">\n <a-button type=\"primary\" shape=\"round\" @click=\"openTableDataEdit\">\n {{ i18nt('designer.setting.editAction') }}\n </a-button>\n </a-form-item>\n\n <CodeModalEditor\n ref=\"CodeModalEditorRef\"\n mode=\"json\"\n :readonly=\"false\"\n :isShowEventHeader=\"false\"\n :title=\"i18nt('designer.setting.tableDataEdit')\"\n @save=\"handleUpdate\"\n />\n <HttpEditor\n v-if=\"!!optionModel.dsEnabled\"\n :designer=\"designer\"\n :selected-widget=\"selectedWidget\"\n :optionModel=\"optionModel\"\n />\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n import HttpEditor from '@/components/http-editor/index.vue';\n import CodeModalEditor from '@/components/code-editor/code-modal-editor.vue';\n\n export default {\n name: 'data-table-dsEnabled-editor',\n mixins: [i18n],\n components: { HttpEditor, CodeModalEditor },\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n tableDataOptions: ''\n };\n },\n methods: {\n handleUpdate(value) {\n try {\n this.optionModel.dataSource = JSON.parse(value);\n } catch (ex) {\n this.$message.error(\n this.i18nt('designer.hint.invalidOptionsData') + ex.message\n );\n }\n },\n openTableDataEdit() {\n this.tableDataOptions = JSON.stringify(this.optionModel.dataSource, null, ' ');\n console.log(this.tableDataOptions);\n this.$refs.CodeModalEditorRef.open(this.tableDataOptions);\n }\n }\n };\n</script>\n"],"names":["_sfc_main","i18n","HttpEditor","CodeModalEditor","value","ex","_createVNode","_component_a_form_item","_ctx","_component_a_switch","$props","_cache","$event","_createBlock","_component_a_button","$options","_component_CodeModalEditor","_component_HttpEditor"],"mappings":";;;;;AA+BI,MAAKA,IAAU;AAAA,EACX,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,YAAY,EAAA,YAAEC,GAAU,iBAAEC;EAC1B,OAAO;AAAA,IACH,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEjB,OAAO;AACH,WAAO;AAAA,MACH,kBAAkB;AAAA
|
|
1
|
+
{"version":3,"file":"data-table-dsEnabled-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-dsEnabled-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.dsEnabled')\">\n <a-switch v-model:checked=\"optionModel.dsEnabled\" />\n </a-form-item>\n <a-form-item v-if=\"!optionModel.dsEnabled\" :label=\"i18nt('designer.setting.tableDataEdit')\">\n <a-button type=\"primary\" shape=\"round\" @click=\"openTableDataEdit\">\n {{ i18nt('designer.setting.editAction') }}\n </a-button>\n </a-form-item>\n\n <CodeModalEditor\n ref=\"CodeModalEditorRef\"\n mode=\"json\"\n :readonly=\"false\"\n :isShowEventHeader=\"false\"\n :title=\"i18nt('designer.setting.tableDataEdit')\"\n @save=\"handleUpdate\"\n />\n <HttpEditor\n v-if=\"!!optionModel.dsEnabled\"\n :designer=\"designer\"\n :selected-widget=\"selectedWidget\"\n :optionModel=\"optionModel\"\n />\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n import HttpEditor from '@/components/http-editor/index.vue';\n import CodeModalEditor from '@/components/code-editor/code-modal-editor.vue';\n\n export default {\n name: 'data-table-dsEnabled-editor',\n mixins: [i18n],\n components: { HttpEditor, CodeModalEditor },\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n tableDataOptions: ''\n };\n },\n methods: {\n handleUpdate(value) {\n try {\n this.optionModel.dataSource = JSON.parse(value);\n } catch (ex) {\n this.$message.error(\n this.i18nt('designer.hint.invalidOptionsData') + ex.message\n );\n }\n },\n openTableDataEdit() {\n this.tableDataOptions = JSON.stringify(this.optionModel.dataSource, null, ' ');\n console.log(this.tableDataOptions);\n this.$refs.CodeModalEditorRef.open(this.tableDataOptions);\n }\n }\n };\n</script>\n"],"names":["_sfc_main","i18n","HttpEditor","CodeModalEditor","value","ex","_createVNode","_component_a_form_item","_ctx","_component_a_switch","$props","_cache","$event","_createBlock","_component_a_button","$options","_component_CodeModalEditor","_component_HttpEditor"],"mappings":";;;;;AA+BI,MAAKA,IAAU;AAAA,EACX,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,YAAY,EAAA,YAAEC,GAAU,iBAAEC;EAC1B,OAAO;AAAA,IACH,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEjB,OAAO;AACH,WAAO;AAAA,MACH,kBAAkB;AAAA;EAE1B;AAAA,EACA,SAAS;AAAA,IACL,aAAaC,GAAO;AAChB,UAAI;AACA,aAAK,YAAY,aAAa,KAAK,MAAMA,CAAK;AAAA,MAClD,SAASC,GAAI;AACT,aAAK,SAAS;AAAA,UACV,KAAK,MAAM,kCAAkC,IAAIA,EAAG;AAAA;MAE5D;AAAA,IACJ;AAAA,IACA,oBAAoB;AAChB,WAAK,mBAAmB,KAAK,UAAU,KAAK,YAAY,YAAY,MAAM,IAAI,GAC9E,QAAQ,IAAI,KAAK,gBAAgB,GACjC,KAAK,MAAM,mBAAmB,KAAK,KAAK,gBAAgB;AAAA,IAC5D;AAAA,EACJ;;;;;IA3DJC,EAEcC,GAAA;AAAA,MAFA,OAAOC,EAAA,MAAK,4BAAA;AAAA;iBACtB,MAAoD;AAAA,QAApDF,EAAoDG,GAAA;AAAA,UAAlC,SAASC,EAAA,YAAY;AAAA,UAAZ,oBAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAAAF,EAAA,YAAY,YAASE;AAAA;;;;IAEhCF,EAAA,YAAY,8BAAhCG,EAIcN,GAAA;AAAA;MAJ8B,OAAOC,EAAA,MAAK,gCAAA;AAAA;iBACpD,MAEW;AAAA,QAFXF,EAEWQ,GAAA;AAAA,UAFD,MAAK;AAAA,UAAU,OAAM;AAAA,UAAS,SAAOC,EAAA;AAAA;qBAC3C,MAA0C;AAAA,gBAAvCP,EAAA,MAAK,6BAAA,CAAA,GAAA,CAAA;AAAA;;;;;;IAIhBF,EAOEU,GAAA;AAAA,MANE,KAAI;AAAA,MACJ,MAAK;AAAA,MACJ,UAAU;AAAA,MACV,mBAAmB;AAAA,MACnB,OAAOR,EAAA,MAAK,gCAAA;AAAA,MACZ,QAAMO,EAAA;AAAA;IAGCL,EAAA,YAAY,kBADxBG,EAKEI,GAAA;AAAA;MAHG,UAAUP,EAAA;AAAA,MACV,mBAAiBA,EAAA;AAAA,MACjB,aAAaA,EAAA;AAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table-pagination-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-pagination-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.showPagination')\">\n <a-space>\n <a-switch v-model:checked=\"optionModel.showPagination\" />\n <a-button\n v-if=\"optionModel.showPagination\"\n type=\"primary\"\n shape=\"round\"\n size=\"small\"\n @click=\"editPagination\"\n >\n 编辑\n </a-button>\n </a-space>\n </a-form-item>\n\n <a-drawer\n class=\"editor-Selection-drawer\"\n v-model:open=\"visible\"\n title=\"分页配置\"\n placement=\"right\"\n >\n <a-form class=\"editor-Selection-form\" :model=\"optionModel.pagination\" layout=\"horizontal\">\n <a-form-item label=\"默认的每页条数\">\n <a-select v-model:value=\"optionModel.pagination.pageSize\">\n <a-select-option v-for=\"item in pageSizeList\" :key=\"item\" :value=\"item\">\n {{ item }}\n </a-select-option>\n </a-select>\n </a-form-item>\n <a-form-item label=\"指定每页可以显示多少条\">\n <a-select\n mode=\"tags\"\n v-model:value=\"optionModel.pagination.pageSizeOptions\"\n @change=\"pageSizeOptionsChange\"\n >\n <a-select-option v-for=\"item in pageSizeOptionsList\" :key=\"item\" :value=\"item\">\n {{ item }}\n </a-select-option>\n </a-select>\n </a-form-item>\n <a-form-item label=\"只有一页时是否隐藏分页器\">\n <a-switch v-model:checked=\"optionModel.pagination.hideOnSinglePage\" />\n </a-form-item>\n <a-form-item label=\"是否可以快速跳转至某页\">\n <a-switch v-model:checked=\"optionModel.pagination.showQuickJumper\" />\n </a-form-item>\n <a-form-item label=\"是否展示 pageSize 切换器\">\n <a-switch v-model:checked=\"optionModel.pagination.showSizeChanger\" />\n </a-form-item>\n <a-form-item label=\"分页器位置\">\n <a-select v-model:value=\"selectPosition\" :options=\"positionList\" />\n </a-form-item>\n </a-form>\n </a-drawer>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n\n export default {\n name: 'pagination-editor',\n mixins: [i18n],\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n visible: false,\n pageSizeOptionsList: ['10', '20', '50', '100'],\n positionList: [\n { value: 'topLeft ', label: 'topLeft ' },\n { value: 'topCenter', label: 'topCenter' },\n { value: 'topRight', label: 'topRight' },\n { value: 'bottomLeft', label: 'bottomLeft' },\n { value: 'bottomCenter', label: 'bottomCenter' },\n { value: 'bottomRight', label: 'bottomRight' }\n ]\n };\n },\n computed: {\n pageSizeList() {\n const pageSizeOptions = this.optionModel.pagination.pageSizeOptions.map(item =>\n Number(item)\n );\n if (pageSizeOptions.length === 0) {\n return [];\n }\n return pageSizeOptions.sort((a, b) => a - b);\n },\n selectPosition: {\n get() {\n return this.optionModel.pagination.position[0];\n },\n set(value) {\n this.optionModel.pagination.position[0] = value;\n }\n }\n },\n methods: {\n pageSizeOptionsChange() {\n this.optionModel.pagination.pageSize = this.pageSizeList[0] || 20;\n },\n editPagination() {\n this.visible = true;\n }\n }\n };\n</script>\n\n<style lang=\"scss\">\n .editor-Selection-drawer {\n .ant-drawer-body {\n padding: 10px;\n }\n\n .editor-Selection-form {\n .ant-form-item {\n margin-bottom: 12px;\n }\n }\n }\n</style>\n"],"names":["_sfc_main","i18n","pageSizeOptions","item","a","b","value","_createVNode","_component_a_form_item","_ctx","_component_a_space","_component_a_switch","$props","_cache","$event","_createBlock","_component_a_button","$options","_component_a_drawer","$data","_component_a_form","_component_a_select","_createElementBlock","_Fragment","_renderList","_component_a_select_option"],"mappings":";;;;AA4DI,MAAKA,IAAU;AAAA,EACX,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,OAAO;AAAA,IACH,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEjB,OAAO;AACH,WAAO;AAAA,MACH,SAAS;AAAA,MACT,qBAAqB,CAAC,MAAM,MAAM,MAAM,KAAK;AAAA,MAC7C,cAAc;AAAA,QACV,EAAE,OAAO,YAAY,OAAO;QAC5B,EAAE,OAAO,aAAa,OAAO;QAC7B,EAAE,OAAO,YAAY,OAAO;QAC5B,EAAE,OAAO,cAAc,OAAO;QAC9B,EAAE,OAAO,gBAAgB,OAAO;QAChC,EAAE,OAAO,eAAe,OAAO,cAAY;AAAA,MAC/C;AAAA
|
|
1
|
+
{"version":3,"file":"data-table-pagination-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-pagination-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.showPagination')\">\n <a-space>\n <a-switch v-model:checked=\"optionModel.showPagination\" />\n <a-button\n v-if=\"optionModel.showPagination\"\n type=\"primary\"\n shape=\"round\"\n size=\"small\"\n @click=\"editPagination\"\n >\n 编辑\n </a-button>\n </a-space>\n </a-form-item>\n\n <a-drawer\n class=\"editor-Selection-drawer\"\n v-model:open=\"visible\"\n title=\"分页配置\"\n placement=\"right\"\n >\n <a-form class=\"editor-Selection-form\" :model=\"optionModel.pagination\" layout=\"horizontal\">\n <a-form-item label=\"默认的每页条数\">\n <a-select v-model:value=\"optionModel.pagination.pageSize\">\n <a-select-option v-for=\"item in pageSizeList\" :key=\"item\" :value=\"item\">\n {{ item }}\n </a-select-option>\n </a-select>\n </a-form-item>\n <a-form-item label=\"指定每页可以显示多少条\">\n <a-select\n mode=\"tags\"\n v-model:value=\"optionModel.pagination.pageSizeOptions\"\n @change=\"pageSizeOptionsChange\"\n >\n <a-select-option v-for=\"item in pageSizeOptionsList\" :key=\"item\" :value=\"item\">\n {{ item }}\n </a-select-option>\n </a-select>\n </a-form-item>\n <a-form-item label=\"只有一页时是否隐藏分页器\">\n <a-switch v-model:checked=\"optionModel.pagination.hideOnSinglePage\" />\n </a-form-item>\n <a-form-item label=\"是否可以快速跳转至某页\">\n <a-switch v-model:checked=\"optionModel.pagination.showQuickJumper\" />\n </a-form-item>\n <a-form-item label=\"是否展示 pageSize 切换器\">\n <a-switch v-model:checked=\"optionModel.pagination.showSizeChanger\" />\n </a-form-item>\n <a-form-item label=\"分页器位置\">\n <a-select v-model:value=\"selectPosition\" :options=\"positionList\" />\n </a-form-item>\n </a-form>\n </a-drawer>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n\n export default {\n name: 'pagination-editor',\n mixins: [i18n],\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n visible: false,\n pageSizeOptionsList: ['10', '20', '50', '100'],\n positionList: [\n { value: 'topLeft ', label: 'topLeft ' },\n { value: 'topCenter', label: 'topCenter' },\n { value: 'topRight', label: 'topRight' },\n { value: 'bottomLeft', label: 'bottomLeft' },\n { value: 'bottomCenter', label: 'bottomCenter' },\n { value: 'bottomRight', label: 'bottomRight' }\n ]\n };\n },\n computed: {\n pageSizeList() {\n const pageSizeOptions = this.optionModel.pagination.pageSizeOptions.map(item =>\n Number(item)\n );\n if (pageSizeOptions.length === 0) {\n return [];\n }\n return pageSizeOptions.sort((a, b) => a - b);\n },\n selectPosition: {\n get() {\n return this.optionModel.pagination.position[0];\n },\n set(value) {\n this.optionModel.pagination.position[0] = value;\n }\n }\n },\n methods: {\n pageSizeOptionsChange() {\n this.optionModel.pagination.pageSize = this.pageSizeList[0] || 20;\n },\n editPagination() {\n this.visible = true;\n }\n }\n };\n</script>\n\n<style lang=\"scss\">\n .editor-Selection-drawer {\n .ant-drawer-body {\n padding: 10px;\n }\n\n .editor-Selection-form {\n .ant-form-item {\n margin-bottom: 12px;\n }\n }\n }\n</style>\n"],"names":["_sfc_main","i18n","pageSizeOptions","item","a","b","value","_createVNode","_component_a_form_item","_ctx","_component_a_space","_component_a_switch","$props","_cache","$event","_createBlock","_component_a_button","$options","_component_a_drawer","$data","_component_a_form","_component_a_select","_createElementBlock","_Fragment","_renderList","_component_a_select_option"],"mappings":";;;;AA4DI,MAAKA,IAAU;AAAA,EACX,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,OAAO;AAAA,IACH,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEjB,OAAO;AACH,WAAO;AAAA,MACH,SAAS;AAAA,MACT,qBAAqB,CAAC,MAAM,MAAM,MAAM,KAAK;AAAA,MAC7C,cAAc;AAAA,QACV,EAAE,OAAO,YAAY,OAAO;QAC5B,EAAE,OAAO,aAAa,OAAO;QAC7B,EAAE,OAAO,YAAY,OAAO;QAC5B,EAAE,OAAO,cAAc,OAAO;QAC9B,EAAE,OAAO,gBAAgB,OAAO;QAChC,EAAE,OAAO,eAAe,OAAO,cAAY;AAAA,MAC/C;AAAA;EAER;AAAA,EACA,UAAU;AAAA,IACN,eAAe;AACX,YAAMC,IAAkB,KAAK,YAAY,WAAW,gBAAgB;AAAA,QAAI,CAAAC,MACpE,OAA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AFD,OAAM,oBAAmB,GAAA;AAAA,yBAClC,MAAqE;AAAA,gBAArED,EAAqEI,GAAA;AAAA,kBAAnD,SAASC,EAAA,YAAY,WAAW;AAAA,6DAAvBA,EAAA,YAAY,WAAW,kBAAeE;AAAA;;;;YAErEP,EAEcC,GAAA,EAFD,OAAM,QAAO,GAAA;AAAA,yBACtB,MAAmE;AAAA,gBAAnED,EAAmEc,GAAA;AAAA,kBAAjD,OAAOJ,EAAA;AAAA,2DAAAA,EAAA,iBAAcH;AAAA,kBAAG,SAASK,EAAA;AAAA;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table-rowKey-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-rowKey-editor.vue"],"sourcesContent":["<template>\n <a-form-item label=\"列表主键(唯一性)\">\n <a-input v-model:value.trim=\"optionModel.rowKey\" />\n </a-form-item>\n</template>\n\n<script>\n export default {\n name: 'rowKey-editor',\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {};\n },\n methods: {}\n };\n</script>\n"],"names":["_sfc_main","_createBlock","_component_a_form_item","_createVNode","_component_a_input","$props","_cache","$event"],"mappings":";;AAOE,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEf,OAAO;AACL,WAAO,CAAA;AAAA;
|
|
1
|
+
{"version":3,"file":"data-table-rowKey-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-rowKey-editor.vue"],"sourcesContent":["<template>\n <a-form-item label=\"列表主键(唯一性)\">\n <a-input v-model:value.trim=\"optionModel.rowKey\" />\n </a-form-item>\n</template>\n\n<script>\n export default {\n name: 'rowKey-editor',\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {};\n },\n methods: {}\n };\n</script>\n"],"names":["_sfc_main","_createBlock","_component_a_form_item","_createVNode","_component_a_input","$props","_cache","$event"],"mappings":";;AAOE,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEf,OAAO;AACL,WAAO,CAAA;AAAA,EACT;AAAA,EACA,SAAS,CAAA;;;;cAhBXC,EAEcC,GAAA,EAFD,OAAM,eAAW;AAAA,eAC5B,MAAmD;AAAA,MAAnDC,EAAmDC,GAAA;AAAA,QAAlC,OAAYC,EAAA,YAAY;AAAA,QAAZ,kBAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAAAF,EAAA,YAAY,SAAME;AAAA,wBAAtC,EAAA,MAAA,GAAA;AAAA;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table-selections-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-selections-editor.vue"],"sourcesContent":["<template>\n <a-form-item label=\"启用左侧勾选设置\">\n <a-space>\n <a-switch v-model:checked=\"optionModel.rowSelection.hasRowSelection\" />\n <a-button\n type=\"primary\"\n plain\n shape=\"round\"\n @click=\"editSelections\"\n v-if=\"optionModel.rowSelection.hasRowSelection\"\n >\n 编辑\n </a-button>\n </a-space>\n </a-form-item>\n <a-drawer\n class=\"editor-Selection-drawer\"\n v-model:open=\"visible\"\n title=\"左侧勾选设置\"\n placement=\"right\"\n >\n <a-form class=\"editor-Selection-form\" :model=\"optionModel.rowSelection\" layout=\"horizontal\">\n <a-form-item label=\"固定在左边\">\n <a-switch v-model:checked=\"optionModel.rowSelection.fixed\" />\n </a-form-item>\n <a-form-item label=\"当数据被删除时仍然保留选项的 key\">\n <a-switch v-model:checked=\"optionModel.rowSelection.preserveSelectedRowKeys\" />\n </a-form-item>\n <a-form-item label=\"自定义列表选择框宽度\">\n <a-input-number\n :min=\"20\"\n :max=\"200\"\n v-model:value=\"optionModel.rowSelection.columnWidth\"\n />\n </a-form-item>\n <a-form-item label=\"自定义列表选择框标题\">\n <a-input v-model:value=\"optionModel.rowSelection.columnTitle\" />\n </a-form-item>\n <a-form-item label=\"onChange\">\n <a-button\n plain\n shape=\"round\"\n :class=\"[!!optionModel.rowSelection.onChange ? 'button-text-highlight' : '']\"\n @click=\"editOnChange\"\n >\n {{ i18nt('designer.setting.addEventHandler') }}\n </a-button>\n </a-form-item>\n </a-form>\n </a-drawer>\n <CodeModalEditor\n v-model=\"optionModel.rowSelection.onChange\"\n ref=\"CodeModalEditorRef\"\n :title=\"`onChange事件`\"\n :isShowEventHeader=\"true\"\n :event-header=\"`function onChange(selectedRowKeys, selectedRows) {`\"\n />\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n import CodeModalEditor from '@/components/code-editor/code-modal-editor.vue';\n\n export default {\n name: 'rowSelection-editor',\n mixins: [i18n],\n components: { CodeModalEditor },\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n visible: false,\n eventParams: []\n };\n },\n methods: {\n editSelections() {\n this.visible = true;\n },\n editOnChange() {\n this.$refs.CodeModalEditorRef.open(this.optionModel.rowSelection.onChange);\n }\n }\n };\n</script>\n\n<style lang=\"scss\">\n .editor-Selection-drawer {\n .ant-drawer-body {\n padding: 10px;\n }\n\n .editor-Selection-form {\n .ant-form-item {\n margin-bottom: 12px;\n }\n }\n }\n</style>\n"],"names":["_sfc_main","i18n","CodeModalEditor","_createVNode","_component_a_form_item","_component_a_space","_component_a_switch","$props","$event","_createBlock","_component_a_button","$options","_cache","_component_a_drawer","$data","_component_a_form","_component_a_input_number","_component_a_input","_normalizeClass","_ctx","_component_CodeModalEditor"],"mappings":";;;;;AA+DI,MAAKA,IAAU;AAAA,EACX,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,YAAY,EAAA,iBAAEC,EAAc;AAAA,EAC5B,OAAO;AAAA,IACH,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEjB,OAAO;AACH,WAAO;AAAA,MACH,SAAS;AAAA,MACT,aAAa,CAAA;AAAA
|
|
1
|
+
{"version":3,"file":"data-table-selections-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-selections-editor.vue"],"sourcesContent":["<template>\n <a-form-item label=\"启用左侧勾选设置\">\n <a-space>\n <a-switch v-model:checked=\"optionModel.rowSelection.hasRowSelection\" />\n <a-button\n type=\"primary\"\n plain\n shape=\"round\"\n @click=\"editSelections\"\n v-if=\"optionModel.rowSelection.hasRowSelection\"\n >\n 编辑\n </a-button>\n </a-space>\n </a-form-item>\n <a-drawer\n class=\"editor-Selection-drawer\"\n v-model:open=\"visible\"\n title=\"左侧勾选设置\"\n placement=\"right\"\n >\n <a-form class=\"editor-Selection-form\" :model=\"optionModel.rowSelection\" layout=\"horizontal\">\n <a-form-item label=\"固定在左边\">\n <a-switch v-model:checked=\"optionModel.rowSelection.fixed\" />\n </a-form-item>\n <a-form-item label=\"当数据被删除时仍然保留选项的 key\">\n <a-switch v-model:checked=\"optionModel.rowSelection.preserveSelectedRowKeys\" />\n </a-form-item>\n <a-form-item label=\"自定义列表选择框宽度\">\n <a-input-number\n :min=\"20\"\n :max=\"200\"\n v-model:value=\"optionModel.rowSelection.columnWidth\"\n />\n </a-form-item>\n <a-form-item label=\"自定义列表选择框标题\">\n <a-input v-model:value=\"optionModel.rowSelection.columnTitle\" />\n </a-form-item>\n <a-form-item label=\"onChange\">\n <a-button\n plain\n shape=\"round\"\n :class=\"[!!optionModel.rowSelection.onChange ? 'button-text-highlight' : '']\"\n @click=\"editOnChange\"\n >\n {{ i18nt('designer.setting.addEventHandler') }}\n </a-button>\n </a-form-item>\n </a-form>\n </a-drawer>\n <CodeModalEditor\n v-model=\"optionModel.rowSelection.onChange\"\n ref=\"CodeModalEditorRef\"\n :title=\"`onChange事件`\"\n :isShowEventHeader=\"true\"\n :event-header=\"`function onChange(selectedRowKeys, selectedRows) {`\"\n />\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n import CodeModalEditor from '@/components/code-editor/code-modal-editor.vue';\n\n export default {\n name: 'rowSelection-editor',\n mixins: [i18n],\n components: { CodeModalEditor },\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n visible: false,\n eventParams: []\n };\n },\n methods: {\n editSelections() {\n this.visible = true;\n },\n editOnChange() {\n this.$refs.CodeModalEditorRef.open(this.optionModel.rowSelection.onChange);\n }\n }\n };\n</script>\n\n<style lang=\"scss\">\n .editor-Selection-drawer {\n .ant-drawer-body {\n padding: 10px;\n }\n\n .editor-Selection-form {\n .ant-form-item {\n margin-bottom: 12px;\n }\n }\n }\n</style>\n"],"names":["_sfc_main","i18n","CodeModalEditor","_createVNode","_component_a_form_item","_component_a_space","_component_a_switch","$props","$event","_createBlock","_component_a_button","$options","_cache","_component_a_drawer","$data","_component_a_form","_component_a_input_number","_component_a_input","_normalizeClass","_ctx","_component_CodeModalEditor"],"mappings":";;;;;AA+DI,MAAKA,IAAU;AAAA,EACX,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,YAAY,EAAA,iBAAEC,EAAc;AAAA,EAC5B,OAAO;AAAA,IACH,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEjB,OAAO;AACH,WAAO;AAAA,MACH,SAAS;AAAA,MACT,aAAa,CAAA;AAAA;EAErB;AAAA,EACA,SAAS;AAAA,IACL,iBAAiB;AACb,WAAK,UAAU;AAAA,IACnB;AAAA,IACA,eAAe;AACX,WAAK,MAAM,mBAAmB,KAAK,KAAK,YAAY,aAAa,QAAQ;AAAA,IAC7E;AAAA,EACJ;;;;;IApFJC,EAacC,GAAA,EAbD,OAAM,WAAU,GAAA;AAAA,iBACzB,MAWU;AAAA,QAXVD,EAWUE,GAAA,MAAA;AAAA,qBAVN,MAAuE;AAAA,YAAvEF,EA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AC3B,MAAgE;AAAA,gBAAhED,EAAgEc,GAAA;AAAA,kBAA/C,OAAOV,EAAA,YAAY,aAAa;AAAA,2DAAzBA,EAAA,YAAY,aAAa,cAAWC;AAAA;;;;YAEhEL,EAScC,GAAA,EATD,OAAM,WAAU,GAAA;AAAA,yBACzB,MAOW;AAAA,gBAPXD,EAOWO,GAAA;AAAA,kBANP,OAAA;AAAA,kBACA,OAAM;AAAA,kBACL,OAAKQ,EAAA,CAAKX,EAAA,YAAY,aAAa,WAAQ,0BAAA,EAAA,CAAA;AAAA,kBAC3C,SAAOI,EAAA;AAAA;6BAER,MAA+C;AAAA,wBAA5CQ,EAAA,MAAK,kCAAA,CAAA,GAAA,CAAA;AAAA;;;;;;;;;;;;IAKxBhB,EAMEiB,GAAA;AAAA,kBALWb,EAAA,YAAY,aAAa;AAAA,oDAAzBA,EAAA,YAAY,aAAa,WAAQC;AAAA,MAC1C,KAAI;AAAA,MACH,OAAO;AAAA,MACP,mBAAmB;AAAA,MACnB,gBAAc;AAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table-showButtonsColumn-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-showButtonsColumn-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.showButtonsColumn')\">\n <a-space>\n <a-switch v-model:checked=\"optionModel.showButtonsColumn\" />\n <a-button\n v-if=\"!!optionModel.showButtonsColumn\"\n type=\"primary\"\n shape=\"round\"\n @click=\"editButtonsColumn\"\n >\n {{ i18nt('designer.setting.editAction') }}\n </a-button>\n </a-space>\n </a-form-item>\n <TpfModal\n :title=\"i18nt('designer.setting.buttonsColumnEdit')\"\n v-model:visible=\"showButtonsEditDialog\"\n :show-close=\"true\"\n dialogClass=\"drag-dialog\"\n append-to-body\n :close-on-click-modal=\"false\"\n :close-on-press-escape=\"false\"\n :destroy-on-close=\"true\"\n width=\"1250px\"\n >\n <a-row :gutter=\"8\">\n <a-col :span=\"11\">\n <a-form-item\n name=\"buttonsColumnTitle\"\n :label=\"i18nt('designer.setting.buttonsColumnTitle')\"\n >\n <a-input v-model:value=\"optionModel.buttonsColumnTitle\" />\n </a-form-item>\n </a-col>\n <a-col :span=\"6\">\n <a-form-item\n name=\"buttonsColumnWidth\"\n :label=\"i18nt('designer.setting.buttonsColumnWidth')\"\n >\n <a-input-number v-model:value=\"optionModel.buttonsColumnWidth\" />\n </a-form-item>\n </a-col>\n <a-col :span=\"5\">\n <a-form-item\n name=\"buttonsColumnFixed\"\n :label=\"i18nt('designer.setting.fixedColumn')\"\n >\n <a-select\n v-model:value=\"optionModel.buttonsColumnFixed\"\n allowClear\n style=\"width: 100%\"\n >\n <a-select-option value=\"left\">left</a-select-option>\n <a-select-option value=\"right\">right</a-select-option>\n </a-select>\n </a-form-item>\n </a-col>\n </a-row>\n\n <ActionButtonListDialog v-model:data=\"optionModel.operationButtons\" parmas=\"scope\" />\n\n <template #footer>\n <div class=\"dialog-footer\">\n <a-button size=\"default\" @click=\"showButtonsEditDialog = false\">\n {{ i18nt('designer.hint.closePreview') }}\n </a-button>\n </div>\n </template>\n </TpfModal>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n import ActionButtonListDialog from '@/components/public/ActionButtonListDialog.vue';\n import { TpfModal } from 'tmgc2-share';\n\n export default {\n name: 'showButtonsColumn-editor',\n mixins: [i18n],\n components: { ActionButtonListDialog, TpfModal },\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n showButtonsEditDialog: false\n };\n },\n methods: {\n editButtonsColumn() {\n this.showButtonsEditDialog = true;\n }\n }\n };\n</script>\n\n<style lang=\"less\" scoped>\n .button-row {\n border-bottom: 1px solid #e1e2e3;\n margin-bottom: 12px;\n }\n .drag-sort-col {\n padding-top: 8px;\n cursor: move;\n }\n</style>\n"],"names":["_sfc_main","i18n","ActionButtonListDialog","TpfModal","_hoisted_1","_createVNode","_component_a_form_item","_ctx","_component_a_space","_component_a_switch","$props","_cache","$event","_createBlock","_component_a_button","$options","_component_TpfModal","$data","_createElementVNode","_component_a_row","_component_a_col","_component_a_input","_component_a_input_number","_component_a_select","_component_a_select_option","_component_ActionButtonListDialog"],"mappings":";;;;;;AA4EI,MAAKA,IAAU;AAAA,EACX,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,YAAY,EAAE,wBAAAC,GAAwB,UAAAC;EACtC,OAAO;AAAA,IACH,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEjB,OAAO;AACH,WAAO;AAAA,MACH,uBAAuB;AAAA
|
|
1
|
+
{"version":3,"file":"data-table-showButtonsColumn-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-showButtonsColumn-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.showButtonsColumn')\">\n <a-space>\n <a-switch v-model:checked=\"optionModel.showButtonsColumn\" />\n <a-button\n v-if=\"!!optionModel.showButtonsColumn\"\n type=\"primary\"\n shape=\"round\"\n @click=\"editButtonsColumn\"\n >\n {{ i18nt('designer.setting.editAction') }}\n </a-button>\n </a-space>\n </a-form-item>\n <TpfModal\n :title=\"i18nt('designer.setting.buttonsColumnEdit')\"\n v-model:visible=\"showButtonsEditDialog\"\n :show-close=\"true\"\n dialogClass=\"drag-dialog\"\n append-to-body\n :close-on-click-modal=\"false\"\n :close-on-press-escape=\"false\"\n :destroy-on-close=\"true\"\n width=\"1250px\"\n >\n <a-row :gutter=\"8\">\n <a-col :span=\"11\">\n <a-form-item\n name=\"buttonsColumnTitle\"\n :label=\"i18nt('designer.setting.buttonsColumnTitle')\"\n >\n <a-input v-model:value=\"optionModel.buttonsColumnTitle\" />\n </a-form-item>\n </a-col>\n <a-col :span=\"6\">\n <a-form-item\n name=\"buttonsColumnWidth\"\n :label=\"i18nt('designer.setting.buttonsColumnWidth')\"\n >\n <a-input-number v-model:value=\"optionModel.buttonsColumnWidth\" />\n </a-form-item>\n </a-col>\n <a-col :span=\"5\">\n <a-form-item\n name=\"buttonsColumnFixed\"\n :label=\"i18nt('designer.setting.fixedColumn')\"\n >\n <a-select\n v-model:value=\"optionModel.buttonsColumnFixed\"\n allowClear\n style=\"width: 100%\"\n >\n <a-select-option value=\"left\">left</a-select-option>\n <a-select-option value=\"right\">right</a-select-option>\n </a-select>\n </a-form-item>\n </a-col>\n </a-row>\n\n <ActionButtonListDialog v-model:data=\"optionModel.operationButtons\" parmas=\"scope\" />\n\n <template #footer>\n <div class=\"dialog-footer\">\n <a-button size=\"default\" @click=\"showButtonsEditDialog = false\">\n {{ i18nt('designer.hint.closePreview') }}\n </a-button>\n </div>\n </template>\n </TpfModal>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n import ActionButtonListDialog from '@/components/public/ActionButtonListDialog.vue';\n import { TpfModal } from 'tmgc2-share';\n\n export default {\n name: 'showButtonsColumn-editor',\n mixins: [i18n],\n components: { ActionButtonListDialog, TpfModal },\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {\n showButtonsEditDialog: false\n };\n },\n methods: {\n editButtonsColumn() {\n this.showButtonsEditDialog = true;\n }\n }\n };\n</script>\n\n<style lang=\"less\" scoped>\n .button-row {\n border-bottom: 1px solid #e1e2e3;\n margin-bottom: 12px;\n }\n .drag-sort-col {\n padding-top: 8px;\n cursor: move;\n }\n</style>\n"],"names":["_sfc_main","i18n","ActionButtonListDialog","TpfModal","_hoisted_1","_createVNode","_component_a_form_item","_ctx","_component_a_space","_component_a_switch","$props","_cache","$event","_createBlock","_component_a_button","$options","_component_TpfModal","$data","_createElementVNode","_component_a_row","_component_a_col","_component_a_input","_component_a_input_number","_component_a_select","_component_a_select_option","_component_ActionButtonListDialog"],"mappings":";;;;;;AA4EI,MAAKA,IAAU;AAAA,EACX,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,YAAY,EAAE,wBAAAC,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AAC,MAAIb,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA,8BAAJ,MAAI;AAAA;;;;wBAClCN,EAAsDmB,GAAA,EAArC,OAAM,QAAO,GAAA;AAAA,qCAAC,MAAKb,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA,8BAAL,OAAK;AAAA;;;;;;;;;;;;;;;;QAMpDN,EAAqFoB,GAAA;AAAA,UAArD,MAAMf,EAAA,YAAY;AAAA,UAAZ,iBAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAAAF,EAAA,YAAY,mBAAgBE;AAAA,UAAE,QAAO;AAAA;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table-showIndex-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-showIndex-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.showIndex')\">\n <a-switch v-model:checked=\"optionModel.showIndex\" />\n </a-form-item>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n\n export default {\n name: 'showIndex-editor',\n mixins: [i18n],\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {};\n },\n methods: {}\n };\n</script>\n"],"names":["_sfc_main","i18n","_createBlock","_component_a_form_item","_ctx","_createVNode","_component_a_switch","$props","_cache","$event"],"mappings":";;;AASE,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,OAAO;AAAA,IACL,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEf,OAAO;AACL,WAAO,CAAA;AAAA;
|
|
1
|
+
{"version":3,"file":"data-table-showIndex-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-showIndex-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.showIndex')\">\n <a-switch v-model:checked=\"optionModel.showIndex\" />\n </a-form-item>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n\n export default {\n name: 'showIndex-editor',\n mixins: [i18n],\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {};\n },\n methods: {}\n };\n</script>\n"],"names":["_sfc_main","i18n","_createBlock","_component_a_form_item","_ctx","_createVNode","_component_a_switch","$props","_cache","$event"],"mappings":";;;AASE,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,OAAO;AAAA,IACL,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEf,OAAO;AACL,WAAO,CAAA;AAAA,EACT;AAAA,EACA,SAAS,CAAA;;;;cAnBXC,EAEcC,GAAA;AAAA,IAFA,OAAOC,EAAA,MAAK,4BAAA;AAAA;eACxB,MAAoD;AAAA,MAApDC,EAAoDC,GAAA;AAAA,QAAlC,SAASC,EAAA,YAAY;AAAA,QAAZ,oBAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAAAF,EAAA,YAAY,YAASE;AAAA;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table-stripe-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-stripe-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.stripe')\">\n <a-switch v-model:checked=\"optionModel.stripe\" />\n </a-form-item>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n\n export default {\n name: 'stripe-editor',\n mixins: [i18n],\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {};\n },\n methods: {}\n };\n</script>\n"],"names":["_sfc_main","i18n","_createBlock","_component_a_form_item","_ctx","_createVNode","_component_a_switch","$props","_cache","$event"],"mappings":";;;AASE,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,OAAO;AAAA,IACL,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEf,OAAO;AACL,WAAO,CAAA;AAAA;
|
|
1
|
+
{"version":3,"file":"data-table-stripe-editor.vue.js","sources":["../../../../../../../src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-stripe-editor.vue"],"sourcesContent":["<template>\n <a-form-item :label=\"i18nt('designer.setting.stripe')\">\n <a-switch v-model:checked=\"optionModel.stripe\" />\n </a-form-item>\n</template>\n\n<script>\n import i18n from '@/utils/i18n';\n\n export default {\n name: 'stripe-editor',\n mixins: [i18n],\n props: {\n designer: Object,\n selectedWidget: Object,\n optionModel: Object\n },\n data() {\n return {};\n },\n methods: {}\n };\n</script>\n"],"names":["_sfc_main","i18n","_createBlock","_component_a_form_item","_ctx","_createVNode","_component_a_switch","$props","_cache","$event"],"mappings":";;;AASE,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,QAAQ,CAACC,CAAI;AAAA,EACb,OAAO;AAAA,IACL,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA;EAEf,OAAO;AACL,WAAO,CAAA;AAAA,EACT;AAAA,EACA,SAAS,CAAA;;;;cAnBXC,EAEcC,GAAA;AAAA,IAFA,OAAOC,EAAA,MAAK,yBAAA;AAAA;eACxB,MAAiD;AAAA,MAAjDC,EAAiDC,GAAA;AAAA,QAA/B,SAASC,EAAA,YAAY;AAAA,QAAZ,oBAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAAAF,EAAA,YAAY,SAAME;AAAA;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./data-table-tableColumns-editor.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-de5b5376"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=data-table-tableColumns-editor.vue.js.map
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import
|
|
4
|
-
import { cloneDeep as
|
|
5
|
-
import { TpfModal as
|
|
6
|
-
|
|
7
|
-
const Z = { class: "table-wrap" }, q = {
|
|
1
|
+
import { defineComponent as j, ref as b, resolveComponent as g, createElementBlock as I, openBlock as o, Fragment as q, createVNode as s, unref as p, withCtx as d, createTextVNode as h, toDisplayString as k, createElementVNode as T, createBlock as c, createCommentVNode as u, normalizeClass as G } from "vue";
|
|
2
|
+
import { useI18n as J } from "../../../../../utils/i18n.js";
|
|
3
|
+
import K from "../../../../code-editor/code-modal-editor.vue.js";
|
|
4
|
+
import { cloneDeep as D } from "lodash-es";
|
|
5
|
+
import { TpfModal as P } from "tmgc2-share";
|
|
6
|
+
const Q = { class: "table-wrap" }, X = {
|
|
8
7
|
key: 2,
|
|
9
8
|
style: { "text-align": "center" }
|
|
10
|
-
},
|
|
9
|
+
}, Y = { class: "add-btn" }, ne = /* @__PURE__ */ j({
|
|
11
10
|
name: "tableColumns-editor",
|
|
12
11
|
__name: "data-table-tableColumns-editor",
|
|
13
12
|
props: {
|
|
@@ -15,15 +14,12 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
15
14
|
selectedWidget: {},
|
|
16
15
|
optionModel: {}
|
|
17
16
|
},
|
|
18
|
-
setup(
|
|
19
|
-
|
|
20
|
-
"45beeffb8943e862ec9cbaa94614552cT1JERVI6MTAwMDc5LEVYUElSWT0xNzQ4MzA0MDAwMDAwLERPTUFJTj1zdXJlbHkuY29vbCxVTFRJTUFURT0xLEtFWVZFUlNJT049MQ=="
|
|
21
|
-
);
|
|
22
|
-
const { i18nt: a } = Y(), _ = D, x = b(null), m = b(!1), e = b([]), w = b(null), S = [
|
|
17
|
+
setup(S, { expose: W }) {
|
|
18
|
+
const { i18nt: a } = J(), _ = S, x = b(null), m = b(!1), e = b([]), w = b(null), E = [
|
|
23
19
|
{ value: "left", label: "left" },
|
|
24
20
|
{ value: "center", label: "center" },
|
|
25
21
|
{ value: "right", label: "right" }
|
|
26
|
-
],
|
|
22
|
+
], M = [
|
|
27
23
|
{
|
|
28
24
|
title: "序号",
|
|
29
25
|
dataIndex: "index",
|
|
@@ -100,12 +96,12 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
100
96
|
width: 80,
|
|
101
97
|
fixed: "right"
|
|
102
98
|
}
|
|
103
|
-
],
|
|
99
|
+
], $ = (r, i) => {
|
|
104
100
|
var v;
|
|
105
|
-
w.value = r, (v = x.value) == null || v.open(
|
|
106
|
-
},
|
|
101
|
+
w.value = r, (v = x.value) == null || v.open(i.customRender || "");
|
|
102
|
+
}, A = (r) => {
|
|
107
103
|
w.value !== null && (e.value[w.value].customRender = r);
|
|
108
|
-
},
|
|
104
|
+
}, N = () => {
|
|
109
105
|
const r = {
|
|
110
106
|
isAutoWidth: !1,
|
|
111
107
|
columnId: (/* @__PURE__ */ new Date()).getTime(),
|
|
@@ -121,22 +117,22 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
121
117
|
showSorterTooltip: !1
|
|
122
118
|
};
|
|
123
119
|
e.value.push(r), _.designer.emitHistoryChange();
|
|
124
|
-
},
|
|
120
|
+
}, V = (r) => {
|
|
125
121
|
if (e.value.length === 1)
|
|
126
122
|
return window.$message.warning(a("designer.setting.onlyOneColumnCannotBeDeleted")), !1;
|
|
127
123
|
e.value.splice(r, 1);
|
|
128
|
-
},
|
|
129
|
-
_.optionModel.tableColumns =
|
|
124
|
+
}, B = () => {
|
|
125
|
+
_.optionModel.tableColumns = D(e.value), m.value = !1;
|
|
130
126
|
}, z = () => {
|
|
131
|
-
m.value = !0, e.value =
|
|
127
|
+
m.value = !0, e.value = D(_.optionModel.tableColumns);
|
|
132
128
|
};
|
|
133
|
-
return
|
|
129
|
+
return W({
|
|
134
130
|
openSetting: z
|
|
135
|
-
}), (r,
|
|
136
|
-
const v =
|
|
137
|
-
return o(),
|
|
138
|
-
s(
|
|
139
|
-
label:
|
|
131
|
+
}), (r, i) => {
|
|
132
|
+
const v = g("a-button"), O = g("a-form-item"), C = g("a-input"), f = g("a-switch"), U = g("a-select-option"), R = g("a-select"), F = g("a-space"), H = g("s-table");
|
|
133
|
+
return o(), I(q, null, [
|
|
134
|
+
s(O, {
|
|
135
|
+
label: p(a)("designer.setting.tableColEdit")
|
|
140
136
|
}, {
|
|
141
137
|
default: d(() => [
|
|
142
138
|
s(v, {
|
|
@@ -145,43 +141,43 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
145
141
|
onClick: z
|
|
146
142
|
}, {
|
|
147
143
|
default: d(() => [
|
|
148
|
-
|
|
144
|
+
h(k(p(a)("designer.setting.editAction")), 1)
|
|
149
145
|
]),
|
|
150
146
|
_: 1
|
|
151
147
|
})
|
|
152
148
|
]),
|
|
153
149
|
_: 1
|
|
154
150
|
}, 8, ["label"]),
|
|
155
|
-
s(
|
|
156
|
-
title:
|
|
151
|
+
s(p(P), {
|
|
152
|
+
title: p(a)("designer.setting.tableColEdit"),
|
|
157
153
|
visible: m.value,
|
|
158
|
-
"onUpdate:visible":
|
|
154
|
+
"onUpdate:visible": i[2] || (i[2] = (n) => m.value = n),
|
|
159
155
|
width: "1200px"
|
|
160
156
|
}, {
|
|
161
157
|
footerRight: d(() => [
|
|
162
158
|
s(v, {
|
|
163
159
|
size: "default",
|
|
164
|
-
onClick:
|
|
160
|
+
onClick: i[1] || (i[1] = (n) => m.value = !1)
|
|
165
161
|
}, {
|
|
166
162
|
default: d(() => [
|
|
167
|
-
|
|
163
|
+
h(k(p(a)("designer.hint.cancel")), 1)
|
|
168
164
|
]),
|
|
169
165
|
_: 1
|
|
170
166
|
}),
|
|
171
167
|
s(v, {
|
|
172
168
|
size: "default",
|
|
173
169
|
type: "primary",
|
|
174
|
-
onClick:
|
|
170
|
+
onClick: B
|
|
175
171
|
}, {
|
|
176
172
|
default: d(() => [
|
|
177
|
-
|
|
173
|
+
h(k(p(a)("designer.hint.confirm")), 1)
|
|
178
174
|
]),
|
|
179
175
|
_: 1
|
|
180
176
|
})
|
|
181
177
|
]),
|
|
182
178
|
default: d(() => [
|
|
183
|
-
|
|
184
|
-
s(
|
|
179
|
+
T("div", Q, [
|
|
180
|
+
s(H, {
|
|
185
181
|
class: "tpf-surely-table",
|
|
186
182
|
"aria-hidden": "false",
|
|
187
183
|
dataSource: e.value,
|
|
@@ -194,53 +190,53 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
194
190
|
scroll: { y: 300, x: 300 },
|
|
195
191
|
pagination: !1,
|
|
196
192
|
resizable: "",
|
|
197
|
-
"row-key": (
|
|
198
|
-
columns:
|
|
193
|
+
"row-key": (n) => n.columnId,
|
|
194
|
+
columns: M
|
|
199
195
|
}, {
|
|
200
|
-
bodyCell: d(({ column:
|
|
201
|
-
|
|
196
|
+
bodyCell: d(({ column: n, record: y, index: L, recordIndexs: t }) => [
|
|
197
|
+
n.dataIndex === "dataIndex" ? (o(), c(C, {
|
|
202
198
|
key: 0,
|
|
203
199
|
value: e.value[t[0]].dataIndex,
|
|
204
200
|
"onUpdate:value": (l) => e.value[t[0]].dataIndex = l
|
|
205
201
|
}, null, 8, ["value", "onUpdate:value"])) : u("", !0),
|
|
206
|
-
|
|
202
|
+
n.dataIndex === "title" ? (o(), c(C, {
|
|
207
203
|
key: 1,
|
|
208
204
|
value: e.value[t[0]].title,
|
|
209
205
|
"onUpdate:value": (l) => e.value[t[0]].title = l
|
|
210
206
|
}, null, 8, ["value", "onUpdate:value"])) : u("", !0),
|
|
211
|
-
|
|
207
|
+
n.dataIndex === "width" ? (o(), I("div", X, [
|
|
212
208
|
s(f, {
|
|
213
209
|
"checked-children": "自动宽度",
|
|
214
210
|
checked: e.value[t[0]].isAutoWidth,
|
|
215
211
|
"onUpdate:checked": (l) => e.value[t[0]].isAutoWidth = l
|
|
216
212
|
}, null, 8, ["checked", "onUpdate:checked"]),
|
|
217
|
-
y.isAutoWidth ? u("", !0) : (o(),
|
|
213
|
+
y.isAutoWidth ? u("", !0) : (o(), c(C, {
|
|
218
214
|
key: 0,
|
|
219
215
|
value: e.value[t[0]].width,
|
|
220
216
|
"onUpdate:value": (l) => e.value[t[0]].width = l
|
|
221
217
|
}, null, 8, ["value", "onUpdate:value"]))
|
|
222
218
|
])) : u("", !0),
|
|
223
|
-
|
|
219
|
+
n.dataIndex === "show" ? (o(), c(f, {
|
|
224
220
|
key: 3,
|
|
225
221
|
checked: e.value[t[0]].show,
|
|
226
222
|
"onUpdate:checked": (l) => e.value[t[0]].show = l
|
|
227
223
|
}, null, 8, ["checked", "onUpdate:checked"])) : u("", !0),
|
|
228
|
-
|
|
224
|
+
n.dataIndex === "sorter" ? (o(), c(f, {
|
|
229
225
|
key: 4,
|
|
230
226
|
checked: e.value[t[0]].sorter,
|
|
231
227
|
"onUpdate:checked": (l) => e.value[t[0]].sorter = l
|
|
232
228
|
}, null, 8, ["checked", "onUpdate:checked"])) : u("", !0),
|
|
233
|
-
|
|
229
|
+
n.dataIndex === "resizable" ? (o(), c(f, {
|
|
234
230
|
key: 5,
|
|
235
231
|
checked: e.value[t[0]].resizable,
|
|
236
232
|
"onUpdate:checked": (l) => e.value[t[0]].resizable = l
|
|
237
233
|
}, null, 8, ["checked", "onUpdate:checked"])) : u("", !0),
|
|
238
|
-
|
|
234
|
+
n.dataIndex === "ellipsis" ? (o(), c(f, {
|
|
239
235
|
key: 6,
|
|
240
236
|
checked: e.value[t[0]].ellipsis,
|
|
241
237
|
"onUpdate:checked": (l) => e.value[t[0]].ellipsis = l
|
|
242
238
|
}, null, 8, ["checked", "onUpdate:checked"])) : u("", !0),
|
|
243
|
-
|
|
239
|
+
n.dataIndex === "fixed" ? (o(), c(R, {
|
|
244
240
|
key: 7,
|
|
245
241
|
value: e.value[t[0]].fixed,
|
|
246
242
|
"onUpdate:value": (l) => e.value[t[0]].fixed = l,
|
|
@@ -249,15 +245,15 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
249
245
|
}, {
|
|
250
246
|
default: d(() => [
|
|
251
247
|
s(U, { value: "left" }, {
|
|
252
|
-
default: d(() =>
|
|
253
|
-
|
|
248
|
+
default: d(() => i[3] || (i[3] = [
|
|
249
|
+
h("左固定")
|
|
254
250
|
])),
|
|
255
251
|
_: 1,
|
|
256
252
|
__: [3]
|
|
257
253
|
}),
|
|
258
254
|
s(U, { value: "right" }, {
|
|
259
|
-
default: d(() =>
|
|
260
|
-
|
|
255
|
+
default: d(() => i[4] || (i[4] = [
|
|
256
|
+
h("右固定")
|
|
261
257
|
])),
|
|
262
258
|
_: 1,
|
|
263
259
|
__: [4]
|
|
@@ -265,36 +261,36 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
265
261
|
]),
|
|
266
262
|
_: 2
|
|
267
263
|
}, 1032, ["value", "onUpdate:value"])) : u("", !0),
|
|
268
|
-
|
|
264
|
+
n.dataIndex === "align" ? (o(), c(R, {
|
|
269
265
|
key: 8,
|
|
270
266
|
style: {},
|
|
271
267
|
value: e.value[t[0]].align,
|
|
272
268
|
"onUpdate:value": (l) => e.value[t[0]].align = l,
|
|
273
|
-
options:
|
|
269
|
+
options: E
|
|
274
270
|
}, null, 8, ["value", "onUpdate:value"])) : u("", !0),
|
|
275
|
-
|
|
271
|
+
n.dataIndex === "customRender" ? (o(), c(v, {
|
|
276
272
|
key: 9,
|
|
277
|
-
onClick: (l) =>
|
|
278
|
-
class:
|
|
273
|
+
onClick: (l) => $(t[0], y, r.dataIndex),
|
|
274
|
+
class: G([{ "button-text-highlight": !!y.customRender }]),
|
|
279
275
|
size: "small",
|
|
280
276
|
shape: "round"
|
|
281
277
|
}, {
|
|
282
|
-
default: d(() =>
|
|
283
|
-
|
|
278
|
+
default: d(() => i[5] || (i[5] = [
|
|
279
|
+
h(" edit ")
|
|
284
280
|
])),
|
|
285
281
|
_: 2,
|
|
286
282
|
__: [5]
|
|
287
283
|
}, 1032, ["onClick", "class"])) : u("", !0),
|
|
288
|
-
|
|
284
|
+
n.dataIndex === "action" ? (o(), c(F, { key: 10 }, {
|
|
289
285
|
default: d(() => [
|
|
290
286
|
s(v, {
|
|
291
|
-
title:
|
|
287
|
+
title: p(a)("designer.setting.deleteTableColumn"),
|
|
292
288
|
size: "small",
|
|
293
|
-
onClick: (l) =>
|
|
289
|
+
onClick: (l) => V(L),
|
|
294
290
|
type: "text"
|
|
295
291
|
}, {
|
|
296
|
-
default: d(() =>
|
|
297
|
-
|
|
292
|
+
default: d(() => i[6] || (i[6] = [
|
|
293
|
+
h(" 删除 ")
|
|
298
294
|
])),
|
|
299
295
|
_: 2,
|
|
300
296
|
__: [6]
|
|
@@ -305,15 +301,15 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
305
301
|
]),
|
|
306
302
|
_: 1
|
|
307
303
|
}, 8, ["dataSource", "row-key"]),
|
|
308
|
-
|
|
304
|
+
T("div", Y, [
|
|
309
305
|
s(v, {
|
|
310
|
-
title:
|
|
306
|
+
title: p(a)("designer.setting.addTableColumn"),
|
|
311
307
|
type: "primary",
|
|
312
308
|
size: "medium",
|
|
313
|
-
onClick:
|
|
309
|
+
onClick: i[0] || (i[0] = (n) => N())
|
|
314
310
|
}, {
|
|
315
311
|
default: d(() => [
|
|
316
|
-
|
|
312
|
+
h(k(p(a)("designer.setting.addTableColumn")), 1)
|
|
317
313
|
]),
|
|
318
314
|
_: 1
|
|
319
315
|
}, 8, ["title"])
|
|
@@ -322,11 +318,11 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
322
318
|
]),
|
|
323
319
|
_: 1
|
|
324
320
|
}, 8, ["title", "visible"]),
|
|
325
|
-
s(
|
|
326
|
-
onSave:
|
|
321
|
+
s(K, {
|
|
322
|
+
onSave: A,
|
|
327
323
|
ref_key: "CodeModalEditorRef",
|
|
328
324
|
ref: x,
|
|
329
|
-
title:
|
|
325
|
+
title: p(a)("designer.setting.renderFunction"),
|
|
330
326
|
"fn-params": "scope"
|
|
331
327
|
}, null, 8, ["title"])
|
|
332
328
|
], 64);
|
|
@@ -334,6 +330,6 @@ const Z = { class: "table-wrap" }, q = {
|
|
|
334
330
|
}
|
|
335
331
|
});
|
|
336
332
|
export {
|
|
337
|
-
|
|
333
|
+
ne as default
|
|
338
334
|
};
|
|
339
335
|
//# sourceMappingURL=data-table-tableColumns-editor.vue2.js.map
|