inviton-powerduck 0.0.170 → 0.0.171
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.
|
@@ -9,6 +9,7 @@ import './css/checkbox-without-label.css';
|
|
|
9
9
|
interface CheckBoxArgs extends FormItemWrapperArgs {
|
|
10
10
|
value: boolean;
|
|
11
11
|
checkboxLabelHtml?: string;
|
|
12
|
+
disabled?: boolean;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
skin?: CheckBoxSkin;
|
|
14
15
|
changed?: (newValue: boolean) => void;
|
|
@@ -21,6 +22,7 @@ class CheckBoxWithoutLabelComponent extends TsxComponent<CheckBoxArgs> implement
|
|
|
21
22
|
@Prop() labelButtons!: DropdownButtonItemArgs[];
|
|
22
23
|
@Prop() subtitle!: string;
|
|
23
24
|
@Prop() checkboxLabelHtml!: string;
|
|
25
|
+
@Prop() disabled!: boolean;
|
|
24
26
|
@Prop() value!: boolean;
|
|
25
27
|
@Prop() placeholder!: string;
|
|
26
28
|
@Prop() mandatory!: boolean;
|
|
@@ -35,7 +37,7 @@ class CheckBoxWithoutLabelComponent extends TsxComponent<CheckBoxArgs> implement
|
|
|
35
37
|
@Prop() prependClicked: () => void;
|
|
36
38
|
@Prop() changed: (newValue: boolean) => void;
|
|
37
39
|
|
|
38
|
-
render(h) {
|
|
40
|
+
render (h) {
|
|
39
41
|
return (
|
|
40
42
|
<div class="cb-without-label">
|
|
41
43
|
<CheckBox
|
|
@@ -43,6 +45,7 @@ class CheckBoxWithoutLabelComponent extends TsxComponent<CheckBoxArgs> implement
|
|
|
43
45
|
cssClass={this.cssClass}
|
|
44
46
|
mandatory={this.mandatory}
|
|
45
47
|
wrap={true}
|
|
48
|
+
disabled={this.disabled}
|
|
46
49
|
appendIcon={this.appendIcon}
|
|
47
50
|
prependIcon={this.prependIcon}
|
|
48
51
|
marginType={this.marginType}
|