gomtm 0.0.393 → 0.0.394
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/package.json +13 -31
- package/dist/esm/block/BlockItem.d.ts +0 -14
- package/dist/esm/block/BlockItem.js +0 -202
- package/dist/esm/block/BlockPage.d.ts +0 -15
- package/dist/esm/block/BlockPage.js +0 -197
- package/dist/esm/block/ChildrenDebug.d.ts +0 -15
- package/dist/esm/block/ChildrenDebug.js +0 -177
- package/dist/esm/block/MtBlockSS.d.ts +0 -6
- package/dist/esm/block/MtBlockSS.js +0 -10
- package/dist/esm/block/block-edit/MtBlockEditor.d.ts +0 -2
- package/dist/esm/block/block-edit/MtBlockEditor.js +0 -8
- package/dist/esm/block/block-store.d.ts +0 -14
- package/dist/esm/block/block-store.js +0 -79
- package/dist/esm/block/blockRegister.d.ts +0 -8
- package/dist/esm/block/blockRegister.js +0 -55
- package/dist/esm/block/blocks/Hello2Block.d.ts +0 -4
- package/dist/esm/block/blocks/Hello2Block.js +0 -12
- package/dist/esm/block/blocks/HelloBlock.d.ts +0 -5
- package/dist/esm/block/blocks/HelloBlock.js +0 -14
- package/dist/esm/block/blocks/HelloText.d.ts +0 -4
- package/dist/esm/block/blocks/HelloText.js +0 -12
- package/dist/esm/block/blocks/hello/Hello.d.ts +0 -4
- package/dist/esm/block/blocks/hello/Hello.js +0 -11
- package/dist/esm/block/blocks/hello/edit.d.ts +0 -5
- package/dist/esm/block/blocks/hello/edit.js +0 -15
- package/dist/esm/block/blocks/hello/index.d.ts +0 -9
- package/dist/esm/block/blocks/hello/index.js +0 -29
- package/dist/esm/block/blocks/hello2/index.d.ts +0 -4
- package/dist/esm/block/blocks/hello2/index.js +0 -12
- package/dist/esm/block/consts.d.ts +0 -1
- package/dist/esm/block/consts.js +0 -4
- package/dist/esm/cli/build.d.ts +0 -2
- package/dist/esm/cli/build.js +0 -60
- package/dist/esm/cli/deployMtWorker.d.ts +0 -2
- package/dist/esm/cli/deployMtWorker.js +0 -19
- package/dist/esm/cli/deploy_cf_worker.d.ts +0 -2
- package/dist/esm/cli/deploy_cf_worker.js +0 -70
- package/dist/esm/cli/deploy_mtxcli.d.ts +0 -2
- package/dist/esm/cli/deploy_mtxcli.js +0 -55
- package/dist/esm/cli/deploy_mtxedge.d.ts +0 -2
- package/dist/esm/cli/deploy_mtxedge.js +0 -55
- package/dist/esm/cli/deploy_mtxui.d.ts +0 -2
- package/dist/esm/cli/deploy_mtxui.js +0 -45
- package/dist/esm/cli/up_cf1.d.ts +0 -2
- package/dist/esm/cli/up_cf1.js +0 -29
- package/dist/esm/cli/utils.d.ts +0 -1
- package/dist/esm/cli/utils.js +0 -5
- package/dist/esm/cli/vc_mtxedge.d.ts +0 -2
- package/dist/esm/cli/vc_mtxedge.js +0 -44
- package/dist/esm/components/MtDate.d.ts +0 -6
- package/dist/esm/components/MtDate.js +0 -17
- package/dist/esm/components/MtmErrorView.d.ts +0 -7
- package/dist/esm/components/MtmErrorView.js +0 -16
- package/dist/esm/components/MtmInstallScript.d.ts +0 -2
- package/dist/esm/components/MtmInstallScript.js +0 -16
- package/dist/esm/components/SSR.d.ts +0 -11
- package/dist/esm/components/SSR.js +0 -76
- package/dist/esm/components/Tag.d.ts +0 -6
- package/dist/esm/components/Tag.js +0 -17
- package/dist/esm/components/auth/AuthPage.d.ts +0 -2
- package/dist/esm/components/auth/AuthPage.js +0 -36
- package/dist/esm/components/auth/LoginScreen2.d.ts +0 -2
- package/dist/esm/components/auth/LoginScreen2.js +0 -106
- package/dist/esm/components/auth/UserAuthForm.d.ts +0 -5
- package/dist/esm/components/auth/UserAuthForm.js +0 -76
- package/dist/esm/components/blog/BlogPostCreateForm.d.ts +0 -2
- package/dist/esm/components/blog/BlogPostCreateForm.js +0 -27
- package/dist/esm/components/blog/BlogPostImportDlgUrl.d.ts +0 -6
- package/dist/esm/components/blog/BlogPostImportDlgUrl.js +0 -94
- package/dist/esm/components/blog/PostEditForm.d.ts +0 -2
- package/dist/esm/components/blog/PostEditForm.js +0 -91
- package/dist/esm/components/blog/post-content.d.ts +0 -5
- package/dist/esm/components/blog/post-content.js +0 -15
- package/dist/esm/components/curdView/curdViewEditor.d.ts +0 -7
- package/dist/esm/components/curdView/curdViewEditor.js +0 -109
- package/dist/esm/components/devtools/GoMtmDebug.d.ts +0 -2
- package/dist/esm/components/devtools/GoMtmDebug.js +0 -48
- package/dist/esm/components/formFieldRender/SchemaFormFieldsRender.d.ts +0 -6
- package/dist/esm/components/formFieldRender/SchemaFormFieldsRender.js +0 -46
- package/dist/esm/components/site/SiteInfo.d.ts +0 -2
- package/dist/esm/components/site/SiteInfo.js +0 -15
- package/dist/esm/components/site/SiteSwitchDlg.d.ts +0 -0
- package/dist/esm/components/site/SiteSwitchDlg.js +0 -1
- package/dist/esm/connectquery/call-unary-method.d.ts +0 -8
- package/dist/esm/connectquery/call-unary-method.js +0 -47
- package/dist/esm/connectquery/connect-query-key.d.ts +0 -16
- package/dist/esm/connectquery/connect-query-key.js +0 -15
- package/dist/esm/connectquery/create-use-infinite-query-options.d.ts +0 -22
- package/dist/esm/connectquery/create-use-infinite-query-options.js +0 -93
- package/dist/esm/connectquery/create-use-query-options.d.ts +0 -21
- package/dist/esm/connectquery/create-use-query-options.js +0 -74
- package/dist/esm/connectquery/default-options.d.ts +0 -6
- package/dist/esm/connectquery/default-options.js +0 -9
- package/dist/esm/connectquery/index.d.ts +0 -16
- package/dist/esm/connectquery/index.js +0 -33
- package/dist/esm/connectquery/method-unary-descriptor.d.ts +0 -4
- package/dist/esm/connectquery/method-unary-descriptor.js +0 -0
- package/dist/esm/connectquery/use-infinite-query.d.ts +0 -14
- package/dist/esm/connectquery/use-infinite-query.js +0 -87
- package/dist/esm/connectquery/use-mutation.d.ts +0 -10
- package/dist/esm/connectquery/use-mutation.js +0 -79
- package/dist/esm/connectquery/use-query.d.ts +0 -14
- package/dist/esm/connectquery/use-query.js +0 -75
- package/dist/esm/connectquery/use-transport.d.ts +0 -7
- package/dist/esm/connectquery/use-transport.js +0 -23
- package/dist/esm/connectquery/utils.d.ts +0 -8
- package/dist/esm/connectquery/utils.js +0 -24
- package/dist/esm/consts.d.ts +0 -34
- package/dist/esm/consts.js +0 -70
- package/dist/esm/curd/CreateFormV2.d.ts +0 -16
- package/dist/esm/curd/CreateFormV2.js +0 -81
- package/dist/esm/curd/CurdView.d.ts +0 -4
- package/dist/esm/curd/CurdView.js +0 -35
- package/dist/esm/curd/CurdViewSS.d.ts +0 -4
- package/dist/esm/curd/CurdViewSS.js +0 -69
- package/dist/esm/curd/DynViews.d.ts +0 -6
- package/dist/esm/curd/DynViews.js +0 -69
- package/dist/esm/curd/ListPageCommands.d.ts +0 -2
- package/dist/esm/curd/ListPageCommands.js +0 -25
- package/dist/esm/curd/create/CurdCreatePanel.d.ts +0 -5
- package/dist/esm/curd/create/CurdCreatePanel.js +0 -47
- package/dist/esm/curd/create/useCurdCreate.d.ts +0 -7
- package/dist/esm/curd/create/useCurdCreate.js +0 -25
- package/dist/esm/curd/edit/CurdEditPanel.d.ts +0 -2
- package/dist/esm/curd/edit/CurdEditPanel.js +0 -60
- package/dist/esm/curd/edit/form-context.d.ts +0 -17
- package/dist/esm/curd/edit/form-context.js +0 -92
- package/dist/esm/curd/edit/formStore.d.ts +0 -17
- package/dist/esm/curd/edit/formStore.js +0 -92
- package/dist/esm/curd/edit/useCurdUpdateForm.d.ts +0 -7
- package/dist/esm/curd/edit/useCurdUpdateForm.js +0 -25
- package/dist/esm/curd/form/CurdEditPanel.d.ts +0 -2
- package/dist/esm/curd/form/CurdEditPanel.js +0 -36
- package/dist/esm/curd/form/FormShell.d.ts +0 -2
- package/dist/esm/curd/form/FormShell.js +0 -9
- package/dist/esm/curd/form/GomtmForm.d.ts +0 -2
- package/dist/esm/curd/form/GomtmForm.js +0 -46
- package/dist/esm/curd/form/formStore.d.ts +0 -31
- package/dist/esm/curd/form/formStore.js +0 -188
- package/dist/esm/curd/form/useCurdUpdateForm.d.ts +0 -7
- package/dist/esm/curd/form/useCurdUpdateForm.js +0 -25
- package/dist/esm/curd/form-context.d.ts +0 -17
- package/dist/esm/curd/form-context.js +0 -89
- package/dist/esm/curd/list-item/ListViewLayoutRender.d.ts +0 -15
- package/dist/esm/curd/list-item/ListViewLayoutRender.js +0 -220
- package/dist/esm/curd/listview/CommonListView.d.ts +0 -9
- package/dist/esm/curd/listview/CommonListView.js +0 -139
- package/dist/esm/curd/listview/CommonListViewV2.d.ts +0 -5
- package/dist/esm/curd/listview/CommonListViewV2.js +0 -66
- package/dist/esm/curd/listview/ListViewComponentsSetup.d.ts +0 -3
- package/dist/esm/curd/listview/ListViewComponentsSetup.js +0 -23
- package/dist/esm/curd/listview/ListViewRender.d.ts +0 -2
- package/dist/esm/curd/listview/ListViewRender.js +0 -20
- package/dist/esm/curd/listview/MtListView.d.ts +0 -3
- package/dist/esm/curd/listview/MtListView.js +0 -50
- package/dist/esm/curd/listview/list-store.d.ts +0 -34
- package/dist/esm/curd/listview/list-store.js +0 -90
- package/dist/esm/curd/listview/listview-layouts/default/index.d.ts +0 -2
- package/dist/esm/curd/listview/listview-layouts/default/index.js +0 -9
- package/dist/esm/curd/listview/listview-layouts/listviewlayout-demo/index.d.ts +0 -2
- package/dist/esm/curd/listview/listview-layouts/listviewlayout-demo/index.js +0 -12
- package/dist/esm/curd/mutationButton.d.ts +0 -7
- package/dist/esm/curd/mutationButton.js +0 -14
- package/dist/esm/curd/remove/RemovePanel.d.ts +0 -13
- package/dist/esm/curd/remove/RemovePanel.js +0 -72
- package/dist/esm/form/ConnectEsUpdateForm.d.ts +0 -17
- package/dist/esm/form/ConnectEsUpdateForm.js +0 -78
- package/dist/esm/form/GoMtmForm.d.ts +0 -5
- package/dist/esm/form/GoMtmForm.js +0 -31
- package/dist/esm/form/SchemaFormView.d.ts +0 -14
- package/dist/esm/form/SchemaFormView.js +0 -44
- package/dist/esm/gomtmQuery.d.ts +0 -7
- package/dist/esm/gomtmQuery.js +0 -86
- package/dist/esm/gomtmpb/descriptions/mtm/conf/conf.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/conf/conf.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/mtps/mtpspb/mtps.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/mtps/mtpspb/mtps.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/ai.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/ai.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/av.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/av.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/bot.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/bot.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/conf.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/conf.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/curd.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/curd.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/cx.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/cx.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/events.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/events.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/git.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/git.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/gitproject.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/gitproject.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/mtm.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/mtm.js +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/sp.d.ts +0 -0
- package/dist/esm/gomtmpb/descriptions/mtm/sppb/sp.js +0 -0
- package/dist/esm/gomtmpb/mtm/conf/conf-ConfService_connectquery.d.ts +0 -53
- package/dist/esm/gomtmpb/mtm/conf/conf-ConfService_connectquery.js +0 -60
- package/dist/esm/gomtmpb/mtm/conf/conf_connect.d.ts +0 -38
- package/dist/esm/gomtmpb/mtm/conf/conf_connect.js +0 -56
- package/dist/esm/gomtmpb/mtm/conf/conf_pb.d.ts +0 -481
- package/dist/esm/gomtmpb/mtm/conf/conf_pb.js +0 -2359
- package/dist/esm/gomtmpb/mtm/mtps/mtpspb/mtps-PsService_connectquery.d.ts +0 -52
- package/dist/esm/gomtmpb/mtm/mtps/mtpspb/mtps-PsService_connectquery.js +0 -59
- package/dist/esm/gomtmpb/mtm/mtps/mtpspb/mtps_connect.d.ts +0 -37
- package/dist/esm/gomtmpb/mtm/mtps/mtpspb/mtps_connect.js +0 -55
- package/dist/esm/gomtmpb/mtm/mtps/mtpspb/mtps_pb.d.ts +0 -154
- package/dist/esm/gomtmpb/mtm/mtps/mtpspb/mtps_pb.js +0 -530
- package/dist/esm/gomtmpb/mtm/sppb/ai-AiService_connectquery.d.ts +0 -22
- package/dist/esm/gomtmpb/mtm/sppb/ai-AiService_connectquery.js +0 -26
- package/dist/esm/gomtmpb/mtm/sppb/ai_connect.d.ts +0 -19
- package/dist/esm/gomtmpb/mtm/sppb/ai_connect.js +0 -32
- package/dist/esm/gomtmpb/mtm/sppb/ai_pb.d.ts +0 -47
- package/dist/esm/gomtmpb/mtm/sppb/ai_pb.js +0 -149
- package/dist/esm/gomtmpb/mtm/sppb/av-AvService_connectquery.d.ts +0 -53
- package/dist/esm/gomtmpb/mtm/sppb/av-AvService_connectquery.js +0 -60
- package/dist/esm/gomtmpb/mtm/sppb/av_connect.d.ts +0 -38
- package/dist/esm/gomtmpb/mtm/sppb/av_connect.js +0 -56
- package/dist/esm/gomtmpb/mtm/sppb/av_pb.d.ts +0 -77
- package/dist/esm/gomtmpb/mtm/sppb/av_pb.js +0 -290
- package/dist/esm/gomtmpb/mtm/sppb/bot-BotService_connectquery.d.ts +0 -173
- package/dist/esm/gomtmpb/mtm/sppb/bot-BotService_connectquery.js +0 -192
- package/dist/esm/gomtmpb/mtm/sppb/bot_connect.d.ts +0 -110
- package/dist/esm/gomtmpb/mtm/sppb/bot_connect.js +0 -180
- package/dist/esm/gomtmpb/mtm/sppb/bot_pb.d.ts +0 -722
- package/dist/esm/gomtmpb/mtm/sppb/bot_pb.js +0 -2291
- package/dist/esm/gomtmpb/mtm/sppb/conf-ConfService_connectquery.d.ts +0 -53
- package/dist/esm/gomtmpb/mtm/sppb/conf-ConfService_connectquery.js +0 -60
- package/dist/esm/gomtmpb/mtm/sppb/conf_connect.d.ts +0 -38
- package/dist/esm/gomtmpb/mtm/sppb/conf_connect.js +0 -56
- package/dist/esm/gomtmpb/mtm/sppb/conf_pb.d.ts +0 -472
- package/dist/esm/gomtmpb/mtm/sppb/conf_pb.js +0 -2357
- package/dist/esm/gomtmpb/mtm/sppb/curd-CurdService_connectquery.d.ts +0 -73
- package/dist/esm/gomtmpb/mtm/sppb/curd-CurdService_connectquery.js +0 -82
- package/dist/esm/gomtmpb/mtm/sppb/curd_connect.d.ts +0 -50
- package/dist/esm/gomtmpb/mtm/sppb/curd_connect.js +0 -79
- package/dist/esm/gomtmpb/mtm/sppb/curd_pb.d.ts +0 -199
- package/dist/esm/gomtmpb/mtm/sppb/curd_pb.js +0 -773
- package/dist/esm/gomtmpb/mtm/sppb/cx-CxService_connectquery.d.ts +0 -133
- package/dist/esm/gomtmpb/mtm/sppb/cx-CxService_connectquery.js +0 -148
- package/dist/esm/gomtmpb/mtm/sppb/cx_connect.d.ts +0 -86
- package/dist/esm/gomtmpb/mtm/sppb/cx_connect.js +0 -141
- package/dist/esm/gomtmpb/mtm/sppb/cx_pb.d.ts +0 -335
- package/dist/esm/gomtmpb/mtm/sppb/cx_pb.js +0 -1618
- package/dist/esm/gomtmpb/mtm/sppb/events_pb.d.ts +0 -231
- package/dist/esm/gomtmpb/mtm/sppb/events_pb.js +0 -874
- package/dist/esm/gomtmpb/mtm/sppb/git-GitService_connectquery.d.ts +0 -63
- package/dist/esm/gomtmpb/mtm/sppb/git-GitService_connectquery.js +0 -71
- package/dist/esm/gomtmpb/mtm/sppb/git_connect.d.ts +0 -44
- package/dist/esm/gomtmpb/mtm/sppb/git_connect.js +0 -67
- package/dist/esm/gomtmpb/mtm/sppb/git_pb.d.ts +0 -108
- package/dist/esm/gomtmpb/mtm/sppb/git_pb.js +0 -311
- package/dist/esm/gomtmpb/mtm/sppb/gitproject-GitProjectService_connectquery.d.ts +0 -12
- package/dist/esm/gomtmpb/mtm/sppb/gitproject-GitProjectService_connectquery.js +0 -15
- package/dist/esm/gomtmpb/mtm/sppb/gitproject_connect.d.ts +0 -13
- package/dist/esm/gomtmpb/mtm/sppb/gitproject_connect.js +0 -19
- package/dist/esm/gomtmpb/mtm/sppb/gitproject_pb.d.ts +0 -23
- package/dist/esm/gomtmpb/mtm/sppb/gitproject_pb.js +0 -67
- package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.d.ts +0 -392
- package/dist/esm/gomtmpb/mtm/sppb/mtm-MtmService_connectquery.js +0 -433
- package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.d.ts +0 -241
- package/dist/esm/gomtmpb/mtm/sppb/mtm_connect.js +0 -395
- package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.d.ts +0 -1675
- package/dist/esm/gomtmpb/mtm/sppb/mtm_pb.js +0 -6831
- package/dist/esm/gomtmpb/mtm/sppb/sp-SpService_connectquery.d.ts +0 -213
- package/dist/esm/gomtmpb/mtm/sppb/sp-SpService_connectquery.js +0 -236
- package/dist/esm/gomtmpb/mtm/sppb/sp_connect.d.ts +0 -134
- package/dist/esm/gomtmpb/mtm/sppb/sp_connect.js +0 -210
- package/dist/esm/gomtmpb/mtm/sppb/sp_pb.d.ts +0 -684
- package/dist/esm/gomtmpb/mtm/sppb/sp_pb.js +0 -2905
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.js +0 -5
- package/dist/esm/lib/auth/jwt.d.ts +0 -7
- package/dist/esm/lib/auth/jwt.js +0 -43
- package/dist/esm/lib/meta.d.ts +0 -10
- package/dist/esm/lib/meta.js +0 -76
- package/dist/esm/ly/LayoutBase.d.ts +0 -6
- package/dist/esm/ly/LayoutBase.js +0 -83
- package/dist/esm/ly/Lazy.d.ts +0 -2
- package/dist/esm/ly/Lazy.js +0 -12
- package/dist/esm/ly/UserAvatorMenus.d.ts +0 -2
- package/dist/esm/ly/UserAvatorMenus.js +0 -75
- package/dist/esm/ly/dash5/aside.d.ts +0 -2
- package/dist/esm/ly/dash5/aside.js +0 -40
- package/dist/esm/ly/dash5/components/PageCreate.d.ts +0 -4
- package/dist/esm/ly/dash5/components/PageCreate.js +0 -8
- package/dist/esm/ly/dash5/components/PageEdit.d.ts +0 -4
- package/dist/esm/ly/dash5/components/PageEdit.js +0 -8
- package/dist/esm/ly/dash5/components/PageList.d.ts +0 -4
- package/dist/esm/ly/dash5/components/PageList.js +0 -9
- package/dist/esm/ly/dash5/components/PageShow.d.ts +0 -4
- package/dist/esm/ly/dash5/components/PageShow.js +0 -8
- package/dist/esm/ly/dash5/header.d.ts +0 -2
- package/dist/esm/ly/dash5/header.js +0 -124
- package/dist/esm/ly/dash5/index.d.ts +0 -2
- package/dist/esm/ly/dash5/index.js +0 -25
- package/dist/esm/ly/debug-layout/index.d.ts +0 -2
- package/dist/esm/ly/debug-layout/index.js +0 -12
- package/dist/esm/ly/demo-layout/index.d.ts +0 -2
- package/dist/esm/ly/demo-layout/index.js +0 -9
- package/dist/esm/ly/front-layout/PageCmds.d.ts +0 -2
- package/dist/esm/ly/front-layout/PageCmds.js +0 -25
- package/dist/esm/ly/front-layout/PageSearchCmd.d.ts +0 -2
- package/dist/esm/ly/front-layout/PageSearchCmd.js +0 -70
- package/dist/esm/ly/front-layout/header.d.ts +0 -2
- package/dist/esm/ly/front-layout/header.js +0 -18
- package/dist/esm/ly/front-layout/headerv2.d.ts +0 -0
- package/dist/esm/ly/front-layout/headerv2.js +0 -0
- package/dist/esm/ly/front-layout/index.d.ts +0 -2
- package/dist/esm/ly/front-layout/index.js +0 -12
- package/dist/esm/ly/front-layout/main-nav.d.ts +0 -3
- package/dist/esm/ly/front-layout/main-nav.js +0 -116
- package/dist/esm/lzBizComponents.d.ts +0 -5
- package/dist/esm/lzBizComponents.js +0 -15
- package/dist/esm/main.d.ts +0 -2
- package/dist/esm/main.js +0 -34
- package/dist/esm/messageTypeRegistry.d.ts +0 -5
- package/dist/esm/messageTypeRegistry.js +0 -34
- package/dist/esm/mtmFetcher.d.ts +0 -30
- package/dist/esm/mtmFetcher.js +0 -211
- package/dist/esm/providers/AuthProvider.d.ts +0 -9
- package/dist/esm/providers/AuthProvider.js +0 -104
- package/dist/esm/providers/GomtmAppSS.d.ts +0 -2
- package/dist/esm/providers/GomtmAppSS.js +0 -71
- package/dist/esm/providers/LoggerProvider.d.ts +0 -10
- package/dist/esm/providers/LoggerProvider.js +0 -23
- package/dist/esm/providers/ReactQueryProvider.d.ts +0 -4
- package/dist/esm/providers/ReactQueryProvider.js +0 -67
- package/dist/esm/store/App_useTransition.d.ts +0 -2
- package/dist/esm/store/App_useTransition.js +0 -59
- package/dist/esm/store/GomtmAppSetting.d.ts +0 -2
- package/dist/esm/store/GomtmAppSetting.js +0 -18
- package/dist/esm/store/customStorage.d.ts +0 -2
- package/dist/esm/store/customStorage.js +0 -35
- package/dist/esm/store/mtapp-store.d.ts +0 -49
- package/dist/esm/store/mtapp-store.js +0 -157
- package/dist/esm/validations/CrawlerConfig.d.ts +0 -18
- package/dist/esm/validations/CrawlerConfig.js +0 -10
- package/dist/esm/validations/_common.d.ts +0 -57
- package/dist/esm/validations/_common.js +0 -30
- package/dist/esm/validations/auth.d.ts +0 -33
- package/dist/esm/validations/auth.js +0 -18
- package/dist/esm/validations/blog.d.ts +0 -17
- package/dist/esm/validations/blog.js +0 -10
- package/dist/esm/validations/crawlerSchema.d.ts +0 -17
- package/dist/esm/validations/crawlerSchema.js +0 -10
- package/dist/esm/validations/env.d.ts +0 -8
- package/dist/esm/validations/env.js +0 -9
- package/dist/esm/validations/post.d.ts +0 -34
- package/dist/esm/validations/post.js +0 -28
- package/dist/esm/validations/sp.d.ts +0 -18
- package/dist/esm/validations/sp.js +0 -12
- package/dist/esm/validations/spContentModi.d.ts +0 -62
- package/dist/esm/validations/spContentModi.js +0 -30
- package/dist/esm/validations/spHost.d.ts +0 -8
- package/dist/esm/validations/spHost.js +0 -7
- package/dist/esm/validations/spPage.d.ts +0 -14
- package/dist/esm/validations/spPage.js +0 -9
- package/dist/esm/validations/spRoute.d.ts +0 -57
- package/dist/esm/validations/spRoute.js +0 -28
- package/dist/esm/validations/user.d.ts +0 -64
- package/dist/esm/validations/user.js +0 -33
- package/dist/tsconfig.type.tsbuildinfo +0 -1
package/dist/esm/index.d.ts
DELETED
package/dist/esm/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { JWTPayload } from 'jose';
|
|
2
|
-
export declare function getJwtSecretKey(): Uint8Array;
|
|
3
|
-
export interface MyJWTPayload extends JWTPayload {
|
|
4
|
-
username: string;
|
|
5
|
-
role: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function verifyJwtToken(token: string): Promise<MyJWTPayload | null>;
|
package/dist/esm/lib/auth/jwt.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
var __async = (__this, __arguments, generator) => {
|
|
2
|
-
return new Promise((resolve, reject) => {
|
|
3
|
-
var fulfilled = (value) => {
|
|
4
|
-
try {
|
|
5
|
-
step(generator.next(value));
|
|
6
|
-
} catch (e) {
|
|
7
|
-
reject(e);
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
var rejected = (value) => {
|
|
11
|
-
try {
|
|
12
|
-
step(generator.throw(value));
|
|
13
|
-
} catch (e) {
|
|
14
|
-
reject(e);
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
18
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
import { jwtVerify } from "jose";
|
|
22
|
-
function getJwtSecretKey() {
|
|
23
|
-
const secret = process.env.NEXT_PUBLIC_JWT_SECRET_KEY || "%SKNDJKLJDjndofbahsdfy7FT*^DASYB(Du(BSDY(FSYGDUFGLLL^#@LHKDF";
|
|
24
|
-
if (!secret) {
|
|
25
|
-
throw new Error("JWT Secret key is not matched");
|
|
26
|
-
}
|
|
27
|
-
return new TextEncoder().encode(secret);
|
|
28
|
-
}
|
|
29
|
-
function verifyJwtToken(token) {
|
|
30
|
-
return __async(this, null, function* () {
|
|
31
|
-
try {
|
|
32
|
-
const { payload } = yield jwtVerify(token, getJwtSecretKey());
|
|
33
|
-
return payload;
|
|
34
|
-
} catch (err) {
|
|
35
|
-
console.log("verifyJwtToken error", err);
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
export {
|
|
41
|
-
getJwtSecretKey,
|
|
42
|
-
verifyJwtToken
|
|
43
|
-
};
|
package/dist/esm/lib/meta.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Metadata, ResolvingMetadata } from 'next';
|
|
2
|
-
export type Props = {
|
|
3
|
-
params: {
|
|
4
|
-
id: string;
|
|
5
|
-
};
|
|
6
|
-
searchParams: {
|
|
7
|
-
[key: string]: string | string[] | undefined;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare function generateGomtmMetadata({ params, searchParams }: Props, parent: ResolvingMetadata): Promise<Metadata>;
|
package/dist/esm/lib/meta.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
var __async = (__this, __arguments, generator) => {
|
|
2
|
-
return new Promise((resolve, reject) => {
|
|
3
|
-
var fulfilled = (value) => {
|
|
4
|
-
try {
|
|
5
|
-
step(generator.next(value));
|
|
6
|
-
} catch (e) {
|
|
7
|
-
reject(e);
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
var rejected = (value) => {
|
|
11
|
-
try {
|
|
12
|
-
step(generator.throw(value));
|
|
13
|
-
} catch (e) {
|
|
14
|
-
reject(e);
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
18
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
function generateGomtmMetadata(_0, _1) {
|
|
22
|
-
return __async(this, arguments, function* ({ params, searchParams }, parent) {
|
|
23
|
-
const id = params.id;
|
|
24
|
-
return {
|
|
25
|
-
// title: product.title,
|
|
26
|
-
// openGraph: {
|
|
27
|
-
// // images: ['/some-specific-page-image.jpg', ...previousImages],
|
|
28
|
-
// },
|
|
29
|
-
keywords: [
|
|
30
|
-
"Next.js",
|
|
31
|
-
"React",
|
|
32
|
-
"Tailwind CSS",
|
|
33
|
-
"Server Components",
|
|
34
|
-
"Radix UI"
|
|
35
|
-
],
|
|
36
|
-
authors: [
|
|
37
|
-
{
|
|
38
|
-
name: "mattwin",
|
|
39
|
-
url: "https://shadcn.com"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
creator: "mattwin",
|
|
43
|
-
openGraph: {
|
|
44
|
-
type: "website",
|
|
45
|
-
locale: "en_US"
|
|
46
|
-
// url: siteConfig.url,
|
|
47
|
-
// title: siteConfig.name,
|
|
48
|
-
// description: siteConfig.description,
|
|
49
|
-
// siteName: siteConfig.name,
|
|
50
|
-
// images: [
|
|
51
|
-
// {
|
|
52
|
-
// url: siteConfig.ogImage,
|
|
53
|
-
// width: 1200,
|
|
54
|
-
// height: 630,
|
|
55
|
-
// alt: siteConfig.name,
|
|
56
|
-
// },
|
|
57
|
-
// ],
|
|
58
|
-
},
|
|
59
|
-
twitter: {
|
|
60
|
-
card: "summary_large_image",
|
|
61
|
-
// title: siteConfig.name,
|
|
62
|
-
// description: siteConfig.description,
|
|
63
|
-
// images: [siteConfig.ogImage],
|
|
64
|
-
creator: "@shadcn"
|
|
65
|
-
},
|
|
66
|
-
icons: {
|
|
67
|
-
icon: "/favicon.ico",
|
|
68
|
-
shortcut: "/favicon-16x16.png",
|
|
69
|
-
apple: "/apple-touch-icon.png"
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
export {
|
|
75
|
-
generateGomtmMetadata
|
|
76
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from "react";
|
|
2
|
-
export declare const LzDash5: import("react").LazyExoticComponent<typeof import("./dash5").default>;
|
|
3
|
-
export declare const LzDemoLayout: import("react").LazyExoticComponent<typeof import("./demo-layout").default>;
|
|
4
|
-
export declare const LzDebugLayout: import("react").LazyExoticComponent<typeof import("./debug-layout").default>;
|
|
5
|
-
export declare const LzFrontLayout: import("react").LazyExoticComponent<typeof import("./front-layout").default>;
|
|
6
|
-
export declare const LayoutBase: (props: {} & PropsWithChildren) => import("react").JSX.Element;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
|
4
|
-
import { TailwindIndicator } from "mtxuilib/common/tailwind-indicator";
|
|
5
|
-
import { Dialog, DialogContent, DialogTitle } from "mtxuilib/ui/dialog";
|
|
6
|
-
import { TooltipProvider } from "mtxuilib/ui/tooltip";
|
|
7
|
-
import { MtButton } from "mtxuilib/ui/ui-mt/Button";
|
|
8
|
-
import { AppProgressBar as ProgressBar } from "next-nprogress-bar";
|
|
9
|
-
import { Suspense, lazy, useMemo, useState } from "react";
|
|
10
|
-
import { useHotkeys } from "react-hotkeys-hook";
|
|
11
|
-
import { Toaster } from "sonner";
|
|
12
|
-
import { HOTKEY_Switchlayout } from "../consts";
|
|
13
|
-
import { useGomtm } from "../store/mtapp-store";
|
|
14
|
-
const ALL_Layouts = [
|
|
15
|
-
"demo1",
|
|
16
|
-
"dash5",
|
|
17
|
-
"default",
|
|
18
|
-
"debug",
|
|
19
|
-
"front"
|
|
20
|
-
];
|
|
21
|
-
const LzDash5 = lazy(() => import("./dash5"));
|
|
22
|
-
const LzDemoLayout = lazy(() => import("./demo-layout"));
|
|
23
|
-
const LzDebugLayout = lazy(() => import("./debug-layout"));
|
|
24
|
-
const LzFrontLayout = lazy(() => import("./front-layout"));
|
|
25
|
-
const LayoutBase = (props) => {
|
|
26
|
-
const { children } = props;
|
|
27
|
-
const layout = useGomtm((x) => x.layout);
|
|
28
|
-
const LayoutComponent = useMemo(() => {
|
|
29
|
-
switch (layout) {
|
|
30
|
-
case "dash5":
|
|
31
|
-
return LzDash5;
|
|
32
|
-
case "debug":
|
|
33
|
-
return LzDebugLayout;
|
|
34
|
-
case "demo":
|
|
35
|
-
return LzDemoLayout;
|
|
36
|
-
default:
|
|
37
|
-
return LzFrontLayout;
|
|
38
|
-
}
|
|
39
|
-
}, [layout]);
|
|
40
|
-
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(TooltipProvider, { delayDuration: 0, children: [
|
|
41
|
-
/* @__PURE__ */ jsx(LayoutComponent, { children }),
|
|
42
|
-
/* @__PURE__ */ jsx(
|
|
43
|
-
ProgressBar,
|
|
44
|
-
{
|
|
45
|
-
height: "4px",
|
|
46
|
-
color: "#4934eb",
|
|
47
|
-
options: { showSpinner: false },
|
|
48
|
-
shallowRouting: true
|
|
49
|
-
}
|
|
50
|
-
),
|
|
51
|
-
/* @__PURE__ */ jsx(ReactQueryDevtools, {}),
|
|
52
|
-
/* @__PURE__ */ jsx(Toaster, {}),
|
|
53
|
-
/* @__PURE__ */ jsx(TailwindIndicator, {}),
|
|
54
|
-
/* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(LayoutSwitchDlg, {}) })
|
|
55
|
-
] }) });
|
|
56
|
-
};
|
|
57
|
-
const LayoutSwitchDlg = () => {
|
|
58
|
-
const layout = useGomtm((x) => x.layout);
|
|
59
|
-
const setLayout = useGomtm((x) => x.setLayout);
|
|
60
|
-
const [open, setOpen] = useState(false);
|
|
61
|
-
useHotkeys(HOTKEY_Switchlayout, () => {
|
|
62
|
-
setOpen((pre) => !pre);
|
|
63
|
-
}, [open, setOpen]);
|
|
64
|
-
return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
65
|
-
/* @__PURE__ */ jsxs(DialogTitle, { children: [
|
|
66
|
-
"LayoutSwitch,",
|
|
67
|
-
layout
|
|
68
|
-
] }),
|
|
69
|
-
/* @__PURE__ */ jsx("div", { className: "flex gap-2 bg-red-100 p-2", children: ALL_Layouts.map((layout2) => {
|
|
70
|
-
return /* @__PURE__ */ jsx(MtButton, { onClick: () => {
|
|
71
|
-
setLayout(layout2);
|
|
72
|
-
setOpen(false);
|
|
73
|
-
}, children: layout2 }, layout2);
|
|
74
|
-
}) })
|
|
75
|
-
] }) });
|
|
76
|
-
};
|
|
77
|
-
export {
|
|
78
|
-
LayoutBase,
|
|
79
|
-
LzDash5,
|
|
80
|
-
LzDebugLayout,
|
|
81
|
-
LzDemoLayout,
|
|
82
|
-
LzFrontLayout
|
|
83
|
-
};
|
package/dist/esm/ly/Lazy.d.ts
DELETED
package/dist/esm/ly/Lazy.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
function HelloLazyLayout(props) {
|
|
4
|
-
const { children } = props;
|
|
5
|
-
return /* @__PURE__ */ jsxs("div", { className: "bg-red-300 p-2", children: [
|
|
6
|
-
/* @__PURE__ */ jsx("h1", { children: "HelloLazyLayout" }),
|
|
7
|
-
children
|
|
8
|
-
] });
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
HelloLazyLayout as default
|
|
12
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { MoonIcon, SunIcon } from "lucide-react";
|
|
4
|
-
import { MtLink } from "mtxuilib/common/mtlink";
|
|
5
|
-
import { Avatar, AvatarFallback, AvatarImage } from "mtxuilib/ui/avatar";
|
|
6
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "mtxuilib/ui/dropdown-menu";
|
|
7
|
-
import { DropdownMenuItemLink } from "mtxuilib/ui/ui-mt/DropdownMenuItemLink";
|
|
8
|
-
import { usePathname } from "next/navigation";
|
|
9
|
-
import { useAuth, useIsLogined, useLogout } from "../providers/AuthProvider";
|
|
10
|
-
function UserAvatorMenus() {
|
|
11
|
-
const pathName = usePathname();
|
|
12
|
-
const auth = useAuth();
|
|
13
|
-
const logout = useLogout();
|
|
14
|
-
const isLogined = useIsLogined();
|
|
15
|
-
return /* @__PURE__ */ jsx(Fragment, { children: !isLogined ? /* @__PURE__ */ jsx(MtLink, { variant: "ghost", href: `/login?next=${pathName}`, children: " login" }) : /* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
16
|
-
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(Avatar, { children: [
|
|
17
|
-
/* @__PURE__ */ jsx(AvatarImage, { src: "/mtm_images/placeholder-user.jpg", alt: "@siteCook" }),
|
|
18
|
-
/* @__PURE__ */ jsx(AvatarFallback, { children: "You" })
|
|
19
|
-
] }) }),
|
|
20
|
-
/* @__PURE__ */ jsxs(DropdownMenuContent, { className: "w-56", children: [
|
|
21
|
-
/* @__PURE__ */ jsx(DropdownMenuLabel, { children: "My Account" }),
|
|
22
|
-
/* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
|
|
23
|
-
/* @__PURE__ */ jsxs(DropdownMenuGroup, { children: [
|
|
24
|
-
/* @__PURE__ */ jsx(MtLink, { href: "/profile", children: /* @__PURE__ */ jsxs(DropdownMenuItem, { children: [
|
|
25
|
-
"Profile",
|
|
26
|
-
/* @__PURE__ */ jsx(DropdownMenuShortcut, { children: "\u21E7\u2318P" })
|
|
27
|
-
] }) }),
|
|
28
|
-
/* @__PURE__ */ jsxs(DropdownMenuItem, { children: [
|
|
29
|
-
"Settings",
|
|
30
|
-
/* @__PURE__ */ jsx(DropdownMenuShortcut, { children: "\u2318S" })
|
|
31
|
-
] }),
|
|
32
|
-
/* @__PURE__ */ jsx(MtLink, { href: "/admin/site", children: /* @__PURE__ */ jsxs(DropdownMenuItem, { children: [
|
|
33
|
-
"Site",
|
|
34
|
-
/* @__PURE__ */ jsx(DropdownMenuShortcut, { children: "\u2318S" })
|
|
35
|
-
] }) })
|
|
36
|
-
] }),
|
|
37
|
-
/* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
|
|
38
|
-
/* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsxs(DropdownMenuSub, { children: [
|
|
39
|
-
/* @__PURE__ */ jsx(DropdownMenuSubTrigger, { children: "Cx" }),
|
|
40
|
-
/* @__PURE__ */ jsx(DropdownMenuPortal, { children: /* @__PURE__ */ jsxs(DropdownMenuSubContent, { children: [
|
|
41
|
-
/* @__PURE__ */ jsx(MtLink, { href: "/admin/cx/config", children: /* @__PURE__ */ jsx(DropdownMenuItem, { children: "config" }) }),
|
|
42
|
-
/* @__PURE__ */ jsx(MtLink, { href: "/admin/cx/result", children: /* @__PURE__ */ jsx(DropdownMenuItem, { children: "result" }) }),
|
|
43
|
-
/* @__PURE__ */ jsx(DropdownMenuSeparator, {})
|
|
44
|
-
] }) })
|
|
45
|
-
] }) }),
|
|
46
|
-
/* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsx(DropdownMenuSub, { children: /* @__PURE__ */ jsxs(DropdownMenuSubTrigger, { children: [
|
|
47
|
-
/* @__PURE__ */ jsx(SunIcon, { className: "size-[1.2rem] rotate-0 scale-100 pr-1 transition-all dark:-rotate-90 dark:scale-0" }),
|
|
48
|
-
/* @__PURE__ */ jsx(MoonIcon, { className: "absolute size-[1.2rem] rotate-90 scale-0 pr-1 transition-all dark:rotate-0 dark:scale-100" }),
|
|
49
|
-
"theme",
|
|
50
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle theme" })
|
|
51
|
-
] }) }) }),
|
|
52
|
-
/* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
|
|
53
|
-
/* @__PURE__ */ jsx(DropdownMenuGroupDevelop, {}),
|
|
54
|
-
/* @__PURE__ */ jsx(DropdownMenuItem, { onClick: () => {
|
|
55
|
-
logout();
|
|
56
|
-
}, children: " Log out " }),
|
|
57
|
-
/* @__PURE__ */ jsx(DropdownMenuItemLink, { href: "/", children: "\u9996\u9875" })
|
|
58
|
-
] })
|
|
59
|
-
] }) });
|
|
60
|
-
}
|
|
61
|
-
const DropdownMenuGroupDevelop = () => {
|
|
62
|
-
return /* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsxs(DropdownMenuSub, { children: [
|
|
63
|
-
/* @__PURE__ */ jsx(DropdownMenuSubTrigger, { children: "\u8C03\u8BD5\u8F85\u52A9" }),
|
|
64
|
-
/* @__PURE__ */ jsx(DropdownMenuPortal, { children: /* @__PURE__ */ jsxs(DropdownMenuSubContent, { children: [
|
|
65
|
-
/* @__PURE__ */ jsx(DropdownMenuItemLink, { href: `/post/create`, children: "/post/create" }),
|
|
66
|
-
/* @__PURE__ */ jsx(DropdownMenuItemLink, { href: `/post/create2`, children: "/post/create2" }),
|
|
67
|
-
/* @__PURE__ */ jsx(DropdownMenuItemLink, { href: `/post/edit`, children: "/post/edit" }),
|
|
68
|
-
/* @__PURE__ */ jsx(DropdownMenuItemLink, { href: `/debuginfo`, children: "/debuginfo" }),
|
|
69
|
-
/* @__PURE__ */ jsx(DropdownMenuSeparator, {})
|
|
70
|
-
] }) })
|
|
71
|
-
] }) });
|
|
72
|
-
};
|
|
73
|
-
export {
|
|
74
|
-
UserAvatorMenus as default
|
|
75
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
Package2,
|
|
5
|
-
Settings
|
|
6
|
-
} from "lucide-react";
|
|
7
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from "mtxuilib/ui/tooltip";
|
|
8
|
-
import Link from "next/link";
|
|
9
|
-
const Dash5Aside = () => {
|
|
10
|
-
return /* @__PURE__ */ jsxs("aside", { className: "bg-background fixed inset-y-0 left-0 z-10 hidden w-14 flex-col border-r sm:flex", children: [
|
|
11
|
-
/* @__PURE__ */ jsx("nav", { className: "flex flex-col items-center gap-4 px-2 sm:py-5", children: /* @__PURE__ */ jsxs(
|
|
12
|
-
Link,
|
|
13
|
-
{
|
|
14
|
-
href: "/dash",
|
|
15
|
-
className: "bg-primary text-primary-foreground group flex h-9 w-9 shrink-0 items-center justify-center gap-2 rounded-full text-lg font-semibold md:h-8 md:w-8 md:text-base",
|
|
16
|
-
children: [
|
|
17
|
-
/* @__PURE__ */ jsx(Package2, { className: "h-4 w-4 transition-all group-hover:scale-110" }),
|
|
18
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Acme Inc" })
|
|
19
|
-
]
|
|
20
|
-
}
|
|
21
|
-
) }),
|
|
22
|
-
/* @__PURE__ */ jsx("nav", { className: "mt-auto flex flex-col items-center gap-4 px-2 sm:py-5", children: /* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
23
|
-
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
24
|
-
Link,
|
|
25
|
-
{
|
|
26
|
-
href: "#",
|
|
27
|
-
className: "text-muted-foreground hover:text-foreground flex h-9 w-9 items-center justify-center rounded-lg transition-colors md:h-8 md:w-8",
|
|
28
|
-
children: [
|
|
29
|
-
/* @__PURE__ */ jsx(Settings, { className: "h-5 w-5" }),
|
|
30
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Settings" })
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
) }),
|
|
34
|
-
/* @__PURE__ */ jsx(TooltipContent, { side: "right", children: "Settings" })
|
|
35
|
-
] }) })
|
|
36
|
-
] });
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
Dash5Aside
|
|
40
|
-
};
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
Home,
|
|
5
|
-
LineChart,
|
|
6
|
-
Package,
|
|
7
|
-
Package2,
|
|
8
|
-
PanelLeft,
|
|
9
|
-
Search,
|
|
10
|
-
ShoppingCart,
|
|
11
|
-
Users2
|
|
12
|
-
} from "lucide-react";
|
|
13
|
-
import { cn } from "mtxuilib/lib/utils";
|
|
14
|
-
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "mtxuilib/ui/breadcrumb";
|
|
15
|
-
import { Button } from "mtxuilib/ui/button";
|
|
16
|
-
import { Input } from "mtxuilib/ui/input";
|
|
17
|
-
import { Sheet, SheetContent, SheetTrigger } from "mtxuilib/ui/sheet";
|
|
18
|
-
import Link from "next/link";
|
|
19
|
-
import { Suspense } from "react";
|
|
20
|
-
import UserAvatorMenus from "../UserAvatorMenus";
|
|
21
|
-
const Header = () => {
|
|
22
|
-
return /* @__PURE__ */ jsxs("header", { className: cn(
|
|
23
|
-
"bg-background sticky top-0 z-30 flex h-14 items-center gap-4 border-b px-4 pt-1 sm:static sm:h-auto sm:border-0 sm:bg-transparent sm:px-6"
|
|
24
|
-
), children: [
|
|
25
|
-
/* @__PURE__ */ jsxs(Sheet, { children: [
|
|
26
|
-
/* @__PURE__ */ jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(Button, { size: "icon", variant: "outline", className: "sm:hidden", children: [
|
|
27
|
-
/* @__PURE__ */ jsx(PanelLeft, { className: "h-5 w-5" }),
|
|
28
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle Menu" })
|
|
29
|
-
] }) }),
|
|
30
|
-
/* @__PURE__ */ jsx(SheetContent, { side: "left", className: "sm:max-w-xs", children: /* @__PURE__ */ jsxs("nav", { className: "grid gap-6 text-lg font-medium", children: [
|
|
31
|
-
/* @__PURE__ */ jsxs(
|
|
32
|
-
Link,
|
|
33
|
-
{
|
|
34
|
-
href: "#",
|
|
35
|
-
className: "bg-primary text-primary-foreground group flex h-10 w-10 shrink-0 items-center justify-center gap-2 rounded-full text-lg font-semibold md:text-base",
|
|
36
|
-
children: [
|
|
37
|
-
/* @__PURE__ */ jsx(Package2, { className: "h-5 w-5 transition-all group-hover:scale-110" }),
|
|
38
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Acme Inc" })
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
),
|
|
42
|
-
/* @__PURE__ */ jsxs(
|
|
43
|
-
Link,
|
|
44
|
-
{
|
|
45
|
-
href: "#",
|
|
46
|
-
className: "text-muted-foreground hover:text-foreground flex items-center gap-4 px-2.5",
|
|
47
|
-
children: [
|
|
48
|
-
/* @__PURE__ */ jsx(Home, { className: "h-5 w-5" }),
|
|
49
|
-
"Dashboard"
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
),
|
|
53
|
-
/* @__PURE__ */ jsxs(
|
|
54
|
-
Link,
|
|
55
|
-
{
|
|
56
|
-
href: "#",
|
|
57
|
-
className: "text-foreground flex items-center gap-4 px-2.5",
|
|
58
|
-
children: [
|
|
59
|
-
/* @__PURE__ */ jsx(ShoppingCart, { className: "h-5 w-5" }),
|
|
60
|
-
"Orders"
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
),
|
|
64
|
-
/* @__PURE__ */ jsxs(
|
|
65
|
-
Link,
|
|
66
|
-
{
|
|
67
|
-
href: "#",
|
|
68
|
-
className: "text-muted-foreground hover:text-foreground flex items-center gap-4 px-2.5",
|
|
69
|
-
children: [
|
|
70
|
-
/* @__PURE__ */ jsx(Package, { className: "h-5 w-5" }),
|
|
71
|
-
"Products"
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
),
|
|
75
|
-
/* @__PURE__ */ jsxs(
|
|
76
|
-
Link,
|
|
77
|
-
{
|
|
78
|
-
href: "#",
|
|
79
|
-
className: "text-muted-foreground hover:text-foreground flex items-center gap-4 px-2.5",
|
|
80
|
-
children: [
|
|
81
|
-
/* @__PURE__ */ jsx(Users2, { className: "h-5 w-5" }),
|
|
82
|
-
"Customers"
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
),
|
|
86
|
-
/* @__PURE__ */ jsxs(
|
|
87
|
-
Link,
|
|
88
|
-
{
|
|
89
|
-
href: "#",
|
|
90
|
-
className: "text-muted-foreground hover:text-foreground flex items-center gap-4 px-2.5",
|
|
91
|
-
children: [
|
|
92
|
-
/* @__PURE__ */ jsx(LineChart, { className: "h-5 w-5" }),
|
|
93
|
-
"Settings"
|
|
94
|
-
]
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
] }) })
|
|
98
|
-
] }),
|
|
99
|
-
/* @__PURE__ */ jsx(Breadcrumb, { className: "hidden md:flex", children: /* @__PURE__ */ jsxs(BreadcrumbList, { children: [
|
|
100
|
-
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Link, { href: "/dash", children: "Dash" }) }) }),
|
|
101
|
-
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
102
|
-
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, { asChild: true, children: /* @__PURE__ */ jsx(Link, { href: "#", children: "Orders" }) }) }),
|
|
103
|
-
/* @__PURE__ */ jsx(BreadcrumbSeparator, {}),
|
|
104
|
-
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: "Recent Orders" }) })
|
|
105
|
-
] }) }),
|
|
106
|
-
/* @__PURE__ */ jsxs("div", { className: "relative ml-auto flex-1 md:grow-0", children: [
|
|
107
|
-
/* @__PURE__ */ jsx(Search, { className: "text-muted-foreground absolute left-2.5 top-2.5 h-4 w-4" }),
|
|
108
|
-
/* @__PURE__ */ jsx(
|
|
109
|
-
Input,
|
|
110
|
-
{
|
|
111
|
-
type: "search",
|
|
112
|
-
placeholder: "Search...",
|
|
113
|
-
className: "bg-background w-full rounded-lg pl-8 md:w-[200px] lg:w-[336px]",
|
|
114
|
-
onChange: (e) => {
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
)
|
|
118
|
-
] }),
|
|
119
|
-
/* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(UserAvatorMenus, {}) })
|
|
120
|
-
] });
|
|
121
|
-
};
|
|
122
|
-
export {
|
|
123
|
-
Header
|
|
124
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "mtxuilib/lib/utils";
|
|
4
|
-
import { Dash5Aside } from "./aside";
|
|
5
|
-
import { Header } from "./header";
|
|
6
|
-
function Dash5(props) {
|
|
7
|
-
const { children } = props;
|
|
8
|
-
return /* @__PURE__ */ jsxs("div", { className: "bg-muted/40 flex min-h-screen w-full flex-col", children: [
|
|
9
|
-
/* @__PURE__ */ jsx(Dash5Aside, {}),
|
|
10
|
-
/* @__PURE__ */ jsxs("div", { className: "flex min-h-dvh flex-col sm:pl-14", children: [
|
|
11
|
-
/* @__PURE__ */ jsx(Header, {}),
|
|
12
|
-
/* @__PURE__ */ jsxs("main", { className: cn(
|
|
13
|
-
"flex h-full min-h-full flex-1"
|
|
14
|
-
), children: [
|
|
15
|
-
/* @__PURE__ */ jsx("div", { children: "111111111" }),
|
|
16
|
-
children,
|
|
17
|
-
/* @__PURE__ */ jsx("div", { children: "222222222" })
|
|
18
|
-
] }),
|
|
19
|
-
/* @__PURE__ */ jsx("div", { className: "bg-slate-50" })
|
|
20
|
-
] })
|
|
21
|
-
] });
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
Dash5 as default
|
|
25
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
function DebugLayout(props) {
|
|
4
|
-
const { children } = props;
|
|
5
|
-
return /* @__PURE__ */ jsxs("div", { className: "border bg-slate-200 p-2", children: [
|
|
6
|
-
/* @__PURE__ */ jsx("h1", { children: "debug" }),
|
|
7
|
-
children
|
|
8
|
-
] });
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
DebugLayout as default
|
|
12
|
-
};
|