@kengic/vue 0.14.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -167,7 +167,6 @@ const index$7 = "", en = {
167
167
  delete: "Delete",
168
168
  deleteSuccess: "Delete Successfully.",
169
169
  desc: "Descending",
170
- downloadImportTemplate: "Download Import Template",
171
170
  edit: "Edit",
172
171
  empty: "EMPTY",
173
172
  emptyText: "NO DATA",
@@ -175,6 +174,7 @@ const index$7 = "", en = {
175
174
  exportSuccess: "Export Successfully.",
176
175
  formId: "Form ID",
177
176
  import: "Import",
177
+ "import-template": "Download Import Template",
178
178
  importSuccess: "Import Successfully.",
179
179
  importTemplate: "ImportTemplate",
180
180
  loading: "LOADING ...",
@@ -358,7 +358,6 @@ const index$7 = "", en = {
358
358
  delete: "\u5220\u9664",
359
359
  deleteSuccess: "\u5220\u9664\u6210\u529F.",
360
360
  desc: "\u964D\u5E8F",
361
- downloadImportTemplate: "\u6A21\u677F\u4E0B\u8F7D",
362
361
  edit: "\u7F16\u8F91",
363
362
  empty: "\u7A7A",
364
363
  emptyText: "\u6682\u65E0\u6570\u636E",
@@ -366,6 +365,7 @@ const index$7 = "", en = {
366
365
  exportSuccess: "\u5BFC\u51FA\u6210\u529F.",
367
366
  formId: "\u754C\u9762\u6807\u8BC6",
368
367
  import: "\u5BFC\u5165",
368
+ "import-template": "\u6A21\u677F\u4E0B\u8F7D",
369
369
  importSuccess: "\u5BFC\u5165\u6210\u529F",
370
370
  importTemplate: "\u5BFC\u5165\u6A21\u677F",
371
371
  loading: "\u6B63\u5728\u52A0\u8F7D ...",
@@ -2870,7 +2870,7 @@ const emptyIcon = {
2870
2870
  ...t.data
2871
2871
  }, r);
2872
2872
  }
2873
- }), name = "@kengic/vue", version = "0.14.0", data$1 = {
2873
+ }), name = "@kengic/vue", version = "0.14.1", data$1 = {
2874
2874
  width: 24,
2875
2875
  height: 24,
2876
2876
  body: '<path fill="currentColor" d="M5 21q-.825 0-1.413-.588T3 19V5q0-.825.588-1.413T5 3h11.175q.4 0 .763.15t.637.425l2.85 2.85q.275.275.425.638t.15.762V12.3q-.475-.2-.988-.263T19 12.05V7.825L16.175 5H5v14h6v2H5ZM5 5v14V5Zm8 17v-1.65q0-.2.075-.388t.225-.337l5.225-5.2q.225-.225.5-.325t.55-.1q.3 0 .575.113t.5.337l.925.925q.2.225.313.5t.112.55q0 .275-.1.563t-.325.512l-5.2 5.2q-.15.15-.338.225T15.65 23H14q-.425 0-.712-.287T13 22Zm7.5-5.575l-.925-.925l.925.925Zm-6 5.075h.95l3.025-3.05l-.45-.475l-.475-.45l-3.05 3.025v.95Zm3.525-3.525l-.475-.45l.925.925l-.45-.475ZM7 10h7q.425 0 .713-.288T15 9V7q0-.425-.288-.713T14 6H7q-.425 0-.713.288T6 7v2q0 .425.288.713T7 10Zm5 8h.1l2.9-2.875V15q0-1.25-.875-2.125T12 12q-1.25 0-2.125.875T9 15q0 1.25.875 2.125T12 18Z"/>'
@@ -3520,15 +3520,15 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3520
3520
  return G ? F : F.endOf(c);
3521
3521
  }, Y = function(ge, ae) {
3522
3522
  return K.w(P.toDate()[ge].apply(P.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), P);
3523
- }, q = this.$W, X = this.$M, J = this.$D, ee = "set" + (this.$u ? "UTC" : "");
3523
+ }, q = this.$W, J = this.$M, X = this.$D, ee = "set" + (this.$u ? "UTC" : "");
3524
3524
  switch (N) {
3525
3525
  case E:
3526
3526
  return G ? x(1, 0) : x(31, 11);
3527
3527
  case d:
3528
- return G ? x(1, X) : x(0, X + 1);
3528
+ return G ? x(1, J) : x(0, J + 1);
3529
3529
  case u:
3530
3530
  var le = this.$locale().weekStart || 0, me = (q < le ? q + 7 : q) - le;
3531
- return x(G ? J - me : J + (6 - me), X);
3531
+ return x(G ? X - me : X + (6 - me), J);
3532
3532
  case c:
3533
3533
  case y:
3534
3534
  return Y(ee + "Hours", 0);
@@ -3558,9 +3558,9 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3558
3558
  }, O.add = function(V, $) {
3559
3559
  var P, G = this;
3560
3560
  V = Number(V);
3561
- var N = K.p($), x = function(X) {
3562
- var J = M(G);
3563
- return K.w(J.date(J.date() + Math.round(X * V)), G);
3561
+ var N = K.p($), x = function(J) {
3562
+ var X = M(G);
3563
+ return K.w(X.date(X.date() + Math.round(J * V)), G);
3564
3564
  };
3565
3565
  if (N === d)
3566
3566
  return this.set(d, this.$M + V);
@@ -3578,7 +3578,7 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3578
3578
  var $ = this, P = this.$locale();
3579
3579
  if (!this.isValid())
3580
3580
  return P.invalidDate || p;
3581
- var G = V || "YYYY-MM-DDTHH:mm:ssZ", N = K.z(this), x = this.$H, Y = this.$m, q = this.$M, X = P.weekdays, J = P.months, ee = P.meridiem, le = function(ae, F, U, Q) {
3581
+ var G = V || "YYYY-MM-DDTHH:mm:ssZ", N = K.z(this), x = this.$H, Y = this.$m, q = this.$M, J = P.weekdays, X = P.months, ee = P.meridiem, le = function(ae, F, U, Q) {
3582
3582
  return ae && (ae[F] || ae($, G)) || U[F].slice(0, Q);
3583
3583
  }, me = function(ae) {
3584
3584
  return K.s(x % 12 || 12, ae, "0");
@@ -3598,9 +3598,9 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3598
3598
  case "MM":
3599
3599
  return K.s(q + 1, 2, "0");
3600
3600
  case "MMM":
3601
- return le(P.monthsShort, q, J, 3);
3601
+ return le(P.monthsShort, q, X, 3);
3602
3602
  case "MMMM":
3603
- return le(J, q);
3603
+ return le(X, q);
3604
3604
  case "D":
3605
3605
  return $.$D;
3606
3606
  case "DD":
@@ -3608,11 +3608,11 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3608
3608
  case "d":
3609
3609
  return String($.$W);
3610
3610
  case "dd":
3611
- return le(P.weekdaysMin, $.$W, X, 2);
3611
+ return le(P.weekdaysMin, $.$W, J, 2);
3612
3612
  case "ddd":
3613
- return le(P.weekdaysShort, $.$W, X, 3);
3613
+ return le(P.weekdaysShort, $.$W, J, 3);
3614
3614
  case "dddd":
3615
- return X[$.$W];
3615
+ return J[$.$W];
3616
3616
  case "H":
3617
3617
  return String(x);
3618
3618
  case "HH":
@@ -3644,36 +3644,36 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
3644
3644
  }, O.utcOffset = function() {
3645
3645
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3646
3646
  }, O.diff = function(V, $, P) {
3647
- var G, N = this, x = K.p($), Y = M(V), q = (Y.utcOffset() - this.utcOffset()) * a, X = this - Y, J = function() {
3647
+ var G, N = this, x = K.p($), Y = M(V), q = (Y.utcOffset() - this.utcOffset()) * a, J = this - Y, X = function() {
3648
3648
  return K.m(N, Y);
3649
3649
  };
3650
3650
  switch (x) {
3651
3651
  case E:
3652
- G = J() / 12;
3652
+ G = X() / 12;
3653
3653
  break;
3654
3654
  case d:
3655
- G = J();
3655
+ G = X();
3656
3656
  break;
3657
3657
  case g:
3658
- G = J() / 3;
3658
+ G = X() / 3;
3659
3659
  break;
3660
3660
  case u:
3661
- G = (X - q) / 6048e5;
3661
+ G = (J - q) / 6048e5;
3662
3662
  break;
3663
3663
  case c:
3664
- G = (X - q) / 864e5;
3664
+ G = (J - q) / 864e5;
3665
3665
  break;
3666
3666
  case i:
3667
- G = X / n;
3667
+ G = J / n;
3668
3668
  break;
3669
3669
  case o:
3670
- G = X / a;
3670
+ G = J / a;
3671
3671
  break;
3672
3672
  case l:
3673
- G = X / r;
3673
+ G = J / r;
3674
3674
  break;
3675
3675
  default:
3676
- G = X;
3676
+ G = J;
3677
3677
  }
3678
3678
  return P ? G : K.a(G);
3679
3679
  }, O.daysInMonth = function() {
@@ -7767,14 +7767,14 @@ const useKgVarStore = () => (store$7 || (store$7 = defineStore("KgVar", {
7767
7767
  function useKgVar(e, t, r = 0) {
7768
7768
  var a, n;
7769
7769
  try {
7770
- let s = function(J) {
7771
- u.setIsCreating(c, J);
7772
- }, l = function(J) {
7773
- u.setIsUpdating(c, J);
7774
- }, o = function(J) {
7775
- u.setIsCopying(c, J);
7776
- }, i = function(J) {
7777
- u.setIsDeleting(c, J);
7770
+ let s = function(X) {
7771
+ u.setIsCreating(c, X);
7772
+ }, l = function(X) {
7773
+ u.setIsUpdating(c, X);
7774
+ }, o = function(X) {
7775
+ u.setIsCopying(c, X);
7776
+ }, i = function(X) {
7777
+ u.setIsDeleting(c, X);
7778
7778
  }, c = e || inject(KG_DI_FORM_ID, "");
7779
7779
  if (!c)
7780
7780
  throw new Error("useKgVar() | \u5FC5\u987B\u4F20\u5165 formID \u53C2\u6570.");
@@ -7784,10 +7784,10 @@ function useKgVar(e, t, r = 0) {
7784
7784
  }), onUnmounted(() => {
7785
7785
  u.dispose(c);
7786
7786
  }));
7787
- const d = (J) => computed(() => u.t(c, J)), g = computed(() => u.isRetrieving(c)), E = computed(() => u.isRetrievingVarProfileMaster(c)), y = computed(() => u.isRetrievingVarGridMaster(c)), p = computed(() => u.isRetrieved(c)), _ = computed(() => u.isCreating(c)), m = computed(() => u.isCreatingRequesting(c)), v = computed(() => u.isUpdating(c)), T = computed(() => u.isUpdatingRequesting(c)), k = computed(() => u.isCopying(c)), I = computed(() => u.isCopyingRequesting(c)), C = computed(() => u.isDeleting(c)), R = computed(() => u.isDeletingRequesting(c)), A = computed(() => u.isOtherRequesting(c)), D = computed(() => u.getVarButtons(c)), M = computed(() => u.getVarButtonSearch(c)), K = computed(() => u.getVarButtonCreate(c)), L = computed(() => u.getVarButtonUpdate(c)), H = computed(() => u.getVarButtonCopy(c)), w = computed(() => u.getVarButtonDelete(c)), O = computed(() => u.getVarProfileMasters(c)), V = computed(() => u.getCurrentVarProfileMasterID(c)), $ = computed(() => u.getCurrentVarProfileMaster(c)), P = computed(() => {
7788
- var J, ee;
7789
- return (ee = (J = $.value) == null ? void 0 : J.varProfileDetails) != null ? ee : null;
7790
- }), G = computed(() => u.getVarGridConfig(c)), N = computed(() => u.getVarGridMasters(c)), x = computed(() => u.getCurrentVarGridMasterID(c)), Y = computed(() => u.getCurrentVarGridMaster(c)), q = computed(() => u.getSystemVarGridDetails(c)), X = computed(() => u.getCurrentVarGridDetails(c));
7787
+ const d = (X) => computed(() => u.t(c, X)), g = computed(() => u.isRetrieving(c)), E = computed(() => u.isRetrievingVarProfileMaster(c)), y = computed(() => u.isRetrievingVarGridMaster(c)), p = computed(() => u.isRetrieved(c)), _ = computed(() => u.isCreating(c)), m = computed(() => u.isCreatingRequesting(c)), v = computed(() => u.isUpdating(c)), T = computed(() => u.isUpdatingRequesting(c)), k = computed(() => u.isCopying(c)), I = computed(() => u.isCopyingRequesting(c)), C = computed(() => u.isDeleting(c)), R = computed(() => u.isDeletingRequesting(c)), A = computed(() => u.isOtherRequesting(c)), D = computed(() => u.getVarButtons(c)), M = computed(() => u.getVarButtonSearch(c)), K = computed(() => u.getVarButtonCreate(c)), L = computed(() => u.getVarButtonUpdate(c)), H = computed(() => u.getVarButtonCopy(c)), w = computed(() => u.getVarButtonDelete(c)), O = computed(() => u.getVarProfileMasters(c)), V = computed(() => u.getCurrentVarProfileMasterID(c)), $ = computed(() => u.getCurrentVarProfileMaster(c)), P = computed(() => {
7788
+ var X, ee;
7789
+ return (ee = (X = $.value) == null ? void 0 : X.varProfileDetails) != null ? ee : null;
7790
+ }), G = computed(() => u.getVarGridConfig(c)), N = computed(() => u.getVarGridMasters(c)), x = computed(() => u.getCurrentVarGridMasterID(c)), Y = computed(() => u.getCurrentVarGridMaster(c)), q = computed(() => u.getSystemVarGridDetails(c)), J = computed(() => u.getCurrentVarGridDetails(c));
7791
7791
  return {
7792
7792
  formID: c,
7793
7793
  store: u,
@@ -7819,7 +7819,7 @@ function useKgVar(e, t, r = 0) {
7819
7819
  currentVarGridMasteID: x,
7820
7820
  currentVarGridMaster: Y,
7821
7821
  systemVarGridDetails: q,
7822
- currentVarGridDetails: X,
7822
+ currentVarGridDetails: J,
7823
7823
  setIsCreating: s,
7824
7824
  setIsUpdating: l,
7825
7825
  setIsCopying: o,
@@ -8790,7 +8790,7 @@ const KgFormItem = defineComponent({
8790
8790
  }
8791
8791
  return w;
8792
8792
  }), v = computed(() => {
8793
- var O, V, $, P, G, N, x, Y, q, X;
8793
+ var O, V, $, P, G, N, x, Y, q, J;
8794
8794
  let w = 6;
8795
8795
  if (e.kgSpan !== void 0)
8796
8796
  w = e.kgSpan;
@@ -8811,11 +8811,11 @@ const KgFormItem = defineComponent({
8811
8811
  w = (Y = (x = g.value) == null ? void 0 : x.cpy_width) != null ? Y : 6;
8812
8812
  break;
8813
8813
  case l.isDeleting.value:
8814
- w = (X = (q = g.value) == null ? void 0 : q.del_width) != null ? X : 6;
8814
+ w = (J = (q = g.value) == null ? void 0 : q.del_width) != null ? J : 6;
8815
8815
  break;
8816
8816
  }
8817
8817
  }
8818
- return w = Number(w), new Array(24).fill(0).map((J, ee) => ee + 1).includes(w) ? w : (KgLogger.error("| \u6570\u636E\u6709\u8BEF | \u5BBD\u5EA6\u5FC5\u987B\u4E3A [1, 24] \u4E4B\u95F4\u7684\u6574\u6570.", {
8818
+ return w = Number(w), new Array(24).fill(0).map((X, ee) => ee + 1).includes(w) ? w : (KgLogger.error("| \u6570\u636E\u6709\u8BEF | \u5BBD\u5EA6\u5FC5\u987B\u4E3A [1, 24] \u4E4B\u95F4\u7684\u6574\u6570.", {
8819
8819
  VarProfileDetail: d.value,
8820
8820
  VarSubmitField: g.value
8821
8821
  }), 6);
@@ -9815,7 +9815,7 @@ const getProps$p = () => ({
9815
9815
  return u.value ? 398 : (W = (B = g.value) == null ? void 0 : B.max_width) != null ? W : DEFAULT_MAX_WIDTH;
9816
9816
  }), x = computed(() => u.value ? 398 : $.value.kgWidth), Y = ref(null);
9817
9817
  _useResizeObserver$1(Y);
9818
- const q = _useTitle(), X = computed(() => u.value ? 400 : $.value.kgWidth && $.value.kgWidth > 0 ? "auto" : 0), J = computed(() => X.value === 0 ? !1 : !!(s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value)), ee = reactive({
9818
+ const q = _useTitle(), J = computed(() => u.value ? 400 : $.value.kgWidth && $.value.kgWidth > 0 ? "auto" : 0), X = computed(() => J.value === 0 ? !1 : !!(s.isCreating.value || s.isUpdating.value || s.isCopying.value || s.isDeleting.value)), ee = reactive({
9819
9819
  isFullscreen: !1
9820
9820
  }), {
9821
9821
  getClass: le
@@ -9872,13 +9872,13 @@ const getProps$p = () => ({
9872
9872
  return n.t("kg.save");
9873
9873
  }), Q = computed(() => i.displayType.value === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL && !ee.isFullscreen);
9874
9874
  ((Me = (ke = (Ce = n.option.value) == null ? void 0 : Ce.KgModal) == null ? void 0 : ke.drag) == null ? void 0 : Me.on) === !0 && useKgDragModal({
9875
- visible: J,
9875
+ visible: X,
9876
9876
  draggable: Q,
9877
9877
  destroyOnClose: ref(!0),
9878
9878
  containerElementSelector: ".ant-drawer-content-wrapper",
9879
9879
  handleElementSelector: ".ant-drawer-header",
9880
9880
  contentElementSelector: ".ant-drawer-content-wrapper"
9881
- }), watch(J, (B, W) => {
9881
+ }), watch(X, (B, W) => {
9882
9882
  B === !0 && z(), W === !0 && B === !1 && te();
9883
9883
  }, {
9884
9884
  immediate: !0
@@ -10276,13 +10276,13 @@ const getProps$p = () => ({
10276
10276
  return onUnmounted(async () => {
10277
10277
  await te();
10278
10278
  }), () => createVNode(Drawer, {
10279
- visible: J.value,
10279
+ visible: X.value,
10280
10280
  placement: "right",
10281
10281
  closable: !1,
10282
10282
  maskClosable: !1,
10283
10283
  keyboard: !1,
10284
10284
  destroyOnClose: !0,
10285
- width: X.value,
10285
+ width: J.value,
10286
10286
  class: le.value,
10287
10287
  "kg-frm_id": s.formID
10288
10288
  }, {
@@ -13264,8 +13264,8 @@ function _useColumns(e) {
13264
13264
  return !(C.ord_flg !== 1 || (x = (N = t == null ? void 0 : t.value) == null ? void 0 : N.KgTable) != null && x.kgDisabled || isNil((q = (Y = t == null ? void 0 : t.value) == null ? void 0 : Y.KgTable) == null ? void 0 : q.kgDisabled) && e.kgDisabled || r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value || y.length <= 0);
13265
13265
  }
13266
13266
  function H() {
13267
- var N, x, Y, q, X, J;
13268
- if (((x = (N = E.option.value.KgTable) == null ? void 0 : N.filter) == null ? void 0 : x.on) === !0 && C.filter_flag === 1 && !((q = (Y = t == null ? void 0 : t.value) == null ? void 0 : Y.KgTable) != null && q.kgDisabled) && !(isNil((J = (X = t == null ? void 0 : t.value) == null ? void 0 : X.KgTable) == null ? void 0 : J.kgDisabled) && e.kgDisabled) && !(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) && !(y.length <= 0))
13267
+ var N, x, Y, q, J, X;
13268
+ if (((x = (N = E.option.value.KgTable) == null ? void 0 : N.filter) == null ? void 0 : x.on) === !0 && C.filter_flag === 1 && !((q = (Y = t == null ? void 0 : t.value) == null ? void 0 : Y.KgTable) != null && q.kgDisabled) && !(isNil((X = (J = t == null ? void 0 : t.value) == null ? void 0 : J.KgTable) == null ? void 0 : X.kgDisabled) && e.kgDisabled) && !(r.isCreating.value || r.isUpdating.value || r.isCopying.value || r.isDeleting.value) && !(y.length <= 0))
13269
13269
  return uniqBy(y.map((ee) => {
13270
13270
  var le;
13271
13271
  return {
@@ -13774,7 +13774,7 @@ const KgTable$1 = "", getProps$g = () => ({
13774
13774
  function q(F, U) {
13775
13775
  U.width = F, s.store.setVarGridDetailWidth(s.formID, U.dataIndex, F);
13776
13776
  }
13777
- async function X(F, U, Q, z) {
13777
+ async function J(F, U, Q, z) {
13778
13778
  switch (z.action) {
13779
13779
  case "sort": {
13780
13780
  g.value = Q, g.value.order || (g.value.field = void 0), await nextTick(), N({
@@ -13786,7 +13786,7 @@ const KgTable$1 = "", getProps$g = () => ({
13786
13786
  d.value = U;
13787
13787
  }
13788
13788
  }
13789
- function J(F, U) {
13789
+ function X(F, U) {
13790
13790
  var z;
13791
13791
  const Q = U[o.id.value];
13792
13792
  switch ((z = s.varGridConfig.value) == null ? void 0 : z.expand_accordion_flg) {
@@ -13876,8 +13876,8 @@ const KgTable$1 = "", getProps$g = () => ({
13876
13876
  onClick: (te) => G(te, z)
13877
13877
  }),
13878
13878
  onResizeColumn: q,
13879
- onChange: X,
13880
- onExpand: J
13879
+ onChange: J,
13880
+ onExpand: X
13881
13881
  }, {
13882
13882
  headerCell: le,
13883
13883
  bodyCell: _,
@@ -14493,7 +14493,7 @@ const KgButtonCreate = defineComponent({
14493
14493
  }, null)]) : createVNode(UploadOutlined$1, null, null);
14494
14494
  }
14495
14495
  function E() {
14496
- return e.kgText ? e.kgText : t.t("kg.downloadImportTemplate");
14496
+ return e.kgText ? e.kgText : t.t("kg.import-template");
14497
14497
  }
14498
14498
  return () => {
14499
14499
  var y, p, _, m, v, T;
@@ -15894,13 +15894,13 @@ const KgSearch$1 = "", getProps$9 = () => ({
15894
15894
  var N, x, Y, q;
15895
15895
  return ((Y = (x = (N = n.varProfileMasters) == null ? void 0 : N.value) == null ? void 0 : x.length) != null ? Y : 0) === 0 ? null : createVNode(Fragment, null, [createVNode(Select, {
15896
15896
  value: (q = n.currentVarProfileMasterID.value) != null ? q : void 0,
15897
- "onUpdate:value": (X) => n.store.setCurrentVarProfileMasterID(n.formID, X),
15897
+ "onUpdate:value": (J) => n.store.setCurrentVarProfileMasterID(n.formID, J),
15898
15898
  disabled: T.value,
15899
15899
  class: "kg-search-profile-master-select"
15900
15900
  }, {
15901
15901
  default: () => {
15902
- var X, J;
15903
- return (J = (X = n.varProfileMasters) == null ? void 0 : X.value) == null ? void 0 : J.map((ee) => createVNode(Select.Option, {
15902
+ var J, X;
15903
+ return (X = (J = n.varProfileMasters) == null ? void 0 : J.value) == null ? void 0 : X.map((ee) => createVNode(Select.Option, {
15904
15904
  value: ee.id
15905
15905
  }, {
15906
15906
  default: () => [n.t(ee == null ? void 0 : ee.prf_var_nam).value]
@@ -15919,13 +15919,13 @@ const KgSearch$1 = "", getProps$9 = () => ({
15919
15919
  default: () => [createVNode(SettingOutlined$1, null, null)]
15920
15920
  }), createVNode(KgSearchConfigModal, {
15921
15921
  visible: I.value.visible,
15922
- "onUpdate:visible": (X) => I.value.visible = X,
15922
+ "onUpdate:visible": (J) => I.value.visible = J,
15923
15923
  hostFormID: n.formID
15924
15924
  }, null)]);
15925
15925
  }
15926
15926
  function $() {
15927
- var N, x, Y, q, X;
15928
- return createVNode(Fragment, null, [V(), !(KgAuthUtil.getPermissionType((N = n.varButtonSearch.value) == null ? void 0 : N.permission_code) !== 2 && !a.p((x = n.varButtonSearch.value) == null ? void 0 : x.permission_code)) && createVNode(Button, {
15927
+ var N, x, Y;
15928
+ return createVNode(Fragment, null, [V(), createVNode(Button, {
15929
15929
  type: "primary",
15930
15930
  ghost: !v.value,
15931
15931
  disabled: v.value,
@@ -15935,10 +15935,10 @@ const KgSearch$1 = "", getProps$9 = () => ({
15935
15935
  default: () => [createVNode(ReloadOutlined$1, null, null), a.t("kg.reset")]
15936
15936
  }), createVNode(KgButton.Item, {
15937
15937
  kgType: KG_BUTTON_TYPE.SEARCH,
15938
- kgVarName: (Y = n.varButtonSearch.value) == null ? void 0 : Y.var_nam,
15939
- kgIcon: (q = n.varButtonSearch.value) == null ? void 0 : q.icon,
15938
+ kgVarName: (N = n.varButtonSearch.value) == null ? void 0 : N.var_nam,
15939
+ kgIcon: (x = n.varButtonSearch.value) == null ? void 0 : x.icon,
15940
15940
  kgText: R.value,
15941
- kgColor: (X = n.varButtonSearch.value) == null ? void 0 : X.color,
15941
+ kgColor: (Y = n.varButtonSearch.value) == null ? void 0 : Y.color,
15942
15942
  kgPrimary: A.value,
15943
15943
  kgLoading: k.value,
15944
15944
  onKgClick: w
@@ -162,7 +162,6 @@ declare const _default: {
162
162
  delete: string;
163
163
  deleteSuccess: string;
164
164
  desc: string;
165
- downloadImportTemplate: string;
166
165
  edit: string;
167
166
  empty: string;
168
167
  emptyText: string;
@@ -170,6 +169,7 @@ declare const _default: {
170
169
  exportSuccess: string;
171
170
  formId: string;
172
171
  import: string;
172
+ 'import-template': string;
173
173
  importSuccess: string;
174
174
  importTemplate: string;
175
175
  loading: string;
@@ -161,7 +161,6 @@ declare const _default: {
161
161
  delete: string;
162
162
  deleteSuccess: string;
163
163
  desc: string;
164
- downloadImportTemplate: string;
165
164
  edit: string;
166
165
  empty: string;
167
166
  emptyText: string;
@@ -169,6 +168,7 @@ declare const _default: {
169
168
  exportSuccess: string;
170
169
  formId: string;
171
170
  import: string;
171
+ 'import-template': string;
172
172
  importSuccess: string;
173
173
  importTemplate: string;
174
174
  loading: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",