@grapecity/inputman.angular
Version:
このパッケージには、Angular用の[InputManJS](https://developer.mescius.jp/inputmanjs)コンポーネントが含まれます。
136 lines (135 loc) • 9.09 kB
TypeScript
import { ElementRef, QueryList, EventEmitter } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { GC } from '../inputman';
import { GcComponents } from './GcComponents';
import * as i0 from "@angular/core";
declare type ComboBoxValuesType = number[] | string[] | boolean[] | object[];
declare type ComboBoxItemType = string | object;
declare type ComboBoxItemsType = string[] | object[];
export declare class GcComboBoxColumnComponent {
name: string;
label: string;
width: number | string;
isValuePath: boolean;
visible: boolean;
clickSort: boolean;
contentAlignment: GC.InputMan.Alignment;
headerAlignment: GC.InputMan.Alignment;
showTip: boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<GcComboBoxColumnComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GcComboBoxColumnComponent, "gc-combo-box-column", never, { "name": "name"; "label": "label"; "width": "width"; "isValuePath": "isValuePath"; "visible": "visible"; "clickSort": "clickSort"; "contentAlignment": "contentAlignment"; "headerAlignment": "headerAlignment"; "showTip": "showTip"; }, {}, never, never, false, never>;
}
export declare class GcComboBoxComponent extends GcComponents<GC.InputMan.GcComboBox> implements ControlValueAccessor {
constructor(ref: ElementRef);
private text;
private onChange;
private onTouched;
writeValue(value: any): void;
registerOnChange(onChange: any): void;
registerOnTouched(onTouched: any): void;
setDisabledState(isDisabled: boolean): void;
items: ComboBoxValuesType;
selectedValue: number | string | boolean | object;
allowDropDownResize: boolean;
width: number | string;
height: number | string;
minWidth: number | string;
minHeight: number | string;
maxWidth: number | string;
maxHeight: number | string;
fontSize: number | string;
readOnly: boolean;
autoSelect: boolean;
selectedIndex: number;
autoFilter: string | GC.InputMan.AutoFilter;
visible: boolean;
enabled: boolean;
showTip: boolean;
isEditable: boolean;
watermarkDisplayNullText: string;
watermarkNullText: string;
highlightText: boolean;
exitOnEnterKey: string | GC.InputMan.ExitKey;
useClipboard: boolean;
acceptsCrlf: string | GC.InputMan.CrLfMode;
acceptsTabChar: GC.InputMan.TabCharMode;
ellipsis: string | GC.InputMan.EllipsisMode;
ellipsisString: string;
exitOnLeftRightKey: string | GC.InputMan.ExitOnLeftRightKey;
tabIndex: number;
showHelpButton: boolean;
autoCompleteMode: GC.InputMan.AutoCompleteMode;
autoCompleteMatchMode: GC.InputMan.AutoCompleteMatchMode;
showCopyButton: boolean;
helpContent: string;
copyMessage: string;
copiedMessage: string;
floatingLabelText: string;
floatingLabelType: GC.InputMan.FloatingLabelType;
floatingLabelDirection: GC.InputMan.FloatingLabelDirection;
editMode: string | GC.InputMan.EditMode;
checkedValues: ComboBoxValuesType;
selectedItem: ComboBoxItemType;
checkedItems: ComboBoxItemsType;
checkedIndices: number[];
showDropDownButton: boolean;
dropDownButtonPosition: string | GC.InputMan.DropDownButtonAlignment;
showSpinButton: boolean;
spinButtonPosition: string | GC.InputMan.SpinButtonAlignment;
dropDownWidth: number | 'auto';
dropDownHeight: number;
minPrefixLength: number;
isMultiSelect: boolean;
dropDownOverflow: string | GC.InputMan.ScrollBars;
visibleItems: number;
itemHeight: number;
columns: GC.InputMan.ColumnConfig[];
showHeader: boolean;
valueMemberPath: string;
displayMemberPath: string;
checkOnClick: boolean;
itemTemplate: string | string[];
headerTemplate: string;
footerTemplate: string;
spinWheel: boolean;
emptyTemplate: string;
load: (context: GC.InputMan.ILoadContext) => void;
pageSize: number;
virtualMode: boolean;
generatingItem: (args: GC.InputMan.IItemGeneratingArgs) => void;
selectTemplate: (args: GC.InputMan.ITemplateSelectArgs) => string;
formatItem: (args: GC.InputMan.IItemArgs) => void;
allowColumnResize: boolean;
colHeaderHeight: number;
container: HTMLElement;
autoDropDown: boolean;
dropDownButtonVisible: boolean;
showClearButton: boolean;
autoScale: boolean;
minScaleFactor: number;
multipleItemSeparator: string;
dropDownType: GC.InputMan.ComboDropDownType;
dropDownTreeConfig: GC.InputMan.ComboBoxDropDownTreeConfig;
checkBySpace: boolean;
selectedChanged: EventEmitter<GC.InputMan.GcComboBox>;
checkedChanged: EventEmitter<GC.InputMan.GcComboBox>;
dropDownClosed: EventEmitter<GC.InputMan.GcComboBox>;
dropDownOpened: EventEmitter<GC.InputMan.GcComboBox>;
textChanged: EventEmitter<GC.InputMan.GcComboBox>;
spinDown: EventEmitter<GC.InputMan.GcComboBox>;
spinUp: EventEmitter<GC.InputMan.GcComboBox>;
itemsChanged: EventEmitter<GC.InputMan.GcComboBox>;
itemsChange: EventEmitter<ComboBoxValuesType>;
selectedValueChange: EventEmitter<object | string | number | boolean>;
selectedIndexChange: EventEmitter<number>;
checkedValuesChange: EventEmitter<ComboBoxValuesType>;
selectedItemChange: EventEmitter<object | string>;
checkedItemsChange: EventEmitter<ComboBoxItemsType>;
checkedIndicesChange: EventEmitter<number[]>;
columnComponents: QueryList<GcComboBoxColumnComponent>;
protected initGcComponent(): void;
protected bindEvent(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<GcComboBoxComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GcComboBoxComponent, "gc-combo-box", never, { "items": "items"; "selectedValue": "selectedValue"; "allowDropDownResize": "allowDropDownResize"; "width": "width"; "height": "height"; "minWidth": "minWidth"; "minHeight": "minHeight"; "maxWidth": "maxWidth"; "maxHeight": "maxHeight"; "fontSize": "fontSize"; "readOnly": "readOnly"; "autoSelect": "autoSelect"; "selectedIndex": "selectedIndex"; "autoFilter": "autoFilter"; "visible": "visible"; "enabled": "enabled"; "showTip": "showTip"; "isEditable": "isEditable"; "watermarkDisplayNullText": "watermarkDisplayNullText"; "watermarkNullText": "watermarkNullText"; "highlightText": "highlightText"; "exitOnEnterKey": "exitOnEnterKey"; "useClipboard": "useClipboard"; "acceptsCrlf": "acceptsCrlf"; "acceptsTabChar": "acceptsTabChar"; "ellipsis": "ellipsis"; "ellipsisString": "ellipsisString"; "exitOnLeftRightKey": "exitOnLeftRightKey"; "tabIndex": "tabIndex"; "showHelpButton": "showHelpButton"; "autoCompleteMode": "autoCompleteMode"; "autoCompleteMatchMode": "autoCompleteMatchMode"; "showCopyButton": "showCopyButton"; "helpContent": "helpContent"; "copyMessage": "copyMessage"; "copiedMessage": "copiedMessage"; "floatingLabelText": "floatingLabelText"; "floatingLabelType": "floatingLabelType"; "floatingLabelDirection": "floatingLabelDirection"; "editMode": "editMode"; "checkedValues": "checkedValues"; "selectedItem": "selectedItem"; "checkedItems": "checkedItems"; "checkedIndices": "checkedIndices"; "showDropDownButton": "showDropDownButton"; "dropDownButtonPosition": "dropDownButtonPosition"; "showSpinButton": "showSpinButton"; "spinButtonPosition": "spinButtonPosition"; "dropDownWidth": "dropDownWidth"; "dropDownHeight": "dropDownHeight"; "minPrefixLength": "minPrefixLength"; "isMultiSelect": "isMultiSelect"; "dropDownOverflow": "dropDownOverflow"; "visibleItems": "visibleItems"; "itemHeight": "itemHeight"; "columns": "columns"; "showHeader": "showHeader"; "valueMemberPath": "valueMemberPath"; "displayMemberPath": "displayMemberPath"; "checkOnClick": "checkOnClick"; "itemTemplate": "itemTemplate"; "headerTemplate": "headerTemplate"; "footerTemplate": "footerTemplate"; "spinWheel": "spinWheel"; "emptyTemplate": "emptyTemplate"; "load": "load"; "pageSize": "pageSize"; "virtualMode": "virtualMode"; "generatingItem": "generatingItem"; "selectTemplate": "selectTemplate"; "formatItem": "formatItem"; "allowColumnResize": "allowColumnResize"; "colHeaderHeight": "colHeaderHeight"; "container": "container"; "autoDropDown": "autoDropDown"; "dropDownButtonVisible": "dropDownButtonVisible"; "showClearButton": "showClearButton"; "autoScale": "autoScale"; "minScaleFactor": "minScaleFactor"; "multipleItemSeparator": "multipleItemSeparator"; "dropDownType": "dropDownType"; "dropDownTreeConfig": "dropDownTreeConfig"; "checkBySpace": "checkBySpace"; }, { "selectedChanged": "selectedChanged"; "checkedChanged": "checkedChanged"; "dropDownClosed": "dropDownClosed"; "dropDownOpened": "dropDownOpened"; "textChanged": "textChanged"; "spinDown": "spinDown"; "spinUp": "spinUp"; "itemsChanged": "itemsChanged"; "itemsChange": "itemsChange"; "selectedValueChange": "selectedValueChange"; "selectedIndexChange": "selectedIndexChange"; "checkedValuesChange": "checkedValuesChange"; "selectedItemChange": "selectedItemChange"; "checkedItemsChange": "checkedItemsChange"; "checkedIndicesChange": "checkedIndicesChange"; }, ["columnComponents"], never, false, never>;
}
export {};