@ng-formworks/bootstrap3 17.3.0 → 17.5.1
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.
- package/README.md +4 -2
- package/esm2022/lib/bootstrap3-framework.component.mjs +20 -23
- package/esm2022/lib/bootstrap3.framework.mjs +10 -9
- package/fesm2022/ng-formworks-bootstrap3.mjs +27 -29
- package/fesm2022/ng-formworks-bootstrap3.mjs.map +1 -1
- package/lib/bootstrap3-framework.component.d.ts +4 -5
- package/lib/bootstrap3.framework.d.ts +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -5,15 +5,16 @@ This module is a dependency of the [ng-formworks project][npm_core_ver] and is m
|
|
|
5
5
|
|
|
6
6
|
If you are unfamiliar with with the ng-formworks project, it is highly recommended to
|
|
7
7
|
first have a look at the [@ng-formworks pages][npm_core_ver] for examples, demos, options and documentation.
|
|
8
|
+
Before installing also have a look at the Angular/ng-formworks [version compatibility table][npm_core_ver#versions]
|
|
8
9
|
|
|
9
10
|
```shell
|
|
10
|
-
npm install @ng-formworks/core
|
|
11
|
+
npm install @ng-formworks/core @ng-formworks/cssframework @ng-formworks/bootstrap3
|
|
11
12
|
```
|
|
12
13
|
|
|
13
14
|
With YARN, run the following:
|
|
14
15
|
|
|
15
16
|
```shell
|
|
16
|
-
yarn add @ng-formworks/core
|
|
17
|
+
yarn add @ng-formworks/core @ng-formworks/cssframework @ng-formworks/bootstrap3
|
|
17
18
|
```
|
|
18
19
|
|
|
19
20
|
Then import `Bootstrap3FrameworkModule` in your main application module if you want to use `bootstrap3` UI, like this:
|
|
@@ -242,3 +243,4 @@ Run `ng test @ng-formworks/bootstrap3` to execute the unit tests via [Karma](htt
|
|
|
242
243
|
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
|
243
244
|
|
|
244
245
|
[npm_core_ver]:https://www.npmjs.com/package/@ng-formworks/core
|
|
246
|
+
[npm_core_ver#versions]:https://www.npmjs.com/package/@ng-formworks/core#versions
|
|
@@ -1,50 +1,47 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, Component, ViewEncapsulation, input, inject } from '@angular/core';
|
|
2
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@ng-formworks/
|
|
4
|
-
import * as i2 from "@ng-formworks/cssframework";
|
|
4
|
+
import * as i1 from "@ng-formworks/cssframework";
|
|
5
5
|
/**
|
|
6
6
|
* Bootstrap 3 framework for Angular JSON Schema Form.
|
|
7
7
|
*/
|
|
8
8
|
export class Bootstrap3FrameworkComponent {
|
|
9
|
-
constructor(
|
|
10
|
-
this.changeDetector =
|
|
11
|
-
this.jsf =
|
|
9
|
+
constructor() {
|
|
10
|
+
this.changeDetector = inject(ChangeDetectorRef);
|
|
11
|
+
this.jsf = inject(JsonSchemaFormService);
|
|
12
12
|
this.frameworkInitialized = false;
|
|
13
13
|
this.formControl = null;
|
|
14
14
|
this.debugOutput = '';
|
|
15
15
|
this.debug = '';
|
|
16
16
|
this.parentArray = null;
|
|
17
17
|
this.isOrderable = false;
|
|
18
|
+
this.layoutNode = input(undefined);
|
|
19
|
+
this.layoutIndex = input(undefined);
|
|
20
|
+
this.dataIndex = input(undefined);
|
|
18
21
|
}
|
|
19
22
|
ngOnInit() {
|
|
20
23
|
}
|
|
21
24
|
ngOnChanges() {
|
|
22
25
|
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3FrameworkComponent, deps: [
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3FrameworkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: Bootstrap3FrameworkComponent, selector: "bootstrap-3-framework", inputs: { layoutNode: { classPropertyName: "layoutNode", publicName: "layoutNode", isSignal: true, isRequired: false, transformFunction: null }, layoutIndex: { classPropertyName: "layoutIndex", publicName: "layoutIndex", isSignal: true, isRequired: false, transformFunction: null }, dataIndex: { classPropertyName: "dataIndex", publicName: "dataIndex", isSignal: true, isRequired: false, transformFunction: null } }, usesOnChanges: true, ngImport: i0, template: `
|
|
25
28
|
<div>
|
|
26
|
-
<css-framework [layoutNode]="layoutNode"
|
|
27
|
-
[layoutIndex]="layoutIndex"
|
|
28
|
-
[dataIndex]="dataIndex">
|
|
29
|
+
<css-framework [layoutNode]="layoutNode()"
|
|
30
|
+
[layoutIndex]="layoutIndex()"
|
|
31
|
+
[dataIndex]="dataIndex()">
|
|
29
32
|
</css-framework>
|
|
30
33
|
</div>
|
|
31
|
-
`, isInline: true, styles: [":host ::ng-deep .list-group-item .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}\n"], dependencies: [{ kind: "component", type:
|
|
34
|
+
`, isInline: true, styles: [":host ::ng-deep .list-group-item .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}\n"], dependencies: [{ kind: "component", type: i1.CssFrameworkComponent, selector: "css-framework", inputs: ["layoutNode", "layoutIndex", "dataIndex"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
32
35
|
}
|
|
33
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3FrameworkComponent, decorators: [{
|
|
34
37
|
type: Component,
|
|
35
38
|
args: [{ selector: 'bootstrap-3-framework', template: `
|
|
36
39
|
<div>
|
|
37
|
-
<css-framework [layoutNode]="layoutNode"
|
|
38
|
-
[layoutIndex]="layoutIndex"
|
|
39
|
-
[dataIndex]="dataIndex">
|
|
40
|
+
<css-framework [layoutNode]="layoutNode()"
|
|
41
|
+
[layoutIndex]="layoutIndex()"
|
|
42
|
+
[dataIndex]="dataIndex()">
|
|
40
43
|
</css-framework>
|
|
41
44
|
</div>
|
|
42
45
|
`, encapsulation: ViewEncapsulation.None, styles: [":host ::ng-deep .list-group-item .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}\n"] }]
|
|
43
|
-
}]
|
|
44
|
-
|
|
45
|
-
}], layoutIndex: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], dataIndex: [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2
|
-
import { CssFramework } from '@ng-formworks/cssframework';
|
|
1
|
+
import { Injectable, inject } from '@angular/core';
|
|
2
|
+
import { CssFramework, CssframeworkService } from '@ng-formworks/cssframework';
|
|
3
3
|
import { cssFrameworkCfgBootstrap3 } from './bootstrap3-cssframework';
|
|
4
4
|
import { Bootstrap3FrameworkComponent } from './bootstrap3-framework.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@ng-formworks/cssframework";
|
|
7
6
|
// Bootstrap 3 Framework
|
|
8
7
|
// https://github.com/valor-software/ng2-bootstrap
|
|
9
8
|
export class Bootstrap3Framework extends CssFramework {
|
|
10
|
-
constructor(
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
constructor() {
|
|
10
|
+
const cssFWService = inject(CssframeworkService);
|
|
11
|
+
//super(cssFrameworkCfgBootstrap3,cssFWService);
|
|
12
|
+
super(cssFrameworkCfgBootstrap3);
|
|
13
13
|
this.name = 'bootstrap-3';
|
|
14
14
|
this.framework = Bootstrap3FrameworkComponent;
|
|
15
|
+
this.cssFWService = cssFWService;
|
|
15
16
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3Framework, deps: [
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3Framework, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17
18
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3Framework }); }
|
|
18
19
|
}
|
|
19
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3Framework, decorators: [{
|
|
20
21
|
type: Injectable
|
|
21
|
-
}], ctorParameters: () => [
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|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,52 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { CssFramework, CssFrameworkModule } from '@ng-formworks/cssframework';
|
|
2
|
+
import { inject, ChangeDetectorRef, input, ViewEncapsulation, Component, Injectable, NgModule } from '@angular/core';
|
|
3
|
+
import { JsonSchemaFormService, JsonSchemaFormModule, WidgetLibraryModule, FrameworkLibraryService, WidgetLibraryService, Framework } from '@ng-formworks/core';
|
|
4
|
+
import * as i1 from '@ng-formworks/cssframework';
|
|
5
|
+
import { CssFramework, CssframeworkService, CssFrameworkModule } from '@ng-formworks/cssframework';
|
|
7
6
|
import { CommonModule } from '@angular/common';
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* Bootstrap 3 framework for Angular JSON Schema Form.
|
|
11
10
|
*/
|
|
12
11
|
class Bootstrap3FrameworkComponent {
|
|
13
|
-
constructor(
|
|
14
|
-
this.changeDetector =
|
|
15
|
-
this.jsf =
|
|
12
|
+
constructor() {
|
|
13
|
+
this.changeDetector = inject(ChangeDetectorRef);
|
|
14
|
+
this.jsf = inject(JsonSchemaFormService);
|
|
16
15
|
this.frameworkInitialized = false;
|
|
17
16
|
this.formControl = null;
|
|
18
17
|
this.debugOutput = '';
|
|
19
18
|
this.debug = '';
|
|
20
19
|
this.parentArray = null;
|
|
21
20
|
this.isOrderable = false;
|
|
21
|
+
this.layoutNode = input(undefined);
|
|
22
|
+
this.layoutIndex = input(undefined);
|
|
23
|
+
this.dataIndex = input(undefined);
|
|
22
24
|
}
|
|
23
25
|
ngOnInit() {
|
|
24
26
|
}
|
|
25
27
|
ngOnChanges() {
|
|
26
28
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3FrameworkComponent, deps: [
|
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3FrameworkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: Bootstrap3FrameworkComponent, selector: "bootstrap-3-framework", inputs: { layoutNode: { classPropertyName: "layoutNode", publicName: "layoutNode", isSignal: true, isRequired: false, transformFunction: null }, layoutIndex: { classPropertyName: "layoutIndex", publicName: "layoutIndex", isSignal: true, isRequired: false, transformFunction: null }, dataIndex: { classPropertyName: "dataIndex", publicName: "dataIndex", isSignal: true, isRequired: false, transformFunction: null } }, usesOnChanges: true, ngImport: i0, template: `
|
|
29
31
|
<div>
|
|
30
|
-
<css-framework [layoutNode]="layoutNode"
|
|
31
|
-
[layoutIndex]="layoutIndex"
|
|
32
|
-
[dataIndex]="dataIndex">
|
|
32
|
+
<css-framework [layoutNode]="layoutNode()"
|
|
33
|
+
[layoutIndex]="layoutIndex()"
|
|
34
|
+
[dataIndex]="dataIndex()">
|
|
33
35
|
</css-framework>
|
|
34
36
|
</div>
|
|
35
|
-
`, isInline: true, styles: [":host ::ng-deep .list-group-item .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}\n"], dependencies: [{ kind: "component", type: i1
|
|
37
|
+
`, isInline: true, styles: [":host ::ng-deep .list-group-item .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}\n"], dependencies: [{ kind: "component", type: i1.CssFrameworkComponent, selector: "css-framework", inputs: ["layoutNode", "layoutIndex", "dataIndex"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
36
38
|
}
|
|
37
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3FrameworkComponent, decorators: [{
|
|
38
40
|
type: Component,
|
|
39
41
|
args: [{ selector: 'bootstrap-3-framework', template: `
|
|
40
42
|
<div>
|
|
41
|
-
<css-framework [layoutNode]="layoutNode"
|
|
42
|
-
[layoutIndex]="layoutIndex"
|
|
43
|
-
[dataIndex]="dataIndex">
|
|
43
|
+
<css-framework [layoutNode]="layoutNode()"
|
|
44
|
+
[layoutIndex]="layoutIndex()"
|
|
45
|
+
[dataIndex]="dataIndex()">
|
|
44
46
|
</css-framework>
|
|
45
47
|
</div>
|
|
46
48
|
`, encapsulation: ViewEncapsulation.None, styles: [":host ::ng-deep .list-group-item .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}\n"] }]
|
|
47
|
-
}]
|
|
48
|
-
type: Input
|
|
49
|
-
}], layoutIndex: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], dataIndex: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}] } });
|
|
49
|
+
}] });
|
|
54
50
|
|
|
55
51
|
const cssFrameworkCfgBootstrap3 = {
|
|
56
52
|
"name": "bootstrap-3",
|
|
@@ -161,18 +157,20 @@ const cssFrameworkCfgBootstrap3 = {
|
|
|
161
157
|
// Bootstrap 3 Framework
|
|
162
158
|
// https://github.com/valor-software/ng2-bootstrap
|
|
163
159
|
class Bootstrap3Framework extends CssFramework {
|
|
164
|
-
constructor(
|
|
165
|
-
|
|
166
|
-
|
|
160
|
+
constructor() {
|
|
161
|
+
const cssFWService = inject(CssframeworkService);
|
|
162
|
+
//super(cssFrameworkCfgBootstrap3,cssFWService);
|
|
163
|
+
super(cssFrameworkCfgBootstrap3);
|
|
167
164
|
this.name = 'bootstrap-3';
|
|
168
165
|
this.framework = Bootstrap3FrameworkComponent;
|
|
166
|
+
this.cssFWService = cssFWService;
|
|
169
167
|
}
|
|
170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3Framework, deps: [
|
|
168
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3Framework, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
171
169
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3Framework }); }
|
|
172
170
|
}
|
|
173
171
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3Framework, decorators: [{
|
|
174
172
|
type: Injectable
|
|
175
|
-
}], ctorParameters: () => [
|
|
173
|
+
}], ctorParameters: () => [] });
|
|
176
174
|
|
|
177
175
|
class Bootstrap3FrameworkModule {
|
|
178
176
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Bootstrap3FrameworkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-formworks-bootstrap3.mjs","sources":["../../../../projects/ng-formworks-bootstrap3/src/lib/bootstrap3-framework.component.ts","../../../../projects/ng-formworks-bootstrap3/src/lib/bootstrap3-cssframework.ts","../../../../projects/ng-formworks-bootstrap3/src/lib/bootstrap3.framework.ts","../../../../projects/ng-formworks-bootstrap3/src/lib/bootstrap3-framework.module.ts","../../../../projects/ng-formworks-bootstrap3/src/public_api.ts","../../../../projects/ng-formworks-bootstrap3/src/ng-formworks-bootstrap3.ts"],"sourcesContent":["import { ChangeDetectorRef, Component, Input, OnChanges, OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { JsonSchemaFormService } from '@ng-formworks/core';\r\n\r\n/**\r\n * Bootstrap 3 framework for Angular JSON Schema Form.\r\n */\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'bootstrap-3-framework',\r\n template: `\r\n <div>\r\n <css-framework [layoutNode]=\"layoutNode\" \r\n [layoutIndex]=\"layoutIndex\" \r\n [dataIndex]=\"dataIndex\">\r\n </css-framework>\r\n </div>\r\n `,\r\n styleUrls: ['./bootstrap3-framework.component.scss'],\r\n encapsulation:ViewEncapsulation.None\r\n})\r\nexport class Bootstrap3FrameworkComponent implements OnInit, OnChanges {\r\n frameworkInitialized = false;\r\n widgetOptions: any; // Options passed to child widget\r\n widgetLayoutNode: any; // layoutNode passed to child widget\r\n options: any; // Options used in this framework\r\n formControl: any = null;\r\n debugOutput: any = '';\r\n debug: any = '';\r\n parentArray: any = null;\r\n isOrderable = false;\r\n @Input() layoutNode: any;\r\n @Input() layoutIndex: number[];\r\n @Input() dataIndex: number[];\r\n \r\n \r\n constructor(\r\n public changeDetector: ChangeDetectorRef,\r\n public jsf: JsonSchemaFormService\r\n ) {\r\n }\r\n \r\n \r\n \r\n ngOnInit() {\r\n \r\n }\r\n \r\n ngOnChanges() {\r\n \r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n","import { css_fw } from \"@ng-formworks/cssframework\";\r\n\r\nexport const cssFrameworkCfgBootstrap3:css_fw.frameworkcfg={\r\n \"name\": \"bootstrap-3\",\r\n \"text\":\"Bootstrap 3\",\r\n \"stylesheets\": [\r\n \"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\",\r\n \"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css\"\r\n ],\r\n\r\n \"scripts\": [\r\n \"//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js\",\r\n \"//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js\",\r\n \"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js\"\r\n ],\r\n\r\n \"widgetstyles\": {\r\n \"__themes__\": [\r\n {\"name\":\"bootstrap3_default\",\"text\":\"Bootstrap3 default\"}\r\n ],\r\n \"$ref\": {\r\n \"fieldHtmlClass\": \"btn pull-right btn-info\"\r\n },\r\n \"__array_item_nonref__\": {\r\n \"htmlClass\": \"list-group-item\"\r\n },\r\n \"__form_group__\": {\r\n \"htmlClass\": \"form-group\"\r\n },\r\n \"__control_label__\": {\r\n \"labelHtmlClass\": \"control-label\"\r\n },\r\n \"__active__\": {\r\n \"activeClass\": \"active\"\r\n },\r\n \"__required_asterisk__\": \"text-danger\",\r\n \"__screen_reader__\": \"sr-only\",\r\n \"__remove_item__\": \"close pull-right\",\r\n \"__help_block__\": \"help-block\",\r\n \"__field_addon_left__\": \"input-group-addon\",\r\n \"__field_addon_right__\": \"input-group-addon\",\r\n \"alt-date\": {},\r\n \"alt-datetime\": {},\r\n \"__array__\": {\r\n \"htmlClass\": \"list-group\"\r\n },\r\n \"array\": {},\r\n \"authfieldset\": {},\r\n \"advancedfieldset\": {},\r\n \"button\": {\r\n \"fieldHtmlClass\": \"btn btn-sm btn-primary\"\r\n },\r\n \"checkbox\": { \"fieldHtmlClass\": \"checkbox\" },\r\n \"checkboxes\": {\r\n \"fieldHtmlClass\": \"checkbox\"\r\n },\r\n \"checkboxbuttons\": {\r\n \"fieldHtmlClass\": \"sr-only\",\r\n \"htmlClass\": \"btn-group\",\r\n \"itemLabelHtmlClass\": \"btn\"\r\n },\r\n \"checkboxes-inline\": {\r\n \"htmlClass\": \"checkbox\",\r\n \"itemLabelHtmlClass\": \"checkbox-inline\"\r\n },\r\n \"date\": {},\r\n \"datetime-local\": {},\r\n \"fieldset\": {},\r\n \"integer\": {},\r\n \"number\": {},\r\n \"optionfieldset\": {},\r\n \"password\": {},\r\n \"radiobuttons\": {\r\n \"fieldHtmlClass\": \"sr-only\",\r\n \"htmlClass\": \"btn-group\",\r\n \"itemLabelHtmlClass\": \"btn\"\r\n },\r\n \"radio\": { \"fieldHtmlClass\": \"radio\" },\r\n \"radios\": {\r\n \"fieldHtmlClass\": \"radio\"\r\n },\r\n \"radios-inline\": {\r\n \"htmlClass\": \"radio\",\r\n \"itemLabelHtmlClass\": \"radio-inline\"\r\n },\r\n \"range\": {},\r\n \"section\": {},\r\n \"selectfieldset\": {},\r\n \"select\": {},\r\n \"submit\": {\r\n \"fieldHtmlClass\": \"btn btn-primary\"\r\n },\r\n \"text\": {},\r\n \"tabs\": {\r\n \"labelHtmlClass\": \"nav nav-tabs\",\r\n \"htmlClass\": \"tab-content\",\r\n \"fieldHtmlClass\": \"tab-pane\"\r\n },\r\n \"tabarray\": {\r\n \"labelHtmlClass\": \"nav nav-tabs\",\r\n \"htmlClass\": \"tab-content\",\r\n \"fieldHtmlClass\": \"tab-pane\"\r\n },\r\n \"textarea\": {},\r\n \"default\": {\r\n \"fieldHtmlClass\": \"form-control\"\r\n }\r\n }\r\n}","import { Injectable } from '@angular/core';\r\nimport { CssFramework, CssframeworkService } from '@ng-formworks/cssframework';\r\nimport { cssFrameworkCfgBootstrap3 } from './bootstrap3-cssframework';\r\nimport { Bootstrap3FrameworkComponent } from './bootstrap3-framework.component';\r\n\r\n// Bootstrap 3 Framework\r\n// https://github.com/valor-software/ng2-bootstrap\r\n\r\n@Injectable()\r\nexport class Bootstrap3Framework extends CssFramework {\r\n name = 'bootstrap-3';\r\n\r\n framework = Bootstrap3FrameworkComponent;\r\n\r\n constructor(public cssFWService:CssframeworkService){\r\n super(cssFrameworkCfgBootstrap3,cssFWService);\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport {\r\n Framework,\r\n FrameworkLibraryService,\r\n JsonSchemaFormModule,\r\n JsonSchemaFormService,\r\n WidgetLibraryModule,\r\n WidgetLibraryService\r\n} from '@ng-formworks/core';\r\nimport { CssFrameworkModule } from '@ng-formworks/cssframework';\r\nimport { Bootstrap3FrameworkComponent } from './bootstrap3-framework.component';\r\nimport { Bootstrap3Framework } from './bootstrap3.framework';\r\n\r\n@NgModule({\r\n imports: [\r\n JsonSchemaFormModule,\r\n CommonModule,\r\n WidgetLibraryModule,\r\n CssFrameworkModule\r\n ],\r\n declarations: [\r\n Bootstrap3FrameworkComponent,\r\n ],\r\n exports: [\r\n JsonSchemaFormModule,\r\n Bootstrap3FrameworkComponent,\r\n ],\r\n providers: [\r\n JsonSchemaFormService,\r\n FrameworkLibraryService,\r\n WidgetLibraryService,\r\n { provide: Framework, useClass: Bootstrap3Framework, multi: true },\r\n ]\r\n})\r\nexport class Bootstrap3FrameworkModule {\r\n}\r\n","/*\r\n * Public API Surface of @ng-formworks/bootstrap3\r\n */\r\n\r\nexport * from './lib/bootstrap3-framework.component';\r\nexport * from './lib/bootstrap3-framework.module';\r\nexport * from './lib/bootstrap3.framework';\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport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AAA,SAAS,EAAE;wBACP,qBAAqB;wBACrB,uBAAuB;wBACvB,oBAAoB;wBACpB,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,KAAK,EAAE,IAAI,EAAE;AACrE,qBAAA;AACJ,iBAAA,CAAA;;;AClCD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-formworks-bootstrap3.mjs","sources":["../../../../projects/ng-formworks-bootstrap3/src/lib/bootstrap3-framework.component.ts","../../../../projects/ng-formworks-bootstrap3/src/lib/bootstrap3-cssframework.ts","../../../../projects/ng-formworks-bootstrap3/src/lib/bootstrap3.framework.ts","../../../../projects/ng-formworks-bootstrap3/src/lib/bootstrap3-framework.module.ts","../../../../projects/ng-formworks-bootstrap3/src/public_api.ts","../../../../projects/ng-formworks-bootstrap3/src/ng-formworks-bootstrap3.ts"],"sourcesContent":["import { ChangeDetectorRef, Component, OnChanges, OnInit, ViewEncapsulation, input, inject } from '@angular/core';\r\nimport { JsonSchemaFormService } from '@ng-formworks/core';\r\n\r\n/**\r\n * Bootstrap 3 framework for Angular JSON Schema Form.\r\n */\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'bootstrap-3-framework',\r\n template: `\r\n <div>\r\n <css-framework [layoutNode]=\"layoutNode()\" \r\n [layoutIndex]=\"layoutIndex()\" \r\n [dataIndex]=\"dataIndex()\">\r\n </css-framework>\r\n </div>\r\n `,\r\n styleUrls: ['./bootstrap3-framework.component.scss'],\r\n encapsulation:ViewEncapsulation.None\r\n})\r\nexport class Bootstrap3FrameworkComponent implements OnInit, OnChanges {\r\n changeDetector = inject(ChangeDetectorRef);\r\n jsf = inject(JsonSchemaFormService);\r\n\r\n frameworkInitialized = false;\r\n widgetOptions: any; // Options passed to child widget\r\n widgetLayoutNode: any; // layoutNode passed to child widget\r\n options: any; // Options used in this framework\r\n formControl: any = null;\r\n debugOutput: any = '';\r\n debug: any = '';\r\n parentArray: any = null;\r\n isOrderable = false;\r\n readonly layoutNode = input<any>(undefined);\r\n readonly layoutIndex = input<number[]>(undefined);\r\n readonly dataIndex = input<number[]>(undefined);\r\n \r\n \r\n \r\n ngOnInit() {\r\n \r\n }\r\n \r\n ngOnChanges() {\r\n \r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n","import { css_fw } from \"@ng-formworks/cssframework\";\r\n\r\nexport const cssFrameworkCfgBootstrap3:css_fw.frameworkcfg={\r\n \"name\": \"bootstrap-3\",\r\n \"text\":\"Bootstrap 3\",\r\n \"stylesheets\": [\r\n \"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\",\r\n \"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css\"\r\n ],\r\n\r\n \"scripts\": [\r\n \"//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js\",\r\n \"//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js\",\r\n \"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js\"\r\n ],\r\n\r\n \"widgetstyles\": {\r\n \"__themes__\": [\r\n {\"name\":\"bootstrap3_default\",\"text\":\"Bootstrap3 default\"}\r\n ],\r\n \"$ref\": {\r\n \"fieldHtmlClass\": \"btn pull-right btn-info\"\r\n },\r\n \"__array_item_nonref__\": {\r\n \"htmlClass\": \"list-group-item\"\r\n },\r\n \"__form_group__\": {\r\n \"htmlClass\": \"form-group\"\r\n },\r\n \"__control_label__\": {\r\n \"labelHtmlClass\": \"control-label\"\r\n },\r\n \"__active__\": {\r\n \"activeClass\": \"active\"\r\n },\r\n \"__required_asterisk__\": \"text-danger\",\r\n \"__screen_reader__\": \"sr-only\",\r\n \"__remove_item__\": \"close pull-right\",\r\n \"__help_block__\": \"help-block\",\r\n \"__field_addon_left__\": \"input-group-addon\",\r\n \"__field_addon_right__\": \"input-group-addon\",\r\n \"alt-date\": {},\r\n \"alt-datetime\": {},\r\n \"__array__\": {\r\n \"htmlClass\": \"list-group\"\r\n },\r\n \"array\": {},\r\n \"authfieldset\": {},\r\n \"advancedfieldset\": {},\r\n \"button\": {\r\n \"fieldHtmlClass\": \"btn btn-sm btn-primary\"\r\n },\r\n \"checkbox\": { \"fieldHtmlClass\": \"checkbox\" },\r\n \"checkboxes\": {\r\n \"fieldHtmlClass\": \"checkbox\"\r\n },\r\n \"checkboxbuttons\": {\r\n \"fieldHtmlClass\": \"sr-only\",\r\n \"htmlClass\": \"btn-group\",\r\n \"itemLabelHtmlClass\": \"btn\"\r\n },\r\n \"checkboxes-inline\": {\r\n \"htmlClass\": \"checkbox\",\r\n \"itemLabelHtmlClass\": \"checkbox-inline\"\r\n },\r\n \"date\": {},\r\n \"datetime-local\": {},\r\n \"fieldset\": {},\r\n \"integer\": {},\r\n \"number\": {},\r\n \"optionfieldset\": {},\r\n \"password\": {},\r\n \"radiobuttons\": {\r\n \"fieldHtmlClass\": \"sr-only\",\r\n \"htmlClass\": \"btn-group\",\r\n \"itemLabelHtmlClass\": \"btn\"\r\n },\r\n \"radio\": { \"fieldHtmlClass\": \"radio\" },\r\n \"radios\": {\r\n \"fieldHtmlClass\": \"radio\"\r\n },\r\n \"radios-inline\": {\r\n \"htmlClass\": \"radio\",\r\n \"itemLabelHtmlClass\": \"radio-inline\"\r\n },\r\n \"range\": {},\r\n \"section\": {},\r\n \"selectfieldset\": {},\r\n \"select\": {},\r\n \"submit\": {\r\n \"fieldHtmlClass\": \"btn btn-primary\"\r\n },\r\n \"text\": {},\r\n \"tabs\": {\r\n \"labelHtmlClass\": \"nav nav-tabs\",\r\n \"htmlClass\": \"tab-content\",\r\n \"fieldHtmlClass\": \"tab-pane\"\r\n },\r\n \"tabarray\": {\r\n \"labelHtmlClass\": \"nav nav-tabs\",\r\n \"htmlClass\": \"tab-content\",\r\n \"fieldHtmlClass\": \"tab-pane\"\r\n },\r\n \"textarea\": {},\r\n \"default\": {\r\n \"fieldHtmlClass\": \"form-control\"\r\n }\r\n }\r\n}","import { Injectable, inject } from '@angular/core';\r\nimport { CssFramework, CssframeworkService } from '@ng-formworks/cssframework';\r\nimport { cssFrameworkCfgBootstrap3 } from './bootstrap3-cssframework';\r\nimport { Bootstrap3FrameworkComponent } from './bootstrap3-framework.component';\r\n\r\n// Bootstrap 3 Framework\r\n// https://github.com/valor-software/ng2-bootstrap\r\n\r\n@Injectable()\r\nexport class Bootstrap3Framework extends CssFramework {\r\n cssFWService: CssframeworkService;\r\n\r\n name = 'bootstrap-3';\r\n\r\n framework = Bootstrap3FrameworkComponent;\r\n\r\n constructor(){\r\n const cssFWService = inject(CssframeworkService);\r\n\r\n //super(cssFrameworkCfgBootstrap3,cssFWService);\r\n super(cssFrameworkCfgBootstrap3);\r\n this.cssFWService = cssFWService;\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport {\r\n Framework,\r\n FrameworkLibraryService,\r\n JsonSchemaFormModule,\r\n JsonSchemaFormService,\r\n WidgetLibraryModule,\r\n WidgetLibraryService\r\n} from '@ng-formworks/core';\r\nimport { CssFrameworkModule } from '@ng-formworks/cssframework';\r\nimport { Bootstrap3FrameworkComponent } from './bootstrap3-framework.component';\r\nimport { Bootstrap3Framework } from './bootstrap3.framework';\r\n\r\n@NgModule({\r\n imports: [\r\n JsonSchemaFormModule,\r\n CommonModule,\r\n WidgetLibraryModule,\r\n CssFrameworkModule\r\n ],\r\n declarations: [\r\n Bootstrap3FrameworkComponent,\r\n ],\r\n exports: [\r\n JsonSchemaFormModule,\r\n Bootstrap3FrameworkComponent,\r\n ],\r\n providers: [\r\n JsonSchemaFormService,\r\n FrameworkLibraryService,\r\n WidgetLibraryService,\r\n { provide: Framework, useClass: Bootstrap3Framework, multi: true },\r\n ]\r\n})\r\nexport class Bootstrap3FrameworkModule {\r\n}\r\n","/*\r\n * Public API Surface of @ng-formworks/bootstrap3\r\n */\r\n\r\nexport * from './lib/bootstrap3-framework.component';\r\nexport * from './lib/bootstrap3-framework.module';\r\nexport * from './lib/bootstrap3.framework';\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;AAGA;;AAEG;MAeU,4BAA4B,CAAA;AAdzC,IAAA,WAAA,GAAA;AAeE,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,qBAAqB,CAAC;QAEnC,IAAoB,CAAA,oBAAA,GAAG,KAAK;QAI5B,IAAW,CAAA,WAAA,GAAQ,IAAI;QACvB,IAAW,CAAA,WAAA,GAAQ,EAAE;QACrB,IAAK,CAAA,KAAA,GAAQ,EAAE;QACf,IAAW,CAAA,WAAA,GAAQ,IAAI;QACvB,IAAW,CAAA,WAAA,GAAG,KAAK;AACV,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAM,SAAS,CAAC;AAClC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAW,SAAS,CAAC;AACxC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAW,SAAS,CAAC;AAiB9C;IAbD,QAAQ,GAAA;;IAIR,WAAW,GAAA;;+GAvBA,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,4BAA4B,EAX7B,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iB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A4B;AAC/B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,oBAAoB;wBACpB,4BAA4B;AAC/B,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACP,qBAAqB;wBACrB,uBAAuB;wBACvB,oBAAoB;wBACpB,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,KAAK,EAAE,IAAI,EAAE;AACrE;AACJ,iBAAA;;;AClCD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -16,12 +16,11 @@ export declare class Bootstrap3FrameworkComponent implements OnInit, OnChanges {
|
|
|
16
16
|
debug: any;
|
|
17
17
|
parentArray: any;
|
|
18
18
|
isOrderable: boolean;
|
|
19
|
-
layoutNode: any
|
|
20
|
-
layoutIndex: number[]
|
|
21
|
-
dataIndex: number[]
|
|
22
|
-
constructor(changeDetector: ChangeDetectorRef, jsf: JsonSchemaFormService);
|
|
19
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
20
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
21
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
23
22
|
ngOnInit(): void;
|
|
24
23
|
ngOnChanges(): void;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<Bootstrap3FrameworkComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Bootstrap3FrameworkComponent, "bootstrap-3-framework", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Bootstrap3FrameworkComponent, "bootstrap-3-framework", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
27
26
|
}
|
|
@@ -5,7 +5,7 @@ export declare class Bootstrap3Framework extends CssFramework {
|
|
|
5
5
|
cssFWService: CssframeworkService;
|
|
6
6
|
name: string;
|
|
7
7
|
framework: typeof Bootstrap3FrameworkComponent;
|
|
8
|
-
constructor(
|
|
8
|
+
constructor();
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<Bootstrap3Framework, never>;
|
|
10
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<Bootstrap3Framework>;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-formworks/bootstrap3",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.5.1",
|
|
4
4
|
"description": "Angular ng-formworks - JSON Schema Form builder using Bootstrap 3 UI",
|
|
5
5
|
"author": "https://github.com/zahmo/ng-formworks/graphs/contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"private": false,
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"lodash-es": "~4.17.21",
|
|
43
|
-
"@ng-formworks/core": "~17.
|
|
44
|
-
"@ng-formworks/cssframework": "~17.
|
|
43
|
+
"@ng-formworks/core": "~17.5.1",
|
|
44
|
+
"@ng-formworks/cssframework": "~17.5.1",
|
|
45
45
|
"tslib": "^2.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|