9dfb329a859a2798da304d98c9093752842f348f.js 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
  2. "use strict";
  3. var _reporterNs, _cclegacy, LayerType, _crd, UIID, UIConfigData;
  4. function _reportPossibleCrUseOfLayerType(extras) {
  5. _reporterNs.report("LayerType", "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager", _context.meta, extras);
  6. }
  7. function _reportPossibleCrUseOfUIConfig(extras) {
  8. _reporterNs.report("UIConfig", "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager", _context.meta, extras);
  9. }
  10. return {
  11. setters: [function (_unresolved_) {
  12. _reporterNs = _unresolved_;
  13. }, function (_cc) {
  14. _cclegacy = _cc.cclegacy;
  15. }, function (_unresolved_2) {
  16. LayerType = _unresolved_2.LayerType;
  17. }],
  18. execute: function () {
  19. _crd = true;
  20. _cclegacy._RF.push({}, "14663z2+5JJIYupyDayZnc3", "GameUIConfig", undefined);
  21. /*
  22. * @Date: 2021-08-12 09:33:37
  23. * @LastEditors: dgflash
  24. * @LastEditTime: 2023-02-15 09:38:36
  25. */
  26. /** 界面唯一标识(方便服务器通过编号数据触发界面打开) */
  27. _export("UIID", UIID = /*#__PURE__*/function (UIID) {
  28. UIID[UIID["Loading"] = 1] = "Loading";
  29. UIID[UIID["Alert"] = 2] = "Alert";
  30. UIID[UIID["Confirm"] = 3] = "Confirm";
  31. UIID[UIID["Demo"] = 4] = "Demo";
  32. return UIID;
  33. }({}));
  34. /** 打开界面方式的配置数据 */
  35. _export("UIConfigData", UIConfigData = {
  36. [UIID.Loading]: {
  37. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  38. error: Error()
  39. }), LayerType) : LayerType).UI,
  40. prefab: "gui/loading/loading"
  41. },
  42. [UIID.Alert]: {
  43. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  44. error: Error()
  45. }), LayerType) : LayerType).Dialog,
  46. prefab: "common/prefab/alert"
  47. },
  48. [UIID.Confirm]: {
  49. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  50. error: Error()
  51. }), LayerType) : LayerType).Dialog,
  52. prefab: "common/prefab/confirm"
  53. },
  54. [UIID.Demo]: {
  55. layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
  56. error: Error()
  57. }), LayerType) : LayerType).UI,
  58. prefab: "gui/demo/demo"
  59. }
  60. });
  61. _cclegacy._RF.pop();
  62. _crd = false;
  63. }
  64. };
  65. });
  66. //# sourceMappingURL=9dfb329a859a2798da304d98c9093752842f348f.js.map