@libs-ui/components-label 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # label
2
+
3
+ This library was generated with [Nx](https://nx.dev).
@@ -0,0 +1,3 @@
1
+ export * from './label.component';
2
+ export * from './interfaces';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzLXVpL2NvbXBvbmVudHMvbGFiZWwvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xhYmVsLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuIl19
@@ -0,0 +1,2 @@
1
+ export * from './label.interface';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzLXVpL2NvbXBvbmVudHMvbGFiZWwvc3JjL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGFiZWwuaW50ZXJmYWNlJzsiXX0=
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInN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/OiBzdHJpbmc7XG4gIGRlc2NyaXB0aW9uQ2xhc3M/OiBzdHJpbmc7XG5cbiAgYnV0dG9uc0Rlc2NyaXB0aW9uPzogQXJyYXk8SUJ1dHRvbj47XG4gIGRpc2FibGVCdXR0b25zRGVzY3JpcHRpb24/OiBib29sZWFuXG4gIGJ1dHRvbnNEZXNjcmlwdGlvbkNvbnRhaW5lckNsYXNzPzogc3RyaW5nO1xuXG4gIG9ubHlTaG93Q291bnQ/OiBib29sZWFuO1xuICBsaW1pdExlbmd0aD86IG51bWJlcjtcbiAgY291bnQ/OiBudW1iZXI7XG59XG4iXX0=
@@ -0,0 +1,75 @@
1
+ import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';
2
+ import { LibsUiComponentsButtonsButtonComponent } from '@libs-ui/components-buttons-button';
3
+ import { LibsUiComponentsButtonsToggleComponent } from '@libs-ui/components-buttons-toggle';
4
+ import { LibsUiComponentsPopoverComponent } from '@libs-ui/components-popover';
5
+ import { viewDataNumberByLanguage } from '@libs-ui/utils';
6
+ import { TranslateModule } from '@ngx-translate/core';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@ngx-translate/core";
9
+ export class LibsUiComponentsLabelComponent {
10
+ /* PROPERTY */
11
+ countDisplay = computed(() => `${viewDataNumberByLanguage(this.count() || 0, false)}`);
12
+ maxLengthDisplay = computed(() => `${viewDataNumberByLanguage(this.limitLength() || 0, false)}`);
13
+ /* INPUT */
14
+ iconPopoverClass = input('libs-ui-icon-tooltip-line', { transform: (value) => value || 'libs-ui-icon-tooltip-line' });
15
+ classInclude = input('', { transform: (value) => value || '' });
16
+ labelLeft = input();
17
+ labelLeftClass = input();
18
+ labelLeftBehindToggleButton = input();
19
+ popover = input();
20
+ required = input();
21
+ buttonsLeft = input([], { transform: (value) => value || [] });
22
+ disableButtonsLeft = input();
23
+ buttonsRight = input([], { transform: (value) => value || [] });
24
+ disableButtonsRight = input();
25
+ labelRight = input();
26
+ labelRightClass = input('', { transform: (value) => value || '' });
27
+ labelRightRequired = input();
28
+ hasToggle = input();
29
+ toggleSize = input('default', { transform: (value) => value || 'default' });
30
+ toggleActive = input();
31
+ toggleDisable = input();
32
+ description = input();
33
+ descriptionClass = input();
34
+ buttonsDescription = input([], { transform: (value) => value || [] });
35
+ disableButtonsDescription = input();
36
+ buttonsDescriptionContainerClass = input();
37
+ onlyShowCount = input();
38
+ zIndexPopover = input(10, { transform: (value) => value ?? 10 });
39
+ timerDestroyPopover = input(0, { transform: (value) => value ?? 0 });
40
+ count = input(0, { transform: (value) => value || 0 });
41
+ limitLength = input(0, { transform: (value) => value || 0 });
42
+ /* OUTPUT */
43
+ outClickButton = output();
44
+ outToggleEvent = output();
45
+ outLabelRightClick = output();
46
+ outLabelLeftClick = output();
47
+ /* FUNCTIONS*/
48
+ async handlerClickButton(button) {
49
+ this.outClickButton.emit(button);
50
+ }
51
+ async handlerSwitchToggle(toggleEvent) {
52
+ this.outToggleEvent.emit(toggleEvent);
53
+ }
54
+ async handlerEventLabelRight(event) {
55
+ if (event === 'click') {
56
+ this.outLabelRightClick.emit(true);
57
+ }
58
+ }
59
+ async handlerEventLabelLeft(event) {
60
+ event.stopPropagation();
61
+ this.outLabelLeftClick.emit(event);
62
+ }
63
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiComponentsLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
64
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: LibsUiComponentsLabelComponent, isStandalone: true, selector: "libs_ui-components-label", inputs: { iconPopoverClass: { classPropertyName: "iconPopoverClass", publicName: "iconPopoverClass", isSignal: true, isRequired: false, transformFunction: null }, classInclude: { classPropertyName: "classInclude", publicName: "classInclude", isSignal: true, isRequired: false, transformFunction: null }, labelLeft: { classPropertyName: "labelLeft", publicName: "labelLeft", isSignal: true, isRequired: false, transformFunction: null }, labelLeftClass: { classPropertyName: "labelLeftClass", publicName: "labelLeftClass", isSignal: true, isRequired: false, transformFunction: null }, labelLeftBehindToggleButton: { classPropertyName: "labelLeftBehindToggleButton", publicName: "labelLeftBehindToggleButton", isSignal: true, isRequired: false, transformFunction: null }, popover: { classPropertyName: "popover", publicName: "popover", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, buttonsLeft: { classPropertyName: "buttonsLeft", publicName: "buttonsLeft", isSignal: true, isRequired: false, transformFunction: null }, disableButtonsLeft: { classPropertyName: "disableButtonsLeft", publicName: "disableButtonsLeft", isSignal: true, isRequired: false, transformFunction: null }, buttonsRight: { classPropertyName: "buttonsRight", publicName: "buttonsRight", isSignal: true, isRequired: false, transformFunction: null }, disableButtonsRight: { classPropertyName: "disableButtonsRight", publicName: "disableButtonsRight", isSignal: true, isRequired: false, transformFunction: null }, labelRight: { classPropertyName: "labelRight", publicName: "labelRight", isSignal: true, isRequired: false, transformFunction: null }, labelRightClass: { classPropertyName: "labelRightClass", publicName: "labelRightClass", isSignal: true, isRequired: false, transformFunction: null }, labelRightRequired: { classPropertyName: "labelRightRequired", publicName: "labelRightRequired", isSignal: true, isRequired: false, transformFunction: null }, hasToggle: { classPropertyName: "hasToggle", publicName: "hasToggle", isSignal: true, isRequired: false, transformFunction: null }, toggleSize: { classPropertyName: "toggleSize", publicName: "toggleSize", isSignal: true, isRequired: false, transformFunction: null }, toggleActive: { classPropertyName: "toggleActive", publicName: "toggleActive", isSignal: true, isRequired: false, transformFunction: null }, toggleDisable: { classPropertyName: "toggleDisable", publicName: "toggleDisable", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, descriptionClass: { classPropertyName: "descriptionClass", publicName: "descriptionClass", isSignal: true, isRequired: false, transformFunction: null }, buttonsDescription: { classPropertyName: "buttonsDescription", publicName: "buttonsDescription", isSignal: true, isRequired: false, transformFunction: null }, disableButtonsDescription: { classPropertyName: "disableButtonsDescription", publicName: "disableButtonsDescription", isSignal: true, isRequired: false, transformFunction: null }, buttonsDescriptionContainerClass: { classPropertyName: "buttonsDescriptionContainerClass", publicName: "buttonsDescriptionContainerClass", isSignal: true, isRequired: false, transformFunction: null }, onlyShowCount: { classPropertyName: "onlyShowCount", publicName: "onlyShowCount", isSignal: true, isRequired: false, transformFunction: null }, zIndexPopover: { classPropertyName: "zIndexPopover", publicName: "zIndexPopover", isSignal: true, isRequired: false, transformFunction: null }, timerDestroyPopover: { classPropertyName: "timerDestroyPopover", publicName: "timerDestroyPopover", isSignal: true, isRequired: false, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, limitLength: { classPropertyName: "limitLength", publicName: "limitLength", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { outClickButton: "outClickButton", outToggleEvent: "outToggleEvent", outLabelRightClick: "outLabelRightClick", outLabelLeftClick: "outLabelLeftClick" }, ngImport: i0, template: "<div [class]=\"'libs-ui-label ' + classInclude()\"\n [class.mb-[4px]]=\"description()\"\n [class.mb-[8px]]=\"!description()\">\n <div class=\"libs-ui-label-left\"\n [style.maxWidth.%]=\"(labelRight() || limitLength() || onlyShowCount()) ? 70:100\">\n @if (hasToggle() && labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [size]=\"toggleSize()\"\n [disable]=\"toggleDisable()\"\n [class]=\"'mr-[8px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n @if (labelLeft()) {\n <libs_ui-components-popover type=\"text\"\n [config]=\"{zIndex: zIndexPopover(), timerDestroy: timerDestroyPopover()}\"\n [innerHtml]=\"(labelLeft() || ' ') | translate\"\n [classInclude]=\"'libs-ui-label-left-text ' + (labelLeftClass()|| '')\"\n (click)=\"handlerEventLabelLeft($event)\" />\n }\n @if (required() && labelLeft()) {\n <i class=\"flex libs-ui-icon-asterisk before:!text-[#ee2d41] before:!text-[8px] pb-[4px] h-full\"></i>\n }\n @if (popover()?.config && popover()?.config?.content) {\n <libs_ui-components-popover classInclude=\"ml-[4px] {{ popover()?.classInclude }}\"\n [config]=\"popover()?.config\">\n <i [class]=\"iconPopoverClass()\"></i>\n </libs_ui-components-popover>\n }\n @for (button of buttonsLeft(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsLeft() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (hasToggle() && !labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [disable]=\"toggleDisable()\"\n [size]=\"toggleSize()\"\n [class]=\"'ml-[20px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n </div>\n\n <div class=\"libs-ui-label-right\">\n @if (labelRight(); as labelRight) {\n <libs_ui-components-popover type=\"text\"\n [innerHtml]=\"labelRight | translate\"\n [classInclude]=\"labelRightClass()\"\n (outEvent)=\"handlerEventLabelRight($event)\" />\n }\n @for (button of buttonsRight(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsRight() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [classLabel]=\"button.classLabel || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (limitLength() || onlyShowCount()) {\n <div class=\"flex items-center ml-[12px] text-[#9ca2ad] libs-ui-font-h7r\">\n <span>{{ countDisplay() }}</span>\n @if (limitLength()) {\n <span>\n /{{ maxLengthDisplay() }}\n </span>\n }\n <span>&nbsp;{{ 'i18n_character' | translate }}</span>\n </div>\n }\n </div>\n</div>\n@if (description(); as description) {\n <div [class]=\"'libs-ui-label-description ' + (descriptionClass ||'')\"\n [innerHtml]='description | translate '></div>\n}\n@if (buttonsDescription()?.length) {\n <div [class]=\"buttonsDescriptionContainerClass || 'flex libs-ui-label-description-button'\">\n @for (button of buttonsDescription(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsDescription() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n [classLabel]=\"button.classLabel || ''\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n </div>\n}\n<ng-content select=\"div.libs-ui-custom-description\" />\n", styles: [".libs-ui-label{display:flex;justify-content:space-between;width:100%}.libs-ui-label .libs-ui-label-left{display:flex;align-items:center}.libs-ui-label .libs-ui-label-left .libs-ui-label-left-text{font-family:var(--libs-ui-font-family-name, \"Arial\");font-weight:500;font-size:11px;color:#6a7383}.libs-ui-label .libs-ui-label-left libs_ui-components-button{margin-left:12px}.libs-ui-label .libs-ui-label-left .libs-ui-label-left-optional{margin-left:0;font-size:10px!important;color:#9ca2ad;line-height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.libs-ui-label .libs-ui-label-right{display:flex;align-items:center;justify-content:flex-end}.libs-ui-label .libs-ui-label-right libs_ui-components-button{margin-left:12px}.libs-ui-label-description{font-size:10px;font-family:var(--libs-ui-font-family-name, \"Arial\");font-weight:400;color:#9ca2ad;margin-bottom:8px}.libs-ui-label-description-button{margin-bottom:4px}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }, { kind: "component", type: LibsUiComponentsPopoverComponent, selector: "libs_ui-components-popover,[LibsUiComponentsPopoverDirective]", inputs: ["flagMouse", "type", "mode", "config", "ignoreShowPopover", "elementRefCustom", "classInclude", "ignoreHiddenPopoverContentWhenMouseLeave", "ignoreStopPropagationEvent", "ignoreCursorPointerModeLikeClick", "isAddContentToParentDocument", "ignoreClickOutside"], outputs: ["outEvent", "outChangStageFlagMouse", "outEventPopoverContent", "outFunctionsControl"] }, { kind: "component", type: LibsUiComponentsButtonsButtonComponent, selector: "libs_ui-components-buttons-button", inputs: ["flagMouse", "type", "sizeButton", "label", "disable", "isPending", "imageLeft", "classInclude", "classIconLeft", "classIconRight", "classLabel", "iconOnlyType", "popover", "ignoreStopPropagationEvent", "zIndex", "widthLabelPopover", "styleIconLeft", "styleButton", "ignoreFocusWhenInputTab", "ignoreSetClickWhenShowPopover", "ignorePointerEvent", "isActive"], outputs: ["outClick", "outPopoverEvent", "outFunctionsControl"] }, { kind: "component", type: LibsUiComponentsButtonsToggleComponent, selector: "libs_ui-components-buttons-toggle", inputs: ["size", "disable", "active"], outputs: ["activeChange", "outSwitch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
65
+ }
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiComponentsLabelComponent, decorators: [{
67
+ type: Component,
68
+ args: [{ selector: 'libs_ui-components-label', standalone: true, imports: [
69
+ TranslateModule,
70
+ LibsUiComponentsPopoverComponent,
71
+ LibsUiComponentsButtonsButtonComponent,
72
+ LibsUiComponentsButtonsToggleComponent
73
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"'libs-ui-label ' + classInclude()\"\n [class.mb-[4px]]=\"description()\"\n [class.mb-[8px]]=\"!description()\">\n <div class=\"libs-ui-label-left\"\n [style.maxWidth.%]=\"(labelRight() || limitLength() || onlyShowCount()) ? 70:100\">\n @if (hasToggle() && labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [size]=\"toggleSize()\"\n [disable]=\"toggleDisable()\"\n [class]=\"'mr-[8px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n @if (labelLeft()) {\n <libs_ui-components-popover type=\"text\"\n [config]=\"{zIndex: zIndexPopover(), timerDestroy: timerDestroyPopover()}\"\n [innerHtml]=\"(labelLeft() || ' ') | translate\"\n [classInclude]=\"'libs-ui-label-left-text ' + (labelLeftClass()|| '')\"\n (click)=\"handlerEventLabelLeft($event)\" />\n }\n @if (required() && labelLeft()) {\n <i class=\"flex libs-ui-icon-asterisk before:!text-[#ee2d41] before:!text-[8px] pb-[4px] h-full\"></i>\n }\n @if (popover()?.config && popover()?.config?.content) {\n <libs_ui-components-popover classInclude=\"ml-[4px] {{ popover()?.classInclude }}\"\n [config]=\"popover()?.config\">\n <i [class]=\"iconPopoverClass()\"></i>\n </libs_ui-components-popover>\n }\n @for (button of buttonsLeft(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsLeft() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (hasToggle() && !labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [disable]=\"toggleDisable()\"\n [size]=\"toggleSize()\"\n [class]=\"'ml-[20px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n </div>\n\n <div class=\"libs-ui-label-right\">\n @if (labelRight(); as labelRight) {\n <libs_ui-components-popover type=\"text\"\n [innerHtml]=\"labelRight | translate\"\n [classInclude]=\"labelRightClass()\"\n (outEvent)=\"handlerEventLabelRight($event)\" />\n }\n @for (button of buttonsRight(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsRight() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [classLabel]=\"button.classLabel || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (limitLength() || onlyShowCount()) {\n <div class=\"flex items-center ml-[12px] text-[#9ca2ad] libs-ui-font-h7r\">\n <span>{{ countDisplay() }}</span>\n @if (limitLength()) {\n <span>\n /{{ maxLengthDisplay() }}\n </span>\n }\n <span>&nbsp;{{ 'i18n_character' | translate }}</span>\n </div>\n }\n </div>\n</div>\n@if (description(); as description) {\n <div [class]=\"'libs-ui-label-description ' + (descriptionClass ||'')\"\n [innerHtml]='description | translate '></div>\n}\n@if (buttonsDescription()?.length) {\n <div [class]=\"buttonsDescriptionContainerClass || 'flex libs-ui-label-description-button'\">\n @for (button of buttonsDescription(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsDescription() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n [classLabel]=\"button.classLabel || ''\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n </div>\n}\n<ng-content select=\"div.libs-ui-custom-description\" />\n", styles: [".libs-ui-label{display:flex;justify-content:space-between;width:100%}.libs-ui-label .libs-ui-label-left{display:flex;align-items:center}.libs-ui-label .libs-ui-label-left .libs-ui-label-left-text{font-family:var(--libs-ui-font-family-name, \"Arial\");font-weight:500;font-size:11px;color:#6a7383}.libs-ui-label .libs-ui-label-left libs_ui-components-button{margin-left:12px}.libs-ui-label .libs-ui-label-left .libs-ui-label-left-optional{margin-left:0;font-size:10px!important;color:#9ca2ad;line-height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.libs-ui-label .libs-ui-label-right{display:flex;align-items:center;justify-content:flex-end}.libs-ui-label .libs-ui-label-right libs_ui-components-button{margin-left:12px}.libs-ui-label-description{font-size:10px;font-family:var(--libs-ui-font-family-name, \"Arial\");font-weight:400;color:#9ca2ad;margin-bottom:8px}.libs-ui-label-description-button{margin-bottom:4px}\n"] }]
74
+ }] });
75
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy11aS9jb21wb25lbnRzL2xhYmVsL3NyYy9sYWJlbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9saWJzLXVpL2NvbXBvbmVudHMvbGFiZWwvc3JjL2xhYmVsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDNUYsT0FBTyxFQUFXLHNDQUFzQyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDckcsT0FBTyxFQUFnQixzQ0FBc0MsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQzFHLE9BQU8sRUFBWSxnQ0FBZ0MsRUFBc0IsTUFBTSw2QkFBNkIsQ0FBQztBQUM3RyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7OztBQWdCdEQsTUFBTSxPQUFPLDhCQUE4QjtJQUN6QyxjQUFjO0lBQ0osWUFBWSxHQUFHLFFBQVEsQ0FBQyxHQUFHLEVBQUUsQ0FBQyxHQUFHLHdCQUF3QixDQUFDLElBQUksQ0FBQyxLQUFLLEVBQUUsSUFBSSxDQUFDLEVBQUU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1dHRvbi5wb3BvdmVyIHx8IHt9XCJcbiAgICAgICAgW2NsYXNzTGFiZWxdPVwiYnV0dG9uLmNsYXNzTGFiZWwgfHwgJydcIlxuICAgICAgICAob3V0Q2xpY2spPVwiaGFuZGxlckNsaWNrQnV0dG9uKGJ1dHRvbilcIiAvPlxuICAgIH1cbiAgPC9kaXY+XG59XG48bmctY29udGVudCBzZWxlY3Q9XCJkaXYubGlicy11aS1jdXN0b20tZGVzY3JpcHRpb25cIiAvPlxuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlicy11aS1jb21wb25lbnRzLWxhYmVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy11aS9jb21wb25lbnRzL2xhYmVsL3NyYy9saWJzLXVpLWNvbXBvbmVudHMtbGFiZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
@@ -0,0 +1,82 @@
1
+ import * as i0 from '@angular/core';
2
+ import { computed, input, output, Component, ChangeDetectionStrategy } from '@angular/core';
3
+ import { LibsUiComponentsButtonsButtonComponent } from '@libs-ui/components-buttons-button';
4
+ import { LibsUiComponentsButtonsToggleComponent } from '@libs-ui/components-buttons-toggle';
5
+ import { LibsUiComponentsPopoverComponent } from '@libs-ui/components-popover';
6
+ import { viewDataNumberByLanguage } from '@libs-ui/utils';
7
+ import * as i1 from '@ngx-translate/core';
8
+ import { TranslateModule } from '@ngx-translate/core';
9
+
10
+ class LibsUiComponentsLabelComponent {
11
+ /* PROPERTY */
12
+ countDisplay = computed(() => `${viewDataNumberByLanguage(this.count() || 0, false)}`);
13
+ maxLengthDisplay = computed(() => `${viewDataNumberByLanguage(this.limitLength() || 0, false)}`);
14
+ /* INPUT */
15
+ iconPopoverClass = input('libs-ui-icon-tooltip-line', { transform: (value) => value || 'libs-ui-icon-tooltip-line' });
16
+ classInclude = input('', { transform: (value) => value || '' });
17
+ labelLeft = input();
18
+ labelLeftClass = input();
19
+ labelLeftBehindToggleButton = input();
20
+ popover = input();
21
+ required = input();
22
+ buttonsLeft = input([], { transform: (value) => value || [] });
23
+ disableButtonsLeft = input();
24
+ buttonsRight = input([], { transform: (value) => value || [] });
25
+ disableButtonsRight = input();
26
+ labelRight = input();
27
+ labelRightClass = input('', { transform: (value) => value || '' });
28
+ labelRightRequired = input();
29
+ hasToggle = input();
30
+ toggleSize = input('default', { transform: (value) => value || 'default' });
31
+ toggleActive = input();
32
+ toggleDisable = input();
33
+ description = input();
34
+ descriptionClass = input();
35
+ buttonsDescription = input([], { transform: (value) => value || [] });
36
+ disableButtonsDescription = input();
37
+ buttonsDescriptionContainerClass = input();
38
+ onlyShowCount = input();
39
+ zIndexPopover = input(10, { transform: (value) => value ?? 10 });
40
+ timerDestroyPopover = input(0, { transform: (value) => value ?? 0 });
41
+ count = input(0, { transform: (value) => value || 0 });
42
+ limitLength = input(0, { transform: (value) => value || 0 });
43
+ /* OUTPUT */
44
+ outClickButton = output();
45
+ outToggleEvent = output();
46
+ outLabelRightClick = output();
47
+ outLabelLeftClick = output();
48
+ /* FUNCTIONS*/
49
+ async handlerClickButton(button) {
50
+ this.outClickButton.emit(button);
51
+ }
52
+ async handlerSwitchToggle(toggleEvent) {
53
+ this.outToggleEvent.emit(toggleEvent);
54
+ }
55
+ async handlerEventLabelRight(event) {
56
+ if (event === 'click') {
57
+ this.outLabelRightClick.emit(true);
58
+ }
59
+ }
60
+ async handlerEventLabelLeft(event) {
61
+ event.stopPropagation();
62
+ this.outLabelLeftClick.emit(event);
63
+ }
64
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiComponentsLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
65
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: LibsUiComponentsLabelComponent, isStandalone: true, selector: "libs_ui-components-label", inputs: { iconPopoverClass: { classPropertyName: "iconPopoverClass", publicName: "iconPopoverClass", isSignal: true, isRequired: false, transformFunction: null }, classInclude: { classPropertyName: "classInclude", publicName: "classInclude", isSignal: true, isRequired: false, transformFunction: null }, labelLeft: { classPropertyName: "labelLeft", publicName: "labelLeft", isSignal: true, isRequired: false, transformFunction: null }, labelLeftClass: { classPropertyName: "labelLeftClass", publicName: "labelLeftClass", isSignal: true, isRequired: false, transformFunction: null }, labelLeftBehindToggleButton: { classPropertyName: "labelLeftBehindToggleButton", publicName: "labelLeftBehindToggleButton", isSignal: true, isRequired: false, transformFunction: null }, popover: { classPropertyName: "popover", publicName: "popover", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, buttonsLeft: { classPropertyName: "buttonsLeft", publicName: "buttonsLeft", isSignal: true, isRequired: false, transformFunction: null }, disableButtonsLeft: { classPropertyName: "disableButtonsLeft", publicName: "disableButtonsLeft", isSignal: true, isRequired: false, transformFunction: null }, buttonsRight: { classPropertyName: "buttonsRight", publicName: "buttonsRight", isSignal: true, isRequired: false, transformFunction: null }, disableButtonsRight: { classPropertyName: "disableButtonsRight", publicName: "disableButtonsRight", isSignal: true, isRequired: false, transformFunction: null }, labelRight: { classPropertyName: "labelRight", publicName: "labelRight", isSignal: true, isRequired: false, transformFunction: null }, labelRightClass: { classPropertyName: "labelRightClass", publicName: "labelRightClass", isSignal: true, isRequired: false, transformFunction: null }, labelRightRequired: { classPropertyName: "labelRightRequired", publicName: "labelRightRequired", isSignal: true, isRequired: false, transformFunction: null }, hasToggle: { classPropertyName: "hasToggle", publicName: "hasToggle", isSignal: true, isRequired: false, transformFunction: null }, toggleSize: { classPropertyName: "toggleSize", publicName: "toggleSize", isSignal: true, isRequired: false, transformFunction: null }, toggleActive: { classPropertyName: "toggleActive", publicName: "toggleActive", isSignal: true, isRequired: false, transformFunction: null }, toggleDisable: { classPropertyName: "toggleDisable", publicName: "toggleDisable", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, descriptionClass: { classPropertyName: "descriptionClass", publicName: "descriptionClass", isSignal: true, isRequired: false, transformFunction: null }, buttonsDescription: { classPropertyName: "buttonsDescription", publicName: "buttonsDescription", isSignal: true, isRequired: false, transformFunction: null }, disableButtonsDescription: { classPropertyName: "disableButtonsDescription", publicName: "disableButtonsDescription", isSignal: true, isRequired: false, transformFunction: null }, buttonsDescriptionContainerClass: { classPropertyName: "buttonsDescriptionContainerClass", publicName: "buttonsDescriptionContainerClass", isSignal: true, isRequired: false, transformFunction: null }, onlyShowCount: { classPropertyName: "onlyShowCount", publicName: "onlyShowCount", isSignal: true, isRequired: false, transformFunction: null }, zIndexPopover: { classPropertyName: "zIndexPopover", publicName: "zIndexPopover", isSignal: true, isRequired: false, transformFunction: null }, timerDestroyPopover: { classPropertyName: "timerDestroyPopover", publicName: "timerDestroyPopover", isSignal: true, isRequired: false, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, limitLength: { classPropertyName: "limitLength", publicName: "limitLength", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { outClickButton: "outClickButton", outToggleEvent: "outToggleEvent", outLabelRightClick: "outLabelRightClick", outLabelLeftClick: "outLabelLeftClick" }, ngImport: i0, template: "<div [class]=\"'libs-ui-label ' + classInclude()\"\n [class.mb-[4px]]=\"description()\"\n [class.mb-[8px]]=\"!description()\">\n <div class=\"libs-ui-label-left\"\n [style.maxWidth.%]=\"(labelRight() || limitLength() || onlyShowCount()) ? 70:100\">\n @if (hasToggle() && labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [size]=\"toggleSize()\"\n [disable]=\"toggleDisable()\"\n [class]=\"'mr-[8px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n @if (labelLeft()) {\n <libs_ui-components-popover type=\"text\"\n [config]=\"{zIndex: zIndexPopover(), timerDestroy: timerDestroyPopover()}\"\n [innerHtml]=\"(labelLeft() || ' ') | translate\"\n [classInclude]=\"'libs-ui-label-left-text ' + (labelLeftClass()|| '')\"\n (click)=\"handlerEventLabelLeft($event)\" />\n }\n @if (required() && labelLeft()) {\n <i class=\"flex libs-ui-icon-asterisk before:!text-[#ee2d41] before:!text-[8px] pb-[4px] h-full\"></i>\n }\n @if (popover()?.config && popover()?.config?.content) {\n <libs_ui-components-popover classInclude=\"ml-[4px] {{ popover()?.classInclude }}\"\n [config]=\"popover()?.config\">\n <i [class]=\"iconPopoverClass()\"></i>\n </libs_ui-components-popover>\n }\n @for (button of buttonsLeft(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsLeft() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (hasToggle() && !labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [disable]=\"toggleDisable()\"\n [size]=\"toggleSize()\"\n [class]=\"'ml-[20px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n </div>\n\n <div class=\"libs-ui-label-right\">\n @if (labelRight(); as labelRight) {\n <libs_ui-components-popover type=\"text\"\n [innerHtml]=\"labelRight | translate\"\n [classInclude]=\"labelRightClass()\"\n (outEvent)=\"handlerEventLabelRight($event)\" />\n }\n @for (button of buttonsRight(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsRight() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [classLabel]=\"button.classLabel || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (limitLength() || onlyShowCount()) {\n <div class=\"flex items-center ml-[12px] text-[#9ca2ad] libs-ui-font-h7r\">\n <span>{{ countDisplay() }}</span>\n @if (limitLength()) {\n <span>\n /{{ maxLengthDisplay() }}\n </span>\n }\n <span>&nbsp;{{ 'i18n_character' | translate }}</span>\n </div>\n }\n </div>\n</div>\n@if (description(); as description) {\n <div [class]=\"'libs-ui-label-description ' + (descriptionClass ||'')\"\n [innerHtml]='description | translate '></div>\n}\n@if (buttonsDescription()?.length) {\n <div [class]=\"buttonsDescriptionContainerClass || 'flex libs-ui-label-description-button'\">\n @for (button of buttonsDescription(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsDescription() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n [classLabel]=\"button.classLabel || ''\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n </div>\n}\n<ng-content select=\"div.libs-ui-custom-description\" />\n", styles: [".libs-ui-label{display:flex;justify-content:space-between;width:100%}.libs-ui-label .libs-ui-label-left{display:flex;align-items:center}.libs-ui-label .libs-ui-label-left .libs-ui-label-left-text{font-family:var(--libs-ui-font-family-name, \"Arial\");font-weight:500;font-size:11px;color:#6a7383}.libs-ui-label .libs-ui-label-left libs_ui-components-button{margin-left:12px}.libs-ui-label .libs-ui-label-left .libs-ui-label-left-optional{margin-left:0;font-size:10px!important;color:#9ca2ad;line-height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.libs-ui-label .libs-ui-label-right{display:flex;align-items:center;justify-content:flex-end}.libs-ui-label .libs-ui-label-right libs_ui-components-button{margin-left:12px}.libs-ui-label-description{font-size:10px;font-family:var(--libs-ui-font-family-name, \"Arial\");font-weight:400;color:#9ca2ad;margin-bottom:8px}.libs-ui-label-description-button{margin-bottom:4px}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }, { kind: "component", type: LibsUiComponentsPopoverComponent, selector: "libs_ui-components-popover,[LibsUiComponentsPopoverDirective]", inputs: ["flagMouse", "type", "mode", "config", "ignoreShowPopover", "elementRefCustom", "classInclude", "ignoreHiddenPopoverContentWhenMouseLeave", "ignoreStopPropagationEvent", "ignoreCursorPointerModeLikeClick", "isAddContentToParentDocument", "ignoreClickOutside"], outputs: ["outEvent", "outChangStageFlagMouse", "outEventPopoverContent", "outFunctionsControl"] }, { kind: "component", type: LibsUiComponentsButtonsButtonComponent, selector: "libs_ui-components-buttons-button", inputs: ["flagMouse", "type", "sizeButton", "label", "disable", "isPending", "imageLeft", "classInclude", "classIconLeft", "classIconRight", "classLabel", "iconOnlyType", "popover", "ignoreStopPropagationEvent", "zIndex", "widthLabelPopover", "styleIconLeft", "styleButton", "ignoreFocusWhenInputTab", "ignoreSetClickWhenShowPopover", "ignorePointerEvent", "isActive"], outputs: ["outClick", "outPopoverEvent", "outFunctionsControl"] }, { kind: "component", type: LibsUiComponentsButtonsToggleComponent, selector: "libs_ui-components-buttons-toggle", inputs: ["size", "disable", "active"], outputs: ["activeChange", "outSwitch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
66
+ }
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LibsUiComponentsLabelComponent, decorators: [{
68
+ type: Component,
69
+ args: [{ selector: 'libs_ui-components-label', standalone: true, imports: [
70
+ TranslateModule,
71
+ LibsUiComponentsPopoverComponent,
72
+ LibsUiComponentsButtonsButtonComponent,
73
+ LibsUiComponentsButtonsToggleComponent
74
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"'libs-ui-label ' + classInclude()\"\n [class.mb-[4px]]=\"description()\"\n [class.mb-[8px]]=\"!description()\">\n <div class=\"libs-ui-label-left\"\n [style.maxWidth.%]=\"(labelRight() || limitLength() || onlyShowCount()) ? 70:100\">\n @if (hasToggle() && labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [size]=\"toggleSize()\"\n [disable]=\"toggleDisable()\"\n [class]=\"'mr-[8px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n @if (labelLeft()) {\n <libs_ui-components-popover type=\"text\"\n [config]=\"{zIndex: zIndexPopover(), timerDestroy: timerDestroyPopover()}\"\n [innerHtml]=\"(labelLeft() || ' ') | translate\"\n [classInclude]=\"'libs-ui-label-left-text ' + (labelLeftClass()|| '')\"\n (click)=\"handlerEventLabelLeft($event)\" />\n }\n @if (required() && labelLeft()) {\n <i class=\"flex libs-ui-icon-asterisk before:!text-[#ee2d41] before:!text-[8px] pb-[4px] h-full\"></i>\n }\n @if (popover()?.config && popover()?.config?.content) {\n <libs_ui-components-popover classInclude=\"ml-[4px] {{ popover()?.classInclude }}\"\n [config]=\"popover()?.config\">\n <i [class]=\"iconPopoverClass()\"></i>\n </libs_ui-components-popover>\n }\n @for (button of buttonsLeft(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsLeft() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (hasToggle() && !labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [disable]=\"toggleDisable()\"\n [size]=\"toggleSize()\"\n [class]=\"'ml-[20px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n </div>\n\n <div class=\"libs-ui-label-right\">\n @if (labelRight(); as labelRight) {\n <libs_ui-components-popover type=\"text\"\n [innerHtml]=\"labelRight | translate\"\n [classInclude]=\"labelRightClass()\"\n (outEvent)=\"handlerEventLabelRight($event)\" />\n }\n @for (button of buttonsRight(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsRight() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [classLabel]=\"button.classLabel || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (limitLength() || onlyShowCount()) {\n <div class=\"flex items-center ml-[12px] text-[#9ca2ad] libs-ui-font-h7r\">\n <span>{{ countDisplay() }}</span>\n @if (limitLength()) {\n <span>\n /{{ maxLengthDisplay() }}\n </span>\n }\n <span>&nbsp;{{ 'i18n_character' | translate }}</span>\n </div>\n }\n </div>\n</div>\n@if (description(); as description) {\n <div [class]=\"'libs-ui-label-description ' + (descriptionClass ||'')\"\n [innerHtml]='description | translate '></div>\n}\n@if (buttonsDescription()?.length) {\n <div [class]=\"buttonsDescriptionContainerClass || 'flex libs-ui-label-description-button'\">\n @for (button of buttonsDescription(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsDescription() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n [classLabel]=\"button.classLabel || ''\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n </div>\n}\n<ng-content select=\"div.libs-ui-custom-description\" />\n", styles: [".libs-ui-label{display:flex;justify-content:space-between;width:100%}.libs-ui-label .libs-ui-label-left{display:flex;align-items:center}.libs-ui-label .libs-ui-label-left .libs-ui-label-left-text{font-family:var(--libs-ui-font-family-name, \"Arial\");font-weight:500;font-size:11px;color:#6a7383}.libs-ui-label .libs-ui-label-left libs_ui-components-button{margin-left:12px}.libs-ui-label .libs-ui-label-left .libs-ui-label-left-optional{margin-left:0;font-size:10px!important;color:#9ca2ad;line-height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.libs-ui-label .libs-ui-label-right{display:flex;align-items:center;justify-content:flex-end}.libs-ui-label .libs-ui-label-right libs_ui-components-button{margin-left:12px}.libs-ui-label-description{font-size:10px;font-family:var(--libs-ui-font-family-name, \"Arial\");font-weight:400;color:#9ca2ad;margin-bottom:8px}.libs-ui-label-description-button{margin-bottom:4px}\n"] }]
75
+ }] });
76
+
77
+ /**
78
+ * Generated bundle index. Do not edit.
79
+ */
80
+
81
+ export { LibsUiComponentsLabelComponent };
82
+ //# sourceMappingURL=libs-ui-components-label.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libs-ui-components-label.mjs","sources":["../../../../../libs-ui/components/label/src/label.component.ts","../../../../../libs-ui/components/label/src/label.component.html","../../../../../libs-ui/components/label/src/libs-ui-components-label.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\nimport { IButton, LibsUiComponentsButtonsButtonComponent } from '@libs-ui/components-buttons-button';\nimport { IToggleEvent, LibsUiComponentsButtonsToggleComponent } from '@libs-ui/components-buttons-toggle';\nimport { IPopover, LibsUiComponentsPopoverComponent, TYPE_POPOVER_EVENT } from '@libs-ui/components-popover';\nimport { viewDataNumberByLanguage } from '@libs-ui/utils';\nimport { TranslateModule } from '@ngx-translate/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'libs_ui-components-label',\n templateUrl: './label.component.html',\n styleUrl: './label.component.scss',\n standalone: true,\n imports: [\n TranslateModule,\n LibsUiComponentsPopoverComponent,\n LibsUiComponentsButtonsButtonComponent,\n LibsUiComponentsButtonsToggleComponent\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class LibsUiComponentsLabelComponent {\n /* PROPERTY */\n protected countDisplay = computed(() => `${viewDataNumberByLanguage(this.count() || 0, false)}`);\n protected maxLengthDisplay = computed(() => `${viewDataNumberByLanguage(this.limitLength() || 0, false)}`);\n\n /* INPUT */\n readonly iconPopoverClass = input<string | undefined, string | undefined>('libs-ui-icon-tooltip-line', { transform: (value) => value || 'libs-ui-icon-tooltip-line' });\n readonly classInclude = input<string | undefined, string | undefined>('', { transform: (value) => value || '' });\n readonly labelLeft = input<string>();\n readonly labelLeftClass = input<string>();\n readonly labelLeftBehindToggleButton = input<boolean>();\n readonly popover = input<IPopover>();\n readonly required = input<boolean>();\n readonly buttonsLeft = input<Array<IButton> | undefined, Array<IButton> | undefined>([], { transform: (value) => value || [] });\n readonly disableButtonsLeft = input<boolean>();\n readonly buttonsRight = input<Array<IButton> | undefined, Array<IButton> | undefined>([], { transform: (value) => value || [] });\n readonly disableButtonsRight = input<boolean>();\n readonly labelRight = input<string>();\n readonly labelRightClass = input<string | undefined, string | undefined>('', { transform: (value) => value || '' });\n readonly labelRightRequired = input<string>();\n readonly hasToggle = input<boolean>();\n readonly toggleSize = input<'default' | 'large', 'default' | 'large'>('default', { transform: (value) => value || 'default' });\n readonly toggleActive = input<boolean>();\n readonly toggleDisable = input<boolean>();\n readonly description = input<string>();\n readonly descriptionClass = input<string>();\n readonly buttonsDescription = input<Array<IButton> | undefined, Array<IButton> | undefined>([], { transform: (value) => value || [] });\n readonly disableButtonsDescription = input<boolean | undefined>();\n readonly buttonsDescriptionContainerClass = input<string>();\n readonly onlyShowCount = input<boolean>();\n readonly zIndexPopover = input<number, number>(10, { transform: (value) => value ?? 10 });\n readonly timerDestroyPopover = input<number, number>(0, { transform: (value) => value ?? 0 });\n readonly count = input<number | undefined, number | undefined>(0, { transform: (value) => value || 0 });\n readonly limitLength = input<number | undefined, number | undefined>(0, { transform: (value) => value || 0 });\n\n /* OUTPUT */\n readonly outClickButton = output<IButton>();\n readonly outToggleEvent = output<IToggleEvent>();\n readonly outLabelRightClick = output<boolean>();\n readonly outLabelLeftClick = output<MouseEvent>();\n\n /* FUNCTIONS*/\n protected async handlerClickButton(button: IButton) {\n this.outClickButton.emit(button);\n }\n\n protected async handlerSwitchToggle(toggleEvent: IToggleEvent) {\n this.outToggleEvent.emit(toggleEvent);\n }\n\n protected async handlerEventLabelRight(event: TYPE_POPOVER_EVENT) {\n if (event === 'click') {\n this.outLabelRightClick.emit(true);\n }\n }\n\n protected async handlerEventLabelLeft(event: MouseEvent) {\n event.stopPropagation();\n this.outLabelLeftClick.emit(event);\n }\n}\n","<div [class]=\"'libs-ui-label ' + classInclude()\"\n [class.mb-[4px]]=\"description()\"\n [class.mb-[8px]]=\"!description()\">\n <div class=\"libs-ui-label-left\"\n [style.maxWidth.%]=\"(labelRight() || limitLength() || onlyShowCount()) ? 70:100\">\n @if (hasToggle() && labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [size]=\"toggleSize()\"\n [disable]=\"toggleDisable()\"\n [class]=\"'mr-[8px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n @if (labelLeft()) {\n <libs_ui-components-popover type=\"text\"\n [config]=\"{zIndex: zIndexPopover(), timerDestroy: timerDestroyPopover()}\"\n [innerHtml]=\"(labelLeft() || ' ') | translate\"\n [classInclude]=\"'libs-ui-label-left-text ' + (labelLeftClass()|| '')\"\n (click)=\"handlerEventLabelLeft($event)\" />\n }\n @if (required() && labelLeft()) {\n <i class=\"flex libs-ui-icon-asterisk before:!text-[#ee2d41] before:!text-[8px] pb-[4px] h-full\"></i>\n }\n @if (popover()?.config && popover()?.config?.content) {\n <libs_ui-components-popover classInclude=\"ml-[4px] {{ popover()?.classInclude }}\"\n [config]=\"popover()?.config\">\n <i [class]=\"iconPopoverClass()\"></i>\n </libs_ui-components-popover>\n }\n @for (button of buttonsLeft(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsLeft() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (hasToggle() && !labelLeftBehindToggleButton()) {\n <libs_ui-components-buttons-toggle [disable]=\"toggleDisable()\"\n [size]=\"toggleSize()\"\n [class]=\"'ml-[20px]'\"\n [active]=\"toggleActive() || false\"\n (outSwitch)=\"handlerSwitchToggle($event)\" />\n }\n </div>\n\n <div class=\"libs-ui-label-right\">\n @if (labelRight(); as labelRight) {\n <libs_ui-components-popover type=\"text\"\n [innerHtml]=\"labelRight | translate\"\n [classInclude]=\"labelRightClass()\"\n (outEvent)=\"handlerEventLabelRight($event)\" />\n }\n @for (button of buttonsRight(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsRight() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [classLabel]=\"button.classLabel || ''\"\n [popover]=\"button.popover || {}\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n @if (limitLength() || onlyShowCount()) {\n <div class=\"flex items-center ml-[12px] text-[#9ca2ad] libs-ui-font-h7r\">\n <span>{{ countDisplay() }}</span>\n @if (limitLength()) {\n <span>\n /{{ maxLengthDisplay() }}\n </span>\n }\n <span>&nbsp;{{ 'i18n_character' | translate }}</span>\n </div>\n }\n </div>\n</div>\n@if (description(); as description) {\n <div [class]=\"'libs-ui-label-description ' + (descriptionClass ||'')\"\n [innerHtml]='description | translate '></div>\n}\n@if (buttonsDescription()?.length) {\n <div [class]=\"buttonsDescriptionContainerClass || 'flex libs-ui-label-description-button'\">\n @for (button of buttonsDescription(); track button) {\n <libs_ui-components-buttons-button [type]=\"(button.type ||'button-link-primary')\"\n [label]=\"button.label || ' '\"\n [disable]=\"button.disable || disableButtonsDescription() || false\"\n [classIconLeft]=\"button.classIconLeft || ''\"\n [classInclude]=\"button.classInclude || ''\"\n [classIconRight]=\"button.classIconRight || ''\"\n [popover]=\"button.popover || {}\"\n [classLabel]=\"button.classLabel || ''\"\n (outClick)=\"handlerClickButton(button)\" />\n }\n </div>\n}\n<ng-content select=\"div.libs-ui-custom-description\" />\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAqBa,8BAA8B,CAAA;;IAE/B,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAA,EAAG,wBAAwB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC,CAAA,CAAE,CAAC;IACtF,gBAAgB,GAAG,QAAQ,CAAC,MAAM,CAAA,EAAG,wBAAwB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC,CAAA,CAAE,CAAC;;AAGjG,IAAA,gBAAgB,GAAG,KAAK,CAAyC,2BAA2B,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,KAAK,KAAK,IAAI,2BAA2B,EAAE,CAAC;AAC7J,IAAA,YAAY,GAAG,KAAK,CAAyC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,KAAK,KAAK,IAAI,EAAE,EAAE,CAAC;IACvG,SAAS,GAAG,KAAK,EAAU;IAC3B,cAAc,GAAG,KAAK,EAAU;IAChC,2BAA2B,GAAG,KAAK,EAAW;IA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AAA,oBAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,EAAA,iBAAA,EAAA,qBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACtC,sCAAsC,EAAA,QAAA,EAAA,mCAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,cAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAI7B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAd1C,SAAS;+BAEE,0BAA0B,EAAA,UAAA,EAGxB,IAAI,EACP,OAAA,EAAA;wBACP,eAAe;wBACf,gCAAgC;wBAChC,sCAAsC;wBACtC;qBACD,EACgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,w1IAAA,EAAA,MAAA,EAAA,CAAA,26BAAA,CAAA,EAAA;;;AEnBjD;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './label.component';
2
+ export * from './interfaces';
@@ -0,0 +1 @@
1
+ export * from './label.interface';
@@ -0,0 +1,28 @@
1
+ import { IButton } from "@libs-ui/components-buttons-button";
2
+ import { IPopover } from "@libs-ui/components-popover";
3
+ export interface ILabel {
4
+ classInclude?: string;
5
+ labelLeft?: string;
6
+ labelLeftClass?: string;
7
+ popover?: IPopover;
8
+ iconPopoverClass?: string;
9
+ required?: boolean;
10
+ buttonsLeft?: Array<IButton>;
11
+ disableButtonsLeft?: boolean;
12
+ buttonsRight?: Array<IButton>;
13
+ disableButtonsRight?: boolean;
14
+ labelRight?: string;
15
+ labelRightClass?: string;
16
+ labelRightRequired?: string;
17
+ hasToggle?: boolean;
18
+ toggleActive?: boolean;
19
+ toggleDisable?: boolean;
20
+ description?: string;
21
+ descriptionClass?: string;
22
+ buttonsDescription?: Array<IButton>;
23
+ disableButtonsDescription?: boolean;
24
+ buttonsDescriptionContainerClass?: string;
25
+ onlyShowCount?: boolean;
26
+ limitLength?: number;
27
+ count?: number;
28
+ }
@@ -0,0 +1,46 @@
1
+ import { IButton } from '@libs-ui/components-buttons-button';
2
+ import { IToggleEvent } from '@libs-ui/components-buttons-toggle';
3
+ import { IPopover, TYPE_POPOVER_EVENT } from '@libs-ui/components-popover';
4
+ import * as i0 from "@angular/core";
5
+ export declare class LibsUiComponentsLabelComponent {
6
+ protected countDisplay: import("@angular/core").Signal<string>;
7
+ protected maxLengthDisplay: import("@angular/core").Signal<string>;
8
+ readonly iconPopoverClass: import("@angular/core").InputSignalWithTransform<string | undefined, string | undefined>;
9
+ readonly classInclude: import("@angular/core").InputSignalWithTransform<string | undefined, string | undefined>;
10
+ readonly labelLeft: import("@angular/core").InputSignal<string | undefined>;
11
+ readonly labelLeftClass: import("@angular/core").InputSignal<string | undefined>;
12
+ readonly labelLeftBehindToggleButton: import("@angular/core").InputSignal<boolean | undefined>;
13
+ readonly popover: import("@angular/core").InputSignal<IPopover | undefined>;
14
+ readonly required: import("@angular/core").InputSignal<boolean | undefined>;
15
+ readonly buttonsLeft: import("@angular/core").InputSignalWithTransform<IButton[] | undefined, IButton[] | undefined>;
16
+ readonly disableButtonsLeft: import("@angular/core").InputSignal<boolean | undefined>;
17
+ readonly buttonsRight: import("@angular/core").InputSignalWithTransform<IButton[] | undefined, IButton[] | undefined>;
18
+ readonly disableButtonsRight: import("@angular/core").InputSignal<boolean | undefined>;
19
+ readonly labelRight: import("@angular/core").InputSignal<string | undefined>;
20
+ readonly labelRightClass: import("@angular/core").InputSignalWithTransform<string | undefined, string | undefined>;
21
+ readonly labelRightRequired: import("@angular/core").InputSignal<string | undefined>;
22
+ readonly hasToggle: import("@angular/core").InputSignal<boolean | undefined>;
23
+ readonly toggleSize: import("@angular/core").InputSignalWithTransform<"default" | "large", "default" | "large">;
24
+ readonly toggleActive: import("@angular/core").InputSignal<boolean | undefined>;
25
+ readonly toggleDisable: import("@angular/core").InputSignal<boolean | undefined>;
26
+ readonly description: import("@angular/core").InputSignal<string | undefined>;
27
+ readonly descriptionClass: import("@angular/core").InputSignal<string | undefined>;
28
+ readonly buttonsDescription: import("@angular/core").InputSignalWithTransform<IButton[] | undefined, IButton[] | undefined>;
29
+ readonly disableButtonsDescription: import("@angular/core").InputSignal<boolean | undefined>;
30
+ readonly buttonsDescriptionContainerClass: import("@angular/core").InputSignal<string | undefined>;
31
+ readonly onlyShowCount: import("@angular/core").InputSignal<boolean | undefined>;
32
+ readonly zIndexPopover: import("@angular/core").InputSignalWithTransform<number, number>;
33
+ readonly timerDestroyPopover: import("@angular/core").InputSignalWithTransform<number, number>;
34
+ readonly count: import("@angular/core").InputSignalWithTransform<number | undefined, number | undefined>;
35
+ readonly limitLength: import("@angular/core").InputSignalWithTransform<number | undefined, number | undefined>;
36
+ readonly outClickButton: import("@angular/core").OutputEmitterRef<IButton>;
37
+ readonly outToggleEvent: import("@angular/core").OutputEmitterRef<IToggleEvent>;
38
+ readonly outLabelRightClick: import("@angular/core").OutputEmitterRef<boolean>;
39
+ readonly outLabelLeftClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
40
+ protected handlerClickButton(button: IButton): Promise<void>;
41
+ protected handlerSwitchToggle(toggleEvent: IToggleEvent): Promise<void>;
42
+ protected handlerEventLabelRight(event: TYPE_POPOVER_EVENT): Promise<void>;
43
+ protected handlerEventLabelLeft(event: MouseEvent): Promise<void>;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiComponentsLabelComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibsUiComponentsLabelComponent, "libs_ui-components-label", never, { "iconPopoverClass": { "alias": "iconPopoverClass"; "required": false; "isSignal": true; }; "classInclude": { "alias": "classInclude"; "required": false; "isSignal": true; }; "labelLeft": { "alias": "labelLeft"; "required": false; "isSignal": true; }; "labelLeftClass": { "alias": "labelLeftClass"; "required": false; "isSignal": true; }; "labelLeftBehindToggleButton": { "alias": "labelLeftBehindToggleButton"; "required": false; "isSignal": true; }; "popover": { "alias": "popover"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "buttonsLeft": { "alias": "buttonsLeft"; "required": false; "isSignal": true; }; "disableButtonsLeft": { "alias": "disableButtonsLeft"; "required": false; "isSignal": true; }; "buttonsRight": { "alias": "buttonsRight"; "required": false; "isSignal": true; }; "disableButtonsRight": { "alias": "disableButtonsRight"; "required": false; "isSignal": true; }; "labelRight": { "alias": "labelRight"; "required": false; "isSignal": true; }; "labelRightClass": { "alias": "labelRightClass"; "required": false; "isSignal": true; }; "labelRightRequired": { "alias": "labelRightRequired"; "required": false; "isSignal": true; }; "hasToggle": { "alias": "hasToggle"; "required": false; "isSignal": true; }; "toggleSize": { "alias": "toggleSize"; "required": false; "isSignal": true; }; "toggleActive": { "alias": "toggleActive"; "required": false; "isSignal": true; }; "toggleDisable": { "alias": "toggleDisable"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "descriptionClass": { "alias": "descriptionClass"; "required": false; "isSignal": true; }; "buttonsDescription": { "alias": "buttonsDescription"; "required": false; "isSignal": true; }; "disableButtonsDescription": { "alias": "disableButtonsDescription"; "required": false; "isSignal": true; }; "buttonsDescriptionContainerClass": { "alias": "buttonsDescriptionContainerClass"; "required": false; "isSignal": true; }; "onlyShowCount": { "alias": "onlyShowCount"; "required": false; "isSignal": true; }; "zIndexPopover": { "alias": "zIndexPopover"; "required": false; "isSignal": true; }; "timerDestroyPopover": { "alias": "timerDestroyPopover"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "limitLength": { "alias": "limitLength"; "required": false; "isSignal": true; }; }, { "outClickButton": "outClickButton"; "outToggleEvent": "outToggleEvent"; "outLabelRightClick": "outLabelRightClick"; "outLabelLeftClick": "outLabelLeftClick"; }, never, ["div.libs-ui-custom-description"], true, never>;
46
+ }
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@libs-ui/components-label",
3
+ "version": "0.2.5",
4
+ "peerDependencies": {
5
+ "@angular/common": "^18.2.0",
6
+ "@angular/core": "^18.2.0"
7
+ },
8
+ "sideEffects": false,
9
+ "module": "fesm2022/libs-ui-components-label.mjs",
10
+ "typings": "index.d.ts",
11
+ "exports": {
12
+ "./package.json": {
13
+ "default": "./package.json"
14
+ },
15
+ ".": {
16
+ "types": "./index.d.ts",
17
+ "esm2022": "./esm2022/libs-ui-components-label.mjs",
18
+ "esm": "./esm2022/libs-ui-components-label.mjs",
19
+ "default": "./fesm2022/libs-ui-components-label.mjs"
20
+ }
21
+ },
22
+ "dependencies": {
23
+ "tslib": "^2.3.0"
24
+ }
25
+ }