@jari-ace/element-plus-component 0.5.1 → 0.5.4

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/lib/index.js CHANGED
@@ -5,7 +5,7 @@ var Yr = (e) => {
5
5
  var bY = (e, l, t) => l in e ? NY(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t;
6
6
  var v = (e, l, t) => bY(e, typeof l != "symbol" ? l + "" : l, t), hu = (e, l, t) => l.has(e) || Yr("Cannot " + t);
7
7
  var H = (e, l, t) => (hu(e, l, "read from private field"), t ? t.call(e) : l.get(e)), Ul = (e, l, t) => l.has(e) ? Yr("Cannot add the same private member more than once") : l instanceof WeakSet ? l.add(e) : l.set(e, t), ul = (e, l, t, d) => (hu(e, l, "write to private field"), d ? d.call(e, t) : l.set(e, t), t), Vl = (e, l, t) => (hu(e, l, "access private method"), t);
8
- import { ref as q, defineComponent as Nl, shallowRef as q0, toRef as rY, computed as xl, createElementBlock as sl, watch as Fl, onBeforeUnmount as wS, openBlock as K, Fragment as ot, renderList as wl, renderSlot as dt, createElementVNode as al, normalizeStyle as tZ, createCommentVNode as Gl, watchEffect as pY, toValue as Br, mergeModels as Ol, useModel as St, createBlock as nl, unref as z, withCtx as P, createVNode as $, onMounted as Yh, onUnmounted as oi, nextTick as Dd, createTextVNode as Ml, toDisplayString as Yl, resolveDynamicComponent as VR, inject as ol, normalizeClass as $0, reactive as PQ, provide as Rs, mergeProps as Pl, createSlots as Ce, withDirectives as lt, onBeforeMount as Bh, vShow as Qd, resolveComponent as ws, shallowReactive as Xb, withAsyncContext as MY, h as QZ, withKeys as Aa, withModifiers as hs, resolveDirective as Yb, vModelText as SY } from "vue";
8
+ import { ref as q, defineComponent as Nl, shallowRef as q0, toRef as rY, computed as Dl, createElementBlock as sl, watch as Fl, onBeforeUnmount as wS, openBlock as K, Fragment as ot, renderList as El, renderSlot as dt, createElementVNode as al, normalizeStyle as tZ, createCommentVNode as Gl, watchEffect as pY, toValue as Br, mergeModels as Ol, useModel as St, createBlock as nl, unref as z, withCtx as P, createVNode as $, onMounted as Yh, onUnmounted as oi, nextTick as Dd, createTextVNode as Ml, toDisplayString as Yl, resolveDynamicComponent as VR, inject as ol, normalizeClass as $0, reactive as PQ, provide as Rs, mergeProps as Pl, createSlots as Ce, withDirectives as lt, onBeforeMount as Bh, vShow as Qd, resolveComponent as ws, shallowReactive as Xb, withAsyncContext as MY, h as QZ, withKeys as Aa, withModifiers as hs, resolveDirective as Yb, vModelText as SY } from "vue";
9
9
  import { createAxiosWithoutCache as Bl, useAppServiceApi as JY, useLoading as Cd, useFilesApi as ES, useLoginUser as eU, useDepartmentApi as CS, FromDeptSelect as xS, useUserApi as Bb, useRealmApi as TY, useUserQueryBuilder as gS, useAppApi as ai, useUserGroupApi as QR, useCustomGroupApi as jS, useRoleApi as OS, useAppMessageApi as vS, useRoleCategoryApi as KS, useChannelApi as GY, useEntityApi as kb, useEnumApi as yY, useTaskQueryApi as XY, useFlowDefinitionApi as YY, useConstraintApi as BY, useFileConfigurationApi as kY, useStringIdTemplateApi as zY } from "@jari-ace/app-bolts";
10
10
  import { Upload as LY, Download as IY, ArrowDown as zb, WarningFilled as DY, Document as kr, Headset as wY, VideoPlay as EY, Picture as CY, QuestionFilled as fS, Minus as kh, Plus as Wi, Star as xY, StarFilled as HS, Close as gY, Hide as jY, View as OY, Check as Lb, Notebook as vY, Delete as PS, Finished as KY, Setting as fY, Search as zr, Edit as HY, InfoFilled as PY, ArrowUp as AY, ArrowLeft as _Y } from "@element-plus/icons-vue";
11
11
  import { ElDialog as KV, ElButton as at, ElDropdown as Ib, ElIcon as Mt, ElDropdownMenu as qY, ElDropdownItem as $Y, ElPopover as Db, ElTag as eZ, ElTooltip as ud, ElMessageBox as AS, ElForm as wb, ElFormItem as fV, ElText as ii, ElInput as Nn, ElCheckbox as lB, ElInputNumber as HV, ElSelect as Vi, ElDatePicker as uR, ElSwitch as _S, ElSpace as Eb, ElTreeSelect as Cb, ElAvatar as tB, ElImage as eB, vLoading as fs, ElTree as AQ, ElOption as dZ, ElTabs as dB, ElTabPane as ou, ElScrollbar as Es, ElTableV2 as nB, ElMessage as si, ElEmpty as PV, ElTimePicker as aB, ElAutocomplete as iB, ElRadioGroup as sB, ElDrawer as qS, ElCheckboxGroup as cB, ElResult as UB, ElTimeline as ZB, ElTimelineItem as FB, ElCard as hB } from "element-plus";
@@ -26,10 +26,10 @@ async function _Q(e) {
26
26
  async function oB(e) {
27
27
  return await _Q(e), ea.value.system;
28
28
  }
29
- async function Gv(e) {
29
+ async function Xv(e) {
30
30
  return await _Q(e), ea.value.user;
31
31
  }
32
- async function yv(e) {
32
+ async function Yv(e) {
33
33
  await _Q(e);
34
34
  const l = /* @__PURE__ */ new Map();
35
35
  for (let t = 0; t < ea.value.user.length; t++) {
@@ -13890,7 +13890,7 @@ gl.d(Jl, {
13890
13890
  ),
13891
13891
  AnnotationEditorParamsType: () => (
13892
13892
  /* reexport */
13893
- Dl
13893
+ wl
13894
13894
  ),
13895
13895
  AnnotationEditorType: () => (
13896
13896
  /* reexport */
@@ -14094,7 +14094,7 @@ const ue = typeof process == "object" && process + "" == "[object process]" && !
14094
14094
  HIGHLIGHT: 9,
14095
14095
  STAMP: 13,
14096
14096
  INK: 15
14097
- }, Dl = {
14097
+ }, wl = {
14098
14098
  RESIZE: 1,
14099
14099
  CREATE: 2,
14100
14100
  FREETEXT_SIZE: 11,
@@ -15643,13 +15643,13 @@ let Vh = (nc = class {
15643
15643
  var t;
15644
15644
  if (U(this, Od)) {
15645
15645
  switch (e) {
15646
- case Dl.CREATE:
15646
+ case wl.CREATE:
15647
15647
  this.currentLayer.addNewEditor();
15648
15648
  return;
15649
- case Dl.HIGHLIGHT_DEFAULT_COLOR:
15649
+ case wl.HIGHLIGHT_DEFAULT_COLOR:
15650
15650
  (t = U(this, Zo)) == null || t.updateColor(l);
15651
15651
  break;
15652
- case Dl.HIGHLIGHT_SHOW_ALL:
15652
+ case wl.HIGHLIGHT_SHOW_ALL:
15653
15653
  this._eventBus.dispatch("reporttelemetry", {
15654
15654
  source: this,
15655
15655
  details: {
@@ -15672,7 +15672,7 @@ let Vh = (nc = class {
15672
15672
  var d;
15673
15673
  for (const n of U(this, gt).values())
15674
15674
  n.editorType === e && n.show(l);
15675
- (((d = U(this, kZ)) == null ? void 0 : d.get(Dl.HIGHLIGHT_SHOW_ALL)) ?? !0) !== l && r(this, ml, Sn).call(this, [[Dl.HIGHLIGHT_SHOW_ALL, l]]);
15675
+ (((d = U(this, kZ)) == null ? void 0 : d.get(wl.HIGHLIGHT_SHOW_ALL)) ?? !0) !== l && r(this, ml, Sn).call(this, [[wl.HIGHLIGHT_SHOW_ALL, l]]);
15676
15676
  }
15677
15677
  enableWaiting(e = !1) {
15678
15678
  if (U(this, Uo) !== e) {
@@ -16121,7 +16121,7 @@ let Vh = (nc = class {
16121
16121
  Object.entries(e).some(([l, t]) => U(this, ho)[l] !== t) && (this._eventBus.dispatch("annotationeditorstateschanged", {
16122
16122
  source: this,
16123
16123
  details: Object.assign(U(this, ho), e)
16124
- }), U(this, Ht) === Xl.HIGHLIGHT && e.hasSelectedEditor === !1 && r(this, ml, Sn).call(this, [[Dl.HIGHLIGHT_FREE, !0]]));
16124
+ }), U(this, Ht) === Xl.HIGHLIGHT && e.hasSelectedEditor === !1 && r(this, ml, Sn).call(this, [[wl.HIGHLIGHT_FREE, !0]]));
16125
16125
  }, Sn = function(e) {
16126
16126
  this._eventBus.dispatch("annotationeditorparamschanged", {
16127
16127
  source: this,
@@ -24532,29 +24532,29 @@ const Bn = class _t extends pt {
24532
24532
  }
24533
24533
  static updateDefaultParams(l, t) {
24534
24534
  switch (l) {
24535
- case Dl.FREETEXT_SIZE:
24535
+ case wl.FREETEXT_SIZE:
24536
24536
  _t._defaultFontSize = t;
24537
24537
  break;
24538
- case Dl.FREETEXT_COLOR:
24538
+ case wl.FREETEXT_COLOR:
24539
24539
  _t._defaultColor = t;
24540
24540
  break;
24541
24541
  }
24542
24542
  }
24543
24543
  updateParams(l, t) {
24544
24544
  switch (l) {
24545
- case Dl.FREETEXT_SIZE:
24545
+ case wl.FREETEXT_SIZE:
24546
24546
  r(this, Ke, iy).call(this, t);
24547
24547
  break;
24548
- case Dl.FREETEXT_COLOR:
24548
+ case wl.FREETEXT_COLOR:
24549
24549
  r(this, Ke, sy).call(this, t);
24550
24550
  break;
24551
24551
  }
24552
24552
  }
24553
24553
  static get defaultPropertiesToUpdate() {
24554
- return [[Dl.FREETEXT_SIZE, _t._defaultFontSize], [Dl.FREETEXT_COLOR, _t._defaultColor || pt._defaultLineColor]];
24554
+ return [[wl.FREETEXT_SIZE, _t._defaultFontSize], [wl.FREETEXT_COLOR, _t._defaultColor || pt._defaultLineColor]];
24555
24555
  }
24556
24556
  get propertiesToUpdate() {
24557
- return [[Dl.FREETEXT_SIZE, U(this, hd)], [Dl.FREETEXT_COLOR, U(this, sn)]];
24557
+ return [[wl.FREETEXT_SIZE, U(this, hd)], [wl.FREETEXT_COLOR, U(this, sn)]];
24558
24558
  }
24559
24559
  _translateEmpty(l, t) {
24560
24560
  this._uiManager.translateSelectedEditors(l, t, !0);
@@ -24853,7 +24853,7 @@ sn = /* @__PURE__ */ new WeakMap(), Fd = /* @__PURE__ */ new WeakMap(), vW = /*
24853
24853
  undo: l.bind(this, t),
24854
24854
  post: this._uiManager.updateUI.bind(this._uiManager, this),
24855
24855
  mustExec: !0,
24856
- type: Dl.FREETEXT_SIZE,
24856
+ type: wl.FREETEXT_SIZE,
24857
24857
  overwriteIfSameType: !0,
24858
24858
  keepUndo: !0
24859
24859
  });
@@ -24866,7 +24866,7 @@ sn = /* @__PURE__ */ new WeakMap(), Fd = /* @__PURE__ */ new WeakMap(), vW = /*
24866
24866
  undo: l.bind(this, t),
24867
24867
  post: this._uiManager.updateUI.bind(this._uiManager, this),
24868
24868
  mustExec: !0,
24869
- type: Dl.FREETEXT_COLOR,
24869
+ type: wl.FREETEXT_COLOR,
24870
24870
  overwriteIfSameType: !0,
24871
24871
  keepUndo: !0
24872
24872
  });
@@ -25321,7 +25321,7 @@ let py = (ge = class {
25321
25321
  }) {
25322
25322
  p(this, ut), p(this, fd, null), p(this, Qc, null), p(this, HZ), p(this, jt, null), p(this, vo, !1), p(this, PZ, !1), p(this, Ko, null), p(this, fo), p(this, ki, null), p(this, Hd, null), p(this, AZ);
25323
25323
  var t;
25324
- e ? (m(this, PZ, !1), m(this, AZ, Dl.HIGHLIGHT_COLOR), m(this, Ko, e)) : (m(this, PZ, !0), m(this, AZ, Dl.HIGHLIGHT_DEFAULT_COLOR)), m(this, Hd, (e == null ? void 0 : e._uiManager) || l), m(this, fo, U(this, Hd)._eventBus), m(this, HZ, (e == null ? void 0 : e.color) || ((t = U(this, Hd)) == null ? void 0 : t.highlightColors.values().next().value) || "#FFFF98"), U(ge, _Z) || m(ge, _Z, Object.freeze({
25324
+ e ? (m(this, PZ, !1), m(this, AZ, wl.HIGHLIGHT_COLOR), m(this, Ko, e)) : (m(this, PZ, !0), m(this, AZ, wl.HIGHLIGHT_DEFAULT_COLOR)), m(this, Hd, (e == null ? void 0 : e._uiManager) || l), m(this, fo, U(this, Hd)._eventBus), m(this, HZ, (e == null ? void 0 : e.color) || ((t = U(this, Hd)) == null ? void 0 : t.highlightColors.values().next().value) || "#FFFF98"), U(ge, _Z) || m(ge, _Z, Object.freeze({
25325
25325
  blue: "pdfjs-editor-colorpicker-blue",
25326
25326
  green: "pdfjs-editor-colorpicker-green",
25327
25327
  pink: "pdfjs-editor-colorpicker-pink",
@@ -25509,10 +25509,10 @@ const ye = class Ze extends pt {
25509
25509
  }
25510
25510
  static updateDefaultParams(l, t) {
25511
25511
  switch (l) {
25512
- case Dl.HIGHLIGHT_DEFAULT_COLOR:
25512
+ case wl.HIGHLIGHT_DEFAULT_COLOR:
25513
25513
  Ze._defaultColor = t;
25514
25514
  break;
25515
- case Dl.HIGHLIGHT_THICKNESS:
25515
+ case wl.HIGHLIGHT_THICKNESS:
25516
25516
  Ze._defaultThickness = t;
25517
25517
  break;
25518
25518
  }
@@ -25524,19 +25524,19 @@ const ye = class Ze extends pt {
25524
25524
  }
25525
25525
  updateParams(l, t) {
25526
25526
  switch (l) {
25527
- case Dl.HIGHLIGHT_COLOR:
25527
+ case wl.HIGHLIGHT_COLOR:
25528
25528
  r(this, _l, My).call(this, t);
25529
25529
  break;
25530
- case Dl.HIGHLIGHT_THICKNESS:
25530
+ case wl.HIGHLIGHT_THICKNESS:
25531
25531
  r(this, _l, Sy).call(this, t);
25532
25532
  break;
25533
25533
  }
25534
25534
  }
25535
25535
  static get defaultPropertiesToUpdate() {
25536
- return [[Dl.HIGHLIGHT_DEFAULT_COLOR, Ze._defaultColor], [Dl.HIGHLIGHT_THICKNESS, Ze._defaultThickness]];
25536
+ return [[wl.HIGHLIGHT_DEFAULT_COLOR, Ze._defaultColor], [wl.HIGHLIGHT_THICKNESS, Ze._defaultThickness]];
25537
25537
  }
25538
25538
  get propertiesToUpdate() {
25539
- return [[Dl.HIGHLIGHT_COLOR, this.color || Ze._defaultColor], [Dl.HIGHLIGHT_THICKNESS, U(this, zd) || Ze._defaultThickness], [Dl.HIGHLIGHT_FREE, U(this, We)]];
25539
+ return [[wl.HIGHLIGHT_COLOR, this.color || Ze._defaultColor], [wl.HIGHLIGHT_THICKNESS, U(this, zd) || Ze._defaultThickness], [wl.HIGHLIGHT_FREE, U(this, We)]];
25540
25540
  }
25541
25541
  async addEditToolbar() {
25542
25542
  const l = await super.addEditToolbar();
@@ -25940,7 +25940,7 @@ T0 = /* @__PURE__ */ new WeakMap(), RQ = /* @__PURE__ */ new WeakMap(), ei = /*
25940
25940
  undo: l.bind(this, t, d),
25941
25941
  post: this._uiManager.updateUI.bind(this._uiManager, this),
25942
25942
  mustExec: !0,
25943
- type: Dl.HIGHLIGHT_COLOR,
25943
+ type: wl.HIGHLIGHT_COLOR,
25944
25944
  overwriteIfSameType: !0,
25945
25945
  keepUndo: !0
25946
25946
  }), this._reportTelemetry({
@@ -25956,7 +25956,7 @@ T0 = /* @__PURE__ */ new WeakMap(), RQ = /* @__PURE__ */ new WeakMap(), ei = /*
25956
25956
  undo: t.bind(this, l),
25957
25957
  post: this._uiManager.updateUI.bind(this._uiManager, this),
25958
25958
  mustExec: !0,
25959
- type: Dl.INK_THICKNESS,
25959
+ type: wl.INK_THICKNESS,
25960
25960
  overwriteIfSameType: !0,
25961
25961
  keepUndo: !0
25962
25962
  }), this._reportTelemetry({
@@ -26328,7 +26328,7 @@ const nd = class pl extends pt {
26328
26328
  t.drawLayer.updateProperties(n, d.removeLastElement());
26329
26329
  },
26330
26330
  mustExec: !1,
26331
- type: Dl.DRAW_STEP
26331
+ type: wl.DRAW_STEP
26332
26332
  });
26333
26333
  return;
26334
26334
  }
@@ -26339,7 +26339,7 @@ const nd = class pl extends pt {
26339
26339
  const t = this._currentParent;
26340
26340
  if (!t)
26341
26341
  return null;
26342
- if (t.toggleDrawing(!0), t.cleanUndoStack(Dl.DRAW_STEP), !U(pl, te).isEmpty()) {
26342
+ if (t.toggleDrawing(!0), t.cleanUndoStack(wl.DRAW_STEP), !U(pl, te).isEmpty()) {
26343
26343
  const {
26344
26344
  pageDimensions: [d, n],
26345
26345
  scale: a
@@ -26964,7 +26964,7 @@ const nV = class Ey extends SE {
26964
26964
  return !0;
26965
26965
  }
26966
26966
  static get typesMap() {
26967
- return kl(this, "typesMap", /* @__PURE__ */ new Map([[Dl.INK_THICKNESS, "stroke-width"], [Dl.INK_COLOR, "stroke"], [Dl.INK_OPACITY, "stroke-opacity"]]));
26967
+ return kl(this, "typesMap", /* @__PURE__ */ new Map([[wl.INK_THICKNESS, "stroke-width"], [wl.INK_COLOR, "stroke"], [wl.INK_OPACITY, "stroke-opacity"]]));
26968
26968
  }
26969
26969
  static createDrawerInstance(l, t, d, n, a) {
26970
26970
  return new JE(l, t, d, n, a, this._defaultDrawingOptions["stroke-width"]);
@@ -28265,7 +28265,7 @@ I0.d(Qt, {
28265
28265
  ),
28266
28266
  ScrollMode: () => (
28267
28267
  /* reexport */
28268
- Cl
28268
+ xl
28269
28269
  ),
28270
28270
  SimpleLinkService: () => (
28271
28271
  /* reexport */
@@ -28306,7 +28306,7 @@ const gE = "auto", gy = 1, LM = 1.1, jE = 0.1, OE = 10, Im = 0, vE = 1.25, jy =
28306
28306
  DISABLE: 0,
28307
28307
  ENABLE: 1,
28308
28308
  ENABLE_PERMISSIONS: 2
28309
- }, Cl = {
28309
+ }, xl = {
28310
28310
  UNKNOWN: -1,
28311
28311
  VERTICAL: 0,
28312
28312
  HORIZONTAL: 1,
@@ -28460,7 +28460,7 @@ function Ky(e) {
28460
28460
  return Number.isInteger(e) && e % 90 === 0;
28461
28461
  }
28462
28462
  function PE(e) {
28463
- return Number.isInteger(e) && Object.values(Cl).includes(e) && e !== Cl.UNKNOWN;
28463
+ return Number.isInteger(e) && Object.values(xl).includes(e) && e !== xl.UNKNOWN;
28464
28464
  }
28465
28465
  function AE(e) {
28466
28466
  return Number.isInteger(e) && Object.values(Qe).includes(e) && e !== Qe.UNKNOWN;
@@ -28510,20 +28510,20 @@ class $E {
28510
28510
  }
28511
28511
  $i = /* @__PURE__ */ new WeakMap(), Kc = /* @__PURE__ */ new WeakMap(), ls = /* @__PURE__ */ new WeakMap(), $F = /* @__PURE__ */ new WeakMap(), fc = /* @__PURE__ */ new WeakMap();
28512
28512
  function l9(e) {
28513
- let l = Cl.VERTICAL, t = Qe.NONE;
28513
+ let l = xl.VERTICAL, t = Qe.NONE;
28514
28514
  switch (e) {
28515
28515
  case "SinglePage":
28516
- l = Cl.PAGE;
28516
+ l = xl.PAGE;
28517
28517
  break;
28518
28518
  case "OneColumn":
28519
28519
  break;
28520
28520
  case "TwoPageLeft":
28521
- l = Cl.PAGE;
28521
+ l = xl.PAGE;
28522
28522
  case "TwoColumnLeft":
28523
28523
  t = Qe.ODD;
28524
28524
  break;
28525
28525
  case "TwoPageRight":
28526
- l = Cl.PAGE;
28526
+ l = xl.PAGE;
28527
28527
  case "TwoColumnRight":
28528
28528
  t = Qe.EVEN;
28529
28529
  break;
@@ -29216,36 +29216,36 @@ class pr extends lX {
29216
29216
  const {
29217
29217
  AbortException: M9,
29218
29218
  AnnotationEditorLayer: S9,
29219
- AnnotationEditorParamsType: gv,
29219
+ AnnotationEditorParamsType: Ov,
29220
29220
  AnnotationEditorType: He,
29221
29221
  AnnotationEditorUIManager: J9,
29222
29222
  AnnotationLayer: T9,
29223
29223
  AnnotationMode: ta,
29224
- build: jv,
29225
- ColorPicker: Ov,
29224
+ build: vv,
29225
+ ColorPicker: Kv,
29226
29226
  createValidAbsoluteUrl: G9,
29227
- DOMSVGFactory: vv,
29227
+ DOMSVGFactory: fv,
29228
29228
  DrawLayer: y9,
29229
- FeatureTest: Kv,
29229
+ FeatureTest: Hv,
29230
29230
  fetchData: KM,
29231
- getDocument: fv,
29232
- getFilenameFromUrl: Hv,
29231
+ getDocument: Pv,
29232
+ getFilenameFromUrl: Av,
29233
29233
  getPdfFilenameFromUrl: X9,
29234
- getXfaPageViewport: Pv,
29235
- GlobalWorkerOptions: Av,
29236
- ImageKind: _v,
29237
- InvalidPDFException: qv,
29238
- isDataScheme: $v,
29234
+ getXfaPageViewport: _v,
29235
+ GlobalWorkerOptions: qv,
29236
+ ImageKind: $v,
29237
+ InvalidPDFException: lK,
29238
+ isDataScheme: tK,
29239
29239
  isPdfFile: Y9,
29240
- MissingPDFException: lK,
29241
- noContextMenu: tK,
29240
+ MissingPDFException: eK,
29241
+ noContextMenu: dK,
29242
29242
  normalizeUnicode: B9,
29243
- OPS: eK,
29243
+ OPS: nK,
29244
29244
  OutputScale: k9,
29245
- PasswordResponses: dK,
29246
- PDFDataRangeTransport: nK,
29247
- PDFDateString: aK,
29248
- PDFWorker: iK,
29245
+ PasswordResponses: aK,
29246
+ PDFDataRangeTransport: iK,
29247
+ PDFDateString: sK,
29248
+ PDFWorker: cK,
29249
29249
  PermissionFlag: tW,
29250
29250
  PixelsPerInch: $n,
29251
29251
  RenderingCancelledException: Mr,
@@ -29253,10 +29253,10 @@ const {
29253
29253
  shadow: SQ,
29254
29254
  stopEvent: eb,
29255
29255
  TextLayer: L9,
29256
- TouchManager: sK,
29257
- UnexpectedResponseException: cK,
29258
- Util: UK,
29259
- VerbosityLevel: ZK,
29256
+ TouchManager: UK,
29257
+ UnexpectedResponseException: ZK,
29258
+ Util: FK,
29259
+ VerbosityLevel: hK,
29260
29260
  version: fM,
29261
29261
  XfaLayer: fm
29262
29262
  } = globalThis.pdfjsLib;
@@ -33068,10 +33068,10 @@ Ka = /* @__PURE__ */ new WeakMap(), $c = /* @__PURE__ */ new WeakMap(), YV = /*
33068
33068
  const e = U(this, Ka).keys().next().value;
33069
33069
  e == null || e.destroy(), U(this, Ka).delete(e);
33070
33070
  };
33071
- var Zs, BV, kV, gn, ad, EU, K0, zV, LV, IV, DV, wV, EV, Fs, lU, CU, JU, U0, ms, f0, CV, Z0, xU, Gs, xV, H0, El, SX, JX, TX, P0, YQ, bS, qm, rS, Ia, Mb, GX, yX, XX, Sb, YX, gV;
33071
+ var Zs, BV, kV, gn, ad, EU, K0, zV, LV, IV, DV, wV, EV, Fs, lU, CU, JU, U0, ms, f0, CV, Z0, xU, Gs, xV, H0, Cl, SX, JX, TX, P0, YQ, bS, qm, rS, Ia, Mb, GX, yX, XX, Sb, YX, gV;
33072
33072
  class BX {
33073
33073
  constructor(l) {
33074
- p(this, El), p(this, Zs, null), p(this, BV, null), p(this, kV, null), p(this, gn, He.NONE), p(this, ad, null), p(this, EU, ta.ENABLE_FORMS), p(this, K0, null), p(this, zV, null), p(this, LV, !1), p(this, IV, !1), p(this, DV, !1), p(this, wV, !1), p(this, EV, !1), p(this, Fs, null), p(this, lU, null), p(this, CU, null), p(this, JU, null), p(this, U0, !1), p(this, ms, null), p(this, f0, !1), p(this, CV, 0), p(this, Z0, new ResizeObserver(r(this, El, YX).bind(this))), p(this, xU, null), p(this, Gs, null), p(this, xV, !0), p(this, H0, un.ENABLE);
33074
+ p(this, Cl), p(this, Zs, null), p(this, BV, null), p(this, kV, null), p(this, gn, He.NONE), p(this, ad, null), p(this, EU, ta.ENABLE_FORMS), p(this, K0, null), p(this, zV, null), p(this, LV, !1), p(this, IV, !1), p(this, DV, !1), p(this, wV, !1), p(this, EV, !1), p(this, Fs, null), p(this, lU, null), p(this, CU, null), p(this, JU, null), p(this, U0, !1), p(this, ms, null), p(this, f0, !1), p(this, CV, 0), p(this, Z0, new ResizeObserver(r(this, Cl, YX).bind(this))), p(this, xU, null), p(this, Gs, null), p(this, xV, !0), p(this, H0, un.ENABLE);
33075
33075
  var t, d;
33076
33076
  const n = "4.10.38";
33077
33077
  if (fM !== n)
@@ -33088,7 +33088,7 @@ class BX {
33088
33088
  U(this, Z0).disconnect(), m(this, Z0, null);
33089
33089
  }, {
33090
33090
  once: !0
33091
- }), this.scroll = KE(this.container, this._scrollUpdate.bind(this), a), this.presentationModeState = IU.UNKNOWN, this._resetView(), this.removePageBorders && this.viewer.classList.add("removePageBorders"), r(this, El, Sb).call(this), this.eventBus._on("thumbnailrendered", ({
33091
+ }), this.scroll = KE(this.container, this._scrollUpdate.bind(this), a), this.presentationModeState = IU.UNKNOWN, this._resetView(), this.removePageBorders && this.viewer.classList.add("removePageBorders"), r(this, Cl, Sb).call(this), this.eventBus._on("thumbnailrendered", ({
33092
33092
  pageNumber: i,
33093
33093
  pdfPage: s
33094
33094
  }) => {
@@ -33125,7 +33125,7 @@ class BX {
33125
33125
  _setCurrentPageNumber(l, t = !1) {
33126
33126
  var d;
33127
33127
  if (this._currentPageNumber === l)
33128
- return t && r(this, El, Mb).call(this), !0;
33128
+ return t && r(this, Cl, Mb).call(this), !0;
33129
33129
  if (!(0 < l && l <= this.pagesCount))
33130
33130
  return !1;
33131
33131
  const n = this._currentPageNumber;
@@ -33134,7 +33134,7 @@ class BX {
33134
33134
  pageNumber: l,
33135
33135
  pageLabel: ((d = this._pageLabels) == null ? void 0 : d[l - 1]) ?? null,
33136
33136
  previous: n
33137
- }), t && r(this, El, Mb).call(this), !0;
33137
+ }), t && r(this, Cl, Mb).call(this), !0;
33138
33138
  }
33139
33139
  get currentPageLabel() {
33140
33140
  var l;
@@ -33156,7 +33156,7 @@ class BX {
33156
33156
  set currentScale(l) {
33157
33157
  if (isNaN(l))
33158
33158
  throw new Error("Invalid numeric scale.");
33159
- this.pdfDocument && r(this, El, Ia).call(this, l, {
33159
+ this.pdfDocument && r(this, Cl, Ia).call(this, l, {
33160
33160
  noScroll: !1
33161
33161
  });
33162
33162
  }
@@ -33164,7 +33164,7 @@ class BX {
33164
33164
  return this._currentScaleValue;
33165
33165
  }
33166
33166
  set currentScaleValue(l) {
33167
- this.pdfDocument && r(this, El, Ia).call(this, l, {
33167
+ this.pdfDocument && r(this, Cl, Ia).call(this, l, {
33168
33168
  noScroll: !1
33169
33169
  });
33170
33170
  }
@@ -33180,7 +33180,7 @@ class BX {
33180
33180
  const t = this._currentPageNumber;
33181
33181
  this.refresh(!0, {
33182
33182
  rotation: l
33183
- }), this._currentScaleValue && r(this, El, Ia).call(this, this._currentScaleValue, {
33183
+ }), this._currentScaleValue && r(this, Cl, Ia).call(this, this._currentScaleValue, {
33184
33184
  noScroll: !0
33185
33185
  }), this.eventBus.dispatch("rotationchanging", {
33186
33186
  source: this,
@@ -33265,7 +33265,7 @@ class BX {
33265
33265
  } = U(this, Fs);
33266
33266
  if (a > dW.FORCE_SCROLL_MODE_PAGE) {
33267
33267
  console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");
33268
- const Q = this._scrollMode = Cl.PAGE;
33268
+ const Q = this._scrollMode = xl.PAGE;
33269
33269
  Z.dispatch("scrollmodechanged", {
33270
33270
  source: this,
33271
33271
  mode: Q
@@ -33301,7 +33301,7 @@ class BX {
33301
33301
  annotationEditorMode: b,
33302
33302
  annotationMode: M,
33303
33303
  textLayerMode: T
33304
- } = r(this, El, SX).call(this, u);
33304
+ } = r(this, Cl, SX).call(this, u);
33305
33305
  if (T !== un.DISABLE) {
33306
33306
  const G = m(this, ms, document.createElement("div"));
33307
33307
  G.id = "hiddenCopyElement", h.before(G);
@@ -33313,7 +33313,7 @@ class BX {
33313
33313
  uiManager: U(this, ad)
33314
33314
  }), G !== He.NONE && (G === He.STAMP && ((N = U(this, lU)) == null || N.loadModel("altText")), U(this, ad).updateMode(G))) : console.error(`Invalid AnnotationEditor mode: ${G}`);
33315
33315
  }
33316
- const J = this._scrollMode === Cl.PAGE ? null : h, Y = this.currentScale, L = Q.getViewport({
33316
+ const J = this._scrollMode === xl.PAGE ? null : h, Y = this.currentScale, L = Q.getViewport({
33317
33317
  scale: Y * $n.PDF_TO_CSS_UNITS
33318
33318
  });
33319
33319
  h.style.setProperty("--scale-factor", L.scale), F != null && F.background && h.style.setProperty("--page-bg-color", F.background), ((F == null ? void 0 : F.foreground) === "CanvasText" || (F == null ? void 0 : F.background) === "Canvas") && (h.style.setProperty("--hcm-highlight-filter", l.filterFactory.addHighlightHCMFilter("highlight", "CanvasText", "Canvas", "HighlightText", "Highlight")), h.style.setProperty("--hcm-highlight-selected-filter", l.filterFactory.addHighlightHCMFilter("highlight_selected", "CanvasText", "Canvas", "HighlightText", "ButtonText")));
@@ -33337,11 +33337,11 @@ class BX {
33337
33337
  });
33338
33338
  this._pages.push(k);
33339
33339
  }
33340
- (R = this._pages[0]) == null || R.setPdfPage(Q), this._scrollMode === Cl.PAGE ? r(this, El, P0).call(this) : this._spreadMode !== Qe.NONE && this._updateSpreadMode(), r(this, El, JX).call(this, o).then(async () => {
33340
+ (R = this._pages[0]) == null || R.setPdfPage(Q), this._scrollMode === xl.PAGE ? r(this, Cl, P0).call(this) : this._spreadMode !== Qe.NONE && this._updateSpreadMode(), r(this, Cl, JX).call(this, o).then(async () => {
33341
33341
  var G, k;
33342
33342
  if (l !== this.pdfDocument)
33343
33343
  return;
33344
- if ((G = this.findController) == null || G.setDocument(l), (k = this._scriptingManager) == null || k.setDocument(l), U(this, ms) && document.addEventListener("copy", r(this, El, TX).bind(this, T), {
33344
+ if ((G = this.findController) == null || G.setDocument(l), (k = this._scriptingManager) == null || k.setDocument(l), U(this, ms) && document.addEventListener("copy", r(this, Cl, TX).bind(this, T), {
33345
33345
  signal: o
33346
33346
  }), U(this, ad) && Z.dispatch("annotationeditormodechanged", {
33347
33347
  source: this,
@@ -33385,11 +33385,11 @@ class BX {
33385
33385
  }
33386
33386
  _resetView() {
33387
33387
  var l, t;
33388
- this._pages = [], this._currentPageNumber = 1, this._currentScale = Im, this._currentScaleValue = null, this._pageLabels = null, m(this, Zs, new _C(RS)), this._location = null, this._pagesRotation = 0, this._optionalContentConfigPromise = null, this._firstPageCapability = Promise.withResolvers(), this._onePageRenderedCapability = Promise.withResolvers(), this._pagesCapability = Promise.withResolvers(), this._scrollMode = Cl.VERTICAL, this._previousScrollMode = Cl.UNKNOWN, this._spreadMode = Qe.NONE, m(this, xU, {
33388
+ this._pages = [], this._currentPageNumber = 1, this._currentScale = Im, this._currentScaleValue = null, this._pageLabels = null, m(this, Zs, new _C(RS)), this._location = null, this._pagesRotation = 0, this._optionalContentConfigPromise = null, this._firstPageCapability = Promise.withResolvers(), this._onePageRenderedCapability = Promise.withResolvers(), this._pagesCapability = Promise.withResolvers(), this._scrollMode = xl.VERTICAL, this._previousScrollMode = xl.UNKNOWN, this._spreadMode = Qe.NONE, m(this, xU, {
33389
33389
  previousPageNumber: 1,
33390
33390
  scrollDown: !0,
33391
33391
  pages: []
33392
- }), (l = U(this, Fs)) == null || l.abort(), m(this, Fs, null), this.viewer.textContent = "", this._updateScrollMode(), this.viewer.removeAttribute("lang"), (t = U(this, ms)) == null || t.remove(), m(this, ms, null), r(this, El, gV).call(this);
33392
+ }), (l = U(this, Fs)) == null || l.abort(), m(this, Fs, null), this.viewer.textContent = "", this._updateScrollMode(), this.viewer.removeAttribute("lang"), (t = U(this, ms)) == null || t.remove(), m(this, ms, null), r(this, Cl, gV).call(this);
33393
33393
  }
33394
33394
  _scrollUpdate() {
33395
33395
  this.pagesCount !== 0 && this.update();
@@ -33446,12 +33446,12 @@ class BX {
33446
33446
  return;
33447
33447
  }
33448
33448
  if (n || (Q && Q !== this._currentScale ? this.currentScaleValue = Q : this._currentScale === Im && (this.currentScaleValue = gE)), Q === "page-fit" && !t[4]) {
33449
- r(this, El, YQ).call(this, a);
33449
+ r(this, Cl, YQ).call(this, a);
33450
33450
  return;
33451
33451
  }
33452
33452
  const u = [a.viewport.convertToViewportPoint(i, s), a.viewport.convertToViewportPoint(i + c, s + Z)];
33453
33453
  let N = Math.min(u[0][0], u[1][0]), R = Math.min(u[0][1], u[1][1]);
33454
- d || (N = Math.max(N, 0), R = Math.max(R, 0)), r(this, El, YQ).call(this, a, {
33454
+ d || (N = Math.max(N, 0), R = Math.max(R, 0)), r(this, Cl, YQ).call(this, a, {
33455
33455
  left: N,
33456
33456
  top: R
33457
33457
  });
@@ -33474,7 +33474,7 @@ class BX {
33474
33474
  return;
33475
33475
  const n = Math.max(RS, 2 * d + 1);
33476
33476
  U(this, Zs).resize(n, l.ids), this.renderingQueue.renderHighestPriority(l);
33477
- const a = this._spreadMode === Qe.NONE && (this._scrollMode === Cl.PAGE || this._scrollMode === Cl.VERTICAL), i = this._currentPageNumber;
33477
+ const a = this._spreadMode === Qe.NONE && (this._scrollMode === xl.PAGE || this._scrollMode === xl.VERTICAL), i = this._currentPageNumber;
33478
33478
  let s = !1;
33479
33479
  for (const c of t) {
33480
33480
  if (c.percent < 100)
@@ -33511,7 +33511,7 @@ class BX {
33511
33511
  return this.isInPresentationMode ? !1 : this.container.scrollHeight > this.container.clientHeight;
33512
33512
  }
33513
33513
  _getVisiblePages() {
33514
- const l = this._scrollMode === Cl.PAGE ? U(this, xU).pages : this._pages, t = this._scrollMode === Cl.HORIZONTAL, d = t && this._isContainerRtl;
33514
+ const l = this._scrollMode === xl.PAGE ? U(this, xU).pages : this._pages, t = this._scrollMode === xl.HORIZONTAL, d = t && this._isContainerRtl;
33515
33515
  return HE({
33516
33516
  scrollEl: this.container,
33517
33517
  views: l,
@@ -33529,8 +33529,8 @@ class BX {
33529
33529
  l.cancelRendering();
33530
33530
  }
33531
33531
  forceRendering(l) {
33532
- const t = l || this._getVisiblePages(), d = r(this, El, XX).call(this, t), n = this._spreadMode !== Qe.NONE && this._scrollMode !== Cl.HORIZONTAL, a = this.renderingQueue.getHighestPriority(t, this._pages, d, n);
33533
- return a ? (r(this, El, yX).call(this, a).then(() => {
33532
+ const t = l || this._getVisiblePages(), d = r(this, Cl, XX).call(this, t), n = this._spreadMode !== Qe.NONE && this._scrollMode !== xl.HORIZONTAL, a = this.renderingQueue.getHighestPriority(t, this._pages, d, n);
33533
+ return a ? (r(this, Cl, yX).call(this, a).then(() => {
33534
33534
  this.renderingQueue.renderView(a);
33535
33535
  }), !0) : !1;
33536
33536
  }
@@ -33594,7 +33594,7 @@ class BX {
33594
33594
  }
33595
33595
  _updateScrollMode(l = null) {
33596
33596
  const t = this._scrollMode, d = this.viewer;
33597
- d.classList.toggle("scrollHorizontal", t === Cl.HORIZONTAL), d.classList.toggle("scrollWrapped", t === Cl.WRAPPED), !(!this.pdfDocument || !l) && (t === Cl.PAGE ? r(this, El, P0).call(this) : this._previousScrollMode === Cl.PAGE && this._updateSpreadMode(), this._currentScaleValue && isNaN(this._currentScaleValue) && r(this, El, Ia).call(this, this._currentScaleValue, {
33597
+ d.classList.toggle("scrollHorizontal", t === xl.HORIZONTAL), d.classList.toggle("scrollWrapped", t === xl.WRAPPED), !(!this.pdfDocument || !l) && (t === xl.PAGE ? r(this, Cl, P0).call(this) : this._previousScrollMode === xl.PAGE && this._updateSpreadMode(), this._currentScaleValue && isNaN(this._currentScaleValue) && r(this, Cl, Ia).call(this, this._currentScaleValue, {
33598
33598
  noScroll: !0
33599
33599
  }), this._setCurrentPageNumber(l, !0), this.update());
33600
33600
  }
@@ -33615,8 +33615,8 @@ class BX {
33615
33615
  if (!this.pdfDocument)
33616
33616
  return;
33617
33617
  const t = this.viewer, d = this._pages;
33618
- if (this._scrollMode === Cl.PAGE)
33619
- r(this, El, P0).call(this);
33618
+ if (this._scrollMode === xl.PAGE)
33619
+ r(this, Cl, P0).call(this);
33620
33620
  else if (t.textContent = "", this._spreadMode === Qe.NONE)
33621
33621
  for (const n of this._pages)
33622
33622
  t.append(n.div);
@@ -33626,13 +33626,13 @@ class BX {
33626
33626
  for (let i = 0, s = d.length; i < s; ++i)
33627
33627
  a === null ? (a = document.createElement("div"), a.className = "spread", t.append(a)) : i % 2 === n && (a = a.cloneNode(!1), t.append(a)), a.append(d[i].div);
33628
33628
  }
33629
- l && (this._currentScaleValue && isNaN(this._currentScaleValue) && r(this, El, Ia).call(this, this._currentScaleValue, {
33629
+ l && (this._currentScaleValue && isNaN(this._currentScaleValue) && r(this, Cl, Ia).call(this, this._currentScaleValue, {
33630
33630
  noScroll: !0
33631
33631
  }), this._setCurrentPageNumber(l, !0), this.update());
33632
33632
  }
33633
33633
  _getPageAdvance(l, t = !1) {
33634
33634
  switch (this._scrollMode) {
33635
- case Cl.WRAPPED: {
33635
+ case xl.WRAPPED: {
33636
33636
  const {
33637
33637
  views: d
33638
33638
  } = this._getVisiblePages(), n = /* @__PURE__ */ new Map();
@@ -33679,10 +33679,10 @@ class BX {
33679
33679
  }
33680
33680
  break;
33681
33681
  }
33682
- case Cl.HORIZONTAL:
33682
+ case xl.HORIZONTAL:
33683
33683
  break;
33684
- case Cl.PAGE:
33685
- case Cl.VERTICAL: {
33684
+ case xl.PAGE:
33685
+ case xl.VERTICAL: {
33686
33686
  if (this._spreadMode === Qe.NONE)
33687
33687
  break;
33688
33688
  const d = this._spreadMode - 1;
@@ -33740,7 +33740,7 @@ class BX {
33740
33740
  a = s((a * i).toFixed(2) * 10) / 10;
33741
33741
  while (--d > 0);
33742
33742
  }
33743
- a = Math.max(jE, Math.min(OE, a)), r(this, El, Ia).call(this, a, {
33743
+ a = Math.max(jE, Math.min(OE, a)), r(this, Cl, Ia).call(this, a, {
33744
33744
  noScroll: !1,
33745
33745
  drawingDelay: l,
33746
33746
  origin: n
@@ -33782,7 +33782,7 @@ class BX {
33782
33782
  const {
33783
33783
  eventBus: a
33784
33784
  } = this, i = () => {
33785
- r(this, El, gV).call(this), m(this, gn, l), U(this, ad).updateMode(l, t, d), a.dispatch("annotationeditormodechanged", {
33785
+ r(this, Cl, gV).call(this), m(this, gn, l), U(this, ad).updateMode(l, t, d), a.dispatch("annotationeditormodechanged", {
33786
33786
  source: this,
33787
33787
  mode: l
33788
33788
  });
@@ -33792,9 +33792,9 @@ class BX {
33792
33792
  s || this.pdfDocument.annotationStorage.resetModifiedIds();
33793
33793
  for (const Z of this._pages)
33794
33794
  Z.toggleEditingMode(s);
33795
- const c = r(this, El, GX).call(this);
33795
+ const c = r(this, Cl, GX).call(this);
33796
33796
  if (s && c) {
33797
- r(this, El, gV).call(this), m(this, CU, new AbortController());
33797
+ r(this, Cl, gV).call(this), m(this, CU, new AbortController());
33798
33798
  const Z = AbortSignal.any([U(this, Fs).signal, U(this, CU).signal]);
33799
33799
  a._on("pagerendered", ({
33800
33800
  pageNumber: F
@@ -33816,7 +33816,7 @@ class BX {
33816
33816
  }
33817
33817
  }
33818
33818
  }
33819
- Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /* @__PURE__ */ new WeakMap(), gn = /* @__PURE__ */ new WeakMap(), ad = /* @__PURE__ */ new WeakMap(), EU = /* @__PURE__ */ new WeakMap(), K0 = /* @__PURE__ */ new WeakMap(), zV = /* @__PURE__ */ new WeakMap(), LV = /* @__PURE__ */ new WeakMap(), IV = /* @__PURE__ */ new WeakMap(), DV = /* @__PURE__ */ new WeakMap(), wV = /* @__PURE__ */ new WeakMap(), EV = /* @__PURE__ */ new WeakMap(), Fs = /* @__PURE__ */ new WeakMap(), lU = /* @__PURE__ */ new WeakMap(), CU = /* @__PURE__ */ new WeakMap(), JU = /* @__PURE__ */ new WeakMap(), U0 = /* @__PURE__ */ new WeakMap(), ms = /* @__PURE__ */ new WeakMap(), f0 = /* @__PURE__ */ new WeakMap(), CV = /* @__PURE__ */ new WeakMap(), Z0 = /* @__PURE__ */ new WeakMap(), xU = /* @__PURE__ */ new WeakMap(), Gs = /* @__PURE__ */ new WeakMap(), xV = /* @__PURE__ */ new WeakMap(), H0 = /* @__PURE__ */ new WeakMap(), El = /* @__PURE__ */ new WeakSet(), SX = function(e) {
33819
+ Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /* @__PURE__ */ new WeakMap(), gn = /* @__PURE__ */ new WeakMap(), ad = /* @__PURE__ */ new WeakMap(), EU = /* @__PURE__ */ new WeakMap(), K0 = /* @__PURE__ */ new WeakMap(), zV = /* @__PURE__ */ new WeakMap(), LV = /* @__PURE__ */ new WeakMap(), IV = /* @__PURE__ */ new WeakMap(), DV = /* @__PURE__ */ new WeakMap(), wV = /* @__PURE__ */ new WeakMap(), EV = /* @__PURE__ */ new WeakMap(), Fs = /* @__PURE__ */ new WeakMap(), lU = /* @__PURE__ */ new WeakMap(), CU = /* @__PURE__ */ new WeakMap(), JU = /* @__PURE__ */ new WeakMap(), U0 = /* @__PURE__ */ new WeakMap(), ms = /* @__PURE__ */ new WeakMap(), f0 = /* @__PURE__ */ new WeakMap(), CV = /* @__PURE__ */ new WeakMap(), Z0 = /* @__PURE__ */ new WeakMap(), xU = /* @__PURE__ */ new WeakMap(), Gs = /* @__PURE__ */ new WeakMap(), xV = /* @__PURE__ */ new WeakMap(), H0 = /* @__PURE__ */ new WeakMap(), Cl = /* @__PURE__ */ new WeakSet(), SX = function(e) {
33820
33820
  const l = {
33821
33821
  annotationEditorMode: U(this, gn),
33822
33822
  annotationMode: U(this, EU),
@@ -33859,7 +33859,7 @@ Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /*
33859
33859
  }), eb(l);
33860
33860
  }
33861
33861
  }, P0 = function() {
33862
- if (this._scrollMode !== Cl.PAGE)
33862
+ if (this._scrollMode !== xl.PAGE)
33863
33863
  throw new Error("#ensurePageViewVisible: Invalid scrollMode value.");
33864
33864
  const e = this._currentPageNumber, l = U(this, xU), t = this.viewer;
33865
33865
  if (t.textContent = "", l.pages.length = 0, this._spreadMode === Qe.NONE && !this.isInPresentationMode) {
@@ -33885,12 +33885,12 @@ Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /*
33885
33885
  div: t,
33886
33886
  id: d
33887
33887
  } = e;
33888
- if (this._currentPageNumber !== d && this._setCurrentPageNumber(d), this._scrollMode === Cl.PAGE && (r(this, El, P0).call(this), this.update()), !l && !this.isInPresentationMode) {
33888
+ if (this._currentPageNumber !== d && this._setCurrentPageNumber(d), this._scrollMode === xl.PAGE && (r(this, Cl, P0).call(this), this.update()), !l && !this.isInPresentationMode) {
33889
33889
  const n = t.offsetLeft + t.clientLeft, a = n + t.clientWidth, {
33890
33890
  scrollLeft: i,
33891
33891
  clientWidth: s
33892
33892
  } = this.container;
33893
- (this._scrollMode === Cl.HORIZONTAL || n < i || a > i + s) && (l = {
33893
+ (this._scrollMode === xl.HORIZONTAL || n < i || a > i + s) && (l = {
33894
33894
  left: 0,
33895
33895
  top: 0
33896
33896
  });
@@ -33904,7 +33904,7 @@ Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /*
33904
33904
  drawingDelay: n = -1,
33905
33905
  origin: a = null
33906
33906
  }) {
33907
- if (this._currentScaleValue = l.toString(), r(this, El, bS).call(this, e)) {
33907
+ if (this._currentScaleValue = l.toString(), r(this, Cl, bS).call(this, e)) {
33908
33908
  d && this.eventBus.dispatch("scalechanging", {
33909
33909
  source: this,
33910
33910
  scale: e,
@@ -33940,18 +33940,18 @@ Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /*
33940
33940
  presetValue: d ? l : void 0
33941
33941
  }), this.defaultRenderingQueue && this.update();
33942
33942
  }, rS = function() {
33943
- return this._spreadMode !== Qe.NONE && this._scrollMode !== Cl.HORIZONTAL ? 2 : 1;
33943
+ return this._spreadMode !== Qe.NONE && this._scrollMode !== xl.HORIZONTAL ? 2 : 1;
33944
33944
  }, Ia = function(e, l) {
33945
33945
  let t = parseFloat(e);
33946
33946
  if (t > 0)
33947
- l.preset = !1, r(this, El, qm).call(this, t, e, l);
33947
+ l.preset = !1, r(this, Cl, qm).call(this, t, e, l);
33948
33948
  else {
33949
33949
  const d = this._pages[this._currentPageNumber - 1];
33950
33950
  if (!d)
33951
33951
  return;
33952
33952
  let n = jy, a = Oy;
33953
- this.isInPresentationMode ? (n = a = 4, this._spreadMode !== Qe.NONE && (n *= 2)) : this.removePageBorders ? n = a = 0 : this._scrollMode === Cl.HORIZONTAL && ([n, a] = [a, n]);
33954
- const i = (this.container.clientWidth - n) / d.width * d.scale / U(this, El, rS), s = (this.container.clientHeight - a) / d.height * d.scale;
33953
+ this.isInPresentationMode ? (n = a = 4, this._spreadMode !== Qe.NONE && (n *= 2)) : this.removePageBorders ? n = a = 0 : this._scrollMode === xl.HORIZONTAL && ([n, a] = [a, n]);
33954
+ const i = (this.container.clientWidth - n) / d.width * d.scale / U(this, Cl, rS), s = (this.container.clientHeight - a) / d.height * d.scale;
33955
33955
  switch (e) {
33956
33956
  case "page-actual":
33957
33957
  t = 1;
@@ -33973,13 +33973,13 @@ Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /*
33973
33973
  console.error(`#setScale: "${e}" is an unknown zoom value.`);
33974
33974
  return;
33975
33975
  }
33976
- l.preset = !0, r(this, El, qm).call(this, t, e, l);
33976
+ l.preset = !0, r(this, Cl, qm).call(this, t, e, l);
33977
33977
  }
33978
33978
  }, Mb = function() {
33979
33979
  const e = this._pages[this._currentPageNumber - 1];
33980
- this.isInPresentationMode && r(this, El, Ia).call(this, this._currentScaleValue, {
33980
+ this.isInPresentationMode && r(this, Cl, Ia).call(this, this._currentScaleValue, {
33981
33981
  noScroll: !0
33982
- }), r(this, El, YQ).call(this, e);
33982
+ }), r(this, Cl, YQ).call(this, e);
33983
33983
  }, GX = function() {
33984
33984
  const e = this._getVisiblePages(), l = [], {
33985
33985
  ids: t,
@@ -34017,9 +34017,9 @@ Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /*
34017
34017
  if (((t = e.last) == null ? void 0 : t.id) === this.pagesCount)
34018
34018
  return !1;
34019
34019
  switch (this._scrollMode) {
34020
- case Cl.PAGE:
34020
+ case xl.PAGE:
34021
34021
  return U(this, xU).scrollDown;
34022
- case Cl.HORIZONTAL:
34022
+ case xl.HORIZONTAL:
34023
34023
  return this.scroll.right;
34024
34024
  }
34025
34025
  return this.scroll.down;
@@ -34028,7 +34028,7 @@ Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /*
34028
34028
  }, YX = function(e) {
34029
34029
  for (const l of e)
34030
34030
  if (l.target === this.container) {
34031
- r(this, El, Sb).call(this, Math.floor(l.borderBoxSize[0].blockSize)), m(this, K0, null);
34031
+ r(this, Cl, Sb).call(this, Math.floor(l.borderBoxSize[0].blockSize)), m(this, K0, null);
34032
34032
  break;
34033
34033
  }
34034
34034
  }, gV = function() {
@@ -34037,7 +34037,7 @@ Zs = /* @__PURE__ */ new WeakMap(), BV = /* @__PURE__ */ new WeakMap(), kV = /*
34037
34037
  };
34038
34038
  class qC extends BX {
34039
34039
  _resetView() {
34040
- super._resetView(), this._scrollMode = Cl.PAGE, this._spreadMode = Qe.NONE;
34040
+ super._resetView(), this._scrollMode = xl.PAGE, this._spreadMode = Qe.NONE;
34041
34041
  }
34042
34042
  set scrollMode(l) {
34043
34043
  }
@@ -34106,7 +34106,7 @@ const lx = ["id"], tx = ["id"], ex = {
34106
34106
  n("progress", R);
34107
34107
  },
34108
34108
  source: rY(d, "source")
34109
- }), F = xl(() => {
34109
+ }), F = Dl(() => {
34110
34110
  if (!Z.value || !d.annotationLayer)
34111
34111
  return null;
34112
34112
  if (d.linkService)
@@ -34276,7 +34276,7 @@ const lx = ["id"], tx = ["id"], ex = {
34276
34276
  ref: s,
34277
34277
  class: "vue-pdf-embed"
34278
34278
  }, [
34279
- (K(!0), sl(ot, null, wl(a.value, (M, T) => (K(), sl("div", { key: M }, [
34279
+ (K(!0), sl(ot, null, El(a.value, (M, T) => (K(), sl("div", { key: M }, [
34280
34280
  dt(R.$slots, "before-page", { page: M }),
34281
34281
  al("div", {
34282
34282
  id: R.id && `${R.id}-${M}`,
@@ -34676,7 +34676,7 @@ const nx = /* @__PURE__ */ Nl({
34676
34676
  dropdown: P(() => [
34677
34677
  $(z(qY), null, {
34678
34678
  default: P(() => [
34679
- (K(!0), sl(ot, null, wl(Z.value, (g) => (K(), nl(z($Y), {
34679
+ (K(!0), sl(ot, null, El(Z.value, (g) => (K(), nl(z($Y), {
34680
34680
  key: g.value,
34681
34681
  command: g.value
34682
34682
  }, {
@@ -34718,7 +34718,7 @@ const nx = /* @__PURE__ */ Nl({
34718
34718
  ])
34719
34719
  ])) : Gl("", !0),
34720
34720
  e.layout === "inline" ? (K(), sl("div", cx, [
34721
- (K(!0), sl(ot, null, wl(s.value, (g) => (K(), sl("div", {
34721
+ (K(!0), sl(ot, null, El(s.value, (g) => (K(), sl("div", {
34722
34722
  key: g.id,
34723
34723
  class: "inline-file-item"
34724
34724
  }, [
@@ -34815,7 +34815,7 @@ const nx = /* @__PURE__ */ Nl({
34815
34815
  style: tZ({ height: typeof t.height == "number" ? t.height + "px" : t.height, maxHeight: typeof t.maxHeight == "number" ? t.maxHeight + "px" : t.maxHeight })
34816
34816
  }, [
34817
34817
  s.value.length === 0 ? (K(), sl("div", mx, "暂无文件")) : Gl("", !0),
34818
- (K(!0), sl(ot, null, wl(s.value, (g) => (K(), sl("div", {
34818
+ (K(!0), sl(ot, null, El(s.value, (g) => (K(), sl("div", {
34819
34819
  key: g.id,
34820
34820
  class: "file-item"
34821
34821
  }, [
@@ -34980,7 +34980,7 @@ const Jx = /* @__PURE__ */ Nl({
34980
34980
  buttonClass: {}
34981
34981
  },
34982
34982
  setup(e) {
34983
- const l = e, t = Bl(), d = ES(t), n = q([]), a = q(!1), i = q(""), s = q(!1), c = xl(() => ({
34983
+ const l = e, t = Bl(), d = ES(t), n = q([]), a = q(!1), i = q(""), s = q(!1), c = Dl(() => ({
34984
34984
  type: l.buttonType || "warning",
34985
34985
  size: l.buttonSize || "small"
34986
34986
  })), Z = [
@@ -35002,7 +35002,7 @@ const Jx = /* @__PURE__ */ Nl({
35002
35002
  ".pdf",
35003
35003
  "xps",
35004
35004
  "."
35005
- ], F = xl(() => n.value.some((V) => Z.some((Q) => V.fileName.endsWith(Q)))), h = xl(() => n.value.find((V) => Z.some((Q) => V.fileName.endsWith(Q))));
35005
+ ], F = Dl(() => n.value.some((V) => Z.some((Q) => V.fileName.endsWith(Q)))), h = Dl(() => n.value.find((V) => Z.some((Q) => V.fileName.endsWith(Q))));
35006
35006
  async function o() {
35007
35007
  if (!l.attachToken) {
35008
35008
  n.value = [];
@@ -35138,7 +35138,7 @@ const wx = /* @__PURE__ */ Nl({
35138
35138
  setup(e, { expose: l }) {
35139
35139
  const t = q(void 0), d = e;
35140
35140
  Rs("aceFormValidator", d.validator), Rs("aceFormModel", d.model), Rs("aceFormSize", d.size), Rs("aceFormRequiredPosition", d.requiredPosition);
35141
- const n = q({}), a = xl(() => d.model.formData ? d.model.formData : d.model);
35141
+ const n = q({}), a = Dl(() => d.model.formData ? d.model.formData : d.model);
35142
35142
  return l({
35143
35143
  elForm: t,
35144
35144
  getElForm: () => t.value,
@@ -35217,7 +35217,7 @@ const wx = /* @__PURE__ */ Nl({
35217
35217
  setup(e, { expose: l }) {
35218
35218
  const t = ol("aceFormRequiredPosition"), d = e;
35219
35219
  Rs("aceFormItemProp", d.prop);
35220
- const n = xl(() => d.requiredPosition || t), a = q(null);
35220
+ const n = Dl(() => d.requiredPosition || t), a = q(null);
35221
35221
  return l({
35222
35222
  resetField: () => {
35223
35223
  a.value.resetField();
@@ -35327,7 +35327,7 @@ const wx = /* @__PURE__ */ Nl({
35327
35327
  }, {
35328
35328
  deep: !0
35329
35329
  });
35330
- const h = xl(() => {
35330
+ const h = Dl(() => {
35331
35331
  const { modelValue: o, maxLength: W, minLength: V, ...Q } = d;
35332
35332
  return {
35333
35333
  ...Q,
@@ -35365,7 +35365,7 @@ const wx = /* @__PURE__ */ Nl({
35365
35365
  onInput: W[3] || (W[3] = (V) => o.$emit("input", V)),
35366
35366
  onClear: W[4] || (W[4] = () => o.$emit("clear"))
35367
35367
  }), Ce({ _: 2 }, [
35368
- wl(o.$slots, (V, Q) => ({
35368
+ El(o.$slots, (V, Q) => ({
35369
35369
  name: Q,
35370
35370
  fn: P(() => [
35371
35371
  dt(o.$slots, Q)
@@ -35404,7 +35404,7 @@ const wx = /* @__PURE__ */ Nl({
35404
35404
  Fl(() => n.formData, () => {
35405
35405
  F.value = zl(n.formData, a);
35406
35406
  });
35407
- const h = xl(() => {
35407
+ const h = Dl(() => {
35408
35408
  const { modelValue: o, ...W } = d;
35409
35409
  return W;
35410
35410
  });
@@ -35449,7 +35449,7 @@ const wx = /* @__PURE__ */ Nl({
35449
35449
  },
35450
35450
  emits: ["blur", "focus", "change"],
35451
35451
  setup(e, { expose: l, emit: t }) {
35452
- const d = e, n = ol("aceFormModel"), a = ol("aceFormItemProp"), i = ol("aceFormValidator"), s = xl(() => d.size ? d.size : ol("aceFormSize")), c = q(), Z = t;
35452
+ const d = e, n = ol("aceFormModel"), a = ol("aceFormItemProp"), i = ol("aceFormValidator"), s = Dl(() => d.size ? d.size : ol("aceFormSize")), c = q(), Z = t;
35453
35453
  function F(W) {
35454
35454
  i.removeFieldError(a), xt(n.formData, a, h.value), Z("change", W);
35455
35455
  }
@@ -35460,7 +35460,7 @@ const wx = /* @__PURE__ */ Nl({
35460
35460
  }, {
35461
35461
  deep: !0
35462
35462
  });
35463
- const o = xl(() => {
35463
+ const o = Dl(() => {
35464
35464
  const { modelValue: W, ...V } = d;
35465
35465
  return V;
35466
35466
  });
@@ -35560,7 +35560,7 @@ const wx = /* @__PURE__ */ Nl({
35560
35560
  }, {
35561
35561
  deep: !0
35562
35562
  });
35563
- const h = xl(() => {
35563
+ const h = Dl(() => {
35564
35564
  const { modelValue: o, ...W } = c;
35565
35565
  return W;
35566
35566
  });
@@ -35581,7 +35581,7 @@ const wx = /* @__PURE__ */ Nl({
35581
35581
  "onUpdate:modelValue": W[0] || (W[0] = (V) => F.value = V),
35582
35582
  onChange: Z
35583
35583
  }, { ...h.value, ...o.$attrs }), Ce({ _: 2 }, [
35584
- wl(o.$slots, (V, Q) => ({
35584
+ El(o.$slots, (V, Q) => ({
35585
35585
  name: Q,
35586
35586
  fn: P(() => [
35587
35587
  dt(o.$slots, Q)
@@ -35650,7 +35650,7 @@ const wx = /* @__PURE__ */ Nl({
35650
35650
  }, {
35651
35651
  deep: !0
35652
35652
  });
35653
- const o = xl(() => {
35653
+ const o = Dl(() => {
35654
35654
  const { modelValue: W, ...V } = c;
35655
35655
  return V;
35656
35656
  });
@@ -35665,7 +35665,7 @@ const wx = /* @__PURE__ */ Nl({
35665
35665
  "onUpdate:modelValue": V[0] || (V[0] = (Q) => z(n).formData[z(a)] = Q),
35666
35666
  onChange: F
35667
35667
  }, { ...o.value, ...W.$attrs }), Ce({ _: 2 }, [
35668
- wl(W.$slots, (Q, u) => ({
35668
+ El(W.$slots, (Q, u) => ({
35669
35669
  name: u,
35670
35670
  fn: P(() => [
35671
35671
  dt(W.$slots, u)
@@ -35853,7 +35853,7 @@ const IX = {
35853
35853
  tag: {}
35854
35854
  },
35855
35855
  setup(e, { expose: l }) {
35856
- const t = q(), d = e, n = Zu, a = xl(() => {
35856
+ const t = q(), d = e, n = Zu, a = Dl(() => {
35857
35857
  const { tooltip: i, shortcut: s, auth: c, authModifiers: Z, tooltipPlacement: F, ...h } = d;
35858
35858
  return h;
35859
35859
  });
@@ -35872,7 +35872,7 @@ const IX = {
35872
35872
  ref_key: "input",
35873
35873
  ref: t
35874
35874
  }, { ...a.value, ...i.$attrs }), Ce({ _: 2 }, [
35875
- wl(i.$slots, (c, Z) => ({
35875
+ El(i.$slots, (c, Z) => ({
35876
35876
  name: Z,
35877
35877
  fn: P(() => [
35878
35878
  dt(i.$slots, Z)
@@ -35941,7 +35941,7 @@ const IX = {
35941
35941
  ]),
35942
35942
  _: 2
35943
35943
  }, [
35944
- wl(s.$slots, (Z, F) => ({
35944
+ El(s.$slots, (Z, F) => ({
35945
35945
  name: F,
35946
35946
  fn: P(() => [
35947
35947
  dt(s.$slots, F)
@@ -35988,7 +35988,7 @@ const IX = {
35988
35988
  }, {
35989
35989
  deep: !0
35990
35990
  });
35991
- const h = xl(() => {
35991
+ const h = Dl(() => {
35992
35992
  const { modelValue: o, ...W } = c;
35993
35993
  return W;
35994
35994
  });
@@ -36009,7 +36009,7 @@ const IX = {
36009
36009
  "onUpdate:modelValue": W[0] || (W[0] = (V) => F.value = V),
36010
36010
  onChange: Z
36011
36011
  }, { ...h.value, ...o.$attrs }), Ce({ _: 2 }, [
36012
- wl(o.$slots, (V, Q) => ({
36012
+ El(o.$slots, (V, Q) => ({
36013
36013
  name: Q,
36014
36014
  fn: P(() => [
36015
36015
  dt(o.$slots, Q)
@@ -36061,7 +36061,7 @@ const IX = {
36061
36061
  style: { "align-items": "stretch", width: "100%" }
36062
36062
  }, {
36063
36063
  default: P(() => [
36064
- (K(!0), sl(ot, null, wl(i.value, (W, V) => (K(), nl(z(Nn), {
36064
+ (K(!0), sl(ot, null, El(i.value, (W, V) => (K(), nl(z(Nn), {
36065
36065
  key: V,
36066
36066
  modelValue: W.v,
36067
36067
  "onUpdate:modelValue": (Q) => W.v = Q,
@@ -36191,7 +36191,7 @@ const IX = {
36191
36191
  }, { deep: !0 }), (h, o) => {
36192
36192
  const W = ws("el-tooltip");
36193
36193
  return K(), sl("div", o3, [
36194
- (K(!0), sl(ot, null, wl(i.value, (V, Q) => (K(), sl("div", {
36194
+ (K(!0), sl(ot, null, El(i.value, (V, Q) => (K(), sl("div", {
36195
36195
  class: "ja-input-box",
36196
36196
  key: Q
36197
36197
  }, [
@@ -36312,7 +36312,7 @@ const IX = {
36312
36312
  }, { deep: !0 }), (h, o) => {
36313
36313
  const W = ws("el-option"), V = ws("el-tooltip");
36314
36314
  return K(), sl("div", N3, [
36315
- (K(!0), sl(ot, null, wl(i.value, (Q, u) => (K(), sl("div", {
36315
+ (K(!0), sl(ot, null, El(i.value, (Q, u) => (K(), sl("div", {
36316
36316
  class: "ja-input-box",
36317
36317
  key: u
36318
36318
  }, [
@@ -36322,7 +36322,7 @@ const IX = {
36322
36322
  size: e.size
36323
36323
  }, {
36324
36324
  default: P(() => [
36325
- (K(!0), sl(ot, null, wl(Object.keys(t.enumValues), (N) => (K(), nl(W, {
36325
+ (K(!0), sl(ot, null, El(Object.keys(t.enumValues), (N) => (K(), nl(W, {
36326
36326
  key: N,
36327
36327
  label: N,
36328
36328
  value: t.enumValues[N]
@@ -36489,7 +36489,7 @@ const IX = {
36489
36489
  }), (W, V) => {
36490
36490
  const Q = ws("el-text"), u = ws("el-option"), N = ws("el-tooltip");
36491
36491
  return K(), sl("div", T3, [
36492
- (K(!0), sl(ot, null, wl(i.value, (R, b) => (K(), sl("div", {
36492
+ (K(!0), sl(ot, null, El(i.value, (R, b) => (K(), sl("div", {
36493
36493
  class: "ja-input-box",
36494
36494
  key: b
36495
36495
  }, [
@@ -36514,7 +36514,7 @@ const IX = {
36514
36514
  placeholder: "值"
36515
36515
  }, { ref_for: !0 }, z(F)), {
36516
36516
  default: P(() => [
36517
- t.valueType == "Enum" ? (K(!0), sl(ot, { key: 0 }, wl(Object.keys(t.enumValues ?? {}), (M) => (K(), nl(u, {
36517
+ t.valueType == "Enum" ? (K(!0), sl(ot, { key: 0 }, El(Object.keys(t.enumValues ?? {}), (M) => (K(), nl(u, {
36518
36518
  key: M,
36519
36519
  label: M,
36520
36520
  value: t.enumValues ? t.enumValues[M] : ""
@@ -36705,7 +36705,7 @@ c-58 -10 -181 -38 -275 -61 -807 -204 -1528 -616 -2120 -1210 -726 -728 -1170
36705
36705
  d.value = !0, Yh(async () => {
36706
36706
  await Dd();
36707
36707
  });
36708
- const i = xl(
36708
+ const i = Dl(
36709
36709
  () => {
36710
36710
  if (!(d.value && l.hasAvatar && !l.doNotLoadAvatar))
36711
36711
  return l.firstName ? "" : lR;
@@ -36728,7 +36728,7 @@ c-58 -10 -181 -38 -275 -61 -807 -204 -1528 -616 -2120 -1210 -726 -728 -1170
36728
36728
  }
36729
36729
  oi(() => {
36730
36730
  }), Fl(a, () => s(a.value));
36731
- const c = xl(() => {
36731
+ const c = Dl(() => {
36732
36732
  const { userId: Z, username: F, realm: h, doNotLoadAvatar: o, hasAvatar: W, firstName: V, ...Q } = l;
36733
36733
  return Q;
36734
36734
  });
@@ -37150,7 +37150,7 @@ const bg = /* @__PURE__ */ Nl({
37150
37150
  }),
37151
37151
  emits: /* @__PURE__ */ Ol(["change", "loaded"], ["update:modelValue"]),
37152
37152
  setup(e, { expose: l, emit: t }) {
37153
- const d = q(), n = Bl(), a = Cd(n), i = CS(n), s = e, c = t, Z = St(e, "modelValue"), F = xl({
37153
+ const d = q(), n = Bl(), a = Cd(n), i = CS(n), s = e, c = t, Z = St(e, "modelValue"), F = Dl({
37154
37154
  get() {
37155
37155
  var V;
37156
37156
  return (V = Z.value) == null ? void 0 : V.id;
@@ -37340,7 +37340,7 @@ const Gg = { class: "ja-user-group-tree" }, yg = { class: "name" }, Xg = /* @__P
37340
37340
  emits: /* @__PURE__ */ Ol(["change", "loaded"], ["update:modelValue"]),
37341
37341
  async setup(e, { expose: l, emit: t }) {
37342
37342
  let d, n;
37343
- const a = q(), i = Bl(), s = Cd(i), c = e, Z = t, F = St(e, "modelValue"), h = q(c.appId), o = xl({
37343
+ const a = q(), i = Bl(), s = Cd(i), c = e, Z = t, F = St(e, "modelValue"), h = q(c.appId), o = Dl({
37344
37344
  get() {
37345
37345
  var Y;
37346
37346
  return (Y = F.value) == null ? void 0 : Y.id;
@@ -37392,7 +37392,7 @@ const Gg = { class: "ja-user-group-tree" }, yg = { class: "name" }, Xg = /* @__P
37392
37392
  style: { width: "100%" }
37393
37393
  }, {
37394
37394
  default: P(() => [
37395
- (K(!0), sl(ot, null, wl(b.value, (G) => (K(), nl(z(dZ), {
37395
+ (K(!0), sl(ot, null, El(b.value, (G) => (K(), nl(z(dZ), {
37396
37396
  key: G.id,
37397
37397
  label: G.caption,
37398
37398
  value: G.id
@@ -37452,7 +37452,7 @@ const Gg = { class: "ja-user-group-tree" }, yg = { class: "name" }, Xg = /* @__P
37452
37452
  }),
37453
37453
  emits: /* @__PURE__ */ Ol(["change", "loaded"], ["update:modelValue"]),
37454
37454
  setup(e, { expose: l, emit: t }) {
37455
- const d = q(), n = Bl(), a = Cd(n), i = jS(n), s = t, c = St(e, "modelValue"), Z = xl({
37455
+ const d = q(), n = Bl(), a = Cd(n), i = jS(n), s = t, c = St(e, "modelValue"), Z = Dl({
37456
37456
  get() {
37457
37457
  var W;
37458
37458
  return (W = c.value) == null ? void 0 : W.id;
@@ -37948,13 +37948,13 @@ const Gg = { class: "ja-user-group-tree" }, yg = { class: "name" }, Xg = /* @__P
37948
37948
  s.disconnect();
37949
37949
  });
37950
37950
  });
37951
- const Z = xl(() => t);
37951
+ const Z = Dl(() => t);
37952
37952
  return (F, h) => (K(), nl(z(Es), Pl({
37953
37953
  ref_key: "scroll",
37954
37954
  ref: d,
37955
37955
  class: "scroll-container"
37956
37956
  }, { ...Z.value, ...F.$attrs }), Ce({ _: 2 }, [
37957
- wl(F.$slots, (o, W) => ({
37957
+ El(F.$slots, (o, W) => ({
37958
37958
  name: W,
37959
37959
  fn: P(() => [
37960
37960
  dt(F.$slots, W)
@@ -38374,7 +38374,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
38374
38374
  const L = (O) => {
38375
38375
  var E;
38376
38376
  return Array.isArray(G.value) ? G.value.some((j) => j.id === O.id) ? "autumnOrange" : "skyGray" : ((E = G.value) == null ? void 0 : E.id) === O.id ? "autumnOrange" : "skyGray";
38377
- }, G = xl(() => {
38377
+ }, G = Dl(() => {
38378
38378
  const O = Array.isArray(s.value);
38379
38379
  if (d.multiple && O)
38380
38380
  return s.value;
@@ -38387,7 +38387,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
38387
38387
  function k(O) {
38388
38388
  return O === n.value ? "active" : "";
38389
38389
  }
38390
- const I = xl(() => d.loading && d.users.length == 0);
38390
+ const I = Dl(() => d.loading && d.users.length == 0);
38391
38391
  return l({
38392
38392
  scrollUp() {
38393
38393
  R();
@@ -38415,7 +38415,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
38415
38415
  key: 0,
38416
38416
  onMouseup: Q
38417
38417
  }, [
38418
- (K(!0), sl(ot, null, wl(e.users, (j, C) => (K(), sl("li", {
38418
+ (K(!0), sl(ot, null, El(e.users, (j, C) => (K(), sl("li", {
38419
38419
  key: j.id,
38420
38420
  class: $0(k(C)),
38421
38421
  onMouseenter: (X) => i.value && u(j),
@@ -38585,7 +38585,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
38585
38585
  var D;
38586
38586
  (D = Z.value) == null || D.focus();
38587
38587
  }
38588
- const X = xl(() => {
38588
+ const X = Dl(() => {
38589
38589
  if (l.multiple && Array.isArray(c.value))
38590
38590
  return c.value;
38591
38591
  if (!l.multiple && !Array.isArray(c.value))
@@ -38599,7 +38599,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
38599
38599
  function B() {
38600
38600
  l.disabled || (F.value = !0);
38601
38601
  }
38602
- const w = xl(() => X.value.slice(0, l.maxShowCount));
38602
+ const w = Dl(() => X.value.slice(0, l.maxShowCount));
38603
38603
  return Fl(() => l.classificationLevel, () => {
38604
38604
  o.value.classificationLevel = l.classificationLevel;
38605
38605
  }), (D, x) => (K(), sl(ot, null, [
@@ -38744,7 +38744,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
38744
38744
  _: 3
38745
38745
  }, 8, ["visible", "trigger", "disabled"]),
38746
38746
  l.showUserTag ? (K(), sl("div", Ij, [
38747
- (K(!0), sl(ot, null, wl(w.value, (f) => (K(), nl(z(Eh), {
38747
+ (K(!0), sl(ot, null, El(w.value, (f) => (K(), nl(z(Eh), {
38748
38748
  key: f.id,
38749
38749
  "user-id": f.id,
38750
38750
  "full-name": f.fullName,
@@ -38871,7 +38871,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
38871
38871
  }, {
38872
38872
  deep: !0
38873
38873
  });
38874
- const o = xl(() => {
38874
+ const o = Dl(() => {
38875
38875
  const { modelValue: W, ...V } = c;
38876
38876
  return V;
38877
38877
  });
@@ -38886,7 +38886,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
38886
38886
  "onUpdate:modelValue": V[0] || (V[0] = (Q) => z(n).formData[z(a)] = Q),
38887
38887
  onChange: F
38888
38888
  }, { ...o.value, ...W.$attrs }), Ce({ _: 2 }, [
38889
- wl(W.$slots, (Q, u) => ({
38889
+ El(W.$slots, (Q, u) => ({
38890
38890
  name: u,
38891
38891
  fn: P(() => [
38892
38892
  dt(W.$slots, u)
@@ -39010,7 +39010,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
39010
39010
  }), l({
39011
39011
  elAutocomplete: d
39012
39012
  });
39013
- const F = e, h = xl(() => F);
39013
+ const F = e, h = Dl(() => F);
39014
39014
  return (o, W) => (K(), nl(z(iB), Pl({
39015
39015
  ref_key: "input",
39016
39016
  ref: d,
@@ -39018,7 +39018,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
39018
39018
  "onUpdate:modelValue": W[0] || (W[0] = (V) => Z.value = V),
39019
39019
  onChange: c
39020
39020
  }, { ...h.value, ...o.$attrs }), Ce({ _: 2 }, [
39021
- wl(o.$slots, (V, Q) => ({
39021
+ El(o.$slots, (V, Q) => ({
39022
39022
  name: Q,
39023
39023
  fn: P(() => [
39024
39024
  dt(o.$slots, Q)
@@ -39054,7 +39054,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
39054
39054
  }, {
39055
39055
  deep: !0
39056
39056
  });
39057
- const h = xl(() => {
39057
+ const h = Dl(() => {
39058
39058
  const { modelValue: o, ...W } = c;
39059
39059
  return W;
39060
39060
  });
@@ -39077,7 +39077,7 @@ const cF = /* @__PURE__ */ new Map(), Fu = {
39077
39077
  "onUpdate:modelValue": W[0] || (W[0] = (V) => F.value = V),
39078
39078
  onChange: Z
39079
39079
  }, { ...h.value, ...o.$attrs }), Ce({ _: 2 }, [
39080
- wl(o.$slots, (V, Q) => ({
39080
+ El(o.$slots, (V, Q) => ({
39081
39081
  name: Q,
39082
39082
  fn: P(() => [
39083
39083
  dt(o.$slots, Q)
@@ -39158,7 +39158,7 @@ const qj = /* @__PURE__ */ Nl({
39158
39158
  modelValue: Z.value,
39159
39159
  "onUpdate:modelValue": N[0] || (N[0] = (R) => Z.value = R)
39160
39160
  }), Ce({ _: 2 }, [
39161
- wl(u.$slots, (R, b) => ({
39161
+ El(u.$slots, (R, b) => ({
39162
39162
  name: b,
39163
39163
  fn: P(() => [
39164
39164
  dt(u.$slots, b)
@@ -39251,7 +39251,7 @@ const qj = /* @__PURE__ */ Nl({
39251
39251
  ]),
39252
39252
  _: 1
39253
39253
  }),
39254
- (K(!0), sl(ot, null, wl((N = i.value) == null ? void 0 : N.supportedLocales, (R) => (K(), nl(z(fV), {
39254
+ (K(!0), sl(ot, null, El((N = i.value) == null ? void 0 : N.supportedLocales, (R) => (K(), nl(z(fV), {
39255
39255
  key: R,
39256
39256
  label: R
39257
39257
  }, {
@@ -39386,7 +39386,7 @@ const qj = /* @__PURE__ */ Nl({
39386
39386
  })
39387
39387
  ]),
39388
39388
  default: P(() => [
39389
- (K(!0), sl(ot, null, wl(c.value, (O) => (K(), nl(z(dZ), {
39389
+ (K(!0), sl(ot, null, El(c.value, (O) => (K(), nl(z(dZ), {
39390
39390
  key: O,
39391
39391
  value: "{" + O + "}",
39392
39392
  label: "{" + O + "}"
@@ -39540,7 +39540,7 @@ const nO = ["onClick"], aO = { style: { flex: "1" } }, iO = { style: { display:
39540
39540
  label: "[未分类]",
39541
39541
  value: ""
39542
39542
  }),
39543
- (K(!0), sl(ot, null, wl(s.value, (R) => (K(), nl(z(dZ), {
39543
+ (K(!0), sl(ot, null, El(s.value, (R) => (K(), nl(z(dZ), {
39544
39544
  key: R.id,
39545
39545
  label: R.name,
39546
39546
  value: R.name
@@ -39835,7 +39835,7 @@ const nO = ["onClick"], aO = { style: { flex: "1" } }, iO = { style: { display:
39835
39835
  ]),
39836
39836
  _: 2
39837
39837
  }, [
39838
- wl(s.$slots, (Z, F) => ({
39838
+ El(s.$slots, (Z, F) => ({
39839
39839
  name: F,
39840
39840
  fn: P(() => [
39841
39841
  dt(s.$slots, F, {}, void 0, !0)
@@ -39868,7 +39868,7 @@ const nO = ["onClick"], aO = { style: { flex: "1" } }, iO = { style: { display:
39868
39868
  "onUpdate:modelValue": h[0] || (h[0] = (o) => Z.value = o),
39869
39869
  onChange: c
39870
39870
  }, F.$attrs), Ce({ _: 2 }, [
39871
- wl(F.$slots, (o, W) => ({
39871
+ El(F.$slots, (o, W) => ({
39872
39872
  name: W,
39873
39873
  fn: P(() => [
39874
39874
  dt(F.$slots, W)
@@ -39907,7 +39907,7 @@ const nO = ["onClick"], aO = { style: { flex: "1" } }, iO = { style: { display:
39907
39907
  "onUpdate:modelValue": F[0] || (F[0] = (h) => i.value = h)
39908
39908
  }, Z.$attrs), {
39909
39909
  default: P(() => [
39910
- (K(!0), sl(ot, null, wl(a.value, (h) => (K(), nl(z(dZ), {
39910
+ (K(!0), sl(ot, null, El(a.value, (h) => (K(), nl(z(dZ), {
39911
39911
  key: h.id,
39912
39912
  label: h.name,
39913
39913
  value: h
@@ -40040,7 +40040,7 @@ const NO = { class: "ja-property-picker__dropdown" }, bO = { key: 0 }, rO = ["on
40040
40040
  (B = W.value) == null || B.focus();
40041
40041
  }), u.value = y;
40042
40042
  }
40043
- const j = xl(() => {
40043
+ const j = Dl(() => {
40044
40044
  var y;
40045
40045
  return n.value && n.value.length > 0 ? (y = n.value) == null ? void 0 : y.join(".") : "请选择属性";
40046
40046
  }), C = () => {
@@ -40082,7 +40082,7 @@ const NO = { class: "ja-property-picker__dropdown" }, bO = { key: 0 }, rO = ["on
40082
40082
  onMouseenter: B[3] || (B[3] = (w) => h.value = !0),
40083
40083
  onMouseleave: B[4] || (B[4] = (w) => h.value = !1)
40084
40084
  }, [
40085
- (K(!0), sl(ot, null, wl(n.value, (w) => (K(), nl(z(eZ), {
40085
+ (K(!0), sl(ot, null, El(n.value, (w) => (K(), nl(z(eZ), {
40086
40086
  id: w,
40087
40087
  onClose: (D) => Y(),
40088
40088
  closable: ""
@@ -40123,7 +40123,7 @@ const NO = { class: "ja-property-picker__dropdown" }, bO = { key: 0 }, rO = ["on
40123
40123
  var w;
40124
40124
  return [
40125
40125
  ((w = s.value) == null ? void 0 : w.length) ?? !1 ? (K(), sl("ul", bO, [
40126
- (K(!0), sl(ot, null, wl(s.value, (D, x) => (K(), sl("li", {
40126
+ (K(!0), sl(ot, null, El(s.value, (D, x) => (K(), sl("li", {
40127
40127
  key: D.id,
40128
40128
  onMouseenter: (f) => M(x),
40129
40129
  onClick: (f) => J(D),
@@ -40213,7 +40213,7 @@ const NO = { class: "ja-property-picker__dropdown" }, bO = { key: 0 }, rO = ["on
40213
40213
  }, {
40214
40214
  deep: !0
40215
40215
  });
40216
- const h = xl(() => {
40216
+ const h = Dl(() => {
40217
40217
  const { modelValue: o, ...W } = c;
40218
40218
  return W;
40219
40219
  });
@@ -40236,7 +40236,7 @@ const NO = { class: "ja-property-picker__dropdown" }, bO = { key: 0 }, rO = ["on
40236
40236
  "onUpdate:modelValue": W[0] || (W[0] = (V) => F.value = V),
40237
40237
  onChange: Z
40238
40238
  }, { ...h.value, ...o.$attrs }), Ce({ _: 2 }, [
40239
- wl(o.$slots, (V, Q) => ({
40239
+ El(o.$slots, (V, Q) => ({
40240
40240
  name: Q,
40241
40241
  fn: P(() => [
40242
40242
  dt(o.$slots, Q)
@@ -40269,7 +40269,7 @@ const NO = { class: "ja-property-picker__dropdown" }, bO = { key: 0 }, rO = ["on
40269
40269
  d.value = !1;
40270
40270
  }));
40271
40271
  }
40272
- const c = xl(() => l.multiple ? n.value.map((F) => F[l.keyField]) || [] : n.value[0] !== void 0 ? n.value[0][l.keyField] : ""), Z = (F) => {
40272
+ const c = Dl(() => l.multiple ? n.value.map((F) => F[l.keyField]) || [] : n.value[0] !== void 0 ? n.value[0][l.keyField] : ""), Z = (F) => {
40273
40273
  if (typeof F == "string") {
40274
40274
  const h = t.value.find((o) => o[l.keyField] === F);
40275
40275
  n.value = h ? [h] : [];
@@ -40286,7 +40286,7 @@ const NO = { class: "ja-property-picker__dropdown" }, bO = { key: 0 }, rO = ["on
40286
40286
  onChange: Z
40287
40287
  }, {
40288
40288
  default: P(() => [
40289
- (K(!0), sl(ot, null, wl(t.value, (W) => (K(), nl(z(dZ), {
40289
+ (K(!0), sl(ot, null, El(t.value, (W) => (K(), nl(z(dZ), {
40290
40290
  key: W.id,
40291
40291
  value: W[l.keyField],
40292
40292
  label: W.text
@@ -40688,7 +40688,7 @@ const xO = {
40688
40688
  emits: /* @__PURE__ */ Ol(["open", "closed"], ["update:modelValue"]),
40689
40689
  setup(e, { emit: l }) {
40690
40690
  iW.extend(wO), iW.locale("zh-cn");
40691
- const t = e, d = St(e, "modelValue"), n = Bl(), a = Cd(n), i = q(!1), s = xl(() => a.value || i.value), c = q(!1), Z = q(""), F = q(void 0), h = XY(n), o = YY(n), W = l, V = xl(() => {
40691
+ const t = e, d = St(e, "modelValue"), n = Bl(), a = Cd(n), i = q(!1), s = Dl(() => a.value || i.value), c = q(!1), Z = q(""), F = q(void 0), h = XY(n), o = YY(n), W = l, V = Dl(() => {
40692
40692
  var G, k;
40693
40693
  switch ((k = (G = F.value) == null ? void 0 : G.flowInstance) == null ? void 0 : k.state) {
40694
40694
  case 0:
@@ -40700,10 +40700,10 @@ const xO = {
40700
40700
  default:
40701
40701
  return "info";
40702
40702
  }
40703
- }), Q = xl(() => {
40703
+ }), Q = Dl(() => {
40704
40704
  var G, k;
40705
40705
  return ((G = F.value) == null ? void 0 : G.taskInstance) || !((k = F.value) != null && k.flowInstance);
40706
- }), u = xl(() => {
40706
+ }), u = Dl(() => {
40707
40707
  var k, I;
40708
40708
  if (!((I = (k = F.value) == null ? void 0 : k.flowInstance) != null && I.nodes)) return [];
40709
40709
  let G = [];
@@ -40909,7 +40909,7 @@ const xO = {
40909
40909
  al("div", cv, [
40910
40910
  u.value.length > 0 ? (K(), nl(z(ZB), { key: 0 }, {
40911
40911
  default: P(() => [
40912
- (K(!0), sl(ot, null, wl(u.value, (cl, il) => (K(), nl(z(FB), {
40912
+ (K(!0), sl(ot, null, El(u.value, (cl, il) => (K(), nl(z(FB), {
40913
40913
  key: il,
40914
40914
  timestamp: R(cl.finishTime),
40915
40915
  placement: "top"
@@ -41048,7 +41048,7 @@ const xO = {
41048
41048
  function rv(e) {
41049
41049
  e.directive("focus", Fu), e.directive("shortcut", Zu), e.directive("auth", IX);
41050
41050
  }
41051
- const hK = [
41051
+ const WK = [
41052
41052
  {
41053
41053
  text: "近一天",
41054
41054
  value: () => {
@@ -41099,7 +41099,7 @@ const hK = [
41099
41099
  }
41100
41100
  }
41101
41101
  ];
41102
- function oK(e) {
41102
+ function VK(e) {
41103
41103
  if (!e)
41104
41104
  throw new Error(
41105
41105
  "无法获取到应用名称,请确保VITE_APP_NAME环境变量已配置或者在创建时传入appName参数。"
@@ -41155,7 +41155,7 @@ function oK(e) {
41155
41155
  };
41156
41156
  }
41157
41157
  let IS = null, ZF;
41158
- function WK() {
41158
+ function QK() {
41159
41159
  return {
41160
41160
  async getDataTypes() {
41161
41161
  let e = IS;
@@ -41171,7 +41171,7 @@ function WK() {
41171
41171
  };
41172
41172
  }
41173
41173
  let DS = null, FF;
41174
- function VK() {
41174
+ function uK() {
41175
41175
  return {
41176
41176
  async getConstraintProviders() {
41177
41177
  let e = DS;
@@ -41188,7 +41188,7 @@ function VK() {
41188
41188
  }
41189
41189
  const UR = /* @__PURE__ */ new Map();
41190
41190
  let ZR = /* @__PURE__ */ new Map();
41191
- function QK() {
41191
+ function mK() {
41192
41192
  return {
41193
41193
  refreshFileConfigurationCache(e) {
41194
41194
  UR.delete(e);
@@ -41209,7 +41209,7 @@ function QK() {
41209
41209
  }
41210
41210
  const FR = /* @__PURE__ */ new Map();
41211
41211
  let hR = /* @__PURE__ */ new Map();
41212
- function uK() {
41212
+ function RK() {
41213
41213
  return {
41214
41214
  refreshNumberTemplatesCache(e) {
41215
41215
  FR.delete(e);
@@ -41230,7 +41230,7 @@ function uK() {
41230
41230
  }
41231
41231
  const oR = /* @__PURE__ */ new Map();
41232
41232
  let WR = /* @__PURE__ */ new Map();
41233
- function mK() {
41233
+ function NK() {
41234
41234
  return {
41235
41235
  refreshEntitiesCache(e) {
41236
41236
  oR.delete(e);
@@ -41249,7 +41249,33 @@ function mK() {
41249
41249
  }
41250
41250
  };
41251
41251
  }
41252
- const RK = {
41252
+ /*!
41253
+ * vue-router v5.0.1
41254
+ * (c) 2026 Eduardo San Martin Morote
41255
+ * @license MIT
41256
+ */
41257
+ Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
41258
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
41259
+ Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
41260
+ const pv = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
41261
+ Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
41262
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
41263
+ function Mv() {
41264
+ return ol(pv);
41265
+ }
41266
+ function bK(e) {
41267
+ const l = Mv(), t = q(!0), d = Dl(() => e.value === void 0);
41268
+ return {
41269
+ visible: Dl({
41270
+ get: () => d.value ? t.value : e.value,
41271
+ set: (a) => {
41272
+ d.value ? (t.value = a, a || l.back()) : e.value = a;
41273
+ }
41274
+ }),
41275
+ isRouteMode: d
41276
+ };
41277
+ }
41278
+ const rK = {
41253
41279
  install(e) {
41254
41280
  for (const [l, t] of Object.entries(bv))
41255
41281
  e.component(l, t);
@@ -41258,7 +41284,7 @@ const RK = {
41258
41284
  };
41259
41285
  export {
41260
41286
  Ix as AceTip,
41261
- RK as AceVueUI,
41287
+ rK as AceVueUI,
41262
41288
  Pj as JaAutocomplete,
41263
41289
  Tb as JaAvatar,
41264
41290
  yr as JaBaseRolePicker,
@@ -41309,25 +41335,26 @@ export {
41309
41335
  AX as SCROLL_BAR_WRAPPED_INJECT_KEY,
41310
41336
  jX as getAvatarToken,
41311
41337
  rv as installDirectives,
41312
- hK as shortcuts,
41338
+ WK as shortcuts,
41313
41339
  w3 as updateAvatarToken,
41314
41340
  Ch as useAppInstances,
41315
41341
  Dx as useBackendValidations,
41316
- oK as useBridge,
41317
- VK as useConstraintProviders,
41318
- mK as useEntities,
41319
- WK as useEntityPropDataTypes,
41320
- QK as useFileConfigurations,
41342
+ VK as useBridge,
41343
+ uK as useConstraintProviders,
41344
+ NK as useEntities,
41345
+ QK as useEntityPropDataTypes,
41346
+ mK as useFileConfigurations,
41321
41347
  Tg as useGroups,
41322
- uK as useNumberTemplates,
41348
+ RK as useNumberTemplates,
41323
41349
  RO as useProperties,
41324
41350
  Tr as useRealms,
41325
41351
  dO as useRoleCategories,
41326
41352
  oY as useRoles,
41353
+ bK as useRouteableVisible,
41327
41354
  WB as useSystemClassificationLevelMap,
41328
41355
  oB as useSystemClassificationLevels,
41329
41356
  oZ as useTreeData,
41330
- Gv as useUserClassificationLevel,
41331
- yv as useUserClassificationLevelMap,
41357
+ Xv as useUserClassificationLevel,
41358
+ Yv as useUserClassificationLevelMap,
41332
41359
  HX as useUserRefQuery
41333
41360
  };