Skip to content

Commit bef499b

Browse files
author
gianluca.cagnin
committed
awesome checkbox
1 parent 9390777 commit bef499b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2027
-16
lines changed

AngularUtils.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</ItemGroup>
2424
<ItemGroup>
2525
<Content Include="bower_components\angular\angular.js" />
26+
<Content Include="bower_components\awesome-bootstrap-checkbox\awesome-bootstrap-checkbox.css" />
2627
<Content Include="bower_components\bootstrap-datepicker\dist\css\bootstrap-datepicker3.min.css" />
2728
<Content Include="bower_components\bootstrap-datepicker\dist\js\bootstrap-datepicker.min.js" />
2829
<Content Include="bower_components\bootstrap-datepicker\dist\locales\bootstrap-datepicker.it.min.js" />

bower.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-utils",
3-
"version": "2.0.6",
3+
"version": "2.0.7",
44
"description": "",
55
"main": [
66
"./dist/au.js",
@@ -24,6 +24,7 @@
2424
"jquery": "~2.2.3",
2525
"bootstrap": "~3.3.6",
2626
"components-font-awesome": "~4.5.0",
27-
"bootstrap-datepicker": "~1.6.0"
27+
"bootstrap-datepicker": "~1.6.0",
28+
"awesome-bootstrap-checkbox": "~0.3.7"
2829
}
2930
}

demo/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css" type="text/css"/>
88
<link href="../bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css" rel="stylesheet" />
99
<link rel="stylesheet" href="../bower_components/components-font-awesome/css/font-awesome.min.css" type="text/css"/>
10-
10+
<link href="../bower_components/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet" />
1111
<script src="../bower_components/jquery/dist/jquery.js"></script>
1212
<script src="../bower_components/angular/angular.js"></script>
1313
<script src="../bower_components/bootstrap/dist/js/bootstrap.js"></script>
@@ -36,6 +36,7 @@ <h1>Angular Utils Demo</h1>
3636
<div au-text="Ctrl.data.patternInput" label="Pattern Input" required="true" pattern="Ctrl.pattern"></div>
3737
<div au-number="Ctrl.data.numberInput" label="Number Input" min="-10"></div>
3838
<div au-checkbox="Ctrl.data.booleanInput" label="Boolean Input" required="true"></div>
39+
<div au-awesome-checkbox="Ctrl.data.booleanInput" label="Awesome Boolean Input" required="true"></div>
3940
<div au-date="Ctrl.data.dateInput" label="Date Input" required="true"></div>
4041

4142

dist/au.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ declare module au {
158158
hasErrorClass: boolean;
159159
hasSuccessClass: boolean;
160160
hasWarnigClass: boolean;
161+
brand: any;
161162
hasRequiredIcon: boolean;
162163
hasFeedbackIcon: boolean;
163164
json: {
@@ -242,6 +243,12 @@ declare module au {
242243
constructor(...args: any[]);
243244
GetTemplate(): string;
244245
}
246+
class AwesomeCheckboxInput extends StandardInput {
247+
GetController(): typeof AwesomeCheckboxInput;
248+
rndId: string;
249+
constructor(...args: any[]);
250+
GetTemplate(): string;
251+
}
245252
class FileInput extends StandardInput {
246253
GetTemplate(): string;
247254
GetController(): typeof FileInput;

dist/au.js

Lines changed: 31 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/au.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/au-input.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ declare module au {
2121
hasErrorClass: boolean;
2222
hasSuccessClass: boolean;
2323
hasWarnigClass: boolean;
24+
brand: any;
2425
hasRequiredIcon: boolean;
2526
hasFeedbackIcon: boolean;
2627
json: {
@@ -105,6 +106,12 @@ declare module au {
105106
constructor(...args: any[]);
106107
GetTemplate(): string;
107108
}
109+
class AwesomeCheckboxInput extends StandardInput {
110+
GetController(): typeof AwesomeCheckboxInput;
111+
rndId: string;
112+
constructor(...args: any[]);
113+
GetTemplate(): string;
114+
}
108115
class FileInput extends StandardInput {
109116
GetTemplate(): string;
110117
GetController(): typeof FileInput;

dist/components/au-input.js

Lines changed: 31 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)