@moser-inc/moser-labs-react 7.3.0 → 7.3.1
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/index.d.ts +27 -27
- package/dist/index.js +23 -23
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ declare const LabsCalendarBase: {
|
|
|
56
56
|
declare const LabsCalendar: <TMode extends CalendarSelectionMode = "single", TValue = (TMode extends "multiple" ? Date[] : TMode extends "range" ? (Date | null)[] : Date)>(props: LabsCalendarProps<TMode, TValue> & react.RefAttributes<Calendar<TMode, TValue>>) => React.ReactElement | null;
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/components/LabsFieldContainer.d.ts
|
|
59
|
-
interface
|
|
59
|
+
interface LabsFieldContainerProps {
|
|
60
60
|
id: string;
|
|
61
61
|
containerId?: string;
|
|
62
62
|
labelId?: string;
|
|
@@ -69,7 +69,7 @@ interface FieldContainerProps {
|
|
|
69
69
|
className?: string;
|
|
70
70
|
children?: ReactNode;
|
|
71
71
|
}
|
|
72
|
-
declare const
|
|
72
|
+
declare const LabsFieldContainer: ({
|
|
73
73
|
id,
|
|
74
74
|
containerId,
|
|
75
75
|
labelId,
|
|
@@ -81,10 +81,10 @@ declare const FieldContainer: ({
|
|
|
81
81
|
animation,
|
|
82
82
|
children,
|
|
83
83
|
...rest
|
|
84
|
-
}:
|
|
84
|
+
}: LabsFieldContainerProps) => react_jsx_runtime0.JSX.Element;
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/components/LabsCheckbox.d.ts
|
|
87
|
-
type FieldProps$6 = Partial<CheckboxProps> &
|
|
87
|
+
type FieldProps$6 = Partial<CheckboxProps> & LabsFieldContainerProps;
|
|
88
88
|
type LabsCheckboxProps = FieldProps$6;
|
|
89
89
|
declare const LabsCheckbox: {
|
|
90
90
|
(props: LabsCheckboxProps): react_jsx_runtime0.JSX.Element;
|
|
@@ -92,13 +92,13 @@ declare const LabsCheckbox: {
|
|
|
92
92
|
};
|
|
93
93
|
//#endregion
|
|
94
94
|
//#region src/components/LabsFieldContainerInput.d.ts
|
|
95
|
-
interface
|
|
95
|
+
interface LabsFieldContainerInputProps extends LabsFieldContainerProps {
|
|
96
96
|
solo?: boolean;
|
|
97
97
|
floatLabel?: boolean;
|
|
98
98
|
prependIcon?: string;
|
|
99
99
|
appendIcon?: string;
|
|
100
100
|
}
|
|
101
|
-
declare const
|
|
101
|
+
declare const LabsFieldContainerInput: ({
|
|
102
102
|
id,
|
|
103
103
|
containerId,
|
|
104
104
|
labelId,
|
|
@@ -114,10 +114,10 @@ declare const FieldContainerInput: ({
|
|
|
114
114
|
className,
|
|
115
115
|
children,
|
|
116
116
|
...rest
|
|
117
|
-
}:
|
|
117
|
+
}: LabsFieldContainerInputProps) => react_jsx_runtime0.JSX.Element;
|
|
118
118
|
//#endregion
|
|
119
119
|
//#region src/components/LabsDate.d.ts
|
|
120
|
-
type FieldProps$5<TMode extends CalendarSelectionMode = 'single', TValue = (TMode extends 'multiple' ? Date[] : TMode extends 'range' ? (Date | null)[] : Date)> = LabsCalendarProps<TMode, TValue> &
|
|
120
|
+
type FieldProps$5<TMode extends CalendarSelectionMode = 'single', TValue = (TMode extends 'multiple' ? Date[] : TMode extends 'range' ? (Date | null)[] : Date)> = LabsCalendarProps<TMode, TValue> & LabsFieldContainerInputProps;
|
|
121
121
|
type LabsDateProps<TMode extends CalendarSelectionMode = 'single', TValue = (TMode extends 'multiple' ? Date[] : TMode extends 'range' ? (Date | null)[] : Date)> = FieldProps$5<TMode, TValue>;
|
|
122
122
|
declare const LabsDate: <TMode extends CalendarSelectionMode = "single", TValue = (TMode extends "multiple" ? Date[] : TMode extends "range" ? (Date | null)[] : Date)>(props: LabsDateProps<TMode, TValue>) => react_jsx_runtime0.JSX.Element;
|
|
123
123
|
//#endregion
|
|
@@ -136,14 +136,14 @@ declare const LabsEmpty: ({
|
|
|
136
136
|
//#endregion
|
|
137
137
|
//#region src/components/LabsFieldContainerHint.d.ts
|
|
138
138
|
type BaseProps = Omit<ComponentProps<typeof motion.span>, 'children'>;
|
|
139
|
-
interface
|
|
139
|
+
interface LabsFieldContainerHintProps extends BaseProps {
|
|
140
140
|
id: string;
|
|
141
141
|
hintId?: string;
|
|
142
142
|
hint?: string;
|
|
143
143
|
solo?: boolean;
|
|
144
144
|
children?: ReactNode;
|
|
145
145
|
}
|
|
146
|
-
declare const
|
|
146
|
+
declare const LabsFieldContainerHint: ({
|
|
147
147
|
id,
|
|
148
148
|
hintId,
|
|
149
149
|
hint,
|
|
@@ -151,16 +151,16 @@ declare const FieldContainerHint: ({
|
|
|
151
151
|
children,
|
|
152
152
|
className,
|
|
153
153
|
...rest
|
|
154
|
-
}:
|
|
154
|
+
}: LabsFieldContainerHintProps) => react_jsx_runtime0.JSX.Element | null;
|
|
155
155
|
//#endregion
|
|
156
156
|
//#region src/components/LabsFieldContainerLabel.d.ts
|
|
157
|
-
interface
|
|
157
|
+
interface LabsFieldContainerLabelProps extends ComponentProps<typeof motion.label> {
|
|
158
158
|
id: string;
|
|
159
159
|
labelId?: string;
|
|
160
160
|
label?: string;
|
|
161
161
|
solo?: boolean;
|
|
162
162
|
}
|
|
163
|
-
declare const
|
|
163
|
+
declare const LabsFieldContainerLabel: ({
|
|
164
164
|
id,
|
|
165
165
|
labelId,
|
|
166
166
|
label,
|
|
@@ -168,16 +168,16 @@ declare const FieldContainerLabel: ({
|
|
|
168
168
|
children,
|
|
169
169
|
className,
|
|
170
170
|
...rest
|
|
171
|
-
}:
|
|
171
|
+
}: LabsFieldContainerLabelProps) => react_jsx_runtime0.JSX.Element | null;
|
|
172
172
|
//#endregion
|
|
173
173
|
//#region src/components/LabsFieldContainerMessage.d.ts
|
|
174
|
-
interface
|
|
174
|
+
interface LabsFieldContainerMessageProps extends ComponentProps<typeof motion.span> {
|
|
175
175
|
id: string;
|
|
176
176
|
messageId?: string;
|
|
177
177
|
message?: string;
|
|
178
178
|
solo?: boolean;
|
|
179
179
|
}
|
|
180
|
-
declare const
|
|
180
|
+
declare const LabsFieldContainerMessage: ({
|
|
181
181
|
id,
|
|
182
182
|
messageId,
|
|
183
183
|
message,
|
|
@@ -185,7 +185,7 @@ declare const FieldContainerMessage: ({
|
|
|
185
185
|
children,
|
|
186
186
|
className,
|
|
187
187
|
...rest
|
|
188
|
-
}:
|
|
188
|
+
}: LabsFieldContainerMessageProps) => react_jsx_runtime0.JSX.Element;
|
|
189
189
|
//#endregion
|
|
190
190
|
//#region src/components/LabsLoader.d.ts
|
|
191
191
|
interface LabsLoaderProps extends ProgressSpinnerProps {
|
|
@@ -334,7 +334,7 @@ interface LabsMultiSelectOption<T = unknown> {
|
|
|
334
334
|
disabled?: boolean;
|
|
335
335
|
items?: LabsMultiSelectOption<T>[];
|
|
336
336
|
}
|
|
337
|
-
type FieldProps$4 = Partial<MultiSelectProps> &
|
|
337
|
+
type FieldProps$4 = Partial<MultiSelectProps> & LabsFieldContainerInputProps;
|
|
338
338
|
type LabsMultiSelectChangeEvent<TValue> = Omit<MultiSelectChangeEvent, 'value' | 'selectedOption'> & {
|
|
339
339
|
value: TValue[];
|
|
340
340
|
selectedOption: LabsMultiSelectOption<TValue>;
|
|
@@ -356,7 +356,7 @@ interface LabsSelectOption<T = unknown> {
|
|
|
356
356
|
disabled?: boolean;
|
|
357
357
|
items?: LabsSelectOption<T>[];
|
|
358
358
|
}
|
|
359
|
-
type FieldProps$3 = Partial<DropdownProps> &
|
|
359
|
+
type FieldProps$3 = Partial<DropdownProps> & LabsFieldContainerInputProps;
|
|
360
360
|
interface LabsSelectProps<TValue extends string | number> extends FieldProps$3 {
|
|
361
361
|
value?: TValue;
|
|
362
362
|
options?: LabsSelectOption<TValue>[];
|
|
@@ -374,7 +374,7 @@ interface LabsSelectCascadeOption<T = unknown> {
|
|
|
374
374
|
disabled?: boolean;
|
|
375
375
|
items?: LabsSelectCascadeOption<T>[];
|
|
376
376
|
}
|
|
377
|
-
type FieldProps$2 = Partial<CascadeSelectProps> &
|
|
377
|
+
type FieldProps$2 = Partial<CascadeSelectProps> & LabsFieldContainerInputProps;
|
|
378
378
|
type LabsSelectCascadeChangeEvent<TValue> = Omit<CascadeSelectChangeEvent, 'value'> & {
|
|
379
379
|
value: TValue;
|
|
380
380
|
};
|
|
@@ -386,24 +386,24 @@ interface LabsSelectCascadeProps<TValue extends string | number> extends FieldPr
|
|
|
386
386
|
declare const LabsSelectCascade: <TValue extends string | number>(props: LabsSelectCascadeProps<TValue>) => react_jsx_runtime0.JSX.Element;
|
|
387
387
|
//#endregion
|
|
388
388
|
//#region src/components/LabsText.d.ts
|
|
389
|
-
type FieldProps$1 = Partial<InputTextProps> &
|
|
389
|
+
type FieldProps$1 = Partial<InputTextProps> & LabsFieldContainerInputProps;
|
|
390
390
|
type LabsTextProps = FieldProps$1;
|
|
391
391
|
type LabsTextElement = HTMLInputElement;
|
|
392
|
-
declare const LabsText: react.ForwardRefExoticComponent<Partial<InputTextProps> &
|
|
392
|
+
declare const LabsText: react.ForwardRefExoticComponent<Partial<InputTextProps> & LabsFieldContainerInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
393
393
|
//#endregion
|
|
394
394
|
//#region src/components/LabsTextCurrency.d.ts
|
|
395
395
|
type LabsTextCurrencyProps = LabsTextProps;
|
|
396
|
-
declare const LabsTextCurrency: react.ForwardRefExoticComponent<Partial<primereact_inputtext0.InputTextProps> &
|
|
396
|
+
declare const LabsTextCurrency: react.ForwardRefExoticComponent<Partial<primereact_inputtext0.InputTextProps> & LabsFieldContainerInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
397
397
|
//#endregion
|
|
398
398
|
//#region src/components/LabsTextSearch.d.ts
|
|
399
399
|
type LabsTextSearchProps = LabsTextProps;
|
|
400
|
-
declare const LabsTextSearch: react.ForwardRefExoticComponent<Partial<primereact_inputtext0.InputTextProps> &
|
|
400
|
+
declare const LabsTextSearch: react.ForwardRefExoticComponent<Partial<primereact_inputtext0.InputTextProps> & LabsFieldContainerInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
401
401
|
//#endregion
|
|
402
402
|
//#region src/components/LabsTextarea.d.ts
|
|
403
|
-
type FieldProps = Partial<InputTextareaProps> &
|
|
403
|
+
type FieldProps = Partial<InputTextareaProps> & LabsFieldContainerInputProps;
|
|
404
404
|
type LabsTextareaProps = FieldProps;
|
|
405
405
|
type LabsTextareaElement = HTMLTextAreaElement;
|
|
406
|
-
declare const LabsTextarea: react.ForwardRefExoticComponent<Partial<InputTextareaProps> &
|
|
406
|
+
declare const LabsTextarea: react.ForwardRefExoticComponent<Partial<InputTextareaProps> & LabsFieldContainerInputProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
407
407
|
//#endregion
|
|
408
408
|
//#region src/components/LabsToggle.d.ts
|
|
409
409
|
interface LabsToggleProps {
|
|
@@ -21041,4 +21041,4 @@ declare const toLabsTextareaProps: <TValues extends FieldValues = FieldValues, T
|
|
|
21041
21041
|
name: TName;
|
|
21042
21042
|
};
|
|
21043
21043
|
//#endregion
|
|
21044
|
-
export { ControllerRenderParams, DEFAULT_TRANSITION, DEFAULT_TRANSITION_MS, DEFAULT_TRANSITION_SECONDS, DirectoryValueBase,
|
|
21044
|
+
export { ControllerRenderParams, DEFAULT_TRANSITION, DEFAULT_TRANSITION_MS, DEFAULT_TRANSITION_SECONDS, DirectoryValueBase, KeycloakUser, LABS_MAIN_ID, LabsAnalyticsContext, LabsAnalyticsInstance, LabsAnalyticsProvider, LabsAnalyticsProviderProps, LabsAuthContext, LabsAuthContextValue, LabsAuthGate, LabsAuthGateProps, LabsAuthProvider, LabsAuthProviderProps, LabsButton, LabsButtonProps, LabsCalendar, LabsCalendarBase, LabsCalendarProps, LabsCheckbox, LabsCheckboxProps, LabsContext, LabsContextValue, LabsDate, LabsDateProps, LabsEmpty, LabsEmptyProps, LabsFieldContainer, LabsFieldContainerHint, LabsFieldContainerHintProps, LabsFieldContainerInput, LabsFieldContainerInputProps, LabsFieldContainerLabel, LabsFieldContainerLabelProps, LabsFieldContainerMessage, LabsFieldContainerMessageProps, LabsFieldContainerProps, LabsHeadProvider, LabsHeadProviderProps, LabsLoader, LabsLoaderProps, LabsLogoutTimer, LabsLogoutTimerProps, LabsMain, LabsMainDesktopNav, LabsMainDesktopNavProps, LabsMainHeader, LabsMainHeaderActions, LabsMainHeaderProps, LabsMainMobileNav, LabsMainMobileNavProps, LabsMainProps, LabsMenuNav, LabsMenuNavProps, LabsMultiSelect, LabsMultiSelectChangeEvent, LabsMultiSelectOption, LabsMultiSelectProps, LabsPrimeProvider, LabsPrimeProviderProps, LabsProvider, LabsProviderProps, LabsSelect, LabsSelectCascade, LabsSelectCascadeOption, LabsSelectCascadeProps, LabsSelectOption, LabsSelectProps, LabsSpeedDialNav, LabsSpeedDialNavProps, LabsText, LabsTextCurrency, LabsTextCurrencyProps, LabsTextElement, LabsTextProps, LabsTextSearch, LabsTextSearchProps, LabsTextarea, LabsTextareaElement, LabsTextareaProps, LabsToggle, LabsToggleProps, LayoutBase, LayoutBaseProps, LayoutCentered, LayoutCenteredProps, LayoutMain, LayoutMainProps, Role, VERSION, auth, fadeAnimation, getParsedUserInfo, pluralize, refreshToken, scaleFadeAnimation, scaleFadeSubtleAnimation, slideYFadeAnimation, slideYFadeReverseAnimation, toCurrency, toFieldContainerProps, toLabsCheckboxProps, toLabsDateProps, toLabsMultiSelectProps, toLabsSelectCascadeProps, toLabsSelectProps, toLabsTextCurrencyProps, toLabsTextProps, toLabsTextSearchProps, toLabsTextareaProps, toPrecision, useAnalytics, useAuth, useBreakpoints, useLabs, withAuthHeader };
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ import { InputTextarea } from "primereact/inputtextarea";
|
|
|
29
29
|
import { Panel } from "primereact/panel";
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/constants/app.ts
|
|
32
|
-
const VERSION = "7.3.
|
|
32
|
+
const VERSION = "7.3.1";
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/lib/head/headContext.tsx
|
|
35
35
|
const head = createHead();
|
|
@@ -353,7 +353,7 @@ const toFieldSharedProps = (fieldProps) => {
|
|
|
353
353
|
};
|
|
354
354
|
//#endregion
|
|
355
355
|
//#region src/components/LabsFieldContainerHint.tsx
|
|
356
|
-
const
|
|
356
|
+
const LabsFieldContainerHint = ({ id, hintId = `${id}-hint`, hint, solo = false, children = hint, className, ...rest }) => {
|
|
357
357
|
if (!children) return null;
|
|
358
358
|
return /* @__PURE__ */ jsx(motion.span, {
|
|
359
359
|
id: hintId,
|
|
@@ -364,7 +364,7 @@ const FieldContainerHint = ({ id, hintId = `${id}-hint`, hint, solo = false, chi
|
|
|
364
364
|
};
|
|
365
365
|
//#endregion
|
|
366
366
|
//#region src/components/LabsFieldContainerLabel.tsx
|
|
367
|
-
const
|
|
367
|
+
const LabsFieldContainerLabel = ({ id, labelId = `${id}-label`, label, solo = false, children = label, className, ...rest }) => {
|
|
368
368
|
if (!children) return null;
|
|
369
369
|
return /* @__PURE__ */ jsx(motion.label, {
|
|
370
370
|
id: labelId,
|
|
@@ -499,7 +499,7 @@ const scaleFadeSubtleAnimation = {
|
|
|
499
499
|
};
|
|
500
500
|
//#endregion
|
|
501
501
|
//#region src/components/LabsFieldContainerMessage.tsx
|
|
502
|
-
const
|
|
502
|
+
const LabsFieldContainerMessage = ({ id, messageId = `${id}-message`, message, solo = false, children = message, className, ...rest }) => {
|
|
503
503
|
return /* @__PURE__ */ jsx(AnimatePresence, {
|
|
504
504
|
mode: "wait",
|
|
505
505
|
children: children ? /* @__PURE__ */ jsx(motion.span, {
|
|
@@ -515,26 +515,26 @@ const FieldContainerMessage = ({ id, messageId = `${id}-message`, message, solo
|
|
|
515
515
|
};
|
|
516
516
|
//#endregion
|
|
517
517
|
//#region src/components/LabsFieldContainer.tsx
|
|
518
|
-
const
|
|
518
|
+
const LabsFieldContainer = ({ id, containerId = `${id}-container`, labelId = `${id}-label`, messageId = `${id}-message`, hintId = `${id}-hint`, label, message, hint, animation, children, ...rest }) => {
|
|
519
519
|
return /* @__PURE__ */ jsxs(motion.div, {
|
|
520
520
|
id: containerId,
|
|
521
521
|
...animation,
|
|
522
522
|
...rest,
|
|
523
523
|
children: [
|
|
524
|
-
/* @__PURE__ */ jsx(
|
|
524
|
+
/* @__PURE__ */ jsx(LabsFieldContainerLabel, {
|
|
525
525
|
id,
|
|
526
526
|
labelId,
|
|
527
527
|
label,
|
|
528
528
|
className: "text-xs block"
|
|
529
529
|
}),
|
|
530
530
|
children,
|
|
531
|
-
/* @__PURE__ */ jsx(
|
|
531
|
+
/* @__PURE__ */ jsx(LabsFieldContainerMessage, {
|
|
532
532
|
id,
|
|
533
533
|
messageId,
|
|
534
534
|
message,
|
|
535
535
|
className: "text-xs block"
|
|
536
536
|
}),
|
|
537
|
-
!message && /* @__PURE__ */ jsx(
|
|
537
|
+
!message && /* @__PURE__ */ jsx(LabsFieldContainerHint, {
|
|
538
538
|
id,
|
|
539
539
|
hintId,
|
|
540
540
|
hint,
|
|
@@ -547,7 +547,7 @@ const FieldContainer = ({ id, containerId = `${id}-container`, labelId = `${id}-
|
|
|
547
547
|
//#region src/components/LabsCheckbox.tsx
|
|
548
548
|
const LabsCheckbox = (props) => {
|
|
549
549
|
const { id, containerId = `${id}-container`, labelId = `${id}-label`, messageId = `${id}-message`, hintId = `${id}-hint`, label, message, hint, animation, className, checked = false, ...rest } = props;
|
|
550
|
-
return /* @__PURE__ */ jsxs(
|
|
550
|
+
return /* @__PURE__ */ jsxs(LabsFieldContainer, {
|
|
551
551
|
id,
|
|
552
552
|
containerId,
|
|
553
553
|
labelId,
|
|
@@ -564,7 +564,7 @@ const LabsCheckbox = (props) => {
|
|
|
564
564
|
inputId: id,
|
|
565
565
|
"aria-describedby": messageId,
|
|
566
566
|
className: "shrink"
|
|
567
|
-
}), /* @__PURE__ */ jsx(
|
|
567
|
+
}), /* @__PURE__ */ jsx(LabsFieldContainerLabel, {
|
|
568
568
|
id,
|
|
569
569
|
labelId,
|
|
570
570
|
label,
|
|
@@ -575,8 +575,8 @@ const LabsCheckbox = (props) => {
|
|
|
575
575
|
LabsCheckbox.displayName = "LabsCheckbox";
|
|
576
576
|
//#endregion
|
|
577
577
|
//#region src/components/LabsFieldContainerInput.tsx
|
|
578
|
-
const
|
|
579
|
-
return /* @__PURE__ */ jsxs(
|
|
578
|
+
const LabsFieldContainerInput = ({ id, containerId = `${id}-container`, labelId = `${id}-label`, messageId = `${id}-message`, hintId = `${id}-hint`, label, message, hint, solo = false, floatLabel = false, prependIcon, appendIcon, className, children, ...rest }) => {
|
|
579
|
+
return /* @__PURE__ */ jsxs(LabsFieldContainer, {
|
|
580
580
|
id,
|
|
581
581
|
containerId,
|
|
582
582
|
labelId,
|
|
@@ -585,7 +585,7 @@ const FieldContainerInput = ({ id, containerId = `${id}-container`, labelId = `$
|
|
|
585
585
|
className: clsx(className, "flex flex-col gap-1"),
|
|
586
586
|
...rest,
|
|
587
587
|
children: [
|
|
588
|
-
!floatLabel && /* @__PURE__ */ jsx(
|
|
588
|
+
!floatLabel && /* @__PURE__ */ jsx(LabsFieldContainerLabel, {
|
|
589
589
|
id,
|
|
590
590
|
labelId,
|
|
591
591
|
label,
|
|
@@ -603,21 +603,21 @@ const FieldContainerInput = ({ id, containerId = `${id}-container`, labelId = `$
|
|
|
603
603
|
prependIcon && /* @__PURE__ */ jsx("i", { className: `${prependIcon} p-input-icon` }),
|
|
604
604
|
appendIcon && /* @__PURE__ */ jsx("i", { className: `${appendIcon} p-input-icon` }),
|
|
605
605
|
children,
|
|
606
|
-
floatLabel && /* @__PURE__ */ jsx(
|
|
606
|
+
floatLabel && /* @__PURE__ */ jsx(LabsFieldContainerLabel, {
|
|
607
607
|
id,
|
|
608
608
|
labelId,
|
|
609
609
|
label
|
|
610
610
|
})
|
|
611
611
|
]
|
|
612
612
|
}),
|
|
613
|
-
/* @__PURE__ */ jsx(
|
|
613
|
+
/* @__PURE__ */ jsx(LabsFieldContainerMessage, {
|
|
614
614
|
id,
|
|
615
615
|
messageId,
|
|
616
616
|
message,
|
|
617
617
|
solo,
|
|
618
618
|
className: "text-xs"
|
|
619
619
|
}),
|
|
620
|
-
!message && /* @__PURE__ */ jsx(
|
|
620
|
+
!message && /* @__PURE__ */ jsx(LabsFieldContainerHint, {
|
|
621
621
|
id,
|
|
622
622
|
hintId,
|
|
623
623
|
hint,
|
|
@@ -631,7 +631,7 @@ const FieldContainerInput = ({ id, containerId = `${id}-container`, labelId = `$
|
|
|
631
631
|
//#region src/components/LabsDate.tsx
|
|
632
632
|
const LabsDate = (props) => {
|
|
633
633
|
const { id, containerId = `${id}-container`, labelId = `${id}-label`, messageId = `${id}-message`, hintId = `${id}-hint`, label, message, hint, animation, solo, floatLabel, prependIcon, appendIcon, className, ...rest } = props;
|
|
634
|
-
return /* @__PURE__ */ jsx(
|
|
634
|
+
return /* @__PURE__ */ jsx(LabsFieldContainerInput, {
|
|
635
635
|
id,
|
|
636
636
|
containerId,
|
|
637
637
|
labelId,
|
|
@@ -817,7 +817,7 @@ const LabsMainHeaderActions = () => {
|
|
|
817
817
|
//#region src/components/LabsMultiSelect.tsx
|
|
818
818
|
const LabsMultiSelect = (props) => {
|
|
819
819
|
const { id, containerId = `${id}-container`, labelId = `${id}-label`, messageId = `${id}-message`, hintId = `${id}-hint`, label, message, hint, animation, solo, floatLabel, prependIcon, appendIcon, className, ...rest } = props;
|
|
820
|
-
return /* @__PURE__ */ jsx(
|
|
820
|
+
return /* @__PURE__ */ jsx(LabsFieldContainerInput, {
|
|
821
821
|
id,
|
|
822
822
|
containerId,
|
|
823
823
|
labelId,
|
|
@@ -845,7 +845,7 @@ const LabsMultiSelect = (props) => {
|
|
|
845
845
|
//#region src/components/LabsSelect.tsx
|
|
846
846
|
const LabsSelect = (props) => {
|
|
847
847
|
const { id, containerId = `${id}-container`, labelId = `${id}-label`, messageId = `${id}-message`, hintId = `${id}-hint`, label, message, hint, animation, solo, floatLabel, prependIcon, appendIcon, className, ...rest } = props;
|
|
848
|
-
return /* @__PURE__ */ jsx(
|
|
848
|
+
return /* @__PURE__ */ jsx(LabsFieldContainerInput, {
|
|
849
849
|
id,
|
|
850
850
|
containerId,
|
|
851
851
|
labelId,
|
|
@@ -873,7 +873,7 @@ const LabsSelect = (props) => {
|
|
|
873
873
|
//#region src/components/LabsSelectCascade.tsx
|
|
874
874
|
const LabsSelectCascade = (props) => {
|
|
875
875
|
const { id, containerId = `${id}-container`, labelId = `${id}-label`, messageId = `${id}-message`, hintId = `${id}-hint`, label, message, hint, animation, solo, floatLabel, prependIcon, appendIcon, className, ...rest } = props;
|
|
876
|
-
return /* @__PURE__ */ jsx(
|
|
876
|
+
return /* @__PURE__ */ jsx(LabsFieldContainerInput, {
|
|
877
877
|
id,
|
|
878
878
|
containerId,
|
|
879
879
|
labelId,
|
|
@@ -901,7 +901,7 @@ const LabsSelectCascade = (props) => {
|
|
|
901
901
|
//#region src/components/LabsText.tsx
|
|
902
902
|
const LabsText = forwardRef((props, ref) => {
|
|
903
903
|
const { id, containerId = `${id}-container`, labelId = `${id}-label`, messageId = `${id}-message`, hintId = `${id}-hint`, label, message, hint, animation, solo, floatLabel, prependIcon, appendIcon, className, ...rest } = props;
|
|
904
|
-
return /* @__PURE__ */ jsx(
|
|
904
|
+
return /* @__PURE__ */ jsx(LabsFieldContainerInput, {
|
|
905
905
|
id,
|
|
906
906
|
containerId,
|
|
907
907
|
labelId,
|
|
@@ -954,7 +954,7 @@ LabsTextSearch.displayName = "LabsTextSearch";
|
|
|
954
954
|
//#region src/components/LabsTextarea.tsx
|
|
955
955
|
const LabsTextarea = forwardRef((props, ref) => {
|
|
956
956
|
const { id, containerId = `${id}-container`, labelId = `${id}-label`, messageId = `${id}-message`, hintId = `${id}-hint`, label, message, hint, animation, solo, floatLabel, prependIcon, appendIcon, className, ...rest } = props;
|
|
957
|
-
return /* @__PURE__ */ jsx(
|
|
957
|
+
return /* @__PURE__ */ jsx(LabsFieldContainerInput, {
|
|
958
958
|
id,
|
|
959
959
|
containerId,
|
|
960
960
|
labelId,
|
|
@@ -1172,4 +1172,4 @@ const toLabsTextareaProps = ({ field: { ref, value, ...field }, fieldState }) =>
|
|
|
1172
1172
|
value
|
|
1173
1173
|
});
|
|
1174
1174
|
//#endregion
|
|
1175
|
-
export { DEFAULT_TRANSITION, DEFAULT_TRANSITION_MS, DEFAULT_TRANSITION_SECONDS,
|
|
1175
|
+
export { DEFAULT_TRANSITION, DEFAULT_TRANSITION_MS, DEFAULT_TRANSITION_SECONDS, LABS_MAIN_ID, LabsAnalyticsContext, LabsAnalyticsProvider, LabsAuthContext, LabsAuthGate, LabsAuthProvider, LabsButton, LabsCalendar, LabsCalendarBase, LabsCheckbox, LabsContext, LabsDate, LabsEmpty, LabsFieldContainer, LabsFieldContainerHint, LabsFieldContainerInput, LabsFieldContainerLabel, LabsFieldContainerMessage, LabsHeadProvider, LabsLoader, LabsLogoutTimer, LabsMain, LabsMainDesktopNav, LabsMainHeader, LabsMainHeaderActions, LabsMainMobileNav, LabsMenuNav, LabsMultiSelect, LabsPrimeProvider, LabsProvider, LabsSelect, LabsSelectCascade, LabsSpeedDialNav, LabsText, LabsTextCurrency, LabsTextSearch, LabsTextarea, LabsToggle, LayoutBase, LayoutCentered, LayoutMain, VERSION, auth, fadeAnimation, getParsedUserInfo, pluralize, refreshToken, scaleFadeAnimation, scaleFadeSubtleAnimation, slideYFadeAnimation, slideYFadeReverseAnimation, toCurrency, toFieldContainerProps, toLabsCheckboxProps, toLabsDateProps, toLabsMultiSelectProps, toLabsSelectCascadeProps, toLabsSelectProps, toLabsTextCurrencyProps, toLabsTextProps, toLabsTextSearchProps, toLabsTextareaProps, toPrecision, useAnalytics, useAuth, useBreakpoints, useLabs, withAuthHeader };
|