@pepperi-addons/ngx-lib 0.4.2-beta.31 → 0.4.2-beta.310
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 +35 -0
- package/address/address.component.d.ts +9 -2
- package/attachment/attachment.component.d.ts +3 -1
- package/carousel/carousel.component.d.ts +3 -2
- package/checkbox/checkbox.component.d.ts +8 -1
- package/chips/chips.component.d.ts +4 -7
- package/chips/chips.service.d.ts +0 -3
- package/core/common/directives/base-destroyer.directive.d.ts +10 -0
- package/core/common/directives/public-api.d.ts +1 -0
- package/core/common/pipes/common-pipes.d.ts +5 -2
- package/core/common/services/addon.service.d.ts +6 -4
- package/core/common/services/file.service.d.ts +7 -2
- package/core/common/services/session.service.d.ts +2 -0
- package/core/common/services/utilities.service.d.ts +4 -4
- package/core/customization/customization.model.d.ts +4 -1
- package/core/customization/customization.service.d.ts +4 -0
- package/date/date.component.d.ts +4 -2
- package/draggable-items/draggable-item/draggable-item.component.d.ts +16 -2
- package/draggable-items/draggable-items.component.d.ts +3 -6
- package/draggable-items/draggable-items.module.d.ts +4 -3
- package/elements/README.md +256 -0
- package/esm2020/address/address.component.mjs +93 -5
- package/esm2020/assets/i18n/ar.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/de.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/en.ngx-lib.json +186 -0
- package/esm2020/assets/i18n/es.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/fr.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/he.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/hu.ngx-lib.json +79 -0
- package/esm2020/assets/i18n/it.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/ja.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/nl.ngx-lib.json +79 -0
- package/esm2020/assets/i18n/pl.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/pt.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/ru.ngx-lib.json +79 -0
- package/esm2020/assets/i18n/sr.ngx-lib.json +180 -0
- package/esm2020/assets/i18n/zh.ngx-lib.json +180 -0
- package/esm2020/attachment/attachment.component.mjs +16 -6
- package/esm2020/carousel/carousel.component.mjs +14 -4
- package/esm2020/checkbox/checkbox.component.mjs +37 -3
- package/esm2020/chips/chips.component.mjs +11 -16
- package/esm2020/chips/chips.service.mjs +2 -11
- package/esm2020/color/color-picker.component.mjs +3 -3
- package/esm2020/color/color.component.mjs +3 -3
- package/esm2020/core/common/directives/base-destroyer.directive.mjs +22 -0
- package/esm2020/core/common/directives/public-api.mjs +2 -1
- package/esm2020/core/common/pipes/common-pipes.mjs +18 -8
- package/esm2020/core/common/services/addon.service.mjs +31 -7
- package/esm2020/core/common/services/data-convertor.service.mjs +3 -3
- package/esm2020/core/common/services/file.service.mjs +57 -20
- package/esm2020/core/common/services/session.service.mjs +5 -1
- package/esm2020/core/common/services/utilities.service.mjs +7 -7
- package/esm2020/core/customization/customization.model.mjs +46 -10
- package/esm2020/core/customization/customization.service.mjs +29 -1
- package/esm2020/core/http/services/http.service.mjs +17 -8
- package/esm2020/core/http/services/loader.service.mjs +3 -3
- package/esm2020/date/date.component.mjs +35 -13
- package/esm2020/dialog/dialog.component.mjs +3 -3
- package/esm2020/draggable-items/draggable-item/draggable-item.component.mjs +44 -4
- package/esm2020/draggable-items/draggable-items.component.mjs +7 -15
- package/esm2020/draggable-items/draggable-items.module.mjs +5 -1
- package/esm2020/field-title/field-title.component.mjs +6 -3
- package/esm2020/files-uploader/files-uploader.component.mjs +23 -32
- package/esm2020/form/field-generator.component.mjs +3 -3
- package/esm2020/form/form.component.mjs +7 -4
- package/esm2020/form/internal-button.component.mjs +2 -2
- package/esm2020/form/internal-carusel.component.mjs +10 -6
- package/esm2020/form/internal-field-generator.component.mjs +3 -3
- package/esm2020/form/internal-form.component.mjs +5 -3
- package/esm2020/form/internal-list.component.mjs +2 -2
- package/esm2020/form/internal-menu.component.mjs +4 -6
- package/esm2020/form/internal-page.component.mjs +3 -4
- package/esm2020/group-buttons/group-buttons.component.mjs +2 -2
- package/esm2020/icon/icon.component.mjs +36 -6
- package/esm2020/icon/icon.service.mjs +5 -1
- package/esm2020/image/image.component.mjs +15 -3
- package/esm2020/image/image.service.mjs +2 -4
- package/esm2020/images-filmstrip/images-filmstrip.component.mjs +99 -25
- package/esm2020/json-editor/json-editor.component.mjs +288 -0
- package/esm2020/json-editor/json-editor.module.mjs +83 -0
- package/esm2020/json-editor/json-tree-node.component.mjs +32 -0
- package/esm2020/json-editor/pepperi-addons-ngx-lib-json-editor.mjs +5 -0
- package/esm2020/json-editor/public-api.mjs +6 -0
- package/esm2020/lib/i18n/embedded-i18n.mjs +33 -0
- package/esm2020/link/link.component.mjs +25 -4
- package/esm2020/list/list-actions.component.mjs +1 -1
- package/esm2020/list/list-chooser.component.mjs +1 -1
- package/esm2020/list/list-pager.component.mjs +1 -1
- package/esm2020/list/list-sorting.component.mjs +1 -1
- package/esm2020/list/list-total.component.mjs +6 -3
- package/esm2020/list/list-views.component.mjs +1 -1
- package/esm2020/list/list.component.mjs +230 -37
- package/esm2020/list/list.model.mjs +1 -1
- package/esm2020/menu/menu-item.component.mjs +3 -3
- package/esm2020/menu/menu.component.mjs +6 -3
- package/esm2020/menu/menu.model.mjs +2 -1
- package/esm2020/page-layout/page-layout.component.mjs +28 -7
- package/esm2020/profile-data-views-list/profile-data-view/profile-data-view.component.mjs +1 -1
- package/esm2020/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.mjs +25 -9
- package/esm2020/profile-data-views-list/profile-data-views-list.component.mjs +58 -26
- package/esm2020/profile-data-views-list/profile-data-views-list.model.mjs +1 -1
- package/esm2020/public-api.mjs +2 -1
- package/esm2020/quantity-selector/quantity-selector.component.mjs +67 -33
- package/esm2020/query-builder/common/model/legacy.mjs +1 -1
- package/esm2020/query-builder/common/model/operator.mjs +73 -63
- package/esm2020/query-builder/common/services/output-query.service.mjs +5 -3
- package/esm2020/query-builder/common/services/query-structure.service.mjs +34 -2
- package/esm2020/query-builder/query-builder-item/query-builder-item.component.mjs +14 -12
- package/esm2020/query-builder/query-builder-section/query-builder-section.component.mjs +3 -3
- package/esm2020/query-builder/query-builder.module.mjs +14 -3
- package/esm2020/query-builder/query-builder.service.mjs +2 -2
- package/esm2020/remote-loader/addon-block-loader.component.mjs +26 -16
- package/esm2020/remote-loader/addon-block-loader.service.mjs +5 -2
- package/esm2020/remote-loader/remote-loader-element.component.mjs +81 -27
- package/esm2020/remote-loader/remote-loader.component.mjs +1 -3
- package/esm2020/remote-loader/remote-loader.model.mjs +1 -1
- package/esm2020/remote-loader/remote-loader.service.mjs +49 -26
- package/esm2020/reset-configuration-field/pepperi-addons-ngx-lib-reset-configuration-field.mjs +5 -0
- package/esm2020/reset-configuration-field/public-api.mjs +3 -0
- package/esm2020/reset-configuration-field/reset-configuration-field.component.mjs +55 -0
- package/esm2020/reset-configuration-field/reset-configuration-field.module.mjs +36 -0
- package/esm2020/rich-html-textarea/rich-html-textarea.component.mjs +19 -3
- package/esm2020/search/search.component.mjs +43 -16
- package/esm2020/select/select.component.mjs +124 -53
- package/esm2020/select-panel/select-panel.component.mjs +4 -6
- package/esm2020/side-bar/side-bar.component.mjs +18 -4
- package/esm2020/signature/public-api.mjs +2 -1
- package/esm2020/signature/signature-dialog.component.mjs +79 -0
- package/esm2020/signature/signature.component.mjs +84 -68
- package/esm2020/signature/signature.module.mjs +6 -5
- package/esm2020/size-detector/size-detector.component.mjs +16 -6
- package/esm2020/skeleton-loader/public-api.mjs +2 -2
- package/esm2020/skeleton-loader/skeleton-loader.component.mjs +33 -9
- package/esm2020/slider/slider.component.mjs +2 -2
- package/esm2020/smart-filters/boolean-filter/boolean-filter.component.mjs +1 -1
- package/esm2020/smart-filters/common/model/base-filter-component.mjs +5 -11
- package/esm2020/smart-filters/common/model/operator.mjs +15 -6
- package/esm2020/smart-filters/common/model/type.mjs +1 -1
- package/esm2020/smart-filters/date-filter/date-filter.component.mjs +1 -1
- package/esm2020/smart-filters/multi-select-filter/multi-select-filter.component.mjs +3 -3
- package/esm2020/smart-filters/number-filter/number-filter.component.mjs +3 -3
- package/esm2020/smart-filters/smart-filters.component.mjs +2 -2
- package/esm2020/smart-filters/text-filter/text-filter.component.mjs +27 -7
- package/esm2020/snack-bar/snack-bar.component.mjs +19 -4
- package/esm2020/textarea/textarea.component.mjs +12 -3
- package/esm2020/textbox/textbox-validation.directive.mjs +2 -4
- package/esm2020/textbox/textbox.component.mjs +85 -10
- package/esm2020/textbox-icon/textbox-icon.component.mjs +3 -3
- package/esm2020/top-bar/top-bar.component.mjs +26 -15
- package/fesm2015/pepperi-addons-ngx-lib-address.mjs +92 -5
- package/fesm2015/pepperi-addons-ngx-lib-address.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs +15 -5
- package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-carousel.mjs +13 -3
- package/fesm2015/pepperi-addons-ngx-lib-carousel.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-checkbox.mjs +37 -2
- package/fesm2015/pepperi-addons-ngx-lib-checkbox.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-chips.mjs +11 -25
- package/fesm2015/pepperi-addons-ngx-lib-chips.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-color.mjs +4 -4
- package/fesm2015/pepperi-addons-ngx-lib-color.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-date.mjs +35 -12
- package/fesm2015/pepperi-addons-ngx-lib-date.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-dialog.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-lib-dialog.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs +54 -19
- package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-field-title.mjs +5 -2
- package/fesm2015/pepperi-addons-ngx-lib-field-title.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs +22 -31
- package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-form.mjs +31 -25
- package/fesm2015/pepperi-addons-ngx-lib-form.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-group-buttons.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-lib-group-buttons.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-icon.mjs +40 -5
- package/fesm2015/pepperi-addons-ngx-lib-icon.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-image.mjs +15 -5
- package/fesm2015/pepperi-addons-ngx-lib-image.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs +101 -24
- package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-json-editor.mjs +407 -0
- package/fesm2015/pepperi-addons-ngx-lib-json-editor.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-link.mjs +24 -3
- package/fesm2015/pepperi-addons-ngx-lib-link.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs +241 -43
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-menu.mjs +8 -4
- package/fesm2015/pepperi-addons-ngx-lib-menu.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-page-layout.mjs +27 -6
- package/fesm2015/pepperi-addons-ngx-lib-page-layout.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs +81 -33
- package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.mjs +66 -31
- package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs +140 -81
- package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-remote-loader.mjs +169 -83
- package/fesm2015/pepperi-addons-ngx-lib-remote-loader.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-reset-configuration-field.mjs +95 -0
- package/fesm2015/pepperi-addons-ngx-lib-reset-configuration-field.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.mjs +18 -2
- package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-search.mjs +45 -15
- package/fesm2015/pepperi-addons-ngx-lib-search.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs +3 -5
- package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-select.mjs +123 -51
- package/fesm2015/pepperi-addons-ngx-lib-select.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-side-bar.mjs +17 -3
- package/fesm2015/pepperi-addons-ngx-lib-side-bar.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-signature.mjs +173 -81
- package/fesm2015/pepperi-addons-ngx-lib-signature.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-size-detector.mjs +15 -5
- package/fesm2015/pepperi-addons-ngx-lib-size-detector.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs +33 -9
- package/fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-slider.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-lib-slider.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs +53 -30
- package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-snack-bar.mjs +18 -3
- package/fesm2015/pepperi-addons-ngx-lib-snack-bar.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-textarea.mjs +11 -2
- package/fesm2015/pepperi-addons-ngx-lib-textarea.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-textbox-icon.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-lib-textbox-icon.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs +87 -12
- package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs +26 -15
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib.mjs +3420 -577
- package/fesm2015/pepperi-addons-ngx-lib.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-address.mjs +92 -5
- package/fesm2020/pepperi-addons-ngx-lib-address.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-attachment.mjs +15 -5
- package/fesm2020/pepperi-addons-ngx-lib-attachment.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-carousel.mjs +13 -3
- package/fesm2020/pepperi-addons-ngx-lib-carousel.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-checkbox.mjs +36 -2
- package/fesm2020/pepperi-addons-ngx-lib-checkbox.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-chips.mjs +11 -25
- package/fesm2020/pepperi-addons-ngx-lib-chips.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-color.mjs +4 -4
- package/fesm2020/pepperi-addons-ngx-lib-color.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-date.mjs +34 -12
- package/fesm2020/pepperi-addons-ngx-lib-date.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-dialog.mjs +2 -2
- package/fesm2020/pepperi-addons-ngx-lib-dialog.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-draggable-items.mjs +54 -19
- package/fesm2020/pepperi-addons-ngx-lib-draggable-items.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-field-title.mjs +5 -2
- package/fesm2020/pepperi-addons-ngx-lib-field-title.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-files-uploader.mjs +22 -31
- package/fesm2020/pepperi-addons-ngx-lib-files-uploader.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-form.mjs +31 -25
- package/fesm2020/pepperi-addons-ngx-lib-form.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-group-buttons.mjs +2 -2
- package/fesm2020/pepperi-addons-ngx-lib-group-buttons.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-icon.mjs +39 -5
- package/fesm2020/pepperi-addons-ngx-lib-icon.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-image.mjs +15 -5
- package/fesm2020/pepperi-addons-ngx-lib-image.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-images-filmstrip.mjs +98 -24
- package/fesm2020/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-json-editor.mjs +403 -0
- package/fesm2020/pepperi-addons-ngx-lib-json-editor.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-link.mjs +24 -3
- package/fesm2020/pepperi-addons-ngx-lib-link.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs +238 -42
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-menu.mjs +8 -4
- package/fesm2020/pepperi-addons-ngx-lib-menu.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-page-layout.mjs +27 -6
- package/fesm2020/pepperi-addons-ngx-lib-page-layout.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-profile-data-views-list.mjs +81 -33
- package/fesm2020/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.mjs +65 -31
- package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-query-builder.mjs +136 -80
- package/fesm2020/pepperi-addons-ngx-lib-query-builder.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-remote-loader.mjs +157 -69
- package/fesm2020/pepperi-addons-ngx-lib-remote-loader.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-reset-configuration-field.mjs +95 -0
- package/fesm2020/pepperi-addons-ngx-lib-reset-configuration-field.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-rich-html-textarea.mjs +18 -2
- package/fesm2020/pepperi-addons-ngx-lib-rich-html-textarea.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-search.mjs +42 -15
- package/fesm2020/pepperi-addons-ngx-lib-search.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-select-panel.mjs +3 -5
- package/fesm2020/pepperi-addons-ngx-lib-select-panel.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-select.mjs +122 -51
- package/fesm2020/pepperi-addons-ngx-lib-select.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-side-bar.mjs +17 -3
- package/fesm2020/pepperi-addons-ngx-lib-side-bar.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-signature.mjs +169 -81
- package/fesm2020/pepperi-addons-ngx-lib-signature.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-size-detector.mjs +15 -5
- package/fesm2020/pepperi-addons-ngx-lib-size-detector.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs +33 -9
- package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-slider.mjs +2 -2
- package/fesm2020/pepperi-addons-ngx-lib-slider.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-smart-filters.mjs +53 -30
- package/fesm2020/pepperi-addons-ngx-lib-smart-filters.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-snack-bar.mjs +18 -3
- package/fesm2020/pepperi-addons-ngx-lib-snack-bar.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-textarea.mjs +11 -2
- package/fesm2020/pepperi-addons-ngx-lib-textarea.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-textbox-icon.mjs +2 -2
- package/fesm2020/pepperi-addons-ngx-lib-textbox-icon.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-textbox.mjs +85 -12
- package/fesm2020/pepperi-addons-ngx-lib-textbox.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs +25 -14
- package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib.mjs +3416 -574
- package/fesm2020/pepperi-addons-ngx-lib.mjs.map +1 -1
- package/field-title/field-title.component.d.ts +2 -1
- package/files-uploader/files-uploader.component.d.ts +4 -2
- package/form/internal-carusel.component.d.ts +1 -0
- package/form/internal-menu.component.d.ts +1 -2
- package/icon/icon.component.d.ts +4 -0
- package/image/image.component.d.ts +3 -1
- package/images-filmstrip/images-filmstrip.component.d.ts +24 -8
- package/json-editor/index.d.ts +5 -0
- package/json-editor/json-editor.component.d.ts +75 -0
- package/json-editor/json-editor.component.theme.scss +5 -0
- package/json-editor/json-editor.module.d.ts +24 -0
- package/json-editor/json-tree-node.component.d.ts +18 -0
- package/json-editor/public-api.d.ts +2 -0
- package/lib/i18n/embedded-i18n.d.ts +1 -0
- package/link/link.component.d.ts +7 -2
- package/list/list-total.component.d.ts +2 -1
- package/list/list.component.d.ts +21 -5
- package/list/list.model.d.ts +2 -1
- package/menu/menu.component.d.ts +2 -1
- package/menu/menu.model.d.ts +1 -0
- package/package.json +18 -2
- package/page-layout/page-layout.component.d.ts +8 -2
- package/profile-data-views-list/profile-data-view/profile-data-view.component.d.ts +3 -3
- package/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.d.ts +5 -4
- package/profile-data-views-list/profile-data-views-list.component.d.ts +13 -10
- package/profile-data-views-list/profile-data-views-list.model.d.ts +8 -0
- package/public-api.d.ts +1 -0
- package/quantity-selector/quantity-selector.component.d.ts +9 -9
- package/query-builder/common/model/legacy.d.ts +2 -0
- package/query-builder/common/model/operator.d.ts +11 -1
- package/query-builder/common/services/query-structure.service.d.ts +1 -0
- package/query-builder/query-builder-item/query-builder-item.component.d.ts +3 -1
- package/query-builder/query-builder.module.d.ts +7 -3
- package/remote-loader/addon-block-loader.component.d.ts +4 -2
- package/remote-loader/remote-loader-element.component.d.ts +8 -1
- package/remote-loader/remote-loader.model.d.ts +1 -0
- package/remote-loader/remote-loader.service.d.ts +3 -1
- package/reset-configuration-field/index.d.ts +5 -0
- package/reset-configuration-field/public-api.d.ts +2 -0
- package/reset-configuration-field/reset-configuration-field.component.d.ts +23 -0
- package/reset-configuration-field/reset-configuration-field.module.d.ts +12 -0
- package/rich-html-textarea/rich-html-textarea.component.d.ts +4 -1
- package/rich-html-textarea/rich-html-textarea.component.theme.scss +4 -2
- package/search/search.component.d.ts +9 -3
- package/select/select.component.d.ts +18 -2
- package/select-panel/select-panel.component.d.ts +1 -2
- package/side-bar/side-bar.component.d.ts +4 -1
- package/signature/public-api.d.ts +1 -0
- package/signature/signature-dialog.component.d.ts +29 -0
- package/signature/signature.component.d.ts +3 -13
- package/signature/signature.module.d.ts +16 -15
- package/size-detector/size-detector.component.d.ts +6 -3
- package/skeleton-loader/skeleton-loader.component.d.ts +15 -7
- package/slider/slider.component.theme.scss +4 -0
- package/smart-filters/boolean-filter/boolean-filter.component.d.ts +3 -0
- package/smart-filters/common/model/base-filter-component.d.ts +2 -4
- package/smart-filters/common/model/operator.d.ts +3 -0
- package/smart-filters/common/model/type.d.ts +1 -1
- package/smart-filters/date-filter/date-filter.component.d.ts +3 -0
- package/smart-filters/multi-select-filter/multi-select-filter.component.d.ts +3 -0
- package/smart-filters/number-filter/number-filter.component.d.ts +3 -0
- package/smart-filters/text-filter/text-filter.component.d.ts +4 -0
- package/snack-bar/snack-bar.component.d.ts +9 -4
- package/src/assets/i18n/ar.ngx-lib.json +180 -0
- package/src/assets/i18n/de.ngx-lib.json +106 -4
- package/src/assets/i18n/en.ngx-lib.json +14 -3
- package/src/assets/i18n/es.ngx-lib.json +113 -11
- package/src/assets/i18n/fr.ngx-lib.json +105 -4
- package/src/assets/i18n/he.ngx-lib.json +105 -4
- package/src/assets/i18n/it.ngx-lib.json +114 -13
- package/src/assets/i18n/ja.ngx-lib.json +105 -4
- package/src/assets/i18n/pl.ngx-lib.json +105 -4
- package/src/assets/i18n/pt.ngx-lib.json +105 -4
- package/src/assets/i18n/sr.ngx-lib.json +180 -0
- package/src/assets/i18n/zh.ngx-lib.json +105 -2
- package/src/core/style/abstracts/mixins.scss +135 -26
- package/src/core/style/abstracts/variables.scss +10 -1
- package/src/core/style/base/Spacing.stories.mdx +22 -22
- package/src/core/style/base/base.scss +16 -14
- package/src/core/style/base/typography.scss +2 -1
- package/src/core/style/components/button.scss +11 -0
- package/src/core/style/components/checkbox.scss +13 -63
- package/src/core/style/components/file.scss +4 -4
- package/src/core/style/components/general.scss +27 -9
- package/src/core/style/components/textarea.scss +13 -0
- package/textarea/textarea.component.d.ts +2 -1
- package/textbox/textbox.component.d.ts +10 -3
- package/theming.scss +5 -1
- package/top-bar/top-bar.component.d.ts +2 -0
- package/src/assets/images/sail-away.jpg +0 -0
- package/src/core/style/abstracts/AbstractsIntro.stories.mdx +0 -7
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy, ViewChild, TemplateRef, } from '@angular/core';
|
|
2
|
+
import { PepCustomizationService, DEFAULT_HORIZONTAL_ALIGNMENT, PepTextareaField, } from '@pepperi-addons/ngx-lib';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@pepperi-addons/ngx-lib/dialog";
|
|
5
|
+
import * as i2 from "@pepperi-addons/ngx-lib";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
import * as i5 from "@angular/cdk/bidi";
|
|
9
|
+
import * as i6 from "@angular/material/button";
|
|
10
|
+
import * as i7 from "@angular/material/form-field";
|
|
11
|
+
import * as i8 from "@angular/material/input";
|
|
12
|
+
import * as i9 from "@angular/material/icon";
|
|
13
|
+
import * as i10 from "@pepperi-addons/ngx-lib/icon";
|
|
14
|
+
import * as i11 from "@pepperi-addons/ngx-lib/field-title";
|
|
15
|
+
import * as i12 from "@pepperi-addons/ngx-lib/textbox-icon";
|
|
16
|
+
import * as i13 from "./json-tree-node.component";
|
|
17
|
+
import * as i14 from "@ngx-translate/core";
|
|
18
|
+
export class PepJsonEditorComponent {
|
|
19
|
+
constructor(dialogService, customizationService, renderer, element) {
|
|
20
|
+
this.dialogService = dialogService;
|
|
21
|
+
this.customizationService = customizationService;
|
|
22
|
+
this.renderer = renderer;
|
|
23
|
+
this.element = element;
|
|
24
|
+
this.key = '';
|
|
25
|
+
this.value = '';
|
|
26
|
+
this.label = '';
|
|
27
|
+
this.mandatory = false;
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
this.readonly = false;
|
|
30
|
+
this.textColor = '';
|
|
31
|
+
this.xAlignment = DEFAULT_HORIZONTAL_ALIGNMENT;
|
|
32
|
+
// 'object' means free-form JSON string. 'array' means the input/output API is an array
|
|
33
|
+
this.jsonType = 'object';
|
|
34
|
+
this._rowSpan = 1;
|
|
35
|
+
this._visible = true;
|
|
36
|
+
this.controlType = 'jsoneditor';
|
|
37
|
+
this.form = null;
|
|
38
|
+
this.isActive = false;
|
|
39
|
+
this.showTitle = true;
|
|
40
|
+
this.renderTitle = true;
|
|
41
|
+
this._layoutType = 'form';
|
|
42
|
+
this.valueChange = new EventEmitter();
|
|
43
|
+
this.keyup = new EventEmitter();
|
|
44
|
+
this.validationChange = new EventEmitter();
|
|
45
|
+
this.fieldHeight = '';
|
|
46
|
+
this.standAlone = false;
|
|
47
|
+
this.isInEditMode = false;
|
|
48
|
+
// Dialog working value and preview tree
|
|
49
|
+
this.dialogValue = '';
|
|
50
|
+
this.treeData = [];
|
|
51
|
+
this.dialogError = null;
|
|
52
|
+
this.jsonValidatorFactory = (isRequired) => {
|
|
53
|
+
return (control) => {
|
|
54
|
+
const text = control?.value;
|
|
55
|
+
if (!text || text.trim().length === 0) {
|
|
56
|
+
return isRequired ? { required: true } : null;
|
|
57
|
+
}
|
|
58
|
+
try {
|
|
59
|
+
const parsed = JSON.parse(text);
|
|
60
|
+
if (this.jsonType === 'array' && !Array.isArray(parsed)) {
|
|
61
|
+
return { jsonArrayRequired: true };
|
|
62
|
+
}
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
catch {
|
|
66
|
+
return { jsonInvalid: true };
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
set rowSpan(value) {
|
|
72
|
+
this._rowSpan = value;
|
|
73
|
+
this.setFieldHeight();
|
|
74
|
+
}
|
|
75
|
+
get rowSpan() {
|
|
76
|
+
return this._rowSpan;
|
|
77
|
+
}
|
|
78
|
+
set visible(visible) {
|
|
79
|
+
this._visible = visible;
|
|
80
|
+
if (visible) {
|
|
81
|
+
this.renderer.removeClass(this.element.nativeElement, 'hidden-element');
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
this.renderer.addClass(this.element.nativeElement, 'hidden-element');
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
get visible() {
|
|
88
|
+
return this._visible;
|
|
89
|
+
}
|
|
90
|
+
set layoutType(value) {
|
|
91
|
+
this._layoutType = value;
|
|
92
|
+
this.setFieldHeight();
|
|
93
|
+
}
|
|
94
|
+
get layoutType() {
|
|
95
|
+
return this._layoutType;
|
|
96
|
+
}
|
|
97
|
+
setFieldHeight() {
|
|
98
|
+
this.fieldHeight = this.customizationService.calculateFieldHeight(this.layoutType, this.rowSpan, this.standAlone);
|
|
99
|
+
}
|
|
100
|
+
setDefaultForm() {
|
|
101
|
+
const pepField = new PepTextareaField({
|
|
102
|
+
key: this.key,
|
|
103
|
+
value: this.value,
|
|
104
|
+
mandatory: this.mandatory,
|
|
105
|
+
readonly: this.readonly,
|
|
106
|
+
disabled: this.disabled,
|
|
107
|
+
});
|
|
108
|
+
this.form = this.customizationService.getDefaultFromGroup(pepField);
|
|
109
|
+
// add JSON validator on top of base validators
|
|
110
|
+
this.attachJsonValidator();
|
|
111
|
+
}
|
|
112
|
+
ngOnInit() {
|
|
113
|
+
if (this.form === null) {
|
|
114
|
+
this.standAlone = true;
|
|
115
|
+
this.setFieldHeight();
|
|
116
|
+
this.setDefaultForm();
|
|
117
|
+
this.renderer.addClass(this.element.nativeElement, PepCustomizationService.STAND_ALONE_FIELD_CLASS_NAME);
|
|
118
|
+
if (!this.renderTitle) {
|
|
119
|
+
this.renderer.addClass(this.element.nativeElement, PepCustomizationService.STAND_ALONE_FIELD_NO_SPACING_CLASS_NAME);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
// External form was provided - still attach the JSON validator.
|
|
124
|
+
this.attachJsonValidator();
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
ngOnChanges() {
|
|
128
|
+
if (this.standAlone) {
|
|
129
|
+
this.setDefaultForm();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
ngOnDestroy() {
|
|
133
|
+
//
|
|
134
|
+
}
|
|
135
|
+
onKeyup(event) {
|
|
136
|
+
this.keyup.emit(event);
|
|
137
|
+
}
|
|
138
|
+
onBlur(event) {
|
|
139
|
+
const value = event.target ? event.target.value : event;
|
|
140
|
+
this.changeValue(value);
|
|
141
|
+
setTimeout(() => {
|
|
142
|
+
if (this.isInEditMode) {
|
|
143
|
+
this.isInEditMode = false;
|
|
144
|
+
}
|
|
145
|
+
}, 0);
|
|
146
|
+
}
|
|
147
|
+
changeValue(value) {
|
|
148
|
+
if (value !== this.value) {
|
|
149
|
+
this.value = value;
|
|
150
|
+
// keep the form control in sync
|
|
151
|
+
this.customizationService.updateFormFieldValue(this.form, this.key, value);
|
|
152
|
+
if (this.standAlone) {
|
|
153
|
+
const isValid = this.disabled || this.readonly ? true : this.form.valid;
|
|
154
|
+
this.validationChange.emit(isValid);
|
|
155
|
+
}
|
|
156
|
+
this.valueChange.emit(value);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
cardTemplateClicked() {
|
|
160
|
+
this.openDialog();
|
|
161
|
+
}
|
|
162
|
+
openDialog() {
|
|
163
|
+
const config = this.dialogService.getDialogConfig({}, 'regular');
|
|
164
|
+
this.dialogValue = this.value;
|
|
165
|
+
this.refreshTree(this.dialogValue);
|
|
166
|
+
this.dialogRef = this.dialogService.openDialog(this.jsonEditorDialogTemplate, {}, config);
|
|
167
|
+
this.dialogRef.afterClosed().subscribe((val) => {
|
|
168
|
+
if (val !== undefined && val !== null) {
|
|
169
|
+
this.changeValue(val);
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
closeDialog(data = null) {
|
|
174
|
+
this.dialogRef?.close(data);
|
|
175
|
+
}
|
|
176
|
+
// JSON validation
|
|
177
|
+
attachJsonValidator() {
|
|
178
|
+
const control = this.customizationService.getFormControl(this.form, this.key);
|
|
179
|
+
if (control) {
|
|
180
|
+
const jsonValidator = this.jsonValidatorFactory(this.mandatory);
|
|
181
|
+
const currentValidator = control.validator ? [control.validator] : [];
|
|
182
|
+
control.setValidators([...currentValidator, jsonValidator]);
|
|
183
|
+
control.updateValueAndValidity({ emitEvent: false });
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
isValidJson(text) {
|
|
187
|
+
if (!text || text.trim().length === 0) {
|
|
188
|
+
return !this.mandatory; // empty allowed only if not mandatory
|
|
189
|
+
}
|
|
190
|
+
try {
|
|
191
|
+
const parsed = JSON.parse(text);
|
|
192
|
+
if (this.jsonType === 'array') {
|
|
193
|
+
return Array.isArray(parsed);
|
|
194
|
+
}
|
|
195
|
+
return true;
|
|
196
|
+
}
|
|
197
|
+
catch {
|
|
198
|
+
return false;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
// Tree helpers
|
|
202
|
+
refreshTree(text) {
|
|
203
|
+
this.treeData = [];
|
|
204
|
+
this.dialogError = null;
|
|
205
|
+
try {
|
|
206
|
+
const obj = text ? JSON.parse(text) : null;
|
|
207
|
+
if (obj !== null && obj !== undefined) {
|
|
208
|
+
this.treeData = this.buildTree(obj, 'root');
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
catch (e) {
|
|
212
|
+
this.dialogError = e?.message ?? 'Unknown parsing error';
|
|
213
|
+
this.treeData = [];
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
buildTree(value, key, path = '') {
|
|
217
|
+
const node = {
|
|
218
|
+
key,
|
|
219
|
+
value,
|
|
220
|
+
path: path ? `${path}.${key}` : key,
|
|
221
|
+
isObject: value !== null && typeof value === 'object' && !Array.isArray(value),
|
|
222
|
+
isArray: Array.isArray(value),
|
|
223
|
+
children: [],
|
|
224
|
+
};
|
|
225
|
+
if (node.isObject) {
|
|
226
|
+
node.children = Object.keys(value).map((k) => this.buildTree(value[k], k, node.path)[0]);
|
|
227
|
+
}
|
|
228
|
+
else if (node.isArray) {
|
|
229
|
+
node.children = value.map((v, i) => this.buildTree(v, `[${i}]`, node.path)[0]);
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
node.children = [];
|
|
233
|
+
}
|
|
234
|
+
return [node];
|
|
235
|
+
}
|
|
236
|
+
// Helpers
|
|
237
|
+
get displayValueString() {
|
|
238
|
+
return this.value ?? '';
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
PepJsonEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepJsonEditorComponent, deps: [{ token: i1.PepDialogService }, { token: i2.PepCustomizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
242
|
+
PepJsonEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: PepJsonEditorComponent, selector: "pep-json-editor", inputs: { key: "key", value: "value", label: "label", mandatory: "mandatory", disabled: "disabled", readonly: "readonly", textColor: "textColor", xAlignment: "xAlignment", jsonType: "jsonType", rowSpan: "rowSpan", visible: "visible", form: "form", isActive: "isActive", showTitle: "showTitle", renderTitle: "renderTitle", layoutType: "layoutType" }, outputs: { valueChange: "valueChange", keyup: "keyup", validationChange: "validationChange" }, viewQueries: [{ propertyName: "jsonEditorDialogTemplate", first: true, predicate: ["jsonEditorDialogTemplate"], descendants: true, read: TemplateRef }], usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <ng-template #pepTemplate let-isFormView=\"isFormView\">\n <div class=\"pep-json-editor-container\" [ngClass]=\"{ 'stand-alone': standAlone,\n 'right-alignment': xAlignment == 'right', 'one-row': rowSpan === 1,\n 'pep-json-editor-card-container': layoutType === 'card'}\">\n <pep-field-title *ngIf=\"renderTitle && isFormView\" [label]=\"label\" [mandatory]=\"mandatory\"\n [disabled]=\"disabled\"\n [xAlignment]=\"xAlignment\" [showTitle]=\"showTitle\" [inputLength]=\"input.value?.length\">\n </pep-field-title>\n <mat-form-field appearance=\"outline\" dir=\"{{ xAlignment == 'right' ? 'rtl' : 'ltr' }}\"\n [ngClass]=\"{ 'pep-table-json-editor': layoutType === 'table', 'icon-left': xAlignment === 'left' || xAlignment === 'center', 'icon-right': xAlignment === 'right' }\">\n <textarea #input [hidden]=\"readonly\" [id]=\"key\" class=\"body-sm\" matInput (blur)=\"onBlur($event)\"\n title=\"{{ displayValueString }}\" [value]=\"displayValueString\"\n [ngStyle]=\"{ color: textColor, 'text-align': xAlignment == 'right' ? 'right' : 'left' }\"\n [formControlName]=\"key\" [style.height]=\"fieldHeight\"\n (keyup)=\"onKeyup($event)\">\n </textarea>\n <div *ngIf=\"readonly\" class=\"body-sm disable-text-div\" title=\"{{ displayValueString }}\"\n [ngStyle]=\"{ color: textColor, 'text-align': xAlignment == 'right' ? 'right' : 'left' }\"\n [style.height]=\"fieldHeight\">\n {{ displayValueString }}\n </div>\n <pep-textbox-icon matSuffix [value]=\"value\" [label]=\"label\" [type]=\"controlType\"\n [disabled]=\"disabled || readonly\"\n [ngClass]=\"{ 'card-one-row-icon': layoutType === 'card' && rowSpan === 1 }\"\n (iconClick)=\"openDialog()\">\n </pep-textbox-icon>\n <mat-error>\n <span class=\"body-xs\"\n [title]=\"(mandatory && (value?.length || 0) == 0) ? ('MESSAGES.ERROR_IS_REQUIRED' | translate: { field: label }) : ('MESSAGES.ERROR_IS_NOT_VALID' | translate: { field: label })\"\n [innerText]=\"(mandatory && (value?.length || 0) == 0) ? ('MESSAGES.ERROR_IS_REQUIRED' | translate: { field: label }) : ('MESSAGES.ERROR_IS_NOT_VALID' | translate: { field: label })\"></span>\n </mat-error>\n </mat-form-field>\n </div>\n </ng-template>\n\n <ng-container *ngIf=\"layoutType === 'form'\">\n <ng-container *ngTemplateOutlet=\"pepTemplate; context: { isFormView: true }\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"layoutType === 'card'\">\n <div class=\"pep-json-editor-card-container card-flex-container\"\n [ngClass]=\"{'one-row': rowSpan === 1, 'pep-button weak': isActive && !disabled}\"\n [ngStyle]=\"{ color: textColor, '-webkit-line-clamp': rowSpan }\" [class]=\"'text-align-' + xAlignment\"\n (click)=\"!disabled ? cardTemplateClicked() : ''\" [style.height]=\"fieldHeight\">\n <span *ngIf=\" showTitle && label !=''\" class=\" body-xs title no-shrink\" title=\"{{ label }}\">{{ label }} </span>\n <span [id]=\"key\" title=\"{{ displayValueString }}\" class=\"body-sm value wrap\">{{ displayValueString }}</span>\n <button *ngIf=\"isActive && !disabled\" class=\"pep-button weak card-edit-button self-start\"\n [ngClass]=\"{'self-end' : value && value !== ''}\" mat-button>\n <mat-icon>\n <pep-icon name=\"system_edit\"></pep-icon>\n </mat-icon>\n </button>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"layoutType === 'table'\">\n <ng-container *ngIf=\"isActive && !disabled; then selectedBlock; else notSelectedBlock\"></ng-container>\n <ng-template #selectedBlock>\n <ng-container *ngTemplateOutlet=\"pepTemplate; context: { isFormView: false }\"></ng-container>\n </ng-template>\n <ng-template #notSelectedBlock>\n <ng-container *ngIf=\"value?.length > 0; then notEmptyBlock; else emptyBlock\"></ng-container>\n <ng-template #notEmptyBlock>\n <mat-form-field appearance=\"outline\" dir=\"{{ xAlignment == 'right' ? 'rtl' : 'ltr' }}\"\n class=\"pep-report-json-editor\" [ngClass]=\"{ readonly: disabled }\">\n <input matInput [id]=\"key\" class=\"body-sm pep-report-input\" [ngClass]=\"{ readonly: disabled}\"\n [ngStyle]=\"{ color: textColor, 'text-align': xAlignment == 'center' ? 'center' : xAlignment == 'right' ? 'right' : 'left' }\"\n title=\"{{ displayValueString }}\" [formControlName]=\"key\" type=\"text\" [value]=\"displayValueString\" [disabled]=\"true\" />\n <pep-textbox-icon *ngIf=\"disabled && xAlignment == 'right'\" matPrefix [value]=\"value\"\n [label]=\"label\" [type]=\"controlType\" [disabled]=\"disabled\" (iconClick)=\"openDialog()\">\n </pep-textbox-icon>\n <pep-textbox-icon *ngIf=\"disabled && (xAlignment == 'left')\" matSuffix [value]=\"value\"\n [label]=\"label\" [type]=\"controlType\" [disabled]=\"disabled\" (iconClick)=\"openDialog()\">\n </pep-textbox-icon>\n </mat-form-field>\n </ng-template>\n <ng-template #emptyBlock>\n <span> </span>\n </ng-template>\n </ng-template>\n </ng-container>\n</ng-container>\n\n<ng-template #jsonEditorDialogTemplate>\n <pep-dialog class=\"dialog-json-editor-container\" [title]=\"label\" (close)=\"closeDialog($event)\">\n <ng-container pep-dialog-content>\n <div class=\"dialog-content\">\n <div class=\"json-editor\">\n <textarea #dialogTextarea [readonly]=\"disabled || readonly\" class=\"body-sm\" matInput\n title=\"{{ dialogValue }}\" [value]=\"dialogValue\"\n [ngStyle]=\"{ color: textColor }\"\n (input)=\"dialogValue = dialogTextarea.value; refreshTree(dialogValue)\">\n </textarea>\n </div>\n <div class=\"json-preview\" *ngIf=\"treeData?.length > 0\">\n <div class=\"tree-root body-sm\">\n <ng-container *ngFor=\"let node of treeData\">\n <pep-json-tree-node [node]=\"node\"></pep-json-tree-node>\n </ng-container>\n </div>\n </div>\n \n </div>\n <div class=\"json-error\" *ngIf=\"dialogError as err\" role=\"alert\" aria-live=\"assertive\">\n <mat-icon class=\"error-icon\">error_outline</mat-icon>\n <div class=\"error-content\">\n <div class=\"title body-sm\">Invalid JSON</div>\n <div class=\"message body-xs\">{{ err }}</div>\n </div>\n </div>\n </ng-container>\n <div pep-dialog-actions class=\"pep-spacing-element-negative\">\n <ng-container *ngIf=\"disabled || readonly; then notEditableBlock; else editableBlock\"></ng-container>\n <ng-template #editableBlock>\n <button mat-button (click)=\"closeDialog()\" class=\"pep-spacing-element pep-button md weak\">\n {{ 'ACTIONS.CANCEL' | translate }}\n </button>\n <button mat-button class=\"pep-spacing-element pep-button md strong\"\n [disabled]=\"!isValidJson(dialogValue)\"\n (click)=\"closeDialog(dialogTextarea.value)\">\n {{ 'ACTIONS.SAVE' | translate }}\n </button>\n </ng-template>\n <ng-template #notEditableBlock>\n <button mat-button (click)=\"closeDialog()\" class=\"pep-spacing-element pep-button md weak\">\n {{ 'ACTIONS.CLOSE' | translate }}\n </button>\n </ng-template>\n </div>\n </pep-dialog>\n</ng-template>\n", styles: [".pepperi-json-editor-container,.pep-json-editor-container,.pepperi-textarea-container,.pep-textarea-container{height:inherit;display:grid;align-items:center}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{display:flex}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{line-height:unset;width:100%;height:100%;overflow:hidden;display:grid!important}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{margin:0;padding:.5rem 1.5rem .5rem 0;vertical-align:unset;resize:none;width:100%;max-width:unset;overflow-y:scroll;box-sizing:content-box}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-suffix{align-self:flex-end!important;margin-bottom:.5rem}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element{padding-top:.35rem}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix{align-self:center!important;margin-bottom:unset}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button{width:1rem!important;height:1rem!important}.pepperi-json-editor-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element{padding-top:.135rem!important}.pepperi-json-editor-container .rich-text-cont,.pep-json-editor-container .rich-text-cont,.pepperi-textarea-container .rich-text-cont,.pep-textarea-container .rich-text-cont{overflow-x:hidden;display:inline-block;vertical-align:unset;margin:0;padding:.5rem 1.5rem .5rem 0;resize:none;width:calc(100% + 3rem);max-width:unset;overflow-y:scroll;box-sizing:border-box}.pepperi-json-editor-container .rich-text-cont.hide-enlarge-button,.pep-json-editor-container .rich-text-cont.hide-enlarge-button,.pepperi-textarea-container .rich-text-cont.hide-enlarge-button,.pep-textarea-container .rich-text-cont.hide-enlarge-button{padding-inline-end:3rem}.pepperi-json-editor-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{padding:.5rem 0 .5rem 1.5rem}.pepperi-json-editor-container.right-alignment .rich-text-cont,.pep-json-editor-container.right-alignment .rich-text-cont,.pepperi-textarea-container.right-alignment .rich-text-cont,.pep-textarea-container.right-alignment .rich-text-cont{padding:.5rem 0 .5rem 1.5rem}.pepperi-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{padding-left:.5rem;padding-right:.5rem}.pepperi-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pep-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pepperi-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pep-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element{padding:.25rem 1.5rem .5rem 0}.pepperi-json-editor-card-container.card-flex-container,.pep-json-editor-card-container.card-flex-container,.pepperi-textarea-card-container.card-flex-container,.pep-textarea-card-container.card-flex-container{height:inherit;display:flex;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;white-space:unset;padding:.25rem;max-width:100%}.pepperi-json-editor-card-container.card-flex-container.one-row .title,.pep-json-editor-card-container.card-flex-container.one-row .title,.pepperi-textarea-card-container.card-flex-container.one-row .title,.pep-textarea-card-container.card-flex-container.one-row .title{padding-top:.25rem}.pepperi-json-editor-card-container.card-flex-container span.value,.pep-json-editor-card-container.card-flex-container span.value,.pepperi-textarea-card-container.card-flex-container span.value,.pep-textarea-card-container.card-flex-container span.value{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;white-space:unset}.pepperi-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pepperi-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{line-height:0!important}.pepperi-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pepperi-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element{padding-top:0;padding-bottom:0}.pepperi-json-editor-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{padding:.25rem 0 .5rem 1.5rem}.pepperi-report-json-editor ::ng-deep .mat-form-field-suffix,.pep-report-json-editor ::ng-deep .mat-form-field-suffix,.pepperi-report-textarea ::ng-deep .mat-form-field-suffix,.pep-report-textarea ::ng-deep .mat-form-field-suffix{right:0!important}.pepperi-report-json-editor.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-report-json-editor.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-report-textarea.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-report-textarea.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{padding:0}:host{height:inherit;display:grid}:host>*{align-self:center}.disable-text-div{display:inline-block;vertical-align:middle;margin:0;padding:.5rem 1.5rem .5rem 0;overflow-y:hidden;white-space:pre-wrap}.right-alignment .disable-text-div{padding:.5rem 0 .5rem 1.5rem}.dialog-json-editor-container .dialog-content{display:grid;grid-template-columns:1fr 1fr;gap:var(--pep-spacing-md);min-height:40vh;max-height:70vh}.dialog-json-editor-container textarea{width:100%;height:100%;resize:none}.dialog-json-editor-container .json-error{display:flex;margin-top:var(--pep-spacing-md, .75rem);align-items:flex-start;gap:var(--pep-spacing-sm, .5rem);padding:var(--pep-spacing-sm, .5rem) var(--pep-spacing-md, .75rem);background:hsla(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%),.08);border:1px solid hsla(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%),.16);border-left:3px solid hsl(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%));border-radius:var(--pep-border-radius-md, .25rem);color:hsl(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%))}.dialog-json-editor-container .json-error .error-icon{color:hsl(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%))}.dialog-json-editor-container .json-error .error-content .title{font-weight:var(--pep-font-weight-bold, 600);margin-bottom:var(--pep-spacing-2xs, .125rem)}.dialog-json-editor-container .json-error .error-content .message{color:hsl(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%))}.dialog-json-editor-container .json-editor{border:1px solid hsla(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%),.24);border-radius:var(--pep-border-radius-md, .25rem)}.dialog-json-editor-container .json-preview{overflow:auto;border:1px solid hsla(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%),.24);border-radius:var(--pep-border-radius-md, .25rem);padding:var(--pep-spacing-sm, .5rem);background:hsl(var(--pep-color-system-primary-invert-h, 255),var(--pep-color-system-primary-invert-s, 100%),var(--pep-color-system-primary-invert-l, 100%))}\n", ".pepperi-json-editor-container,.pep-json-editor-container,.pepperi-textarea-container,.pep-textarea-container{height:inherit;display:grid;align-items:center}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{display:flex}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{line-height:unset;width:100%;height:100%;overflow:hidden;display:grid!important}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{margin:0;padding:.5rem 1.5rem .5rem 0;vertical-align:unset;resize:none;width:100%;max-width:unset;overflow-y:scroll;box-sizing:content-box}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-suffix{align-self:flex-end!important;margin-bottom:.5rem}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element{padding-top:.35rem}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix{align-self:center!important;margin-bottom:unset}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button{width:1rem!important;height:1rem!important}.pepperi-json-editor-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element{padding-top:.135rem!important}.pepperi-json-editor-container .rich-text-cont,.pep-json-editor-container .rich-text-cont,.pepperi-textarea-container .rich-text-cont,.pep-textarea-container .rich-text-cont{overflow-x:hidden;display:inline-block;vertical-align:unset;margin:0;padding:.5rem 1.5rem .5rem 0;resize:none;width:calc(100% + 3rem);max-width:unset;overflow-y:scroll;box-sizing:border-box}.pepperi-json-editor-container .rich-text-cont.hide-enlarge-button,.pep-json-editor-container .rich-text-cont.hide-enlarge-button,.pepperi-textarea-container .rich-text-cont.hide-enlarge-button,.pep-textarea-container .rich-text-cont.hide-enlarge-button{padding-inline-end:3rem}.pepperi-json-editor-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{padding:.5rem 0 .5rem 1.5rem}.pepperi-json-editor-container.right-alignment .rich-text-cont,.pep-json-editor-container.right-alignment .rich-text-cont,.pepperi-textarea-container.right-alignment .rich-text-cont,.pep-textarea-container.right-alignment .rich-text-cont{padding:.5rem 0 .5rem 1.5rem}.pepperi-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{padding-left:.5rem;padding-right:.5rem}.pepperi-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pep-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pepperi-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pep-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element{padding:.25rem 1.5rem .5rem 0}.pepperi-json-editor-card-container.card-flex-container,.pep-json-editor-card-container.card-flex-container,.pepperi-textarea-card-container.card-flex-container,.pep-textarea-card-container.card-flex-container{height:inherit;display:flex;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;white-space:unset;padding:.25rem;max-width:100%}.pepperi-json-editor-card-container.card-flex-container.one-row .title,.pep-json-editor-card-container.card-flex-container.one-row .title,.pepperi-textarea-card-container.card-flex-container.one-row .title,.pep-textarea-card-container.card-flex-container.one-row .title{padding-top:.25rem}.pepperi-json-editor-card-container.card-flex-container span.value,.pep-json-editor-card-container.card-flex-container span.value,.pepperi-textarea-card-container.card-flex-container span.value,.pep-textarea-card-container.card-flex-container span.value{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;white-space:unset}.pepperi-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pepperi-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{line-height:0!important}.pepperi-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pepperi-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element{padding-top:0;padding-bottom:0}.pepperi-json-editor-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{padding:.25rem 0 .5rem 1.5rem}.pepperi-report-json-editor ::ng-deep .mat-form-field-suffix,.pep-report-json-editor ::ng-deep .mat-form-field-suffix,.pepperi-report-textarea ::ng-deep .mat-form-field-suffix,.pep-report-textarea ::ng-deep .mat-form-field-suffix{right:0!important}.pepperi-report-json-editor.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-report-json-editor.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-report-textarea.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-report-textarea.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{padding:0}.pepperi-report-json-editor ::ng-deep .mat-form-field-flex,.pep-report-json-editor ::ng-deep .mat-form-field-flex{background:transparent!important}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { kind: "component", type: i6.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"] }, { kind: "directive", type: i7.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i7.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i7.MatPrefix, selector: "[matPrefix]" }, { kind: "directive", type: i7.MatSuffix, selector: "[matSuffix]" }, { kind: "directive", type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i10.PepIconComponent, selector: "pep-icon", inputs: ["spin", "name", "fill"] }, { kind: "component", type: i11.PepFieldTitleComponent, selector: "pep-field-title", inputs: ["label", "mandatory", "disabled", "maxFieldCharacters", "hint", "xAlignment", "showTitle", "inputLength", "fontBodyType", "multiLine"] }, { kind: "component", type: i12.PepTextboxIconComponent, selector: "pep-textbox-icon", inputs: ["value", "label", "type", "disabled"], outputs: ["iconClick"] }, { kind: "component", type: i1.PepDialogComponent, selector: "pep-dialog", inputs: ["title", "showClose", "showHeader", "showFooter"], outputs: ["close"] }, { kind: "component", type: i13.PepJsonTreeNodeComponent, selector: "pep-json-tree-node", inputs: ["node"] }, { kind: "pipe", type: i14.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepJsonEditorComponent, decorators: [{
|
|
244
|
+
type: Component,
|
|
245
|
+
args: [{ selector: 'pep-json-editor', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [formGroup]=\"form\">\n <ng-template #pepTemplate let-isFormView=\"isFormView\">\n <div class=\"pep-json-editor-container\" [ngClass]=\"{ 'stand-alone': standAlone,\n 'right-alignment': xAlignment == 'right', 'one-row': rowSpan === 1,\n 'pep-json-editor-card-container': layoutType === 'card'}\">\n <pep-field-title *ngIf=\"renderTitle && isFormView\" [label]=\"label\" [mandatory]=\"mandatory\"\n [disabled]=\"disabled\"\n [xAlignment]=\"xAlignment\" [showTitle]=\"showTitle\" [inputLength]=\"input.value?.length\">\n </pep-field-title>\n <mat-form-field appearance=\"outline\" dir=\"{{ xAlignment == 'right' ? 'rtl' : 'ltr' }}\"\n [ngClass]=\"{ 'pep-table-json-editor': layoutType === 'table', 'icon-left': xAlignment === 'left' || xAlignment === 'center', 'icon-right': xAlignment === 'right' }\">\n <textarea #input [hidden]=\"readonly\" [id]=\"key\" class=\"body-sm\" matInput (blur)=\"onBlur($event)\"\n title=\"{{ displayValueString }}\" [value]=\"displayValueString\"\n [ngStyle]=\"{ color: textColor, 'text-align': xAlignment == 'right' ? 'right' : 'left' }\"\n [formControlName]=\"key\" [style.height]=\"fieldHeight\"\n (keyup)=\"onKeyup($event)\">\n </textarea>\n <div *ngIf=\"readonly\" class=\"body-sm disable-text-div\" title=\"{{ displayValueString }}\"\n [ngStyle]=\"{ color: textColor, 'text-align': xAlignment == 'right' ? 'right' : 'left' }\"\n [style.height]=\"fieldHeight\">\n {{ displayValueString }}\n </div>\n <pep-textbox-icon matSuffix [value]=\"value\" [label]=\"label\" [type]=\"controlType\"\n [disabled]=\"disabled || readonly\"\n [ngClass]=\"{ 'card-one-row-icon': layoutType === 'card' && rowSpan === 1 }\"\n (iconClick)=\"openDialog()\">\n </pep-textbox-icon>\n <mat-error>\n <span class=\"body-xs\"\n [title]=\"(mandatory && (value?.length || 0) == 0) ? ('MESSAGES.ERROR_IS_REQUIRED' | translate: { field: label }) : ('MESSAGES.ERROR_IS_NOT_VALID' | translate: { field: label })\"\n [innerText]=\"(mandatory && (value?.length || 0) == 0) ? ('MESSAGES.ERROR_IS_REQUIRED' | translate: { field: label }) : ('MESSAGES.ERROR_IS_NOT_VALID' | translate: { field: label })\"></span>\n </mat-error>\n </mat-form-field>\n </div>\n </ng-template>\n\n <ng-container *ngIf=\"layoutType === 'form'\">\n <ng-container *ngTemplateOutlet=\"pepTemplate; context: { isFormView: true }\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"layoutType === 'card'\">\n <div class=\"pep-json-editor-card-container card-flex-container\"\n [ngClass]=\"{'one-row': rowSpan === 1, 'pep-button weak': isActive && !disabled}\"\n [ngStyle]=\"{ color: textColor, '-webkit-line-clamp': rowSpan }\" [class]=\"'text-align-' + xAlignment\"\n (click)=\"!disabled ? cardTemplateClicked() : ''\" [style.height]=\"fieldHeight\">\n <span *ngIf=\" showTitle && label !=''\" class=\" body-xs title no-shrink\" title=\"{{ label }}\">{{ label }} </span>\n <span [id]=\"key\" title=\"{{ displayValueString }}\" class=\"body-sm value wrap\">{{ displayValueString }}</span>\n <button *ngIf=\"isActive && !disabled\" class=\"pep-button weak card-edit-button self-start\"\n [ngClass]=\"{'self-end' : value && value !== ''}\" mat-button>\n <mat-icon>\n <pep-icon name=\"system_edit\"></pep-icon>\n </mat-icon>\n </button>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"layoutType === 'table'\">\n <ng-container *ngIf=\"isActive && !disabled; then selectedBlock; else notSelectedBlock\"></ng-container>\n <ng-template #selectedBlock>\n <ng-container *ngTemplateOutlet=\"pepTemplate; context: { isFormView: false }\"></ng-container>\n </ng-template>\n <ng-template #notSelectedBlock>\n <ng-container *ngIf=\"value?.length > 0; then notEmptyBlock; else emptyBlock\"></ng-container>\n <ng-template #notEmptyBlock>\n <mat-form-field appearance=\"outline\" dir=\"{{ xAlignment == 'right' ? 'rtl' : 'ltr' }}\"\n class=\"pep-report-json-editor\" [ngClass]=\"{ readonly: disabled }\">\n <input matInput [id]=\"key\" class=\"body-sm pep-report-input\" [ngClass]=\"{ readonly: disabled}\"\n [ngStyle]=\"{ color: textColor, 'text-align': xAlignment == 'center' ? 'center' : xAlignment == 'right' ? 'right' : 'left' }\"\n title=\"{{ displayValueString }}\" [formControlName]=\"key\" type=\"text\" [value]=\"displayValueString\" [disabled]=\"true\" />\n <pep-textbox-icon *ngIf=\"disabled && xAlignment == 'right'\" matPrefix [value]=\"value\"\n [label]=\"label\" [type]=\"controlType\" [disabled]=\"disabled\" (iconClick)=\"openDialog()\">\n </pep-textbox-icon>\n <pep-textbox-icon *ngIf=\"disabled && (xAlignment == 'left')\" matSuffix [value]=\"value\"\n [label]=\"label\" [type]=\"controlType\" [disabled]=\"disabled\" (iconClick)=\"openDialog()\">\n </pep-textbox-icon>\n </mat-form-field>\n </ng-template>\n <ng-template #emptyBlock>\n <span> </span>\n </ng-template>\n </ng-template>\n </ng-container>\n</ng-container>\n\n<ng-template #jsonEditorDialogTemplate>\n <pep-dialog class=\"dialog-json-editor-container\" [title]=\"label\" (close)=\"closeDialog($event)\">\n <ng-container pep-dialog-content>\n <div class=\"dialog-content\">\n <div class=\"json-editor\">\n <textarea #dialogTextarea [readonly]=\"disabled || readonly\" class=\"body-sm\" matInput\n title=\"{{ dialogValue }}\" [value]=\"dialogValue\"\n [ngStyle]=\"{ color: textColor }\"\n (input)=\"dialogValue = dialogTextarea.value; refreshTree(dialogValue)\">\n </textarea>\n </div>\n <div class=\"json-preview\" *ngIf=\"treeData?.length > 0\">\n <div class=\"tree-root body-sm\">\n <ng-container *ngFor=\"let node of treeData\">\n <pep-json-tree-node [node]=\"node\"></pep-json-tree-node>\n </ng-container>\n </div>\n </div>\n \n </div>\n <div class=\"json-error\" *ngIf=\"dialogError as err\" role=\"alert\" aria-live=\"assertive\">\n <mat-icon class=\"error-icon\">error_outline</mat-icon>\n <div class=\"error-content\">\n <div class=\"title body-sm\">Invalid JSON</div>\n <div class=\"message body-xs\">{{ err }}</div>\n </div>\n </div>\n </ng-container>\n <div pep-dialog-actions class=\"pep-spacing-element-negative\">\n <ng-container *ngIf=\"disabled || readonly; then notEditableBlock; else editableBlock\"></ng-container>\n <ng-template #editableBlock>\n <button mat-button (click)=\"closeDialog()\" class=\"pep-spacing-element pep-button md weak\">\n {{ 'ACTIONS.CANCEL' | translate }}\n </button>\n <button mat-button class=\"pep-spacing-element pep-button md strong\"\n [disabled]=\"!isValidJson(dialogValue)\"\n (click)=\"closeDialog(dialogTextarea.value)\">\n {{ 'ACTIONS.SAVE' | translate }}\n </button>\n </ng-template>\n <ng-template #notEditableBlock>\n <button mat-button (click)=\"closeDialog()\" class=\"pep-spacing-element pep-button md weak\">\n {{ 'ACTIONS.CLOSE' | translate }}\n </button>\n </ng-template>\n </div>\n </pep-dialog>\n</ng-template>\n", styles: [".pepperi-json-editor-container,.pep-json-editor-container,.pepperi-textarea-container,.pep-textarea-container{height:inherit;display:grid;align-items:center}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{display:flex}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{line-height:unset;width:100%;height:100%;overflow:hidden;display:grid!important}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{margin:0;padding:.5rem 1.5rem .5rem 0;vertical-align:unset;resize:none;width:100%;max-width:unset;overflow-y:scroll;box-sizing:content-box}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-suffix{align-self:flex-end!important;margin-bottom:.5rem}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element{padding-top:.35rem}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix{align-self:center!important;margin-bottom:unset}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button{width:1rem!important;height:1rem!important}.pepperi-json-editor-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element{padding-top:.135rem!important}.pepperi-json-editor-container .rich-text-cont,.pep-json-editor-container .rich-text-cont,.pepperi-textarea-container .rich-text-cont,.pep-textarea-container .rich-text-cont{overflow-x:hidden;display:inline-block;vertical-align:unset;margin:0;padding:.5rem 1.5rem .5rem 0;resize:none;width:calc(100% + 3rem);max-width:unset;overflow-y:scroll;box-sizing:border-box}.pepperi-json-editor-container .rich-text-cont.hide-enlarge-button,.pep-json-editor-container .rich-text-cont.hide-enlarge-button,.pepperi-textarea-container .rich-text-cont.hide-enlarge-button,.pep-textarea-container .rich-text-cont.hide-enlarge-button{padding-inline-end:3rem}.pepperi-json-editor-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{padding:.5rem 0 .5rem 1.5rem}.pepperi-json-editor-container.right-alignment .rich-text-cont,.pep-json-editor-container.right-alignment .rich-text-cont,.pepperi-textarea-container.right-alignment .rich-text-cont,.pep-textarea-container.right-alignment .rich-text-cont{padding:.5rem 0 .5rem 1.5rem}.pepperi-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{padding-left:.5rem;padding-right:.5rem}.pepperi-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pep-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pepperi-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pep-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element{padding:.25rem 1.5rem .5rem 0}.pepperi-json-editor-card-container.card-flex-container,.pep-json-editor-card-container.card-flex-container,.pepperi-textarea-card-container.card-flex-container,.pep-textarea-card-container.card-flex-container{height:inherit;display:flex;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;white-space:unset;padding:.25rem;max-width:100%}.pepperi-json-editor-card-container.card-flex-container.one-row .title,.pep-json-editor-card-container.card-flex-container.one-row .title,.pepperi-textarea-card-container.card-flex-container.one-row .title,.pep-textarea-card-container.card-flex-container.one-row .title{padding-top:.25rem}.pepperi-json-editor-card-container.card-flex-container span.value,.pep-json-editor-card-container.card-flex-container span.value,.pepperi-textarea-card-container.card-flex-container span.value,.pep-textarea-card-container.card-flex-container span.value{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;white-space:unset}.pepperi-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pepperi-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{line-height:0!important}.pepperi-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pepperi-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element{padding-top:0;padding-bottom:0}.pepperi-json-editor-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{padding:.25rem 0 .5rem 1.5rem}.pepperi-report-json-editor ::ng-deep .mat-form-field-suffix,.pep-report-json-editor ::ng-deep .mat-form-field-suffix,.pepperi-report-textarea ::ng-deep .mat-form-field-suffix,.pep-report-textarea ::ng-deep .mat-form-field-suffix{right:0!important}.pepperi-report-json-editor.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-report-json-editor.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-report-textarea.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-report-textarea.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{padding:0}:host{height:inherit;display:grid}:host>*{align-self:center}.disable-text-div{display:inline-block;vertical-align:middle;margin:0;padding:.5rem 1.5rem .5rem 0;overflow-y:hidden;white-space:pre-wrap}.right-alignment .disable-text-div{padding:.5rem 0 .5rem 1.5rem}.dialog-json-editor-container .dialog-content{display:grid;grid-template-columns:1fr 1fr;gap:var(--pep-spacing-md);min-height:40vh;max-height:70vh}.dialog-json-editor-container textarea{width:100%;height:100%;resize:none}.dialog-json-editor-container .json-error{display:flex;margin-top:var(--pep-spacing-md, .75rem);align-items:flex-start;gap:var(--pep-spacing-sm, .5rem);padding:var(--pep-spacing-sm, .5rem) var(--pep-spacing-md, .75rem);background:hsla(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%),.08);border:1px solid hsla(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%),.16);border-left:3px solid hsl(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%));border-radius:var(--pep-border-radius-md, .25rem);color:hsl(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%))}.dialog-json-editor-container .json-error .error-icon{color:hsl(var(--pep-color-system-caution-h, 360),var(--pep-color-system-caution-s, 100%),var(--pep-color-system-caution-l, 45%))}.dialog-json-editor-container .json-error .error-content .title{font-weight:var(--pep-font-weight-bold, 600);margin-bottom:var(--pep-spacing-2xs, .125rem)}.dialog-json-editor-container .json-error .error-content .message{color:hsl(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%))}.dialog-json-editor-container .json-editor{border:1px solid hsla(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%),.24);border-radius:var(--pep-border-radius-md, .25rem)}.dialog-json-editor-container .json-preview{overflow:auto;border:1px solid hsla(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%),.24);border-radius:var(--pep-border-radius-md, .25rem);padding:var(--pep-spacing-sm, .5rem);background:hsl(var(--pep-color-system-primary-invert-h, 255),var(--pep-color-system-primary-invert-s, 100%),var(--pep-color-system-primary-invert-l, 100%))}\n", ".pepperi-json-editor-container,.pep-json-editor-container,.pepperi-textarea-container,.pep-textarea-container{height:inherit;display:grid;align-items:center}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{display:flex}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{line-height:unset;width:100%;height:100%;overflow:hidden;display:grid!important}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{margin:0;padding:.5rem 1.5rem .5rem 0;vertical-align:unset;resize:none;width:100%;max-width:unset;overflow-y:scroll;box-sizing:content-box}.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pepperi-json-editor-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pep-json-editor-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pepperi-textarea-container .mat-form-field ::ng-deep .mat-form-field-suffix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-prefix,.pep-textarea-container .mat-form-field ::ng-deep .mat-form-field-suffix{align-self:flex-end!important;margin-bottom:.5rem}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element{padding-top:.35rem}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix{align-self:center!important;margin-bottom:unset}.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pepperi-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pep-json-editor-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pepperi-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pepperi-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-prefix .card-one-row-icon .pep-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pepperi-button,.pep-textarea-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-suffix .card-one-row-icon .pep-button{width:1rem!important;height:1rem!important}.pepperi-json-editor-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pepperi-json-editor-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pep-json-editor-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pepperi-textarea-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pepperi-table-json-editor ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pep-table-json-editor ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pepperi-table-textarea ::ng-deep .mat-input-element,.pep-textarea-container.one-row .mat-form-field.pep-table-textarea ::ng-deep .mat-input-element{padding-top:.135rem!important}.pepperi-json-editor-container .rich-text-cont,.pep-json-editor-container .rich-text-cont,.pepperi-textarea-container .rich-text-cont,.pep-textarea-container .rich-text-cont{overflow-x:hidden;display:inline-block;vertical-align:unset;margin:0;padding:.5rem 1.5rem .5rem 0;resize:none;width:calc(100% + 3rem);max-width:unset;overflow-y:scroll;box-sizing:border-box}.pepperi-json-editor-container .rich-text-cont.hide-enlarge-button,.pep-json-editor-container .rich-text-cont.hide-enlarge-button,.pepperi-textarea-container .rich-text-cont.hide-enlarge-button,.pep-textarea-container .rich-text-cont.hide-enlarge-button{padding-inline-end:3rem}.pepperi-json-editor-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{padding:.5rem 0 .5rem 1.5rem}.pepperi-json-editor-container.right-alignment .rich-text-cont,.pep-json-editor-container.right-alignment .rich-text-cont,.pepperi-textarea-container.right-alignment .rich-text-cont,.pep-textarea-container.right-alignment .rich-text-cont{padding:.5rem 0 .5rem 1.5rem}.pepperi-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{padding-left:.5rem;padding-right:.5rem}.pepperi-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pep-json-editor-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pepperi-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element,.pep-textarea-card-container .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-flex .mat-input-element{padding:.25rem 1.5rem .5rem 0}.pepperi-json-editor-card-container.card-flex-container,.pep-json-editor-card-container.card-flex-container,.pepperi-textarea-card-container.card-flex-container,.pep-textarea-card-container.card-flex-container{height:inherit;display:flex;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;white-space:unset;padding:.25rem;max-width:100%}.pepperi-json-editor-card-container.card-flex-container.one-row .title,.pep-json-editor-card-container.card-flex-container.one-row .title,.pepperi-textarea-card-container.card-flex-container.one-row .title,.pep-textarea-card-container.card-flex-container.one-row .title{padding-top:.25rem}.pepperi-json-editor-card-container.card-flex-container span.value,.pep-json-editor-card-container.card-flex-container span.value,.pepperi-textarea-card-container.card-flex-container span.value,.pep-textarea-card-container.card-flex-container span.value{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;white-space:unset}.pepperi-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pepperi-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix,.pep-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{line-height:0!important}.pepperi-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-json-editor-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pepperi-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element,.pep-textarea-card-container.one-row .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-input-element{padding-top:0;padding-bottom:0}.pepperi-json-editor-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-json-editor-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pepperi-textarea-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element,.pep-textarea-card-container.right-alignment .mat-form-field ::ng-deep .mat-form-field-wrapper .mat-input-element{padding:.25rem 0 .5rem 1.5rem}.pepperi-report-json-editor ::ng-deep .mat-form-field-suffix,.pep-report-json-editor ::ng-deep .mat-form-field-suffix,.pepperi-report-textarea ::ng-deep .mat-form-field-suffix,.pep-report-textarea ::ng-deep .mat-form-field-suffix{right:0!important}.pepperi-report-json-editor.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-report-json-editor.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pepperi-report-textarea.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex,.pep-report-textarea.readonly ::ng-deep .mat-form-field-wrapper .mat-form-field-flex{padding:0}.pepperi-report-json-editor ::ng-deep .mat-form-field-flex,.pep-report-json-editor ::ng-deep .mat-form-field-flex{background:transparent!important}\n"] }]
|
|
246
|
+
}], ctorParameters: function () { return [{ type: i1.PepDialogService }, { type: i2.PepCustomizationService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { key: [{
|
|
247
|
+
type: Input
|
|
248
|
+
}], value: [{
|
|
249
|
+
type: Input
|
|
250
|
+
}], label: [{
|
|
251
|
+
type: Input
|
|
252
|
+
}], mandatory: [{
|
|
253
|
+
type: Input
|
|
254
|
+
}], disabled: [{
|
|
255
|
+
type: Input
|
|
256
|
+
}], readonly: [{
|
|
257
|
+
type: Input
|
|
258
|
+
}], textColor: [{
|
|
259
|
+
type: Input
|
|
260
|
+
}], xAlignment: [{
|
|
261
|
+
type: Input
|
|
262
|
+
}], jsonType: [{
|
|
263
|
+
type: Input
|
|
264
|
+
}], rowSpan: [{
|
|
265
|
+
type: Input
|
|
266
|
+
}], visible: [{
|
|
267
|
+
type: Input
|
|
268
|
+
}], form: [{
|
|
269
|
+
type: Input
|
|
270
|
+
}], isActive: [{
|
|
271
|
+
type: Input
|
|
272
|
+
}], showTitle: [{
|
|
273
|
+
type: Input
|
|
274
|
+
}], renderTitle: [{
|
|
275
|
+
type: Input
|
|
276
|
+
}], layoutType: [{
|
|
277
|
+
type: Input
|
|
278
|
+
}], valueChange: [{
|
|
279
|
+
type: Output
|
|
280
|
+
}], keyup: [{
|
|
281
|
+
type: Output
|
|
282
|
+
}], validationChange: [{
|
|
283
|
+
type: Output
|
|
284
|
+
}], jsonEditorDialogTemplate: [{
|
|
285
|
+
type: ViewChild,
|
|
286
|
+
args: ['jsonEditorDialogTemplate', { read: TemplateRef }]
|
|
287
|
+
}] } });
|
|
288
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbi1lZGl0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWxpYi9qc29uLWVkaXRvci9qc29uLWVkaXRvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbGliL2pzb24tZWRpdG9yL2pzb24tZWRpdG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxTQUFTLEVBR1QsS0FBSyxFQUNMLE1BQU0sRUFDTixZQUFZLEVBQ1osdUJBQXVCLEVBRXZCLFNBQVMsRUFHVCxXQUFXLEdBQ2QsTUFBTSxlQUFlLENBQUM7QUFHdkIsT0FBTyxFQUVILHVCQUF1QixFQUV2Qiw0QkFBNEIsRUFDNUIsZ0JBQWdCLEdBQ25CLE1BQU0seUJBQXlCLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7QUFrQmpDLE1BQU0sT0FBTyxzQkFBc0I7SUF3RS9CLFlBQ1ksYUFBK0IsRUFDL0Isb0JBQTZDLEVBQzdDLFFBQW1CLEVBQ25CLE9BQW1CO1FBSG5CLGtCQUFhLEdBQWIsYUFBYSxDQUFrQ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sXG4gICAgICAgICAgICB0aGlzLnJvd1NwYW4sXG4gICAgICAgICAgICB0aGlzLnN0YW5kQWxvbmVcbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHNldERlZmF1bHRGb3JtKCk6IHZvaWQge1xuICAgICAgICBjb25zdCBwZXBGaWVsZCA9IG5ldyBQZXBUZXh0YXJlYUZpZWxkKHtcbiAgICAgICAgICAgIGtleTogdGhpcy5rZXksXG4gICAgICAgICAgICB2YWx1ZTogdGhpcy52YWx1ZSxcbiAgICAgICAgICAgIG1hbmRhdG9yeTogdGhpcy5tYW5kYXRvcnksXG4gICAgICAgICAgICByZWFkb25seTogdGhpcy5yZWFkb25seSxcbiAgICAgICAgICAgIGRpc2FibGVkOiB0aGlzLmRpc2FibGVkLFxuICAgICAgICB9KTtcbiAgICAgICAgdGhpcy5mb3JtID0gdGhpcy5jdXN0b21pemF0aW9uU2VydmljZS5nZXREZWZhdWx0RnJvbUdyb3VwKHBlcEZpZWxkKTtcbiAgICAgICAgLy8gYWRkIEpTT04gdmFsaWRhdG9yIG9uIHRvcCBvZiBiYXNlIHZhbGlkYXRvcnNcbiAgICAgICAgdGhpcy5hdHRhY2hKc29uVmFsaWRhdG9yKCk7XG4gICAgfVxuXG4gICAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLmZvcm0gPT09IG51bGwpIHtcbiAgICAgICAgICAgIHRoaXMuc3RhbmRBbG9uZSA9IHRydWU7XG4gICAgICAgICAgICB0aGlzLnNldEZpZWxkSGVpZ2h0KCk7XG4gICAgICAgICAgICB0aGlzLnNldERlZmF1bHRGb3JtKCk7XG5cbiAgICAgICAgICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3MoXG4gICAgICAgICAgICAgICAgdGhpcy5lbGVtZW50Lm5hdGl2ZUVsZW1lbnQsXG4gICAgICAgICAgICAgICAgUGVwQ3VzdG9taXphdGlvblNlcnZpY2UuU1RBTkRfQUxPTkVfRklFTERfQ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WU7XG4gICAgICAgIHRoaXMucmVmcmVzaFRyZWUodGhpcy5kaWFsb2dWYWx1ZSk7XG5cbiAgICAgICAgdGhpcy5kaWFsb2dSZWYgPSB0aGlzLmRpYWxvZ1NlcnZpY2Uub3BlbkRpYWxvZyhcbiAgICAgICAgICAgIHRoaXMuanNvbkVkaXRvckRpYWxvZ1RlbXBsYXRlLFxuICAgICAgICAgICAge30sXG4gICAgICAgICAgICBjb25maWdcbiAgICAgICAgKTtcblxuICAgICAgICB0aGlzLmRpYWxvZ1JlZi5hZnRlckNsb3NlZCgpLnN1YnNjcmliZSgodmFsKSA9PiB7XG4gICAgICAgICAgICBpZiAodmFsICE9PSB1bmRlZmluZWQgJiYgdmFsICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5jaGFuZ2VWYWx1ZSh2YWwpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBjbG9zZURpYWxvZyhkYXRhOiBhbnkgPSBudWxsKTogdm9pZCB7XG4gICAgICAgIHRoaXMuZGlhbG9nUmVmPy5jbG9zZShkYXRhKTtcbiAgICB9XG5cbiAgICAvLyBKU09OIHZhbGlkYXRpb25cbiAgICBwcml2YXRlIGF0dGFjaEpzb25WYWxpZGF0b3IoKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IGNvbnRyb2wgPSB0aGlzLmN1c3RvbWl6YXRpb25TZXJ2aWNlLmdldEZvcm1Db250cm9sKHRoaXMuZm9ybSwgdGhpcy5rZXkpO1xuICAgICAgICBpZiAoY29udHJvbCkge1xuICAgICAgICAgICAgY29uc3QganNvblZhbGlkYXRvciA9IHRoaXMuanNvblZhbGlkYXRvckZhY3RvcnkodGhpcy5tYW5kYXRvcnkpO1xuICAgICAgICAgICAgY29uc3QgY3VycmVudFZhbGlkYXRvciA9IGNvbnRyb2wudmFsaWRhdG9yID8gW2NvbnRyb2wudmFsaWRhdG9yXSA6IFtdO1xuICAgICAgICAgICAgY29udHJvbC5zZ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AgICAgICByZXR1cm4gaXNSZXF1aXJlZCA/IHsgcmVxdWlyZWQ6IHRydWUgfSA6IG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgIGNvbnN0IHBhcnNlZCA9IEpTT04ucGFyc2UodGV4dCk7XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuanNvblR5cGUgPT09ICdhcnJheScgJiYgIUFycmF5LmlzQXJyYXkocGFyc2VkKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4geyBqc29uQXJyYXlSZXF1aXJlZDogdHJ1ZSB9O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIH0gY2F0Y2gge1xuICAgICAgICAgICAgICAgIHJldHVybiB7IGpzb25JbnZhbGlkOiB0cnVlIH07XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG4gICAgfTtcblxuICAgIC8vIFRyZWUgaGVscGVyc1xuICAgIHJlZnJlc2hUcmVlKHRleHQ6IHN0cmluZyk6IHZvaWQge1xuICAgICAgICB0aGlzLnRyZWVEYXRhID0gW107XG4gICAgICAgIHRoaXMuZGlhbG9nRXJyb3IgPSBudWxsO1xuICAgICAgICB0cnkge1xuICAgICAgICAgICAgY29uc3Qgb2JqID0gdGV4dCA/IEpTT04ucGFyc2UodGV4dCkgOiBudWxsO1xuICAgICAgICAgICAgaWYgKG9iaiAhPT0gbnVsbCAmJiBvYmogIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgIHRoaXMudHJlZURhdGEgPSB0aGlzLmJ1aWxkVHJlZShvYmosICdyb290Jyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgIHRoaXMuZGlhbG9nRXJyb3IgPSAoZSBhcyBFcnJvcik/Lm1lc3NhZ2UgPz8gJ1Vua25vd24gcGFyc2luZyBlcnJvcic7XG4gICAgICA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h0JyA6ICdsZWZ0JyB9XCJcbiAgICAgICAgICAgICAgICAgICAgW3N0eWxlLmhlaWdodF09XCJmaWVsZEhlaWdodFwiPlxuICAgICAgICAgICAgICAgICAgICB7eyBkaXNwbGF5VmFsdWVTdHJpbmcgfX1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8cGVwLXRleHRib3gtaWNvbiBtYXRTdWZmaXggW3ZhbHVlXT1cInZhbHVlXCIgW2xhYmVsXT1cImxhYmVsXCIgW3R5cGVdPVwiY29udHJvbFR5cGVcIlxuICAgICAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWQgfHwgcmVhZG9ubHlcIlxuICAgICAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7ICdjYXJkLW9uZS1yb3ctaWNvbic6IGxheW91dFR5cGUgPT09ICdjYXJkJyAmJiByb3dTcGFuID09PSAxIH1cIlxuICAgICAgICAgICAgICAgICAgICAoaWNvbkNsaWNrKT1cIm9wZW5EaWFsb2coKVwiPlxuICAgICAgICAgICAgICAgIDwvcGVwLXRleHRib3gtaWNvbj5cbiAgICAgICAgICAgICAgICA8bWF0LWVycm9yPlxuICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImJvZHkteHNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW3RpdGxlXT1cIihtYW5kYXRvcnkgJiYgKHZhbHVlPy5sZW5ndGggfHwgMCkgPT0gMCkgPyAoJ01FU1NBR0VTLkVSUk9SX0lTX1JFUVVJUkVEJyB8IHRyYW5zbGF0ZTogeyBmaWVsZDogbGFiZWwgfSkgOiAoJ01FU1NBR0VTLkVSUk9SX0lTX05PVF9WQUxJRCcgfCB0cmFuc2xhdGU6IHsgZmllbGQ6IGxhYmVsIH0pXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtpbm5lclRleHRdPVwiKG1hbmRhdG9yeSAmJiAodmFsdWU/Lmxlbmd0aCB8fCAwKSA9PSAwK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W5ndGggPiAwXCI+XG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ0cmVlLXJvb3QgYm9keS1zbVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdGb3I9XCJsZXQgbm9kZSBvZiB0cmVlRGF0YVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwZXAtanNvbi10cmVlLW5vZGUgW25vZGVdPVwibm9kZVwiPjwvcGVwLWpzb24tdHJlZS1ub2RlPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwianNvbi1lcnJvclwiICpuZ0lmPVwiZGlhbG9nRXJyb3IgYXMgZXJyXCIgcm9sZT1cImFsZXJ0XCIgYXJpYS1saXZlPVwiYXNzZXJ0aXZlXCI+XG4gICAgICAgICAgICAgICAgPG1hdC1pY29uIGNsYXNzPVwiZXJyb3ItaWNvblwiPmVycm9yX291dGxpbmU8L21hdC1pY29uPlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJlcnJvci1jb250ZW50XCI+XG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ0aXRsZSBib2R5LXNtXCI+SW52YWxpZCBKU09OPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJtZXNzYWdlIGJvZHkteHNcIj57eyBlcnIgfX08L2Rpdj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPGRpdiBwZXAtZGlhbG9nLWFjdGlvbnMgY2xhc3M9XCJwZXAtc3BhY2luZy1lbGVtZW50LW5lZ2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