@kengic/vue 0.26.6-beta.12 → 0.26.6-beta.121
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/dist/bulb-outlined.93f68e9f.mjs +8 -0
- package/dist/caret-right-outlined.f3fc4d46.mjs +8 -0
- package/dist/close-outlined-DMcSQWxQ.c49462d5.mjs +8 -0
- package/dist/fullscreen-exit-outlined-X1iYkFc4.1d168a83.mjs +8 -0
- package/dist/fullscreen-exit-outlined.a75b82c2.mjs +8 -0
- package/dist/fullscreen-outlined-DDBrsRcy.b61c3686.mjs +8 -0
- package/dist/fullscreen-outlined.c9ba7960.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +57877 -43895
- package/dist/pause-outlined.a5f6ccbd.mjs +8 -0
- package/dist/project/build/vite/plugin/index.ts +13 -1
- package/dist/src/{apis → api}/WMS/Controllers/DescriptionController/List.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/SysPermissionController/List.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarController/GetAll.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/Create.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarGridMasterController/Update.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/VarVariableController/Delete.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/WhController/ListVO.d.ts +1 -1
- package/dist/src/{apis → api}/WMS/Controllers/WorkstationController/List.d.ts +1 -1
- package/dist/src/{components → component}/KgAppSelect/KgAppSelect.d.ts +1 -1
- package/dist/src/{components → component}/KgAppSelect/index.hooks.d.ts +3 -3
- package/dist/src/{components → component}/KgAppSelect/index.store.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/KgButton.Item.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/KgButton.Item.data.d.ts +2 -2
- package/dist/src/{components → component}/KgButton/KgButton.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/components/KgButton.Copy.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.Create.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/components/KgButton.Delete.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/components/KgButton.Export.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.Import.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.ImportTemplate.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.Other.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/components/KgButton.Search.d.ts +1 -1
- package/dist/src/{components → component}/KgButton/components/KgButton.Update.d.ts +3 -3
- package/dist/src/{components → component}/KgButton/index.hooks.d.ts +5 -5
- package/dist/src/{components → component}/KgButton/index.store.d.ts +4 -4
- package/dist/src/{components → component}/KgCanvas/KgCanvas.ContextMenu.d.ts +6 -12
- package/dist/src/component/KgCanvas/KgCanvas.Toolbar.Fullscreen.d.ts +38 -0
- package/dist/src/component/KgCanvas/KgCanvas.Toolbar.OverviewScale.d.ts +38 -0
- package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +28 -0
- package/dist/src/{components → component}/KgCanvas/KgCanvas.d.ts +62 -14
- package/dist/src/{components → component}/KgCanvas/KgCanvas.service.d.ts +9 -2
- package/dist/src/{components/KgCanvas/index.store.d.ts → component/KgCanvas/index.event.d.ts} +40 -54
- package/dist/src/{components → component}/KgCanvas/index.hooks.d.ts +18 -13
- package/dist/src/component/KgCanvas/index.store.d.ts +10 -0
- package/dist/src/component/KgCanvas/index.vm.d.ts +33 -0
- package/dist/src/{components → component}/KgForm/KgForm.d.ts +36 -36
- package/dist/src/{components → component}/KgForm/index.d.ts +48 -48
- package/dist/src/{components → component}/KgForm/index.hooks.d.ts +8 -8
- package/dist/src/{components → component}/KgForm/index.store.d.ts +3 -3
- package/dist/src/{components → component}/KgForm.Item/KgForm.Item.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Date.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.DateRange.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Image.d.ts +5 -5
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Input.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Select.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Select.service.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Switch.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.TextArea.d.ts +1 -1
- package/dist/src/{components → component}/KgForm.Item/index.vm.d.ts +2 -2
- package/dist/src/{components → component}/KgImage/KgImage.d.ts +6 -6
- package/dist/src/{components → component}/KgModal/KgModal.d.ts +19 -13
- package/dist/src/{components/KgModal/components/KgModal.HeaderButtons.d.ts → component/KgModal/KgModalHeaderButtons.d.ts} +1 -1
- package/dist/src/component/KgModal/hooks/useDragToMove.d.ts +12 -0
- package/dist/src/{components/KgModal/KgModal.service.d.ts → component/KgModal/hooks/useDragToResize.d.ts} +1 -11
- package/dist/src/{components → component}/KgSearch/index.hooks.d.ts +5 -5
- package/dist/src/{components → component}/KgSearch/index.store.d.ts +4 -4
- package/dist/src/{components → component}/KgStation/index.hooks.d.ts +1 -1
- package/dist/src/{components → component}/KgStation/index.store.d.ts +1 -1
- package/dist/src/{components → component}/KgSubmit/index.hooks.d.ts +12 -12
- package/dist/src/{components → component}/KgSubmit/index.store.d.ts +4 -4
- package/dist/src/{components → component}/KgSubmit/index.vm.d.ts +1 -1
- package/dist/src/{components → component}/KgTable/components/setting/KgTable.Setting.service.d.ts +1 -1
- package/dist/src/{components → component}/KgTable/index.hooks.d.ts +12 -12
- package/dist/src/{components → component}/KgTable/index.store.d.ts +4 -4
- package/dist/src/{components → component}/KgTable/index.vm.d.ts +1 -1
- package/dist/src/{pages/KgVarFactory → component/KgVar}/KgVarFactory.d.ts +9 -10
- package/dist/src/{components → component}/KgVar/index.d.ts +1 -0
- package/dist/src/{components → component}/KgVar/index.hooks.d.ts +9 -4
- package/dist/src/{components → component}/KgVar/index.store.d.ts +24 -11
- package/dist/src/{components → component}/KgVar/index.store.service.d.ts +1 -1
- package/dist/src/{components → component}/KgVar/index.vm.d.ts +2 -0
- package/dist/src/{components/KgVarConfig/components/KgVarConfig.Modal.d.ts → component/KgVarConfig/components/KgVarConfigModal.d.ts} +1 -2
- package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +1 -1
- package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +1 -1
- package/dist/src/{components → component}/KgWarehouse/index.hooks.d.ts +2 -2
- package/dist/src/{components → component}/KgWarehouse/index.store.d.ts +2 -2
- package/dist/src/config/index.hooks.d.ts +1 -1
- package/dist/src/config/index.store.d.ts +2 -2
- package/dist/src/config/setup/setup.d.ts +3 -2
- package/dist/src/{consts → const}/i18n/en.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/es_ES.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/fr_FR.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/km_KH.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/ko_KR.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/vi_VN.d.ts +7 -0
- package/dist/src/{consts → const}/i18n/zh_CN.d.ts +8 -0
- package/dist/src/{consts → const}/index.vm.d.ts +12 -4
- package/dist/src/{consts → const}/injection-keys.const.d.ts +2 -0
- package/dist/src/{helpers → helper}/ant-design-vue.d.ts +15 -15
- package/dist/src/index.d.ts +9 -10
- package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.store.d.ts +1 -1
- package/dist/src/{pages → page}/index.d.ts +0 -1
- package/dist/src/{services → service}/http-client.d.ts +1 -1
- package/dist/src/{components/util.d.ts → util/index.d.ts} +6 -2
- package/dist/src/{utils → util}/kg-auth.util.d.ts +1 -1
- package/dist/src/{utils → util}/kg-route.util.d.ts +1 -1
- package/dist/src/{utils → util}/kg-var.util.d.ts +1 -1
- package/dist/src/{utils → util}/kg.util.d.ts +5 -3
- package/package.json +33 -21
- package/script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +3 -0
- package/script/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +3 -0
- package/script/bump-to.ts +38 -0
- package/script/bump.ts +35 -0
- package/script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +3 -0
- package/script/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +3 -0
- package/script/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts +3 -0
- package/script/copy-to.ts +23 -0
- package/script/publish.ts +30 -0
- package/dist/src/components-next/KgVarConfig/KgVarConfig.d.ts +0 -2
- package/dist/src/components-next/KgVarConfig/index.d.ts +0 -1
- package/dist/src/components-next/index.d.ts +0 -1
- package/dist/src/pages/KgVarFactory/index.d.ts +0 -1
- package/dist/src/utils/index.d.ts +0 -6
- package/dist/src/utils/kg-dom.util.d.ts +0 -12
- package/dist/src/utils/kg-logger.util.d.ts +0 -69
- /package/dist/src/{apis → api}/WMS/Controllers/DescriptionController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/SysPermissionController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarConfigPossibilityController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarGridMasterController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/VarVariableController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/WhController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/WorkstationController/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/Controllers/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/index.d.ts +0 -0
- /package/dist/src/{apis → api}/WMS/models.d.ts +0 -0
- /package/dist/src/{apis → api}/api.d.ts +0 -0
- /package/dist/src/{apis → api}/def.d.ts +0 -0
- /package/dist/src/{apis → api}/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgAppSelect/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgButton/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgCanvas/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm/index.vm.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm.Item/KgForm.Item.service.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -0
- /package/dist/src/{components → component}/KgForm.Item/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgImage/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +0 -0
- /package/dist/src/{components → component}/KgLayoutHeader/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgLayoutHeader/index.hooks.d.ts +0 -0
- /package/dist/src/{components → component}/KgModal/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgModal/index.vm.d.ts +0 -0
- /package/dist/src/{components → component}/KgProgressA/KgProgressA.d.ts +0 -0
- /package/dist/src/{components → component}/KgProgressA/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgResizable/KgResizable.d.ts +0 -0
- /package/dist/src/{components → component}/KgResizable/KgResizable.service.d.ts +0 -0
- /package/dist/src/{components → component}/KgResizable/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/KgSearch.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/KgSearch.service.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgSearch/index.vm.d.ts +0 -0
- /package/dist/src/{components → component}/KgStation/KgStation.d.ts +0 -0
- /package/dist/src/{components → component}/KgStation/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgSubmit/KgSubmit.d.ts +0 -0
- /package/dist/src/{components → component}/KgSubmit/KgSubmit.service.d.ts +0 -0
- /package/dist/src/{components → component}/KgSubmit/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/KgTable.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/KgTable.service.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/KgTable.BodyCell.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/KgTable.HeaderCell.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/KgTable.Info.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/setting/KgTable.Setting.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -0
- /package/dist/src/{components → component}/KgTable/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgVar/KgVar.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/KgVarConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/index.hooks.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/index.store.d.ts +0 -0
- /package/dist/src/{components → component}/KgVarConfig/index.vm.d.ts +0 -0
- /package/dist/src/{components → component}/KgWarehouse/KgWarehouse.d.ts +0 -0
- /package/dist/src/{components → component}/KgWarehouse/index.d.ts +0 -0
- /package/dist/src/{components → component}/KgWarehouse/index.guard.d.ts +0 -0
- /package/dist/src/{components → component}/KgYesOrNo/KgYesOrNo.d.ts +0 -0
- /package/dist/src/{components → component}/KgYesOrNo/index.d.ts +0 -0
- /package/dist/src/{components → component}/index.d.ts +0 -0
- /package/dist/src/{consts → const}/i18n/index.d.ts +0 -0
- /package/dist/src/{consts → const}/index.d.ts +0 -0
- /package/dist/src/{helpers → helper}/tsx.helper.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/KgPageDda.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Basic.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Menu.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Search.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Submit.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Table.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/index.d.ts +0 -0
- /package/dist/src/{pages → page}/KgPageDda/index.vm.d.ts +0 -0
- /package/dist/src/{services → service}/index.d.ts +0 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
import { Q } from '@thymine/xunee';
|
2
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
3
|
+
import './KgCanvas.css';
|
4
|
+
export declare const getProps: () => {
|
5
|
+
kgElement: PropType<Q.Element<any>>;
|
6
|
+
kgElementUi: PropType<Q.ElementUI>;
|
7
|
+
/**
|
8
|
+
* 鼠标事件对象.
|
9
|
+
*/
|
10
|
+
kgMouseEvent: PropType<MouseEvent>;
|
11
|
+
};
|
12
|
+
export declare type KgCanvasTooltipProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
13
|
+
declare const _default: import("vue").DefineComponent<{
|
14
|
+
kgElement: PropType<Q.Element<any>>;
|
15
|
+
kgElementUi: PropType<Q.ElementUI>;
|
16
|
+
/**
|
17
|
+
* 鼠标事件对象.
|
18
|
+
*/
|
19
|
+
kgMouseEvent: PropType<MouseEvent>;
|
20
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
21
|
+
kgElement: PropType<Q.Element<any>>;
|
22
|
+
kgElementUi: PropType<Q.ElementUI>;
|
23
|
+
/**
|
24
|
+
* 鼠标事件对象.
|
25
|
+
*/
|
26
|
+
kgMouseEvent: PropType<MouseEvent>;
|
27
|
+
}>>, {}>;
|
28
|
+
export default _default;
|
@@ -1,12 +1,28 @@
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
2
2
|
import './KgCanvas.css';
|
3
3
|
export declare const getProps: () => {
|
4
|
+
/** 该组件实例的唯一标识. */
|
5
|
+
id: {
|
6
|
+
type: PropType<string>;
|
7
|
+
required: boolean;
|
8
|
+
};
|
4
9
|
/**
|
5
|
-
*
|
10
|
+
* 组件 KgCanvasToolbarFullscreen 的参数.
|
11
|
+
*/
|
12
|
+
kgCanvasToolbarFullscreen: {
|
13
|
+
type: PropType<Partial<ExtractPropTypes<{
|
14
|
+
kgIsShowText: {
|
15
|
+
type: PropType<boolean>;
|
16
|
+
default: boolean;
|
17
|
+
};
|
18
|
+
}>>>;
|
19
|
+
};
|
20
|
+
/**
|
21
|
+
* 是否可以编辑.
|
6
22
|
*
|
7
23
|
* @default false
|
8
24
|
*/
|
9
|
-
|
25
|
+
kgIsEditable: {
|
10
26
|
type: PropType<boolean>;
|
11
27
|
default: boolean;
|
12
28
|
};
|
@@ -20,11 +36,11 @@ export declare const getProps: () => {
|
|
20
36
|
default: boolean;
|
21
37
|
};
|
22
38
|
/**
|
23
|
-
*
|
39
|
+
* 是否启用网格背景.
|
24
40
|
*
|
25
41
|
* @default false
|
26
42
|
*/
|
27
|
-
|
43
|
+
kgIsGridBackground: {
|
28
44
|
type: PropType<boolean>;
|
29
45
|
default: boolean;
|
30
46
|
};
|
@@ -40,12 +56,28 @@ export declare const getProps: () => {
|
|
40
56
|
};
|
41
57
|
export declare type KgCanvasProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
42
58
|
declare const _default: import("vue").DefineComponent<{
|
59
|
+
/** 该组件实例的唯一标识. */
|
60
|
+
id: {
|
61
|
+
type: PropType<string>;
|
62
|
+
required: boolean;
|
63
|
+
};
|
43
64
|
/**
|
44
|
-
*
|
65
|
+
* 组件 KgCanvasToolbarFullscreen 的参数.
|
66
|
+
*/
|
67
|
+
kgCanvasToolbarFullscreen: {
|
68
|
+
type: PropType<Partial<ExtractPropTypes<{
|
69
|
+
kgIsShowText: {
|
70
|
+
type: PropType<boolean>;
|
71
|
+
default: boolean;
|
72
|
+
};
|
73
|
+
}>>>;
|
74
|
+
};
|
75
|
+
/**
|
76
|
+
* 是否可以编辑.
|
45
77
|
*
|
46
78
|
* @default false
|
47
79
|
*/
|
48
|
-
|
80
|
+
kgIsEditable: {
|
49
81
|
type: PropType<boolean>;
|
50
82
|
default: boolean;
|
51
83
|
};
|
@@ -59,11 +91,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
59
91
|
default: boolean;
|
60
92
|
};
|
61
93
|
/**
|
62
|
-
*
|
94
|
+
* 是否启用网格背景.
|
63
95
|
*
|
64
96
|
* @default false
|
65
97
|
*/
|
66
|
-
|
98
|
+
kgIsGridBackground: {
|
67
99
|
type: PropType<boolean>;
|
68
100
|
default: boolean;
|
69
101
|
};
|
@@ -77,12 +109,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
77
109
|
default: boolean;
|
78
110
|
};
|
79
111
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
112
|
+
/** 该组件实例的唯一标识. */
|
113
|
+
id: {
|
114
|
+
type: PropType<string>;
|
115
|
+
required: boolean;
|
116
|
+
};
|
80
117
|
/**
|
81
|
-
*
|
118
|
+
* 组件 KgCanvasToolbarFullscreen 的参数.
|
119
|
+
*/
|
120
|
+
kgCanvasToolbarFullscreen: {
|
121
|
+
type: PropType<Partial<ExtractPropTypes<{
|
122
|
+
kgIsShowText: {
|
123
|
+
type: PropType<boolean>;
|
124
|
+
default: boolean;
|
125
|
+
};
|
126
|
+
}>>>;
|
127
|
+
};
|
128
|
+
/**
|
129
|
+
* 是否可以编辑.
|
82
130
|
*
|
83
131
|
* @default false
|
84
132
|
*/
|
85
|
-
|
133
|
+
kgIsEditable: {
|
86
134
|
type: PropType<boolean>;
|
87
135
|
default: boolean;
|
88
136
|
};
|
@@ -96,11 +144,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
96
144
|
default: boolean;
|
97
145
|
};
|
98
146
|
/**
|
99
|
-
*
|
147
|
+
* 是否启用网格背景.
|
100
148
|
*
|
101
149
|
* @default false
|
102
150
|
*/
|
103
|
-
|
151
|
+
kgIsGridBackground: {
|
104
152
|
type: PropType<boolean>;
|
105
153
|
default: boolean;
|
106
154
|
};
|
@@ -114,9 +162,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
114
162
|
default: boolean;
|
115
163
|
};
|
116
164
|
}>>, {
|
117
|
-
kgIsGridBackground: boolean;
|
118
|
-
kgIsEnableOverview: boolean;
|
119
165
|
kgIsEditable: boolean;
|
166
|
+
kgIsEnableOverview: boolean;
|
167
|
+
kgIsGridBackground: boolean;
|
120
168
|
kgIsResizable: boolean;
|
121
169
|
}>;
|
122
170
|
export default _default;
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import { Q } from '@thymine/xunee';
|
2
2
|
import { Ref } from 'vue';
|
3
3
|
import { IKgCanvasContextMenu, KgCanvasContextMenuProps } from './KgCanvas.ContextMenu';
|
4
|
+
/**
|
5
|
+
* 用户属性.
|
6
|
+
*/
|
4
7
|
export declare type IKgCanvasElementProperties = {
|
5
8
|
/**
|
6
9
|
* 编码, 全局唯一.
|
@@ -10,6 +13,10 @@ export declare type IKgCanvasElementProperties = {
|
|
10
13
|
* 数据.
|
11
14
|
*/
|
12
15
|
data?: any;
|
16
|
+
/**
|
17
|
+
* 是否启用提示文本.
|
18
|
+
*/
|
19
|
+
isEnableTooltip?: boolean;
|
13
20
|
/**
|
14
21
|
* 样式.
|
15
22
|
*/
|
@@ -25,12 +32,12 @@ export declare type IUseGlobalContextMenus = {
|
|
25
32
|
globalContextMenus: Array<IKgCanvasContextMenu>;
|
26
33
|
};
|
27
34
|
export declare function _useGlobalContextMenus(param: {
|
28
|
-
|
35
|
+
id: string | undefined;
|
29
36
|
}): IUseGlobalContextMenus;
|
30
37
|
export declare type IUseResizeObserver = {};
|
31
38
|
export declare function _useResizeObserver(param: {
|
32
|
-
eid: string;
|
33
39
|
graph: () => Q.Graph | null;
|
40
|
+
id: string | undefined;
|
34
41
|
kgCanvasContextMenuProps: Ref<KgCanvasContextMenuProps>;
|
35
42
|
kgCanvasRef: Ref<HTMLDivElement | null>;
|
36
43
|
}): IUseResizeObserver;
|
package/dist/src/{components/KgCanvas/index.store.d.ts → component/KgCanvas/index.event.d.ts}
RENAMED
@@ -1,8 +1,7 @@
|
|
1
1
|
import { Q } from '@thymine/xunee';
|
2
|
-
import { StoreDefinition } from 'pinia';
|
3
2
|
import { Ref } from 'vue';
|
4
|
-
import { IKgEventListener } from '../../
|
5
|
-
import {
|
3
|
+
import { IKgEventListener } from '../../const';
|
4
|
+
import { IKgCanvasContextMenu } from './KgCanvas.ContextMenu';
|
6
5
|
/**
|
7
6
|
* 事件类型.
|
8
7
|
* 'onInit': 图形组件初始完成
|
@@ -26,7 +25,6 @@ export declare type IKgCanvasOnInitEventListenerParameter = {
|
|
26
25
|
* 图形组件对象.
|
27
26
|
*/
|
28
27
|
graph: Q.Graph;
|
29
|
-
eid: string;
|
30
28
|
};
|
31
29
|
export declare type IKgCanvasOnInitEventListener = ((param: IKgCanvasOnInitEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
32
30
|
export declare type IKgCanvasOnReloadEventListenerParameter = {
|
@@ -34,7 +32,6 @@ export declare type IKgCanvasOnReloadEventListenerParameter = {
|
|
34
32
|
* Q.
|
35
33
|
*/
|
36
34
|
Q: typeof Q;
|
37
|
-
eid: string;
|
38
35
|
/**
|
39
36
|
* 图形组件对象.
|
40
37
|
*/
|
@@ -46,7 +43,6 @@ export declare type IKgCanvasOnResizeEventListenerParameter = {
|
|
46
43
|
* Q.
|
47
44
|
*/
|
48
45
|
Q: typeof Q;
|
49
|
-
eid: string;
|
50
46
|
/**
|
51
47
|
* 图形组件对象.
|
52
48
|
*/
|
@@ -71,7 +67,6 @@ export declare type IKgCanvasOnRightClickEventListenerParameter = {
|
|
71
67
|
* <p>用户可以直接修改该参数的值, 从而修改此次单击右键事件弹出的右键菜单.</p>
|
72
68
|
*/
|
73
69
|
contextMenus: Ref<Array<IKgCanvasContextMenu>>;
|
74
|
-
eid: string;
|
75
70
|
/**
|
76
71
|
* 图元.
|
77
72
|
*/
|
@@ -99,7 +94,6 @@ export declare type IKgCanvasOnMouseMoveEventListenerParameter = {
|
|
99
94
|
* Q.
|
100
95
|
*/
|
101
96
|
Q: typeof Q;
|
102
|
-
eid: string;
|
103
97
|
/**
|
104
98
|
* 图元.
|
105
99
|
*/
|
@@ -123,7 +117,6 @@ export declare type IKgCanvasOnMouseLeaveEventListenerParameter = {
|
|
123
117
|
* Q.
|
124
118
|
*/
|
125
119
|
Q: typeof Q;
|
126
|
-
eid: string;
|
127
120
|
/**
|
128
121
|
* 图元.
|
129
122
|
*/
|
@@ -147,7 +140,6 @@ export declare type IKgCanvasOnMouseEnterEventListenerParameter = {
|
|
147
140
|
* Q.
|
148
141
|
*/
|
149
142
|
Q: typeof Q;
|
150
|
-
eid: string;
|
151
143
|
/**
|
152
144
|
* 图元.
|
153
145
|
*/
|
@@ -171,7 +163,6 @@ export declare type IKgCanvasOnClickEventListenerParameter = {
|
|
171
163
|
* Q.
|
172
164
|
*/
|
173
165
|
Q: typeof Q;
|
174
|
-
eid: string;
|
175
166
|
/**
|
176
167
|
* 图元.
|
177
168
|
*/
|
@@ -190,50 +181,45 @@ export declare type IKgCanvasOnClickEventListenerParameter = {
|
|
190
181
|
ui?: Q.BaseUI;
|
191
182
|
};
|
192
183
|
export declare type IKgCanvasOnClickEventListener = ((param: IKgCanvasOnClickEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
193
|
-
export declare type IKgCanvasOnContextMenuOpenEventListenerParameter = {
|
194
|
-
eid: string;
|
195
|
-
};
|
184
|
+
export declare type IKgCanvasOnContextMenuOpenEventListenerParameter = {};
|
196
185
|
export declare type IKgCanvasOnContextMenuOpenEventListener = ((param: IKgCanvasOnContextMenuOpenEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
197
|
-
export declare type IKgCanvasOnContextMenuCloseEventListenerParameter = {
|
198
|
-
eid: string;
|
199
|
-
};
|
186
|
+
export declare type IKgCanvasOnContextMenuCloseEventListenerParameter = {};
|
200
187
|
export declare type IKgCanvasOnContextMenuCloseEventListener = ((param: IKgCanvasOnContextMenuCloseEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
201
188
|
export declare type IKgCanvasEventListenerParameter = IKgCanvasOnInitEventListenerParameter | IKgCanvasOnReloadEventListenerParameter | IKgCanvasOnResizeEventListenerParameter | IKgCanvasOnRightClickEventListenerParameter | IKgCanvasOnMouseMoveEventListenerParameter | IKgCanvasOnMouseEnterEventListenerParameter | IKgCanvasOnMouseLeaveEventListenerParameter | IKgCanvasOnClickEventListenerParameter | IKgCanvasOnContextMenuOpenEventListenerParameter | IKgCanvasOnContextMenuCloseEventListenerParameter;
|
202
189
|
export declare type IKgCanvasEventListener = IKgCanvasOnInitEventListener | IKgCanvasOnReloadEventListener | IKgCanvasOnResizeEventListener | IKgCanvasOnRightClickEventListener | IKgCanvasOnMouseMoveEventListener | IKgCanvasOnMouseEnterEventListener | IKgCanvasOnMouseLeaveEventListener | IKgCanvasOnClickEventListener | IKgCanvasOnContextMenuOpenEventListener | IKgCanvasOnContextMenuCloseEventListener;
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
}
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
export declare const useKgCanvasStore: IUseKgCanvasStore;
|
190
|
+
/**
|
191
|
+
* 添加事件监听.
|
192
|
+
*
|
193
|
+
* @param param.event 事件名称.
|
194
|
+
* @param param.id 唯一标识.
|
195
|
+
* @param param.listener 事件监听函数.
|
196
|
+
*/
|
197
|
+
export declare function addEventListener<L extends IKgCanvasEventListener>(param: {
|
198
|
+
event: IKgCanvasEvent;
|
199
|
+
id?: string | undefined;
|
200
|
+
listener: L;
|
201
|
+
}): void;
|
202
|
+
/**
|
203
|
+
* 移除事件监听.
|
204
|
+
*
|
205
|
+
* @param param.event 事件名称.
|
206
|
+
* @param param.id 唯一标识.
|
207
|
+
* @param param.listener 事件监听函数.
|
208
|
+
*/
|
209
|
+
export declare function removeEventListener<L extends IKgCanvasEventListener>(param: {
|
210
|
+
event: IKgCanvasEvent;
|
211
|
+
id?: string | undefined;
|
212
|
+
listener?: L;
|
213
|
+
}): void;
|
214
|
+
/**
|
215
|
+
* 触发事件.
|
216
|
+
*
|
217
|
+
* @param param.event 事件名称.
|
218
|
+
* @param param.id 唯一标识.
|
219
|
+
* @param param.parameter 事件参数.
|
220
|
+
*/
|
221
|
+
export declare function emit<P extends IKgCanvasEventListenerParameter>(param: {
|
222
|
+
event: IKgCanvasEvent;
|
223
|
+
id?: string | undefined;
|
224
|
+
parameter: P;
|
225
|
+
}): Promise<boolean>;
|
@@ -1,67 +1,72 @@
|
|
1
|
-
import {
|
2
|
-
import { IKgCanvasOnClickEventListener, IKgCanvasOnContextMenuCloseEventListener, IKgCanvasOnContextMenuOpenEventListener, IKgCanvasOnInitEventListener, IKgCanvasOnMouseEnterEventListener, IKgCanvasOnMouseLeaveEventListener, IKgCanvasOnMouseMoveEventListener, IKgCanvasOnReloadEventListener, IKgCanvasOnResizeEventListener, IKgCanvasOnRightClickEventListener
|
1
|
+
import { IRemoveEventListener } from '../../const';
|
2
|
+
import { IKgCanvasOnClickEventListener, IKgCanvasOnContextMenuCloseEventListener, IKgCanvasOnContextMenuOpenEventListener, IKgCanvasOnInitEventListener, IKgCanvasOnMouseEnterEventListener, IKgCanvasOnMouseLeaveEventListener, IKgCanvasOnMouseMoveEventListener, IKgCanvasOnReloadEventListener, IKgCanvasOnResizeEventListener, IKgCanvasOnRightClickEventListener } from './index.event';
|
3
|
+
import { IKgCanvasStore } from './index.store';
|
3
4
|
export declare type IUseKgCanvas = {
|
4
5
|
/**
|
5
6
|
* 监听事件: 单击鼠标左键.
|
6
7
|
* @param listener 事件监听函数.
|
7
8
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
8
9
|
*/
|
9
|
-
onClick(listener: IKgCanvasOnClickEventListener, isOnce?: boolean):
|
10
|
+
onClick(listener: IKgCanvasOnClickEventListener, isOnce?: boolean): IRemoveEventListener;
|
10
11
|
/**
|
11
12
|
* 监听事件: 右键菜单关闭.
|
12
13
|
* @param listener 事件监听函数.
|
13
14
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
14
15
|
*/
|
15
|
-
onContextMenuClose(listener: IKgCanvasOnContextMenuCloseEventListener, isOnce?: boolean):
|
16
|
+
onContextMenuClose(listener: IKgCanvasOnContextMenuCloseEventListener, isOnce?: boolean): IRemoveEventListener;
|
16
17
|
/**
|
17
18
|
* 监听事件: 右键菜单打开.
|
18
19
|
* @param listener 事件监听函数.
|
19
20
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
20
21
|
*/
|
21
|
-
onContextMenuOpen(listener: IKgCanvasOnContextMenuOpenEventListener, isOnce?: boolean):
|
22
|
+
onContextMenuOpen(listener: IKgCanvasOnContextMenuOpenEventListener, isOnce?: boolean): IRemoveEventListener;
|
22
23
|
/**
|
23
24
|
* 监听事件: 图形组件初始完成.
|
24
25
|
* @param listener 事件监听函数.
|
25
26
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
26
27
|
*/
|
27
|
-
onInit(listener: IKgCanvasOnInitEventListener, isOnce?: boolean):
|
28
|
+
onInit(listener: IKgCanvasOnInitEventListener, isOnce?: boolean): IRemoveEventListener;
|
28
29
|
/**
|
29
30
|
* 监听事件: 鼠标进入.
|
30
31
|
* @param listener 事件监听函数.
|
31
32
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
32
33
|
*/
|
33
|
-
onMouseEnter(listener: IKgCanvasOnMouseEnterEventListener, isOnce?: boolean):
|
34
|
+
onMouseEnter(listener: IKgCanvasOnMouseEnterEventListener, isOnce?: boolean): IRemoveEventListener;
|
34
35
|
/**
|
35
36
|
* 监听事件: 鼠标离开.
|
36
37
|
* @param listener 事件监听函数.
|
37
38
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
38
39
|
*/
|
39
|
-
onMouseLeave(listener: IKgCanvasOnMouseLeaveEventListener, isOnce?: boolean):
|
40
|
+
onMouseLeave(listener: IKgCanvasOnMouseLeaveEventListener, isOnce?: boolean): IRemoveEventListener;
|
40
41
|
/**
|
41
42
|
* 监听事件: 鼠标移动.
|
42
43
|
* @param listener 事件监听函数.
|
43
44
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
44
45
|
*/
|
45
|
-
onMouseMove(listener: IKgCanvasOnMouseMoveEventListener, isOnce?: boolean):
|
46
|
+
onMouseMove(listener: IKgCanvasOnMouseMoveEventListener, isOnce?: boolean): IRemoveEventListener;
|
46
47
|
/**
|
47
48
|
* 监听事件: 重新加载.
|
48
49
|
* @param listener 事件监听函数.
|
49
50
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
50
51
|
*/
|
51
|
-
onReload(listener: IKgCanvasOnReloadEventListener, isOnce?: boolean):
|
52
|
+
onReload(listener: IKgCanvasOnReloadEventListener, isOnce?: boolean): IRemoveEventListener;
|
52
53
|
/**
|
53
54
|
* 监听事件: 尺寸变化.
|
54
55
|
* @param listener 事件监听函数.
|
55
56
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
56
57
|
*/
|
57
|
-
onResize(listener: IKgCanvasOnResizeEventListener, isOnce?: boolean):
|
58
|
+
onResize(listener: IKgCanvasOnResizeEventListener, isOnce?: boolean): IRemoveEventListener;
|
58
59
|
/**
|
59
60
|
* 监听事件: 单击鼠标右键.
|
60
61
|
* @param listener 事件监听函数.
|
61
62
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
62
63
|
*/
|
63
|
-
onRightClick(listener: IKgCanvasOnRightClickEventListener, isOnce?: boolean):
|
64
|
+
onRightClick(listener: IKgCanvasOnRightClickEventListener, isOnce?: boolean): IRemoveEventListener;
|
64
65
|
/** 状态数据. */
|
65
66
|
store: IKgCanvasStore;
|
66
67
|
};
|
67
|
-
|
68
|
+
/**
|
69
|
+
*
|
70
|
+
* @param id 唯一标识.
|
71
|
+
*/
|
72
|
+
export declare function useKgCanvas(id: string): IUseKgCanvas;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { StoreDefinition } from 'pinia';
|
2
|
+
export interface IUseKgCanvasStoreState {
|
3
|
+
}
|
4
|
+
export interface IUseKgCanvasStoreGetters {
|
5
|
+
}
|
6
|
+
export interface IUseKgCanvasStoreActions {
|
7
|
+
}
|
8
|
+
export declare type IUseKgCanvasStore = StoreDefinition<'KgCanvas', IUseKgCanvasStoreState, IUseKgCanvasStoreGetters, IUseKgCanvasStoreActions>;
|
9
|
+
export declare type IKgCanvasStore = ReturnType<IUseKgCanvasStore>;
|
10
|
+
export declare const useKgCanvasStore: IUseKgCanvasStore;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { Q } from '@thymine/xunee';
|
2
|
+
import { InjectionKey } from 'vue';
|
3
|
+
export declare const KG__DI__KG_CANVAS_PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
|
4
|
+
id: {
|
5
|
+
type: import("vue").PropType<string>;
|
6
|
+
required: boolean;
|
7
|
+
};
|
8
|
+
kgCanvasToolbarFullscreen: {
|
9
|
+
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
10
|
+
kgIsShowText: {
|
11
|
+
type: import("vue").PropType<boolean>;
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
}>>>;
|
15
|
+
};
|
16
|
+
kgIsEditable: {
|
17
|
+
type: import("vue").PropType<boolean>;
|
18
|
+
default: boolean;
|
19
|
+
};
|
20
|
+
kgIsEnableOverview: {
|
21
|
+
type: import("vue").PropType<boolean>;
|
22
|
+
default: boolean;
|
23
|
+
};
|
24
|
+
kgIsGridBackground: {
|
25
|
+
type: import("vue").PropType<boolean>;
|
26
|
+
default: boolean;
|
27
|
+
};
|
28
|
+
kgIsResizable: {
|
29
|
+
type: import("vue").PropType<boolean>;
|
30
|
+
default: boolean;
|
31
|
+
};
|
32
|
+
}>>>;
|
33
|
+
export declare const KG__DI__KG_CANVAS_GET_GRAPH: InjectionKey<() => Q.Graph>;
|
@@ -4,11 +4,11 @@ export declare const getProps: () => {
|
|
4
4
|
layout: import("vue").PropType<"vertical" | "horizontal" | "inline">;
|
5
5
|
labelCol: {
|
6
6
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
7
|
-
span: (
|
8
|
-
order: (
|
9
|
-
offset: (
|
10
|
-
push: (
|
11
|
-
pull: (
|
7
|
+
span: (StringConstructor | NumberConstructor)[];
|
8
|
+
order: (StringConstructor | NumberConstructor)[];
|
9
|
+
offset: (StringConstructor | NumberConstructor)[];
|
10
|
+
push: (StringConstructor | NumberConstructor)[];
|
11
|
+
pull: (StringConstructor | NumberConstructor)[];
|
12
12
|
xs: {
|
13
13
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
14
14
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -38,16 +38,16 @@ export declare const getProps: () => {
|
|
38
38
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
39
39
|
};
|
40
40
|
prefixCls: StringConstructor;
|
41
|
-
flex: (
|
41
|
+
flex: (StringConstructor | NumberConstructor)[];
|
42
42
|
}>> & import("vue").HTMLAttributes>;
|
43
43
|
};
|
44
44
|
wrapperCol: {
|
45
45
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
46
|
-
span: (
|
47
|
-
order: (
|
48
|
-
offset: (
|
49
|
-
push: (
|
50
|
-
pull: (
|
46
|
+
span: (StringConstructor | NumberConstructor)[];
|
47
|
+
order: (StringConstructor | NumberConstructor)[];
|
48
|
+
offset: (StringConstructor | NumberConstructor)[];
|
49
|
+
push: (StringConstructor | NumberConstructor)[];
|
50
|
+
pull: (StringConstructor | NumberConstructor)[];
|
51
51
|
xs: {
|
52
52
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
53
53
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -77,7 +77,7 @@ export declare const getProps: () => {
|
|
77
77
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
78
78
|
};
|
79
79
|
prefixCls: StringConstructor;
|
80
|
-
flex: (
|
80
|
+
flex: (StringConstructor | NumberConstructor)[];
|
81
81
|
}>> & import("vue").HTMLAttributes>;
|
82
82
|
};
|
83
83
|
colon: {
|
@@ -140,11 +140,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
140
140
|
layout: import("vue").PropType<"vertical" | "horizontal" | "inline">;
|
141
141
|
labelCol: {
|
142
142
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
143
|
-
span: (
|
144
|
-
order: (
|
145
|
-
offset: (
|
146
|
-
push: (
|
147
|
-
pull: (
|
143
|
+
span: (StringConstructor | NumberConstructor)[];
|
144
|
+
order: (StringConstructor | NumberConstructor)[];
|
145
|
+
offset: (StringConstructor | NumberConstructor)[];
|
146
|
+
push: (StringConstructor | NumberConstructor)[];
|
147
|
+
pull: (StringConstructor | NumberConstructor)[];
|
148
148
|
xs: {
|
149
149
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
150
150
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -174,16 +174,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
174
174
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
175
175
|
};
|
176
176
|
prefixCls: StringConstructor;
|
177
|
-
flex: (
|
177
|
+
flex: (StringConstructor | NumberConstructor)[];
|
178
178
|
}>> & import("vue").HTMLAttributes>;
|
179
179
|
};
|
180
180
|
wrapperCol: {
|
181
181
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
182
|
-
span: (
|
183
|
-
order: (
|
184
|
-
offset: (
|
185
|
-
push: (
|
186
|
-
pull: (
|
182
|
+
span: (StringConstructor | NumberConstructor)[];
|
183
|
+
order: (StringConstructor | NumberConstructor)[];
|
184
|
+
offset: (StringConstructor | NumberConstructor)[];
|
185
|
+
push: (StringConstructor | NumberConstructor)[];
|
186
|
+
pull: (StringConstructor | NumberConstructor)[];
|
187
187
|
xs: {
|
188
188
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
189
189
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -213,7 +213,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
213
213
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
214
214
|
};
|
215
215
|
prefixCls: StringConstructor;
|
216
|
-
flex: (
|
216
|
+
flex: (StringConstructor | NumberConstructor)[];
|
217
217
|
}>> & import("vue").HTMLAttributes>;
|
218
218
|
};
|
219
219
|
colon: {
|
@@ -274,11 +274,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
274
274
|
layout: import("vue").PropType<"vertical" | "horizontal" | "inline">;
|
275
275
|
labelCol: {
|
276
276
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
277
|
-
span: (
|
278
|
-
order: (
|
279
|
-
offset: (
|
280
|
-
push: (
|
281
|
-
pull: (
|
277
|
+
span: (StringConstructor | NumberConstructor)[];
|
278
|
+
order: (StringConstructor | NumberConstructor)[];
|
279
|
+
offset: (StringConstructor | NumberConstructor)[];
|
280
|
+
push: (StringConstructor | NumberConstructor)[];
|
281
|
+
pull: (StringConstructor | NumberConstructor)[];
|
282
282
|
xs: {
|
283
283
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
284
284
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -308,16 +308,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
308
308
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
309
309
|
};
|
310
310
|
prefixCls: StringConstructor;
|
311
|
-
flex: (
|
311
|
+
flex: (StringConstructor | NumberConstructor)[];
|
312
312
|
}>> & import("vue").HTMLAttributes>;
|
313
313
|
};
|
314
314
|
wrapperCol: {
|
315
315
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
316
|
-
span: (
|
317
|
-
order: (
|
318
|
-
offset: (
|
319
|
-
push: (
|
320
|
-
pull: (
|
316
|
+
span: (StringConstructor | NumberConstructor)[];
|
317
|
+
order: (StringConstructor | NumberConstructor)[];
|
318
|
+
offset: (StringConstructor | NumberConstructor)[];
|
319
|
+
push: (StringConstructor | NumberConstructor)[];
|
320
|
+
pull: (StringConstructor | NumberConstructor)[];
|
321
321
|
xs: {
|
322
322
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
323
323
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -347,7 +347,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
347
347
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
348
348
|
};
|
349
349
|
prefixCls: StringConstructor;
|
350
|
-
flex: (
|
350
|
+
flex: (StringConstructor | NumberConstructor)[];
|
351
351
|
}>> & import("vue").HTMLAttributes>;
|
352
352
|
};
|
353
353
|
colon: {
|