@ajf/material 13.0.0-rc.0 → 13.0.0-rc.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/esm2020/barcode/barcode-module.mjs +5 -5
- package/esm2020/barcode/barcode.mjs +4 -4
- package/esm2020/calendar/calendar-module.mjs +5 -5
- package/esm2020/calendar/calendar.mjs +4 -4
- package/esm2020/checkbox-group/checkbox-group-item.mjs +4 -4
- package/esm2020/checkbox-group/checkbox-group-module.mjs +5 -5
- package/esm2020/form-builder/branch-line.mjs +4 -4
- package/esm2020/form-builder/choices-origin-editor-dialog.mjs +4 -4
- package/esm2020/form-builder/choices-origin-editor.mjs +4 -4
- package/esm2020/form-builder/condition-editor-dialog.mjs +4 -4
- package/esm2020/form-builder/condition-editor.mjs +4 -4
- package/esm2020/form-builder/form-builder-module.mjs +5 -5
- package/esm2020/form-builder/form-builder-service.mjs +4 -4
- package/esm2020/form-builder/form-builder.mjs +4 -4
- package/esm2020/form-builder/node-entry.mjs +4 -4
- package/esm2020/form-builder/node-properties.mjs +4 -4
- package/esm2020/form-builder/node-type-entry.mjs +4 -4
- package/esm2020/form-builder/string-identifier-dialog.mjs +4 -4
- package/esm2020/form-builder/validation-condition-editor-dialog.mjs +4 -4
- package/esm2020/form-builder/warning-condition-editor-dialog.mjs +4 -4
- package/esm2020/forms/barcode-field.mjs +4 -4
- package/esm2020/forms/boolean-field.mjs +4 -4
- package/esm2020/forms/date-field.mjs +4 -4
- package/esm2020/forms/date-input-field.mjs +4 -4
- package/esm2020/forms/empty-field.mjs +4 -4
- package/esm2020/forms/field-service.mjs +4 -4
- package/esm2020/forms/field-warning-dialog.mjs +4 -4
- package/esm2020/forms/field.mjs +4 -4
- package/esm2020/forms/form.mjs +4 -4
- package/esm2020/forms/forms-module.mjs +5 -5
- package/esm2020/forms/input-field.mjs +4 -4
- package/esm2020/forms/multiple-choice-field.mjs +4 -4
- package/esm2020/forms/range-field.mjs +4 -4
- package/esm2020/forms/single-choice-field.mjs +4 -4
- package/esm2020/forms/table-field.mjs +4 -4
- package/esm2020/forms/text-field.mjs +4 -4
- package/esm2020/forms/time-field.mjs +4 -4
- package/esm2020/forms/video-url-field.mjs +4 -4
- package/esm2020/forms/warning-alert-service.mjs +4 -4
- package/esm2020/image/image-module.mjs +5 -5
- package/esm2020/image/image.mjs +4 -4
- package/esm2020/monaco-editor/monaco-editor-module.mjs +5 -5
- package/esm2020/monaco-editor/monaco-editor.mjs +4 -4
- package/esm2020/node-icon/node-icon-module.mjs +5 -5
- package/esm2020/node-icon/node-icon.mjs +4 -4
- package/esm2020/page-slider/page-slider-module.mjs +5 -5
- package/esm2020/page-slider/page-slider.mjs +4 -4
- package/esm2020/reports/chart-widget.mjs +4 -4
- package/esm2020/reports/formula-widget.mjs +4 -4
- package/esm2020/reports/image-container-widget.mjs +4 -4
- package/esm2020/reports/image-widget.mjs +4 -4
- package/esm2020/reports/map-widget.mjs +4 -4
- package/esm2020/reports/page-break-widget.mjs +4 -4
- package/esm2020/reports/report.mjs +4 -4
- package/esm2020/reports/reports-module.mjs +5 -5
- package/esm2020/reports/table-widget.mjs +5 -5
- package/esm2020/reports/text-widget.mjs +4 -4
- package/esm2020/reports/widget.mjs +13 -13
- package/esm2020/time/time-module.mjs +5 -5
- package/esm2020/time/time.mjs +4 -4
- package/fesm2015/barcode.mjs +7 -7
- package/fesm2015/barcode.mjs.map +1 -1
- package/fesm2015/calendar.mjs +7 -7
- package/fesm2015/calendar.mjs.map +1 -1
- package/fesm2015/checkbox-group.mjs +7 -7
- package/fesm2015/checkbox-group.mjs.map +1 -1
- package/fesm2015/form-builder.mjs +43 -43
- package/fesm2015/form-builder.mjs.map +1 -1
- package/fesm2015/forms.mjs +58 -58
- package/fesm2015/forms.mjs.map +1 -1
- package/fesm2015/image.mjs +7 -7
- package/fesm2015/image.mjs.map +1 -1
- package/fesm2015/monaco-editor.mjs +7 -7
- package/fesm2015/monaco-editor.mjs.map +1 -1
- package/fesm2015/node-icon.mjs +7 -7
- package/fesm2015/node-icon.mjs.map +1 -1
- package/fesm2015/page-slider.mjs +7 -7
- package/fesm2015/page-slider.mjs.map +1 -1
- package/fesm2015/reports.mjs +44 -44
- package/fesm2015/reports.mjs.map +1 -1
- package/fesm2015/time.mjs +7 -7
- package/fesm2015/time.mjs.map +1 -1
- package/fesm2020/barcode.mjs +7 -7
- package/fesm2020/barcode.mjs.map +1 -1
- package/fesm2020/calendar.mjs +7 -7
- package/fesm2020/calendar.mjs.map +1 -1
- package/fesm2020/checkbox-group.mjs +7 -7
- package/fesm2020/checkbox-group.mjs.map +1 -1
- package/fesm2020/form-builder.mjs +43 -43
- package/fesm2020/form-builder.mjs.map +1 -1
- package/fesm2020/forms.mjs +58 -58
- package/fesm2020/forms.mjs.map +1 -1
- package/fesm2020/image.mjs +7 -7
- package/fesm2020/image.mjs.map +1 -1
- package/fesm2020/monaco-editor.mjs +7 -7
- package/fesm2020/monaco-editor.mjs.map +1 -1
- package/fesm2020/node-icon.mjs +7 -7
- package/fesm2020/node-icon.mjs.map +1 -1
- package/fesm2020/page-slider.mjs +7 -7
- package/fesm2020/page-slider.mjs.map +1 -1
- package/fesm2020/reports.mjs +44 -44
- package/fesm2020/reports.mjs.map +1 -1
- package/fesm2020/time.mjs +7 -7
- package/fesm2020/time.mjs.map +1 -1
- package/package.json +3 -3
package/fesm2020/barcode.mjs
CHANGED
|
@@ -49,9 +49,9 @@ class AjfBarcodeComponent extends AjfBarcode {
|
|
|
49
49
|
super(cdr, renderer);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
AjfBarcodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
53
|
-
AjfBarcodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
52
|
+
AjfBarcodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfBarcodeComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
AjfBarcodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: AjfBarcodeComponent, selector: "ajf-barcode", providers: [BARCODE_CONTROL_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"value; else barcode\">\n <div class=\"ajf-code-container\">\n <span>{{ value }}</span>\n <button mat-raised-button (click)=\"reset()\">\n <mat-icon style=\"transform: rotate(90deg)\">format_align_justify</mat-icon>\n </button>\n </div>\n</ng-container>\n<ng-template #barcode>\n <mat-button-toggle-group [value]=\"toggle\">\n <mat-button-toggle (click)=\"toggle = 'drop'; fileInput.click()\">\n <span>{{'Upload image'|transloco}}</span>\n <mat-icon>add_circle_outline</mat-icon>\n <input\n #fileInput\n type=\"file\"\n (change)=\"onSelectFile($event)\"\n multiple\n style=\"display: none\"\n />\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'drop'\">\n <span>{{'Drop image'|transloco}}</span>\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'camera'\">\n <span>{{'Camera'|transloco}}</span>\n </mat-button-toggle>\n </mat-button-toggle-group>\n <ng-container [ngSwitch]=\"toggle\">\n <ng-container *ngSwitchCase=\"'drop'\">\n <div class=\"ajf-drop-container\">\n <div class=\"ajf-dropzone\" ajfDnd (file)=\"onSelectDrop($event)\">\n <div class=\"ajf-text-wrapper\">\n <div class=\"ajf-centered\">\n {{'Drop your image here!'|transloco}}\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'camera'\">\n <div\n ajfVideoDirective\n [source]=\"videoSource\"\n class=\"left\"\n (isInit)=\"takeSnapshot()\"\n ></div>\n </ng-container>\n </ng-container>\n</ng-template>\n", styles: ["ajf-barcode .ajf-code-container{display:inline-flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-content:stretch;align-items:center}ajf-barcode .ajf-code-container button{margin-left:10px}ajf-barcode .ajf-drop-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:stretch;align-items:stretch}ajf-barcode .ajf-drop-container .ajf-dropzone{order:0;flex:1 1 auto;align-self:auto;min-height:480px;display:table;background-color:#eee;border:dotted 1px #aaa}ajf-barcode .ajf-drop-container .ajf-dropzone .ajf-text-wrapper{display:table-cell;vertical-align:middle}ajf-barcode .ajf-drop-container .ajf-dropzone .ajf-centered{font-family:sans-serif;font-size:1.3em;font-weight:bold;text-align:center}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i5.AjfDndDirective, selector: "[ajfDnd]", outputs: ["file"] }, { type: i5.AjfVideoDirective, selector: "[ajfVideoDirective]", inputs: ["source"], outputs: ["isInit"] }], pipes: { "transloco": i6.TranslocoPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfBarcodeComponent, decorators: [{
|
|
55
55
|
type: Component,
|
|
56
56
|
args: [{ selector: 'ajf-barcode', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [BARCODE_CONTROL_VALUE_ACCESSOR], template: "<ng-container *ngIf=\"value; else barcode\">\n <div class=\"ajf-code-container\">\n <span>{{ value }}</span>\n <button mat-raised-button (click)=\"reset()\">\n <mat-icon style=\"transform: rotate(90deg)\">format_align_justify</mat-icon>\n </button>\n </div>\n</ng-container>\n<ng-template #barcode>\n <mat-button-toggle-group [value]=\"toggle\">\n <mat-button-toggle (click)=\"toggle = 'drop'; fileInput.click()\">\n <span>{{'Upload image'|transloco}}</span>\n <mat-icon>add_circle_outline</mat-icon>\n <input\n #fileInput\n type=\"file\"\n (change)=\"onSelectFile($event)\"\n multiple\n style=\"display: none\"\n />\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'drop'\">\n <span>{{'Drop image'|transloco}}</span>\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'camera'\">\n <span>{{'Camera'|transloco}}</span>\n </mat-button-toggle>\n </mat-button-toggle-group>\n <ng-container [ngSwitch]=\"toggle\">\n <ng-container *ngSwitchCase=\"'drop'\">\n <div class=\"ajf-drop-container\">\n <div class=\"ajf-dropzone\" ajfDnd (file)=\"onSelectDrop($event)\">\n <div class=\"ajf-text-wrapper\">\n <div class=\"ajf-centered\">\n {{'Drop your image here!'|transloco}}\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'camera'\">\n <div\n ajfVideoDirective\n [source]=\"videoSource\"\n class=\"left\"\n (isInit)=\"takeSnapshot()\"\n ></div>\n </ng-container>\n </ng-container>\n</ng-template>\n", styles: ["ajf-barcode .ajf-code-container{display:inline-flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-content:stretch;align-items:center}ajf-barcode .ajf-code-container button{margin-left:10px}ajf-barcode .ajf-drop-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:stretch;align-items:stretch}ajf-barcode .ajf-drop-container .ajf-dropzone{order:0;flex:1 1 auto;align-self:auto;min-height:480px;display:table;background-color:#eee;border:dotted 1px #aaa}ajf-barcode .ajf-drop-container .ajf-dropzone .ajf-text-wrapper{display:table-cell;vertical-align:middle}ajf-barcode .ajf-drop-container .ajf-dropzone .ajf-centered{font-family:sans-serif;font-size:1.3em;font-weight:bold;text-align:center}\n"] }]
|
|
57
57
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; } });
|
|
@@ -79,14 +79,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
|
|
|
79
79
|
*/
|
|
80
80
|
class AjfBarcodeModule {
|
|
81
81
|
}
|
|
82
|
-
AjfBarcodeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
83
|
-
AjfBarcodeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-
|
|
82
|
+
AjfBarcodeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfBarcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
83
|
+
AjfBarcodeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfBarcodeModule, declarations: [AjfBarcodeComponent], imports: [AjfCommonModule,
|
|
84
84
|
CommonModule,
|
|
85
85
|
MatButtonModule,
|
|
86
86
|
MatButtonToggleModule,
|
|
87
87
|
MatIconModule,
|
|
88
88
|
AjfTranslocoModule], exports: [AjfBarcodeComponent] });
|
|
89
|
-
AjfBarcodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-
|
|
89
|
+
AjfBarcodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfBarcodeModule, imports: [[
|
|
90
90
|
AjfCommonModule,
|
|
91
91
|
CommonModule,
|
|
92
92
|
MatButtonModule,
|
|
@@ -94,7 +94,7 @@ AjfBarcodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
94
94
|
MatIconModule,
|
|
95
95
|
AjfTranslocoModule,
|
|
96
96
|
]] });
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfBarcodeModule, decorators: [{
|
|
98
98
|
type: NgModule,
|
|
99
99
|
args: [{
|
|
100
100
|
imports: [
|
package/fesm2020/barcode.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"barcode.mjs","sources":["../../../../../../src/material/barcode/barcode.ts","../../../../../../src/material/barcode/barcode.html","../../../../../../src/material/barcode/barcode-module.ts","../../../../../../src/material/barcode/public-api.ts","../../../../../../src/material/barcode/index.ts","../../../../../../src/material/barcode/barcode_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfBarcode} from '@ajf/core/barcode';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Renderer2,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const BARCODE_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfBarcodeComponent),\n multi: true,\n};\n\n/**\n * Ajf barcode component.\n */\n@Component({\n selector: 'ajf-barcode',\n templateUrl: 'barcode.html',\n styleUrls: ['barcode.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [BARCODE_CONTROL_VALUE_ACCESSOR],\n})\nexport class AjfBarcodeComponent extends AjfBarcode {\n constructor(cdr: ChangeDetectorRef, renderer: Renderer2) {\n super(cdr, renderer);\n }\n}\n","<ng-container *ngIf=\"value; else barcode\">\n <div class=\"ajf-code-container\">\n <span>{{ value }}</span>\n <button mat-raised-button (click)=\"reset()\">\n <mat-icon style=\"transform: rotate(90deg)\">format_align_justify</mat-icon>\n </button>\n </div>\n</ng-container>\n<ng-template #barcode>\n <mat-button-toggle-group [value]=\"toggle\">\n <mat-button-toggle (click)=\"toggle = 'drop'; fileInput.click()\">\n <span>{{'Upload image'|transloco}}</span>\n <mat-icon>add_circle_outline</mat-icon>\n <input\n #fileInput\n type=\"file\"\n (change)=\"onSelectFile($event)\"\n multiple\n style=\"display: none\"\n />\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'drop'\">\n <span>{{'Drop image'|transloco}}</span>\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'camera'\">\n <span>{{'Camera'|transloco}}</span>\n </mat-button-toggle>\n </mat-button-toggle-group>\n <ng-container [ngSwitch]=\"toggle\">\n <ng-container *ngSwitchCase=\"'drop'\">\n <div class=\"ajf-drop-container\">\n <div class=\"ajf-dropzone\" ajfDnd (file)=\"onSelectDrop($event)\">\n <div class=\"ajf-text-wrapper\">\n <div class=\"ajf-centered\">\n {{'Drop your image here!'|transloco}}\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'camera'\">\n <div\n ajfVideoDirective\n [source]=\"videoSource\"\n class=\"left\"\n (isInit)=\"takeSnapshot()\"\n ></div>\n </ng-container>\n </ng-container>\n</ng-template>\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfCommonModule} from '@ajf/core/common';\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatButtonModule} from '@angular/material/button';\nimport {MatButtonToggleModule} from '@angular/material/button-toggle';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {AjfBarcodeComponent} from './barcode';\n\n@NgModule({\n imports: [\n AjfCommonModule,\n CommonModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatIconModule,\n AjfTranslocoModule,\n ],\n declarations: [AjfBarcodeComponent],\n exports: [AjfBarcodeComponent],\n})\nexport class AjfBarcodeModule {}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './barcode';\nexport * from './barcode-module';\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAiCa,8BAA8B,GAAQ;IACjD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,mBAAmB,CAAC;IAClD,KAAK,EAAE,IAAI;EACX;AAEF;;;MAWa,mBAAoB,SAAQ,UAAU;IACjD,YAAY,GAAsB,EAAE,QAAmB;QACrD,KAAK,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;KACtB;;
|
|
1
|
+
{"version":3,"file":"barcode.mjs","sources":["../../../../../../src/material/barcode/barcode.ts","../../../../../../src/material/barcode/barcode.html","../../../../../../src/material/barcode/barcode-module.ts","../../../../../../src/material/barcode/public-api.ts","../../../../../../src/material/barcode/index.ts","../../../../../../src/material/barcode/barcode_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfBarcode} from '@ajf/core/barcode';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Renderer2,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const BARCODE_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfBarcodeComponent),\n multi: true,\n};\n\n/**\n * Ajf barcode component.\n */\n@Component({\n selector: 'ajf-barcode',\n templateUrl: 'barcode.html',\n styleUrls: ['barcode.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [BARCODE_CONTROL_VALUE_ACCESSOR],\n})\nexport class AjfBarcodeComponent extends AjfBarcode {\n constructor(cdr: ChangeDetectorRef, renderer: Renderer2) {\n super(cdr, renderer);\n }\n}\n","<ng-container *ngIf=\"value; else barcode\">\n <div class=\"ajf-code-container\">\n <span>{{ value }}</span>\n <button mat-raised-button (click)=\"reset()\">\n <mat-icon style=\"transform: rotate(90deg)\">format_align_justify</mat-icon>\n </button>\n </div>\n</ng-container>\n<ng-template #barcode>\n <mat-button-toggle-group [value]=\"toggle\">\n <mat-button-toggle (click)=\"toggle = 'drop'; fileInput.click()\">\n <span>{{'Upload image'|transloco}}</span>\n <mat-icon>add_circle_outline</mat-icon>\n <input\n #fileInput\n type=\"file\"\n (change)=\"onSelectFile($event)\"\n multiple\n style=\"display: none\"\n />\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'drop'\">\n <span>{{'Drop image'|transloco}}</span>\n </mat-button-toggle>\n <mat-button-toggle (click)=\"toggle = 'camera'\">\n <span>{{'Camera'|transloco}}</span>\n </mat-button-toggle>\n </mat-button-toggle-group>\n <ng-container [ngSwitch]=\"toggle\">\n <ng-container *ngSwitchCase=\"'drop'\">\n <div class=\"ajf-drop-container\">\n <div class=\"ajf-dropzone\" ajfDnd (file)=\"onSelectDrop($event)\">\n <div class=\"ajf-text-wrapper\">\n <div class=\"ajf-centered\">\n {{'Drop your image here!'|transloco}}\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'camera'\">\n <div\n ajfVideoDirective\n [source]=\"videoSource\"\n class=\"left\"\n (isInit)=\"takeSnapshot()\"\n ></div>\n </ng-container>\n </ng-container>\n</ng-template>\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfCommonModule} from '@ajf/core/common';\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatButtonModule} from '@angular/material/button';\nimport {MatButtonToggleModule} from '@angular/material/button-toggle';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {AjfBarcodeComponent} from './barcode';\n\n@NgModule({\n imports: [\n AjfCommonModule,\n CommonModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatIconModule,\n AjfTranslocoModule,\n ],\n declarations: [AjfBarcodeComponent],\n exports: [AjfBarcodeComponent],\n})\nexport class AjfBarcodeModule {}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './barcode';\nexport * from './barcode-module';\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAiCa,8BAA8B,GAAQ;IACjD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,mBAAmB,CAAC;IAClD,KAAK,EAAE,IAAI;EACX;AAEF;;;MAWa,mBAAoB,SAAQ,UAAU;IACjD,YAAY,GAAsB,EAAE,QAAmB;QACrD,KAAK,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;KACtB;;qHAHU,mBAAmB;yGAAnB,mBAAmB,sCAFnB,CAAC,8BAA8B,CAAC,iDChD7C,qpDAkDA;gGDAa,mBAAmB;kBAR/B,SAAS;+BACE,aAAa,iBAGR,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,aACpC,CAAC,8BAA8B,CAAC;;;AEhD7C;;;;;;;;;;;;;;;;;;;;;MA4Ca,gBAAgB;;kHAAhB,gBAAgB;mHAAhB,gBAAgB,iBAHZ,mBAAmB,aAPhC,eAAe;QACf,YAAY;QACZ,eAAe;QACf,qBAAqB;QACrB,aAAa;QACb,kBAAkB,aAGV,mBAAmB;mHAElB,gBAAgB,YAXlB;YACP,eAAe;YACf,YAAY;YACZ,eAAe;YACf,qBAAqB;YACrB,aAAa;YACb,kBAAkB;SACnB;gGAIU,gBAAgB;kBAZ5B,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,eAAe;wBACf,YAAY;wBACZ,eAAe;wBACf,qBAAqB;wBACrB,aAAa;wBACb,kBAAkB;qBACnB;oBACD,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;iBAC/B;;;AC3CD;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
|
package/fesm2020/calendar.mjs
CHANGED
|
@@ -44,9 +44,9 @@ class AjfCalendarComponent extends AjfCalendar {
|
|
|
44
44
|
super(cdr, service);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
AjfCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
48
|
-
AjfCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
47
|
+
AjfCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.AjfCalendarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
AjfCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: AjfCalendarComponent, selector: "ajf-calendar", outputs: { change: "change" }, providers: [CALENDAR_CONTROL_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "<div class=\"ajf-calendar-header\">\n <button (click)=\"prevPage()\" mat-mini-fab>←</button>\n <button (click)=\"previousViewMode()\" mat-button class=\"ajf-calendar-header-title\">\n {{ viewHeader | transloco }}\n </button>\n <button (click)=\"nextPage()\" mat-mini-fab>→</button>\n</div>\n<div class=\"ajf-calendar-row\" *ngIf=\"calendarHeaders.length > 0\">\n <div *ngFor=\"let calendarHeader of calendarHeaders\">\n {{ calendarHeader | transloco }}\n </div>\n</div>\n<div class=\"ajf-calendar-row\" *ngFor=\"let row of calendarRows\">\n <button\n *ngFor=\"let entry of row\"\n mat-raised-button\n [class.ajf-calendar-partial-selection]=\"entry.selected == 'partial'\"\n [disabled]=\"disabled || (entry.disabled || false)\"\n [color]=\"entry.selected != 'none' ? 'warn' : undefined\"\n (click)=\"selectEntry(entry)\"\n >{{ entry|ajfCalendarEntryLabel }}</button>\n</div>\n", styles: ["ajf-calendar{display:flex;box-sizing:border-box;width:100%;height:320px;flex-direction:column}ajf-calendar .ajf-calendar-header,ajf-calendar .ajf-calendar-row{display:flex;box-sizing:border-box;width:100%;flex-direction:row}ajf-calendar .ajf-calendar-header{height:40px}ajf-calendar .ajf-calendar-header .ajf-calendar-header-title{flex:1;margin:0 10px}ajf-calendar .ajf-calendar-row{flex:1}ajf-calendar .ajf-calendar-row button,ajf-calendar .ajf-calendar-row div{flex:1;margin:3px}ajf-calendar .ajf-calendar-row div{line-height:40px;text-align:center}ajf-calendar .ajf-calendar-row .ajf-calendar-partial-selection ::before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(255,255,255,.5)}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "transloco": i4.TranslocoPipe, "ajfCalendarEntryLabel": i1.AjfCalendarEntryLabelPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarComponent, decorators: [{
|
|
50
50
|
type: Component,
|
|
51
51
|
args: [{ selector: 'ajf-calendar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, outputs: ['change'], providers: [CALENDAR_CONTROL_VALUE_ACCESSOR], template: "<div class=\"ajf-calendar-header\">\n <button (click)=\"prevPage()\" mat-mini-fab>←</button>\n <button (click)=\"previousViewMode()\" mat-button class=\"ajf-calendar-header-title\">\n {{ viewHeader | transloco }}\n </button>\n <button (click)=\"nextPage()\" mat-mini-fab>→</button>\n</div>\n<div class=\"ajf-calendar-row\" *ngIf=\"calendarHeaders.length > 0\">\n <div *ngFor=\"let calendarHeader of calendarHeaders\">\n {{ calendarHeader | transloco }}\n </div>\n</div>\n<div class=\"ajf-calendar-row\" *ngFor=\"let row of calendarRows\">\n <button\n *ngFor=\"let entry of row\"\n mat-raised-button\n [class.ajf-calendar-partial-selection]=\"entry.selected == 'partial'\"\n [disabled]=\"disabled || (entry.disabled || false)\"\n [color]=\"entry.selected != 'none' ? 'warn' : undefined\"\n (click)=\"selectEntry(entry)\"\n >{{ entry|ajfCalendarEntryLabel }}</button>\n</div>\n", styles: ["ajf-calendar{display:flex;box-sizing:border-box;width:100%;height:320px;flex-direction:column}ajf-calendar .ajf-calendar-header,ajf-calendar .ajf-calendar-row{display:flex;box-sizing:border-box;width:100%;flex-direction:row}ajf-calendar .ajf-calendar-header{height:40px}ajf-calendar .ajf-calendar-header .ajf-calendar-header-title{flex:1;margin:0 10px}ajf-calendar .ajf-calendar-row{flex:1}ajf-calendar .ajf-calendar-row button,ajf-calendar .ajf-calendar-row div{flex:1;margin:3px}ajf-calendar .ajf-calendar-row div{line-height:40px;text-align:center}ajf-calendar .ajf-calendar-row .ajf-calendar-partial-selection ::before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(255,255,255,.5)}\n"] }]
|
|
52
52
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.AjfCalendarService }]; } });
|
|
@@ -74,10 +74,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
|
|
|
74
74
|
*/
|
|
75
75
|
class AjfCalendarModule {
|
|
76
76
|
}
|
|
77
|
-
AjfCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
78
|
-
AjfCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-
|
|
79
|
-
AjfCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
77
|
+
AjfCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
78
|
+
AjfCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarModule, declarations: [AjfCalendarComponent], imports: [CommonModule, AjfCalendarModule$1, FormsModule, MatButtonModule, AjfTranslocoModule], exports: [AjfCalendarComponent] });
|
|
79
|
+
AjfCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarModule, imports: [[CommonModule, AjfCalendarModule$1, FormsModule, MatButtonModule, AjfTranslocoModule]] });
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCalendarModule, decorators: [{
|
|
81
81
|
type: NgModule,
|
|
82
82
|
args: [{
|
|
83
83
|
imports: [CommonModule, AjfCalendarModule$1, FormsModule, MatButtonModule, AjfTranslocoModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.mjs","sources":["../../../../../../src/material/calendar/calendar.ts","../../../../../../src/material/calendar/calendar.html","../../../../../../src/material/calendar/calendar-module.ts","../../../../../../src/material/calendar/public-api.ts","../../../../../../src/material/calendar/index.ts","../../../../../../src/material/calendar/calendar_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfCalendar, AjfCalendarService} from '@ajf/core/calendar';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const CALENDAR_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfCalendarComponent),\n multi: true,\n};\n\n/**\n * Ajf calendar component.\n */\n@Component({\n selector: 'ajf-calendar',\n templateUrl: 'calendar.html',\n styleUrls: ['calendar.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n outputs: ['change'],\n providers: [CALENDAR_CONTROL_VALUE_ACCESSOR],\n})\nexport class AjfCalendarComponent extends AjfCalendar {\n constructor(cdr: ChangeDetectorRef, service: AjfCalendarService) {\n super(cdr, service);\n }\n}\n","<div class=\"ajf-calendar-header\">\n <button (click)=\"prevPage()\" mat-mini-fab>←</button>\n <button (click)=\"previousViewMode()\" mat-button class=\"ajf-calendar-header-title\">\n {{ viewHeader | transloco }}\n </button>\n <button (click)=\"nextPage()\" mat-mini-fab>→</button>\n</div>\n<div class=\"ajf-calendar-row\" *ngIf=\"calendarHeaders.length > 0\">\n <div *ngFor=\"let calendarHeader of calendarHeaders\">\n {{ calendarHeader | transloco }}\n </div>\n</div>\n<div class=\"ajf-calendar-row\" *ngFor=\"let row of calendarRows\">\n <button\n *ngFor=\"let entry of row\"\n mat-raised-button\n [class.ajf-calendar-partial-selection]=\"entry.selected == 'partial'\"\n [disabled]=\"disabled || (entry.disabled || false)\"\n [color]=\"entry.selected != 'none' ? 'warn' : undefined\"\n (click)=\"selectEntry(entry)\"\n >{{ entry|ajfCalendarEntryLabel }}</button>\n</div>\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfCalendarModule as CoreModule} from '@ajf/core/calendar';\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {MatButtonModule} from '@angular/material/button';\n\nimport {AjfCalendarComponent} from './calendar';\n\n@NgModule({\n imports: [CommonModule, CoreModule, FormsModule, MatButtonModule, AjfTranslocoModule],\n declarations: [AjfCalendarComponent],\n exports: [AjfCalendarComponent],\n})\nexport class AjfCalendarModule {}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './calendar';\nexport * from './calendar-module';\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["CoreModule"],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAgCa,+BAA+B,GAAQ;IAClD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,oBAAoB,CAAC;IACnD,KAAK,EAAE,IAAI;EACX;AAEF;;;MAYa,oBAAqB,SAAQ,WAAW;IACnD,YAAY,GAAsB,EAAE,OAA2B;QAC7D,KAAK,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;KACrB;;
|
|
1
|
+
{"version":3,"file":"calendar.mjs","sources":["../../../../../../src/material/calendar/calendar.ts","../../../../../../src/material/calendar/calendar.html","../../../../../../src/material/calendar/calendar-module.ts","../../../../../../src/material/calendar/public-api.ts","../../../../../../src/material/calendar/index.ts","../../../../../../src/material/calendar/calendar_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfCalendar, AjfCalendarService} from '@ajf/core/calendar';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const CALENDAR_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfCalendarComponent),\n multi: true,\n};\n\n/**\n * Ajf calendar component.\n */\n@Component({\n selector: 'ajf-calendar',\n templateUrl: 'calendar.html',\n styleUrls: ['calendar.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n outputs: ['change'],\n providers: [CALENDAR_CONTROL_VALUE_ACCESSOR],\n})\nexport class AjfCalendarComponent extends AjfCalendar {\n constructor(cdr: ChangeDetectorRef, service: AjfCalendarService) {\n super(cdr, service);\n }\n}\n","<div class=\"ajf-calendar-header\">\n <button (click)=\"prevPage()\" mat-mini-fab>←</button>\n <button (click)=\"previousViewMode()\" mat-button class=\"ajf-calendar-header-title\">\n {{ viewHeader | transloco }}\n </button>\n <button (click)=\"nextPage()\" mat-mini-fab>→</button>\n</div>\n<div class=\"ajf-calendar-row\" *ngIf=\"calendarHeaders.length > 0\">\n <div *ngFor=\"let calendarHeader of calendarHeaders\">\n {{ calendarHeader | transloco }}\n </div>\n</div>\n<div class=\"ajf-calendar-row\" *ngFor=\"let row of calendarRows\">\n <button\n *ngFor=\"let entry of row\"\n mat-raised-button\n [class.ajf-calendar-partial-selection]=\"entry.selected == 'partial'\"\n [disabled]=\"disabled || (entry.disabled || false)\"\n [color]=\"entry.selected != 'none' ? 'warn' : undefined\"\n (click)=\"selectEntry(entry)\"\n >{{ entry|ajfCalendarEntryLabel }}</button>\n</div>\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfCalendarModule as CoreModule} from '@ajf/core/calendar';\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {MatButtonModule} from '@angular/material/button';\n\nimport {AjfCalendarComponent} from './calendar';\n\n@NgModule({\n imports: [CommonModule, CoreModule, FormsModule, MatButtonModule, AjfTranslocoModule],\n declarations: [AjfCalendarComponent],\n exports: [AjfCalendarComponent],\n})\nexport class AjfCalendarModule {}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './calendar';\nexport * from './calendar-module';\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["CoreModule"],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAgCa,+BAA+B,GAAQ;IAClD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,oBAAoB,CAAC;IACnD,KAAK,EAAE,IAAI;EACX;AAEF;;;MAYa,oBAAqB,SAAQ,WAAW;IACnD,YAAY,GAAsB,EAAE,OAA2B;QAC7D,KAAK,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;KACrB;;sHAHU,oBAAoB;0GAApB,oBAAoB,sEAFpB,CAAC,+BAA+B,CAAC,iDChD9C,q6BAsBA;gGD4Ba,oBAAoB;kBAThC,SAAS;+BACE,cAAc,iBAGT,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,WACtC,CAAC,QAAQ,CAAC,aACR,CAAC,+BAA+B,CAAC;;;AEhD9C;;;;;;;;;;;;;;;;;;;;;MAoCa,iBAAiB;;mHAAjB,iBAAiB;oHAAjB,iBAAiB,iBAHb,oBAAoB,aADzB,YAAY,EAAEA,mBAAU,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,aAE1E,oBAAoB;oHAEnB,iBAAiB,YAJnB,CAAC,YAAY,EAAEA,mBAAU,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,CAAC;gGAI1E,iBAAiB;kBAL7B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,EAAEA,mBAAU,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,CAAC;oBACrF,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;iBAChC;;;ACnCD;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
|
|
@@ -40,9 +40,9 @@ class CheckboxGroupItem extends AjfCheckboxGroupItem {
|
|
|
40
40
|
this.notCheckedIcon = 'check_box_outline_blank';
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
CheckboxGroupItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
44
|
-
CheckboxGroupItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
43
|
+
CheckboxGroupItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CheckboxGroupItem, deps: [{ token: i1.AjfCheckboxGroup, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
CheckboxGroupItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CheckboxGroupItem, selector: "ajf-checkbox-group-item", host: { properties: { "attr.id": "id", "class.ajf-checkbox-group-checked": "checked", "class.ajf-checkbox-group-disable": "disabled" } }, usesInheritance: true, ngImport: i0, template: "<button mat-button (click)=\"onInputChange($event)\"\n type=\"button\"\n [id]=\"checkboxId|async\"\n [attr.aria-checked]=\"checkedState|async\"\n [attr.aria-disabled]=\"disabledState|async\">\n <span class=\"ajf-checkbox-group-content\">\n <ng-content></ng-content>\n </span>\n <mat-icon>{{ icon|async }}</mat-icon>\n</button>\n", styles: ["\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CheckboxGroupItem, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
47
|
args: [{ selector: 'ajf-checkbox-group-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
48
48
|
'[attr.id]': 'id',
|
|
@@ -76,10 +76,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
|
|
|
76
76
|
*/
|
|
77
77
|
class AjfCheckboxGroupModule {
|
|
78
78
|
}
|
|
79
|
-
AjfCheckboxGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
80
|
-
AjfCheckboxGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-
|
|
81
|
-
AjfCheckboxGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
79
|
+
AjfCheckboxGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCheckboxGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
80
|
+
AjfCheckboxGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCheckboxGroupModule, declarations: [CheckboxGroupItem], imports: [AjfCheckboxGroupModule$1, CommonModule, MatButtonModule, MatIconModule], exports: [AjfCheckboxGroupModule$1, CheckboxGroupItem] });
|
|
81
|
+
AjfCheckboxGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCheckboxGroupModule, imports: [[AjfCheckboxGroupModule$1, CommonModule, MatButtonModule, MatIconModule], AjfCheckboxGroupModule$1] });
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfCheckboxGroupModule, decorators: [{
|
|
83
83
|
type: NgModule,
|
|
84
84
|
args: [{
|
|
85
85
|
imports: [AjfCheckboxGroupModule$1, CommonModule, MatButtonModule, MatIconModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-group.mjs","sources":["../../../../../../src/material/checkbox-group/checkbox-group-item.ts","../../../../../../src/material/checkbox-group/checkbox-group-item.html","../../../../../../src/material/checkbox-group/checkbox-group-module.ts","../../../../../../src/material/checkbox-group/public-api.ts","../../../../../../src/material/checkbox-group/index.ts","../../../../../../src/material/checkbox-group/checkbox-group_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {\n AjfCheckboxGroup,\n AjfCheckboxGroupItem as AjfCoreCheckboxGroupItem,\n} from '@ajf/core/checkbox-group';\nimport {ChangeDetectionStrategy, Component, Optional, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: 'ajf-checkbox-group-item',\n templateUrl: 'checkbox-group-item.html',\n styleUrls: ['checkbox-group-item.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[attr.id]': 'id',\n '[class.ajf-checkbox-group-checked]': 'checked',\n '[class.ajf-checkbox-group-disable]': 'disabled',\n },\n})\nexport class CheckboxGroupItem<T> extends AjfCoreCheckboxGroupItem<T> {\n constructor(\n // `AjfCheckboxGroupItem` is commonly used in combination with a `AjfCheckboxGroup`.\n // tslint:disable-next-line: lightweight-tokens\n @Optional() checkboxGroup: AjfCheckboxGroup<T>,\n ) {\n super(checkboxGroup);\n this.checkedIcon = 'check_box';\n this.notCheckedIcon = 'check_box_outline_blank';\n }\n}\n","<button mat-button (click)=\"onInputChange($event)\"\n type=\"button\"\n [id]=\"checkboxId|async\"\n [attr.aria-checked]=\"checkedState|async\"\n [attr.aria-disabled]=\"disabledState|async\">\n <span class=\"ajf-checkbox-group-content\">\n <ng-content></ng-content>\n </span>\n <mat-icon>{{ icon|async }}</mat-icon>\n</button>\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfCheckboxGroupModule as AjfCoreCheckboxGroupModule} from '@ajf/core/checkbox-group';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatButtonModule} from '@angular/material/button';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {CheckboxGroupItem} from './checkbox-group-item';\n\n@NgModule({\n imports: [AjfCoreCheckboxGroupModule, CommonModule, MatButtonModule, MatIconModule],\n declarations: [CheckboxGroupItem],\n exports: [AjfCoreCheckboxGroupModule, CheckboxGroupItem],\n})\nexport class AjfCheckboxGroupModule {}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './checkbox-group-item';\nexport * from './checkbox-group-module';\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["AjfCoreCheckboxGroupItem","AjfCoreCheckboxGroupModule"],"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAwCa,iBAAqB,SAAQA,oBAA2B;IACnE;;;IAGc,aAAkC;QAE9C,KAAK,CAAC,aAAa,CAAC,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,cAAc,GAAG,yBAAyB,CAAC;KACjD;;
|
|
1
|
+
{"version":3,"file":"checkbox-group.mjs","sources":["../../../../../../src/material/checkbox-group/checkbox-group-item.ts","../../../../../../src/material/checkbox-group/checkbox-group-item.html","../../../../../../src/material/checkbox-group/checkbox-group-module.ts","../../../../../../src/material/checkbox-group/public-api.ts","../../../../../../src/material/checkbox-group/index.ts","../../../../../../src/material/checkbox-group/checkbox-group_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {\n AjfCheckboxGroup,\n AjfCheckboxGroupItem as AjfCoreCheckboxGroupItem,\n} from '@ajf/core/checkbox-group';\nimport {ChangeDetectionStrategy, Component, Optional, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: 'ajf-checkbox-group-item',\n templateUrl: 'checkbox-group-item.html',\n styleUrls: ['checkbox-group-item.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[attr.id]': 'id',\n '[class.ajf-checkbox-group-checked]': 'checked',\n '[class.ajf-checkbox-group-disable]': 'disabled',\n },\n})\nexport class CheckboxGroupItem<T> extends AjfCoreCheckboxGroupItem<T> {\n constructor(\n // `AjfCheckboxGroupItem` is commonly used in combination with a `AjfCheckboxGroup`.\n // tslint:disable-next-line: lightweight-tokens\n @Optional() checkboxGroup: AjfCheckboxGroup<T>,\n ) {\n super(checkboxGroup);\n this.checkedIcon = 'check_box';\n this.notCheckedIcon = 'check_box_outline_blank';\n }\n}\n","<button mat-button (click)=\"onInputChange($event)\"\n type=\"button\"\n [id]=\"checkboxId|async\"\n [attr.aria-checked]=\"checkedState|async\"\n [attr.aria-disabled]=\"disabledState|async\">\n <span class=\"ajf-checkbox-group-content\">\n <ng-content></ng-content>\n </span>\n <mat-icon>{{ icon|async }}</mat-icon>\n</button>\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfCheckboxGroupModule as AjfCoreCheckboxGroupModule} from '@ajf/core/checkbox-group';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatButtonModule} from '@angular/material/button';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {CheckboxGroupItem} from './checkbox-group-item';\n\n@NgModule({\n imports: [AjfCoreCheckboxGroupModule, CommonModule, MatButtonModule, MatIconModule],\n declarations: [CheckboxGroupItem],\n exports: [AjfCoreCheckboxGroupModule, CheckboxGroupItem],\n})\nexport class AjfCheckboxGroupModule {}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './checkbox-group-item';\nexport * from './checkbox-group-module';\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["AjfCoreCheckboxGroupItem","AjfCoreCheckboxGroupModule"],"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAwCa,iBAAqB,SAAQA,oBAA2B;IACnE;;;IAGc,aAAkC;QAE9C,KAAK,CAAC,aAAa,CAAC,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,cAAc,GAAG,yBAAyB,CAAC;KACjD;;mHATU,iBAAiB;uGAAjB,iBAAiB,gOCxC9B,4VAUA;gGD8Ba,iBAAiB;kBAZ7B,SAAS;+BACE,yBAAyB,mBAGlB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,WAAW,EAAE,IAAI;wBACjB,oCAAoC,EAAE,SAAS;wBAC/C,oCAAoC,EAAE,UAAU;qBACjD;;0BAME,QAAQ;;;AE5Cb;;;;;;;;;;;;;;;;;;;;;MAmCa,sBAAsB;;wHAAtB,sBAAsB;yHAAtB,sBAAsB,iBAHlB,iBAAiB,aADtBC,wBAA0B,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,aAExEA,wBAA0B,EAAE,iBAAiB;yHAE5C,sBAAsB,YAJxB,CAACA,wBAA0B,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,CAAC,EAEzEA,wBAA0B;gGAEzB,sBAAsB;kBALlC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAACA,wBAA0B,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,CAAC;oBACnF,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE,CAACA,wBAA0B,EAAE,iBAAiB,CAAC;iBACzD;;;AClCD;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
|