@ajf/material 15.3.14 → 16.0.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 → esm2022}/barcode/barcode-module.mjs +19 -19
- package/{esm2020 → esm2022}/barcode/barcode.mjs +4 -4
- package/{esm2020 → esm2022}/calendar/calendar-module.mjs +5 -5
- package/{esm2020 → esm2022}/calendar/calendar.mjs +4 -4
- package/{esm2020 → esm2022}/checkbox-group/checkbox-group-item.mjs +4 -4
- package/{esm2020 → esm2022}/checkbox-group/checkbox-group-module.mjs +5 -5
- package/esm2022/form-builder/branch-line.mjs +69 -0
- package/{esm2020 → esm2022}/form-builder/choices-origin-editor-dialog.mjs +7 -7
- package/{esm2020 → esm2022}/form-builder/choices-origin-editor.mjs +5 -5
- package/{esm2020 → esm2022}/form-builder/condition-editor-dialog.mjs +7 -7
- package/{esm2020 → esm2022}/form-builder/condition-editor.mjs +9 -9
- package/{esm2020 → esm2022}/form-builder/form-builder-module.mjs +64 -64
- package/esm2022/form-builder/form-builder-service.mjs +923 -0
- package/esm2022/form-builder/form-builder.mjs +183 -0
- package/esm2022/form-builder/node-entry.mjs +267 -0
- package/{esm2020 → esm2022}/form-builder/node-properties-name-validator.mjs +4 -4
- package/esm2022/form-builder/node-properties.mjs +1030 -0
- package/{esm2020 → esm2022}/form-builder/node-type-entry.mjs +7 -7
- package/{esm2020 → esm2022}/form-builder/string-identifier-dialog.mjs +4 -4
- package/{esm2020 → esm2022}/form-builder/validation-condition-editor-dialog.mjs +7 -7
- package/{esm2020 → esm2022}/form-builder/warning-condition-editor-dialog.mjs +7 -7
- package/{esm2020 → esm2022}/forms/barcode-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/boolean-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/date-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/date-input-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/empty-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/field-service.mjs +4 -4
- package/{esm2020 → esm2022}/forms/field-warning-dialog.mjs +4 -4
- package/{esm2020 → esm2022}/forms/field.mjs +4 -4
- package/esm2022/forms/form.mjs +58 -0
- package/{esm2020 → esm2022}/forms/forms-module.mjs +81 -81
- package/{esm2020 → esm2022}/forms/geolocation-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/input-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/multiple-choice-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/range-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/signature-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/single-choice-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/table-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/text-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/time-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/video-url-field.mjs +4 -4
- package/{esm2020 → esm2022}/forms/warning-alert-service.mjs +4 -4
- package/{esm2020 → esm2022}/geolocation/geolocation-module.mjs +15 -15
- package/{esm2020 → esm2022}/geolocation/geolocation.mjs +4 -4
- package/{esm2020 → esm2022}/image/image-module.mjs +5 -5
- package/{esm2020 → esm2022}/image/image.mjs +4 -4
- package/{esm2020 → esm2022}/node-icon/node-icon-module.mjs +5 -5
- package/{esm2020 → esm2022}/node-icon/node-icon.mjs +4 -4
- package/{esm2020 → esm2022}/page-slider/page-slider-module.mjs +5 -5
- package/{esm2020 → esm2022}/page-slider/page-slider.mjs +4 -4
- package/{esm2020 → esm2022}/reports/chart-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/filter-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/formula-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/graph-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/heat-map-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/image-container-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/image-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/map-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/page-break-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/report.mjs +4 -4
- package/{esm2020 → esm2022}/reports/reports-module.mjs +50 -50
- package/{esm2020 → esm2022}/reports/table-widget.mjs +4 -4
- package/{esm2020 → esm2022}/reports/text-widget.mjs +4 -4
- package/esm2022/reports/widget.mjs +368 -0
- package/{esm2020 → esm2022}/signature/signature-module.mjs +15 -15
- package/{esm2020 → esm2022}/signature/signature.mjs +4 -4
- package/{esm2020 → esm2022}/time/time-module.mjs +5 -5
- package/{esm2020 → esm2022}/time/time.mjs +4 -4
- package/{fesm2020 → fesm2022}/ajf-material-barcode.mjs +21 -21
- package/{fesm2020 → fesm2022}/ajf-material-barcode.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ajf-material-calendar.mjs +7 -7
- package/{fesm2015 → fesm2022}/ajf-material-calendar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ajf-material-checkbox-group.mjs +7 -7
- package/{fesm2015 → fesm2022}/ajf-material-checkbox-group.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ajf-material-form-builder.mjs +284 -284
- package/fesm2022/ajf-material-form-builder.mjs.map +1 -0
- package/fesm2022/ajf-material-forms.mjs +1102 -0
- package/fesm2022/ajf-material-forms.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ajf-material-geolocation.mjs +17 -17
- package/{fesm2015 → fesm2022}/ajf-material-geolocation.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ajf-material-image.mjs +7 -7
- package/{fesm2020 → fesm2022}/ajf-material-image.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ajf-material-node-icon.mjs +7 -7
- package/{fesm2020 → fesm2022}/ajf-material-node-icon.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ajf-material-page-slider.mjs +7 -7
- package/{fesm2015 → fesm2022}/ajf-material-page-slider.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ajf-material-reports.mjs +135 -135
- package/{fesm2015 → fesm2022}/ajf-material-reports.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ajf-material-signature.mjs +17 -17
- package/{fesm2020 → fesm2022}/ajf-material-signature.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ajf-material-time.mjs +7 -7
- package/{fesm2020 → fesm2022}/ajf-material-time.mjs.map +1 -1
- package/form-builder/branch-line.d.ts +1 -1
- package/form-builder/choices-origin-data-source.d.ts +1 -1
- package/form-builder/choices-origin-editor.d.ts +1 -1
- package/form-builder/condition-editor.d.ts +1 -1
- package/form-builder/form-builder-service.d.ts +2 -2
- package/form-builder/form-builder.d.ts +1 -1
- package/form-builder/node-entry.d.ts +1 -1
- package/form-builder/node-type-entry.d.ts +1 -1
- package/forms/form.d.ts +1 -1
- package/package.json +49 -79
- package/esm2020/form-builder/branch-line.mjs +0 -69
- package/esm2020/form-builder/form-builder-service.mjs +0 -923
- package/esm2020/form-builder/form-builder.mjs +0 -183
- package/esm2020/form-builder/node-entry.mjs +0 -267
- package/esm2020/form-builder/node-properties.mjs +0 -1030
- package/esm2020/forms/form.mjs +0 -58
- package/esm2020/reports/widget.mjs +0 -368
- package/fesm2015/ajf-material-barcode.mjs +0 -170
- package/fesm2015/ajf-material-barcode.mjs.map +0 -1
- package/fesm2015/ajf-material-calendar.mjs +0 -116
- package/fesm2015/ajf-material-checkbox-group.mjs +0 -120
- package/fesm2015/ajf-material-form-builder.mjs +0 -3120
- package/fesm2015/ajf-material-form-builder.mjs.map +0 -1
- package/fesm2015/ajf-material-forms.mjs +0 -1134
- package/fesm2015/ajf-material-forms.mjs.map +0 -1
- package/fesm2015/ajf-material-image.mjs.map +0 -1
- package/fesm2015/ajf-material-node-icon.mjs.map +0 -1
- package/fesm2015/ajf-material-page-slider.mjs +0 -109
- package/fesm2015/ajf-material-reports.mjs +0 -943
- package/fesm2015/ajf-material-signature.mjs +0 -164
- package/fesm2015/ajf-material-signature.mjs.map +0 -1
- package/fesm2015/ajf-material-time.mjs.map +0 -1
- package/fesm2020/ajf-material-calendar.mjs.map +0 -1
- package/fesm2020/ajf-material-checkbox-group.mjs.map +0 -1
- package/fesm2020/ajf-material-form-builder.mjs.map +0 -1
- package/fesm2020/ajf-material-forms.mjs +0 -1102
- package/fesm2020/ajf-material-forms.mjs.map +0 -1
- package/fesm2020/ajf-material-geolocation.mjs +0 -136
- package/fesm2020/ajf-material-geolocation.mjs.map +0 -1
- package/fesm2020/ajf-material-image.mjs +0 -105
- package/fesm2020/ajf-material-node-icon.mjs +0 -149
- package/fesm2020/ajf-material-page-slider.mjs.map +0 -1
- package/fesm2020/ajf-material-reports.mjs.map +0 -1
- package/fesm2020/ajf-material-time.mjs +0 -111
- package/fesm2020/ajf-material.mjs +0 -28
- package/fesm2020/ajf-material.mjs.map +0 -1
- /package/{esm2020 → esm2022}/ajf-material.mjs +0 -0
- /package/{esm2020 → esm2022}/barcode/ajf-material-barcode.mjs +0 -0
- /package/{esm2020 → esm2022}/barcode/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/ajf-material-calendar.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox-group/ajf-material-checkbox-group.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox-group/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/form-builder/ajf-material-form-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/form-builder/choices-origin-data-source.mjs +0 -0
- /package/{esm2020 → esm2022}/form-builder/form-builder-utils.mjs +0 -0
- /package/{esm2020 → esm2022}/form-builder/operations.mjs +0 -0
- /package/{esm2020 → esm2022}/form-builder/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/forms/ajf-material-forms.mjs +0 -0
- /package/{esm2020 → esm2022}/forms/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/geolocation/ajf-material-geolocation.mjs +0 -0
- /package/{esm2020 → esm2022}/geolocation/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/image/ajf-material-image.mjs +0 -0
- /package/{esm2020 → esm2022}/image/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/node-icon/ajf-material-node-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/node-icon/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/page-slider/ajf-material-page-slider.mjs +0 -0
- /package/{esm2020 → esm2022}/page-slider/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/reports/ajf-material-reports.mjs +0 -0
- /package/{esm2020 → esm2022}/reports/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/signature/ajf-material-signature.mjs +0 -0
- /package/{esm2020 → esm2022}/signature/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/time/ajf-material-time.mjs +0 -0
- /package/{esm2020 → esm2022}/time/public_api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ajf-material.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ajf-material.mjs.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ajf-material-time.mjs","sources":["../../../projects/material/time/src/time.ts","../../../projects/material/time/src/time.html","../../../projects/material/time/src/time-module.ts","../../../projects/material/time/src/public_api.ts","../../../projects/material/time/src/ajf-material-time.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 {AjfTime as Base} from '@ajf/core/time';\nimport {\n ChangeDetectionStrategy,\n Component,\n forwardRef,\n OnDestroy,\n ViewEncapsulation,\n} from '@angular/core';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const AJF_TIME_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfTime),\n multi: true,\n};\n\n@Component({\n selector: 'ajf-time',\n templateUrl: 'time.html',\n styleUrls: ['time.scss'],\n providers: [AJF_TIME_CONTROL_VALUE_ACCESSOR],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfTime extends Base implements ControlValueAccessor, OnDestroy {\n constructor() {\n super();\n }\n}\n","<div>\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"23\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"hours\"\n type=\"number\">\n </mat-form-field>\n :\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"59\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"minutes\"\n type=\"number\">\n </mat-form-field>\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 {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatInputModule} from '@angular/material/input';\n\nimport {AjfTime} from './time';\n\n@NgModule({\n imports: [FormsModule, MatFormFieldModule, MatInputModule],\n declarations: [AjfTime],\n exports: [AjfTime],\n})\nexport class AjfTimeModule {}\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 './time-module';\nexport * from './time';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["Base"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;AAoBG;AAYU,MAAA,+BAA+B,GAAQ;AAClD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,OAAO,CAAC;AACtC,IAAA,KAAK,EAAE,IAAI;EACX;AAUI,MAAO,OAAQ,SAAQA,SAAI,CAAA;AAC/B,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;KACT
|
|
1
|
+
{"version":3,"file":"ajf-material-time.mjs","sources":["../../../projects/material/time/src/time.ts","../../../projects/material/time/src/time.html","../../../projects/material/time/src/time-module.ts","../../../projects/material/time/src/public_api.ts","../../../projects/material/time/src/ajf-material-time.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 {AjfTime as Base} from '@ajf/core/time';\nimport {\n ChangeDetectionStrategy,\n Component,\n forwardRef,\n OnDestroy,\n ViewEncapsulation,\n} from '@angular/core';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const AJF_TIME_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfTime),\n multi: true,\n};\n\n@Component({\n selector: 'ajf-time',\n templateUrl: 'time.html',\n styleUrls: ['time.scss'],\n providers: [AJF_TIME_CONTROL_VALUE_ACCESSOR],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfTime extends Base implements ControlValueAccessor, OnDestroy {\n constructor() {\n super();\n }\n}\n","<div>\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"23\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"hours\"\n type=\"number\">\n </mat-form-field>\n :\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"59\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"minutes\"\n type=\"number\">\n </mat-form-field>\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 {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatInputModule} from '@angular/material/input';\n\nimport {AjfTime} from './time';\n\n@NgModule({\n imports: [FormsModule, MatFormFieldModule, MatInputModule],\n declarations: [AjfTime],\n exports: [AjfTime],\n})\nexport class AjfTimeModule {}\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 './time-module';\nexport * from './time';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["Base"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;AAoBG;AAYU,MAAA,+BAA+B,GAAQ;AAClD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,OAAO,CAAC;AACtC,IAAA,KAAK,EAAE,IAAI;EACX;AAUI,MAAO,OAAQ,SAAQA,SAAI,CAAA;AAC/B,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;KACT;+GAH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A,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAJd,OAAA,EAAA,CAAA,WAAW,EAAE,kBAAkB,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAI9C,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,kBAAkB,EAAE,cAAc,CAAC;oBAC1D,YAAY,EAAE,CAAC,OAAO,CAAC;oBACvB,OAAO,EAAE,CAAC,OAAO,CAAC;AACnB,iBAAA,CAAA;;;ACjCD;;;;;;;;;;;;;;;;;;;;AAoBG;;ACpBH;;AAEG;;;;"}
|
|
@@ -35,5 +35,5 @@ export declare class AjfFbBranchLine {
|
|
|
35
35
|
private _updateOffset;
|
|
36
36
|
private _updateColor;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbBranchLine, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbBranchLine, "ajf-fb-branch-line", never, { "offset": "offset"; "color": "color"; "height": "height"; }, {}, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbBranchLine, "ajf-fb-branch-line", never, { "offset": { "alias": "offset"; "required": false; }; "color": { "alias": "color"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
39
|
}
|
|
@@ -42,5 +42,5 @@ export declare class AjfFbChoicesOriginEditor {
|
|
|
42
42
|
deleteRow(rowIdx: number): void;
|
|
43
43
|
addRow(): void;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbChoicesOriginEditor, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbChoicesOriginEditor, "ajf-fb-choices-origin-editor", never, { "choicesOrigin": "choicesOrigin"; }, {}, never, never, false, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbChoicesOriginEditor, "ajf-fb-choices-origin-editor", never, { "choicesOrigin": { "alias": "choicesOrigin"; "required": false; }; }, {}, never, never, false, never>;
|
|
46
46
|
}
|
|
@@ -33,5 +33,5 @@ export declare class AjfFbConditionEditor implements AfterViewInit {
|
|
|
33
33
|
ngAfterViewInit(): void;
|
|
34
34
|
insertVariable(variable: string): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbConditionEditor, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbConditionEditor, "ajf-condition-editor", never, { "fields": "fields"; "condition": "condition"; }, {}, never, never, false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbConditionEditor, "ajf-condition-editor", never, { "fields": { "alias": "fields"; "required": false; }; "condition": { "alias": "condition"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -58,8 +58,8 @@ export interface AjfFormBuilderMoveEvent {
|
|
|
58
58
|
*/
|
|
59
59
|
toIndex: number;
|
|
60
60
|
}
|
|
61
|
-
export
|
|
62
|
-
export
|
|
61
|
+
export type AjfFormBuilderNode = AjfFormBuilderNodeEntry | AjfFormBuilderEmptySlot;
|
|
62
|
+
export type AjfContainerNode = AjfSlide | AjfRepeatingSlide | AjfNodeGroup;
|
|
63
63
|
export declare function flattenNodes(nodes: AjfNode[]): AjfNode[];
|
|
64
64
|
export declare class AjfFormBuilderService {
|
|
65
65
|
private _availableNodeTypes;
|
|
@@ -75,5 +75,5 @@ export declare class AjfFormBuilder implements AfterViewChecked, AfterContentIni
|
|
|
75
75
|
expandToggle(evt: MatSlideToggleChange): void;
|
|
76
76
|
private _setCurrentForm;
|
|
77
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFormBuilder, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFormBuilder, "ajf-form-builder", never, { "form": "form"; }, {}, never, never, false, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFormBuilder, "ajf-form-builder", never, { "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
|
|
79
79
|
}
|
|
@@ -91,5 +91,5 @@ export declare class AjfFbNodeEntry implements AfterViewInit, OnDestroy {
|
|
|
91
91
|
updateBranchHeights(delay?: number): void;
|
|
92
92
|
updateExpandedStatus(expanded: boolean): void;
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbNodeEntry, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbNodeEntry, "ajf-fb-node-entry", never, { "isFirst": "isFirst"; "nodeEntry": "nodeEntry"; "level": "level"; "isDraggable": "isDraggable"; "originOffset": "originOffset"; "firstBranchColor": "firstBranchColor"; }, {}, never, never, false, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbNodeEntry, "ajf-fb-node-entry", never, { "isFirst": { "alias": "isFirst"; "required": false; }; "nodeEntry": { "alias": "nodeEntry"; "required": false; }; "level": { "alias": "level"; "required": false; }; "isDraggable": { "alias": "isDraggable"; "required": false; }; "originOffset": { "alias": "originOffset"; "required": false; }; "firstBranchColor": { "alias": "firstBranchColor"; "required": false; }; }, {}, never, never, false, never>;
|
|
95
95
|
}
|
|
@@ -30,5 +30,5 @@ export declare class AjfFbNodeTypeEntry {
|
|
|
30
30
|
get node(): any;
|
|
31
31
|
constructor(_cdr: ChangeDetectorRef);
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbNodeTypeEntry, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbNodeTypeEntry, "ajf-fb-node-type-entry", never, { "nodeType": "nodeType"; }, {}, never, never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbNodeTypeEntry, "ajf-fb-node-type-entry", never, { "nodeType": { "alias": "nodeType"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
34
|
}
|
package/forms/form.d.ts
CHANGED
|
@@ -37,5 +37,5 @@ export declare class AjfFormRenderer extends CoreFormRenderer {
|
|
|
37
37
|
static ngAcceptInputType_readonly: BooleanInput;
|
|
38
38
|
static ngAcceptInputType_saveDisabled: BooleanInput;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFormRenderer, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFormRenderer, "ajf-form", never, { "topBar": "topBar"; "centeredFieldsContent": "centeredFieldsContent"; "maxColumns": "maxColumns"; }, {}, never, ["[ajfFormTopToolbarButtons]", "[ajfFormSaveButton]", "[ajfFormStartMessageTitle]", "[ajfFormStartMessage]", "[ajfFormEndMessageTitle]", "[ajfFormEndMessage]"], false, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFormRenderer, "ajf-form", never, { "topBar": { "alias": "topBar"; "required": false; }; "centeredFieldsContent": { "alias": "centeredFieldsContent"; "required": false; }; "maxColumns": { "alias": "maxColumns"; "required": false; }; }, {}, never, ["[ajfFormTopToolbarButtons]", "[ajfFormSaveButton]", "[ajfFormStartMessageTitle]", "[ajfFormStartMessage]", "[ajfFormEndMessageTitle]", "[ajfFormEndMessage]"], false, never>;
|
|
41
41
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ajf/material",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,23 +13,19 @@
|
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://github.com/gnucoop/ajf#readme",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@ajf/core": "
|
|
17
|
-
"@angular/animations": "^
|
|
18
|
-
"@angular/cdk": "^
|
|
19
|
-
"@angular/common": "^
|
|
20
|
-
"@angular/core": "^
|
|
21
|
-
"@angular/forms": "^
|
|
22
|
-
"@angular/material": "^
|
|
23
|
-
"@angular/platform-browser": "^
|
|
16
|
+
"@ajf/core": "16.0.1",
|
|
17
|
+
"@angular/animations": "^16.2.12",
|
|
18
|
+
"@angular/cdk": "^16.2.14",
|
|
19
|
+
"@angular/common": "^16.2.12",
|
|
20
|
+
"@angular/core": "^16.2.12",
|
|
21
|
+
"@angular/forms": "^16.2.12",
|
|
22
|
+
"@angular/material": "^16.2.12",
|
|
23
|
+
"@angular/platform-browser": "^16.2.12"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"tslib": "^2.3.0"
|
|
27
27
|
},
|
|
28
|
-
"module": "
|
|
29
|
-
"es2020": "fesm2020/ajf-material.mjs",
|
|
30
|
-
"esm2020": "esm2020/ajf-material.mjs",
|
|
31
|
-
"fesm2020": "fesm2020/ajf-material.mjs",
|
|
32
|
-
"fesm2015": "fesm2015/ajf-material.mjs",
|
|
28
|
+
"module": "fesm2022/ajf-material.mjs",
|
|
33
29
|
"typings": "index.d.ts",
|
|
34
30
|
"exports": {
|
|
35
31
|
"./package.json": {
|
|
@@ -37,107 +33,81 @@
|
|
|
37
33
|
},
|
|
38
34
|
".": {
|
|
39
35
|
"types": "./index.d.ts",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"node": "./fesm2015/ajf-material.mjs",
|
|
44
|
-
"default": "./fesm2020/ajf-material.mjs"
|
|
36
|
+
"esm2022": "./esm2022/ajf-material.mjs",
|
|
37
|
+
"esm": "./esm2022/ajf-material.mjs",
|
|
38
|
+
"default": "./fesm2022/ajf-material.mjs"
|
|
45
39
|
},
|
|
46
40
|
"./barcode": {
|
|
47
41
|
"types": "./barcode/index.d.ts",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"node": "./fesm2015/ajf-material-barcode.mjs",
|
|
52
|
-
"default": "./fesm2020/ajf-material-barcode.mjs"
|
|
42
|
+
"esm2022": "./esm2022/barcode/ajf-material-barcode.mjs",
|
|
43
|
+
"esm": "./esm2022/barcode/ajf-material-barcode.mjs",
|
|
44
|
+
"default": "./fesm2022/ajf-material-barcode.mjs"
|
|
53
45
|
},
|
|
54
46
|
"./calendar": {
|
|
55
47
|
"types": "./calendar/index.d.ts",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"node": "./fesm2015/ajf-material-calendar.mjs",
|
|
60
|
-
"default": "./fesm2020/ajf-material-calendar.mjs"
|
|
48
|
+
"esm2022": "./esm2022/calendar/ajf-material-calendar.mjs",
|
|
49
|
+
"esm": "./esm2022/calendar/ajf-material-calendar.mjs",
|
|
50
|
+
"default": "./fesm2022/ajf-material-calendar.mjs"
|
|
61
51
|
},
|
|
62
52
|
"./checkbox-group": {
|
|
63
53
|
"types": "./checkbox-group/index.d.ts",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"node": "./fesm2015/ajf-material-checkbox-group.mjs",
|
|
68
|
-
"default": "./fesm2020/ajf-material-checkbox-group.mjs"
|
|
54
|
+
"esm2022": "./esm2022/checkbox-group/ajf-material-checkbox-group.mjs",
|
|
55
|
+
"esm": "./esm2022/checkbox-group/ajf-material-checkbox-group.mjs",
|
|
56
|
+
"default": "./fesm2022/ajf-material-checkbox-group.mjs"
|
|
69
57
|
},
|
|
70
58
|
"./form-builder": {
|
|
71
59
|
"types": "./form-builder/index.d.ts",
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"node": "./fesm2015/ajf-material-form-builder.mjs",
|
|
76
|
-
"default": "./fesm2020/ajf-material-form-builder.mjs"
|
|
60
|
+
"esm2022": "./esm2022/form-builder/ajf-material-form-builder.mjs",
|
|
61
|
+
"esm": "./esm2022/form-builder/ajf-material-form-builder.mjs",
|
|
62
|
+
"default": "./fesm2022/ajf-material-form-builder.mjs"
|
|
77
63
|
},
|
|
78
64
|
"./forms": {
|
|
79
65
|
"types": "./forms/index.d.ts",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"node": "./fesm2015/ajf-material-forms.mjs",
|
|
84
|
-
"default": "./fesm2020/ajf-material-forms.mjs"
|
|
66
|
+
"esm2022": "./esm2022/forms/ajf-material-forms.mjs",
|
|
67
|
+
"esm": "./esm2022/forms/ajf-material-forms.mjs",
|
|
68
|
+
"default": "./fesm2022/ajf-material-forms.mjs"
|
|
85
69
|
},
|
|
86
70
|
"./geolocation": {
|
|
87
71
|
"types": "./geolocation/index.d.ts",
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"node": "./fesm2015/ajf-material-geolocation.mjs",
|
|
92
|
-
"default": "./fesm2020/ajf-material-geolocation.mjs"
|
|
72
|
+
"esm2022": "./esm2022/geolocation/ajf-material-geolocation.mjs",
|
|
73
|
+
"esm": "./esm2022/geolocation/ajf-material-geolocation.mjs",
|
|
74
|
+
"default": "./fesm2022/ajf-material-geolocation.mjs"
|
|
93
75
|
},
|
|
94
76
|
"./image": {
|
|
95
77
|
"types": "./image/index.d.ts",
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"node": "./fesm2015/ajf-material-image.mjs",
|
|
100
|
-
"default": "./fesm2020/ajf-material-image.mjs"
|
|
78
|
+
"esm2022": "./esm2022/image/ajf-material-image.mjs",
|
|
79
|
+
"esm": "./esm2022/image/ajf-material-image.mjs",
|
|
80
|
+
"default": "./fesm2022/ajf-material-image.mjs"
|
|
101
81
|
},
|
|
102
82
|
"./node-icon": {
|
|
103
83
|
"types": "./node-icon/index.d.ts",
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"node": "./fesm2015/ajf-material-node-icon.mjs",
|
|
108
|
-
"default": "./fesm2020/ajf-material-node-icon.mjs"
|
|
84
|
+
"esm2022": "./esm2022/node-icon/ajf-material-node-icon.mjs",
|
|
85
|
+
"esm": "./esm2022/node-icon/ajf-material-node-icon.mjs",
|
|
86
|
+
"default": "./fesm2022/ajf-material-node-icon.mjs"
|
|
109
87
|
},
|
|
110
88
|
"./page-slider": {
|
|
111
89
|
"types": "./page-slider/index.d.ts",
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"node": "./fesm2015/ajf-material-page-slider.mjs",
|
|
116
|
-
"default": "./fesm2020/ajf-material-page-slider.mjs"
|
|
90
|
+
"esm2022": "./esm2022/page-slider/ajf-material-page-slider.mjs",
|
|
91
|
+
"esm": "./esm2022/page-slider/ajf-material-page-slider.mjs",
|
|
92
|
+
"default": "./fesm2022/ajf-material-page-slider.mjs"
|
|
117
93
|
},
|
|
118
94
|
"./reports": {
|
|
119
95
|
"types": "./reports/index.d.ts",
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"node": "./fesm2015/ajf-material-reports.mjs",
|
|
124
|
-
"default": "./fesm2020/ajf-material-reports.mjs"
|
|
96
|
+
"esm2022": "./esm2022/reports/ajf-material-reports.mjs",
|
|
97
|
+
"esm": "./esm2022/reports/ajf-material-reports.mjs",
|
|
98
|
+
"default": "./fesm2022/ajf-material-reports.mjs"
|
|
125
99
|
},
|
|
126
100
|
"./signature": {
|
|
127
101
|
"types": "./signature/index.d.ts",
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"node": "./fesm2015/ajf-material-signature.mjs",
|
|
132
|
-
"default": "./fesm2020/ajf-material-signature.mjs"
|
|
102
|
+
"esm2022": "./esm2022/signature/ajf-material-signature.mjs",
|
|
103
|
+
"esm": "./esm2022/signature/ajf-material-signature.mjs",
|
|
104
|
+
"default": "./fesm2022/ajf-material-signature.mjs"
|
|
133
105
|
},
|
|
134
106
|
"./time": {
|
|
135
107
|
"types": "./time/index.d.ts",
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"node": "./fesm2015/ajf-material-time.mjs",
|
|
140
|
-
"default": "./fesm2020/ajf-material-time.mjs"
|
|
108
|
+
"esm2022": "./esm2022/time/ajf-material-time.mjs",
|
|
109
|
+
"esm": "./esm2022/time/ajf-material-time.mjs",
|
|
110
|
+
"default": "./fesm2022/ajf-material-time.mjs"
|
|
141
111
|
}
|
|
142
112
|
},
|
|
143
113
|
"sideEffects": false
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (C) Gnucoop soc. coop.
|
|
4
|
-
*
|
|
5
|
-
* This file is part of the Advanced JSON forms (ajf).
|
|
6
|
-
*
|
|
7
|
-
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
8
|
-
* modify it under the terms of the GNU Affero General Public License as
|
|
9
|
-
* published by the Free Software Foundation, either version 3 of the License,
|
|
10
|
-
* or (at your option) any later version.
|
|
11
|
-
*
|
|
12
|
-
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
13
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
15
|
-
* General Public License for more details.
|
|
16
|
-
*
|
|
17
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
18
|
-
* along with Advanced JSON forms (ajf).
|
|
19
|
-
* If not, see http://www.gnu.org/licenses/.
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, } from '@angular/core';
|
|
23
|
-
import * as i0 from "@angular/core";
|
|
24
|
-
export class AjfFbBranchLine {
|
|
25
|
-
constructor(_el, _renderer) {
|
|
26
|
-
this._el = _el;
|
|
27
|
-
this._renderer = _renderer;
|
|
28
|
-
this._offset = 0;
|
|
29
|
-
this._color = '';
|
|
30
|
-
this._height = 0;
|
|
31
|
-
}
|
|
32
|
-
set offset(offset) {
|
|
33
|
-
this._offset = offset;
|
|
34
|
-
this._updateOffset();
|
|
35
|
-
}
|
|
36
|
-
set color(color) {
|
|
37
|
-
this._color = color;
|
|
38
|
-
this._updateColor();
|
|
39
|
-
}
|
|
40
|
-
set height(height) {
|
|
41
|
-
this._height = height;
|
|
42
|
-
this._updateHeight();
|
|
43
|
-
}
|
|
44
|
-
_updateHeight() {
|
|
45
|
-
const height = `${Math.max(0, this._height - 25)}px`;
|
|
46
|
-
this._renderer.setStyle(this._el.nativeElement, 'height', height);
|
|
47
|
-
}
|
|
48
|
-
_updateOffset() {
|
|
49
|
-
const margin = `${this._offset * 4}px`;
|
|
50
|
-
this._renderer.setStyle(this._el.nativeElement, 'margin-top', margin);
|
|
51
|
-
this._renderer.setStyle(this._el.nativeElement, 'margin-left', margin);
|
|
52
|
-
}
|
|
53
|
-
_updateColor() {
|
|
54
|
-
this._renderer.setStyle(this._el.nativeElement, 'border-color', this._color);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
AjfFbBranchLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AjfFbBranchLine, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
-
AjfFbBranchLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AjfFbBranchLine, selector: "ajf-fb-branch-line", inputs: { offset: "offset", color: "color", height: "height" }, ngImport: i0, template: "", styles: ["ajf-fb-branch-line{display:block;position:absolute;top:25px;left:25px;width:25px;border-top:2px solid;border-left:2px solid;border-top-left-radius:6px;transition:height .5s ease-in-out}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AjfFbBranchLine, decorators: [{
|
|
60
|
-
type: Component,
|
|
61
|
-
args: [{ selector: 'ajf-fb-branch-line', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "", styles: ["ajf-fb-branch-line{display:block;position:absolute;top:25px;left:25px;width:25px;border-top:2px solid;border-left:2px solid;border-top-left-radius:6px;transition:height .5s ease-in-out}\n"] }]
|
|
62
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { offset: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}], color: [{
|
|
65
|
-
type: Input
|
|
66
|
-
}], height: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}] } });
|
|
69
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJhbmNoLWxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXRlcmlhbC9mb3JtLWJ1aWxkZXIvc3JjL2JyYW5jaC1saW5lLnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWF0ZXJpYWwvZm9ybS1idWlsZGVyL3NyYy9icmFuY2gtbGluZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQW9CRztBQUVILE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUVULEtBQUssRUFFTCxpQkFBaUIsR0FDbEIsTUFBTSxlQUFlLENBQUM7O0FBU3ZCLE1BQU0sT0FBTyxlQUFlO0lBc0IxQixZQUFvQixHQUFlLEVBQVUsU0FBb0I7UUFBN0MsUUFBRyxHQUFILEdBQUcsQ0FBWTtRQUFVLGNBQVMsR0FBVCxTQUFTLENBQVc7UUFyQnpELFlBQU8sR0FBRyxDQUFDLENBQUM7UUFPWixXQUFNLEdBQVcsRUFBRSxDQUFDO1FBT3BCLFlBQU8sR0FBRyxDQUFD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