@ganpatiinfo/gids-core-web 3.1.0 → 5.0.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/css/index.css +977 -0
- package/dist/css/index.css.map +1 -1
- package/dist/custom-elements.json +90 -0
- package/dist/gids-field.d.ts +11 -0
- package/dist/gids-field.js +1 -0
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +11 -0
- package/dist/gids-input.js +1 -0
- package/dist/gids-notification.d.ts +11 -0
- package/dist/gids-notification.js +1 -0
- package/dist/gids-overlay-provider.d.ts +11 -0
- package/dist/gids-overlay-provider.js +1 -0
- package/dist/gids-password-field.d.ts +11 -0
- package/dist/gids-password-field.js +1 -0
- package/dist/gids-scrim.d.ts +11 -0
- package/dist/gids-scrim.js +1 -0
- package/dist/gids-snackbar.d.ts +11 -0
- package/dist/gids-snackbar.js +1 -0
- package/dist/gids-text-field.d.ts +11 -0
- package/dist/gids-text-field.js +1 -0
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/index.js +1 -1
- package/dist/p-B2zUuNXz.js +1 -0
- package/dist/p-BVh4zbX4.js +1 -0
- package/dist/p-BplPYg8z.js +1 -0
- package/dist/p-CVtNa0cL.js +1 -0
- package/dist/p-CWdkmFbc.js +1 -0
- package/dist/p-DijVkS9b.js +1 -0
- package/dist/p-DybsMR13.js +1 -0
- package/dist/p-ibikYq-w.js +1 -0
- package/dist/p-veoOgDXg.js +1 -0
- package/dist/types/components/html/GidsDismissButton/GidsDismissButton.d.ts +6 -0
- package/dist/types/components/html/GidsHeading/GidsHeading.d.ts +6 -0
- package/dist/types/components/html/GidsLogo/GidsLogo.d.ts +9 -0
- package/dist/types/components/html/GidsRequirementsMeter/GidsRequirementsMeter.d.ts +4 -0
- package/dist/types/components/html/GidsSearchBar/GidsSearchBar.d.ts +10 -0
- package/dist/types/components/html/GidsSegmentedControl/GidsSegmentedControl.d.ts +1 -1
- package/dist/types/components/html/GidsSegmentedTabItem/GidsSegmentedTabItem.d.ts +1 -1
- package/dist/types/components/html/GidsStatusTag/GidsStatusTag.d.ts +5 -0
- package/dist/types/components/html/GidsStepper/GidsStepper.d.ts +7 -0
- package/dist/types/components/html/GidsStrengthMeter/GidsStrengthMeter.d.ts +5 -0
- package/dist/types/components/html/GidsTopNavigation/GidsTopNavigation.d.ts +8 -0
- package/dist/types/components/html/_GidsNotificationContainer/GidsNotificationContainer.d.ts +7 -0
- package/dist/types/components/html/_GidsRequirementsMeterLabel/GidsRequirementsMeterLabel.d.ts +4 -0
- package/dist/types/components/html/_GidsSideMenuItem/GidsSideMenuItem.d.ts +7 -0
- package/dist/types/components/html/_GidsSnackbarContainer/GidsSnackbarContainer.d.ts +6 -0
- package/dist/types/components/webComponents/GidsField/GidsField.d.ts +54 -0
- package/dist/types/components/webComponents/GidsInput/GidsInput.d.ts +27 -0
- package/dist/types/components/webComponents/GidsNotification/GidsNotification.d.ts +17 -0
- package/dist/types/components/webComponents/GidsOverlayProvider/GidsOverlayProvider.d.ts +23 -0
- package/dist/types/components/webComponents/GidsOverlayProvider/GidsOverlayProviderUtils.d.ts +8 -0
- package/dist/types/components/webComponents/GidsPasswordField/GidsPasswordField.d.ts +49 -0
- package/dist/types/components/webComponents/GidsScrim/GidsScrim.d.ts +7 -0
- package/dist/types/components/webComponents/GidsSnackbar/GidsSnackbar.d.ts +15 -0
- package/dist/types/components/webComponents/GidsTextField/GidsTextField.d.ts +39 -0
- package/dist/types/components.d.ts +455 -4
- package/dist-bundled/es/gids-field.js +6 -0
- package/dist-bundled/es/gids-icon.js +16 -200
- package/dist-bundled/es/gids-input.js +6 -0
- package/dist-bundled/es/gids-notification.js +31 -0
- package/dist-bundled/es/gids-overlay-provider.js +209 -0
- package/dist-bundled/es/gids-password-field.js +221 -0
- package/dist-bundled/es/gids-scrim.js +35 -0
- package/dist-bundled/es/gids-snackbar.js +31 -0
- package/dist-bundled/es/gids-text-field.js +78 -0
- package/dist-bundled/es/gids-toggle-button.js +14 -55
- package/dist-bundled/es/index.js +8 -7
- package/dist-bundled/es/p-B2zUuNXz-BLBgQDu7.js +45 -0
- package/dist-bundled/es/p-BVh4zbX4-C4UJ8LPX.js +74 -0
- package/dist-bundled/es/p-BplPYg8z-B8uAAfo4.js +181 -0
- package/dist-bundled/es/p-CVtNa0cL-sSVeJsR3.js +15 -0
- package/dist-bundled/es/p-CWdkmFbc-D89ZE8Mi.js +24 -0
- package/dist-bundled/es/p-DijVkS9b-CtFkEtlE.js +35 -0
- package/dist-bundled/es/p-DybsMR13-DpmsG3Q1.js +31 -0
- package/dist-bundled/es/p-ibikYq-w-BsGxk8ro.js +635 -0
- package/dist-bundled/es/p-veoOgDXg-DElc87c0.js +192 -0
- package/dist-bundled/umd/gids-field.umd.js +5 -0
- package/dist-bundled/umd/gids-icon.umd.js +5 -1
- package/dist-bundled/umd/gids-input.umd.js +5 -0
- package/dist-bundled/umd/gids-notification.umd.js +5 -0
- package/dist-bundled/umd/gids-overlay-provider.umd.js +5 -0
- package/dist-bundled/umd/gids-password-field.umd.js +5 -0
- package/dist-bundled/umd/gids-scrim.umd.js +5 -0
- package/dist-bundled/umd/gids-snackbar.umd.js +5 -0
- package/dist-bundled/umd/gids-text-field.umd.js +5 -0
- package/dist-bundled/umd/gids-toggle-button.umd.js +6 -2
- package/dist-bundled/umd/index.umd.js +5 -1
- package/dist-bundled/umd-complete/gids-core-web.umd.js +6 -2
- package/package.json +71 -7
- package/dist/p-CgujYzVX.js +0 -1
- package/dist-bundled/es/p-CgujYzVX-xo1axnk6.js +0 -465
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type GidsSearchBarWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { JSXBase, VNode } from '../../../stencil-public-runtime';
|
|
3
|
+
import { GidsTextField } from '../../webComponents/GidsTextField/GidsTextField.js';
|
|
4
|
+
type GidsTextFieldBaseProps = JSXBase.HTMLAttributes<typeof GidsTextField>;
|
|
5
|
+
export interface GidsSearchBarProps extends GidsSearchBarWebProps<VNode, Omit<JSXBase.IntrinsicElements['input'], 'ref'>>, Pick<GidsTextFieldBaseProps, 'onChange' | 'onInput' | 'onFocus' | 'onBlur'> {
|
|
6
|
+
wrapperClass?: string;
|
|
7
|
+
onGidsSearchBarClear?: (event: CustomEvent<void>) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const GidsSearchBar: (props: GidsSearchBarProps) => any;
|
|
10
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type GidsSegmentedTabItemPressedReturnedProps, type GidsSegmentedControlCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
2
2
|
import type { FunctionalComponent, JSXBase, VNode } from '../../../stencil-public-runtime';
|
|
3
|
-
export interface GidsSegmentedControlProps extends Omit<JSXBase.IntrinsicElements['div'], 'onClick' | 'children' | 'onChange' | 'onBlur'>, GidsSegmentedControlCommonProps<VNode | string, string> {
|
|
3
|
+
export interface GidsSegmentedControlProps extends Omit<JSXBase.IntrinsicElements['div'], 'onClick' | 'children' | 'onChange' | 'onBlur'>, GidsSegmentedControlCommonProps<VNode | string, string, VNode> {
|
|
4
4
|
onPress?: (props: GidsSegmentedTabItemPressedReturnedProps) => void;
|
|
5
5
|
}
|
|
6
6
|
export declare const GidsSegmentedControl: FunctionalComponent<GidsSegmentedControlProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GidsSegmentedTabItemPressedReturnedProps, type GidsSegmentedTabItemCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
2
2
|
import type { FunctionalComponent, JSXBase, VNode } from '../../../stencil-public-runtime';
|
|
3
|
-
export interface GidsSegmentedTabItemProps extends Omit<JSXBase.IntrinsicElements['button'], 'onClick' | 'children' | 'onChange' | 'onBlur'>, GidsSegmentedTabItemCommonProps<VNode | string, string> {
|
|
3
|
+
export interface GidsSegmentedTabItemProps extends Omit<JSXBase.IntrinsicElements['button'], 'onClick' | 'children' | 'onChange' | 'onBlur'>, GidsSegmentedTabItemCommonProps<VNode | string, string, VNode> {
|
|
4
4
|
onPress?: (props: GidsSegmentedTabItemPressedReturnedProps) => void;
|
|
5
5
|
}
|
|
6
6
|
export declare const GidsSegmentedTabItem: FunctionalComponent<GidsSegmentedTabItemProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FunctionalComponent, JSXBase } from '../../../stencil-public-runtime';
|
|
2
|
+
import { GidsStatusTagCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
export interface GidsStatusTagProps extends GidsStatusTagCommonProps, Omit<JSXBase.IntrinsicElements['div'], 'onClick'> {
|
|
4
|
+
}
|
|
5
|
+
export declare const GidsStatusTag: FunctionalComponent<GidsStatusTagProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type GidsStepperCommonProps, type StepClickProps } from '@ganpatiinfo/gids-core-shared';
|
|
2
|
+
import { FunctionalComponent, JSXBase } from '../../../stencil-public-runtime';
|
|
3
|
+
export interface GidsStepperProps extends GidsStepperCommonProps, Omit<JSXBase.IntrinsicElements['div'], 'onClick'> {
|
|
4
|
+
onClickMinus?: (params: StepClickProps) => void;
|
|
5
|
+
onClickPlus?: (params: StepClickProps) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const GidsStepper: FunctionalComponent<GidsStepperProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type JSXBase } from '../../../stencil-public-runtime';
|
|
2
|
+
import { type GidsStrengthMeterCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
export interface GidsStrengthMeterProps extends GidsStrengthMeterCommonProps, Omit<JSXBase.IntrinsicElements['div'], 'onClick'> {
|
|
4
|
+
}
|
|
5
|
+
export declare const GidsStrengthMeter: ({ text, textMinLength, meterRules, class: className, }: GidsStrengthMeterProps) => any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type GidsTopNavigationWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { type VNode } from '../../../stencil-public-runtime';
|
|
3
|
+
import { type GidsSearchBarProps } from '../GidsSearchBar/GidsSearchBar.js';
|
|
4
|
+
import { type GidsSegmentedControlProps } from '../GidsSegmentedControl/GidsSegmentedControl.js';
|
|
5
|
+
export interface GidsTopNavigationProps extends GidsTopNavigationWebProps<VNode, VNode, VNode, VNode | string, string, string, string, VNode>, Pick<GidsSearchBarProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Pick<GidsSegmentedControlProps, 'onPress'> {
|
|
6
|
+
class?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const GidsTopNavigation: (props: GidsTopNavigationProps) => any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GidsNotificationContainerCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
2
|
+
import { FunctionalComponent, JSXBase } from '../../../stencil-public-runtime';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
export interface GidsNotificationContainerProps extends GidsNotificationContainerCommonProps<ReactNode | string, ReactNode>, Omit<JSXBase.IntrinsicElements['div'], 'onClick' | 'children'> {
|
|
5
|
+
onCloseNotificationClick?: (this: HTMLButtonElement, event: Event) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const GidsNotificationContainer: FunctionalComponent<GidsNotificationContainerProps>;
|
package/dist/types/components/html/_GidsRequirementsMeterLabel/GidsRequirementsMeterLabel.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type JSXBase, type FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
+
import { type GidsRequirementsMeterLabelCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
export type GidsRequirementsMeterLabelProps = GidsRequirementsMeterLabelCommonProps & Omit<JSXBase.IntrinsicElements['div'], 'onClick'> & {};
|
|
4
|
+
export declare const GidsRequirementsMeterLabel: FunctionalComponent<GidsRequirementsMeterLabelProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VNode } from '../../../stencil-public-runtime';
|
|
2
|
+
import { type GidsSideMenuItemOnPressEvent, type GidsSideMenuItemWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
import { FunctionalComponent, JSXBase } from '../../../stencil-public-runtime';
|
|
4
|
+
export interface GidsSideMenuItemProps extends GidsSideMenuItemWebProps<VNode | string, VNode, VNode>, Omit<JSXBase.IntrinsicElements['div'], 'children' | 'onClick' | 'click'> {
|
|
5
|
+
onPressSideMenuItem?: GidsSideMenuItemOnPressEvent;
|
|
6
|
+
}
|
|
7
|
+
export declare const GidsSideMenuItem: FunctionalComponent<GidsSideMenuItemProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GidsSnackbarContainerCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
2
|
+
import { VNode } from '../../../stencil-public-runtime';
|
|
3
|
+
import { FunctionalComponent, JSXBase } from '../../../stencil-public-runtime';
|
|
4
|
+
export interface GidsSnackbarContainerProps extends GidsSnackbarContainerCommonProps<VNode | VNode[] | string, VNode>, Omit<JSXBase.IntrinsicElements['div'], 'children' | 'onClick'> {
|
|
5
|
+
}
|
|
6
|
+
export declare const GidsSnackbarContainer: FunctionalComponent<GidsSnackbarContainerProps>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { VNode } from '../../../stencil-public-runtime';
|
|
2
|
+
import { type GidsWebFieldStatus, type GidsFieldWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
export declare class GidsField implements Omit<GidsFieldWebProps<VNode[], VNode[]>, 'children' | 'label'> {
|
|
4
|
+
private _el;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
count?: string;
|
|
7
|
+
helperText?: string;
|
|
8
|
+
statusText?: string;
|
|
9
|
+
status: GidsWebFieldStatus;
|
|
10
|
+
protected _handleStatusChange(): void;
|
|
11
|
+
private _controlValidationMessage?;
|
|
12
|
+
private _hasLabel;
|
|
13
|
+
private _controlSlot?;
|
|
14
|
+
private _labelSlot?;
|
|
15
|
+
private _controlElement?;
|
|
16
|
+
private _controlListenerTargets;
|
|
17
|
+
private _controlTouched;
|
|
18
|
+
private _formElement?;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
componentDidLoad(): void;
|
|
21
|
+
reScanControl(): Promise<void>;
|
|
22
|
+
disconnectedCallback(): void;
|
|
23
|
+
render(): any;
|
|
24
|
+
private _hasLabelContent;
|
|
25
|
+
private _handleLabelSlotChange;
|
|
26
|
+
private _hasHelperText;
|
|
27
|
+
private _shouldShowHelperText;
|
|
28
|
+
private _hasStatusText;
|
|
29
|
+
private _shouldRenderExplicitStatusText;
|
|
30
|
+
private _renderStatusIcon;
|
|
31
|
+
private _getCurrentStatus;
|
|
32
|
+
private _getStatusIconName;
|
|
33
|
+
private _isImplicitStatus;
|
|
34
|
+
private _hasText;
|
|
35
|
+
private _getStatusModifierClass;
|
|
36
|
+
private _setLabelSlot;
|
|
37
|
+
private _setControlSlot;
|
|
38
|
+
private _handleControlSlotChange;
|
|
39
|
+
private _handleControlValueInput;
|
|
40
|
+
private _handleControlBlur;
|
|
41
|
+
private _handleControlInvalid;
|
|
42
|
+
private _handleFormReset;
|
|
43
|
+
private _attachControlElement;
|
|
44
|
+
private _detachControlElement;
|
|
45
|
+
private _getControlListenerTargets;
|
|
46
|
+
private _getRadioGroupControls;
|
|
47
|
+
private _attachFormListeners;
|
|
48
|
+
private _detachFormListeners;
|
|
49
|
+
private _handleFormSubmit;
|
|
50
|
+
private _findTextControl;
|
|
51
|
+
private _asTextControl;
|
|
52
|
+
private _resetControlValidationState;
|
|
53
|
+
private _updateControlValidationState;
|
|
54
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type JSXBase } from '../../../stencil-public-runtime';
|
|
2
|
+
import { type GidsInputWebProps, type GidsInputWebStatus, type RemoveGidsInputProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
import { GidsInputAppearance } from '@ganpatiinfo/gids-core-shared';
|
|
4
|
+
export declare class GidsInput implements Omit<GidsInputWebProps<never, JSXBase.IntrinsicElements['input']>, 'leadingIcon' | 'trailingIcon' | 'leadingAccessory' | 'trailingAccessory'> {
|
|
5
|
+
#private;
|
|
6
|
+
private _el;
|
|
7
|
+
appearance?: GidsInputAppearance;
|
|
8
|
+
get defaultValue(): string;
|
|
9
|
+
set defaultValue(newValue: string);
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
inputProps?: RemoveGidsInputProps<JSXBase.InputHTMLAttributes<HTMLInputElement>>;
|
|
12
|
+
leadingLabel?: string;
|
|
13
|
+
trailingLabel?: string;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
name?: string;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
status?: GidsInputWebStatus;
|
|
19
|
+
get value(): string;
|
|
20
|
+
set value(newValue: string);
|
|
21
|
+
private _isWithinInteractiveElement;
|
|
22
|
+
private _focusInput;
|
|
23
|
+
private _handleInputFocusAndBlur;
|
|
24
|
+
connectedCallback(): void;
|
|
25
|
+
disconnectedCallback(): void;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GidsComponentPosition, GidsNotificationPronunciation, GidsSnackbarContainerAppearance } from '@ganpatiinfo/gids-core-shared';
|
|
2
|
+
import { GidsComponentButtonClickHandler, GidsNotificationWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
export declare class GidsNotification implements GidsNotificationWebProps {
|
|
4
|
+
private _el;
|
|
5
|
+
notificationTitle?: string;
|
|
6
|
+
message: string;
|
|
7
|
+
pronunciation?: GidsNotificationPronunciation;
|
|
8
|
+
appearance?: GidsSnackbarContainerAppearance;
|
|
9
|
+
show?: boolean;
|
|
10
|
+
onQueueNotification?: () => void;
|
|
11
|
+
buttonLabel?: string;
|
|
12
|
+
position?: GidsComponentPosition;
|
|
13
|
+
timerInMs?: number | undefined;
|
|
14
|
+
onButtonClick?: GidsComponentButtonClickHandler;
|
|
15
|
+
showNotification(): Promise<void>;
|
|
16
|
+
render(): null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type GidsOverlayProviderCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
2
|
+
import { RemovedGidsOverlayProviderNotificationQueueWebProps, RemovedGidsOverlayProviderSnackbarQueueWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
export declare class GidsOverlayProvider implements Omit<GidsOverlayProviderCommonProps<never>, 'children'> {
|
|
4
|
+
private _el;
|
|
5
|
+
private _parentOverlayProvider;
|
|
6
|
+
private _componentQueue;
|
|
7
|
+
private _allowedComponentQueue;
|
|
8
|
+
private _exitingComponents;
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
private _isRoot;
|
|
11
|
+
private getRootOverlayProvider;
|
|
12
|
+
private autoHide;
|
|
13
|
+
private _queueSnackbar;
|
|
14
|
+
private _queueNotification;
|
|
15
|
+
queueComponent(props: RemovedGidsOverlayProviderSnackbarQueueWebProps | RemovedGidsOverlayProviderNotificationQueueWebProps): Promise<void>;
|
|
16
|
+
private removeComponent;
|
|
17
|
+
private processSingleComponentQueue;
|
|
18
|
+
private processMultiComponentQueue;
|
|
19
|
+
private _renderSnackbar;
|
|
20
|
+
private _renderNotification;
|
|
21
|
+
private _renderComponent;
|
|
22
|
+
render(): any;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GidsComponentNameType } from '@ganpatiinfo/gids-core-shared';
|
|
2
|
+
export declare const getNearbyOverlayProvider: (element: Element | null) => HTMLGidsOverlayProviderElement | null;
|
|
3
|
+
export declare const getNumberOfLinesInSnackbar: () => number;
|
|
4
|
+
export declare const getTimerInMilliSeconds: (componentName: GidsComponentNameType) => 5000 | 8000 | 7000 | 10000 | 3000 | 6000;
|
|
5
|
+
export declare const getProperTimerInMs: ({ componentName, timerInMs, }: {
|
|
6
|
+
componentName: GidsComponentNameType;
|
|
7
|
+
timerInMs?: number;
|
|
8
|
+
}) => number;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { type JSXBase } from '../../../stencil-public-runtime';
|
|
3
|
+
import { GidsMeterRules, GidsRequirementsProps, type GidsLabelFieldRequirement, type GidsLabelFieldRequirementTextFn, type IsLabelSentenceFn } from '@ganpatiinfo/gids-core-shared';
|
|
4
|
+
import { type GidsPasswordFieldWebProps, type GidsInputWebStatus, type RemoveGidsInputProps, type RemoveGidsPasswordFieldProps } from '@ganpatiinfo/gids-web-shared';
|
|
5
|
+
export declare class GidsPasswordField implements Omit<GidsPasswordFieldWebProps<never, Omit<JSXBase.IntrinsicElements['input'], 'ref'>>, 'leadingIcon' | 'info'> {
|
|
6
|
+
#private;
|
|
7
|
+
private _slotContentObserver?;
|
|
8
|
+
private _el;
|
|
9
|
+
private _startSlotContentObserver;
|
|
10
|
+
label?: string;
|
|
11
|
+
showClearButton?: boolean;
|
|
12
|
+
showRevealPasswordButton?: boolean;
|
|
13
|
+
gidsPasswordFieldClear: EventEmitter<void>;
|
|
14
|
+
gidsPasswordFieldRevealPassword: EventEmitter<{
|
|
15
|
+
passwordRevealed: boolean;
|
|
16
|
+
}>;
|
|
17
|
+
isPasswordRevealed: boolean;
|
|
18
|
+
meterRules?: GidsMeterRules[] | undefined;
|
|
19
|
+
requirementsMeterRequirements?: GidsRequirementsProps[] | undefined;
|
|
20
|
+
helperText?: string;
|
|
21
|
+
statusText?: string;
|
|
22
|
+
status?: GidsInputWebStatus;
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
name?: string;
|
|
25
|
+
required?: boolean;
|
|
26
|
+
maxLength?: number;
|
|
27
|
+
value?: string;
|
|
28
|
+
defaultValue?: string;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
readOnly?: boolean;
|
|
31
|
+
inputProps?: RemoveGidsPasswordFieldProps<RemoveGidsInputProps<Omit<JSXBase.IntrinsicElements['input'], 'ref'>>>;
|
|
32
|
+
fieldRequirement?: GidsLabelFieldRequirement;
|
|
33
|
+
fieldRequirementOptionalText?: string | GidsLabelFieldRequirementTextFn;
|
|
34
|
+
fieldRequirementRequiredText?: string | GidsLabelFieldRequirementTextFn;
|
|
35
|
+
isLabelSentence?: IsLabelSentenceFn<string>;
|
|
36
|
+
textMinLength?: number;
|
|
37
|
+
requirements?: GidsRequirementsProps[];
|
|
38
|
+
handleRequirementsChange(newValue: GidsRequirementsProps[]): void;
|
|
39
|
+
componentWillLoad(): void;
|
|
40
|
+
connectedCallback(): void;
|
|
41
|
+
disconnectedCallback(): void;
|
|
42
|
+
private _handleDismiss;
|
|
43
|
+
private _handleRevealPassword;
|
|
44
|
+
private _handleInput;
|
|
45
|
+
private _handleInputFocusAndBlur;
|
|
46
|
+
private _isRequirementAndStrengthMeterVisible;
|
|
47
|
+
private _handleRequirementsMeter;
|
|
48
|
+
render(): any;
|
|
49
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { GidsComponentPosition, GidsSnackbarContainerAppearance } from '@ganpatiinfo/gids-core-shared';
|
|
2
|
+
import { GidsComponentButtonClickHandler, GidsSnackbarWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
export declare class GidsSnackbar implements GidsSnackbarWebProps {
|
|
4
|
+
private _el;
|
|
5
|
+
message: string;
|
|
6
|
+
appearance?: GidsSnackbarContainerAppearance;
|
|
7
|
+
show?: boolean;
|
|
8
|
+
onQueueSnackbar?: () => void;
|
|
9
|
+
buttonLabel?: string;
|
|
10
|
+
position?: GidsComponentPosition;
|
|
11
|
+
timerInMs?: number | undefined;
|
|
12
|
+
onButtonClick?: GidsComponentButtonClickHandler;
|
|
13
|
+
showSnackbar(): Promise<void>;
|
|
14
|
+
render(): null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { type JSXBase } from '../../../stencil-public-runtime';
|
|
3
|
+
import { type GidsLabelFieldRequirement, type GidsLabelFieldRequirementTextFn, type IsLabelSentenceFn, type GidsInputAppearance } from '@ganpatiinfo/gids-core-shared';
|
|
4
|
+
import { type GidsTextFieldWebProps, type TextInputTypes, type GidsInputWebStatus, type RemoveGidsInputProps, type RemoveGidsTextFieldProps } from '@ganpatiinfo/gids-web-shared';
|
|
5
|
+
export declare class GidsTextField implements Omit<GidsTextFieldWebProps<never, Omit<JSXBase.IntrinsicElements['input'], 'ref'>>, 'leadingIcon' | 'trailingIcon' | 'info'> {
|
|
6
|
+
#private;
|
|
7
|
+
private _slotContentObserver?;
|
|
8
|
+
private _el;
|
|
9
|
+
private _startSlotContentObserver;
|
|
10
|
+
label?: string;
|
|
11
|
+
showClearButton?: boolean;
|
|
12
|
+
gidsTextFieldClear: EventEmitter<void>;
|
|
13
|
+
helperText?: string;
|
|
14
|
+
statusText?: string;
|
|
15
|
+
appearance?: GidsInputAppearance;
|
|
16
|
+
status?: GidsInputWebStatus;
|
|
17
|
+
leadingLabel?: string;
|
|
18
|
+
trailingLabel?: string;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
type?: TextInputTypes;
|
|
21
|
+
name?: string;
|
|
22
|
+
required?: boolean;
|
|
23
|
+
maxLength?: number;
|
|
24
|
+
value?: string;
|
|
25
|
+
defaultValue?: string;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
readOnly?: boolean;
|
|
28
|
+
inputProps?: RemoveGidsTextFieldProps<RemoveGidsInputProps<Omit<JSXBase.IntrinsicElements['input'], 'ref'>>>;
|
|
29
|
+
fieldRequirement?: GidsLabelFieldRequirement;
|
|
30
|
+
fieldRequirementOptionalText?: string | GidsLabelFieldRequirementTextFn;
|
|
31
|
+
fieldRequirementRequiredText?: string | GidsLabelFieldRequirementTextFn;
|
|
32
|
+
isLabelSentence?: IsLabelSentenceFn<string>;
|
|
33
|
+
connectedCallback(): void;
|
|
34
|
+
disconnectedCallback(): void;
|
|
35
|
+
private _handleDismiss;
|
|
36
|
+
private _handleInput;
|
|
37
|
+
private _handleInputFocusAndBlur;
|
|
38
|
+
render(): any;
|
|
39
|
+
}
|