index.ts 869 B

12345678910111213141516171819202122232425262728293031
  1. import Vue from 'vue';
  2. //lifetimes
  3. import { pageLifetimes } from './lifecycle/pageLifetimes';
  4. //methods
  5. import { clone } from './methods/clone';
  6. import { handleDataset } from './methods/dataset';
  7. import { escape2Html, html2Escape } from './methods/escape';
  8. import { parseEventDynamicCode } from './methods/event';
  9. import { getTabBar } from './methods/getTabBar';
  10. import { getRelationNodes } from './methods/relation';
  11. import { selectComponent as zpSelectComponent, selectAllComponents as zpSelectAllComponents } from './methods/selectComponent';
  12. import { setData } from './methods/setData';
  13. // console.log("lifecycle", lifecycle)
  14. export default Vue.extend({
  15. ...pageLifetimes,
  16. methods: {
  17. clone,
  18. handleDataset,
  19. escape2Html,
  20. html2Escape,
  21. parseEventDynamicCode,
  22. getTabBar,
  23. getRelationNodes,
  24. zpSelectComponent,
  25. zpSelectAllComponents,
  26. setData
  27. }
  28. });