jmash-core 0.0.105 → 0.0.106

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.
Files changed (23) hide show
  1. package/dist/{401-BOz_vkD9.mjs → 401-E782PquR.mjs} +1 -1
  2. package/dist/{404-C3j3JcsC.mjs → 404-C_piB9vN.mjs} +1 -1
  3. package/dist/{BarChart-Ct3C3lxf.mjs → BarChart-D6VTKnAU.mjs} +8 -8
  4. package/dist/{index-2a2z9HJi.mjs → index-BbCqgUaV.mjs} +9314 -7066
  5. package/dist/{index-CY_q41vk.mjs → index-Cuya2xZq.mjs} +9 -9
  6. package/dist/{index-A45hOsK0.mjs → index-Mnaauuzn.mjs} +23 -23
  7. package/dist/{index-BQ76LDad.mjs → index-d9XDquy6.mjs} +25 -25
  8. package/dist/index.mjs +41 -41
  9. package/dist/{profile-2Fj4UE_T.mjs → profile-DI2Ni9_V.mjs} +30 -30
  10. package/dist/{runAs-OCfS-w0b.mjs → runAs-e9Fc_nyP.mjs} +1 -1
  11. package/dist/runAs.vue_vue_type_script_setup_true_lang-CxPu4m6V.mjs +140 -0
  12. package/dist/style.css +1 -1
  13. package/dist/{types-CpNFMGvq.mjs → types-_Dh3OFCg.mjs} +6 -6
  14. package/dist/{updatePwd-5Cn-ZpWM.mjs → updatePwd-DcxEOzQy.mjs} +1 -1
  15. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-BF92aAwv.mjs → updatePwd.vue_vue_type_script_setup_true_lang-OiSdAbmC.mjs} +11 -11
  16. package/dts/src/components/JmashEnumRadio/index.vue.d.ts +18 -0
  17. package/dts/src/components/JmashImportUpload/index.vue.d.ts +31 -0
  18. package/dts/src/components/JmashMobileInsComponent/index.vue.d.ts +36 -0
  19. package/dts/src/components/JmashMultiImageUpload/index.vue.d.ts +38 -0
  20. package/dts/src/components/JmashMultiUpload/index.vue.d.ts +24 -0
  21. package/dts/src/components/JmashSingleImageUpload/index.vue.d.ts +18 -0
  22. package/package.json +1 -1
  23. package/dist/runAs.vue_vue_type_script_setup_true_lang-DxvOUNXP.mjs +0 -2492
@@ -1,6 +1,6 @@
1
1
  import { _ as D } from "./picture-CBRsHLZl.mjs";
2
- import { defineComponent as E, ref as V, reactive as p, resolveComponent as c, openBlock as N, createElementBlock as $, Fragment as q, createVNode as e, withCtx as l, createTextVNode as u, toDisplayString as f, createElementVNode as _ } from "vue";
3
- import { q as B, c as w, t as R, v as S, w as z } from "./index-2a2z9HJi.mjs";
2
+ import { defineComponent as E, ref as V, reactive as p, resolveComponent as c, openBlock as N, createElementBlock as $, Fragment as B, createVNode as e, withCtx as l, createTextVNode as u, toDisplayString as f, createElementVNode as _ } from "vue";
3
+ import { t as R, c as w, v as S, w as q, x as z } from "./index-BbCqgUaV.mjs";
4
4
  const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dialog-footer" }, H = /* @__PURE__ */ E({
5
5
  __name: "types",
6
6
  setup(T) {
@@ -24,7 +24,7 @@ const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dial
24
24
  // ],
25
25
  });
26
26
  function h() {
27
- B().then(({ data: a }) => {
27
+ R().then(({ data: a }) => {
28
28
  o.captchaId = a.captchaId, g.value = a.base64Image, i.visible = !0, o.captchaCode = "";
29
29
  });
30
30
  }
@@ -42,7 +42,7 @@ const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dial
42
42
  captchaId: o.captchaId,
43
43
  captchaCode: o.captchaCode
44
44
  };
45
- R(m).then(({ data: s }) => {
45
+ S(m).then(({ data: s }) => {
46
46
  console.log(s);
47
47
  const r = window.setInterval(() => {
48
48
  n.content = n.timers + "s后重新发送", n.timers--, n.disabled = !0, n.timers < 0 && (n.timers = 60, n.disabled = !1, n.content = "重新发送验证码", window.clearInterval(r));
@@ -57,7 +57,7 @@ const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dial
57
57
  directoryId: "jmash",
58
58
  name: o.name,
59
59
  validCode: o.validCode,
60
- clientId: S.APP_CLIENT_ID,
60
+ clientId: q.APP_CLIENT_ID,
61
61
  scope: ""
62
62
  };
63
63
  z(a).then((t) => {
@@ -66,7 +66,7 @@ const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dial
66
66
  }
67
67
  return (a, t) => {
68
68
  const m = c("el-input"), s = c("el-form-item"), r = c("el-button"), b = c("el-form"), x = D, F = c("el-image"), U = c("el-dialog");
69
- return N(), $(q, null, [
69
+ return N(), $(B, null, [
70
70
  e(b, {
71
71
  ref_key: "ruleFormRef",
72
72
  ref: v,
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-BF92aAwv.mjs";
1
+ import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-OiSdAbmC.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, openBlock as O, createBlock as A, unref as t, isRef as D, withCtx as n, createElementVNode as U, createVNode as r, createTextVNode as g, toDisplayString as _ } from "vue";
2
- import { ElMessage as z } from "element-plus";
3
- import { z as b, aD as B } from "./index-2a2z9HJi.mjs";
4
- import { useI18n as I } from "vue-i18n";
5
- const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
1
+ import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, openBlock as O, createBlock as A, unref as t, isRef as U, withCtx as n, createElementVNode as B, createVNode as r, createTextVNode as g, toDisplayString as _ } from "vue";
2
+ import { ElMessage as D } from "element-plus";
3
+ import { A as b, J as I } from "./index-BbCqgUaV.mjs";
4
+ import { useI18n as S } from "vue-i18n";
5
+ const z = { class: "dialog-footer" }, k = /* @__PURE__ */ q({
6
6
  __name: "updatePwd",
7
7
  props: {
8
8
  pwdVisible: {
@@ -12,7 +12,7 @@ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
12
12
  },
13
13
  emits: ["dialogActionChange"],
14
14
  setup(R, { emit: y }) {
15
- const { t: a } = I(), p = v(), N = R, { pwdVisible: u } = E(N), c = y;
15
+ const { t: a } = S(), p = v(), N = R, { pwdVisible: u } = E(N), c = y;
16
16
  let l = V({
17
17
  encodeOldPwd: "",
18
18
  encodeNewPwd: "",
@@ -33,8 +33,8 @@ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
33
33
  await ((o = p.value) == null ? void 0 : o.validate((e) => {
34
34
  if (e) {
35
35
  let d = b(l.encodeOldPwd), w = b(l.encodeNewPwd);
36
- B(d, w).then((m) => {
37
- m.status === 200 && (z({
36
+ I(d, w).then((m) => {
37
+ m.status === 200 && (D({
38
38
  message: a("password.successResetPwd"),
39
39
  type: "success"
40
40
  }), c("dialogActionChange", !1));
@@ -52,12 +52,12 @@ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
52
52
  return O(), A(C, {
53
53
  title: "修改密码",
54
54
  modelValue: t(u),
55
- "onUpdate:modelValue": e[3] || (e[3] = (s) => D(u) ? u.value = s : null),
55
+ "onUpdate:modelValue": e[3] || (e[3] = (s) => U(u) ? u.value = s : null),
56
56
  width: "500px",
57
57
  onClose: f
58
58
  }, {
59
59
  footer: n(() => [
60
- U("div", S, [
60
+ B("div", z, [
61
61
  r(P, { onClick: f }, {
62
62
  default: n(() => [
63
63
  g(_(o.$t("common.cancel")), 1)
@@ -142,5 +142,5 @@ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
142
142
  }
143
143
  });
144
144
  export {
145
- G as _
145
+ k as _
146
146
  };
@@ -0,0 +1,18 @@
1
+ import type { PropType } from "vue";
2
+ import type { Entry } from "@/api/types";
3
+ declare const _default: import("vue").DefineComponent<{
4
+ modelValue: PropType<string | boolean>;
5
+ data: {
6
+ type: PropType<Entry[]>;
7
+ default: () => never[];
8
+ };
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
+ modelValue: PropType<string | boolean>;
11
+ data: {
12
+ type: PropType<Entry[]>;
13
+ default: () => never[];
14
+ };
15
+ }>>, {
16
+ data: Entry[];
17
+ }, {}>;
18
+ export default _default;
@@ -0,0 +1,31 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ uploadVisible: {
3
+ type: BooleanConstructor;
4
+ default: () => boolean;
5
+ };
6
+ templateTitle: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ templateDown: (...args: any[]) => void;
12
+ importEvents: (...args: any[]) => void;
13
+ uploadClosed: (...args: any[]) => void;
14
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
+ uploadVisible: {
16
+ type: BooleanConstructor;
17
+ default: () => boolean;
18
+ };
19
+ templateTitle: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ }>> & {
24
+ onTemplateDown?: ((...args: any[]) => any) | undefined;
25
+ onImportEvents?: ((...args: any[]) => any) | undefined;
26
+ onUploadClosed?: ((...args: any[]) => any) | undefined;
27
+ }, {
28
+ uploadVisible: boolean;
29
+ templateTitle: string;
30
+ }, {}>;
31
+ export default _default;
@@ -0,0 +1,36 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ mobileEncrypt: {
3
+ type: BooleanConstructor;
4
+ default: () => boolean;
5
+ };
6
+ mobilePhoneIns: {
7
+ type: StringConstructor;
8
+ default: () => string;
9
+ };
10
+ mobilePhone: {
11
+ type: StringConstructor;
12
+ default: () => string;
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ toggleEncrypt: (...args: any[]) => void;
16
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
17
+ mobileEncrypt: {
18
+ type: BooleanConstructor;
19
+ default: () => boolean;
20
+ };
21
+ mobilePhoneIns: {
22
+ type: StringConstructor;
23
+ default: () => string;
24
+ };
25
+ mobilePhone: {
26
+ type: StringConstructor;
27
+ default: () => string;
28
+ };
29
+ }>> & {
30
+ onToggleEncrypt?: ((...args: any[]) => any) | undefined;
31
+ }, {
32
+ mobilePhone: string;
33
+ mobileEncrypt: boolean;
34
+ mobilePhoneIns: string;
35
+ }, {}>;
36
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ listType: {
3
+ type: () => "text" | "picture" | "picture-card";
4
+ default: string;
5
+ };
6
+ limit: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ pictureUrl: {
11
+ type: ArrayConstructor;
12
+ default: () => never[];
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ filesResponse: (...args: any[]) => void;
16
+ uploadFileList: (...args: any[]) => void;
17
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
+ listType: {
19
+ type: () => "text" | "picture" | "picture-card";
20
+ default: string;
21
+ };
22
+ limit: {
23
+ type: NumberConstructor;
24
+ default: number;
25
+ };
26
+ pictureUrl: {
27
+ type: ArrayConstructor;
28
+ default: () => never[];
29
+ };
30
+ }>> & {
31
+ onFilesResponse?: ((...args: any[]) => any) | undefined;
32
+ onUploadFileList?: ((...args: any[]) => any) | undefined;
33
+ }, {
34
+ pictureUrl: unknown[];
35
+ listType: "picture" | "text" | "picture-card";
36
+ limit: number;
37
+ }, {}>;
38
+ export default _default;
@@ -0,0 +1,24 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: globalThis.PropType<boolean>;
3
+ limit: {
4
+ type: NumberConstructor;
5
+ default: number;
6
+ };
7
+ }, {
8
+ clearFileList: () => void;
9
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ filesResponse: (...args: any[]) => void;
11
+ uploadFileList: (...args: any[]) => void;
12
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
13
+ modelValue: globalThis.PropType<boolean>;
14
+ limit: {
15
+ type: NumberConstructor;
16
+ default: number;
17
+ };
18
+ }>> & {
19
+ onFilesResponse?: ((...args: any[]) => any) | undefined;
20
+ onUploadFileList?: ((...args: any[]) => any) | undefined;
21
+ }, {
22
+ limit: number;
23
+ }, {}>;
24
+ export default _default;
@@ -0,0 +1,18 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ pictureUrl: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ imageSrc: (...args: any[]) => void;
8
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
+ pictureUrl: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ }>> & {
14
+ onImageSrc?: ((...args: any[]) => any) | undefined;
15
+ }, {
16
+ pictureUrl: string;
17
+ }, {}>;
18
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core",
3
- "version": "0.0.105",
3
+ "version": "0.0.106",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",