ztxkutils 4.0.2 → 4.0.3

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.
@@ -56,5 +56,5 @@ export declare const IMPORT_IFRAME_PARENT_ORIGIN = "iframeParentOrigin";
56
56
  * @description 流程实例ID
57
57
  */
58
58
  export declare const WORKFLOW_PROCESS_INST_ID = "workflowProcessInstId";
59
- export declare const TOKEN_KEY = "Cicoms-Auth";
60
- export declare const BASIC_KEY = "cicoms";
59
+ export declare const TOKEN_KEY: any;
60
+ export declare const BASIC_KEY: any;
package/dist/constants.js CHANGED
@@ -59,7 +59,11 @@ var IMPORT_IFRAME_PARENT_ORIGIN = 'iframeParentOrigin';
59
59
  * @description 流程实例ID
60
60
  */
61
61
  var WORKFLOW_PROCESS_INST_ID = 'workflowProcessInstId';
62
- var TOKEN_KEY = 'Cicoms-Auth';
63
- var BASIC_KEY = 'cicoms';
62
+ // token key
63
+ // export const TOKEN_KEY = "Zmdms-Auth";
64
+ var TOKEN_KEY = window.__TOKEN_KEY__ || 'Cicoms-Auth';
65
+ // 基础前缀
66
+ // export const BASIC_KEY = "zmdms";
67
+ var BASIC_KEY = window.__BASIC_KEY__ || 'cicoms';
64
68
 
65
69
  export { BASIC_KEY, IFRAME_LOADED, IMPORT_IFRAME_PARENT_ORIGIN, TOKEN_KEY, WORKFLOW_EDIT, WORKFLOW_GET_HEIGHT, WORKFLOW_HIDEFRAME_KEY, WORKFLOW_PROCESS_INST_ID, WORKFLOW_RETURN_HEIGHT, WORKFLOW_RETURN_INSTID, WORKFLOW_REVIEW, WORKFLOW_SAVE_HANDLE, WORKFLOW_SAVE_INSTID, WORKFLOW_TOKEN, WORKFLOW_TRANSMIT_HANDLE, clientType, microPortalRoute };
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ export { d as authority } from './authority-7a91cb9f.js';
2
2
  export { d as dataModel } from './dataModel-1fbaff40.js';
3
3
  export { t as tools } from './tools-09a4d620.js';
4
4
  export { v as validate } from './validate-18e52490.js';
5
- export { r as request } from './request-a6274f1b.js';
5
+ export { r as request } from './request-6214089a.js';
6
6
  export { r as reqUrl } from './reqUrl-3792afcd.js';
7
7
  import './tslib.es6-35653116.js';
8
8
  import 'dayjs';