123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- import { SuperComponent } from '../common/src/index';
- export default class CheckBox extends SuperComponent {
- externalClasses: string[];
- behaviors: string[];
- relations: {
- '../checkbox-group/checkbox-group': {
- type: "ancestor";
- };
- };
- options: {
- multipleSlots: boolean;
- };
- properties: {
- defaultChecked: {
- type: any;
- value: any;
- };
- align?: {
- type: StringConstructor;
- value?: "left" | "right";
- };
- checkAll?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- checked?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- color?: {
- type: StringConstructor;
- value?: string;
- };
- content?: {
- type: StringConstructor;
- value?: string;
- };
- contentDisabled?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- disabled?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- externalClasses?: {
- type: ArrayConstructor;
- value?: ["t-class", "t-class-icon", "t-class-label", "t-class-content", "t-class-border"];
- };
- icon?: {
- type: ArrayConstructor;
- value?: string[];
- };
- indeterminate?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- label?: {
- type: StringConstructor;
- value?: string;
- };
- maxContentRow?: {
- type: NumberConstructor;
- value?: number;
- };
- maxLabelRow?: {
- type: NumberConstructor;
- value?: number;
- };
- name?: {
- type: StringConstructor;
- value?: string;
- };
- readonly?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- value?: {
- type: StringConstructor;
- optionalTypes: NumberConstructor[];
- value?: string | number;
- };
- };
- data: {
- classPrefix: string;
- prefix: string;
- active: boolean;
- halfChecked: boolean;
- optionLinked: boolean;
- canCancel: boolean;
- };
- lifetimes: {
- attached(): void;
- };
- observers: {
- checked: (isChecked: any) => void;
- };
- controlledProps: {
- key: string;
- event: string;
- }[];
- methods: {
- onChange(e: any): void;
- initStatus(): void;
- setCancel(cancel: boolean): void;
- setDisabled(disabled: Boolean): void;
- changeCheckAllHalfStatus(active: boolean): void;
- setOptionLinked(linked: Boolean): void;
- };
- }
|