@oj-module/cli 0.2.63 → 0.2.66

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 (206) hide show
  1. package/devkit/README.md +9 -3
  2. package/devkit/SKILL.md +5 -2
  3. package/devkit/framework-dev.md +12 -7
  4. package/devkit/manual.md +123 -56
  5. package/devkit/menu-rules.md +4 -1
  6. package/package.json +3 -2
  7. package/shell-dist/assets/ahooks.2l850ymmh0.js +18 -0
  8. package/shell-dist/assets/antd-es-locale-zh_CN.1gjjsvxbf0.js +1 -0
  9. package/shell-dist/assets/antd-img-crop.196rkty480.js +99 -0
  10. package/shell-dist/assets/antd-locale-en_US.561tozx860.js +1 -0
  11. package/shell-dist/assets/antd-locale-zh_CN.1cmpmgzh70.js +1 -0
  12. package/shell-dist/assets/antd.uw1coq15l0.js +348 -0
  13. package/shell-dist/assets/clsx.jotilrt2e0.js +1 -0
  14. package/shell-dist/assets/contract-errors.2o17vz9u50.js +1 -0
  15. package/shell-dist/assets/contract.3h327o3mj0.js +57 -0
  16. package/shell-dist/assets/cssinjs.atgmhan7m0.js +3 -0
  17. package/shell-dist/assets/dayjs-plugin-advancedFormat.3vsyd2eis0.js +1 -0
  18. package/shell-dist/assets/dayjs-plugin-customParseFormat.13xhghv1d0.js +1 -0
  19. package/shell-dist/assets/dayjs-plugin-isoWeek.1fn1tw82p0.js +1 -0
  20. package/shell-dist/assets/dayjs-plugin-localeData.2rwbjp9nk0.js +1 -0
  21. package/shell-dist/assets/dayjs-plugin-quarterOfYear.2oqo1lcx80.js +1 -0
  22. package/shell-dist/assets/dayjs-plugin-relativeTime.2pqs3et4y0.js +1 -0
  23. package/shell-dist/assets/dayjs-plugin-weekOfYear.gvn9iph080.js +1 -0
  24. package/shell-dist/assets/dayjs-plugin-weekYear.2u78l3ex10.js +1 -0
  25. package/shell-dist/assets/dayjs-plugin-weekday.2d56a4tml0.js +1 -0
  26. package/shell-dist/assets/dayjs.pa60l6wjo0.js +1 -0
  27. package/shell-dist/assets/dnd-kit-core.1xyreig6r0.js +5 -0
  28. package/shell-dist/assets/dnd-kit-sortable.s94qciuft0.js +1 -0
  29. package/shell-dist/assets/dnd-kit-utilities.1umw4xphb0.js +1 -0
  30. package/shell-dist/assets/i18next.33zqofapj0.js +1 -0
  31. package/shell-dist/assets/icons-es-components-Context.365qmflwg0.js +1 -0
  32. package/shell-dist/assets/icons.159wjwals0.js +57 -0
  33. package/shell-dist/assets/{index-BKtXxIXz.js → index.i0kqbxp050.js} +11 -6
  34. package/shell-dist/assets/jsx-dev-runtime.3uibuc82f0.js +14 -0
  35. package/shell-dist/assets/jsx-runtime.h40xu4o5b0.js +14 -0
  36. package/shell-dist/assets/keepalive-for-react.xenu5vam70.js +1 -0
  37. package/shell-dist/assets/kit.37kr8ui390.js +1 -0
  38. package/shell-dist/assets/ky.1cgch7gu60.js +6 -0
  39. package/shell-dist/assets/motion-react.pjsxytvjs0.js +12 -0
  40. package/shell-dist/assets/motion.21tciqutg0.js +4 -0
  41. package/shell-dist/assets/nprogress.2nz76n9ny0.js +7 -0
  42. package/shell-dist/assets/ojm-dayjs-locale-zh-cn.3vr3beiyp0.js +9 -0
  43. package/shell-dist/assets/pinyin-pro.3v0mnxczn0.js +1 -0
  44. package/shell-dist/assets/pro-components.2kyot1vcl0.js +83 -0
  45. package/shell-dist/assets/react-countup.2x8idnr8y0.js +10 -0
  46. package/shell-dist/assets/react-dom-client.ick0v05ob0.js +43 -0
  47. package/shell-dist/assets/react-dom.2so9uxg3f0.js +22 -0
  48. package/shell-dist/assets/react-error-boundary.2dncdfj3b0.js +1 -0
  49. package/shell-dist/assets/react-i18next.auhvjhqv00.js +1 -0
  50. package/shell-dist/assets/react-jss.1ei6dr9e00.js +29 -0
  51. package/shell-dist/assets/react-query.3rln45ow00.js +1 -0
  52. package/shell-dist/assets/react-router-dom.3c6zld8h40.js +44 -0
  53. package/shell-dist/assets/react-router.2h9rebcv50.js +56 -0
  54. package/shell-dist/assets/react.1ew63mwts0.js +14 -0
  55. package/shell-dist/assets/runtime.1xfsxcajj0.js +21702 -0
  56. package/shell-dist/assets/simplebar-react.2g739uvai0.js +1 -0
  57. package/shell-dist/assets/spin-delay.yjeyj6iwp0.js +9 -0
  58. package/shell-dist/assets/tailwind-merge.125ehiqjw0.js +1 -0
  59. package/shell-dist/assets/use-sync-external-store-shim.1nz1pi9bb0.js +22 -0
  60. package/shell-dist/assets/zustand-middleware.1xaxjueme0.js +6 -0
  61. package/shell-dist/assets/zustand-react-shallow.pybayv1hx0.js +1 -0
  62. package/shell-dist/assets/zustand-react.9fsl9brxy0.js +1 -0
  63. package/shell-dist/assets/zustand-shallow.6cz0yyv9x0.js +1 -0
  64. package/shell-dist/assets/zustand-vanilla-shallow.3424monv50.js +1 -0
  65. package/shell-dist/assets/zustand-vanilla.1mo3ka3g30.js +1 -0
  66. package/shell-dist/assets/zustand.3gjgzlnqo0.js +1 -0
  67. package/shell-dist/index.html +67 -118
  68. package/shell-dist/versions.json +3 -3
  69. package/src/build/module-def.ts +1 -0
  70. package/src/esm-exports.ts +152 -70
  71. package/src/market/__tests__/bootstrap.test.ts +36 -1
  72. package/src/shared-deps.ts +69 -19
  73. package/src/site-base.ts +4 -0
  74. package/templates/src/app/web/home/pages/components/bar-chart.tsx +5 -3
  75. package/templates/src/app/web/home/pages/components/echarts-setup.ts +30 -0
  76. package/templates/src/app/web/home/pages/components/line-chart.tsx +5 -3
  77. package/templates/src/app/web/home/pages/components/pie-chart.tsx +6 -3
  78. package/templates/src/app/web/home/pages/index.tsx +3 -2
  79. package/templates/src/app/web/home/routes.ts +3 -2
  80. package/templates/src/app/web/personal-center/locales/en-US.json +15 -0
  81. package/templates/src/app/web/personal-center/locales/zh-CN.json +15 -0
  82. package/templates/src/app/web/personal-center/pages/my-profile/index.tsx +15 -13
  83. package/templates/src/app/web/system/locales/en-US.json +24 -3
  84. package/templates/src/app/web/system/locales/zh-CN.json +24 -3
  85. package/templates/src/app/web/system/pages/roles/index.tsx +13 -6
  86. package/templates/src/app/web/system/pages/settings/index.tsx +1 -1
  87. package/templates/src/app/web/system/pages/users/index.tsx +3 -3
  88. package/templates/src/app/web/system/pages/users/roles.tsx +1 -1
  89. package/templates/src/oj-market/web/locales/en-US.json +14 -1
  90. package/templates/src/oj-market/web/locales/zh-CN.json +14 -1
  91. package/vendor/host-versions.json +3 -3
  92. package/shell-dist/assets/ahooks.js +0 -6909
  93. package/shell-dist/assets/antd-es-locale-zh_CN.js +0 -257
  94. package/shell-dist/assets/antd-img-crop.js +0 -1495
  95. package/shell-dist/assets/antd-locale-en_US.js +0 -374
  96. package/shell-dist/assets/antd-locale-zh_CN.js +0 -379
  97. package/shell-dist/assets/antd.js +0 -106874
  98. package/shell-dist/assets/clsx.js +0 -33
  99. package/shell-dist/assets/contract-errors.js +0 -30
  100. package/shell-dist/assets/contract.js +0 -18900
  101. package/shell-dist/assets/cssinjs.js +0 -2595
  102. package/shell-dist/assets/dayjs-plugin-advancedFormat.js +0 -98
  103. package/shell-dist/assets/dayjs-plugin-customParseFormat.js +0 -173
  104. package/shell-dist/assets/dayjs-plugin-isoWeek.js +0 -77
  105. package/shell-dist/assets/dayjs-plugin-localeData.js +0 -126
  106. package/shell-dist/assets/dayjs-plugin-quarterOfYear.js +0 -77
  107. package/shell-dist/assets/dayjs-plugin-relativeTime.js +0 -92
  108. package/shell-dist/assets/dayjs-plugin-weekOfYear.js +0 -73
  109. package/shell-dist/assets/dayjs-plugin-weekYear.js +0 -63
  110. package/shell-dist/assets/dayjs-plugin-weekday.js +0 -63
  111. package/shell-dist/assets/dayjs.js +0 -326
  112. package/shell-dist/assets/dnd-kit-core.js +0 -3601
  113. package/shell-dist/assets/dnd-kit-sortable.js +0 -717
  114. package/shell-dist/assets/dnd-kit-utilities.js +0 -340
  115. package/shell-dist/assets/i18next.js +0 -2321
  116. package/shell-dist/assets/icons-es-components-Context.js +0 -20
  117. package/shell-dist/assets/icons.js +0 -34961
  118. package/shell-dist/assets/jsx-dev-runtime.js +0 -75
  119. package/shell-dist/assets/jsx-runtime.js +0 -97
  120. package/shell-dist/assets/keepalive-for-react.js +0 -283
  121. package/shell-dist/assets/kit.js +0 -151
  122. package/shell-dist/assets/ky.js +0 -1427
  123. package/shell-dist/assets/motion-react.js +0 -13589
  124. package/shell-dist/assets/motion.js +0 -9959
  125. package/shell-dist/assets/nprogress.js +0 -314
  126. package/shell-dist/assets/ojm--ant-design-icons-es-icons-BarsOutlined.js +0 -7
  127. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CalendarOutlined.js +0 -7
  128. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CaretDownFilled.js +0 -7
  129. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CaretDownOutlined.js +0 -7
  130. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CaretUpOutlined.js +0 -7
  131. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CheckCircleFilled.js +0 -7
  132. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CheckOutlined.js +0 -7
  133. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ClockCircleOutlined.js +0 -7
  134. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CloseCircleFilled.js +0 -7
  135. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CloseOutlined.js +0 -7
  136. package/shell-dist/assets/ojm--ant-design-icons-es-icons-CopyOutlined.js +0 -7
  137. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DeleteOutlined.js +0 -7
  138. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DoubleLeftOutlined.js +0 -7
  139. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DoubleRightOutlined.js +0 -7
  140. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DownOutlined.js +0 -7
  141. package/shell-dist/assets/ojm--ant-design-icons-es-icons-DownloadOutlined.js +0 -7
  142. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EditOutlined.js +0 -7
  143. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EllipsisOutlined.js +0 -7
  144. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EnterOutlined.js +0 -7
  145. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ExclamationCircleFilled.js +0 -7
  146. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EyeInvisibleOutlined.js +0 -7
  147. package/shell-dist/assets/ojm--ant-design-icons-es-icons-EyeOutlined.js +0 -7
  148. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FileOutlined.js +0 -7
  149. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FileTextOutlined.js +0 -7
  150. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FilterFilled.js +0 -7
  151. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FolderOpenOutlined.js +0 -7
  152. package/shell-dist/assets/ojm--ant-design-icons-es-icons-FolderOutlined.js +0 -7
  153. package/shell-dist/assets/ojm--ant-design-icons-es-icons-HolderOutlined.js +0 -7
  154. package/shell-dist/assets/ojm--ant-design-icons-es-icons-InfoCircleFilled.js +0 -7
  155. package/shell-dist/assets/ojm--ant-design-icons-es-icons-LeftOutlined.js +0 -7
  156. package/shell-dist/assets/ojm--ant-design-icons-es-icons-LoadingOutlined.js +0 -7
  157. package/shell-dist/assets/ojm--ant-design-icons-es-icons-MinusOutlined.js +0 -7
  158. package/shell-dist/assets/ojm--ant-design-icons-es-icons-MinusSquareOutlined.js +0 -7
  159. package/shell-dist/assets/ojm--ant-design-icons-es-icons-PaperClipOutlined.js +0 -7
  160. package/shell-dist/assets/ojm--ant-design-icons-es-icons-PictureOutlined.js +0 -7
  161. package/shell-dist/assets/ojm--ant-design-icons-es-icons-PlusOutlined.js +0 -7
  162. package/shell-dist/assets/ojm--ant-design-icons-es-icons-PlusSquareOutlined.js +0 -7
  163. package/shell-dist/assets/ojm--ant-design-icons-es-icons-QuestionCircleOutlined.js +0 -7
  164. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ReloadOutlined.js +0 -7
  165. package/shell-dist/assets/ojm--ant-design-icons-es-icons-RightOutlined.js +0 -7
  166. package/shell-dist/assets/ojm--ant-design-icons-es-icons-RotateLeftOutlined.js +0 -7
  167. package/shell-dist/assets/ojm--ant-design-icons-es-icons-RotateRightOutlined.js +0 -7
  168. package/shell-dist/assets/ojm--ant-design-icons-es-icons-SearchOutlined.js +0 -7
  169. package/shell-dist/assets/ojm--ant-design-icons-es-icons-StarFilled.js +0 -7
  170. package/shell-dist/assets/ojm--ant-design-icons-es-icons-SwapOutlined.js +0 -7
  171. package/shell-dist/assets/ojm--ant-design-icons-es-icons-SwapRightOutlined.js +0 -7
  172. package/shell-dist/assets/ojm--ant-design-icons-es-icons-UpOutlined.js +0 -7
  173. package/shell-dist/assets/ojm--ant-design-icons-es-icons-VerticalAlignTopOutlined.js +0 -7
  174. package/shell-dist/assets/ojm--ant-design-icons-es-icons-WarningFilled.js +0 -7
  175. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ZoomInOutlined.js +0 -7
  176. package/shell-dist/assets/ojm--ant-design-icons-es-icons-ZoomOutOutlined.js +0 -7
  177. package/shell-dist/assets/ojm-dayjs-locale-zh-cn.js +0 -81
  178. package/shell-dist/assets/pinyin-pro.js +0 -25175
  179. package/shell-dist/assets/pro-components.js +0 -44627
  180. package/shell-dist/assets/react-countup.js +0 -525
  181. package/shell-dist/assets/react-dom-client.js +0 -12134
  182. package/shell-dist/assets/react-dom.js +0 -266
  183. package/shell-dist/assets/react-error-boundary.js +0 -141
  184. package/shell-dist/assets/react-i18next.js +0 -1773
  185. package/shell-dist/assets/react-jss.js +0 -4089
  186. package/shell-dist/assets/react-query.js +0 -3072
  187. package/shell-dist/assets/react-router-dom.js +0 -9927
  188. package/shell-dist/assets/react-router.js +0 -14584
  189. package/shell-dist/assets/react.js +0 -590
  190. package/shell-dist/assets/runtime.js +0 -28294
  191. package/shell-dist/assets/simplebar-react.js +0 -1119
  192. package/shell-dist/assets/spin-delay.js +0 -111
  193. package/shell-dist/assets/tailwind-merge.js +0 -3364
  194. package/shell-dist/assets/use-sync-external-store-shim.js +0 -130
  195. package/shell-dist/assets/zustand-middleware.js +0 -513
  196. package/shell-dist/assets/zustand-react-shallow.js +0 -27
  197. package/shell-dist/assets/zustand-react.js +0 -39
  198. package/shell-dist/assets/zustand-shallow.js +0 -22
  199. package/shell-dist/assets/zustand-vanilla-shallow.js +0 -71
  200. package/shell-dist/assets/zustand-vanilla.js +0 -40
  201. package/shell-dist/assets/zustand.js +0 -32
  202. /package/shell-dist/assets/{nprogress-css.js → nprogress-css.1cq2pzkre0.js} +0 -0
  203. /package/shell-dist/assets/{ojm-antd-es-button.js → ojm-antd-es-button.2uriphio50.js} +0 -0
  204. /package/shell-dist/assets/{ojm-antd-es-modal.js → ojm-antd-es-modal.bf3tgdh8v0.js} +0 -0
  205. /package/shell-dist/assets/{ojm-antd-es-slider.js → ojm-antd-es-slider.xyvptuhid0.js} +0 -0
  206. /package/shell-dist/assets/{ojm-antd-es-upload.js → ojm-antd-es-upload.13gx45e0g0.js} +0 -0
@@ -1,266 +0,0 @@
1
- import * as __rad_ext_0 from "react";
2
- var __rad_require = {
3
- "react": __rad_ext_0
4
- };
5
- var require = function (id) {
6
- if (Object.prototype.hasOwnProperty.call(__rad_require, id)) return __rad_require[id];
7
- throw new Error("Dynamic require of " + JSON.stringify(id) + " is not supported(该说明符未在共享表内登记)");
8
- };
9
- var __create = Object.create;
10
- var __defProp = Object.defineProperty;
11
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
- var __getOwnPropNames = Object.getOwnPropertyNames;
13
- var __getProtoOf = Object.getPrototypeOf;
14
- var __hasOwnProp = Object.prototype.hasOwnProperty;
15
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
16
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
17
- }) : x)(function(x) {
18
- if (typeof require !== "undefined") return require.apply(this, arguments);
19
- throw Error('Dynamic require of "' + x + '" is not supported');
20
- });
21
- var __commonJS = (cb, mod) => function __require2() {
22
- try {
23
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
24
- } catch (e) {
25
- throw mod = 0, e;
26
- }
27
- };
28
- var __copyProps = (to, from, except, desc) => {
29
- if (from && typeof from === "object" || typeof from === "function") {
30
- for (let key of __getOwnPropNames(from))
31
- if (!__hasOwnProp.call(to, key) && key !== except)
32
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
33
- }
34
- return to;
35
- };
36
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
37
- // If the importer is in node compatibility mode or this is not an ESM
38
- // file that has been converted to a CommonJS file using a Babel-
39
- // compatible transform (i.e. "__esModule" has not been set), then set
40
- // "default" to the CommonJS "module.exports" for node compatibility.
41
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
42
- mod
43
- ));
44
-
45
- // ../../node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.production.js
46
- var require_react_dom_production = __commonJS({
47
- "../../node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.production.js"(exports) {
48
- "use strict";
49
- var React = __require("react");
50
- function formatProdErrorMessage(code) {
51
- var url = "https://react.dev/errors/" + code;
52
- if (1 < arguments.length) {
53
- url += "?args[]=" + encodeURIComponent(arguments[1]);
54
- for (var i = 2; i < arguments.length; i++)
55
- url += "&args[]=" + encodeURIComponent(arguments[i]);
56
- }
57
- return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
58
- }
59
- function noop() {
60
- }
61
- var Internals = {
62
- d: {
63
- f: noop,
64
- r: function() {
65
- throw Error(formatProdErrorMessage(522));
66
- },
67
- D: noop,
68
- C: noop,
69
- L: noop,
70
- m: noop,
71
- X: noop,
72
- S: noop,
73
- M: noop
74
- },
75
- p: 0,
76
- findDOMNode: null
77
- };
78
- var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
79
- function createPortal$1(children, containerInfo, implementation) {
80
- var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
81
- return {
82
- $$typeof: REACT_PORTAL_TYPE,
83
- key: null == key ? null : "" + key,
84
- children,
85
- containerInfo,
86
- implementation
87
- };
88
- }
89
- var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
90
- function getCrossOriginStringAs(as, input) {
91
- if ("font" === as) return "";
92
- if ("string" === typeof input)
93
- return "use-credentials" === input ? input : "";
94
- }
95
- exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
96
- exports.createPortal = function(children, container) {
97
- var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
98
- if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType)
99
- throw Error(formatProdErrorMessage(299));
100
- return createPortal$1(children, container, null, key);
101
- };
102
- exports.flushSync = function(fn) {
103
- var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
104
- try {
105
- if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
106
- } finally {
107
- ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
108
- }
109
- };
110
- exports.preconnect = function(href, options) {
111
- "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
112
- };
113
- exports.prefetchDNS = function(href) {
114
- "string" === typeof href && Internals.d.D(href);
115
- };
116
- exports.preinit = function(href, options) {
117
- if ("string" === typeof href && options && "string" === typeof options.as) {
118
- var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
119
- "style" === as ? Internals.d.S(
120
- href,
121
- "string" === typeof options.precedence ? options.precedence : void 0,
122
- {
123
- crossOrigin,
124
- integrity,
125
- fetchPriority
126
- }
127
- ) : "script" === as && Internals.d.X(href, {
128
- crossOrigin,
129
- integrity,
130
- fetchPriority,
131
- nonce: "string" === typeof options.nonce ? options.nonce : void 0
132
- });
133
- }
134
- };
135
- exports.preinitModule = function(href, options) {
136
- if ("string" === typeof href)
137
- if ("object" === typeof options && null !== options) {
138
- if (null == options.as || "script" === options.as) {
139
- var crossOrigin = getCrossOriginStringAs(
140
- options.as,
141
- options.crossOrigin
142
- );
143
- Internals.d.M(href, {
144
- crossOrigin,
145
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
146
- nonce: "string" === typeof options.nonce ? options.nonce : void 0
147
- });
148
- }
149
- } else null == options && Internals.d.M(href);
150
- };
151
- exports.preload = function(href, options) {
152
- if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
153
- var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
154
- Internals.d.L(href, as, {
155
- crossOrigin,
156
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
157
- nonce: "string" === typeof options.nonce ? options.nonce : void 0,
158
- type: "string" === typeof options.type ? options.type : void 0,
159
- fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
160
- referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
161
- imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
162
- imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
163
- media: "string" === typeof options.media ? options.media : void 0
164
- });
165
- }
166
- };
167
- exports.preloadModule = function(href, options) {
168
- if ("string" === typeof href)
169
- if (options) {
170
- var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
171
- Internals.d.m(href, {
172
- as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
173
- crossOrigin,
174
- integrity: "string" === typeof options.integrity ? options.integrity : void 0
175
- });
176
- } else Internals.d.m(href);
177
- };
178
- exports.requestFormReset = function(form) {
179
- Internals.d.r(form);
180
- };
181
- exports.unstable_batchedUpdates = function(fn, a) {
182
- return fn(a);
183
- };
184
- exports.useFormState = function(action, initialState, permalink) {
185
- return ReactSharedInternals.H.useFormState(action, initialState, permalink);
186
- };
187
- exports.useFormStatus = function() {
188
- return ReactSharedInternals.H.useHostTransitionStatus();
189
- };
190
- exports.version = "19.2.8";
191
- }
192
- });
193
-
194
- // ../../node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js
195
- var require_react_dom = __commonJS({
196
- "../../node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js"(exports, module) {
197
- "use strict";
198
- function checkDCE() {
199
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") {
200
- return;
201
- }
202
- if (false) {
203
- throw new Error("^_^");
204
- }
205
- try {
206
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
207
- } catch (err) {
208
- console.error(err);
209
- }
210
- }
211
- if (true) {
212
- checkDCE();
213
- module.exports = require_react_dom_production();
214
- } else {
215
- module.exports = null;
216
- }
217
- }
218
- });
219
-
220
- // shell/.ojm-shim-react-dom.mjs
221
- var __m = __toESM(require_react_dom(), 1);
222
- var __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE2 = __m["__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE"];
223
- var createPortal2 = __m["createPortal"];
224
- var flushSync2 = __m["flushSync"];
225
- var preconnect2 = __m["preconnect"];
226
- var prefetchDNS2 = __m["prefetchDNS"];
227
- var preinit2 = __m["preinit"];
228
- var preinitModule2 = __m["preinitModule"];
229
- var preload2 = __m["preload"];
230
- var preloadModule2 = __m["preloadModule"];
231
- var requestFormReset2 = __m["requestFormReset"];
232
- var unstable_batchedUpdates2 = __m["unstable_batchedUpdates"];
233
- var useFormState2 = __m["useFormState"];
234
- var useFormStatus2 = __m["useFormStatus"];
235
- var version2 = __m["version"];
236
- var ojm_shim_react_dom_default = __m.default ?? __m;
237
- export {
238
- __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE2 as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
239
- createPortal2 as createPortal,
240
- ojm_shim_react_dom_default as default,
241
- flushSync2 as flushSync,
242
- preconnect2 as preconnect,
243
- prefetchDNS2 as prefetchDNS,
244
- preinit2 as preinit,
245
- preinitModule2 as preinitModule,
246
- preload2 as preload,
247
- preloadModule2 as preloadModule,
248
- requestFormReset2 as requestFormReset,
249
- unstable_batchedUpdates2 as unstable_batchedUpdates,
250
- useFormState2 as useFormState,
251
- useFormStatus2 as useFormStatus,
252
- version2 as version
253
- };
254
- /*! Bundled license information:
255
-
256
- react-dom/cjs/react-dom.production.js:
257
- (**
258
- * @license React
259
- * react-dom.production.js
260
- *
261
- * Copyright (c) Meta Platforms, Inc. and affiliates.
262
- *
263
- * This source code is licensed under the MIT license found in the
264
- * LICENSE file in the root directory of this source tree.
265
- *)
266
- */
@@ -1,141 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, { get: all[name], enumerable: true });
5
- };
6
-
7
- // ../../node_modules/.pnpm/react-error-boundary@6.1.3_@types+react@19.2.18_react@19.2.8/node_modules/react-error-boundary/dist/react-error-boundary.js
8
- var react_error_boundary_exports = {};
9
- __export(react_error_boundary_exports, {
10
- ErrorBoundary: () => m,
11
- ErrorBoundaryContext: () => h,
12
- getErrorMessage: () => S,
13
- useErrorBoundary: () => k,
14
- withErrorBoundary: () => w
15
- });
16
- import { createContext as l, Component as y, createElement as d, useContext as f, useState as p, useMemo as E, forwardRef as B } from "react";
17
- var h = l(null);
18
- var c = {
19
- didCatch: false,
20
- error: null
21
- };
22
- var m = class extends y {
23
- constructor(e) {
24
- super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = c;
25
- }
26
- static getDerivedStateFromError(e) {
27
- return { didCatch: true, error: e };
28
- }
29
- resetErrorBoundary(...e) {
30
- const { error: t } = this.state;
31
- t !== null && (this.props.onReset?.({
32
- args: e,
33
- reason: "imperative-api"
34
- }), this.setState(c));
35
- }
36
- componentDidCatch(e, t) {
37
- this.props.onError?.(e, t);
38
- }
39
- componentDidUpdate(e, t) {
40
- const { didCatch: o } = this.state, { resetKeys: s } = this.props;
41
- o && t.error !== null && C(e.resetKeys, s) && (this.props.onReset?.({
42
- next: s,
43
- prev: e.resetKeys,
44
- reason: "keys"
45
- }), this.setState(c));
46
- }
47
- render() {
48
- const { children: e, fallbackRender: t, FallbackComponent: o, fallback: s } = this.props, { didCatch: n, error: a } = this.state;
49
- let i = e;
50
- if (n) {
51
- const u = {
52
- error: a,
53
- resetErrorBoundary: this.resetErrorBoundary
54
- };
55
- if (typeof t == "function")
56
- i = t(u);
57
- else if (o)
58
- i = d(o, u);
59
- else if (s !== void 0)
60
- i = s;
61
- else
62
- throw a;
63
- }
64
- return d(
65
- h.Provider,
66
- {
67
- value: {
68
- didCatch: n,
69
- error: a,
70
- resetErrorBoundary: this.resetErrorBoundary
71
- }
72
- },
73
- i
74
- );
75
- }
76
- };
77
- function C(r = [], e = []) {
78
- return r.length !== e.length || r.some((t, o) => !Object.is(t, e[o]));
79
- }
80
- function g(r) {
81
- return r !== null && typeof r == "object" && "didCatch" in r && typeof r.didCatch == "boolean" && "error" in r && "resetErrorBoundary" in r && typeof r.resetErrorBoundary == "function";
82
- }
83
- function x(r) {
84
- if (!g(r))
85
- throw new Error("ErrorBoundaryContext not found");
86
- }
87
- function k() {
88
- const r = f(h);
89
- x(r);
90
- const { error: e, resetErrorBoundary: t } = r, [o, s] = p({
91
- error: null,
92
- hasError: false
93
- }), n = E(
94
- () => ({
95
- error: e,
96
- resetBoundary: () => {
97
- t(), s({ error: null, hasError: false });
98
- },
99
- showBoundary: (a) => s({
100
- error: a,
101
- hasError: true
102
- })
103
- }),
104
- [e, t]
105
- );
106
- if (o.hasError)
107
- throw o.error;
108
- return n;
109
- }
110
- function S(r) {
111
- switch (typeof r) {
112
- case "object": {
113
- if (r !== null && "message" in r && typeof r.message == "string")
114
- return r.message;
115
- break;
116
- }
117
- case "string":
118
- return r;
119
- }
120
- }
121
- function w(r, e) {
122
- const t = B(
123
- (s, n) => d(
124
- m,
125
- e,
126
- d(r, { ...s, ref: n })
127
- )
128
- ), o = r.displayName || r.name || "Unknown";
129
- return t.displayName = `withErrorBoundary(${o})`, t;
130
- }
131
-
132
- // shell/.ojm-shim-react-error-boundary.mjs
133
- var ojm_shim_react_error_boundary_default = void 0 ?? react_error_boundary_exports;
134
- export {
135
- m as ErrorBoundary,
136
- h as ErrorBoundaryContext,
137
- ojm_shim_react_error_boundary_default as default,
138
- S as getErrorMessage,
139
- k as useErrorBoundary,
140
- w as withErrorBoundary
141
- };