@ailaw/venus 1.312.0 → 1.313.0
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/venus.es.js +7 -4
- package/package.json +1 -1
package/dist/venus.es.js
CHANGED
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, ref, watch, toRefs, reactive, computed, getCurrentScope, shallowRef } from "vue-demi";
|
|
20
|
+
import { defineComponent, ref, watch, toRefs, reactive, computed, useAttrs, getCurrentScope, shallowRef } from "vue-demi";
|
|
21
21
|
import { Select, Modal, FormModel, Input, Checkbox, Divider, Button, Popover, Upload, Tag, Icon, message, Tooltip, Form, Row, Col, Radio, Popconfirm, Table, Badge, Card } from "ant-design-vue";
|
|
22
22
|
import { useQuery, useResult, useMutation, useApolloClient } from "@vue/apollo-composable";
|
|
23
23
|
import gql from "graphql-tag";
|
|
@@ -2630,6 +2630,8 @@ var __vue2_script$8 = defineComponent({
|
|
|
2630
2630
|
}
|
|
2631
2631
|
},
|
|
2632
2632
|
setup(props, { emit }) {
|
|
2633
|
+
const attrs = useAttrs();
|
|
2634
|
+
const resolvedUploadFilesFunc = props.uploadFilesFunc || attrs.uploadfilesfunc || attrs["upload-files-func"];
|
|
2633
2635
|
const nameError = ref(false);
|
|
2634
2636
|
const typeError = ref(false);
|
|
2635
2637
|
const nameErrorContent = ref("message.required");
|
|
@@ -2704,7 +2706,8 @@ var __vue2_script$8 = defineComponent({
|
|
|
2704
2706
|
nameErrorContent,
|
|
2705
2707
|
belongsTo,
|
|
2706
2708
|
AssigneeTypes,
|
|
2707
|
-
shouldShowBelongsTo
|
|
2709
|
+
shouldShowBelongsTo,
|
|
2710
|
+
resolvedUploadFilesFunc
|
|
2708
2711
|
};
|
|
2709
2712
|
}
|
|
2710
2713
|
});
|
|
@@ -2736,7 +2739,7 @@ var render$8 = function() {
|
|
|
2736
2739
|
return _c("ant-select-option", { key: item[0], attrs: { "value": item[1] } }, [_vm._v(" " + _vm._s(item[0]) + " ")]);
|
|
2737
2740
|
}), 1)], 1)], 1) : _vm._e()], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.descriptions") + " (" + _vm.$t("message.optional") + ")" } }, [_c("ant-textarea", { attrs: { "disabled": _vm.disabled, "value": _vm.value.descriptions }, on: { "input": function($event) {
|
|
2738
2741
|
return _vm.changeVal("descriptions", $event.target.value);
|
|
2739
|
-
} } })], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.attachment") + " (" + _vm.$t("message.optional") + ")" } }, [_c("a-file-uploader", { attrs: { "disabled": _vm.value.presetDocs != null || _vm.disabled, "value": _vm.value.presetDocs || _vm.value.sampleDocs, "upload-files-func": _vm.
|
|
2742
|
+
} } })], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.attachment") + " (" + _vm.$t("message.optional") + ")" } }, [_c("a-file-uploader", { attrs: { "disabled": _vm.value.presetDocs != null || _vm.disabled, "value": _vm.value.presetDocs || _vm.value.sampleDocs, "upload-files-func": _vm.resolvedUploadFilesFunc }, on: { "change": function($event) {
|
|
2740
2743
|
return _vm.changeVal("sampleDocs", $event);
|
|
2741
2744
|
} } })], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.tags") + " (" + _vm.$t("message.optional") + ")" } }, [_c("ant-select", { attrs: { "disabled": _vm.disabled, "mode": "tags", "value": _vm.value.tagList || [], "options": [] }, on: { "change": function($event) {
|
|
2742
2745
|
return _vm.changeVal("tagList", $event);
|
|
@@ -2747,7 +2750,7 @@ var render$8 = function() {
|
|
|
2747
2750
|
var staticRenderFns$8 = [];
|
|
2748
2751
|
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
2749
2752
|
const __cssModules$8 = {};
|
|
2750
|
-
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "
|
|
2753
|
+
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "46e42f4c", null, null);
|
|
2751
2754
|
function __vue2_injectStyles$8(context) {
|
|
2752
2755
|
for (let o in __cssModules$8) {
|
|
2753
2756
|
this[o] = __cssModules$8[o];
|