mtxuilib 0.0.511 → 0.0.512
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/dist/esm/__registry__/index.js +1 -1
- package/dist/esm/form/MtFormPopupHolder.d.ts +1 -3
- package/dist/esm/form/SchemaFormView.d.ts +1 -1
- package/dist/esm/lib/blocks.d.ts +1 -1
- package/dist/esm/lib/trpc/TrpcAppProvider.d.ts +1 -1
- package/dist/esm/registry/blocks.d.ts +1 -1
- package/dist/esm/registry/default/example/card-demo.d.ts +1 -1
- package/dist/esm/registry/default/example/slider-demo.d.ts +1 -1
- package/dist/esm/registry/default/ui/carousel.d.ts +2 -2
- package/dist/esm/registry/default/ui/pagination.d.ts +1 -1
- package/dist/esm/registry/default/ui/use-toast.d.ts +1 -1
- package/dist/esm/registry/examples.d.ts +1 -1
- package/dist/esm/registry/new-york/example/card-demo.d.ts +1 -1
- package/dist/esm/registry/new-york/example/slider-demo.d.ts +1 -1
- package/dist/esm/registry/new-york/ui/carousel.d.ts +2 -2
- package/dist/esm/registry/new-york/ui/pagination.d.ts +1 -1
- package/dist/esm/registry/new-york/ui/use-toast.d.ts +1 -1
- package/dist/esm/registry/registry.d.ts +1 -1
- package/dist/esm/registry/ui.d.ts +1 -1
- package/dist/esm/webpack/webpack-clibin/webpack/webpack.config.dev.d.cts +1 -1
- package/dist/esm/webpack/webpack-clibin/webpack/webpack.plugins.d.cts +1 -1
- package/dist/esm/webpack/webpack-clibin/webpack.config.d.cts +1 -1
- package/dist/tsconfig.type.tsbuildinfo +1 -1
- package/package.json +1 -2
- package/dist/esm/components/ListItem.d.ts +0 -6
- package/dist/esm/components/ListItem.js +0 -1
- package/dist/esm/components/MtUnaryCallErrorView.d.ts +0 -7
- package/dist/esm/components/MtUnaryCallErrorView.js +0 -1
- package/dist/esm/components/PageCmds.d.ts +0 -2
- package/dist/esm/components/PageCmds.js +0 -1
- package/dist/esm/components/PageSearchCmd.d.ts +0 -2
- package/dist/esm/components/PageSearchCmd.js +0 -1
- package/dist/esm/components/PostCard.d.ts +0 -5
- package/dist/esm/components/PostCard.js +0 -1
- package/dist/esm/components/auth/AuthPage.d.ts +0 -2
- package/dist/esm/components/auth/AuthPage.js +0 -1
- package/dist/esm/components/auth/LoginScreen2.d.ts +0 -2
- package/dist/esm/components/auth/LoginScreen2.js +0 -1
- package/dist/esm/components/auth/UserAuthForm.d.ts +0 -6
- package/dist/esm/components/auth/UserAuthForm.js +0 -1
- package/dist/esm/components/blog/BlogPostActions.d.ts +0 -4
- package/dist/esm/components/blog/BlogPostActions.js +0 -1
- package/dist/esm/components/blog/BlogPostCreateForm.d.ts +0 -2
- package/dist/esm/components/blog/BlogPostCreateForm.js +0 -1
- package/dist/esm/components/blog/BlogPostImportDlgUrl.d.ts +0 -6
- package/dist/esm/components/blog/BlogPostImportDlgUrl.js +0 -1
- package/dist/esm/components/blog/BlogPostList.d.ts +0 -2
- package/dist/esm/components/blog/BlogPostList.js +0 -1
- package/dist/esm/components/blog/PostCard.d.ts +0 -5
- package/dist/esm/components/blog/PostCard.js +0 -1
- package/dist/esm/components/blog/PostEditForm.d.ts +0 -2
- package/dist/esm/components/blog/PostEditForm.js +0 -1
- package/dist/esm/components/blog/post-content.d.ts +0 -5
- package/dist/esm/components/blog/post-content.js +0 -1
- package/dist/esm/components/blog/post.atoms.d.ts +0 -11
- package/dist/esm/components/blog/post.atoms.js +0 -1
- package/dist/esm/curd/CommonListViewV2.d.ts +0 -12
- package/dist/esm/curd/CommonListViewV2.js +0 -1
- package/dist/esm/curd/CreateFormV2.d.ts +0 -17
- package/dist/esm/curd/CreateFormV2.js +0 -1
- package/dist/esm/curd/CurdViewView.d.ts +0 -65
- package/dist/esm/curd/CurdViewView.js +0 -1
- package/dist/esm/curd/curd-detail.d.ts +0 -3
- package/dist/esm/curd/curd-detail.js +0 -1
- package/dist/esm/curd/toolbar-buttons.d.ts +0 -3
- package/dist/esm/curd/toolbar-buttons.js +0 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PlainMessage } from "@bufbuild/protobuf";
|
|
3
|
-
import { FormSchema } from "gomtm/gomtmpb/mtm/sppb/mtm_pb";
|
|
4
2
|
import { Renderable } from "../lib/render";
|
|
5
3
|
import { MaybePromise } from "../types/common";
|
|
6
4
|
type submitHandler = (values: any) => MaybePromise<void>;
|
|
7
5
|
export declare const usePopupForm: () => {
|
|
8
|
-
openSchemaForm: (schema:
|
|
6
|
+
openSchemaForm: (schema: FormSchema, values: any, onSutmit: submitHandler) => void;
|
|
9
7
|
setOpen: (args_0: boolean | ((prev: boolean) => boolean)) => void;
|
|
10
8
|
openComponent: (rand: Renderable<any>) => void;
|
|
11
9
|
};
|
|
@@ -4,7 +4,7 @@ import { FormSchema } from "gomtm/gomtmpb/mtm/sppb/mtm_pb";
|
|
|
4
4
|
import { MaybePromise } from "../types/common";
|
|
5
5
|
type SchemaFormViewVaranit = "auto" | "modal" | "card";
|
|
6
6
|
export declare const SchemaFormView: (props: {
|
|
7
|
-
formSchema?:
|
|
7
|
+
formSchema?: any;
|
|
8
8
|
defaultValues?: any;
|
|
9
9
|
onSubmit: (values: any) => MaybePromise<void>;
|
|
10
10
|
onCancel?: (() => void) | undefined;
|
package/dist/esm/lib/blocks.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const useMtmBackendUrl: () => string | null | undefined;
|
|
|
18
18
|
export declare const useHostname: () => string;
|
|
19
19
|
export declare const useExtInfo: () => (key: string) => string | null | undefined;
|
|
20
20
|
export declare const useToken: () => {
|
|
21
|
-
token:
|
|
21
|
+
token: any;
|
|
22
22
|
setToken: (newToken: string) => void;
|
|
23
23
|
};
|
|
24
24
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Registry } from "
|
|
1
|
+
import { Registry } from "@/registry/schema";
|
|
2
2
|
export declare const blocks: Registry;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Card } from "
|
|
2
|
+
import { Card } from "@/registry/default/ui/card";
|
|
3
3
|
type CardProps = React.ComponentProps<typeof Card>;
|
|
4
4
|
export default function CardDemo({ className, ...props }: CardProps): import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Slider } from "
|
|
2
|
+
import { Slider } from "@/registry/default/ui/slider";
|
|
3
3
|
type SliderProps = React.ComponentProps<typeof Slider>;
|
|
4
4
|
export default function SliderDemo({ className, ...props }: SliderProps): import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -14,6 +14,6 @@ type CarouselProps = {
|
|
|
14
14
|
declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import("
|
|
18
|
-
declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import("
|
|
17
|
+
declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import("@/registry/default/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
+
declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import("@/registry/default/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
19
|
export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react/experimental" />
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { ButtonProps } from "
|
|
3
|
+
import { ButtonProps } from "@/registry/default/ui/button";
|
|
4
4
|
declare const Pagination: {
|
|
5
5
|
({ className, ...props }: React.ComponentProps<"nav">): React.JSX.Element;
|
|
6
6
|
displayName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { ToastActionElement, ToastProps } from "
|
|
2
|
+
import type { ToastActionElement, ToastProps } from "@/registry/default/ui/toast";
|
|
3
3
|
type ToasterToast = ToastProps & {
|
|
4
4
|
id: string;
|
|
5
5
|
title?: React.ReactNode;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Registry } from "
|
|
1
|
+
import { Registry } from "@/registry/schema";
|
|
2
2
|
export declare const examples: Registry;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Card } from "
|
|
2
|
+
import { Card } from "@/registry/new-york/ui/card";
|
|
3
3
|
type CardProps = React.ComponentProps<typeof Card>;
|
|
4
4
|
export default function CardDemo({ className, ...props }: CardProps): import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Slider } from "
|
|
2
|
+
import { Slider } from "@/registry/new-york/ui/slider";
|
|
3
3
|
type SliderProps = React.ComponentProps<typeof Slider>;
|
|
4
4
|
export default function SliderDemo({ className, ...props }: SliderProps): import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -14,6 +14,6 @@ type CarouselProps = {
|
|
|
14
14
|
declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import("
|
|
18
|
-
declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import("
|
|
17
|
+
declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import("@/registry/new-york/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
+
declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import("@/registry/new-york/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
19
|
export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react/experimental" />
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { ButtonProps } from "
|
|
3
|
+
import { ButtonProps } from "@/registry/new-york/ui/button";
|
|
4
4
|
declare const Pagination: {
|
|
5
5
|
({ className, ...props }: React.ComponentProps<"nav">): React.JSX.Element;
|
|
6
6
|
displayName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { ToastActionElement, ToastProps } from "
|
|
2
|
+
import type { ToastActionElement, ToastProps } from "@/registry/new-york/ui/toast";
|
|
3
3
|
type ToasterToast = ToastProps & {
|
|
4
4
|
id: string;
|
|
5
5
|
title?: React.ReactNode;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Registry } from "
|
|
1
|
+
import { Registry } from "@/registry/schema";
|
|
2
2
|
export declare const registry: Registry;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Registry } from "
|
|
1
|
+
import { Registry } from "@/registry/schema";
|
|
2
2
|
export declare const ui: Registry;
|
|
@@ -7,7 +7,7 @@ export namespace output {
|
|
|
7
7
|
let filename: string;
|
|
8
8
|
let chunkFilename: string;
|
|
9
9
|
}
|
|
10
|
-
export let plugins: import("
|
|
10
|
+
export let plugins: import("webpack").BannerPlugin[];
|
|
11
11
|
export namespace resolve {
|
|
12
12
|
let extensions: string[];
|
|
13
13
|
let alias: any;
|