xframelib 1.1.6 → 1.1.8

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.
Files changed (105) hide show
  1. package/dist/assets/{worker-iconv-CMZuC2Hv.js → worker-iconv-DdzFBDtV.js} +14 -5
  2. package/dist/assets/{worker-webcache-BKTB6su-.js → worker-webcache-mElrmAWA.js} +2 -5
  3. package/dist/assets/{worker-xmath-AJHI50Iz.js → worker-xmath-Cm_voCMd.js} +2 -2
  4. package/dist/controls/FVMenu.vue.d.ts +36 -0
  5. package/dist/{src/controls → controls}/index.d.ts +2 -1
  6. package/dist/{src/controls → controls}/layoutcontainer/LayoutManager.d.ts +8 -8
  7. package/dist/{src/controls → controls}/xwindow/XWindow.vue.d.ts +2 -2
  8. package/dist/{src/directives → directives}/index.d.ts +3 -2
  9. package/dist/directives/tooltipDirective.d.ts +4 -0
  10. package/dist/index.cjs +1 -0
  11. package/dist/index.css +1 -1
  12. package/dist/{src/index.d.ts → index.d.ts} +3 -1
  13. package/dist/index.js +1 -1
  14. package/dist/{src/permission → permission}/right.d.ts +2 -4
  15. package/dist/{src/plugins → plugins}/NavigatorPlugin.d.ts +1 -0
  16. package/dist/{src/utils → utils}/Storage.d.ts +2 -0
  17. package/dist/workers/index.d.ts +16 -0
  18. package/package.json +88 -76
  19. package/dist/src/workers/index.d.ts +0 -13
  20. /package/dist/{src/api → api}/Token.d.ts +0 -0
  21. /package/dist/{src/api → api}/User.d.ts +0 -0
  22. /package/dist/{src/api → api}/index.d.ts +0 -0
  23. /package/dist/{src/controls → controls}/ADivider.vue.d.ts +0 -0
  24. /package/dist/{src/controls → controls}/ScaleContainer/index.vue.d.ts +0 -0
  25. /package/dist/{src/controls → controls}/ScrollSnapContainer/index.vue.d.ts +0 -0
  26. /package/dist/{src/controls → controls}/layoutcontainer/index.d.ts +0 -0
  27. /package/dist/{src/controls → controls}/layoutcontainer/layout.vue.d.ts +0 -0
  28. /package/dist/{src/controls → controls}/popover/index.vue.d.ts +0 -0
  29. /package/dist/{src/controls → controls}/routertransition/RouterTransition.vue.d.ts +0 -0
  30. /package/dist/{src/controls → controls}/routertransition/RouterTransitionAnimate.vue.d.ts +0 -0
  31. /package/dist/{src/controls → controls}/routertransition/SuspenseWithError.vue.d.ts +0 -0
  32. /package/dist/{src/controls → controls}/routertransition/index.d.ts +0 -0
  33. /package/dist/{src/controls → controls}/splitpanes/index.d.ts +0 -0
  34. /package/dist/{src/controls → controls}/splitpanes/pane.vue.d.ts +0 -0
  35. /package/dist/{src/controls → controls}/splitpanes/splitpanes.vue.d.ts +0 -0
  36. /package/dist/{src/controls → controls}/xwindow/XWindowManager.d.ts +0 -0
  37. /package/dist/{src/controls → controls}/xwindow/index.d.ts +0 -0
  38. /package/dist/{src/core → core}/Global.d.ts +0 -0
  39. /package/dist/{src/core → core}/IModel.d.ts +0 -0
  40. /package/dist/{src/core → core}/Init.d.ts +0 -0
  41. /package/dist/{src/core → core}/MsgHelper.d.ts +0 -0
  42. /package/dist/{src/core → core}/SysEvents.d.ts +0 -0
  43. /package/dist/{src/core → core}/index.d.ts +0 -0
  44. /package/dist/{src/directives → directives}/dbClickDirective.d.ts +0 -0
  45. /package/dist/{src/directives → directives}/dragDirective.d.ts +0 -0
  46. /package/dist/{src/directives → directives}/mediaDirective.d.ts +0 -0
  47. /package/dist/{src/directives → directives}/repeatClickDirective.d.ts +0 -0
  48. /package/dist/{src/directives → directives}/wowDirective.d.ts +0 -0
  49. /package/dist/{src/hprose → hprose}/HproseClient.d.ts +0 -0
  50. /package/dist/{src/hprose → hprose}/HproseIO.d.ts +0 -0
  51. /package/dist/{src/hprose → hprose}/ProxyClient.d.ts +0 -0
  52. /package/dist/{src/hprose → hprose}/index.d.ts +0 -0
  53. /package/dist/{src/mitt → mitt}/index.d.ts +0 -0
  54. /package/dist/{src/model → model}/Config.d.ts +0 -0
  55. /package/dist/{src/model → model}/Constants.d.ts +0 -0
  56. /package/dist/{src/model → model}/IModalModels.d.ts +0 -0
  57. /package/dist/{src/model → model}/IRole.d.ts +0 -0
  58. /package/dist/{src/model → model}/ITypes.d.ts +0 -0
  59. /package/dist/{src/model → model}/IUserModel.d.ts +0 -0
  60. /package/dist/{src/model → model}/IWidgetMenu.d.ts +0 -0
  61. /package/dist/{src/model → model}/Layout.d.ts +0 -0
  62. /package/dist/{src/model → model}/index.d.ts +0 -0
  63. /package/dist/{src/permission → permission}/RoleSysRightHelper.d.ts +0 -0
  64. /package/dist/{src/permission → permission}/filter.d.ts +0 -0
  65. /package/dist/{src/permission → permission}/index.d.ts +0 -0
  66. /package/dist/{src/permission → permission}/register.d.ts +0 -0
  67. /package/dist/{src/plugins → plugins}/index.d.ts +0 -0
  68. /package/dist/{src/utils → utils}/AutoUpdate.d.ts +0 -0
  69. /package/dist/{src/utils → utils}/AxiosHelper.d.ts +0 -0
  70. /package/dist/{src/utils → utils}/BigFileDownload.d.ts +0 -0
  71. /package/dist/{src/utils → utils}/CodeHelper.d.ts +0 -0
  72. /package/dist/{src/utils → utils}/Color.d.ts +0 -0
  73. /package/dist/{src/utils → utils}/CommonTool.d.ts +0 -0
  74. /package/dist/{src/utils → utils}/DayjsTool.d.ts +0 -0
  75. /package/dist/{src/utils → utils}/FetchHelper.d.ts +0 -0
  76. /package/dist/{src/utils → utils}/FileDownload.d.ts +0 -0
  77. /package/dist/{src/utils → utils}/FileUpload.d.ts +0 -0
  78. /package/dist/{src/utils → utils}/FileUpload_/346/227/247.d.ts" +0 -0
  79. /package/dist/{src/utils → utils}/FilenameUtils.d.ts +0 -0
  80. /package/dist/{src/utils → utils}/GzipTool.d.ts +0 -0
  81. /package/dist/{src/utils → utils}/H5Tool.d.ts +0 -0
  82. /package/dist/{src/utils → utils}/IsTool.d.ts +0 -0
  83. /package/dist/{src/utils → utils}/JQuery.d.ts +0 -0
  84. /package/dist/{src/utils → utils}/LocalForageHelper.d.ts +0 -0
  85. /package/dist/{src/utils → utils}/LockHelper.d.ts +0 -0
  86. /package/dist/{src/utils → utils}/RouterURLTool.d.ts +0 -0
  87. /package/dist/{src/utils → utils}/Screen.d.ts +0 -0
  88. /package/dist/{src/utils → utils}/SignalrClient.d.ts +0 -0
  89. /package/dist/{src/utils → utils}/StringUtils.d.ts +0 -0
  90. /package/dist/{src/utils → utils}/Time.d.ts +0 -0
  91. /package/dist/{src/utils → utils}/TokenHelper.d.ts +0 -0
  92. /package/dist/{src/utils → utils}/ValidateTool.d.ts +0 -0
  93. /package/dist/{src/utils → utils}/WarGridTool.d.ts +0 -0
  94. /package/dist/{src/utils → utils}/WaterMark.d.ts +0 -0
  95. /package/dist/{src/utils → utils}/WebCacheTool.d.ts +0 -0
  96. /package/dist/{src/utils → utils}/WidgetsTool.d.ts +0 -0
  97. /package/dist/{src/utils → utils}/XXTEA.d.ts +0 -0
  98. /package/dist/{src/utils → utils}/ZipTool.d.ts +0 -0
  99. /package/dist/{src/utils → utils}/index.d.ts +0 -0
  100. /package/dist/{src/utils → utils}/uuid.d.ts +0 -0
  101. /package/dist/{src/workers → workers}/worker-iconv.d.ts +0 -0
  102. /package/dist/{src/workers → workers}/worker-webcache.d.ts +0 -0
  103. /package/dist/{src/workers → workers}/worker-xmath.d.ts +0 -0
  104. /package/dist/{src/workerservice → workerservice}/frontWorker.d.ts +0 -0
  105. /package/dist/{src/workerservice → workerservice}/index.d.ts +0 -0
@@ -1,4 +1,11 @@
1
- var e = Object.create, t = Object.defineProperty, r = Object.getOwnPropertyDescriptor, n = Object.getOwnPropertyNames, i = Object.getPrototypeOf, o = Object.prototype.hasOwnProperty, s = (e, t) => () => (e && (t = e(e = 0)), t), a = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, r) => {
1
+ var e = Object.create, t = Object.defineProperty, r = Object.getOwnPropertyDescriptor, n = Object.getOwnPropertyNames, i = Object.getPrototypeOf, o = Object.prototype.hasOwnProperty, s = (e, t, r) => () => {
2
+ if (r) throw r[0];
3
+ try {
4
+ return e && (t = e(e = 0)), t;
5
+ } catch (e) {
6
+ throw r = [e], e;
7
+ }
8
+ }, a = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, r) => {
2
9
  let n = {};
3
10
  for (var i in e) t(n, i, {
4
11
  get: e[i],
@@ -16,7 +23,7 @@ var e = Object.create, t = Object.defineProperty, r = Object.getOwnPropertyDescr
16
23
  * @license
17
24
  * Copyright 2019 Google LLC
18
25
  * SPDX-License-Identifier: Apache-2.0
19
- */ const h = Symbol("Comlink.proxy"), l = Symbol("Comlink.endpoint"), d = Symbol("Comlink.releaseProxy"), p = Symbol("Comlink.finalizer"), b = Symbol("Comlink.thrown"), g = (e) => "object" == typeof e && null !== e || "function" == typeof e, y = new Map([["proxy", {
26
+ */ const h = Symbol("Comlink.proxy"), l = Symbol("Comlink.endpoint"), d = Symbol("Comlink.releaseProxy"), p = Symbol("Comlink.finalizer"), b = Symbol("Comlink.thrown"), g = (e) => "object" == typeof e && null !== e || "function" == typeof e, y = /* @__PURE__ */ new Map([["proxy", {
20
27
  canHandle: (e) => g(e) && e[h],
21
28
  serialize(e) {
22
29
  const { port1: t, port2: r } = new MessageChannel();
@@ -1350,7 +1357,7 @@ for (var I, x, k, C, M, U, j, N, P, D, F = a((e) => {
1350
1357
  type: "_utf32",
1351
1358
  isLE: !1
1352
1359
  }, e.ucs4le = "utf32le", e.ucs4be = "utf32be", r.prototype.encoder = n, r.prototype.decoder = i, n.prototype.write = function(e) {
1353
- for (var r = t.from(e, "ucs2"), n = t.alloc(2 * r.length), i = this.isLE ? n.writeUInt32LE : n.writeUInt32BE, o = 0, s = 0; s < r.length; s += 2) {
1360
+ for (var r = t.from(e, "ucs2"), n = t.alloc(2 * r.length + 4), i = this.isLE ? n.writeUInt32LE : n.writeUInt32BE, o = 0, s = 0; s < r.length; s += 2) {
1354
1361
  var a = r.readUInt16LE(s), c = a >= 55296 && a < 56320, f = a >= 56320 && a < 57344;
1355
1362
  if (this.highSurrogate) {
1356
1363
  if (!c && f) {
@@ -1373,13 +1380,13 @@ for (var I, x, k, C, M, U, j, N, P, D, F = a((e) => {
1373
1380
  var r = 0, n = 0, i = t.alloc(e.length + 4), s = 0, a = this.isLE, c = this.overflow, f = this.badChar;
1374
1381
  if (c.length > 0) {
1375
1382
  for (; r < e.length && c.length < 4; r++) c.push(e[r]);
1376
- 4 === c.length && (n = a ? c[r] | c[r + 1] << 8 | c[r + 2] << 16 | c[r + 3] << 24 : c[r + 3] | c[r + 2] << 8 | c[r + 1] << 16 | c[r] << 24, c.length = 0, s = o(i, s, n, f));
1383
+ 4 === c.length && (n = a ? c[0] | c[1] << 8 | c[2] << 16 | c[3] << 24 : c[3] | c[2] << 8 | c[1] << 16 | c[0] << 24, c.length = 0, s = o(i, s, n, f));
1377
1384
  }
1378
1385
  for (; r < e.length - 3; r += 4) s = o(i, s, n = a ? e[r] | e[r + 1] << 8 | e[r + 2] << 16 | e[r + 3] << 24 : e[r + 3] | e[r + 2] << 8 | e[r + 1] << 16 | e[r] << 24, f);
1379
1386
  for (; r < e.length; r++) c.push(e[r]);
1380
1387
  return i.slice(0, s).toString("ucs2");
1381
1388
  }, i.prototype.end = function() {
1382
- this.overflow.length = 0;
1389
+ if (0 !== this.overflow.length) return this.overflow.length = 0, String.fromCharCode(this.badChar);
1383
1390
  }, e.utf32 = s, e.ucs4 = "utf32", s.prototype.encoder = a, s.prototype.decoder = c, a.prototype.write = function(e) {
1384
1391
  return this.encoder.write(e);
1385
1392
  }, a.prototype.end = function() {
@@ -1665,6 +1672,8 @@ for (var I, x, k, C, M, U, j, N, P, D, F = a((e) => {
1665
1672
  elot928: "iso88597",
1666
1673
  hebrew: "iso88598",
1667
1674
  hebrew8: "iso88598",
1675
+ iso88598i: "iso88598",
1676
+ iso88598e: "iso88598",
1668
1677
  turkish: "iso88599",
1669
1678
  turkish8: "iso88599",
1670
1679
  thai: "iso885911",
@@ -3,7 +3,7 @@ var t = Object.defineProperty;
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: Apache-2.0
6
- */ const e = Symbol("Comlink.proxy"), i = Symbol("Comlink.endpoint"), s = Symbol("Comlink.releaseProxy"), h = Symbol("Comlink.finalizer"), n = Symbol("Comlink.thrown"), r = (t) => "object" == typeof t && null !== t || "function" == typeof t, o = new Map([["proxy", {
6
+ */ const e = Symbol("Comlink.proxy"), i = Symbol("Comlink.endpoint"), s = Symbol("Comlink.releaseProxy"), h = Symbol("Comlink.finalizer"), n = Symbol("Comlink.thrown"), r = (t) => "object" == typeof t && null !== t || "function" == typeof t, o = /* @__PURE__ */ new Map([["proxy", {
7
7
  canHandle: (t) => r(t) && t[e],
8
8
  serialize(t) {
9
9
  const { port1: e, port2: i } = new MessageChannel();
@@ -922,10 +922,7 @@ async function L(t, e, i = "") {
922
922
  }
923
923
  async function G(t, e = "") {
924
924
  const i = await M(e);
925
- if (i) {
926
- const e = C.get(t, i);
927
- return console.log("666000", t, e), e;
928
- }
925
+ if (i) return C.get(t, i);
929
926
  }
930
927
  async function U(t, e = "") {
931
928
  const i = await M(e);
@@ -3,7 +3,7 @@ var e = Object.defineProperty;
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: Apache-2.0
6
- */ const r = Symbol("Comlink.proxy"), t = Symbol("Comlink.endpoint"), n = Symbol("Comlink.releaseProxy"), a = Symbol("Comlink.finalizer"), o = Symbol("Comlink.thrown"), i = (e) => "object" == typeof e && null !== e || "function" == typeof e, s = new Map([["proxy", {
6
+ */ const r = Symbol("Comlink.proxy"), t = Symbol("Comlink.endpoint"), n = Symbol("Comlink.releaseProxy"), a = Symbol("Comlink.finalizer"), o = Symbol("Comlink.thrown"), i = (e) => "object" == typeof e && null !== e || "function" == typeof e, s = /* @__PURE__ */ new Map([["proxy", {
7
7
  canHandle: (e) => i(e) && e[r],
8
8
  serialize(e) {
9
9
  const { port1: r, port2: t } = new MessageChannel();
@@ -241,7 +241,7 @@ function A(e, r, t, n, a, o) {
241
241
  }
242
242
  function T(e) {
243
243
  if (e.length < 16) {
244
- var r = new Uint8Array(16);
244
+ var r = /* @__PURE__ */ new Uint8Array(16);
245
245
  r.set(e), e = r;
246
246
  }
247
247
  return e;
@@ -0,0 +1,36 @@
1
+ declare var __VLS_1: {}, __VLS_3: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ popper?: (props: typeof __VLS_3) => any;
6
+ };
7
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ placement: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ shown: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ placement: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ shown: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ placement: string;
27
+ shown: boolean;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -3,4 +3,5 @@ import { Splitpanes, Pane } from './splitpanes';
3
3
  import { default as Popover } from './popover/index.vue';
4
4
  import { default as ScaleContainer } from './ScaleContainer/index.vue';
5
5
  import { default as ScrollSnapContainer } from './ScrollSnapContainer/index.vue';
6
- export { ADivider, Splitpanes, Pane, Popover, ScaleContainer, ScrollSnapContainer };
6
+ import { default as FVMenu } from './FVMenu.vue';
7
+ export { ADivider, Splitpanes, Pane, Popover, ScaleContainer, ScrollSnapContainer, FVMenu };
@@ -4,13 +4,13 @@ import { IWidgetConfig, LayoutContainerEnum } from '../../model/Layout';
4
4
  * 布局对象定义
5
5
  */
6
6
  export interface ILayoutContainer {
7
- topContainer: Ref<HTMLElement | undefined>;
8
- centerBackContainer: Ref<HTMLElement | undefined>;
9
- centerMainContainer: Ref<HTMLElement | undefined>;
10
- centerFrontContainer: Ref<HTMLElement | undefined>;
11
- bottomContainer: Ref<HTMLElement | undefined>;
12
- leftContainer: Ref<HTMLElement | undefined>;
13
- rightContainer: Ref<HTMLElement | undefined>;
7
+ topContainer: Ref<HTMLElement | null>;
8
+ centerBackContainer: Ref<HTMLElement | null>;
9
+ centerMainContainer: Ref<HTMLElement | null>;
10
+ centerFrontContainer: Ref<HTMLElement | null>;
11
+ bottomContainer: Ref<HTMLElement | null>;
12
+ leftContainer: Ref<HTMLElement | null>;
13
+ rightContainer: Ref<HTMLElement | null>;
14
14
  }
15
15
  export declare class LayoutManager {
16
16
  private layoutState;
@@ -74,7 +74,7 @@ export declare class LayoutManager {
74
74
  * @param enumContainer
75
75
  * @returns
76
76
  */
77
- getLayoutContainer(enumContainer: LayoutContainerEnum): HTMLElement | undefined;
77
+ getLayoutContainer(enumContainer: LayoutContainerEnum): HTMLElement | null;
78
78
  /**
79
79
  * 改变容器可见性
80
80
  * @param enumContainer
@@ -63,7 +63,7 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
63
63
  default: string;
64
64
  };
65
65
  tag: {
66
- type: (StringConstructor | ObjectConstructor | ArrayConstructor | NumberConstructor)[];
66
+ type: (StringConstructor | ArrayConstructor | ObjectConstructor | NumberConstructor)[];
67
67
  default: string;
68
68
  };
69
69
  right: {
@@ -139,7 +139,7 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
139
139
  default: string;
140
140
  };
141
141
  tag: {
142
- type: (StringConstructor | ObjectConstructor | ArrayConstructor | NumberConstructor)[];
142
+ type: (StringConstructor | ArrayConstructor | ObjectConstructor | NumberConstructor)[];
143
143
  default: string;
144
144
  };
145
145
  right: {
@@ -3,5 +3,6 @@ import { default as doubleClickDirective, setupDCDirective } from './dbClickDire
3
3
  import { default as repeatDirective, setupRepeatDirective } from './repeatClickDirective';
4
4
  import { default as wowDirective, setupWowDirective } from './wowDirective';
5
5
  import { default as mediaDirective, setupmediaDirective } from './mediaDirective';
6
- export { wowDirective, setupWowDirective, repeatDirective, setupRepeatDirective, dragDirective, setupDragDirective, doubleClickDirective, setupDCDirective, mediaDirective, setupmediaDirective };
7
- export default function setupDirectives(app: any): void;
6
+ import { default as tooltipDirective, setupTooltipDirective } from './tooltipDirective';
7
+ declare function setupDirectives(app: any): void;
8
+ export { setupDirectives, wowDirective, setupWowDirective, repeatDirective, setupRepeatDirective, dragDirective, setupDragDirective, doubleClickDirective, setupDCDirective, mediaDirective, setupmediaDirective, tooltipDirective, setupTooltipDirective };
@@ -0,0 +1,4 @@
1
+ import { App, Directive } from 'vue';
2
+ declare const tooltipDirective: Directive;
3
+ export declare function setupTooltipDirective(app: App): void;
4
+ export default tooltipDirective;