| isJson |
Type : unknown
|
Default value : (value: string): boolean => {
try {
JSON.parse(value);
} catch (e) {
return false;
}
return true;
}
|
| transformNumberInRange |
Type : unknown
|
Default value : (value: string | number): number => {
const num = Number(value);
return isNaN(num) ? 0 : Math.max(0, Math.min(num, 100));
}
|
| context |
Type : unknown
|
Default value : require.context('../', true, /\.spec\.ts$/)
|
| require |
Type : any
|
| dateInputValidator |
Type : ValidatorFn
|
Default value : (control: AbstractControl): ValidationErrors | null => {
// Access the stored input reference from the control
// eslint-disable-next-line
const inputElement = (control as any)._inputRef?.nativeElement;
if (inputElement) {
const rawValue = inputElement.value || '';
// if the control value is null(malformed date) but the raw input value is not empty, return an error
return control.value === null && rawValue.trim() !== '' ? { invalidDate: true } : null;
}
// return null if no input reference is found
return null;
}
|
| DEFAULT_FORMATS |
Type : object
|
Default value : {
parse: {
dateInput: 'L',
},
display: {
dateInput: 'L',
monthYearLabel: 'MM/YYYY',
dateA11yLabel: 'LL',
monthYearA11yLabel: 'LL',
},
}
|
| LETTER_FORMAT |
Type : object
|
Default value : {
parse: {
dateInput: 'LL',
},
display: {
dateInput: 'LL',
monthYearLabel: 'LL',
},
}
|
| moment |
Type : unknown
|
Default value : _rollupMoment || _moment
|
| MONTH_YEAR_FORMAT |
Type : object
|
Default value : {
parse: {
dateInput: 'MM/YYYY',
},
display: {
dateInput: 'MM/YYYY',
monthYearLabel: 'MMM YYYY',
dateA11yLabel: 'LL',
monthYearA11yLabel: 'MMMM YYYY',
},
}
|
| YEAR_FORMAT |
Type : object
|
Default value : {
parse: {
dateInput: 'YYYY',
},
display: {
dateInput: 'YYYY',
monthYearLabel: 'YYYY',
dateA11yLabel: 'YYYY',
monthYearA11yLabel: 'YYYY',
},
}
|
| defaultModules |
Type : object
|
Default value : {
toolbar: [
['bold', 'italic', 'underline', 'strike'], // toggled buttons
['blockquote', 'code-block'],
[{ header: 1 }, { header: 2 }], // custom button values
[{ list: 'ordered' }, { list: 'bullet' }],
[{ script: 'sub' }, { script: 'super' }], // superscript/subscript
[{ indent: '-1' }, { indent: '+1' }], // outdent/indent
[{ direction: 'rtl' }], // text direction
[{ size: ['small', false, 'large', 'huge'] }], // custom dropdown
[{ header: [1, 2, 3, 4, 5, 6, false] }],
[{ color: [] }, { background: [] }], // dropdown with defaults from theme
[{ font: [] }],
[{ align: [] }],
['clean'], // remove formatting button
['table'], // adds the insert table button
['link', 'image', 'video'], // link and image, video
],
}
|
| DIALOG_COMPONENT_CONFIG |
Type : unknown
|
Default value : new InjectionToken<any>('DIALOG_COMPONENT_CONFIG')
|
| DIALOG_CONTAINER_CONFIG |
Type : unknown
|
Default value : new InjectionToken<any>('DIALOG_CONTAINER_CONFIG')
|
| EUI_ACCORDION |
Type : unknown
|
Default value : [
EuiAccordionComponent,
EuiAccordionItemComponent,
EuiAccordionItemHeaderDirective,
] as const
|
| EUI_ALERT |
Type : unknown
|
Default value : [
EuiAlertComponent,
EuiAlertTitleComponent,
] as const
|
| EUI_AUTOCOMPLETE |
Type : unknown
|
Default value : [
EuiAutocompleteComponent,
EuiAutocompleteOptionComponent,
EuiAutocompleteOptionGroupComponent,
] as const
|
| EUI_BADGE |
Type : unknown
|
Default value : [
EuiBadgeComponent,
] as const
|
| EUI_BANNER |
Type : unknown
|
Default value : [
EuiBannerComponent,
EuiBannerTitleComponent,
EuiBannerDescriptionComponent,
EuiBannerCtaComponent,
EuiBannerVideoComponent,
] as const
|
| EUI_BLOCK_CONTENT |
Type : unknown
|
Default value : [
EuiBlockContentComponent,
] as const
|
| EUI_BLOCK_DOCUMENT |
Type : unknown
|
Default value : [
EuiBlockDocumentComponent,
] as const
|
| EUI_BREADCRUMB |
Type : unknown
|
Default value : [
EuiBreadcrumbComponent,
EuiBreadcrumbItemComponent,
] as const
|
| EUI_BUTTON |
Type : unknown
|
Default value : [
EuiButtonComponent,
] as const
|
| EUI_BUTTON_GROUP |
Type : unknown
|
Default value : [
EuiButtonGroupComponent,
] as const
|
| EUI_CHARTS |
Type : unknown
|
Default value : [
EuiApexChartComponent,
] as const
|
| EUI_CHIP |
Type : unknown
|
Default value : [
EuiChipComponent,
] as const
|
| EUI_CHIP_BUTTON |
Type : unknown
|
Default value : [
EuiChipButtonComponent,
] as const
|
| EUI_CHIP_GROUP |
Type : unknown
|
Default value : [
EuiChipGroupComponent,
] as const
|
| EUI_CHIP_LIST |
Type : unknown
|
Default value : [
EuiChipListComponent,
EuiChipListAppendContentDirective,
EuiChipListAdditionalContentDirective,
] as const
|
| EUI_COMMENT_THREAD |
Type : unknown
|
Default value : [
EuiCommentThreadComponent,
EuiCommentItemComponent,
EuiCommentTextareaComponent,
EuiCommentItemRightActionsComponent,
] as const
|
| EUI_DATE_BLOCK |
Type : unknown
|
Default value : [
EuiDateBlockComponent,
] as const
|
| EUI_DATE_RANGE_SELECTOR |
Type : unknown
|
Default value : [
EuiTimeRangepickerComponent,
EuiDateRangeSelectorComponent,
] as const
|
| EUI_DATEPICKER |
Type : unknown
|
Default value : [
EuiDatepickerComponent,
EuiLetterFormatDirective,
EuiYearFormatDirective,
EuiMonthYearFormatDirective,
EuiActionButtonsDirective,
] as const
|
| EUI_DIALOG |
Type : unknown
|
Default value : [
EuiDialogComponent,
EuiDialogHeaderDirective,
EuiDialogFooterDirective,
EuiDialogContainerComponent,
] as const
|
| EUI_DIMMER |
Type : unknown
|
Default value : [
EuiDimmerComponent,
] as const
|
| EUI_DISABLE_CONTENT |
Type : unknown
|
Default value : [
EuiDisableContentComponent,
] as const
|
| EUI_DISCUSSION_THREAD |
Type : unknown
|
Default value : [
EuiDiscussionThreadComponent,
EuiDiscussionThreadItemComponent,
] as const
|
| EUI_DROPDOWN |
Type : unknown
|
Default value : [
EuiDropdownComponent,
EuiDropdownItemComponent,
EuiDropdownContentDirective,
] as const
|
| EUI_FEEDBACK_MESSAGE |
Type : unknown
|
Default value : [
EuiFeedbackMessageComponent,
] as const
|
| EUI_FIELDSET |
Type : unknown
|
Default value : [
EuiFieldsetComponent,
EuiFieldsetLabelExtraContentTagDirective,
EuiFieldsetLabelRightContentTagDirective,
] as const
|
| EUI_FILE_UPLOAD |
Type : unknown
|
Default value : [
EuiFileUploadComponent,
EuiFileUploadProgressComponent,
EuiFilePreviewComponent,
EuiFileSizePipe,
] as const
|
| EUI_GROWL |
Type : unknown
|
Default value : [ EuiGrowlComponent ] as const
|
| EUI_HELPER_TEXT |
Type : unknown
|
Default value : [
EuiHelperTextComponent,
] as const
|
| EUI_ICON |
Type : unknown
|
Default value : [
EuiIconSvgComponent,
] as const
|
| EUI_ICON_BUTTON |
Type : unknown
|
Default value : [
EuiIconButtonComponent,
] as const
|
| EUI_ICON_BUTTON_EXPANDER |
Type : unknown
|
Default value : [
EuiIconButtonExpanderComponent,
] as const
|
| EUI_ICON_COLOR |
Type : unknown
|
Default value : [
EuiIconColorComponent,
] as const
|
| EUI_ICON_INPUT |
Type : unknown
|
Default value : [
EuiIconInputComponent,
] as const
|
| EUI_ICON_STATE |
Type : unknown
|
Default value : [
EuiIconStateComponent,
] as const
|
| EUI_ICON_TOGGLE |
Type : unknown
|
Default value : [
EuiIconToggleComponent,
] as const
|
| EUI_INPUT_BUTTON |
Type : unknown
|
Default value : [
EuiInputButtonComponent,
] as const
|
| EUI_INPUT_CHECKBOX |
Type : unknown
|
Default value : [
EuiInputCheckboxComponent,
] as const
|
| EUI_INPUT_GROUP |
Type : unknown
|
Default value : [
EuiInputGroupComponent,
EuiInputGroupAddOnComponent,
EuiInputGroupAddOnItemComponent,
] as const
|
| EUI_INPUT_NUMBER |
Type : unknown
|
Default value : [
EuiInputNumberComponent,
EuiInputNumberDirective,
] as const
|
| EUI_INPUT_RADIO |
Type : unknown
|
Default value : [
EuiInputRadioComponent,
] as const
|
| EUI_INPUT_TEXT |
Type : unknown
|
Default value : [
EuiInputTextComponent,
] as const
|
| EUI_LABEL |
Type : unknown
|
Default value : [
EuiLabelComponent,
] as const
|
| EUI_LANGUAGE_SELECTOR |
Type : unknown
|
Default value : [
EuiLanguageSelectorComponent,
EuiModalSelectorComponent,
] as const
|
| EUI_LIST |
Type : unknown
|
Default value : [
EuiListComponent,
EuiListItemComponent,
] as const
|
| EUI_MENU |
Type : unknown
|
Default value : [
EuiMenuComponent,
EuiMenuItemComponent,
] as const
|
| EUI_MESSAGE_BOX |
Type : unknown
|
Default value : [
EuiMessageBoxComponent,
EuiMessageBoxFooterDirective,
] as const
|
| EUI_NAVBAR |
Type : unknown
|
Default value : [
EuiNavbarComponent,
EuiNavbarItemComponent,
] as const
|
| EUI_PAGINATOR |
Type : unknown
|
Default value : [ EuiPaginatorComponent ] as const
|
| EUI_POPOVER |
Type : unknown
|
Default value : [
EuiPopoverComponent,
] as const
|
| EUI_PROGRESS_BAR |
Type : unknown
|
Default value : [
EuiProgressBarComponent,
] as const
|
| EUI_PROGRESS_CIRCLE |
Type : unknown
|
Default value : [
EuiProgressCircleComponent,
] as const
|
| EUI_RATING |
Type : unknown
|
Default value : [
EuiRatingComponent,
] as const
|
| EUI_SELECT |
Type : unknown
|
Default value : [
EuiSelectComponent,
EuiNgSelectOptionDirective,
EuiSelectControlValueAccessor,
EuiSelectMultipleControlValueAccessor,
EuiSelectMultipleOption,
] as const
|
| EUI_SIDEBAR_MENU |
Type : unknown
|
Default value : [
EuiSidebarMenuComponent,
] as const
|
| EUI_SKELETON |
Type : unknown
|
Default value : [
EuiSkeletonComponent,
] as const
|
| EUI_SLIDE_TOGGLE |
Type : unknown
|
Default value : [
EuiSlideToggleComponent,
] as const
|
| EUI_SLIDER |
Type : unknown
|
Default value : [
EuiSliderComponent,
] as const
|
| EUI_SNC |
Type : unknown
|
Default value : [EuiSncComponent] as const
|
| EUI_SPLIT_BUTTON |
Type : unknown
|
Default value : [
EuiSplitButtonComponent,
] as const
|
| EUI_STATUS_BADGE |
Type : unknown
|
Default value : [
EuiStatusBadgeComponent,
] as const
|
| EUI_TEXTAREA |
Type : unknown
|
Default value : [
EuiTextareaComponent,
AutoResizeDirective,
] as const
|
| EUI_TIMELINE |
Type : unknown
|
Default value : [
EuiTimelineComponent,
EuiTimelineItemComponent,
] as const
|
| EUI_TIMEPICKER |
Type : unknown
|
Default value : [
EuiTimepickerComponent,
] as const
|
| EUI_TOGGLE_GROUP |
Type : unknown
|
Default value : [
EuiToggleGroupComponent,
EuiToggleGroupItemComponent,
] as const
|
| EUI_TREE |
Type : unknown
|
Default value : [
EuiTreeComponent,
] as const
|
| EUI_USER_PROFILE |
Type : unknown
|
Default value : [
EuiUserProfileComponent,
EuiUserProfileMenuComponent,
EuiUserProfileMenuItemComponent,
EuiUserProfileCardComponent,
] as const
|
| EUI_WIZARD |
Type : unknown
|
Default value : [
EuiWizardStepComponent,
EuiWizardComponent,
] as const
|
| EUI_WIZARD_V2 |
Type : unknown
|
Default value : [
EuiWizardStepComponent,
EuiWizardComponent,
] as const
|
| EuiCalendarDayOfWeek |
Type : object
|
Default value : {
MONDAY: 0,
TUESDAY: 1,
WEDNESDAY: 2,
THURSDAY: 3,
FRIDAY: 4,
SATURDAY: 5,
SUNDAY: 6,
}
|
|
Enum for days of the week |
| uint8ArrayToHexString |
Type : unknown
|
Default value : (uint8Array): string => {
return Array.prototype.map.call(uint8Array, (byte) => ('00' + byte.toString(16)).slice(-2)).join('');
}
|
| getFormat |
Type : unknown
|
Default value : (format?: QuillFormat, configFormat?: QuillFormat): QuillFormat => {
const passedFormat = format || configFormat;
return passedFormat || 'html';
}
|
| Quill |
Type : any
|
| require |
Type : any
|
| initialState |
Type : UIState
|
Default value : {
isCollapsible: false,
isCollapsed: false,
isUrgent: false,
hasLeftExpander: false,
}
|
| panelAnimation |
Type : AnimationTriggerMetadata
|
Default value : trigger('panelAnimation', [
state(
'void, hidden',
style({
opacity: 0,
transform: 'scaleY(0.8)',
}),
),
transition(':enter, hidden => visible', [
group([
animate('0.03s linear', style({ opacity: 1 })),
animate('0.12s cubic-bezier(0, 0, 0.2, 1)', style({ transform: 'scaleY(1)' })),
]),
]),
transition(':leave, visible => hidden', [animate('0.05s linear', style({ opacity: 0 }))]),
])
|
| pixelTransform |
Type : unknown
|
Default value : (value: string | number): number => {
value = numberAttribute(value, 0);
return Math.max(0, value);
}
|
|
Ensures the value is a non-negative pixel number. |
| progressAttribute |
Type : unknown
|
Default value : (value: NumberInput): number => Math.min(numberAttribute(value), 100)
|
|
Transform function that ensures progress value doesn't exceed 100 |
| QUILL_CONFIG_TOKEN |
Type : unknown
|
Default value : new InjectionToken<QuillConfig>('config')
|
| QUILL_DYNAMIC_CONFIG_TOKEN |
Type : unknown
|
Default value : new InjectionToken<QuillDynamicConfig>('Dynamic loading config')
|
| QuillBetterTable |
Type : unknown
|
Default value : window['quillBetterTable']
|
| QuillType |
Type : any
|
Default value : window['Quill']
|
| QuillBetterTable |
Type : unknown
|
Default value : window['quillBetterTable']
|
| quillConfig |
Type : QuillConfig
|
Default value : {
modules: {
table: false,
'better-table': {
operationMenu: {
items: {
unmergeCells: {
text: 'Another unmerge cells name',
},
},
color: {
colors: [
'#000000',
'#e60000',
'#ff9900',
'#ffff00',
'#008a00',
'#0066cc',
'#9933ff',
'#ffffff',
'#facccc',
'#ffebcc',
'#ffffcc',
'#cce8cc',
'#cce0f5',
'#ebd6ff',
'#bbbbbb',
'#f06666',
'#ffc266',
'#ffff66',
'#66b966',
'#66a3e0',
'#c285ff',
'#888888',
'#a10000',
'#b26b00',
'#b2b200',
'#006100',
'#0047b2',
'#6b24b2',
'#444444',
'#5c0000',
'#663d00',
'#666600',
'#003700',
'#002966',
'#3d1466',
],
text: 'Background Colors',
},
},
},
},
}
|
| QuillType |
Type : any
|
Default value : window['Quill']
|
| ResizeObserver |
| ResizeObserver |
| SELECT_MULTIPLE_VALUE_ACCESSOR |
Type : Provider
|
Default value : {
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() => EuiSelectMultipleControlValueAccessor),
multi: true,
}
|
| testBed |
Type : unknown
|
Default value : getTestBed()
|
| TRANSLATED_STRING |
Type : string
|
Default value : 'i18n'
|
| window |
Type : literal type
|