@_tc/template-core 0.0.1-bate.2 → 0.0.1-bate.20
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/{app → cjs/app}/controller/base.d.ts +1 -2
- package/{app → cjs/app}/controller/base.js +0 -3
- package/{app → cjs/app}/controller/project.d.ts +1 -2
- package/cjs/app/controller/project.js +50 -0
- package/{app → cjs/app}/controller/view.d.ts +1 -2
- package/{app → cjs/app}/controller/view.js +1 -2
- package/cjs/app/data/signKey.d.ts +1 -0
- package/{app → cjs/app}/data/signKey.js +0 -1
- package/cjs/app/extend/db.d.ts +2 -0
- package/cjs/app/extend/db.js +12 -0
- package/cjs/app/extend/generateErrorMessage.d.ts +7 -0
- package/{app → cjs/app}/extend/generateErrorMessage.js +3 -1
- package/cjs/app/extend/logger.d.ts +11 -0
- package/{app → cjs/app}/extend/logger.js +0 -1
- package/cjs/app/extend/parsingParamsOnUrl.d.ts +2 -0
- package/{app → cjs/app}/extend/parsingParamsOnUrl.js +0 -1
- package/{app → cjs/app}/extend/render-view.d.ts +1 -2
- package/{app → cjs/app}/extend/render-view.js +8 -2
- package/{app → cjs/app}/middleware/api-params-verify.d.ts +1 -2
- package/{app → cjs/app}/middleware/api-params-verify.js +0 -1
- package/{app → cjs/app}/middleware/api-sign-verify.d.ts +1 -2
- package/{app → cjs/app}/middleware/api-sign-verify.js +0 -1
- package/{app → cjs/app}/middleware/error-handle.d.ts +1 -2
- package/{app → cjs/app}/middleware/error-handle.js +0 -1
- package/{app → cjs/app}/middleware/project-handler.d.ts +1 -2
- package/{app → cjs/app}/middleware/project-handler.js +0 -1
- package/cjs/app/middleware.d.ts +5 -0
- package/{app → cjs/app}/middleware.js +23 -2
- package/cjs/app/router/project.d.ts +4 -0
- package/{app → cjs/app}/router/project.js +0 -1
- package/cjs/app/router/view.d.ts +4 -0
- package/{app → cjs/app}/router/view.js +0 -1
- package/cjs/app/router-schema/project.d.ts +3 -0
- package/{app → cjs/app}/router-schema/project.js +0 -1
- package/cjs/app/service/bese.d.ts +10 -0
- package/{app → cjs/app}/service/bese.js +0 -1
- package/cjs/app/service/project.d.ts +27 -0
- package/cjs/app/service/project.js +42 -0
- package/cjs/app/type.d.ts +2 -0
- package/{app → cjs/app}/type.js +0 -1
- package/{app → cjs/app}/typings.d.ts +2 -2
- package/{packages/ui/react/types/index.js → cjs/app/typings.js} +0 -1
- package/cjs/app/view/entry.tpl +30 -0
- package/cjs/bundler/dev.d.ts +1 -0
- package/cjs/bundler/dev.js +19 -0
- package/cjs/bundler/index.d.ts +1 -0
- package/cjs/bundler/index.js +18 -0
- package/cjs/bundler/prod.d.ts +1 -0
- package/cjs/bundler/prod.js +19 -0
- package/cjs/bundler/utils.d.ts +9 -0
- package/cjs/bundler/utils.js +214 -0
- package/cjs/index.d.ts +28 -0
- package/{index.js → cjs/index.js} +0 -1
- package/cjs/packages/core/env.d.ts +15 -0
- package/{packages → cjs/packages}/core/env.js +0 -1
- package/cjs/packages/core/index.d.ts +6 -0
- package/{packages → cjs/packages}/core/index.js +24 -1
- package/cjs/packages/core/loader/config.d.ts +9 -0
- package/{packages → cjs/packages}/core/loader/config.js +14 -1
- package/cjs/packages/core/loader/controller.d.ts +17 -0
- package/{packages → cjs/packages}/core/loader/controller.js +23 -1
- package/cjs/packages/core/loader/extend.d.ts +8 -0
- package/{packages → cjs/packages}/core/loader/extend.js +8 -1
- package/cjs/packages/core/loader/middleware.d.ts +11 -0
- package/cjs/packages/core/loader/middleware.js +38 -0
- package/cjs/packages/core/loader/model.d.ts +36 -0
- package/{packages → cjs/packages}/core/loader/model.js +43 -1
- package/cjs/packages/core/loader/router-schema.d.ts +18 -0
- package/{packages → cjs/packages}/core/loader/router-schema.js +16 -1
- package/{packages → cjs/packages}/core/loader/router.d.ts +5 -1
- package/{packages → cjs/packages}/core/loader/router.js +20 -4
- package/cjs/packages/core/loader/service.d.ts +17 -0
- package/{packages → cjs/packages}/core/loader/service.js +14 -1
- package/cjs/packages/core/paths.d.ts +11 -0
- package/{packages → cjs/packages}/core/paths.js +0 -1
- package/{packages → cjs/packages}/core/types.d.ts +1 -1
- package/{packages → cjs/packages}/core/types.js +0 -1
- package/{packages → cjs/packages}/utils/getAllFilesInFolder.d.ts +5 -1
- package/{packages → cjs/packages}/utils/getAllFilesInFolder.js +0 -1
- package/cjs/packages/utils/getAllFnReturnValue.d.ts +0 -0
- package/cjs/packages/utils/getAllFnReturnValue.js +6 -0
- package/cjs/packages/utils/index.d.ts +4 -0
- package/{packages → cjs/packages}/utils/index.js +0 -1
- package/{packages → cjs/packages}/utils/loadFile.d.ts +6 -1
- package/{packages → cjs/packages}/utils/loadFile.js +9 -1
- package/cjs/packages/utils/path.d.ts +24 -0
- package/{packages → cjs/packages}/utils/path.js +14 -1
- package/cjs/packages/utils/runFileFn.d.ts +5 -0
- package/{packages → cjs/packages}/utils/runFileFn.js +0 -1
- package/cjs/typings/type.d.ts +4 -0
- package/{typings → cjs/typings}/type.js +0 -1
- package/esm/app/controller/base.d.ts +14 -0
- package/esm/app/controller/base.js +21 -0
- package/esm/app/controller/project.d.ts +12 -0
- package/{app → esm/app}/controller/project.js +3 -9
- package/esm/app/controller/view.d.ts +9 -0
- package/esm/app/controller/view.js +12 -0
- package/esm/app/data/signKey.js +1 -0
- package/esm/app/extend/db.js +9 -0
- package/esm/app/extend/generateErrorMessage.js +12 -0
- package/esm/app/extend/logger.js +37 -0
- package/esm/app/extend/parsingParamsOnUrl.js +20 -0
- package/esm/app/extend/render-view.d.ts +5 -0
- package/esm/app/extend/render-view.js +23 -0
- package/esm/app/middleware/api-params-verify.d.ts +6 -0
- package/esm/app/middleware/api-params-verify.js +58 -0
- package/esm/app/middleware/api-sign-verify.d.ts +6 -0
- package/esm/app/middleware/api-sign-verify.js +23 -0
- package/esm/app/middleware/error-handle.d.ts +6 -0
- package/esm/app/middleware/error-handle.js +31 -0
- package/esm/app/middleware/project-handler.d.ts +5 -0
- package/esm/app/middleware/project-handler.js +19 -0
- package/esm/app/middleware.js +55 -0
- package/esm/app/router/project.js +6 -0
- package/esm/app/router/view.js +3 -0
- package/esm/app/router-schema/project.js +31 -0
- package/esm/app/service/bese.js +12 -0
- package/{app → esm/app}/service/project.js +6 -11
- package/esm/app/type.js +1 -0
- package/esm/app/typings.d.ts +51 -0
- package/esm/app/typings.js +1 -0
- package/esm/app/view/entry.tpl +30 -0
- package/esm/bundler/dev.d.ts +2 -0
- package/esm/bundler/dev.js +16 -0
- package/esm/bundler/index.d.ts +2 -0
- package/esm/bundler/index.js +14 -0
- package/esm/bundler/prod.d.ts +2 -0
- package/esm/bundler/prod.js +16 -0
- package/esm/bundler/utils.d.ts +10 -0
- package/esm/bundler/utils.js +171 -0
- package/esm/index.js +13 -0
- package/esm/packages/core/env.js +23 -0
- package/esm/packages/core/index.js +109 -0
- package/esm/packages/core/loader/config.d.ts +10 -0
- package/esm/packages/core/loader/config.js +43 -0
- package/esm/packages/core/loader/controller.d.ts +18 -0
- package/esm/packages/core/loader/controller.js +38 -0
- package/esm/packages/core/loader/extend.d.ts +9 -0
- package/esm/packages/core/loader/extend.js +39 -0
- package/esm/packages/core/loader/middleware.d.ts +12 -0
- package/esm/packages/core/loader/middleware.js +36 -0
- package/esm/packages/core/loader/model.d.ts +37 -0
- package/esm/packages/core/loader/model.js +127 -0
- package/esm/packages/core/loader/router-schema.d.ts +19 -0
- package/esm/packages/core/loader/router-schema.js +33 -0
- package/esm/packages/core/loader/router.d.ts +9 -0
- package/esm/packages/core/loader/router.js +57 -0
- package/esm/packages/core/loader/service.d.ts +18 -0
- package/esm/packages/core/loader/service.js +28 -0
- package/esm/packages/core/paths.js +6 -0
- package/esm/packages/core/types.d.ts +75 -0
- package/esm/packages/core/types.js +1 -0
- package/esm/packages/utils/getAllFilesInFolder.d.ts +10 -0
- package/esm/packages/utils/getAllFilesInFolder.js +8 -0
- package/esm/packages/utils/getAllFnReturnValue.js +6 -0
- package/esm/packages/utils/index.js +4 -0
- package/esm/packages/utils/loadFile.d.ts +21 -0
- package/esm/packages/utils/loadFile.js +63 -0
- package/esm/packages/utils/path.d.ts +25 -0
- package/esm/packages/utils/path.js +27 -0
- package/esm/packages/utils/runFileFn.js +1 -0
- package/esm/typings/type.d.ts +5 -0
- package/esm/typings/type.js +1 -0
- package/fe/frontend/main.js +6 -0
- package/fe/frontend/testPage/index.d.ts +3 -0
- package/fe/frontend/testPage/index.js +6 -0
- package/fe/frontend/testPage/testPage.entry.d.ts +2 -0
- package/fe/frontend/testPage/testPage.entry.js +4 -0
- package/fe/packages/ui/react/assets/table/no-result.svg +5 -0
- package/{packages → fe/packages}/ui/react/components/Button/Button.d.ts +24 -0
- package/fe/packages/ui/react/components/Button/Button.js +42 -0
- package/{packages → fe/packages}/ui/react/components/Button/SumbitButton.d.ts +4 -0
- package/fe/packages/ui/react/components/Button/SumbitButton.js +32 -0
- package/fe/packages/ui/react/components/Button/index.js +2 -0
- package/{packages → fe/packages}/ui/react/components/Checkbox/Checkbox.js +9 -13
- package/fe/packages/ui/react/components/Checkbox/index.js +1 -0
- package/{packages → fe/packages}/ui/react/components/ConfirmDialog.d.ts +8 -0
- package/fe/packages/ui/react/components/ConfirmDialog.js +9 -0
- package/fe/packages/ui/react/components/DataTable/ActionBtn.js +13 -0
- package/{packages → fe/packages}/ui/react/components/DataTable/data-table.d.ts +19 -0
- package/{packages → fe/packages}/ui/react/components/DataTable/data-table.js +23 -27
- package/{packages → fe/packages}/ui/react/components/Date/Calendar.d.ts +13 -0
- package/fe/packages/ui/react/components/Date/Calendar.js +215 -0
- package/{packages → fe/packages}/ui/react/components/Date/Date.d.ts +10 -0
- package/fe/packages/ui/react/components/Date/Date.js +178 -0
- package/fe/packages/ui/react/components/Date/DateTestPage.js +29 -0
- package/fe/packages/ui/react/components/Date/LocaleContext.d.ts +6 -0
- package/fe/packages/ui/react/components/Date/LocaleContext.js +8 -0
- package/{packages → fe/packages}/ui/react/components/Date/LocaleProvider.d.ts +11 -0
- package/fe/packages/ui/react/components/Date/LocaleProvider.js +24 -0
- package/fe/packages/ui/react/components/Date/TimePicker.js +76 -0
- package/fe/packages/ui/react/components/Date/data.js +4 -0
- package/{packages → fe/packages}/ui/react/components/Date/dateLocaleStore.d.ts +6 -0
- package/fe/packages/ui/react/components/Date/dateLocaleStore.js +14 -0
- package/fe/packages/ui/react/components/Date/index.js +5 -0
- package/{packages → fe/packages}/ui/react/components/Date/locales.d.ts +19 -0
- package/{packages → fe/packages}/ui/react/components/Date/locales.js +16 -7
- package/fe/packages/ui/react/components/Dropdown.js +54 -0
- package/{packages → fe/packages}/ui/react/components/Form/Form.d.ts +6 -0
- package/fe/packages/ui/react/components/Form/Form.js +8 -0
- package/{packages → fe/packages}/ui/react/components/Form/FormItem.d.ts +21 -0
- package/fe/packages/ui/react/components/Form/FormItem.js +43 -0
- package/fe/packages/ui/react/components/Form/SchemeForm/data.js +8 -0
- package/{packages → fe/packages}/ui/react/components/Form/SchemeForm/index.d.ts +93 -0
- package/fe/packages/ui/react/components/Form/SchemeForm/index.js +69 -0
- package/fe/packages/ui/react/components/Form/index.js +4 -0
- package/fe/packages/ui/react/components/Form/useForm.js +1 -0
- package/{packages → fe/packages}/ui/react/components/ImagePreview/ImagePreview.js +46 -42
- package/{packages → fe/packages}/ui/react/components/ImagePreview/PreviewImage.d.ts +3 -0
- package/fe/packages/ui/react/components/ImagePreview/PreviewImage.js +25 -0
- package/fe/packages/ui/react/components/ImagePreview/index.js +2 -0
- package/{packages → fe/packages}/ui/react/components/Input/Input.d.ts +20 -0
- package/fe/packages/ui/react/components/Input/Input.js +60 -0
- package/fe/packages/ui/react/components/Input/index.js +1 -0
- package/{packages → fe/packages}/ui/react/components/Label/Label.d.ts +29 -0
- package/fe/packages/ui/react/components/Label/Label.js +35 -0
- package/fe/packages/ui/react/components/Label/index.js +2 -0
- package/{packages → fe/packages}/ui/react/components/Message/Message.d.ts +7 -0
- package/fe/packages/ui/react/components/Message/Message.js +55 -0
- package/{packages → fe/packages}/ui/react/components/Message/MessageManager.js +26 -22
- package/fe/packages/ui/react/components/Message/data.js +1 -0
- package/fe/packages/ui/react/components/Message/index.js +1 -0
- package/{packages → fe/packages}/ui/react/components/Modal/Modal.d.ts +6 -0
- package/fe/packages/ui/react/components/Modal/Modal.js +51 -0
- package/{packages → fe/packages}/ui/react/components/Modal/ModalManager.d.ts +12 -0
- package/{packages → fe/packages}/ui/react/components/Modal/ModalManager.js +22 -24
- package/fe/packages/ui/react/components/Modal/index.js +2 -0
- package/{packages → fe/packages}/ui/react/components/Pagination.d.ts +7 -0
- package/{packages → fe/packages}/ui/react/components/Pagination.js +19 -16
- package/{packages → fe/packages}/ui/react/components/Search/Search.d.ts +3 -0
- package/fe/packages/ui/react/components/Search/Search.js +12 -0
- package/fe/packages/ui/react/components/Search/index.js +1 -0
- package/{packages → fe/packages}/ui/react/components/Select/Select.d.ts +2 -0
- package/fe/packages/ui/react/components/Select/Select.js +180 -0
- package/fe/packages/ui/react/components/Select/index.js +1 -0
- package/{packages → fe/packages}/ui/react/components/Skeleton/Skeleton.d.ts +15 -0
- package/fe/packages/ui/react/components/Skeleton/Skeleton.js +31 -0
- package/fe/packages/ui/react/components/Skeleton/index.js +1 -0
- package/fe/packages/ui/react/components/Switch/Switch.js +20 -0
- package/fe/packages/ui/react/components/Switch/index.js +1 -0
- package/{packages → fe/packages}/ui/react/components/TableSearch/TableSearch.d.ts +37 -0
- package/{packages → fe/packages}/ui/react/components/TableSearch/TableSearch.js +22 -24
- package/fe/packages/ui/react/components/TableSearch/index.js +1 -0
- package/fe/packages/ui/react/components/TableSearch/lang.js +23 -0
- package/fe/packages/ui/react/components/TableSearch/tableSearchLocaleStore.js +11 -0
- package/{packages → fe/packages}/ui/react/components/Textarea.d.ts +40 -0
- package/fe/packages/ui/react/components/Textarea.js +35 -0
- package/{packages → fe/packages}/ui/react/components/Tooltip.d.ts +16 -0
- package/{packages → fe/packages}/ui/react/components/Tooltip.js +26 -17
- package/{packages → fe/packages}/ui/react/components/TreeSelect.d.ts +6 -0
- package/{packages → fe/packages}/ui/react/components/TreeSelect.js +27 -25
- package/fe/packages/ui/react/components/Upload/ImageUpload.js +63 -0
- package/{packages → fe/packages}/ui/react/components/Upload/Upload.d.ts +27 -0
- package/fe/packages/ui/react/components/Upload/Upload.js +5 -0
- package/fe/packages/ui/react/components/Upload/index.js +2 -0
- package/fe/packages/ui/react/components/breadcrumb.js +78 -0
- package/{packages → fe/packages}/ui/react/components/hooks/useInputController.d.ts +3 -0
- package/{packages → fe/packages}/ui/react/components/hooks/useInputController.js +15 -13
- package/fe/packages/ui/react/components/index.js +23 -0
- package/fe/packages/ui/react/components/table.js +20 -0
- package/fe/packages/ui/react/components/testPage/index.js +118 -0
- package/fe/packages/ui/react/hooks/useBreadcrumb.js +2 -0
- package/fe/packages/ui/react/hooks/useInit.js +9 -0
- package/fe/packages/ui/react/hooks/useLanguage.js +4 -0
- package/{packages → fe/packages}/ui/react/hooks/usePagination.js +7 -14
- package/fe/packages/ui/react/index.js +4 -0
- package/fe/packages/ui/react/lib/export.d.ts +66 -0
- package/{packages → fe/packages}/ui/react/lib/export.js +52 -50
- package/fe/packages/ui/react/lib/utils.d.ts +34 -0
- package/{packages → fe/packages}/ui/react/lib/utils.js +33 -16
- package/fe/packages/ui/react/locales/index.js +6 -0
- package/{packages → fe/packages}/ui/react/stores/breadcrumb.js +6 -8
- package/{packages → fe/packages}/ui/react/stores/language.js +14 -18
- package/fe/packages/ui/react/types/index.js +1 -0
- package/package.json +40 -5
- package/app/controller/base.d.ts.map +0 -1
- package/app/controller/base.js.map +0 -1
- package/app/controller/project.d.ts.map +0 -1
- package/app/controller/project.js.map +0 -1
- package/app/controller/view.d.ts.map +0 -1
- package/app/controller/view.js.map +0 -1
- package/app/data/signKey.d.ts.map +0 -1
- package/app/data/signKey.js.map +0 -1
- package/app/extend/db.d.ts.map +0 -1
- package/app/extend/db.js +0 -8
- package/app/extend/db.js.map +0 -1
- package/app/extend/generateErrorMessage.d.ts.map +0 -1
- package/app/extend/generateErrorMessage.js.map +0 -1
- package/app/extend/logger.d.ts.map +0 -1
- package/app/extend/logger.js.map +0 -1
- package/app/extend/parsingParamsOnUrl.d.ts.map +0 -1
- package/app/extend/parsingParamsOnUrl.js.map +0 -1
- package/app/extend/render-view.d.ts.map +0 -1
- package/app/extend/render-view.js.map +0 -1
- package/app/middleware/api-params-verify.d.ts.map +0 -1
- package/app/middleware/api-params-verify.js.map +0 -1
- package/app/middleware/api-sign-verify.d.ts.map +0 -1
- package/app/middleware/api-sign-verify.js.map +0 -1
- package/app/middleware/error-handle.d.ts.map +0 -1
- package/app/middleware/error-handle.js.map +0 -1
- package/app/middleware/project-handler.d.ts.map +0 -1
- package/app/middleware/project-handler.js.map +0 -1
- package/app/middleware.d.ts.map +0 -1
- package/app/middleware.js.map +0 -1
- package/app/pages/main.d.ts.map +0 -1
- package/app/pages/main.js +0 -10
- package/app/pages/main.js.map +0 -1
- package/app/router/project.d.ts.map +0 -1
- package/app/router/project.js.map +0 -1
- package/app/router/view.d.ts.map +0 -1
- package/app/router/view.js.map +0 -1
- package/app/router-schema/project.d.ts.map +0 -1
- package/app/router-schema/project.js.map +0 -1
- package/app/service/bese.d.ts.map +0 -1
- package/app/service/bese.js.map +0 -1
- package/app/service/project.d.ts.map +0 -1
- package/app/service/project.js.map +0 -1
- package/app/type.d.ts.map +0 -1
- package/app/type.js.map +0 -1
- package/app/typings.d.ts.map +0 -1
- package/app/typings.js +0 -3
- package/app/typings.js.map +0 -1
- package/app/vite/config/base.js +0 -54
- package/app/vite/config/base.js.map +0 -1
- package/app/vite/config/data.js +0 -5
- package/app/vite/config/data.js.map +0 -1
- package/app/vite/config/dev.js +0 -13
- package/app/vite/config/dev.js.map +0 -1
- package/app/vite/config/prod.js +0 -32
- package/app/vite/config/prod.js.map +0 -1
- package/app/vite/dev.js +0 -23
- package/app/vite/dev.js.map +0 -1
- package/app/vite/index.js +0 -3
- package/app/vite/index.js.map +0 -1
- package/app/vite/package.json +0 -11
- package/app/vite/prod.js +0 -76
- package/app/vite/prod.js.map +0 -1
- package/index.d.ts.map +0 -1
- package/index.js.map +0 -1
- package/model/index.d.ts +0 -2
- package/model/index.d.ts.map +0 -1
- package/model/index.js +0 -7
- package/model/index.js.map +0 -1
- package/model/test.d.ts +0 -6
- package/model/test.d.ts.map +0 -1
- package/model/test.js +0 -6
- package/model/test.js.map +0 -1
- package/model/test2.d.ts +0 -6
- package/model/test2.d.ts.map +0 -1
- package/model/test2.js +0 -6
- package/model/test2.js.map +0 -1
- package/packages/core/env.d.ts.map +0 -1
- package/packages/core/env.js.map +0 -1
- package/packages/core/index.d.ts.map +0 -1
- package/packages/core/index.js.map +0 -1
- package/packages/core/loader/config.d.ts +0 -4
- package/packages/core/loader/config.d.ts.map +0 -1
- package/packages/core/loader/config.js.map +0 -1
- package/packages/core/loader/controller.d.ts +0 -4
- package/packages/core/loader/controller.d.ts.map +0 -1
- package/packages/core/loader/controller.js.map +0 -1
- package/packages/core/loader/extend.d.ts +0 -4
- package/packages/core/loader/extend.d.ts.map +0 -1
- package/packages/core/loader/extend.js.map +0 -1
- package/packages/core/loader/middleware.d.ts +0 -4
- package/packages/core/loader/middleware.d.ts.map +0 -1
- package/packages/core/loader/middleware.js +0 -16
- package/packages/core/loader/middleware.js.map +0 -1
- package/packages/core/loader/model.d.ts +0 -15
- package/packages/core/loader/model.d.ts.map +0 -1
- package/packages/core/loader/model.js.map +0 -1
- package/packages/core/loader/router-schema.d.ts +0 -4
- package/packages/core/loader/router-schema.d.ts.map +0 -1
- package/packages/core/loader/router-schema.js.map +0 -1
- package/packages/core/loader/router.d.ts.map +0 -1
- package/packages/core/loader/router.js.map +0 -1
- package/packages/core/loader/service.d.ts +0 -4
- package/packages/core/loader/service.d.ts.map +0 -1
- package/packages/core/loader/service.js.map +0 -1
- package/packages/core/paths.d.ts.map +0 -1
- package/packages/core/paths.js.map +0 -1
- package/packages/core/types.d.ts.map +0 -1
- package/packages/core/types.js.map +0 -1
- package/packages/ui/react/components/Button/Button.d.ts.map +0 -1
- package/packages/ui/react/components/Button/Button.js +0 -36
- package/packages/ui/react/components/Button/Button.js.map +0 -1
- package/packages/ui/react/components/Button/SumbitButton.d.ts.map +0 -1
- package/packages/ui/react/components/Button/SumbitButton.js +0 -32
- package/packages/ui/react/components/Button/SumbitButton.js.map +0 -1
- package/packages/ui/react/components/Button/index.d.ts.map +0 -1
- package/packages/ui/react/components/Button/index.js +0 -21
- package/packages/ui/react/components/Button/index.js.map +0 -1
- package/packages/ui/react/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/packages/ui/react/components/Checkbox/Checkbox.js.map +0 -1
- package/packages/ui/react/components/Checkbox/index.d.ts.map +0 -1
- package/packages/ui/react/components/Checkbox/index.js +0 -18
- package/packages/ui/react/components/Checkbox/index.js.map +0 -1
- package/packages/ui/react/components/ConfirmDialog.d.ts.map +0 -1
- package/packages/ui/react/components/ConfirmDialog.js +0 -13
- package/packages/ui/react/components/ConfirmDialog.js.map +0 -1
- package/packages/ui/react/components/DataTable/ActionBtn.d.ts.map +0 -1
- package/packages/ui/react/components/DataTable/ActionBtn.js +0 -18
- package/packages/ui/react/components/DataTable/ActionBtn.js.map +0 -1
- package/packages/ui/react/components/DataTable/data-table.d.ts.map +0 -1
- package/packages/ui/react/components/DataTable/data-table.js.map +0 -1
- package/packages/ui/react/components/Date/Calendar.d.ts.map +0 -1
- package/packages/ui/react/components/Date/Calendar.js +0 -210
- package/packages/ui/react/components/Date/Calendar.js.map +0 -1
- package/packages/ui/react/components/Date/Date.d.ts.map +0 -1
- package/packages/ui/react/components/Date/Date.js +0 -161
- package/packages/ui/react/components/Date/Date.js.map +0 -1
- package/packages/ui/react/components/Date/DateTestPage.d.ts.map +0 -1
- package/packages/ui/react/components/Date/DateTestPage.js +0 -33
- package/packages/ui/react/components/Date/DateTestPage.js.map +0 -1
- package/packages/ui/react/components/Date/LocaleContext.d.ts +0 -2
- package/packages/ui/react/components/Date/LocaleContext.d.ts.map +0 -1
- package/packages/ui/react/components/Date/LocaleContext.js +0 -9
- package/packages/ui/react/components/Date/LocaleContext.js.map +0 -1
- package/packages/ui/react/components/Date/LocaleProvider.d.ts.map +0 -1
- package/packages/ui/react/components/Date/LocaleProvider.js +0 -17
- package/packages/ui/react/components/Date/LocaleProvider.js.map +0 -1
- package/packages/ui/react/components/Date/TimePicker.d.ts.map +0 -1
- package/packages/ui/react/components/Date/TimePicker.js +0 -79
- package/packages/ui/react/components/Date/TimePicker.js.map +0 -1
- package/packages/ui/react/components/Date/data.d.ts.map +0 -1
- package/packages/ui/react/components/Date/data.js +0 -8
- package/packages/ui/react/components/Date/data.js.map +0 -1
- package/packages/ui/react/components/Date/dateLocaleStore.d.ts.map +0 -1
- package/packages/ui/react/components/Date/dateLocaleStore.js +0 -18
- package/packages/ui/react/components/Date/dateLocaleStore.js.map +0 -1
- package/packages/ui/react/components/Date/index.d.ts.map +0 -1
- package/packages/ui/react/components/Date/index.js +0 -24
- package/packages/ui/react/components/Date/index.js.map +0 -1
- package/packages/ui/react/components/Date/locales.d.ts.map +0 -1
- package/packages/ui/react/components/Date/locales.js.map +0 -1
- package/packages/ui/react/components/Dropdown.d.ts.map +0 -1
- package/packages/ui/react/components/Dropdown.js +0 -56
- package/packages/ui/react/components/Dropdown.js.map +0 -1
- package/packages/ui/react/components/Form/Form.d.ts.map +0 -1
- package/packages/ui/react/components/Form/Form.js +0 -15
- package/packages/ui/react/components/Form/Form.js.map +0 -1
- package/packages/ui/react/components/Form/FormItem.d.ts.map +0 -1
- package/packages/ui/react/components/Form/FormItem.js +0 -76
- package/packages/ui/react/components/Form/FormItem.js.map +0 -1
- package/packages/ui/react/components/Form/SchemeForm/data.d.ts.map +0 -1
- package/packages/ui/react/components/Form/SchemeForm/data.js +0 -48
- package/packages/ui/react/components/Form/SchemeForm/data.js.map +0 -1
- package/packages/ui/react/components/Form/SchemeForm/index.d.ts.map +0 -1
- package/packages/ui/react/components/Form/SchemeForm/index.js +0 -70
- package/packages/ui/react/components/Form/SchemeForm/index.js.map +0 -1
- package/packages/ui/react/components/Form/index.d.ts.map +0 -1
- package/packages/ui/react/components/Form/index.js +0 -21
- package/packages/ui/react/components/Form/index.js.map +0 -1
- package/packages/ui/react/components/Form/useForm.d.ts.map +0 -1
- package/packages/ui/react/components/Form/useForm.js +0 -6
- package/packages/ui/react/components/Form/useForm.js.map +0 -1
- package/packages/ui/react/components/ImagePreview/ImagePreview.d.ts.map +0 -1
- package/packages/ui/react/components/ImagePreview/ImagePreview.js.map +0 -1
- package/packages/ui/react/components/ImagePreview/PreviewImage.d.ts.map +0 -1
- package/packages/ui/react/components/ImagePreview/PreviewImage.js +0 -29
- package/packages/ui/react/components/ImagePreview/PreviewImage.js.map +0 -1
- package/packages/ui/react/components/ImagePreview/index.d.ts.map +0 -1
- package/packages/ui/react/components/ImagePreview/index.js +0 -19
- package/packages/ui/react/components/ImagePreview/index.js.map +0 -1
- package/packages/ui/react/components/Input/Input.d.ts.map +0 -1
- package/packages/ui/react/components/Input/Input.js +0 -61
- package/packages/ui/react/components/Input/Input.js.map +0 -1
- package/packages/ui/react/components/Input/index.d.ts.map +0 -1
- package/packages/ui/react/components/Input/index.js +0 -18
- package/packages/ui/react/components/Input/index.js.map +0 -1
- package/packages/ui/react/components/Label/Label.d.ts.map +0 -1
- package/packages/ui/react/components/Label/Label.js +0 -37
- package/packages/ui/react/components/Label/Label.js.map +0 -1
- package/packages/ui/react/components/Label/index.d.ts.map +0 -1
- package/packages/ui/react/components/Label/index.js +0 -21
- package/packages/ui/react/components/Label/index.js.map +0 -1
- package/packages/ui/react/components/Message/Message.d.ts.map +0 -1
- package/packages/ui/react/components/Message/Message.js +0 -56
- package/packages/ui/react/components/Message/Message.js.map +0 -1
- package/packages/ui/react/components/Message/MessageManager.d.ts.map +0 -1
- package/packages/ui/react/components/Message/MessageManager.js.map +0 -1
- package/packages/ui/react/components/Message/data.d.ts.map +0 -1
- package/packages/ui/react/components/Message/data.js +0 -5
- package/packages/ui/react/components/Message/data.js.map +0 -1
- package/packages/ui/react/components/Message/index.d.ts.map +0 -1
- package/packages/ui/react/components/Message/index.js +0 -6
- package/packages/ui/react/components/Message/index.js.map +0 -1
- package/packages/ui/react/components/Modal/Modal.d.ts.map +0 -1
- package/packages/ui/react/components/Modal/Modal.js +0 -51
- package/packages/ui/react/components/Modal/Modal.js.map +0 -1
- package/packages/ui/react/components/Modal/ModalManager.d.ts.map +0 -1
- package/packages/ui/react/components/Modal/ModalManager.js.map +0 -1
- package/packages/ui/react/components/Modal/index.d.ts.map +0 -1
- package/packages/ui/react/components/Modal/index.js +0 -8
- package/packages/ui/react/components/Modal/index.js.map +0 -1
- package/packages/ui/react/components/Pagination.d.ts.map +0 -1
- package/packages/ui/react/components/Pagination.js.map +0 -1
- package/packages/ui/react/components/Search/Search.d.ts.map +0 -1
- package/packages/ui/react/components/Search/Search.js +0 -15
- package/packages/ui/react/components/Search/Search.js.map +0 -1
- package/packages/ui/react/components/Search/index.d.ts.map +0 -1
- package/packages/ui/react/components/Search/index.js +0 -9
- package/packages/ui/react/components/Search/index.js.map +0 -1
- package/packages/ui/react/components/Select/Select.d.ts.map +0 -1
- package/packages/ui/react/components/Select/Select.js +0 -167
- package/packages/ui/react/components/Select/Select.js.map +0 -1
- package/packages/ui/react/components/Select/index.d.ts.map +0 -1
- package/packages/ui/react/components/Select/index.js +0 -18
- package/packages/ui/react/components/Select/index.js.map +0 -1
- package/packages/ui/react/components/Skeleton/Skeleton.d.ts.map +0 -1
- package/packages/ui/react/components/Skeleton/Skeleton.js +0 -36
- package/packages/ui/react/components/Skeleton/Skeleton.js.map +0 -1
- package/packages/ui/react/components/Skeleton/index.d.ts.map +0 -1
- package/packages/ui/react/components/Skeleton/index.js +0 -6
- package/packages/ui/react/components/Skeleton/index.js.map +0 -1
- package/packages/ui/react/components/Switch/Switch.d.ts.map +0 -1
- package/packages/ui/react/components/Switch/Switch.js +0 -57
- package/packages/ui/react/components/Switch/Switch.js.map +0 -1
- package/packages/ui/react/components/Switch/index.d.ts.map +0 -1
- package/packages/ui/react/components/Switch/index.js +0 -18
- package/packages/ui/react/components/Switch/index.js.map +0 -1
- package/packages/ui/react/components/TableSearch/TableSearch.d.ts.map +0 -1
- package/packages/ui/react/components/TableSearch/TableSearch.js.map +0 -1
- package/packages/ui/react/components/TableSearch/index.d.ts.map +0 -1
- package/packages/ui/react/components/TableSearch/index.js +0 -9
- package/packages/ui/react/components/TableSearch/index.js.map +0 -1
- package/packages/ui/react/components/TableSearch/lang.d.ts.map +0 -1
- package/packages/ui/react/components/TableSearch/lang.js +0 -28
- package/packages/ui/react/components/TableSearch/lang.js.map +0 -1
- package/packages/ui/react/components/TableSearch/tableSearchLocaleStore.d.ts.map +0 -1
- package/packages/ui/react/components/TableSearch/tableSearchLocaleStore.js +0 -15
- package/packages/ui/react/components/TableSearch/tableSearchLocaleStore.js.map +0 -1
- package/packages/ui/react/components/Textarea.d.ts.map +0 -1
- package/packages/ui/react/components/Textarea.js +0 -38
- package/packages/ui/react/components/Textarea.js.map +0 -1
- package/packages/ui/react/components/Tooltip.d.ts.map +0 -1
- package/packages/ui/react/components/Tooltip.js.map +0 -1
- package/packages/ui/react/components/TreeSelect.d.ts.map +0 -1
- package/packages/ui/react/components/TreeSelect.js.map +0 -1
- package/packages/ui/react/components/Upload/ImageUpload.d.ts.map +0 -1
- package/packages/ui/react/components/Upload/ImageUpload.js +0 -67
- package/packages/ui/react/components/Upload/ImageUpload.js.map +0 -1
- package/packages/ui/react/components/Upload/Upload.d.ts.map +0 -1
- package/packages/ui/react/components/Upload/Upload.js +0 -9
- package/packages/ui/react/components/Upload/Upload.js.map +0 -1
- package/packages/ui/react/components/Upload/index.d.ts.map +0 -1
- package/packages/ui/react/components/Upload/index.js +0 -19
- package/packages/ui/react/components/Upload/index.js.map +0 -1
- package/packages/ui/react/components/breadcrumb.d.ts.map +0 -1
- package/packages/ui/react/components/breadcrumb.js +0 -80
- package/packages/ui/react/components/breadcrumb.js.map +0 -1
- package/packages/ui/react/components/hooks/useInputController.d.ts.map +0 -1
- package/packages/ui/react/components/hooks/useInputController.js.map +0 -1
- package/packages/ui/react/components/index.d.ts.map +0 -1
- package/packages/ui/react/components/index.js +0 -40
- package/packages/ui/react/components/index.js.map +0 -1
- package/packages/ui/react/components/table.d.ts.map +0 -1
- package/packages/ui/react/components/table.js +0 -64
- package/packages/ui/react/components/table.js.map +0 -1
- package/packages/ui/react/components/testPage/index.d.ts.map +0 -1
- package/packages/ui/react/components/testPage/index.js +0 -124
- package/packages/ui/react/components/testPage/index.js.map +0 -1
- package/packages/ui/react/hooks/useBreadcrumb.d.ts.map +0 -1
- package/packages/ui/react/hooks/useBreadcrumb.js +0 -6
- package/packages/ui/react/hooks/useBreadcrumb.js.map +0 -1
- package/packages/ui/react/hooks/useInit.d.ts.map +0 -1
- package/packages/ui/react/hooks/useInit.js +0 -12
- package/packages/ui/react/hooks/useInit.js.map +0 -1
- package/packages/ui/react/hooks/useLanguage.d.ts.map +0 -1
- package/packages/ui/react/hooks/useLanguage.js +0 -8
- package/packages/ui/react/hooks/useLanguage.js.map +0 -1
- package/packages/ui/react/hooks/usePagination.d.ts.map +0 -1
- package/packages/ui/react/hooks/usePagination.js.map +0 -1
- package/packages/ui/react/index.d.ts.map +0 -1
- package/packages/ui/react/index.js +0 -19
- package/packages/ui/react/index.js.map +0 -1
- package/packages/ui/react/lib/export.d.ts +0 -22
- package/packages/ui/react/lib/export.d.ts.map +0 -1
- package/packages/ui/react/lib/export.js.map +0 -1
- package/packages/ui/react/lib/utils.d.ts +0 -10
- package/packages/ui/react/lib/utils.d.ts.map +0 -1
- package/packages/ui/react/lib/utils.js.map +0 -1
- package/packages/ui/react/locales/index.d.ts.map +0 -1
- package/packages/ui/react/locales/index.js +0 -10
- package/packages/ui/react/locales/index.js.map +0 -1
- package/packages/ui/react/stores/breadcrumb.d.ts.map +0 -1
- package/packages/ui/react/stores/breadcrumb.js.map +0 -1
- package/packages/ui/react/stores/language.d.ts.map +0 -1
- package/packages/ui/react/stores/language.js.map +0 -1
- package/packages/ui/react/types/index.d.ts.map +0 -1
- package/packages/ui/react/types/index.js.map +0 -1
- package/packages/utils/getAllFilesInFolder.d.ts.map +0 -1
- package/packages/utils/getAllFilesInFolder.js.map +0 -1
- package/packages/utils/getAllFnReturnValue.d.ts.map +0 -1
- package/packages/utils/getAllFnReturnValue.js +0 -2
- package/packages/utils/getAllFnReturnValue.js.map +0 -1
- package/packages/utils/index.d.ts.map +0 -1
- package/packages/utils/index.js.map +0 -1
- package/packages/utils/loadFile.d.ts.map +0 -1
- package/packages/utils/loadFile.js.map +0 -1
- package/packages/utils/path.d.ts +0 -7
- package/packages/utils/path.d.ts.map +0 -1
- package/packages/utils/path.js.map +0 -1
- package/packages/utils/runFileFn.d.ts.map +0 -1
- package/packages/utils/runFileFn.js.map +0 -1
- package/typings/type.d.ts +0 -2
- package/typings/type.d.ts.map +0 -1
- package/typings/type.js.map +0 -1
- /package/{app → esm/app}/data/signKey.d.ts +0 -0
- /package/{app → esm/app}/extend/db.d.ts +0 -0
- /package/{app → esm/app}/extend/generateErrorMessage.d.ts +0 -0
- /package/{app → esm/app}/extend/logger.d.ts +0 -0
- /package/{app → esm/app}/extend/parsingParamsOnUrl.d.ts +0 -0
- /package/{app → esm/app}/middleware.d.ts +0 -0
- /package/{app → esm/app}/router/project.d.ts +0 -0
- /package/{app → esm/app}/router/view.d.ts +0 -0
- /package/{app → esm/app}/router-schema/project.d.ts +0 -0
- /package/{app → esm/app}/service/bese.d.ts +0 -0
- /package/{app → esm/app}/service/project.d.ts +0 -0
- /package/{app → esm/app}/type.d.ts +0 -0
- /package/{index.d.ts → esm/index.d.ts} +0 -0
- /package/{packages → esm/packages}/core/env.d.ts +0 -0
- /package/{packages → esm/packages}/core/index.d.ts +0 -0
- /package/{packages → esm/packages}/core/paths.d.ts +0 -0
- /package/{packages → esm/packages}/utils/getAllFnReturnValue.d.ts +0 -0
- /package/{packages → esm/packages}/utils/index.d.ts +0 -0
- /package/{packages → esm/packages}/utils/runFileFn.d.ts +0 -0
- /package/{app/pages → fe/frontend}/main.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Button/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Checkbox/Checkbox.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Checkbox/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/DataTable/ActionBtn.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Date/DateTestPage.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Date/TimePicker.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Date/data.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Date/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Dropdown.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Form/SchemeForm/data.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Form/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Form/useForm.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/ImagePreview/ImagePreview.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/ImagePreview/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Input/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Label/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Message/MessageManager.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Message/data.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Message/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Modal/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Search/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Select/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Skeleton/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Switch/Switch.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Switch/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/TableSearch/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/TableSearch/lang.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/TableSearch/tableSearchLocaleStore.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Upload/ImageUpload.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/Upload/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/breadcrumb.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/table.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/components/testPage/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/hooks/useBreadcrumb.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/hooks/useInit.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/hooks/useLanguage.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/hooks/usePagination.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/locales/index.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/stores/breadcrumb.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/stores/language.d.ts +0 -0
- /package/{packages → fe/packages}/ui/react/types/index.d.ts +0 -0
|
@@ -1,42 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.ExportType = void 0;
|
|
37
|
-
exports.exportToExcel = exportToExcel;
|
|
38
|
-
const components_1 = require("../components");
|
|
39
|
-
const XLSX = __importStar(require("xlsx"));
|
|
1
|
+
/**
|
|
2
|
+
* 导出 Excel 工具方法
|
|
3
|
+
*
|
|
4
|
+
* 功能:
|
|
5
|
+
* - 支持导出「当前页」或「当前查询条件下的全部页数据」
|
|
6
|
+
* - 通过 DataTable 的 columns 控制导出列及顺序
|
|
7
|
+
*
|
|
8
|
+
* 使用方式(示例):
|
|
9
|
+
* ```ts
|
|
10
|
+
* await exportToExcel({
|
|
11
|
+
* fetchData: (pageNum, pageSize) => getWithdrawList({ ...searchParams, pageNum, pageSize }),
|
|
12
|
+
* columns, // 直接复用 DataTable 的 columns
|
|
13
|
+
* exportType: 'all', // 'all' 导出全部页;'current' 仅导出当前页
|
|
14
|
+
* currentPage,
|
|
15
|
+
* pageSize,
|
|
16
|
+
* total,
|
|
17
|
+
* currentPageData: tableData, // 可选,导出当前页时直接使用现有数据,避免重复请求
|
|
18
|
+
* fileName: '提币记录',
|
|
19
|
+
* })
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
import { message } from '../components';
|
|
23
|
+
import * as XLSX from 'xlsx';
|
|
40
24
|
const getTextFromReactNode = (node) => {
|
|
41
25
|
if (node == null || typeof node !== 'object') {
|
|
42
26
|
return node;
|
|
@@ -50,21 +34,32 @@ const getTextFromReactNode = (node) => {
|
|
|
50
34
|
}
|
|
51
35
|
return String(node);
|
|
52
36
|
};
|
|
53
|
-
|
|
37
|
+
export const ExportType = {
|
|
38
|
+
/**
|
|
39
|
+
* 当前查询条件下所有页
|
|
40
|
+
*/
|
|
54
41
|
all: 0,
|
|
42
|
+
/**
|
|
43
|
+
* 当前页
|
|
44
|
+
*/
|
|
55
45
|
current: 1,
|
|
56
46
|
};
|
|
47
|
+
/** 读取嵌套字段值,支持 a.b.c 形式 */
|
|
57
48
|
const getValue = (row, dataIndex) => {
|
|
58
49
|
const key = String(dataIndex);
|
|
59
50
|
if (!key.includes('.'))
|
|
60
51
|
return row?.[key];
|
|
61
52
|
return key.split('.').reduce((acc, cur) => (acc == null ? acc : acc[cur]), row);
|
|
62
53
|
};
|
|
63
|
-
|
|
54
|
+
/**
|
|
55
|
+
* 通用导出 Excel 方法
|
|
56
|
+
*/
|
|
57
|
+
export async function exportToExcel(options) {
|
|
64
58
|
const { fetchData, exportType, currentPage = 1, pageSize = 2000, maxCount = 10000, currentPageData, fileName, } = options;
|
|
65
59
|
const defaultSearchParams = { export: true };
|
|
66
60
|
const cols = options.columns;
|
|
67
61
|
const fieldConfigs = cols
|
|
62
|
+
// 过滤掉操作列
|
|
68
63
|
.filter((col) => !col.isAction && col.key !== 'action')
|
|
69
64
|
.map((col) => ({
|
|
70
65
|
title: col.title,
|
|
@@ -75,10 +70,11 @@ async function exportToExcel(options) {
|
|
|
75
70
|
console.warn('[exportToExcel] 导出列配置为空,已终止导出');
|
|
76
71
|
return;
|
|
77
72
|
}
|
|
78
|
-
const infoMessageId =
|
|
73
|
+
const infoMessageId = message.info('导出中...', { duration: 999999999 });
|
|
79
74
|
try {
|
|
80
75
|
let allData = [];
|
|
81
|
-
if (exportType ===
|
|
76
|
+
if (exportType === ExportType.current) {
|
|
77
|
+
// 优先使用已存在的当前页数据,避免重复请求
|
|
82
78
|
if (currentPageData && currentPageData.length) {
|
|
83
79
|
allData = currentPageData;
|
|
84
80
|
}
|
|
@@ -88,6 +84,7 @@ async function exportToExcel(options) {
|
|
|
88
84
|
}
|
|
89
85
|
}
|
|
90
86
|
else {
|
|
87
|
+
// 导出所有页:按页拉取,直到数据不足一整页或达到最大条数
|
|
91
88
|
const list = [];
|
|
92
89
|
for (let page = 1;; page += 1) {
|
|
93
90
|
const res = await fetchData(page, pageSize, defaultSearchParams);
|
|
@@ -95,23 +92,29 @@ async function exportToExcel(options) {
|
|
|
95
92
|
if (!records.length)
|
|
96
93
|
break;
|
|
97
94
|
list.push(...records);
|
|
95
|
+
// 达到最大条数后直接截断并停止
|
|
98
96
|
if (list.length >= maxCount) {
|
|
99
97
|
list.length = maxCount;
|
|
100
98
|
break;
|
|
101
99
|
}
|
|
100
|
+
// 本页数据不足 pageSize,说明已到最后一页
|
|
102
101
|
if (records.length < pageSize)
|
|
103
102
|
break;
|
|
104
103
|
}
|
|
105
104
|
allData = list;
|
|
106
105
|
}
|
|
107
106
|
if (!allData.length) {
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
message.warning?.('暂无可导出的数据');
|
|
108
|
+
message.close(infoMessageId);
|
|
110
109
|
return;
|
|
111
110
|
}
|
|
111
|
+
// 构建表头
|
|
112
112
|
const header = fieldConfigs.map((f) => f.title);
|
|
113
|
+
// 构建数据行
|
|
113
114
|
const dataRows = allData.map((row, index) => fieldConfigs.map((f) => {
|
|
114
115
|
const v = f.render ? f.render(getValue(row, f.dataIndex), row, index) : getValue(row, f.dataIndex);
|
|
116
|
+
// 如果v是ReactNode
|
|
117
|
+
// 需要获取最深层的text
|
|
115
118
|
if (v && typeof v === 'object' && 'props' in v && 'children' in v.props) {
|
|
116
119
|
return getTextFromReactNode(v);
|
|
117
120
|
}
|
|
@@ -124,13 +127,12 @@ async function exportToExcel(options) {
|
|
|
124
127
|
const pad = (n) => (n < 10 ? `0${n}` : String(n));
|
|
125
128
|
const defaultName = `export-${now.getFullYear()}${pad(now.getMonth() + 1)}${pad(now.getDate())}${pad(now.getHours())}${pad(now.getMinutes())}${pad(now.getSeconds())}`;
|
|
126
129
|
XLSX.writeFile(workbook, `${fileName || defaultName}.xlsx`);
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
message.close(infoMessageId);
|
|
131
|
+
message.success?.('导出成功');
|
|
129
132
|
}
|
|
130
133
|
catch (error) {
|
|
131
134
|
console.error('[exportToExcel] 导出失败:', error);
|
|
132
|
-
|
|
133
|
-
|
|
135
|
+
message.close(infoMessageId);
|
|
136
|
+
message.error?.('导出失败,请稍后重试');
|
|
134
137
|
}
|
|
135
138
|
}
|
|
136
|
-
//# sourceMappingURL=export.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type ClassValue } from "clsx";
|
|
2
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
3
|
+
/**
|
|
4
|
+
* 日期时间格式化工具
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* 格式化日期时间
|
|
8
|
+
* @param date 日期字符串或 Date 对象
|
|
9
|
+
* @param format 格式化模板,默认 'YYYY-MM-DD HH:mm:ss'
|
|
10
|
+
* @returns 格式化后的字符串
|
|
11
|
+
*/
|
|
12
|
+
export declare function formatDateTime(date: string | Date | null | undefined | number, format?: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* 格式化日期
|
|
15
|
+
* @param date 日期字符串或 Date 对象
|
|
16
|
+
* @returns 格式化后的字符串 YYYY-MM-DD
|
|
17
|
+
*/
|
|
18
|
+
export declare function formatDate(date: string | Date | null | undefined): string;
|
|
19
|
+
/**
|
|
20
|
+
* 格式化时间
|
|
21
|
+
* @param date 日期字符串或 Date 对象
|
|
22
|
+
* @returns 格式化后的字符串 HH:mm:ss
|
|
23
|
+
*/
|
|
24
|
+
export declare function formatTime(date: string | Date | null | undefined): string;
|
|
25
|
+
/**
|
|
26
|
+
* 生成开始结束时间
|
|
27
|
+
* @param dates 日期字符串或 Date 对象数组
|
|
28
|
+
* @returns 开始结束时间对象 { start: string; end: string }
|
|
29
|
+
*/
|
|
30
|
+
export declare function generateStartEndTime(dates: string[] | Date[] | null | undefined): {
|
|
31
|
+
start: string;
|
|
32
|
+
end: string;
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
exports.formatDate = formatDate;
|
|
6
|
-
exports.formatTime = formatTime;
|
|
7
|
-
exports.generateStartEndTime = generateStartEndTime;
|
|
8
|
-
const clsx_1 = require("clsx");
|
|
9
|
-
const tailwind_merge_1 = require("tailwind-merge");
|
|
10
|
-
function cn(...inputs) {
|
|
11
|
-
return (0, tailwind_merge_1.twMerge)((0, clsx_1.clsx)(inputs));
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
export function cn(...inputs) {
|
|
4
|
+
return twMerge(clsx(inputs));
|
|
12
5
|
}
|
|
13
|
-
|
|
6
|
+
/**
|
|
7
|
+
* 日期时间格式化工具
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* 格式化日期时间
|
|
11
|
+
* @param date 日期字符串或 Date 对象
|
|
12
|
+
* @param format 格式化模板,默认 'YYYY-MM-DD HH:mm:ss'
|
|
13
|
+
* @returns 格式化后的字符串
|
|
14
|
+
*/
|
|
15
|
+
export function formatDateTime(date, format = "YYYY-MM-DD HH:mm:ss") {
|
|
14
16
|
if (!date)
|
|
15
17
|
return "-";
|
|
16
18
|
let d = new Date(date);
|
|
19
|
+
// 接口返回的时间戳为 秒
|
|
17
20
|
const tmpY = d.getFullYear();
|
|
18
21
|
if (typeof date === "number" && tmpY === 1970) {
|
|
19
22
|
d = new Date(date * 1000);
|
|
@@ -34,13 +37,28 @@ function formatDateTime(date, format = "YYYY-MM-DD HH:mm:ss") {
|
|
|
34
37
|
.replace("mm", minutes)
|
|
35
38
|
.replace("ss", seconds);
|
|
36
39
|
}
|
|
37
|
-
|
|
40
|
+
/**
|
|
41
|
+
* 格式化日期
|
|
42
|
+
* @param date 日期字符串或 Date 对象
|
|
43
|
+
* @returns 格式化后的字符串 YYYY-MM-DD
|
|
44
|
+
*/
|
|
45
|
+
export function formatDate(date) {
|
|
38
46
|
return formatDateTime(date, "YYYY-MM-DD");
|
|
39
47
|
}
|
|
40
|
-
|
|
48
|
+
/**
|
|
49
|
+
* 格式化时间
|
|
50
|
+
* @param date 日期字符串或 Date 对象
|
|
51
|
+
* @returns 格式化后的字符串 HH:mm:ss
|
|
52
|
+
*/
|
|
53
|
+
export function formatTime(date) {
|
|
41
54
|
return formatDateTime(date, "HH:mm:ss");
|
|
42
55
|
}
|
|
43
|
-
|
|
56
|
+
/**
|
|
57
|
+
* 生成开始结束时间
|
|
58
|
+
* @param dates 日期字符串或 Date 对象数组
|
|
59
|
+
* @returns 开始结束时间对象 { start: string; end: string }
|
|
60
|
+
*/
|
|
61
|
+
export function generateStartEndTime(dates) {
|
|
44
62
|
if (!dates)
|
|
45
63
|
return { start: "", end: "" };
|
|
46
64
|
const start = dates[0];
|
|
@@ -50,4 +68,3 @@ function generateStartEndTime(dates) {
|
|
|
50
68
|
end: formatDateTime(end, "YYYY-MM-DD 23:59:59"),
|
|
51
69
|
};
|
|
52
70
|
}
|
|
53
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useBreadcrumbStore = exports.breadcrumbStore = void 0;
|
|
4
|
-
const zustand_1 = require("zustand");
|
|
1
|
+
import { create } from 'zustand';
|
|
5
2
|
const BREADCRUMB_STORAGE_KEY = 'app-breadcrumb';
|
|
6
3
|
const loadBreadcrumbFromStorage = () => {
|
|
7
4
|
try {
|
|
@@ -19,6 +16,7 @@ const loadBreadcrumbFromStorage = () => {
|
|
|
19
16
|
}
|
|
20
17
|
}
|
|
21
18
|
catch {
|
|
19
|
+
// ignore
|
|
22
20
|
}
|
|
23
21
|
return [];
|
|
24
22
|
};
|
|
@@ -27,9 +25,10 @@ const saveBreadcrumbToStorage = (items) => {
|
|
|
27
25
|
localStorage.setItem(BREADCRUMB_STORAGE_KEY, JSON.stringify(items));
|
|
28
26
|
}
|
|
29
27
|
catch {
|
|
28
|
+
// ignore
|
|
30
29
|
}
|
|
31
30
|
};
|
|
32
|
-
|
|
31
|
+
export const breadcrumbStore = create((set) => ({
|
|
33
32
|
items: loadBreadcrumbFromStorage(),
|
|
34
33
|
setItems: (items) => {
|
|
35
34
|
set({ items });
|
|
@@ -61,8 +60,7 @@ exports.breadcrumbStore = (0, zustand_1.create)((set) => ({
|
|
|
61
60
|
}));
|
|
62
61
|
},
|
|
63
62
|
}));
|
|
64
|
-
|
|
63
|
+
breadcrumbStore.subscribe((state) => {
|
|
65
64
|
saveBreadcrumbToStorage(state.items);
|
|
66
65
|
});
|
|
67
|
-
|
|
68
|
-
//# sourceMappingURL=breadcrumb.js.map
|
|
66
|
+
export const useBreadcrumbStore = breadcrumbStore;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const getLanguage = (key, fillingData) => {
|
|
7
|
-
let value = locales_1.translations[languageStore.getState().language];
|
|
1
|
+
import { defaultLanguage, languageLocalKey, translations } from '../locales';
|
|
2
|
+
import { create } from 'zustand';
|
|
3
|
+
export const getLanguage = (key, fillingData) => {
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
|
+
let value = translations[languageStore.getState().language];
|
|
8
6
|
const keys = key.split('.');
|
|
9
7
|
for (const k of keys) {
|
|
10
8
|
value = value?.[k];
|
|
@@ -28,28 +26,26 @@ const getLanguage = (key, fillingData) => {
|
|
|
28
26
|
}
|
|
29
27
|
return key;
|
|
30
28
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
t: exports.t,
|
|
29
|
+
export const t = getLanguage;
|
|
30
|
+
const languageStore = create((set) => ({
|
|
31
|
+
t,
|
|
35
32
|
language: (() => {
|
|
36
33
|
if (typeof window === 'undefined') {
|
|
37
|
-
return
|
|
34
|
+
return defaultLanguage;
|
|
38
35
|
}
|
|
39
|
-
const stored = window.localStorage.getItem(
|
|
40
|
-
return (Object.keys(
|
|
36
|
+
const stored = window.localStorage.getItem(languageLocalKey);
|
|
37
|
+
return (Object.keys(translations).includes(stored) ? stored : defaultLanguage);
|
|
41
38
|
})(),
|
|
42
39
|
setLanguage: (lang) => {
|
|
43
40
|
set({
|
|
44
41
|
language: lang,
|
|
45
42
|
t: function (...args) {
|
|
46
|
-
return
|
|
43
|
+
return getLanguage.apply(this, args);
|
|
47
44
|
},
|
|
48
45
|
});
|
|
49
46
|
if (typeof window !== 'undefined') {
|
|
50
|
-
window.localStorage.setItem(
|
|
47
|
+
window.localStorage.setItem(languageLocalKey, lang);
|
|
51
48
|
}
|
|
52
49
|
},
|
|
53
50
|
}));
|
|
54
|
-
|
|
55
|
-
//# sourceMappingURL=language.js.map
|
|
51
|
+
export const useLanguages = languageStore;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_tc/template-core",
|
|
3
|
-
"version": "0.0.1-bate.
|
|
3
|
+
"version": "0.0.1-bate.20",
|
|
4
4
|
"description": "A TypeScript Koa framework template - Monorepo root",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./esm/index.js",
|
|
10
|
+
"require": "./cjs/index.js",
|
|
11
|
+
"types": "./esm/index.d.js"
|
|
12
|
+
},
|
|
13
|
+
"./bundler": {
|
|
14
|
+
"import": "./esm/bundler/index.js",
|
|
15
|
+
"require": "./cjs/bundler/index.js",
|
|
16
|
+
"types": "./esm/bundler/index.d.js"
|
|
17
|
+
},
|
|
18
|
+
"./c/r": {
|
|
19
|
+
"import": "./fe/packages/ui/react/index.js",
|
|
20
|
+
"require": "./fe/packages/ui/react/index.js",
|
|
21
|
+
"types": "./fe/packages/ui/react/index.d.js"
|
|
22
|
+
},
|
|
23
|
+
"./c/r/*": {
|
|
24
|
+
"import": "./fe/packages/ui/react/*",
|
|
25
|
+
"require": "./fe/packages/ui/react/*",
|
|
26
|
+
"types": "./fe/packages/ui/react/*"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
7
29
|
"dependencies": {
|
|
30
|
+
"@babel/runtime": "^7.27.6",
|
|
8
31
|
"ajv": "^8.18.0",
|
|
9
32
|
"glob": "^10.3.10",
|
|
10
33
|
"knex": "^3.2.3",
|
|
@@ -15,16 +38,28 @@
|
|
|
15
38
|
"log4js": "^6.9.1",
|
|
16
39
|
"md5": "^2.3.0",
|
|
17
40
|
"nunjucks": "^3.2.4",
|
|
18
|
-
"superagent": "^7.1.0"
|
|
19
|
-
"vite": "^8.0.8",
|
|
20
|
-
"vite-plugin-html": "^3.2.2"
|
|
41
|
+
"superagent": "^7.1.0"
|
|
21
42
|
},
|
|
22
43
|
"peerDependencies": {
|
|
44
|
+
"vite": "^6.3.4",
|
|
23
45
|
"@types/node": ">=18.0.0",
|
|
46
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
47
|
+
"vite-plugin-html": "^3.2.2",
|
|
48
|
+
"chokidar": "^4.0.3",
|
|
24
49
|
"koa": "^2.15.0",
|
|
25
50
|
"koa-nunjucks-2": "^3.0.2",
|
|
26
51
|
"koa-router": "^12.0.1",
|
|
27
|
-
"lodash": "^4.17.21"
|
|
52
|
+
"lodash": "^4.17.21",
|
|
53
|
+
"react": "^19.0.0",
|
|
54
|
+
"react-dom": "^19.0.0",
|
|
55
|
+
"clsx": "^2.1.0",
|
|
56
|
+
"date-fns": "^3.6.0",
|
|
57
|
+
"lucide-react": "^0.468.0",
|
|
58
|
+
"rc-field-form": "^1.44.0",
|
|
59
|
+
"react-router-dom": "^6.28.0",
|
|
60
|
+
"tailwind-merge": "^2.4.0",
|
|
61
|
+
"xlsx": "^0.18.5",
|
|
62
|
+
"zustand": "^5.0.0"
|
|
28
63
|
},
|
|
29
64
|
"keywords": [
|
|
30
65
|
"koa",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../app/controller/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;yBAGf,KAAK,MAAM;;sBAET,MAAM;yBACH,MAAM,CAAC,QAAQ,CAAC;;qBAWpB,GAAG,QAAQ,OAAO,GAAG,IAAI;kBAI5B,GAAG,QAAQ,MAAM,WAAW,MAAM,GAAG,IAAI;sBAK5C,GAAG,SACF,OAAO,SACP,MAAM,YACH,MAAM,GAAG,IAAI,WACd,MAAM,GACb,IAAI;;;AA5BX,wBAgCI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../app/controller/base.ts"],"names":[],"mappings":";;AAIA,kBAAe,CAAC,GAAW,EAAE,EAAE,CAC7B,MAAM,cAAc;IACT,GAAG,CAAS;IACZ,MAAM,CAAmB;IAElC;QACE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;IAC3B,CAAC;IAED,IAAI,OAAO;QACT,OAAO,GAAG,CAAC,OAAO,CAAC;IACrB,CAAC;IAED,OAAO,CAAC,GAAQ,EAAE,IAAa;QAC7B,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IAC3B,CAAC;IAED,IAAI,CAAC,GAAQ,EAAE,IAAY,EAAE,OAAe;QAC1C,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC1C,CAAC;IAED,QAAQ,CACN,GAAQ,EACR,OAAgB,IAAI,EACpB,OAAe,CAAC,EAChB,UAAyB,IAAI,EAC7B,SAAiB,GAAG;QAEpB,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;QACpB,GAAG,CAAC,IAAI,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IACrC,CAAC;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../app/controller/project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAGjC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,MAAM,WAAW,kBAAkB;IAClC,YAAY,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtC,cAAc,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACvC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACpD;AAED,QAAA,MAAM,oBAAoB,GAAI,KAAK,MAAM,KAAG,UAAU,kBA0DrD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../../../app/controller/project.ts"],"names":[],"mappings":";;;;;AACA,kDAAuC;AAYvC,MAAM,oBAAoB,GAAG,CAAC,GAAW,EAAgC,EAAE;IAC1E,MAAM,cAAc,GAAG,IAAA,cAAiB,EAAC,GAAG,CAAC,CAAC;IAE9C,OAAO,MAAM,iBAAkB,SAAQ,cAAc;QACpD,YAAY,GAAG,KAAK,EAAE,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
1
|
-
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../app/controller/view.ts"],"names":[],"mappings":";;AAGA,MAAM,iBAAiB,GAAG,CAAC,GAAW,EAAE,EAAE,CACxC,MAAM,cAAc;IAClB,KAAK,CAAC,UAAU,CAAC,GAAQ;QACvB,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE;YAC3D,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,QAAQ;YAC3B,IAAI,EAAE,GAAG,CAAC,OAAO,EAAE,IAAI;YACvB,GAAG,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE;YACnB,QAAQ,EAAE,SAAS,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;YACpC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC;SACrC,CAAC,CAAC;IACL,CAAC;CACF,CAAC;AAEJ,kBAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signKey.d.ts","sourceRoot":"","sources":["../../../app/data/signKey.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,gCAAgC,CAAC"}
|
package/app/data/signKey.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signKey.js","sourceRoot":"","sources":["../../../app/data/signKey.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,6BAA6B,CAAC"}
|
package/app/extend/db.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../../app/extend/db.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,wBAA8B,KAAK,CAAC,GAAG,EAAE,MAAM,eAY9C"}
|
package/app/extend/db.js
DELETED
package/app/extend/db.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"db.js","sourceRoot":"","sources":["../../../app/extend/db.ts"],"names":[],"mappings":";;AAEA,wBAYC;AAZc,KAAK,UAAU,KAAK,CAAC,GAAW;IAQ7C,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAGjB,OAAO,EAAE,CAAC;AACZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generateErrorMessage.d.ts","sourceRoot":"","sources":["../../../app/extend/generateErrorMessage.ts"],"names":[],"mappings":"AAAA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;+BAMS,SAAS,MAAM,EAAE,SAAS,WAAW;AAJ/C,wBAgBE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generateErrorMessage.js","sourceRoot":"","sources":["../../../app/extend/generateErrorMessage.ts"],"names":[],"mappings":";;AAMA,kBAAe,GAAG,EAAE;IAIlB,OAAO,CAAC,OAAe,EAAE,MAAoB,EAAE,EAAE;QAC/C,MAAM,GAAG,GAAG,IAAI,KAAK,CAAC,OAAO,CAI5B,CAAC;QACF,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC;QAC5B,GAAG,CAAC,IAAI,GAAG,MAAM,EAAE,IAAI,CAAC;QACxB,GAAG,CAAC,WAAW,GAAG,MAAM,EAAE,SAAS,CAAC;QAEpC,MAAM,GAAG,CAAC;IACZ,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../app/extend/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,UAAU,QAAQ;IAChB,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IAC9B,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IAC/B,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IAC/B,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IAChC,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IAChC,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;CACjC;yBAEqB,KAAK,MAAM;AAAjC,wBA0CE"}
|
package/app/extend/logger.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../app/extend/logger.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,kBAAe,KAAK,EAAE,GAAW,EAAE,EAAE;IACnC,IAAI,MAAM,GAAa,OAAO,CAAC;IAE/B,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,OAAO,EAAE,CAAC;QAC/B,MAAM,MAAM,GAAG,wDAAa,QAAQ,GAAC,CAAC;QACtC,MAAM,CAAC,SAAS,CAAC;YACf,SAAS,EAAE;gBACT,OAAO,EAAE;oBACP,IAAI,EAAE,SAAS;iBAChB;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,UAAU;oBAChB,QAAQ,EAAE,uBAAuB;oBACjC,OAAO,EAAE,aAAa;iBACvB;aACF;YACD,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,SAAS,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;oBAClC,KAAK,EAAE,OAAO;iBACf;aACF;SACF,CAAC,CAAC;QAEH,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,EAAc,CAAC;QAEpD,MAAM,qBAAqB,GACzB,GAAG,CAAC,OAAO,CAAC,qBAAqB;YACjC,OAAO,CAAC,GAAG,CAAC,qBAAqB,KAAK,OAAO,CAAC;QAEhD,IAAI,qBAAqB,EAAE,CAAC;YAC1B,OAAO,CAAC,GAAG,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACnD,OAAO,CAAC,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACpD,OAAO,CAAC,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACpD,OAAO,CAAC,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACtD,OAAO,CAAC,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACtD,OAAO,CAAC,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxD,CAAC;QAED,MAAM,GAAG,YAAY,CAAC;IACxB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parsingParamsOnUrl.d.ts","sourceRoot":"","sources":["../../../app/extend/parsingParamsOnUrl.ts"],"names":[],"mappings":"+BACS,UAAU,MAAM,EAAE,KAAK,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI;AADtE,wBAsBE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parsingParamsOnUrl.js","sourceRoot":"","sources":["../../../app/extend/parsingParamsOnUrl.ts"],"names":[],"mappings":";;AAAA,kBAAe,GAAG,EAAE;IACnB,OAAO,CAAC,QAAgB,EAAE,GAAW,EAAiC,EAAE;QACvE,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC1C,MAAM,QAAQ,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAEhC,IAAI,aAAa,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;YAC9C,OAAO,IAAI,CAAC;QACb,CAAC;QAED,MAAM,YAAY,GAA2B,EAAE,CAAC;QAChD,aAAa,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YACtC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC7B,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC3B,YAAY,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YAC3B,CAAC;QACF,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,MAAM,CAAyB,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;YACtF,CAAC,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;YAC/B,OAAO,CAAC,CAAC;QACV,CAAC,EAAE,EAAE,CAAC,CAAC;IACR,CAAC,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-view.d.ts","sourceRoot":"","sources":["../../../app/extend/render-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;yBAGpB,KAAK,MAAM,MAajB,MAAM,MAAM,EAAE,KAAK,GAAG,EAAE,UAAU,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;AAbnE,wBAgBE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-view.js","sourceRoot":"","sources":["../../../app/extend/render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,GAAG,EACH,EAAE,GAAG,SAAS,EAAE,EAChB,MAAiC,CAClC,CAAC;oBACF,KAAK,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;oBAC5B,QAAQ,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;gBACzB,CAAC;gBACD,MAAM;YACR,CAAC;YAED,IAAI,CAAC,KAAK,EAAE,CAAC;gBACX,MAAM,OAAO,GAAG,yBAAyB,GAAG,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC;gBAC5E,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,gCAAgC,OAAO,IAAI,CAAC,CAAC;gBACvE,GAAG,CAAC,OAAO,CAAC,oBAAoB,CAAC,OAAO,EAAE;oBACxC,SAAS,EAAE,IAAI;oBACf,IAAI,EAAE,GAAG;iBACV,CAAC,CAAC;YACL,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,IAAI,EAAE,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-sign-verify.d.ts","sourceRoot":"","sources":["../../../app/middleware/api-sign-verify.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;yBAIf,KAAK,MAAM,MAAY,KAAK,GAAG,EAAE,MAAM,GAAG,CAAC,IAAI;AAA/D,wBA8BE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-sign-verify.js","sourceRoot":"","sources":["../../../app/middleware/api-sign-verify.ts"],"names":[],"mappings":";;;;;AAAA,8CAAsB;AAKtB,MAAM,UAAU,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,CAAC;AAElC,kBAAe,CAAC,GAAW,EAAE,EAAE,CAAC,KAAK,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AI;gBACJ,OAAO;aACP,CAAC;QACH,CAAC;aAAM,CAAC;YACP,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC;YACjB,GAAG,CAAC,IAAI,GAAG;gBACV,IAAI,EAAE,KAAK;gBACX,OAAO,EAAE,MAAM;aACf,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project-handler.d.ts","sourceRoot":"","sources":["../../../app/middleware/project-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;+BAInB,KAAK,GAAG,EAAE,MAAM,GAAG,CAAC,IAAI;AADhC,wBAuBG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project-handler.js","sourceRoot":"","sources":["../../../app/middleware/project-handler.ts"],"names":[],"mappings":";;AAIA,kBAAe,GAAG,EAAE,CACnB,KAAK,EAAE,GAAQ,EAAE,IAAc,EAAE,EAAE;IAClC,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,QAA8B,CAAC;IACvD,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC;IAErB,IAAI,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACvC,IAAI,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACjD,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC;YACjB,GAAG,CAAC,IAAI,GAAG;gBACV,IAAI,EAAE,GAAG;gBACT,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE,OAAO;aAChB,CAAC;YAEF,OAAO;QACR,CAAC;IACF,CAAC;IAEA,GAA8D,CAAC,OAAO,GAAG;QACzE,GAAG;KACH,CAAC;IAEF,MAAM,IAAI,EAAE,CAAC;AACd,CAAC,CAAC"}
|
package/app/middleware.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../app/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;yBAaxB,KAAK,MAAM;AAA3B,wBAsDE"}
|
package/app/middleware.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../app/middleware.ts"],"names":[],"mappings":";;;;;AAAA,oBAAkB;AAClB,qBAAmB;AAEnB,+BAA+B;AAC/B,gEAAoC;AAGpC,4DAAmC;AACnC,oEAAgC;AAEhC,MAAM,OAAO,GAAG,IAAA,wBAAE,EAAC;IACjB,SAAS,EAAE,QAAQ;IACnB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;CACtC,CAAC,CAAC;AAEH,kBAAe,CAAC,GAAW,EAAE,EAAE;IAC7B,MAAM,SAAS,GAAG;QAGhB,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE;YACpB,CAAC,CAAC;gBACE,MAAM,EAAE,EAAE,GAAG,IAAI;aAClB;YACH,CAAC,CAAC;gBACE,MAAM,EAAE,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI;aAClC,CAAC;KACP,CAAC;IAEF,MAAM,cAAc,GAAG,IAAA,cAAO,EAAC,GAAG,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;IAC5D,MAAM,eAAe,GAAG,IAAA,cAAO,EAAC,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAGlE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAGrC,GAAG,CAAC,GAAG,CACL,IAAA,sBAAQ,EAAC;QACP,SAAS,EAAE,IAAI;KAEhB,CAAC,CACH,CAAC;IAGF,GAAG,CAAC,GAAG,CAAC,IAAA,oBAAS,EAAC,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC;IAC/C,GAAG,CAAC,GAAG,CAAC,IAAA,oBAAS,EAAC,cAAc,EAAE,SAAS,CAAC,CAAC,CAAC;IAG9C,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAGjB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;IAexC,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;IAG9D,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;AAC3C,CAAC,CAAC"}
|
package/app/pages/main.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../app/pages/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,eAAO,MAAM,OAAO,GAAI,eAAe,SAAS,SAK/C,CAAC"}
|
package/app/pages/main.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.initApp = void 0;
|
|
4
|
-
const client_1 = require("react-dom/client");
|
|
5
|
-
const initApp = (rootComponent) => {
|
|
6
|
-
const root = (0, client_1.createRoot)(document.getElementById("#root"));
|
|
7
|
-
root.render(rootComponent);
|
|
8
|
-
};
|
|
9
|
-
exports.initApp = initApp;
|
|
10
|
-
//# sourceMappingURL=main.js.map
|
package/app/pages/main.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../app/pages/main.ts"],"names":[],"mappings":";;;AACA,6CAA8C;AAEvC,MAAM,OAAO,GAAG,CAAC,aAAwB,EAAE,EAAE;IAClD,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAE,CAAC,CAAC;IAG3D,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;AAC7B,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../app/router/project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,YAAY,CAAC;yBAErB,KAAK,MAAM,EAAE,QAAQ,MAAM;AAA3C,wBAQE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../../../app/router/project.ts"],"names":[],"mappings":";;AAGA,kBAAe,CAAC,GAAW,EAAE,MAAc,EAAE,EAAE;IAC9C,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,GAAG,GAAG,CAAC,UAAU,CAAC;IAEtD,MAAM,CAAC,GAAG,CAAC,yBAAyB,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAEtE,MAAM,CAAC,GAAG,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAElE,MAAM,CAAC,GAAG,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC;AAC/D,CAAC,CAAC"}
|
package/app/router/view.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../app/router/view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,YAAY,CAAC;yBAErB,KAAK,MAAM,EAAE,QAAQ,MAAM;AAA3C,wBAME"}
|
package/app/router/view.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"view.js","sourceRoot":"","sources":["../../../app/router/view.ts"],"names":[],"mappings":";;AAIA,kBAAe,CAAC,GAAW,EAAE,MAAc,EAAE,EAAE;IAC7C,MAAM,CAAC,GAAG,CACR,CAAC,aAAa,EAAE,iBAAiB,CAAC,EAClC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CACzD,CAAC;AAEJ,CAAC,CAAC"}
|