@szjy/workflow 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. package/README.md +25 -0
  2. package/dist/index.d.ts +2 -1
  3. package/dist/index.mjs +127748 -0
  4. package/dist/index.umd.js +4129 -95
  5. package/dist/packages/components/Hello/component.d.ts +2 -0
  6. package/dist/packages/components/Workflow/PropertyPanel/index.vue.d.ts +2 -0
  7. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementAsyncContinuations.vue.d.ts +2 -0
  8. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementCandidateStarter.vue.d.ts +2 -0
  9. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementConditional.vue.d.ts +2 -0
  10. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementDocumentations.vue.d.ts +2 -0
  11. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementExtensionProperties.vue.d.ts +2 -0
  12. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementFieldInjection.vue.d.ts +2 -0
  13. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementFormType.vue.d.ts +2 -0
  14. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementGenerations.vue.d.ts +2 -0
  15. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementHOC.d.ts +12 -0
  16. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementImplementation.vue.d.ts +2 -0
  17. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementJobExecution.vue.d.ts +2 -0
  18. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementListeners.vue.d.ts +14 -0
  19. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementMultiInstance.vue.d.ts +2 -0
  20. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementStartInitiator.vue.d.ts +2 -0
  21. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementUserAssignment.vue.d.ts +2 -0
  22. package/dist/packages/components/Workflow/PropertyPanel/ui/FieldList.vue.d.ts +36 -0
  23. package/dist/packages/components/Workflow/PropertyPanel/ui/HasEdit.vue.d.ts +2 -0
  24. package/dist/packages/components/Workflow/PropertyPanel/ui/JsonEditor.vue.d.ts +14 -0
  25. package/dist/packages/components/Workflow/Toolbar.vue.d.ts +2 -0
  26. package/dist/packages/components/Workflow/biz-logic/form-permissions/FormPermissionProperty.vue.d.ts +2 -0
  27. package/dist/packages/components/Workflow/biz-logic/form-permissions/util.d.ts +2 -0
  28. package/dist/packages/components/Workflow/biz-logic/leave/approval/index.d.ts +3 -0
  29. package/dist/packages/components/Workflow/biz-logic/leave/approval/palette.d.ts +13 -0
  30. package/dist/packages/components/Workflow/biz-logic/leave/approval/property.vue.d.ts +2 -0
  31. package/dist/packages/components/Workflow/biz-logic/leave/approval/util.d.ts +10 -0
  32. package/dist/packages/components/Workflow/biz-logic/leave/common/CounterSignProperty.vue.d.ts +15 -0
  33. package/dist/packages/components/Workflow/biz-logic/leave/common/GatewayLineProperty.vue.d.ts +35 -0
  34. package/dist/packages/components/Workflow/biz-logic/leave/common/OrgTitleConfigProperty.vue.d.ts +24 -0
  35. package/dist/packages/components/Workflow/biz-logic/leave/common/UserConfigProperty.vue.d.ts +35 -0
  36. package/dist/packages/components/Workflow/biz-logic/leave/common/WorkflowStatusProperty.vue.d.ts +15 -0
  37. package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +110 -0
  38. package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/index.d.ts +3 -0
  39. package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/palette.d.ts +13 -0
  40. package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/property.vue.d.ts +2 -0
  41. package/dist/packages/components/Workflow/biz-logic/leave/get-company/index.d.ts +3 -0
  42. package/dist/packages/components/Workflow/biz-logic/leave/get-company/palette.d.ts +13 -0
  43. package/dist/packages/components/Workflow/biz-logic/leave/get-company/property.vue.d.ts +2 -0
  44. package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/index.d.ts +3 -0
  45. package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/palette.d.ts +13 -0
  46. package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/property.vue.d.ts +2 -0
  47. package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/index.d.ts +3 -0
  48. package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/palette.d.ts +13 -0
  49. package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/property.vue.d.ts +2 -0
  50. package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/index.d.ts +3 -0
  51. package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/palette.d.ts +13 -0
  52. package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/property.vue.d.ts +2 -0
  53. package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/index.d.ts +3 -0
  54. package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/palette.d.ts +13 -0
  55. package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/property.vue.d.ts +2 -0
  56. package/dist/packages/components/Workflow/biz-logic/leave/index.d.ts +93 -0
  57. package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/index.d.ts +3 -0
  58. package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/palette.d.ts +13 -0
  59. package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/property.vue.d.ts +2 -0
  60. package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/index.d.ts +3 -0
  61. package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/palette.d.ts +13 -0
  62. package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/property.vue.d.ts +2 -0
  63. package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +42 -0
  64. package/dist/packages/components/Workflow/biz-logic/leave/utils/approvalUtil.d.ts +6 -0
  65. package/dist/packages/components/Workflow/biz-logic/leave/utils/counterSignUtil.d.ts +13 -0
  66. package/dist/packages/components/Workflow/biz-logic/leave/utils/findElementUtil.d.ts +2 -0
  67. package/dist/packages/components/Workflow/biz-logic/leave/utils/gatewayUtil.d.ts +6 -0
  68. package/dist/packages/components/Workflow/biz-logic/leave/utils/orgUtil.d.ts +5 -0
  69. package/dist/packages/components/Workflow/biz-logic/leave/utils/titleUtil.d.ts +5 -0
  70. package/dist/packages/components/Workflow/biz-logic/leave/utils/userUtil.d.ts +15 -0
  71. package/dist/packages/components/Workflow/biz-logic/leave/utils/workStatusUtil.d.ts +5 -0
  72. package/dist/packages/components/Workflow/bpmn-icons/getIconType.d.ts +2 -0
  73. package/dist/packages/components/Workflow/bpmn-icons/index.d.ts +113 -0
  74. package/dist/packages/components/Workflow/component.d.ts +2 -0
  75. package/dist/packages/components/Workflow/components/biz/ConditionValueCreator.vue.d.ts +28 -0
  76. package/dist/packages/components/Workflow/components/biz/CounterSignSelector.vue.d.ts +49 -0
  77. package/dist/packages/components/Workflow/components/biz/GatewayConditionSelector.vue.d.ts +39 -0
  78. package/dist/packages/components/Workflow/components/biz/OrgTitleSelector.vue.d.ts +67 -0
  79. package/dist/packages/components/Workflow/components/biz/UserSelector.vue.d.ts +39 -0
  80. package/dist/packages/components/Workflow/components/common/BpmnIcon.vue.d.ts +23 -0
  81. package/dist/packages/components/Workflow/components/common/CollapseTitle.vue.d.ts +14 -0
  82. package/dist/packages/components/Workflow/components/common/EditItem.vue.d.ts +39 -0
  83. package/dist/packages/components/Workflow/contants.d.ts +31 -0
  84. package/dist/packages/components/Workflow/customTranslate/index.d.ts +1 -0
  85. package/dist/packages/components/Workflow/exposeApi.d.ts +14 -0
  86. package/dist/packages/components/Workflow/index.vue.d.ts +13 -0
  87. package/dist/packages/components/Workflow/main.vue.d.ts +25 -0
  88. package/dist/packages/components/Workflow/palette/CustomPalette.d.ts +13 -0
  89. package/dist/packages/components/Workflow/palette/CustomPaletteProvider.d.ts +103 -0
  90. package/dist/packages/components/Workflow/palette/index.d.ts +11 -0
  91. package/dist/packages/components/Workflow/palette/replaceDefault.d.ts +1 -0
  92. package/dist/packages/components/Workflow/store/bpmn-utils/FieldInjectionPropertiesUtil.d.ts +10 -0
  93. package/dist/packages/components/Workflow/store/bpmn-utils/asynchronousContinuationsUtil.d.ts +8 -0
  94. package/dist/packages/components/Workflow/store/bpmn-utils/candidateStarter.d.ts +6 -0
  95. package/dist/packages/components/Workflow/store/bpmn-utils/conditionUtil.d.ts +27 -0
  96. package/dist/packages/components/Workflow/store/bpmn-utils/documentationUtil.d.ts +3 -0
  97. package/dist/packages/components/Workflow/store/bpmn-utils/executionListenersUtil.d.ts +14 -0
  98. package/dist/packages/components/Workflow/store/bpmn-utils/extensionPropertiesUtil.d.ts +4 -0
  99. package/dist/packages/components/Workflow/store/bpmn-utils/formTypeUtil.d.ts +4 -0
  100. package/dist/packages/components/Workflow/store/bpmn-utils/idUtil.d.ts +3 -0
  101. package/dist/packages/components/Workflow/store/bpmn-utils/implementationUtil.d.ts +12 -0
  102. package/dist/packages/components/Workflow/store/bpmn-utils/initiatorUtil.d.ts +5 -0
  103. package/dist/packages/components/Workflow/store/bpmn-utils/jobExecutionUtil.d.ts +8 -0
  104. package/dist/packages/components/Workflow/store/bpmn-utils/listenersUtil.d.ts +16 -0
  105. package/dist/packages/components/Workflow/store/bpmn-utils/multiInstanceUtil.d.ts +8 -0
  106. package/dist/packages/components/Workflow/store/bpmn-utils/nameUtil.d.ts +3 -0
  107. package/dist/packages/components/Workflow/store/bpmn-utils/processUtil.d.ts +5 -0
  108. package/dist/packages/components/Workflow/store/bpmn-utils/scriptUtil.d.ts +3 -0
  109. package/dist/packages/components/Workflow/store/bpmn-utils/userAssignmentUtil.d.ts +8 -0
  110. package/dist/packages/components/Workflow/store/instance.d.ts +1 -0
  111. package/dist/packages/components/Workflow/store/modeler.d.ts +69 -0
  112. package/dist/packages/components/Workflow/store/permission/constants.d.ts +41 -0
  113. package/dist/packages/components/Workflow/store/permission/index.d.ts +27 -0
  114. package/dist/packages/components/Workflow/store/useElementUpdateListener.d.ts +1 -0
  115. package/dist/packages/components/Workflow/types/utils.d.ts +5 -0
  116. package/dist/packages/components/Workflow/utils/BpmnAsyncElement.d.ts +4 -0
  117. package/dist/packages/components/Workflow/utils/BpmnEventDefinitionUtil.d.ts +29 -0
  118. package/dist/packages/components/Workflow/utils/BpmnExtensionElementsUtil.d.ts +14 -0
  119. package/dist/packages/components/Workflow/utils/BpmnImplementationType.d.ts +27 -0
  120. package/dist/packages/components/Workflow/utils/BpmnValidator.d.ts +13 -0
  121. package/dist/packages/components/Workflow/utils/ElementUtil.d.ts +23 -0
  122. package/dist/packages/components/Workflow/utils/Logger.d.ts +13 -0
  123. package/dist/packages/components/Workflow/utils/common.d.ts +3 -0
  124. package/dist/packages/components/Workflow/utils/emitter.d.ts +8 -0
  125. package/dist/packages/components/Workflow/utils/parseBizString.d.ts +23 -0
  126. package/dist/packages/components/Workflow/xml.d.ts +1 -0
  127. package/dist/packages/components/components.d.ts +2 -0
  128. package/dist/packages/components/contants.d.ts +2 -0
  129. package/dist/packages/components/create.d.ts +13 -0
  130. package/dist/packages/components/installer.d.ts +2 -0
  131. package/dist/packages/i18n/en_US/configForm.d.ts +33 -0
  132. package/dist/packages/i18n/en_US/elements/events.d.ts +49 -0
  133. package/dist/packages/i18n/en_US/elements/gateway.d.ts +14 -0
  134. package/dist/packages/i18n/en_US/elements/other.d.ts +184 -0
  135. package/dist/packages/i18n/en_US/elements/tasks.d.ts +28 -0
  136. package/dist/packages/i18n/en_US/index.d.ts +394 -0
  137. package/dist/packages/i18n/en_US/lint.d.ts +5 -0
  138. package/dist/packages/i18n/en_US/panel.d.ts +88 -0
  139. package/dist/packages/i18n/en_US/toolbar.d.ts +28 -0
  140. package/dist/packages/i18n/index.d.ts +790 -0
  141. package/dist/packages/i18n/zh_CN/configForm.d.ts +33 -0
  142. package/dist/packages/i18n/zh_CN/elements/events.d.ts +49 -0
  143. package/dist/packages/i18n/zh_CN/elements/gateway.d.ts +14 -0
  144. package/dist/packages/i18n/zh_CN/elements/other.d.ts +184 -0
  145. package/dist/packages/i18n/zh_CN/elements/tasks.d.ts +28 -0
  146. package/dist/packages/i18n/zh_CN/index.d.ts +394 -0
  147. package/dist/packages/i18n/zh_CN/lint.d.ts +5 -0
  148. package/dist/packages/i18n/zh_CN/panel.d.ts +88 -0
  149. package/dist/packages/i18n/zh_CN/toolbar.d.ts +28 -0
  150. package/dist/style.css +1 -0
  151. package/dist/vanilla-picker-CWMPCyEj.mjs +539 -0
  152. package/package.json +24 -5
  153. package/dist/packages/components/index.d.ts +0 -3
package/README.md CHANGED
@@ -1,3 +1,28 @@
1
1
  # @szjy/workflow
2
2
 
3
3
  基于 vite + vue3 + typescript 的组件
4
+
5
+
6
+ ## 使用
7
+
8
+ 先安装:
9
+ ```shell
10
+ npm i @szjy/workflow
11
+ ```
12
+
13
+ 然后在项目中引入:
14
+
15
+ ```typescript
16
+ import SWorkflow from '@szjy/workflow';
17
+ import '@szjy/workflow/dist/style.css';
18
+
19
+ app.use(SWorkflow).mount('#app')
20
+ ```
21
+
22
+ 这样就可以在项目中使用组件了:
23
+
24
+ ```html
25
+ <sz-workflow></sz-workflow>
26
+ ```
27
+
28
+
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { App } from "vue";
2
+ export * from "./packages/components/components";
3
+ export { default as create } from './packages/components/create';
2
4
  declare const _default: {
3
- SHello: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
5
  install(app: App): void;
5
6
  };
6
7
  export default _default;