@oj-module/cli 0.2.64 → 0.2.67
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.
- package/bin/.oj-version +1 -0
- package/bin/oj +4 -0
- package/devkit/README.md +18 -4
- package/devkit/SKILL.md +35 -3
- package/devkit/framework-dev.md +22 -11
- package/devkit/manual.md +161 -68
- package/devkit/menu-rules.md +4 -1
- package/devkit/publish-walkthrough.md +110 -37
- package/devkit/wecom-internal-app.md +7 -2
- package/devkit/wecom-multi-corp-links.md +163 -0
- package/package.json +3 -2
- package/shell-dist/assets/ahooks.2l850ymmh0.js +18 -0
- package/shell-dist/assets/antd-es-locale-zh_CN.1gjjsvxbf0.js +1 -0
- package/shell-dist/assets/antd-img-crop.196rkty480.js +99 -0
- package/shell-dist/assets/antd-locale-en_US.561tozx860.js +1 -0
- package/shell-dist/assets/antd-locale-zh_CN.1cmpmgzh70.js +1 -0
- package/shell-dist/assets/antd.uw1coq15l0.js +348 -0
- package/shell-dist/assets/clsx.jotilrt2e0.js +1 -0
- package/shell-dist/assets/contract-errors.2o17vz9u50.js +1 -0
- package/shell-dist/assets/contract.3h327o3mj0.js +57 -0
- package/shell-dist/assets/cssinjs.atgmhan7m0.js +3 -0
- package/shell-dist/assets/dayjs-plugin-advancedFormat.3vsyd2eis0.js +1 -0
- package/shell-dist/assets/dayjs-plugin-customParseFormat.13xhghv1d0.js +1 -0
- package/shell-dist/assets/dayjs-plugin-isoWeek.1fn1tw82p0.js +1 -0
- package/shell-dist/assets/dayjs-plugin-localeData.2rwbjp9nk0.js +1 -0
- package/shell-dist/assets/dayjs-plugin-quarterOfYear.2oqo1lcx80.js +1 -0
- package/shell-dist/assets/dayjs-plugin-relativeTime.2pqs3et4y0.js +1 -0
- package/shell-dist/assets/dayjs-plugin-weekOfYear.gvn9iph080.js +1 -0
- package/shell-dist/assets/dayjs-plugin-weekYear.2u78l3ex10.js +1 -0
- package/shell-dist/assets/dayjs-plugin-weekday.2d56a4tml0.js +1 -0
- package/shell-dist/assets/dayjs.pa60l6wjo0.js +1 -0
- package/shell-dist/assets/dnd-kit-core.1xyreig6r0.js +5 -0
- package/shell-dist/assets/dnd-kit-sortable.s94qciuft0.js +1 -0
- package/shell-dist/assets/dnd-kit-utilities.1umw4xphb0.js +1 -0
- package/shell-dist/assets/i18next.33zqofapj0.js +1 -0
- package/shell-dist/assets/icons-es-components-Context.365qmflwg0.js +1 -0
- package/shell-dist/assets/icons.159wjwals0.js +57 -0
- package/shell-dist/assets/{index-xZhmujjM.js → index.6alqyx6ae0.js} +21 -1
- package/shell-dist/assets/jsx-dev-runtime.3uibuc82f0.js +14 -0
- package/shell-dist/assets/jsx-runtime.h40xu4o5b0.js +14 -0
- package/shell-dist/assets/keepalive-for-react.xenu5vam70.js +1 -0
- package/shell-dist/assets/kit.37kr8ui390.js +1 -0
- package/shell-dist/assets/ky.1cgch7gu60.js +6 -0
- package/shell-dist/assets/motion-react.pjsxytvjs0.js +12 -0
- package/shell-dist/assets/motion.21tciqutg0.js +4 -0
- package/shell-dist/assets/nprogress.2nz76n9ny0.js +7 -0
- package/shell-dist/assets/ojm-dayjs-locale-zh-cn.3vr3beiyp0.js +9 -0
- package/shell-dist/assets/pinyin-pro.3v0mnxczn0.js +1 -0
- package/shell-dist/assets/pro-components.2kyot1vcl0.js +83 -0
- package/shell-dist/assets/react-countup.2x8idnr8y0.js +10 -0
- package/shell-dist/assets/react-dom-client.ick0v05ob0.js +43 -0
- package/shell-dist/assets/react-dom.2so9uxg3f0.js +22 -0
- package/shell-dist/assets/react-error-boundary.2dncdfj3b0.js +1 -0
- package/shell-dist/assets/react-i18next.auhvjhqv00.js +1 -0
- package/shell-dist/assets/react-jss.1ei6dr9e00.js +29 -0
- package/shell-dist/assets/react-query.3rln45ow00.js +1 -0
- package/shell-dist/assets/react-router-dom.3c6zld8h40.js +44 -0
- package/shell-dist/assets/react-router.2h9rebcv50.js +56 -0
- package/shell-dist/assets/react.1ew63mwts0.js +14 -0
- package/shell-dist/assets/runtime.2dgstpjsu0.js +21702 -0
- package/shell-dist/assets/simplebar-react.2g739uvai0.js +1 -0
- package/shell-dist/assets/spin-delay.yjeyj6iwp0.js +9 -0
- package/shell-dist/assets/tailwind-merge.125ehiqjw0.js +1 -0
- package/shell-dist/assets/use-sync-external-store-shim.1nz1pi9bb0.js +22 -0
- package/shell-dist/assets/zustand-middleware.1xaxjueme0.js +6 -0
- package/shell-dist/assets/zustand-react-shallow.pybayv1hx0.js +1 -0
- package/shell-dist/assets/zustand-react.9fsl9brxy0.js +1 -0
- package/shell-dist/assets/zustand-shallow.6cz0yyv9x0.js +1 -0
- package/shell-dist/assets/zustand-vanilla-shallow.3424monv50.js +1 -0
- package/shell-dist/assets/zustand-vanilla.1mo3ka3g30.js +1 -0
- package/shell-dist/assets/zustand.3gjgzlnqo0.js +1 -0
- package/shell-dist/index.html +67 -118
- package/shell-dist/versions.json +3 -3
- package/src/__tests__/publish-keygen.test.ts +157 -0
- package/src/__tests__/templates-migration-schema-parity.test.ts +540 -0
- package/src/__tests__/templates-schema-columns.test.ts +15 -2
- package/src/__tests__/templates-tenant-scope.test.ts +6 -2
- package/src/bundle.ts +8 -3
- package/src/cli.ts +17 -5
- package/src/dev.ts +15 -10
- package/src/esm-exports.ts +152 -70
- package/src/install.ts +11 -4
- package/src/keygen.ts +54 -0
- package/src/lifecycle/__tests__/bundle.test.ts +21 -3
- package/src/lifecycle/__tests__/fixtures/fixture-valid/api/src/demo-solution/manifest.yaml +1 -1
- package/src/lifecycle/__tests__/fixtures/fixture-valid/api/src/demo-solution/migrations/0001__init.sql +2 -2
- package/src/lifecycle/__tests__/fixtures/fixture-valid/api/src/demo-solution/schema.yaml +5 -2
- package/src/lifecycle/__tests__/fixtures/fixture-valid/manifest.yaml +1 -1
- package/src/lifecycle/__tests__/manifest-contract.test.ts +75 -3
- package/src/lifecycle/__tests__/smoke.test.ts +2 -2
- package/src/manifest-contract.ts +91 -8
- package/src/market/bootstrap.ts +26 -2
- package/src/market/command.ts +1 -0
- package/src/market/publish.ts +5 -1
- package/src/market/walkthrough.ts +24 -8
- package/src/shared-deps.ts +69 -19
- package/src/site-base.ts +4 -0
- package/src/site.ts +2 -0
- package/src/usage.ts +8 -4
- package/src/vendor.ts +5 -1
- package/templates/config.yaml +4 -2
- package/templates/init.include.yaml +8 -3
- package/templates/openapi.json +460 -1
- package/templates/src/app/api/_platform/_lifecycle/compensate.ts +136 -0
- package/templates/src/app/api/_platform/_lifecycle/installer.ts +71 -22
- package/templates/src/app/api/_platform/_lifecycle/lock.ts +23 -0
- package/templates/src/app/api/_platform/_lifecycle/steps/deploy-web.ts +28 -0
- package/templates/src/app/api/_platform/_lifecycle/steps/preflight.ts +46 -0
- package/templates/src/app/api/_platform/_lifecycle/steps/reload.ts +100 -36
- package/templates/src/app/api/_platform/_lifecycle/steps/smoke.ts +7 -15
- package/templates/src/app/api/_platform/_lifecycle/text-edit.ts +71 -19
- package/templates/src/app/api/_platform/_lifecycle/types.ts +26 -2
- package/templates/src/app/api/_platform/_lifecycle/uninstall.ts +93 -14
- package/templates/src/app/api/_platform/_shared/service/domain/settings.ts +8 -4
- package/templates/src/app/api/_platform/manifest.yaml +1 -0
- package/templates/src/app/api/_platform/market/api.ts +235 -10
- package/templates/src/app/api/_platform/migrations/0001__baseline.mysql.sql +178 -0
- package/templates/src/app/api/_platform/migrations/0001__baseline.pg.sql +173 -0
- package/templates/src/app/api/_platform/migrations/0001__baseline.sql +188 -0
- package/templates/src/app/api/_platform/migrations/0002__market_release.mysql.sql +17 -0
- package/templates/src/app/api/_platform/migrations/0002__market_release.pg.sql +16 -0
- package/templates/src/app/api/_platform/migrations/0002__market_release.sql +33 -0
- package/templates/src/app/api/_platform/schema.yaml +18 -0
- package/templates/src/app/api/_platform/seed.mysql.sql +10 -0
- package/templates/src/app/api/_platform/seed.pg.sql +10 -0
- package/templates/src/app/api/auth/_shared/wecom/client.ts +24 -4
- package/templates/src/app/api/home/migrations/0001__create_home_tables.mysql.sql +14 -0
- package/templates/src/app/api/home/migrations/0001__create_home_tables.pg.sql +14 -0
- package/templates/src/app/api/home/migrations/0002__tenant.pg.sql +4 -0
- package/templates/src/app/api/home/seed.mysql.sql +71 -0
- package/templates/src/app/api/home/seed.pg.sql +71 -0
- package/templates/src/app/api/notification/_shared/notify.ts +6 -6
- package/templates/src/app/api/notification/migrations/0001__create_notifications.mysql.sql +11 -0
- package/templates/src/app/api/notification/migrations/0001__create_notifications.pg.sql +11 -0
- package/templates/src/app/api/notification/migrations/0002__notifications_user.mysql.sql +8 -0
- package/templates/src/app/api/notification/migrations/0003__notifications_broadcast.mysql.sql +21 -0
- package/templates/src/app/api/notification/migrations/0003__notifications_broadcast.pg.sql +22 -0
- package/templates/src/app/api/notification/migrations/0004__notifications_broadcast_hidden.mysql.sql +10 -0
- package/templates/src/app/api/notification/migrations/0004__notifications_broadcast_hidden.pg.sql +11 -0
- package/templates/src/app/api/notification/migrations/0005__tenant.pg.sql +6 -0
- package/templates/src/app/api/notification/seed.mysql.sql +8 -0
- package/templates/src/app/api/notification/seed.pg.sql +11 -0
- package/templates/src/app/api/publish/_shared/identity.ts +69 -0
- package/templates/src/app/api/publish/api.ts +349 -0
- package/templates/src/app/api/publish/manifest.yaml +8 -0
- package/templates/src/app/api/publish/migrations/0001__publish_credential.mysql.sql +23 -0
- package/templates/src/app/api/publish/migrations/0001__publish_credential.pg.sql +23 -0
- package/templates/src/app/api/publish/migrations/0001__publish_credential.sql +39 -0
- package/templates/src/app/api/publish/schema.yaml +33 -0
- package/templates/src/app/api/system/login-methods/api.ts +2 -1
- package/templates/src/app/web/_platform/__client/api.schemas.ts +15 -0
- package/templates/src/app/web/_platform/__client/index.ts +25 -1
- package/templates/src/app/web/entry.ts +9 -5
- package/templates/src/app/web/home/pages/components/bar-chart.tsx +5 -3
- package/templates/src/app/web/home/pages/components/echarts-setup.ts +30 -0
- package/templates/src/app/web/home/pages/components/line-chart.tsx +5 -3
- package/templates/src/app/web/home/pages/components/pie-chart.tsx +6 -3
- package/templates/src/app/web/home/pages/index.tsx +3 -2
- package/templates/src/app/web/home/routes.ts +8 -2
- package/templates/src/app/web/login/locales/en-US.json +7 -1
- package/templates/src/app/web/login/locales/zh-CN.json +7 -1
- package/templates/src/app/web/login/pages/login.tsx +79 -86
- package/templates/src/app/web/login/routes.ts +54 -1
- package/templates/src/app/web/personal-center/locales/en-US.json +1 -0
- package/templates/src/app/web/personal-center/locales/zh-CN.json +1 -0
- package/templates/src/app/web/personal-center/pages/my-profile/index.tsx +5 -0
- package/templates/src/app/web/system/__client/api.schemas.ts +2 -1
- package/templates/src/app/web/system/locales/en-US.json +1 -8
- package/templates/src/app/web/system/locales/zh-CN.json +1 -8
- package/templates/src/app/web/system/pages/settings/index.tsx +17 -4
- package/templates/src/app/web/system/routes.ts +0 -6
- package/templates/src/oj-market/web/__tests__/CardGrid.test.tsx +33 -0
- package/templates/src/oj-market/web/__tests__/DetailDrawer.test.tsx +69 -0
- package/templates/src/oj-market/web/__tests__/marketClient.fake.ts +7 -1
- package/templates/src/oj-market/web/api/client.ts +3 -0
- package/templates/src/oj-market/web/api/defaultClient.ts +5 -0
- package/templates/src/oj-market/web/components/CardItem.tsx +44 -1
- package/templates/src/oj-market/web/components/DetailDrawer.tsx +17 -1
- package/templates/src/oj-market/web/entry.ts +31 -2
- package/templates/src/oj-market/web/locales/en-US.json +5 -1
- package/templates/src/oj-market/web/locales/zh-CN.json +5 -1
- package/templates/src/oj-market/web/publish/__client/api.schemas.ts +61 -0
- package/templates/src/oj-market/web/publish/__client/index.ts +164 -0
- package/templates/src/oj-market/web/publish/locales/en-US.json +80 -0
- package/templates/src/oj-market/web/publish/locales/zh-CN.json +80 -0
- package/templates/src/oj-market/web/publish/pages/history.tsx +112 -0
- package/templates/src/oj-market/web/publish/pages/index.tsx +196 -0
- package/templates/src/oj-market/web/publish/pages/model.ts +52 -0
- package/templates/src/oj-market/web/publish/pages/token-modal.tsx +82 -0
- package/templates/src/oj-market/web/publish/routes.ts +41 -0
- package/templates/src/oj-market/web/types.ts +30 -0
- package/templates/tests/lifecycle/compensate.spec.ts +207 -0
- package/templates/tests/lifecycle/deploy-smoke.spec.ts +38 -14
- package/templates/tests/lifecycle/installer.spec.ts +28 -9
- package/templates/tests/lifecycle/market-api.spec.ts +164 -12
- package/templates/tests/lifecycle/preflight.spec.ts +68 -0
- package/templates/tests/lifecycle/role-title-translate.spec.ts +2 -32
- package/templates/tests/lifecycle/text-edit.spec.ts +45 -27
- package/templates/tests/lifecycle/uninstall.spec.ts +36 -0
- package/templates/tests/publish-credential.spec.ts +354 -0
- package/templates/tests/publish-identity.spec.ts +44 -0
- package/templates/tests/wecom-client-timeout.spec.ts +33 -3
- package/templates/tests/wecom-landing.spec.ts +63 -1
- package/templates/tsconfig.paths.json +1 -0
- package/templates/web.config.ts +6 -4
- package/vendor/host-versions.json +3 -3
- package/shell-dist/assets/ahooks.js +0 -6909
- package/shell-dist/assets/antd-es-locale-zh_CN.js +0 -257
- package/shell-dist/assets/antd-img-crop.js +0 -1495
- package/shell-dist/assets/antd-locale-en_US.js +0 -374
- package/shell-dist/assets/antd-locale-zh_CN.js +0 -379
- package/shell-dist/assets/antd.js +0 -106874
- package/shell-dist/assets/clsx.js +0 -33
- package/shell-dist/assets/contract-errors.js +0 -30
- package/shell-dist/assets/contract.js +0 -18900
- package/shell-dist/assets/cssinjs.js +0 -2595
- package/shell-dist/assets/dayjs-plugin-advancedFormat.js +0 -98
- package/shell-dist/assets/dayjs-plugin-customParseFormat.js +0 -173
- package/shell-dist/assets/dayjs-plugin-isoWeek.js +0 -77
- package/shell-dist/assets/dayjs-plugin-localeData.js +0 -126
- package/shell-dist/assets/dayjs-plugin-quarterOfYear.js +0 -77
- package/shell-dist/assets/dayjs-plugin-relativeTime.js +0 -92
- package/shell-dist/assets/dayjs-plugin-weekOfYear.js +0 -73
- package/shell-dist/assets/dayjs-plugin-weekYear.js +0 -63
- package/shell-dist/assets/dayjs-plugin-weekday.js +0 -63
- package/shell-dist/assets/dayjs.js +0 -326
- package/shell-dist/assets/dnd-kit-core.js +0 -3601
- package/shell-dist/assets/dnd-kit-sortable.js +0 -717
- package/shell-dist/assets/dnd-kit-utilities.js +0 -340
- package/shell-dist/assets/i18next.js +0 -2321
- package/shell-dist/assets/icons-es-components-Context.js +0 -20
- package/shell-dist/assets/icons.js +0 -34961
- package/shell-dist/assets/jsx-dev-runtime.js +0 -75
- package/shell-dist/assets/jsx-runtime.js +0 -97
- package/shell-dist/assets/keepalive-for-react.js +0 -283
- package/shell-dist/assets/kit.js +0 -151
- package/shell-dist/assets/ky.js +0 -1427
- package/shell-dist/assets/motion-react.js +0 -13589
- package/shell-dist/assets/motion.js +0 -9959
- package/shell-dist/assets/nprogress.js +0 -314
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-BarsOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-CalendarOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-CaretDownFilled.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-CaretDownOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-CaretUpOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-CheckCircleFilled.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-CheckOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-ClockCircleOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-CloseCircleFilled.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-CloseOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-CopyOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-DeleteOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-DoubleLeftOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-DoubleRightOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-DownOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-DownloadOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-EditOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-EllipsisOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-EnterOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-ExclamationCircleFilled.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-EyeInvisibleOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-EyeOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-FileOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-FileTextOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-FilterFilled.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-FolderOpenOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-FolderOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-HolderOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-InfoCircleFilled.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-LeftOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-LoadingOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-MinusOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-MinusSquareOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-PaperClipOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-PictureOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-PlusOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-PlusSquareOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-QuestionCircleOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-ReloadOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-RightOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-RotateLeftOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-RotateRightOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-SearchOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-StarFilled.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-SwapOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-SwapRightOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-UpOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-VerticalAlignTopOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-WarningFilled.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-ZoomInOutlined.js +0 -7
- package/shell-dist/assets/ojm--ant-design-icons-es-icons-ZoomOutOutlined.js +0 -7
- package/shell-dist/assets/ojm-dayjs-locale-zh-cn.js +0 -81
- package/shell-dist/assets/pinyin-pro.js +0 -25175
- package/shell-dist/assets/pro-components.js +0 -44627
- package/shell-dist/assets/react-countup.js +0 -525
- package/shell-dist/assets/react-dom-client.js +0 -12134
- package/shell-dist/assets/react-dom.js +0 -266
- package/shell-dist/assets/react-error-boundary.js +0 -141
- package/shell-dist/assets/react-i18next.js +0 -1773
- package/shell-dist/assets/react-jss.js +0 -4089
- package/shell-dist/assets/react-query.js +0 -3072
- package/shell-dist/assets/react-router-dom.js +0 -9927
- package/shell-dist/assets/react-router.js +0 -14584
- package/shell-dist/assets/react.js +0 -590
- package/shell-dist/assets/runtime.js +0 -28311
- package/shell-dist/assets/simplebar-react.js +0 -1119
- package/shell-dist/assets/spin-delay.js +0 -111
- package/shell-dist/assets/tailwind-merge.js +0 -3364
- package/shell-dist/assets/use-sync-external-store-shim.js +0 -130
- package/shell-dist/assets/zustand-middleware.js +0 -513
- package/shell-dist/assets/zustand-react-shallow.js +0 -27
- package/shell-dist/assets/zustand-react.js +0 -39
- package/shell-dist/assets/zustand-shallow.js +0 -22
- package/shell-dist/assets/zustand-vanilla-shallow.js +0 -71
- package/shell-dist/assets/zustand-vanilla.js +0 -40
- package/shell-dist/assets/zustand.js +0 -32
- package/templates/seed.mysql.sql +0 -6
- package/templates/seed.pg.sql +0 -6
- package/templates/src/app/api/_platform/migrations/0001__create_users.mysql.sql +0 -9
- package/templates/src/app/api/_platform/migrations/0001__create_users.pg.sql +0 -9
- package/templates/src/app/api/_platform/migrations/0001__create_users.sql +0 -7
- package/templates/src/app/api/_platform/migrations/0002__add_users_avatar_base64.mysql.sql +0 -3
- package/templates/src/app/api/_platform/migrations/0002__add_users_avatar_base64.sql +0 -2
- package/templates/src/app/api/_platform/migrations/0003__users_source_display_name.mysql.sql +0 -5
- package/templates/src/app/api/_platform/migrations/0003__users_source_display_name.sql +0 -5
- package/templates/src/app/api/_platform/migrations/0004__sys_rbac.mysql.sql +0 -70
- package/templates/src/app/api/_platform/migrations/0004__sys_rbac.pg.sql +0 -67
- package/templates/src/app/api/_platform/migrations/0004__sys_rbac.sql +0 -67
- package/templates/src/app/api/_platform/migrations/0005__users_must_change.mysql.sql +0 -3
- package/templates/src/app/api/_platform/migrations/0005__users_must_change.sql +0 -2
- package/templates/src/app/api/_platform/migrations/0006__users_is_forbidden.mysql.sql +0 -3
- package/templates/src/app/api/_platform/migrations/0006__users_is_forbidden.sql +0 -3
- package/templates/src/app/api/_platform/migrations/0007__users_email.sql +0 -3
- package/templates/src/app/api/_platform/migrations/0008__sys_refresh_token.mysql.sql +0 -10
- package/templates/src/app/api/_platform/migrations/0008__sys_refresh_token.pg.sql +0 -10
- package/templates/src/app/api/_platform/migrations/0008__sys_refresh_token.sql +0 -11
- package/templates/src/app/api/_platform/migrations/0009__sys_throttle.mysql.sql +0 -12
- package/templates/src/app/api/_platform/migrations/0009__sys_throttle.pg.sql +0 -12
- package/templates/src/app/api/_platform/migrations/0009__sys_throttle.sql +0 -13
- package/templates/src/app/api/_platform/migrations/0010__sys_solution_route.mysql.sql +0 -17
- package/templates/src/app/api/_platform/migrations/0010__sys_solution_route.pg.sql +0 -16
- package/templates/src/app/api/_platform/migrations/0010__sys_solution_route.sql +0 -18
- package/templates/src/app/api/_platform/migrations/0011__sys_setting_group_label.mysql.sql +0 -2
- package/templates/src/app/api/_platform/migrations/0011__sys_setting_group_label.sql +0 -4
- package/templates/src/app/api/_platform/migrations/0012__market_history.mysql.sql +0 -13
- package/templates/src/app/api/_platform/migrations/0012__market_history.pg.sql +0 -12
- package/templates/src/app/api/_platform/migrations/0012__market_history.sql +0 -14
- package/templates/src/app/api/_platform/migrations/0013__users_profile.sql +0 -4
- package/templates/src/app/api/_platform/migrations/0014__reg_source_seq.mysql.sql +0 -9
- package/templates/src/app/api/_platform/migrations/0014__reg_source_seq.pg.sql +0 -7
- package/templates/src/app/api/_platform/migrations/0014__reg_source_seq.sql +0 -8
- package/templates/src/app/api/_platform/migrations/0015__tenant.mysql.sql +0 -12
- package/templates/src/app/api/_platform/migrations/0015__tenant.pg.sql +0 -11
- package/templates/src/app/api/_platform/migrations/0015__tenant.sql +0 -44
- package/templates/src/app/api/_platform/migrations/0016__org.mysql.sql +0 -41
- package/templates/src/app/api/_platform/migrations/0016__org.pg.sql +0 -40
- package/templates/src/app/api/_platform/migrations/0016__org.sql +0 -62
- package/templates/src/app/api/_platform/migrations/0017__users_employee_no.mysql.sql +0 -7
- package/templates/src/app/api/_platform/migrations/0017__users_employee_no.pg.sql +0 -4
- package/templates/src/app/api/_platform/migrations/0017__users_employee_no.sql +0 -8
- package/templates/src/app/api/_platform/migrations/0018__sys_role_title_key.mysql.sql +0 -3
- package/templates/src/app/api/_platform/migrations/0018__sys_role_title_key.pg.sql +0 -3
- package/templates/src/app/api/_platform/migrations/0018__sys_role_title_key.sql +0 -8
- package/templates/src/app/web/system/pages/login-methods/index.tsx +0 -30
- /package/shell-dist/assets/{nprogress-css.js → nprogress-css.1cq2pzkre0.js} +0 -0
- /package/shell-dist/assets/{ojm-antd-es-button.js → ojm-antd-es-button.2uriphio50.js} +0 -0
- /package/shell-dist/assets/{ojm-antd-es-modal.js → ojm-antd-es-modal.bf3tgdh8v0.js} +0 -0
- /package/shell-dist/assets/{ojm-antd-es-slider.js → ojm-antd-es-slider.xyvptuhid0.js} +0 -0
- /package/shell-dist/assets/{ojm-antd-es-upload.js → ojm-antd-es-upload.13gx45e0g0.js} +0 -0
|
@@ -1,590 +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 __copyProps = (to, from, except, desc) => {
|
|
15
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
-
for (let key of __getOwnPropNames(from))
|
|
17
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
18
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
28
|
-
mod
|
|
29
|
-
));
|
|
30
|
-
|
|
31
|
-
// ../../node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.production.js
|
|
32
|
-
var require_react_production = __commonJS({
|
|
33
|
-
"../../node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.production.js"(exports) {
|
|
34
|
-
"use strict";
|
|
35
|
-
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
|
|
36
|
-
var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
|
|
37
|
-
var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
38
|
-
var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
|
|
39
|
-
var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
|
|
40
|
-
var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer");
|
|
41
|
-
var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
|
|
42
|
-
var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
|
|
43
|
-
var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
|
|
44
|
-
var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
|
|
45
|
-
var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
|
|
46
|
-
var REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity");
|
|
47
|
-
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
48
|
-
function getIteratorFn(maybeIterable) {
|
|
49
|
-
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
50
|
-
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
51
|
-
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
52
|
-
}
|
|
53
|
-
var ReactNoopUpdateQueue = {
|
|
54
|
-
isMounted: function() {
|
|
55
|
-
return false;
|
|
56
|
-
},
|
|
57
|
-
enqueueForceUpdate: function() {
|
|
58
|
-
},
|
|
59
|
-
enqueueReplaceState: function() {
|
|
60
|
-
},
|
|
61
|
-
enqueueSetState: function() {
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
var assign = Object.assign;
|
|
65
|
-
var emptyObject = {};
|
|
66
|
-
function Component3(props, context, updater) {
|
|
67
|
-
this.props = props;
|
|
68
|
-
this.context = context;
|
|
69
|
-
this.refs = emptyObject;
|
|
70
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
71
|
-
}
|
|
72
|
-
Component3.prototype.isReactComponent = {};
|
|
73
|
-
Component3.prototype.setState = function(partialState, callback) {
|
|
74
|
-
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
|
|
75
|
-
throw Error(
|
|
76
|
-
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
77
|
-
);
|
|
78
|
-
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
79
|
-
};
|
|
80
|
-
Component3.prototype.forceUpdate = function(callback) {
|
|
81
|
-
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
82
|
-
};
|
|
83
|
-
function ComponentDummy() {
|
|
84
|
-
}
|
|
85
|
-
ComponentDummy.prototype = Component3.prototype;
|
|
86
|
-
function PureComponent3(props, context, updater) {
|
|
87
|
-
this.props = props;
|
|
88
|
-
this.context = context;
|
|
89
|
-
this.refs = emptyObject;
|
|
90
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
91
|
-
}
|
|
92
|
-
var pureComponentPrototype = PureComponent3.prototype = new ComponentDummy();
|
|
93
|
-
pureComponentPrototype.constructor = PureComponent3;
|
|
94
|
-
assign(pureComponentPrototype, Component3.prototype);
|
|
95
|
-
pureComponentPrototype.isPureReactComponent = true;
|
|
96
|
-
var isArrayImpl = Array.isArray;
|
|
97
|
-
function noop() {
|
|
98
|
-
}
|
|
99
|
-
var ReactSharedInternals = { H: null, A: null, T: null, S: null };
|
|
100
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
101
|
-
function ReactElement(type, key, props) {
|
|
102
|
-
var refProp = props.ref;
|
|
103
|
-
return {
|
|
104
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
105
|
-
type,
|
|
106
|
-
key,
|
|
107
|
-
ref: void 0 !== refProp ? refProp : null,
|
|
108
|
-
props
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
function cloneAndReplaceKey(oldElement, newKey) {
|
|
112
|
-
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
113
|
-
}
|
|
114
|
-
function isValidElement3(object) {
|
|
115
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
116
|
-
}
|
|
117
|
-
function escape(key) {
|
|
118
|
-
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
119
|
-
return "$" + key.replace(/[=:]/g, function(match) {
|
|
120
|
-
return escaperLookup[match];
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
124
|
-
function getElementKey(element, index) {
|
|
125
|
-
return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
|
|
126
|
-
}
|
|
127
|
-
function resolveThenable(thenable) {
|
|
128
|
-
switch (thenable.status) {
|
|
129
|
-
case "fulfilled":
|
|
130
|
-
return thenable.value;
|
|
131
|
-
case "rejected":
|
|
132
|
-
throw thenable.reason;
|
|
133
|
-
default:
|
|
134
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
135
|
-
function(fulfilledValue) {
|
|
136
|
-
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
137
|
-
},
|
|
138
|
-
function(error) {
|
|
139
|
-
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
140
|
-
}
|
|
141
|
-
)), thenable.status) {
|
|
142
|
-
case "fulfilled":
|
|
143
|
-
return thenable.value;
|
|
144
|
-
case "rejected":
|
|
145
|
-
throw thenable.reason;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
throw thenable;
|
|
149
|
-
}
|
|
150
|
-
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
151
|
-
var type = typeof children;
|
|
152
|
-
if ("undefined" === type || "boolean" === type) children = null;
|
|
153
|
-
var invokeCallback = false;
|
|
154
|
-
if (null === children) invokeCallback = true;
|
|
155
|
-
else
|
|
156
|
-
switch (type) {
|
|
157
|
-
case "bigint":
|
|
158
|
-
case "string":
|
|
159
|
-
case "number":
|
|
160
|
-
invokeCallback = true;
|
|
161
|
-
break;
|
|
162
|
-
case "object":
|
|
163
|
-
switch (children.$$typeof) {
|
|
164
|
-
case REACT_ELEMENT_TYPE:
|
|
165
|
-
case REACT_PORTAL_TYPE:
|
|
166
|
-
invokeCallback = true;
|
|
167
|
-
break;
|
|
168
|
-
case REACT_LAZY_TYPE:
|
|
169
|
-
return invokeCallback = children._init, mapIntoArray(
|
|
170
|
-
invokeCallback(children._payload),
|
|
171
|
-
array,
|
|
172
|
-
escapedPrefix,
|
|
173
|
-
nameSoFar,
|
|
174
|
-
callback
|
|
175
|
-
);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
if (invokeCallback)
|
|
179
|
-
return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
|
180
|
-
return c;
|
|
181
|
-
})) : null != callback && (isValidElement3(callback) && (callback = cloneAndReplaceKey(
|
|
182
|
-
callback,
|
|
183
|
-
escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
|
|
184
|
-
userProvidedKeyEscapeRegex,
|
|
185
|
-
"$&/"
|
|
186
|
-
) + "/") + invokeCallback
|
|
187
|
-
)), array.push(callback)), 1;
|
|
188
|
-
invokeCallback = 0;
|
|
189
|
-
var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
190
|
-
if (isArrayImpl(children))
|
|
191
|
-
for (var i = 0; i < children.length; i++)
|
|
192
|
-
nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
|
|
193
|
-
nameSoFar,
|
|
194
|
-
array,
|
|
195
|
-
escapedPrefix,
|
|
196
|
-
type,
|
|
197
|
-
callback
|
|
198
|
-
);
|
|
199
|
-
else if (i = getIteratorFn(children), "function" === typeof i)
|
|
200
|
-
for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
|
|
201
|
-
nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
|
|
202
|
-
nameSoFar,
|
|
203
|
-
array,
|
|
204
|
-
escapedPrefix,
|
|
205
|
-
type,
|
|
206
|
-
callback
|
|
207
|
-
);
|
|
208
|
-
else if ("object" === type) {
|
|
209
|
-
if ("function" === typeof children.then)
|
|
210
|
-
return mapIntoArray(
|
|
211
|
-
resolveThenable(children),
|
|
212
|
-
array,
|
|
213
|
-
escapedPrefix,
|
|
214
|
-
nameSoFar,
|
|
215
|
-
callback
|
|
216
|
-
);
|
|
217
|
-
array = String(children);
|
|
218
|
-
throw Error(
|
|
219
|
-
"Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
|
|
220
|
-
);
|
|
221
|
-
}
|
|
222
|
-
return invokeCallback;
|
|
223
|
-
}
|
|
224
|
-
function mapChildren(children, func, context) {
|
|
225
|
-
if (null == children) return children;
|
|
226
|
-
var result = [], count = 0;
|
|
227
|
-
mapIntoArray(children, result, "", "", function(child) {
|
|
228
|
-
return func.call(context, child, count++);
|
|
229
|
-
});
|
|
230
|
-
return result;
|
|
231
|
-
}
|
|
232
|
-
function lazyInitializer(payload) {
|
|
233
|
-
if (-1 === payload._status) {
|
|
234
|
-
var ctor = payload._result;
|
|
235
|
-
ctor = ctor();
|
|
236
|
-
ctor.then(
|
|
237
|
-
function(moduleObject) {
|
|
238
|
-
if (0 === payload._status || -1 === payload._status)
|
|
239
|
-
payload._status = 1, payload._result = moduleObject;
|
|
240
|
-
},
|
|
241
|
-
function(error) {
|
|
242
|
-
if (0 === payload._status || -1 === payload._status)
|
|
243
|
-
payload._status = 2, payload._result = error;
|
|
244
|
-
}
|
|
245
|
-
);
|
|
246
|
-
-1 === payload._status && (payload._status = 0, payload._result = ctor);
|
|
247
|
-
}
|
|
248
|
-
if (1 === payload._status) return payload._result.default;
|
|
249
|
-
throw payload._result;
|
|
250
|
-
}
|
|
251
|
-
var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
252
|
-
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
253
|
-
var event = new window.ErrorEvent("error", {
|
|
254
|
-
bubbles: true,
|
|
255
|
-
cancelable: true,
|
|
256
|
-
message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
|
|
257
|
-
error
|
|
258
|
-
});
|
|
259
|
-
if (!window.dispatchEvent(event)) return;
|
|
260
|
-
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
|
261
|
-
process.emit("uncaughtException", error);
|
|
262
|
-
return;
|
|
263
|
-
}
|
|
264
|
-
console.error(error);
|
|
265
|
-
};
|
|
266
|
-
var Children3 = {
|
|
267
|
-
map: mapChildren,
|
|
268
|
-
forEach: function(children, forEachFunc, forEachContext) {
|
|
269
|
-
mapChildren(
|
|
270
|
-
children,
|
|
271
|
-
function() {
|
|
272
|
-
forEachFunc.apply(this, arguments);
|
|
273
|
-
},
|
|
274
|
-
forEachContext
|
|
275
|
-
);
|
|
276
|
-
},
|
|
277
|
-
count: function(children) {
|
|
278
|
-
var n = 0;
|
|
279
|
-
mapChildren(children, function() {
|
|
280
|
-
n++;
|
|
281
|
-
});
|
|
282
|
-
return n;
|
|
283
|
-
},
|
|
284
|
-
toArray: function(children) {
|
|
285
|
-
return mapChildren(children, function(child) {
|
|
286
|
-
return child;
|
|
287
|
-
}) || [];
|
|
288
|
-
},
|
|
289
|
-
only: function(children) {
|
|
290
|
-
if (!isValidElement3(children))
|
|
291
|
-
throw Error(
|
|
292
|
-
"React.Children.only expected to receive a single React element child."
|
|
293
|
-
);
|
|
294
|
-
return children;
|
|
295
|
-
}
|
|
296
|
-
};
|
|
297
|
-
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
298
|
-
exports.Children = Children3;
|
|
299
|
-
exports.Component = Component3;
|
|
300
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
301
|
-
exports.Profiler = REACT_PROFILER_TYPE;
|
|
302
|
-
exports.PureComponent = PureComponent3;
|
|
303
|
-
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
304
|
-
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
305
|
-
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
306
|
-
exports.__COMPILER_RUNTIME = {
|
|
307
|
-
__proto__: null,
|
|
308
|
-
c: function(size) {
|
|
309
|
-
return ReactSharedInternals.H.useMemoCache(size);
|
|
310
|
-
}
|
|
311
|
-
};
|
|
312
|
-
exports.cache = function(fn) {
|
|
313
|
-
return function() {
|
|
314
|
-
return fn.apply(null, arguments);
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
exports.cacheSignal = function() {
|
|
318
|
-
return null;
|
|
319
|
-
};
|
|
320
|
-
exports.cloneElement = function(element, config, children) {
|
|
321
|
-
if (null === element || void 0 === element)
|
|
322
|
-
throw Error(
|
|
323
|
-
"The argument must be a React element, but you passed " + element + "."
|
|
324
|
-
);
|
|
325
|
-
var props = assign({}, element.props), key = element.key;
|
|
326
|
-
if (null != config)
|
|
327
|
-
for (propName in void 0 !== config.key && (key = "" + config.key), config)
|
|
328
|
-
!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
329
|
-
var propName = arguments.length - 2;
|
|
330
|
-
if (1 === propName) props.children = children;
|
|
331
|
-
else if (1 < propName) {
|
|
332
|
-
for (var childArray = Array(propName), i = 0; i < propName; i++)
|
|
333
|
-
childArray[i] = arguments[i + 2];
|
|
334
|
-
props.children = childArray;
|
|
335
|
-
}
|
|
336
|
-
return ReactElement(element.type, key, props);
|
|
337
|
-
};
|
|
338
|
-
exports.createContext = function(defaultValue) {
|
|
339
|
-
defaultValue = {
|
|
340
|
-
$$typeof: REACT_CONTEXT_TYPE,
|
|
341
|
-
_currentValue: defaultValue,
|
|
342
|
-
_currentValue2: defaultValue,
|
|
343
|
-
_threadCount: 0,
|
|
344
|
-
Provider: null,
|
|
345
|
-
Consumer: null
|
|
346
|
-
};
|
|
347
|
-
defaultValue.Provider = defaultValue;
|
|
348
|
-
defaultValue.Consumer = {
|
|
349
|
-
$$typeof: REACT_CONSUMER_TYPE,
|
|
350
|
-
_context: defaultValue
|
|
351
|
-
};
|
|
352
|
-
return defaultValue;
|
|
353
|
-
};
|
|
354
|
-
exports.createElement = function(type, config, children) {
|
|
355
|
-
var propName, props = {}, key = null;
|
|
356
|
-
if (null != config)
|
|
357
|
-
for (propName in void 0 !== config.key && (key = "" + config.key), config)
|
|
358
|
-
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
|
|
359
|
-
var childrenLength = arguments.length - 2;
|
|
360
|
-
if (1 === childrenLength) props.children = children;
|
|
361
|
-
else if (1 < childrenLength) {
|
|
362
|
-
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
|
|
363
|
-
childArray[i] = arguments[i + 2];
|
|
364
|
-
props.children = childArray;
|
|
365
|
-
}
|
|
366
|
-
if (type && type.defaultProps)
|
|
367
|
-
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
368
|
-
void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
369
|
-
return ReactElement(type, key, props);
|
|
370
|
-
};
|
|
371
|
-
exports.createRef = function() {
|
|
372
|
-
return { current: null };
|
|
373
|
-
};
|
|
374
|
-
exports.forwardRef = function(render) {
|
|
375
|
-
return { $$typeof: REACT_FORWARD_REF_TYPE, render };
|
|
376
|
-
};
|
|
377
|
-
exports.isValidElement = isValidElement3;
|
|
378
|
-
exports.lazy = function(ctor) {
|
|
379
|
-
return {
|
|
380
|
-
$$typeof: REACT_LAZY_TYPE,
|
|
381
|
-
_payload: { _status: -1, _result: ctor },
|
|
382
|
-
_init: lazyInitializer
|
|
383
|
-
};
|
|
384
|
-
};
|
|
385
|
-
exports.memo = function(type, compare) {
|
|
386
|
-
return {
|
|
387
|
-
$$typeof: REACT_MEMO_TYPE,
|
|
388
|
-
type,
|
|
389
|
-
compare: void 0 === compare ? null : compare
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
exports.startTransition = function(scope) {
|
|
393
|
-
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
394
|
-
ReactSharedInternals.T = currentTransition;
|
|
395
|
-
try {
|
|
396
|
-
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
397
|
-
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
398
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
399
|
-
} catch (error) {
|
|
400
|
-
reportGlobalError(error);
|
|
401
|
-
} finally {
|
|
402
|
-
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
403
|
-
}
|
|
404
|
-
};
|
|
405
|
-
exports.unstable_useCacheRefresh = function() {
|
|
406
|
-
return ReactSharedInternals.H.useCacheRefresh();
|
|
407
|
-
};
|
|
408
|
-
exports.use = function(usable) {
|
|
409
|
-
return ReactSharedInternals.H.use(usable);
|
|
410
|
-
};
|
|
411
|
-
exports.useActionState = function(action, initialState, permalink) {
|
|
412
|
-
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
|
|
413
|
-
};
|
|
414
|
-
exports.useCallback = function(callback, deps) {
|
|
415
|
-
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
416
|
-
};
|
|
417
|
-
exports.useContext = function(Context) {
|
|
418
|
-
return ReactSharedInternals.H.useContext(Context);
|
|
419
|
-
};
|
|
420
|
-
exports.useDebugValue = function() {
|
|
421
|
-
};
|
|
422
|
-
exports.useDeferredValue = function(value, initialValue) {
|
|
423
|
-
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
424
|
-
};
|
|
425
|
-
exports.useEffect = function(create, deps) {
|
|
426
|
-
return ReactSharedInternals.H.useEffect(create, deps);
|
|
427
|
-
};
|
|
428
|
-
exports.useEffectEvent = function(callback) {
|
|
429
|
-
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
430
|
-
};
|
|
431
|
-
exports.useId = function() {
|
|
432
|
-
return ReactSharedInternals.H.useId();
|
|
433
|
-
};
|
|
434
|
-
exports.useImperativeHandle = function(ref, create, deps) {
|
|
435
|
-
return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
|
|
436
|
-
};
|
|
437
|
-
exports.useInsertionEffect = function(create, deps) {
|
|
438
|
-
return ReactSharedInternals.H.useInsertionEffect(create, deps);
|
|
439
|
-
};
|
|
440
|
-
exports.useLayoutEffect = function(create, deps) {
|
|
441
|
-
return ReactSharedInternals.H.useLayoutEffect(create, deps);
|
|
442
|
-
};
|
|
443
|
-
exports.useMemo = function(create, deps) {
|
|
444
|
-
return ReactSharedInternals.H.useMemo(create, deps);
|
|
445
|
-
};
|
|
446
|
-
exports.useOptimistic = function(passthrough, reducer) {
|
|
447
|
-
return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
|
|
448
|
-
};
|
|
449
|
-
exports.useReducer = function(reducer, initialArg, init) {
|
|
450
|
-
return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
|
|
451
|
-
};
|
|
452
|
-
exports.useRef = function(initialValue) {
|
|
453
|
-
return ReactSharedInternals.H.useRef(initialValue);
|
|
454
|
-
};
|
|
455
|
-
exports.useState = function(initialState) {
|
|
456
|
-
return ReactSharedInternals.H.useState(initialState);
|
|
457
|
-
};
|
|
458
|
-
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
|
459
|
-
return ReactSharedInternals.H.useSyncExternalStore(
|
|
460
|
-
subscribe,
|
|
461
|
-
getSnapshot,
|
|
462
|
-
getServerSnapshot
|
|
463
|
-
);
|
|
464
|
-
};
|
|
465
|
-
exports.useTransition = function() {
|
|
466
|
-
return ReactSharedInternals.H.useTransition();
|
|
467
|
-
};
|
|
468
|
-
exports.version = "19.2.8";
|
|
469
|
-
}
|
|
470
|
-
});
|
|
471
|
-
|
|
472
|
-
// ../../node_modules/.pnpm/react@19.2.8/node_modules/react/index.js
|
|
473
|
-
var require_react = __commonJS({
|
|
474
|
-
"../../node_modules/.pnpm/react@19.2.8/node_modules/react/index.js"(exports, module) {
|
|
475
|
-
"use strict";
|
|
476
|
-
if (true) {
|
|
477
|
-
module.exports = require_react_production();
|
|
478
|
-
} else {
|
|
479
|
-
module.exports = null;
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
});
|
|
483
|
-
|
|
484
|
-
// shell/.ojm-shim-react.mjs
|
|
485
|
-
var __m = __toESM(require_react(), 1);
|
|
486
|
-
var Activity2 = __m["Activity"];
|
|
487
|
-
var Children2 = __m["Children"];
|
|
488
|
-
var Component2 = __m["Component"];
|
|
489
|
-
var Fragment2 = __m["Fragment"];
|
|
490
|
-
var Profiler2 = __m["Profiler"];
|
|
491
|
-
var PureComponent2 = __m["PureComponent"];
|
|
492
|
-
var StrictMode2 = __m["StrictMode"];
|
|
493
|
-
var Suspense2 = __m["Suspense"];
|
|
494
|
-
var __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE2 = __m["__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE"];
|
|
495
|
-
var __COMPILER_RUNTIME2 = __m["__COMPILER_RUNTIME"];
|
|
496
|
-
var act2 = __m["act"];
|
|
497
|
-
var cache2 = __m["cache"];
|
|
498
|
-
var cacheSignal2 = __m["cacheSignal"];
|
|
499
|
-
var captureOwnerStack2 = __m["captureOwnerStack"];
|
|
500
|
-
var cloneElement2 = __m["cloneElement"];
|
|
501
|
-
var createContext2 = __m["createContext"];
|
|
502
|
-
var createElement2 = __m["createElement"];
|
|
503
|
-
var createRef2 = __m["createRef"];
|
|
504
|
-
var forwardRef2 = __m["forwardRef"];
|
|
505
|
-
var isValidElement2 = __m["isValidElement"];
|
|
506
|
-
var lazy2 = __m["lazy"];
|
|
507
|
-
var memo2 = __m["memo"];
|
|
508
|
-
var startTransition2 = __m["startTransition"];
|
|
509
|
-
var unstable_useCacheRefresh2 = __m["unstable_useCacheRefresh"];
|
|
510
|
-
var use2 = __m["use"];
|
|
511
|
-
var useActionState2 = __m["useActionState"];
|
|
512
|
-
var useCallback2 = __m["useCallback"];
|
|
513
|
-
var useContext2 = __m["useContext"];
|
|
514
|
-
var useDebugValue2 = __m["useDebugValue"];
|
|
515
|
-
var useDeferredValue2 = __m["useDeferredValue"];
|
|
516
|
-
var useEffect2 = __m["useEffect"];
|
|
517
|
-
var useEffectEvent2 = __m["useEffectEvent"];
|
|
518
|
-
var useId2 = __m["useId"];
|
|
519
|
-
var useImperativeHandle2 = __m["useImperativeHandle"];
|
|
520
|
-
var useInsertionEffect2 = __m["useInsertionEffect"];
|
|
521
|
-
var useLayoutEffect2 = __m["useLayoutEffect"];
|
|
522
|
-
var useMemo2 = __m["useMemo"];
|
|
523
|
-
var useOptimistic2 = __m["useOptimistic"];
|
|
524
|
-
var useReducer2 = __m["useReducer"];
|
|
525
|
-
var useRef2 = __m["useRef"];
|
|
526
|
-
var useState2 = __m["useState"];
|
|
527
|
-
var useSyncExternalStore2 = __m["useSyncExternalStore"];
|
|
528
|
-
var useTransition2 = __m["useTransition"];
|
|
529
|
-
var version2 = __m["version"];
|
|
530
|
-
var ojm_shim_react_default = __m.default ?? __m;
|
|
531
|
-
export {
|
|
532
|
-
Activity2 as Activity,
|
|
533
|
-
Children2 as Children,
|
|
534
|
-
Component2 as Component,
|
|
535
|
-
Fragment2 as Fragment,
|
|
536
|
-
Profiler2 as Profiler,
|
|
537
|
-
PureComponent2 as PureComponent,
|
|
538
|
-
StrictMode2 as StrictMode,
|
|
539
|
-
Suspense2 as Suspense,
|
|
540
|
-
__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE2 as __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
541
|
-
__COMPILER_RUNTIME2 as __COMPILER_RUNTIME,
|
|
542
|
-
act2 as act,
|
|
543
|
-
cache2 as cache,
|
|
544
|
-
cacheSignal2 as cacheSignal,
|
|
545
|
-
captureOwnerStack2 as captureOwnerStack,
|
|
546
|
-
cloneElement2 as cloneElement,
|
|
547
|
-
createContext2 as createContext,
|
|
548
|
-
createElement2 as createElement,
|
|
549
|
-
createRef2 as createRef,
|
|
550
|
-
ojm_shim_react_default as default,
|
|
551
|
-
forwardRef2 as forwardRef,
|
|
552
|
-
isValidElement2 as isValidElement,
|
|
553
|
-
lazy2 as lazy,
|
|
554
|
-
memo2 as memo,
|
|
555
|
-
startTransition2 as startTransition,
|
|
556
|
-
unstable_useCacheRefresh2 as unstable_useCacheRefresh,
|
|
557
|
-
use2 as use,
|
|
558
|
-
useActionState2 as useActionState,
|
|
559
|
-
useCallback2 as useCallback,
|
|
560
|
-
useContext2 as useContext,
|
|
561
|
-
useDebugValue2 as useDebugValue,
|
|
562
|
-
useDeferredValue2 as useDeferredValue,
|
|
563
|
-
useEffect2 as useEffect,
|
|
564
|
-
useEffectEvent2 as useEffectEvent,
|
|
565
|
-
useId2 as useId,
|
|
566
|
-
useImperativeHandle2 as useImperativeHandle,
|
|
567
|
-
useInsertionEffect2 as useInsertionEffect,
|
|
568
|
-
useLayoutEffect2 as useLayoutEffect,
|
|
569
|
-
useMemo2 as useMemo,
|
|
570
|
-
useOptimistic2 as useOptimistic,
|
|
571
|
-
useReducer2 as useReducer,
|
|
572
|
-
useRef2 as useRef,
|
|
573
|
-
useState2 as useState,
|
|
574
|
-
useSyncExternalStore2 as useSyncExternalStore,
|
|
575
|
-
useTransition2 as useTransition,
|
|
576
|
-
version2 as version
|
|
577
|
-
};
|
|
578
|
-
/*! Bundled license information:
|
|
579
|
-
|
|
580
|
-
react/cjs/react.production.js:
|
|
581
|
-
(**
|
|
582
|
-
* @license React
|
|
583
|
-
* react.production.js
|
|
584
|
-
*
|
|
585
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
586
|
-
*
|
|
587
|
-
* This source code is licensed under the MIT license found in the
|
|
588
|
-
* LICENSE file in the root directory of this source tree.
|
|
589
|
-
*)
|
|
590
|
-
*/
|