@imperosoft/cris-webui-components 1.1.3-beta.0 → 1.1.3-beta.2
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.mts +39 -1
- package/dist/index.d.ts +39 -1
- package/dist/index.js +248 -106
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +226 -85
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -262,6 +262,44 @@ interface CrisOfflinePageProps {
|
|
|
262
262
|
}
|
|
263
263
|
declare function CrisOfflinePage({ processorHost: processorHostProp, hasAuthToken, isDevMode, isVC4, isDeployedOnProcessor, wsPort, showDebugInfo, loginRedirectDelay, loginPath, retryCountdown: retryCountdownInit, className, }: CrisOfflinePageProps): react_jsx_runtime.JSX.Element;
|
|
264
264
|
|
|
265
|
+
interface CrisTextInputProps {
|
|
266
|
+
/** Serial join to send text to */
|
|
267
|
+
join: number;
|
|
268
|
+
/** Serial join for feedback (defaults to join) */
|
|
269
|
+
joinFeedback?: number;
|
|
270
|
+
/** Digital join for enable state */
|
|
271
|
+
joinEnable?: number;
|
|
272
|
+
/** Digital join for visibility */
|
|
273
|
+
joinVisible?: number;
|
|
274
|
+
/** Placeholder text */
|
|
275
|
+
placeholder?: string;
|
|
276
|
+
/** Maximum character length */
|
|
277
|
+
maxLength?: number;
|
|
278
|
+
/** Input type (default: "text") */
|
|
279
|
+
type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url';
|
|
280
|
+
/** Send value on Enter key (default: true) */
|
|
281
|
+
submitOnEnter?: boolean;
|
|
282
|
+
/** Send value on blur/focus loss (default: false) */
|
|
283
|
+
submitOnBlur?: boolean;
|
|
284
|
+
/** Send value on every keystroke (default: true) */
|
|
285
|
+
submitOnChange?: boolean;
|
|
286
|
+
/** Clear input after submit (default: false) */
|
|
287
|
+
clearOnSubmit?: boolean;
|
|
288
|
+
/** Container className */
|
|
289
|
+
className?: string;
|
|
290
|
+
/** Container style */
|
|
291
|
+
style?: CSSProperties;
|
|
292
|
+
/** Input element className */
|
|
293
|
+
inputClassName?: string;
|
|
294
|
+
/** Input element style */
|
|
295
|
+
inputStyle?: CSSProperties;
|
|
296
|
+
/** Class when disabled */
|
|
297
|
+
classDisabled?: string;
|
|
298
|
+
/** Class when focused */
|
|
299
|
+
classFocused?: string;
|
|
300
|
+
}
|
|
301
|
+
declare function CrisTextInput({ join, joinFeedback, joinEnable, joinVisible, placeholder, maxLength, type, submitOnEnter, submitOnBlur, submitOnChange, clearOnSubmit, className, style, inputClassName, inputStyle, classDisabled, classFocused: classFocusedProp, }: CrisTextInputProps): react_jsx_runtime.JSX.Element | null;
|
|
302
|
+
|
|
265
303
|
/** Shape of a single module from the backend */
|
|
266
304
|
interface DebugModule {
|
|
267
305
|
id: string;
|
|
@@ -493,4 +531,4 @@ declare function getIconUrl(name: string): string;
|
|
|
493
531
|
*/
|
|
494
532
|
declare function getIconFilter(active: boolean): string | undefined;
|
|
495
533
|
|
|
496
|
-
export { CrisButton, type CrisButtonProps, CrisCoDebug, type CrisCoDebugProps, CrisCoList, type CrisCoListProps, CrisCoMatrixListsTie, type CrisCoMatrixListsTieProps, CrisGauge, type CrisGaugeProps, CrisOfflinePage, type CrisOfflinePageProps, CrisSlider, type CrisSliderProps, CrisSpinner, type CrisSpinnerProps, CrisText, type CrisTextProps, type DebugModule, type IconConfig, type ListItem, type ListStatus, type MatrixItem, type MatrixStatus, type SpinnerSpeed, configureIcons, getIconConfig, getIconFilter, getIconUrl };
|
|
534
|
+
export { CrisButton, type CrisButtonProps, CrisCoDebug, type CrisCoDebugProps, CrisCoList, type CrisCoListProps, CrisCoMatrixListsTie, type CrisCoMatrixListsTieProps, CrisGauge, type CrisGaugeProps, CrisOfflinePage, type CrisOfflinePageProps, CrisSlider, type CrisSliderProps, CrisSpinner, type CrisSpinnerProps, CrisText, CrisTextInput, type CrisTextInputProps, type CrisTextProps, type DebugModule, type IconConfig, type ListItem, type ListStatus, type MatrixItem, type MatrixStatus, type SpinnerSpeed, configureIcons, getIconConfig, getIconFilter, getIconUrl };
|
package/dist/index.d.ts
CHANGED
|
@@ -262,6 +262,44 @@ interface CrisOfflinePageProps {
|
|
|
262
262
|
}
|
|
263
263
|
declare function CrisOfflinePage({ processorHost: processorHostProp, hasAuthToken, isDevMode, isVC4, isDeployedOnProcessor, wsPort, showDebugInfo, loginRedirectDelay, loginPath, retryCountdown: retryCountdownInit, className, }: CrisOfflinePageProps): react_jsx_runtime.JSX.Element;
|
|
264
264
|
|
|
265
|
+
interface CrisTextInputProps {
|
|
266
|
+
/** Serial join to send text to */
|
|
267
|
+
join: number;
|
|
268
|
+
/** Serial join for feedback (defaults to join) */
|
|
269
|
+
joinFeedback?: number;
|
|
270
|
+
/** Digital join for enable state */
|
|
271
|
+
joinEnable?: number;
|
|
272
|
+
/** Digital join for visibility */
|
|
273
|
+
joinVisible?: number;
|
|
274
|
+
/** Placeholder text */
|
|
275
|
+
placeholder?: string;
|
|
276
|
+
/** Maximum character length */
|
|
277
|
+
maxLength?: number;
|
|
278
|
+
/** Input type (default: "text") */
|
|
279
|
+
type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url';
|
|
280
|
+
/** Send value on Enter key (default: true) */
|
|
281
|
+
submitOnEnter?: boolean;
|
|
282
|
+
/** Send value on blur/focus loss (default: false) */
|
|
283
|
+
submitOnBlur?: boolean;
|
|
284
|
+
/** Send value on every keystroke (default: true) */
|
|
285
|
+
submitOnChange?: boolean;
|
|
286
|
+
/** Clear input after submit (default: false) */
|
|
287
|
+
clearOnSubmit?: boolean;
|
|
288
|
+
/** Container className */
|
|
289
|
+
className?: string;
|
|
290
|
+
/** Container style */
|
|
291
|
+
style?: CSSProperties;
|
|
292
|
+
/** Input element className */
|
|
293
|
+
inputClassName?: string;
|
|
294
|
+
/** Input element style */
|
|
295
|
+
inputStyle?: CSSProperties;
|
|
296
|
+
/** Class when disabled */
|
|
297
|
+
classDisabled?: string;
|
|
298
|
+
/** Class when focused */
|
|
299
|
+
classFocused?: string;
|
|
300
|
+
}
|
|
301
|
+
declare function CrisTextInput({ join, joinFeedback, joinEnable, joinVisible, placeholder, maxLength, type, submitOnEnter, submitOnBlur, submitOnChange, clearOnSubmit, className, style, inputClassName, inputStyle, classDisabled, classFocused: classFocusedProp, }: CrisTextInputProps): react_jsx_runtime.JSX.Element | null;
|
|
302
|
+
|
|
265
303
|
/** Shape of a single module from the backend */
|
|
266
304
|
interface DebugModule {
|
|
267
305
|
id: string;
|
|
@@ -493,4 +531,4 @@ declare function getIconUrl(name: string): string;
|
|
|
493
531
|
*/
|
|
494
532
|
declare function getIconFilter(active: boolean): string | undefined;
|
|
495
533
|
|
|
496
|
-
export { CrisButton, type CrisButtonProps, CrisCoDebug, type CrisCoDebugProps, CrisCoList, type CrisCoListProps, CrisCoMatrixListsTie, type CrisCoMatrixListsTieProps, CrisGauge, type CrisGaugeProps, CrisOfflinePage, type CrisOfflinePageProps, CrisSlider, type CrisSliderProps, CrisSpinner, type CrisSpinnerProps, CrisText, type CrisTextProps, type DebugModule, type IconConfig, type ListItem, type ListStatus, type MatrixItem, type MatrixStatus, type SpinnerSpeed, configureIcons, getIconConfig, getIconFilter, getIconUrl };
|
|
534
|
+
export { CrisButton, type CrisButtonProps, CrisCoDebug, type CrisCoDebugProps, CrisCoList, type CrisCoListProps, CrisCoMatrixListsTie, type CrisCoMatrixListsTieProps, CrisGauge, type CrisGaugeProps, CrisOfflinePage, type CrisOfflinePageProps, CrisSlider, type CrisSliderProps, CrisSpinner, type CrisSpinnerProps, CrisText, CrisTextInput, type CrisTextInputProps, type CrisTextProps, type DebugModule, type IconConfig, type ListItem, type ListStatus, type MatrixItem, type MatrixStatus, type SpinnerSpeed, configureIcons, getIconConfig, getIconFilter, getIconUrl };
|