mapa-library-ui 0.3.0 → 0.3.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/esm2020/lib/core/elements/element-base.mjs +1 -1
- package/esm2020/lib/core/interfaces/element-option.interface.mjs +2 -0
- package/esm2020/public-api.mjs +2 -2
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.component.mjs +2 -2
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.mjs +2 -2
- package/esm2020/src/lib/components/capability/lib/components/dropdown/src/dropdown.component.mjs +1 -1
- package/esm2020/src/lib/components/capability/lib/core/elements/element-base.mjs +1 -1
- package/esm2020/src/lib/components/capability/lib/core/elements/index.mjs +8 -0
- package/esm2020/src/lib/components/capability/lib/core/interfaces/element-option.interface.mjs +2 -0
- package/esm2020/src/lib/components/capability/lib/core/interfaces/index.mjs +7 -0
- package/esm2020/src/lib/components/capability/lib/core/interfaces/table-column.interface.mjs +2 -0
- package/esm2020/src/lib/components/capability/lib/core/interfaces/table-row-click-event.interface.mjs +2 -0
- package/esm2020/src/lib/components/chart/lib/components/chart/src/chart.component.mjs +1 -1
- package/esm2020/src/lib/components/chart/lib/components/dropdown/src/dropdown.component.mjs +1 -1
- package/esm2020/src/lib/components/chart/lib/core/elements/element-base.mjs +1 -1
- package/esm2020/src/lib/components/chart/lib/core/interfaces/element-option.interface.mjs +2 -0
- package/esm2020/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.component.mjs +1 -1
- package/esm2020/src/lib/components/dropdown/lib/core/elements/element-base.mjs +1 -1
- package/esm2020/src/lib/components/dropdown/lib/core/interfaces/element-option.interface.mjs +2 -0
- package/esm2020/src/lib/components/nav-list/lib/components/nav-list/src/nav-list.component.mjs +1 -1
- package/esm2020/src/lib/components/nav-list/lib/core/interfaces/element-option.interface.mjs +2 -0
- package/esm2020/src/lib/components/radio-button/lib/components/radio-button/src/radio-button.component.mjs +1 -1
- package/esm2020/src/lib/components/radio-button/lib/core/elements/element-base.mjs +1 -1
- package/esm2020/src/lib/components/radio-button/lib/core/interfaces/element-option.interface.mjs +2 -0
- package/esm2020/src/lib/components/textarea/lib/core/elements/element-base.mjs +1 -1
- package/esm2020/src/lib/components/textarea/lib/core/interfaces/element-option.interface.mjs +2 -0
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs +56 -3
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-nav-list.mjs.map +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-radio-button.mjs.map +1 -1
- package/fesm2015/mapa-library-ui.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs +56 -3
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-nav-list.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-radio-button.mjs.map +1 -1
- package/fesm2020/mapa-library-ui.mjs.map +1 -1
- package/lib/core/elements/element-base.d.ts +1 -1
- package/mapa-library-ui-0.3.2.tgz +0 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.component.d.ts +2 -1
- package/src/lib/components/capability/lib/components/dropdown/src/dropdown.component.d.ts +1 -1
- package/src/lib/components/capability/lib/core/elements/element-base.d.ts +1 -1
- package/src/lib/components/capability/lib/core/elements/index.d.ts +7 -0
- package/src/lib/components/capability/lib/core/interfaces/index.d.ts +6 -0
- package/src/lib/components/capability/lib/core/interfaces/table-column.interface.d.ts +7 -0
- package/src/lib/components/capability/lib/core/interfaces/table-row-click-event.interface.d.ts +4 -0
- package/src/lib/components/chart/lib/components/dropdown/src/dropdown.component.d.ts +1 -1
- package/src/lib/components/chart/lib/core/elements/element-base.d.ts +1 -1
- package/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.component.d.ts +1 -1
- package/src/lib/components/dropdown/lib/core/elements/element-base.d.ts +1 -1
- package/src/lib/components/nav-list/lib/components/nav-list/src/nav-list.component.d.ts +1 -1
- package/src/lib/components/radio-button/lib/components/radio-button/src/radio-button.component.d.ts +1 -1
- package/src/lib/components/radio-button/lib/core/elements/element-base.d.ts +1 -1
- package/src/lib/components/textarea/lib/core/elements/element-base.d.ts +1 -1
- package/esm2020/lib/core/interfaces/option.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/core/directives/custom-paginator-legacy.directive.mjs +0 -227
- package/esm2020/src/lib/components/capability/lib/core/directives/mat-input-autosize.directive.mjs +0 -96
- package/esm2020/src/lib/components/capability/lib/core/interfaces/option.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/public-api.mjs +0 -16
- package/esm2020/src/lib/components/chart/lib/core/interfaces/option.interface.mjs +0 -2
- package/esm2020/src/lib/components/dropdown/lib/core/interfaces/option.interface.mjs +0 -2
- package/esm2020/src/lib/components/nav-list/lib/core/interfaces/option.interface.mjs +0 -2
- package/esm2020/src/lib/components/radio-button/lib/core/interfaces/option.interface.mjs +0 -2
- package/esm2020/src/lib/components/textarea/lib/core/interfaces/option.interface.mjs +0 -2
- package/mapa-library-ui-0.3.0.tgz +0 -0
- package/src/lib/components/capability/lib/core/directives/custom-paginator-legacy.directive.d.ts +0 -27
- package/src/lib/components/capability/lib/core/directives/mat-input-autosize.directive.d.ts +0 -26
- package/src/lib/components/capability/public-api.d.ts +0 -12
- /package/lib/core/interfaces/{option.interface.d.ts → element-option.interface.d.ts} +0 -0
- /package/src/lib/components/capability/lib/core/interfaces/{option.interface.d.ts → element-option.interface.d.ts} +0 -0
- /package/src/lib/components/chart/lib/core/interfaces/{option.interface.d.ts → element-option.interface.d.ts} +0 -0
- /package/src/lib/components/dropdown/lib/core/interfaces/{option.interface.d.ts → element-option.interface.d.ts} +0 -0
- /package/src/lib/components/nav-list/lib/core/interfaces/{option.interface.d.ts → element-option.interface.d.ts} +0 -0
- /package/src/lib/components/radio-button/lib/core/interfaces/{option.interface.d.ts → element-option.interface.d.ts} +0 -0
- /package/src/lib/components/textarea/lib/core/interfaces/{option.interface.d.ts → element-option.interface.d.ts} +0 -0
|
@@ -23,4 +23,4 @@ export class ElementBase {
|
|
|
23
23
|
this.errors = options.errors || undefined;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudC1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWFwYS1saWJyYXJ5LXVpL3NyYy9saWIvY29yZS9lbGVtZW50cy9lbGVtZW50LWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsTUFBTSxPQUFPLFdBQVc7SUF1QnRCLFlBQ0UsVUFzQkksRUFBRTtRQUVOLElBQUksQ0FBQyxLQUFLLEdBQUcsT0FBTyxDQUFDLEtBQUssSUFBSSxFQUFFLENBQUM7UUFDakMsSUFBSSxDQUFDLEdBQUcsR0FBRyxPQUFPLENBQUMsR0FBRyxJQUFJLEVBQUUsQ0FBQztRQUM3QixJQUFJLENBQUMsS0FBSyxHQUFHLE9BQU8sQ0FBQyxLQUFLLElBQUksRUFBRSxDQUFDO1FBQ2pDLElBQUksQ0FBQyxRQUFRLEdBQUcsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUM7UUFDbkMsSUFBSSxDQUFDLEtBQUssR0FB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udE9wdGlvbltdO1xuICBtdWx0aXBsZT86IGJvb2xlYW47XG4gIHNlYXJjaD86IEVsZW1lbnRTZWFyY2g7XG4gIG1heExlbmd0aCE6IHN0cmluZyB8IG51bWJlciB8IG51bGw7XG4gIGVycm9ycz86IEVycm9ycztcblxuICBjb25zdHJ1Y3RvcihcbiAgICBvcHRpb25zOiB7XG4gICAgICB2YWx1ZT86IHN0cmluZztcbiAgICAgIGtleT86IHN0cmluZztcbiAgICAgIGxhYmVsPzogc3RyaW5nO1xuICAgICAgcmVxdWlyZWQ/OiBib29sZWFuO1xuICAgICAgb3JkZXI/OiBudW1iZXI7XG4gICAgICBjb250cm9sVHlwZT86IHN0cmluZztcbiAgICAgIHR5cGU/OiBzdHJpbmc7XG4gICAgICBwbGFjZWhvbGRlcj86IHN0cmluZztcbiAgICAgIGhpbnQ/OiBzdHJpbmc7XG4gICAgICBwcmVmaXg/OiBzdHJpbmc7XG4gICAgICBzdWZmaXg/OiBzdHJpbmc7XG4gICAgICBhdXRvc2l6ZT86IGJvb2xlYW47XG4gICAgICBhdXRvc2l6ZU1pbldpZHRoPzogc3RyaW5nO1xuICAgICAgYXV0b3NpemVNYXhXaWR0aD86IHN0cmluZztcbiAgICAgIGF1dG9zaXplTWluUm93PzogbnVtYmVyO1xuICAgICAgYXV0b3NpemVNYXhSb3c/OiBudW1iZXI7XG4gICAgICBvcHRpb25zPzogRWxlbWVudE9wdGlvbltdO1xuICAgICAgbXVsdGlwbGU/OiBib29sZWFuO1xuICAgICAgc2VhcmNoPzogRWxlbWVudFNlYXJjaDtcbiAgICAgIG1heExlbmd0aD86IHN0cmluZyB8IG51bWJlciB8IG51bGw7XG4gICAgICBlcnJvcnM/OiBFcnJvcnM7XG4gICAgfSA9IHt9XG4gICkge1xuICAgIHRoaXMudmFsdWUgPSBvcHRpb25zLnZhbHVlIHx8IFwiXCI7XG4gICAgdGhpcy5rZXkgPSBvcHRpb25zLmtleSB8fCBcIlwiO1xuICAgIHRoaXMubGFiZ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2ggPSBvcHRpb25zLnNlYXJjaCB8fCB1bmRlZmluZWQ7XG4gICAgdGhpcy5tYXhMZW5ndGggPSBvcHRpb25zLm1heExlbmd0aCB8fCBudWxsO1xuICAgIHRoaXMuZXJyb3JzID0gb3B0aW9ucy5lcnJvcnMgfHwgdW5kZWZpbmVkO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudC1vcHRpb24uaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWFwYS1saWJyYXJ5LXVpL3NyYy9saWIvY29yZS9pbnRlcmZhY2VzL2VsZW1lbnQtb3B0aW9uLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBFbGVtZW50T3B0aW9uIHtcbiAga2V5OiBzdHJpbmc7XG4gIHZhbHVlOiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -18,7 +18,6 @@ import { MatListModule } from '@angular/material/list';
|
|
|
18
18
|
import * as i1$1 from '@angular/material/icon';
|
|
19
19
|
import { MatIconModule } from '@angular/material/icon';
|
|
20
20
|
import * as i2$1 from '@angular/platform-browser';
|
|
21
|
-
import { Dropdown } from 'projects/mapa-library-ui/src/public-api';
|
|
22
21
|
import * as i1$2 from '@angular/router';
|
|
23
22
|
import { NavigationStart } from '@angular/router';
|
|
24
23
|
import * as i2$2 from 'mapa-library-ui/src/lib/components/button';
|
|
@@ -682,6 +681,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
682
681
|
}]
|
|
683
682
|
}] });
|
|
684
683
|
|
|
684
|
+
class ElementBase {
|
|
685
|
+
constructor(options = {}) {
|
|
686
|
+
this.value = options.value || "";
|
|
687
|
+
this.key = options.key || "";
|
|
688
|
+
this.label = options.label || "";
|
|
689
|
+
this.required = !!options.required;
|
|
690
|
+
this.order = options.order === undefined ? 1 : options.order;
|
|
691
|
+
this.controlType = options.controlType || "";
|
|
692
|
+
this.type = options.type || "";
|
|
693
|
+
this.placeholder = options.placeholder || "";
|
|
694
|
+
this.hint = options.hint || "";
|
|
695
|
+
this.prefix = options.prefix || "";
|
|
696
|
+
this.suffix = options.suffix || "";
|
|
697
|
+
this.autosize = options.autosize || false;
|
|
698
|
+
this.autosizeMinWidth = options.autosizeMinWidth || "212px";
|
|
699
|
+
this.autosizeMaxWidth = options.autosizeMaxWidth || "400px";
|
|
700
|
+
this.autosizeMinRow = options.autosizeMinRow || 2;
|
|
701
|
+
this.autosizeMaxRow = options.autosizeMaxRow || 5;
|
|
702
|
+
this.options = options.options || [];
|
|
703
|
+
this.multiple = options.multiple || false;
|
|
704
|
+
this.search = options.search || undefined;
|
|
705
|
+
this.maxLength = options.maxLength || null;
|
|
706
|
+
this.errors = options.errors || undefined;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
class Dropdown extends ElementBase {
|
|
711
|
+
constructor() {
|
|
712
|
+
super(...arguments);
|
|
713
|
+
this.controlType = 'dropdown';
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
class InputText extends ElementBase {
|
|
718
|
+
constructor() {
|
|
719
|
+
super(...arguments);
|
|
720
|
+
this.controlType = 'input';
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
class RadioButton extends ElementBase {
|
|
725
|
+
constructor() {
|
|
726
|
+
super(...arguments);
|
|
727
|
+
this.controlType = 'radio-button';
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
class Textarea extends ElementBase {
|
|
732
|
+
constructor() {
|
|
733
|
+
super(...arguments);
|
|
734
|
+
this.controlType = 'textarea';
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
|
|
685
738
|
class MapaCapabilityComparativeIndicatorComponent {
|
|
686
739
|
getWidth(item) {
|
|
687
740
|
return 32 + (item.interval || 0) * 2 + "px";
|
|
@@ -707,10 +760,10 @@ class MapaCapabilityComparativeChartComponent {
|
|
|
707
760
|
}
|
|
708
761
|
}
|
|
709
762
|
MapaCapabilityComparativeChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
710
|
-
MapaCapabilityComparativeChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeChartComponent, selector: "mapa-capability-comparative-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"capability-comparative__chart\">\n <tr *ngFor=\"let indicator of data.indicators\">\n <th>\n <p>{{ indicator.name }}</p>\n </th>\n <td class=\"capability-comparative__chart--indicators\">\n <mapa-capability-comparative-indicator\n *ngFor=\"let item of indicator.items\"\n [item]=\"setCleanItem(item)\"\n [fullWidth]=\"true\"\n [style.width.%]=\"item.interval\"\n ></mapa-capability-comparative-indicator>\n </td>\n </tr>\n</table>\n", styles: [".capability-comparative__chart th{vertical-align:bottom;text-align:left;font-weight:400;padding-right:36px}.capability-comparative__chart th p{font-size:12px;font-family:SF-Pro,sans-serif;margin:6px 0!important}.capability-comparative__chart--indicators{display:flex;height:40px;position:relative;width:
|
|
763
|
+
MapaCapabilityComparativeChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeChartComponent, selector: "mapa-capability-comparative-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"capability-comparative__chart\">\n <tr *ngFor=\"let indicator of data.indicators\">\n <th>\n <p>{{ indicator.name }}</p>\n </th>\n <td class=\"capability-comparative__chart--indicators\">\n <mapa-capability-comparative-indicator\n *ngFor=\"let item of indicator.items\"\n [item]=\"setCleanItem(item)\"\n [fullWidth]=\"true\"\n [style.width.%]=\"item.interval\"\n ></mapa-capability-comparative-indicator>\n </td>\n </tr>\n</table>\n", styles: [".capability-comparative__chart{width:100%}.capability-comparative__chart th{vertical-align:bottom;text-align:left;font-weight:400;padding-right:36px;width:20%}.capability-comparative__chart th p{font-size:12px;font-family:SF-Pro,sans-serif;margin:6px 0!important}.capability-comparative__chart--indicators{display:flex;height:40px;position:relative;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MapaCapabilityComparativeIndicatorComponent, selector: "mapa-capability-comparative-indicator", inputs: ["item", "fullWidth"] }] });
|
|
711
764
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeChartComponent, decorators: [{
|
|
712
765
|
type: Component,
|
|
713
|
-
args: [{ selector: 'mapa-capability-comparative-chart', template: "<table class=\"capability-comparative__chart\">\n <tr *ngFor=\"let indicator of data.indicators\">\n <th>\n <p>{{ indicator.name }}</p>\n </th>\n <td class=\"capability-comparative__chart--indicators\">\n <mapa-capability-comparative-indicator\n *ngFor=\"let item of indicator.items\"\n [item]=\"setCleanItem(item)\"\n [fullWidth]=\"true\"\n [style.width.%]=\"item.interval\"\n ></mapa-capability-comparative-indicator>\n </td>\n </tr>\n</table>\n", styles: [".capability-comparative__chart th{vertical-align:bottom;text-align:left;font-weight:400;padding-right:36px}.capability-comparative__chart th p{font-size:12px;font-family:SF-Pro,sans-serif;margin:6px 0!important}.capability-comparative__chart--indicators{display:flex;height:40px;position:relative;width:
|
|
766
|
+
args: [{ selector: 'mapa-capability-comparative-chart', template: "<table class=\"capability-comparative__chart\">\n <tr *ngFor=\"let indicator of data.indicators\">\n <th>\n <p>{{ indicator.name }}</p>\n </th>\n <td class=\"capability-comparative__chart--indicators\">\n <mapa-capability-comparative-indicator\n *ngFor=\"let item of indicator.items\"\n [item]=\"setCleanItem(item)\"\n [fullWidth]=\"true\"\n [style.width.%]=\"item.interval\"\n ></mapa-capability-comparative-indicator>\n </td>\n </tr>\n</table>\n", styles: [".capability-comparative__chart{width:100%}.capability-comparative__chart th{vertical-align:bottom;text-align:left;font-weight:400;padding-right:36px;width:20%}.capability-comparative__chart th p{font-size:12px;font-family:SF-Pro,sans-serif;margin:6px 0!important}.capability-comparative__chart--indicators{display:flex;height:40px;position:relative;width:100%}\n"] }]
|
|
714
767
|
}], propDecorators: { data: [{
|
|
715
768
|
type: Input
|
|
716
769
|
}] } });
|