mtxuilib 0.0.282 → 0.0.284
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 +1 -1
- package/dist/App.cjs +0 -46
- package/dist/MtmButton.cjs +0 -30
- package/dist/NovelEditor.cjs +0 -28
- package/dist/NovelEditorLoader.cjs +0 -39
- package/dist/browser/index.min.js +0 -8
- package/dist/consts.cjs +0 -99
- package/dist/entry-client.cjs +0 -31
- package/dist/entry-server.cjs +0 -47
- package/dist/esm/App.d.ts +0 -4
- package/dist/esm/App.js +0 -28
- package/dist/esm/MtmButton.d.ts +0 -1
- package/dist/esm/MtmButton.js +0 -8
- package/dist/esm/NovelEditor.d.ts +0 -1
- package/dist/esm/NovelEditor.js +0 -6
- package/dist/esm/NovelEditorLoader.d.ts +0 -1
- package/dist/esm/NovelEditorLoader.js +0 -17
- package/dist/esm/consts.d.ts +0 -25
- package/dist/esm/consts.js +0 -53
- package/dist/esm/entry-client.d.ts +0 -1
- package/dist/esm/entry-client.js +0 -10
- package/dist/esm/entry-server.d.ts +0 -3
- package/dist/esm/entry-server.js +0 -15
- package/dist/esm/icons/icons.d.ts +0 -124
- package/dist/esm/icons/icons.js +0 -361
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +0 -8
- package/dist/esm/lib/clientlib/clientSideLib.d.ts +0 -4
- package/dist/esm/lib/clientlib/clientSideLib.js +0 -32
- package/dist/esm/lib/clientlib/clientlib.d.ts +0 -2
- package/dist/esm/lib/clientlib/clientlib.js +0 -17
- package/dist/esm/lib/clientlib/domutils.d.ts +0 -1
- package/dist/esm/lib/clientlib/domutils.js +0 -10
- package/dist/esm/lib/clientlib/query.d.ts +0 -0
- package/dist/esm/lib/clientlib/query.js +0 -2
- package/dist/esm/lib/dyn-script.d.ts +0 -1
- package/dist/esm/lib/dyn-script.js +0 -35
- package/dist/esm/lib/errors.d.ts +0 -4
- package/dist/esm/lib/errors.js +0 -13
- package/dist/esm/lib/font.d.ts +0 -2
- package/dist/esm/lib/font.js +0 -12
- package/dist/esm/lib/hash.d.ts +0 -1
- package/dist/esm/lib/hash.js +0 -52
- package/dist/esm/lib/http/fetchMiddleWithCache.d.ts +0 -2
- package/dist/esm/lib/http/fetchMiddleWithCache.js +0 -88
- package/dist/esm/lib/http/fetchMiddleWithUrlProxy.d.ts +0 -2
- package/dist/esm/lib/http/fetchMiddleWithUrlProxy.js +0 -29
- package/dist/esm/lib/http/mthttp.d.ts +0 -5
- package/dist/esm/lib/http/mthttp.js +0 -62
- package/dist/esm/lib/http/response-cache.test.d.ts +0 -1
- package/dist/esm/lib/http/response-cache.test.js +0 -73
- package/dist/esm/lib/mt-logger.d.ts +0 -12
- package/dist/esm/lib/mt-logger.js +0 -97
- package/dist/esm/lib/mtmFetcher.d.ts +0 -12
- package/dist/esm/lib/mtmFetcher.js +0 -106
- package/dist/esm/lib/mtmclient/descriptions/mtm/conf/conf.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/conf/conf.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/dash/dashpb/dash.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/dash/dashpb/dash.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/mtbot/mtbotpb/bot.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/mtbot/mtbotpb/bot.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/mtjob/mtjobpb/job.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/mtjob/mtjobpb/job.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sp/sppb/sp.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sp/sppb/sp.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/ai.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/ai.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/auth.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/auth.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/av.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/av.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/backend.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/backend.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/blocks.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/blocks.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/blog.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/blog.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/common.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/common.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/cx.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/cx.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/events.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/events.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtm.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtm.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtmgh.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtmgh.js +0 -1
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/site.d.ts +0 -0
- package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/site.js +0 -1
- package/dist/esm/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.d.ts +0 -53
- package/dist/esm/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.js +0 -61
- package/dist/esm/lib/mtmclient/mtm/conf/conf_connect.d.ts +0 -38
- package/dist/esm/lib/mtmclient/mtm/conf/conf_connect.js +0 -57
- package/dist/esm/lib/mtmclient/mtm/conf/conf_pb.d.ts +0 -480
- package/dist/esm/lib/mtmclient/mtm/conf/conf_pb.js +0 -2361
- package/dist/esm/lib/mtmclient/mtm/dash/dashpb/dash-DashService_connectquery.d.ts +0 -53
- package/dist/esm/lib/mtmclient/mtm/dash/dashpb/dash-DashService_connectquery.js +0 -61
- package/dist/esm/lib/mtmclient/mtm/dash/dashpb/dash_connect.d.ts +0 -38
- package/dist/esm/lib/mtmclient/mtm/dash/dashpb/dash_connect.js +0 -57
- package/dist/esm/lib/mtmclient/mtm/dash/dashpb/dash_pb.d.ts +0 -130
- package/dist/esm/lib/mtmclient/mtm/dash/dashpb/dash_pb.js +0 -678
- package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot-BotService_connectquery.d.ts +0 -33
- package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot-BotService_connectquery.js +0 -39
- package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot_connect.d.ts +0 -26
- package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot_connect.js +0 -43
- package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot_pb.d.ts +0 -304
- package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot_pb.js +0 -920
- package/dist/esm/lib/mtmclient/mtm/mtjob/mtjobpb/job-JobService_connectquery.d.ts +0 -52
- package/dist/esm/lib/mtmclient/mtm/mtjob/mtjobpb/job-JobService_connectquery.js +0 -60
- package/dist/esm/lib/mtmclient/mtm/mtjob/mtjobpb/job_connect.d.ts +0 -37
- package/dist/esm/lib/mtmclient/mtm/mtjob/mtjobpb/job_connect.js +0 -61
- package/dist/esm/lib/mtmclient/mtm/mtjob/mtjobpb/job_pb.d.ts +0 -196
- package/dist/esm/lib/mtmclient/mtm/mtjob/mtjobpb/job_pb.js +0 -684
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.d.ts +0 -52
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.js +0 -60
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.d.ts +0 -37
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.js +0 -56
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.d.ts +0 -154
- package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.js +0 -531
- package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp-SpService_connectquery.d.ts +0 -213
- package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp-SpService_connectquery.js +0 -237
- package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp_connect.d.ts +0 -134
- package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp_connect.js +0 -209
- package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp_pb.d.ts +0 -684
- package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp_pb.js +0 -2906
- package/dist/esm/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.d.ts +0 -22
- package/dist/esm/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.js +0 -27
- package/dist/esm/lib/mtmclient/mtm/sppb/ai_connect.d.ts +0 -19
- package/dist/esm/lib/mtmclient/mtm/sppb/ai_connect.js +0 -33
- package/dist/esm/lib/mtmclient/mtm/sppb/ai_pb.d.ts +0 -47
- package/dist/esm/lib/mtmclient/mtm/sppb/ai_pb.js +0 -150
- package/dist/esm/lib/mtmclient/mtm/sppb/auth-AuthService_connectquery.d.ts +0 -93
- package/dist/esm/lib/mtmclient/mtm/sppb/auth-AuthService_connectquery.js +0 -105
- package/dist/esm/lib/mtmclient/mtm/sppb/auth_connect.d.ts +0 -62
- package/dist/esm/lib/mtmclient/mtm/sppb/auth_connect.js +0 -101
- package/dist/esm/lib/mtmclient/mtm/sppb/auth_pb.d.ts +0 -249
- package/dist/esm/lib/mtmclient/mtm/sppb/auth_pb.js +0 -1032
- package/dist/esm/lib/mtmclient/mtm/sppb/av-AvService_connectquery.d.ts +0 -53
- package/dist/esm/lib/mtmclient/mtm/sppb/av-AvService_connectquery.js +0 -61
- package/dist/esm/lib/mtmclient/mtm/sppb/av_connect.d.ts +0 -38
- package/dist/esm/lib/mtmclient/mtm/sppb/av_connect.js +0 -57
- package/dist/esm/lib/mtmclient/mtm/sppb/av_pb.d.ts +0 -77
- package/dist/esm/lib/mtmclient/mtm/sppb/av_pb.js +0 -291
- package/dist/esm/lib/mtmclient/mtm/sppb/backend-Backend_connectquery.d.ts +0 -22
- package/dist/esm/lib/mtmclient/mtm/sppb/backend-Backend_connectquery.js +0 -27
- package/dist/esm/lib/mtmclient/mtm/sppb/backend_connect.d.ts +0 -19
- package/dist/esm/lib/mtmclient/mtm/sppb/backend_connect.js +0 -33
- package/dist/esm/lib/mtmclient/mtm/sppb/backend_pb.d.ts +0 -53
- package/dist/esm/lib/mtmclient/mtm/sppb/backend_pb.js +0 -229
- package/dist/esm/lib/mtmclient/mtm/sppb/blocks_pb.d.ts +0 -46
- package/dist/esm/lib/mtmclient/mtm/sppb/blocks_pb.js +0 -302
- package/dist/esm/lib/mtmclient/mtm/sppb/blog-BlogService_connectquery.d.ts +0 -173
- package/dist/esm/lib/mtmclient/mtm/sppb/blog-BlogService_connectquery.js +0 -193
- package/dist/esm/lib/mtmclient/mtm/sppb/blog_connect.d.ts +0 -110
- package/dist/esm/lib/mtmclient/mtm/sppb/blog_connect.js +0 -174
- package/dist/esm/lib/mtmclient/mtm/sppb/blog_pb.d.ts +0 -406
- package/dist/esm/lib/mtmclient/mtm/sppb/blog_pb.js +0 -1795
- package/dist/esm/lib/mtmclient/mtm/sppb/common_pb.d.ts +0 -307
- package/dist/esm/lib/mtmclient/mtm/sppb/common_pb.js +0 -1265
- package/dist/esm/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.d.ts +0 -133
- package/dist/esm/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.js +0 -149
- package/dist/esm/lib/mtmclient/mtm/sppb/cx_connect.d.ts +0 -86
- package/dist/esm/lib/mtmclient/mtm/sppb/cx_connect.js +0 -142
- package/dist/esm/lib/mtmclient/mtm/sppb/cx_pb.d.ts +0 -362
- package/dist/esm/lib/mtmclient/mtm/sppb/cx_pb.js +0 -1726
- package/dist/esm/lib/mtmclient/mtm/sppb/events_pb.d.ts +0 -231
- package/dist/esm/lib/mtmclient/mtm/sppb/events_pb.js +0 -875
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.d.ts +0 -83
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.js +0 -94
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm_connect.d.ts +0 -56
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm_connect.js +0 -96
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm_pb.d.ts +0 -420
- package/dist/esm/lib/mtmclient/mtm/sppb/mtm_pb.js +0 -1416
- package/dist/esm/lib/mtmclient/mtm/sppb/mtmgh_pb.d.ts +0 -29
- package/dist/esm/lib/mtmclient/mtm/sppb/mtmgh_pb.js +0 -137
- package/dist/esm/lib/mtmclient/mtm/sppb/site-SiteService_connectquery.d.ts +0 -123
- package/dist/esm/lib/mtmclient/mtm/sppb/site-SiteService_connectquery.js +0 -138
- package/dist/esm/lib/mtmclient/mtm/sppb/site_connect.d.ts +0 -80
- package/dist/esm/lib/mtmclient/mtm/sppb/site_connect.js +0 -127
- package/dist/esm/lib/mtmclient/mtm/sppb/site_pb.d.ts +0 -251
- package/dist/esm/lib/mtmclient/mtm/sppb/site_pb.js +0 -984
- package/dist/esm/lib/mtmservices.d.ts +0 -3
- package/dist/esm/lib/mtmservices.js +0 -24
- package/dist/esm/lib/queue.d.ts +0 -7
- package/dist/esm/lib/queue.js +0 -48
- package/dist/esm/lib/render.d.ts +0 -4
- package/dist/esm/lib/render.js +0 -37
- package/dist/esm/lib/service-worker.d.ts +0 -5
- package/dist/esm/lib/service-worker.js +0 -49
- package/dist/esm/lib/sscore.d.ts +0 -3
- package/dist/esm/lib/sscore.js +0 -34
- package/dist/esm/lib/sslib/github-file.d.ts +0 -8
- package/dist/esm/lib/sslib/github-file.js +0 -40
- package/dist/esm/lib/sslib/mtmcore.d.ts +0 -5
- package/dist/esm/lib/sslib/mtmcore.js +0 -20
- package/dist/esm/lib/url/routeHelper.d.ts +0 -2
- package/dist/esm/lib/url/routeHelper.js +0 -15
- package/dist/esm/lib/url/routeHelper.spec.d.ts +0 -1
- package/dist/esm/lib/url/routeHelper.spec.js +0 -25
- package/dist/esm/lib/url/url.d.ts +0 -2
- package/dist/esm/lib/url/url.js +0 -70
- package/dist/esm/lib/url/urlMatcher.d.ts +0 -21
- package/dist/esm/lib/url/urlMatcher.js +0 -71
- package/dist/esm/lib/url/urlMatcher.spec.d.ts +0 -1
- package/dist/esm/lib/url/urlMatcher.spec.js +0 -90
- package/dist/esm/lib/useScript.d.ts +0 -3
- package/dist/esm/lib/useScript.js +0 -72
- package/dist/esm/lib/utils.d.ts +0 -29
- package/dist/esm/lib/utils.js +0 -246
- package/dist/esm/tailwind.d.cts +0 -4
- package/dist/esm/tsconfig.type.tsbuildinfo +0 -1
- package/dist/esm/ui/accordion.d.ts +0 -7
- package/dist/esm/ui/accordion.js +0 -91
- package/dist/esm/ui/alert-dialog.d.ts +0 -20
- package/dist/esm/ui/alert-dialog.js +0 -168
- package/dist/esm/ui/alert.d.ts +0 -9
- package/dist/esm/ui/alert.js +0 -86
- package/dist/esm/ui/aspect-ratio.d.ts +0 -4
- package/dist/esm/ui/aspect-ratio.js +0 -7
- package/dist/esm/ui/avatar.d.ts +0 -6
- package/dist/esm/ui/avatar.js +0 -78
- package/dist/esm/ui/badge.d.ts +0 -10
- package/dist/esm/ui/badge.js +0 -56
- package/dist/esm/ui/button.d.ts +0 -11
- package/dist/esm/ui/button.js +0 -77
- package/dist/esm/ui/calendar.d.ts +0 -8
- package/dist/esm/ui/calendar.js +0 -100
- package/dist/esm/ui/card.d.ts +0 -9
- package/dist/esm/ui/card.js +0 -103
- package/dist/esm/ui/checkbox.d.ts +0 -4
- package/dist/esm/ui/checkbox.js +0 -63
- package/dist/esm/ui/collapsible.d.ts +0 -6
- package/dist/esm/ui/collapsible.js +0 -11
- package/dist/esm/ui/command.d.ts +0 -51
- package/dist/esm/ui/command.js +0 -160
- package/dist/esm/ui/context-menu.d.ts +0 -27
- package/dist/esm/ui/context-menu.js +0 -210
- package/dist/esm/ui/dialog.d.ts +0 -19
- package/dist/esm/ui/dialog.js +0 -152
- package/dist/esm/ui/drawer.d.ts +0 -24
- package/dist/esm/ui/drawer.js +0 -152
- package/dist/esm/ui/dropdown-menu.d.ts +0 -27
- package/dist/esm/ui/dropdown-menu.js +0 -209
- package/dist/esm/ui/form.d.ts +0 -24
- package/dist/esm/ui/form.js +0 -145
- package/dist/esm/ui/hover-card.d.ts +0 -6
- package/dist/esm/ui/hover-card.js +0 -57
- package/dist/esm/ui/input.d.ts +0 -5
- package/dist/esm/ui/input.js +0 -52
- package/dist/esm/ui/label.d.ts +0 -5
- package/dist/esm/ui/label.js +0 -52
- package/dist/esm/ui/menubar.d.ts +0 -31
- package/dist/esm/ui/menubar.js +0 -243
- package/dist/esm/ui/navigation-menu.d.ts +0 -12
- package/dist/esm/ui/navigation-menu.js +0 -155
- package/dist/esm/ui/novel/content.d.ts +0 -131
- package/dist/esm/ui/novel/content.js +0 -235
- package/dist/esm/ui/novel/novel/src/components/editor-bubble-item.d.ts +0 -10
- package/dist/esm/ui/novel/novel/src/components/editor-bubble-item.js +0 -50
- package/dist/esm/ui/novel/novel/src/components/editor-bubble.d.ts +0 -7
- package/dist/esm/ui/novel/novel/src/components/editor-bubble.js +0 -80
- package/dist/esm/ui/novel/novel/src/components/editor-command-item.d.ts +0 -21
- package/dist/esm/ui/novel/novel/src/components/editor-command-item.js +0 -62
- package/dist/esm/ui/novel/novel/src/components/editor-command.d.ts +0 -30
- package/dist/esm/ui/novel/novel/src/components/editor-command.js +0 -112
- package/dist/esm/ui/novel/novel/src/components/editor.d.ts +0 -21
- package/dist/esm/ui/novel/novel/src/components/editor.js +0 -66
- package/dist/esm/ui/novel/novel/src/components/index.d.ts +0 -8
- package/dist/esm/ui/novel/novel/src/components/index.js +0 -18
- package/dist/esm/ui/novel/novel/src/extensions/ai-highlight.d.ts +0 -22
- package/dist/esm/ui/novel/novel/src/extensions/ai-highlight.js +0 -101
- package/dist/esm/ui/novel/novel/src/extensions/custom-keymap.d.ts +0 -10
- package/dist/esm/ui/novel/novel/src/extensions/custom-keymap.js +0 -41
- package/dist/esm/ui/novel/novel/src/extensions/drag-and-drop.d.ts +0 -6
- package/dist/esm/ui/novel/novel/src/extensions/drag-and-drop.js +0 -186
- package/dist/esm/ui/novel/novel/src/extensions/image-resizer.d.ts +0 -2
- package/dist/esm/ui/novel/novel/src/extensions/image-resizer.js +0 -65
- package/dist/esm/ui/novel/novel/src/extensions/index.d.ts +0 -15
- package/dist/esm/ui/novel/novel/src/extensions/index.js +0 -77
- package/dist/esm/ui/novel/novel/src/extensions/slash-command.d.ts +0 -31
- package/dist/esm/ui/novel/novel/src/extensions/slash-command.js +0 -106
- package/dist/esm/ui/novel/novel/src/extensions/updated-image.d.ts +0 -2
- package/dist/esm/ui/novel/novel/src/extensions/updated-image.js +0 -39
- package/dist/esm/ui/novel/novel/src/plugins/index.d.ts +0 -1
- package/dist/esm/ui/novel/novel/src/plugins/index.js +0 -13
- package/dist/esm/ui/novel/novel/src/plugins/upload-images.d.ts +0 -13
- package/dist/esm/ui/novel/novel/src/plugins/upload-images.js +0 -113
- package/dist/esm/ui/novel/novel/src/utils/atoms.d.ts +0 -5
- package/dist/esm/ui/novel/novel/src/utils/atoms.js +0 -8
- package/dist/esm/ui/novel/novel/src/utils/store.d.ts +0 -47
- package/dist/esm/ui/novel/novel/src/utils/store.js +0 -6
- package/dist/esm/ui/novel/novel/src/utils/utils.d.ts +0 -7
- package/dist/esm/ui/novel/novel/src/utils/utils.js +0 -31
- package/dist/esm/ui/novel/tailwind/advanced-editor.d.ts +0 -1
- package/dist/esm/ui/novel/tailwind/advanced-editor.js +0 -128
- package/dist/esm/ui/novel/tailwind/extensions.d.ts +0 -1
- package/dist/esm/ui/novel/tailwind/extensions.js +0 -103
- package/dist/esm/ui/novel/tailwind/generative/ai-completion-command.d.ts +0 -5
- package/dist/esm/ui/novel/tailwind/generative/ai-completion-command.js +0 -63
- package/dist/esm/ui/novel/tailwind/generative/ai-selector-commands.d.ts +0 -5
- package/dist/esm/ui/novel/tailwind/generative/ai-selector-commands.js +0 -80
- package/dist/esm/ui/novel/tailwind/generative/ai-selector.d.ts +0 -6
- package/dist/esm/ui/novel/tailwind/generative/ai-selector.js +0 -97
- package/dist/esm/ui/novel/tailwind/generative/generative-menu-switch.d.ts +0 -8
- package/dist/esm/ui/novel/tailwind/generative/generative-menu-switch.js +0 -58
- package/dist/esm/ui/novel/tailwind/image-upload.d.ts +0 -1
- package/dist/esm/ui/novel/tailwind/image-upload.js +0 -75
- package/dist/esm/ui/novel/tailwind/selectors/color-selector.d.ts +0 -8
- package/dist/esm/ui/novel/tailwind/selectors/color-selector.js +0 -175
- package/dist/esm/ui/novel/tailwind/selectors/link-selector.d.ts +0 -8
- package/dist/esm/ui/novel/tailwind/selectors/link-selector.js +0 -106
- package/dist/esm/ui/novel/tailwind/selectors/node-selector.d.ts +0 -14
- package/dist/esm/ui/novel/tailwind/selectors/node-selector.js +0 -118
- package/dist/esm/ui/novel/tailwind/selectors/text-buttons.d.ts +0 -1
- package/dist/esm/ui/novel/tailwind/selectors/text-buttons.js +0 -70
- package/dist/esm/ui/novel/tailwind/slash-command.d.ts +0 -2
- package/dist/esm/ui/novel/tailwind/slash-command.js +0 -156
- package/dist/esm/ui/novel/tailwind/ui/button.d.ts +0 -11
- package/dist/esm/ui/novel/tailwind/ui/button.js +0 -77
- package/dist/esm/ui/novel/tailwind/ui/command.d.ts +0 -51
- package/dist/esm/ui/novel/tailwind/ui/command.js +0 -161
- package/dist/esm/ui/novel/tailwind/ui/dialog.d.ts +0 -19
- package/dist/esm/ui/novel/tailwind/ui/dialog.js +0 -152
- package/dist/esm/ui/novel/tailwind/ui/icons/crazy-spinner.d.ts +0 -2
- package/dist/esm/ui/novel/tailwind/ui/icons/crazy-spinner.js +0 -13
- package/dist/esm/ui/novel/tailwind/ui/icons/font-default.d.ts +0 -3
- package/dist/esm/ui/novel/tailwind/ui/icons/font-default.js +0 -33
- package/dist/esm/ui/novel/tailwind/ui/icons/font-mono.d.ts +0 -3
- package/dist/esm/ui/novel/tailwind/ui/icons/font-mono.js +0 -34
- package/dist/esm/ui/novel/tailwind/ui/icons/font-serif.d.ts +0 -3
- package/dist/esm/ui/novel/tailwind/ui/icons/font-serif.js +0 -34
- package/dist/esm/ui/novel/tailwind/ui/icons/github.d.ts +0 -3
- package/dist/esm/ui/novel/tailwind/ui/icons/github.js +0 -19
- package/dist/esm/ui/novel/tailwind/ui/icons/index.d.ts +0 -4
- package/dist/esm/ui/novel/tailwind/ui/icons/index.js +0 -11
- package/dist/esm/ui/novel/tailwind/ui/icons/loading-circle.d.ts +0 -3
- package/dist/esm/ui/novel/tailwind/ui/icons/loading-circle.js +0 -33
- package/dist/esm/ui/novel/tailwind/ui/icons/magic.d.ts +0 -3
- package/dist/esm/ui/novel/tailwind/ui/icons/magic.js +0 -46
- package/dist/esm/ui/novel/tailwind/ui/menu.d.ts +0 -1
- package/dist/esm/ui/novel/tailwind/ui/menu.js +0 -51
- package/dist/esm/ui/novel/tailwind/ui/popover.d.ts +0 -6
- package/dist/esm/ui/novel/tailwind/ui/popover.js +0 -57
- package/dist/esm/ui/novel/tailwind/ui/scroll-area.d.ts +0 -5
- package/dist/esm/ui/novel/tailwind/ui/scroll-area.js +0 -77
- package/dist/esm/ui/novel/tailwind/ui/separator.d.ts +0 -4
- package/dist/esm/ui/novel/tailwind/ui/separator.js +0 -56
- package/dist/esm/ui/pagination.d.ts +0 -29
- package/dist/esm/ui/pagination.js +0 -165
- package/dist/esm/ui/popover.d.ts +0 -6
- package/dist/esm/ui/popover.js +0 -57
- package/dist/esm/ui/progress.d.ts +0 -4
- package/dist/esm/ui/progress.js +0 -62
- package/dist/esm/ui/radio-group.d.ts +0 -5
- package/dist/esm/ui/radio-group.js +0 -70
- package/dist/esm/ui/resizable.d.ts +0 -35
- package/dist/esm/ui/resizable.js +0 -79
- package/dist/esm/ui/scroll-area.d.ts +0 -5
- package/dist/esm/ui/scroll-area.js +0 -85
- package/dist/esm/ui/select.d.ts +0 -11
- package/dist/esm/ui/select.js +0 -138
- package/dist/esm/ui/separator.d.ts +0 -4
- package/dist/esm/ui/separator.js +0 -56
- package/dist/esm/ui/sheet.d.ts +0 -25
- package/dist/esm/ui/sheet.js +0 -164
- package/dist/esm/ui/skeleton.d.ts +0 -4
- package/dist/esm/ui/skeleton.js +0 -47
- package/dist/esm/ui/slider.d.ts +0 -4
- package/dist/esm/ui/slider.js +0 -59
- package/dist/esm/ui/sonner.d.ts +0 -5
- package/dist/esm/ui/sonner.js +0 -55
- package/dist/esm/ui/switch.d.ts +0 -4
- package/dist/esm/ui/switch.js +0 -63
- package/dist/esm/ui/table.d.ts +0 -11
- package/dist/esm/ui/table.js +0 -133
- package/dist/esm/ui/tabs.d.ts +0 -7
- package/dist/esm/ui/tabs.js +0 -83
- package/dist/esm/ui/textarea.d.ts +0 -5
- package/dist/esm/ui/textarea.js +0 -51
- package/dist/esm/ui/toast.d.ts +0 -15
- package/dist/esm/ui/toast.js +0 -140
- package/dist/esm/ui/toaster.d.ts +0 -1
- package/dist/esm/ui/toaster.js +0 -63
- package/dist/esm/ui/toggle.d.ts +0 -12
- package/dist/esm/ui/toggle.js +0 -70
- package/dist/esm/ui/tooltip.d.ts +0 -7
- package/dist/esm/ui/tooltip.js +0 -58
- package/dist/esm/ui/use-toast.d.ts +0 -44
- package/dist/esm/ui/use-toast.js +0 -154
- package/dist/esm/vite-env.d.js +0 -1
- package/dist/icons/icons.cjs +0 -295
- package/dist/index.cjs +0 -30
- package/dist/lib/clientlib/clientSideLib.cjs +0 -57
- package/dist/lib/clientlib/clientlib.cjs +0 -39
- package/dist/lib/clientlib/domutils.cjs +0 -32
- package/dist/lib/clientlib/query.cjs +0 -1
- package/dist/lib/dyn-script.cjs +0 -56
- package/dist/lib/errors.cjs +0 -36
- package/dist/lib/font.cjs +0 -35
- package/dist/lib/hash.cjs +0 -74
- package/dist/lib/http/fetchMiddleWithCache.cjs +0 -110
- package/dist/lib/http/fetchMiddleWithUrlProxy.cjs +0 -51
- package/dist/lib/http/mthttp.cjs +0 -87
- package/dist/lib/http/response-cache.test.cjs +0 -72
- package/dist/lib/mt-logger.cjs +0 -119
- package/dist/lib/mtmFetcher.cjs +0 -132
- package/dist/lib/mtmclient/descriptions/mtm/conf/conf.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/dash/dashpb/dash.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/mtbot/mtbotpb/bot.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/mtjob/mtjobpb/job.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sp/sppb/sp.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/ai.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/auth.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/av.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/backend.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/blocks.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/blog.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/common.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/cx.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/events.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/mtm.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/mtmgh.cjs +0 -0
- package/dist/lib/mtmclient/descriptions/mtm/sppb/site.cjs +0 -0
- package/dist/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.cjs +0 -87
- package/dist/lib/mtmclient/mtm/conf/conf_connect.cjs +0 -79
- package/dist/lib/mtmclient/mtm/conf/conf_pb.cjs +0 -2415
- package/dist/lib/mtmclient/mtm/dash/dashpb/dash-DashService_connectquery.cjs +0 -87
- package/dist/lib/mtmclient/mtm/dash/dashpb/dash_connect.cjs +0 -79
- package/dist/lib/mtmclient/mtm/dash/dashpb/dash_pb.cjs +0 -706
- package/dist/lib/mtmclient/mtm/mtbot/mtbotpb/bot-BotService_connectquery.cjs +0 -63
- package/dist/lib/mtmclient/mtm/mtbot/mtbotpb/bot_connect.cjs +0 -65
- package/dist/lib/mtmclient/mtm/mtbot/mtbotpb/bot_pb.cjs +0 -967
- package/dist/lib/mtmclient/mtm/mtjob/mtjobpb/job-JobService_connectquery.cjs +0 -86
- package/dist/lib/mtmclient/mtm/mtjob/mtjobpb/job_connect.cjs +0 -83
- package/dist/lib/mtmclient/mtm/mtjob/mtjobpb/job_pb.cjs +0 -721
- package/dist/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.cjs +0 -86
- package/dist/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.cjs +0 -78
- package/dist/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.cjs +0 -564
- package/dist/lib/mtmclient/mtm/sp/sppb/sp-SpService_connectquery.cjs +0 -279
- package/dist/lib/mtmclient/mtm/sp/sppb/sp_connect.cjs +0 -231
- package/dist/lib/mtmclient/mtm/sp/sppb/sp_pb.cjs +0 -2978
- package/dist/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.cjs +0 -50
- package/dist/lib/mtmclient/mtm/sppb/ai_connect.cjs +0 -55
- package/dist/lib/mtmclient/mtm/sppb/ai_pb.cjs +0 -174
- package/dist/lib/mtmclient/mtm/sppb/auth-AuthService_connectquery.cjs +0 -135
- package/dist/lib/mtmclient/mtm/sppb/auth_connect.cjs +0 -123
- package/dist/lib/mtmclient/mtm/sppb/auth_pb.cjs +0 -1071
- package/dist/lib/mtmclient/mtm/sppb/av-AvService_connectquery.cjs +0 -87
- package/dist/lib/mtmclient/mtm/sppb/av_connect.cjs +0 -79
- package/dist/lib/mtmclient/mtm/sppb/av_pb.cjs +0 -317
- package/dist/lib/mtmclient/mtm/sppb/backend-Backend_connectquery.cjs +0 -50
- package/dist/lib/mtmclient/mtm/sppb/backend_connect.cjs +0 -55
- package/dist/lib/mtmclient/mtm/sppb/backend_pb.cjs +0 -253
- package/dist/lib/mtmclient/mtm/sppb/blocks_pb.cjs +0 -324
- package/dist/lib/mtmclient/mtm/sppb/blog-BlogService_connectquery.cjs +0 -231
- package/dist/lib/mtmclient/mtm/sppb/blog_connect.cjs +0 -196
- package/dist/lib/mtmclient/mtm/sppb/blog_pb.cjs +0 -1845
- package/dist/lib/mtmclient/mtm/sppb/common_pb.cjs +0 -1313
- package/dist/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.cjs +0 -183
- package/dist/lib/mtmclient/mtm/sppb/cx_connect.cjs +0 -164
- package/dist/lib/mtmclient/mtm/sppb/cx_pb.cjs +0 -1771
- package/dist/lib/mtmclient/mtm/sppb/events_pb.cjs +0 -914
- package/dist/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.cjs +0 -123
- package/dist/lib/mtmclient/mtm/sppb/mtm_connect.cjs +0 -118
- package/dist/lib/mtmclient/mtm/sppb/mtm_pb.cjs +0 -1468
- package/dist/lib/mtmclient/mtm/sppb/mtmgh_pb.cjs +0 -159
- package/dist/lib/mtmclient/mtm/sppb/site-SiteService_connectquery.cjs +0 -171
- package/dist/lib/mtmclient/mtm/sppb/site_connect.cjs +0 -149
- package/dist/lib/mtmclient/mtm/sppb/site_pb.cjs +0 -1024
- package/dist/lib/mtmservices.cjs +0 -47
- package/dist/lib/queue.cjs +0 -69
- package/dist/lib/render.cjs +0 -58
- package/dist/lib/service-worker.cjs +0 -48
- package/dist/lib/sscore.cjs +0 -57
- package/dist/lib/sslib/github-file.cjs +0 -62
- package/dist/lib/sslib/mtmcore.cjs +0 -45
- package/dist/lib/url/routeHelper.cjs +0 -38
- package/dist/lib/url/routeHelper.spec.cjs +0 -24
- package/dist/lib/url/url.cjs +0 -93
- package/dist/lib/url/urlMatcher.cjs +0 -98
- package/dist/lib/url/urlMatcher.spec.cjs +0 -89
- package/dist/lib/useScript.cjs +0 -100
- package/dist/lib/utils.cjs +0 -303
- package/dist/tailwind.cjs +0 -15
- package/dist/ui/accordion.cjs +0 -124
- package/dist/ui/alert-dialog.cjs +0 -208
- package/dist/ui/alert.cjs +0 -118
- package/dist/ui/aspect-ratio.cjs +0 -39
- package/dist/ui/avatar.cjs +0 -110
- package/dist/ui/badge.cjs +0 -77
- package/dist/ui/button.cjs +0 -108
- package/dist/ui/calendar.cjs +0 -120
- package/dist/ui/card.cjs +0 -138
- package/dist/ui/checkbox.cjs +0 -93
- package/dist/ui/collapsible.cjs +0 -45
- package/dist/ui/command.cjs +0 -198
- package/dist/ui/context-menu.cjs +0 -250
- package/dist/ui/dialog.cjs +0 -191
- package/dist/ui/drawer.cjs +0 -191
- package/dist/ui/dropdown-menu.cjs +0 -249
- package/dist/ui/form.cjs +0 -178
- package/dist/ui/hover-card.cjs +0 -89
- package/dist/ui/input.cjs +0 -82
- package/dist/ui/label.cjs +0 -82
- package/dist/ui/menubar.cjs +0 -284
- package/dist/ui/navigation-menu.cjs +0 -193
- package/dist/ui/novel/content.cjs +0 -257
- package/dist/ui/novel/novel/src/components/editor-bubble-item.cjs +0 -70
- package/dist/ui/novel/novel/src/components/editor-bubble.cjs +0 -100
- package/dist/ui/novel/novel/src/components/editor-command-item.cjs +0 -83
- package/dist/ui/novel/novel/src/components/editor-command.cjs +0 -135
- package/dist/ui/novel/novel/src/components/editor.cjs +0 -97
- package/dist/ui/novel/novel/src/components/index.cjs +0 -48
- package/dist/ui/novel/novel/src/extensions/ai-highlight.cjs +0 -122
- package/dist/ui/novel/novel/src/extensions/custom-keymap.cjs +0 -59
- package/dist/ui/novel/novel/src/extensions/drag-and-drop.cjs +0 -204
- package/dist/ui/novel/novel/src/extensions/image-resizer.cjs +0 -97
- package/dist/ui/novel/novel/src/extensions/index.cjs +0 -123
- package/dist/ui/novel/novel/src/extensions/slash-command.cjs +0 -139
- package/dist/ui/novel/novel/src/extensions/updated-image.cjs +0 -65
- package/dist/ui/novel/novel/src/plugins/index.cjs +0 -33
- package/dist/ui/novel/novel/src/plugins/upload-images.cjs +0 -138
- package/dist/ui/novel/novel/src/utils/atoms.cjs +0 -31
- package/dist/ui/novel/novel/src/utils/store.cjs +0 -28
- package/dist/ui/novel/novel/src/utils/utils.cjs +0 -55
- package/dist/ui/novel/tailwind/advanced-editor.cjs +0 -160
- package/dist/ui/novel/tailwind/extensions.cjs +0 -125
- package/dist/ui/novel/tailwind/generative/ai-completion-command.cjs +0 -81
- package/dist/ui/novel/tailwind/generative/ai-selector-commands.cjs +0 -92
- package/dist/ui/novel/tailwind/generative/ai-selector.cjs +0 -129
- package/dist/ui/novel/tailwind/generative/generative-menu-switch.cjs +0 -86
- package/dist/ui/novel/tailwind/image-upload.cjs +0 -97
- package/dist/ui/novel/tailwind/selectors/color-selector.cjs +0 -197
- package/dist/ui/novel/tailwind/selectors/link-selector.cjs +0 -127
- package/dist/ui/novel/tailwind/selectors/node-selector.cjs +0 -129
- package/dist/ui/novel/tailwind/selectors/text-buttons.cjs +0 -87
- package/dist/ui/novel/tailwind/slash-command.cjs +0 -167
- package/dist/ui/novel/tailwind/ui/button.cjs +0 -108
- package/dist/ui/novel/tailwind/ui/command.cjs +0 -199
- package/dist/ui/novel/tailwind/ui/dialog.cjs +0 -191
- package/dist/ui/novel/tailwind/ui/icons/crazy-spinner.cjs +0 -31
- package/dist/ui/novel/tailwind/ui/icons/font-default.cjs +0 -51
- package/dist/ui/novel/tailwind/ui/icons/font-mono.cjs +0 -52
- package/dist/ui/novel/tailwind/ui/icons/font-serif.cjs +0 -52
- package/dist/ui/novel/tailwind/ui/icons/github.cjs +0 -37
- package/dist/ui/novel/tailwind/ui/icons/index.cjs +0 -46
- package/dist/ui/novel/tailwind/ui/icons/loading-circle.cjs +0 -51
- package/dist/ui/novel/tailwind/ui/icons/magic.cjs +0 -64
- package/dist/ui/novel/tailwind/ui/menu.cjs +0 -69
- package/dist/ui/novel/tailwind/ui/popover.cjs +0 -89
- package/dist/ui/novel/tailwind/ui/scroll-area.cjs +0 -108
- package/dist/ui/novel/tailwind/ui/separator.cjs +0 -86
- package/dist/ui/pagination.cjs +0 -197
- package/dist/ui/popover.cjs +0 -89
- package/dist/ui/progress.cjs +0 -92
- package/dist/ui/radio-group.cjs +0 -101
- package/dist/ui/resizable.cjs +0 -111
- package/dist/ui/scroll-area.cjs +0 -116
- package/dist/ui/select.cjs +0 -175
- package/dist/ui/separator.cjs +0 -86
- package/dist/ui/sheet.cjs +0 -203
- package/dist/ui/skeleton.cjs +0 -67
- package/dist/ui/slider.cjs +0 -89
- package/dist/ui/sonner.cjs +0 -75
- package/dist/ui/switch.cjs +0 -93
- package/dist/ui/table.cjs +0 -170
- package/dist/ui/tabs.cjs +0 -116
- package/dist/ui/textarea.cjs +0 -81
- package/dist/ui/toast.cjs +0 -176
- package/dist/ui/toaster.cjs +0 -76
- package/dist/ui/toggle.cjs +0 -101
- package/dist/ui/tooltip.cjs +0 -91
- package/dist/ui/use-toast.cjs +0 -186
- package/dist/vite-env.d.cjs +0 -0
package/package.json
CHANGED
package/dist/App.cjs
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var App_exports = {};
|
|
19
|
-
__export(App_exports, {
|
|
20
|
-
default: () => App_default
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(App_exports);
|
|
23
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
24
|
-
var import_react = require("react");
|
|
25
|
-
var import_App = require("./App.css");
|
|
26
|
-
var import_styles = require("./styles/index.css");
|
|
27
|
-
function App() {
|
|
28
|
-
const [count, setCount] = (0, import_react.useState)(0);
|
|
29
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
30
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Suspense, { fallback: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "loading" }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { href: "https://vitejs.dev", target: "_blank" }) }) }),
|
|
31
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { children: "Vite + React" }),
|
|
32
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "card", children: [
|
|
33
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { onClick: () => setCount((count2) => count2 + 1), children: [
|
|
34
|
-
"count is ",
|
|
35
|
-
count
|
|
36
|
-
] }),
|
|
37
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
|
|
38
|
-
"Edit ",
|
|
39
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("code", { children: "src/App.tsx" }),
|
|
40
|
-
" and save to test HMR"
|
|
41
|
-
] })
|
|
42
|
-
] }),
|
|
43
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "read-the-docs", children: "Click on the Vite and React logos to learn more" })
|
|
44
|
-
] });
|
|
45
|
-
}
|
|
46
|
-
var App_default = App;
|
package/dist/MtmButton.cjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var MtmButton_exports = {};
|
|
19
|
-
__export(MtmButton_exports, {
|
|
20
|
-
MtmButton: () => MtmButton
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(MtmButton_exports);
|
|
23
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
24
|
-
const MtmButton = () => {
|
|
25
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { className: "bg-green-700 border", children: "MtmButton6" }) });
|
|
26
|
-
};
|
|
27
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
-
0 && (module.exports = {
|
|
29
|
-
MtmButton
|
|
30
|
-
});
|
package/dist/NovelEditor.cjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var NovelEditor_exports = {};
|
|
19
|
-
__export(NovelEditor_exports, {
|
|
20
|
-
NovelEditor: () => NovelEditor
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(NovelEditor_exports);
|
|
23
|
-
var import_advanced_editor = require("./ui/novel/tailwind/advanced-editor");
|
|
24
|
-
const NovelEditor = import_advanced_editor.TailwindAdvancedEditor;
|
|
25
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
26
|
-
0 && (module.exports = {
|
|
27
|
-
NovelEditor
|
|
28
|
-
});
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var NovelEditorLoader_exports = {};
|
|
19
|
-
__export(NovelEditorLoader_exports, {
|
|
20
|
-
TWEditorLoder: () => TWEditorLoder
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(NovelEditorLoader_exports);
|
|
23
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
24
|
-
var import_react = require("react");
|
|
25
|
-
var import_advanced_editor = require("./ui/novel/tailwind/advanced-editor");
|
|
26
|
-
const TWEditorLoder = () => {
|
|
27
|
-
const [open, setOpen] = (0, import_react.useState)(false);
|
|
28
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
29
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { onClick: () => {
|
|
30
|
-
console.log("load editor");
|
|
31
|
-
setOpen(true);
|
|
32
|
-
}, children: " load" }),
|
|
33
|
-
open && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Suspense, { fallback: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "loading" }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_advanced_editor.TailwindAdvancedEditor, {}) })
|
|
34
|
-
] });
|
|
35
|
-
};
|
|
36
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
-
0 && (module.exports = {
|
|
38
|
-
TWEditorLoder
|
|
39
|
-
});
|
package/dist/consts.cjs
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var consts_exports = {};
|
|
19
|
-
__export(consts_exports, {
|
|
20
|
-
ADMIN_ROLE: () => ADMIN_ROLE,
|
|
21
|
-
ActionCreate: () => ActionCreate,
|
|
22
|
-
ActionDelete: () => ActionDelete,
|
|
23
|
-
ActionEdit: () => ActionEdit,
|
|
24
|
-
ActionFetchNextPage: () => ActionFetchNextPage,
|
|
25
|
-
ActionRefetch: () => ActionRefetch,
|
|
26
|
-
COOKIE_IS_DEBUG: () => COOKIE_IS_DEBUG,
|
|
27
|
-
COOKIE_MTM_SITE_ID: () => COOKIE_MTM_SITE_ID,
|
|
28
|
-
Cookie_Site_Host: () => Cookie_Site_Host,
|
|
29
|
-
DEFAULT_revalidate_SECONDS: () => DEFAULT_revalidate_SECONDS,
|
|
30
|
-
ExtKey_Hostname: () => ExtKey_Hostname,
|
|
31
|
-
ExtKey_mtmaccessToken: () => ExtKey_mtmaccessToken,
|
|
32
|
-
ExtKey_mtmbackend: () => ExtKey_mtmbackend,
|
|
33
|
-
HeaderMtmApi: () => HeaderMtmApi,
|
|
34
|
-
HeaderMtmHost: () => HeaderMtmHost,
|
|
35
|
-
ImageNoExist: () => ImageNoExist,
|
|
36
|
-
ItemAction_list_new_item: () => ItemAction_list_new_item,
|
|
37
|
-
LOGIN_CALLBACK_URL_KEY: () => LOGIN_CALLBACK_URL_KEY,
|
|
38
|
-
ListView_DefaultPageSize: () => ListView_DefaultPageSize,
|
|
39
|
-
Listview_list_filter: () => Listview_list_filter,
|
|
40
|
-
MEMBER_ROLE: () => MEMBER_ROLE,
|
|
41
|
-
MTM_SERVER_COOKIE_ACTIVATE_URL: () => MTM_SERVER_COOKIE_ACTIVATE_URL,
|
|
42
|
-
MTM_SITE_HOSTNAME: () => MTM_SITE_HOSTNAME,
|
|
43
|
-
MtM_TOKEN_NAME: () => MtM_TOKEN_NAME,
|
|
44
|
-
fetchMaxRetry: () => fetchMaxRetry
|
|
45
|
-
});
|
|
46
|
-
module.exports = __toCommonJS(consts_exports);
|
|
47
|
-
const COOKIE_MTM_SITE_ID = "mtm-site-id";
|
|
48
|
-
const COOKIE_IS_DEBUG = "DEBUG";
|
|
49
|
-
const MTM_SITE_HOSTNAME = "mtm-site-hostname";
|
|
50
|
-
const MtM_TOKEN_NAME = "mtm_token33";
|
|
51
|
-
const fetchMaxRetry = 3;
|
|
52
|
-
const HeaderMtmHost = "Mtm-Host";
|
|
53
|
-
const HeaderMtmApi = "Mtm-Api";
|
|
54
|
-
const Cookie_Site_Host = "site-host";
|
|
55
|
-
const MTM_SERVER_COOKIE_ACTIVATE_URL = "mtm:serverUrl";
|
|
56
|
-
const DEFAULT_revalidate_SECONDS = 3;
|
|
57
|
-
const LOGIN_CALLBACK_URL_KEY = "back";
|
|
58
|
-
const ExtKey_Hostname = "host";
|
|
59
|
-
const ExtKey_mtmaccessToken = "access_token";
|
|
60
|
-
const ExtKey_mtmbackend = "mtmbackend";
|
|
61
|
-
const ItemAction_list_new_item = "list_new_item";
|
|
62
|
-
const Listview_list_filter = "Listview_list_filter";
|
|
63
|
-
const ActionEdit = "edit";
|
|
64
|
-
const ActionDelete = "delete";
|
|
65
|
-
const ActionCreate = "create";
|
|
66
|
-
const ActionFetchNextPage = "fetchNextPage";
|
|
67
|
-
const ActionRefetch = "refetch";
|
|
68
|
-
const ListView_DefaultPageSize = 12;
|
|
69
|
-
const ImageNoExist = "/images/404.jpg";
|
|
70
|
-
const ADMIN_ROLE = "admin";
|
|
71
|
-
const MEMBER_ROLE = "member";
|
|
72
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
73
|
-
0 && (module.exports = {
|
|
74
|
-
ADMIN_ROLE,
|
|
75
|
-
ActionCreate,
|
|
76
|
-
ActionDelete,
|
|
77
|
-
ActionEdit,
|
|
78
|
-
ActionFetchNextPage,
|
|
79
|
-
ActionRefetch,
|
|
80
|
-
COOKIE_IS_DEBUG,
|
|
81
|
-
COOKIE_MTM_SITE_ID,
|
|
82
|
-
Cookie_Site_Host,
|
|
83
|
-
DEFAULT_revalidate_SECONDS,
|
|
84
|
-
ExtKey_Hostname,
|
|
85
|
-
ExtKey_mtmaccessToken,
|
|
86
|
-
ExtKey_mtmbackend,
|
|
87
|
-
HeaderMtmApi,
|
|
88
|
-
HeaderMtmHost,
|
|
89
|
-
ImageNoExist,
|
|
90
|
-
ItemAction_list_new_item,
|
|
91
|
-
LOGIN_CALLBACK_URL_KEY,
|
|
92
|
-
ListView_DefaultPageSize,
|
|
93
|
-
Listview_list_filter,
|
|
94
|
-
MEMBER_ROLE,
|
|
95
|
-
MTM_SERVER_COOKIE_ACTIVATE_URL,
|
|
96
|
-
MTM_SITE_HOSTNAME,
|
|
97
|
-
MtM_TOKEN_NAME,
|
|
98
|
-
fetchMaxRetry
|
|
99
|
-
});
|
package/dist/entry-client.cjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
-
for (let key of __getOwnPropNames(from))
|
|
10
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
}
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
|
-
mod
|
|
22
|
-
));
|
|
23
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
24
|
-
var import_index = require("./index.css");
|
|
25
|
-
var import_react = __toESM(require("react"), 1);
|
|
26
|
-
var import_client = __toESM(require("react-dom/client"), 1);
|
|
27
|
-
var import_App = __toESM(require("./App"), 1);
|
|
28
|
-
import_client.default.hydrateRoot(
|
|
29
|
-
document.getElementById("root"),
|
|
30
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.default.StrictMode, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_App.default, {}) })
|
|
31
|
-
);
|
package/dist/entry-server.cjs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
var entry_server_exports = {};
|
|
29
|
-
__export(entry_server_exports, {
|
|
30
|
-
render: () => render
|
|
31
|
-
});
|
|
32
|
-
module.exports = __toCommonJS(entry_server_exports);
|
|
33
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
-
var import_react = __toESM(require("react"), 1);
|
|
35
|
-
var import_server = __toESM(require("react-dom/server"), 1);
|
|
36
|
-
var import_App = __toESM(require("./App"), 1);
|
|
37
|
-
function render() {
|
|
38
|
-
const html = import_server.default.renderToString(
|
|
39
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.default.StrictMode, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_App.default, {}) })
|
|
40
|
-
);
|
|
41
|
-
console.log("html", html);
|
|
42
|
-
return { html };
|
|
43
|
-
}
|
|
44
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
45
|
-
0 && (module.exports = {
|
|
46
|
-
render
|
|
47
|
-
});
|
package/dist/esm/App.d.ts
DELETED
package/dist/esm/App.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Suspense, useState } from "react";
|
|
4
|
-
import "./App.css";
|
|
5
|
-
import "./styles/index.css";
|
|
6
|
-
function App() {
|
|
7
|
-
const [count, setCount] = useState(0);
|
|
8
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9
|
-
/* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Fragment, { children: "loading" }), children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("a", { href: "https://vitejs.dev", target: "_blank" }) }) }),
|
|
10
|
-
/* @__PURE__ */ jsx("h1", { children: "Vite + React" }),
|
|
11
|
-
/* @__PURE__ */ jsxs("div", { className: "card", children: [
|
|
12
|
-
/* @__PURE__ */ jsxs("button", { onClick: () => setCount((count2) => count2 + 1), children: [
|
|
13
|
-
"count is ",
|
|
14
|
-
count
|
|
15
|
-
] }),
|
|
16
|
-
/* @__PURE__ */ jsxs("p", { children: [
|
|
17
|
-
"Edit ",
|
|
18
|
-
/* @__PURE__ */ jsx("code", { children: "src/App.tsx" }),
|
|
19
|
-
" and save to test HMR"
|
|
20
|
-
] })
|
|
21
|
-
] }),
|
|
22
|
-
/* @__PURE__ */ jsx("p", { className: "read-the-docs", children: "Click on the Vite and React logos to learn more" })
|
|
23
|
-
] });
|
|
24
|
-
}
|
|
25
|
-
var App_default = App;
|
|
26
|
-
export {
|
|
27
|
-
App_default as default
|
|
28
|
-
};
|
package/dist/esm/MtmButton.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MtmButton: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/esm/MtmButton.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import { Fragment, jsx } from "react/jsx-runtime";
|
|
3
|
-
const MtmButton = () => {
|
|
4
|
-
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("button", { className: "bg-green-700 border", children: "MtmButton6" }) });
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
MtmButton
|
|
8
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const NovelEditor: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/esm/NovelEditor.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const TWEditorLoder: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Suspense, useState } from "react";
|
|
4
|
-
import { TailwindAdvancedEditor } from "./ui/novel/tailwind/advanced-editor";
|
|
5
|
-
const TWEditorLoder = () => {
|
|
6
|
-
const [open, setOpen] = useState(false);
|
|
7
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8
|
-
/* @__PURE__ */ jsx("button", { onClick: () => {
|
|
9
|
-
console.log("load editor");
|
|
10
|
-
setOpen(true);
|
|
11
|
-
}, children: " load" }),
|
|
12
|
-
open && /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Fragment, { children: "loading" }), children: /* @__PURE__ */ jsx(TailwindAdvancedEditor, {}) })
|
|
13
|
-
] });
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
TWEditorLoder
|
|
17
|
-
};
|
package/dist/esm/consts.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const COOKIE_MTM_SITE_ID = "mtm-site-id";
|
|
2
|
-
export declare const COOKIE_IS_DEBUG = "DEBUG";
|
|
3
|
-
export declare const MTM_SITE_HOSTNAME = "mtm-site-hostname";
|
|
4
|
-
export declare const MtM_TOKEN_NAME = "mtm_token33";
|
|
5
|
-
export declare const fetchMaxRetry = 3;
|
|
6
|
-
export declare const HeaderMtmHost = "Mtm-Host";
|
|
7
|
-
export declare const HeaderMtmApi = "Mtm-Api";
|
|
8
|
-
export declare const Cookie_Site_Host = "site-host";
|
|
9
|
-
export declare const MTM_SERVER_COOKIE_ACTIVATE_URL = "mtm:serverUrl";
|
|
10
|
-
export declare const DEFAULT_revalidate_SECONDS = 3;
|
|
11
|
-
export declare const LOGIN_CALLBACK_URL_KEY = "back";
|
|
12
|
-
export declare const ExtKey_Hostname = "host";
|
|
13
|
-
export declare const ExtKey_mtmaccessToken = "access_token";
|
|
14
|
-
export declare const ExtKey_mtmbackend = "mtmbackend";
|
|
15
|
-
export declare const ItemAction_list_new_item = "list_new_item";
|
|
16
|
-
export declare const Listview_list_filter = "Listview_list_filter";
|
|
17
|
-
export declare const ActionEdit = "edit";
|
|
18
|
-
export declare const ActionDelete = "delete";
|
|
19
|
-
export declare const ActionCreate = "create";
|
|
20
|
-
export declare const ActionFetchNextPage = "fetchNextPage";
|
|
21
|
-
export declare const ActionRefetch = "refetch";
|
|
22
|
-
export declare const ListView_DefaultPageSize = 12;
|
|
23
|
-
export declare const ImageNoExist = "/images/404.jpg";
|
|
24
|
-
export declare const ADMIN_ROLE = "admin";
|
|
25
|
-
export declare const MEMBER_ROLE = "member";
|
package/dist/esm/consts.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
const COOKIE_MTM_SITE_ID = "mtm-site-id";
|
|
3
|
-
const COOKIE_IS_DEBUG = "DEBUG";
|
|
4
|
-
const MTM_SITE_HOSTNAME = "mtm-site-hostname";
|
|
5
|
-
const MtM_TOKEN_NAME = "mtm_token33";
|
|
6
|
-
const fetchMaxRetry = 3;
|
|
7
|
-
const HeaderMtmHost = "Mtm-Host";
|
|
8
|
-
const HeaderMtmApi = "Mtm-Api";
|
|
9
|
-
const Cookie_Site_Host = "site-host";
|
|
10
|
-
const MTM_SERVER_COOKIE_ACTIVATE_URL = "mtm:serverUrl";
|
|
11
|
-
const DEFAULT_revalidate_SECONDS = 3;
|
|
12
|
-
const LOGIN_CALLBACK_URL_KEY = "back";
|
|
13
|
-
const ExtKey_Hostname = "host";
|
|
14
|
-
const ExtKey_mtmaccessToken = "access_token";
|
|
15
|
-
const ExtKey_mtmbackend = "mtmbackend";
|
|
16
|
-
const ItemAction_list_new_item = "list_new_item";
|
|
17
|
-
const Listview_list_filter = "Listview_list_filter";
|
|
18
|
-
const ActionEdit = "edit";
|
|
19
|
-
const ActionDelete = "delete";
|
|
20
|
-
const ActionCreate = "create";
|
|
21
|
-
const ActionFetchNextPage = "fetchNextPage";
|
|
22
|
-
const ActionRefetch = "refetch";
|
|
23
|
-
const ListView_DefaultPageSize = 12;
|
|
24
|
-
const ImageNoExist = "/images/404.jpg";
|
|
25
|
-
const ADMIN_ROLE = "admin";
|
|
26
|
-
const MEMBER_ROLE = "member";
|
|
27
|
-
export {
|
|
28
|
-
ADMIN_ROLE,
|
|
29
|
-
ActionCreate,
|
|
30
|
-
ActionDelete,
|
|
31
|
-
ActionEdit,
|
|
32
|
-
ActionFetchNextPage,
|
|
33
|
-
ActionRefetch,
|
|
34
|
-
COOKIE_IS_DEBUG,
|
|
35
|
-
COOKIE_MTM_SITE_ID,
|
|
36
|
-
Cookie_Site_Host,
|
|
37
|
-
DEFAULT_revalidate_SECONDS,
|
|
38
|
-
ExtKey_Hostname,
|
|
39
|
-
ExtKey_mtmaccessToken,
|
|
40
|
-
ExtKey_mtmbackend,
|
|
41
|
-
HeaderMtmApi,
|
|
42
|
-
HeaderMtmHost,
|
|
43
|
-
ImageNoExist,
|
|
44
|
-
ItemAction_list_new_item,
|
|
45
|
-
LOGIN_CALLBACK_URL_KEY,
|
|
46
|
-
ListView_DefaultPageSize,
|
|
47
|
-
Listview_list_filter,
|
|
48
|
-
MEMBER_ROLE,
|
|
49
|
-
MTM_SERVER_COOKIE_ACTIVATE_URL,
|
|
50
|
-
MTM_SITE_HOSTNAME,
|
|
51
|
-
MtM_TOKEN_NAME,
|
|
52
|
-
fetchMaxRetry
|
|
53
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/esm/entry-client.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import "./index.css";
|
|
4
|
-
import React from "react";
|
|
5
|
-
import ReactDOM from "react-dom/client";
|
|
6
|
-
import App from "./App";
|
|
7
|
-
ReactDOM.hydrateRoot(
|
|
8
|
-
document.getElementById("root"),
|
|
9
|
-
/* @__PURE__ */ jsx(React.StrictMode, { children: /* @__PURE__ */ jsx(App, {}) })
|
|
10
|
-
);
|
package/dist/esm/entry-server.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import ReactDOMServer from "react-dom/server";
|
|
5
|
-
import App from "./App";
|
|
6
|
-
function render() {
|
|
7
|
-
const html = ReactDOMServer.renderToString(
|
|
8
|
-
/* @__PURE__ */ jsx(React.StrictMode, { children: /* @__PURE__ */ jsx(App, {}) })
|
|
9
|
-
);
|
|
10
|
-
console.log("html", html);
|
|
11
|
-
return { html };
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
render
|
|
15
|
-
};
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { LucideProps } from 'lucide-react';
|
|
2
|
-
import type { LucideIcon } from 'lucide-react';
|
|
3
|
-
export type Icon = LucideIcon;
|
|
4
|
-
export declare const iconVariants: (props?: {
|
|
5
|
-
variant?: "toolbar" | "menuItem";
|
|
6
|
-
size?: "sm" | "md";
|
|
7
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
8
|
-
export declare const Icons: {
|
|
9
|
-
x: LucideIcon;
|
|
10
|
-
add: LucideIcon;
|
|
11
|
-
alignCenter: LucideIcon;
|
|
12
|
-
alignJustify: LucideIcon;
|
|
13
|
-
alignLeft: LucideIcon;
|
|
14
|
-
alignRight: LucideIcon;
|
|
15
|
-
arrowDown: LucideIcon;
|
|
16
|
-
bg: LucideIcon;
|
|
17
|
-
blockquote: LucideIcon;
|
|
18
|
-
bold: LucideIcon;
|
|
19
|
-
borderAll: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
borderBottom: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
borderLeft: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
borderNone: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
borderRight: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
borderTop: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
check: LucideIcon;
|
|
26
|
-
chevronRight: LucideIcon;
|
|
27
|
-
spinner: LucideIcon;
|
|
28
|
-
chevronsUpDown: LucideIcon;
|
|
29
|
-
clear: LucideIcon;
|
|
30
|
-
close: LucideIcon;
|
|
31
|
-
code: LucideIcon;
|
|
32
|
-
codeblock: LucideIcon;
|
|
33
|
-
color: LucideIcon;
|
|
34
|
-
column: LucideIcon;
|
|
35
|
-
comment: LucideIcon;
|
|
36
|
-
commentAdd: LucideIcon;
|
|
37
|
-
delete: LucideIcon;
|
|
38
|
-
dragHandle: LucideIcon;
|
|
39
|
-
editing: LucideIcon;
|
|
40
|
-
emoji: LucideIcon;
|
|
41
|
-
externalLink: LucideIcon;
|
|
42
|
-
h1: LucideIcon;
|
|
43
|
-
h2: LucideIcon;
|
|
44
|
-
h3: LucideIcon;
|
|
45
|
-
h4: LucideIcon;
|
|
46
|
-
h5: LucideIcon;
|
|
47
|
-
h6: LucideIcon;
|
|
48
|
-
image: LucideIcon;
|
|
49
|
-
indent: LucideIcon;
|
|
50
|
-
italic: LucideIcon;
|
|
51
|
-
kbd: LucideIcon;
|
|
52
|
-
lineHeight: LucideIcon;
|
|
53
|
-
link: LucideIcon;
|
|
54
|
-
minus: LucideIcon;
|
|
55
|
-
more: LucideIcon;
|
|
56
|
-
ol: LucideIcon;
|
|
57
|
-
outdent: LucideIcon;
|
|
58
|
-
paragraph: LucideIcon;
|
|
59
|
-
refresh: LucideIcon;
|
|
60
|
-
row: LucideIcon;
|
|
61
|
-
search: LucideIcon;
|
|
62
|
-
settings: LucideIcon;
|
|
63
|
-
strikethrough: LucideIcon;
|
|
64
|
-
subscript: LucideIcon;
|
|
65
|
-
superscript: LucideIcon;
|
|
66
|
-
table: LucideIcon;
|
|
67
|
-
text: LucideIcon;
|
|
68
|
-
trash: LucideIcon;
|
|
69
|
-
ul: LucideIcon;
|
|
70
|
-
underline: LucideIcon;
|
|
71
|
-
unlink: LucideIcon;
|
|
72
|
-
viewing: LucideIcon;
|
|
73
|
-
bell: LucideIcon;
|
|
74
|
-
bug: LucideIcon;
|
|
75
|
-
chevronLeft: LucideIcon;
|
|
76
|
-
post: LucideIcon;
|
|
77
|
-
media: LucideIcon;
|
|
78
|
-
billing: LucideIcon;
|
|
79
|
-
ellipsis: LucideIcon;
|
|
80
|
-
warning: LucideIcon;
|
|
81
|
-
user: LucideIcon;
|
|
82
|
-
arrowRight: LucideIcon;
|
|
83
|
-
help: LucideIcon;
|
|
84
|
-
pizza: LucideIcon;
|
|
85
|
-
twitter: LucideIcon;
|
|
86
|
-
copy: LucideIcon;
|
|
87
|
-
copyDone: LucideIcon;
|
|
88
|
-
sun: LucideIcon;
|
|
89
|
-
moon: LucideIcon;
|
|
90
|
-
laptop: LucideIcon;
|
|
91
|
-
arrowLeft: LucideIcon;
|
|
92
|
-
eye: LucideIcon;
|
|
93
|
-
wrapText: LucideIcon;
|
|
94
|
-
separator: LucideIcon;
|
|
95
|
-
quote: LucideIcon;
|
|
96
|
-
orderedList: LucideIcon;
|
|
97
|
-
list: LucideIcon;
|
|
98
|
-
strikeThrough: LucideIcon;
|
|
99
|
-
edit2: LucideIcon;
|
|
100
|
-
chevronDown: LucideIcon;
|
|
101
|
-
mailX: LucideIcon;
|
|
102
|
-
star: LucideIcon;
|
|
103
|
-
menu: LucideIcon;
|
|
104
|
-
verified: LucideIcon;
|
|
105
|
-
attachment: LucideIcon;
|
|
106
|
-
combine: LucideIcon;
|
|
107
|
-
ungroup: LucideIcon;
|
|
108
|
-
hr: LucideIcon;
|
|
109
|
-
downloadCloud: LucideIcon;
|
|
110
|
-
excalidraw: LucideIcon;
|
|
111
|
-
embed: LucideIcon;
|
|
112
|
-
highlight: LucideIcon;
|
|
113
|
-
suggesting: LucideIcon;
|
|
114
|
-
gitHub: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
115
|
-
logo: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
116
|
-
};
|
|
117
|
-
export declare const IconX: ({ name, className, withDefault }: {
|
|
118
|
-
name?: string;
|
|
119
|
-
className?: string;
|
|
120
|
-
withDefault?: boolean;
|
|
121
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
122
|
-
export declare const IconByName: ({ name }: {
|
|
123
|
-
name: string;
|
|
124
|
-
}) => import("react/jsx-runtime").JSX.Element;
|