@das-fed/utils 1.0.9 → 6.3.0-beta.1

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 (103) hide show
  1. package/api-services/index.d.ts +2 -1
  2. package/api-services/index.js +3 -2
  3. package/api-services/modules/app-manage.js +1 -1
  4. package/api-services/modules/authentication.js +1 -1
  5. package/api-services/modules/bems.js +1 -1
  6. package/api-services/modules/contract.js +1 -1
  7. package/api-services/modules/duty-manage.js +1 -1
  8. package/api-services/modules/enterpriseright.js +1 -1
  9. package/api-services/modules/file.d.ts +1 -1
  10. package/api-services/modules/file.js +355 -342
  11. package/api-services/modules/gateway-edge.js +1 -1
  12. package/api-services/modules/iot.js +1 -1
  13. package/api-services/modules/justauth.js +1 -1
  14. package/api-services/modules/knowledge.js +1 -1
  15. package/api-services/modules/link.js +1 -1
  16. package/api-services/modules/permission.js +1 -1
  17. package/api-services/modules/platformManage.js +1 -1
  18. package/api-services/modules/portal.js +1 -1
  19. package/api-services/modules/space-manage.js +1 -1
  20. package/api-services/modules/super-admin.js +1 -1
  21. package/api-services/modules/supplier.js +1 -1
  22. package/api-services/modules/supplychain-manage.js +1 -1
  23. package/api-services/modules/systemConfiguration.js +1 -1
  24. package/api-services/modules/tool.js +1 -1
  25. package/api-services/src/create-service.d.ts +1 -1
  26. package/api-services/src/create-service.js +2 -3234
  27. package/common-info/{setInfoFromUrl.d.ts → getInfoFromUrl.d.ts} +1 -1
  28. package/common-info/{setInfoFromUrl.js → getInfoFromUrl.js} +26 -29
  29. package/common-info/index.d.ts +17 -6
  30. package/common-info/index.js +82 -131
  31. package/{api-services/src/sso.js → common-info/set-personal-info.js} +754 -667
  32. package/common-tools/get-url-params.d.ts +21 -8
  33. package/common-tools/get-url-params.js +26 -15
  34. package/common-tools/index.d.ts +2 -0
  35. package/common-tools/index.js +2 -0
  36. package/common-tools/obj-tools.d.ts +1 -1
  37. package/common-tools/platform-tools.d.ts +18 -0
  38. package/common-tools/platform-tools.js +15 -0
  39. package/common-tools/setHtmlMinWH.js +8 -4
  40. package/common-tools/update-fav-icon.d.ts +10 -0
  41. package/common-tools/update-fav-icon.js +22 -0
  42. package/create-api-service/index.d.ts +1 -0
  43. package/create-api-service/index.js +3492 -0
  44. package/create-api-service/proxy-sso.d.ts +3 -0
  45. package/create-api-service/proxy-sso.js +21 -0
  46. package/create-api-service/sso.d.ts +23 -0
  47. package/create-api-service/sso.js +1969 -0
  48. package/curring-http/index.d.ts +3 -2
  49. package/curring-http/index.js +2872 -2662
  50. package/dimple-canvas/index.d.ts +1 -0
  51. package/dimple-canvas/use-dimple-canvas/core/antv-x6/index.d.ts +1 -0
  52. package/dimple-canvas/use-dimple-canvas/core/antv-x6/index.js +2244 -2265
  53. package/dimple-canvas/use-dimple-canvas/core/konva/index.d.ts +4 -3
  54. package/dimple-canvas/use-dimple-canvas/core/konva/utils/add-object/index.d.ts +2 -1
  55. package/dimple-canvas/use-dimple-canvas/core/konva/utils/find.d.ts +2 -1
  56. package/dimple-canvas/use-dimple-canvas/core/konva/utils/guideline.d.ts +2 -1
  57. package/dimple-canvas/use-dimple-canvas/core/konva/utils/lib.d.ts +2 -1
  58. package/dimple-canvas/use-dimple-canvas/core/konva/utils/lib.js +1079 -1051
  59. package/dimple-canvas/use-dimple-canvas/core/konva/utils/remove-object.d.ts +2 -1
  60. package/dimple-canvas/use-dimple-canvas/core/konva/utils/transform-axis.d.ts +3 -2
  61. package/dimple-canvas/use-dimple-canvas/core/konva/utils/transformer.d.ts +2 -1
  62. package/dimple-canvas/use-dimple-canvas/index.d.ts +2 -1
  63. package/directive/auth.js +21 -21
  64. package/directive/clickOutside.d.ts +3 -2
  65. package/directive/hoverInside.d.ts +2 -1
  66. package/dom-check-in/index.js +5 -5
  67. package/hooks/popup-manager/use-zindex.js +8 -8
  68. package/hooks/use-get-auth/apis.d.ts +4 -0
  69. package/hooks/use-get-auth/apis.js +8 -0
  70. package/hooks/use-get-auth/index.d.ts +9 -0
  71. package/hooks/use-get-auth/index.js +57 -0
  72. package/nextTiken/index.d.ts +3 -4
  73. package/nextTiken/index.js +34 -46
  74. package/package.json +7 -4
  75. package/pinyin-first-character/index.js +19792 -20877
  76. package/process-engine-info/index.d.ts +5 -2
  77. package/process-engine-info/index.js +11 -6
  78. package/style/index.js +1 -1
  79. package/style/style.d.ts +2 -1
  80. package/style/style.js +1 -1
  81. package/token-tools/index.d.ts +10 -7
  82. package/token-tools/index.js +44 -59
  83. package/use-low-code/index.d.ts +1 -0
  84. package/use-low-code/index.js +70 -0
  85. package/use-low-code/low-code-iframe.vue.d.ts +2 -0
  86. package/use-low-code/style.css +1 -0
  87. package/webSocket-service/index.d.ts +2 -1
  88. package/with-install/index.d.ts +2 -1
  89. package/api-services/src/sso.d.ts +0 -29
  90. package/api-services/src/util.d.ts +0 -1
  91. package/api-services/src/util.js +0 -1466
  92. package/common-info/set-common-info.d.ts +0 -45
  93. package/common-info/set-common-info.js +0 -103
  94. package/common-tools/throttled.d.ts +0 -7
  95. package/common-tools/throttled.js +0 -10
  96. package/micro-app/globalData.d.ts +0 -3
  97. package/micro-app/globalData.js +0 -11
  98. package/micro-app/index.d.ts +0 -5
  99. package/micro-app/index.js +0 -3699
  100. package/panel/index.d.ts +0 -31
  101. package/panel/index.js +0 -37
  102. package/set-personal-info/index.js +0 -1468
  103. /package/{set-personal-info/index.d.ts → common-info/set-personal-info.d.ts} +0 -0
@@ -1,5 +1,6 @@
1
1
  import { Konva } from '@das-fed/utils/dimple-canvas/use-dimple-canvas/core/konva/utils/lib';
2
- import type { ObjectType, ObjectConfig } from '../type';
2
+ import { ObjectType, ObjectConfig } from '../type';
3
+
3
4
  declare const useKonva: () => {
4
5
  canvasContainerEl: any;
5
6
  canvas: any;
@@ -17,10 +18,10 @@ declare const useKonva: () => {
17
18
  target: any;
18
19
  type: string;
19
20
  data: {
20
- [key: string]: any;
21
21
  setHoverImage?: (src?: string) => void;
22
22
  setActiveImage?: (src?: string) => void;
23
23
  setDisabledImage?: (src?: string) => void;
24
+ [key: string]: any;
24
25
  };
25
26
  }) => void) => void;
26
27
  changeImageSrc: (imageKey: string, payload: string | {
@@ -34,9 +35,9 @@ declare const useKonva: () => {
34
35
  loadJSON: (json?: any, config?: any) => void;
35
36
  remove: () => void;
36
37
  transformAxis: (coordinate: {
37
- [key: string]: any;
38
38
  x: number;
39
39
  y: number;
40
+ [key: string]: any;
40
41
  }) => any;
41
42
  setDisabled: () => void;
42
43
  showRule: (options?: {
@@ -1,4 +1,5 @@
1
- import type { Canvas, Layer, ObjectConfig } from '@das-fed/utils/dimple-canvas/use-dimple-canvas/core/type';
1
+ import { Canvas, Layer, ObjectConfig } from '@das-fed/utils/dimple-canvas/use-dimple-canvas/core/type';
2
+
2
3
  declare const addObject: (type: ObjectType, options: {
3
4
  canvas?: Canvas | null;
4
5
  layer?: Layer | null;
@@ -1,4 +1,5 @@
1
- import type { Canvas } from '@das-fed/utils/dimple-canvas/use-dimple-canvas/core/type';
1
+ import { Canvas } from '@das-fed/utils/dimple-canvas/use-dimple-canvas/core/type';
2
+
2
3
  declare const findOne: (canvas: Canvas | null | undefined, key: string) => any;
3
4
  declare const findObject: (canvas: Canvas | null | undefined, type: ObjectType) => any;
4
5
  export { findOne, findObject };
@@ -1,4 +1,5 @@
1
- import type { Canvas, Layer } from '@das-fed/utils/dimple-canvas/use-dimple-canvas/core/type';
1
+ import { Canvas, Layer } from '@das-fed/utils/dimple-canvas/use-dimple-canvas/core/type';
2
+
2
3
  declare const initGuideline: (canvas?: Canvas | null, layer?: Layer | null) => void;
3
4
  declare const removeGuideline: (layer?: Layer | null) => void;
4
5
  export { initGuideline, removeGuideline };
@@ -1,3 +1,4 @@
1
- import Konva from 'konva';
1
+ import { default as Konva } from 'konva';
2
+
2
3
  /** 由于该库需要全局唯一命名空间,只能import一次 */
3
4
  export { Konva };