yuang-framework-ui-pc 1.1.54 → 1.1.55
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/es/ele-dialog/index.d.ts +8 -16
- package/es/ele-dialog/index.js +2 -1
- package/es/ele-dialog/props.d.ts +5 -8
- package/es/ele-dialog/props.js +6 -1
- package/es/ele-dialog/types.js +1 -0
- package/es/yu-framework-attachment-upload/index.d.ts +19 -4
- package/es/yu-framework-attachment-upload/index.js +6 -4
- package/lib/ele-dialog/index.cjs +1 -0
- package/lib/ele-dialog/index.d.ts +8 -16
- package/lib/ele-dialog/props.cjs +6 -1
- package/lib/ele-dialog/props.d.ts +5 -8
- package/lib/ele-dialog/types.cjs +1 -0
- package/lib/yu-framework-attachment-upload/index.cjs +6 -4
- package/lib/yu-framework-attachment-upload/index.d.ts +19 -4
- package/lib/yu-framework-slider-captcha-dialog/style/index.cjs +1 -0
- package/package.json +2 -2
package/es/ele-dialog/index.d.ts
CHANGED
|
@@ -39,6 +39,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
39
|
default: null;
|
|
40
40
|
};
|
|
41
41
|
form: BooleanConstructor;
|
|
42
|
+
closeOnClickModal: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
42
46
|
appendTo: {
|
|
43
47
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
44
48
|
readonly required: false;
|
|
@@ -54,14 +58,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
54
58
|
__epPropKey: true;
|
|
55
59
|
};
|
|
56
60
|
destroyOnClose: BooleanConstructor;
|
|
57
|
-
closeOnClickModal: {
|
|
58
|
-
readonly type: import('vue').PropType<boolean>;
|
|
59
|
-
readonly required: false;
|
|
60
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
|
-
__epPropKey: true;
|
|
62
|
-
} & {
|
|
63
|
-
readonly default: true;
|
|
64
|
-
};
|
|
65
61
|
closeOnPressEscape: {
|
|
66
62
|
readonly type: import('vue').PropType<boolean>;
|
|
67
63
|
readonly required: false;
|
|
@@ -234,6 +230,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
234
230
|
default: null;
|
|
235
231
|
};
|
|
236
232
|
form: BooleanConstructor;
|
|
233
|
+
closeOnClickModal: {
|
|
234
|
+
type: BooleanConstructor;
|
|
235
|
+
default: boolean;
|
|
236
|
+
};
|
|
237
237
|
appendTo: {
|
|
238
238
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
239
239
|
readonly required: false;
|
|
@@ -249,14 +249,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
249
249
|
__epPropKey: true;
|
|
250
250
|
};
|
|
251
251
|
destroyOnClose: BooleanConstructor;
|
|
252
|
-
closeOnClickModal: {
|
|
253
|
-
readonly type: import('vue').PropType<boolean>;
|
|
254
|
-
readonly required: false;
|
|
255
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
|
-
__epPropKey: true;
|
|
257
|
-
} & {
|
|
258
|
-
readonly default: true;
|
|
259
|
-
};
|
|
260
252
|
closeOnPressEscape: {
|
|
261
253
|
readonly type: import('vue').PropType<boolean>;
|
|
262
254
|
readonly required: false;
|
package/es/ele-dialog/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, onMounted, onActivated, onDeactivated, nextTick, resolveComponent, createBlock, openBlock, Teleport, createVNode, mergeProps, createSlots, withCtx, normalizeStyle, normalizeClass, renderSlot, createElementVNode, createElementBlock, createCommentVNode,
|
|
1
|
+
import { defineComponent, ref, computed, watch, onMounted, onActivated, onDeactivated, nextTick, resolveComponent, createBlock, openBlock, Teleport, createTextVNode, createVNode, toDisplayString, mergeProps, createSlots, withCtx, normalizeStyle, normalizeClass, renderSlot, createElementVNode, createElementBlock, createCommentVNode, withModifiers, resolveDynamicComponent } from "vue";
|
|
2
2
|
import { ElIcon, ElDialog } from "element-plus";
|
|
3
3
|
import { ResizeOutlined, ExpandOutlined, CompressOutlined, CloseOutlined } from "../icons";
|
|
4
4
|
import ReceiverView from "../ele-config-provider/components/receiver-view";
|
|
@@ -197,6 +197,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
197
197
|
to: _ctx.teleportTo,
|
|
198
198
|
disabled: _ctx.teleportDisabled
|
|
199
199
|
}, [
|
|
200
|
+
createTextVNode(toDisplayString(_ctx.closeOnClickModal) + "____ ", 1),
|
|
200
201
|
createVNode(_component_ElDialog, mergeProps(_ctx.$attrs, {
|
|
201
202
|
ref: "dialogRef",
|
|
202
203
|
modelValue: _ctx.modelValue,
|
package/es/ele-dialog/props.d.ts
CHANGED
|
@@ -63,6 +63,11 @@ export declare const eleDialogProps: {
|
|
|
63
63
|
};
|
|
64
64
|
/** 是否是表单弹窗 */
|
|
65
65
|
form: BooleanConstructor;
|
|
66
|
+
/** 点击外层遮罩不关闭 */
|
|
67
|
+
closeOnClickModal: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
66
71
|
appendTo: {
|
|
67
72
|
readonly type: PropType<string | HTMLElement>;
|
|
68
73
|
readonly required: false;
|
|
@@ -78,14 +83,6 @@ export declare const eleDialogProps: {
|
|
|
78
83
|
__epPropKey: true;
|
|
79
84
|
};
|
|
80
85
|
destroyOnClose: BooleanConstructor;
|
|
81
|
-
closeOnClickModal: {
|
|
82
|
-
readonly type: PropType<boolean>;
|
|
83
|
-
readonly required: false;
|
|
84
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
|
-
__epPropKey: true;
|
|
86
|
-
} & {
|
|
87
|
-
readonly default: true;
|
|
88
|
-
};
|
|
89
86
|
closeOnPressEscape: {
|
|
90
87
|
readonly type: PropType<boolean>;
|
|
91
88
|
readonly required: false;
|
package/es/ele-dialog/props.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,20 +1,35 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FrameworkAttachmentComponentParam } from 'yuang-framework-ui-common/lib/interface/component/ComponentParam';
|
|
2
|
+
import { FrameworkAttachment } from 'yuang-framework-ui-common/lib/interface/framework/frameworkAttachment';
|
|
2
3
|
|
|
3
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
5
|
modelValue: import('vue').PropType<any>;
|
|
5
6
|
param: {
|
|
6
|
-
type: import('vue').PropType<
|
|
7
|
+
type: import('vue').PropType<FrameworkAttachmentComponentParam>;
|
|
7
8
|
required: true;
|
|
9
|
+
default: {
|
|
10
|
+
type: string;
|
|
11
|
+
mode: string;
|
|
12
|
+
maxCount: number;
|
|
13
|
+
maxSize: number;
|
|
14
|
+
};
|
|
8
15
|
};
|
|
9
16
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
17
|
change: (frameworkAttachment: FrameworkAttachment) => void;
|
|
11
18
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
19
|
modelValue: import('vue').PropType<any>;
|
|
13
20
|
param: {
|
|
14
|
-
type: import('vue').PropType<
|
|
21
|
+
type: import('vue').PropType<FrameworkAttachmentComponentParam>;
|
|
15
22
|
required: true;
|
|
23
|
+
default: {
|
|
24
|
+
type: string;
|
|
25
|
+
mode: string;
|
|
26
|
+
maxCount: number;
|
|
27
|
+
maxSize: number;
|
|
28
|
+
};
|
|
16
29
|
};
|
|
17
30
|
}>> & Readonly<{
|
|
18
31
|
onChange?: ((frameworkAttachment: FrameworkAttachment) => any) | undefined;
|
|
19
|
-
}>, {
|
|
32
|
+
}>, {
|
|
33
|
+
param: FrameworkAttachmentComponentParam;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
35
|
export default _default;
|
|
@@ -9,7 +9,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: /* @__PURE__ */ mergeModels({
|
|
11
11
|
modelValue: {},
|
|
12
|
-
param: {
|
|
12
|
+
param: { default: {
|
|
13
|
+
type: "edit",
|
|
14
|
+
mode: "file",
|
|
15
|
+
maxCount: 5,
|
|
16
|
+
maxSize: 5
|
|
17
|
+
} }
|
|
13
18
|
}, {
|
|
14
19
|
"modelValue": {},
|
|
15
20
|
"modelModifiers": {}
|
|
@@ -18,9 +23,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
23
|
setup(__props, { emit: __emit }) {
|
|
19
24
|
const props = __props;
|
|
20
25
|
const emit = __emit;
|
|
21
|
-
props.param.mode = props.param.mode ?? "file";
|
|
22
|
-
props.param.maxCount = props.param.maxCount ?? 5;
|
|
23
|
-
props.param.maxSize = props.param.maxSize ?? 5;
|
|
24
26
|
const images = ref([]);
|
|
25
27
|
const listType = ref(props.param.mode);
|
|
26
28
|
const accept = ref("");
|
package/lib/ele-dialog/index.cjs
CHANGED
|
@@ -198,6 +198,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
198
198
|
to: _ctx.teleportTo,
|
|
199
199
|
disabled: _ctx.teleportDisabled
|
|
200
200
|
}, [
|
|
201
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.closeOnClickModal) + "____ ", 1),
|
|
201
202
|
vue.createVNode(_component_ElDialog, vue.mergeProps(_ctx.$attrs, {
|
|
202
203
|
ref: "dialogRef",
|
|
203
204
|
modelValue: _ctx.modelValue,
|
|
@@ -39,6 +39,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
39
|
default: null;
|
|
40
40
|
};
|
|
41
41
|
form: BooleanConstructor;
|
|
42
|
+
closeOnClickModal: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
42
46
|
appendTo: {
|
|
43
47
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
44
48
|
readonly required: false;
|
|
@@ -54,14 +58,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
54
58
|
__epPropKey: true;
|
|
55
59
|
};
|
|
56
60
|
destroyOnClose: BooleanConstructor;
|
|
57
|
-
closeOnClickModal: {
|
|
58
|
-
readonly type: import('vue').PropType<boolean>;
|
|
59
|
-
readonly required: false;
|
|
60
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
|
-
__epPropKey: true;
|
|
62
|
-
} & {
|
|
63
|
-
readonly default: true;
|
|
64
|
-
};
|
|
65
61
|
closeOnPressEscape: {
|
|
66
62
|
readonly type: import('vue').PropType<boolean>;
|
|
67
63
|
readonly required: false;
|
|
@@ -234,6 +230,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
234
230
|
default: null;
|
|
235
231
|
};
|
|
236
232
|
form: BooleanConstructor;
|
|
233
|
+
closeOnClickModal: {
|
|
234
|
+
type: BooleanConstructor;
|
|
235
|
+
default: boolean;
|
|
236
|
+
};
|
|
237
237
|
appendTo: {
|
|
238
238
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
239
239
|
readonly required: false;
|
|
@@ -249,14 +249,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
249
249
|
__epPropKey: true;
|
|
250
250
|
};
|
|
251
251
|
destroyOnClose: BooleanConstructor;
|
|
252
|
-
closeOnClickModal: {
|
|
253
|
-
readonly type: import('vue').PropType<boolean>;
|
|
254
|
-
readonly required: false;
|
|
255
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
|
-
__epPropKey: true;
|
|
257
|
-
} & {
|
|
258
|
-
readonly default: true;
|
|
259
|
-
};
|
|
260
252
|
closeOnPressEscape: {
|
|
261
253
|
readonly type: import('vue').PropType<boolean>;
|
|
262
254
|
readonly required: false;
|
package/lib/ele-dialog/props.cjs
CHANGED
|
@@ -58,7 +58,12 @@ const eleDialogProps = {
|
|
|
58
58
|
default: null
|
|
59
59
|
},
|
|
60
60
|
/** 是否是表单弹窗 */
|
|
61
|
-
form: Boolean
|
|
61
|
+
form: Boolean,
|
|
62
|
+
/** 点击外层遮罩不关闭 */
|
|
63
|
+
closeOnClickModal: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
default: false
|
|
66
|
+
}
|
|
62
67
|
};
|
|
63
68
|
const eleDialogEmits = {
|
|
64
69
|
...elementPlus.dialogEmits,
|
|
@@ -63,6 +63,11 @@ export declare const eleDialogProps: {
|
|
|
63
63
|
};
|
|
64
64
|
/** 是否是表单弹窗 */
|
|
65
65
|
form: BooleanConstructor;
|
|
66
|
+
/** 点击外层遮罩不关闭 */
|
|
67
|
+
closeOnClickModal: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
66
71
|
appendTo: {
|
|
67
72
|
readonly type: PropType<string | HTMLElement>;
|
|
68
73
|
readonly required: false;
|
|
@@ -78,14 +83,6 @@ export declare const eleDialogProps: {
|
|
|
78
83
|
__epPropKey: true;
|
|
79
84
|
};
|
|
80
85
|
destroyOnClose: BooleanConstructor;
|
|
81
|
-
closeOnClickModal: {
|
|
82
|
-
readonly type: PropType<boolean>;
|
|
83
|
-
readonly required: false;
|
|
84
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
|
-
__epPropKey: true;
|
|
86
|
-
} & {
|
|
87
|
-
readonly default: true;
|
|
88
|
-
};
|
|
89
86
|
closeOnPressEscape: {
|
|
90
87
|
readonly type: PropType<boolean>;
|
|
91
88
|
readonly required: false;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -10,7 +10,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
12
12
|
modelValue: {},
|
|
13
|
-
param: {
|
|
13
|
+
param: { default: {
|
|
14
|
+
type: "edit",
|
|
15
|
+
mode: "file",
|
|
16
|
+
maxCount: 5,
|
|
17
|
+
maxSize: 5
|
|
18
|
+
} }
|
|
14
19
|
}, {
|
|
15
20
|
"modelValue": {},
|
|
16
21
|
"modelModifiers": {}
|
|
@@ -19,9 +24,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
19
24
|
setup(__props, { emit: __emit }) {
|
|
20
25
|
const props = __props;
|
|
21
26
|
const emit = __emit;
|
|
22
|
-
props.param.mode = props.param.mode ?? "file";
|
|
23
|
-
props.param.maxCount = props.param.maxCount ?? 5;
|
|
24
|
-
props.param.maxSize = props.param.maxSize ?? 5;
|
|
25
27
|
const images = vue.ref([]);
|
|
26
28
|
const listType = vue.ref(props.param.mode);
|
|
27
29
|
const accept = vue.ref("");
|
|
@@ -1,20 +1,35 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FrameworkAttachmentComponentParam } from 'yuang-framework-ui-common/lib/interface/component/ComponentParam';
|
|
2
|
+
import { FrameworkAttachment } from 'yuang-framework-ui-common/lib/interface/framework/frameworkAttachment';
|
|
2
3
|
|
|
3
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
5
|
modelValue: import('vue').PropType<any>;
|
|
5
6
|
param: {
|
|
6
|
-
type: import('vue').PropType<
|
|
7
|
+
type: import('vue').PropType<FrameworkAttachmentComponentParam>;
|
|
7
8
|
required: true;
|
|
9
|
+
default: {
|
|
10
|
+
type: string;
|
|
11
|
+
mode: string;
|
|
12
|
+
maxCount: number;
|
|
13
|
+
maxSize: number;
|
|
14
|
+
};
|
|
8
15
|
};
|
|
9
16
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
17
|
change: (frameworkAttachment: FrameworkAttachment) => void;
|
|
11
18
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
19
|
modelValue: import('vue').PropType<any>;
|
|
13
20
|
param: {
|
|
14
|
-
type: import('vue').PropType<
|
|
21
|
+
type: import('vue').PropType<FrameworkAttachmentComponentParam>;
|
|
15
22
|
required: true;
|
|
23
|
+
default: {
|
|
24
|
+
type: string;
|
|
25
|
+
mode: string;
|
|
26
|
+
maxCount: number;
|
|
27
|
+
maxSize: number;
|
|
28
|
+
};
|
|
16
29
|
};
|
|
17
30
|
}>> & Readonly<{
|
|
18
31
|
onChange?: ((frameworkAttachment: FrameworkAttachment) => any) | undefined;
|
|
19
|
-
}>, {
|
|
32
|
+
}>, {
|
|
33
|
+
param: FrameworkAttachmentComponentParam;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
35
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yuang-framework-ui-pc",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.55",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite --host --config vite.global.ts --mode dev",
|
|
@@ -188,6 +188,6 @@
|
|
|
188
188
|
"repository": "",
|
|
189
189
|
"license": "",
|
|
190
190
|
"dependencies": {
|
|
191
|
-
"yuang-framework-ui-common": "^1.0.
|
|
191
|
+
"yuang-framework-ui-common": "^1.0.73"
|
|
192
192
|
}
|
|
193
193
|
}
|