@gct-paas/core-web 0.1.6-dev.1 → 0.1.6-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ColorPicker-BDeYRWA2.js +1 -0
- package/dist/JsBarcode-DY53cVJ6.js +1 -0
- package/dist/_plugin-vue_export-helper-CGzGcWFX.js +1 -0
- package/dist/chunk-DPOkwzLC.js +1 -0
- package/dist/{cropper-DPh9NaIi.js → cropper-DK_hFgpO.js} +1 -1
- package/dist/{de_DE-BY1He8Sf.js → de_DE-B3f8kAv-.js} +1 -1
- package/dist/defineProperty-Co6UJKQ3.js +1 -0
- package/dist/diagram-config-item-C5Ha2XJq.js +1 -0
- package/dist/diagram-config-item-reverse-ChoxnW-Z.js +1 -0
- package/dist/diagram-config-item-virtual-Cbmggfwt.js +1 -0
- package/dist/{en_US-CuX-vrWy.js → en_US-BSG3Kz6v.js} +1 -1
- package/dist/{es_ES-BqHRjpc9.js → es_ES-BGP8IOmQ.js} +1 -1
- package/dist/{fr_FR-C4TFcMTv.js → fr_FR-Y-6CzjUq.js} +1 -1
- package/dist/hooks-yX21uJ6d.js +1 -0
- package/dist/icon-next-picker-DYiHqnNR.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/{ja_JP-CgXnA74i.js → ja_JP-CDlH1v8M.js} +1 -1
- package/dist/loader.esm.min.js +1 -1
- package/dist/monaco-editor-CQJ9TMzD.js +1 -0
- package/dist/{pt_PT-C0ALlHDr.js → pt_PT-N-iIoE2_.js} +1 -1
- package/dist/relationship-diagram-config-DstwwXCO.js +1 -0
- package/dist/rich-editor-DVOriJH0.js +1 -0
- package/dist/{ru_RU-D39vUeFW.js → ru_RU--ESLRHrj.js} +1 -1
- package/dist/template-Dt6RJclf.js +1 -0
- package/dist/{tr_TR-Cm3P61iH.js → tr_TR-BOIykdZO.js} +1 -1
- package/dist/useMonacoEditor-DqSQTg7b.js +1 -0
- package/dist/{vi_VN-BZ_iPKuE.js → vi_VN-CmVoM2Rw.js} +1 -1
- package/dist/{zh_CN-DY_wA21D.js → zh_CN-DhsO5Qwx.js} +1 -1
- package/dist/{zh_TW-A1Y7MG2g.js → zh_TW-DWdp2kVo.js} +1 -1
- package/es/components/I18nSelect/src/i18n-select-btn.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-btn.vue_vue_type_script_setup_true_name_i18n-select-btn_lang.mjs +4 -1
- package/es/components/I18nSelect/src/{i18n-select-btn.vue_vue_type_style_index_0_scoped_b86f4068_lang.css → i18n-select-btn.vue_vue_type_style_index_0_scoped_ab917ea8_lang.css} +18 -13
- package/es/components/TreeEx/tree-ex.mjs +3 -0
- package/es/components/UserPick/src/user-pick.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/base-button/base-button.vue.mjs +1 -1
- package/es/components/copy-module-key/copy-module-key.vue_vue_type_script_setup_true_name_copy-module-key_lang.mjs +3 -0
- package/es/components/field-cascader/src/hooks.d.ts +1 -0
- package/es/components/field-tree-select/field-sort-popover.vue_vue_type_script_setup_true_lang.mjs +2 -0
- package/es/components/field-tree-select/field-tree-select.vue_vue_type_script_setup_true_lang.mjs +3 -0
- package/es/components/icon-next-picker/icon-next-picker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs +6 -3
- package/es/components/icon-next-picker/icon-next-picker.vue_vue_type_style_index_0_lang.css +3 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +3 -1
- package/es/components/label-design/components/rich-editor/index.d.ts +22 -1
- package/es/components/label-design/components/rich-editor/index.mjs +5 -1
- package/es/components/label-design/components/rich-editor/index.vue.d.ts +4 -4
- package/es/components/label-design/components/rich-editor/index.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/label-design/components/widgets/BarCode.vue.mjs +2 -2
- package/es/components/label-design/components/widgets/BarCode.vue_vue_type_script_setup_true_name_BAR_CODE_lang.mjs +28 -18
- package/es/components/label-design/components/widgets/{BarCode.vue_vue_type_style_index_0_scoped_492a6f00_lang.css → BarCode.vue_vue_type_style_index_0_scoped_abb7a450_lang.css} +3 -3
- package/es/components/label-design/index.mjs +1 -1
- package/es/components/label-design/modal/index.d.ts +1 -1
- package/es/components/label-design/modal/index.mjs +6 -6
- package/es/components/label-design/modal/rich-editor-modal.vue.d.ts +60 -0
- package/es/components/label-design/modal/rich-editor-modal.vue.mjs +2 -2
- package/es/components/label-design/modal/rich-editor-modal.vue_vue_type_script_setup_true_lang.mjs +5 -6
- package/es/components/label-design/modal/rich-editor-modal.vue_vue_type_style_index_0_scoped_8a4eda15_lang.css +3 -0
- package/es/components/label-design/modal/template.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/label-design/panels/modals/diff-modal.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/label-design/panels/panel.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/label-design/panels/widget/components/label-params-select.vue_vue_type_script_setup_true_lang.mjs +7 -0
- package/es/components/label-design/panels/widget/controls/LabelParamsSelect.vue_vue_type_script_setup_true_name_label-params-select_lang.mjs +7 -0
- package/es/components/label-design/panels/widget/controls/VariableSelect.vue_vue_type_script_setup_true_name_variable-select_lang.mjs +1 -1
- package/es/components/label-design/panels/widget/controls/labelTemplate.vue.mjs +2 -2
- package/es/components/label-design/panels/widget/controls/labelTemplate.vue_vue_type_script_setup_true_lang.mjs +1 -16
- package/es/components/label-design/panels/widget/controls/labelTemplate.vue_vue_type_style_index_0_scoped_c628d318_lang.css +10 -0
- package/es/components/label-design/stage/stage.vue.d.ts +9 -0
- package/es/components/label-design/stage/stage.vue.mjs +2 -2
- package/es/components/label-design/stage/stage.vue_vue_type_script_setup_true_lang.mjs +5 -4
- package/es/components/label-design/stage/{stage.vue_vue_type_style_index_0_scoped_142d3d35_lang.css → stage.vue_vue_type_style_index_0_scoped_9275e9fb_lang.css} +8 -8
- package/es/components/layout/view-container/view-container.d.ts +1 -11
- package/es/components/layout/view-container/view-container.mjs +10 -14
- package/es/components/overlay-scrollbars/gct-overlay-scrollbars.mjs +16 -0
- package/es/components/paas-bpmn-log/components/approval-node.vue.mjs +2 -2
- package/es/components/paas-bpmn-log/components/approval-node.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/es/components/paas-bpmn-log/components/{approval-node.vue_vue_type_style_index_0_scoped_a88d7ef9_lang.css → approval-node.vue_vue_type_style_index_0_scoped_a8065b24_lang.css} +9 -9
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue.mjs +2 -2
- package/es/components/paas-bpmn-log/paas-bpmn-log.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/es/components/paas-bpmn-log/{paas-bpmn-log.vue_vue_type_style_index_0_scoped_c85122b0_lang.css → paas-bpmn-log.vue_vue_type_style_index_0_scoped_eb574523_lang.css} +9 -9
- package/es/components/select-user-modal/deptUser.vue.d.ts +9 -0
- package/es/components/select-user-modal/deptUser.vue.mjs +7 -0
- package/es/components/select-user-modal/deptUser.vue_vue_type_script_setup_true_name_deptUser_lang.mjs +296 -0
- package/es/components/select-user-modal/deptUser.vue_vue_type_style_index_0_scoped_02dff7bf_lang.css +40 -0
- package/es/components/select-user-modal/index.d.ts +2 -0
- package/es/components/select-user-modal/index.mjs +1 -0
- package/es/components/select-user-modal/range-role.vue.d.ts +9 -0
- package/es/components/select-user-modal/range-role.vue.mjs +7 -0
- package/es/components/select-user-modal/range-role.vue_vue_type_script_setup_true_name_role_lang.mjs +137 -0
- package/es/components/select-user-modal/range-role.vue_vue_type_style_index_0_scoped_1241bcdf_lang.css +34 -0
- package/es/components/select-user-modal/select-user-modal.vue.d.ts +12 -0
- package/es/components/select-user-modal/select-user-modal.vue.mjs +7 -0
- package/es/components/select-user-modal/select-user-modal.vue_vue_type_script_setup_true_name_select-user-modal_lang.mjs +123 -0
- package/es/components/select-user-modal/select-user-modal.vue_vue_type_style_index_0_scoped_2c0f184c_lang.css +14 -0
- package/es/components/select-user-modal/userGroup.vue.d.ts +9 -0
- package/es/components/select-user-modal/userGroup.vue.mjs +7 -0
- package/es/components/select-user-modal/userGroup.vue_vue_type_script_setup_true_name_userGroup_lang.mjs +149 -0
- package/es/components/select-user-modal/userGroup.vue_vue_type_style_index_0_scoped_47d1cbaa_lang.css +19 -0
- package/es/components/serial-number/serial-number-item.vue.mjs +2 -2
- package/es/components/serial-number/serial-number-item.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/serial-number/serial-number-item.vue_vue_type_style_index_0_scoped_f992d0b8_lang.css +67 -0
- package/es/create-app-vue.d.ts +2 -2
- package/es/create-app-vue.mjs +7 -5
- package/es/index.d.ts +5 -1
- package/es/index.mjs +37 -26
- package/es/locale/sys/model.d.ts +4 -0
- package/es/modules/category/category-modal.vue.d.ts +11 -0
- package/es/modules/category/category-modal.vue.mjs +7 -0
- package/es/modules/category/category-modal.vue_vue_type_script_setup_true_name_category-modal_lang.mjs +53 -0
- package/es/modules/category/category-modal.vue_vue_type_style_index_0_scoped_b560615c_lang.css +67 -0
- package/es/modules/category/category-sider.vue.d.ts +337 -0
- package/es/modules/category/category-sider.vue.mjs +7 -0
- package/es/modules/category/category-sider.vue_vue_type_script_setup_true_name_category-sider_lang.mjs +239 -0
- package/es/modules/category/category-sider.vue_vue_type_style_index_0_scoped_5af8c1ba_lang.css +211 -0
- package/es/modules/category/hooks/useCategory.d.ts +20 -0
- package/es/modules/category/hooks/useCategory.mjs +139 -0
- package/es/modules/category/index.d.ts +2 -0
- package/es/modules/category/index.mjs +2 -0
- package/es/modules/category/type.d.ts +8 -0
- package/es/modules/color-picker/src/color-editor.vue.mjs +1 -1
- package/es/modules/data-rules-container/index.d.ts +3 -0
- package/es/modules/data-rules-container/index.mjs +2 -0
- package/es/modules/data-rules-container/src/components/header-action.vue.d.ts +10 -0
- package/es/modules/data-rules-container/src/components/header-action.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/header-action.vue_vue_type_script_setup_true_name_header-action_lang.mjs +36 -0
- package/es/modules/data-rules-container/src/components/header-action.vue_vue_type_style_index_0_scoped_4e281013_lang.css +32 -0
- package/es/modules/data-rules-container/src/components/ndo-select-cmp.vue.d.ts +8 -0
- package/es/modules/data-rules-container/src/components/ndo-select-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/ndo-select-cmp.vue_vue_type_script_setup_true_lang.mjs +266 -0
- package/es/modules/data-rules-container/src/components/perm-action-node.vue.d.ts +22 -0
- package/es/modules/data-rules-container/src/components/perm-action-node.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/perm-action-node.vue_vue_type_script_setup_true_name_perm-action-node_lang.mjs +384 -0
- package/es/modules/data-rules-container/src/components/perm-action-node.vue_vue_type_style_index_0_scoped_417c660f_lang.css +73 -0
- package/es/modules/data-rules-container/src/components/perm-root-node.vue.d.ts +3 -0
- package/es/modules/data-rules-container/src/components/perm-root-node.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/perm-root-node.vue_vue_type_script_setup_true_name_perm-root-node_lang.mjs +61 -0
- package/es/modules/data-rules-container/src/components/perm-root-node.vue_vue_type_style_index_0_scoped_ca5c9d20_lang.css +74 -0
- package/es/modules/data-rules-container/src/components/rdo-select-cmp.vue.d.ts +11 -0
- package/es/modules/data-rules-container/src/components/rdo-select-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/rdo-select-cmp.vue_vue_type_script_setup_true_lang.mjs +93 -0
- package/es/modules/data-rules-container/src/components/request-select-cmp.vue.d.ts +9 -0
- package/es/modules/data-rules-container/src/components/request-select-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/request-select-cmp.vue_vue_type_script_setup_true_name_request-select-cmp_lang.mjs +117 -0
- package/es/modules/data-rules-container/src/components/request-tree-select-cmp.vue.d.ts +3 -0
- package/es/modules/data-rules-container/src/components/request-tree-select-cmp.vue.mjs +6 -0
- package/es/modules/data-rules-container/src/components/request-tree-select-cmp.vue_vue_type_script_name_gct-select_setup_true_lang.mjs +100 -0
- package/es/modules/data-rules-container/src/components/request-tree-select-cmp.vue_vue_type_style_index_0_lang.css +21 -0
- package/es/modules/data-rules-container/src/components/select-modal-cmp.vue.d.ts +32 -0
- package/es/modules/data-rules-container/src/components/select-modal-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/select-modal-cmp.vue_vue_type_script_setup_true_name_select-modal-cmp_lang.mjs +268 -0
- package/es/modules/data-rules-container/src/components/select-more.vue.d.ts +8 -0
- package/es/modules/data-rules-container/src/components/select-more.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/select-more.vue_vue_type_script_setup_true_lang.mjs +26 -0
- package/es/modules/data-rules-container/src/components/select-userdep-cmp.vue.d.ts +12 -0
- package/es/modules/data-rules-container/src/components/select-userdep-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/select-userdep-cmp.vue_vue_type_script_setup_true_name_select-userdep-cmp_lang.mjs +103 -0
- package/es/modules/data-rules-container/src/components/tree-action-node.vue.d.ts +25 -0
- package/es/modules/data-rules-container/src/components/tree-action-node.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/tree-action-node.vue_vue_type_script_setup_true_name_tree-action-node_lang.mjs +544 -0
- package/es/modules/data-rules-container/src/components/tree-action-node.vue_vue_type_style_index_0_scoped_46368089_lang.css +67 -0
- package/es/modules/data-rules-container/src/components/tree-root-node.vue.d.ts +3 -0
- package/es/modules/data-rules-container/src/components/tree-root-node.vue.mjs +7 -0
- package/es/modules/data-rules-container/src/components/tree-root-node.vue_vue_type_script_setup_true_name_tree-root-node_lang.mjs +105 -0
- package/es/modules/data-rules-container/src/components/tree-root-node.vue_vue_type_style_index_0_scoped_37e323fb_lang.css +29 -0
- package/es/modules/data-rules-container/src/components/tree-select-cmp.vue.d.ts +3 -0
- package/es/modules/data-rules-container/src/components/tree-select-cmp.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/components/tree-select-cmp.vue_vue_type_script_name_gct-select_setup_true_lang.mjs +89 -0
- package/es/modules/data-rules-container/src/constant/config.d.ts +146 -0
- package/es/modules/data-rules-container/src/constant/config.mjs +548 -0
- package/es/modules/data-rules-container/src/constant/interface.d.ts +85 -0
- package/es/modules/data-rules-container/src/constant/interface.mjs +36 -0
- package/es/modules/data-rules-container/src/data-rules-container.vue.d.ts +45 -0
- package/es/modules/data-rules-container/src/data-rules-container.vue.mjs +6 -0
- package/es/modules/data-rules-container/src/data-rules-container.vue_vue_type_script_setup_true_name_data-rules-container_lang.mjs +234 -0
- package/es/modules/data-rules-container/src/data-rules-container.vue_vue_type_style_index_0_lang.css +149 -0
- package/es/modules/data-rules-container/src/field-role-container.vue.d.ts +14 -0
- package/es/modules/data-rules-container/src/field-role-container.vue.mjs +5 -0
- package/es/modules/data-rules-container/src/field-role-container.vue_vue_type_script_setup_true_name_field-role-container_lang.mjs +73 -0
- package/es/modules/data-rules-container/src/hooks/useDataRulesTree.d.ts +30 -0
- package/es/modules/data-rules-container/src/hooks/useDataRulesTree.mjs +317 -0
- package/es/modules/data-rules-container/src/hooks/useEmitter.d.ts +10 -0
- package/es/modules/data-rules-container/src/hooks/useRdoHooks.d.ts +37 -0
- package/es/modules/data-rules-container/src/hooks/useRdoHooks.mjs +144 -0
- package/es/modules/data-rules-container/src/hooks/useRole.d.ts +8 -0
- package/es/modules/data-rules-container/src/typing.d.ts +40 -0
- package/es/modules/gct-dnd/constants/index.mjs +12 -0
- package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.mjs +2 -0
- package/es/modules/gct-form/controller/gct-form/gct-form.controller.mjs +1 -0
- package/es/modules/gct-table/controller/gct-table/gct-table.controller.mjs +1 -0
- package/es/modules/gct-table/controller/table-item/table-item.controller.mjs +2 -0
- package/es/modules/gct-table/controller/table-row/table-row.controller.mjs +3 -0
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +1 -1
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +1 -1
- package/es/modules/global-modal/src/components/ModalWrapper.vue_vue_type_script_lang.mjs +1 -4
- package/es/modules/global-modal/src/props.mjs +6 -0
- package/es/modules/print-tmpl/icon-print-folder.svg.mjs +4 -0
- package/es/modules/print-tmpl/icon-print-printer.svg.mjs +4 -0
- package/es/modules/print-tmpl/index.d.ts +2 -0
- package/es/modules/print-tmpl/index.mjs +1 -0
- package/es/modules/print-tmpl/print-tmpl-modal.vue.d.ts +31 -0
- package/es/modules/print-tmpl/print-tmpl-modal.vue.mjs +7 -0
- package/es/modules/print-tmpl/print-tmpl-modal.vue_vue_type_script_setup_true_name_print-tmpl-modal_lang.mjs +593 -0
- package/es/modules/print-tmpl/print-tmpl-modal.vue_vue_type_style_index_0_scoped_d94551a9_lang.css +143 -0
- package/es/modules/relationship-diagram-config/cache.controller.d.ts +70 -0
- package/es/modules/relationship-diagram-config/cache.controller.mjs +128 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item/diagram-config-item.css +123 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item/diagram-config-item.d.ts +381 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item/diagram-config-item.mjs +98 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-container/diagram-config-item-container.css +71 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-container/diagram-config-item-container.d.ts +28 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-container/diagram-config-item-container.mjs +53 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-info/diagram-config-item-info.d.ts +27 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-info/diagram-config-item-info.mjs +2 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-reverse/diagram-config-item-reverse.css +107 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-reverse/diagram-config-item-reverse.d.ts +34 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-reverse/diagram-config-item-reverse.mjs +198 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-virtual/diagram-config-item-virtual.css +68 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-virtual/diagram-config-item-virtual.d.ts +31 -0
- package/es/modules/relationship-diagram-config/components/diagram-config-item-virtual/diagram-config-item-virtual.mjs +53 -0
- package/es/modules/relationship-diagram-config/components/index.d.ts +5 -0
- package/es/modules/relationship-diagram-config/components/index.mjs +5 -0
- package/es/modules/relationship-diagram-config/constant/index.d.ts +72 -0
- package/es/modules/relationship-diagram-config/constant/index.mjs +70 -0
- package/es/modules/relationship-diagram-config/hooks/index.d.ts +10 -0
- package/es/modules/relationship-diagram-config/hooks/index.mjs +19 -0
- package/es/modules/relationship-diagram-config/index.d.ts +6 -0
- package/es/modules/relationship-diagram-config/index.mjs +28 -0
- package/es/modules/relationship-diagram-config/interface/i-link-provider/i-link-provider.d.ts +57 -0
- package/es/modules/relationship-diagram-config/interface/i-node-provider/i-node-provider.d.ts +18 -0
- package/es/modules/relationship-diagram-config/interface/i-relationship-diagram-link/i-relationship-diagram-link.d.ts +80 -0
- package/es/modules/relationship-diagram-config/interface/i-relationship-diagram-node/i-relationship-diagram-node.d.ts +82 -0
- package/es/modules/relationship-diagram-config/interface/i-relationship-diagram-options/i-relationship-diagram-options.d.ts +51 -0
- package/es/modules/relationship-diagram-config/interface/i-rule-config/i-rule-config.d.ts +135 -0
- package/es/modules/relationship-diagram-config/interface/index.d.ts +6 -0
- package/es/modules/relationship-diagram-config/link.controller.d.ts +75 -0
- package/es/modules/relationship-diagram-config/link.controller.mjs +121 -0
- package/es/modules/relationship-diagram-config/node.controller.d.ts +102 -0
- package/es/modules/relationship-diagram-config/node.controller.mjs +189 -0
- package/es/modules/relationship-diagram-config/plumb-plugin/arrow-endpoint.d.ts +23 -0
- package/es/modules/relationship-diagram-config/plumb-plugin/arrow-endpoint.mjs +33 -0
- package/es/modules/relationship-diagram-config/plumb-plugin/blank-endpoint-renderer.d.ts +1 -0
- package/es/modules/relationship-diagram-config/plumb-plugin/blank-endpoint-renderer.mjs +27 -0
- package/es/modules/relationship-diagram-config/plumb-plugin/index.d.ts +3 -0
- package/es/modules/relationship-diagram-config/plumb-plugin/index.mjs +2 -0
- package/es/modules/relationship-diagram-config/providers/default-link-provider/default-link-provider.css +132 -0
- package/es/modules/relationship-diagram-config/providers/default-link-provider/default-link-provider.d.ts +21 -0
- package/es/modules/relationship-diagram-config/providers/default-link-provider/default-link-provider.mjs +184 -0
- package/es/modules/relationship-diagram-config/providers/default-node-provider/default-node-provider.d.ts +14 -0
- package/es/modules/relationship-diagram-config/providers/default-node-provider/default-node-provider.mjs +17 -0
- package/es/modules/relationship-diagram-config/providers/index.d.ts +5 -0
- package/es/modules/relationship-diagram-config/providers/index.mjs +5 -0
- package/es/modules/relationship-diagram-config/providers/reverse-node-provider/reverse-node-provider.d.ts +14 -0
- package/es/modules/relationship-diagram-config/providers/reverse-node-provider/reverse-node-provider.mjs +17 -0
- package/es/modules/relationship-diagram-config/providers/virtual-link-provider/virtual-link-provider.d.ts +16 -0
- package/es/modules/relationship-diagram-config/providers/virtual-link-provider/virtual-link-provider.mjs +26 -0
- package/es/modules/relationship-diagram-config/providers/virtual-node-provider/virtual-node-provider.d.ts +14 -0
- package/es/modules/relationship-diagram-config/providers/virtual-node-provider/virtual-node-provider.mjs +17 -0
- package/es/modules/relationship-diagram-config/relationship-diagram-config.controller.d.ts +119 -0
- package/es/modules/relationship-diagram-config/relationship-diagram-config.controller.mjs +199 -0
- package/es/modules/relationship-diagram-config/relationship-diagram-config.css +113 -0
- package/es/modules/relationship-diagram-config/relationship-diagram-config.d.ts +102 -0
- package/es/modules/relationship-diagram-config/relationship-diagram-config.mjs +104 -0
- package/es/modules/relationship-diagram-config/relationship-diagram-config.state.d.ts +44 -0
- package/es/modules/relationship-diagram-config/relationship-diagram-config.state.mjs +46 -0
- package/es/modules/relationship-diagram-config/utils/index.d.ts +1 -0
- package/es/modules/relationship-diagram-config/utils/register/register.d.ts +71 -0
- package/es/modules/relationship-diagram-config/utils/register/register.mjs +81 -0
- package/es/styles/index.css +357 -0
- package/es/utils/recursive.mjs +6 -1
- package/package.json +14 -9
- package/dist/_plugin-vue_export-helper-DUzSxwNW.js +0 -1
- package/dist/chunk-lEgNpoW5.js +0 -1
- package/dist/icon-next-picker-y8hJhkCi.js +0 -1
- package/dist/monaco-editor-g5z1cRaz.js +0 -1
- package/es/components/label-design/modal/rich-editor-modal.vue_vue_type_style_index_0_scoped_8c23f0af_lang.css +0 -3
- package/es/components/label-design/panels/widget/controls/labelTemplate.vue_vue_type_style_index_0_scoped_992e00bb_lang.css +0 -10
- package/es/components/paas-bpmn-log/hooks/useObserver.mjs +0 -46
- package/es/components/serial-number/serial-number-item.vue_vue_type_style_index_0_scoped_7baf8e25_lang.css +0 -67
- /package/dist/{objectSpread2-Cr8AaZiL.js → objectSpread2-DARadIQB.js} +0 -0
- /package/dist/{overlayscrollbars-vue-B2LfyB-V.js → overlayscrollbars-vue-Df-3wShc.js} +0 -0
- /package/es/modules/gct-table/editor/{gct-table-text/gct-table-text.css → gct-table-date/gct-table-date.css} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/modules/print-tmpl/icon-print-folder.svg
|
|
2
|
+
var icon_print_folder_default = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon_folder'%3e%3cg%20id='Group%20427318809'%3e%3cpath%20id='Subtract'%20d='M5.97207%202.19995C6.30242%202.19995%206.61145%202.3631%206.79779%202.63588L7.5%203.66382H16C16.5523%203.66382%2017%204.11153%2017%204.66382V16.95C17%2017.3642%2016.6642%2017.7%2016.25%2017.7H2C1.44772%2017.7%201%2017.2522%201%2016.7V3.19995C1%202.64767%201.44772%202.19995%202%202.19995H5.97207Z'%20fill='url(%23paint0_linear_2167_599)'/%3e%3cg%20id='Vector'%3e%3cpath%20d='M3%2017.7H2.25C2.66421%2017.7%203%2017.3642%203%2016.95V17.7Z'%20fill='%23FDB418'/%3e%3cpath%20d='M3%206.44995C3%205.89767%203.44771%205.44995%204%205.44995H18.25C18.6642%205.44995%2019%205.78574%2019%206.19995L19%2016.95C19%2017.3642%2018.6642%2017.7%2018.25%2017.7H3L3%206.44995Z'%20fill='url(%23paint1_linear_2167_599)'/%3e%3cpath%20d='M4%205.85034H18.25C18.4433%205.85034%2018.5996%206.00665%2018.5996%206.19995V16.95C18.5996%2017.1432%2018.4433%2017.2996%2018.25%2017.2996H3.40039V6.44995C3.40039%206.11858%203.66863%205.85034%204%205.85034Z'%20stroke='url(%23paint2_linear_2167_599)'%20stroke-opacity='0.85'%20stroke-width='0.8'/%3e%3c/g%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M3%2017.7H2.25C2.66421%2017.7%203%2017.3642%203%2016.95V17.7Z'%20fill='url(%23paint3_linear_2167_599)'/%3e%3cpath%20d='M3%206.44995C3%205.89767%203.44771%205.44995%204%205.44995H18.25C18.6642%205.44995%2019%205.78574%2019%206.19995L19%2016.95C19%2017.3642%2018.6642%2017.7%2018.25%2017.7H3L3%206.44995Z'%20fill='url(%23paint4_linear_2167_599)'/%3e%3c/g%3e%3cpath%20id='Rectangle%204807'%20opacity='0.9'%20d='M14.25%208.99994H16.75V9.59994H14.25V8.99994Z'%20fill='%23EE9B01'/%3e%3cpath%20id='Rectangle%204808'%20opacity='0.9'%20d='M14.25%207.80008H16.75V8.40008H14.25V7.80008Z'%20fill='%23EE9B01'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2167_599'%20x1='5.5'%20y1='3.69995'%20x2='9'%20y2='12.2'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EE9B00'/%3e%3cstop%20offset='1'%20stop-color='%23EEA300'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_2167_599'%20x1='6.5'%20y1='7.69995'%20x2='14'%20y2='17.2'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFBF35'/%3e%3cstop%20offset='1'%20stop-color='%23FFD560'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_2167_599'%20x1='2.5'%20y1='6.19995'%20x2='6'%20y2='11.7'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_2167_599'%20x1='14'%20y1='15.7'%20x2='14'%20y2='16.7'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFCF54'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23F9B700'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_2167_599'%20x1='14'%20y1='15.7'%20x2='14'%20y2='16.7'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFCF54'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23F9B700'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { icon_print_folder_default as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/modules/print-tmpl/icon-print-printer.svg
|
|
2
|
+
var icon_print_printer_default = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon_printer'%3e%3cg%20id='Group%20427319057'%3e%3cpath%20id='Rectangle%204856'%20d='M4.32373%203.3C4.32373%203.13431%204.45805%203%204.62373%203L15.3709%203C15.5366%203%2015.6709%203.13431%2015.6709%203.3V7L4.32373%207V3.3Z'%20fill='%2388898D'/%3e%3crect%20id='Rectangle%204857'%20x='5.5'%20y='1.5'%20width='9'%20height='5'%20fill='%23DDDFE1'/%3e%3cg%20id='Mask%20group'%3e%3cmask%20id='mask0_2169_716'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='6'%20width='18'%20height='11'%3e%3cpath%20id='Union'%20d='M19%2015.5C19%2016.0523%2018.5523%2016.5%2018%2016.5H2C1.44772%2016.5%201%2016.0523%201%2015.5V10.3117C1%209.77409%201.08671%209.23999%201.25678%208.72997L1.77246%207.18359C1.90865%206.77542%202.29039%206.50002%202.7207%206.5H17.2793C17.7096%206.50002%2018.0914%206.77542%2018.2275%207.18359L18.7432%208.72997C18.9133%209.23999%2019%209.77409%2019%2010.3117V15.5Z'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_2169_716)'%3e%3cpath%20id='Union_2'%20d='M19%2015.5C19%2016.0523%2018.5523%2016.5%2018%2016.5H2C1.44772%2016.5%201%2016.0523%201%2015.5V10.3117C1%209.77409%201.08671%209.23999%201.25678%208.72997L1.77246%207.18359C1.90865%206.77542%202.29039%206.50002%202.7207%206.5H17.2793C17.7096%206.50002%2018.0914%206.77542%2018.2275%207.18359L18.7432%208.72997C18.9133%209.23999%2019%209.77409%2019%2010.3117V15.5Z'%20fill='url(%23paint0_linear_2169_716)'/%3e%3cpath%20id='Union_3'%20d='M16.1686%2016.517C16.1686%2017.0693%2015.8702%2017.517%2015.502%2017.517L4.49089%2017.5C4.1227%2017.5%203.82422%2017.0523%203.82422%2016.5V10.0491C3.82422%209.68413%203.86418%209.32026%203.94338%208.964L4.33919%207.18359C4.42999%206.77542%204.68448%206.50002%204.97135%206.5L15.0215%206.51697C15.3084%206.51699%2015.5629%206.79239%2015.6537%207.20056L16.0495%208.98097C16.1287%209.33723%2016.1686%209.70109%2016.1686%2010.0661V16.517Z'%20fill='url(%23paint1_linear_2169_716)'/%3e%3cg%20id='Mask%20group_2'%3e%3cmask%20id='mask1_2169_716'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='6'%20width='14'%20height='6'%3e%3cpath%20id='Rectangle%204861'%20d='M3.82422%206L16.1686%206.01697V11.017L3.82422%2011V6Z'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_2169_716)'%3e%3cpath%20id='Union_4'%20d='M16.1686%2015.517C16.1686%2016.0692%2015.8702%2016.517%2015.502%2016.517L4.49089%2016.5C4.1227%2016.5%203.82422%2016.0523%203.82422%2015.5V9.91205C3.82422%209.6378%203.84678%209.36403%203.89168%209.09348L4.37308%206.19266C4.46387%205.78449%204.71836%205.50909%205.00524%205.50906L14.9876%205.52603C15.2745%205.52605%2015.529%205.80145%2015.6198%206.20962L16.1012%209.11045C16.1461%209.38099%2016.1686%209.65477%2016.1686%209.92901V15.517Z'%20fill='url(%23paint2_linear_2169_716)'/%3e%3c/g%3e%3c/g%3e%3cpath%20id='Rectangle%204859'%20d='M1%209.5H3.5V16.5H1.5C1.22386%2016.5%201%2016.2761%201%2016V9.5Z'%20fill='url(%23paint3_linear_2169_716)'/%3e%3cpath%20id='Union_5'%20d='M4%206.5L3.55442%209.17345C3.5182%209.39078%203.5%209.61073%203.5%209.83105V10.5H1V6.5H4Z'%20fill='url(%23paint4_linear_2169_716)'/%3e%3cpath%20id='Rectangle%204860'%20d='M16.5%209.5H19V16.5H16.5V9.5Z'%20fill='url(%23paint5_linear_2169_716)'/%3e%3cpath%20id='Rectangle%204859_2'%20opacity='0.3'%20d='M5.34473%207.39502L14.6389%207.35339L14.5%206.50001H5.50001L5.34473%207.39502Z'%20fill='url(%23paint6_linear_2169_716)'/%3e%3cpath%20id='Union_6'%20d='M16%206.5L16.4456%209.17345C16.4818%209.39078%2016.5%209.61073%2016.5%209.83105V10.5H19V6.5H16Z'%20fill='url(%23paint7_linear_2169_716)'/%3e%3c/g%3e%3c/g%3e%3cpath%20id='Rectangle%204858'%20d='M14.4224%2013.8896C15.3187%2013.8911%2016.0443%2014.6183%2016.0444%2015.5146V16.6426L15.9194%2016.6416L4.06689%2016.625H3.94189V15.502C3.942%2014.6038%204.67071%2013.8759%205.56885%2013.877L14.4224%2013.8896Z'%20fill='%2336363A'%20stroke='url(%23paint8_linear_2169_716)'%20stroke-width='0.25'/%3e%3cpath%20id='Rectangle%204855'%20d='M4.06689%2015.5014C4.06689%2014.9486%204.51548%2014.5006%205.06833%2014.5014L14.9211%2014.5155C15.4729%2014.5163%2015.9197%2014.9638%2015.9197%2015.5155V18.0163C15.9197%2018.2927%2015.6954%2018.5166%2015.419%2018.5163L4.56618%2018.5007C4.29032%2018.5003%204.06689%2018.2766%204.06689%2018.0007V15.5014Z'%20fill='url(%23paint9_linear_2169_716)'/%3e%3c/g%3e%3cg%20id='Mask%20group_3'%3e%3cmask%20id='mask2_2169_716'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='7'%20width='3'%20height='2'%3e%3cpath%20id='Rectangle%204862'%20d='M5.62474%207.67027C5.63945%207.57239%205.72354%207.5%205.82251%207.5L7.3%207.5C7.41046%207.5%207.5%207.58954%207.5%207.7V8.3C7.5%208.41046%207.41046%208.5%207.3%208.5H5.73231C5.61001%208.5%205.51635%208.39121%205.53454%208.27027L5.62474%207.67027Z'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_2169_716)'%3e%3cpath%20id='Rectangle%204864'%20d='M5.62474%207.67027C5.63945%207.57239%205.72354%207.5%205.82251%207.5L7.3%207.5C7.41046%207.5%207.5%207.58954%207.5%207.7V8.3C7.5%208.41046%207.41046%208.5%207.3%208.5H5.73231C5.61001%208.5%205.51635%208.39121%205.53454%208.27027L5.62474%207.67027Z'%20fill='%23D9D9D9'/%3e%3cpath%20id='Rectangle%204863'%20d='M6.53881%207.5H7.5V8.5H6.48926L6.53881%207.5Z'%20fill='url(%23paint10_linear_2169_716)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2169_716'%20x1='10'%20y1='6.5'%20x2='10'%20y2='8.14483'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2382828A'/%3e%3cstop%20offset='1'%20stop-color='%233F3F42'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_2169_716'%20x1='10'%20y1='9.5'%20x2='10'%20y2='13'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E1E5EA'/%3e%3cstop%20offset='1'%20stop-color='%23999EA1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_2169_716'%20x1='10'%20y1='9.49998'%20x2='10'%20y2='11'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%236B727A'/%3e%3cstop%20offset='1'%20stop-color='%237C7D7E'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_2169_716'%20x1='2.25'%20y1='9.5'%20x2='2.25'%20y2='16.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D4DCE2'/%3e%3cstop%20offset='1'%20stop-color='%23959696'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_2169_716'%20x1='2.5'%20y1='9.5'%20x2='2.5'%20y2='10.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DA6B2'/%3e%3cstop%20offset='1'%20stop-color='%23C9D1D9'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_2169_716'%20x1='17.75'%20y1='9.5'%20x2='17.75'%20y2='16.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D4DCE2'/%3e%3cstop%20offset='1'%20stop-color='%23959696'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_2169_716'%20x1='10'%20y1='7.35339'%20x2='10'%20y2='6.20902'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23CDD2D5'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%23CDD2D5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_2169_716'%20x1='17.5'%20y1='9.5'%20x2='17.5'%20y2='10.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DA6B2'/%3e%3cstop%20offset='1'%20stop-color='%23C9D1D9'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_2169_716'%20x1='9.9933'%20y1='14'%20x2='9.9933'%20y2='16.517'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.6'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_2169_716'%20x1='9.99999'%20y1='14.5'%20x2='9.99999'%20y2='15.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23383839'%20stop-opacity='0'/%3e%3cstop%20offset='1'%20stop-color='%2361656C'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_2169_716'%20x1='6.99463'%20y1='7.5'%20x2='6.99463'%20y2='8.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B9C0C4'/%3e%3cstop%20offset='1'%20stop-color='%2392999D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { icon_print_printer_default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./print-tmpl-modal.vue.mjs";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FormDesignEnum, PrintModeEnums, PrintTypeEnum, IModal } from '@gct-paas/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
selected?: IParams;
|
|
4
|
+
modal: IModal;
|
|
5
|
+
moduleType: PrintTypeEnum | FormDesignEnum;
|
|
6
|
+
printMode: PrintModeEnums;
|
|
7
|
+
className?: string;
|
|
8
|
+
isRdo?: boolean;
|
|
9
|
+
multiple?: boolean;
|
|
10
|
+
categoryTitle?: string | null | undefined;
|
|
11
|
+
/** 额外的搜索条件 */
|
|
12
|
+
queryParams?: IParams;
|
|
13
|
+
btwForceVisible?: boolean;
|
|
14
|
+
ignoreCase?: number;
|
|
15
|
+
modelKey?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
isRdo: boolean;
|
|
19
|
+
categoryTitle: string | null;
|
|
20
|
+
btwForceVisible: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
|
+
tableRef: {
|
|
23
|
+
$props: import('vxe-table').VxeTableProps<any> & import('vxe-table').VxeTableEventProps<any>;
|
|
24
|
+
$slots: import('vxe-table').VxeTableSlots<any>;
|
|
25
|
+
} | null;
|
|
26
|
+
btwTableRef: {
|
|
27
|
+
$props: import('vxe-table').VxeTableProps<any> & import('vxe-table').VxeTableEventProps<any>;
|
|
28
|
+
$slots: import('vxe-table').VxeTableSlots<any>;
|
|
29
|
+
} | null;
|
|
30
|
+
}, HTMLDivElement>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
+
import print_tmpl_modal_vue_vue_type_script_setup_true_name_print_tmpl_modal_lang_default from "./print-tmpl-modal.vue_vue_type_script_setup_true_name_print-tmpl-modal_lang.mjs";
|
|
3
|
+
import './print-tmpl-modal.vue_vue_type_style_index_0_scoped_d94551a9_lang.css';/* empty css */
|
|
4
|
+
//#region src/modules/print-tmpl/print-tmpl-modal.vue
|
|
5
|
+
var print_tmpl_modal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(print_tmpl_modal_vue_vue_type_script_setup_true_name_print_tmpl_modal_lang_default, [["__scopeId", "data-v-d94551a9"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { print_tmpl_modal_default as default };
|
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
import category_sider_default from "../category/category-sider.vue.mjs";
|
|
2
|
+
import "../category/index.mjs";
|
|
3
|
+
import icon_print_folder_default from "./icon-print-folder.svg.mjs";
|
|
4
|
+
import icon_print_printer_default from "./icon-print-printer.svg.mjs";
|
|
5
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, onMounted, openBlock, ref, renderList, resolveComponent, toDisplayString, unref, watch, withCtx, withKeys } from "vue";
|
|
6
|
+
import { isNil } from "lodash-es";
|
|
7
|
+
import { FormDesignEnum, PrintModeEnums, PrintTypeEnum, t, useModal, useNamespace } from "@gct-paas/core";
|
|
8
|
+
import { VxeColumn, VxeTable } from "vxe-table";
|
|
9
|
+
//#region src/modules/print-tmpl/print-tmpl-modal.vue?vue&type=script&setup=true&name=print-tmpl-modal&lang.ts
|
|
10
|
+
var _hoisted_1 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "px-2"
|
|
13
|
+
};
|
|
14
|
+
var _hoisted_2 = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "font-bold mb-3"
|
|
17
|
+
};
|
|
18
|
+
var _hoisted_3 = {
|
|
19
|
+
key: 2,
|
|
20
|
+
class: "gct-print-tmpl-modal-wrap ks-col"
|
|
21
|
+
};
|
|
22
|
+
var _hoisted_4 = { class: "print-tmpl-vxe-table-wrapper" };
|
|
23
|
+
var _hoisted_5 = { class: "print-tmpl-vxe-table-area" };
|
|
24
|
+
var _hoisted_6 = { class: "ks-row" };
|
|
25
|
+
var _hoisted_7 = { class: "gct-text-overflow" };
|
|
26
|
+
var _hoisted_8 = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "gct-custom-tag ml4px"
|
|
29
|
+
};
|
|
30
|
+
var _hoisted_9 = { class: "ks-row" };
|
|
31
|
+
var _hoisted_10 = ["title"];
|
|
32
|
+
var _hoisted_11 = { class: "pt-12px" };
|
|
33
|
+
var _hoisted_12 = {
|
|
34
|
+
key: 3,
|
|
35
|
+
class: "gct-print-tmpl-modal-right btw-visible flex flex-col h-full px-2 py-3"
|
|
36
|
+
};
|
|
37
|
+
var _hoisted_13 = { class: "print-tmpl-vxe-table-wrapper" };
|
|
38
|
+
var _hoisted_14 = { class: "print-tmpl-vxe-table-area" };
|
|
39
|
+
var _hoisted_15 = { class: "tmpl-path" };
|
|
40
|
+
var _hoisted_16 = ["src"];
|
|
41
|
+
var _hoisted_17 = ["src"];
|
|
42
|
+
var _hoisted_18 = { class: "pt-12px" };
|
|
43
|
+
var print_tmpl_modal_vue_vue_type_script_setup_true_name_print_tmpl_modal_lang_default = /* @__PURE__ */ defineComponent({
|
|
44
|
+
__name: "print-tmpl-modal",
|
|
45
|
+
props: {
|
|
46
|
+
selected: {},
|
|
47
|
+
modal: {},
|
|
48
|
+
moduleType: {},
|
|
49
|
+
printMode: {},
|
|
50
|
+
className: {},
|
|
51
|
+
isRdo: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
default: false
|
|
54
|
+
},
|
|
55
|
+
multiple: { type: Boolean },
|
|
56
|
+
categoryTitle: { default: void 0 },
|
|
57
|
+
queryParams: {},
|
|
58
|
+
btwForceVisible: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: false
|
|
61
|
+
},
|
|
62
|
+
ignoreCase: {},
|
|
63
|
+
modelKey: {}
|
|
64
|
+
},
|
|
65
|
+
setup(__props) {
|
|
66
|
+
const props = __props;
|
|
67
|
+
const ns = useNamespace("print-tmpl-modal");
|
|
68
|
+
const selectedVal = ref([]);
|
|
69
|
+
const tableRef = ref();
|
|
70
|
+
const btwTableRef = ref();
|
|
71
|
+
const pageForm = ref({
|
|
72
|
+
pageNo: 1,
|
|
73
|
+
pageSize: 20
|
|
74
|
+
});
|
|
75
|
+
const btwPageForm = ref({
|
|
76
|
+
pageNo: 1,
|
|
77
|
+
pageSize: 20
|
|
78
|
+
});
|
|
79
|
+
const activeTabKey = ref("design");
|
|
80
|
+
const total = ref(0);
|
|
81
|
+
const isLoading = ref(false);
|
|
82
|
+
const btwTotal = ref(0);
|
|
83
|
+
const isBtwLoading = ref(false);
|
|
84
|
+
const isBtwTableVisible = computed(() => props.printMode === PrintModeEnums.Server || props.btwForceVisible);
|
|
85
|
+
const categorySiderModule = computed(() => props.moduleType);
|
|
86
|
+
const firstCategoryValue = ref(computed(() => {
|
|
87
|
+
return Array.isArray(props.selected) ? props.selected?.[0]?.categoryId : props.selected?.categoryId;
|
|
88
|
+
}).value || "");
|
|
89
|
+
const formData = ref({
|
|
90
|
+
categoryId: firstCategoryValue.value,
|
|
91
|
+
name: ""
|
|
92
|
+
});
|
|
93
|
+
const btwFormData = ref({ name: "" });
|
|
94
|
+
const btwSearchValCache = ref("");
|
|
95
|
+
const labelRegex = /(?<!\\)\\(?!\\)/g;
|
|
96
|
+
const paginationAttr = computed(() => {
|
|
97
|
+
return {
|
|
98
|
+
current: pageForm.value.pageNo,
|
|
99
|
+
pageSize: pageForm.value.pageSize,
|
|
100
|
+
total: total.value,
|
|
101
|
+
showSizeChanger: true,
|
|
102
|
+
pageSizeOptions: [
|
|
103
|
+
"10",
|
|
104
|
+
"20",
|
|
105
|
+
"30"
|
|
106
|
+
],
|
|
107
|
+
showTotal: (total) => t("sys.component.table.total", { total })
|
|
108
|
+
};
|
|
109
|
+
});
|
|
110
|
+
const btwPaginationAttr = computed(() => {
|
|
111
|
+
return {
|
|
112
|
+
current: btwPageForm.value.pageNo,
|
|
113
|
+
pageSize: btwPageForm.value.pageSize,
|
|
114
|
+
total: btwTotal.value,
|
|
115
|
+
showSizeChanger: true,
|
|
116
|
+
pageSizeOptions: [
|
|
117
|
+
"10",
|
|
118
|
+
"20",
|
|
119
|
+
"30"
|
|
120
|
+
],
|
|
121
|
+
showTotal: (total) => t("sys.component.table.total", { total })
|
|
122
|
+
};
|
|
123
|
+
});
|
|
124
|
+
const tableData = ref([]);
|
|
125
|
+
const btwTableData = ref([]);
|
|
126
|
+
const moduleType2titleMap = {
|
|
127
|
+
[PrintTypeEnum.LABEL]: t("sys.pageDesigner.label"),
|
|
128
|
+
[PrintTypeEnum.RECEIPT]: t("sys.pageDesigner.document"),
|
|
129
|
+
[FormDesignEnum.EDHR]: "DHR",
|
|
130
|
+
[FormDesignEnum.ONLINE_FORM]: t("sys.pageDesigner.fieldCmp.online_form")
|
|
131
|
+
};
|
|
132
|
+
onMounted(() => {
|
|
133
|
+
nextTick(() => {
|
|
134
|
+
if (props.selected) if (Array.isArray(props.selected)) {
|
|
135
|
+
setSelectRow(props.selected);
|
|
136
|
+
selectedVal.value = [...props.selected];
|
|
137
|
+
} else {
|
|
138
|
+
setSelectRow([props.selected]);
|
|
139
|
+
selectedVal.value = [{ ...props.selected }];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
const setSelectRow = (rows) => {
|
|
144
|
+
const $table = tableRef.value;
|
|
145
|
+
if ($table) $table.setCheckboxRow(rows, true);
|
|
146
|
+
};
|
|
147
|
+
const filterName = (row) => {
|
|
148
|
+
return row.children || !props.isRdo ? row.name : row.version;
|
|
149
|
+
};
|
|
150
|
+
const isFormDesignModule = computed(() => {
|
|
151
|
+
return [FormDesignEnum.EDHR, FormDesignEnum.ONLINE_FORM].includes(props.moduleType);
|
|
152
|
+
});
|
|
153
|
+
const computedTitle = computed(() => {
|
|
154
|
+
return moduleType2titleMap[props.moduleType];
|
|
155
|
+
});
|
|
156
|
+
const categoryTitle = computed(() => {
|
|
157
|
+
if (props.categoryTitle || !isNil(props.categoryTitle)) return props.categoryTitle;
|
|
158
|
+
return t("sys.categoryOfSth", { sth: computedTitle.value });
|
|
159
|
+
});
|
|
160
|
+
const queryTableData = (data) => {
|
|
161
|
+
formData.value.categoryId = data?.key;
|
|
162
|
+
};
|
|
163
|
+
const radioChangeEvent = (params) => {
|
|
164
|
+
selectedVal.value = [{ ...params.row }];
|
|
165
|
+
};
|
|
166
|
+
const checkboxChangeEvent = ({ checked, row }) => {
|
|
167
|
+
if (checked) selectedVal.value?.push(row);
|
|
168
|
+
else selectedVal.value = selectedVal.value?.filter((e) => e.id !== row.id);
|
|
169
|
+
};
|
|
170
|
+
function handleSizeChange(current, pageSize) {
|
|
171
|
+
pageForm.value.pageNo = current;
|
|
172
|
+
pageForm.value.pageSize = pageSize;
|
|
173
|
+
getDataSource();
|
|
174
|
+
}
|
|
175
|
+
function handleBtwSizeChange(current, pageSize) {
|
|
176
|
+
btwPageForm.value.pageNo = current;
|
|
177
|
+
btwPageForm.value.pageSize = pageSize;
|
|
178
|
+
getBtwDataSource();
|
|
179
|
+
}
|
|
180
|
+
const getCategoryData = () => {};
|
|
181
|
+
const onSave = () => {
|
|
182
|
+
return {
|
|
183
|
+
ok: true,
|
|
184
|
+
params: { selected: selectedVal.value }
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
useModal(() => Promise.resolve(onSave()));
|
|
188
|
+
const getDataSource = async () => {
|
|
189
|
+
formData.value.name = formData.value.name.trim();
|
|
190
|
+
const API = _api.apaas.printDesigner.getRdoPageList;
|
|
191
|
+
isLoading.value = true;
|
|
192
|
+
const res = await API({
|
|
193
|
+
...formData.value,
|
|
194
|
+
...pageForm.value,
|
|
195
|
+
...props.queryParams || {},
|
|
196
|
+
moduleType: props.moduleType,
|
|
197
|
+
modelKey: props.modelKey
|
|
198
|
+
}) || {};
|
|
199
|
+
isLoading.value = false;
|
|
200
|
+
tableData.value = firstCategoryValue.value ? res.data?.map((e) => {
|
|
201
|
+
let item;
|
|
202
|
+
if (props.isRdo) item = {
|
|
203
|
+
...e,
|
|
204
|
+
children: e.children?.map((f) => {
|
|
205
|
+
return {
|
|
206
|
+
...f,
|
|
207
|
+
id: f.baseId + ":" + f.id,
|
|
208
|
+
categoryId: e.categoryId
|
|
209
|
+
};
|
|
210
|
+
})
|
|
211
|
+
};
|
|
212
|
+
else {
|
|
213
|
+
delete e.children;
|
|
214
|
+
item = {
|
|
215
|
+
...e,
|
|
216
|
+
id: e.baseId + ":" + e.id,
|
|
217
|
+
categoryId: formData.value.categoryId
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
return item;
|
|
221
|
+
}) || [] : [];
|
|
222
|
+
total.value = res.totalCount;
|
|
223
|
+
await nextTick();
|
|
224
|
+
const checkedVal = tree2list(tableData.value || []).find((i) => i.id == props.selected?.id);
|
|
225
|
+
console.log(tableRef.value, "tableRef.value");
|
|
226
|
+
checkedVal && tableRef.value?.setRadioRow(checkedVal);
|
|
227
|
+
props.isRdo && tableRef.value?.setAllTreeExpand(true);
|
|
228
|
+
};
|
|
229
|
+
const getBtwDataSource = async () => {
|
|
230
|
+
btwFormData.value.name = btwFormData.value.name.trim();
|
|
231
|
+
isBtwLoading.value = true;
|
|
232
|
+
_api.apaas.label.getBtwPageList({
|
|
233
|
+
...btwFormData.value,
|
|
234
|
+
...btwPageForm.value
|
|
235
|
+
}).then(async (res) => {
|
|
236
|
+
res?.data?.forEach((item) => {
|
|
237
|
+
if (item?.fullPath) {
|
|
238
|
+
const pathArr = item.fullPath?.split("/");
|
|
239
|
+
pathArr.pop();
|
|
240
|
+
pathArr.shift();
|
|
241
|
+
item.tmplPath = pathArr;
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
btwTableData.value = res.data || [];
|
|
245
|
+
btwTotal.value = res.totalCount;
|
|
246
|
+
await nextTick();
|
|
247
|
+
const checkedVal = tree2list(btwTableData.value || []).find((i) => i.id == props.selected?.id);
|
|
248
|
+
checkedVal && btwTableRef.value?.setRadioRow(checkedVal);
|
|
249
|
+
}).finally(() => {
|
|
250
|
+
isBtwLoading.value = false;
|
|
251
|
+
});
|
|
252
|
+
};
|
|
253
|
+
const handleBtwSearchChange = (e) => {
|
|
254
|
+
const val = e.target.value;
|
|
255
|
+
if (!val || val.length < btwSearchValCache.value.length) getBtwDataSource();
|
|
256
|
+
btwSearchValCache.value = val;
|
|
257
|
+
};
|
|
258
|
+
const tree2list = (arr) => {
|
|
259
|
+
let cloneTree = JSON.parse(JSON.stringify(arr));
|
|
260
|
+
function iteration(tree, level) {
|
|
261
|
+
let temp = [];
|
|
262
|
+
for (const i of tree) {
|
|
263
|
+
i.level = level;
|
|
264
|
+
temp.push(i);
|
|
265
|
+
if (i.children?.length) temp = [...temp, ...iteration(i.children, level + 1)];
|
|
266
|
+
}
|
|
267
|
+
return temp;
|
|
268
|
+
}
|
|
269
|
+
return iteration(cloneTree, 1);
|
|
270
|
+
};
|
|
271
|
+
watch(() => formData.value.categoryId, (val) => {
|
|
272
|
+
if (val) getDataSource();
|
|
273
|
+
else {
|
|
274
|
+
tableData.value = [];
|
|
275
|
+
total.value = 0;
|
|
276
|
+
}
|
|
277
|
+
}, { immediate: true });
|
|
278
|
+
watch(() => activeTabKey.value, () => {
|
|
279
|
+
if (activeTabKey.value === "btw") {
|
|
280
|
+
btwTableData.value = [];
|
|
281
|
+
btwPageForm.value.pageNo = 1;
|
|
282
|
+
getBtwDataSource();
|
|
283
|
+
} else {
|
|
284
|
+
tableData.value = [];
|
|
285
|
+
pageForm.value.pageNo = 1;
|
|
286
|
+
getDataSource();
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
watch(() => selectedVal.value, () => {
|
|
290
|
+
if (!props?.multiple && props.modal?.state) props.modal.state.okDisabled = !selectedVal.value.length;
|
|
291
|
+
}, { immediate: true });
|
|
292
|
+
return (_ctx, _cache) => {
|
|
293
|
+
const _component_a_tab_pane = resolveComponent("a-tab-pane");
|
|
294
|
+
const _component_a_tabs = resolveComponent("a-tabs");
|
|
295
|
+
const _component_a_input = resolveComponent("a-input");
|
|
296
|
+
const _component_a_form_item = resolveComponent("a-form-item");
|
|
297
|
+
const _component_a_form = resolveComponent("a-form");
|
|
298
|
+
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
299
|
+
const _component_a_pagination = resolveComponent("a-pagination");
|
|
300
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["gct-print-tmpl-modal ks-column", isBtwTableVisible.value ? "px-2 pt-4" : "p-4"]) }, [
|
|
301
|
+
isBtwTableVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_a_tabs, {
|
|
302
|
+
"active-key": activeTabKey.value,
|
|
303
|
+
"onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => activeTabKey.value = $event)
|
|
304
|
+
}, {
|
|
305
|
+
default: withCtx(() => [createVNode(_component_a_tab_pane, {
|
|
306
|
+
key: "design",
|
|
307
|
+
tab: categoryTitle.value
|
|
308
|
+
}, null, 8, ["tab"]), createVNode(_component_a_tab_pane, {
|
|
309
|
+
key: "btw",
|
|
310
|
+
tab: ".btw 标签模板 "
|
|
311
|
+
})]),
|
|
312
|
+
_: 1
|
|
313
|
+
}, 8, ["active-key"])])) : (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(categoryTitle.value), 1)),
|
|
314
|
+
!isBtwTableVisible.value || isBtwTableVisible.value && activeTabKey.value === "design" ? (openBlock(), createElementBlock("div", _hoisted_3, [createElementVNode("div", { class: normalizeClass(["gct-print-tmpl-modal-left", isBtwTableVisible.value ? "btw-visible" : ""]) }, [createVNode(unref(category_sider_default), {
|
|
315
|
+
value: firstCategoryValue.value,
|
|
316
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => firstCategoryValue.value = $event),
|
|
317
|
+
class: normalizeClass([unref(ns).e("sider")]),
|
|
318
|
+
"sider-title": "",
|
|
319
|
+
module: categorySiderModule.value,
|
|
320
|
+
"need-folder-icon": !isFormDesignModule.value,
|
|
321
|
+
readonly: "",
|
|
322
|
+
"has-title": false,
|
|
323
|
+
draggable: false,
|
|
324
|
+
"is-tree": isFormDesignModule.value,
|
|
325
|
+
"ignore-case": __props.ignoreCase,
|
|
326
|
+
onChangeValue: queryTableData,
|
|
327
|
+
onChangeCategory: getCategoryData
|
|
328
|
+
}, null, 8, [
|
|
329
|
+
"value",
|
|
330
|
+
"class",
|
|
331
|
+
"module",
|
|
332
|
+
"need-folder-icon",
|
|
333
|
+
"is-tree",
|
|
334
|
+
"ignore-case"
|
|
335
|
+
])], 2), createElementVNode("div", { class: normalizeClass(["gct-print-tmpl-modal-right flex flex-col h-full px-16px py-12px", isBtwTableVisible.value ? "btw-visible" : ""]) }, [createVNode(_component_a_form, { model: formData.value }, {
|
|
336
|
+
default: withCtx(() => [createVNode(_component_a_form_item, { label: "" }, {
|
|
337
|
+
default: withCtx(() => [createVNode(_component_a_input, {
|
|
338
|
+
value: formData.value.name,
|
|
339
|
+
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => formData.value.name = $event),
|
|
340
|
+
class: "gct-print-tmpl-input",
|
|
341
|
+
style: { "width": "224px" },
|
|
342
|
+
placeholder: unref(t)("sys.searchNameOfSth", { sth: computedTitle.value }),
|
|
343
|
+
clearable: "",
|
|
344
|
+
onKeyup: _cache[3] || (_cache[3] = withKeys(($event) => getDataSource(), ["enter"])),
|
|
345
|
+
onChange: _cache[4] || (_cache[4] = () => {
|
|
346
|
+
!formData.value.name && getDataSource();
|
|
347
|
+
})
|
|
348
|
+
}, {
|
|
349
|
+
prefix: withCtx(() => [..._cache[7] || (_cache[7] = [createElementVNode("i", { class: "iconfont icon-sousuo1" }, null, -1)])]),
|
|
350
|
+
_: 1
|
|
351
|
+
}, 8, ["value", "placeholder"])]),
|
|
352
|
+
_: 1
|
|
353
|
+
})]),
|
|
354
|
+
_: 1
|
|
355
|
+
}, 8, ["model"]), createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [createVNode(unref(VxeTable), {
|
|
356
|
+
ref_key: "tableRef",
|
|
357
|
+
ref: tableRef,
|
|
358
|
+
class: normalizeClass(["select-none", {
|
|
359
|
+
vxetable: true,
|
|
360
|
+
default: true
|
|
361
|
+
}]),
|
|
362
|
+
data: tableData.value,
|
|
363
|
+
height: "100%",
|
|
364
|
+
"min-height": "88",
|
|
365
|
+
loading: isLoading.value,
|
|
366
|
+
"loading-config": { text: " " },
|
|
367
|
+
"column-config": { resizable: true },
|
|
368
|
+
"tree-config": {},
|
|
369
|
+
"row-config": {
|
|
370
|
+
isHover: true,
|
|
371
|
+
keyField: "id"
|
|
372
|
+
},
|
|
373
|
+
"checkbox-config": __props.multiple ? {
|
|
374
|
+
highlight: true,
|
|
375
|
+
trigger: "row",
|
|
376
|
+
reserve: true,
|
|
377
|
+
checkStrictly: true
|
|
378
|
+
} : {},
|
|
379
|
+
"radio-config": __props.multiple ? {} : {
|
|
380
|
+
highlight: true,
|
|
381
|
+
trigger: "row",
|
|
382
|
+
reserve: true
|
|
383
|
+
},
|
|
384
|
+
onCheckboxChange: checkboxChangeEvent,
|
|
385
|
+
onRadioChange: radioChangeEvent
|
|
386
|
+
}, {
|
|
387
|
+
default: withCtx(() => [
|
|
388
|
+
__props.multiple ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
389
|
+
key: 0,
|
|
390
|
+
type: "checkbox",
|
|
391
|
+
width: "40"
|
|
392
|
+
})) : (openBlock(), createBlock(unref(VxeColumn), {
|
|
393
|
+
key: 1,
|
|
394
|
+
type: "radio",
|
|
395
|
+
width: "40",
|
|
396
|
+
resizable: false
|
|
397
|
+
})),
|
|
398
|
+
createVNode(unref(VxeColumn), {
|
|
399
|
+
field: "name",
|
|
400
|
+
title: unref(t)("sys.name"),
|
|
401
|
+
"show-overflow": "",
|
|
402
|
+
"tree-node": __props.isRdo
|
|
403
|
+
}, {
|
|
404
|
+
default: withCtx((scope) => [createElementVNode("div", _hoisted_6, [createVNode(_component_a_tooltip, null, {
|
|
405
|
+
title: withCtx(() => [createTextVNode(toDisplayString(filterName(scope?.row || {})), 1)]),
|
|
406
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_7, toDisplayString(filterName(scope?.row || {})), 1)]),
|
|
407
|
+
_: 2
|
|
408
|
+
}, 1024), !!scope?.row?.default && __props.isRdo ? (openBlock(), createElementBlock("div", _hoisted_8, toDisplayString(unref(t)("sys.default")), 1)) : createCommentVNode("", true)])]),
|
|
409
|
+
_: 1
|
|
410
|
+
}, 8, ["title", "tree-node"]),
|
|
411
|
+
createVNode(unref(VxeColumn), {
|
|
412
|
+
field: "description",
|
|
413
|
+
title: unref(t)("sys.description"),
|
|
414
|
+
"show-overflow": ""
|
|
415
|
+
}, {
|
|
416
|
+
default: withCtx((scope) => [createElementVNode("div", _hoisted_9, [createElementVNode("span", {
|
|
417
|
+
class: "gct-text-overflow",
|
|
418
|
+
title: scope?.row?.description
|
|
419
|
+
}, toDisplayString(scope?.row?.description), 9, _hoisted_10)])]),
|
|
420
|
+
_: 1
|
|
421
|
+
}, 8, ["title"]),
|
|
422
|
+
createVNode(unref(VxeColumn), {
|
|
423
|
+
field: "modifyUserName",
|
|
424
|
+
title: unref(t)("sys.appDesigner.modifier"),
|
|
425
|
+
width: "120",
|
|
426
|
+
"show-overflow": ""
|
|
427
|
+
}, null, 8, ["title"]),
|
|
428
|
+
createVNode(unref(VxeColumn), {
|
|
429
|
+
field: "modifyTime",
|
|
430
|
+
title: unref(t)("sys.appDesigner.modificationTime"),
|
|
431
|
+
width: "185"
|
|
432
|
+
}, null, 8, ["title"])
|
|
433
|
+
]),
|
|
434
|
+
_: 1
|
|
435
|
+
}, 8, [
|
|
436
|
+
"data",
|
|
437
|
+
"loading",
|
|
438
|
+
"checkbox-config",
|
|
439
|
+
"radio-config"
|
|
440
|
+
])]), createElementVNode("div", _hoisted_11, [createVNode(_component_a_pagination, mergeProps(paginationAttr.value, {
|
|
441
|
+
class: "pagination-total-left",
|
|
442
|
+
onChange: handleSizeChange
|
|
443
|
+
}), null, 16)])])], 2)])) : createCommentVNode("", true),
|
|
444
|
+
isBtwTableVisible.value && activeTabKey.value === "btw" ? (openBlock(), createElementBlock("div", _hoisted_12, [createVNode(_component_a_form, { model: btwFormData.value }, {
|
|
445
|
+
default: withCtx(() => [createVNode(_component_a_form_item, { label: "" }, {
|
|
446
|
+
default: withCtx(() => [createVNode(_component_a_input, {
|
|
447
|
+
value: btwFormData.value.name,
|
|
448
|
+
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => btwFormData.value.name = $event),
|
|
449
|
+
class: "gct-print-tmpl-input",
|
|
450
|
+
style: { "width": "224px" },
|
|
451
|
+
placeholder: unref(t)("sys.searchNameOfSth", { sth: "标签" }),
|
|
452
|
+
clearable: "",
|
|
453
|
+
onKeyup: _cache[6] || (_cache[6] = withKeys(($event) => getBtwDataSource(), ["enter"])),
|
|
454
|
+
onChange: handleBtwSearchChange
|
|
455
|
+
}, {
|
|
456
|
+
prefix: withCtx(() => [..._cache[8] || (_cache[8] = [createElementVNode("i", { class: "iconfont icon-sousuo1" }, null, -1)])]),
|
|
457
|
+
_: 1
|
|
458
|
+
}, 8, ["value", "placeholder"])]),
|
|
459
|
+
_: 1
|
|
460
|
+
})]),
|
|
461
|
+
_: 1
|
|
462
|
+
}, 8, ["model"]), createElementVNode("div", _hoisted_13, [createElementVNode("div", _hoisted_14, [createVNode(unref(VxeTable), {
|
|
463
|
+
ref_key: "btwTableRef",
|
|
464
|
+
ref: btwTableRef,
|
|
465
|
+
class: normalizeClass(["select-none", {
|
|
466
|
+
vxetable: true,
|
|
467
|
+
default: true
|
|
468
|
+
}]),
|
|
469
|
+
data: btwTableData.value,
|
|
470
|
+
height: "100%",
|
|
471
|
+
"min-height": "88",
|
|
472
|
+
loading: isBtwLoading.value,
|
|
473
|
+
"loading-config": { text: " " },
|
|
474
|
+
"column-config": { resizable: true },
|
|
475
|
+
"tree-config": {},
|
|
476
|
+
"row-config": {
|
|
477
|
+
isHover: true,
|
|
478
|
+
keyField: "id"
|
|
479
|
+
},
|
|
480
|
+
"checkbox-config": __props.multiple ? {
|
|
481
|
+
highlight: true,
|
|
482
|
+
trigger: "row",
|
|
483
|
+
reserve: true,
|
|
484
|
+
checkStrictly: true
|
|
485
|
+
} : {},
|
|
486
|
+
"radio-config": __props.multiple ? {} : {
|
|
487
|
+
highlight: true,
|
|
488
|
+
trigger: "row",
|
|
489
|
+
reserve: true
|
|
490
|
+
},
|
|
491
|
+
onCheckboxChange: checkboxChangeEvent,
|
|
492
|
+
onRadioChange: radioChangeEvent
|
|
493
|
+
}, {
|
|
494
|
+
default: withCtx(() => [
|
|
495
|
+
__props.multiple ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
496
|
+
key: 0,
|
|
497
|
+
type: "checkbox",
|
|
498
|
+
width: "40"
|
|
499
|
+
})) : (openBlock(), createBlock(unref(VxeColumn), {
|
|
500
|
+
key: 1,
|
|
501
|
+
type: "radio",
|
|
502
|
+
width: "40",
|
|
503
|
+
resizable: false
|
|
504
|
+
})),
|
|
505
|
+
createVNode(unref(VxeColumn), {
|
|
506
|
+
field: "name",
|
|
507
|
+
title: "标签模板名称",
|
|
508
|
+
"min-width": "120",
|
|
509
|
+
"show-overflow": ""
|
|
510
|
+
}),
|
|
511
|
+
createVNode(unref(VxeColumn), {
|
|
512
|
+
field: "modelName",
|
|
513
|
+
title: "关联模型",
|
|
514
|
+
width: "120",
|
|
515
|
+
"show-overflow": ""
|
|
516
|
+
}),
|
|
517
|
+
createVNode(unref(VxeColumn), {
|
|
518
|
+
field: "tmplPath",
|
|
519
|
+
title: "BarTender " + unref(t)("sys.labelTmplPath"),
|
|
520
|
+
"min-width": "220",
|
|
521
|
+
"show-overflow": ""
|
|
522
|
+
}, {
|
|
523
|
+
default: withCtx((scope) => [createElementVNode("span", _hoisted_15, [
|
|
524
|
+
createElementVNode("img", {
|
|
525
|
+
width: "16",
|
|
526
|
+
height: "16",
|
|
527
|
+
src: unref(icon_print_printer_default)
|
|
528
|
+
}, null, 8, _hoisted_16),
|
|
529
|
+
createElementVNode("span", null, toDisplayString(scope?.row?.printName), 1),
|
|
530
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(scope?.row?.tmplPath || [], (item, index) => {
|
|
531
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
532
|
+
_cache[9] || (_cache[9] = createTextVNode(" /", -1)),
|
|
533
|
+
createElementVNode("img", {
|
|
534
|
+
width: "16",
|
|
535
|
+
height: "16",
|
|
536
|
+
class: "ml-3px mr-2px",
|
|
537
|
+
src: unref(icon_print_folder_default)
|
|
538
|
+
}, null, 8, _hoisted_17),
|
|
539
|
+
createElementVNode("span", null, toDisplayString(item?.replace(labelRegex, "/")), 1),
|
|
540
|
+
index === 0 ? (openBlock(), createElementBlock("span", {
|
|
541
|
+
key: 0,
|
|
542
|
+
class: normalizeClass(["btw-label-tag", scope?.row?.pathType === "common" ? "common" : "local"])
|
|
543
|
+
}, toDisplayString(scope?.row?.pathType === "common" ? unref(t)("sys.shared") : unref(t)("sys.local")), 3)) : createCommentVNode("", true)
|
|
544
|
+
], 64);
|
|
545
|
+
}), 128))
|
|
546
|
+
])]),
|
|
547
|
+
_: 1
|
|
548
|
+
}, 8, ["title"]),
|
|
549
|
+
createVNode(unref(VxeColumn), {
|
|
550
|
+
field: "macAddress",
|
|
551
|
+
title: unref(t)("sys.macAddress"),
|
|
552
|
+
width: "175",
|
|
553
|
+
"show-overflow": ""
|
|
554
|
+
}, null, 8, ["title"]),
|
|
555
|
+
createVNode(unref(VxeColumn), {
|
|
556
|
+
field: "createUserName",
|
|
557
|
+
title: unref(t)("sys.creator"),
|
|
558
|
+
width: "120",
|
|
559
|
+
"show-overflow": ""
|
|
560
|
+
}, null, 8, ["title"]),
|
|
561
|
+
createVNode(unref(VxeColumn), {
|
|
562
|
+
field: "createTime",
|
|
563
|
+
title: unref(t)("sys.createTime"),
|
|
564
|
+
width: "185"
|
|
565
|
+
}, null, 8, ["title"]),
|
|
566
|
+
createVNode(unref(VxeColumn), {
|
|
567
|
+
field: "modifyUserName",
|
|
568
|
+
title: unref(t)("sys.appDesigner.modifier"),
|
|
569
|
+
width: "120",
|
|
570
|
+
"show-overflow": ""
|
|
571
|
+
}, null, 8, ["title"]),
|
|
572
|
+
createVNode(unref(VxeColumn), {
|
|
573
|
+
field: "modifyTime",
|
|
574
|
+
title: unref(t)("sys.appDesigner.modificationTime"),
|
|
575
|
+
width: "185"
|
|
576
|
+
}, null, 8, ["title"])
|
|
577
|
+
]),
|
|
578
|
+
_: 1
|
|
579
|
+
}, 8, [
|
|
580
|
+
"data",
|
|
581
|
+
"loading",
|
|
582
|
+
"checkbox-config",
|
|
583
|
+
"radio-config"
|
|
584
|
+
])]), createElementVNode("div", _hoisted_18, [createVNode(_component_a_pagination, mergeProps(btwPaginationAttr.value, {
|
|
585
|
+
class: "pagination-total-left",
|
|
586
|
+
onChange: handleBtwSizeChange
|
|
587
|
+
}), null, 16)])])])) : createCommentVNode("", true)
|
|
588
|
+
], 2);
|
|
589
|
+
};
|
|
590
|
+
}
|
|
591
|
+
});
|
|
592
|
+
//#endregion
|
|
593
|
+
export { print_tmpl_modal_vue_vue_type_script_setup_true_name_print_tmpl_modal_lang_default as default };
|