pd-ui-package 1.2.0 → 1.3.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.
@@ -1,9 +1,10 @@
1
1
  import { defineComponent as x, ref as c, watch as g, reactive as _, resolveComponent as m, createBlock as E, openBlock as U, unref as s, withCtx as d, createVNode as t, createElementVNode as k, createTextVNode as B, toDisplayString as N } from "vue";
2
- import { a4 as S, a3 as f } from "./index-C75vsX-L.js";
2
+ import { a as S } from "./index-3k1IXN1T.js";
3
3
  import { useLocale as R } from "./pd-ui-package.js";
4
+ import { a3 as w } from "./index-CAw0rXjE.js";
4
5
  const j = { class: "dialog-footer" }, z = {
5
6
  name: "pd-PwdChangeForm"
6
- }, O = /* @__PURE__ */ x({
7
+ }, T = /* @__PURE__ */ x({
7
8
  ...z,
8
9
  props: {
9
10
  visible: {
@@ -74,16 +75,16 @@ const j = { class: "dialog-footer" }, z = {
74
75
  newPassword: r.new
75
76
  }
76
77
  });
77
- e.data.code === 200 ? (f.success(o("pwdChangeForm.pwdChangeSuccess")), i.value = !1) : f.error(
78
+ e.data.code === 200 ? (w.success(o("pwdChangeForm.pwdChangeSuccess")), i.value = !1) : w.error(
78
79
  e.data.msg || o("pwdChangeForm.pwdChangeError")
79
80
  );
80
81
  } catch (e) {
81
- f.error(e.message || o("pwdChangeForm.pwdChangeError"));
82
+ w.error(e.message || o("pwdChangeForm.pwdChangeError"));
82
83
  }
83
84
  });
84
85
  };
85
86
  return (l, e) => {
86
- const n = m("el-input"), w = m("el-form-item"), P = m("el-form"), y = m("el-button"), q = m("el-dialog");
87
+ const n = m("el-input"), f = m("el-form-item"), P = m("el-form"), y = m("el-button"), q = m("el-dialog");
87
88
  return U(), E(q, {
88
89
  modelValue: i.value,
89
90
  "onUpdate:modelValue": e[3] || (e[3] = (a) => i.value = a),
@@ -113,7 +114,7 @@ const j = { class: "dialog-footer" }, z = {
113
114
  "label-position": "left"
114
115
  }, {
115
116
  default: d(() => [
116
- t(w, {
117
+ t(f, {
117
118
  label: s(o)("pwdChangeForm.oldPwd"),
118
119
  prop: "old"
119
120
  }, {
@@ -127,7 +128,7 @@ const j = { class: "dialog-footer" }, z = {
127
128
  ]),
128
129
  _: 1
129
130
  }, 8, ["label"]),
130
- t(w, {
131
+ t(f, {
131
132
  label: s(o)("pwdChangeForm.newPwd"),
132
133
  prop: "new"
133
134
  }, {
@@ -141,7 +142,7 @@ const j = { class: "dialog-footer" }, z = {
141
142
  ]),
142
143
  _: 1
143
144
  }, 8, ["label"]),
144
- t(w, {
145
+ t(f, {
145
146
  label: s(o)("pwdChangeForm.confirmPwd"),
146
147
  prop: "confirm"
147
148
  }, {
@@ -165,5 +166,5 @@ const j = { class: "dialog-footer" }, z = {
165
166
  }
166
167
  });
167
168
  export {
168
- O as default
169
+ T as default
169
170
  };
package/pd-ui-package.css CHANGED
@@ -1 +1 @@
1
- .pd-DataTable-search-card[data-v-f7544f12] .el-card__body{padding-bottom:0}.pd-DataTable-operation[data-v-f7544f12]{padding:8px}button[data-v-b16a749b]{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button[data-v-b16a749b]:hover{border-color:#646cff}button[data-v-b16a749b]:focus,button[data-v-b16a749b]:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){button[data-v-b16a749b]{background-color:#f9f9f9}}
1
+ .pd-DataTable-search-card[data-v-00413279] .el-card__body{padding-bottom:0}.pd-DataTable-operation[data-v-00413279]{padding:8px}button[data-v-b16a749b]{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button[data-v-b16a749b]:hover{border-color:#646cff}button[data-v-b16a749b]:focus,button[data-v-b16a749b]:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){button[data-v-b16a749b]{background-color:#f9f9f9}}