@ajf/material 13.0.0-next.2 → 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/barcode/barcode-module.d.ts +11 -21
- package/barcode/barcode.d.ts +3 -0
- package/barcode/barcode_public_index.d.ts +4 -0
- package/barcode/index.d.ts +19 -1
- package/barcode/package.json +6 -6
- package/calendar/calendar-module.d.ts +10 -21
- package/calendar/calendar.d.ts +3 -0
- package/calendar/calendar_public_index.d.ts +4 -0
- package/calendar/index.d.ts +19 -1
- package/calendar/package.json +6 -6
- package/checkbox-group/checkbox-group-item.d.ts +3 -0
- package/checkbox-group/checkbox-group-module.d.ts +9 -21
- package/checkbox-group/checkbox-group_public_index.d.ts +4 -0
- package/checkbox-group/index.d.ts +19 -1
- package/checkbox-group/package.json +6 -6
- package/esm2020/barcode/barcode-module.mjs +63 -0
- package/esm2020/barcode/barcode.mjs +51 -0
- package/esm2020/barcode/barcode_public_index.mjs +5 -0
- package/esm2020/barcode/index.mjs +23 -0
- package/{esm2015/barcode/public-api.js → esm2020/barcode/public-api.mjs} +0 -0
- package/esm2020/calendar/calendar-module.mjs +43 -0
- package/esm2020/calendar/calendar.mjs +49 -0
- package/esm2020/calendar/calendar_public_index.mjs +5 -0
- package/esm2020/calendar/index.mjs +23 -0
- package/{esm2015/calendar/public-api.js → esm2020/calendar/public-api.mjs} +0 -0
- package/esm2020/checkbox-group/checkbox-group-item.mjs +51 -0
- package/esm2020/checkbox-group/checkbox-group-module.mjs +42 -0
- package/esm2020/checkbox-group/checkbox-group_public_index.mjs +5 -0
- package/{esm2015/report-builder/image-filter.js → esm2020/checkbox-group/index.mjs} +2 -11
- package/{esm2015/checkbox-group/public-api.js → esm2020/checkbox-group/public-api.mjs} +0 -0
- package/esm2020/form-builder/branch-line.mjs +68 -0
- package/{esm2015/form-builder/choices-origin-data-source.js → esm2020/form-builder/choices-origin-data-source.mjs} +1 -1
- package/esm2020/form-builder/choices-origin-editor-dialog.mjs +40 -0
- package/esm2020/form-builder/choices-origin-editor.mjs +83 -0
- package/esm2020/form-builder/condition-editor-dialog.mjs +38 -0
- package/esm2020/form-builder/condition-editor.mjs +147 -0
- package/esm2020/form-builder/form-builder-module.mjs +179 -0
- package/esm2020/form-builder/form-builder-service.mjs +766 -0
- package/{esm2015/form-builder/form-builder-utils.js → esm2020/form-builder/form-builder-utils.mjs} +4 -3
- package/esm2020/form-builder/form-builder.mjs +180 -0
- package/esm2020/form-builder/form-builder_public_index.mjs +5 -0
- package/esm2020/form-builder/index.mjs +23 -0
- package/esm2020/form-builder/node-entry.mjs +260 -0
- package/esm2020/form-builder/node-properties.mjs +960 -0
- package/esm2020/form-builder/node-type-entry.mjs +46 -0
- package/{esm2015/form-builder/operations.js → esm2020/form-builder/operations.mjs} +0 -0
- package/{esm2015/form-builder/public-api.js → esm2020/form-builder/public-api.mjs} +0 -0
- package/esm2020/form-builder/string-identifier-dialog.mjs +79 -0
- package/esm2020/form-builder/validation-condition-editor-dialog.mjs +41 -0
- package/esm2020/form-builder/warning-condition-editor-dialog.mjs +41 -0
- package/esm2020/forms/barcode-field.mjs +45 -0
- package/esm2020/forms/boolean-field.mjs +45 -0
- package/esm2020/forms/date-field.mjs +45 -0
- package/esm2020/forms/date-input-field.mjs +67 -0
- package/esm2020/forms/empty-field.mjs +43 -0
- package/esm2020/forms/field-service.mjs +116 -0
- package/esm2020/forms/field-warning-dialog.mjs +34 -0
- package/esm2020/forms/field.mjs +42 -0
- package/esm2020/forms/form.mjs +51 -0
- package/esm2020/forms/forms-module.mjs +208 -0
- package/esm2020/forms/forms_public_index.mjs +5 -0
- package/esm2020/forms/index.mjs +23 -0
- package/esm2020/forms/input-field.mjs +46 -0
- package/esm2020/forms/multiple-choice-field.mjs +54 -0
- package/{esm2015/forms/public-api.js → esm2020/forms/public-api.mjs} +0 -0
- package/esm2020/forms/range-field.mjs +46 -0
- package/esm2020/forms/single-choice-field.mjs +53 -0
- package/esm2020/forms/table-field.mjs +45 -0
- package/esm2020/forms/text-field.mjs +47 -0
- package/esm2020/forms/time-field.mjs +45 -0
- package/esm2020/forms/video-url-field.mjs +50 -0
- package/esm2020/forms/warning-alert-service.mjs +22 -0
- package/esm2020/image/image-module.mjs +40 -0
- package/esm2020/image/image.mjs +40 -0
- package/esm2020/image/image_public_index.mjs +5 -0
- package/esm2020/image/index.mjs +23 -0
- package/{esm2015/image/public-api.js → esm2020/image/public-api.mjs} +0 -0
- package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- package/{esm2015/monaco-editor/auto-complete-item-model.js → esm2020/monaco-editor/auto-complete-item-model.mjs} +0 -0
- package/{esm2015/monaco-editor/autocomplete-singleton-model.js → esm2020/monaco-editor/autocomplete-singleton-model.mjs} +3 -2
- package/{esm2015/monaco-editor/editor-language-model.js → esm2020/monaco-editor/editor-language-model.mjs} +0 -0
- package/{esm2015/monaco-editor/editor-options-model.js → esm2020/monaco-editor/editor-options-model.mjs} +1 -1
- package/{esm2015/monaco-editor/editor-scrollbar-options.js → esm2020/monaco-editor/editor-scrollbar-options.mjs} +0 -0
- package/{esm2015/monaco-editor/editor-theme.js → esm2020/monaco-editor/editor-theme.mjs} +0 -0
- package/esm2020/monaco-editor/index.mjs +23 -0
- package/esm2020/monaco-editor/monaco-editor-module.mjs +37 -0
- package/esm2020/monaco-editor/monaco-editor.mjs +451 -0
- package/esm2020/monaco-editor/monaco-editor_public_index.mjs +5 -0
- package/{esm2015/monaco-editor/public-api.js → esm2020/monaco-editor/public-api.mjs} +0 -0
- package/esm2020/node-icon/index.mjs +23 -0
- package/esm2020/node-icon/node-icon-module.mjs +40 -0
- package/esm2020/node-icon/node-icon.mjs +35 -0
- package/esm2020/node-icon/node-icon_public_index.mjs +5 -0
- package/{esm2015/node-icon/public-api.js → esm2020/node-icon/public-api.mjs} +0 -0
- package/esm2020/page-slider/index.mjs +23 -0
- package/esm2020/page-slider/page-slider-module.mjs +59 -0
- package/esm2020/page-slider/page-slider.mjs +42 -0
- package/esm2020/page-slider/page-slider_public_index.mjs +5 -0
- package/{esm2015/page-slider/public-api.js → esm2020/page-slider/public-api.mjs} +0 -0
- package/esm2020/reports/chart-widget.mjs +38 -0
- package/esm2020/reports/formula-widget.mjs +37 -0
- package/esm2020/reports/image-container-widget.mjs +41 -0
- package/esm2020/reports/image-widget.mjs +37 -0
- package/esm2020/reports/index.mjs +23 -0
- package/{esm2015/reports/layout-widget.js → esm2020/reports/layout-widget.mjs} +0 -0
- package/esm2020/reports/map-widget.mjs +37 -0
- package/esm2020/reports/page-break-widget.mjs +37 -0
- package/{esm2015/reports/public-api.js → esm2020/reports/public-api.mjs} +0 -0
- package/esm2020/reports/report.mjs +39 -0
- package/esm2020/reports/reports-module.mjs +112 -0
- package/esm2020/reports/reports_public_index.mjs +5 -0
- package/esm2020/reports/table-widget.mjs +38 -0
- package/esm2020/reports/text-widget.mjs +38 -0
- package/esm2020/reports/widget.mjs +102 -0
- package/{esm2015/report-builder/operations.js → esm2020/time/index.mjs} +2 -2
- package/{esm2015/time/public-api.js → esm2020/time/public-api.mjs} +0 -0
- package/esm2020/time/time-module.mjs +41 -0
- package/esm2020/time/time.mjs +45 -0
- package/esm2020/time/time_public_index.mjs +5 -0
- package/fesm2015/barcode.mjs +162 -0
- package/fesm2015/barcode.mjs.map +1 -0
- package/fesm2015/calendar.mjs +138 -0
- package/fesm2015/calendar.mjs.map +1 -0
- package/fesm2015/checkbox-group.mjs +142 -0
- package/fesm2015/checkbox-group.mjs.map +1 -0
- package/fesm2015/form-builder.mjs +2922 -0
- package/fesm2015/form-builder.mjs.map +1 -0
- package/fesm2015/forms.mjs +1011 -0
- package/fesm2015/forms.mjs.map +1 -0
- package/fesm2015/image.mjs +127 -0
- package/fesm2015/image.mjs.map +1 -0
- package/fesm2015/{material.js → material.mjs} +1 -1
- package/{bundles/material.umd.js.map → fesm2015/material.mjs.map} +1 -1
- package/fesm2015/{monaco-editor.js → monaco-editor.mjs} +179 -124
- package/fesm2015/monaco-editor.mjs.map +1 -0
- package/fesm2015/node-icon.mjs +123 -0
- package/fesm2015/node-icon.mjs.map +1 -0
- package/fesm2015/page-slider.mjs +147 -0
- package/fesm2015/page-slider.mjs.map +1 -0
- package/fesm2015/reports.mjs +551 -0
- package/fesm2015/reports.mjs.map +1 -0
- package/fesm2015/time.mjs +133 -0
- package/fesm2015/time.mjs.map +1 -0
- package/fesm2020/barcode.mjs +162 -0
- package/fesm2020/barcode.mjs.map +1 -0
- package/fesm2020/calendar.mjs +138 -0
- package/fesm2020/calendar.mjs.map +1 -0
- package/fesm2020/checkbox-group.mjs +140 -0
- package/fesm2020/checkbox-group.mjs.map +1 -0
- package/fesm2020/form-builder.mjs +2921 -0
- package/fesm2020/form-builder.mjs.map +1 -0
- package/fesm2020/forms.mjs +985 -0
- package/fesm2020/forms.mjs.map +1 -0
- package/fesm2020/image.mjs +127 -0
- package/fesm2020/image.mjs.map +1 -0
- package/{report-builder/image-filter.d.ts → fesm2020/material.mjs} +9 -4
- package/fesm2020/material.mjs.map +1 -0
- package/fesm2020/monaco-editor.mjs +826 -0
- package/fesm2020/monaco-editor.mjs.map +1 -0
- package/fesm2020/node-icon.mjs +123 -0
- package/fesm2020/node-icon.mjs.map +1 -0
- package/fesm2020/page-slider.mjs +147 -0
- package/fesm2020/page-slider.mjs.map +1 -0
- package/fesm2020/reports.mjs +551 -0
- package/fesm2020/reports.mjs.map +1 -0
- package/fesm2020/time.mjs +133 -0
- package/fesm2020/time.mjs.map +1 -0
- package/form-builder/branch-line.d.ts +3 -0
- package/form-builder/choices-origin-editor-dialog.d.ts +3 -0
- package/form-builder/choices-origin-editor.d.ts +3 -0
- package/form-builder/condition-editor-dialog.d.ts +3 -0
- package/form-builder/condition-editor.d.ts +3 -0
- package/form-builder/form-builder-module.d.ts +41 -21
- package/form-builder/form-builder-service.d.ts +3 -0
- package/form-builder/form-builder.d.ts +3 -0
- package/form-builder/form-builder_public_index.d.ts +4 -0
- package/form-builder/index.d.ts +19 -12
- package/form-builder/node-entry.d.ts +3 -0
- package/form-builder/node-properties.d.ts +3 -0
- package/form-builder/node-type-entry.d.ts +3 -0
- package/form-builder/package.json +6 -6
- package/form-builder/string-identifier-dialog.d.ts +3 -0
- package/form-builder/validation-condition-editor-dialog.d.ts +3 -0
- package/form-builder/warning-condition-editor-dialog.d.ts +3 -0
- package/forms/barcode-field.d.ts +3 -0
- package/forms/boolean-field.d.ts +3 -0
- package/forms/date-field.d.ts +3 -0
- package/forms/date-input-field.d.ts +3 -0
- package/forms/empty-field.d.ts +3 -0
- package/forms/field-service.d.ts +3 -0
- package/forms/field-warning-dialog.d.ts +3 -21
- package/forms/field.d.ts +3 -0
- package/forms/form.d.ts +3 -0
- package/forms/forms-module.d.ts +43 -21
- package/forms/forms_public_index.d.ts +4 -0
- package/forms/index.d.ts +19 -5
- package/forms/input-field.d.ts +3 -0
- package/forms/multiple-choice-field.d.ts +3 -0
- package/forms/package.json +6 -6
- package/forms/range-field.d.ts +3 -0
- package/forms/single-choice-field.d.ts +3 -0
- package/forms/table-field.d.ts +3 -0
- package/forms/text-field.d.ts +3 -0
- package/forms/time-field.d.ts +3 -0
- package/forms/video-url-field.d.ts +3 -0
- package/forms/warning-alert-service.d.ts +3 -0
- package/image/image-module.d.ts +7 -21
- package/image/image.d.ts +3 -0
- package/image/image_public_index.d.ts +4 -0
- package/image/index.d.ts +19 -1
- package/image/package.json +6 -6
- package/monaco-editor/index.d.ts +19 -1
- package/monaco-editor/monaco-editor-module.d.ts +5 -21
- package/monaco-editor/monaco-editor.d.ts +3 -0
- package/monaco-editor/monaco-editor_public_index.d.ts +4 -0
- package/monaco-editor/package.json +6 -6
- package/node-icon/index.d.ts +19 -1
- package/node-icon/node-icon-module.d.ts +7 -21
- package/node-icon/node-icon.d.ts +3 -0
- package/node-icon/node-icon_public_index.d.ts +4 -0
- package/node-icon/package.json +6 -6
- package/package.json +111 -11
- package/page-slider/index.d.ts +19 -1
- package/page-slider/package.json +6 -6
- package/page-slider/page-slider-module.d.ts +10 -21
- package/page-slider/page-slider.d.ts +3 -0
- package/page-slider/page-slider_public_index.d.ts +4 -0
- package/reports/chart-widget.d.ts +3 -0
- package/reports/formula-widget.d.ts +3 -0
- package/reports/image-container-widget.d.ts +3 -0
- package/reports/image-widget.d.ts +3 -0
- package/reports/index.d.ts +19 -1
- package/reports/map-widget.d.ts +3 -0
- package/reports/package.json +6 -6
- package/reports/page-break-widget.d.ts +3 -0
- package/reports/report.d.ts +3 -0
- package/reports/reports-module.d.ts +24 -21
- package/reports/reports_public_index.d.ts +4 -0
- package/reports/table-widget.d.ts +3 -0
- package/reports/text-widget.d.ts +3 -0
- package/reports/widget.d.ts +9 -0
- package/time/index.d.ts +19 -1
- package/time/package.json +6 -6
- package/time/time-module.d.ts +8 -21
- package/time/time.d.ts +3 -0
- package/time/time_public_index.d.ts +4 -0
- package/barcode/index.metadata.json +0 -1
- package/bundles/material-barcode.umd.js +0 -433
- package/bundles/material-barcode.umd.js.map +0 -1
- package/bundles/material-calendar.umd.js +0 -435
- package/bundles/material-calendar.umd.js.map +0 -1
- package/bundles/material-checkbox-group.umd.js +0 -432
- package/bundles/material-checkbox-group.umd.js.map +0 -1
- package/bundles/material-form-builder.umd.js +0 -3558
- package/bundles/material-form-builder.umd.js.map +0 -1
- package/bundles/material-forms.umd.js +0 -968
- package/bundles/material-forms.umd.js.map +0 -1
- package/bundles/material-image.umd.js +0 -420
- package/bundles/material-image.umd.js.map +0 -1
- package/bundles/material-monaco-editor.umd.js +0 -755
- package/bundles/material-monaco-editor.umd.js.map +0 -1
- package/bundles/material-node-icon.umd.js +0 -415
- package/bundles/material-node-icon.umd.js.map +0 -1
- package/bundles/material-page-slider.umd.js +0 -424
- package/bundles/material-page-slider.umd.js.map +0 -1
- package/bundles/material-report-builder.umd.js +0 -5814
- package/bundles/material-report-builder.umd.js.map +0 -1
- package/bundles/material-reports.umd.js +0 -731
- package/bundles/material-reports.umd.js.map +0 -1
- package/bundles/material-time.umd.js +0 -424
- package/bundles/material-time.umd.js.map +0 -1
- package/bundles/material.umd.js +0 -40
- package/calendar/index.metadata.json +0 -1
- package/checkbox-group/index.metadata.json +0 -1
- package/esm2015/barcode/barcode-module.js +0 -50
- package/esm2015/barcode/barcode.externs.js +0 -6
- package/esm2015/barcode/barcode.js +0 -52
- package/esm2015/barcode/index.js +0 -5
- package/esm2015/calendar/calendar-module.js +0 -48
- package/esm2015/calendar/calendar.externs.js +0 -6
- package/esm2015/calendar/calendar.js +0 -55
- package/esm2015/calendar/index.js +0 -5
- package/esm2015/checkbox-group/checkbox-group-item.js +0 -51
- package/esm2015/checkbox-group/checkbox-group-module.js +0 -47
- package/esm2015/checkbox-group/checkbox-group.externs.js +0 -6
- package/esm2015/checkbox-group/index.js +0 -5
- package/esm2015/form-builder/branch-line.js +0 -73
- package/esm2015/form-builder/choices-origin-editor-dialog.js +0 -57
- package/esm2015/form-builder/choices-origin-editor.js +0 -78
- package/esm2015/form-builder/condition-editor-dialog.js +0 -59
- package/esm2015/form-builder/condition-editor.js +0 -143
- package/esm2015/form-builder/form-builder-module.js +0 -96
- package/esm2015/form-builder/form-builder-service.js +0 -764
- package/esm2015/form-builder/form-builder.externs.js +0 -6
- package/esm2015/form-builder/form-builder.js +0 -187
- package/esm2015/form-builder/index.js +0 -16
- package/esm2015/form-builder/node-entry.js +0 -245
- package/esm2015/form-builder/node-properties.js +0 -968
- package/esm2015/form-builder/node-type-entry.js +0 -50
- package/esm2015/form-builder/string-identifier-dialog.js +0 -94
- package/esm2015/form-builder/validation-condition-editor-dialog.js +0 -59
- package/esm2015/form-builder/warning-condition-editor-dialog.js +0 -59
- package/esm2015/forms/barcode-field.js +0 -43
- package/esm2015/forms/boolean-field.js +0 -43
- package/esm2015/forms/date-field.js +0 -43
- package/esm2015/forms/date-input-field.js +0 -65
- package/esm2015/forms/empty-field.js +0 -43
- package/esm2015/forms/field-service.js +0 -115
- package/esm2015/forms/field-warning-dialog.js +0 -32
- package/esm2015/forms/field.js +0 -45
- package/esm2015/forms/form.js +0 -46
- package/esm2015/forms/forms-module.js +0 -107
- package/esm2015/forms/forms.externs.js +0 -6
- package/esm2015/forms/index.js +0 -9
- package/esm2015/forms/input-field.js +0 -43
- package/esm2015/forms/multiple-choice-field.js +0 -44
- package/esm2015/forms/range-field.js +0 -45
- package/esm2015/forms/single-choice-field.js +0 -44
- package/esm2015/forms/table-field.js +0 -43
- package/esm2015/forms/text-field.js +0 -43
- package/esm2015/forms/time-field.js +0 -43
- package/esm2015/forms/video-url-field.js +0 -47
- package/esm2015/forms/warning-alert-service.js +0 -42
- package/esm2015/image/image-module.js +0 -42
- package/esm2015/image/image.externs.js +0 -6
- package/esm2015/image/image.js +0 -44
- package/esm2015/image/index.js +0 -5
- package/esm2015/material.externs.js +0 -0
- package/esm2015/monaco-editor/index.js +0 -5
- package/esm2015/monaco-editor/monaco-editor-module.js +0 -36
- package/esm2015/monaco-editor/monaco-editor.externs.js +0 -6
- package/esm2015/monaco-editor/monaco-editor.js +0 -389
- package/esm2015/node-icon/index.js +0 -5
- package/esm2015/node-icon/node-icon-module.js +0 -42
- package/esm2015/node-icon/node-icon.externs.js +0 -6
- package/esm2015/node-icon/node-icon.js +0 -35
- package/esm2015/page-slider/index.js +0 -5
- package/esm2015/page-slider/page-slider-module.js +0 -49
- package/esm2015/page-slider/page-slider.externs.js +0 -6
- package/esm2015/page-slider/page-slider.js +0 -44
- package/esm2015/report-builder/column.js +0 -97
- package/esm2015/report-builder/condition-editor.js +0 -159
- package/esm2015/report-builder/content.js +0 -255
- package/esm2015/report-builder/custom-widget-dialog.js +0 -51
- package/esm2015/report-builder/custom-widget-toolbar-button.js +0 -70
- package/esm2015/report-builder/custom-widgets-toolbar.js +0 -124
- package/esm2015/report-builder/forms-analyzer-dialog.js +0 -315
- package/esm2015/report-builder/forms-analyzer.js +0 -264
- package/esm2015/report-builder/image-group.js +0 -106
- package/esm2015/report-builder/index.js +0 -25
- package/esm2015/report-builder/models.js +0 -23
- package/esm2015/report-builder/properties.js +0 -765
- package/esm2015/report-builder/public-api.js +0 -26
- package/esm2015/report-builder/quill-editor.js +0 -299
- package/esm2015/report-builder/renderer-widget.js +0 -238
- package/esm2015/report-builder/report-builder-drag-data.js +0 -23
- package/esm2015/report-builder/report-builder-module.js +0 -114
- package/esm2015/report-builder/report-builder-service.js +0 -1685
- package/esm2015/report-builder/report-builder.externs.js +0 -6
- package/esm2015/report-builder/report-builder.js +0 -69
- package/esm2015/report-builder/theme-color-dialog.js +0 -90
- package/esm2015/report-builder/theme-color.js +0 -215
- package/esm2015/report-builder/tokens.js +0 -24
- package/esm2015/report-builder/toolbar-dialog.js +0 -56
- package/esm2015/report-builder/toolbar.js +0 -90
- package/esm2015/report-builder/utils.js +0 -48
- package/esm2015/report-builder/widget-toolbar-button.js +0 -47
- package/esm2015/report-builder/widgets-row-buttons.js +0 -133
- package/esm2015/report-builder/widgets-toolbar.js +0 -79
- package/esm2015/reports/chart-widget.js +0 -41
- package/esm2015/reports/formula-widget.js +0 -41
- package/esm2015/reports/image-container-widget.js +0 -43
- package/esm2015/reports/image-widget.js +0 -41
- package/esm2015/reports/index.js +0 -5
- package/esm2015/reports/map-widget.js +0 -41
- package/esm2015/reports/page-break-widget.js +0 -41
- package/esm2015/reports/report.js +0 -41
- package/esm2015/reports/reports-module.js +0 -79
- package/esm2015/reports/reports.externs.js +0 -6
- package/esm2015/reports/table-widget.js +0 -41
- package/esm2015/reports/text-widget.js +0 -41
- package/esm2015/reports/widget.js +0 -120
- package/esm2015/time/index.js +0 -5
- package/esm2015/time/time-module.js +0 -44
- package/esm2015/time/time.externs.js +0 -6
- package/esm2015/time/time.js +0 -46
- package/fesm2015/barcode.js +0 -129
- package/fesm2015/barcode.js.map +0 -1
- package/fesm2015/calendar.js +0 -128
- package/fesm2015/calendar.js.map +0 -1
- package/fesm2015/checkbox-group.js +0 -124
- package/fesm2015/checkbox-group.js.map +0 -1
- package/fesm2015/form-builder.js +0 -2987
- package/fesm2015/form-builder.js.map +0 -1
- package/fesm2015/forms.js +0 -923
- package/fesm2015/forms.js.map +0 -1
- package/fesm2015/image.js +0 -113
- package/fesm2015/image.js.map +0 -1
- package/fesm2015/material.js.map +0 -1
- package/fesm2015/monaco-editor.js.map +0 -1
- package/fesm2015/node-icon.js +0 -104
- package/fesm2015/node-icon.js.map +0 -1
- package/fesm2015/page-slider.js +0 -119
- package/fesm2015/page-slider.js.map +0 -1
- package/fesm2015/report-builder.js +0 -5332
- package/fesm2015/report-builder.js.map +0 -1
- package/fesm2015/reports.js +0 -560
- package/fesm2015/reports.js.map +0 -1
- package/fesm2015/time.js +0 -116
- package/fesm2015/time.js.map +0 -1
- package/form-builder/index.metadata.json +0 -1
- package/forms/index.metadata.json +0 -1
- package/image/index.metadata.json +0 -1
- package/monaco-editor/index.metadata.json +0 -1
- package/node-icon/index.metadata.json +0 -1
- package/page-slider/index.metadata.json +0 -1
- package/report-builder/_report-builder.scss +0 -0
- package/report-builder/column.d.ts +0 -63
- package/report-builder/condition-editor.d.ts +0 -67
- package/report-builder/content.d.ts +0 -142
- package/report-builder/custom-widget-dialog.d.ts +0 -31
- package/report-builder/custom-widget-toolbar-button.d.ts +0 -45
- package/report-builder/custom-widgets-toolbar.d.ts +0 -71
- package/report-builder/forms-analyzer-dialog.d.ts +0 -91
- package/report-builder/forms-analyzer.d.ts +0 -102
- package/report-builder/image-group.d.ts +0 -69
- package/report-builder/index.d.ts +0 -24
- package/report-builder/index.metadata.json +0 -1
- package/report-builder/models.d.ts +0 -43
- package/report-builder/operations.d.ts +0 -45
- package/report-builder/package.json +0 -9
- package/report-builder/properties.d.ts +0 -365
- package/report-builder/public-api.d.ts +0 -26
- package/report-builder/quill-editor.d.ts +0 -113
- package/report-builder/renderer-widget.d.ts +0 -80
- package/report-builder/report-builder-drag-data.d.ts +0 -32
- package/report-builder/report-builder-module.d.ts +0 -23
- package/report-builder/report-builder-service.d.ts +0 -722
- package/report-builder/report-builder.d.ts +0 -36
- package/report-builder/theme-color-dialog.d.ts +0 -42
- package/report-builder/theme-color.d.ts +0 -108
- package/report-builder/tokens.d.ts +0 -24
- package/report-builder/toolbar-dialog.d.ts +0 -30
- package/report-builder/toolbar.d.ts +0 -48
- package/report-builder/utils.d.ts +0 -29
- package/report-builder/widget-toolbar-button.d.ts +0 -28
- package/report-builder/widgets-row-buttons.d.ts +0 -57
- package/report-builder/widgets-toolbar.d.ts +0 -44
- package/reports/index.metadata.json +0 -1
- package/time/index.metadata.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reports.mjs","sources":["../../../../../../src/material/reports/chart-widget.ts","../../../../../../src/material/reports/chart-widget.html","../../../../../../src/material/reports/formula-widget.ts","../../../../../../src/material/reports/formula-widget.html","../../../../../../src/material/reports/image-container-widget.ts","../../../../../../src/material/reports/image-container-widget.html","../../../../../../src/material/reports/image-widget.ts","../../../../../../src/material/reports/image-widget.html","../../../../../../src/material/reports/map-widget.ts","../../../../../../src/material/reports/map-widget.html","../../../../../../src/material/reports/page-break-widget.ts","../../../../../../src/material/reports/page-break-widget.html","../../../../../../src/material/reports/table-widget.ts","../../../../../../src/material/reports/table-widget.html","../../../../../../src/material/reports/text-widget.ts","../../../../../../src/material/reports/text-widget.html","../../../../../../src/material/reports/widget.ts","../../../../../../src/material/reports/widget.html","../../../../../../src/material/reports/column-widget.html","../../../../../../src/material/reports/layout-widget.html","../../../../../../src/material/reports/report.ts","../../../../../../src/material/reports/report.html","../../../../../../src/material/reports/reports-module.ts","../../../../../../src/material/reports/public-api.ts","../../../../../../src/material/reports/index.ts","../../../../../../src/material/reports/reports_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 {AjfBaseWidgetComponent, AjfChartWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n templateUrl: 'chart-widget.html',\n styleUrls: ['chart-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfChartWidgetComponent extends AjfBaseWidgetComponent<AjfChartWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","<ajf-widget-export \n [widgetType]=\"instance.widgetType\" \n [data]=\"instance.data\" \n [enable]=\"instance.exportable\">\n <ajf-chart\n [chartType]=\"instance.chartType\"\n [options]=\"instance.widget.options\"\n [data]=\"instance.data\"\n [instance]=\"instance\">\n </ajf-chart>\n</ajf-widget-export>\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 {AjfBaseWidgetComponent, AjfFormulaWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n templateUrl: 'formula-widget.html',\n styleUrls: ['formula-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfFormulaWidgetComponent extends AjfBaseWidgetComponent<AjfFormulaWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","<ajf-text [htmlText]=\"instance.formula\"></ajf-text>\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 {AjfImageType} from '@ajf/core/image';\nimport {AjfBaseWidgetComponent, AjfImageContainerWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n templateUrl: 'image-container-widget.html',\n styleUrls: ['image-container-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfImageContainerWidgetComponent extends AjfBaseWidgetComponent<AjfImageContainerWidgetInstance> {\n readonly imageTypes = AjfImageType;\n\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","<div class=\"ajf-image-container ajf-columns\" [ngSwitch]=\"instance.widget.imageType\">\n <ng-template [ngSwitchCase]=\"imageTypes.Image\">\n <div *ngFor=\"let icw of instance.urls; let idx = index\" class=\"ajf-column\">\n <ajf-image\n [type]=\"instance.widget.imageType\"\n [imageUrl]=\"icw\"\n [icon]=\"null\"\n [flag]=\"null\"\n [applyStyles]=\"instance.widget!.styles\"\n ></ajf-image>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"imageTypes.Flag\">\n <div *ngFor=\"let icw of instance.flags; let idx = index\" class=\"ajf-column\">\n <ajf-image\n [type]=\"instance.widget.imageType\"\n [imageUrl]=\"null\"\n [icon]=\"null\"\n [flag]=\"icw\"\n [applyStyles]=\"instance.widget!.styles\"\n ></ajf-image>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"imageTypes.Icon\">\n <div *ngFor=\"let icw of instance.icons; let idx = index\" class=\"ajf-column\">\n <ajf-image\n [type]=\"instance.widget.imageType\"\n [imageUrl]=\"null\"\n [icon]=\"icw\"\n [flag]=\"null\"\n [applyStyles]=\"instance.widget!.styles\"\n ></ajf-image>\n </div>\n </ng-template>\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 {AjfBaseWidgetComponent, AjfImageWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n templateUrl: 'image-widget.html',\n styleUrls: ['image-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfImageWidgetComponent extends AjfBaseWidgetComponent<AjfImageWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","<ajf-image\n [type]=\"instance.widget.imageType\"\n [imageUrl]=\"instance.url\"\n [icon]=\"instance.icon\"\n [flag]=\"instance.flag\"\n></ajf-image>\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 {AjfBaseWidgetComponent, AjfMapWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n templateUrl: 'map-widget.html',\n styleUrls: ['map-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfMapWidgetComponent extends AjfBaseWidgetComponent<AjfMapWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","<ajf-map\n [coordinate]=\"instance.coordinate\"\n [tileLayer]=\"instance.widget.tileLayer\"\n [attribution]=\"instance.widget.attribution\"\n [disabled]=\"instance.widget.disabled\"\n></ajf-map>\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 {AjfBaseWidgetComponent} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n templateUrl: 'page-break-widget.html',\n styleUrls: ['page-break-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfPageBreakWidgetComponent extends AjfBaseWidgetComponent {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","<ajf-page-break></ajf-page-break>\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 {AjfBaseWidgetComponent, AjfTableWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n templateUrl: 'table-widget.html',\n styleUrls: ['table-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfTableWidgetComponent extends AjfBaseWidgetComponent<AjfTableWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","<ajf-widget-export \n[widgetType]=\"instance.widgetType\" \n[data]=\"instance.data\"\n[enable]=\"instance.exportable\"\n>\n <ajf-table [data]=\"instance.data\"></ajf-table>\n</ajf-widget-export>\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 {AjfBaseWidgetComponent, AjfTextWidgetInstance} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n templateUrl: 'text-widget.html',\n styleUrls: ['text-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfTextWidgetComponent extends AjfBaseWidgetComponent<AjfTextWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n","<ajf-text [htmlText]=\"instance.htmlText | transloco\"></ajf-text>\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 {\n AjfBaseWidgetComponent,\n AjfColumnWidgetInstance,\n AjfLayoutWidgetInstance,\n AjfReportWidget as CoreComponent,\n AjfWidgetComponentsMap,\n AjfWidgetService as CoreService,\n AjfWidgetType as wt,\n} from '@ajf/core/reports';\nimport {\n AfterContentChecked,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ComponentFactoryResolver,\n ElementRef,\n Injectable,\n Renderer2,\n ViewEncapsulation,\n} from '@angular/core';\nimport {BehaviorSubject, Observable} from 'rxjs';\n\nimport {AjfChartWidgetComponent} from './chart-widget';\nimport {AjfFormulaWidgetComponent} from './formula-widget';\nimport {AjfImageContainerWidgetComponent} from './image-container-widget';\nimport {AjfImageWidgetComponent} from './image-widget';\nimport {AjfMapWidgetComponent} from './map-widget';\nimport {AjfPageBreakWidgetComponent} from './page-break-widget';\nimport {AjfTableWidgetComponent} from './table-widget';\nimport {AjfTextWidgetComponent} from './text-widget';\n\nconst defaultWidgetsFactory = (): AjfWidgetComponentsMap => {\n const defaultWidgets = {} as AjfWidgetComponentsMap;\n defaultWidgets[wt.Layout] = {component: AjfLayoutWidgetComponent};\n defaultWidgets[wt.PageBreak] = {component: AjfPageBreakWidgetComponent};\n defaultWidgets[wt.Image] = {component: AjfImageWidgetComponent};\n defaultWidgets[wt.Text] = {component: AjfTextWidgetComponent};\n defaultWidgets[wt.Chart] = {component: AjfChartWidgetComponent};\n defaultWidgets[wt.Table] = {component: AjfTableWidgetComponent};\n defaultWidgets[wt.DynamicTable] = {component: AjfTableWidgetComponent};\n defaultWidgets[wt.Map] = {component: AjfMapWidgetComponent};\n defaultWidgets[wt.Column] = {component: AjfColumnWidgetComponent};\n defaultWidgets[wt.Formula] = {component: AjfFormulaWidgetComponent};\n defaultWidgets[wt.ImageContainer] = {component: AjfImageContainerWidgetComponent};\n return defaultWidgets;\n};\n\n@Injectable({providedIn: 'root'})\nexport class AjfWidgetService extends CoreService {\n constructor() {\n super(defaultWidgetsFactory());\n }\n}\n\n@Component({\n selector: 'ajf-widget',\n templateUrl: 'widget.html',\n styleUrls: ['widget.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfReportWidget extends CoreComponent {\n readonly widgetsMap: AjfWidgetComponentsMap;\n\n constructor(cfr: ComponentFactoryResolver, renderer: Renderer2, widgetService: AjfWidgetService) {\n super(cfr, renderer);\n this.widgetsMap = widgetService.componentsMap;\n }\n}\n\n@Component({\n templateUrl: 'column-widget.html',\n styleUrls: ['column-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfColumnWidgetComponent extends AjfBaseWidgetComponent<AjfColumnWidgetInstance> {\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n}\n\n@Component({\n templateUrl: 'layout-widget.html',\n styleUrls: ['layout-widget.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AjfLayoutWidgetComponent\n extends AjfBaseWidgetComponent<AjfLayoutWidgetInstance>\n implements AfterContentChecked\n{\n private _allcolumnsRendered$: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);\n readonly allcolumnsRendered$: Observable<boolean> = this\n ._allcolumnsRendered$ as Observable<boolean>;\n\n constructor(cdr: ChangeDetectorRef, el: ElementRef) {\n super(cdr, el);\n }\n ngAfterContentChecked(): void {\n this._allcolumnsRendered$.next(true);\n }\n}\n","<ng-template ajf-widget-host></ng-template>\n","<div class=\"ajf-column-container\">\n <ng-container *ngFor=\"let w of instance.content\">\n <ajf-widget [instance]=\"w\">\n </ajf-widget>\n </ng-container>\n</div>\n","<div class=\"ajf-columns\">\n <div\n *ngFor=\"let column of instance.widget.columns; let idx = index\"\n [ngStyle]=\"{'flex-grow': column > -1 ? 1 : null, 'flex-basis' : column > -1 ? (column * 100) + '%' : null}\"\n class=\"ajf-column\"\n >\n <ng-container *ngIf=\"allcolumnsRendered$|async\">\n <ajf-widget *ngIf=\"(instance|ajfGetColumnContent:idx) as cc\" [instance]=\"cc!\">\n </ajf-widget>\n </ng-container>\n </div>\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 {AjfReportRenderer as AjfCoreReportRenderer} from '@ajf/core/reports';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ajf-report',\n templateUrl: 'report.html',\n styleUrls: ['report.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfReportRenderer extends AjfCoreReportRenderer {\n constructor(cdr: ChangeDetectorRef) {\n super(cdr);\n }\n}\n","<ng-template [ngIf]=\"instance\">\n <div *ngIf=\"instance.header\" @.disabled [applyStyles]=\"instance.header.styles\" class=\"ajf-report-header\">\n <ng-template ngFor let-instance [ngForOf]=\"instance.header.content\">\n <ajf-widget *ngIf=\"instance.visible\" [instance]=\"instance\"></ajf-widget>\n </ng-template>\n </div>\n <div *ngIf=\"instance.content\" @.disabled [applyStyles]=\"instance.content.styles\" class=\"ajf-report-content\">\n <ng-template ngFor let-instance [ngForOf]=\"instance.content.content\">\n <ajf-widget *ngIf=\"instance.visible\" [instance]=\"instance\"></ajf-widget>\n </ng-template>\n </div>\n <div *ngIf=\"instance.footer\" @.disabled [applyStyles]=\"instance.footer.styles\" class=\"ajf-report-footer\">\n <ng-template ngFor let-instance [ngForOf]=\"instance.footer.content\">\n <ajf-widget *ngIf=\"instance.visible\" [instance]=\"instance\"></ajf-widget>\n </ng-template>\n </div>\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 {AjfChartModule} from '@ajf/core/chart';\nimport {AjfCommonModule} from '@ajf/core/common';\nimport {AjfMapModule} from '@ajf/core/map';\nimport {AjfPageBreakModule} from '@ajf/core/page-break';\nimport {AjfReportsModule as CoreModule} from '@ajf/core/reports';\nimport {AjfTableModule} from '@ajf/core/table';\nimport {AjfTextModule} from '@ajf/core/text';\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {AjfImageModule} from '@ajf/material/image';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {AjfChartWidgetComponent} from './chart-widget';\nimport {AjfFormulaWidgetComponent} from './formula-widget';\nimport {AjfImageContainerWidgetComponent} from './image-container-widget';\nimport {AjfImageWidgetComponent} from './image-widget';\nimport {AjfMapWidgetComponent} from './map-widget';\nimport {AjfPageBreakWidgetComponent} from './page-break-widget';\nimport {AjfReportRenderer} from './report';\nimport {AjfTableWidgetComponent} from './table-widget';\nimport {AjfTextWidgetComponent} from './text-widget';\nimport {AjfColumnWidgetComponent, AjfLayoutWidgetComponent, AjfReportWidget} from './widget';\n\n@NgModule({\n imports: [\n AjfChartModule,\n AjfCommonModule,\n AjfImageModule,\n AjfMapModule,\n AjfPageBreakModule,\n AjfTableModule,\n AjfTextModule,\n CommonModule,\n CoreModule,\n AjfTranslocoModule,\n ],\n declarations: [\n AjfChartWidgetComponent,\n AjfColumnWidgetComponent,\n AjfFormulaWidgetComponent,\n AjfImageContainerWidgetComponent,\n AjfImageWidgetComponent,\n AjfLayoutWidgetComponent,\n AjfMapWidgetComponent,\n AjfPageBreakWidgetComponent,\n AjfReportRenderer,\n AjfReportWidget,\n AjfTableWidgetComponent,\n AjfTextWidgetComponent,\n ],\n exports: [AjfReportRenderer, AjfReportWidget],\n})\nexport class AjfReportsModule {}\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 './chart-widget';\nexport * from './formula-widget';\nexport * from './image-container-widget';\nexport * from './image-widget';\nexport * from './map-widget';\nexport * from './page-break-widget';\nexport * from './report';\nexport * from './reports-module';\nexport * from './table-widget';\nexport * from './text-widget';\nexport * from './widget';\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":["wt","CoreService","CoreComponent","AjfCoreReportRenderer","CoreModule"],"mappings":"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"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { forwardRef, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import * as i3 from '@angular/forms';
|
|
4
|
+
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
5
|
+
import * as i1 from '@angular/material/form-field';
|
|
6
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
+
import * as i2 from '@angular/material/input';
|
|
8
|
+
import { MatInputModule } from '@angular/material/input';
|
|
9
|
+
import { AjfTime as AjfTime$1 } from '@ajf/core/time';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @license
|
|
13
|
+
* Copyright (C) Gnucoop soc. coop.
|
|
14
|
+
*
|
|
15
|
+
* This file is part of the Advanced JSON forms (ajf).
|
|
16
|
+
*
|
|
17
|
+
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
18
|
+
* modify it under the terms of the GNU Affero General Public License as
|
|
19
|
+
* published by the Free Software Foundation, either version 3 of the License,
|
|
20
|
+
* or (at your option) any later version.
|
|
21
|
+
*
|
|
22
|
+
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
23
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
24
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
25
|
+
* General Public License for more details.
|
|
26
|
+
*
|
|
27
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
28
|
+
* along with Advanced JSON forms (ajf).
|
|
29
|
+
* If not, see http://www.gnu.org/licenses/.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
const AJF_TIME_CONTROL_VALUE_ACCESSOR = {
|
|
33
|
+
provide: NG_VALUE_ACCESSOR,
|
|
34
|
+
useExisting: forwardRef(() => AjfTime),
|
|
35
|
+
multi: true,
|
|
36
|
+
};
|
|
37
|
+
class AjfTime extends AjfTime$1 {
|
|
38
|
+
constructor() {
|
|
39
|
+
super();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
AjfTime.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfTime, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
AjfTime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: AjfTime, selector: "ajf-time", providers: [AJF_TIME_CONTROL_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "<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", styles: ["ajf-time .mat-form-field{width:1.5em;text-align:center}\n"], components: [{ type: i1.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }], directives: [{ type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i3.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { type: i3.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { type: i3.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfTime, decorators: [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'ajf-time', providers: [AJF_TIME_CONTROL_VALUE_ACCESSOR], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<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", styles: ["ajf-time .mat-form-field{width:1.5em;text-align:center}\n"] }]
|
|
47
|
+
}], ctorParameters: function () { return []; } });
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @license
|
|
51
|
+
* Copyright (C) Gnucoop soc. coop.
|
|
52
|
+
*
|
|
53
|
+
* This file is part of the Advanced JSON forms (ajf).
|
|
54
|
+
*
|
|
55
|
+
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
56
|
+
* modify it under the terms of the GNU Affero General Public License as
|
|
57
|
+
* published by the Free Software Foundation, either version 3 of the License,
|
|
58
|
+
* or (at your option) any later version.
|
|
59
|
+
*
|
|
60
|
+
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
61
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
62
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
63
|
+
* General Public License for more details.
|
|
64
|
+
*
|
|
65
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
66
|
+
* along with Advanced JSON forms (ajf).
|
|
67
|
+
* If not, see http://www.gnu.org/licenses/.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
class AjfTimeModule {
|
|
71
|
+
}
|
|
72
|
+
AjfTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
73
|
+
AjfTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfTimeModule, declarations: [AjfTime], imports: [FormsModule, MatFormFieldModule, MatInputModule], exports: [AjfTime] });
|
|
74
|
+
AjfTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfTimeModule, imports: [[FormsModule, MatFormFieldModule, MatInputModule]] });
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: AjfTimeModule, decorators: [{
|
|
76
|
+
type: NgModule,
|
|
77
|
+
args: [{
|
|
78
|
+
imports: [FormsModule, MatFormFieldModule, MatInputModule],
|
|
79
|
+
declarations: [AjfTime],
|
|
80
|
+
exports: [AjfTime],
|
|
81
|
+
}]
|
|
82
|
+
}] });
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @license
|
|
86
|
+
* Copyright (C) Gnucoop soc. coop.
|
|
87
|
+
*
|
|
88
|
+
* This file is part of the Advanced JSON forms (ajf).
|
|
89
|
+
*
|
|
90
|
+
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
91
|
+
* modify it under the terms of the GNU Affero General Public License as
|
|
92
|
+
* published by the Free Software Foundation, either version 3 of the License,
|
|
93
|
+
* or (at your option) any later version.
|
|
94
|
+
*
|
|
95
|
+
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
96
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
97
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
98
|
+
* General Public License for more details.
|
|
99
|
+
*
|
|
100
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
101
|
+
* along with Advanced JSON forms (ajf).
|
|
102
|
+
* If not, see http://www.gnu.org/licenses/.
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @license
|
|
108
|
+
* Copyright (C) Gnucoop soc. coop.
|
|
109
|
+
*
|
|
110
|
+
* This file is part of the Advanced JSON forms (ajf).
|
|
111
|
+
*
|
|
112
|
+
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
113
|
+
* modify it under the terms of the GNU Affero General Public License as
|
|
114
|
+
* published by the Free Software Foundation, either version 3 of the License,
|
|
115
|
+
* or (at your option) any later version.
|
|
116
|
+
*
|
|
117
|
+
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
118
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
119
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
120
|
+
* General Public License for more details.
|
|
121
|
+
*
|
|
122
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
123
|
+
* along with Advanced JSON forms (ajf).
|
|
124
|
+
* If not, see http://www.gnu.org/licenses/.
|
|
125
|
+
*
|
|
126
|
+
*/
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Generated bundle index. Do not edit.
|
|
130
|
+
*/
|
|
131
|
+
|
|
132
|
+
export { AJF_TIME_CONTROL_VALUE_ACCESSOR, AjfTime, AjfTimeModule };
|
|
133
|
+
//# sourceMappingURL=time.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time.mjs","sources":["../../../../../../src/material/time/time.ts","../../../../../../src/material/time/time.html","../../../../../../src/material/time/time-module.ts","../../../../../../src/material/time/public-api.ts","../../../../../../src/material/time/index.ts","../../../../../../src/material/time/time_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 {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.css'],\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 * @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":["Base"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;MAgCa,+BAA+B,GAAQ;IAClD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,MAAM,OAAO,CAAC;IACtC,KAAK,EAAE,IAAI;EACX;MAUW,OAAQ,SAAQA,SAAI;IAC/B;QACE,KAAK,EAAE,CAAC;KACT;;yGAHU,OAAO;6FAAP,OAAO,mCAJP,CAAC,+BAA+B,CAAC,iDC1C9C,8aAqBA;gGDyBa,OAAO;kBARnB,SAAS;+BACE,UAAU,aAGT,CAAC,+BAA+B,CAAC,iBAC7B,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM;;;AE5CjD;;;;;;;;;;;;;;;;;;;;;MAkCa,aAAa;;+GAAb,aAAa;gHAAb,aAAa,iBAHT,OAAO,aADZ,WAAW,EAAE,kBAAkB,EAAE,cAAc,aAE/C,OAAO;gHAEN,aAAa,YAJf,CAAC,WAAW,EAAE,kBAAkB,EAAE,cAAc,CAAC;gGAI/C,aAAa;kBALzB,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,WAAW,EAAE,kBAAkB,EAAE,cAAc,CAAC;oBAC1D,YAAY,EAAE,CAAC,OAAO,CAAC;oBACvB,OAAO,EAAE,CAAC,OAAO,CAAC;iBACnB;;;ACjCD;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
23
|
+
import * as i0 from "@angular/core";
|
|
23
24
|
export declare class AjfFbBranchLine {
|
|
24
25
|
private _el;
|
|
25
26
|
private _renderer;
|
|
@@ -33,4 +34,6 @@ export declare class AjfFbBranchLine {
|
|
|
33
34
|
private _updateHeight;
|
|
34
35
|
private _updateOffset;
|
|
35
36
|
private _updateColor;
|
|
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>;
|
|
36
39
|
}
|
|
@@ -23,6 +23,7 @@ import { AjfChoicesOrigin } from '@ajf/core/forms';
|
|
|
23
23
|
import { Observable } from 'rxjs';
|
|
24
24
|
import { AjfFbChoicesOriginEditor } from './choices-origin-editor';
|
|
25
25
|
import { AjfFormBuilderService } from './form-builder-service';
|
|
26
|
+
import * as i0 from "@angular/core";
|
|
26
27
|
export declare class AjfFbChoicesOriginEditorDialog {
|
|
27
28
|
private _service;
|
|
28
29
|
editor: AjfFbChoicesOriginEditor;
|
|
@@ -31,4 +32,6 @@ export declare class AjfFbChoicesOriginEditorDialog {
|
|
|
31
32
|
constructor(_service: AjfFormBuilderService);
|
|
32
33
|
saveChoicesOrigin(): void;
|
|
33
34
|
cancelChoicesOriginEdit(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbChoicesOriginEditorDialog, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbChoicesOriginEditorDialog, "ajf-fb-choices-origin-editor-dialog", never, {}, {}, never, never>;
|
|
34
37
|
}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
import { AjfChoicesOrigin } from '@ajf/core/forms';
|
|
23
23
|
import { ChoicesOriginChoiceEntry, ChoicesOriginDataSource } from './choices-origin-data-source';
|
|
24
|
+
import * as i0 from "@angular/core";
|
|
24
25
|
export declare class AjfFbChoicesOriginEditor {
|
|
25
26
|
private _displayedColumns;
|
|
26
27
|
get displayedColumns(): string[];
|
|
@@ -40,4 +41,6 @@ export declare class AjfFbChoicesOriginEditor {
|
|
|
40
41
|
updateValue(evt: any, cell: string, _value: any, rowIdx: number): void;
|
|
41
42
|
deleteRow(rowIdx: number): void;
|
|
42
43
|
addRow(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbChoicesOriginEditor, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbChoicesOriginEditor, "ajf-fb-choices-origin-editor", never, { "choicesOrigin": "choicesOrigin"; }, {}, never, never>;
|
|
43
46
|
}
|
|
@@ -24,6 +24,7 @@ import { MatDialogRef } from '@angular/material/dialog';
|
|
|
24
24
|
import { Observable } from 'rxjs';
|
|
25
25
|
import { AjfFbConditionEditor } from './condition-editor';
|
|
26
26
|
import { AjfFormBuilderService } from './form-builder-service';
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
27
28
|
export declare class AjfFbConditionEditorDialog {
|
|
28
29
|
dialogRef: MatDialogRef<AjfFbConditionEditorDialog>;
|
|
29
30
|
editor: AjfFbConditionEditor;
|
|
@@ -32,4 +33,6 @@ export declare class AjfFbConditionEditorDialog {
|
|
|
32
33
|
condition: string;
|
|
33
34
|
constructor(service: AjfFormBuilderService, dialogRef: MatDialogRef<AjfFbConditionEditorDialog>);
|
|
34
35
|
saveCondition(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbConditionEditorDialog, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbConditionEditorDialog, "ajf-condition-editor-dialog", never, {}, {}, never, never>;
|
|
35
38
|
}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
import { AjfField, AjfValidationService } from '@ajf/core/forms';
|
|
23
23
|
import { AjfMonacoEditor } from '@ajf/material/monaco-editor';
|
|
24
|
+
import * as i0 from "@angular/core";
|
|
24
25
|
export declare class AjfFbConditionEditor {
|
|
25
26
|
monacoEditor: AjfMonacoEditor;
|
|
26
27
|
private _fields;
|
|
@@ -34,4 +35,6 @@ export declare class AjfFbConditionEditor {
|
|
|
34
35
|
private _updateVariables;
|
|
35
36
|
private _updateFunctions;
|
|
36
37
|
private _fieldVarType;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbConditionEditor, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbConditionEditor, "ajf-condition-editor", never, { "fields": "fields"; "condition": "condition"; }, {}, never, never>;
|
|
37
40
|
}
|
|
@@ -1,23 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./branch-line";
|
|
3
|
+
import * as i2 from "./choices-origin-editor";
|
|
4
|
+
import * as i3 from "./choices-origin-editor-dialog";
|
|
5
|
+
import * as i4 from "./condition-editor";
|
|
6
|
+
import * as i5 from "./condition-editor-dialog";
|
|
7
|
+
import * as i6 from "./node-entry";
|
|
8
|
+
import * as i7 from "./node-properties";
|
|
9
|
+
import * as i8 from "./node-type-entry";
|
|
10
|
+
import * as i9 from "./string-identifier-dialog";
|
|
11
|
+
import * as i10 from "./validation-condition-editor-dialog";
|
|
12
|
+
import * as i11 from "./warning-condition-editor-dialog";
|
|
13
|
+
import * as i12 from "./form-builder";
|
|
14
|
+
import * as i13 from "@ajf/material/monaco-editor";
|
|
15
|
+
import * as i14 from "@ajf/material/node-icon";
|
|
16
|
+
import * as i15 from "@angular/common";
|
|
17
|
+
import * as i16 from "@angular/cdk/drag-drop";
|
|
18
|
+
import * as i17 from "@angular/forms";
|
|
19
|
+
import * as i18 from "@angular/material/autocomplete";
|
|
20
|
+
import * as i19 from "@angular/material/button";
|
|
21
|
+
import * as i20 from "@angular/material/card";
|
|
22
|
+
import * as i21 from "@angular/material/checkbox";
|
|
23
|
+
import * as i22 from "@angular/material/chips";
|
|
24
|
+
import * as i23 from "@angular/material/dialog";
|
|
25
|
+
import * as i24 from "@angular/material/form-field";
|
|
26
|
+
import * as i25 from "@angular/material/icon";
|
|
27
|
+
import * as i26 from "@angular/material/input";
|
|
28
|
+
import * as i27 from "@angular/material/list";
|
|
29
|
+
import * as i28 from "@angular/material/menu";
|
|
30
|
+
import * as i29 from "@angular/material/select";
|
|
31
|
+
import * as i30 from "@angular/material/sidenav";
|
|
32
|
+
import * as i31 from "@angular/material/slider";
|
|
33
|
+
import * as i32 from "@angular/material/table";
|
|
34
|
+
import * as i33 from "@angular/material/toolbar";
|
|
35
|
+
import * as i34 from "@angular/material/tooltip";
|
|
36
|
+
import * as i35 from "@ajf/core/transloco";
|
|
37
|
+
import * as i36 from "@angular/material/expansion";
|
|
38
|
+
import * as i37 from "@angular/material/slide-toggle";
|
|
22
39
|
export declare class AjfFormBuilderModule {
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFormBuilderModule, never>;
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AjfFormBuilderModule, [typeof i1.AjfFbBranchLine, typeof i2.AjfFbChoicesOriginEditor, typeof i3.AjfFbChoicesOriginEditorDialog, typeof i4.AjfFbConditionEditor, typeof i5.AjfFbConditionEditorDialog, typeof i6.AjfFbNodeEntry, typeof i7.AjfFbNodeProperties, typeof i8.AjfFbNodeTypeEntry, typeof i9.AjfFbStringIdentifierDialogComponent, typeof i10.AjfFbValidationConditionEditorDialog, typeof i11.AjfFbWarningConditionEditorDialog, typeof i12.AjfFormBuilder], [typeof i13.AjfMonacoEditorModule, typeof i14.AjfNodeIconModule, typeof i15.CommonModule, typeof i16.DragDropModule, typeof i17.FormsModule, typeof i18.MatAutocompleteModule, typeof i19.MatButtonModule, typeof i20.MatCardModule, typeof i21.MatCheckboxModule, typeof i22.MatChipsModule, typeof i23.MatDialogModule, typeof i24.MatFormFieldModule, typeof i25.MatIconModule, typeof i26.MatInputModule, typeof i27.MatListModule, typeof i28.MatMenuModule, typeof i29.MatSelectModule, typeof i30.MatSidenavModule, typeof i31.MatSliderModule, typeof i32.MatTableModule, typeof i33.MatToolbarModule, typeof i34.MatTooltipModule, typeof i17.ReactiveFormsModule, typeof i35.AjfTranslocoModule, typeof i36.MatExpansionModule, typeof i37.MatSlideToggleModule], [typeof i12.AjfFormBuilder]>;
|
|
42
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AjfFormBuilderModule>;
|
|
23
43
|
}
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
import { AjfAttachmentsOrigin, AjfChoicesOrigin, AjfField, AjfFieldType, AjfForm, AjfFormStringIdentifier, AjfNode, AjfNodeGroup, AjfNodeType, AjfRepeatingSlide, AjfSlide } from '@ajf/core/forms';
|
|
23
23
|
import { AjfCondition } from '@ajf/core/models';
|
|
24
24
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
25
|
+
import * as i0 from "@angular/core";
|
|
25
26
|
export interface AjfFormBuilderNodeTypeEntry {
|
|
26
27
|
label: string;
|
|
27
28
|
icon: {
|
|
@@ -188,4 +189,6 @@ export declare class AjfFormBuilderService {
|
|
|
188
189
|
* @param nodesList The list of nodes to be updated.
|
|
189
190
|
*/
|
|
190
191
|
private _updateNodesList;
|
|
192
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFormBuilderService, never>;
|
|
193
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AjfFormBuilderService>;
|
|
191
194
|
}
|
|
@@ -26,6 +26,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
26
26
|
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
27
27
|
import { Observable } from 'rxjs';
|
|
28
28
|
import { AjfFormBuilderNodeEntry, AjfFormBuilderNodeTypeEntry, AjfFormBuilderService } from './form-builder-service';
|
|
29
|
+
import * as i0 from "@angular/core";
|
|
29
30
|
export declare class AjfFormBuilder implements AfterViewChecked, AfterContentInit, OnDestroy {
|
|
30
31
|
private _service;
|
|
31
32
|
private _dialog;
|
|
@@ -75,4 +76,6 @@ export declare class AjfFormBuilder implements AfterViewChecked, AfterContentIni
|
|
|
75
76
|
collapseAll(): void;
|
|
76
77
|
expandToggle(evt: MatSlideToggleChange): void;
|
|
77
78
|
private _setCurrentForm;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFormBuilder, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFormBuilder, "ajf-form-builder", never, { "form": "form"; }, {}, never, never>;
|
|
78
81
|
}
|
package/form-builder/index.d.ts
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
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
|
+
*
|
|
3
21
|
*/
|
|
4
22
|
export * from './public-api';
|
|
5
|
-
export { AjfFbBranchLine as ɵgc_ajf_src_material_form_builder_form_builder_a } from './branch-line';
|
|
6
|
-
export { AjfFbChoicesOriginEditor as ɵgc_ajf_src_material_form_builder_form_builder_b } from './choices-origin-editor';
|
|
7
|
-
export { AjfFbChoicesOriginEditorDialog as ɵgc_ajf_src_material_form_builder_form_builder_c } from './choices-origin-editor-dialog';
|
|
8
|
-
export { AjfFbConditionEditor as ɵgc_ajf_src_material_form_builder_form_builder_d } from './condition-editor';
|
|
9
|
-
export { AjfFbConditionEditorDialog as ɵgc_ajf_src_material_form_builder_form_builder_e } from './condition-editor-dialog';
|
|
10
|
-
export { AjfFbNodeEntry as ɵgc_ajf_src_material_form_builder_form_builder_f } from './node-entry';
|
|
11
|
-
export { AjfFbNodeProperties as ɵgc_ajf_src_material_form_builder_form_builder_g } from './node-properties';
|
|
12
|
-
export { AjfFbNodeTypeEntry as ɵgc_ajf_src_material_form_builder_form_builder_h } from './node-type-entry';
|
|
13
|
-
export { AjfFbStringIdentifierDialogComponent as ɵgc_ajf_src_material_form_builder_form_builder_i } from './string-identifier-dialog';
|
|
14
|
-
export { AjfFbValidationConditionEditorDialog as ɵgc_ajf_src_material_form_builder_form_builder_j } from './validation-condition-editor-dialog';
|
|
15
|
-
export { AjfFbWarningConditionEditorDialog as ɵgc_ajf_src_material_form_builder_form_builder_k } from './warning-condition-editor-dialog';
|
|
@@ -25,6 +25,7 @@ import { AfterViewInit, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
|
|
25
25
|
import { Observable } from 'rxjs';
|
|
26
26
|
import { AjfFbBranchLine } from './branch-line';
|
|
27
27
|
import { AjfFormBuilderNode, AjfFormBuilderNodeEntry, AjfFormBuilderNodeTypeEntry, AjfFormBuilderService } from './form-builder-service';
|
|
28
|
+
import * as i0 from "@angular/core";
|
|
28
29
|
export declare class AjfFbNodeEntry implements AfterViewInit, OnDestroy {
|
|
29
30
|
private _service;
|
|
30
31
|
branchLines: QueryList<AjfFbBranchLine>;
|
|
@@ -90,4 +91,6 @@ export declare class AjfFbNodeEntry implements AfterViewInit, OnDestroy {
|
|
|
90
91
|
disableFieldDrop(item: CdkDrag<AjfFormBuilderNodeTypeEntry>): boolean;
|
|
91
92
|
emptyAreaDropPredicate(): (item: CdkDrag, _drop: CdkDropList) => boolean;
|
|
92
93
|
private _updateBranchHeights;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbNodeEntry, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbNodeEntry, "ajf-fb-node-entry", never, { "isFirst": "isFirst"; "isExpanded": "isExpanded"; "nodeEntry": "nodeEntry"; "level": "level"; "isDraggable": "isDraggable"; "originOffset": "originOffset"; "firstBranchColor": "firstBranchColor"; }, {}, never, never>;
|
|
93
96
|
}
|
|
@@ -25,6 +25,7 @@ import { FormBuilder, FormGroup } from '@angular/forms';
|
|
|
25
25
|
import { MatDialog } from '@angular/material/dialog';
|
|
26
26
|
import { Observable } from 'rxjs';
|
|
27
27
|
import { AjfFormBuilderNodeEntry, AjfFormBuilderService } from './form-builder-service';
|
|
28
|
+
import * as i0 from "@angular/core";
|
|
28
29
|
export interface ValidationCondition {
|
|
29
30
|
condition: string;
|
|
30
31
|
errorMessage: string;
|
|
@@ -181,4 +182,6 @@ export declare class AjfFbNodeProperties implements OnDestroy {
|
|
|
181
182
|
private _handleConditionalBranchesChange;
|
|
182
183
|
private _handleVisibilityChange;
|
|
183
184
|
private _guessVisibilityOpt;
|
|
185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbNodeProperties, never>;
|
|
186
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbNodeProperties, "ajf-fb-node-properties", never, {}, {}, never, never>;
|
|
184
187
|
}
|
|
@@ -21,10 +21,13 @@
|
|
|
21
21
|
*/
|
|
22
22
|
import { ChangeDetectorRef } from '@angular/core';
|
|
23
23
|
import { AjfFormBuilderNodeTypeEntry } from './form-builder-service';
|
|
24
|
+
import * as i0 from "@angular/core";
|
|
24
25
|
export declare class AjfFbNodeTypeEntry {
|
|
25
26
|
private _cdr;
|
|
26
27
|
private _nodeType;
|
|
27
28
|
get nodeType(): AjfFormBuilderNodeTypeEntry;
|
|
28
29
|
set nodeType(nodeType: AjfFormBuilderNodeTypeEntry);
|
|
29
30
|
constructor(_cdr: ChangeDetectorRef);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbNodeTypeEntry, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbNodeTypeEntry, "ajf-fb-node-type-entry", never, { "nodeType": "nodeType"; }, {}, never, never>;
|
|
30
33
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ajf/material/form-builder",
|
|
3
|
-
"
|
|
4
|
-
"fesm2015": "../fesm2015/form-builder.
|
|
5
|
-
"
|
|
6
|
-
"typings": "./
|
|
7
|
-
"module": "../fesm2015/form-builder.
|
|
8
|
-
"
|
|
3
|
+
"fesm2020": "../fesm2020/form-builder.mjs",
|
|
4
|
+
"fesm2015": "../fesm2015/form-builder.mjs",
|
|
5
|
+
"esm2020": "../esm2020/form-builder/form-builder_public_index.mjs",
|
|
6
|
+
"typings": "./form-builder_public_index.d.ts",
|
|
7
|
+
"module": "../fesm2015/form-builder.mjs",
|
|
8
|
+
"es2020": "../fesm2020/form-builder.mjs"
|
|
9
9
|
}
|
|
@@ -26,6 +26,7 @@ import { MatChipInputEvent } from '@angular/material/chips';
|
|
|
26
26
|
import { MatTableDataSource } from '@angular/material/table';
|
|
27
27
|
import { Observable } from 'rxjs';
|
|
28
28
|
import { AjfFormBuilderService } from './form-builder-service';
|
|
29
|
+
import * as i0 from "@angular/core";
|
|
29
30
|
export declare class AjfFbStringIdentifierDialogComponent implements OnDestroy {
|
|
30
31
|
private _service;
|
|
31
32
|
private _cdr;
|
|
@@ -42,4 +43,6 @@ export declare class AjfFbStringIdentifierDialogComponent implements OnDestroy {
|
|
|
42
43
|
ngOnDestroy(): void;
|
|
43
44
|
saveStringIdentifier(): void;
|
|
44
45
|
selected(row: AjfFormStringIdentifier, evt: MatAutocompleteSelectedEvent): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbStringIdentifierDialogComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbStringIdentifierDialogComponent, "ajf-fb-string-identifier-dialog", never, {}, {}, never, never>;
|
|
45
48
|
}
|
|
@@ -24,6 +24,7 @@ import { MatDialogRef } from '@angular/material/dialog';
|
|
|
24
24
|
import { Observable } from 'rxjs';
|
|
25
25
|
import { AjfFbConditionEditor } from './condition-editor';
|
|
26
26
|
import { AjfFormBuilderService } from './form-builder-service';
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
27
28
|
export declare class AjfFbValidationConditionEditorDialog {
|
|
28
29
|
dialogRef: MatDialogRef<AjfFbValidationConditionEditorDialog>;
|
|
29
30
|
editor: AjfFbConditionEditor;
|
|
@@ -33,4 +34,6 @@ export declare class AjfFbValidationConditionEditorDialog {
|
|
|
33
34
|
errorMessage: string;
|
|
34
35
|
constructor(service: AjfFormBuilderService, dialogRef: MatDialogRef<AjfFbValidationConditionEditorDialog>);
|
|
35
36
|
saveCondition(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbValidationConditionEditorDialog, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbValidationConditionEditorDialog, "ajf-fb-validation-condition-editor-dialog", never, {}, {}, never, never>;
|
|
36
39
|
}
|
|
@@ -24,6 +24,7 @@ import { MatDialogRef } from '@angular/material/dialog';
|
|
|
24
24
|
import { Observable } from 'rxjs';
|
|
25
25
|
import { AjfFbConditionEditor } from './condition-editor';
|
|
26
26
|
import { AjfFormBuilderService } from './form-builder-service';
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
27
28
|
export declare class AjfFbWarningConditionEditorDialog {
|
|
28
29
|
dialogRef: MatDialogRef<AjfFbWarningConditionEditorDialog>;
|
|
29
30
|
editor: AjfFbConditionEditor;
|
|
@@ -33,4 +34,6 @@ export declare class AjfFbWarningConditionEditorDialog {
|
|
|
33
34
|
warningMessage: string;
|
|
34
35
|
constructor(service: AjfFormBuilderService, dialogRef: MatDialogRef<AjfFbWarningConditionEditorDialog>);
|
|
35
36
|
saveCondition(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFbWarningConditionEditorDialog, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfFbWarningConditionEditorDialog, "ajf-fb-warning-condition-editor-dialog", never, {}, {}, never, never>;
|
|
36
39
|
}
|
package/forms/barcode-field.d.ts
CHANGED
|
@@ -22,6 +22,9 @@
|
|
|
22
22
|
import { AjfBaseFieldComponent, AjfFormRendererService } from '@ajf/core/forms';
|
|
23
23
|
import { ChangeDetectorRef } from '@angular/core';
|
|
24
24
|
import { AjfWarningAlertService } from './warning-alert-service';
|
|
25
|
+
import * as i0 from "@angular/core";
|
|
25
26
|
export declare class AjfBarcodeFieldComponent extends AjfBaseFieldComponent {
|
|
26
27
|
constructor(cdr: ChangeDetectorRef, service: AjfFormRendererService, was: AjfWarningAlertService);
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfBarcodeFieldComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfBarcodeFieldComponent, "ng-component", never, {}, {}, never, never>;
|
|
27
30
|
}
|
package/forms/boolean-field.d.ts
CHANGED
|
@@ -22,6 +22,9 @@
|
|
|
22
22
|
import { AjfBaseFieldComponent, AjfFormRendererService } from '@ajf/core/forms';
|
|
23
23
|
import { ChangeDetectorRef } from '@angular/core';
|
|
24
24
|
import { AjfWarningAlertService } from './warning-alert-service';
|
|
25
|
+
import * as i0 from "@angular/core";
|
|
25
26
|
export declare class AjfBooleanFieldComponent extends AjfBaseFieldComponent {
|
|
26
27
|
constructor(cdr: ChangeDetectorRef, service: AjfFormRendererService, was: AjfWarningAlertService);
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfBooleanFieldComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfBooleanFieldComponent, "ng-component", never, {}, {}, never, never>;
|
|
27
30
|
}
|
package/forms/date-field.d.ts
CHANGED
|
@@ -22,6 +22,9 @@
|
|
|
22
22
|
import { AjfBaseFieldComponent, AjfDateFieldInstance, AjfFormRendererService } from '@ajf/core/forms';
|
|
23
23
|
import { ChangeDetectorRef } from '@angular/core';
|
|
24
24
|
import { AjfWarningAlertService } from './warning-alert-service';
|
|
25
|
+
import * as i0 from "@angular/core";
|
|
25
26
|
export declare class AjfDateFieldComponent extends AjfBaseFieldComponent<AjfDateFieldInstance> {
|
|
26
27
|
constructor(cdr: ChangeDetectorRef, service: AjfFormRendererService, was: AjfWarningAlertService);
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AjfDateFieldComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AjfDateFieldComponent, "ng-component", never, {}, {}, never, never>;
|
|
27
30
|
}
|