Skip to content

Commit 40eef00

Browse files
committed
Update build to add bootstrap decorator
1 parent b1d1f23 commit 40eef00

7 files changed

+508
-299
lines changed

dist/angular-schema-form-bootstrap.js

Lines changed: 444 additions & 264 deletions
Large diffs are not rendered by default.

dist/angular-schema-form-bootstrap.min.js

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

dist/angular-schema-form.js

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-schema-form
33
* @version 1.0.0-alpha.6
4-
* @date Sat, 14 Jan 2017 15:25:30 GMT
4+
* @date Sat, 14 Jan 2017 15:37:36 GMT
55
* @link https://github.com/json-schema-form/angular-schema-form
66
* @license MIT
77
* Copyright (c) 2014-2017 JSON Schema Form
@@ -69,7 +69,7 @@
6969
/******/ __webpack_require__.p = "";
7070

7171
/******/ // Load entry module and return exports
72-
/******/ return __webpack_require__(__webpack_require__.s = 15);
72+
/******/ return __webpack_require__(__webpack_require__.s = 16);
7373
/******/ })
7474
/************************************************************************/
7575
/******/ ([
@@ -1011,26 +1011,27 @@ module.exports = __webpack_require__(4);
10111011
//# sourceMappingURL=json-schema-form-core.js.map
10121012

10131013
/***/ },
1014-
/* 2 */
1014+
/* 2 */,
1015+
/* 3 */
10151016
/***/ function(module, exports, __webpack_require__) {
10161017

10171018
"use strict";
10181019
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_json_schema_form_core__ = __webpack_require__(1);
10191020
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_json_schema_form_core___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_json_schema_form_core__);
10201021
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_angular__ = __webpack_require__(0);
10211022
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_angular___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_angular__);
1022-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_sf_builder_provider__ = __webpack_require__(12);
1023-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_schema_form_decorators_provider__ = __webpack_require__(10);
1024-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_schema_form_provider__ = __webpack_require__(11);
1025-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_sf_error_message_provider__ = __webpack_require__(13);
1026-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_sf_path_provider__ = __webpack_require__(14);
1027-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_sf_changed_directive__ = __webpack_require__(5);
1028-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_sf_field_directive__ = __webpack_require__(6);
1029-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_sf_message_directive__ = __webpack_require__(8);
1030-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_sf_array_directive__ = __webpack_require__(4);
1031-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_sf_key_directive__ = __webpack_require__(7);
1032-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_sf_schema_directive__ = __webpack_require__(9);
1033-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_schema_validate_directive__ = __webpack_require__(3);
1023+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_sf_builder_provider__ = __webpack_require__(13);
1024+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_schema_form_decorators_provider__ = __webpack_require__(11);
1025+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_schema_form_provider__ = __webpack_require__(12);
1026+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_sf_error_message_provider__ = __webpack_require__(14);
1027+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_sf_path_provider__ = __webpack_require__(15);
1028+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_sf_changed_directive__ = __webpack_require__(6);
1029+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_sf_field_directive__ = __webpack_require__(7);
1030+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_sf_message_directive__ = __webpack_require__(9);
1031+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_sf_array_directive__ = __webpack_require__(5);
1032+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_sf_key_directive__ = __webpack_require__(8);
1033+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_sf_schema_directive__ = __webpack_require__(10);
1034+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_schema_validate_directive__ = __webpack_require__(4);
10341035

10351036

10361037

@@ -1084,7 +1085,7 @@ __WEBPACK_IMPORTED_MODULE_1_angular___default.a.module('schemaForm', deps)
10841085
.directive('sfChanged', __WEBPACK_IMPORTED_MODULE_7_sf_changed_directive__["a" /* default */]).directive('sfField', ['$parse', '$compile', '$http', '$templateCache', '$interpolate', '$q', 'sfErrorMessage', 'sfPath', 'sfSelect', __WEBPACK_IMPORTED_MODULE_8_sf_field_directive__["a" /* default */]]).directive('sfMessage', ['$injector', 'sfErrorMessage', __WEBPACK_IMPORTED_MODULE_9_sf_message_directive__["a" /* default */]]).directive('sfNewArray', ['sfSelect', 'sfPath', 'schemaForm', __WEBPACK_IMPORTED_MODULE_10_sf_array_directive__["a" /* default */]]).directive('sfSchema', ['$compile', '$http', '$templateCache', '$q', 'schemaForm', 'schemaFormDecorators', 'sfSelect', 'sfPath', 'sfBuilder', __WEBPACK_IMPORTED_MODULE_12_sf_schema_directive__["a" /* default */]]).directive('schemaValidate', ['sfValidator', '$parse', 'sfSelect', __WEBPACK_IMPORTED_MODULE_13_schema_validate_directive__["a" /* default */]]).directive('sfKeyController', ['schemaForm', 'sfPath', __WEBPACK_IMPORTED_MODULE_11_sf_key_directive__["a" /* default */]]);
10851086

10861087
/***/ },
1087-
/* 3 */
1088+
/* 4 */
10881089
/***/ function(module, exports, __webpack_require__) {
10891090

10901091
"use strict";
@@ -1271,7 +1272,7 @@ __WEBPACK_IMPORTED_MODULE_1_angular___default.a.module('schemaForm', deps)
12711272
};
12721273

12731274
/***/ },
1274-
/* 4 */
1275+
/* 5 */
12751276
/***/ function(module, exports, __webpack_require__) {
12761277

12771278
"use strict";
@@ -1522,7 +1523,7 @@ __WEBPACK_IMPORTED_MODULE_1_angular___default.a.module('schemaForm', deps)
15221523
};
15231524

15241525
/***/ },
1525-
/* 5 */
1526+
/* 6 */
15261527
/***/ function(module, exports, __webpack_require__) {
15271528

15281529
"use strict";
@@ -1568,7 +1569,7 @@ __WEBPACK_IMPORTED_MODULE_1_angular___default.a.module('schemaForm', deps)
15681569
};
15691570

15701571
/***/ },
1571-
/* 6 */
1572+
/* 7 */
15721573
/***/ function(module, exports, __webpack_require__) {
15731574

15741575
"use strict";
@@ -1897,7 +1898,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
18971898
};
18981899

18991900
/***/ },
1900-
/* 7 */
1901+
/* 8 */
19011902
/***/ function(module, exports, __webpack_require__) {
19021903

19031904
"use strict";
@@ -1936,7 +1937,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
19361937
};;
19371938

19381939
/***/ },
1939-
/* 8 */
1940+
/* 9 */
19401941
/***/ function(module, exports, __webpack_require__) {
19411942

19421943
"use strict";
@@ -2040,7 +2041,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
20402041
};
20412042

20422043
/***/ },
2043-
/* 9 */
2044+
/* 10 */
20442045
/***/ function(module, exports, __webpack_require__) {
20452046

20462047
"use strict";
@@ -2243,7 +2244,7 @@ FIXME: real documentation
22432244
};
22442245

22452246
/***/ },
2246-
/* 10 */
2247+
/* 11 */
22472248
/***/ function(module, exports, __webpack_require__) {
22482249

22492250
"use strict";
@@ -2786,7 +2787,7 @@ FIXME: real documentation
27862787
};;
27872788

27882789
/***/ },
2789-
/* 11 */
2790+
/* 12 */
27902791
/***/ function(module, exports, __webpack_require__) {
27912792

27922793
"use strict";
@@ -2909,7 +2910,7 @@ FIXME: real documentation
29092910
};
29102911

29112912
/***/ },
2912-
/* 12 */
2913+
/* 13 */
29132914
/***/ function(module, exports, __webpack_require__) {
29142915

29152916
"use strict";
@@ -3237,7 +3238,7 @@ FIXME: real documentation
32373238
};
32383239

32393240
/***/ },
3240-
/* 13 */
3241+
/* 14 */
32413242
/***/ function(module, exports, __webpack_require__) {
32423243

32433244
"use strict";
@@ -3374,7 +3375,7 @@ FIXME: real documentation
33743375
};
33753376

33763377
/***/ },
3377-
/* 14 */
3378+
/* 15 */
33783379
/***/ function(module, exports, __webpack_require__) {
33793380

33803381
"use strict";
@@ -3414,11 +3415,11 @@ var sfPathProviderClass = function () {
34143415
/* harmony default export */ exports["a"] = sfPathProviderClass;
34153416

34163417
/***/ },
3417-
/* 15 */
3418+
/* 16 */
34183419
/***/ function(module, exports, __webpack_require__) {
34193420

34203421
__webpack_require__(1);
3421-
module.exports = __webpack_require__(2);
3422+
module.exports = __webpack_require__(3);
34223423

34233424

34243425
/***/ }

dist/angular-schema-form.min.js

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

examples/data/deep-array.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"title": "Name",
1414
"type": "string"
1515
},
16+
"copyname": {
17+
"title": "Copy",
18+
"type": "string"
19+
},
1620
"comments": {
1721
"type": "array",
1822
"items": {
@@ -61,7 +65,11 @@
6165
"add": "btn-success"
6266
},
6367
"items": [
64-
"users[].name",
68+
{
69+
"key": "users[].name",
70+
"copyValueTo": "users[].copyname"
71+
},
72+
"users[].copyname",
6573
{
6674
"key": "users[].comments",
6775
"items": [

webpack.config.dist.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ const includes = [
77

88
config.entry = {
99
"angular-schema-form": includes,
10-
"angular-schema-form.min": includes
10+
"angular-schema-form.min": includes,
11+
"angular-schema-form-bootstrap": [ 'angular-schema-form-bootstrap' ],
12+
"angular-schema-form-bootstrap.min": [ 'angular-schema-form-bootstrap' ]
1113
}
1214

1315
module.exports = config;

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ module.exports = {
3636
resolve: {
3737
modules: [
3838
path.join(__dirname, "..", "json-schema-form-core", "dist"),
39+
path.join(__dirname, "..", "angular-schema-form-bootstrap", "dist"),
3940
path.join(__dirname, "src"),
4041
path.join(__dirname, "src", "directives"),
4142
path.join(__dirname, "src", "services"),

0 commit comments

Comments
 (0)