@pepperi-addons/ngx-composite-lib 0.4.2-beta.99 → 0.5.0-ng16.2
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/color-settings/color-settings.component.d.ts +1 -1
- package/core/common/directives/reset-configuration-field.directive.d.ts +1 -1
- package/data-view-builder/data-view-builder.component.d.ts +1 -1
- package/data-view-builder/data-view-builder.model.d.ts +1 -1
- package/data-view-builder/menu-data-view/menu-data-view.component.d.ts +1 -1
- package/esm2022/color-settings/color-settings.component.mjs +90 -0
- package/{esm2020 → esm2022}/color-settings/color-settings.module.mjs +13 -13
- package/esm2022/core/common/directives/reset-configuration-field.directive.mjs +154 -0
- package/{esm2020 → esm2022}/core/common/services/dimx.service.mjs +4 -4
- package/{esm2020 → esm2022}/core/common/services/utilities.service.mjs +4 -4
- package/esm2022/data-view-builder/data-view-builder.component.mjs +126 -0
- package/{esm2020 → esm2022}/data-view-builder/data-view-builder.module.mjs +27 -27
- package/{esm2020 → esm2022}/data-view-builder/data-view-builder.service.mjs +7 -7
- package/{esm2020 → esm2022}/data-view-builder/menu-data-view/menu-data-view.component.mjs +4 -4
- package/{esm2020 → esm2022}/file-status-panel/file-status-panel.component.mjs +4 -4
- package/esm2022/file-status-panel/file-status-panel.module.mjs +74 -0
- package/esm2022/flow-picker-button/flow-picker-button.component.mjs +94 -0
- package/{esm2020 → esm2022}/flow-picker-button/flow-picker-button.module.mjs +11 -11
- package/{esm2020 → esm2022}/flow-picker-button/flow-picker-button.service.mjs +4 -4
- package/esm2022/generic-fields-builder/field-container/field-container.component.mjs +18 -0
- package/esm2022/generic-fields-builder/generic-fields-builder.component.mjs +119 -0
- package/esm2022/generic-fields-builder/generic-fields-builder.module.mjs +82 -0
- package/esm2022/generic-fields-builder/generic-fields-builder.service.mjs +39 -0
- package/esm2022/generic-fields-builder/pepperi-addons-ngx-composite-lib-generic-fields-builder.mjs +5 -0
- package/esm2022/generic-fields-builder/public-api.mjs +6 -0
- package/esm2022/generic-form/generic-form.component.mjs +194 -0
- package/{esm2020 → esm2022}/generic-form/generic-form.module.mjs +23 -23
- package/{esm2020 → esm2022}/generic-form/generic-form.service.mjs +4 -4
- package/esm2022/generic-list/generic-list.component.mjs +583 -0
- package/esm2022/generic-list/generic-list.module.mjs +114 -0
- package/esm2022/generic-list/generic-list.service.mjs +171 -0
- package/esm2022/group-buttons-settings/group-buttons-settings.component.mjs +157 -0
- package/{esm2020 → esm2022}/group-buttons-settings/group-buttons-settings.module.mjs +13 -13
- package/{esm2020 → esm2022}/icon-picker/icon-picker.component.mjs +4 -4
- package/{esm2020 → esm2022}/icon-picker/icon-picker.module.mjs +15 -15
- package/{esm2020 → esm2022}/icon-picker/icon-picker.service.mjs +4 -4
- package/{esm2020 → esm2022}/layout-builder/hide-in/hide-in.component.mjs +5 -5
- package/{esm2020 → esm2022}/layout-builder/hide-in/hide-in.module.mjs +31 -31
- package/esm2022/layout-builder/layout/layout.component.mjs +229 -0
- package/esm2022/layout-builder/layout/layout.module.mjs +56 -0
- package/{esm2020 → esm2022}/layout-builder/layout-builder-editor/layout-builder-editor.component.mjs +4 -4
- package/{esm2020 → esm2022}/layout-builder/layout-builder-editor/layout-builder-editor.module.mjs +14 -14
- package/esm2022/layout-builder/layout-builder-internal.service.mjs +628 -0
- package/esm2022/layout-builder/layout-builder.component.mjs +232 -0
- package/esm2022/layout-builder/layout-builder.model.mjs +2 -0
- package/{esm2020 → esm2022}/layout-builder/layout-builder.module.mjs +61 -61
- package/esm2022/layout-builder/layout-builder.service.mjs +49 -0
- package/esm2022/layout-builder/main-editor/main-editor.component.mjs +141 -0
- package/{esm2020 → esm2022}/layout-builder/main-editor/main-editor.module.mjs +40 -40
- package/esm2022/layout-builder/section/section.component.mjs +376 -0
- package/{esm2020 → esm2022}/layout-builder/section/section.module.mjs +16 -16
- package/esm2022/layout-builder/section-block/section-block.component.mjs +113 -0
- package/{esm2020 → esm2022}/layout-builder/section-block/section-block.module.mjs +11 -11
- package/esm2022/layout-builder/section-editor/section-editor.component.mjs +201 -0
- package/esm2022/layout-builder/section-editor/section-editor.module.mjs +48 -0
- package/esm2022/manage-parameters/manage-parameter/manage-parameter.component.mjs +86 -0
- package/esm2022/manage-parameters/manage-parameters.component.mjs +189 -0
- package/{esm2020 → esm2022}/manage-parameters/manage-parameters.model.mjs +1 -1
- package/{esm2020 → esm2022}/manage-parameters/manage-parameters.module.mjs +15 -15
- package/esm2022/manage-parameters/manage-parameters.service.mjs +149 -0
- package/esm2022/mapping-parameters/mapping-parameters.component.mjs +44 -0
- package/esm2022/mapping-parameters/mapping-parameters.model.mjs +6 -0
- package/esm2022/mapping-parameters/mapping-parameters.module.mjs +59 -0
- package/esm2022/mapping-parameters/mapping-parameters.service.mjs +37 -0
- package/esm2022/mapping-parameters/param-map/param-map.component.mjs +73 -0
- package/esm2022/mapping-parameters/pepperi-addons-ngx-composite-lib-mapping-parameters.mjs +5 -0
- package/esm2022/mapping-parameters/public-api.mjs +4 -0
- package/{esm2020 → esm2022}/ngx-composite-lib.module.mjs +12 -12
- package/esm2022/padding-settings/padding-settings.component.mjs +90 -0
- package/{esm2020 → esm2022}/padding-settings/padding-settings.model.mjs +3 -3
- package/{esm2020 → esm2022}/padding-settings/padding-settings.module.mjs +17 -17
- package/esm2022/rich-text/rich-text.component.mjs +154 -0
- package/{esm2020 → esm2022}/rich-text/rich-text.module.mjs +15 -15
- package/{esm2020 → esm2022}/rich-text/rich-text.service.mjs +4 -4
- package/esm2022/shadow-settings/shadow-settings.component.mjs +72 -0
- package/{esm2020 → esm2022}/shadow-settings/shadow-settings.module.mjs +15 -15
- package/{esm2020 → esm2022}/show-if-badge/show-if-badge.component.mjs +5 -5
- package/{esm2020 → esm2022}/show-if-badge/show-if-badge.module.mjs +14 -14
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-color-settings.mjs +24 -24
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-color-settings.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-data-view-builder.mjs +53 -53
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-data-view-builder.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-file-status-panel.mjs +28 -28
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-file-status-panel.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-flow-picker-button.mjs +28 -28
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-flow-picker-button.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-composite-lib-generic-fields-builder.mjs +254 -0
- package/fesm2022/pepperi-addons-ngx-composite-lib-generic-fields-builder.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-generic-form.mjs +37 -37
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-generic-form.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-composite-lib-generic-list.mjs +866 -0
- package/fesm2022/pepperi-addons-ngx-composite-lib-generic-list.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs +26 -26
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-icon-picker.mjs +20 -20
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-icon-picker.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-composite-lib-layout-builder.mjs +2439 -0
- package/fesm2022/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-manage-parameters.mjs +91 -43
- package/fesm2022/pepperi-addons-ngx-composite-lib-manage-parameters.mjs.map +1 -0
- package/fesm2022/pepperi-addons-ngx-composite-lib-mapping-parameters.mjs +209 -0
- package/fesm2022/pepperi-addons-ngx-composite-lib-mapping-parameters.mjs.map +1 -0
- package/fesm2022/pepperi-addons-ngx-composite-lib-padding-settings.mjs +150 -0
- package/fesm2022/pepperi-addons-ngx-composite-lib-padding-settings.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-rich-text.mjs +28 -28
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-rich-text.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-shadow-settings.mjs +25 -25
- package/{fesm2015 → fesm2022}/pepperi-addons-ngx-composite-lib-shadow-settings.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-composite-lib-show-if-badge.mjs +100 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib-show-if-badge.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-composite-lib.mjs +40 -40
- package/{fesm2015 → fesm2022}/pepperi-addons-ngx-composite-lib.mjs.map +1 -1
- package/file-status-panel/file-status-panel.component.d.ts +1 -1
- package/file-status-panel/file-status-panel.model.d.ts +1 -1
- package/flow-picker-button/flow-picker-button.component.d.ts +1 -1
- package/generic-fields-builder/field-container/field-container.component.d.ts +10 -0
- package/generic-fields-builder/generic-fields-builder.component.d.ts +46 -0
- package/generic-fields-builder/generic-fields-builder.module.d.ts +23 -0
- package/generic-fields-builder/generic-fields-builder.service.d.ts +14 -0
- package/generic-fields-builder/index.d.ts +5 -0
- package/generic-fields-builder/public-api.d.ts +2 -0
- package/generic-form/generic-form.component.d.ts +1 -1
- package/generic-list/generic-list.component.d.ts +25 -9
- package/generic-list/generic-list.module.d.ts +13 -11
- package/generic-list/generic-list.service.d.ts +3 -1
- package/group-buttons-settings/group-buttons-settings.component.d.ts +1 -1
- package/group-buttons-settings/group-buttons-settings.model.d.ts +1 -1
- package/icon-picker/icon-picker.component.d.ts +1 -1
- package/layout-builder/hide-in/hide-in.component.d.ts +1 -1
- package/layout-builder/hide-in/hide-in.component.theme.scss +1 -1
- package/layout-builder/layout/layout.component.d.ts +12 -8
- package/layout-builder/layout-builder-editor/layout-builder-editor.component.d.ts +1 -1
- package/layout-builder/layout-builder-internal.service.d.ts +5 -10
- package/layout-builder/layout-builder.component.d.ts +11 -4
- package/layout-builder/layout-builder.component.theme.scss +1 -1
- package/layout-builder/layout-builder.model.d.ts +3 -3
- package/layout-builder/layout-builder.service.d.ts +15 -6
- package/layout-builder/main-editor/main-editor.component.d.ts +7 -5
- package/layout-builder/section/section.component.d.ts +8 -1
- package/layout-builder/section-block/section-block.component.d.ts +1 -1
- package/layout-builder/section-editor/section-editor.component.d.ts +4 -1
- package/layout-builder/section-editor/section-editor.module.d.ts +3 -2
- package/manage-parameters/manage-parameter/manage-parameter.component.d.ts +3 -1
- package/manage-parameters/manage-parameters.component.d.ts +10 -3
- package/manage-parameters/manage-parameters.model.d.ts +4 -1
- package/manage-parameters/manage-parameters.service.d.ts +2 -2
- package/mapping-parameters/index.d.ts +5 -0
- package/mapping-parameters/mapping-parameters.component.d.ts +19 -0
- package/mapping-parameters/mapping-parameters.model.d.ts +8 -0
- package/mapping-parameters/mapping-parameters.module.d.ts +18 -0
- package/mapping-parameters/mapping-parameters.service.d.ts +12 -0
- package/mapping-parameters/param-map/param-map.component.d.ts +27 -0
- package/mapping-parameters/public-api.d.ts +3 -0
- package/package.json +80 -101
- package/padding-settings/padding-settings.component.d.ts +1 -1
- package/padding-settings/padding-settings.model.d.ts +2 -2
- package/rich-text/rich-text.component.d.ts +1 -1
- package/shadow-settings/shadow-settings.component.d.ts +1 -1
- package/shadow-settings/shadow-settings.model.d.ts +1 -1
- package/show-if-badge/show-if-badge.component.d.ts +1 -1
- package/src/assets/i18n/en.ngx-composite-lib.json +22 -2
- package/esm2020/color-settings/color-settings.component.mjs +0 -90
- package/esm2020/core/common/directives/reset-configuration-field.directive.mjs +0 -154
- package/esm2020/data-view-builder/data-view-builder.component.mjs +0 -126
- package/esm2020/file-status-panel/file-status-panel.module.mjs +0 -74
- package/esm2020/flow-picker-button/flow-picker-button.component.mjs +0 -94
- package/esm2020/generic-form/generic-form.component.mjs +0 -194
- package/esm2020/generic-list/generic-list.component.mjs +0 -530
- package/esm2020/generic-list/generic-list.module.mjs +0 -106
- package/esm2020/generic-list/generic-list.service.mjs +0 -146
- package/esm2020/group-buttons-settings/group-buttons-settings.component.mjs +0 -157
- package/esm2020/layout-builder/layout/layout.component.mjs +0 -204
- package/esm2020/layout-builder/layout/layout.module.mjs +0 -54
- package/esm2020/layout-builder/layout-builder-internal.service.mjs +0 -628
- package/esm2020/layout-builder/layout-builder.component.mjs +0 -201
- package/esm2020/layout-builder/layout-builder.model.mjs +0 -2
- package/esm2020/layout-builder/layout-builder.service.mjs +0 -36
- package/esm2020/layout-builder/main-editor/main-editor.component.mjs +0 -130
- package/esm2020/layout-builder/section/section.component.mjs +0 -351
- package/esm2020/layout-builder/section-block/section-block.component.mjs +0 -113
- package/esm2020/layout-builder/section-editor/section-editor.component.mjs +0 -192
- package/esm2020/layout-builder/section-editor/section-editor.module.mjs +0 -44
- package/esm2020/manage-parameters/manage-parameter/manage-parameter.component.mjs +0 -82
- package/esm2020/manage-parameters/manage-parameters.component.mjs +0 -153
- package/esm2020/manage-parameters/manage-parameters.service.mjs +0 -142
- package/esm2020/padding-settings/padding-settings.component.mjs +0 -80
- package/esm2020/rich-text/rich-text.component.mjs +0 -154
- package/esm2020/shadow-settings/shadow-settings.component.mjs +0 -72
- package/fesm2015/pepperi-addons-ngx-composite-lib-color-settings.mjs +0 -144
- package/fesm2015/pepperi-addons-ngx-composite-lib-color-settings.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-data-view-builder.mjs +0 -378
- package/fesm2015/pepperi-addons-ngx-composite-lib-data-view-builder.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-file-status-panel.mjs +0 -126
- package/fesm2015/pepperi-addons-ngx-composite-lib-file-status-panel.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-flow-picker-button.mjs +0 -161
- package/fesm2015/pepperi-addons-ngx-composite-lib-flow-picker-button.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-generic-form.mjs +0 -317
- package/fesm2015/pepperi-addons-ngx-composite-lib-generic-form.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.mjs +0 -801
- package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs +0 -216
- package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-icon-picker.mjs +0 -146
- package/fesm2015/pepperi-addons-ngx-composite-lib-icon-picker.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs +0 -2345
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-manage-parameters.mjs +0 -441
- package/fesm2015/pepperi-addons-ngx-composite-lib-manage-parameters.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-padding-settings.mjs +0 -140
- package/fesm2015/pepperi-addons-ngx-composite-lib-padding-settings.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-rich-text.mjs +0 -234
- package/fesm2015/pepperi-addons-ngx-composite-lib-rich-text.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-shadow-settings.mjs +0 -129
- package/fesm2015/pepperi-addons-ngx-composite-lib-show-if-badge.mjs +0 -100
- package/fesm2015/pepperi-addons-ngx-composite-lib-show-if-badge.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib.mjs +0 -329
- package/fesm2020/pepperi-addons-ngx-composite-lib-generic-list.mjs +0 -780
- package/fesm2020/pepperi-addons-ngx-composite-lib-generic-list.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs +0 -2322
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-manage-parameters.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-padding-settings.mjs +0 -140
- package/fesm2020/pepperi-addons-ngx-composite-lib-padding-settings.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-shadow-settings.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-show-if-badge.mjs +0 -100
- package/fesm2020/pepperi-addons-ngx-composite-lib.mjs.map +0 -1
- /package/{esm2020 → esm2022}/color-settings/color-settings.model.mjs +0 -0
- /package/{esm2020 → esm2022}/color-settings/pepperi-addons-ngx-composite-lib-color-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/color-settings/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/data-view-builder/data-view-builder.model.mjs +0 -0
- /package/{esm2020 → esm2022}/data-view-builder/pepperi-addons-ngx-composite-lib-data-view-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/data-view-builder/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/file-status-panel/file-status-panel.model.mjs +0 -0
- /package/{esm2020 → esm2022}/file-status-panel/pepperi-addons-ngx-composite-lib-file-status-panel.mjs +0 -0
- /package/{esm2020 → esm2022}/file-status-panel/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/flow-picker-button/pepperi-addons-ngx-composite-lib-flow-picker-button.mjs +0 -0
- /package/{esm2020 → esm2022}/flow-picker-button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/generic-form/generic-form.model.mjs +0 -0
- /package/{esm2020 → esm2022}/generic-form/pepperi-addons-ngx-composite-lib-generic-form.mjs +0 -0
- /package/{esm2020 → esm2022}/generic-form/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/generic-list/generic-list.model.mjs +0 -0
- /package/{esm2020 → esm2022}/generic-list/pepperi-addons-ngx-composite-lib-generic-list.mjs +0 -0
- /package/{esm2020 → esm2022}/generic-list/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/group-buttons-settings/group-buttons-settings.model.mjs +0 -0
- /package/{esm2020 → esm2022}/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/group-buttons-settings/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/icon-picker/pepperi-addons-ngx-composite-lib-icon-picker.mjs +0 -0
- /package/{esm2020 → esm2022}/icon-picker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/layout-builder/pepperi-addons-ngx-composite-lib-layout-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/layout-builder/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/manage-parameters/pepperi-addons-ngx-composite-lib-manage-parameters.mjs +0 -0
- /package/{esm2020 → esm2022}/manage-parameters/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/padding-settings/pepperi-addons-ngx-composite-lib-padding-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/padding-settings/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/pepperi-addons-ngx-composite-lib.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/rich-text/pepperi-addons-ngx-composite-lib-rich-text.mjs +0 -0
- /package/{esm2020 → esm2022}/rich-text/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/shadow-settings/pepperi-addons-ngx-composite-lib-shadow-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/shadow-settings/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/shadow-settings/shadow-settings.model.mjs +0 -0
- /package/{esm2020 → esm2022}/show-if-badge/pepperi-addons-ngx-composite-lib-show-if-badge.mjs +0 -0
- /package/{esm2020 → esm2022}/show-if-badge/public-api.mjs +0 -0
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i2 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i1 from '@pepperi-addons/ngx-lib';
|
|
6
|
-
import { PepNgxLibModule } from '@pepperi-addons/ngx-lib';
|
|
7
|
-
import * as i1$1 from '@pepperi-addons/ngx-lib/icon';
|
|
8
|
-
import { pepIconSystemView, PepIconModule } from '@pepperi-addons/ngx-lib/icon';
|
|
9
|
-
import * as i2$1 from '@ngx-translate/core';
|
|
10
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
11
|
-
import * as i4 from '@angular/material/icon';
|
|
12
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
13
|
-
import { MatBadgeModule } from '@angular/material/badge';
|
|
14
|
-
|
|
15
|
-
class ShowIfBadgeComponent {
|
|
16
|
-
constructor(layoutService) {
|
|
17
|
-
this.layoutService = layoutService;
|
|
18
|
-
this.showIf = false;
|
|
19
|
-
/**
|
|
20
|
-
* If you want to show an icon in the button then select an icon form the provided icon list
|
|
21
|
-
*
|
|
22
|
-
* @type {PepIconType} See {@link PepIconType}
|
|
23
|
-
* @memberof PepButtonComponent
|
|
24
|
-
*/
|
|
25
|
-
this.iconName = pepIconSystemView.name;
|
|
26
|
-
this.backgroundColor = 'hsl(0,0%,0%)';
|
|
27
|
-
this.isRtl = false;
|
|
28
|
-
this.isRtl = this.layoutService.isRtl();
|
|
29
|
-
}
|
|
30
|
-
ngOnInit() {
|
|
31
|
-
setTimeout(() => {
|
|
32
|
-
const badge = document.getElementsByClassName("mat-badge-content")[0];
|
|
33
|
-
if (badge) {
|
|
34
|
-
badge.setAttribute('style', 'background-color:' + this.backgroundColor + '!important');
|
|
35
|
-
}
|
|
36
|
-
}, 0);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
ShowIfBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ShowIfBadgeComponent, deps: [{ token: i1.PepLayoutService }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
ShowIfBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: ShowIfBadgeComponent, selector: "pep-show-if-badge", inputs: { showIf: "showIf", iconName: "iconName", backgroundColor: "backgroundColor" }, ngImport: i0, template: "<div *ngIf=\"showIf\" class=\"show-if-badge\" [ngClass]=\"{ 'rtl-direction': isRtl }\">\n <mat-icon class=\"mat-badge-content\">\n <pep-icon [name]=\"iconName\"></pep-icon>\n </mat-icon>\n</div>", styles: [".show-if-badge{position:relative;right:0}.show-if-badge .mat-badge-content{font-weight:var(--pep-font-weight-bold, 600);background:hsl(var(--pep-color-strong-h, 78),var(--pep-color-strong-s, 87%),var(--pep-color-strong-l, 27%));box-shadow:var(--pep-shadow-sm-offset, 0 .25rem .5rem 0) hsla(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%),.08);color: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%));background-color:hsl(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%))!important;box-shadow:var(--pep-shadow-sm-offset, 0 .25rem .5rem 0) hsla(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%),.32)}.show-if-badge .mat-badge-content .svg-icon{fill: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%))}.show-if-badge .mat-badge-content .svg-icon.stroke{fill:unset;stroke: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%))}.show-if-badge.rtl-direction{right:unset;left:0}.show-if-badge .mat-icon{right:0;height:2.5rem;width:2.5rem;margin-top:-1rem;margin-right:-1.25rem}.show-if-badge .mat-icon ::ng-deep .svg-icon{fill: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%));width:1.75rem;height:1.75rem}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.PepIconComponent, selector: "pep-icon", inputs: ["spin", "name", "fill"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ShowIfBadgeComponent, decorators: [{
|
|
42
|
-
type: Component,
|
|
43
|
-
args: [{ selector: 'pep-show-if-badge', template: "<div *ngIf=\"showIf\" class=\"show-if-badge\" [ngClass]=\"{ 'rtl-direction': isRtl }\">\n <mat-icon class=\"mat-badge-content\">\n <pep-icon [name]=\"iconName\"></pep-icon>\n </mat-icon>\n</div>", styles: [".show-if-badge{position:relative;right:0}.show-if-badge .mat-badge-content{font-weight:var(--pep-font-weight-bold, 600);background:hsl(var(--pep-color-strong-h, 78),var(--pep-color-strong-s, 87%),var(--pep-color-strong-l, 27%));box-shadow:var(--pep-shadow-sm-offset, 0 .25rem .5rem 0) hsla(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%),.08);color: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%));background-color:hsl(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%))!important;box-shadow:var(--pep-shadow-sm-offset, 0 .25rem .5rem 0) hsla(var(--pep-color-system-primary-h, 0),var(--pep-color-system-primary-s, 0%),var(--pep-color-system-primary-l, 10%),.32)}.show-if-badge .mat-badge-content .svg-icon{fill: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%))}.show-if-badge .mat-badge-content .svg-icon.stroke{fill:unset;stroke: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%))}.show-if-badge.rtl-direction{right:unset;left:0}.show-if-badge .mat-icon{right:0;height:2.5rem;width:2.5rem;margin-top:-1rem;margin-right:-1.25rem}.show-if-badge .mat-icon ::ng-deep .svg-icon{fill: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%));width:1.75rem;height:1.75rem}\n"] }]
|
|
44
|
-
}], ctorParameters: function () { return [{ type: i1.PepLayoutService }]; }, propDecorators: { showIf: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], iconName: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], backgroundColor: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}] } });
|
|
51
|
-
|
|
52
|
-
const pepIcons = [
|
|
53
|
-
pepIconSystemView
|
|
54
|
-
];
|
|
55
|
-
class PepShowIfBadgeModule {
|
|
56
|
-
constructor(pepIconRegistry) {
|
|
57
|
-
this.pepIconRegistry = pepIconRegistry;
|
|
58
|
-
this.pepIconRegistry.registerIcons(pepIcons);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
PepShowIfBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepShowIfBadgeModule, deps: [{ token: i1$1.PepIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
62
|
-
PepShowIfBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: PepShowIfBadgeModule, declarations: [ShowIfBadgeComponent], imports: [CommonModule,
|
|
63
|
-
PepNgxLibModule,
|
|
64
|
-
PepIconModule,
|
|
65
|
-
MatIconModule,
|
|
66
|
-
MatBadgeModule, i2$1.TranslateModule], exports: [ShowIfBadgeComponent] });
|
|
67
|
-
PepShowIfBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepShowIfBadgeModule, imports: [CommonModule,
|
|
68
|
-
PepNgxLibModule,
|
|
69
|
-
PepIconModule,
|
|
70
|
-
MatIconModule,
|
|
71
|
-
MatBadgeModule,
|
|
72
|
-
TranslateModule.forChild()] });
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepShowIfBadgeModule, decorators: [{
|
|
74
|
-
type: NgModule,
|
|
75
|
-
args: [{
|
|
76
|
-
declarations: [
|
|
77
|
-
ShowIfBadgeComponent
|
|
78
|
-
],
|
|
79
|
-
imports: [
|
|
80
|
-
CommonModule,
|
|
81
|
-
PepNgxLibModule,
|
|
82
|
-
PepIconModule,
|
|
83
|
-
MatIconModule,
|
|
84
|
-
MatBadgeModule,
|
|
85
|
-
TranslateModule.forChild(),
|
|
86
|
-
],
|
|
87
|
-
exports: [ShowIfBadgeComponent]
|
|
88
|
-
}]
|
|
89
|
-
}], ctorParameters: function () { return [{ type: i1$1.PepIconRegistry }]; } });
|
|
90
|
-
|
|
91
|
-
/*
|
|
92
|
-
* Public API Surface of ngx-composite-lib/flow-picker-button
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Generated bundle index. Do not edit.
|
|
97
|
-
*/
|
|
98
|
-
|
|
99
|
-
export { PepShowIfBadgeModule, ShowIfBadgeComponent };
|
|
100
|
-
//# sourceMappingURL=pepperi-addons-ngx-composite-lib-show-if-badge.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pepperi-addons-ngx-composite-lib-show-if-badge.mjs","sources":["../../../projects/ngx-composite-lib/show-if-badge/show-if-badge.component.ts","../../../projects/ngx-composite-lib/show-if-badge/show-if-badge.component.html","../../../projects/ngx-composite-lib/show-if-badge/show-if-badge.module.ts","../../../projects/ngx-composite-lib/show-if-badge/public-api.ts","../../../projects/ngx-composite-lib/show-if-badge/pepperi-addons-ngx-composite-lib-show-if-badge.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\n\nimport { PepLayoutService } from '@pepperi-addons/ngx-lib';\nimport { PepIconType, pepIconSystemView } from '@pepperi-addons/ngx-lib/icon';\nimport { PepColorSettings } from '@pepperi-addons/ngx-composite-lib/color-settings';\n\n\n@Component({\n selector: 'pep-show-if-badge',\n templateUrl: './show-if-badge.component.html',\n styleUrls: ['./show-if-badge.component.scss']\n})\n\nexport class ShowIfBadgeComponent {\n @Input() showIf = false;\n \n /**\n * If you want to show an icon in the button then select an icon form the provided icon list\n *\n * @type {PepIconType} See {@link PepIconType}\n * @memberof PepButtonComponent\n */\n @Input() iconName: PepIconType = pepIconSystemView.name;\n @Input() backgroundColor = 'hsl(0,0%,0%)';\n \n \n protected isRtl = false;\n \n constructor(protected layoutService: PepLayoutService) { \n this.isRtl = this.layoutService.isRtl();\n }\n\n ngOnInit(){\n setTimeout(() => {\n const badge = document.getElementsByClassName(\"mat-badge-content\")[0] as HTMLElement;\n if(badge){\n badge.setAttribute('style', 'background-color:'+ this.backgroundColor + '!important');\n }\n }, 0);\n }\n}\n","<div *ngIf=\"showIf\" class=\"show-if-badge\" [ngClass]=\"{ 'rtl-direction': isRtl }\">\n <mat-icon class=\"mat-badge-content\">\n <pep-icon [name]=\"iconName\"></pep-icon>\n </mat-icon>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { PepNgxLibModule, PepAddonService } from '@pepperi-addons/ngx-lib';\nimport { PepIconModule, PepIconRegistry, pepIconSystemView} from '@pepperi-addons/ngx-lib/icon';\n\nimport { TranslateModule } from '@ngx-translate/core';\n\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatBadgeModule } from '@angular/material/badge';\n\nimport { ShowIfBadgeComponent } from './show-if-badge.component';\n\nconst pepIcons = [\n pepIconSystemView\n];\n\n@NgModule({\n declarations: [\n ShowIfBadgeComponent\n ],\n imports: [\n CommonModule,\n PepNgxLibModule,\n PepIconModule,\n MatIconModule,\n MatBadgeModule,\n TranslateModule.forChild(),\n ],\n exports: [ShowIfBadgeComponent]\n})\nexport class PepShowIfBadgeModule { \n\nconstructor(\n private pepIconRegistry: PepIconRegistry\n ) {\n this.pepIconRegistry.registerIcons(pepIcons);\n }\n}\n","/*\n * Public API Surface of ngx-composite-lib/flow-picker-button\n */\nexport * from './show-if-badge.module';\nexport * from './show-if-badge.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i3","i1"],"mappings":"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"}
|
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Directive, Input, Injectable, NgModule } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { __awaiter } from 'tslib';
|
|
5
|
-
import * as i1 from '@pepperi-addons/ngx-lib/icon';
|
|
6
|
-
import { pepIconDeviceResponsive, PepIconModule } from '@pepperi-addons/ngx-lib/icon';
|
|
7
|
-
import * as i2 from '@ngx-translate/core';
|
|
8
|
-
import * as i1$1 from '@pepperi-addons/ngx-lib/remote-loader';
|
|
9
|
-
import { PepRemoteLoaderModule } from '@pepperi-addons/ngx-lib/remote-loader';
|
|
10
|
-
|
|
11
|
-
class PepResetConfigurationFieldDirective {
|
|
12
|
-
constructor(renderer, element, pepIconService, translate) {
|
|
13
|
-
this.renderer = renderer;
|
|
14
|
-
this.element = element;
|
|
15
|
-
this.pepIconService = pepIconService;
|
|
16
|
-
this.translate = translate;
|
|
17
|
-
this.resetFieldKey = '';
|
|
18
|
-
this.resetHostEvents = new EventEmitter();
|
|
19
|
-
this._disabled = false;
|
|
20
|
-
this._hideReset = false;
|
|
21
|
-
this._dir = 'ltr';
|
|
22
|
-
// styleType: PepStyleType = 'weak';
|
|
23
|
-
// styleStateType: PepStyleStateType = 'system';
|
|
24
|
-
this.sizeType = 'sm';
|
|
25
|
-
this.resetPosition = 'bottom-end';
|
|
26
|
-
// Create the buton container.
|
|
27
|
-
this.buttonContainer = this.renderer.createElement('div');
|
|
28
|
-
this.translate.get('GENERAL.RESET_HINT').toPromise().then(hint => {
|
|
29
|
-
this.renderer.setAttribute(this.buttonContainer, 'title', hint);
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
set disabled(value) {
|
|
33
|
-
this._disabled = value;
|
|
34
|
-
// this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());
|
|
35
|
-
this.setButtonStyle(this.resetButton);
|
|
36
|
-
}
|
|
37
|
-
get disabled() {
|
|
38
|
-
return this._disabled;
|
|
39
|
-
}
|
|
40
|
-
set hideReset(value) {
|
|
41
|
-
this._hideReset = value;
|
|
42
|
-
// this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());
|
|
43
|
-
this.setButtonStyle(this.resetButton);
|
|
44
|
-
}
|
|
45
|
-
get hideReset() {
|
|
46
|
-
return this._hideReset;
|
|
47
|
-
}
|
|
48
|
-
set dir(value) {
|
|
49
|
-
this._dir = value;
|
|
50
|
-
this.renderer.setStyle(this.buttonContainer, 'float', this.getFloat());
|
|
51
|
-
}
|
|
52
|
-
get dir() {
|
|
53
|
-
return this._dir;
|
|
54
|
-
}
|
|
55
|
-
getVisibility() {
|
|
56
|
-
return this.disabled || this.hideReset ? 'hidden' : 'visible';
|
|
57
|
-
}
|
|
58
|
-
getFloat() {
|
|
59
|
-
return this.dir === 'rtl' ? 'left' : 'right';
|
|
60
|
-
}
|
|
61
|
-
setButtonContainerStyle() {
|
|
62
|
-
const css = `
|
|
63
|
-
display: flex;
|
|
64
|
-
justify-content: flex-end;
|
|
65
|
-
`;
|
|
66
|
-
// This was removed.
|
|
67
|
-
// float: ${this.getFloat()};
|
|
68
|
-
// margin-bottom: 1rem;
|
|
69
|
-
this.buttonContainer.setAttribute("style", css);
|
|
70
|
-
}
|
|
71
|
-
setButtonStyle(button) {
|
|
72
|
-
if (button) {
|
|
73
|
-
const css = `
|
|
74
|
-
display: flex !important;
|
|
75
|
-
align-items: center !important;
|
|
76
|
-
height: 1rem !important;
|
|
77
|
-
line-height: unset !important;
|
|
78
|
-
padding: unset !important;
|
|
79
|
-
background: unset !important;
|
|
80
|
-
font-size: var(--pep-button-2xs-font-size) !important;
|
|
81
|
-
visibility: ${this.getVisibility()};
|
|
82
|
-
`;
|
|
83
|
-
button.setAttribute("style", css);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
setSvgStyle(svg) {
|
|
87
|
-
const css = `
|
|
88
|
-
transform: rotate(270deg);
|
|
89
|
-
width: 0.75rem;
|
|
90
|
-
`;
|
|
91
|
-
svg.setAttribute('style', css);
|
|
92
|
-
}
|
|
93
|
-
getResetElement() {
|
|
94
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
-
this.setButtonContainerStyle();
|
|
96
|
-
this.renderer.addClass(this.buttonContainer, 'pep-reset-configuration-field-container');
|
|
97
|
-
// Append button
|
|
98
|
-
this.resetButton = this.renderer.createElement('button');
|
|
99
|
-
yield this.translate.get('ACTIONS.RESET').toPromise().then(resetText => {
|
|
100
|
-
const buttonText = this.renderer.createText(resetText);
|
|
101
|
-
this.renderer.appendChild(this.resetButton, buttonText);
|
|
102
|
-
});
|
|
103
|
-
this.renderer.addClass(this.resetButton, 'pep-button');
|
|
104
|
-
// this.renderer.addClass(button, this.styleType);
|
|
105
|
-
// this.renderer.addClass(button, this.styleStateType);
|
|
106
|
-
this.renderer.addClass(this.resetButton, 'color-link');
|
|
107
|
-
this.renderer.addClass(this.resetButton, this.sizeType);
|
|
108
|
-
this.setButtonStyle(this.resetButton);
|
|
109
|
-
// this.renderer.addClass(button, 'reset-configuration-field-button');
|
|
110
|
-
this.unlistener = this.renderer.listen(this.resetButton, 'click', () => this.onResetClicked());
|
|
111
|
-
this.renderer.appendChild(this.buttonContainer, this.resetButton);
|
|
112
|
-
// Append svg
|
|
113
|
-
const svgIcon = this.pepIconService.getSvgIcon(pepIconDeviceResponsive.name);
|
|
114
|
-
this.setSvgStyle(svgIcon);
|
|
115
|
-
this.renderer.appendChild(this.buttonContainer, svgIcon);
|
|
116
|
-
return this.buttonContainer;
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
ngAfterViewInit() {
|
|
120
|
-
this.getResetElement().then(element => {
|
|
121
|
-
var _a;
|
|
122
|
-
if (this.resetPosition === 'top-end' && ((_a = this.element.nativeElement.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
123
|
-
this.renderer.insertBefore(this.element.nativeElement, element, this.element.nativeElement.children[0]);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
this.renderer.appendChild(this.element.nativeElement, element);
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
ngOnDestroy() {
|
|
131
|
-
if (this.unlistener) {
|
|
132
|
-
this.unlistener();
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
onResetClicked() {
|
|
136
|
-
this.resetHostEvents.emit({
|
|
137
|
-
action: 'set-configuration-field',
|
|
138
|
-
key: this.resetFieldKey,
|
|
139
|
-
value: undefined
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
PepResetConfigurationFieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepResetConfigurationFieldDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.PepIconService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
144
|
-
PepResetConfigurationFieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: PepResetConfigurationFieldDirective, selector: "[pepResetConfigurationField]", inputs: { resetFieldKey: ["pepResetConfigurationField", "resetFieldKey"], resetHostEvents: "resetHostEvents", disabled: "disabled", hideReset: "hideReset", dir: "dir" }, ngImport: i0 });
|
|
145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepResetConfigurationFieldDirective, decorators: [{
|
|
146
|
-
type: Directive,
|
|
147
|
-
args: [{
|
|
148
|
-
selector: '[pepResetConfigurationField]',
|
|
149
|
-
}]
|
|
150
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.PepIconService }, { type: i2.TranslateService }]; }, propDecorators: { resetFieldKey: [{
|
|
151
|
-
type: Input,
|
|
152
|
-
args: ['pepResetConfigurationField']
|
|
153
|
-
}], resetHostEvents: [{
|
|
154
|
-
type: Input
|
|
155
|
-
}], disabled: [{
|
|
156
|
-
type: Input
|
|
157
|
-
}], hideReset: [{
|
|
158
|
-
type: Input
|
|
159
|
-
}], dir: [{
|
|
160
|
-
type: Input
|
|
161
|
-
}] } });
|
|
162
|
-
|
|
163
|
-
/*
|
|
164
|
-
This service is for utillity usege.
|
|
165
|
-
*/
|
|
166
|
-
class PepCompositeLibUtilitiesService {
|
|
167
|
-
constructor() {
|
|
168
|
-
//
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
PepCompositeLibUtilitiesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
172
|
-
PepCompositeLibUtilitiesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, providedIn: 'root' });
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, decorators: [{
|
|
174
|
-
type: Injectable,
|
|
175
|
-
args: [{
|
|
176
|
-
providedIn: 'root',
|
|
177
|
-
}]
|
|
178
|
-
}], ctorParameters: function () { return []; } });
|
|
179
|
-
|
|
180
|
-
class PepDIMXHelperService {
|
|
181
|
-
constructor(addonBlockLoaderService) {
|
|
182
|
-
this.addonBlockLoaderService = addonBlockLoaderService;
|
|
183
|
-
}
|
|
184
|
-
register(viewContainerRef, dimxHostObject, onDIMXProcessDoneCallback) {
|
|
185
|
-
return this.addonBlockLoaderService.loadAddonBlockInContainer({
|
|
186
|
-
container: viewContainerRef,
|
|
187
|
-
name: 'DIMX',
|
|
188
|
-
hostObject: dimxHostObject,
|
|
189
|
-
hostEventsCallback: (event) => {
|
|
190
|
-
if (event.action === 'DIMXFunctionsRegister') {
|
|
191
|
-
this.dimxFunctions = event.value;
|
|
192
|
-
}
|
|
193
|
-
else if (event.action === 'DIMXProcessDone') {
|
|
194
|
-
onDIMXProcessDoneCallback(event.value);
|
|
195
|
-
}
|
|
196
|
-
else {
|
|
197
|
-
console.error('Unknown event action: ' + event.action);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
import(options) {
|
|
203
|
-
var _a;
|
|
204
|
-
if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXImport) === 'function') {
|
|
205
|
-
this.dimxFunctions.DIMXImport(options);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
console.error('DIMXImport function not found, are you registered?');
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
recursive_import(options) {
|
|
212
|
-
var _a;
|
|
213
|
-
if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXRecursiveImport) === 'function') {
|
|
214
|
-
this.dimxFunctions.DIMXRecursiveImport(options);
|
|
215
|
-
}
|
|
216
|
-
else {
|
|
217
|
-
console.error('DIMXRecursiveImport function not found, are you registered?');
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
export(options) {
|
|
221
|
-
var _a;
|
|
222
|
-
if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXExport) === 'function') {
|
|
223
|
-
this.dimxFunctions.DIMXExport(options);
|
|
224
|
-
}
|
|
225
|
-
else {
|
|
226
|
-
console.error('DIMXExport function not found, are you registered?');
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
recursive_export(options) {
|
|
230
|
-
var _a;
|
|
231
|
-
if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXRecursiveExport) === 'function') {
|
|
232
|
-
this.dimxFunctions.DIMXRecursiveExport(options);
|
|
233
|
-
}
|
|
234
|
-
else {
|
|
235
|
-
console.error('DIMXRecursiveExport function not found, are you registered?');
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
PepDIMXHelperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService, deps: [{ token: i1$1.PepAddonBlockLoaderService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
240
|
-
PepDIMXHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService });
|
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService, decorators: [{
|
|
242
|
-
type: Injectable
|
|
243
|
-
}], ctorParameters: function () { return [{ type: i1$1.PepAddonBlockLoaderService }]; } });
|
|
244
|
-
|
|
245
|
-
/*
|
|
246
|
-
* Public API Surface of ngx-composite-lib/core/common/services
|
|
247
|
-
*/
|
|
248
|
-
|
|
249
|
-
/*
|
|
250
|
-
* export from ngx-composite-lib/core/common/services
|
|
251
|
-
*/
|
|
252
|
-
|
|
253
|
-
const utilitiesList = [
|
|
254
|
-
PepResetConfigurationFieldDirective
|
|
255
|
-
];
|
|
256
|
-
class PepNgxCompositeLibModule {
|
|
257
|
-
constructor(pepIconRegistry) {
|
|
258
|
-
this.pepIconRegistry = pepIconRegistry;
|
|
259
|
-
this.pepIconRegistry.registerIcons([
|
|
260
|
-
pepIconDeviceResponsive
|
|
261
|
-
]);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
PepNgxCompositeLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, deps: [{ token: i1.PepIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
265
|
-
PepNgxCompositeLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, declarations: [PepResetConfigurationFieldDirective], imports: [CommonModule,
|
|
266
|
-
PepIconModule,
|
|
267
|
-
PepRemoteLoaderModule], exports: [PepResetConfigurationFieldDirective] });
|
|
268
|
-
PepNgxCompositeLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, providers: [
|
|
269
|
-
PepDIMXHelperService,
|
|
270
|
-
PepCompositeLibUtilitiesService
|
|
271
|
-
], imports: [CommonModule,
|
|
272
|
-
PepIconModule,
|
|
273
|
-
PepRemoteLoaderModule] });
|
|
274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, decorators: [{
|
|
275
|
-
type: NgModule,
|
|
276
|
-
args: [{
|
|
277
|
-
declarations: [
|
|
278
|
-
utilitiesList
|
|
279
|
-
],
|
|
280
|
-
imports: [
|
|
281
|
-
CommonModule,
|
|
282
|
-
PepIconModule,
|
|
283
|
-
PepRemoteLoaderModule,
|
|
284
|
-
],
|
|
285
|
-
exports: [
|
|
286
|
-
utilitiesList
|
|
287
|
-
//TranslateModule
|
|
288
|
-
],
|
|
289
|
-
providers: [
|
|
290
|
-
PepDIMXHelperService,
|
|
291
|
-
PepCompositeLibUtilitiesService
|
|
292
|
-
]
|
|
293
|
-
}]
|
|
294
|
-
}], ctorParameters: function () { return [{ type: i1.PepIconRegistry }]; } });
|
|
295
|
-
|
|
296
|
-
/*
|
|
297
|
-
* Public API Surface of ngx-composite-lib/core/common/directives
|
|
298
|
-
*/
|
|
299
|
-
|
|
300
|
-
/*
|
|
301
|
-
* export from ngx-composite-lib/core/common/directives
|
|
302
|
-
*/
|
|
303
|
-
|
|
304
|
-
/*
|
|
305
|
-
* Public API Surface of ngx-composite-lib/core/common
|
|
306
|
-
*/
|
|
307
|
-
|
|
308
|
-
/*
|
|
309
|
-
* export from ngx-composite-lib/core/common
|
|
310
|
-
*/
|
|
311
|
-
|
|
312
|
-
/*
|
|
313
|
-
* Public API Surface of ngx-composite-lib/core
|
|
314
|
-
*/
|
|
315
|
-
|
|
316
|
-
/*
|
|
317
|
-
* export from ngx-composite-lib/core
|
|
318
|
-
*/
|
|
319
|
-
|
|
320
|
-
/*
|
|
321
|
-
* Public API Surface of ngx-composite-lib
|
|
322
|
-
*/
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Generated bundle index. Do not edit.
|
|
326
|
-
*/
|
|
327
|
-
|
|
328
|
-
export { PepCompositeLibUtilitiesService, PepDIMXHelperService, PepNgxCompositeLibModule, PepResetConfigurationFieldDirective };
|
|
329
|
-
//# sourceMappingURL=pepperi-addons-ngx-composite-lib.mjs.map
|