@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.
- package/README.md +25 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +127748 -0
- package/dist/index.umd.js +4129 -95
- package/dist/packages/components/Hello/component.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/index.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementAsyncContinuations.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementCandidateStarter.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementConditional.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementDocumentations.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementExtensionProperties.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementFieldInjection.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementFormType.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementGenerations.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementHOC.d.ts +12 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementImplementation.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementJobExecution.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementListeners.vue.d.ts +14 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementMultiInstance.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementStartInitiator.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementUserAssignment.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/ui/FieldList.vue.d.ts +36 -0
- package/dist/packages/components/Workflow/PropertyPanel/ui/HasEdit.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/ui/JsonEditor.vue.d.ts +14 -0
- package/dist/packages/components/Workflow/Toolbar.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/form-permissions/FormPermissionProperty.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/form-permissions/util.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/approval/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/approval/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/approval/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/approval/util.d.ts +10 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/CounterSignProperty.vue.d.ts +15 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/GatewayLineProperty.vue.d.ts +35 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/OrgTitleConfigProperty.vue.d.ts +24 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/UserConfigProperty.vue.d.ts +35 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/WorkflowStatusProperty.vue.d.ts +15 -0
- package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +110 -0
- package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-company/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-company/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-company/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/index.d.ts +93 -0
- package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +42 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/approvalUtil.d.ts +6 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/counterSignUtil.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/findElementUtil.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/gatewayUtil.d.ts +6 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/orgUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/titleUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/userUtil.d.ts +15 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/workStatusUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/bpmn-icons/getIconType.d.ts +2 -0
- package/dist/packages/components/Workflow/bpmn-icons/index.d.ts +113 -0
- package/dist/packages/components/Workflow/component.d.ts +2 -0
- package/dist/packages/components/Workflow/components/biz/ConditionValueCreator.vue.d.ts +28 -0
- package/dist/packages/components/Workflow/components/biz/CounterSignSelector.vue.d.ts +49 -0
- package/dist/packages/components/Workflow/components/biz/GatewayConditionSelector.vue.d.ts +39 -0
- package/dist/packages/components/Workflow/components/biz/OrgTitleSelector.vue.d.ts +67 -0
- package/dist/packages/components/Workflow/components/biz/UserSelector.vue.d.ts +39 -0
- package/dist/packages/components/Workflow/components/common/BpmnIcon.vue.d.ts +23 -0
- package/dist/packages/components/Workflow/components/common/CollapseTitle.vue.d.ts +14 -0
- package/dist/packages/components/Workflow/components/common/EditItem.vue.d.ts +39 -0
- package/dist/packages/components/Workflow/contants.d.ts +31 -0
- package/dist/packages/components/Workflow/customTranslate/index.d.ts +1 -0
- package/dist/packages/components/Workflow/exposeApi.d.ts +14 -0
- package/dist/packages/components/Workflow/index.vue.d.ts +13 -0
- package/dist/packages/components/Workflow/main.vue.d.ts +25 -0
- package/dist/packages/components/Workflow/palette/CustomPalette.d.ts +13 -0
- package/dist/packages/components/Workflow/palette/CustomPaletteProvider.d.ts +103 -0
- package/dist/packages/components/Workflow/palette/index.d.ts +11 -0
- package/dist/packages/components/Workflow/palette/replaceDefault.d.ts +1 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/FieldInjectionPropertiesUtil.d.ts +10 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/asynchronousContinuationsUtil.d.ts +8 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/candidateStarter.d.ts +6 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/conditionUtil.d.ts +27 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/documentationUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/executionListenersUtil.d.ts +14 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/extensionPropertiesUtil.d.ts +4 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/formTypeUtil.d.ts +4 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/idUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/implementationUtil.d.ts +12 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/initiatorUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/jobExecutionUtil.d.ts +8 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/listenersUtil.d.ts +16 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/multiInstanceUtil.d.ts +8 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/nameUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/processUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/scriptUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/userAssignmentUtil.d.ts +8 -0
- package/dist/packages/components/Workflow/store/instance.d.ts +1 -0
- package/dist/packages/components/Workflow/store/modeler.d.ts +69 -0
- package/dist/packages/components/Workflow/store/permission/constants.d.ts +41 -0
- package/dist/packages/components/Workflow/store/permission/index.d.ts +27 -0
- package/dist/packages/components/Workflow/store/useElementUpdateListener.d.ts +1 -0
- package/dist/packages/components/Workflow/types/utils.d.ts +5 -0
- package/dist/packages/components/Workflow/utils/BpmnAsyncElement.d.ts +4 -0
- package/dist/packages/components/Workflow/utils/BpmnEventDefinitionUtil.d.ts +29 -0
- package/dist/packages/components/Workflow/utils/BpmnExtensionElementsUtil.d.ts +14 -0
- package/dist/packages/components/Workflow/utils/BpmnImplementationType.d.ts +27 -0
- package/dist/packages/components/Workflow/utils/BpmnValidator.d.ts +13 -0
- package/dist/packages/components/Workflow/utils/ElementUtil.d.ts +23 -0
- package/dist/packages/components/Workflow/utils/Logger.d.ts +13 -0
- package/dist/packages/components/Workflow/utils/common.d.ts +3 -0
- package/dist/packages/components/Workflow/utils/emitter.d.ts +8 -0
- package/dist/packages/components/Workflow/utils/parseBizString.d.ts +23 -0
- package/dist/packages/components/Workflow/xml.d.ts +1 -0
- package/dist/packages/components/components.d.ts +2 -0
- package/dist/packages/components/contants.d.ts +2 -0
- package/dist/packages/components/create.d.ts +13 -0
- package/dist/packages/components/installer.d.ts +2 -0
- package/dist/packages/i18n/en_US/configForm.d.ts +33 -0
- package/dist/packages/i18n/en_US/elements/events.d.ts +49 -0
- package/dist/packages/i18n/en_US/elements/gateway.d.ts +14 -0
- package/dist/packages/i18n/en_US/elements/other.d.ts +184 -0
- package/dist/packages/i18n/en_US/elements/tasks.d.ts +28 -0
- package/dist/packages/i18n/en_US/index.d.ts +394 -0
- package/dist/packages/i18n/en_US/lint.d.ts +5 -0
- package/dist/packages/i18n/en_US/panel.d.ts +88 -0
- package/dist/packages/i18n/en_US/toolbar.d.ts +28 -0
- package/dist/packages/i18n/index.d.ts +790 -0
- package/dist/packages/i18n/zh_CN/configForm.d.ts +33 -0
- package/dist/packages/i18n/zh_CN/elements/events.d.ts +49 -0
- package/dist/packages/i18n/zh_CN/elements/gateway.d.ts +14 -0
- package/dist/packages/i18n/zh_CN/elements/other.d.ts +184 -0
- package/dist/packages/i18n/zh_CN/elements/tasks.d.ts +28 -0
- package/dist/packages/i18n/zh_CN/index.d.ts +394 -0
- package/dist/packages/i18n/zh_CN/lint.d.ts +5 -0
- package/dist/packages/i18n/zh_CN/panel.d.ts +88 -0
- package/dist/packages/i18n/zh_CN/toolbar.d.ts +28 -0
- package/dist/style.css +1 -0
- package/dist/vanilla-picker-CWMPCyEj.mjs +539 -0
- package/package.json +24 -5
- 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;
|