@yugu-ui/flow-ui 0.1.5 → 0.1.7

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/index.js CHANGED
@@ -5946,7 +5946,8 @@ var ApprovalModal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
5946
5946
  modelValue: model.attachments,
5947
5947
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => model.attachments = $event),
5948
5948
  "upload-type": "file",
5949
- drag: false
5949
+ drag: false,
5950
+ accept: ".doc,.docx,.xls,.xlsx,.ppt,.pptx,.txt,.pdf,.zip,.rar,.7z,.jpg,.jpeg,.png,.gif,.bmp,.webp"
5950
5951
  }, null, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_2$4, "未注入附件上传组件(components.FileUpload),附件上传不可用"))]),
5951
5952
  _: 1
5952
5953
  })
@@ -5957,7 +5958,7 @@ var ApprovalModal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
5957
5958
  }, 8, ["show", "title"]);
5958
5959
  };
5959
5960
  }
5960
- }), [["__scopeId", "data-v-fb3bd9c6"]]);
5961
+ }), [["__scopeId", "data-v-884fd292"]]);
5961
5962
  //#endregion
5962
5963
  //#region src/base-ui/base-card-item.vue?vue&type=script&setup=true&lang.ts
5963
5964
  var _hoisted_1$5 = { class: "header" };
@@ -6516,10 +6517,13 @@ var FlowLayout_default = /* @__PURE__ */ defineComponent({
6516
6517
  loading: { type: Boolean },
6517
6518
  flowId: {},
6518
6519
  mode: {},
6519
- beforeSubmit: { type: Function },
6520
- getFormData: { type: Function },
6520
+ beforeSubmit: {},
6521
+ getFormData: {},
6521
6522
  timelineData: {},
6522
- approval: { type: Boolean }
6523
+ approval: {
6524
+ type: Boolean,
6525
+ default: true
6526
+ }
6523
6527
  },
6524
6528
  emits: [
6525
6529
  "success",
package/dist/style.css CHANGED
@@ -2116,7 +2116,7 @@ to {
2116
2116
  color: var(--flow-primary-color);
2117
2117
  }
2118
2118
  /* Developed collaboratively with vscode - 改动代码行数: 3行 */
2119
- .reject-node-list[data-v-fb3bd9c6] {
2119
+ .reject-node-list[data-v-884fd292] {
2120
2120
  width: 100%;
2121
2121
  }
2122
2122
 
@@ -35,7 +35,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
35
35
  onSuccess?: (() => any) | undefined;
36
36
  onClose?: (() => any) | undefined;
37
37
  onSubmitted?: (() => any) | undefined;
38
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
+ }>, {
39
+ approval: boolean;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
41
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
40
42
  declare const _default: typeof __VLS_export;
41
43
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yugu-ui/flow-ui",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "堉古商城流程组件库:流程设计器(config)/ 审批时间线(timeline)/ 流程列表(FlowList)",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",