@ajf/material 13.0.0 → 13.1.0-fc095cdf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -5
- package/ajf-material-v13.1.0-fc095cdf.tgz +0 -0
- package/ajf-material.d.ts +5 -0
- package/barcode/ajf-material-barcode.d.ts +5 -0
- package/barcode/barcode-module.d.ts +0 -0
- package/barcode/barcode.d.ts +0 -0
- package/barcode/package.json +8 -7
- package/barcode/{public-api.d.ts → public_api.d.ts} +0 -0
- package/calendar/ajf-material-calendar.d.ts +5 -0
- package/calendar/calendar-module.d.ts +0 -0
- package/calendar/calendar.d.ts +1 -1
- package/calendar/package.json +8 -7
- package/calendar/{public-api.d.ts → public_api.d.ts} +0 -0
- package/checkbox-group/ajf-material-checkbox-group.d.ts +5 -0
- package/checkbox-group/checkbox-group-item.d.ts +0 -0
- package/checkbox-group/checkbox-group-module.d.ts +0 -0
- package/checkbox-group/package.json +8 -7
- package/checkbox-group/{public-api.d.ts → public_api.d.ts} +0 -0
- package/esm2020/ajf-material.mjs +5 -0
- package/esm2020/barcode/ajf-material-barcode.mjs +5 -0
- package/esm2020/barcode/barcode-module.mjs +5 -5
- package/esm2020/barcode/barcode.mjs +6 -6
- package/esm2020/barcode/public_api.mjs +24 -0
- package/esm2020/calendar/ajf-material-calendar.mjs +5 -0
- package/esm2020/calendar/calendar-module.mjs +5 -5
- package/esm2020/calendar/calendar.mjs +7 -7
- package/esm2020/{page-slider/public-api.mjs → calendar/public_api.mjs} +3 -3
- package/esm2020/checkbox-group/ajf-material-checkbox-group.mjs +5 -0
- package/esm2020/checkbox-group/checkbox-group-item.mjs +6 -6
- package/esm2020/checkbox-group/checkbox-group-module.mjs +5 -5
- package/esm2020/{time/index.mjs → checkbox-group/public_api.mjs} +3 -2
- package/esm2020/form-builder/ajf-material-form-builder.mjs +5 -0
- package/esm2020/form-builder/branch-line.mjs +6 -5
- package/esm2020/form-builder/choices-origin-data-source.mjs +1 -1
- package/esm2020/form-builder/choices-origin-editor-dialog.mjs +5 -6
- package/esm2020/form-builder/choices-origin-editor.mjs +19 -8
- package/esm2020/form-builder/condition-editor-dialog.mjs +5 -6
- package/esm2020/form-builder/condition-editor.mjs +10 -6
- package/esm2020/form-builder/form-builder-module.mjs +5 -5
- package/esm2020/form-builder/form-builder-service.mjs +12 -5
- package/esm2020/form-builder/form-builder-utils.mjs +1 -1
- package/esm2020/form-builder/form-builder.mjs +12 -7
- package/esm2020/form-builder/node-entry.mjs +9 -7
- package/esm2020/form-builder/node-properties.mjs +16 -10
- package/esm2020/form-builder/node-type-entry.mjs +5 -5
- package/esm2020/form-builder/operations.mjs +1 -1
- package/esm2020/{monaco-editor/public-api.mjs → form-builder/public_api.mjs} +5 -3
- package/esm2020/form-builder/string-identifier-dialog.mjs +6 -7
- package/esm2020/form-builder/validation-condition-editor-dialog.mjs +6 -6
- package/esm2020/form-builder/warning-condition-editor-dialog.mjs +6 -6
- package/esm2020/forms/ajf-material-forms.mjs +5 -0
- package/esm2020/forms/barcode-field.mjs +7 -8
- package/esm2020/forms/boolean-field.mjs +7 -8
- package/esm2020/forms/date-field.mjs +7 -8
- package/esm2020/forms/date-input-field.mjs +10 -8
- package/esm2020/forms/empty-field.mjs +11 -11
- package/esm2020/forms/field-service.mjs +4 -4
- package/esm2020/forms/field-warning-dialog.mjs +7 -4
- package/esm2020/forms/field.mjs +6 -7
- package/esm2020/forms/form.mjs +18 -17
- package/esm2020/forms/forms-module.mjs +9 -5
- package/esm2020/forms/input-field.mjs +7 -8
- package/esm2020/forms/multiple-choice-field.mjs +7 -8
- package/esm2020/{barcode/public-api.mjs → forms/public_api.mjs} +16 -3
- package/esm2020/forms/range-field.mjs +7 -8
- package/esm2020/forms/single-choice-field.mjs +7 -8
- package/esm2020/forms/table-field.mjs +7 -8
- package/esm2020/forms/text-field.mjs +7 -8
- package/esm2020/forms/time-field.mjs +7 -8
- package/esm2020/forms/video-url-field.mjs +6 -9
- package/esm2020/forms/warning-alert-service.mjs +4 -5
- package/esm2020/image/ajf-material-image.mjs +5 -0
- package/esm2020/image/image-module.mjs +5 -5
- package/esm2020/image/image.mjs +5 -6
- package/esm2020/{calendar/public-api.mjs → image/public_api.mjs} +3 -3
- package/esm2020/monaco-editor/ajf-material-monaco-editor.mjs +5 -0
- package/esm2020/monaco-editor/auto-complete-item-model.mjs +7 -2
- package/esm2020/monaco-editor/autocomplete-singleton-model.mjs +1 -1
- package/esm2020/monaco-editor/editor-language-model.mjs +1 -1
- package/esm2020/monaco-editor/editor-options-model.mjs +11 -1
- package/esm2020/monaco-editor/editor-scrollbar-options.mjs +1 -1
- package/esm2020/monaco-editor/editor-theme.mjs +1 -1
- package/esm2020/monaco-editor/monaco-editor-module.mjs +5 -5
- package/esm2020/monaco-editor/monaco-editor.mjs +7 -7
- package/esm2020/{reports/layout-widget.mjs → monaco-editor/public_api.mjs} +3 -1
- package/esm2020/node-icon/ajf-material-node-icon.mjs +5 -0
- package/esm2020/node-icon/node-icon-module.mjs +5 -5
- package/esm2020/node-icon/node-icon.mjs +5 -5
- package/esm2020/{form-builder/public-api.mjs → node-icon/public_api.mjs} +3 -5
- package/esm2020/page-slider/ajf-material-page-slider.mjs +5 -0
- package/esm2020/page-slider/page-slider-module.mjs +5 -5
- package/esm2020/page-slider/page-slider.mjs +6 -7
- package/esm2020/page-slider/public_api.mjs +24 -0
- package/esm2020/{form-builder/index.mjs → public-api.mjs} +3 -2
- package/esm2020/reports/ajf-material-reports.mjs +5 -0
- package/esm2020/reports/chart-widget.mjs +7 -6
- package/esm2020/reports/filter-widget.mjs +20 -53
- package/esm2020/reports/formula-widget.mjs +7 -6
- package/esm2020/reports/image-container-widget.mjs +6 -6
- package/esm2020/reports/image-widget.mjs +7 -6
- package/esm2020/reports/map-widget.mjs +7 -6
- package/esm2020/reports/page-break-widget.mjs +6 -6
- package/esm2020/reports/public_api.mjs +34 -0
- package/esm2020/reports/report.mjs +6 -6
- package/esm2020/reports/reports-module.mjs +5 -5
- package/esm2020/reports/table-widget.mjs +7 -6
- package/esm2020/reports/text-widget.mjs +8 -7
- package/esm2020/reports/widget.mjs +17 -18
- package/esm2020/time/ajf-material-time.mjs +5 -0
- package/esm2020/{image/public-api.mjs → time/public_api.mjs} +3 -3
- package/esm2020/time/time-module.mjs +5 -5
- package/esm2020/time/time.mjs +4 -4
- package/fesm2015/{barcode.mjs → ajf-material-barcode.mjs} +9 -31
- package/fesm2015/ajf-material-barcode.mjs.map +1 -0
- package/fesm2015/ajf-material-calendar.mjs +116 -0
- package/fesm2015/ajf-material-calendar.mjs.map +1 -0
- package/fesm2015/{checkbox-group.mjs → ajf-material-checkbox-group.mjs} +9 -31
- package/fesm2015/ajf-material-checkbox-group.mjs.map +1 -0
- package/fesm2015/{form-builder.mjs → ajf-material-form-builder.mjs} +101 -77
- package/fesm2015/ajf-material-form-builder.mjs.map +1 -0
- package/fesm2015/ajf-material-forms.mjs +1000 -0
- package/fesm2015/ajf-material-forms.mjs.map +1 -0
- package/{fesm2020/image.mjs → fesm2015/ajf-material-image.mjs} +8 -30
- package/fesm2015/ajf-material-image.mjs.map +1 -0
- package/fesm2015/{monaco-editor.mjs → ajf-material-monaco-editor.mjs} +26 -31
- package/fesm2015/ajf-material-monaco-editor.mjs.map +1 -0
- package/{fesm2020/node-icon.mjs → fesm2015/ajf-material-node-icon.mjs} +9 -31
- package/fesm2015/ajf-material-node-icon.mjs.map +1 -0
- package/fesm2015/{page-slider.mjs → ajf-material-page-slider.mjs} +9 -31
- package/fesm2015/ajf-material-page-slider.mjs.map +1 -0
- package/{fesm2020/reports.mjs → fesm2015/ajf-material-reports.mjs} +81 -134
- package/fesm2015/ajf-material-reports.mjs.map +1 -0
- package/fesm2015/{time.mjs → ajf-material-time.mjs} +8 -30
- package/fesm2015/ajf-material-time.mjs.map +1 -0
- package/{calendar/index.d.ts → fesm2015/ajf-material.mjs} +7 -1
- package/fesm2015/ajf-material.mjs.map +1 -0
- package/fesm2020/{barcode.mjs → ajf-material-barcode.mjs} +9 -31
- package/fesm2020/ajf-material-barcode.mjs.map +1 -0
- package/fesm2020/ajf-material-calendar.mjs +116 -0
- package/fesm2020/ajf-material-calendar.mjs.map +1 -0
- package/fesm2020/{checkbox-group.mjs → ajf-material-checkbox-group.mjs} +9 -31
- package/fesm2020/ajf-material-checkbox-group.mjs.map +1 -0
- package/fesm2020/{form-builder.mjs → ajf-material-form-builder.mjs} +101 -77
- package/fesm2020/ajf-material-form-builder.mjs.map +1 -0
- package/fesm2020/ajf-material-forms.mjs +974 -0
- package/fesm2020/ajf-material-forms.mjs.map +1 -0
- package/{fesm2015/image.mjs → fesm2020/ajf-material-image.mjs} +8 -30
- package/fesm2020/ajf-material-image.mjs.map +1 -0
- package/fesm2020/{monaco-editor.mjs → ajf-material-monaco-editor.mjs} +26 -61
- package/fesm2020/ajf-material-monaco-editor.mjs.map +1 -0
- package/{fesm2015/node-icon.mjs → fesm2020/ajf-material-node-icon.mjs} +9 -31
- package/fesm2020/ajf-material-node-icon.mjs.map +1 -0
- package/fesm2020/{page-slider.mjs → ajf-material-page-slider.mjs} +10 -32
- package/fesm2020/ajf-material-page-slider.mjs.map +1 -0
- package/{fesm2015/reports.mjs → fesm2020/ajf-material-reports.mjs} +80 -133
- package/fesm2020/ajf-material-reports.mjs.map +1 -0
- package/fesm2020/{time.mjs → ajf-material-time.mjs} +8 -30
- package/fesm2020/ajf-material-time.mjs.map +1 -0
- package/{barcode/index.d.ts → fesm2020/ajf-material.mjs} +7 -1
- package/fesm2020/ajf-material.mjs.map +1 -0
- package/form-builder/ajf-material-form-builder.d.ts +5 -0
- package/form-builder/branch-line.d.ts +0 -0
- package/form-builder/choices-origin-data-source.d.ts +0 -0
- package/form-builder/choices-origin-editor-dialog.d.ts +0 -0
- package/form-builder/choices-origin-editor.d.ts +2 -2
- package/form-builder/condition-editor-dialog.d.ts +0 -0
- package/form-builder/condition-editor.d.ts +0 -0
- package/form-builder/form-builder-module.d.ts +0 -0
- package/form-builder/form-builder-service.d.ts +1 -1
- package/form-builder/form-builder-utils.d.ts +0 -0
- package/form-builder/form-builder.d.ts +2 -2
- package/form-builder/node-entry.d.ts +2 -2
- package/form-builder/node-properties.d.ts +3 -3
- package/form-builder/node-type-entry.d.ts +2 -2
- package/form-builder/operations.d.ts +0 -0
- package/form-builder/package.json +8 -7
- package/form-builder/{public-api.d.ts → public_api.d.ts} +0 -0
- package/form-builder/string-identifier-dialog.d.ts +0 -0
- package/form-builder/validation-condition-editor-dialog.d.ts +0 -0
- package/form-builder/warning-condition-editor-dialog.d.ts +0 -0
- package/forms/ajf-material-forms.d.ts +5 -0
- package/forms/barcode-field.d.ts +0 -0
- package/forms/boolean-field.d.ts +0 -0
- package/forms/date-field.d.ts +0 -0
- package/forms/date-input-field.d.ts +0 -0
- package/forms/empty-field.d.ts +0 -0
- package/forms/field-service.d.ts +0 -0
- package/forms/field-warning-dialog.d.ts +0 -0
- package/forms/field.d.ts +0 -0
- package/forms/form.d.ts +0 -0
- package/forms/forms-module.d.ts +15 -14
- package/forms/input-field.d.ts +0 -0
- package/forms/multiple-choice-field.d.ts +0 -0
- package/forms/package.json +8 -7
- package/forms/{public-api.d.ts → public_api.d.ts} +0 -0
- package/forms/range-field.d.ts +0 -0
- package/forms/single-choice-field.d.ts +0 -0
- package/forms/table-field.d.ts +0 -0
- package/forms/text-field.d.ts +0 -0
- package/forms/time-field.d.ts +0 -0
- package/forms/video-url-field.d.ts +0 -0
- package/forms/warning-alert-service.d.ts +0 -0
- package/image/ajf-material-image.d.ts +5 -0
- package/image/image-module.d.ts +0 -0
- package/image/image.d.ts +0 -0
- package/image/package.json +8 -7
- package/image/{public-api.d.ts → public_api.d.ts} +0 -0
- package/monaco-editor/ajf-material-monaco-editor.d.ts +5 -0
- package/monaco-editor/auto-complete-item-model.d.ts +0 -0
- package/monaco-editor/autocomplete-singleton-model.d.ts +0 -0
- package/monaco-editor/editor-language-model.d.ts +0 -0
- package/monaco-editor/editor-options-model.d.ts +0 -0
- package/monaco-editor/editor-scrollbar-options.d.ts +0 -0
- package/monaco-editor/editor-theme.d.ts +0 -0
- package/monaco-editor/monaco-editor-module.d.ts +0 -0
- package/monaco-editor/monaco-editor.d.ts +0 -0
- package/monaco-editor/package.json +8 -7
- package/monaco-editor/{public-api.d.ts → public_api.d.ts} +0 -0
- package/node-icon/ajf-material-node-icon.d.ts +5 -0
- package/node-icon/node-icon-module.d.ts +0 -0
- package/node-icon/node-icon.d.ts +0 -0
- package/node-icon/package.json +8 -7
- package/node-icon/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +90 -92
- package/page-slider/ajf-material-page-slider.d.ts +5 -0
- package/page-slider/package.json +8 -7
- package/page-slider/page-slider-module.d.ts +0 -0
- package/page-slider/page-slider.d.ts +0 -0
- package/page-slider/{public-api.d.ts → public_api.d.ts} +0 -0
- package/{checkbox-group/index.d.ts → public-api.d.ts} +2 -1
- package/reports/ajf-material-reports.d.ts +5 -0
- package/reports/chart-widget.d.ts +0 -0
- package/reports/filter-widget.d.ts +6 -29
- package/reports/formula-widget.d.ts +0 -0
- package/reports/image-container-widget.d.ts +0 -0
- package/reports/image-widget.d.ts +0 -0
- package/reports/map-widget.d.ts +0 -0
- package/reports/package.json +8 -7
- package/reports/page-break-widget.d.ts +0 -0
- package/reports/{public-api.d.ts → public_api.d.ts} +0 -0
- package/reports/report.d.ts +0 -0
- package/reports/reports-module.d.ts +0 -0
- package/reports/table-widget.d.ts +0 -0
- package/reports/text-widget.d.ts +0 -0
- package/reports/widget.d.ts +0 -0
- package/time/ajf-material-time.d.ts +5 -0
- package/time/package.json +8 -7
- package/time/{public-api.d.ts → public_api.d.ts} +0 -0
- package/time/time-module.d.ts +0 -0
- package/time/time.d.ts +0 -0
- package/LICENSE +0 -661
- package/barcode/_barcode.scss +0 -0
- package/barcode/barcode_public_index.d.ts +0 -4
- package/calendar/_calendar.scss +0 -0
- package/calendar/calendar_public_index.d.ts +0 -4
- package/checkbox-group/_checkbox-group.scss +0 -0
- package/checkbox-group/checkbox-group_public_index.d.ts +0 -4
- package/esm2020/barcode/barcode_public_index.mjs +0 -5
- package/esm2020/barcode/index.mjs +0 -23
- package/esm2020/calendar/calendar_public_index.mjs +0 -5
- package/esm2020/calendar/index.mjs +0 -23
- package/esm2020/checkbox-group/checkbox-group_public_index.mjs +0 -5
- package/esm2020/checkbox-group/index.mjs +0 -23
- package/esm2020/checkbox-group/public-api.mjs +0 -24
- package/esm2020/form-builder/form-builder_public_index.mjs +0 -5
- package/esm2020/forms/forms_public_index.mjs +0 -5
- package/esm2020/forms/index.mjs +0 -23
- package/esm2020/forms/public-api.mjs +0 -37
- package/esm2020/image/image_public_index.mjs +0 -5
- package/esm2020/image/index.mjs +0 -23
- package/esm2020/index.mjs +0 -28
- package/esm2020/monaco-editor/index.mjs +0 -23
- package/esm2020/monaco-editor/monaco-editor_public_index.mjs +0 -5
- package/esm2020/node-icon/index.mjs +0 -23
- package/esm2020/node-icon/node-icon_public_index.mjs +0 -5
- package/esm2020/node-icon/public-api.mjs +0 -24
- package/esm2020/page-slider/index.mjs +0 -23
- package/esm2020/page-slider/page-slider_public_index.mjs +0 -5
- package/esm2020/reports/index.mjs +0 -23
- package/esm2020/reports/public-api.mjs +0 -34
- package/esm2020/reports/reports_public_index.mjs +0 -5
- package/esm2020/time/public-api.mjs +0 -24
- package/esm2020/time/time_public_index.mjs +0 -5
- package/fesm2015/barcode.mjs.map +0 -1
- package/fesm2015/calendar.mjs +0 -138
- package/fesm2015/calendar.mjs.map +0 -1
- package/fesm2015/checkbox-group.mjs.map +0 -1
- package/fesm2015/form-builder.mjs.map +0 -1
- package/fesm2015/forms.mjs +0 -1011
- package/fesm2015/forms.mjs.map +0 -1
- package/fesm2015/image.mjs.map +0 -1
- package/fesm2015/material.mjs +0 -30
- package/fesm2015/material.mjs.map +0 -1
- package/fesm2015/monaco-editor.mjs.map +0 -1
- package/fesm2015/node-icon.mjs.map +0 -1
- package/fesm2015/page-slider.mjs.map +0 -1
- package/fesm2015/reports.mjs.map +0 -1
- package/fesm2015/time.mjs.map +0 -1
- package/fesm2020/barcode.mjs.map +0 -1
- package/fesm2020/calendar.mjs +0 -138
- package/fesm2020/calendar.mjs.map +0 -1
- package/fesm2020/checkbox-group.mjs.map +0 -1
- package/fesm2020/form-builder.mjs.map +0 -1
- package/fesm2020/forms.mjs +0 -985
- package/fesm2020/forms.mjs.map +0 -1
- package/fesm2020/image.mjs.map +0 -1
- package/fesm2020/material.mjs +0 -30
- package/fesm2020/material.mjs.map +0 -1
- package/fesm2020/monaco-editor.mjs.map +0 -1
- package/fesm2020/node-icon.mjs.map +0 -1
- package/fesm2020/page-slider.mjs.map +0 -1
- package/fesm2020/reports.mjs.map +0 -1
- package/fesm2020/time.mjs.map +0 -1
- package/form-builder/_form-builder.scss +0 -0
- package/form-builder/form-builder_public_index.d.ts +0 -4
- package/form-builder/index.d.ts +0 -22
- package/forms/_forms.scss +0 -0
- package/forms/forms_public_index.d.ts +0 -4
- package/forms/index.d.ts +0 -22
- package/image/_image.scss +0 -0
- package/image/image_public_index.d.ts +0 -4
- package/image/index.d.ts +0 -22
- package/index.d.ts +0 -22
- package/monaco-editor/_monaco-editor.scss +0 -0
- package/monaco-editor/index.d.ts +0 -22
- package/monaco-editor/monaco-editor_public_index.d.ts +0 -4
- package/node-icon/_node-icon.scss +0 -0
- package/node-icon/index.d.ts +0 -22
- package/node-icon/node-icon_public_index.d.ts +0 -4
- package/page-slider/_page-slider.scss +0 -0
- package/page-slider/index.d.ts +0 -22
- package/page-slider/page-slider_public_index.d.ts +0 -4
- package/reports/_reports.scss +0 -0
- package/reports/index.d.ts +0 -22
- package/reports/layout-widget.d.ts +0 -21
- package/reports/reports_public_index.d.ts +0 -4
- package/time/_time.scss +0 -0
- package/time/index.d.ts +0 -22
- package/time/time_public_index.d.ts +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ajf-material-monaco-editor.mjs","sources":["../../../projects/material/monaco-editor/src/auto-complete-item-model.ts","../../../projects/material/monaco-editor/src/editor-language-model.ts","../../../projects/material/monaco-editor/src/autocomplete-singleton-model.ts","../../../projects/material/monaco-editor/src/editor-options-model.ts","../../../projects/material/monaco-editor/src/monaco-editor.ts","../../../projects/material/monaco-editor/src/monaco-editor.html","../../../projects/material/monaco-editor/src/monaco-editor-module.ts","../../../projects/material/monaco-editor/src/public_api.ts","../../../projects/material/monaco-editor/src/ajf-material-monaco-editor.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\n/**\n * Representation of AutoCompleteItem\n */\nexport class AutoCompleteItem {\n label: string = '';\n kind: number = 0;\n documentation: string = '';\n insertText: string = '';\n\n constructor() {}\n\n setLabel(label: string): AutoCompleteItem {\n this.label = label;\n return this;\n }\n\n setKind(kind: number): AutoCompleteItem {\n this.kind = kind;\n return this;\n }\n\n setDocumentation(documentation: string): AutoCompleteItem {\n this.documentation = documentation;\n return this;\n }\n\n setInsertText(insertText: string): AutoCompleteItem {\n this.insertText = insertText;\n return this;\n }\n}\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\n/**\n * List of dev language avalaible in Monaco Editor\n */\nexport class IEditorLanguage {\n static readonly BAT = 'bat';\n static readonly C = 'c';\n static readonly CPP = 'cpp';\n static readonly CSHARP = 'csharp';\n static readonly CSS = 'css';\n static readonly DOCKERFILE = 'dockerfile';\n static readonly FSHARP = 'fsharp';\n static readonly GO = 'go';\n static readonly HANDLEBARS = 'handlebars';\n static readonly HTML = 'html';\n static readonly INI = 'ini';\n static readonly JADE = 'jade';\n static readonly JAVASCRIPT = 'javascript';\n static readonly JSON = 'json';\n static readonly LESS = 'less';\n static readonly LUA = 'lua';\n static readonly MARKDOWN = 'markdown';\n static readonly OBJECTIVEC = 'objective-c';\n static readonly PHP = 'php';\n static readonly PLAINTEXT = 'plaintext';\n static readonly POSTIATS = 'postiats';\n static readonly POWERSHELL = 'powershell';\n static readonly PYTHON = 'python';\n static readonly R = 'r';\n static readonly RAZOR = 'razor';\n static readonly RUBY = 'ruby';\n static readonly SCSS = 'scss';\n static readonly SQL = 'sql';\n static readonly SWIFT = 'swift';\n static readonly TYPESCRIPT = 'typescript';\n static readonly VB = 'vb';\n static readonly XML = 'xml';\n static readonly YAML = 'yaml';\n}\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 {AutoCompleteItem} from './auto-complete-item-model';\nimport {IEditorLanguage} from './editor-language-model';\n\ndeclare const monaco: any;\n\n/**\n * Manage the autoCompletion for all instances of the editors\n */\nexport class AutoCompleteSingleton {\n /**\n * We use a singleton, because this class can be call from all the Monaco Editor Components\n */\n static getInstance() {\n if (!AutoCompleteSingleton._instance) {\n AutoCompleteSingleton._instance = new AutoCompleteSingleton();\n }\n return AutoCompleteSingleton._instance;\n }\n\n get autoCompleteValues(): {[p: string]: AutoCompleteItem[]} {\n return this._autoCompleteValues;\n }\n\n private static _instance: AutoCompleteSingleton | null = null;\n private _autoCompleteValues: {[key: string]: AutoCompleteItem[]} = {};\n\n private constructor() {}\n\n /**\n * Init autoComplete for language passed in param if is not already done.\n * @param language\n */\n initAutoComplete(language: IEditorLanguage) {\n if (this._autoCompleteValues[language.toString()]) {\n return;\n }\n\n this._autoCompleteValues[language.toString()] = [];\n\n // This event is fired when the user press Ctrl + Space, to show Intelissense (Autocomplete)\n monaco.languages.registerCompletionItemProvider(language, {\n provideCompletionItems: function (model: any) {\n // Get new autoComplete list for the current content\n AutoCompleteSingleton.getInstance().parseAutoCompleteValues(language, model.getValue());\n return AutoCompleteSingleton.getInstance().autoCompleteValues[language.toString()];\n },\n });\n }\n\n /**\n * Parse the content passed in param for the language passed in param\n * @param language\n * @param content\n */\n parseAutoCompleteValues(language: IEditorLanguage, content: string): AutoCompleteItem[] {\n switch (language) {\n case IEditorLanguage.XML:\n return this._parseXmlAutoComplete(content);\n case IEditorLanguage.JSON:\n return this._parseJsonAutoComplete(content);\n default:\n return [];\n }\n }\n\n /**\n * Parse the XML content and add all tags in AutoComplete for XML Language\n * @param content\n */\n private _parseXmlAutoComplete(content: string): AutoCompleteItem[] {\n let tempList: AutoCompleteItem[] = [];\n let parser = new DOMParser();\n let tags = parser.parseFromString(content, 'text/xml').getElementsByTagName('*');\n\n for (let i = 0; i < tags.length; i++) {\n // Add TAG only if it not already existing in autoComplete list and in tempList\n if (\n !this._autoCompleteValues[IEditorLanguage.XML].find(obj => obj.label === tags[i].tagName) &&\n !tempList.find(obj => obj.label === tags[i].tagName)\n ) {\n // Create autoComplete object\n let obj = new AutoCompleteItem()\n .setLabel(tags[i].tagName)\n .setKind(monaco.languages.CompletionItemKind.Function)\n .setDocumentation('')\n .setInsertText(`<${tags[i].tagName}><${tags[i].tagName}>`);\n\n tempList.push(obj);\n }\n }\n\n // Add tempList list in the _autoCompleteValues, to maintain a list updated\n if (tempList.length > 0) {\n this._autoCompleteValues[IEditorLanguage.XML.toString()] =\n this._autoCompleteValues[IEditorLanguage.XML.toString()].concat(tempList);\n }\n\n return tempList;\n }\n\n private _parseJsonAutoComplete(content: string): AutoCompleteItem[] {\n /* tslint:disable-next-line */\n const regex =\n /(?:\\'|\\')([^']*)(?:\\'|\\')(?=:)(?:\\:\\s*)(?:\\'|\\')?(true|false|[0-9a-zA-Z\\+\\-\\,\\.\\$]*)/g;\n let tempList: AutoCompleteItem[] = [];\n let m: any;\n\n while ((m = regex.exec(content)) !== null) {\n // This is necessary to avoid infinite loops with zero-width matches\n if (m.index === regex.lastIndex) {\n regex.lastIndex++;\n }\n\n // Add Element only if it not already existing in autoComplete list and in tempList\n if (\n m[1] &&\n !this._autoCompleteValues[IEditorLanguage.JSON].find(obj => obj.label === m[1]) &&\n !tempList.find(obj => obj.label === m[1])\n ) {\n let obj = new AutoCompleteItem()\n .setLabel(m[1])\n .setKind(monaco.languages.CompletionItemKind.Value)\n .setDocumentation('')\n .setInsertText(`'${m[1]}':`);\n\n tempList.push(obj);\n }\n }\n\n // Add tempList list in the _autoCompleteValues, to maintain a list updated\n if (tempList.length > 0) {\n this._autoCompleteValues[IEditorLanguage.JSON.toString()] =\n this._autoCompleteValues[IEditorLanguage.JSON.toString()].concat(tempList);\n }\n\n return tempList;\n }\n}\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 {IEditorLanguage} from './editor-language-model';\nimport {IEditorScrollbarOptions} from './editor-scrollbar-options';\nimport {IEditorTheme} from './editor-theme';\n/**\n * Configuration options for the editor.\n */\nexport class IEditorOptions {\n /**\n * Enable experimental screen reader support.\n * Defaults to `true`.\n */\n experimentalScreenReader?: boolean;\n /**\n * The aria label for the editor's textarea (when it is focused).\n */\n ariaLabel?: string;\n /**\n * Render vertical lines at the specified columns.\n * Defaults to empty array.\n */\n rulers?: number[];\n /**\n * A string containing the word separators used when doing word navigation.\n * Defaults to ``~!@#$%^&*()-=+[{]}\\\\|;:\\'',.`<``>`/?\n */\n wordSeparators?: string;\n /**\n * Enable Linux primary clipboard.\n * Defaults to true.\n */\n selectionClipboard?: boolean;\n /**\n * Control the rendering of line numbers.\n * If it is a function, it will be invoked when rendering a line number\n * and the return value will be rendered.\n * Otherwise, if it is a truey, line numbers will be rendered normally\n * (equivalent of using an identity function).\n * Otherwise, line numbers will not be rendered.\n * Defaults to true.\n */\n lineNumbers?: boolean;\n /**\n * Should the corresponding line be selected when clicking on the line number?\n * Defaults to true.\n */\n selectOnLineNumbers?: boolean;\n /**\n * Control the width of line numbers, by reserving horizontal space\n * for rendering at least an amount of digits.\n * Defaults to 5.\n */\n lineNumbersMinChars?: number;\n /**\n * Enable the rendering of the glyph margin.\n * Defaults to false.\n */\n glyphMargin?: boolean;\n /**\n * The width reserved for line decorations (in px).\n * Line decorations are placed between line numbers and the editor content.\n * Defaults to 10.\n */\n lineDecorationsWidth?: number;\n /**\n * When revealing the cursor, a virtual padding (px) is added to the cursor,\n * turning it into a rectangle.\n * This virtual padding ensures that the cursor gets revealed before\n * hitting the edge of the viewport.\n * Defaults to 30 (px).\n */\n revealHorizontalRightPadding?: number;\n /**\n * Render the editor selection with rounded borders.\n * Defaults to true.\n */\n roundedSelection?: boolean;\n /**\n * Theme to be used for rendering. Consists of two parts, the UI theme and the syntax theme,\n * separated by a space.\n * The current available UI themes are: 'vs' (default), 'vs-dark', 'hc-black'\n * The syntax themes are contributed. The default is 'default-theme'\n */\n theme?: IEditorTheme;\n /**\n * Should the editor be read only.\n * Defaults to false.\n */\n readOnly?: boolean;\n /**\n * Control the behavior and rendering of the scrollbars.\n */\n scrollbar?: IEditorScrollbarOptions;\n /**\n * The number of vertical lanes the overview ruler should render.\n * Defaults to 2.\n */\n overviewRulerLanes?: number;\n /**\n * Control the cursor animation style, possible values are\n * 'blink', 'smooth', 'phase', 'expand' and 'solid'.\n * Defaults to 'blink'.\n */\n cursorBlinking?: string;\n /**\n * Zoom the font in the editor when using the mouse wheel in combination with holding Ctrl.\n * Defaults to false.\n */\n mouseWheelZoom?: boolean;\n /**\n * Control the cursor style, either 'block' or 'line'.\n * Defaults to 'line'.\n */\n cursorStyle?: string;\n /**\n * Enable font ligatures.\n * Defaults to false.\n */\n fontLigatures?: boolean;\n /**\n * Disable the use of `translate3d`.\n * Defaults to false.\n */\n disableTranslate3d?: boolean;\n /**\n * Should the cursor be hidden in the overview ruler.\n * Defaults to false.\n */\n hideCursorInOverviewRuler?: boolean;\n /**\n * Enable that scrolling can go one screen size after the last line.\n * Defaults to true.\n */\n scrollBeyondLastLine?: boolean;\n /**\n * Enable that the editor will install an interval to check\n * if its container dom node size has changed.\n * Enabling this might have a severe performance impact.\n * Defaults to false.\n */\n automaticLayout?: boolean;\n /**\n * Control the wrapping strategy of the editor.\n * Using -1 means no wrapping whatsoever.\n * Using 0 means viewport width wrapping (ajusts with the resizing of the editor).\n * Using a positive number means wrapping after a fixed number of characters.\n * Defaults to 300.\n */\n wrappingColumn?: number;\n /**\n * Control the alternate style of viewport wrapping.\n * When set to true viewport wrapping is used only when the window width\n * is less than the number of columns specified in the wrappingColumn property.\n * Has no effect if wrappingColumn is not a positive number.\n * Defaults to false.\n */\n wordWrap?: boolean;\n /**\n * Control indentation of wrapped lines. Can be: 'none', 'same' or 'indent'.\n * Defaults to 'none'.\n */\n wrappingIndent?: string;\n /**\n * Configure word wrapping characters. A break will be introduced before these characters.\n * Defaults to '{([+'.\n */\n wordWrapBreakBeforeCharacters?: string;\n /**\n * Configure word wrapping characters. A break will be introduced after these characters.\n * Defaults to ' \\t})]?|&,;'.\n */\n wordWrapBreakAfterCharacters?: string;\n /**\n * Configure word wrapping characters. A break will be introduced after these characters\n * only if no `wordWrapBreakBeforeCharacters` or `wordWrapBreakAfterCharacters` were found.\n * Defaults to '.'.\n */\n wordWrapBreakObtrusiveCharacters?: string;\n /**\n * Performance guard: Stop rendering a line after x characters.\n * Defaults to 10000 if wrappingColumn is -1. Defaults to -1 if wrappingColumn is `>`= 0.\n * Use -1 to never stop rendering\n */\n stopRenderingLineAfter?: number;\n /**\n * Enable hover.\n * Defaults to true.\n */\n hover?: boolean;\n /**\n * Enable custom contextmenu.\n * Defaults to true.\n */\n contextmenu?: boolean;\n /**\n * A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.\n * Defaults to 1.\n */\n mouseWheelScrollSensitivity?: number;\n /**\n * Enable quick suggestions (shadow suggestions)\n * Defaults to true.\n */\n quickSuggestions?: boolean;\n /**\n * Quick suggestions show delay (in ms)\n * Defaults to 500 (ms)\n */\n quickSuggestionsDelay?: number;\n /**\n * Enables parameter hints\n */\n parameterHints?: boolean;\n /**\n * Render icons in suggestions box.\n * Defaults to true.\n */\n iconsInSuggestions?: boolean;\n /**\n * Enable auto closing brackets.\n * Defaults to true.\n */\n autoClosingBrackets?: boolean;\n /**\n * Enable format on type.\n * Defaults to false.\n */\n formatOnType?: boolean;\n /**\n * Enable the suggestion box to pop-up on trigger characters.\n * Defaults to true.\n */\n suggestOnTriggerCharacters?: boolean;\n /**\n * Accept suggestions on ENTER.\n * Defaults to true.\n */\n acceptSuggestionOnEnter?: boolean;\n /**\n * Enable snippet suggestions. Default to 'true'.\n */\n snippetSuggestions?: 'top' | 'bottom' | 'inline' | 'none';\n /**\n * Enable tab completion. Defaults to 'false'\n */\n tabCompletion?: boolean;\n /**\n * Enable word based suggestions. Defaults to 'true'\n */\n wordBasedSuggestions?: boolean;\n /**\n * Enable selection highlight.\n * Defaults to true.\n */\n selectionHighlight?: boolean;\n /**\n * Show code lens\n * Defaults to true.\n */\n codeLens?: boolean;\n /**\n * Enable code folding\n * Defaults to true.\n */\n folding?: boolean;\n /**\n * Enable rendering of whitespace.\n * Defaults to none.\n */\n renderWhitespace?: 'none' | 'boundary' | 'all';\n /**\n * Enable rendering of control characters.\n * Defaults to false.\n */\n renderControlCharacters?: boolean;\n /**\n * Enable rendering of indent guides.\n * Defaults to false.\n */\n renderIndentGuides?: boolean;\n /**\n * Enable rendering of current line highlight.\n * Defaults to true.\n */\n renderLineHighlight?: boolean;\n /**\n * Inserting and deleting whitespace follows tab stops.\n */\n useTabStops?: boolean;\n /**\n * The font family\n */\n fontFamily?: string;\n /**\n * The font weight\n */\n fontWeight?:\n | 'normal'\n | 'bold'\n | 'bolder'\n | 'lighter'\n | 'initial'\n | 'inherit'\n | '100'\n | '200'\n | '300'\n | '400'\n | '500'\n | '600'\n | '700'\n | '800'\n | '900';\n /**\n * The font size\n */\n fontSize?: number;\n /**\n * The line height\n */\n lineHeight?: number;\n\n /**\n * Content to show\n */\n value: string = '';\n /**\n * Language of content to show\n */\n language: IEditorLanguage = 'en';\n}\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 AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n Output,\n SimpleChange,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {AutoCompleteSingleton} from './autocomplete-singleton-model';\nimport {IEditorLanguage} from './editor-language-model';\nimport {IEditorOptions} from './editor-options-model';\nimport {IEditorScrollbarOptions} from './editor-scrollbar-options';\nimport {IEditorTheme} from './editor-theme';\n\ndeclare const monaco: any;\n\n@Component({\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n selector: 'ajf-monaco-editor',\n styleUrls: ['monaco-editor.scss'],\n templateUrl: 'monaco-editor.html',\n // eslint-disable-next-line\n host: {'(window:resize)': 'onResize($event)'},\n})\nexport class AjfMonacoEditor implements OnDestroy, AfterViewInit, OnChanges {\n @Input() experimentalScreenReader?: boolean;\n @Input() ariaLabel?: string;\n @Input() rulers?: number[];\n @Input() wordSeparators?: string;\n @Input() selectionClipboard?: boolean;\n @Input() lineNumbers?: boolean;\n @Input() selectOnLineNumbers?: boolean;\n @Input() lineNumbersMinChars?: number;\n @Input() glyphMargin?: boolean;\n @Input() lineDecorationsWidth?: number;\n @Input() revealHorizontalRightPadding?: number;\n @Input() roundedSelection?: boolean;\n @Input() theme?: IEditorTheme;\n @Input() readOnly?: boolean;\n @Input() scrollbar?: IEditorScrollbarOptions;\n @Input() overviewRulerLanes?: number;\n @Input() cursorBlinking?: string;\n @Input() mouseWheelZoom?: boolean;\n @Input() cursorStyle?: string;\n @Input() fontLigatures?: boolean;\n @Input() disableTranslate3d?: boolean;\n @Input() hideCursorInOverviewRuler?: boolean;\n @Input() scrollBeyondLastLine?: boolean;\n @Input() automaticLayout?: boolean;\n @Input() wrappingColumn?: number;\n @Input() wordWrap?: boolean;\n @Input() wrappingIndent?: string;\n @Input() wordWrapBreakBeforeCharacters?: string;\n @Input() wordWrapBreakAfterCharacters?: string;\n @Input() wordWrapBreakObtrusiveCharacters?: string;\n @Input() stopRenderingLineAfter?: number;\n @Input() hover?: boolean;\n @Input() contextmenu?: boolean;\n @Input() mouseWheelScrollSensitivity?: number;\n @Input() quickSuggestions?: boolean;\n @Input() quickSuggestionsDelay?: number;\n @Input() parameterHints?: boolean;\n @Input() iconsInSuggestions?: boolean;\n @Input() autoClosingBrackets?: boolean;\n @Input() formatOnType?: boolean;\n @Input() suggestOnTriggerCharacters?: boolean;\n @Input() acceptSuggestionOnEnter?: boolean;\n @Input() snippetSuggestions?: 'top' | 'bottom' | 'inline' | 'none';\n @Input() tabCompletion?: boolean;\n @Input() wordBasedSuggestions?: boolean;\n @Input() selectionHighlight?: boolean;\n @Input() codeLens?: boolean;\n @Input() folding?: boolean;\n @Input() renderWhitespace?: 'none' | 'boundary' | 'all';\n @Input() renderControlCharacters?: boolean;\n @Input() renderIndentGuides?: boolean;\n @Input() renderLineHighlight?: boolean;\n @Input() useTabStops?: boolean;\n @Input() fontFamily?: string;\n @Input()\n fontWeight?:\n | 'normal'\n | 'bold'\n | 'bolder'\n | 'lighter'\n | 'initial'\n | 'inherit'\n | '100'\n | '200'\n | '300'\n | '400'\n | '500'\n | '600'\n | '700'\n | '800'\n | '900';\n @Input() fontSize?: number;\n @Input() lineHeight?: number;\n\n @Input() language: IEditorLanguage = 'en';\n\n @Input() disableAutocomplete: boolean = false;\n @Input() autoFormatOnLoad = true;\n @Input() monacoLibPath = 'vs/loader.js';\n\n @Input()\n set valueToCompare(v: string) {\n if (v !== this._valueToCompare) {\n this._valueToCompare = v;\n\n if (this._valueToCompare === void 0 || !this._valueToCompare || !this._editor) {\n if (this._editor && this._editor.getEditorType() !== 'vs.editor.ICodeEditor') {\n this._initEditor();\n return;\n }\n\n return;\n }\n\n if (!this._value) {\n this._value = '';\n }\n\n if (this._editor.getEditorType() === 'vs.editor.ICodeEditor') {\n this._initEditor();\n return;\n }\n }\n }\n\n @Input()\n set value(v: string) {\n if (v !== this._value) {\n this._value = v;\n\n if (this._value === void 0 || !this._editor) {\n return;\n }\n\n if (this._editor.getEditorType() !== 'vs.editor.ICodeEditor') {\n this._initEditor();\n return;\n }\n\n this._editor.setValue(this._value);\n }\n }\n\n @Output() readonly valueChange = new EventEmitter();\n @Output() readonly valueToCompareChange = new EventEmitter();\n @Output() readonly init = new EventEmitter();\n\n @ViewChild('editor', {static: true}) editorContent!: ElementRef;\n\n private _editor: any;\n get editor(): any {\n return this._editor;\n }\n\n private _value = '';\n private _valueToCompare = '';\n\n constructor() {}\n\n /**\n * load Monaco lib\n */\n ngAfterViewInit() {\n let onGotAmdLoader = () => {\n // Load monaco\n (<any>window).require(['vs/editor/editor.main'], () => {\n this._initMonaco();\n });\n };\n\n // Load AMD loader if necessary\n if (!(<any>window).require) {\n let loaderScript = document.createElement('script');\n loaderScript.type = 'text/javascript';\n loaderScript.src = this.monacoLibPath;\n loaderScript.addEventListener('load', onGotAmdLoader);\n document.body.appendChild(loaderScript);\n } else {\n onGotAmdLoader();\n }\n }\n\n /**\n * Upon destruction of the component we make sure to dispose both the editor and\n * the extra libs that we might've loaded\n */\n ngOnDestroy() {\n this.dispose();\n }\n\n ngOnChanges(_changes: {[propKey: string]: SimpleChange}) {\n if (this._editor) {\n this._editor.updateOptions(this._getOptions());\n }\n }\n\n /**\n * Destroy the monaco componenent\n */\n dispose() {\n let myDiv: HTMLDivElement = this.editorContent.nativeElement;\n if (this._editor) {\n this._editor.dispose();\n while (myDiv.hasChildNodes()) {\n if (myDiv.firstChild != null) {\n myDiv.firstChild.remove();\n }\n }\n this._editor = null;\n }\n }\n\n /**\n * Triggered when windows is resized\n * @param event\n */\n onResize(_event: any) {\n // Manually set monaco size because MonacoEditor doesn't work with Flexbox css\n let myDiv: HTMLDivElement = this.editorContent.nativeElement;\n if (myDiv == null || myDiv.parentElement == null) {\n return;\n }\n myDiv.setAttribute('style', `height: ${myDiv.parentElement.offsetHeight}px; width:100%;`);\n }\n\n /**\n * Init editor\n * Is called once monaco library is available\n */\n private _initMonaco() {\n this._initEditor();\n this.init.emit();\n }\n\n private _initEditor() {\n let myDiv: HTMLDivElement = this.editorContent.nativeElement;\n let options = this._getOptions();\n this.dispose();\n\n if (!this._valueToCompare) {\n this._editor = this._initSimpleEditor(myDiv, options);\n } else {\n this._editor = this._initDiffEditor(myDiv, options);\n }\n\n // Manually set monaco size because MonacoEditor doesn't work with Flexbox css\n if (myDiv != null && myDiv.parentElement != null) {\n myDiv.setAttribute('style', `height: ${myDiv.parentElement.offsetHeight}px; width:100%;`);\n }\n\n // Init Autocomplete if not disabled\n if (!this.disableAutocomplete) {\n AutoCompleteSingleton.getInstance().initAutoComplete(this.language);\n }\n\n // When content is loaded, scrollChange is trigerred,\n // We can only force auto format at this moment, because editor\n // doesn't have onReady event ...\n // this._editor.onDidScrollChange(() => {\n // if (this.autoFormatOnLoad && !this._isCodeFormatted) {\n // this._editor.getAction('editor.action.format').run();\n // this._isCodeFormatted = true;\n // }\n // });\n\n // Trigger on change event for simple editor\n this._getOriginalModel().onDidChangeContent((_e: any) => {\n let newVal: string = this._getOriginalModel().getValue();\n if (this._value !== newVal) {\n this._updateValue(newVal);\n }\n });\n\n // Trigger on change event for diff editor\n if (this._getModifiedModel()) {\n this._getModifiedModel().onDidChangeContent((_e: any) => {\n let newVal: string = this._getModifiedModel().getValue();\n if (this._valueToCompare !== newVal) {\n this._updateValueToCompare(newVal);\n }\n });\n }\n }\n\n /**\n * Create a simple editor text\n * @param div\n * @param options\n */\n private _initSimpleEditor(div: HTMLDivElement, options: any) {\n return monaco.editor.create(div, options);\n }\n\n /**\n * Create a diff editor to compare two string (_value and _valueToCompare)\n * @param div\n */\n private _initDiffEditor(div: HTMLDivElement, options: any) {\n let originalModel = monaco.editor.createModel(this._value, this.language);\n let modifiedModel = monaco.editor.createModel(this._valueToCompare, this.language);\n\n let diffEditor = monaco.editor.createDiffEditor(div, options);\n diffEditor.setModel({\n modified: modifiedModel,\n original: originalModel,\n });\n\n return diffEditor;\n }\n\n private _getOptions(): IEditorOptions {\n let options: IEditorOptions = new IEditorOptions();\n options.experimentalScreenReader = this.experimentalScreenReader;\n options.ariaLabel = this.ariaLabel;\n options.rulers = this.rulers;\n options.wordSeparators = this.wordSeparators;\n options.selectionClipboard = this.selectionClipboard;\n options.lineNumbers = this.lineNumbers;\n options.selectOnLineNumbers = this.selectOnLineNumbers;\n options.lineNumbersMinChars = this.lineNumbersMinChars;\n options.glyphMargin = this.glyphMargin;\n options.lineDecorationsWidth = this.lineDecorationsWidth;\n options.revealHorizontalRightPadding = this.revealHorizontalRightPadding;\n options.roundedSelection = this.roundedSelection;\n options.theme = this.theme;\n options.readOnly = this.readOnly;\n options.scrollbar = this.scrollbar;\n options.overviewRulerLanes = this.overviewRulerLanes;\n options.cursorBlinking = this.cursorBlinking;\n options.mouseWheelZoom = this.mouseWheelZoom;\n options.cursorStyle = this.cursorStyle;\n options.mouseWheelZoom = this.mouseWheelZoom;\n options.fontLigatures = this.fontLigatures;\n options.disableTranslate3d = this.disableTranslate3d;\n options.hideCursorInOverviewRuler = this.hideCursorInOverviewRuler;\n options.scrollBeyondLastLine = this.scrollBeyondLastLine;\n options.automaticLayout = this.automaticLayout;\n options.wrappingColumn = this.wrappingColumn;\n options.wordWrap = this.wordWrap;\n options.wrappingIndent = this.wrappingIndent;\n options.wordWrapBreakBeforeCharacters = this.wordWrapBreakBeforeCharacters;\n options.wordWrapBreakAfterCharacters = this.wordWrapBreakAfterCharacters;\n options.wordWrapBreakObtrusiveCharacters = this.wordWrapBreakObtrusiveCharacters;\n options.stopRenderingLineAfter = this.stopRenderingLineAfter;\n options.hover = this.hover;\n options.contextmenu = this.contextmenu;\n options.mouseWheelScrollSensitivity = this.mouseWheelScrollSensitivity;\n options.quickSuggestions = this.quickSuggestions;\n options.quickSuggestionsDelay = this.quickSuggestionsDelay;\n options.parameterHints = this.parameterHints;\n options.iconsInSuggestions = this.iconsInSuggestions;\n options.autoClosingBrackets = this.autoClosingBrackets;\n options.formatOnType = this.formatOnType;\n options.suggestOnTriggerCharacters = this.suggestOnTriggerCharacters;\n options.acceptSuggestionOnEnter = this.acceptSuggestionOnEnter;\n options.snippetSuggestions = this.snippetSuggestions;\n options.tabCompletion = this.tabCompletion;\n options.wordBasedSuggestions = this.wordBasedSuggestions;\n options.selectionHighlight = this.selectionHighlight;\n options.codeLens = this.codeLens;\n options.folding = this.folding;\n options.renderWhitespace = this.renderWhitespace;\n options.renderControlCharacters = this.renderControlCharacters;\n options.renderIndentGuides = this.renderIndentGuides;\n options.renderLineHighlight = this.renderLineHighlight;\n options.useTabStops = this.useTabStops;\n options.fontFamily = this.fontFamily;\n options.fontWeight = this.fontWeight;\n options.fontSize = this.fontSize;\n options.lineHeight = this.lineHeight;\n options.value = this._value;\n options.language = this.language;\n\n Object.keys(options).forEach(key => {\n if ((<any>options)[key] === undefined) {\n delete (<any>options)[key]; // Remove all undefined properties\n }\n });\n return options;\n }\n\n /**\n * UpdateValue\n *\n * @param value\n */\n private _updateValue(value: string) {\n this.value = value;\n this._value = value;\n this.valueChange.emit(value);\n }\n\n /**\n * UpdateValue\n *\n * @param value\n */\n private _updateValueToCompare(value: string) {\n this.valueToCompare = value;\n this._valueToCompare = value;\n this.valueToCompareChange.emit(value);\n }\n\n private _getOriginalModel() {\n if (this._editor) {\n let model = this._editor.getModel();\n return model.original ? model.original : model;\n }\n }\n\n private _getModifiedModel() {\n if (this._editor) {\n let model = this._editor.getModel();\n return model.modified ? model.modified : null;\n }\n }\n}\n","<div #editor class=\"ajf-monaco-editor\"></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';\n\nimport {AjfMonacoEditor} from './monaco-editor';\n\n@NgModule({\n declarations: [AjfMonacoEditor],\n exports: [AjfMonacoEditor],\n})\nexport class AjfMonacoEditorModule {}\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 './monaco-editor-module';\nexport * from './monaco-editor';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;AAoBG;AAEH;;AAEG;MACU,gBAAgB,CAAA;AAM3B,IAAA,WAAA,GAAA;QAL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ACpB,eAAe,CAAA,EAAA,CAAA,CAAA;mHAEd,qBAAqB,EAAA,CAAA,CAAA;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;AAC3B,iBAAA,CAAA;;;AC7BD;;;;;;;;;;;;;;;;;;;;AAoBG;;ACpBH;;AAEG;;;;"}
|
|
@@ -29,11 +29,11 @@ import { AjfNodeIcon as AjfNodeIcon$1 } from '@ajf/core/node-icon';
|
|
|
29
29
|
*/
|
|
30
30
|
class AjfNodeIcon extends AjfNodeIcon$1 {
|
|
31
31
|
}
|
|
32
|
-
AjfNodeIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
33
|
-
AjfNodeIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
32
|
+
AjfNodeIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfNodeIcon, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
AjfNodeIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: AjfNodeIcon, selector: "ajf-node-icon", usesInheritance: true, ngImport: i0, template: "<ng-template [ngIf]=\"node\">\n <mat-icon [fontSet]=\"fontSet\" [fontIcon]=\"fontIcon\"></mat-icon>\n</ng-template>\n", styles: [""], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfNodeIcon, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
|
-
args: [{ selector: 'ajf-node-icon', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template [ngIf]=\"node\">\n <mat-icon [fontSet]=\"fontSet\" [fontIcon]=\"fontIcon\"></mat-icon>\n</ng-template>\n", styles: ["
|
|
36
|
+
args: [{ selector: 'ajf-node-icon', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template [ngIf]=\"node\">\n <mat-icon [fontSet]=\"fontSet\" [fontIcon]=\"fontIcon\"></mat-icon>\n</ng-template>\n", styles: [""] }]
|
|
37
37
|
}] });
|
|
38
38
|
|
|
39
39
|
/**
|
|
@@ -59,10 +59,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
|
|
|
59
59
|
*/
|
|
60
60
|
class AjfNodeIconModule {
|
|
61
61
|
}
|
|
62
|
-
AjfNodeIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
63
|
-
AjfNodeIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
64
|
-
AjfNodeIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
62
|
+
AjfNodeIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfNodeIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
63
|
+
AjfNodeIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfNodeIconModule, declarations: [AjfNodeIcon], imports: [CommonModule, MatIconModule], exports: [AjfNodeIcon] });
|
|
64
|
+
AjfNodeIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfNodeIconModule, imports: [[CommonModule, MatIconModule]] });
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfNodeIconModule, decorators: [{
|
|
66
66
|
type: NgModule,
|
|
67
67
|
args: [{
|
|
68
68
|
imports: [CommonModule, MatIconModule],
|
|
@@ -93,31 +93,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
|
|
|
93
93
|
*
|
|
94
94
|
*/
|
|
95
95
|
|
|
96
|
-
/**
|
|
97
|
-
* @license
|
|
98
|
-
* Copyright (C) Gnucoop soc. coop.
|
|
99
|
-
*
|
|
100
|
-
* This file is part of the Advanced JSON forms (ajf).
|
|
101
|
-
*
|
|
102
|
-
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
103
|
-
* modify it under the terms of the GNU Affero General Public License as
|
|
104
|
-
* published by the Free Software Foundation, either version 3 of the License,
|
|
105
|
-
* or (at your option) any later version.
|
|
106
|
-
*
|
|
107
|
-
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
108
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
109
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
110
|
-
* General Public License for more details.
|
|
111
|
-
*
|
|
112
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
113
|
-
* along with Advanced JSON forms (ajf).
|
|
114
|
-
* If not, see http://www.gnu.org/licenses/.
|
|
115
|
-
*
|
|
116
|
-
*/
|
|
117
|
-
|
|
118
96
|
/**
|
|
119
97
|
* Generated bundle index. Do not edit.
|
|
120
98
|
*/
|
|
121
99
|
|
|
122
100
|
export { AjfNodeIcon, AjfNodeIconModule };
|
|
123
|
-
//# sourceMappingURL=node-icon.mjs.map
|
|
101
|
+
//# sourceMappingURL=ajf-material-node-icon.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ajf-material-node-icon.mjs","sources":["../../../projects/material/node-icon/src/node-icon.ts","../../../projects/material/node-icon/src/node-icon.html","../../../projects/material/node-icon/src/node-icon-module.ts","../../../projects/material/node-icon/src/public_api.ts","../../../projects/material/node-icon/src/ajf-material-node-icon.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 {AjfNodeIcon as AjfCoreNodeIcon} from '@ajf/core/node-icon';\nimport {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: 'ajf-node-icon',\n templateUrl: 'node-icon.html',\n styleUrls: ['node-icon.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfNodeIcon extends AjfCoreNodeIcon {}\n","<ng-template [ngIf]=\"node\">\n <mat-icon [fontSet]=\"fontSet\" [fontIcon]=\"fontIcon\"></mat-icon>\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 {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {AjfNodeIcon} from './node-icon';\n\n@NgModule({\n imports: [CommonModule, MatIconModule],\n declarations: [AjfNodeIcon],\n exports: [AjfNodeIcon],\n})\nexport class AjfNodeIconModule {}\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 './node-icon-module';\nexport * from './node-icon';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["AjfCoreNodeIcon"],"mappings":";;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;AAoBG;AAYG,MAAO,WAAY,SAAQA,aAAe,CAAA;;wGAAnC,WAAW,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAX,WAAA,CAAA,IAAA,GAAA,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AAA,OAAA,EAAA,CADhB,YAAY,EAAE,aAAa,aAE3B,WAAW,CAAA,EAAA,CAAA,CAAA;AAEV,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAJnB,OAAA,EAAA,CAAA,CAAC,YAAY,EAAE,aAAa,CAAC,CAAA,EAAA,CAAA,CAAA;2FAI3B,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,YAAY,EAAE,CAAC,WAAW,CAAC;oBAC3B,OAAO,EAAE,CAAC,WAAW,CAAC;AACvB,iBAAA,CAAA;;;AChCD;;;;;;;;;;;;;;;;;;;;AAoBG;;ACpBH;;AAEG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AjfPageSlider as AjfPageSlider$1, AjfPageSliderModule as AjfPageSliderModule$1 } from '@ajf/core/page-slider';
|
|
2
|
-
import * as i1 from '@angular/animations';
|
|
3
2
|
import * as i0 from '@angular/core';
|
|
4
3
|
import { Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/animations';
|
|
5
5
|
import * as i2 from '@angular/material/toolbar';
|
|
6
6
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
7
7
|
import * as i3 from '@angular/material/button';
|
|
@@ -37,11 +37,11 @@ class AjfPageSlider extends AjfPageSlider$1 {
|
|
|
37
37
|
super(animationBuilder, cdr, renderer);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
AjfPageSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
41
|
-
AjfPageSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
40
|
+
AjfPageSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfPageSlider, deps: [{ token: i1.AnimationBuilder }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
AjfPageSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: AjfPageSlider, selector: "ajf-page-slider", usesInheritance: true, ngImport: i0, template: "<div class=\"ajf-page-slider-content\">\n <div #body [ngClass]=\"'ajf-page-slider-' + orientation\" (touchstart)=\"onTouchStart($event)\"\n (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd()\" (mousewheel)=\"onMouseWheel($event)\"\n class=\"ajf-page-slider-body\">\n <ng-content></ng-content>\n </div>\n</div>\n<mat-toolbar *ngIf=\"!hideNavigationButtons\" class=\"ajf-toolbar\">\n <ng-content select=[ajfPageSliderBar]></ng-content>\n <div class=\"ajf-spacer\"></div>\n <div>\n <button aria-label=\"Switch orientation\" mat-button *ngIf=\"!fixedOrientation\" (click)=\"switchOrientation()\">\n <mat-icon>{{ orientation === 'vertical' ? 'swap_horiz' : 'swap_vert' }}</mat-icon>\n </button>\n <button aria-label=\"Back\" mat-button (click)=\"slide({dir: 'up'})\" secondary>\n <mat-icon *ngIf=\"orientation === 'horizontal'\">arrow_backward</mat-icon>\n <mat-icon *ngIf=\"orientation === 'vertical'\">arrow_upward</mat-icon>\n </button>\n <button aria-label=\"Forward\" mat-button (click)=\"slide({dir: 'down'})\" secondary>\n <mat-icon *ngIf=\"orientation === 'horizontal'\">arrow_forward</mat-icon>\n <mat-icon *ngIf=\"orientation === 'vertical'\">arrow_downward</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: ["ajf-page-slider{display:flex;flex-direction:column;align-items:stretch}ajf-page-slider>.ajf-page-slider-content{flex:1;display:block;overflow:hidden;height:100%}ajf-page-slider>.ajf-page-slider-content>.ajf-page-slider-body{display:flex;align-items:stretch}ajf-page-slider>.ajf-page-slider-content>.ajf-page-slider-body.ajf-page-slider-vertical{flex-direction:column;width:100%}ajf-page-slider>.ajf-page-slider-content>.ajf-page-slider-body.ajf-page-slider-horizontal{flex-direction:row;height:100%}ajf-page-slider>.ajf-page-slider-content>.ajf-page-slider-body>ajf-page-slider-item{flex:1 0 auto}ajf-page-slider .ajf-spacer{flex:1 0 auto}\n"], components: [{ type: i2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfPageSlider, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
|
-
args: [{ selector: 'ajf-page-slider', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ajf-page-slider-content\">\n <div #body [ngClass]=\"'ajf-page-slider-' + orientation\" (touchstart)=\"onTouchStart($event)\"\n (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd()\" (mousewheel)=\"onMouseWheel($event)\"\n class=\"ajf-page-slider-body\">\n <ng-content></ng-content>\n </div>\n</div>\n<mat-toolbar *ngIf=\"!hideNavigationButtons\" class=\"ajf-toolbar\">\n <ng-content select=[ajfPageSliderBar]></ng-content>\n <div class=\"ajf-spacer\"></div>\n <div>\n <button aria-label=\"Switch orientation\" mat-button *ngIf=\"!fixedOrientation\" (click)=\"switchOrientation()\">\n <mat-icon>{{ orientation
|
|
44
|
+
args: [{ selector: 'ajf-page-slider', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ajf-page-slider-content\">\n <div #body [ngClass]=\"'ajf-page-slider-' + orientation\" (touchstart)=\"onTouchStart($event)\"\n (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd()\" (mousewheel)=\"onMouseWheel($event)\"\n class=\"ajf-page-slider-body\">\n <ng-content></ng-content>\n </div>\n</div>\n<mat-toolbar *ngIf=\"!hideNavigationButtons\" class=\"ajf-toolbar\">\n <ng-content select=[ajfPageSliderBar]></ng-content>\n <div class=\"ajf-spacer\"></div>\n <div>\n <button aria-label=\"Switch orientation\" mat-button *ngIf=\"!fixedOrientation\" (click)=\"switchOrientation()\">\n <mat-icon>{{ orientation === 'vertical' ? 'swap_horiz' : 'swap_vert' }}</mat-icon>\n </button>\n <button aria-label=\"Back\" mat-button (click)=\"slide({dir: 'up'})\" secondary>\n <mat-icon *ngIf=\"orientation === 'horizontal'\">arrow_backward</mat-icon>\n <mat-icon *ngIf=\"orientation === 'vertical'\">arrow_upward</mat-icon>\n </button>\n <button aria-label=\"Forward\" mat-button (click)=\"slide({dir: 'down'})\" secondary>\n <mat-icon *ngIf=\"orientation === 'horizontal'\">arrow_forward</mat-icon>\n <mat-icon *ngIf=\"orientation === 'vertical'\">arrow_downward</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n", styles: ["ajf-page-slider{display:flex;flex-direction:column;align-items:stretch}ajf-page-slider>.ajf-page-slider-content{flex:1;display:block;overflow:hidden;height:100%}ajf-page-slider>.ajf-page-slider-content>.ajf-page-slider-body{display:flex;align-items:stretch}ajf-page-slider>.ajf-page-slider-content>.ajf-page-slider-body.ajf-page-slider-vertical{flex-direction:column;width:100%}ajf-page-slider>.ajf-page-slider-content>.ajf-page-slider-body.ajf-page-slider-horizontal{flex-direction:row;height:100%}ajf-page-slider>.ajf-page-slider-content>.ajf-page-slider-body>ajf-page-slider-item{flex:1 0 auto}ajf-page-slider .ajf-spacer{flex:1 0 auto}\n"] }]
|
|
45
45
|
}], ctorParameters: function () { return [{ type: i1.AnimationBuilder }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; } });
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -67,20 +67,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
|
|
|
67
67
|
*/
|
|
68
68
|
class AjfPageSliderModule {
|
|
69
69
|
}
|
|
70
|
-
AjfPageSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
71
|
-
AjfPageSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
70
|
+
AjfPageSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfPageSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
71
|
+
AjfPageSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfPageSliderModule, declarations: [AjfPageSlider], imports: [AjfPageSliderModule$1,
|
|
72
72
|
CommonModule,
|
|
73
73
|
MatButtonModule,
|
|
74
74
|
MatIconModule,
|
|
75
75
|
MatToolbarModule], exports: [AjfPageSliderModule$1, AjfPageSlider] });
|
|
76
|
-
AjfPageSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
76
|
+
AjfPageSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfPageSliderModule, imports: [[
|
|
77
77
|
AjfPageSliderModule$1,
|
|
78
78
|
CommonModule,
|
|
79
79
|
MatButtonModule,
|
|
80
80
|
MatIconModule,
|
|
81
81
|
MatToolbarModule,
|
|
82
82
|
], AjfPageSliderModule$1] });
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AjfPageSliderModule, decorators: [{
|
|
84
84
|
type: NgModule,
|
|
85
85
|
args: [{
|
|
86
86
|
imports: [
|
|
@@ -117,31 +117,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
|
|
|
117
117
|
*
|
|
118
118
|
*/
|
|
119
119
|
|
|
120
|
-
/**
|
|
121
|
-
* @license
|
|
122
|
-
* Copyright (C) Gnucoop soc. coop.
|
|
123
|
-
*
|
|
124
|
-
* This file is part of the Advanced JSON forms (ajf).
|
|
125
|
-
*
|
|
126
|
-
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
127
|
-
* modify it under the terms of the GNU Affero General Public License as
|
|
128
|
-
* published by the Free Software Foundation, either version 3 of the License,
|
|
129
|
-
* or (at your option) any later version.
|
|
130
|
-
*
|
|
131
|
-
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
132
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
133
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
134
|
-
* General Public License for more details.
|
|
135
|
-
*
|
|
136
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
137
|
-
* along with Advanced JSON forms (ajf).
|
|
138
|
-
* If not, see http://www.gnu.org/licenses/.
|
|
139
|
-
*
|
|
140
|
-
*/
|
|
141
|
-
|
|
142
120
|
/**
|
|
143
121
|
* Generated bundle index. Do not edit.
|
|
144
122
|
*/
|
|
145
123
|
|
|
146
124
|
export { AjfPageSlider, AjfPageSliderModule };
|
|
147
|
-
//# sourceMappingURL=page-slider.mjs.map
|
|
125
|
+
//# sourceMappingURL=ajf-material-page-slider.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ajf-material-page-slider.mjs","sources":["../../../projects/material/page-slider/src/page-slider.ts","../../../projects/material/page-slider/src/page-slider.html","../../../projects/material/page-slider/src/page-slider-module.ts","../../../projects/material/page-slider/src/public_api.ts","../../../projects/material/page-slider/src/ajf-material-page-slider.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 {AjfPageSlider as AjfCorePageSlider} from '@ajf/core/page-slider';\nimport {AnimationBuilder} from '@angular/animations';\nimport {BooleanInput} from '@angular/cdk/coercion';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Renderer2,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ajf-page-slider',\n templateUrl: 'page-slider.html',\n styleUrls: ['page-slider.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfPageSlider extends AjfCorePageSlider {\n constructor(animationBuilder: AnimationBuilder, cdr: ChangeDetectorRef, renderer: Renderer2) {\n super(animationBuilder, cdr, renderer);\n }\n\n static ngAcceptInputType_hideNavigationButtons: BooleanInput;\n static ngAcceptInputType_fixedOrientation: BooleanInput;\n}\n","<div class=\"ajf-page-slider-content\">\n <div #body [ngClass]=\"'ajf-page-slider-' + orientation\" (touchstart)=\"onTouchStart($event)\"\n (touchmove)=\"onTouchMove($event)\" (touchend)=\"onTouchEnd()\" (mousewheel)=\"onMouseWheel($event)\"\n class=\"ajf-page-slider-body\">\n <ng-content></ng-content>\n </div>\n</div>\n<mat-toolbar *ngIf=\"!hideNavigationButtons\" class=\"ajf-toolbar\">\n <ng-content select=[ajfPageSliderBar]></ng-content>\n <div class=\"ajf-spacer\"></div>\n <div>\n <button aria-label=\"Switch orientation\" mat-button *ngIf=\"!fixedOrientation\" (click)=\"switchOrientation()\">\n <mat-icon>{{ orientation === 'vertical' ? 'swap_horiz' : 'swap_vert' }}</mat-icon>\n </button>\n <button aria-label=\"Back\" mat-button (click)=\"slide({dir: 'up'})\" secondary>\n <mat-icon *ngIf=\"orientation === 'horizontal'\">arrow_backward</mat-icon>\n <mat-icon *ngIf=\"orientation === 'vertical'\">arrow_upward</mat-icon>\n </button>\n <button aria-label=\"Forward\" mat-button (click)=\"slide({dir: 'down'})\" secondary>\n <mat-icon *ngIf=\"orientation === 'horizontal'\">arrow_forward</mat-icon>\n <mat-icon *ngIf=\"orientation === 'vertical'\">arrow_downward</mat-icon>\n </button>\n </div>\n</mat-toolbar>\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 {AjfPageSliderModule as AjfCorePageSliderModule} from '@ajf/core/page-slider';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatButtonModule} from '@angular/material/button';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatToolbarModule} from '@angular/material/toolbar';\n\nimport {AjfPageSlider} from './page-slider';\n\n@NgModule({\n imports: [\n AjfCorePageSliderModule,\n CommonModule,\n MatButtonModule,\n MatIconModule,\n MatToolbarModule,\n ],\n declarations: [AjfPageSlider],\n exports: [AjfCorePageSliderModule, AjfPageSlider],\n})\nexport class AjfPageSliderModule {}\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 './page-slider';\nexport * from './page-slider-module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["AjfCorePageSlider","AjfCorePageSliderModule"],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;AAoBG;AAoBG,MAAO,aAAc,SAAQA,eAAiB,CAAA;AAClD,IAAA,WAAA,CAAY,gBAAkC,EAAE,GAAsB,EAAE,QAAmB,EAAA;AACzF,QAAA,KAAK,CAAC,gBAAgB,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;KACxC;;0GAHU,aAAa,EAAA,IAAA,EAAA,CAAA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