hs-admin-ui 16.4.4 → 16.4.6

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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index-CXnSdJdR.cjs");const l=require("./index-9HSiqJZB.cjs"),u=require("./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BDGsoXRz.cjs");require("vue");const a=require("./index-CTCZcL1I.cjs");function c(r,e){u.NEXT_NAME.value=e==null?void 0:e.NEXT_NAME,u.IS_DEV.value=e==null?void 0:e.IS_DEV,u.CurrentRoute.value=e==null?void 0:e.currentRoute,u.CurrentRouter.value=e==null?void 0:e.currentRouter,r.directive("loading",u.ElLoading.directive),r.use(l.install)}exports.ElMessage=u.HsMessage;exports.ElMessageBox=u.HsMessageBox;exports.ElNotification=u.HsNotification;exports.mathTool=u.mathTool;exports.Utils=a.index;exports.useHsAdminUi=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index-CXnSdJdR.cjs");const l=require("./index-DX7H4YBY.cjs"),u=require("./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BDGsoXRz.cjs");require("vue");const a=require("./index-CTCZcL1I.cjs");function c(r,e){u.NEXT_NAME.value=e==null?void 0:e.NEXT_NAME,u.IS_DEV.value=e==null?void 0:e.IS_DEV,u.CurrentRoute.value=e==null?void 0:e.currentRoute,u.CurrentRouter.value=e==null?void 0:e.currentRouter,r.directive("loading",u.ElLoading.directive),r.use(l.install)}exports.ElMessage=u.HsMessage;exports.ElMessageBox=u.HsMessageBox;exports.ElNotification=u.HsNotification;exports.mathTool=u.mathTool;exports.Utils=a.index;exports.useHsAdminUi=c;
@@ -1,5 +1,5 @@
1
1
  import "./index-DA842K1J.js";
2
- import { q as a } from "./index-CVxMd2LI.js";
2
+ import { q as a } from "./index-453NBUwC.js";
3
3
  import { aS as u, bp as l, bq as m, br as E, aQ as v } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DVwBTR_W.js";
4
4
  import { W as x, bt as M, bu as R, bv as _ } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DVwBTR_W.js";
5
5
  import "vue";
@@ -28476,6 +28476,11 @@ const uO = Ge(iO), cO = /* @__PURE__ */ H({
28476
28476
  type: Boolean,
28477
28477
  default: !1
28478
28478
  },
28479
+ /** 开启自定填充 */
28480
+ enableFill: {
28481
+ type: Boolean,
28482
+ default: !1
28483
+ },
28479
28484
  min: {
28480
28485
  type: [Number, String],
28481
28486
  default: Number.MIN_SAFE_INTEGER
@@ -28487,7 +28492,7 @@ const uO = Ge(iO), cO = /* @__PURE__ */ H({
28487
28492
  },
28488
28493
  emits: ["blur", "focus", "change"],
28489
28494
  setup(e, { emit: t }) {
28490
- const a = e, n = t, o = L(a.readonly || !0);
28495
+ const a = e, n = t, o = L(a.type === "password" ? !a.enableFill : a.readonly);
28491
28496
  pe(
28492
28497
  () => a.readonly,
28493
28498
  (v) => {
@@ -28515,7 +28520,7 @@ const uO = Ge(iO), cO = /* @__PURE__ */ H({
28515
28520
  a.type !== "vxe" ? (m = s == null ? void 0 : s.exposed) == null || m.select() : v.$input.select(), a.readonly || (o.value = !1), n("focus", v);
28516
28521
  }
28517
28522
  function f(v) {
28518
- o.value = !0, n("blur", v);
28523
+ !a.enableFill && a.type === "password" && (o.value = !0), n("blur", v);
28519
28524
  }
28520
28525
  function d(v) {
28521
28526
  n("change", v);