@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,98 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- try {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- } catch (e) {
11
- throw mod = 0, e;
12
- }
13
- };
14
- var __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
27
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
- // If the importer is in node compatibility mode or this is not an ESM
29
- // file that has been converted to a CommonJS file using a Babel-
30
- // compatible transform (i.e. "__esModule" has not been set), then set
31
- // "default" to the CommonJS "module.exports" for node compatibility.
32
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
- mod
34
- ));
35
-
36
- // ../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/advancedFormat.js
37
- var require_advancedFormat = __commonJS({
38
- "../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/advancedFormat.js"(exports, module) {
39
- !(function(e, t) {
40
- "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_advancedFormat = t();
41
- })(exports, (function() {
42
- "use strict";
43
- return function(e, t) {
44
- var r = t.prototype, n = r.format;
45
- r.format = function(e2) {
46
- var t2 = this, r2 = this.$locale();
47
- if (!this.isValid()) return n.bind(this)(e2);
48
- var s = this.$utils(), a = (e2 || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, (function(e3) {
49
- switch (e3) {
50
- case "Q":
51
- return Math.ceil((t2.$M + 1) / 3);
52
- case "Do":
53
- return r2.ordinal(t2.$D);
54
- case "gggg":
55
- return t2.weekYear();
56
- case "GGGG":
57
- return t2.isoWeekYear();
58
- case "wo":
59
- return r2.ordinal(t2.week(), "W");
60
- case "w":
61
- case "ww":
62
- return s.s(t2.week(), "w" === e3 ? 1 : 2, "0");
63
- case "W":
64
- case "WW":
65
- return s.s(t2.isoWeek(), "W" === e3 ? 1 : 2, "0");
66
- case "k":
67
- case "kk":
68
- return s.s(String(0 === t2.$H ? 24 : t2.$H), "k" === e3 ? 1 : 2, "0");
69
- case "X":
70
- return Math.floor(t2.$d.getTime() / 1e3);
71
- case "x":
72
- return t2.$d.getTime();
73
- case "z":
74
- return "[" + t2.offsetName() + "]";
75
- case "zzz":
76
- return "[" + t2.offsetName("long") + "]";
77
- default:
78
- return e3;
79
- }
80
- }));
81
- return n.bind(this)(a);
82
- };
83
- };
84
- }));
85
- }
86
- });
87
-
88
- // shell/.ojm-shim-dayjs-plugin-advancedFormat.mjs
89
- var ojm_shim_dayjs_plugin_advancedFormat_exports = {};
90
- __export(ojm_shim_dayjs_plugin_advancedFormat_exports, {
91
- default: () => ojm_shim_dayjs_plugin_advancedFormat_default
92
- });
93
- var __ns = __toESM(require_advancedFormat(), 1);
94
- __reExport(ojm_shim_dayjs_plugin_advancedFormat_exports, __toESM(require_advancedFormat(), 1));
95
- var ojm_shim_dayjs_plugin_advancedFormat_default = __ns.default ?? __ns;
96
- export {
97
- ojm_shim_dayjs_plugin_advancedFormat_default as default
98
- };
@@ -1,173 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- try {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- } catch (e) {
11
- throw mod = 0, e;
12
- }
13
- };
14
- var __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
27
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
- // If the importer is in node compatibility mode or this is not an ESM
29
- // file that has been converted to a CommonJS file using a Babel-
30
- // compatible transform (i.e. "__esModule" has not been set), then set
31
- // "default" to the CommonJS "module.exports" for node compatibility.
32
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
- mod
34
- ));
35
-
36
- // ../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/customParseFormat.js
37
- var require_customParseFormat = __commonJS({
38
- "../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/customParseFormat.js"(exports, module) {
39
- !(function(e, t) {
40
- "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_customParseFormat = t();
41
- })(exports, (function() {
42
- "use strict";
43
- var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, t = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, n = /\d/, r = /\d\d/, i = /\d\d?/, o = /\d*[^-_:/,()\s\d]+/, s = {}, a = function(e2) {
44
- return (e2 = +e2) + (e2 > 68 ? 1900 : 2e3);
45
- };
46
- var f = function(e2) {
47
- return function(t2) {
48
- this[e2] = +t2;
49
- };
50
- }, h = [/[+-]\d\d:?(\d\d)?|Z/, function(e2) {
51
- (this.zone || (this.zone = {})).offset = (function(e3) {
52
- if (!e3) return 0;
53
- if ("Z" === e3) return 0;
54
- var t2 = e3.match(/([+-]|\d\d)/g), n2 = 60 * t2[1] + (+t2[2] || 0);
55
- return 0 === n2 ? 0 : "+" === t2[0] ? -n2 : n2;
56
- })(e2);
57
- }], u = function(e2) {
58
- var t2 = s[e2];
59
- return t2 && (t2.indexOf ? t2 : t2.s.concat(t2.f));
60
- }, d = function(e2, t2) {
61
- var n2, r2 = s.meridiem;
62
- if (r2) {
63
- for (var i2 = 1; i2 <= 24; i2 += 1) if (e2.indexOf(r2(i2, 0, t2)) > -1) {
64
- n2 = i2 > 12;
65
- break;
66
- }
67
- } else n2 = e2 === (t2 ? "pm" : "PM");
68
- return n2;
69
- }, c = { A: [o, function(e2) {
70
- this.afternoon = d(e2, false);
71
- }], a: [o, function(e2) {
72
- this.afternoon = d(e2, true);
73
- }], Q: [n, function(e2) {
74
- this.month = 3 * (e2 - 1) + 1;
75
- }], S: [n, function(e2) {
76
- this.milliseconds = 100 * +e2;
77
- }], SS: [r, function(e2) {
78
- this.milliseconds = 10 * +e2;
79
- }], SSS: [/\d{3}/, function(e2) {
80
- this.milliseconds = +e2;
81
- }], s: [i, f("seconds")], ss: [i, f("seconds")], m: [i, f("minutes")], mm: [i, f("minutes")], H: [i, f("hours")], h: [i, f("hours")], HH: [i, f("hours")], hh: [i, f("hours")], D: [i, f("day")], DD: [r, f("day")], Do: [o, function(e2) {
82
- var t2 = s.ordinal, n2 = e2.match(/\d+/);
83
- if (this.day = n2[0], t2) for (var r2 = 1; r2 <= 31; r2 += 1) t2(r2).replace(/\[|\]/g, "") === e2 && (this.day = r2);
84
- }], w: [i, f("week")], ww: [r, f("week")], M: [i, f("month")], MM: [r, f("month")], MMM: [o, function(e2) {
85
- var t2 = u("months"), n2 = (u("monthsShort") || t2.map((function(e3) {
86
- return e3.slice(0, 3);
87
- }))).indexOf(e2) + 1;
88
- if (n2 < 1) throw new Error();
89
- this.month = n2 % 12 || n2;
90
- }], MMMM: [o, function(e2) {
91
- var t2 = u("months").indexOf(e2) + 1;
92
- if (t2 < 1) throw new Error();
93
- this.month = t2 % 12 || t2;
94
- }], Y: [/[+-]?\d+/, f("year")], YY: [r, function(e2) {
95
- this.year = a(e2);
96
- }], YYYY: [/\d{4}/, f("year")], Z: h, ZZ: h };
97
- function l(n2) {
98
- var r2, i2;
99
- r2 = n2, i2 = s && s.formats;
100
- for (var o2 = (n2 = r2.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(t2, n3, r3) {
101
- var o3 = r3 && r3.toUpperCase();
102
- return n3 || i2[r3] || e[r3] || i2[o3].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(e2, t3, n4) {
103
- return t3 || n4.slice(1);
104
- }));
105
- }))).match(t), a2 = o2.length, f2 = 0; f2 < a2; f2 += 1) {
106
- var h2 = o2[f2], u2 = c[h2], d2 = u2 && u2[0], l2 = u2 && u2[1];
107
- o2[f2] = l2 ? { regex: d2, parser: l2 } : h2.replace(/^\[|\]$/g, "");
108
- }
109
- return function(e2) {
110
- for (var t2 = {}, n3 = 0, r3 = 0; n3 < a2; n3 += 1) {
111
- var i3 = o2[n3];
112
- if ("string" == typeof i3) r3 += i3.length;
113
- else {
114
- var s2 = i3.regex, f3 = i3.parser, h3 = e2.slice(r3), u3 = s2.exec(h3)[0];
115
- f3.call(t2, u3), e2 = e2.replace(u3, "");
116
- }
117
- }
118
- return (function(e3) {
119
- var t3 = e3.afternoon;
120
- if (void 0 !== t3) {
121
- var n4 = e3.hours;
122
- t3 ? n4 < 12 && (e3.hours += 12) : 12 === n4 && (e3.hours = 0), delete e3.afternoon;
123
- }
124
- })(t2), t2;
125
- };
126
- }
127
- return function(e2, t2, n2) {
128
- n2.p.customParseFormat = true, e2 && e2.parseTwoDigitYear && (a = e2.parseTwoDigitYear);
129
- var r2 = t2.prototype, i2 = r2.parse;
130
- r2.parse = function(e3) {
131
- var t3 = e3.date, r3 = e3.utc, o2 = e3.args;
132
- this.$u = r3;
133
- var a2 = o2[1];
134
- if ("string" == typeof a2) {
135
- var f2 = true === o2[2], h2 = true === o2[3], u2 = f2 || h2, d2 = o2[2];
136
- h2 && (d2 = o2[2]), s = this.$locale(), !f2 && d2 && (s = n2.Ls[d2]), this.$d = (function(e4, t4, n3, r4) {
137
- try {
138
- if (["x", "X"].indexOf(t4) > -1) return new Date(("X" === t4 ? 1e3 : 1) * e4);
139
- var i3 = l(t4)(e4), o3 = i3.year, s2 = i3.month, a3 = i3.day, f3 = i3.hours, h3 = i3.minutes, u3 = i3.seconds, d3 = i3.milliseconds, c3 = i3.zone, m2 = i3.week, M2 = /* @__PURE__ */ new Date(), Y = a3 || (o3 || s2 ? 1 : M2.getDate()), p = o3 || M2.getFullYear(), v = 0;
140
- o3 && !s2 || (v = s2 > 0 ? s2 - 1 : M2.getMonth());
141
- var D, w = f3 || 0, g = h3 || 0, y = u3 || 0, L = d3 || 0;
142
- return c3 ? new Date(Date.UTC(p, v, Y, w, g, y, L + 60 * c3.offset * 1e3)) : n3 ? new Date(Date.UTC(p, v, Y, w, g, y, L)) : (D = new Date(p, v, Y, w, g, y, L), m2 && (D = r4(D).week(m2).toDate()), D);
143
- } catch (e5) {
144
- return /* @__PURE__ */ new Date("");
145
- }
146
- })(t3, a2, r3, n2), this.init(), d2 && true !== d2 && (this.$L = this.locale(d2).$L), u2 && t3 != this.format(a2) && (this.$d = /* @__PURE__ */ new Date("")), s = {};
147
- } else if (a2 instanceof Array) for (var c2 = a2.length, m = 1; m <= c2; m += 1) {
148
- o2[1] = a2[m - 1];
149
- var M = n2.apply(this, o2);
150
- if (M.isValid()) {
151
- this.$d = M.$d, this.$L = M.$L, this.init();
152
- break;
153
- }
154
- m === c2 && (this.$d = /* @__PURE__ */ new Date(""));
155
- }
156
- else i2.call(this, e3);
157
- };
158
- };
159
- }));
160
- }
161
- });
162
-
163
- // shell/.ojm-shim-dayjs-plugin-customParseFormat.mjs
164
- var ojm_shim_dayjs_plugin_customParseFormat_exports = {};
165
- __export(ojm_shim_dayjs_plugin_customParseFormat_exports, {
166
- default: () => ojm_shim_dayjs_plugin_customParseFormat_default
167
- });
168
- var __ns = __toESM(require_customParseFormat(), 1);
169
- __reExport(ojm_shim_dayjs_plugin_customParseFormat_exports, __toESM(require_customParseFormat(), 1));
170
- var ojm_shim_dayjs_plugin_customParseFormat_default = __ns.default ?? __ns;
171
- export {
172
- ojm_shim_dayjs_plugin_customParseFormat_default as default
173
- };
@@ -1,77 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- try {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- } catch (e) {
11
- throw mod = 0, e;
12
- }
13
- };
14
- var __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
27
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
- // If the importer is in node compatibility mode or this is not an ESM
29
- // file that has been converted to a CommonJS file using a Babel-
30
- // compatible transform (i.e. "__esModule" has not been set), then set
31
- // "default" to the CommonJS "module.exports" for node compatibility.
32
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
- mod
34
- ));
35
-
36
- // ../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/isoWeek.js
37
- var require_isoWeek = __commonJS({
38
- "../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/isoWeek.js"(exports, module) {
39
- !(function(e, t) {
40
- "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_isoWeek = t();
41
- })(exports, (function() {
42
- "use strict";
43
- var e = "day";
44
- return function(t, i, s) {
45
- var a = function(t2) {
46
- return t2.add(4 - t2.isoWeekday(), e);
47
- }, d = i.prototype;
48
- d.isoWeekYear = function() {
49
- return a(this).year();
50
- }, d.isoWeek = function(t2) {
51
- if (!this.$utils().u(t2)) return this.add(7 * (t2 - this.isoWeek()), e);
52
- var i2, d2, n2, o, r = a(this), u = (i2 = this.isoWeekYear(), d2 = this.$u, n2 = (d2 ? s.utc : s)().year(i2).startOf("year"), o = 4 - n2.isoWeekday(), n2.isoWeekday() > 4 && (o += 7), n2.add(o, e));
53
- return r.diff(u, "week") + 1;
54
- }, d.isoWeekday = function(e2) {
55
- return this.$utils().u(e2) ? this.day() || 7 : this.day(this.day() % 7 ? e2 : e2 - 7);
56
- };
57
- var n = d.startOf;
58
- d.startOf = function(e2, t2) {
59
- var i2 = this.$utils(), s2 = !!i2.u(t2) || t2;
60
- return "isoweek" === i2.p(e2) ? s2 ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : n.bind(this)(e2, t2);
61
- };
62
- };
63
- }));
64
- }
65
- });
66
-
67
- // shell/.ojm-shim-dayjs-plugin-isoWeek.mjs
68
- var ojm_shim_dayjs_plugin_isoWeek_exports = {};
69
- __export(ojm_shim_dayjs_plugin_isoWeek_exports, {
70
- default: () => ojm_shim_dayjs_plugin_isoWeek_default
71
- });
72
- var __ns = __toESM(require_isoWeek(), 1);
73
- __reExport(ojm_shim_dayjs_plugin_isoWeek_exports, __toESM(require_isoWeek(), 1));
74
- var ojm_shim_dayjs_plugin_isoWeek_default = __ns.default ?? __ns;
75
- export {
76
- ojm_shim_dayjs_plugin_isoWeek_default as default
77
- };
@@ -1,126 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- try {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- } catch (e) {
11
- throw mod = 0, e;
12
- }
13
- };
14
- var __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
27
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
- // If the importer is in node compatibility mode or this is not an ESM
29
- // file that has been converted to a CommonJS file using a Babel-
30
- // compatible transform (i.e. "__esModule" has not been set), then set
31
- // "default" to the CommonJS "module.exports" for node compatibility.
32
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
- mod
34
- ));
35
-
36
- // ../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/localeData.js
37
- var require_localeData = __commonJS({
38
- "../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/localeData.js"(exports, module) {
39
- !(function(n, e) {
40
- "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (n = "undefined" != typeof globalThis ? globalThis : n || self).dayjs_plugin_localeData = e();
41
- })(exports, (function() {
42
- "use strict";
43
- return function(n, e, t) {
44
- var r = e.prototype, o = function(n2) {
45
- return n2 && (n2.indexOf ? n2 : n2.s);
46
- }, u = function(n2, e2, t2, r2, u2) {
47
- var i2 = n2.name ? n2 : n2.$locale(), a2 = o(i2[e2]), s2 = o(i2[t2]), f = a2 || s2.map((function(n3) {
48
- return n3.slice(0, r2);
49
- }));
50
- if (!u2) return f;
51
- var d = i2.weekStart;
52
- return f.map((function(n3, e3) {
53
- return f[(e3 + (d || 0)) % 7];
54
- }));
55
- }, i = function() {
56
- return t.Ls[t.locale()];
57
- }, a = function(n2, e2) {
58
- return n2.formats[e2] || (function(n3) {
59
- return n3.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(n4, e3, t2) {
60
- return e3 || t2.slice(1);
61
- }));
62
- })(n2.formats[e2.toUpperCase()]);
63
- }, s = function() {
64
- var n2 = this;
65
- return { months: function(e2) {
66
- return e2 ? e2.format("MMMM") : u(n2, "months");
67
- }, monthsShort: function(e2) {
68
- return e2 ? e2.format("MMM") : u(n2, "monthsShort", "months", 3);
69
- }, firstDayOfWeek: function() {
70
- return n2.$locale().weekStart || 0;
71
- }, weekdays: function(e2) {
72
- return e2 ? e2.format("dddd") : u(n2, "weekdays");
73
- }, weekdaysMin: function(e2) {
74
- return e2 ? e2.format("dd") : u(n2, "weekdaysMin", "weekdays", 2);
75
- }, weekdaysShort: function(e2) {
76
- return e2 ? e2.format("ddd") : u(n2, "weekdaysShort", "weekdays", 3);
77
- }, longDateFormat: function(e2) {
78
- return a(n2.$locale(), e2);
79
- }, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal };
80
- };
81
- r.localeData = function() {
82
- return s.bind(this)();
83
- }, t.localeData = function() {
84
- var n2 = i();
85
- return { firstDayOfWeek: function() {
86
- return n2.weekStart || 0;
87
- }, weekdays: function() {
88
- return t.weekdays();
89
- }, weekdaysShort: function() {
90
- return t.weekdaysShort();
91
- }, weekdaysMin: function() {
92
- return t.weekdaysMin();
93
- }, months: function() {
94
- return t.months();
95
- }, monthsShort: function() {
96
- return t.monthsShort();
97
- }, longDateFormat: function(e2) {
98
- return a(n2, e2);
99
- }, meridiem: n2.meridiem, ordinal: n2.ordinal };
100
- }, t.months = function() {
101
- return u(i(), "months");
102
- }, t.monthsShort = function() {
103
- return u(i(), "monthsShort", "months", 3);
104
- }, t.weekdays = function(n2) {
105
- return u(i(), "weekdays", null, null, n2);
106
- }, t.weekdaysShort = function(n2) {
107
- return u(i(), "weekdaysShort", "weekdays", 3, n2);
108
- }, t.weekdaysMin = function(n2) {
109
- return u(i(), "weekdaysMin", "weekdays", 2, n2);
110
- };
111
- };
112
- }));
113
- }
114
- });
115
-
116
- // shell/.ojm-shim-dayjs-plugin-localeData.mjs
117
- var ojm_shim_dayjs_plugin_localeData_exports = {};
118
- __export(ojm_shim_dayjs_plugin_localeData_exports, {
119
- default: () => ojm_shim_dayjs_plugin_localeData_default
120
- });
121
- var __ns = __toESM(require_localeData(), 1);
122
- __reExport(ojm_shim_dayjs_plugin_localeData_exports, __toESM(require_localeData(), 1));
123
- var ojm_shim_dayjs_plugin_localeData_default = __ns.default ?? __ns;
124
- export {
125
- ojm_shim_dayjs_plugin_localeData_default as default
126
- };
@@ -1,77 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- try {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- } catch (e) {
11
- throw mod = 0, e;
12
- }
13
- };
14
- var __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
27
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
- // If the importer is in node compatibility mode or this is not an ESM
29
- // file that has been converted to a CommonJS file using a Babel-
30
- // compatible transform (i.e. "__esModule" has not been set), then set
31
- // "default" to the CommonJS "module.exports" for node compatibility.
32
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
- mod
34
- ));
35
-
36
- // ../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/quarterOfYear.js
37
- var require_quarterOfYear = __commonJS({
38
- "../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/quarterOfYear.js"(exports, module) {
39
- !(function(t, n) {
40
- "object" == typeof exports && "undefined" != typeof module ? module.exports = n() : "function" == typeof define && define.amd ? define(n) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs_plugin_quarterOfYear = n();
41
- })(exports, (function() {
42
- "use strict";
43
- var t = "month", n = "quarter";
44
- return function(e, i) {
45
- var r = i.prototype;
46
- r.quarter = function(t2) {
47
- return this.$utils().u(t2) ? Math.ceil((this.month() + 1) / 3) : this.month(this.month() % 3 + 3 * (t2 - 1));
48
- };
49
- var s = r.add;
50
- r.add = function(e2, i2) {
51
- return e2 = Number(e2), this.$utils().p(i2) === n ? this.add(3 * e2, t) : s.bind(this)(e2, i2);
52
- };
53
- var u = r.startOf;
54
- r.startOf = function(e2, i2) {
55
- var r2 = this.$utils(), s2 = !!r2.u(i2) || i2;
56
- if (r2.p(e2) === n) {
57
- var o = this.quarter() - 1;
58
- return s2 ? this.month(3 * o).startOf(t).startOf("day") : this.month(3 * o + 2).endOf(t).endOf("day");
59
- }
60
- return u.bind(this)(e2, i2);
61
- };
62
- };
63
- }));
64
- }
65
- });
66
-
67
- // shell/.ojm-shim-dayjs-plugin-quarterOfYear.mjs
68
- var ojm_shim_dayjs_plugin_quarterOfYear_exports = {};
69
- __export(ojm_shim_dayjs_plugin_quarterOfYear_exports, {
70
- default: () => ojm_shim_dayjs_plugin_quarterOfYear_default
71
- });
72
- var __ns = __toESM(require_quarterOfYear(), 1);
73
- __reExport(ojm_shim_dayjs_plugin_quarterOfYear_exports, __toESM(require_quarterOfYear(), 1));
74
- var ojm_shim_dayjs_plugin_quarterOfYear_default = __ns.default ?? __ns;
75
- export {
76
- ojm_shim_dayjs_plugin_quarterOfYear_default as default
77
- };
@@ -1,92 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- try {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- } catch (e) {
11
- throw mod = 0, e;
12
- }
13
- };
14
- var __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
27
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
- // If the importer is in node compatibility mode or this is not an ESM
29
- // file that has been converted to a CommonJS file using a Babel-
30
- // compatible transform (i.e. "__esModule" has not been set), then set
31
- // "default" to the CommonJS "module.exports" for node compatibility.
32
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
- mod
34
- ));
35
-
36
- // ../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/relativeTime.js
37
- var require_relativeTime = __commonJS({
38
- "../../node_modules/.pnpm/dayjs@1.11.23/node_modules/dayjs/plugin/relativeTime.js"(exports, module) {
39
- !(function(r, e) {
40
- "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (r = "undefined" != typeof globalThis ? globalThis : r || self).dayjs_plugin_relativeTime = e();
41
- })(exports, (function() {
42
- "use strict";
43
- return function(r, e, t) {
44
- r = r || {};
45
- var n = e.prototype, o = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
46
- function i(r2, e2, t2, o2) {
47
- return n.fromToBase(r2, e2, t2, o2);
48
- }
49
- t.en.relativeTime = o, n.fromToBase = function(e2, n2, i2, d2, u) {
50
- for (var f, a, s, l = i2.$locale().relativeTime || o, h = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], m = h.length, c = 0; c < m; c += 1) {
51
- var y = h[c];
52
- y.d && (f = d2 ? t(e2).diff(i2, y.d, true) : i2.diff(e2, y.d, true));
53
- var p = (r.rounding || Math.round)(Math.abs(f));
54
- if (s = f > 0, p <= y.r || !y.r) {
55
- p <= 1 && c > 0 && (y = h[c - 1]);
56
- var v = l[y.l];
57
- u && (p = u("" + p)), a = "string" == typeof v ? v.replace("%d", p) : v(p, n2, y.l, s);
58
- break;
59
- }
60
- }
61
- if (n2) return a;
62
- var M = s ? l.future : l.past;
63
- return "function" == typeof M ? M(a) : M.replace("%s", a);
64
- }, n.to = function(r2, e2) {
65
- return i(r2, e2, this, true);
66
- }, n.from = function(r2, e2) {
67
- return i(r2, e2, this);
68
- };
69
- var d = function(r2) {
70
- return r2.$u ? t.utc() : t();
71
- };
72
- n.toNow = function(r2) {
73
- return this.to(d(this), r2);
74
- }, n.fromNow = function(r2) {
75
- return this.from(d(this), r2);
76
- };
77
- };
78
- }));
79
- }
80
- });
81
-
82
- // shell/.ojm-shim-dayjs-plugin-relativeTime.mjs
83
- var ojm_shim_dayjs_plugin_relativeTime_exports = {};
84
- __export(ojm_shim_dayjs_plugin_relativeTime_exports, {
85
- default: () => ojm_shim_dayjs_plugin_relativeTime_default
86
- });
87
- var __ns = __toESM(require_relativeTime(), 1);
88
- __reExport(ojm_shim_dayjs_plugin_relativeTime_exports, __toESM(require_relativeTime(), 1));
89
- var ojm_shim_dayjs_plugin_relativeTime_default = __ns.default ?? __ns;
90
- export {
91
- ojm_shim_dayjs_plugin_relativeTime_default as default
92
- };