@fewangsit/wangsvue-fats 1.0.0-alpha.11 → 1.0.0-alpha.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-fats",
3
- "version": "1.0.0-alpha.11",
3
+ "version": "1.0.0-alpha.12",
4
4
  "author": "fewangsit",
5
5
  "description": "Admin Console Tagsamurai VueJS Component Library",
6
6
  "type": "module",
package/utils/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export { genPlaceholder } from './genPlaceholder.util';
15
15
  export { getFileType, formatFile, validateFileSize, validateFileType, } from './addAttachment.util';
16
16
  export { getTransactionRole, getSystemRole, hasTransactionRole, hasApprovalRole, hasSystemRole, checkRouteAccess, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, type UserLogin, type TransactionAttribute, type SystemRoleAttribute, type SystemRole, type TransactionRole, } from './role.util';
17
17
  export { setNestedPropertyValue, getNestedPropertyValue, isEmptyObject, } from './object.util';
18
+ export { unListenSidebarChanges, listenSidebarChanges, } from './listenSidebarChanges.util';
18
19
  export { ZIndexUtils } from 'primevue/utils';
19
20
  export type { FileType, FormattedFile } from './addAttachment.util';
20
21
  export type { ITable } from './exportToExcel.util';
@@ -0,0 +1,11 @@
1
+ import { TreeNode } from '.././components/basetree/BaseTree.vue.d';
2
+ export type SidebarEvent = CustomEvent<{
3
+ /**
4
+ * Stringified keys array.
5
+ */
6
+ keys: string;
7
+ node: TreeNode;
8
+ }>;
9
+ declare const listenSidebarChanges: (type: "group" | "category", callback: (e: SidebarEvent) => any) => void;
10
+ declare const unListenSidebarChanges: (type: "group" | "category", callback: (e: SidebarEvent) => any) => void;
11
+ export { unListenSidebarChanges, listenSidebarChanges };
@@ -30255,7 +30255,17 @@ const Hd = (t, e = {
30255
30255
  },
30256
30256
  additionalMessage: " Please check your connection and try again."
30257
30257
  }
30258
- }, $9e = () => VS(BN), g0 = (t) => {
30258
+ }, $9e = () => VS(BN), z9e = (t, e) => {
30259
+ window.addEventListener(
30260
+ t === "group" ? "groupSidebarChanged" : "categorySidebarChanged",
30261
+ e
30262
+ );
30263
+ }, H9e = (t, e) => {
30264
+ window.removeEventListener(
30265
+ t === "group" ? "groupSidebarChanged" : "categorySidebarChanged",
30266
+ e
30267
+ );
30268
+ }, g0 = (t) => {
30259
30269
  const { transactionRoles: e } = JSON.parse(
30260
30270
  localStorage.getItem("user") ?? "{}"
30261
30271
  );
@@ -30275,34 +30285,34 @@ const Hd = (t, e = {
30275
30285
  update: !1,
30276
30286
  delete: !1
30277
30287
  };
30278
- }, z9e = (t) => Ite(t).view, H9e = (t) => {
30288
+ }, W9e = (t) => Ite(t).view, Y9e = (t) => {
30279
30289
  const { manager: e, staff: n, monitoringReport: r } = g0(t);
30280
30290
  return e || n || r;
30281
- }, W9e = (t) => {
30291
+ }, K9e = (t) => {
30282
30292
  const { manager: e } = g0(t);
30283
30293
  return e;
30284
- }, Y9e = () => {
30294
+ }, q9e = () => {
30285
30295
  const { transactionRoles: t } = JSON.parse(
30286
30296
  localStorage.getItem("user") ?? "{}"
30287
30297
  );
30288
30298
  return Object.entries(t).some(([, e]) => e.manager);
30289
- }, K9e = () => {
30299
+ }, Q9e = () => {
30290
30300
  const { transactionRoles: t } = JSON.parse(
30291
30301
  localStorage.getItem("user") ?? "{}"
30292
30302
  );
30293
30303
  return Object.entries(t).some(
30294
30304
  ([, e]) => e.monitoringReport
30295
30305
  );
30296
- }, q9e = (t) => {
30306
+ }, j9e = (t) => {
30297
30307
  const { staff: e } = g0(t);
30298
30308
  return e;
30299
- }, Q9e = (t) => {
30309
+ }, X9e = (t) => {
30300
30310
  const { monitoringReport: e } = g0(t);
30301
30311
  return e;
30302
- }, j9e = (t) => {
30312
+ }, Z9e = (t) => {
30303
30313
  const { approver: e } = g0(t);
30304
30314
  return e;
30305
- }, X9e = (t, e, n) => {
30315
+ }, J9e = (t, e, n) => {
30306
30316
  const { userType: r } = JSON.parse(
30307
30317
  localStorage.getItem("user") ?? "{}"
30308
30318
  ), { hasAccess: a } = t.meta;
@@ -31381,7 +31391,7 @@ const Hd = (t, e = {
31381
31391
  currency: "USD",
31382
31392
  symbol: "$",
31383
31393
  locale: "en-US"
31384
- }, Z9e = (t, e, n = !0) => {
31394
+ }, e6e = (t, e, n = !0) => {
31385
31395
  const { locale: r, currency: a } = Qb(e);
31386
31396
  return t == null ? "-" : Number(t).toLocaleString(r, {
31387
31397
  style: n ? "currency" : void 0,
@@ -31917,7 +31927,7 @@ function cd(t) {
31917
31927
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
31918
31928
  }, cd(t);
31919
31929
  }
31920
- var J9e = tne.extend("tooltip", {
31930
+ var t6e = tne.extend("tooltip", {
31921
31931
  beforeMount: function(e, n) {
31922
31932
  var r, a = this.getTarget(e);
31923
31933
  if (a.$_ptooltipModifiers = this.getModifiers(n), n.value) {
@@ -32115,7 +32125,7 @@ var J9e = tne.extend("tooltip", {
32115
32125
  }
32116
32126
  }
32117
32127
  });
32118
- const e6e = {
32128
+ const n6e = {
32119
32129
  mounted: async (t) => {
32120
32130
  const e = t.tagName.toLowerCase() === "input", n = t.tagName.toLowerCase() === "button";
32121
32131
  jn(() => {
@@ -33428,7 +33438,7 @@ function Wne(t, e) {
33428
33438
  errors: [...t.errors, ...e.errors]
33429
33439
  } : t;
33430
33440
  }
33431
- const t6e = () => {
33441
+ const r6e = () => {
33432
33442
  const { values: t, handleSubmit: e, setValues: n, setFieldValue: r } = sm();
33433
33443
  return {
33434
33444
  values: t,
@@ -33436,7 +33446,7 @@ const t6e = () => {
33436
33446
  setValues: n,
33437
33447
  setFieldValue: r
33438
33448
  };
33439
- }, n6e = (t, e, n) => ba(t, e, n), P1 = gt(), e8 = "messages";
33449
+ }, a6e = (t, e, n) => ba(t, e, n), P1 = gt(), e8 = "messages";
33440
33450
  let ls;
33441
33451
  const t8 = () => {
33442
33452
  try {
@@ -33645,7 +33655,7 @@ const J3 = X1({
33645
33655
  X1({
33646
33656
  prefix: "/dashboard/v2/dashboard"
33647
33657
  });
33648
- const r6e = jne(ere), tre = (t, e, n) => {
33658
+ const i6e = jne(ere), tre = (t, e, n) => {
33649
33659
  const r = t[e];
33650
33660
  return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((a, i) => {
33651
33661
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -38238,7 +38248,7 @@ const W2 = /* @__PURE__ */ It({
38238
38248
  }, jae = {
38239
38249
  key: 1,
38240
38250
  class: "flex gap-1 justify-end items-center"
38241
- }, Xae = { class: "text-general-800 font-normal text-xs" }, s6e = /* @__PURE__ */ It({
38251
+ }, Xae = { class: "text-general-800 font-normal text-xs" }, l6e = /* @__PURE__ */ It({
38242
38252
  __name: "ApproverInfo",
38243
38253
  props: {
38244
38254
  approvals: {},
@@ -38347,7 +38357,7 @@ const W2 = /* @__PURE__ */ It({
38347
38357
  ], 64);
38348
38358
  };
38349
38359
  }
38350
- }), Zae = { key: 0 }, o6e = /* @__PURE__ */ It({
38360
+ }), Zae = { key: 0 }, c6e = /* @__PURE__ */ It({
38351
38361
  __name: "BadgeGroup",
38352
38362
  props: {
38353
38363
  labels: {},
@@ -38407,7 +38417,7 @@ const W2 = /* @__PURE__ */ It({
38407
38417
  }, 8, ["visible", "header", "pt"])) : fe("", !0)
38408
38418
  ], 16)) : (O(), Y("span", Zae, " - "));
38409
38419
  }
38410
- }), Jae = ["href", "title", "onClick"], eie = ["textContent"], l6e = /* @__PURE__ */ It({
38420
+ }), Jae = ["href", "title", "onClick"], eie = ["textContent"], u6e = /* @__PURE__ */ It({
38411
38421
  __name: "Breadcrumb",
38412
38422
  props: {
38413
38423
  menus: {}
@@ -41206,7 +41216,7 @@ const e1e = ["href", "onClick"], t1e = ["href", "target"], x8 = /* @__PURE__ */
41206
41216
  } : void 0
41207
41217
  ]), 1040, ["model"]));
41208
41218
  }
41209
- }), c6e = /* @__PURE__ */ It({
41219
+ }), d6e = /* @__PURE__ */ It({
41210
41220
  __name: "ButtonBulkAction",
41211
41221
  props: {
41212
41222
  disabled: { type: Boolean },
@@ -41372,7 +41382,7 @@ const e1e = ["href", "onClick"], t1e = ["href", "target"], x8 = /* @__PURE__ */
41372
41382
  ]);
41373
41383
  };
41374
41384
  }
41375
- }), u6e = /* @__PURE__ */ It({
41385
+ }), f6e = /* @__PURE__ */ It({
41376
41386
  __name: "ButtonCopy",
41377
41387
  props: {
41378
41388
  text: {}
@@ -41399,7 +41409,7 @@ const e1e = ["href", "onClick"], t1e = ["href", "target"], x8 = /* @__PURE__ */
41399
41409
  }), n1e = {
41400
41410
  key: 0,
41401
41411
  class: "inherit text-xs"
41402
- }, d6e = /* @__PURE__ */ It({
41412
+ }, p6e = /* @__PURE__ */ It({
41403
41413
  __name: "ButtonDownload",
41404
41414
  props: {
41405
41415
  fileName: {},
@@ -41449,7 +41459,7 @@ const e1e = ["href", "onClick"], t1e = ["href", "target"], x8 = /* @__PURE__ */
41449
41459
  o.label ? (O(), Y("span", n1e, He(o.label), 1)) : fe("", !0)
41450
41460
  ], 16));
41451
41461
  }
41452
- }), f6e = /* @__PURE__ */ It({
41462
+ }), m6e = /* @__PURE__ */ It({
41453
41463
  __name: "ButtonFilter",
41454
41464
  props: {
41455
41465
  tableName: { default: "datatable" }
@@ -41621,7 +41631,7 @@ function u1e(t, e, n, r, a, i) {
41621
41631
  }, i.getPTOptions("root")), null, 16, c1e);
41622
41632
  }
41623
41633
  nu.render = u1e;
41624
- const p6e = /* @__PURE__ */ It({
41634
+ const h6e = /* @__PURE__ */ It({
41625
41635
  __name: "ButtonSearch",
41626
41636
  props: {
41627
41637
  tableName: { default: "datatable" }
@@ -41682,7 +41692,7 @@ const p6e = /* @__PURE__ */ It({
41682
41692
  ], 16));
41683
41693
  };
41684
41694
  }
41685
- }), d1e = ["data-p-severity"], m6e = /* @__PURE__ */ It({
41695
+ }), d1e = ["data-p-severity"], g6e = /* @__PURE__ */ It({
41686
41696
  __name: "ButtonSplit",
41687
41697
  props: {
41688
41698
  label: {},
@@ -41880,7 +41890,7 @@ const p6e = /* @__PURE__ */ It({
41880
41890
  _: 1
41881
41891
  }, 16));
41882
41892
  }
41883
- }), h6e = /* @__PURE__ */ It({
41893
+ }), _6e = /* @__PURE__ */ It({
41884
41894
  __name: "ButtonToggle",
41885
41895
  setup(t) {
41886
41896
  return (e, n) => (O(), te(O8));
@@ -41932,7 +41942,7 @@ function _1e(t, e, n, r, a, i) {
41932
41942
  }, t.ptm("footer")), [Ue(t.$slots, "footer")], 16)) : fe("", !0)], 16)], 16);
41933
41943
  }
41934
41944
  w8.render = _1e;
41935
- const g6e = /* @__PURE__ */ It({
41945
+ const v6e = /* @__PURE__ */ It({
41936
41946
  __name: "Card",
41937
41947
  setup(t) {
41938
41948
  return (e, n) => (O(), te(z(w8), null, Qa({ _: 2 }, [
@@ -95358,7 +95368,7 @@ const zde = /* @__PURE__ */ It({
95358
95368
  for (const [r, a] of e)
95359
95369
  n[r] = a;
95360
95370
  return n;
95361
- }, _6e = /* @__PURE__ */ SD(l2e, [["__scopeId", "data-v-6fa2ebda"]]), La = /* @__PURE__ */ It({
95371
+ }, b6e = /* @__PURE__ */ SD(l2e, [["__scopeId", "data-v-6fa2ebda"]]), La = /* @__PURE__ */ It({
95362
95372
  __name: "ValidatorMessage",
95363
95373
  props: {
95364
95374
  message: {}
@@ -117898,7 +117908,7 @@ const eEe = /* @__PURE__ */ am(Jbe), tEe = { class: "flex flex-col gap-y-4" }, n
117898
117908
  }), iEe = {
117899
117909
  key: 1,
117900
117910
  class: "flex gap-1 items-start"
117901
- }, sEe = ["id", "multiple"], b6e = /* @__PURE__ */ It({
117911
+ }, sEe = ["id", "multiple"], S6e = /* @__PURE__ */ It({
117902
117912
  __name: "ImageCompressor",
117903
117913
  props: /* @__PURE__ */ ka({
117904
117914
  initialName: {},
@@ -118348,7 +118358,7 @@ const eEe = /* @__PURE__ */ am(Jbe), tEe = { class: "flex flex-col gap-y-4" }, n
118348
118358
  }, 8, ["visible", "header"])
118349
118359
  ], 64));
118350
118360
  }
118351
- }), oEe = ["id", "disabled", "placeholder"], E6e = /* @__PURE__ */ It({
118361
+ }), oEe = ["id", "disabled", "placeholder"], y6e = /* @__PURE__ */ It({
118352
118362
  __name: "InputBadge",
118353
118363
  props: {
118354
118364
  type: { default: "text" },
@@ -118741,7 +118751,7 @@ const eEe = /* @__PURE__ */ am(Jbe), tEe = { class: "flex flex-col gap-y-4" }, n
118741
118751
  _: 3
118742
118752
  }, 8, ["info", "label", "mandatory", "tooltip-pos"]));
118743
118753
  }
118744
- }), S6e = /* @__PURE__ */ It({
118754
+ }), T6e = /* @__PURE__ */ It({
118745
118755
  __name: "InputCurrency",
118746
118756
  props: {
118747
118757
  modelValue: {},
@@ -118860,7 +118870,7 @@ const eEe = /* @__PURE__ */ am(Jbe), tEe = { class: "flex flex-col gap-y-4" }, n
118860
118870
  _: 1
118861
118871
  }, 16, ["modelValue", "input-id", "input-number-class", "locale"]));
118862
118872
  }
118863
- }), y6e = /* @__PURE__ */ It({
118873
+ }), C6e = /* @__PURE__ */ It({
118864
118874
  __name: "InputEmail",
118865
118875
  props: {
118866
118876
  allowedCharacters: {},
@@ -119394,7 +119404,7 @@ function EEe(t, e, n, r, a, i) {
119394
119404
  }, 8, ["appendTo"])], 16);
119395
119405
  }
119396
119406
  _L.render = EEe;
119397
- const SEe = ["onClick"], yEe = ["onClick"], T6e = /* @__PURE__ */ It({
119407
+ const SEe = ["onClick"], yEe = ["onClick"], A6e = /* @__PURE__ */ It({
119398
119408
  __name: "InputPassword",
119399
119409
  props: {
119400
119410
  modelValue: {},
@@ -125408,7 +125418,7 @@ function CEe() {
125408
125418
  const AEe = {
125409
125419
  class: "grid grid-cols-[max-content,auto] w-full",
125410
125420
  "data-wv-section": "phone-number-input-wrapper"
125411
- }, xEe = { class: "flex gap-2" }, OEe = ["src"], C6e = /* @__PURE__ */ It({
125421
+ }, xEe = { class: "flex gap-2" }, OEe = ["src"], x6e = /* @__PURE__ */ It({
125412
125422
  __name: "InputPhoneNumber",
125413
125423
  props: {
125414
125424
  modelValue: {},
@@ -125676,7 +125686,7 @@ const AEe = {
125676
125686
  _: 1
125677
125687
  }, 8, ["label", "show-optional-text"]));
125678
125688
  }
125679
- }), A6e = /* @__PURE__ */ It({
125689
+ }), O6e = /* @__PURE__ */ It({
125680
125690
  __name: "LiteDropdown",
125681
125691
  props: /* @__PURE__ */ ka({
125682
125692
  modelValue: { type: [String, Number, Boolean, Object] },
@@ -125770,7 +125780,7 @@ const AEe = {
125770
125780
  _: 3
125771
125781
  }, 8, ["mandatory"]));
125772
125782
  }
125773
- }), x6e = /* @__PURE__ */ It({
125783
+ }), w6e = /* @__PURE__ */ It({
125774
125784
  __name: "Loading",
125775
125785
  setup(t) {
125776
125786
  const { loading: e, message: n } = zS();
@@ -127591,7 +127601,7 @@ const TL = /* @__PURE__ */ It({
127591
127601
  _: 3
127592
127602
  }, 8, ["info", "label", "mandatory", "show-optional-text"]));
127593
127603
  }
127594
- }), sSe = ["aria-valuenow"], O6e = /* @__PURE__ */ It({
127604
+ }), sSe = ["aria-valuenow"], R6e = /* @__PURE__ */ It({
127595
127605
  __name: "ProgressBar",
127596
127606
  props: {
127597
127607
  value: {},
@@ -128880,7 +128890,7 @@ const bSe = ["id"], ESe = ["id", "aria-invalid", "disabled", "placeholder", "val
128880
128890
  "onUpdate:modelValue": _[1] || (_[1] = (v) => p("date", v))
128881
128891
  }), null, 16, ["error-message", "invalid", "model-value", "selection-mode"]));
128882
128892
  }
128883
- }), w6e = /* @__PURE__ */ It({
128893
+ }), I6e = /* @__PURE__ */ It({
128884
128894
  __name: "QuickFilter",
128885
128895
  props: {
128886
128896
  fields: {},
@@ -129274,7 +129284,7 @@ function zSe(t, e, n, r, a, i) {
129274
129284
  }, t.ptm("inkbar")), null, 16)], 16, GSe)], 16);
129275
129285
  }
129276
129286
  RL.render = zSe;
129277
- const HSe = ["href", "onClick"], WSe = ["href", "target"], R6e = /* @__PURE__ */ It({
129287
+ const HSe = ["href", "onClick"], WSe = ["href", "target"], N6e = /* @__PURE__ */ It({
129278
129288
  __name: "TabMenu",
129279
129289
  props: /* @__PURE__ */ ka({
129280
129290
  menu: {},
@@ -129452,7 +129462,7 @@ function jSe(t, e, n, r, a, i) {
129452
129462
  }, t.ptmi("root", i.ptmParams)), null, 16, QSe);
129453
129463
  }
129454
129464
  IL.render = jSe;
129455
- const I6e = /* @__PURE__ */ It({
129465
+ const D6e = /* @__PURE__ */ It({
129456
129466
  __name: "Textarea",
129457
129467
  props: {
129458
129468
  modelValue: {},
@@ -129763,7 +129773,7 @@ const tye = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%2
129763
129773
  }, xye = { class: "font-semibold whitespace-nowrap" }, Oye = { class: "text-xs" }, wye = {
129764
129774
  key: 1,
129765
129775
  class: "grid grid-rows-[max-content,auto] gap-1"
129766
- }, Rye = { class: "font-semibold whitespace-nowrap" }, N6e = /* @__PURE__ */ It({
129776
+ }, Rye = { class: "font-semibold whitespace-nowrap" }, k6e = /* @__PURE__ */ It({
129767
129777
  __name: "Timeline",
129768
129778
  props: {
129769
129779
  value: {},
@@ -129854,7 +129864,7 @@ const tye = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%2
129854
129864
  _: 3
129855
129865
  }, 8, ["class", "value"]));
129856
129866
  }
129857
- }), D6e = /* @__PURE__ */ It({
129867
+ }), M6e = /* @__PURE__ */ It({
129858
129868
  __name: "TooltipSpan",
129859
129869
  props: {
129860
129870
  fullText: { default: "" },
@@ -129999,7 +130009,7 @@ DL.render = Uye;
129999
130009
  const Gye = { key: 0 }, Vye = { key: 0 }, $ye = {
130000
130010
  key: 1,
130001
130011
  class: "flex gap-2 items-center"
130002
- }, zye = { class: "flex flex-wrap gap-3 items-center" }, k6e = /* @__PURE__ */ It({
130012
+ }, zye = { class: "flex flex-wrap gap-3 items-center" }, L6e = /* @__PURE__ */ It({
130003
130013
  __name: "UserGroup",
130004
130014
  props: {
130005
130015
  users: {},
@@ -130116,7 +130126,7 @@ const Gye = { key: 0 }, Vye = { key: 0 }, $ye = {
130116
130126
  ], 8, Hye);
130117
130127
  };
130118
130128
  }
130119
- }), M6e = /* @__PURE__ */ It({
130129
+ }), P6e = /* @__PURE__ */ It({
130120
130130
  __name: "LanguageDropdown",
130121
130131
  props: {
130122
130132
  modelValue: { type: [String, Number, Boolean, Object] },
@@ -130197,7 +130207,7 @@ const Gye = { key: 0 }, Vye = { key: 0 }, $ye = {
130197
130207
  _: 1
130198
130208
  }, 16, ["modelValue", "options"]));
130199
130209
  }
130200
- }), L6e = /* @__PURE__ */ It({
130210
+ }), F6e = /* @__PURE__ */ It({
130201
130211
  __name: "ButtonImportExcel",
130202
130212
  props: {
130203
130213
  tableName: {},
@@ -130362,7 +130372,7 @@ const Zye = { class: "flex items-center gap-3 w-full" }, Jye = {
130362
130372
  key: 0,
130363
130373
  class: "flex flex-col gap-3 overflow-auto max-h-[71px]",
130364
130374
  "data-wv-section": "list"
130365
- }, P6e = /* @__PURE__ */ It({
130375
+ }, B6e = /* @__PURE__ */ It({
130366
130376
  __name: "InlineMessage",
130367
130377
  props: {
130368
130378
  severity: { default: "secondary" },
@@ -132057,7 +132067,7 @@ const Zye = { class: "flex items-center gap-3 w-full" }, Jye = {
132057
132067
  [Ya, p.value]
132058
132068
  ]);
132059
132069
  }
132060
- }), F6e = /* @__PURE__ */ It({
132070
+ }), U6e = /* @__PURE__ */ It({
132061
132071
  __name: "FilterContainer",
132062
132072
  setup(t) {
132063
132073
  return (e, n) => (O(), te(S9e, N({
@@ -132078,7 +132088,7 @@ const Zye = { class: "flex items-center gap-3 w-full" }, Jye = {
132078
132088
  _: 1
132079
132089
  }, 16, ["fields"]));
132080
132090
  }
132081
- }), y9e = { class: "w-full" }, B6e = /* @__PURE__ */ It({
132091
+ }), y9e = { class: "w-full" }, G6e = /* @__PURE__ */ It({
132082
132092
  __name: "InputSearch",
132083
132093
  emits: ["search"],
132084
132094
  setup(t, { emit: e }) {
@@ -132327,30 +132337,30 @@ const Zye = { class: "flex items-center gap-3 w-full" }, Jye = {
132327
132337
  locale: O9e,
132328
132338
  defaultProps: x9e,
132329
132339
  useToastConfig: BN
132330
- }, U6e = Ore(w9e);
132340
+ }, V6e = Ore(w9e);
132331
132341
  export {
132332
132342
  W0 as Animation,
132333
- s6e as ApproverInfo,
132343
+ l6e as ApproverInfo,
132334
132344
  Pl as Badge,
132335
- o6e as BadgeGroup,
132345
+ c6e as BadgeGroup,
132336
132346
  u9e as BaseTree,
132337
- l6e as Breadcrumb,
132347
+ u6e as Breadcrumb,
132338
132348
  an as Button,
132339
- c6e as ButtonBulkAction,
132340
- u6e as ButtonCopy,
132341
- d6e as ButtonDownload,
132342
- f6e as ButtonFilter,
132343
- L6e as ButtonImportExcel,
132349
+ d6e as ButtonBulkAction,
132350
+ f6e as ButtonCopy,
132351
+ p6e as ButtonDownload,
132352
+ m6e as ButtonFilter,
132353
+ F6e as ButtonImportExcel,
132344
132354
  i1e as ButtonRadio,
132345
- p6e as ButtonSearch,
132355
+ h6e as ButtonSearch,
132346
132356
  b9e as ButtonSelectTree,
132347
- m6e as ButtonSplit,
132348
- h6e as ButtonToggle,
132357
+ g6e as ButtonSplit,
132358
+ _6e as ButtonToggle,
132349
132359
  wL as Calendar,
132350
- g6e as Card,
132360
+ v6e as Card,
132351
132361
  xc as Checkbox,
132352
132362
  V8 as CodeSnippet,
132353
- _6e as DataTable,
132363
+ b6e as DataTable,
132354
132364
  W2 as Dialog,
132355
132365
  ED as DialogConfirm,
132356
132366
  c2e as DialogForm,
@@ -132358,46 +132368,46 @@ export {
132358
132368
  ay as Dropdown,
132359
132369
  B4e as Editor,
132360
132370
  _be as FileUpload,
132361
- F6e as FilterContainer,
132362
- e6e as Focus,
132371
+ U6e as FilterContainer,
132372
+ n6e as Focus,
132363
132373
  yD as Form,
132364
132374
  Pt as Icon,
132365
132375
  $p as Image,
132366
- b6e as ImageCompressor,
132367
- P6e as InlineMessage,
132368
- E6e as InputBadge,
132369
- S6e as InputCurrency,
132370
- y6e as InputEmail,
132376
+ S6e as ImageCompressor,
132377
+ B6e as InlineMessage,
132378
+ y6e as InputBadge,
132379
+ T6e as InputCurrency,
132380
+ C6e as InputEmail,
132371
132381
  lEe as InputNumber,
132372
- T6e as InputPassword,
132373
- C6e as InputPhoneNumber,
132382
+ A6e as InputPassword,
132383
+ x6e as InputPhoneNumber,
132374
132384
  bL as InputRangeNumber,
132375
- B6e as InputSearch,
132385
+ G6e as InputSearch,
132376
132386
  X2 as InputText,
132377
132387
  Yw as InputURL,
132378
132388
  aEe as InvisibleField,
132379
- M6e as LanguageDropdown,
132380
- A6e as LiteDropdown,
132381
- x6e as Loading,
132389
+ P6e as LanguageDropdown,
132390
+ O6e as LiteDropdown,
132391
+ w6e as Loading,
132382
132392
  lm as Menu,
132383
132393
  TL as MultiSelect,
132384
132394
  Yy as OverlayPanel,
132385
- O6e as ProgressBar,
132386
- w6e as QuickFilter,
132387
- R6e as TabMenu,
132388
- I6e as Textarea,
132389
- N6e as Timeline,
132395
+ R6e as ProgressBar,
132396
+ I6e as QuickFilter,
132397
+ N6e as TabMenu,
132398
+ D6e as Textarea,
132399
+ k6e as Timeline,
132390
132400
  Bde as Toast,
132391
132401
  M9e as ToastService,
132392
132402
  O8 as ToggleSwitch,
132393
- J9e as Tooltip,
132394
- D6e as TooltipSpan,
132403
+ t6e as Tooltip,
132404
+ M6e as TooltipSpan,
132395
132405
  d9e as Tree,
132396
- k6e as UserGroup,
132406
+ L6e as UserGroup,
132397
132407
  Lc as UserName,
132398
- U6e as WangsVue,
132408
+ V6e as WangsVue,
132399
132409
  Cr as ZIndexUtils,
132400
- X9e as checkRouteAccess,
132410
+ J9e as checkRouteAccess,
132401
132411
  jne as createI18nWithExtension,
132402
132412
  Xt as eventBus,
132403
132413
  NN as exportToExcel,
@@ -132405,7 +132415,7 @@ export {
132405
132415
  FN as filterNodeKeys,
132406
132416
  DN as filterOptions,
132407
132417
  UN as flattenTreeNodeChildren,
132408
- Z9e as formatCurrency,
132418
+ e6e as formatCurrency,
132409
132419
  V9e as formatDate,
132410
132420
  P9e as formatDateReadable,
132411
132421
  B9e as formatFile,
@@ -132418,22 +132428,24 @@ export {
132418
132428
  Aa as getNestedPropertyValue,
132419
132429
  Ite as getSystemRole,
132420
132430
  g0 as getTransactionRole,
132421
- Y9e as hasAnyManagerRole,
132422
- K9e as hasAnyMonitoringReportRole,
132423
- j9e as hasApprovalRole,
132424
- W9e as hasManagerRole,
132425
- Q9e as hasMonitoringReportRole,
132426
- q9e as hasStaffRole,
132427
- z9e as hasSystemRole,
132428
- H9e as hasTransactionRole,
132429
- r6e as i18n,
132431
+ q9e as hasAnyManagerRole,
132432
+ Q9e as hasAnyMonitoringReportRole,
132433
+ Z9e as hasApprovalRole,
132434
+ K9e as hasManagerRole,
132435
+ X9e as hasMonitoringReportRole,
132436
+ j9e as hasStaffRole,
132437
+ W9e as hasSystemRole,
132438
+ Y9e as hasTransactionRole,
132439
+ i6e as i18n,
132430
132440
  Kf as isEmptyObject,
132441
+ z9e as listenSidebarChanges,
132431
132442
  Zs as mergePropsWithDefaults,
132432
132443
  _$ as mitt,
132433
132444
  G9e as parseNodeKeys,
132434
132445
  xu as setNestedPropertyValue,
132435
- n6e as useField,
132436
- t6e as useForm,
132446
+ H9e as unListenSidebarChanges,
132447
+ a6e as useField,
132448
+ r6e as useForm,
132437
132449
  qne as useI18n,
132438
132450
  zS as useLoadingStore,
132439
132451
  $9e as useToast,