yuang-framework-ui-pc 1.1.51 → 1.1.53
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/core-components.d.ts +4 -2
- package/es/core-components.js +9 -5
- package/es/ele-admin-layout/components/layout-tabs.d.ts +4 -4
- package/es/ele-dropdown/components/pro-dropdown.d.ts +2 -2
- package/es/ele-pro-layout/index.d.ts +4 -4
- package/es/ele-tab-wrap/components/tab-dropdown.d.ts +4 -4
- package/es/ele-upload-list/components/list-item.d.ts +1 -0
- package/es/ele-upload-list/components/list-item.js +11 -3
- package/es/ele-upload-list/index.d.ts +2 -0
- package/es/ele-upload-list/index.js +16 -3
- package/es/ele-upload-list/types.d.ts +2 -0
- package/es/icons/ApiItem.d.ts +2 -0
- package/es/icons/ApiItem.js +32 -0
- package/es/icons/ApiTeam.d.ts +2 -0
- package/es/icons/ApiTeam.js +42 -0
- package/es/icons/OrganizationDept.d.ts +2 -0
- package/es/icons/OrganizationDept.js +33 -0
- package/es/icons/OrganizationOrg.d.ts +2 -0
- package/es/icons/OrganizationOrg.js +32 -0
- package/es/icons/OrganizationUnit.d.ts +2 -0
- package/es/icons/OrganizationUnit.js +32 -0
- package/es/icons/index.d.ts +5 -0
- package/es/icons/index.js +10 -0
- package/{lib/yu-framework-attachment-image-upload → es/yu-framework-attachment-upload}/index.d.ts +0 -1
- package/es/{yu-framework-attachment-image-upload → yu-framework-attachment-upload}/index.js +43 -64
- package/es/yu-framework-slider-captcha-dialog/{SliderCaptcha.js → components/SliderCaptcha.js} +1 -1
- package/es/yu-framework-slider-captcha-dialog/index.js +1 -1
- package/es/yu-uims-organization-dialog/components/organization-dialog.d.ts +20 -0
- package/es/yu-uims-organization-dialog/components/organization-dialog.js +327 -0
- package/es/yu-uims-organization-dialog/index.d.ts +45 -0
- package/es/yu-uims-organization-dialog/index.js +68 -0
- package/es/yu-uims-role-dialog/components/role-dialog.d.ts +20 -0
- package/es/yu-uims-role-dialog/components/role-dialog.js +224 -0
- package/es/yu-uims-role-dialog/components/role-list.d.ts +54 -0
- package/es/yu-uims-role-dialog/components/role-list.js +188 -0
- package/es/yu-uims-role-dialog/components/role-query.d.ts +28 -0
- package/es/yu-uims-role-dialog/components/role-query.js +132 -0
- package/es/yu-uims-role-dialog/index.d.ts +23 -0
- package/es/yu-uims-role-dialog/index.js +42 -0
- package/es/yu-uims-user-dialog/components/user-dialog.d.ts +20 -0
- package/es/yu-uims-user-dialog/components/user-dialog.js +247 -0
- package/es/yu-uims-user-dialog/components/user-list.d.ts +84 -0
- package/es/yu-uims-user-dialog/components/user-list.js +232 -0
- package/es/yu-uims-user-dialog/components/user-query.d.ts +30 -0
- package/es/yu-uims-user-dialog/components/user-query.js +167 -0
- package/es/yu-uims-user-dialog/index.d.ts +23 -0
- package/es/yu-uims-user-dialog/index.js +42 -0
- package/lib/core-components.cjs +8 -4
- package/lib/core-components.d.ts +4 -2
- package/lib/ele-admin-layout/components/layout-tabs.d.ts +4 -4
- package/lib/ele-dropdown/components/pro-dropdown.d.ts +2 -2
- package/lib/ele-pro-layout/index.d.ts +4 -4
- package/lib/ele-tab-wrap/components/tab-dropdown.d.ts +4 -4
- package/lib/ele-upload-list/components/list-item.cjs +11 -3
- package/lib/ele-upload-list/components/list-item.d.ts +1 -0
- package/lib/ele-upload-list/index.cjs +16 -3
- package/lib/ele-upload-list/index.d.ts +2 -0
- package/lib/ele-upload-list/types.d.ts +2 -0
- package/lib/icons/ApiItem.cjs +31 -0
- package/lib/icons/ApiItem.d.ts +2 -0
- package/lib/icons/ApiTeam.cjs +41 -0
- package/lib/icons/ApiTeam.d.ts +2 -0
- package/lib/icons/OrganizationDept.cjs +32 -0
- package/lib/icons/OrganizationDept.d.ts +2 -0
- package/lib/icons/OrganizationOrg.cjs +31 -0
- package/lib/icons/OrganizationOrg.d.ts +2 -0
- package/lib/icons/OrganizationUnit.cjs +31 -0
- package/lib/icons/OrganizationUnit.d.ts +2 -0
- package/lib/icons/index.cjs +10 -0
- package/lib/icons/index.d.ts +5 -0
- package/lib/{yu-framework-attachment-image-upload → yu-framework-attachment-upload}/index.cjs +42 -63
- package/{es/yu-framework-attachment-image-upload → lib/yu-framework-attachment-upload}/index.d.ts +0 -1
- package/lib/yu-framework-slider-captcha-dialog/{SliderCaptcha.cjs → components/SliderCaptcha.cjs} +1 -1
- package/lib/yu-framework-slider-captcha-dialog/index.cjs +1 -1
- package/lib/yu-uims-organization-dialog/components/organization-dialog.cjs +326 -0
- package/lib/yu-uims-organization-dialog/components/organization-dialog.d.ts +20 -0
- package/lib/yu-uims-organization-dialog/index.cjs +67 -0
- package/lib/yu-uims-organization-dialog/index.d.ts +45 -0
- package/lib/yu-uims-role-dialog/components/role-dialog.cjs +223 -0
- package/lib/yu-uims-role-dialog/components/role-dialog.d.ts +20 -0
- package/lib/yu-uims-role-dialog/components/role-list.cjs +187 -0
- package/lib/yu-uims-role-dialog/components/role-list.d.ts +54 -0
- package/lib/yu-uims-role-dialog/components/role-query.cjs +131 -0
- package/lib/yu-uims-role-dialog/components/role-query.d.ts +28 -0
- package/lib/yu-uims-role-dialog/index.cjs +41 -0
- package/lib/yu-uims-role-dialog/index.d.ts +23 -0
- package/lib/yu-uims-user-dialog/components/user-dialog.cjs +246 -0
- package/lib/yu-uims-user-dialog/components/user-dialog.d.ts +20 -0
- package/lib/yu-uims-user-dialog/components/user-list.cjs +231 -0
- package/lib/yu-uims-user-dialog/components/user-list.d.ts +84 -0
- package/lib/yu-uims-user-dialog/components/user-query.cjs +166 -0
- package/lib/yu-uims-user-dialog/components/user-query.d.ts +30 -0
- package/lib/yu-uims-user-dialog/index.cjs +41 -0
- package/lib/yu-uims-user-dialog/index.d.ts +23 -0
- package/package.json +2 -2
- package/typings/global.d.ts +4 -2
- package/es/yu-framework-attachment-file-upload/CommonUpload/index.d.ts +0 -161
- package/es/yu-framework-attachment-file-upload/CommonUpload/index.js +0 -173
- package/es/yu-framework-attachment-file-upload/FileUpload/index.d.ts +0 -143
- package/es/yu-framework-attachment-file-upload/FileUpload/index.js +0 -219
- package/es/yu-framework-attachment-file-upload/index.d.ts +0 -16
- package/es/yu-framework-attachment-file-upload/index.js +0 -55
- package/lib/yu-framework-attachment-file-upload/CommonUpload/index.cjs +0 -172
- package/lib/yu-framework-attachment-file-upload/CommonUpload/index.d.ts +0 -161
- package/lib/yu-framework-attachment-file-upload/FileUpload/index.cjs +0 -218
- package/lib/yu-framework-attachment-file-upload/FileUpload/index.d.ts +0 -143
- package/lib/yu-framework-attachment-file-upload/index.cjs +0 -54
- package/lib/yu-framework-attachment-file-upload/index.d.ts +0 -16
- /package/es/yu-framework-slider-captcha-dialog/{SliderCaptcha.d.ts → components/SliderCaptcha.d.ts} +0 -0
- /package/lib/yu-framework-slider-captcha-dialog/{SliderCaptcha.d.ts → components/SliderCaptcha.d.ts} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _export_sfc = (sfc, props) => {
|
|
4
|
+
const target = sfc.__vccOpts || sfc;
|
|
5
|
+
for (const [key, val] of props) {
|
|
6
|
+
target[key] = val;
|
|
7
|
+
}
|
|
8
|
+
return target;
|
|
9
|
+
};
|
|
10
|
+
const _sfc_main = {};
|
|
11
|
+
const _hoisted_1 = {
|
|
12
|
+
t: "1735465008078",
|
|
13
|
+
class: "icon",
|
|
14
|
+
viewBox: "0 0 1121 1024",
|
|
15
|
+
version: "1.1",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "10055",
|
|
18
|
+
width: "200",
|
|
19
|
+
height: "200"
|
|
20
|
+
};
|
|
21
|
+
function _sfc_render(_ctx, _cache) {
|
|
22
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
23
|
+
vue.createElementVNode("path", {
|
|
24
|
+
d: "M1121.335259 662.764396H814.255549V371.961528H1121.335259z m-226.885882-80.193827H1041.141431V452.155356H894.449377zM963.165463 290.802868h-306.991997V0h306.991997z m-226.798169-80.193828h146.604342V80.193828h-146.604342zM921.314309 1023.98747H614.247131V733.184601h307.067178z m-226.873351-80.193828h146.679524V813.378429H694.440958z",
|
|
25
|
+
"p-id": "10056",
|
|
26
|
+
fill: "#606267"
|
|
27
|
+
}, null, -1),
|
|
28
|
+
vue.createElementVNode("path", {
|
|
29
|
+
d: "M0 479.057879h865.692372v80.193828H0z",
|
|
30
|
+
"p-id": "10057",
|
|
31
|
+
fill: "#606267"
|
|
32
|
+
}, null, -1),
|
|
33
|
+
vue.createElementVNode("path", {
|
|
34
|
+
d: "M149.849686 545.631287L92.974719 489.094638 464.322263 115.529233h248.31267v80.193828H497.690414l-347.840728 349.908226zM654.331514 918.68295h-149.110399L242.63645 542.085216l65.784-45.860846L547.072269 838.489122h107.259245v80.193828z",
|
|
35
|
+
"p-id": "10058",
|
|
36
|
+
fill: "#606267"
|
|
37
|
+
}, null, -1)
|
|
38
|
+
]));
|
|
39
|
+
}
|
|
40
|
+
const ApiTeam = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
41
|
+
module.exports = ApiTeam;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _export_sfc = (sfc, props) => {
|
|
4
|
+
const target = sfc.__vccOpts || sfc;
|
|
5
|
+
for (const [key, val] of props) {
|
|
6
|
+
target[key] = val;
|
|
7
|
+
}
|
|
8
|
+
return target;
|
|
9
|
+
};
|
|
10
|
+
const _sfc_main = {};
|
|
11
|
+
const _hoisted_1 = {
|
|
12
|
+
t: "1734243471947",
|
|
13
|
+
class: "icon",
|
|
14
|
+
viewBox: "0 0 1024 1024",
|
|
15
|
+
version: "1.1",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "16991",
|
|
18
|
+
id: "mx_n_1734243471947",
|
|
19
|
+
width: "200",
|
|
20
|
+
height: "200"
|
|
21
|
+
};
|
|
22
|
+
function _sfc_render(_ctx, _cache) {
|
|
23
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
24
|
+
vue.createElementVNode("path", {
|
|
25
|
+
d: "M941 786s-53-0.5-41.4-0.6h12.7-12.7c-21.9 0.1-28.9 0.6-30 0.6 23.6-189.5-264.2-260.9-264.2-290.7 0-23.2 6.8-26.7 28-48.4 22.1-22.7 38.6-62.1 42.4-115.1 10.5-146.9-86.3-175.6-6.1-175.6s135.6 66.1 135.6 147.6c0 53.1-40.1 113.9-48.4 127.9-8.9 15-9.8 46.9-10.1 50.8-1.1 58.7 212.8 78.8 212.9 203.8h0.7v79.9c0 11-8.7 19.8-19.4 19.8zM523.9 521.5c-1.3 72.3 266 97 266.1 250.9h0.8v98.4c0 13.4-10.8 24.2-24.2 24.2H88.4c-13.4 0-24.2-10.8-24.2-24.2v-98.4h0.8c0.6-165.9 264.8-181.3 266.1-250.9 0.4-3.6 0.5-41.7-12.6-62.5-13.8-22.1-60.6-92-60.6-157.4 0-100.3 69.2-181.7 169.5-181.7S597 201.2 597 301.6c0 65.4-53.6 138.6-60.6 157.4-7.5 20.4-12.2 57.7-12.5 62.5z",
|
|
26
|
+
fill: "#7F7F7F",
|
|
27
|
+
"p-id": "16992"
|
|
28
|
+
}, null, -1)
|
|
29
|
+
]));
|
|
30
|
+
}
|
|
31
|
+
const OrganizationDept = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
32
|
+
module.exports = OrganizationDept;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _export_sfc = (sfc, props) => {
|
|
4
|
+
const target = sfc.__vccOpts || sfc;
|
|
5
|
+
for (const [key, val] of props) {
|
|
6
|
+
target[key] = val;
|
|
7
|
+
}
|
|
8
|
+
return target;
|
|
9
|
+
};
|
|
10
|
+
const _sfc_main = {};
|
|
11
|
+
const _hoisted_1 = {
|
|
12
|
+
t: "1734246007218",
|
|
13
|
+
class: "icon",
|
|
14
|
+
viewBox: "0 0 1024 1024",
|
|
15
|
+
version: "1.1",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "3889",
|
|
18
|
+
width: "200",
|
|
19
|
+
height: "200"
|
|
20
|
+
};
|
|
21
|
+
function _sfc_render(_ctx, _cache) {
|
|
22
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
23
|
+
vue.createElementVNode("path", {
|
|
24
|
+
d: "M588.5 113c34.993 0 63.426 28.084 63.991 62.942L652.5 177v144c0 34.993-28.084 63.426-62.942 63.991L588.5 385H544v57h170c56.863 0 103.068 45.636 103.986 102.28L818 546v94h40c34.993 0 63.426 28.084 63.991 62.942L922 704v144c0 34.993-28.084 63.426-62.942 63.991L858 912H714c-34.993 0-63.426-28.084-63.991-62.942L650 848V704c0-34.993 28.084-63.426 62.942-63.991L714 640h40v-94c0-21.87-17.552-39.641-39.339-39.995L714 506H311c-21.87 0-39.641 17.552-39.995 39.339L271 546v94h40c34.993 0 63.426 28.084 63.991 62.942L375 704v144c0 34.993-28.084 63.426-62.942 63.991L311 912H167c-34.993 0-63.426-28.084-63.991-62.942L103 848V704c0-34.993 28.084-63.426 62.942-63.991L167 640h40v-94c0-56.863 45.636-103.068 102.28-103.986L311 442h169v-57h-35.5c-34.993 0-63.426-28.084-63.991-62.942L380.5 321V177c0-34.993 28.084-63.426 62.942-63.991L444.5 113h144zM858 704H714v144h144V704z m-547 0H167v144h144V704z m277.5-527h-144v144h144V177z",
|
|
25
|
+
fill: "#606267",
|
|
26
|
+
"p-id": "3890"
|
|
27
|
+
}, null, -1)
|
|
28
|
+
]));
|
|
29
|
+
}
|
|
30
|
+
const OrganizationOrg = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
31
|
+
module.exports = OrganizationOrg;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _export_sfc = (sfc, props) => {
|
|
4
|
+
const target = sfc.__vccOpts || sfc;
|
|
5
|
+
for (const [key, val] of props) {
|
|
6
|
+
target[key] = val;
|
|
7
|
+
}
|
|
8
|
+
return target;
|
|
9
|
+
};
|
|
10
|
+
const _sfc_main = {};
|
|
11
|
+
const _hoisted_1 = {
|
|
12
|
+
t: "1734245624524",
|
|
13
|
+
class: "icon",
|
|
14
|
+
viewBox: "0 0 1024 1024",
|
|
15
|
+
version: "1.1",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
"p-id": "1490",
|
|
18
|
+
width: "200",
|
|
19
|
+
height: "200"
|
|
20
|
+
};
|
|
21
|
+
function _sfc_render(_ctx, _cache) {
|
|
22
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
23
|
+
vue.createElementVNode("path", {
|
|
24
|
+
d: "M323.7632 812.672H270.592c-9.216 0-16.77824 7.0912-16.77824 15.60064v50.0992c0 8.98048 7.56736 16.07168 16.77824 16.07168h53.17632c9.216 0 16.77824-7.0912 16.77824-16.07168v-50.0992c0-8.51456-7.56736-15.60064-16.78336-15.60064z m0-378.59328H270.592c-9.216 0-16.77824 7.0912-16.77824 15.83104v50.33984c0 8.50944 7.56736 15.60064 16.77824 15.60064h53.17632c9.216 0 16.77824-7.0912 16.77824-15.60064v-50.33984c0-8.73984-7.56736-15.83104-16.78336-15.83104z m0 126.19264H270.592c-9.216 0-16.77824 7.0912-16.77824 15.84128v49.85856c0 8.75008 7.56736 16.07168 16.77824 16.07168h53.17632c9.216 0 16.77824-7.3216 16.77824-16.07168v-50.0992c0-8.50944-7.56736-15.60064-16.78336-15.60064z m0 126.19776H270.592c-9.216 0-16.77824 7.0912-16.77824 15.60064v50.0992c0 8.98048 7.56736 16.07168 16.77824 16.07168h53.17632c9.216 0 16.77824-7.0912 16.77824-16.07168v-50.0992c0-8.50944-7.56736-15.60064-16.78336-15.60064z m0-378.58816H270.592c-9.216 0-16.77824 7.0912-16.77824 15.83104v50.33984c0 8.50944 7.56736 15.60064 16.77824 15.60064h53.17632c9.216 0 16.77824-7.0912 16.77824-15.60064v-50.33984c0-8.73984-7.56736-15.83104-16.78336-15.83104z m635.96032 668.8H64.27648c-9.45152 0-17.01376-7.0912-17.01376-16.07168v-51.04128c0-8.98048 7.56736-16.07168 17.01376-16.07168h50.10432V253.99296c0-17.96096 11.3408-34.02752 28.83072-41.11872L439.56736 50.75456a51.7888 51.7888 0 0 1 44.90752 3.78368c13.2352 8.27392 21.02784 22.21568 21.02784 37.34016v801.62304h53.65248V163.71712c0-16.07168 8.98048-30.72 23.6288-38.28736a49.3568 49.3568 0 0 1 47.26272 0l256.1792 140.8512c14.65344 8.03328 23.15776 22.68672 23.15776 38.28736v589.39904h50.57536c9.22112 0 16.77824 7.0912 16.77824 15.60064v51.04128c-0.2304 8.98048-7.79776 16.07168-17.01376 16.07168z m-200.40192-411.4432h-53.17632c-9.216 0-16.77824 7.0912-16.77824 15.83104v49.85856c0 8.75008 7.56736 15.84128 16.77824 15.84128h53.17632c9.216 0 16.77824-7.0912 16.77824-15.84128v-50.0992c0-8.73984-7.56736-15.5904-16.77824-15.5904z m0-252.63104h-53.17632c-9.216 0-16.77824 7.0912-16.77824 16.07168v50.10432c0 8.4992 7.56736 15.5904 16.77824 15.5904h53.17632c9.216 0 16.77824-7.0912 16.77824-15.5904v-50.10432c0-8.9856-7.56736-16.07168-16.77824-16.07168z m0 378.59328h-53.17632c-9.216 0-16.77824 7.0912-16.77824 15.83104v50.0992c0 8.75008 7.56736 15.84128 16.77824 15.84128h53.17632c9.216 0 16.77824-7.0912 16.77824-15.84128v-50.0992c0-8.73984-7.56736-15.83104-16.77824-15.83104z m0 126.19776h-53.17632c-9.216 0-16.77824 7.0912-16.77824 15.83104v50.0992c0 8.75008 7.56736 15.84128 16.77824 15.84128h53.17632c9.216 0 16.77824-7.0912 16.77824-15.84128v-50.0992c0-8.73984-7.56736-15.83104-16.77824-15.83104z m0-378.5984h-53.17632c-9.216 0-16.77824 7.33184-16.77824 16.07168v50.10944c0 8.4992 7.56736 15.83104 16.77824 15.83104h53.17632c9.216 0 16.77824-7.33184 16.77824-15.83104v-50.10944c0-8.73984-7.56736-16.07168-16.77824-16.07168z m0 0",
|
|
25
|
+
fill: "#606267",
|
|
26
|
+
"p-id": "1491"
|
|
27
|
+
}, null, -1)
|
|
28
|
+
]));
|
|
29
|
+
}
|
|
30
|
+
const OrganizationUnit = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
31
|
+
module.exports = OrganizationUnit;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
package/lib/icons/index.cjs
CHANGED
|
@@ -117,6 +117,11 @@ const ZoomInOutlined = require("./ZoomInOutlined");
|
|
|
117
117
|
const ZoomOutOutlined = require("./ZoomOutOutlined");
|
|
118
118
|
const SliderArrowStatic = require("./SliderArrowStatic");
|
|
119
119
|
const SliderArrowSlide = require("./SliderArrowSlide");
|
|
120
|
+
const OrganizationOrg = require("./OrganizationOrg");
|
|
121
|
+
const OrganizationUnit = require("./OrganizationUnit");
|
|
122
|
+
const OrganizationDept = require("./OrganizationDept");
|
|
123
|
+
const ApiTeam = require("./ApiTeam");
|
|
124
|
+
const ApiItem = require("./ApiItem");
|
|
120
125
|
exports.AnalysisOutlined = AnalysisOutlined;
|
|
121
126
|
exports.ApplicationOutlined = ApplicationOutlined;
|
|
122
127
|
exports.AppstoreAddOutlined = AppstoreAddOutlined;
|
|
@@ -234,3 +239,8 @@ exports.ZoomInOutlined = ZoomInOutlined;
|
|
|
234
239
|
exports.ZoomOutOutlined = ZoomOutOutlined;
|
|
235
240
|
exports.SliderArrowStatic = SliderArrowStatic;
|
|
236
241
|
exports.SliderArrowSlide = SliderArrowSlide;
|
|
242
|
+
exports.OrganizationOrg = OrganizationOrg;
|
|
243
|
+
exports.OrganizationUnit = OrganizationUnit;
|
|
244
|
+
exports.OrganizationDept = OrganizationDept;
|
|
245
|
+
exports.ApiTeam = ApiTeam;
|
|
246
|
+
exports.ApiItem = ApiItem;
|
package/lib/icons/index.d.ts
CHANGED
|
@@ -115,3 +115,8 @@ export { default as ZoomInOutlined } from './ZoomInOutlined';
|
|
|
115
115
|
export { default as ZoomOutOutlined } from './ZoomOutOutlined';
|
|
116
116
|
export { default as SliderArrowStatic } from './SliderArrowStatic';
|
|
117
117
|
export { default as SliderArrowSlide } from './SliderArrowSlide';
|
|
118
|
+
export { default as OrganizationOrg } from './OrganizationOrg';
|
|
119
|
+
export { default as OrganizationUnit } from './OrganizationUnit';
|
|
120
|
+
export { default as OrganizationDept } from './OrganizationDept';
|
|
121
|
+
export { default as ApiTeam } from './ApiTeam';
|
|
122
|
+
export { default as ApiItem } from './ApiItem';
|
package/lib/{yu-framework-attachment-image-upload → yu-framework-attachment-upload}/index.cjs
RENAMED
|
@@ -6,7 +6,7 @@ const httpConfig = require("yuang-framework-ui-common/lib/config/httpConfig");
|
|
|
6
6
|
const uuidUtils = require("yuang-framework-ui-common/lib/utils/uuidUtils");
|
|
7
7
|
const applicationConfig = require("yuang-framework-ui-common/lib/config/applicationConfig");
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
-
...{ name: "
|
|
9
|
+
...{ name: "YuFrameworkAttachmentUpload" },
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
12
12
|
modelValue: {},
|
|
@@ -17,19 +17,30 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
17
17
|
}),
|
|
18
18
|
emits: /* @__PURE__ */ vue.mergeModels(["change"], ["update:modelValue"]),
|
|
19
19
|
setup(__props, { emit: __emit }) {
|
|
20
|
+
const props = __props;
|
|
20
21
|
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;
|
|
21
25
|
const images = vue.ref([]);
|
|
26
|
+
const listType = vue.ref(props.param.mode);
|
|
27
|
+
const accept = vue.ref("");
|
|
28
|
+
if (props.param.mode == "file") {
|
|
29
|
+
accept.value = ".txt,.xlsx";
|
|
30
|
+
} else if (props.param.mode == "image") {
|
|
31
|
+
accept.value = ".png,.jpg,.jpeg,.gif,.svg";
|
|
32
|
+
}
|
|
22
33
|
const isLoading = vue.ref(false);
|
|
23
34
|
const checkFile = (file) => {
|
|
24
35
|
if (!file) {
|
|
25
36
|
return;
|
|
26
37
|
}
|
|
27
|
-
if (!file.type.startsWith("image")) {
|
|
38
|
+
if (props.param.mode === "image" && !file.type.startsWith("image")) {
|
|
28
39
|
message.EleMessage.error("只能选择图片");
|
|
29
40
|
return;
|
|
30
41
|
}
|
|
31
|
-
if (file.size / 1024 / 1024 >
|
|
32
|
-
message.EleMessage.error(
|
|
42
|
+
if (file.size / 1024 / 1024 > props.param.maxSize) {
|
|
43
|
+
message.EleMessage.error(`图片大小不能超过${props.param.maxSize}MB`);
|
|
33
44
|
return;
|
|
34
45
|
}
|
|
35
46
|
return true;
|
|
@@ -54,14 +65,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
54
65
|
}
|
|
55
66
|
});
|
|
56
67
|
};
|
|
57
|
-
const handleUpload = (
|
|
58
|
-
if (!checkFile(
|
|
68
|
+
const handleUpload = (uploadItem, retry) => {
|
|
69
|
+
if (!checkFile(uploadItem.file)) {
|
|
59
70
|
return;
|
|
60
71
|
}
|
|
61
72
|
if (!retry) {
|
|
62
|
-
images.value.push({ ...
|
|
73
|
+
images.value.push({ ...uploadItem });
|
|
63
74
|
}
|
|
64
|
-
const item = images.value.find((t) => t.key ===
|
|
75
|
+
const item = images.value.find((t) => t.key === uploadItem.key);
|
|
65
76
|
console.log(JSON.parse(JSON.stringify(item)));
|
|
66
77
|
if (!item) {
|
|
67
78
|
return;
|
|
@@ -70,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
70
81
|
item.progress = 0;
|
|
71
82
|
let formData = new FormData();
|
|
72
83
|
formData.append("code", model.value);
|
|
73
|
-
formData.append("multipartFile",
|
|
84
|
+
formData.append("multipartFile", uploadItem.file, uploadItem.file.name);
|
|
74
85
|
httpConfig.http({
|
|
75
86
|
url: `${applicationConfig.application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/uploadAttachment`,
|
|
76
87
|
method: "post",
|
|
@@ -131,69 +142,37 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
131
142
|
emit("change", attachemtList);
|
|
132
143
|
});
|
|
133
144
|
};
|
|
134
|
-
const handleRemove = (
|
|
135
|
-
let id =
|
|
145
|
+
const handleRemove = (uploadItem) => {
|
|
146
|
+
let id = uploadItem.id;
|
|
136
147
|
es.ElMessageBox.confirm("确定要删除吗?", "系统提示", { type: "warning", draggable: true }).then(() => {
|
|
137
148
|
httpConfig.http.get(`${applicationConfig.application.gatewayServerBaseUrl}/framework-api/core/framework-attachment/deleteInfo`, { params: { id } }).then((res) => {
|
|
138
149
|
message.EleMessage.success(res.data.message);
|
|
139
|
-
images.value.splice(images.value.indexOf(
|
|
150
|
+
images.value.splice(images.value.indexOf(uploadItem), 1);
|
|
151
|
+
emitChange();
|
|
140
152
|
});
|
|
141
153
|
});
|
|
142
154
|
};
|
|
143
|
-
const
|
|
144
|
-
|
|
145
|
-
if (item.progress == null) {
|
|
146
|
-
item.progress = 20;
|
|
147
|
-
}
|
|
148
|
-
const timer = setInterval(
|
|
149
|
-
() => {
|
|
150
|
-
if (Math.round(Math.random() * 10) < 3) {
|
|
151
|
-
item.status = "exception";
|
|
152
|
-
message.EleMessage.error("上传失败, 服务器繁忙,请重试");
|
|
153
|
-
clearInterval(timer);
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
if (item.progress == null) {
|
|
157
|
-
item.progress = 20;
|
|
158
|
-
} else {
|
|
159
|
-
item.progress += 20;
|
|
160
|
-
}
|
|
161
|
-
if (item.progress === 100) {
|
|
162
|
-
item.status = "done";
|
|
163
|
-
clearInterval(timer);
|
|
164
|
-
if (checkDone()) {
|
|
165
|
-
submitForm();
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
Math.round(Math.random() * 2500) + 500
|
|
170
|
-
);
|
|
171
|
-
};
|
|
172
|
-
const checkDone = () => {
|
|
173
|
-
return !images.value.some((d) => d.status !== "done");
|
|
174
|
-
};
|
|
175
|
-
const submitForm = () => {
|
|
176
|
-
message.EleMessage.success("已全部上传完毕");
|
|
177
|
-
console.log(JSON.parse(JSON.stringify(images.value)));
|
|
178
|
-
isLoading.value = false;
|
|
155
|
+
const handleRetryUpload = (uploadItem) => {
|
|
156
|
+
handleUpload(uploadItem, true);
|
|
179
157
|
};
|
|
180
158
|
return (_ctx, _cache) => {
|
|
181
159
|
const _component_ele_upload_list = vue.resolveComponent("ele-upload-list");
|
|
182
|
-
return vue.openBlock(), vue.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
160
|
+
return vue.openBlock(), vue.createBlock(_component_ele_upload_list, {
|
|
161
|
+
drag: true,
|
|
162
|
+
tools: true,
|
|
163
|
+
modelValue: images.value,
|
|
164
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => images.value = $event),
|
|
165
|
+
limit: _ctx.param.maxCount,
|
|
166
|
+
listType: listType.value,
|
|
167
|
+
accept: accept.value,
|
|
168
|
+
readonly: isLoading.value,
|
|
169
|
+
disabled: _ctx.param.type != "edit",
|
|
170
|
+
sortable: { forceFallback: true },
|
|
171
|
+
onUpload: handleUpload,
|
|
172
|
+
onRetry: handleRetryUpload,
|
|
173
|
+
onRemove: handleRemove,
|
|
174
|
+
onEditUpload: handleEditUpload
|
|
175
|
+
}, null, 8, ["modelValue", "limit", "listType", "accept", "readonly", "disabled"]);
|
|
197
176
|
};
|
|
198
177
|
}
|
|
199
178
|
});
|
package/{es/yu-framework-attachment-image-upload → lib/yu-framework-attachment-upload}/index.d.ts
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComponentParam } from '@/model/component/param';
|
|
2
|
-
import { FrameworkAttachment } from '@/interface/framework/frameworkAttachment';
|
|
3
2
|
|
|
4
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
4
|
modelValue: import('vue').PropType<any>;
|
package/lib/yu-framework-slider-captcha-dialog/{SliderCaptcha.cjs → components/SliderCaptcha.cjs}
RENAMED
|
@@ -3,7 +3,7 @@ const vue = require("vue");
|
|
|
3
3
|
const httpConfig = require("yuang-framework-ui-common/lib/config/httpConfig");
|
|
4
4
|
const applicationConfig = require("yuang-framework-ui-common/lib/config/applicationConfig");
|
|
5
5
|
const iconsVue = require("@element-plus/icons-vue");
|
|
6
|
-
const icons = require("
|
|
6
|
+
const icons = require("../../icons");
|
|
7
7
|
const _hoisted_1 = { class: "yu-framework-slider-captcha" };
|
|
8
8
|
const _hoisted_2 = { class: "yu-framework-slider-captcha-title" };
|
|
9
9
|
const _hoisted_3 = ["width", "height"];
|