maquinaweb-ui 2.62.0 → 2.64.0
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/container-animation.d.ts +2 -2
- package/dist/date-field.d.ts +2 -2
- package/dist/date-hour-field.d.ts +2 -2
- package/dist/input-suggest.d.ts +2 -2
- package/dist/kanban-dnd.d.ts +5 -5
- package/dist/landing-text.d.ts +96 -0
- package/dist/landing-text.d.ts.map +1 -0
- package/dist/landing-text.js +951 -0
- package/dist/landing-text.js.map +1 -0
- package/dist/page-header.d.ts +2 -2
- package/dist/remote-selector.d.ts +3 -3
- package/dist/split-text-poor.d.ts.map +1 -1
- package/dist/text-field.d.ts +5 -5
- package/dist/toggle-field.d.ts +2 -2
- package/package.json +5 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, ElementType } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/container-animation/container-animation.d.ts
|
|
5
5
|
type ContainerAnimationProps<T extends ElementType = 'div'> = ComponentProps<'div'> & ComponentProps<T> & {
|
|
@@ -23,7 +23,7 @@ declare const ContainerAnimation: <T extends ElementType = "div">({
|
|
|
23
23
|
distance,
|
|
24
24
|
hideNotInView,
|
|
25
25
|
...props
|
|
26
|
-
}: ContainerAnimationProps<T>) =>
|
|
26
|
+
}: ContainerAnimationProps<T>) => react_jsx_runtime2.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ContainerAnimation, type ContainerAnimationProps };
|
|
29
29
|
//# sourceMappingURL=container-animation.d.ts.map
|
package/dist/date-field.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldPath, FieldValues, UseControllerProps } from "react-hook-form";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
import { Matcher } from "react-day-picker";
|
|
4
4
|
|
|
5
5
|
//#region src/components/date-field/DateField.d.ts
|
|
@@ -29,7 +29,7 @@ declare function DateField<TFieldValues extends FieldValues = FieldValues, TFiel
|
|
|
29
29
|
required,
|
|
30
30
|
help,
|
|
31
31
|
dateOnly
|
|
32
|
-
}: DateFieldProps<TFieldValues, TFieldName>):
|
|
32
|
+
}: DateFieldProps<TFieldValues, TFieldName>): react_jsx_runtime4.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { DateField, type DateFieldProps };
|
|
35
35
|
//# sourceMappingURL=date-field.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldPath, FieldValues, UseControllerProps } from "react-hook-form";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
import { Matcher } from "react-day-picker";
|
|
4
4
|
|
|
5
5
|
//#region src/components/date-hour-field/DateHourField.d.ts
|
|
@@ -29,7 +29,7 @@ declare function DateHourField<TFieldValues extends FieldValues = FieldValues, T
|
|
|
29
29
|
help,
|
|
30
30
|
hourPlaceholder,
|
|
31
31
|
valueType
|
|
32
|
-
}: DateHourFieldProps<TFieldValues, TFieldName>):
|
|
32
|
+
}: DateHourFieldProps<TFieldValues, TFieldName>): react_jsx_runtime1.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { DateHourField, type DateHourFieldProps };
|
|
35
35
|
//# sourceMappingURL=date-hour-field.d.ts.map
|
package/dist/input-suggest.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as Options, t as Mask } from "./with-mask-BLZS7b9k.js";
|
|
2
2
|
import { FieldPath, FieldValues, UseControllerProps } from "react-hook-form";
|
|
3
3
|
import { Dispatch, SetStateAction } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
5
|
import { PopoverProps } from "@radix-ui/react-popover";
|
|
6
6
|
|
|
7
7
|
//#region src/components/input-suggest/input-suggest.d.ts
|
|
@@ -71,7 +71,7 @@ declare function InputSuggest<TFieldValues extends FieldValues = FieldValues, TF
|
|
|
71
71
|
debounceTime,
|
|
72
72
|
maxWait,
|
|
73
73
|
...props
|
|
74
|
-
}: InputSuggestProps<TFieldValues, TFieldName> & PopoverProps):
|
|
74
|
+
}: InputSuggestProps<TFieldValues, TFieldName> & PopoverProps): react_jsx_runtime3.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { InputSuggest, type InputSuggestProps };
|
|
77
77
|
//# sourceMappingURL=input-suggest.d.ts.map
|
package/dist/kanban-dnd.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dispatch, ReactNode, RefObject, SetStateAction } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/kanban-dnd/types.d.ts
|
|
5
5
|
type KanbanSelectableItem = {
|
|
@@ -94,7 +94,7 @@ declare function KanbanCardItem({
|
|
|
94
94
|
className,
|
|
95
95
|
getSelectedCardIds,
|
|
96
96
|
getSelectableItems
|
|
97
|
-
}: KanbanCardItemProps):
|
|
97
|
+
}: KanbanCardItemProps): react_jsx_runtime16.JSX.Element;
|
|
98
98
|
//#endregion
|
|
99
99
|
//#region src/components/kanban-dnd/kanban-dnd-monitor.d.ts
|
|
100
100
|
declare function KanbanDndMonitor<TColumn>({
|
|
@@ -118,7 +118,7 @@ declare function KanbanDndMonitor<TColumn>({
|
|
|
118
118
|
isAutoScrollEnabled,
|
|
119
119
|
renderIdleLayer,
|
|
120
120
|
className
|
|
121
|
-
}: KanbanDndMonitorProps<TColumn>):
|
|
121
|
+
}: KanbanDndMonitorProps<TColumn>): react_jsx_runtime16.JSX.Element;
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/components/kanban-dnd/kanban-dropzone.d.ts
|
|
124
124
|
declare function KanbanDropZone({
|
|
@@ -126,14 +126,14 @@ declare function KanbanDropZone({
|
|
|
126
126
|
id,
|
|
127
127
|
className,
|
|
128
128
|
isOverClassName
|
|
129
|
-
}: KanbanDropZoneProps):
|
|
129
|
+
}: KanbanDropZoneProps): react_jsx_runtime16.JSX.Element;
|
|
130
130
|
//#endregion
|
|
131
131
|
//#region src/components/kanban-dnd/kanban-selector.d.ts
|
|
132
132
|
declare function KanbanSelector({
|
|
133
133
|
dragAreaId,
|
|
134
134
|
autoScrollMargin,
|
|
135
135
|
ignoredSlots
|
|
136
|
-
}: KanbanSelectorProps):
|
|
136
|
+
}: KanbanSelectorProps): react_jsx_runtime16.JSX.Element | null;
|
|
137
137
|
//#endregion
|
|
138
138
|
//#region src/components/kanban-dnd/move-cards.d.ts
|
|
139
139
|
type MoveCardsResolvers<TColumn, TCard> = {
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ElementType, HTMLAttributes } from "react";
|
|
2
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
3
|
+
import "server-only";
|
|
4
|
+
|
|
5
|
+
//#region src/components/landing-text/landing-content.d.ts
|
|
6
|
+
type LandingPageKey = string;
|
|
7
|
+
type LandingContentName = `${string}.${string}.${string}`;
|
|
8
|
+
interface LandingContentDefinitionItem {
|
|
9
|
+
contentKey: string;
|
|
10
|
+
value: string;
|
|
11
|
+
metadata?: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
interface LandingContentDefinitionSection {
|
|
14
|
+
sectionKey: string;
|
|
15
|
+
contents: LandingContentDefinitionItem[];
|
|
16
|
+
}
|
|
17
|
+
interface LandingPageContentDefinition {
|
|
18
|
+
pageKey: string;
|
|
19
|
+
sections: LandingContentDefinitionSection[];
|
|
20
|
+
}
|
|
21
|
+
interface LandingPageContentApiItem {
|
|
22
|
+
page_key: string;
|
|
23
|
+
section_key: string;
|
|
24
|
+
content_key: string;
|
|
25
|
+
value: string;
|
|
26
|
+
metadata?: Record<string, unknown>;
|
|
27
|
+
}
|
|
28
|
+
interface ResolvedLandingContentItem {
|
|
29
|
+
pageKey: string;
|
|
30
|
+
sectionKey: string;
|
|
31
|
+
contentKey: string;
|
|
32
|
+
value: string;
|
|
33
|
+
defaultValue: string;
|
|
34
|
+
metadata: Record<string, unknown>;
|
|
35
|
+
}
|
|
36
|
+
interface ResolvedLandingPageContent {
|
|
37
|
+
pageKey: string;
|
|
38
|
+
editable: boolean;
|
|
39
|
+
contents: Record<string, ResolvedLandingContentItem>;
|
|
40
|
+
}
|
|
41
|
+
declare function setLandingPageDefaults(defaults: Record<LandingPageKey, LandingPageContentDefinition>): void;
|
|
42
|
+
declare function buildContentId(sectionKey: string, contentKey: string): string;
|
|
43
|
+
declare function getLandingPageContent(pageKey: LandingPageKey): Promise<ResolvedLandingPageContent>;
|
|
44
|
+
declare const getLandingPageContentCached: (pageKey: LandingPageKey) => Promise<ResolvedLandingPageContent>;
|
|
45
|
+
declare function parseLandingContentName(name: string): {
|
|
46
|
+
pageKey: string;
|
|
47
|
+
sectionKey: string;
|
|
48
|
+
contentKey: string;
|
|
49
|
+
} | null;
|
|
50
|
+
declare function getLandingContentItem(content: ResolvedLandingPageContent, sectionKey: string, contentKey: string): ResolvedLandingContentItem;
|
|
51
|
+
declare function getLandingContentByName(name: LandingContentName): Promise<{
|
|
52
|
+
editable: boolean;
|
|
53
|
+
item: ResolvedLandingContentItem;
|
|
54
|
+
}>;
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/components/landing-text/server-landing-text.d.ts
|
|
57
|
+
interface LandingTextRegistration {
|
|
58
|
+
pageKey: string;
|
|
59
|
+
sectionKey: string;
|
|
60
|
+
contentKey: string;
|
|
61
|
+
}
|
|
62
|
+
interface ServerLandingTextProps extends HTMLAttributes<HTMLElement> {
|
|
63
|
+
as?: ElementType;
|
|
64
|
+
value: string;
|
|
65
|
+
registration?: LandingTextRegistration;
|
|
66
|
+
}
|
|
67
|
+
declare function ServerLandingText({
|
|
68
|
+
as: As,
|
|
69
|
+
value,
|
|
70
|
+
className,
|
|
71
|
+
registration,
|
|
72
|
+
...props
|
|
73
|
+
}: ServerLandingTextProps): react_jsx_runtime10.JSX.Element;
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region src/components/landing-text/landing-text.d.ts
|
|
76
|
+
interface LandingTextItem extends LandingTextRegistration {
|
|
77
|
+
value: string;
|
|
78
|
+
defaultValue: string;
|
|
79
|
+
metadata: Record<string, unknown>;
|
|
80
|
+
}
|
|
81
|
+
interface LandingTextBaseProps {
|
|
82
|
+
className?: string;
|
|
83
|
+
as?: 'p' | 'span' | 'h1' | 'h2' | 'h3' | 'div';
|
|
84
|
+
}
|
|
85
|
+
interface LandingTextWithItemProps extends LandingTextBaseProps {
|
|
86
|
+
item: LandingTextItem;
|
|
87
|
+
editable: boolean;
|
|
88
|
+
}
|
|
89
|
+
interface LandingTextWithNameProps extends LandingTextBaseProps {
|
|
90
|
+
name: LandingContentName;
|
|
91
|
+
}
|
|
92
|
+
type LandingTextProps = LandingTextWithItemProps | LandingTextWithNameProps;
|
|
93
|
+
declare function LandingText(props: LandingTextProps): Promise<react_jsx_runtime10.JSX.Element>;
|
|
94
|
+
//#endregion
|
|
95
|
+
export { type LandingContentDefinitionItem, type LandingContentDefinitionSection, type LandingContentName, type LandingPageContentApiItem, type LandingPageContentDefinition, type LandingPageKey, LandingText, type LandingTextItem, type LandingTextProps, type LandingTextRegistration, type ResolvedLandingContentItem, type ResolvedLandingPageContent, ServerLandingText, type ServerLandingTextProps, buildContentId, getLandingContentByName, getLandingContentItem, getLandingPageContent, getLandingPageContentCached, parseLandingContentName, setLandingPageDefaults };
|
|
96
|
+
//# sourceMappingURL=landing-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"landing-text.d.ts","names":[],"sources":["../src/components/landing-text/landing-content.ts","../src/components/landing-text/server-landing-text.tsx","../src/components/landing-text/landing-text.tsx"],"sourcesContent":[],"mappings":";;;;;KAKY,cAAA;KACA,kBAAA;UAEK,4BAAA;;EA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