yxuse 2.0.35 → 2.0.37

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 (80) hide show
  1. package/README.md +75 -54
  2. package/lib/dayjs.min.es.js.gz +0 -0
  3. package/lib/index.cjs.js.map +1 -1
  4. package/lib/index.cjs10.js.map +1 -1
  5. package/lib/index.cjs11.js.map +1 -1
  6. package/lib/index.cjs12.js +1 -1
  7. package/lib/index.cjs12.js.gz +0 -0
  8. package/lib/index.cjs12.js.map +1 -1
  9. package/lib/index.cjs13.js.map +1 -1
  10. package/lib/index.cjs2.js +1 -1
  11. package/lib/index.cjs2.js.map +1 -1
  12. package/lib/index.cjs3.js.map +1 -1
  13. package/lib/index.cjs4.js.map +1 -1
  14. package/lib/index.cjs5.js +3 -3
  15. package/lib/index.cjs5.js.gz +0 -0
  16. package/lib/index.cjs5.js.map +1 -1
  17. package/lib/index.cjs6.js +1 -1
  18. package/lib/index.cjs6.js.gz +0 -0
  19. package/lib/index.cjs6.js.map +1 -1
  20. package/lib/index.cjs7.js.gz +0 -0
  21. package/lib/index.cjs7.js.map +1 -1
  22. package/lib/index.cjs8.js.map +1 -1
  23. package/lib/index.es.js.map +1 -1
  24. package/lib/index.es10.js.map +1 -1
  25. package/lib/index.es11.js.map +1 -1
  26. package/lib/index.es12.js +7 -3
  27. package/lib/index.es12.js.gz +0 -0
  28. package/lib/index.es12.js.map +1 -1
  29. package/lib/index.es13.js.map +1 -1
  30. package/lib/index.es2.js +2 -1
  31. package/lib/index.es2.js.map +1 -1
  32. package/lib/index.es3.js.map +1 -1
  33. package/lib/index.es4.js.map +1 -1
  34. package/lib/index.es5.js +21 -17
  35. package/lib/index.es5.js.gz +0 -0
  36. package/lib/index.es5.js.map +1 -1
  37. package/lib/index.es6.js +16 -7
  38. package/lib/index.es6.js.gz +0 -0
  39. package/lib/index.es6.js.map +1 -1
  40. package/lib/index.es7.js.gz +0 -0
  41. package/lib/index.es7.js.map +1 -1
  42. package/lib/index.es8.js.map +1 -1
  43. package/lib/mqtt.min.cjs.js +1 -1
  44. package/lib/mqtt.min.cjs.js.gz +0 -0
  45. package/lib/mqtt.min.cjs.js.map +1 -1
  46. package/lib/mqtt.min.es.js +6 -2
  47. package/lib/mqtt.min.es.js.gz +0 -0
  48. package/lib/mqtt.min.es.js.map +1 -1
  49. package/lib/style.css +1 -1
  50. package/lib/style.css.gz +0 -0
  51. package/lib/utils.cjs.js +1 -1
  52. package/lib/utils.es.js +3 -2
  53. package/lib/version.json +12 -12
  54. package/lib/vue.runtime.esm-bundler.cjs.js.gz +0 -0
  55. package/lib/vue.runtime.esm-bundler.es.js.gz +0 -0
  56. package/package.json +176 -176
  57. package/types/api/modules/auth/index.d.ts +13 -13
  58. package/types/bc/index.d.ts +7 -0
  59. package/types/components/LogoTitle/index.vue.d.ts +9 -0
  60. package/types/components/LogoTitle/type.d.ts +4 -0
  61. package/types/components/SearchForm/index.d.ts +3 -3
  62. package/types/components/SearchForm/index.vue.d.ts +2 -2
  63. package/types/components/YxForm/form.type.d.ts +183 -183
  64. package/types/components/YxForm/form.vaildator.d.ts +57 -57
  65. package/types/components/YxForm/form.vue.d.ts +66 -66
  66. package/types/components/YxFormV2/index.d.ts +3 -3
  67. package/types/components/YxFormV2/index.vue.d.ts +46 -46
  68. package/types/components/YxFormV2/type.d.ts +54 -54
  69. package/types/components/YxFrom/form.type.d.ts +179 -179
  70. package/types/components/YxFrom/form.vaildator.d.ts +57 -57
  71. package/types/components/YxFrom/form.vue.d.ts +66 -66
  72. package/types/components/YxFrom/index.d.ts +3 -3
  73. package/types/components/YxIcon/index.vue.d.ts +22 -22
  74. package/types/components/YxTable/index.vue.d.ts +2 -2
  75. package/types/components/YxTable/type.d.ts +5 -1
  76. package/types/components/YxTable3/index.d.ts +1 -1
  77. package/types/components/YxTable3/src/index.d.ts +31 -31
  78. package/types/icons/index.d.ts +1 -1
  79. package/types/icons/src/index.d.ts +4 -4
  80. package/types/utils/common/index.d.ts +5 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs8.js","sources":["../packages/directives/modules/auth.ts","../packages/directives/index.ts"],"sourcesContent":["/*\n * @Author: WangXin\n * @Date: 2023-09-15 10:33:59\n * @LastEditors: WangXin\n * @LastEditTime: 2023-09-15 10:37:28\n * @FilePath: \\yxUse\\packages\\directives\\modules\\auth.ts\n * @Description:\n *\n * Copyright (c) 2023 by YuXing, All Rights Reserved.\n */\nimport type { Directive, DirectiveBinding } from \"vue\";\nimport { getUserIsHaveBtnPower } from \"@packages/api/auth\";\nconst auth: Directive = {\n\tmounted(el, binding) {\n\t\tcontrolShowByUserPower(el, binding);\n\t}\n};\nconst controlShowByUserPower = (el: HTMLElement, binding: DirectiveBinding) => {\n\tconst value = binding.value as never;\n\treturn !getUserIsHaveBtnPower(value) ? el.remove() : \"\";\n};\nexport default auth;\n","/*\n * @Author: WangXin\n * @Date: 2023-09-15 10:33:40\n * @LastEditors: WangXin\n * @LastEditTime: 2023-09-15 10:35:52\n * @FilePath: \\yxUse\\packages\\directives\\index.ts\n * @Description:\n *\n * Copyright (c) 2023 by YuXing, All Rights Reserved.\n */\nimport type { App } from \"vue\";\nimport auth from \"./modules/auth\";\nconst directivesList: any = {\n\tauth\n};\nconst directives = {\n\tinstall: function (app: App<Element>) {\n\t\tObject.keys(directivesList).forEach(key => {\n\t\t\t// 注册所有自定义指令\n\t\t\tapp.directive(key, directivesList[key]);\n\t\t});\n\t}\n};\n\nexport default directives;\n"],"names":["auth","mounted","el","binding","controlShowByUserPower","value","getUserIsHaveBtnPower","remove","directivesList","directives","install","app","Object","keys","forEach","key","directive"],"mappings":"iDAYMA,EAAkB,CACvB,OAAAC,CAAQC,EAAIC,GACXC,EAAuBF,EAAIC,EAAO,GAG9BC,EAAyB,CAACF,EAAiBC,KAChD,MAAME,EAAQF,EAAQE,MACtB,OAAQC,EAAsBA,sBAAAD,GAAuB,GAAdH,EAAGK,QAAW,ECPhDC,EAAsB,CAC3BR,QAEKS,EAAa,CAClBC,QAAS,SAAUC,GAClBC,OAAOC,KAAKL,GAAgBM,SAAeC,IAE1CJ,EAAIK,UAAUD,EAAKP,EAAeO,GAAI,GACtC"}
1
+ {"version":3,"file":"index.cjs8.js","sources":["../packages/directives/modules/auth.ts","../packages/directives/index.ts"],"sourcesContent":["/*\r\n * @Author: WangXin\r\n * @Date: 2023-09-15 10:33:59\r\n * @LastEditors: WangXin\r\n * @LastEditTime: 2023-09-15 10:37:28\r\n * @FilePath: \\yxUse\\packages\\directives\\modules\\auth.ts\r\n * @Description:\r\n *\r\n * Copyright (c) 2023 by YuXing, All Rights Reserved.\r\n */\r\nimport type { Directive, DirectiveBinding } from \"vue\";\r\nimport { getUserIsHaveBtnPower } from \"@packages/api/auth\";\r\nconst auth: Directive = {\r\n\tmounted(el, binding) {\r\n\t\tcontrolShowByUserPower(el, binding);\r\n\t}\r\n};\r\nconst controlShowByUserPower = (el: HTMLElement, binding: DirectiveBinding) => {\r\n\tconst value = binding.value as never;\r\n\treturn !getUserIsHaveBtnPower(value) ? el.remove() : \"\";\r\n};\r\nexport default auth;\r\n","/*\r\n * @Author: WangXin\r\n * @Date: 2023-09-15 10:33:40\r\n * @LastEditors: WangXin\r\n * @LastEditTime: 2023-09-15 10:35:52\r\n * @FilePath: \\yxUse\\packages\\directives\\index.ts\r\n * @Description:\r\n *\r\n * Copyright (c) 2023 by YuXing, All Rights Reserved.\r\n */\r\nimport type { App } from \"vue\";\r\nimport auth from \"./modules/auth\";\r\nconst directivesList: any = {\r\n\tauth\r\n};\r\nconst directives = {\r\n\tinstall: function (app: App<Element>) {\r\n\t\tObject.keys(directivesList).forEach(key => {\r\n\t\t\t// 注册所有自定义指令\r\n\t\t\tapp.directive(key, directivesList[key]);\r\n\t\t});\r\n\t}\r\n};\r\n\r\nexport default directives;\r\n"],"names":["auth","mounted","el","binding","controlShowByUserPower","value","getUserIsHaveBtnPower","remove","directivesList","directives","install","app","Object","keys","forEach","key","directive"],"mappings":"iDAYMA,EAAkB,CACvB,OAAAC,CAAQC,EAAIC,GACXC,EAAuBF,EAAIC,EAAO,GAG9BC,EAAyB,CAACF,EAAiBC,KAChD,MAAME,EAAQF,EAAQE,MACtB,OAAQC,EAAsBA,sBAAAD,GAAuB,GAAdH,EAAGK,QAAW,ECPhDC,EAAsB,CAC3BR,QAEKS,EAAa,CAClBC,QAAS,SAAUC,GAClBC,OAAOC,KAAKL,GAAgBM,SAAeC,IAE1CJ,EAAIK,UAAUD,EAAKP,EAAeO,GAAI,GACtC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../packages/index.ts"],"sourcesContent":["/*\n * @Author: WangXin\n * @Date: 2023-08-16 15:38:34\n * @LastEditors: WangXin\n * @LastEditTime: 2025-05-08 15:48:37\n * @FilePath: /yxuse/packages/index.ts\n * @Description:\n *\n * Copyright (c) 2023 by YuXing, All Rights Reserved.\n */\nexport * as utils from \"./utils\";\n\n// export * as icons from \"./icons\";\nexport * as yxIcon from \"./yxIcon\";\nexport * as api from \"./api\";\nexport * as theme from \"./theme\";\nexport * as components from \"./components\";\nexport * as translate from \"./translate\";\nexport * as yxi18n from \"./yxi18n\";\nexport * from \"./directives\";\nexport * from \"./hooks\";\nexport * from \"./app\";\nexport * from \"./bc\";\n//导出类型\nexport * from \"./components/type\";\nimport * as utils from \"./utils\";\n\n// import * as icons from \"./icons\";\nimport * as api from \"./api\";\nimport * as theme from \"./theme\";\nimport * as components from \"./components\";\nimport * as directives from \"./directives\";\nimport * as translate from \"./translate\";\nimport * as yxi18n from \"./yxi18n\";\nimport * as yxHooks from \"./hooks\";\nimport * as yxIcon from \"./yxIcon\";\nimport * as app from \"./app\";\nimport * as BC from \"./bc\";\nexport default {\n\tutils,\n\tapi,\n\tapp,\n\ttheme,\n\tcomponents,\n\tdirectives,\n\tBC,\n\ttranslate,\n\tyxi18n,\n\tyxHooks,\n\tyxIcon\n};\n"],"names":["utils","api","theme","components","translate","yxi18n","yxIcon"],"mappings":";;;;;;;;;;;;AAsCA,MAAe,QAAA;AAAA,EACd,OAAAA;AAAAA,EACA,KAAAC;AAAAA,EACA;AAAA,EACA,OAAAC;AAAAA,EACA,YAAAC;AAAAA,EACA;AAAA,EACA;AAAA,EACA,WAAAC;AAAAA,EACA,QAAAC;AAAAA,EACA;AAAA,EACA,QAAAC;AACD;"}
1
+ {"version":3,"file":"index.es.js","sources":["../packages/index.ts"],"sourcesContent":["/*\r\n * @Author: WangXin\r\n * @Date: 2023-08-16 15:38:34\r\n * @LastEditors: WangXin\r\n * @LastEditTime: 2025-05-08 15:48:37\r\n * @FilePath: /yxuse/packages/index.ts\r\n * @Description:\r\n *\r\n * Copyright (c) 2023 by YuXing, All Rights Reserved.\r\n */\r\nexport * as utils from \"./utils\";\r\n\r\n// export * as icons from \"./icons\";\r\nexport * as yxIcon from \"./yxIcon\";\r\nexport * as api from \"./api\";\r\nexport * as theme from \"./theme\";\r\nexport * as components from \"./components\";\r\nexport * as translate from \"./translate\";\r\nexport * as yxi18n from \"./yxi18n\";\r\nexport * from \"./directives\";\r\nexport * from \"./hooks\";\r\nexport * from \"./app\";\r\nexport * from \"./bc\";\r\n//导出类型\r\nexport * from \"./components/type\";\r\nimport * as utils from \"./utils\";\r\n\r\n// import * as icons from \"./icons\";\r\nimport * as api from \"./api\";\r\nimport * as theme from \"./theme\";\r\nimport * as components from \"./components\";\r\nimport * as directives from \"./directives\";\r\nimport * as translate from \"./translate\";\r\nimport * as yxi18n from \"./yxi18n\";\r\nimport * as yxHooks from \"./hooks\";\r\nimport * as yxIcon from \"./yxIcon\";\r\nimport * as app from \"./app\";\r\nimport * as BC from \"./bc\";\r\nexport default {\r\n\tutils,\r\n\tapi,\r\n\tapp,\r\n\ttheme,\r\n\tcomponents,\r\n\tdirectives,\r\n\tBC,\r\n\ttranslate,\r\n\tyxi18n,\r\n\tyxHooks,\r\n\tyxIcon\r\n};\r\n"],"names":["utils","api","theme","components","translate","yxi18n","yxIcon"],"mappings":";;;;;;;;;;;;AAsCA,MAAe,QAAA;AAAA,EACd,OAAAA;AAAAA,EACA,KAAAC;AAAAA,EACA;AAAA,EACA,OAAAC;AAAAA,EACA,YAAAC;AAAAA,EACA;AAAA,EACA;AAAA,EACA,WAAAC;AAAAA,EACA,QAAAC;AAAAA,EACA;AAAA,EACA,QAAAC;AACD;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.es10.js","sources":["../packages/app/index.ts"],"sourcesContent":["/*\n * @Author: WangXin\n * @Date: 2024-09-02 14:03:25\n * @LastEditors: WangXin\n * @LastEditTime: 2024-09-02 15:40:00\n * @FilePath: /yxuse/packages/app/index.ts\n * @Description:\n *\n * Copyright (c) ${2024} by YuXing, All Rights Reserved.\n */\n// export const installWebApp = async (systemKey?: string, lang?: string, callback?: Function) => {\n// \twindow.__YUXING_APP_ENVIRONMENT__ = true;\n// \tconsole.log(\"当前的主题是\", getCurThemeCssVar(), getCurTheme());\n// \tinstallCssVarInSystemTheme();\n// \tconst langStr = await getLang();\n// \tawait initTranslate({ to: lang ? langStr : lang || \"zh\", systemKey });\n// \t//注册BC\n// \tBC.onmessage = event => {\n// \t\tconst data = JSON.parse(event.data);\n// \t\tif (data.type === \"theme\") {\n// \t\t\tconsole.log(\"监听到其他系统切换主题收到的信息\", data.data);\n// \t\t\tconst { themeCssVar, themeId, themeUrl } = data.data;\n// \t\t\t// setCssVar(themeUrl);\n// \t\t\tsaveCssVar({ themeCssVar, themeId });\n// \t\t\tinstallCssVarInSystemTheme(themeCssVar);\n// \t\t}\n// \t\tif (data.type === \"lang\") {\n// \t\t\tconsole.log(\"监听到其他系统切换语言\");\n// \t\t\tlocation.reload();\n// \t\t}\n// \t};\n// \tcallback && callback();\n// };\n\nexport const isWebApp = (key = \"isWebApp\") => {\n\tconst url = new URLSearchParams(window.location.href.split(\"?\")[1]);\n\tconst params = Object.fromEntries(url.entries());\n\treturn params[key] && +params[key] ? true : false;\n};\n"],"names":[],"mappings":"AAkCa,MAAA,WAAW,CAAC,MAAM,eAAe;AACvC,QAAA,MAAM,IAAI,gBAAgB,OAAO,SAAS,KAAK,MAAM,GAAG,EAAE,CAAC,CAAC;AAClE,QAAM,SAAS,OAAO,YAAY,IAAI,SAAS;AAC/C,SAAO,OAAO,GAAG,KAAK,CAAC,OAAO,GAAG,IAAI,OAAO;AAC7C;;;;;"}
1
+ {"version":3,"file":"index.es10.js","sources":["../packages/app/index.ts"],"sourcesContent":["/*\r\n * @Author: WangXin\r\n * @Date: 2024-09-02 14:03:25\r\n * @LastEditors: WangXin\r\n * @LastEditTime: 2024-09-02 15:40:00\r\n * @FilePath: /yxuse/packages/app/index.ts\r\n * @Description:\r\n *\r\n * Copyright (c) ${2024} by YuXing, All Rights Reserved.\r\n */\r\n// export const installWebApp = async (systemKey?: string, lang?: string, callback?: Function) => {\r\n// \twindow.__YUXING_APP_ENVIRONMENT__ = true;\r\n// \tconsole.log(\"当前的主题是\", getCurThemeCssVar(), getCurTheme());\r\n// \tinstallCssVarInSystemTheme();\r\n// \tconst langStr = await getLang();\r\n// \tawait initTranslate({ to: lang ? langStr : lang || \"zh\", systemKey });\r\n// \t//注册BC\r\n// \tBC.onmessage = event => {\r\n// \t\tconst data = JSON.parse(event.data);\r\n// \t\tif (data.type === \"theme\") {\r\n// \t\t\tconsole.log(\"监听到其他系统切换主题收到的信息\", data.data);\r\n// \t\t\tconst { themeCssVar, themeId, themeUrl } = data.data;\r\n// \t\t\t// setCssVar(themeUrl);\r\n// \t\t\tsaveCssVar({ themeCssVar, themeId });\r\n// \t\t\tinstallCssVarInSystemTheme(themeCssVar);\r\n// \t\t}\r\n// \t\tif (data.type === \"lang\") {\r\n// \t\t\tconsole.log(\"监听到其他系统切换语言\");\r\n// \t\t\tlocation.reload();\r\n// \t\t}\r\n// \t};\r\n// \tcallback && callback();\r\n// };\r\n\r\nexport const isWebApp = (key = \"isWebApp\") => {\r\n\tconst url = new URLSearchParams(window.location.href.split(\"?\")[1]);\r\n\tconst params = Object.fromEntries(url.entries());\r\n\treturn params[key] && +params[key] ? true : false;\r\n};\r\n"],"names":[],"mappings":"AAkCa,MAAA,WAAW,CAAC,MAAM,eAAe;AACvC,QAAA,MAAM,IAAI,gBAAgB,OAAO,SAAS,KAAK,MAAM,GAAG,EAAE,CAAC,CAAC;AAClE,QAAM,SAAS,OAAO,YAAY,IAAI,SAAS;AAC/C,SAAO,OAAO,GAAG,KAAK,CAAC,OAAO,GAAG,IAAI,OAAO;AAC7C;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.es11.js","sources":["../packages/hooks/useTime/index.ts"],"sourcesContent":["/*\n * @Author: WangXin\n * @Date: 2024-04-07 09:50:34\n * @LastEditors: WangXin\n * @LastEditTime: 2025-04-25 14:50:40\n * @FilePath: /yxuse/packages/hooks/useTime/index.ts\n * @Description:\n *\n * Copyright (c) 2024 by YuXing, All Rights Reserved.\n */\nimport { ref, reactive, computed } from \"vue\";\nimport dayjs from \"dayjs\";\nconst time = ref(\"\");\nlet _timer: any;\nexport const useTime = () => {\n\tconst timedExecution = () => {\n\t\t_timer = setTimeout(() => {\n\t\t\ttime.value = dayjs().format(\"YYYY-MM-DD HH:mm:ss\");\n\t\t\t_timer && clearTimeout(_timer);\n\t\t\ttimedExecution();\n\t\t}, 1000);\n\t};\n\ttimedExecution();\n\treturn { time };\n};\n"],"names":[],"mappings":";;AAYA,MAAM,OAAO,IAAI,EAAE;AACnB,IAAI;AACG,MAAM,UAAU,MAAM;AAC5B,QAAM,iBAAiB,MAAM;AAC5B,aAAS,WAAW,MAAM;AACzB,WAAK,QAAQ,QAAQ,OAAO,qBAAqB;AACjD,gBAAU,aAAa,MAAM;AACd,qBAAA;AAAA,OACb,GAAI;AAAA,EACR;AACe,iBAAA;AACf,SAAO,EAAE,KAAK;AACf;"}
1
+ {"version":3,"file":"index.es11.js","sources":["../packages/hooks/useTime/index.ts"],"sourcesContent":["/*\r\n * @Author: WangXin\r\n * @Date: 2024-04-07 09:50:34\r\n * @LastEditors: WangXin\r\n * @LastEditTime: 2025-04-25 14:50:40\r\n * @FilePath: /yxuse/packages/hooks/useTime/index.ts\r\n * @Description:\r\n *\r\n * Copyright (c) 2024 by YuXing, All Rights Reserved.\r\n */\r\nimport { ref, reactive, computed } from \"vue\";\r\nimport dayjs from \"dayjs\";\r\nconst time = ref(\"\");\r\nlet _timer: any;\r\nexport const useTime = () => {\r\n\tconst timedExecution = () => {\r\n\t\t_timer = setTimeout(() => {\r\n\t\t\ttime.value = dayjs().format(\"YYYY-MM-DD HH:mm:ss\");\r\n\t\t\t_timer && clearTimeout(_timer);\r\n\t\t\ttimedExecution();\r\n\t\t}, 1000);\r\n\t};\r\n\ttimedExecution();\r\n\treturn { time };\r\n};\r\n"],"names":[],"mappings":";;AAYA,MAAM,OAAO,IAAI,EAAE;AACnB,IAAI;AACG,MAAM,UAAU,MAAM;AAC5B,QAAM,iBAAiB,MAAM;AAC5B,aAAS,WAAW,MAAM;AACzB,WAAK,QAAQ,QAAQ,OAAO,qBAAqB;AACjD,gBAAU,aAAa,MAAM;AACd,qBAAA;AAAA,OACb,GAAI;AAAA,EACR;AACe,iBAAA;AACf,SAAO,EAAE,KAAK;AACf;"}
package/lib/index.es12.js CHANGED
@@ -5968,9 +5968,9 @@ class YxHttp {
5968
5968
  if (config2.url && this.customResMap[config2.url]) {
5969
5969
  return this.customResMap[config2.url](data);
5970
5970
  }
5971
- if (code == ResultEnum.OVERDUE) {
5971
+ if (code == ResultEnum.OVERDUE || data.code === ResultEnum.OVERDUE) {
5972
5972
  this.handleOverdueResponse(data);
5973
- } else if (code !== ResultEnum.SUCCESS) {
5973
+ } else if (data.code !== ResultEnum.SUCCESS) {
5974
5974
  this.handleErrorResponse(data);
5975
5975
  }
5976
5976
  return data;
@@ -6014,7 +6014,11 @@ class YxHttp {
6014
6014
  return Promise.reject(data);
6015
6015
  }
6016
6016
  handleErrorResponse(data) {
6017
- ElMessage.error(data.resultMsg);
6017
+ if (data == null ? void 0 : data.resultMsg) {
6018
+ ElMessage.error(data.resultMsg);
6019
+ } else {
6020
+ checkStatus(data.status);
6021
+ }
6018
6022
  return Promise.reject(data);
6019
6023
  }
6020
6024
  /**
Binary file