gomtm 0.0.257 → 0.0.259

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/esm/ly/LayoutBase.js +24 -21
  2. package/dist/esm/validations/spContentModi.d.ts +8 -8
  3. package/dist/esm/validations/spRoute.d.ts +10 -10
  4. package/dist/esm/validations/user.d.ts +6 -6
  5. package/dist/tsconfig.type.tsbuildinfo +1 -1
  6. package/package.json +3 -3
  7. package/dist/esm/curd/CommonListViewV2.backup.d.ts +0 -7
  8. package/dist/esm/curd/CommonListViewV2.backup.js +0 -81
  9. package/dist/esm/curd/CommonListViewV2.d.ts +0 -29
  10. package/dist/esm/curd/CommonListViewV2.js +0 -180
  11. package/dist/esm/curd/curd-detail-page.d.ts +0 -10
  12. package/dist/esm/curd/curd-detail-page.js +0 -17
  13. package/dist/esm/curd/curd-detail.d.ts +0 -7
  14. package/dist/esm/curd/curd-detail.js +0 -63
  15. package/dist/esm/curd/curd.atoms.d.ts +0 -10
  16. package/dist/esm/curd/curd.atoms.js +0 -54
  17. package/dist/esm/curd/dlg/DlgCurdDebugInfo.d.ts +0 -3
  18. package/dist/esm/curd/dlg/DlgCurdDebugInfo.js +0 -24
  19. package/dist/esm/ly/DashLayout.d.ts +0 -2
  20. package/dist/esm/ly/DashLayout.js +0 -39
  21. package/dist/esm/ly--/DashLayout.d.ts +0 -2
  22. package/dist/esm/ly--/DashLayout.js +0 -39
  23. package/dist/esm/ly--/UserAvatorMenus.d.ts +0 -2
  24. package/dist/esm/ly--/UserAvatorMenus.js +0 -63
  25. package/dist/esm/ly--/dash5/aside.d.ts +0 -2
  26. package/dist/esm/ly--/dash5/aside.js +0 -40
  27. package/dist/esm/ly--/dash5/components/PageCreate.d.ts +0 -4
  28. package/dist/esm/ly--/dash5/components/PageCreate.js +0 -8
  29. package/dist/esm/ly--/dash5/components/PageEdit.d.ts +0 -4
  30. package/dist/esm/ly--/dash5/components/PageEdit.js +0 -8
  31. package/dist/esm/ly--/dash5/components/PageList.d.ts +0 -4
  32. package/dist/esm/ly--/dash5/components/PageList.js +0 -9
  33. package/dist/esm/ly--/dash5/components/PageShow.d.ts +0 -4
  34. package/dist/esm/ly--/dash5/components/PageShow.js +0 -8
  35. package/dist/esm/ly--/dash5/header.d.ts +0 -2
  36. package/dist/esm/ly--/dash5/header.js +0 -123
  37. package/dist/esm/ly--/dash5/index.d.ts +0 -2
  38. package/dist/esm/ly--/dash5/index.js +0 -21
  39. package/dist/esm/ly--/front-layout/PageCmds.d.ts +0 -2
  40. package/dist/esm/ly--/front-layout/PageCmds.js +0 -25
  41. package/dist/esm/ly--/front-layout/PageSearchCmd.d.ts +0 -2
  42. package/dist/esm/ly--/front-layout/PageSearchCmd.js +0 -63
  43. package/dist/esm/ly--/front-layout/header.d.ts +0 -2
  44. package/dist/esm/ly--/front-layout/header.js +0 -18
  45. package/dist/esm/ly--/front-layout/index.d.ts +0 -2
  46. package/dist/esm/ly--/front-layout/index.js +0 -13
  47. package/dist/esm/ly--/front-layout/main-nav.d.ts +0 -3
  48. package/dist/esm/ly--/front-layout/main-nav.js +0 -116
  49. package/dist/esm/mtmquery.d.ts +0 -0
  50. package/dist/esm/mtmquery.js +0 -1
  51. package/dist/esm/providers/logger.context.d.ts +0 -10
  52. package/dist/esm/providers/logger.context.js +0 -23
  53. package/dist/esm/store/auth.d.ts +0 -7
  54. package/dist/esm/store/auth.js +0 -35
  55. package/dist/esm/utils.d.ts +0 -1
  56. package/dist/esm/utils.js +0 -5
@@ -13,7 +13,6 @@ import { useHotkeys } from "react-hotkeys-hook";
13
13
  import { Toaster } from "sonner";
14
14
  import { useMtmApp } from "../providers/GomtmProvider";
15
15
  import { Demo1Layout } from "./demo-layout";
16
- import { FrontLayout } from "./front-layout";
17
16
  const ALL_Layouts = [
18
17
  "demo1",
19
18
  "dash5",
@@ -38,26 +37,30 @@ const LzHelloLazyLayout = dynamic(() => import("./Lazy").then((x) => x.HelloLazy
38
37
  });
39
38
  const LayoutBase = (props) => {
40
39
  const { layoutName, children } = props;
41
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(TooltipProvider, { delayDuration: 0, children: [
42
- layoutName == "front" ? /* @__PURE__ */ jsx(FrontLayout, { children }) : layoutName == "dash5" ? /* @__PURE__ */ jsx(LzDash5, { children }) : layoutName == "debug" ? /* @__PURE__ */ jsx(LzDebugLayout, { children }) : (
43
- // layoutName == "demo1" ? <LzDemo>{children}</LzDemo> :
44
- layoutName == "demo1" ? /* @__PURE__ */ jsx(Demo1Layout, { children }) : layoutName == "default" ? /* @__PURE__ */ jsx(Fragment, { children }) : children
45
- ),
46
- /* @__PURE__ */ jsx(
47
- ProgressBar,
48
- {
49
- height: "4px",
50
- color: "#4934eb",
51
- options: { showSpinner: false },
52
- shallowRouting: true
53
- }
54
- ),
55
- /* @__PURE__ */ jsx(ReactQueryDevtools, {}),
56
- /* @__PURE__ */ jsx(Toaster, {}),
57
- /* @__PURE__ */ jsx(TailwindIndicator, {}),
58
- /* @__PURE__ */ jsx(AppMetaRender, {}),
59
- /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(LayoutSwitchDlg, {}) })
60
- ] }) });
40
+ return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(TooltipProvider, {
41
+ delayDuration: 0,
42
+ // layoutName == "front" ? <FrontLayout>{children}</FrontLayout> :
43
+ children: [
44
+ layoutName == "front" ? /* @__PURE__ */ jsx(LzFrontLayout, { children }) : layoutName == "dash5" ? /* @__PURE__ */ jsx(LzDash5, { children }) : layoutName == "debug" ? /* @__PURE__ */ jsx(LzDebugLayout, { children }) : (
45
+ // layoutName == "demo1" ? <LzDemo>{children}</LzDemo> :
46
+ layoutName == "demo1" ? /* @__PURE__ */ jsx(Demo1Layout, { children }) : layoutName == "default" ? /* @__PURE__ */ jsx(Fragment, { children }) : children
47
+ ),
48
+ /* @__PURE__ */ jsx(
49
+ ProgressBar,
50
+ {
51
+ height: "4px",
52
+ color: "#4934eb",
53
+ options: { showSpinner: false },
54
+ shallowRouting: true
55
+ }
56
+ ),
57
+ /* @__PURE__ */ jsx(ReactQueryDevtools, {}),
58
+ /* @__PURE__ */ jsx(Toaster, {}),
59
+ /* @__PURE__ */ jsx(TailwindIndicator, {}),
60
+ /* @__PURE__ */ jsx(AppMetaRender, {}),
61
+ /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(LayoutSwitchDlg, {}) })
62
+ ]
63
+ }) });
61
64
  };
62
65
  const LayoutSwitchDlg = () => {
63
66
  const mtapp = useMtmApp();
@@ -21,17 +21,17 @@ export declare const spContentModiCreateInput: z.ZodObject<{
21
21
  action: z.ZodString;
22
22
  value: z.ZodString;
23
23
  }, "strip", z.ZodTypeAny, {
24
- value: string;
25
24
  action: string;
26
- spRouteId: string;
25
+ value: string;
27
26
  sel: string;
27
+ spRouteId: string;
28
28
  matchContentType: string;
29
29
  title?: string | undefined;
30
30
  }, {
31
- value: string;
32
31
  action: string;
33
- spRouteId: string;
32
+ value: string;
34
33
  sel: string;
34
+ spRouteId: string;
35
35
  matchContentType: string;
36
36
  title?: string | undefined;
37
37
  }>;
@@ -45,18 +45,18 @@ export declare const spContentModiSaveInput: z.ZodObject<{
45
45
  value: z.ZodString;
46
46
  }, "strip", z.ZodTypeAny, {
47
47
  id: string;
48
- value: string;
49
48
  action: string;
50
- spRouteId: string;
49
+ value: string;
51
50
  sel: string;
51
+ spRouteId: string;
52
52
  matchContentType: string;
53
53
  title?: string | undefined;
54
54
  }, {
55
55
  id: string;
56
- value: string;
57
56
  action: string;
58
- spRouteId: string;
57
+ value: string;
59
58
  sel: string;
59
+ spRouteId: string;
60
60
  matchContentType: string;
61
61
  title?: string | undefined;
62
62
  }>;
@@ -21,16 +21,16 @@ export declare const spRouteCreateInput: z.ZodObject<{
21
21
  value: z.ZodString;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  title: string;
24
- value: string;
24
+ spProjectId: string;
25
25
  hostPattern: string;
26
26
  pathPattern: string;
27
- spProjectId: string;
27
+ value: string;
28
28
  }, {
29
29
  title: string;
30
- value: string;
30
+ spProjectId: string;
31
31
  hostPattern: string;
32
32
  pathPattern: string;
33
- spProjectId: string;
33
+ value: string;
34
34
  }>;
35
35
  export type SpRouteSaveInput = z.infer<typeof SpRouteSaveInput>;
36
36
  export declare const SpRouteSaveInput: z.ZodObject<{
@@ -41,17 +41,17 @@ export declare const SpRouteSaveInput: z.ZodObject<{
41
41
  pathPattern: z.ZodString;
42
42
  value: z.ZodString;
43
43
  }, "strip", z.ZodTypeAny, {
44
- title: string;
45
44
  id: string;
46
- value: string;
45
+ title: string;
46
+ spProjectId: string;
47
47
  hostPattern: string;
48
48
  pathPattern: string;
49
- spProjectId: string;
49
+ value: string;
50
50
  }, {
51
- title: string;
52
51
  id: string;
53
- value: string;
52
+ title: string;
53
+ spProjectId: string;
54
54
  hostPattern: string;
55
55
  pathPattern: string;
56
- spProjectId: string;
56
+ value: string;
57
57
  }>;
@@ -40,25 +40,25 @@ export declare const Oauth2LoginResponseSchema: z.ZodObject<{
40
40
  accessToken: z.ZodString;
41
41
  roles: z.ZodArray<z.ZodString, "many">;
42
42
  }, "strip", z.ZodTypeAny, {
43
- id: string;
44
43
  accessToken: string;
45
- roles: string[];
44
+ id: string;
46
45
  userName: string;
46
+ roles: string[];
47
47
  }, {
48
- id: string;
49
48
  accessToken: string;
50
- roles: string[];
49
+ id: string;
51
50
  userName: string;
51
+ roles: string[];
52
52
  }>;
53
53
  export type Oauth2LoginResponse = z.infer<typeof Oauth2LoginResponseSchema>;
54
54
  export declare const MeResponseSchema: z.ZodObject<{
55
55
  userName: z.ZodString;
56
56
  roles: z.ZodArray<z.ZodString, "many">;
57
57
  }, "strip", z.ZodTypeAny, {
58
- roles: string[];
59
58
  userName: string;
60
- }, {
61
59
  roles: string[];
60
+ }, {
62
61
  userName: string;
62
+ roles: string[];
63
63
  }>;
64
64
  export type MeResponse = z.infer<typeof MeResponseSchema>;