@fundamental-ngx/platform 0.47.0-rc.8 → 0.47.0
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/action-button-group/action-button-group.component.d.ts +6 -0
- package/button/button.component.d.ts +4 -0
- package/esm2022/action-button-group/action-button-group.component.mjs +11 -2
- package/esm2022/button/button.component.mjs +6 -1
- package/esm2022/feed-input/feed-input.component.mjs +10 -2
- package/esm2022/form/combobox/combobox/combobox.component.mjs +2 -2
- package/esm2022/form/datetime-picker/datetime-picker.component.mjs +3 -3
- package/esm2022/form/form-generator/controls/dynamic-form-generator-datepicker/dynamic-form-generator-datepicker.component.mjs +5 -6
- package/esm2022/form/form-generator/controls/dynamic-form-generator-editor/dynamic-form-generator-editor.component.mjs +5 -6
- package/esm2022/form/form-generator/controls/dynamic-form-generator-input/dynamic-form-generator-input.component.mjs +6 -7
- package/esm2022/form/form-generator/controls/dynamic-form-generator-multi-input/dynamic-form-generator-multi-input.component.mjs +5 -6
- package/esm2022/form/form-generator/controls/dynamic-form-generator-select/dynamic-form-generator-select.component.mjs +6 -6
- package/esm2022/form/form-generator/controls/dynamic-form-generator-switch/dynamic-form-generator-switch.component.mjs +5 -6
- package/esm2022/form/form-generator/form-generator/form-generator.component.mjs +14 -15
- package/esm2022/form/form-group/form-field/form-field.component.mjs +6 -8
- package/esm2022/form/form-group/form-group-header/form-group-header.component.mjs +6 -8
- package/esm2022/form/form-group/form-group.component.mjs +17 -19
- package/esm2022/form/input/input.component.mjs +2 -2
- package/esm2022/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +3 -3
- package/esm2022/form/multi-combobox/multi-combobox-mobile/multi-combobox/multi-combobox-mobile.component.mjs +11 -13
- package/esm2022/form/multi-input/index.mjs +8 -0
- package/esm2022/form/multi-input/multi-input.component.mjs +5 -5
- package/esm2022/form/radio-group/radio/radio.component.mjs +10 -12
- package/esm2022/form/select/select/select.component.mjs +7 -8
- package/esm2022/form/step-input/number/number-step-input.component.mjs +7 -8
- package/esm2022/form/switch/switch/index.mjs +2 -0
- package/esm2022/form/switch/switch/switch.component.mjs +7 -8
- package/esm2022/form/text-area/text-area.component.mjs +2 -2
- package/esm2022/form/time-picker/time-picker.component.mjs +9 -10
- package/esm2022/info-label/info-label.component.mjs +8 -2
- package/esm2022/link/link.component.mjs +7 -1
- package/esm2022/list/object-list-item/object-list-item-row.component.mjs +7 -7
- package/esm2022/menu/menu-item.component.mjs +4 -1
- package/esm2022/menu/menu.component.mjs +7 -2
- package/esm2022/menu-button/menu-button.component.mjs +7 -1
- package/esm2022/message-popover/message-popover.component.mjs +8 -10
- package/esm2022/object-attribute/index.mjs +4 -3
- package/esm2022/object-marker/object-marker.component.mjs +11 -2
- package/esm2022/object-status/object-status.component.mjs +9 -3
- package/esm2022/settings-generator/controls/theme-selector-list/theme-selector-list.component.mjs +6 -7
- package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-icon/settings-generator-sidebar-icon.component.mjs +5 -7
- package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-layout.component.mjs +8 -9
- package/esm2022/settings-generator/settings-generator-content/settings-generator-content.component.mjs +10 -12
- package/esm2022/settings-generator/settings-generator.module.mjs +6 -10
- package/esm2022/shared/form/base.input.mjs +12 -10
- package/esm2022/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +2 -2
- package/esm2022/table/components/table-header-cell-content/table-header-cell-content.component.mjs +3 -3
- package/esm2022/table/components/table-header-row/table-header-row.component.mjs +7 -4
- package/esm2022/table/components/table-p13-dialog/filtering/filter-rule.component.mjs +2 -2
- package/esm2022/table/components/table-row/table-row.component.mjs +3 -3
- package/esm2022/table-helpers/pipes/column-sorting-direction.pipe.mjs +27 -0
- package/esm2022/table-helpers/pipes/index.mjs +2 -1
- package/esm2022/upload-collection/dialogs/new-folder/new-folder.component.mjs +2 -2
- package/esm2022/upload-collection/upload-collection/upload-collection.component.mjs +2 -2
- package/esm2022/value-help-dialog/components/define-tab/define-tab.component.mjs +2 -2
- package/esm2022/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +2 -2
- package/esm2022/wizard-generator/components/dialog-wizard-generator/dialog-wizard-generator.component.mjs +14 -16
- package/esm2022/wizard-generator/components/wizard-body/wizard-body.component.mjs +8 -10
- package/esm2022/wizard-generator/components/wizard-generator/wizard-generator.component.mjs +9 -10
- package/esm2022/wizard-generator/components/wizard-summary-step/wizard-summary-section/wizard-summary-section.component.mjs +4 -5
- package/feed-input/feed-input.component.d.ts +5 -0
- package/fesm2022/fundamental-ngx-platform-action-button-group.mjs +10 -1
- package/fesm2022/fundamental-ngx-platform-action-button-group.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-button.mjs +5 -0
- package/fesm2022/fundamental-ngx-platform-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-feed-input.mjs +9 -1
- package/fesm2022/fundamental-ngx-platform-feed-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-form.mjs +460 -467
- package/fesm2022/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-info-label.mjs +7 -1
- package/fesm2022/fundamental-ngx-platform-info-label.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-link.mjs +6 -0
- package/fesm2022/fundamental-ngx-platform-link.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-list.mjs +6 -6
- package/fesm2022/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-menu-button.mjs +6 -0
- package/fesm2022/fundamental-ngx-platform-menu-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-menu.mjs +9 -1
- package/fesm2022/fundamental-ngx-platform-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs +9 -11
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-object-attribute.mjs +1 -60
- package/fesm2022/fundamental-ngx-platform-object-attribute.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-object-marker.mjs +10 -1
- package/fesm2022/fundamental-ngx-platform-object-marker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-object-status.mjs +8 -2
- package/fesm2022/fundamental-ngx-platform-object-status.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs +118 -124
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-shared.mjs +7 -5
- package/fesm2022/fundamental-ngx-platform-shared.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs +26 -1
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table.mjs +12 -9
- package/fesm2022/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-upload-collection.mjs +2 -2
- package/fesm2022/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs +2 -2
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs +175 -179
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs.map +1 -1
- package/form/form-generator/form-generator/form-generator.component.d.ts +4 -4
- package/form/form-group/form-group-header/form-group-header.component.d.ts +1 -1
- package/form/form-group/form-group.component.d.ts +3 -3
- package/form/multi-combobox/multi-combobox-mobile/multi-combobox/multi-combobox-mobile.component.d.ts +2 -2
- package/form/multi-input/index.d.ts +7 -0
- package/form/radio-group/radio/radio.component.d.ts +2 -2
- package/form/switch/switch/index.d.ts +1 -0
- package/form/time-picker/time-picker.component.d.ts +2 -2
- package/fundamental-ngx-platform-v0.47.0.tgz +0 -0
- package/info-label/info-label.component.d.ts +5 -0
- package/link/link.component.d.ts +4 -0
- package/menu/menu-item.component.d.ts +3 -0
- package/menu/menu.component.d.ts +4 -0
- package/menu-button/menu-button.component.d.ts +4 -0
- package/object-attribute/index.d.ts +3 -2
- package/object-marker/object-marker.component.d.ts +6 -0
- package/object-status/object-status.component.d.ts +6 -0
- package/package.json +4 -4
- package/schematics/ng-add/index.js +1 -1
- package/settings-generator/settings-generator.module.d.ts +8 -9
- package/shared/form/base.input.d.ts +5 -5
- package/table/components/table-header-row/table-header-row.component.d.ts +3 -1
- package/table-helpers/pipes/column-sorting-direction.pipe.d.ts +12 -0
- package/table-helpers/pipes/index.d.ts +1 -0
- package/wizard-generator/components/wizard-body/wizard-body.component.d.ts +1 -1
- package/wizard-generator/components/wizard-generator/wizard-generator.component.d.ts +1 -1
- package/esm2022/object-attribute/object-attribute.component.mjs +0 -45
- package/esm2022/object-attribute/object-attribute.module.mjs +0 -16
- package/fundamental-ngx-platform-v0.47.0-rc.8.tgz +0 -0
- package/object-attribute/README.md +0 -25
- package/object-attribute/object-attribute.component.d.ts +0 -26
- package/object-attribute/object-attribute.module.d.ts +0 -7
|
@@ -4,10 +4,9 @@ import { FormLabelComponent } from '@fundamental-ngx/core/form';
|
|
|
4
4
|
import { LayoutGridModule } from '@fundamental-ngx/core/layout-grid';
|
|
5
5
|
import { TitleComponent } from '@fundamental-ngx/core/title';
|
|
6
6
|
import { FdTranslatePipe } from '@fundamental-ngx/i18n';
|
|
7
|
-
import {
|
|
7
|
+
import { LinkComponent } from '@fundamental-ngx/platform/link';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@fundamental-ngx/core/layout-grid";
|
|
10
|
-
import * as i2 from "@fundamental-ngx/platform/link";
|
|
11
10
|
export class WizardSummarySectionComponent {
|
|
12
11
|
constructor() {
|
|
13
12
|
/**
|
|
@@ -29,14 +28,14 @@ export class WizardSummarySectionComponent {
|
|
|
29
28
|
return form.id;
|
|
30
29
|
}
|
|
31
30
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: WizardSummarySectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: WizardSummarySectionComponent, isStandalone: true, selector: "fdp-wizard-summary-section", inputs: { step: "step" }, outputs: { editStep: "editStep" }, ngImport: i0, template: "<ng-container *ngFor=\"let group of step.forms; trackBy: _trackFn\">\n <h4 fd-title [headerSize]=\"4\">{{ group.title }}</h4>\n <fd-layout-grid [style.margin-bottom.rem]=\"2\">\n <div fdLayoutGridRow>\n <div [fdLayoutGridCol]=\"4\" [colMd]=\"2\" [colLg]=\"2\" [colXl]=\"2\">\n <div *ngFor=\"let item of group.items\">\n <label fd-form-label> {{ item.label }}: </label>\n </div>\n </div>\n <div [fdLayoutGridCol]=\"4\" [colMd]=\"5\" [colLg]=\"5\" [colXl]=\"5\">\n <div *ngFor=\"let item of group.items\">\n <label fd-form-label>\n {{ item.value || '-' }}\n </label>\n </div>\n </div>\n <div [fdLayoutGridCol]=\"1\" [colMd]=\"5\" [colLg]=\"5\" [colXl]=\"5\">\n <fdp-link href=\"#\" (click)=\"_editStep($event)\">\n {{ 'platformWizardGenerator.summarySectionEditStep' | fdTranslate }}\n </fdp-link>\n </div>\n </div>\n </fd-layout-grid>\n</ng-container>\n", dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "ngmodule", type: LayoutGridModule }, { kind: "component", type: i1.LayoutGridComponent, selector: "fd-layout-grid, [fdLayoutGrid]", inputs: ["class", "noGap", "noHorizontalGap", "noVerticalGap"] }, { kind: "directive", type: i1.LayoutGridColDirective, selector: "[fd-layout-grid-col], [fdLayoutGridCol]", inputs: ["fdLayoutGridCol", "colGrow", "colMd", "colLg", "colXl", "colOffset", "colOffsetMd", "colOffsetLg", "colOffsetXl", "class"] }, { kind: "directive", type: i1.LayoutGridRowDirective, selector: "[fd-layout-grid-row], [fdLayoutGridRow]" }, { kind: "component", type: FormLabelComponent, selector: "[fd-form-label]", inputs: ["required", "colon", "alignLabelEnd", "inlineHelpContent", "inlineHelpGlyph", "inlineHelpTriggers", "inlineHelpBodyPlacement", "inlineHelpPlacement", "inlineHelpLabel", "id"] }, { kind: "
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: WizardSummarySectionComponent, isStandalone: true, selector: "fdp-wizard-summary-section", inputs: { step: "step" }, outputs: { editStep: "editStep" }, ngImport: i0, template: "<ng-container *ngFor=\"let group of step.forms; trackBy: _trackFn\">\n <h4 fd-title [headerSize]=\"4\">{{ group.title }}</h4>\n <fd-layout-grid [style.margin-bottom.rem]=\"2\">\n <div fdLayoutGridRow>\n <div [fdLayoutGridCol]=\"4\" [colMd]=\"2\" [colLg]=\"2\" [colXl]=\"2\">\n <div *ngFor=\"let item of group.items\">\n <label fd-form-label> {{ item.label }}: </label>\n </div>\n </div>\n <div [fdLayoutGridCol]=\"4\" [colMd]=\"5\" [colLg]=\"5\" [colXl]=\"5\">\n <div *ngFor=\"let item of group.items\">\n <label fd-form-label>\n {{ item.value || '-' }}\n </label>\n </div>\n </div>\n <div [fdLayoutGridCol]=\"1\" [colMd]=\"5\" [colLg]=\"5\" [colXl]=\"5\">\n <fdp-link href=\"#\" (click)=\"_editStep($event)\">\n {{ 'platformWizardGenerator.summarySectionEditStep' | fdTranslate }}\n </fdp-link>\n </div>\n </div>\n </fd-layout-grid>\n</ng-container>\n", dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "ngmodule", type: LayoutGridModule }, { kind: "component", type: i1.LayoutGridComponent, selector: "fd-layout-grid, [fdLayoutGrid]", inputs: ["class", "noGap", "noHorizontalGap", "noVerticalGap"] }, { kind: "directive", type: i1.LayoutGridColDirective, selector: "[fd-layout-grid-col], [fdLayoutGridCol]", inputs: ["fdLayoutGridCol", "colGrow", "colMd", "colLg", "colXl", "colOffset", "colOffsetMd", "colOffsetLg", "colOffsetXl", "class"] }, { kind: "directive", type: i1.LayoutGridRowDirective, selector: "[fd-layout-grid-row], [fdLayoutGridRow]" }, { kind: "component", type: FormLabelComponent, selector: "[fd-form-label]", inputs: ["required", "colon", "alignLabelEnd", "inlineHelpContent", "inlineHelpGlyph", "inlineHelpTriggers", "inlineHelpBodyPlacement", "inlineHelpPlacement", "inlineHelpLabel", "id"] }, { kind: "component", type: LinkComponent, selector: "fdp-link", inputs: ["href", "target", "linkType", "type", "inverted", "title", "hreflang", "download", "media", "rel", "truncate"], outputs: ["click"] }, { kind: "pipe", type: FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
33
32
|
}
|
|
34
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: WizardSummarySectionComponent, decorators: [{
|
|
35
34
|
type: Component,
|
|
36
|
-
args: [{ selector: 'fdp-wizard-summary-section', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [NgFor, TitleComponent, LayoutGridModule, FormLabelComponent,
|
|
35
|
+
args: [{ selector: 'fdp-wizard-summary-section', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [NgFor, TitleComponent, LayoutGridModule, FormLabelComponent, LinkComponent, FdTranslatePipe], template: "<ng-container *ngFor=\"let group of step.forms; trackBy: _trackFn\">\n <h4 fd-title [headerSize]=\"4\">{{ group.title }}</h4>\n <fd-layout-grid [style.margin-bottom.rem]=\"2\">\n <div fdLayoutGridRow>\n <div [fdLayoutGridCol]=\"4\" [colMd]=\"2\" [colLg]=\"2\" [colXl]=\"2\">\n <div *ngFor=\"let item of group.items\">\n <label fd-form-label> {{ item.label }}: </label>\n </div>\n </div>\n <div [fdLayoutGridCol]=\"4\" [colMd]=\"5\" [colLg]=\"5\" [colXl]=\"5\">\n <div *ngFor=\"let item of group.items\">\n <label fd-form-label>\n {{ item.value || '-' }}\n </label>\n </div>\n </div>\n <div [fdLayoutGridCol]=\"1\" [colMd]=\"5\" [colLg]=\"5\" [colXl]=\"5\">\n <fdp-link href=\"#\" (click)=\"_editStep($event)\">\n {{ 'platformWizardGenerator.summarySectionEditStep' | fdTranslate }}\n </fdp-link>\n </div>\n </div>\n </fd-layout-grid>\n</ng-container>\n" }]
|
|
37
36
|
}], propDecorators: { step: [{
|
|
38
37
|
type: Input
|
|
39
38
|
}], editStep: [{
|
|
40
39
|
type: Output
|
|
41
40
|
}] } });
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2l6YXJkLXN1bW1hcnktc2VjdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3NyYy9saWIvd2l6YXJkLWdlbmVyYXRvci9jb21wb25lbnRzL3dpemFyZC1zdW1tYXJ5LXN0ZXAvd2l6YXJkLXN1bW1hcnktc2VjdGlvbi93aXphcmQtc3VtbWFyeS1zZWN0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vc3JjL2xpYi93aXphcmQtZ2VuZXJhdG9yL2NvbXBvbm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VsIGZkLWZvcm0tbGFiZWw+IHt7IGl0ZW0ubGFiZWwgfX06IDwvbGFiZWw+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDxkaXYgW2ZkTGF5b3V0R3JpZENvbF09XCI0XCIgW2NvbE1kXT1cIjVcIiBbY29sTGddPVwiNVwiIFtjb2xYbF09XCI1XCI+XG4gICAgICAgICAgICAgICAgPGRpdiAqbmdGb3I9XCJsZXQgaXRlbSBvZiBncm91cC5pdGVtc1wiPlxuICAgICAgICAgICAgICAgICAgICA8bGFiZWwgZmQtZm9ybS1sYWJlbD5cbiAgICAgICAgICAgICAgICAgICAgICAgIHt7IGl0ZW0udmFsdWUgfHwgJy0nIH19XG4gICAgICAgICAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDxkaXYgW2ZkTGF5b3V0R3JpZENvbF09XCIxXCIgW2NvbE1kXT1cIjVcIiBbY29sTGddPVwiNVwiIFtjb2xYbF09XCI1XCI+XG4gICAgICAgICAgICAgICAgPGZkcC1saW5rIGhyZWY9XCIjXCIgKGNsaWNrKT1cIl9lZGl0U3RlcCgkZXZlbnQpXCI+XG4gICAgICAgICAgICAgICAgICAgIHt7ICdwbGF0Zm9ybVdpemFyZEdlbmVyYXRvci5zdW1tYXJ5U2VjdGlvbkVkaXRTdGVwJyB8IGZkVHJhbnNsYXRlIH19XG4gICAgICAgICAgICAgICAgPC9mZHAtbGluaz5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2ZkLWxheW91dC1ncmlkPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
* Use the `fd-feed-input[modelDriven]` component from `@fundamental-ngx/core/feed-input` instead.
|
|
6
|
+
* The `fd-feed-input` component is a drop-in replacement for the `fdp-feed-input` component.
|
|
7
|
+
*/
|
|
3
8
|
export declare class FeedInputComponent implements AfterViewInit {
|
|
4
9
|
private _renderer;
|
|
5
10
|
/** The user image source, If is not set, then the user image will display placeholder image. */
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, NgModule } from '@angular/core';
|
|
3
|
+
import { warnOnce } from '@fundamental-ngx/cdk/utils';
|
|
3
4
|
import { ActionBarActionsDirective } from '@fundamental-ngx/core/action-bar';
|
|
4
5
|
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated
|
|
8
|
+
* ActionButtonGroupComponent is deprecated
|
|
9
|
+
*/
|
|
5
10
|
class ActionButtonGroupComponent {
|
|
11
|
+
/** @hidden */
|
|
12
|
+
constructor() {
|
|
13
|
+
warnOnce(`ActionButtonGroupComponent is deprecated and will be removed in future release.`);
|
|
14
|
+
}
|
|
6
15
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: ActionButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
16
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: ActionButtonGroupComponent, isStandalone: true, selector: "fdp-action-button-group", ngImport: i0, template: "<div fd-action-bar-actions>\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: ActionBarActionsDirective, selector: "[fd-action-bar-actions]" }] }); }
|
|
8
17
|
}
|
|
9
18
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: ActionButtonGroupComponent, decorators: [{
|
|
10
19
|
type: Component,
|
|
11
20
|
args: [{ selector: 'fdp-action-button-group', standalone: true, imports: [ActionBarActionsDirective], template: "<div fd-action-bar-actions>\n <ng-content></ng-content>\n</div>\n" }]
|
|
12
|
-
}] });
|
|
21
|
+
}], ctorParameters: function () { return []; } });
|
|
13
22
|
|
|
14
23
|
class PlatformActionButtonGroupModule {
|
|
15
24
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: PlatformActionButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-platform-action-button-group.mjs","sources":["../../../../libs/platform/src/lib/action-button-group/action-button-group.component.ts","../../../../libs/platform/src/lib/action-button-group/action-button-group.component.html","../../../../libs/platform/src/lib/action-button-group/action-button-group.module.ts","../../../../libs/platform/src/lib/action-button-group/fundamental-ngx-platform-action-button-group.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { ActionBarActionsDirective } from '@fundamental-ngx/core/action-bar';\n\n@Component({\n selector: 'fdp-action-button-group',\n templateUrl: './action-button-group.component.html',\n standalone: true,\n imports: [ActionBarActionsDirective]\n})\nexport class ActionButtonGroupComponent {}\n","<div fd-action-bar-actions>\n <ng-content></ng-content>\n</div>\n","import { NgModule } from '@angular/core';\n\nimport { ActionButtonGroupComponent } from './action-button-group.component';\n\n@NgModule({\n imports: [ActionButtonGroupComponent],\n exports: [ActionButtonGroupComponent]\n})\nexport class PlatformActionButtonGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-platform-action-button-group.mjs","sources":["../../../../libs/platform/src/lib/action-button-group/action-button-group.component.ts","../../../../libs/platform/src/lib/action-button-group/action-button-group.component.html","../../../../libs/platform/src/lib/action-button-group/action-button-group.module.ts","../../../../libs/platform/src/lib/action-button-group/fundamental-ngx-platform-action-button-group.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { warnOnce } from '@fundamental-ngx/cdk/utils';\nimport { ActionBarActionsDirective } from '@fundamental-ngx/core/action-bar';\n\n/**\n * @deprecated\n * ActionButtonGroupComponent is deprecated\n */\n@Component({\n selector: 'fdp-action-button-group',\n templateUrl: './action-button-group.component.html',\n standalone: true,\n imports: [ActionBarActionsDirective]\n})\nexport class ActionButtonGroupComponent {\n /** @hidden */\n constructor() {\n warnOnce(`ActionButtonGroupComponent is deprecated and will be removed in future release.`);\n }\n}\n","<div fd-action-bar-actions>\n <ng-content></ng-content>\n</div>\n","import { NgModule } from '@angular/core';\n\nimport { ActionButtonGroupComponent } from './action-button-group.component';\n\n@NgModule({\n imports: [ActionButtonGroupComponent],\n exports: [ActionButtonGroupComponent]\n})\nexport class PlatformActionButtonGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;;AAGG;MAOU,0BAA0B,CAAA;;AAEnC,IAAA,WAAA,GAAA;QACI,QAAQ,CAAC,CAAiF,+EAAA,CAAA,CAAC,CAAC;KAC/F;8GAJQ,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECdvC,sEAGA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDSc,yBAAyB,EAAA,QAAA,EAAA,yBAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAE1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBANtC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,EAEvB,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,yBAAyB,CAAC,EAAA,QAAA,EAAA,sEAAA,EAAA,CAAA;;;MEJ3B,+BAA+B,CAAA;8GAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAA/B,+BAA+B,EAAA,OAAA,EAAA,CAH9B,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAC1B,0BAA0B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAE3B,+BAA+B,EAAA,CAAA,CAAA,EAAA;;2FAA/B,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAJ3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,0BAA0B,CAAC;oBACrC,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACxC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -5,6 +5,10 @@ import { warnOnce } from '@fundamental-ngx/cdk/utils';
|
|
|
5
5
|
import { ButtonComponent as ButtonComponent$1 } from '@fundamental-ngx/core/button';
|
|
6
6
|
import { BaseComponent } from '@fundamental-ngx/platform/shared';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated
|
|
10
|
+
* Button component is deprecated. Use `fd-button` from `@fundamental-ngx/core` instead.
|
|
11
|
+
*/
|
|
8
12
|
class ButtonComponent extends BaseComponent {
|
|
9
13
|
/** @deprecated use toggled input property instead
|
|
10
14
|
* aria-selected for acccesiblity to the native HTML button
|
|
@@ -45,6 +49,7 @@ class ButtonComponent extends BaseComponent {
|
|
|
45
49
|
* be properly focused on.
|
|
46
50
|
*/
|
|
47
51
|
this.tabIndex = '-1';
|
|
52
|
+
warnOnce("Platform's ButtonComponent is deprecated and will be removed in the next major release. Consider using Core's ButtonComponent instead.");
|
|
48
53
|
}
|
|
49
54
|
/** @hidden */
|
|
50
55
|
ngAfterViewInit() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-platform-button.mjs","sources":["../../../../libs/platform/src/lib/button/button.component.ts","../../../../libs/platform/src/lib/button/button.component.html","../../../../libs/platform/src/lib/button/button.module.ts","../../../../libs/platform/src/lib/button/fundamental-ngx-platform-button.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n Input,\n Output\n} from '@angular/core';\n\nimport { ModuleDeprecation, Nullable, warnOnce } from '@fundamental-ngx/cdk/utils';\nimport { ButtonType, ButtonComponent as CoreButtonComponent, GlyphPosition } from '@fundamental-ngx/core/button';\nimport { BaseComponent } from '@fundamental-ngx/platform/shared';\n\n@Component({\n selector: 'fdp-button',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n standalone: true,\n imports: [CoreButtonComponent]\n})\nexport class ButtonComponent extends BaseComponent implements AfterViewInit {\n /** Position of glyph related to text */\n @Input()\n glyphPosition: GlyphPosition = 'before';\n\n /**\n * Text rendered inside button component\n */\n @Input()\n label: string;\n\n /** The icon to include in the button. See the icon page for the list of icons.\n * Setter is used to control when css class have to be rebuilded.\n * Default value is set to ''.\n */\n @Input()\n glyph: string;\n\n /** The buttonType of the button. Types includes\n 'standard','positive', 'negative', 'attention', 'ghost',\n 'transparent', 'emphasized','menu'.\n *Leave empty for default (standard button).'*/\n @Input()\n buttonType: ButtonType = 'standard';\n\n /** Whether button is in toggled state. */\n @Input()\n toggled: Nullable<boolean>;\n\n /** arialabel, tooltip for truncated text\n * for acccesiblity of the element */\n @Input()\n title: Nullable<string>;\n\n /** @deprecated use toggled input property instead\n * aria-selected for acccesiblity to the native HTML button\n */\n @Input()\n set ariaSelected(value: Nullable<boolean>) {\n warnOnce('Property ariaSelected is deprecated. Use `toggled` input property instead.');\n this._ariaSelected = value;\n }\n\n get ariaSelected(): Nullable<boolean> {\n return this._ariaSelected;\n }\n\n /** aria-disabled for acccesiblity to\n * the native HTML button*/\n @Input()\n ariaDisabled: Nullable<boolean>;\n\n /**\n * propagate aria-expanded for accessiblity to\n * the native HTML button\n */\n @Input()\n ariaExpanded: Nullable<boolean>;\n\n /**\n * propagate aria-controls for accessiblity to\n * the native HTML button\n */\n @Input()\n ariaControlsId: Nullable<string>;\n\n /** @deprecated use toggled input property instead\n * propagate aria-pressed for accessiblity to the native HTML button\n */\n @Input()\n set ariaPressed(value: Nullable<boolean>) {\n warnOnce('Property ariaPressed is deprecated. Use `toggled` input property instead.');\n this._ariaPressed = value;\n }\n\n get ariaPressed(): Nullable<boolean> {\n return this._ariaPressed;\n }\n\n /** Specifies a name to\n * the native HTML button */\n @Input()\n name: string;\n\n /** Specifies the type to\n * the native HTML button */\n @Input()\n type: Nullable<string>;\n\n /** Specifies an initial value to\n * the native HTML button */\n @Input()\n value: Nullable<string>;\n\n /** Event sent when button is clicked */\n @Output()\n buttonClicked: EventEmitter<any> = new EventEmitter();\n\n /**\n * Take host element out of tab order, so that child button can\n * be properly focused on.\n */\n @HostBinding('attr.tabindex')\n tabIndex = '-1';\n\n /** @hidden */\n private _ariaSelected: Nullable<boolean>;\n\n /** @hidden */\n private _ariaPressed: Nullable<boolean>;\n\n /** @hidden */\n constructor(protected _changeDetector: ChangeDetectorRef, private _elementRef: ElementRef) {\n super(_changeDetector);\n }\n\n /** @hidden */\n ngAfterViewInit(): void {\n this._elementRef.nativeElement.childNodes[0].classList.add('fd-ellipsis');\n }\n\n /**\n * Handles button click\n */\n public onBtnClick($event: any): void {\n this.buttonClicked.emit($event);\n }\n}\n\nexport class DeprecatedButtonAriaSelected implements ModuleDeprecation {\n /** @hidden */\n message = 'ariaSelected input property is deprecated.';\n\n /** @hidden */\n alternative = {\n name: 'Use [toggled] input property instead',\n link: ['/platform', 'button'],\n fragment: 'state'\n };\n}\n\nexport class DeprecatedButtonAriaPressed implements ModuleDeprecation {\n /** @hidden */\n message = 'ariaPressed input property is deprecated.';\n\n /** @hidden */\n alternative = {\n name: 'Use [toggled] input property instead',\n link: ['/platform', 'button'],\n fragment: 'state'\n };\n}\n","<button\n #fdButton\n fd-button\n [attr.id]=\"id\"\n [attr.title]=\"title\"\n [attr.name]=\"name\"\n [ariaLabel]=\"ariaLabel\"\n [attr.aria-controls]=\"ariaControlsId\"\n [attr.aria-expanded]=\"ariaExpanded\"\n [attr.aria-pressed]=\"ariaPressed\"\n [attr.aria-selected]=\"ariaSelected\"\n [attr.aria-disabled]=\"ariaDisabled\"\n [attr.value]=\"value\"\n [glyphPosition]=\"glyphPosition\"\n [label]=\"label\"\n [type]=\"type\"\n [toggled]=\"toggled || ariaPressed || ariaSelected\"\n [glyph]=\"glyph\"\n [disabled]=\"disabled\"\n [fdType]=\"buttonType\"\n [class.is-disabled]=\"ariaDisabled\"\n [style.width]=\"width\"\n (click)=\"onBtnClick($event)\"\n></button>\n","import { NgModule } from '@angular/core';\n\nimport { ContentDensityModule } from '@fundamental-ngx/core/content-density';\nimport { ButtonComponent } from './button.component';\n\n@NgModule({\n imports: [ButtonComponent, ContentDensityModule],\n exports: [ButtonComponent, ContentDensityModule]\n})\nexport class PlatformButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["CoreButtonComponent"],"mappings":";;;;;;;AAsBM,MAAO,eAAgB,SAAQ,aAAa,CAAA;AAkC9C;;AAEG;IACH,IACI,YAAY,CAAC,KAAwB,EAAA;QACrC,QAAQ,CAAC,4EAA4E,CAAC,CAAC;AACvF,QAAA,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;KAC9B;AAED,IAAA,IAAI,YAAY,GAAA;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC;KAC7B;AAqBD;;AAEG;IACH,IACI,WAAW,CAAC,KAAwB,EAAA;QACpC,QAAQ,CAAC,2EAA2E,CAAC,CAAC;AACtF,QAAA,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;KAC7B;AAED,IAAA,IAAI,WAAW,GAAA;QACX,OAAO,IAAI,CAAC,YAAY,CAAC;KAC5B;;IAmCD,WAAsB,CAAA,eAAkC,EAAU,WAAuB,EAAA;QACrF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EAHnB,OAAA,EAAA,CAAA,eAAe,EAAE,oBAAoB,EACpB,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEtC,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,oBAAoB,CAAC;AAChD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,oBAAoB,CAAC;AACnD,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-platform-button.mjs","sources":["../../../../libs/platform/src/lib/button/button.component.ts","../../../../libs/platform/src/lib/button/button.component.html","../../../../libs/platform/src/lib/button/button.module.ts","../../../../libs/platform/src/lib/button/fundamental-ngx-platform-button.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n Input,\n Output\n} from '@angular/core';\n\nimport { ModuleDeprecation, Nullable, warnOnce } from '@fundamental-ngx/cdk/utils';\nimport { ButtonType, ButtonComponent as CoreButtonComponent, GlyphPosition } from '@fundamental-ngx/core/button';\nimport { BaseComponent } from '@fundamental-ngx/platform/shared';\n\n/**\n * @deprecated\n * Button component is deprecated. Use `fd-button` from `@fundamental-ngx/core` instead.\n */\n@Component({\n selector: 'fdp-button',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n standalone: true,\n imports: [CoreButtonComponent]\n})\nexport class ButtonComponent extends BaseComponent implements AfterViewInit {\n /** Position of glyph related to text */\n @Input()\n glyphPosition: GlyphPosition = 'before';\n\n /**\n * Text rendered inside button component\n */\n @Input()\n label: string;\n\n /** The icon to include in the button. See the icon page for the list of icons.\n * Setter is used to control when css class have to be rebuilded.\n * Default value is set to ''.\n */\n @Input()\n glyph: string;\n\n /** The buttonType of the button. Types includes\n 'standard','positive', 'negative', 'attention', 'ghost',\n 'transparent', 'emphasized','menu'.\n *Leave empty for default (standard button).'*/\n @Input()\n buttonType: ButtonType = 'standard';\n\n /** Whether button is in toggled state. */\n @Input()\n toggled: Nullable<boolean>;\n\n /** arialabel, tooltip for truncated text\n * for acccesiblity of the element */\n @Input()\n title: Nullable<string>;\n\n /** @deprecated use toggled input property instead\n * aria-selected for acccesiblity to the native HTML button\n */\n @Input()\n set ariaSelected(value: Nullable<boolean>) {\n warnOnce('Property ariaSelected is deprecated. Use `toggled` input property instead.');\n this._ariaSelected = value;\n }\n\n get ariaSelected(): Nullable<boolean> {\n return this._ariaSelected;\n }\n\n /** aria-disabled for acccesiblity to\n * the native HTML button*/\n @Input()\n ariaDisabled: Nullable<boolean>;\n\n /**\n * propagate aria-expanded for accessiblity to\n * the native HTML button\n */\n @Input()\n ariaExpanded: Nullable<boolean>;\n\n /**\n * propagate aria-controls for accessiblity to\n * the native HTML button\n */\n @Input()\n ariaControlsId: Nullable<string>;\n\n /** @deprecated use toggled input property instead\n * propagate aria-pressed for accessiblity to the native HTML button\n */\n @Input()\n set ariaPressed(value: Nullable<boolean>) {\n warnOnce('Property ariaPressed is deprecated. Use `toggled` input property instead.');\n this._ariaPressed = value;\n }\n\n get ariaPressed(): Nullable<boolean> {\n return this._ariaPressed;\n }\n\n /** Specifies a name to\n * the native HTML button */\n @Input()\n name: string;\n\n /** Specifies the type to\n * the native HTML button */\n @Input()\n type: Nullable<string>;\n\n /** Specifies an initial value to\n * the native HTML button */\n @Input()\n value: Nullable<string>;\n\n /** Event sent when button is clicked */\n @Output()\n buttonClicked: EventEmitter<any> = new EventEmitter();\n\n /**\n * Take host element out of tab order, so that child button can\n * be properly focused on.\n */\n @HostBinding('attr.tabindex')\n tabIndex = '-1';\n\n /** @hidden */\n private _ariaSelected: Nullable<boolean>;\n\n /** @hidden */\n private _ariaPressed: Nullable<boolean>;\n\n /** @hidden */\n constructor(protected _changeDetector: ChangeDetectorRef, private _elementRef: ElementRef) {\n super(_changeDetector);\n warnOnce(\n \"Platform's ButtonComponent is deprecated and will be removed in the next major release. Consider using Core's ButtonComponent instead.\"\n );\n }\n\n /** @hidden */\n ngAfterViewInit(): void {\n this._elementRef.nativeElement.childNodes[0].classList.add('fd-ellipsis');\n }\n\n /**\n * Handles button click\n */\n public onBtnClick($event: any): void {\n this.buttonClicked.emit($event);\n }\n}\n\nexport class DeprecatedButtonAriaSelected implements ModuleDeprecation {\n /** @hidden */\n message = 'ariaSelected input property is deprecated.';\n\n /** @hidden */\n alternative = {\n name: 'Use [toggled] input property instead',\n link: ['/platform', 'button'],\n fragment: 'state'\n };\n}\n\nexport class DeprecatedButtonAriaPressed implements ModuleDeprecation {\n /** @hidden */\n message = 'ariaPressed input property is deprecated.';\n\n /** @hidden */\n alternative = {\n name: 'Use [toggled] input property instead',\n link: ['/platform', 'button'],\n fragment: 'state'\n };\n}\n","<button\n #fdButton\n fd-button\n [attr.id]=\"id\"\n [attr.title]=\"title\"\n [attr.name]=\"name\"\n [ariaLabel]=\"ariaLabel\"\n [attr.aria-controls]=\"ariaControlsId\"\n [attr.aria-expanded]=\"ariaExpanded\"\n [attr.aria-pressed]=\"ariaPressed\"\n [attr.aria-selected]=\"ariaSelected\"\n [attr.aria-disabled]=\"ariaDisabled\"\n [attr.value]=\"value\"\n [glyphPosition]=\"glyphPosition\"\n [label]=\"label\"\n [type]=\"type\"\n [toggled]=\"toggled || ariaPressed || ariaSelected\"\n [glyph]=\"glyph\"\n [disabled]=\"disabled\"\n [fdType]=\"buttonType\"\n [class.is-disabled]=\"ariaDisabled\"\n [style.width]=\"width\"\n (click)=\"onBtnClick($event)\"\n></button>\n","import { NgModule } from '@angular/core';\n\nimport { ContentDensityModule } from '@fundamental-ngx/core/content-density';\nimport { ButtonComponent } from './button.component';\n\n@NgModule({\n imports: [ButtonComponent, ContentDensityModule],\n exports: [ButtonComponent, ContentDensityModule]\n})\nexport class PlatformButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["CoreButtonComponent"],"mappings":";;;;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;AAAA;;ME3KY,oBAAoB,CAAA;8GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAHnB,eAAe,EAAE,oBAAoB,CACrC,EAAA,OAAA,EAAA,CAAA,eAAe,EAAE,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;AAEtC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAHnB,OAAA,EAAA,CAAA,eAAe,EAAE,oBAAoB,EACpB,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEtC,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,oBAAoB,CAAC;AAChD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,oBAAoB,CAAC;AACnD,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -3,11 +3,17 @@ import { EventEmitter, ElementRef, Component, ViewEncapsulation, ChangeDetection
|
|
|
3
3
|
import { NgIf } from '@angular/common';
|
|
4
4
|
import * as i1 from '@angular/forms';
|
|
5
5
|
import { FormsModule } from '@angular/forms';
|
|
6
|
+
import { warnOnce } from '@fundamental-ngx/cdk/utils';
|
|
6
7
|
import { AvatarComponent } from '@fundamental-ngx/core/avatar';
|
|
7
8
|
import { FormControlComponent } from '@fundamental-ngx/core/form';
|
|
8
9
|
import { FdTranslatePipe } from '@fundamental-ngx/i18n';
|
|
9
10
|
import { ButtonComponent } from '@fundamental-ngx/platform/button';
|
|
10
11
|
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
* Use the `fd-feed-input[modelDriven]` component from `@fundamental-ngx/core/feed-input` instead.
|
|
15
|
+
* The `fd-feed-input` component is a drop-in replacement for the `fdp-feed-input` component.
|
|
16
|
+
*/
|
|
11
17
|
class FeedInputComponent {
|
|
12
18
|
/** @hidden */
|
|
13
19
|
constructor(_renderer) {
|
|
@@ -18,6 +24,8 @@ class FeedInputComponent {
|
|
|
18
24
|
this.disabled = false;
|
|
19
25
|
/** @hidden Event emitted when user click on send button */
|
|
20
26
|
this.submit = new EventEmitter();
|
|
27
|
+
warnOnce('FeedInputComponent is deprecated and will be removed in future release. ' +
|
|
28
|
+
'Use the `fd-feed-input` component from `@fundamental-ngx/core/feed-input` instead.');
|
|
21
29
|
}
|
|
22
30
|
/** @hidden */
|
|
23
31
|
ngAfterViewInit() {
|
|
@@ -62,7 +70,7 @@ class FeedInputComponent {
|
|
|
62
70
|
parseInt(computed.getPropertyValue('border-bottom-width'), 10));
|
|
63
71
|
}
|
|
64
72
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: FeedInputComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
65
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: FeedInputComponent, isStandalone: true, selector: "fdp-feed-input", inputs: { avatarSrc: "avatarSrc", placeholder: "placeholder", avatarShow: "avatarShow", disabled: "disabled", maxHeight: "maxHeight" }, outputs: { submit: "submit" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textAreaElement"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div class=\"fd-feed-input\" [class.is-disabled]=\"disabled\">\n <fd-avatar\n *ngIf=\"avatarShow\"\n class=\"fd-feed-input__thumb\"\n size=\"s\"\n role=\"img\"\n [attr.aria-label]=\"'platformFeedInput.userTitle' | fdTranslate\"\n [title]=\"'platformFeedInput.userTitle' | fdTranslate\"\n [image]=\"avatarSrc\"\n [class.fd-avatar--placeholder]=\"!avatarSrc\"\n [class.sap-icon]=\"!avatarSrc\"\n [glyph]=\"!avatarSrc ? 'person-placeholder' : null\"\n >\n </fd-avatar>\n\n <textarea\n #textAreaElement\n fd-form-control\n class=\"fd-textarea fd-feed-input__textarea\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange()\"\n ></textarea>\n\n <fdp-button\n class=\"fd-feed-input__submit-button\"\n glyph=\"feeder-arrow\"\n title=\"Send\"\n ariaLabel=\"Send\"\n [disabled]=\"!value || disabled\"\n (click)=\"onSubmit()\"\n >\n </fdp-button>\n</div>\n", styles: ["/*!\n * Fundamental Library Styles v0.32.0-rc.7\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-feed-input{-webkit-box-sizing:border-box;background-color:var(--sapField_Background);border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:row;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:1rem .5rem 1rem 1rem}.fd-feed-input:after,.fd-feed-input:before{box-sizing:inherit;font-size:inherit}.fd-feed-input[dir=rtl],[dir=rtl] .fd-feed-input{padding-left:.5rem;padding-right:1rem}.fd-feed-input.is-disabled,.fd-feed-input:disabled,.fd-feed-input[aria-disabled=true]{cursor:not-allowed;opacity:1;pointer-events:auto}.fd-feed-input.is-disabled textarea::placeholder,.fd-feed-input:disabled textarea::placeholder,.fd-feed-input[aria-disabled=true] textarea::placeholder{color:var(--sapTextColor, #32363a);font-style:var(--fdFeed_Input_Placeholder_Font_Style)}.fd-feed-input .fd-feed-input__thumb{-webkit-box-flex:1;-ms-flex:1 0 auto;display:none;flex:1 0 auto;margin-left:0;margin-right:.5rem}.fd-feed-input .fd-feed-input__thumb[dir=rtl],[dir=rtl] .fd-feed-input .fd-feed-input__thumb{margin-left:.5rem;margin-right:0}.fd-feed-input .fd-feed-input__textarea{margin:0;max-height:20rem;min-height:3rem;padding:.3125rem .5rem}.fd-feed-input .fd-feed-input__submit-button{margin:auto 0 .375rem .5rem}.fd-feed-input .fd-feed-input__submit-button[dir=rtl],[dir=rtl] .fd-feed-input .fd-feed-input__submit-button{-webkit-transform:rotate(180deg);margin-left:0;margin-right:.5rem;transform:rotate(180deg)}@media (min-width: 25rem){.fd-feed-input{margin-bottom:1rem;margin-top:1rem}.fd-feed-input .fd-feed-input__thumb{display:inline-flex}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AvatarComponent, selector: "fd-avatar", inputs: ["class", "id", "ariaLabel", "ariaLabelledby", "label", "size", "font", "glyph", "zoomGlyph", "circle", "transparent", "contain", "placeholder", "tile", "border", "colorAccent", "random", "clickable", "valueState", "image", "alterIcon", "backupImage"], outputs: ["avatarClicked", "zoomGlyphClicked"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: FormControlComponent, selector: "[fd-form-control]", inputs: ["state", "type", "class", "ariaLabel", "ariaLabelledBy"] }, { kind: "component", type: ButtonComponent, selector: "fdp-button", inputs: ["glyphPosition", "label", "glyph", "buttonType", "toggled", "title", "ariaSelected", "ariaDisabled", "ariaExpanded", "ariaControlsId", "ariaPressed", "name", "type", "value"], outputs: ["buttonClicked"] }, { kind: "pipe", type: FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
73
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: FeedInputComponent, isStandalone: true, selector: "fdp-feed-input", inputs: { avatarSrc: "avatarSrc", placeholder: "placeholder", avatarShow: "avatarShow", disabled: "disabled", maxHeight: "maxHeight" }, outputs: { submit: "submit" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textAreaElement"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div class=\"fd-feed-input\" [class.is-disabled]=\"disabled\">\n <fd-avatar\n *ngIf=\"avatarShow\"\n class=\"fd-feed-input__thumb\"\n size=\"s\"\n role=\"img\"\n [attr.aria-label]=\"'platformFeedInput.userTitle' | fdTranslate\"\n [title]=\"'platformFeedInput.userTitle' | fdTranslate\"\n [image]=\"avatarSrc\"\n [class.fd-avatar--placeholder]=\"!avatarSrc\"\n [class.sap-icon]=\"!avatarSrc\"\n [glyph]=\"!avatarSrc ? 'person-placeholder' : null\"\n >\n </fd-avatar>\n\n <textarea\n #textAreaElement\n fd-form-control\n class=\"fd-textarea fd-feed-input__textarea\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange()\"\n ></textarea>\n\n <fdp-button\n class=\"fd-feed-input__submit-button\"\n glyph=\"feeder-arrow\"\n title=\"Send\"\n ariaLabel=\"Send\"\n [disabled]=\"!value || disabled\"\n (click)=\"onSubmit()\"\n >\n </fdp-button>\n</div>\n", styles: ["/*!\n * Fundamental Library Styles v0.32.0-rc.7\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-feed-input{-webkit-box-sizing:border-box;background-color:var(--sapField_Background);border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:row;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:1rem .5rem 1rem 1rem}.fd-feed-input:after,.fd-feed-input:before{box-sizing:inherit;font-size:inherit}.fd-feed-input[dir=rtl],[dir=rtl] .fd-feed-input{padding-left:.5rem;padding-right:1rem}.fd-feed-input.is-disabled,.fd-feed-input:disabled,.fd-feed-input[aria-disabled=true]{cursor:not-allowed;opacity:1;pointer-events:auto}.fd-feed-input.is-disabled textarea::placeholder,.fd-feed-input:disabled textarea::placeholder,.fd-feed-input[aria-disabled=true] textarea::placeholder{color:var(--sapTextColor, #32363a);font-style:var(--fdFeed_Input_Placeholder_Font_Style)}.fd-feed-input .fd-feed-input__thumb{-webkit-box-flex:1;-ms-flex:1 0 auto;display:none;flex:1 0 auto;margin-left:0;margin-right:.5rem}.fd-feed-input .fd-feed-input__thumb[dir=rtl],[dir=rtl] .fd-feed-input .fd-feed-input__thumb{margin-left:.5rem;margin-right:0}.fd-feed-input .fd-feed-input__textarea{margin:0;max-height:20rem;min-height:3rem;padding:.3125rem .5rem}.fd-feed-input .fd-feed-input__submit-button{margin:auto 0 .375rem .5rem}.fd-feed-input .fd-feed-input__submit-button[dir=rtl],[dir=rtl] .fd-feed-input .fd-feed-input__submit-button{-webkit-transform:rotate(180deg);margin-left:0;margin-right:.5rem;transform:rotate(180deg)}@media (min-width: 25rem){.fd-feed-input{margin-bottom:1rem;margin-top:1rem}.fd-feed-input .fd-feed-input__thumb{display:inline-flex}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AvatarComponent, selector: "fd-avatar", inputs: ["class", "id", "ariaLabel", "ariaLabelledby", "label", "size", "font", "glyph", "zoomGlyph", "circle", "transparent", "contain", "placeholder", "tile", "border", "colorAccent", "random", "clickable", "valueState", "image", "alterIcon", "backupImage"], outputs: ["avatarClicked", "zoomGlyphClicked"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: FormControlComponent, selector: "input[fd-form-control], textarea[fd-form-control]", inputs: ["state", "type", "class", "ariaLabel", "ariaLabelledBy"] }, { kind: "component", type: ButtonComponent, selector: "fdp-button", inputs: ["glyphPosition", "label", "glyph", "buttonType", "toggled", "title", "ariaSelected", "ariaDisabled", "ariaExpanded", "ariaControlsId", "ariaPressed", "name", "type", "value"], outputs: ["buttonClicked"] }, { kind: "pipe", type: FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
66
74
|
}
|
|
67
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: FeedInputComponent, decorators: [{
|
|
68
76
|
type: Component,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-platform-feed-input.mjs","sources":["../../../../libs/platform/src/lib/feed-input/feed-input.component.ts","../../../../libs/platform/src/lib/feed-input/feed-input.component.html","../../../../libs/platform/src/lib/feed-input/feed-input.module.ts","../../../../libs/platform/src/lib/feed-input/fundamental-ngx-platform-feed-input.ts"],"sourcesContent":["import { NgIf } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n Output,\n Renderer2,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AvatarComponent } from '@fundamental-ngx/core/avatar';\nimport { FormControlComponent } from '@fundamental-ngx/core/form';\nimport { FdTranslatePipe } from '@fundamental-ngx/i18n';\nimport { ButtonComponent } from '@fundamental-ngx/platform/button';\n\n@Component({\n selector: 'fdp-feed-input',\n templateUrl: './feed-input.component.html',\n styleUrls: ['./feed-input.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [NgIf, AvatarComponent, FormsModule, FormControlComponent, ButtonComponent, FdTranslatePipe]\n})\nexport class FeedInputComponent implements AfterViewInit {\n /** The user image source, If is not set, then the user image will display placeholder image. */\n @Input()\n avatarSrc: string;\n\n /** Set placeholder textarea text */\n @Input()\n placeholder: string;\n\n /** Set feed input without user image */\n @Input()\n avatarShow = true;\n\n /** Set disabled state */\n @Input()\n disabled = false;\n\n /** The max number of rows to allow textarea grow */\n @Input()\n maxHeight: number;\n\n /** @hidden Event emitted when user click on send button */\n @Output()\n // eslint-disable-next-line @angular-eslint/no-output-native\n submit = new EventEmitter<string>();\n\n /** @hidden */\n @ViewChild('textAreaElement', { read: ElementRef })\n textarea: ElementRef;\n\n /** @hidden Textarea entered value */\n value: string | null;\n\n /** @hidden */\n constructor(private _renderer: Renderer2) {}\n\n /** @hidden */\n ngAfterViewInit(): void {\n const lineHeight = this._getTextareaLineHeight();\n\n if (this.maxHeight) {\n this.textarea.nativeElement.style.maxHeight = lineHeight * this.maxHeight + 'px';\n }\n }\n\n /** @hidden */\n onChange(): void {\n this.resize();\n }\n\n /** @hidden Handle submit feed input value*/\n onSubmit(): void {\n if (this.value) {\n this.submit.emit(this.value);\n }\n }\n\n /** @hidden Make grow textarea */\n resize(): void {\n this._renderer.setStyle(this.textarea.nativeElement, 'height', 'inherit');\n\n const totalHeight = this._getTextareaTotalHeight();\n this._renderer.setStyle(this.textarea.nativeElement, 'height', `${totalHeight}px`);\n }\n\n /** @hidden get line height of textarea */\n private _getTextareaLineHeight(): number {\n if (this.textarea && this.textarea.nativeElement) {\n const lineHeight = window.getComputedStyle(this.textarea.nativeElement).getPropertyValue('line-height');\n if (lineHeight === 'normal') {\n return (\n parseInt(window.getComputedStyle(this.textarea.nativeElement).getPropertyValue('font-size'), 10) *\n 1.1\n );\n }\n\n return parseInt(lineHeight, 10);\n }\n return 1;\n }\n\n /** @hidden Get the total height including borders and scroll height */\n private _getTextareaTotalHeight(): number {\n const computed = window.getComputedStyle(this.textarea.nativeElement);\n\n return (\n parseInt(computed.getPropertyValue('border-top-width'), 10) +\n this.textarea.nativeElement.scrollHeight +\n parseInt(computed.getPropertyValue('border-bottom-width'), 10)\n );\n }\n}\n","<div class=\"fd-feed-input\" [class.is-disabled]=\"disabled\">\n <fd-avatar\n *ngIf=\"avatarShow\"\n class=\"fd-feed-input__thumb\"\n size=\"s\"\n role=\"img\"\n [attr.aria-label]=\"'platformFeedInput.userTitle' | fdTranslate\"\n [title]=\"'platformFeedInput.userTitle' | fdTranslate\"\n [image]=\"avatarSrc\"\n [class.fd-avatar--placeholder]=\"!avatarSrc\"\n [class.sap-icon]=\"!avatarSrc\"\n [glyph]=\"!avatarSrc ? 'person-placeholder' : null\"\n >\n </fd-avatar>\n\n <textarea\n #textAreaElement\n fd-form-control\n class=\"fd-textarea fd-feed-input__textarea\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange()\"\n ></textarea>\n\n <fdp-button\n class=\"fd-feed-input__submit-button\"\n glyph=\"feeder-arrow\"\n title=\"Send\"\n ariaLabel=\"Send\"\n [disabled]=\"!value || disabled\"\n (click)=\"onSubmit()\"\n >\n </fdp-button>\n</div>\n","import { NgModule } from '@angular/core';\n\nimport { FeedInputComponent } from './feed-input.component';\n\n@NgModule({\n imports: [FeedInputComponent],\n exports: [FeedInputComponent]\n})\nexport class PlatformFeedInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MA4Ba,kBAAkB,CAAA;;AAkC3B,IAAA,WAAA,CAAoB,SAAoB,EAAA;QAApB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;;QAvBxC,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC;;QAIlB,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;;AASjB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;KAUQ;;IAG5C,eAAe,GAAA;AACX,QAAA,MAAM,UAAU,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAEjD,IAAI,IAAI,CAAC,SAAS,EAAE;AAChB,YAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;AACpF,SAAA;KACJ;;IAGD,QAAQ,GAAA;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;KACjB;;IAGD,QAAQ,GAAA;QACJ,IAAI,IAAI,CAAC,KAAK,EAAE;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAChC,SAAA;KACJ;;IAGD,MAAM,GAAA;AACF,QAAA,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;AAE1E,QAAA,MAAM,WAAW,GAAG,IAAI,CAAC,uBAAuB,EAAE,CAAC;AACnD,QAAA,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,QAAQ,EAAE,GAAG,WAAW,CAAA,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gBAMP,QAAQ,EAAA,CAAA;sBADP,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,iBAAiB,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAA;;;ME/CzC,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAvB,uBAAuB,EAAA,OAAA,EAAA,CAHtB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAClB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;AAEnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAHtB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGnB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAChC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-platform-feed-input.mjs","sources":["../../../../libs/platform/src/lib/feed-input/feed-input.component.ts","../../../../libs/platform/src/lib/feed-input/feed-input.component.html","../../../../libs/platform/src/lib/feed-input/feed-input.module.ts","../../../../libs/platform/src/lib/feed-input/fundamental-ngx-platform-feed-input.ts"],"sourcesContent":["import { NgIf } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n Output,\n Renderer2,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { warnOnce } from '@fundamental-ngx/cdk/utils';\nimport { AvatarComponent } from '@fundamental-ngx/core/avatar';\nimport { FormControlComponent } from '@fundamental-ngx/core/form';\nimport { FdTranslatePipe } from '@fundamental-ngx/i18n';\nimport { ButtonComponent } from '@fundamental-ngx/platform/button';\n\n/**\n * @deprecated\n * Use the `fd-feed-input[modelDriven]` component from `@fundamental-ngx/core/feed-input` instead.\n * The `fd-feed-input` component is a drop-in replacement for the `fdp-feed-input` component.\n */\n@Component({\n selector: 'fdp-feed-input',\n templateUrl: './feed-input.component.html',\n styleUrls: ['./feed-input.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [NgIf, AvatarComponent, FormsModule, FormControlComponent, ButtonComponent, FdTranslatePipe]\n})\nexport class FeedInputComponent implements AfterViewInit {\n /** The user image source, If is not set, then the user image will display placeholder image. */\n @Input()\n avatarSrc: string;\n\n /** Set placeholder textarea text */\n @Input()\n placeholder: string;\n\n /** Set feed input without user image */\n @Input()\n avatarShow = true;\n\n /** Set disabled state */\n @Input()\n disabled = false;\n\n /** The max number of rows to allow textarea grow */\n @Input()\n maxHeight: number;\n\n /** @hidden Event emitted when user click on send button */\n @Output()\n // eslint-disable-next-line @angular-eslint/no-output-native\n submit = new EventEmitter<string>();\n\n /** @hidden */\n @ViewChild('textAreaElement', { read: ElementRef })\n textarea: ElementRef;\n\n /** @hidden Textarea entered value */\n value: string | null;\n\n /** @hidden */\n constructor(private _renderer: Renderer2) {\n warnOnce(\n 'FeedInputComponent is deprecated and will be removed in future release. ' +\n 'Use the `fd-feed-input` component from `@fundamental-ngx/core/feed-input` instead.'\n );\n }\n\n /** @hidden */\n ngAfterViewInit(): void {\n const lineHeight = this._getTextareaLineHeight();\n\n if (this.maxHeight) {\n this.textarea.nativeElement.style.maxHeight = lineHeight * this.maxHeight + 'px';\n }\n }\n\n /** @hidden */\n onChange(): void {\n this.resize();\n }\n\n /** @hidden Handle submit feed input value*/\n onSubmit(): void {\n if (this.value) {\n this.submit.emit(this.value);\n }\n }\n\n /** @hidden Make grow textarea */\n resize(): void {\n this._renderer.setStyle(this.textarea.nativeElement, 'height', 'inherit');\n\n const totalHeight = this._getTextareaTotalHeight();\n this._renderer.setStyle(this.textarea.nativeElement, 'height', `${totalHeight}px`);\n }\n\n /** @hidden get line height of textarea */\n private _getTextareaLineHeight(): number {\n if (this.textarea && this.textarea.nativeElement) {\n const lineHeight = window.getComputedStyle(this.textarea.nativeElement).getPropertyValue('line-height');\n if (lineHeight === 'normal') {\n return (\n parseInt(window.getComputedStyle(this.textarea.nativeElement).getPropertyValue('font-size'), 10) *\n 1.1\n );\n }\n\n return parseInt(lineHeight, 10);\n }\n return 1;\n }\n\n /** @hidden Get the total height including borders and scroll height */\n private _getTextareaTotalHeight(): number {\n const computed = window.getComputedStyle(this.textarea.nativeElement);\n\n return (\n parseInt(computed.getPropertyValue('border-top-width'), 10) +\n this.textarea.nativeElement.scrollHeight +\n parseInt(computed.getPropertyValue('border-bottom-width'), 10)\n );\n }\n}\n","<div class=\"fd-feed-input\" [class.is-disabled]=\"disabled\">\n <fd-avatar\n *ngIf=\"avatarShow\"\n class=\"fd-feed-input__thumb\"\n size=\"s\"\n role=\"img\"\n [attr.aria-label]=\"'platformFeedInput.userTitle' | fdTranslate\"\n [title]=\"'platformFeedInput.userTitle' | fdTranslate\"\n [image]=\"avatarSrc\"\n [class.fd-avatar--placeholder]=\"!avatarSrc\"\n [class.sap-icon]=\"!avatarSrc\"\n [glyph]=\"!avatarSrc ? 'person-placeholder' : null\"\n >\n </fd-avatar>\n\n <textarea\n #textAreaElement\n fd-form-control\n class=\"fd-textarea fd-feed-input__textarea\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange()\"\n ></textarea>\n\n <fdp-button\n class=\"fd-feed-input__submit-button\"\n glyph=\"feeder-arrow\"\n title=\"Send\"\n ariaLabel=\"Send\"\n [disabled]=\"!value || disabled\"\n (click)=\"onSubmit()\"\n >\n </fdp-button>\n</div>\n","import { NgModule } from '@angular/core';\n\nimport { FeedInputComponent } from './feed-input.component';\n\n@NgModule({\n imports: [FeedInputComponent],\n exports: [FeedInputComponent]\n})\nexport class PlatformFeedInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA;;;;AAIG;MAUU,kBAAkB,CAAA;;AAkC3B,IAAA,WAAA,CAAoB,SAAoB,EAAA;QAApB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;;QAvBxC,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC;;QAIlB,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;;AASjB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AAWhC,QAAA,QAAQ,CACJ,0EAA0E;AACtE,YAAA,oFAAoF,CAC3F,CAAC;KACL;;IAGD,eAAe,GAAA;AACX,QAAA,MAAM,UAAU,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAEjD,IAAI,IAAI,CAAC,SAAS,EAAE;AAChB,YAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;AACpF,SAAA;KACJ;;IAGD,QAAQ,GAAA;QACJ,IAAI,CAAC,MAAM,EAAE,CAAC;KACjB;;IAGD,QAAQ,GAAA;QACJ,IAAI,IAAI,CAAC,KAAK,EAAE;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAChC,SAAA;KACJ;;IAGD,MAAM,GAAA;AACF,QAAA,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;AAE1E,QAAA,MAAM,WAAW,GAAG,IAAI,CAAC,uBAAuB,EAAE,CAAC;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