bm-admin-ui 1.2.34-alpha → 1.2.35-alpha

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.
@@ -1,14 +1,14 @@
1
1
  declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
2
  file: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  }, {
7
7
  emit: (event: "preview" | "download", ...args: any[]) => void;
8
8
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
9
9
  file: {
10
10
  type: ObjectConstructor;
11
- default: () => void;
11
+ default: () => {};
12
12
  };
13
13
  }>> & {
14
14
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -18,7 +18,7 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
18
18
  data: any;
19
19
  renderSize: (size: any) => string;
20
20
  setVisible: (value: any) => void;
21
- preview: (item: any) => void;
21
+ preview: (item: any) => false | undefined;
22
22
  download: (item: any) => void;
23
23
  BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
24
24
  name: string;
@@ -58,7 +58,7 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  file: {
60
60
  type: ObjectConstructor;
61
- default: () => void;
61
+ default: () => {};
62
62
  };
63
63
  }>> & {
64
64
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -145,8 +145,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
145
145
  props: {
146
146
  file: {
147
147
  type: Object,
148
- default: () => {
149
- }
148
+ default: () => ({})
150
149
  }
151
150
  },
152
151
  emits: ["preview", "download"],
@@ -202,9 +201,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
202
201
  if (data.pictureFileTypes.indexOf(data.fileType) > -1) {
203
202
  setVisible(true);
204
203
  data.openViewImage = item.filePath;
205
- return;
206
- }
207
- window.open(item.filePath);
204
+ return false;
205
+ } else
206
+ emit("preview", { file: item, fileType: data.fileType });
208
207
  };
209
208
  const download = (item) => {
210
209
  emit("download", { file: item });
@@ -240,7 +239,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
240
239
  onClick: download
241
240
  }, [
242
241
  createVNode(unref(DownloadOutlined)),
243
- createTextVNode(),
244
242
  createElementVNode("span", _hoisted_4, toDisplayString(renderSize(__props.file.fileSize)), 1)
245
243
  ])) : createCommentVNode("v-if", true),
246
244
  !data.nonsupportPreview ? (openBlock(), createElementBlock("div", {
@@ -1,14 +1,14 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  file: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  }, {
7
7
  emit: (event: "preview" | "download", ...args: any[]) => void;
8
8
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
9
9
  file: {
10
10
  type: ObjectConstructor;
11
- default: () => void;
11
+ default: () => {};
12
12
  };
13
13
  }>> & {
14
14
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
18
18
  data: any;
19
19
  renderSize: (size: any) => string;
20
20
  setVisible: (value: any) => void;
21
- preview: (item: any) => void;
21
+ preview: (item: any) => false | undefined;
22
22
  download: (item: any) => void;
23
23
  BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
24
24
  name: string;
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  file: {
60
60
  type: ObjectConstructor;
61
- default: () => void;
61
+ default: () => {};
62
62
  };
63
63
  }>> & {
64
64
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -10,71 +10,71 @@ var _export_sfc = (sfc, props) => {
10
10
  return target;
11
11
  };
12
12
 
13
- const _sfc_main = defineComponent({
14
- name: 'BmCascader',
15
- components: { DownOutlined },
16
- props: {
17
- tipType: {
18
- type: String,
19
- default: () => {
20
- return 'none'
21
- },
22
- },
23
- width: {
24
- type: Number,
25
- default: () => {
26
- return 200
27
- },
28
- },
29
- },
30
- setup(props, { emit, attrs }) {
31
- const nameArr = (arr) => {
32
- return arr.reduce(
33
- (acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
34
- []
35
- )
36
- };
37
- const state = reactive({
38
- labelNameList: '',
39
- visible: false,
40
- });
41
- const methods = {
42
- onmouseover() {
43
- state.labelNameList.length && (state.visible = true);
44
- },
45
- onmouseout() {
46
- state.labelNameList.length && (state.visible = false);
47
- },
48
- onchange(value, selectedOptions) {
49
- if (attrs.multiple === '' || attrs.multiple) {
50
- let res = selectedOptions.map((v, k) => {
51
- return v.map((e, i) => {
52
- return e.label
53
- })
54
- });
55
- state.labelNameList = nameArr(res).join(',');
56
- }
57
- },
58
- };
59
- watch(
60
- () => state.labelNameList.length,
61
- (val) => {
62
- if (!val) {
63
- state.visible = false;
64
- }
65
- },
66
- { deep: true }
67
- );
68
- onMounted(() => {
69
- attrs.value?.length &&
70
- (state.labelNameList = nameArr(attrs.value).join(','));
71
- });
72
- return {
73
- ...toRefs(state),
74
- ...methods,
75
- }
76
- },
77
- });
13
+ const _sfc_main = defineComponent({
14
+ name: 'BmCascader',
15
+ components: { DownOutlined },
16
+ props: {
17
+ tipType: {
18
+ type: String,
19
+ default: () => {
20
+ return 'none'
21
+ },
22
+ },
23
+ width: {
24
+ type: Number,
25
+ default: () => {
26
+ return 200
27
+ },
28
+ },
29
+ },
30
+ setup(props, { emit, attrs }) {
31
+ const nameArr = (arr) => {
32
+ return arr.reduce(
33
+ (acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
34
+ []
35
+ )
36
+ };
37
+ const state = reactive({
38
+ labelNameList: '',
39
+ visible: false,
40
+ });
41
+ const methods = {
42
+ onmouseover() {
43
+ state.labelNameList.length && (state.visible = true);
44
+ },
45
+ onmouseout() {
46
+ state.labelNameList.length && (state.visible = false);
47
+ },
48
+ onchange(value, selectedOptions) {
49
+ if (attrs.multiple === '' || attrs.multiple) {
50
+ let res = selectedOptions.map((v, k) => {
51
+ return v.map((e, i) => {
52
+ return e.label
53
+ })
54
+ });
55
+ state.labelNameList = nameArr(res).join(',');
56
+ }
57
+ },
58
+ };
59
+ watch(
60
+ () => state.labelNameList.length,
61
+ (val) => {
62
+ if (!val) {
63
+ state.visible = false;
64
+ }
65
+ },
66
+ { deep: true }
67
+ );
68
+ onMounted(() => {
69
+ attrs.value?.length &&
70
+ (state.labelNameList = nameArr(attrs.value).join(','));
71
+ });
72
+ return {
73
+ ...toRefs(state),
74
+ ...methods,
75
+ }
76
+ },
77
+ });
78
78
 
79
79
  const _hoisted_1 = {
80
80
  ref: "BmCascader",
@@ -95,18 +95,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
95
95
  ? (openBlock(), createBlock(_component_a_popover, {
96
96
  key: 0,
97
97
  visible: _ctx.visible,
98
- "get-popup-container":
99
- (triggerNode) => {
100
- return triggerNode.parentNode
101
- }
98
+ "get-popup-container":
99
+ (triggerNode) => {
100
+ return triggerNode.parentNode
101
+ }
102
102
 
103
103
  }, createSlots({
104
104
  default: withCtx(() => [
105
105
  createVNode(_component_a_cascader, mergeProps(_ctx.$attrs, {
106
- style: {
107
- width:
108
- _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
109
- minWidth: _ctx.width + 'px',
106
+ style: {
107
+ width:
108
+ _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
109
+ minWidth: _ctx.width + 'px',
110
110
  },
111
111
  "show-arrow": true,
112
112
  onMouseover: _ctx.onmouseover,
@@ -159,10 +159,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
159
159
  }, createSlots({
160
160
  default: withCtx(() => [
161
161
  createVNode(_component_a_cascader, mergeProps(_ctx.$attrs, {
162
- style: {
163
- width:
164
- _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
165
- minWidth: _ctx.width + 'px',
162
+ style: {
163
+ width:
164
+ _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
165
+ minWidth: _ctx.width + 'px',
166
166
  },
167
167
  "show-arrow": true,
168
168
  onMouseover: _ctx.onmouseover,
@@ -1070,7 +1070,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1070
1070
  createVNode(unref(BmOverTooltips), {
1071
1071
  title: unref(getShowValue)(item) || tmpForm.value[item.prop]
1072
1072
  }, null, 8, ["title"]),
1073
- createCommentVNode(' <AutoTooltip\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\n /> ')
1073
+ createCommentVNode(' <AutoTooltip\r\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\r\n /> ')
1074
1074
  ], 6)) : createCommentVNode("v-if", true),
1075
1075
  item.type === "multiText" ? (openBlock(), createElementBlock("div", {
1076
1076
  key: 15,
@@ -276,7 +276,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
276
276
  createElementVNode("span", {
277
277
  class: normalizeClass(["opeator", { active: __props.isCustom }])
278
278
  }, [
279
- createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " />&nbsp;\u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
279
+ createCommentVNode(' <CopyOutlined\r\n @click.stop="\r\n () => {\r\n copyCallback()\r\n }\r\n " />&nbsp;\u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
280
280
  createVNode(unref(CloseOutlined), {
281
281
  onClick: _cache[0] || (_cache[0] = withModifiers(
282
282
  () => {
@@ -18773,7 +18773,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
18773
18773
  debounceFetch("");
18774
18774
  return (_ctx, _cache) => {
18775
18775
  return openBlock(), createElementBlock(Fragment, null, [
18776
- createCommentVNode(' <Input\n v-model:value="inputValue"\n placeholder="\u8BF7\u8F93\u5165"\n :disabled="disabled"\n @change="debounceFn($event.target.value)"\n ></Input> '),
18776
+ createCommentVNode(' <Input\r\n v-model:value="inputValue"\r\n placeholder="\u8BF7\u8F93\u5165"\r\n :disabled="disabled"\r\n @change="debounceFn($event.target.value)"\r\n ></Input> '),
18777
18777
  createVNode(unref(Select), {
18778
18778
  value: __props.value,
18779
18779
  placeholder: "\u8BF7\u9009\u62E9",
@@ -1,14 +1,14 @@
1
1
  declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
2
  file: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  }, {
7
7
  emit: (event: "preview" | "download", ...args: any[]) => void;
8
8
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
9
9
  file: {
10
10
  type: ObjectConstructor;
11
- default: () => void;
11
+ default: () => {};
12
12
  };
13
13
  }>> & {
14
14
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -18,7 +18,7 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
18
18
  data: any;
19
19
  renderSize: (size: any) => string;
20
20
  setVisible: (value: any) => void;
21
- preview: (item: any) => void;
21
+ preview: (item: any) => false | undefined;
22
22
  download: (item: any) => void;
23
23
  BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
24
24
  name: string;
@@ -58,7 +58,7 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  file: {
60
60
  type: ObjectConstructor;
61
- default: () => void;
61
+ default: () => {};
62
62
  };
63
63
  }>> & {
64
64
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -149,8 +149,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
149
149
  props: {
150
150
  file: {
151
151
  type: Object,
152
- default: () => {
153
- }
152
+ default: () => ({})
154
153
  }
155
154
  },
156
155
  emits: ["preview", "download"],
@@ -206,9 +205,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
206
205
  if (data.pictureFileTypes.indexOf(data.fileType) > -1) {
207
206
  setVisible(true);
208
207
  data.openViewImage = item.filePath;
209
- return;
210
- }
211
- window.open(item.filePath);
208
+ return false;
209
+ } else
210
+ emit("preview", { file: item, fileType: data.fileType });
212
211
  };
213
212
  const download = (item) => {
214
213
  emit("download", { file: item });
@@ -244,7 +243,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
244
243
  onClick: download
245
244
  }, [
246
245
  vue.createVNode(vue.unref(iconsVue.DownloadOutlined)),
247
- vue.createTextVNode(),
248
246
  vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(renderSize(__props.file.fileSize)), 1)
249
247
  ])) : vue.createCommentVNode("v-if", true),
250
248
  !data.nonsupportPreview ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -1,14 +1,14 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  file: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  }, {
7
7
  emit: (event: "preview" | "download", ...args: any[]) => void;
8
8
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
9
9
  file: {
10
10
  type: ObjectConstructor;
11
- default: () => void;
11
+ default: () => {};
12
12
  };
13
13
  }>> & {
14
14
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
18
18
  data: any;
19
19
  renderSize: (size: any) => string;
20
20
  setVisible: (value: any) => void;
21
- preview: (item: any) => void;
21
+ preview: (item: any) => false | undefined;
22
22
  download: (item: any) => void;
23
23
  BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
24
24
  name: string;
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  file: {
60
60
  type: ObjectConstructor;
61
- default: () => void;
61
+ default: () => {};
62
62
  };
63
63
  }>> & {
64
64
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -14,71 +14,71 @@ var _export_sfc = (sfc, props) => {
14
14
  return target;
15
15
  };
16
16
 
17
- const _sfc_main = vue.defineComponent({
18
- name: 'BmCascader',
19
- components: { DownOutlined: iconsVue.DownOutlined },
20
- props: {
21
- tipType: {
22
- type: String,
23
- default: () => {
24
- return 'none'
25
- },
26
- },
27
- width: {
28
- type: Number,
29
- default: () => {
30
- return 200
31
- },
32
- },
33
- },
34
- setup(props, { emit, attrs }) {
35
- const nameArr = (arr) => {
36
- return arr.reduce(
37
- (acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
38
- []
39
- )
40
- };
41
- const state = vue.reactive({
42
- labelNameList: '',
43
- visible: false,
44
- });
45
- const methods = {
46
- onmouseover() {
47
- state.labelNameList.length && (state.visible = true);
48
- },
49
- onmouseout() {
50
- state.labelNameList.length && (state.visible = false);
51
- },
52
- onchange(value, selectedOptions) {
53
- if (attrs.multiple === '' || attrs.multiple) {
54
- let res = selectedOptions.map((v, k) => {
55
- return v.map((e, i) => {
56
- return e.label
57
- })
58
- });
59
- state.labelNameList = nameArr(res).join(',');
60
- }
61
- },
62
- };
63
- vue.watch(
64
- () => state.labelNameList.length,
65
- (val) => {
66
- if (!val) {
67
- state.visible = false;
68
- }
69
- },
70
- { deep: true }
71
- );
72
- vue.onMounted(() => {
73
- attrs.value?.length &&
74
- (state.labelNameList = nameArr(attrs.value).join(','));
75
- });
76
- return {
77
- ...vue.toRefs(state),
78
- ...methods,
79
- }
80
- },
81
- });
17
+ const _sfc_main = vue.defineComponent({
18
+ name: 'BmCascader',
19
+ components: { DownOutlined: iconsVue.DownOutlined },
20
+ props: {
21
+ tipType: {
22
+ type: String,
23
+ default: () => {
24
+ return 'none'
25
+ },
26
+ },
27
+ width: {
28
+ type: Number,
29
+ default: () => {
30
+ return 200
31
+ },
32
+ },
33
+ },
34
+ setup(props, { emit, attrs }) {
35
+ const nameArr = (arr) => {
36
+ return arr.reduce(
37
+ (acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
38
+ []
39
+ )
40
+ };
41
+ const state = vue.reactive({
42
+ labelNameList: '',
43
+ visible: false,
44
+ });
45
+ const methods = {
46
+ onmouseover() {
47
+ state.labelNameList.length && (state.visible = true);
48
+ },
49
+ onmouseout() {
50
+ state.labelNameList.length && (state.visible = false);
51
+ },
52
+ onchange(value, selectedOptions) {
53
+ if (attrs.multiple === '' || attrs.multiple) {
54
+ let res = selectedOptions.map((v, k) => {
55
+ return v.map((e, i) => {
56
+ return e.label
57
+ })
58
+ });
59
+ state.labelNameList = nameArr(res).join(',');
60
+ }
61
+ },
62
+ };
63
+ vue.watch(
64
+ () => state.labelNameList.length,
65
+ (val) => {
66
+ if (!val) {
67
+ state.visible = false;
68
+ }
69
+ },
70
+ { deep: true }
71
+ );
72
+ vue.onMounted(() => {
73
+ attrs.value?.length &&
74
+ (state.labelNameList = nameArr(attrs.value).join(','));
75
+ });
76
+ return {
77
+ ...vue.toRefs(state),
78
+ ...methods,
79
+ }
80
+ },
81
+ });
82
82
 
83
83
  const _hoisted_1 = {
84
84
  ref: "BmCascader",
@@ -99,18 +99,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
99
99
  ? (vue.openBlock(), vue.createBlock(_component_a_popover, {
100
100
  key: 0,
101
101
  visible: _ctx.visible,
102
- "get-popup-container":
103
- (triggerNode) => {
104
- return triggerNode.parentNode
105
- }
102
+ "get-popup-container":
103
+ (triggerNode) => {
104
+ return triggerNode.parentNode
105
+ }
106
106
 
107
107
  }, vue.createSlots({
108
108
  default: vue.withCtx(() => [
109
109
  vue.createVNode(_component_a_cascader, vue.mergeProps(_ctx.$attrs, {
110
- style: {
111
- width:
112
- _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
113
- minWidth: _ctx.width + 'px',
110
+ style: {
111
+ width:
112
+ _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
113
+ minWidth: _ctx.width + 'px',
114
114
  },
115
115
  "show-arrow": true,
116
116
  onMouseover: _ctx.onmouseover,
@@ -163,10 +163,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
163
163
  }, vue.createSlots({
164
164
  default: vue.withCtx(() => [
165
165
  vue.createVNode(_component_a_cascader, vue.mergeProps(_ctx.$attrs, {
166
- style: {
167
- width:
168
- _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
169
- minWidth: _ctx.width + 'px',
166
+ style: {
167
+ width:
168
+ _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
169
+ minWidth: _ctx.width + 'px',
170
170
  },
171
171
  "show-arrow": true,
172
172
  onMouseover: _ctx.onmouseover,
@@ -1078,7 +1078,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1078
1078
  vue.createVNode(vue.unref(BmOverTooltips__default["default"]), {
1079
1079
  title: vue.unref(getShowValue)(item) || tmpForm.value[item.prop]
1080
1080
  }, null, 8, ["title"]),
1081
- vue.createCommentVNode(' <AutoTooltip\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\n /> ')
1081
+ vue.createCommentVNode(' <AutoTooltip\r\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\r\n /> ')
1082
1082
  ], 6)) : vue.createCommentVNode("v-if", true),
1083
1083
  item.type === "multiText" ? (vue.openBlock(), vue.createElementBlock("div", {
1084
1084
  key: 15,
@@ -287,7 +287,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
287
287
  vue.createElementVNode("span", {
288
288
  class: vue.normalizeClass(["opeator", { active: __props.isCustom }])
289
289
  }, [
290
- vue.createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " />&nbsp;\u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
290
+ vue.createCommentVNode(' <CopyOutlined\r\n @click.stop="\r\n () => {\r\n copyCallback()\r\n }\r\n " />&nbsp;\u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
291
291
  vue.createVNode(vue.unref(iconsVue.CloseOutlined), {
292
292
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(
293
293
  () => {
@@ -18787,7 +18787,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
18787
18787
  debounceFetch("");
18788
18788
  return (_ctx, _cache) => {
18789
18789
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
18790
- vue.createCommentVNode(' <Input\n v-model:value="inputValue"\n placeholder="\u8BF7\u8F93\u5165"\n :disabled="disabled"\n @change="debounceFn($event.target.value)"\n ></Input> '),
18790
+ vue.createCommentVNode(' <Input\r\n v-model:value="inputValue"\r\n placeholder="\u8BF7\u8F93\u5165"\r\n :disabled="disabled"\r\n @change="debounceFn($event.target.value)"\r\n ></Input> '),
18791
18791
  vue.createVNode(vue.unref(antDesignVue.Select), {
18792
18792
  value: __props.value,
18793
18793
  placeholder: "\u8BF7\u9009\u62E9",
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
- {
2
- "name": "bm-admin-ui",
3
- "version": "1.2.34-alpha",
4
- "private": false,
5
- "description": "An Admin Component Library for Bm",
6
- "license": "UNLICENSED",
7
- "repository": {
8
- "type": "git",
9
- "url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
10
- },
11
- "main": "lib/index.js",
12
- "module": "es/index.js",
13
- "unpkg": "index.js",
14
- "peerDependencies": {
15
- "vue": "^3.2.31"
16
- },
17
- "dependencies": {
18
- "@form-create/ant-design-vue": "^3.1.12",
19
- "@logicflow/core": "^1.1.7",
20
- "@logicflow/extension": "^1.1.7",
21
- "floating-vue": "2.0.0-beta.17",
22
- "@ant-design/icons-vue": "^6.1.0",
23
- "ant-design-vue": "^3.2.10",
24
- "bm-admin-icons": "^0.2.7",
25
- "vuedraggable": "^4.1.0",
26
- "lodash-es": "^4.17.21",
27
- "dayjs": "^1.11.4",
28
- "vxe-table": "4.2.3",
29
- "xe-utils": "3.5.4"
30
- },
31
- "sideEffects": [
32
- "theme-chalk/*.css"
33
- ]
34
- }
1
+ {
2
+ "name": "bm-admin-ui",
3
+ "version": "1.2.35-alpha",
4
+ "private": false,
5
+ "description": "An Admin Component Library for Bm",
6
+ "license": "UNLICENSED",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
10
+ },
11
+ "main": "lib/index.js",
12
+ "module": "es/index.js",
13
+ "unpkg": "index.js",
14
+ "peerDependencies": {
15
+ "vue": "^3.2.31"
16
+ },
17
+ "dependencies": {
18
+ "@form-create/ant-design-vue": "^3.1.12",
19
+ "@logicflow/core": "^1.1.7",
20
+ "@logicflow/extension": "^1.1.7",
21
+ "floating-vue": "2.0.0-beta.17",
22
+ "@ant-design/icons-vue": "^6.1.0",
23
+ "ant-design-vue": "^3.2.10",
24
+ "bm-admin-icons": "^0.2.7",
25
+ "vuedraggable": "^4.1.0",
26
+ "lodash-es": "^4.17.21",
27
+ "dayjs": "^1.11.4",
28
+ "vxe-table": "4.2.3",
29
+ "xe-utils": "3.5.4"
30
+ },
31
+ "sideEffects": [
32
+ "theme-chalk/*.css"
33
+ ]
34
+ }
@@ -1,14 +1,14 @@
1
1
  declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
2
  file: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  }, {
7
7
  emit: (event: "preview" | "download", ...args: any[]) => void;
8
8
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
9
9
  file: {
10
10
  type: ObjectConstructor;
11
- default: () => void;
11
+ default: () => {};
12
12
  };
13
13
  }>> & {
14
14
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -18,7 +18,7 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
18
18
  data: any;
19
19
  renderSize: (size: any) => string;
20
20
  setVisible: (value: any) => void;
21
- preview: (item: any) => void;
21
+ preview: (item: any) => false | undefined;
22
22
  download: (item: any) => void;
23
23
  BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
24
24
  name: string;
@@ -58,7 +58,7 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  file: {
60
60
  type: ObjectConstructor;
61
- default: () => void;
61
+ default: () => {};
62
62
  };
63
63
  }>> & {
64
64
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -1,14 +1,14 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  file: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  }, {
7
7
  emit: (event: "preview" | "download", ...args: any[]) => void;
8
8
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
9
9
  file: {
10
10
  type: ObjectConstructor;
11
- default: () => void;
11
+ default: () => {};
12
12
  };
13
13
  }>> & {
14
14
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
18
18
  data: any;
19
19
  renderSize: (size: any) => string;
20
20
  setVisible: (value: any) => void;
21
- preview: (item: any) => void;
21
+ preview: (item: any) => false | undefined;
22
22
  download: (item: any) => void;
23
23
  BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
24
24
  name: string;
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  file: {
60
60
  type: ObjectConstructor;
61
- default: () => void;
61
+ default: () => {};
62
62
  };
63
63
  }>> & {
64
64
  onPreview?: ((...args: any[]) => any) | undefined;